Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 01 Jun 2015 11:56:55 -0600
From:      Ian Lepore <ian@freebsd.org>
To:        gnome@FreeBSD.org
Cc:        marino@freebsd.org
Subject:   [patch] deskutils/hamster-applet
Message-ID:  <1433181415.1200.124.camel@freebsd.org>

next in thread | raw e-mail | index | archive | help

--=-g7MbzyCEeIOeredfoPtg
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit

I just noticed that hamster-applet is marked with BROKEN and
EXPIRATION_DATE after I updated my ports source.  I'm able to use it
with the attached patches.  I guess it must be giving up some
functionality related to keybindings, but I've never used it that way,
so I don't know what that functionality is.

I've got hamster data going back years, it would suck to loose access to
it over a problem as minor as launching via hotkey versus menu.

-- Ian


--=-g7MbzyCEeIOeredfoPtg
Content-Disposition: inline; filename="hamstr-applet.diff"
Content-Type: text/x-patch; name="hamstr-applet.diff"; charset="us-ascii"
Content-Transfer-Encoding: 7bit

Index: deskutils/hamster-applet/Makefile
===================================================================
--- deskutils/hamster-applet/Makefile	(revision 388241)
+++ deskutils/hamster-applet/Makefile	(working copy)
@@ -4,7 +4,7 @@
 
 PORTNAME=	hamster-applet
 PORTVERSION=	2.32.1
-PORTREVISION=	5
+PORTREVISION=	6
 CATEGORIES=	deskutils gnome
 MASTER_SITES=	GNOME
 DIST_SUBDIR=	gnome2
@@ -12,10 +12,6 @@ DIST_SUBDIR=	gnome2
 MAINTAINER=	gnome@FreeBSD.org
 COMMENT=	Time management applet for the GNOME Desktop
 
-BROKEN=		Uses unknown GNOME components pygnomedesktop and gnomecontrolcenter2
-DEPRECATED=	Broken since update to gnome3
-EXPIRATION_DATE=	2015-06-02
-
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sqlite3>0:${PORTSDIR}/databases/py-sqlite3
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sqlite3>0:${PORTSDIR}/databases/py-sqlite3 \
 		${PYTHON_SITELIBDIR}/xdg/__init__.py:${PORTSDIR}/devel/py-xdg \
@@ -23,8 +19,7 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sqlite3>0:${PO
 
 USES=		gettext gmake pkgconfig python tar:bzip2 waf
 USE_XORG=	xscrnsaver
-USE_GNOME=	gnomeprefix intlhack pygnomedesktop \
-		gnomecontrolcenter2 gnomedocutils
+USE_GNOME=	gnomeprefix intlhack pygnome2 gnomedocutils
 INSTALLS_OMF=	yes
 INSTALLS_ICONS=	yes
 CPPFLAGS+=	-I${LOCALBASE}/include
Index: deskutils/hamster-applet/files/patch-wscript
===================================================================
--- deskutils/hamster-applet/files/patch-wscript	(revision 0)
+++ deskutils/hamster-applet/files/patch-wscript	(working copy)
@@ -0,0 +1,10 @@
+--- wscript.orig	2015-02-06 08:41:47.000000000 -0700
++++ wscript	2015-02-06 08:42:07.000000000 -0700
+@@ -12,7 +12,6 @@
+     conf.check_python_version((2,4,2))
+ 
+     conf.check_tool('gnome intltool dbus')
+-    conf.check_cfg(package='gnome-keybindings', variables='keysdir', mandatory=True)
+ 
+     conf.define('ENABLE_NLS', 1)
+     conf.define('HAVE_BIND_TEXTDOMAIN_CODESET', 1)

Property changes on: deskutils/hamster-applet/files/patch-wscript
___________________________________________________________________
Added: fbsd:nokeywords
## -0,0 +1 ##
+yes
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Index: deskutils/hamster-applet/pkg-plist
===================================================================
--- deskutils/hamster-applet/pkg-plist	(revision 388241)
+++ deskutils/hamster-applet/pkg-plist	(working copy)
@@ -191,7 +191,6 @@ share/gnome/help/hamster-applet/zh_TW/merge.page
 share/gnome/help/hamster-applet/zh_TW/reports.page
 share/gnome/help/hamster-applet/zh_TW/statistics.page
 share/gnome/help/hamster-applet/zh_TW/tracking.page
-share/gnome-control-center/keybindings/90-hamster-applet.xml
 %%DATADIR%%/Hamster_Applet.xml
 %%DATADIR%%/applet.ui
 %%DATADIR%%/art/hamster-applet.png

--=-g7MbzyCEeIOeredfoPtg--




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