diff options
author | Olivier Duchateau <olivierd@FreeBSD.org> | 2013-05-08 15:42:11 +0000 |
---|---|---|
committer | Olivier Duchateau <olivierd@FreeBSD.org> | 2013-05-08 15:42:11 +0000 |
commit | 5256282e7b1209bbf0b3fabd8d05e6cc92e74464 (patch) | |
tree | 8cd176ebd01d5d1407893cf9a48d885d744bd426 /x11-wm | |
parent | 3dd8bf4dc971d85207f2fbffff90498dcee4f4a3 (diff) | |
download | ports-5256282e7b1209bbf0b3fabd8d05e6cc92e74464.tar.gz ports-5256282e7b1209bbf0b3fabd8d05e6cc92e74464.zip |
Notes
Diffstat (limited to 'x11-wm')
-rw-r--r-- | x11-wm/xfce4-panel/Makefile | 20 | ||||
-rw-r--r-- | x11-wm/xfce4-panel/distinfo | 4 | ||||
-rw-r--r-- | x11-wm/xfce4-panel/files/patch-configure | 11 | ||||
-rw-r--r-- | x11-wm/xfce4-panel/files/patch-libxfce4panel__xfce-panel-convenience.c | 46 | ||||
-rw-r--r-- | x11-wm/xfce4-panel/files/patch-plugins__actions__actions.c | 38 | ||||
-rw-r--r-- | x11-wm/xfce4-panel/pkg-plist | 3 |
6 files changed, 19 insertions, 103 deletions
diff --git a/x11-wm/xfce4-panel/Makefile b/x11-wm/xfce4-panel/Makefile index 58c5479c3855..27d28846f28c 100644 --- a/x11-wm/xfce4-panel/Makefile +++ b/x11-wm/xfce4-panel/Makefile @@ -2,10 +2,10 @@ # $FreeBSD$ PORTNAME= xfce4-panel -PORTVERSION= 4.10.0 -PORTREVISION= 6 +PORTVERSION= 4.10.1 CATEGORIES= x11-wm xfce MASTER_SITES= ${MASTER_SITE_XFCE} +MASTER_SITE_SUBDIR= src/xfce/${PORTNAME}/${PORTVERSION:R} DIST_SUBDIR= xfce4 MAINTAINER= xfce@FreeBSD.org @@ -15,19 +15,18 @@ LIB_DEPENDS= wnck-1:${PORTSDIR}/x11-toolkits/libwnck \ cairo:${PORTSDIR}/graphics/cairo \ dbus-glib-1:${PORTSDIR}/devel/dbus-glib -USES= pathfix pkgconfig +USES= desktop-file-utils pathfix pkgconfig GNU_CONFIGURE= yes INSTALLS_ICONS= yes USE_BZIP2= yes USE_GMAKE= yes -USE_GNOME= glib20 gtk20 intltool intlhack desktopfileutils +USE_GNOME= glib20 gtk20 intltool intlhack USE_LDCONFIG= yes USE_PERL5= yes USE_XFCE= configenv garcon libexo libmenu libutil xfconf USE_XORG= x11 sm -CONFIGURE_ARGS+=--enable-gio-unix \ - --disable-gtk-doc-html +CONFIGURE_ARGS+=--enable-gio-unix OPTIONS_DEFINE= NLS DOCS @@ -50,13 +49,4 @@ CONFIGURE_ARGS+=--without-html-dir PLIST_SUB+= APIDOCS="@comment " .endif -post-patch: -.if empty(PORT_OPTIONS:MNLS) - @${REINPLACE_CMD} -e 's| icons \\| icons|' \ - -e 's| po||' ${WRKSRC}/Makefile.in -.endif - -post-install: - @-update-desktop-database - .include <bsd.port.mk> diff --git a/x11-wm/xfce4-panel/distinfo b/x11-wm/xfce4-panel/distinfo index 7606f607cb59..89f2375f58ab 100644 --- a/x11-wm/xfce4-panel/distinfo +++ b/x11-wm/xfce4-panel/distinfo @@ -1,2 +1,2 @@ -SHA256 (xfce4/xfce4-panel-4.10.0.tar.bz2) = 3321f998af2bbd14ba68654a8881774f6ea2ec4f1a3544598e7f47d3ed0009b9 -SIZE (xfce4/xfce4-panel-4.10.0.tar.bz2) = 1036257 +SHA256 (xfce4/xfce4-panel-4.10.1.tar.bz2) = 573052ed1b65e247415f92df120c8a78f9e4152c2636d38c923f82e32b8475d6 +SIZE (xfce4/xfce4-panel-4.10.1.tar.bz2) = 1061090 diff --git a/x11-wm/xfce4-panel/files/patch-configure b/x11-wm/xfce4-panel/files/patch-configure new file mode 100644 index 000000000000..f7a5dc055f0a --- /dev/null +++ b/x11-wm/xfce4-panel/files/patch-configure @@ -0,0 +1,11 @@ +--- ./configure.orig 2013-05-05 15:47:13.000000000 +0000 ++++ ./configure 2013-05-05 21:39:20.000000000 +0000 +@@ -13517,7 +13517,7 @@ + + fi + fi +- USE_NLS=yes ++# USE_NLS=yes + + + gt_cv_have_gettext=no diff --git a/x11-wm/xfce4-panel/files/patch-libxfce4panel__xfce-panel-convenience.c b/x11-wm/xfce4-panel/files/patch-libxfce4panel__xfce-panel-convenience.c deleted file mode 100644 index 6aa56870324a..000000000000 --- a/x11-wm/xfce4-panel/files/patch-libxfce4panel__xfce-panel-convenience.c +++ /dev/null @@ -1,46 +0,0 @@ ---- ./libxfce4panel/xfce-panel-convenience.c.orig 2012-04-28 20:31:35.000000000 +0000 -+++ ./libxfce4panel/xfce-panel-convenience.c 2013-04-06 21:01:14.000000000 +0000 -@@ -158,7 +158,7 @@ - gchar *name; - gchar *filename; - gint src_w, src_h; -- gdouble wratio, hratio; -+ gdouble ratio; - GdkPixbuf *dest; - GError *error = NULL; - gint size = MIN (dest_width, dest_height); -@@ -170,15 +170,13 @@ - - if (G_UNLIKELY (g_path_is_absolute (source))) - { -- pixbuf = gdk_pixbuf_new_from_file_at_scale (source, dest_width, dest_height, TRUE, &error); -+ pixbuf = gdk_pixbuf_new_from_file (source, &error); - if (G_UNLIKELY (pixbuf == NULL)) - { - g_message ("Failed to load image \"%s\": %s", - source, error->message); - g_error_free (error); - } -- -- return pixbuf; - } - else - { -@@ -233,13 +231,11 @@ - if (src_w > dest_width || src_h > dest_height) - { - /* calculate the new dimensions */ -- wratio = (gdouble) src_w / (gdouble) size; -- hratio = (gdouble) src_h / (gdouble) size; -+ ratio = MIN ((gdouble) dest_width / (gdouble) src_w, -+ (gdouble) dest_height / (gdouble) src_h); - -- if (hratio > wratio) -- dest_width = rint (src_w / hratio); -- else -- dest_height = rint (src_h / wratio); -+ dest_width = rint (src_w * ratio); -+ dest_height = rint (src_h * ratio); - - dest = gdk_pixbuf_scale_simple (pixbuf, - MAX (dest_width, 1), diff --git a/x11-wm/xfce4-panel/files/patch-plugins__actions__actions.c b/x11-wm/xfce4-panel/files/patch-plugins__actions__actions.c deleted file mode 100644 index 4fb7c1721538..000000000000 --- a/x11-wm/xfce4-panel/files/patch-plugins__actions__actions.c +++ /dev/null @@ -1,38 +0,0 @@ ---- ./plugins/actions/actions.c.orig 2012-04-28 20:31:35.000000000 +0000 -+++ ./plugins/actions/actions.c 2013-02-18 19:39:14.000000000 +0000 -@@ -705,7 +705,7 @@ - - if (timeout->time_left == 0) - { -- /* unattended shutdown, so don't allow apps to cancel shutdown */ -+ /* unattended shutdown, don't save the session to avoid blocking the logout */ - timeout->unattended = TRUE; - - gtk_dialog_response (GTK_DIALOG (timeout->dialog), -@@ -928,22 +928,22 @@ - { - case ACTION_TYPE_LOGOUT: - succeed = actions_plugin_action_dbus_xfsm ("Logout", FALSE, -- unattended, &error); -+ !unattended, &error); - break; - - case ACTION_TYPE_LOGOUT_DIALOG: - succeed = actions_plugin_action_dbus_xfsm ("Logout", TRUE, -- unattended, &error); -+ !unattended, &error); - break; - - case ACTION_TYPE_RESTART: - succeed = actions_plugin_action_dbus_xfsm ("Restart", FALSE, -- unattended, &error); -+ !unattended, &error); - break; - - case ACTION_TYPE_SHUTDOWN: - succeed = actions_plugin_action_dbus_xfsm ("Shutdown", FALSE, -- unattended, &error); -+ !unattended, &error); - break; - - case ACTION_TYPE_HIBERNATE: diff --git a/x11-wm/xfce4-panel/pkg-plist b/x11-wm/xfce4-panel/pkg-plist index 92d5f33efead..19c01661c1a1 100644 --- a/x11-wm/xfce4-panel/pkg-plist +++ b/x11-wm/xfce4-panel/pkg-plist @@ -138,6 +138,7 @@ share/icons/hicolor/scalable/apps/xfce4-panel.svg %%NLS%%share/locale/si/LC_MESSAGES/xfce4-panel.mo %%NLS%%share/locale/sk/LC_MESSAGES/xfce4-panel.mo %%NLS%%share/locale/sq/LC_MESSAGES/xfce4-panel.mo +%%NLS%%share/locale/sr/LC_MESSAGES/xfce4-panel.mo %%NLS%%share/locale/sv/LC_MESSAGES/xfce4-panel.mo %%NLS%%share/locale/ta/LC_MESSAGES/xfce4-panel.mo %%NLS%%share/locale/te/LC_MESSAGES/xfce4-panel.mo @@ -199,5 +200,3 @@ share/xfce4/panel/plugins/windowmenu.desktop @dirrmtry etc/xdg/xfce4/panel @dirrmtry etc/xdg/xfce4 @dirrmtry etc/xdg -@exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true -@unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true |