From 9b0fe0317cf751764769c8369839d0fc23720676 Mon Sep 17 00:00:00 2001 From: marcus Date: Mon, 29 May 2006 23:22:13 +0000 Subject: 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 --- deskutils/deskbar-applet/Makefile | 3 ++- .../files/patch-deskbar_deskbar-applet.py | 17 +++++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 deskutils/deskbar-applet/files/patch-deskbar_deskbar-applet.py 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 # # $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 + -- cgit v1.2.3