summaryrefslogtreecommitdiffstats
path: root/deskutils/hamster-applet
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2008-08-07 22:55:30 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2008-08-07 22:55:30 +0800
commit31a96f5d0c7503a6945266c363de14ac5ae2a22f (patch)
treefa43f096b1da433b0a928181bd212176c25bae36 /deskutils/hamster-applet
parent3d0a6e6c56ed6640fa484a71ba885188c0179155 (diff)
downloadmarcuscom-ports-31a96f5d0c7503a6945266c363de14ac5ae2a22f.tar
marcuscom-ports-31a96f5d0c7503a6945266c363de14ac5ae2a22f.tar.gz
marcuscom-ports-31a96f5d0c7503a6945266c363de14ac5ae2a22f.tar.bz2
marcuscom-ports-31a96f5d0c7503a6945266c363de14ac5ae2a22f.tar.lz
marcuscom-ports-31a96f5d0c7503a6945266c363de14ac5ae2a22f.tar.xz
marcuscom-ports-31a96f5d0c7503a6945266c363de14ac5ae2a22f.tar.zst
marcuscom-ports-31a96f5d0c7503a6945266c363de14ac5ae2a22f.zip
Depend on py-pysqlite23 and patch a problem with DB permissions.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@11259 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'deskutils/hamster-applet')
-rw-r--r--deskutils/hamster-applet/Makefile8
-rw-r--r--deskutils/hamster-applet/files/patch-hamster___init__.py10
2 files changed, 14 insertions, 4 deletions
diff --git a/deskutils/hamster-applet/Makefile b/deskutils/hamster-applet/Makefile
index b14279443..c4306d46b 100644
--- a/deskutils/hamster-applet/Makefile
+++ b/deskutils/hamster-applet/Makefile
@@ -3,12 +3,12 @@
# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
#
# $FreeBSD$
-# $MCom: ports/deskutils/hamster-applet/Makefile,v 1.2 2008/08/06 18:05:03 marcus Exp $
+# $MCom: ports/deskutils/hamster-applet/Makefile,v 1.3 2008/08/07 14:24:40 marcus Exp $
#
PORTNAME= hamster-applet
PORTVERSION= 2.23.6
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= deskutils gnome
MASTER_SITES= GNOME
DIST_SUBDIR= gnome2
@@ -16,8 +16,8 @@ DIST_SUBDIR= gnome2
MAINTAINER= gnome@FreeBSD.org
COMMENT= Time management applet for the GNOME Desktop
-BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/pysqlite2/_sqlite.so:${PORTSDIR}/databases/py-pysqlite20
-RUN_DEPENDS= ${PYTHON_SITELIBDIR}/pysqlite2/_sqlite.so:${PORTSDIR}/databases/py-pysqlite20
+BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/pysqlite2/_sqlite.so:${PORTSDIR}/databases/py-pysqlite23
+RUN_DEPENDS= ${PYTHON_SITELIBDIR}/pysqlite2/_sqlite.so:${PORTSDIR}/databases/py-pysqlite23
USE_BZIP2= yes
USE_GETTEXT= yes
diff --git a/deskutils/hamster-applet/files/patch-hamster___init__.py b/deskutils/hamster-applet/files/patch-hamster___init__.py
new file mode 100644
index 000000000..a277063e0
--- /dev/null
+++ b/deskutils/hamster-applet/files/patch-hamster___init__.py
@@ -0,0 +1,10 @@
+--- hamster/__init__.py.orig 2008-08-07 10:53:47.000000000 -0400
++++ hamster/__init__.py 2008-08-07 10:54:01.000000000 -0400
+@@ -74,6 +74,7 @@ if not exists(USER_HAMSTER_DIR):
+ if not exists(HAMSTER_DB):
+ print "Database not found in %s - installing default from %s!" % (HAMSTER_DB, SHARED_DATA_DIR)
+ copyfile(join(SHARED_DATA_DIR, DB_FILE), HAMSTER_DB)
++ os.chmod(HAMSTER_DB, 0644)
+
+ # Init storage
+