diff --git a/x11/gnome/hamster-applet/Makefile b/x11/gnome/hamster-applet/Makefile index cc1533a0611..f3cca37ecb9 100644 --- a/x11/gnome/hamster-applet/Makefile +++ b/x11/gnome/hamster-applet/Makefile @@ -1,9 +1,11 @@ -# $OpenBSD: Makefile,v 1.14 2009/10/13 23:36:16 jasper Exp $ +# $OpenBSD: Makefile,v 1.15 2009/10/14 12:08:23 ajacoutot Exp $ COMMENT= time tracker applet for GNOME GNOME_PROJECT= hamster-applet GNOME_VERSION= 2.28.0 +PKGNAME= ${DISTNAME}p0 + CATEGORIES= productivity HOMEPAGE= http://live.gnome.org/ProjectHamster diff --git a/x11/gnome/hamster-applet/patches/patch-hamster_hamster-applet_py b/x11/gnome/hamster-applet/patches/patch-hamster_hamster-applet_py index ba0d814c5df..5171646df09 100644 --- a/x11/gnome/hamster-applet/patches/patch-hamster_hamster-applet_py +++ b/x11/gnome/hamster-applet/patches/patch-hamster_hamster-applet_py @@ -1,18 +1,24 @@ -$OpenBSD: patch-hamster_hamster-applet_py,v 1.2 2009/10/13 23:36:16 jasper Exp $ ---- hamster/hamster-applet.py.orig Wed Oct 14 01:03:36 2009 -+++ hamster/hamster-applet.py Wed Oct 14 01:16:55 2009 +$OpenBSD: patch-hamster_hamster-applet_py,v 1.3 2009/10/14 12:08:23 ajacoutot Exp $ +--- hamster/hamster-applet.py.orig Tue Sep 1 11:05:30 2009 ++++ hamster/hamster-applet.py Wed Oct 14 14:03:46 2009 @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!${MODPY_BIN} # - coding: utf-8 - # Copyright (C) 2007, 2008 Toms Bauģis -@@ -39,7 +39,7 @@ from hamster.configuration import runtime +@@ -38,14 +38,6 @@ from hamster.configuration import runtime + # Setup i18n locale_dir = os.path.abspath(os.path.join(defs.DATA_DIR, "locale")) - +- -for module in (gettext, locale): -+for module in (gettext): - module.bindtextdomain('hamster-applet', locale_dir) - module.textdomain('hamster-applet') +- module.bindtextdomain('hamster-applet', locale_dir) +- module.textdomain('hamster-applet') +- +- if hasattr(module, 'bind_textdomain_codeset'): +- module.bind_textdomain_codeset('hamster-applet','UTF-8') +- + + from hamster.applet import HamsterApplet