[josm-plugins] 260/369: Better handling of translation files (don't use precompiled ones).
Bas Couwenberg
sebastic at xs4all.nl
Sat Oct 18 12:03:49 UTC 2014
This is an automated email from the git hooks/post-receive script.
sebastic-guest pushed a commit to branch master
in repository josm-plugins.
commit 082ef360eeff2df08f6933a5b49642cff43661c5
Author: Giovanni Mascellani <gio at debian.org>
Date: Sat Sep 10 11:06:56 2011 +0200
Better handling of translation files (don't use precompiled ones).
---
debian/rules | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/debian/rules b/debian/rules
index 9d66110..623a2f8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,6 +4,7 @@ export JAVA_HOME=/usr/lib/jvm/default-java
export CLASSPATH=/usr/share/josm/josm.jar:/usr/share/java/metadata-extractor.jar
SVNREPO := http://svn.openstreetmap.org/applications/editors/josm/plugins/
+SVNI18NREPO := http://svn.openstreetmap.org/applications/editors/josm/i18n/
PLUGINS := cadastre-fr colorscheme DirectUpload editgpx lakewalker livegps measurement openvisible routing surveyor
DATE := $(shell date +%Y%m%d)
@@ -40,8 +41,12 @@ get-orig-source:
@for plugin in $(PLUGINS); do \
echo "Fetching $$plugin plugin"; \
svn export -r ${SVNREV} ${SVNREPO}/"$$plugin" ${DESTDIR}/"$$plugin"; \
- done
+ echo "Removing precompiled translation files"; \
+ rm -f ${DESTDIR}/"$$plugin"/data/*.lang; \
+ done
svn info --xml http://svn.openstreetmap.org/applications/editors/josm/plugins/ > ${DESTDIR}/svn-info.xml
+ @echo Fetching internalization data
+ svn export ${SVNI18NREPO} ${DESTDIR}/i18n
@echo Removing jar files
find ${DESTDIR} -name "*.jar" -exec rm -v {} \;
@echo Building snapshot tarball
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/josm-plugins.git
More information about the Pkg-grass-devel
mailing list