summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2006-05-30 07:22:13 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2006-05-30 07:22:13 +0800
commit9b0fe0317cf751764769c8369839d0fc23720676 (patch)
tree7c90c0b777e9c2844aa2b11a77f8e4884c000709
parent85a35fb5bf53fe40ebb03a689521351e53932e4d (diff)
downloadmarcuscom-ports-9b0fe0317cf751764769c8369839d0fc23720676.tar.gz
marcuscom-ports-9b0fe0317cf751764769c8369839d0fc23720676.tar.zst
marcuscom-ports-9b0fe0317cf751764769c8369839d0fc23720676.zip
Re-fix the problem where our locale module does not offer bindtextdomain.
Reported by: mux git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@6353 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r--deskutils/deskbar-applet/Makefile3
-rw-r--r--deskutils/deskbar-applet/files/patch-deskbar_deskbar-applet.py17
2 files changed, 19 insertions, 1 deletions
diff --git a/deskutils/deskbar-applet/Makefile b/deskutils/deskbar-applet/Makefile
index d966d4cf8..7e983ccf8 100644
--- a/deskutils/deskbar-applet/Makefile
+++ b/deskutils/deskbar-applet/Makefile
@@ -3,11 +3,12 @@
# Whom: Michael Johnson <ahze@FreeBSD.org>
#
# $FreeBSD: ports/deskutils/deskbar-applet/Makefile,v 1.10 2006/04/30 00:46:46 marcus Exp $
-# $MCom: ports/deskutils/deskbar-applet/Makefile,v 1.26 2006/05/17 04:36:31 marcus Exp $
+# $MCom: ports/deskutils/deskbar-applet/Makefile,v 1.27 2006/05/17 14:29:28 marcus Exp $
#
PORTNAME= deskbar-applet
PORTVERSION= 2.15.2.1
+PORTREVISION= 1
CATEGORIES= deskutils
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
diff --git a/deskutils/deskbar-applet/files/patch-deskbar_deskbar-applet.py b/deskutils/deskbar-applet/files/patch-deskbar_deskbar-applet.py
new file mode 100644
index 000000000..4b01cdd9b
--- /dev/null
+++ b/deskutils/deskbar-applet/files/patch-deskbar_deskbar-applet.py
@@ -0,0 +1,17 @@
+--- deskbar/deskbar-applet.py.orig Mon May 29 19:20:47 2006
++++ deskbar/deskbar-applet.py Mon May 29 19:20:54 2006
+@@ -42,10 +42,10 @@ if hasattr(gettext, 'bind_textdomain_cod
+ gettext.bind_textdomain_codeset('deskbar-applet','UTF-8')
+ gettext.textdomain('deskbar-applet')
+
+-locale.bindtextdomain('deskbar-applet', abspath(join(deskbar.defs.DATA_DIR, "locale")))
+-if hasattr(locale, 'bind_textdomain_codeset'):
+- locale.bind_textdomain_codeset('deskbar-applet','UTF-8')
+-locale.textdomain('deskbar-applet')
++#locale.bindtextdomain('deskbar-applet', abspath(join(deskbar.defs.DATA_DIR, "locale")))
++#if hasattr(locale, 'bind_textdomain_codeset'):
++# locale.bind_textdomain_codeset('deskbar-applet','UTF-8')
++#locale.textdomain('deskbar-applet')
+
+ import gtkexcepthook
+