Sat Dec 6 00:59:42 2008 UTC ()
Fix path to python interpreter in hamster-applet, and copy hamster.db
with proper permissions to home directory. Bump PKGREVISION.


(jmcneill)
diff -r1.1.1.1 -r1.2 pkgsrc/time/hamster-applet/Makefile
diff -r1.1.1.1 -r1.2 pkgsrc/time/hamster-applet/distinfo
diff -r0 -r1.1 pkgsrc/time/hamster-applet/patches/patch-aa

cvs diff -r1.1.1.1 -r1.2 pkgsrc/time/hamster-applet/Attic/Makefile (expand / switch to unified diff)

--- pkgsrc/time/hamster-applet/Attic/Makefile 2008/12/02 22:36:35 1.1.1.1
+++ pkgsrc/time/hamster-applet/Attic/Makefile 2008/12/06 00:59:42 1.2
@@ -1,33 +1,40 @@ @@ -1,33 +1,40 @@
1# $NetBSD: Makefile,v 1.1.1.1 2008/12/02 22:36:35 wiz Exp $ 1# $NetBSD: Makefile,v 1.2 2008/12/06 00:59:42 jmcneill Exp $
2# 2#
3 3
4DISTNAME= hamster-applet-2.24.2 4DISTNAME= hamster-applet-2.24.2
 5PKGREVISION= 1
5CATEGORIES= time 6CATEGORIES= time
6MASTER_SITES= ${MASTER_SITE_GNOME:=sources/hamster-applet/2.24/} 7MASTER_SITES= ${MASTER_SITE_GNOME:=sources/hamster-applet/2.24/}
7 8
8MAINTAINER= pkgsrc-users@NetBSD.org 9MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= http://projecthamster.wordpress.com/ 10HOMEPAGE= http://projecthamster.wordpress.com/
10COMMENT= Time tracking applet for GNOME 11COMMENT= Time tracking applet for GNOME
11 12
12GNU_CONFIGURE= yes 13GNU_CONFIGURE= yes
13CONFIGURE_ENV+= GCONF_SCHEMA_FILE_DIR=${PREFIX}/share/gconf/schemas/ 14CONFIGURE_ENV+= GCONF_SCHEMA_FILE_DIR=${PREFIX}/share/gconf/schemas/
14MAKE_ENV+= GCONF_SCHEMA_FILE_DIR=${PREFIX}/share/gconf/schemas/ 15MAKE_ENV+= GCONF_SCHEMA_FILE_DIR=${PREFIX}/share/gconf/schemas/
15USE_LIBTOOL= yes 16USE_LIBTOOL= yes
16USE_TOOLS+= gmake intltool pkg-config 17USE_TOOLS+= gmake intltool pkg-config
17 18
18GCONF_SCHEMAS+= hamster-applet.schemas 19GCONF_SCHEMAS+= hamster-applet.schemas
19PY_PATCHPLIST= yes 20PY_PATCHPLIST= yes
20 21
 22SUBST_CLASSES+= python
 23SUBST_MESSAGE.python= Fixing path to Python interpreter.
 24SUBST_STAGE.python= post-patch
 25SUBST_FILES.python= hamster/hamster-applet.py
 26SUBST_SED.python= -e 's@/usr/bin/env python@${PYTHONBIN}@g'
 27
21.include "../../lang/python/extension.mk" 28.include "../../lang/python/extension.mk"
22 29
23.if ${PYPKGPREFIX} == "py24" 30.if ${PYPKGPREFIX} == "py24"
24.include "../../databases/py-sqlite2/buildlink3.mk" 31.include "../../databases/py-sqlite2/buildlink3.mk"
25.else 32.else
26DEPENDS+= ${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3 33DEPENDS+= ${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3
27.endif 34.endif
28.include "../../devel/GConf/schemas.mk" 35.include "../../devel/GConf/schemas.mk"
29.include "../../devel/gettext-lib/buildlink3.mk" 36.include "../../devel/gettext-lib/buildlink3.mk"
30BUILDLINK_API_DEPENDS.pygobject+= ${PYPKGPREFIX}-gobject>=2.14 37BUILDLINK_API_DEPENDS.pygobject+= ${PYPKGPREFIX}-gobject>=2.14
31.include "../../devel/py-gobject/buildlink3.mk" 38.include "../../devel/py-gobject/buildlink3.mk"
32.include "../../graphics/hicolor-icon-theme/buildlink3.mk" 39.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
33.include "../../sysutils/py-dbus/buildlink3.mk" 40.include "../../sysutils/py-dbus/buildlink3.mk"

cvs diff -r1.1.1.1 -r1.2 pkgsrc/time/hamster-applet/Attic/distinfo (expand / switch to unified diff)

--- pkgsrc/time/hamster-applet/Attic/distinfo 2008/12/02 22:36:35 1.1.1.1
+++ pkgsrc/time/hamster-applet/Attic/distinfo 2008/12/06 00:59:42 1.2
@@ -1,5 +1,6 @@ @@ -1,5 +1,6 @@
1$NetBSD: distinfo,v 1.1.1.1 2008/12/02 22:36:35 wiz Exp $ 1$NetBSD: distinfo,v 1.2 2008/12/06 00:59:42 jmcneill Exp $
2 2
3SHA1 (hamster-applet-2.24.2.tar.gz) = 32f5ca5aa861604ec89689d7f1b4d49573d650d6 3SHA1 (hamster-applet-2.24.2.tar.gz) = 32f5ca5aa861604ec89689d7f1b4d49573d650d6
4RMD160 (hamster-applet-2.24.2.tar.gz) = b4ddde48eec65f7f717be76fe484f2283b0fc76f 4RMD160 (hamster-applet-2.24.2.tar.gz) = b4ddde48eec65f7f717be76fe484f2283b0fc76f
5Size (hamster-applet-2.24.2.tar.gz) = 482374 bytes 5Size (hamster-applet-2.24.2.tar.gz) = 482374 bytes
 6SHA1 (patch-aa) = 0bcbf0a0894b3bb506ddee5dec8f0ee858f2d12b

File Added: pkgsrc/time/hamster-applet/patches/Attic/patch-aa
$NetBSD: patch-aa,v 1.1 2008/12/06 00:59:42 jmcneill Exp $

--- hamster/__init__.py.orig	2008-10-25 17:15:16.000000000 -0400
+++ hamster/__init__.py
@@ -22,7 +22,7 @@
 
 import os, sys
 from os.path import join, exists, isdir, isfile, dirname, abspath, expanduser
-from shutil import copy as copyfile
+from shutil import copyfile
 
 import gtk, gnome.ui
 from gtk import glade