Ticket #45352: patch-Terminal-post-activate.diff

File patch-Terminal-post-activate.diff, 923 bytes (added by dbevans (David B. Evans), 10 years ago)

Proposed patch for Portfile

  • Portfile

     
    55
    66name            Terminal
    77version         0.4.5
    8 revision        2
     8revision        3
    99categories      xfce
    1010platforms       darwin
    1111license         GPL-2+
     
    2323
    2424depends_build   port:intltool port:pkgconfig
    2525depends_lib     port:exo port:vte-gtk2-compat port:dbus port:gtk2 \
    26                 path:include/glib-2.0/gio/gio.h:glib2 port:hicolor-icon-theme
     26                path:include/glib-2.0/gio/gio.h:glib2 port:hicolor-icon-theme \
     27                port:desktop-file-utils
    2728
    2829configure.args  --enable-dbus
    2930
    3031patchfiles      patch-terminal-Makefile.in
     32
     33post-activate {
     34    system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
     35    system "${prefix}/bin/gtk-update-icon-cache -f -t ${prefix}/share/icons/hicolor"
     36}