summaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2006-01-08 12:36:35 +0000
committeredwin <edwin@FreeBSD.org>2006-01-08 12:36:35 +0000
commitd965b058d73f8facd24732789781118203300a9a (patch)
tree15b2d0f08434ea06ef5d5464a75ce0b0fff7ec3f /multimedia
parent4fa319ff8b35108077c265515e3841707981636c (diff)
downloadFreeBSD-ports-d965b058d73f8facd24732789781118203300a9a.zip
FreeBSD-ports-d965b058d73f8facd24732789781118203300a9a.tar.gz
[PATCH] multimedia/quodlibet, i18n problem with quodlibet.mo
QuodLibet's <lang>.mo [1], quodlibet.mo, is not found by default on FreeBSD. The path of i18ndir is responsible for it. [1] <URL:http://www.sacredchao.net/quodlibet/wiki/Development/Translation> Submitted by: Byung-Hee HWANG <bh@izb.knu.ac.kr> PR: ports/91473 Approved by: Chang bom Yoon <changbom.yoon@gmail.com>
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/quodlibet/Makefile2
-rw-r--r--multimedia/quodlibet/files/patch-quodlibet.py21
2 files changed, 22 insertions, 1 deletions
diff --git a/multimedia/quodlibet/Makefile b/multimedia/quodlibet/Makefile
index ae52747..d80e6d8 100644
--- a/multimedia/quodlibet/Makefile
+++ b/multimedia/quodlibet/Makefile
@@ -7,7 +7,7 @@
PORTNAME= quodlibet
PORTVERSION= 0.16
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= multimedia audio python
MASTER_SITES= http://www.sacredchao.net/~piman/software/
diff --git a/multimedia/quodlibet/files/patch-quodlibet.py b/multimedia/quodlibet/files/patch-quodlibet.py
new file mode 100644
index 0000000..aff4cc3
--- /dev/null
+++ b/multimedia/quodlibet/files/patch-quodlibet.py
@@ -0,0 +1,21 @@
+--- quodlibet.py.orig 2005-12-12 15:43:59.000000000 -0700
++++ quodlibet.py 2006-01-07 11:25:44.773179056 -0700
+@@ -273,15 +273,15 @@
+ basedir = os.getcwd()
+ if basedir.endswith("/share/quodlibet"):
+ sys.path.append(basedir[:-15] + "lib/quodlibet")
+- i18ndir = "/usr/share/locale"
++ i18ndir = "/usr/X11R6/share/locale"
+
+ import locale, gettext, util
+ try: locale.setlocale(locale.LC_ALL, '')
+ except: pass
+
+- gettext.bindtextdomain("quodlibet")
++ gettext.bindtextdomain("quodlibet", i18ndir)
+ gettext.textdomain("quodlibet")
+- util.gettext_install("quodlibet", unicode=True)
++ util.gettext_install("quodlibet", i18ndir, unicode=True)
+ util.ctypes_init()
+
+ from util import to
OpenPOWER on IntegriCloud