diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2006-01-08 12:36:35 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2006-01-08 12:36:35 +0000 |
commit | 307b87971bdc65fbd1acb692befd34cfef72e1c9 (patch) | |
tree | 04f90e728910dc41585312faea3ec26b2a6363c3 /multimedia | |
parent | 1e130558e5860db5601436a26d029f770680530c (diff) | |
download | ports-307b87971bdc65fbd1acb692befd34cfef72e1c9.tar.gz ports-307b87971bdc65fbd1acb692befd34cfef72e1c9.zip |
[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>
Notes
Notes:
svn path=/head/; revision=153060
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/quodlibet/Makefile | 2 | ||||
-rw-r--r-- | multimedia/quodlibet/files/patch-quodlibet.py | 21 |
2 files changed, 22 insertions, 1 deletions
diff --git a/multimedia/quodlibet/Makefile b/multimedia/quodlibet/Makefile index ae5274745d40..d80e6d80123f 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 000000000000..aff4cc37f846 --- /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 |