summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2009-05-06 23:56:05 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2009-05-06 23:56:05 +0800
commita6f28f44dab50ad520d6c7e5f3254e0ff166346a (patch)
tree1324b21c252b67d00a004c690b92c81533af46de
parent6c4dd6e7f7848e66771d154fb5507dfbabd536aa (diff)
downloadmarcuscom-ports-a6f28f44dab50ad520d6c7e5f3254e0ff166346a.tar
marcuscom-ports-a6f28f44dab50ad520d6c7e5f3254e0ff166346a.tar.gz
marcuscom-ports-a6f28f44dab50ad520d6c7e5f3254e0ff166346a.tar.bz2
marcuscom-ports-a6f28f44dab50ad520d6c7e5f3254e0ff166346a.tar.lz
marcuscom-ports-a6f28f44dab50ad520d6c7e5f3254e0ff166346a.tar.xz
marcuscom-ports-a6f28f44dab50ad520d6c7e5f3254e0ff166346a.tar.zst
marcuscom-ports-a6f28f44dab50ad520d6c7e5f3254e0ff166346a.zip
Update to 2.27.1.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@12264 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r--deskutils/hamster-applet/Makefile36
-rw-r--r--deskutils/hamster-applet/distinfo3
-rw-r--r--deskutils/hamster-applet/files/patch-hamster___init__.py10
-rw-r--r--deskutils/hamster-applet/files/patch-hamster_hamster-applet.py23
-rw-r--r--deskutils/hamster-applet/pkg-descr3
-rw-r--r--deskutils/hamster-applet/pkg-plist152
6 files changed, 227 insertions, 0 deletions
diff --git a/deskutils/hamster-applet/Makefile b/deskutils/hamster-applet/Makefile
new file mode 100644
index 000000000..8a2858a0c
--- /dev/null
+++ b/deskutils/hamster-applet/Makefile
@@ -0,0 +1,36 @@
+# New ports collection makefile for: hamster-applet
+# Date created: 06 August 2008
+# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
+#
+# $FreeBSD$
+# $MCom$
+#
+
+PORTNAME= hamster-applet
+PORTVERSION= 2.27.1
+CATEGORIES= deskutils gnome
+MASTER_SITES= GNOME
+DIST_SUBDIR= gnome2
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= Time management applet for the GNOME Desktop
+
+BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/_sqlite3.so:${PORTSDIR}/databases/py-sqlite3
+RUN_DEPENDS= ${PYTHON_SITELIBDIR}/_sqlite3.so:${PORTSDIR}/databases/py-sqlite3
+
+USE_BZIP2= yes
+USE_GETTEXT= yes
+USE_GMAKE= yes
+USE_PYTHON= yes
+USE_XORG= xscrnsaver
+USE_GNOME= gnomeprefix intlhack gnomehack pygnomedesktop \
+ gnomecontrolcenter2
+GNU_CONFIGURE= yes
+INSTALLS_OMF= yes
+INSTALLS_ICONS= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+
+GCONF_SCHEMAS= hamster-applet.schemas
+
+.include <bsd.port.mk>
diff --git a/deskutils/hamster-applet/distinfo b/deskutils/hamster-applet/distinfo
new file mode 100644
index 000000000..1556337a1
--- /dev/null
+++ b/deskutils/hamster-applet/distinfo
@@ -0,0 +1,3 @@
+MD5 (gnome2/hamster-applet-2.27.1.tar.bz2) = 9b2328086666dd039379b6237525413e
+SHA256 (gnome2/hamster-applet-2.27.1.tar.bz2) = 307f06ee9ac3c368370c8f1a19c612210557b8b9864473da1c1eab4d70b36315
+SIZE (gnome2/hamster-applet-2.27.1.tar.bz2) = 439148
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
+
diff --git a/deskutils/hamster-applet/files/patch-hamster_hamster-applet.py b/deskutils/hamster-applet/files/patch-hamster_hamster-applet.py
new file mode 100644
index 000000000..6a395cd18
--- /dev/null
+++ b/deskutils/hamster-applet/files/patch-hamster_hamster-applet.py
@@ -0,0 +1,23 @@
+--- hamster/hamster-applet.py.orig 2009-04-25 14:29:45.000000000 +0200
++++ hamster/hamster-applet.py 2009-05-06 17:47:09.000000000 +0200
+@@ -40,14 +40,14 @@ if _check(name):
+ import hamster.defs
+
+ # Setup i18n
+-locale_dir = os.path.abspath(os.path.join(hamster.defs.DATA_DIR, "locale"))
++#locale_dir = os.path.abspath(os.path.join(hamster.defs.DATA_DIR, "locale"))
+
+-for module in (gettext, locale):
+- module.bindtextdomain('hamster-applet', locale_dir)
+- module.textdomain('hamster-applet')
++#for module in (gettext, locale):
++# module.bindtextdomain('hamster-applet', locale_dir)
++# module.textdomain('hamster-applet')
+
+- if hasattr(module, 'bind_textdomain_codeset'):
+- module.bind_textdomain_codeset('hamster-applet','UTF-8')
++# if hasattr(module, 'bind_textdomain_codeset'):
++# module.bind_textdomain_codeset('hamster-applet','UTF-8')
+
+
+ hamster.__init_db()
diff --git a/deskutils/hamster-applet/pkg-descr b/deskutils/hamster-applet/pkg-descr
new file mode 100644
index 000000000..9e3edc3cb
--- /dev/null
+++ b/deskutils/hamster-applet/pkg-descr
@@ -0,0 +1,3 @@
+Hamster Applet allows you to keep track on where are you spending your time.
+
+WWW: http://projecthamster.wordpress.com/
diff --git a/deskutils/hamster-applet/pkg-plist b/deskutils/hamster-applet/pkg-plist
new file mode 100644
index 000000000..8257063ea
--- /dev/null
+++ b/deskutils/hamster-applet/pkg-plist
@@ -0,0 +1,152 @@
+lib/hamster-applet/hamster-applet
+%%PYTHON_SITELIBDIR%%/hamster/Configuration.py
+%%PYTHON_SITELIBDIR%%/hamster/Configuration.pyc
+%%PYTHON_SITELIBDIR%%/hamster/Configuration.pyo
+%%PYTHON_SITELIBDIR%%/hamster/KeyBinder.py
+%%PYTHON_SITELIBDIR%%/hamster/KeyBinder.pyc
+%%PYTHON_SITELIBDIR%%/hamster/KeyBinder.pyo
+%%PYTHON_SITELIBDIR%%/hamster/__init__.py
+%%PYTHON_SITELIBDIR%%/hamster/__init__.pyc
+%%PYTHON_SITELIBDIR%%/hamster/__init__.pyo
+%%PYTHON_SITELIBDIR%%/hamster/about.py
+%%PYTHON_SITELIBDIR%%/hamster/about.pyc
+%%PYTHON_SITELIBDIR%%/hamster/about.pyo
+%%PYTHON_SITELIBDIR%%/hamster/applet.py
+%%PYTHON_SITELIBDIR%%/hamster/applet.pyc
+%%PYTHON_SITELIBDIR%%/hamster/applet.pyo
+%%PYTHON_SITELIBDIR%%/hamster/charting.py
+%%PYTHON_SITELIBDIR%%/hamster/charting.pyc
+%%PYTHON_SITELIBDIR%%/hamster/charting.pyo
+%%PYTHON_SITELIBDIR%%/hamster/db.py
+%%PYTHON_SITELIBDIR%%/hamster/db.pyc
+%%PYTHON_SITELIBDIR%%/hamster/db.pyo
+%%PYTHON_SITELIBDIR%%/hamster/defs.py
+%%PYTHON_SITELIBDIR%%/hamster/defs.pyc
+%%PYTHON_SITELIBDIR%%/hamster/defs.pyo
+%%PYTHON_SITELIBDIR%%/hamster/dispatcher.py
+%%PYTHON_SITELIBDIR%%/hamster/dispatcher.pyc
+%%PYTHON_SITELIBDIR%%/hamster/dispatcher.pyo
+%%PYTHON_SITELIBDIR%%/hamster/edit_activity.py
+%%PYTHON_SITELIBDIR%%/hamster/edit_activity.pyc
+%%PYTHON_SITELIBDIR%%/hamster/edit_activity.pyo
+%%PYTHON_SITELIBDIR%%/hamster/eds.py
+%%PYTHON_SITELIBDIR%%/hamster/eds.pyc
+%%PYTHON_SITELIBDIR%%/hamster/eds.pyo
+%%PYTHON_SITELIBDIR%%/hamster/graphics.py
+%%PYTHON_SITELIBDIR%%/hamster/graphics.pyc
+%%PYTHON_SITELIBDIR%%/hamster/graphics.pyo
+%%PYTHON_SITELIBDIR%%/hamster/hamsterdbus.py
+%%PYTHON_SITELIBDIR%%/hamster/hamsterdbus.pyc
+%%PYTHON_SITELIBDIR%%/hamster/hamsterdbus.pyo
+%%PYTHON_SITELIBDIR%%/hamster/idle.py
+%%PYTHON_SITELIBDIR%%/hamster/idle.pyc
+%%PYTHON_SITELIBDIR%%/hamster/idle.pyo
+%%PYTHON_SITELIBDIR%%/hamster/keybinder/__init__.py
+%%PYTHON_SITELIBDIR%%/hamster/keybinder/__init__.pyc
+%%PYTHON_SITELIBDIR%%/hamster/keybinder/__init__.pyo
+%%PYTHON_SITELIBDIR%%/hamster/keybinder/_keybinder.la
+%%PYTHON_SITELIBDIR%%/hamster/keybinder/_keybinder.so
+%%PYTHON_SITELIBDIR%%/hamster/preferences.py
+%%PYTHON_SITELIBDIR%%/hamster/preferences.pyc
+%%PYTHON_SITELIBDIR%%/hamster/preferences.pyo
+%%PYTHON_SITELIBDIR%%/hamster/reports.py
+%%PYTHON_SITELIBDIR%%/hamster/reports.pyc
+%%PYTHON_SITELIBDIR%%/hamster/reports.pyo
+%%PYTHON_SITELIBDIR%%/hamster/stats.py
+%%PYTHON_SITELIBDIR%%/hamster/stats.pyc
+%%PYTHON_SITELIBDIR%%/hamster/stats.pyo
+%%PYTHON_SITELIBDIR%%/hamster/storage.py
+%%PYTHON_SITELIBDIR%%/hamster/storage.pyc
+%%PYTHON_SITELIBDIR%%/hamster/storage.pyo
+%%PYTHON_SITELIBDIR%%/hamster/stuff.py
+%%PYTHON_SITELIBDIR%%/hamster/stuff.pyc
+%%PYTHON_SITELIBDIR%%/hamster/stuff.pyo
+%%PYTHON_SITELIBDIR%%/hamster/widgets.py
+%%PYTHON_SITELIBDIR%%/hamster/widgets.pyc
+%%PYTHON_SITELIBDIR%%/hamster/widgets.pyo
+libdata/bonobo/servers/Hamster_Applet.server
+%%DATADIR%%/Hamster_Applet.xml
+%%DATADIR%%/applet.ui
+%%DATADIR%%/art/hamster-applet.png
+%%DATADIR%%/art/stock_calendar-view-day.png
+%%DATADIR%%/art/stock_calendar-view-month.png
+%%DATADIR%%/art/stock_calendar-view-week.png
+%%DATADIR%%/edit_activity.ui
+%%DATADIR%%/hamster.db
+%%DATADIR%%/preferences.ui
+%%DATADIR%%/stats.ui
+share/icons/hicolor/16x16/apps/hamster-applet.png
+share/icons/hicolor/22x22/apps/hamster-applet.png
+share/icons/hicolor/32x32/apps/hamster-applet.png
+share/icons/hicolor/48x48/apps/hamster-applet.png
+share/icons/hicolor/scalable/apps/hamster-applet.svg
+share/locale/ar/LC_MESSAGES/hamster-applet.mo
+share/locale/bg/LC_MESSAGES/hamster-applet.mo
+share/locale/bn_IN/LC_MESSAGES/hamster-applet.mo
+share/locale/ca/LC_MESSAGES/hamster-applet.mo
+share/locale/cs/LC_MESSAGES/hamster-applet.mo
+share/locale/da/LC_MESSAGES/hamster-applet.mo
+share/locale/de/LC_MESSAGES/hamster-applet.mo
+share/locale/el/LC_MESSAGES/hamster-applet.mo
+share/locale/en_GB/LC_MESSAGES/hamster-applet.mo
+share/locale/es/LC_MESSAGES/hamster-applet.mo
+share/locale/et/LC_MESSAGES/hamster-applet.mo
+share/locale/eu/LC_MESSAGES/hamster-applet.mo
+share/locale/fi/LC_MESSAGES/hamster-applet.mo
+share/locale/fr/LC_MESSAGES/hamster-applet.mo
+share/locale/gl/LC_MESSAGES/hamster-applet.mo
+share/locale/gu/LC_MESSAGES/hamster-applet.mo
+share/locale/he/LC_MESSAGES/hamster-applet.mo
+share/locale/hi/LC_MESSAGES/hamster-applet.mo
+share/locale/hu/LC_MESSAGES/hamster-applet.mo
+share/locale/it/LC_MESSAGES/hamster-applet.mo
+share/locale/ja/LC_MESSAGES/hamster-applet.mo
+share/locale/kn/LC_MESSAGES/hamster-applet.mo
+share/locale/ko/LC_MESSAGES/hamster-applet.mo
+share/locale/ku/LC_MESSAGES/hamster-applet.mo
+share/locale/lt/LC_MESSAGES/hamster-applet.mo
+share/locale/lv/LC_MESSAGES/hamster-applet.mo
+share/locale/mk/LC_MESSAGES/hamster-applet.mo
+share/locale/ml/LC_MESSAGES/hamster-applet.mo
+share/locale/mr/LC_MESSAGES/hamster-applet.mo
+share/locale/nb/LC_MESSAGES/hamster-applet.mo
+share/locale/nl/LC_MESSAGES/hamster-applet.mo
+share/locale/or/LC_MESSAGES/hamster-applet.mo
+share/locale/pa/LC_MESSAGES/hamster-applet.mo
+share/locale/pl/LC_MESSAGES/hamster-applet.mo
+share/locale/pt/LC_MESSAGES/hamster-applet.mo
+share/locale/pt_BR/LC_MESSAGES/hamster-applet.mo
+share/locale/ro/LC_MESSAGES/hamster-applet.mo
+share/locale/ru/LC_MESSAGES/hamster-applet.mo
+share/locale/si/LC_MESSAGES/hamster-applet.mo
+share/locale/sl/LC_MESSAGES/hamster-applet.mo
+share/locale/sq/LC_MESSAGES/hamster-applet.mo
+share/locale/sr/LC_MESSAGES/hamster-applet.mo
+share/locale/sr@latin/LC_MESSAGES/hamster-applet.mo
+share/locale/sv/LC_MESSAGES/hamster-applet.mo
+share/locale/ta/LC_MESSAGES/hamster-applet.mo
+share/locale/th/LC_MESSAGES/hamster-applet.mo
+share/locale/tr/LC_MESSAGES/hamster-applet.mo
+share/locale/vi/LC_MESSAGES/hamster-applet.mo
+share/locale/zh_CN/LC_MESSAGES/hamster-applet.mo
+share/locale/zh_HK/LC_MESSAGES/hamster-applet.mo
+share/locale/zh_TW/LC_MESSAGES/hamster-applet.mo
+@dirrm %%DATADIR%%/art
+@dirrm %%DATADIR%%
+@dirrm %%PYTHON_SITELIBDIR%%/hamster/keybinder
+@dirrm %%PYTHON_SITELIBDIR%%/hamster
+@dirrm lib/hamster-applet
+@dirrmtry share/locale/zh_HK/LC_MESSAGES
+@dirrmtry share/locale/zh_HK
+@dirrmtry share/locale/sr@latin/LC_MESSAGES
+@dirrmtry share/locale/sr@latin
+@dirrmtry share/locale/si/LC_MESSAGES
+@dirrmtry share/locale/si
+@dirrmtry share/locale/ro/LC_MESSAGES
+@dirrmtry share/locale/ro
+@dirrmtry share/locale/mr/LC_MESSAGES
+@dirrmtry share/locale/mr
+@dirrmtry share/locale/ku/LC_MESSAGES
+@dirrmtry share/locale/ku
+@dirrmtry share/locale/bn_IN/LC_MESSAGES
+@dirrmtry share/locale/bn_IN