summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-07-06 20:43:28 +0100
committerCarl Hetherington <cth@carlh.net>2015-07-06 20:43:28 +0100
commitc09b2ced70e1cfa973172aae8bcd804a5b2e3d70 (patch)
treee355deba202dccab242a4af48978ad003586b04d
parent43877eccbedc0950ab253e76dd0cea691fd7a4b0 (diff)
Missing mentions of pl_PL.
-rw-r--r--cscript2
-rwxr-xr-xdebian/rules6
2 files changed, 6 insertions, 2 deletions
diff --git a/cscript b/cscript
index 4acc14f4f..6aba27e05 100644
--- a/cscript
+++ b/cscript
@@ -194,7 +194,7 @@ def make_spec(filename, version, target):
print >>f,'%{_datadir}/dcpomatic2/LiberationSans-Regular.ttf'
for r in ['128x128', '22x22', '32x32', '48x48', '64x64']:
print >>f,'%%{_datadir}/icons/hicolor/%s/apps/dcpomatic2.png' % r
- for l in ['de_DE', 'es_ES', 'fr_FR', 'it_IT', 'sv_SE', 'nl_NL', 'ru_RU']:
+ for l in ['de_DE', 'es_ES', 'fr_FR', 'it_IT', 'sv_SE', 'nl_NL', 'ru_RU', 'pl_PL']:
print >>f,'%%{_datadir}/locale/%s/LC_MESSAGES/dcpomatic2.mo' % l
print >>f,'%%{_datadir}/locale/%s/LC_MESSAGES/libdcpomatic2-wx.mo' % l
print >>f,'%%{_datadir}/locale/%s/LC_MESSAGES/libdcpomatic2.mo' % l
diff --git a/debian/rules b/debian/rules
index 6d6dbf906..b41487f86 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,7 +10,7 @@
#export DH_VERBOSE=1
%:
- dh $@
+ dh $@
override_dh_auto_configure:
LINKFLAGS=$(CDIST_LINKFLAGS) CXXFLAGS="$(CXXFLAGS) $(CDIST_CXXFLAGS)" PKG_CONFIG_PATH=$(CDIST_PKG_CONFIG_PATH) \
@@ -33,6 +33,10 @@ override_dh_auto_install:
cp -a $(CDIST_LOCALE_PREFIX)/sv/LC_MESSAGES/wxstd.mo debian/dcpomatic/usr/share/locale/sv/LC_MESSAGES/dcpomatic2-wxstd.mo
mkdir -p debian/dcpomatic/usr/share/locale/nl/LC_MESSAGES/
cp -a $(CDIST_LOCALE_PREFIX)/nl/LC_MESSAGES/wxstd.mo debian/dcpomatic/usr/share/locale/nl/LC_MESSAGES/dcpomatic2-wxstd.mo
+ mkdir -p debian/dcpomatic/usr/share/locale/pl/LC_MESSAGES/
+ cp -a $(CDIST_LOCALE_PREFIX)/pl/LC_MESSAGES/wxstd.mo debian/dcpomatic/usr/share/locale/pl/LC_MESSAGES/dcpomatic2-wxstd.mo
+ mkdir -p debian/dcpomatic/usr/share/locale/ru/LC_MESSAGES/
+ cp -a $(CDIST_LOCALE_PREFIX)/ru/LC_MESSAGES/wxstd.mo debian/dcpomatic/usr/share/locale/ru/LC_MESSAGES/dcpomatic2-wxstd.mo
.PHONY: override_dh_strip
override_dh_strip: