summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-video/miro/files/miro-2.5.3-fix-locale.patch')
-rw-r--r--media-video/miro/files/miro-2.5.3-fix-locale.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/media-video/miro/files/miro-2.5.3-fix-locale.patch b/media-video/miro/files/miro-2.5.3-fix-locale.patch
new file mode 100644
index 000000000000..e0c69e55cf1f
--- /dev/null
+++ b/media-video/miro/files/miro-2.5.3-fix-locale.patch
@@ -0,0 +1,11 @@
+--- setup.py.old 2009-10-28 11:06:02.000000000 +0100
++++ setup.py 2009-10-29 09:15:35.000000000 +0100
+@@ -736,6 +736,8 @@
+
+ for source in glob (os.path.join (locale_dir, "*.mo")):
+ lang = os.path.basename(source)[:-3]
++ if 'LINGUAS' in os.environ and lang not in os.environ['LINGUAS']:
++ continue
+ dest = '/usr/share/locale/%s/LC_MESSAGES/miro.mo' % lang
+ if self.root:
+ dest = change_root(self.root, dest)