The following commit has been merged in the master branch:
commit 082ef360eeff2df08f6933a5b49642cff43661c5
Author: Giovanni Mascellani <g...@debian.org>
Date:   Sat Sep 10 11:06:56 2011 +0200

    Better handling of translation files (don't use precompiled ones).

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                                         
                                                                                
        

-- 
Plugins for JOSM

_______________________________________________
Pkg-osm-commits mailing list
Pkg-osm-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-osm-commits

Reply via email to