Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Mar 2015 17:33:12 +0000 (UTC)
From:      Olivier Duchateau <olivierd@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r380779 - in head/x11/xfce4-dashboard: . files
Message-ID:  <201503081733.t28HXC3F049411@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: olivierd
Date: Sun Mar  8 17:33:11 2015
New Revision: 380779
URL: https://svnweb.freebsd.org/changeset/ports/380779
QAT: https://qat.redports.org/buildarchive/r380779/

Log:
  - Fix missing Gtk stock icons
  - Bump PORTREVISION

Added:
  head/x11/xfce4-dashboard/files/
  head/x11/xfce4-dashboard/files/patch-src_applications-view.c   (contents, props changed)
  head/x11/xfce4-dashboard/files/patch-src_search-view.c   (contents, props changed)
  head/x11/xfce4-dashboard/files/patch-src_windows-view.c   (contents, props changed)
Modified:
  head/x11/xfce4-dashboard/Makefile

Modified: head/x11/xfce4-dashboard/Makefile
==============================================================================
--- head/x11/xfce4-dashboard/Makefile	Sun Mar  8 17:28:51 2015	(r380778)
+++ head/x11/xfce4-dashboard/Makefile	Sun Mar  8 17:33:11 2015	(r380779)
@@ -3,7 +3,7 @@
 
 PORTNAME=	dashboard
 PORTVERSION=	0.2.3
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	x11 xfce
 MASTER_SITES=	http://xfdashboard.froevel.de/releases/
 PKGNAMEPREFIX=	xfce4-
@@ -28,4 +28,8 @@ USE_XORG=	x11 xcomposite xdamage
 USE_GL=	gl
 INSTALLS_ICONS=	yes
 
+post-patch:
+	${FIND} ${WRKSRC}/data/themes -type f -name '*.css' \
+		| ${XARGS} ${REINPLACE_CMD} -i "" 's|gtk-home|go-home|'
+
 .include <bsd.port.mk>

Added: head/x11/xfce4-dashboard/files/patch-src_applications-view.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11/xfce4-dashboard/files/patch-src_applications-view.c	Sun Mar  8 17:33:11 2015	(r380779)
@@ -0,0 +1,11 @@
+--- src/applications-view.c.orig	2014-08-26 15:48:00 UTC
++++ src/applications-view.c
+@@ -949,7 +949,7 @@ static void xfdashboard_applications_vie
+ 	/* Set up view */
+ 	xfdashboard_view_set_internal_name(XFDASHBOARD_VIEW(self), "applications");
+ 	xfdashboard_view_set_name(XFDASHBOARD_VIEW(self), _("Applications"));
+-	xfdashboard_view_set_icon(XFDASHBOARD_VIEW(self), GTK_STOCK_HOME);
++	xfdashboard_view_set_icon(XFDASHBOARD_VIEW(self), "go-home");
+ 
+ 	/* Set up actor */
+ 	xfdashboard_actor_set_can_focus(XFDASHBOARD_ACTOR(self), TRUE);

Added: head/x11/xfce4-dashboard/files/patch-src_search-view.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11/xfce4-dashboard/files/patch-src_search-view.c	Sun Mar  8 17:33:11 2015	(r380779)
@@ -0,0 +1,11 @@
+--- src/search-view.c.orig	2014-08-26 15:48:00 UTC
++++ src/search-view.c
+@@ -1052,7 +1052,7 @@ static void xfdashboard_search_view_init
+ 	/* Set up view (Note: Search view is disabled by default!) */
+ 	xfdashboard_view_set_internal_name(XFDASHBOARD_VIEW(self), "search");
+ 	xfdashboard_view_set_name(XFDASHBOARD_VIEW(self), _("Search"));
+-	xfdashboard_view_set_icon(XFDASHBOARD_VIEW(self), GTK_STOCK_FIND);
++	xfdashboard_view_set_icon(XFDASHBOARD_VIEW(self), "edit-find");
+ 	xfdashboard_view_set_enabled(XFDASHBOARD_VIEW(self), FALSE);
+ 
+ 	/* Set up actor */

Added: head/x11/xfce4-dashboard/files/patch-src_windows-view.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11/xfce4-dashboard/files/patch-src_windows-view.c	Sun Mar  8 17:33:11 2015	(r380779)
@@ -0,0 +1,11 @@
+--- src/windows-view.c.orig	2014-08-26 15:48:01 UTC
++++ src/windows-view.c
+@@ -87,7 +87,7 @@ static XfdashboardLiveWindow* _xfdashboa
+ static void _xfdashboard_windows_view_set_active_workspace(XfdashboardWindowsView *self, XfdashboardWindowTrackerWorkspace *inWorkspace);
+ 
+ /* IMPLEMENTATION: Private variables and methods */
+-#define DEFAULT_VIEW_ICON			GTK_STOCK_FULLSCREEN
++#define DEFAULT_VIEW_ICON			"view-fullscreen"
+ #define DEFAULT_DRAG_HANDLE_SIZE	32.0f
+ 
+ /* Check if window should be shown */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201503081733.t28HXC3F049411>