diff options
author | edwin <edwin@FreeBSD.org> | 2006-01-08 20:36:35 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2006-01-08 20:36:35 +0800 |
commit | d965b058d73f8facd24732789781118203300a9a (patch) | |
tree | 15b2d0f08434ea06ef5d5464a75ce0b0fff7ec3f /multimedia | |
parent | 4fa319ff8b35108077c265515e3841707981636c (diff) | |
download | freebsd-ports-gnome-d965b058d73f8facd24732789781118203300a9a.tar.gz freebsd-ports-gnome-d965b058d73f8facd24732789781118203300a9a.tar.zst freebsd-ports-gnome-d965b058d73f8facd24732789781118203300a9a.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>
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 |