From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Jan 5 02:50:29 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5032816A4CE for ; Mon, 5 Jan 2004 02:50:29 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id A36E743D41 for ; Mon, 5 Jan 2004 02:50:24 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i05AoOFR007094 for ; Mon, 5 Jan 2004 02:50:24 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i05AoOti007093; Mon, 5 Jan 2004 02:50:24 -0800 (PST) (envelope-from gnats) Resent-Date: Mon, 5 Jan 2004 02:50:24 -0800 (PST) Resent-Message-Id: <200401051050.i05AoOti007093@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Franz Klammer" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7812316A4D5 for ; Mon, 5 Jan 2004 02:45:49 -0800 (PST) Received: from sv02.webonaut.com (kirk.webonaut.com [212.41.243.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id A8D7A43D3F for ; Mon, 5 Jan 2004 02:45:47 -0800 (PST) (envelope-from "") Received: from localhost (localhost [127.0.0.1]) by sv02.webonaut.com (Postfix) with ESMTP id 7F7EA7642C for ; Mon, 5 Jan 2004 11:45:42 +0100 (CET) Received: from sv02.webonaut.com ([127.0.0.1]) by localhost (sv02.webonaut.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 06086-01 for ; Mon, 5 Jan 2004 11:45:39 +0100 (CET) Received: from ds9.webonaut.com (sisko.webonaut.com [212.41.243.28]) by sv02.webonaut.com (Postfix) with ESMTP id 669F476426 for ; Mon, 5 Jan 2004 11:45:29 +0100 (CET) Message-Id: <1073299531@ds9.webonaut.com> Date: Mon, 5 Jan 2004 11:45:41 +0100 From: "Franz Klammer" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: gtk-send-pr 0.2 Subject: ports/60920: deskutils/gdesklets: extend i18n.py to check as default also the gettext domain "gdesklets" X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jan 2004 10:50:29 -0000 >Number: 60920 >Category: ports >Synopsis: deskutils/gdesklets: extend i18n.py to check as default also the gettext domain "gdesklets" >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Mon Jan 05 02:50:23 PST 2004 >Closed-Date: >Last-Modified: >Originator: Franz Klammer >Release: FreeBSD 5.2-CURRENT i386 >Organization: >Environment: System: FreeBSD ds9.webonaut.com 5.2-CURRENT FreeBSD 5.2-CURRENT #2: Mon Dec 29 15:29:56 CET 2003 root@ds9.webonaut.com:/usr/obj/usr/src/sys/DS9 i386 >Description: * extend i18n.py to check as default also the gettext domain "gdesklets" to fix i18n support on some desklets which installing there language-files as gdeklets.mo * bump PORTREVISION Obtained from: GNOME CVS (http://bugzilla.gnome.org/show_bug.cgi?id=130509) >How-To-Repeat: >Fix: --- gdesklets.diff begins here --- diff -Nur gdesklets.orig/Makefile gdesklets/Makefile --- gdesklets.orig/Makefile Wed Dec 31 10:24:46 2003 +++ gdesklets/Makefile Mon Jan 5 11:30:46 2004 @@ -7,6 +7,7 @@ PORTNAME= gdesklets PORTVERSION= 0.25.1 +PORTREVISION= 1 CATEGORIES= deskutils gnome MASTER_SITES= http://www.pycage.de/download/${PORTNAME}/ DISTNAME= gDesklets-${PORTVERSION} diff -Nur gdesklets.orig/files/patch-utils::i18n.py gdesklets/files/patch-utils::i18n.py --- gdesklets.orig/files/patch-utils::i18n.py Thu Jan 1 01:00:00 1970 +++ gdesklets/files/patch-utils::i18n.py Sun Jan 4 14:37:26 2004 @@ -0,0 +1,13 @@ +--- utils/i18n.py.orig Sun Jan 4 13:56:21 2004 ++++ utils/i18n.py Sun Jan 4 14:26:10 2004 +@@ -12,6 +12,9 @@ + translate = gettext.translation(domain, localedir).gettext + + except: +- translate = dummy ++ try: ++ translate = gettext.translation("gdesklets", localedir).gettext ++ except: ++ translate = dummy + + return translate --- gdesklets.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: