Changeset 15969 in osm for applications/editors/josm
- Timestamp:
- 2009-06-17T18:34:35+02:00 (15 years ago)
- Location:
- applications/editors/josm/debian
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/debian/control
r13318 r15969 7 7 libqt4-core 8 8 Build-Depends-Indep: sun-java6-jdk|openjdk-6-jdk, 9 ant, 9 ant, zip, 10 10 qt4-dev-tools 11 11 Standards-Version: 3.6.1 -
applications/editors/josm/debian/files
r6101 r15969 1 openstreetmap-josm_4926078_all.deb utils optional 1 openstreetmap-josm_14790_all.deb utils optional 2 openstreetmap-josm_14790_all.deb utils optional 3 openstreetmap-josm_14790_all.deb utils optional 4 openstreetmap-josm_14790_all.deb utils optional 5 openstreetmap-josm_14790_all.deb utils optional -
applications/editors/josm/debian/make_install_files.sh
r13391 r15969 12 12 do_update_plugins=true 13 13 do_remove_jar=true 14 do_cleanup=true 14 15 15 16 for arg in "$@" ; do 16 17 case $arg in 17 18 --dest-path=*) # Destination path to install the final *.jar Files 18 dst_path=${arg#*=}19 ;;19 dst_path=${arg#*=} 20 ;; 20 21 21 22 --no-update-icons) # Do not update icons … … 38 39 do_remove_jar=false 39 40 ;; 40 41 42 --no-clean) # no cleanup before build 43 do_cleanup=false 44 ;; 45 41 46 *) 42 47 echo "" … … 125 130 # Remove Old Jar Files in dist/*.jar 126 131 127 $do_remove_jar && rm -f dist/*.jar 128 $do_remove_jar && rm -f plugins/*/dist/*.jar 132 $do_cleanup && { 133 $do_remove_jar && rm -f dist/*.jar 134 $do_remove_jar && rm -f plugins/*/dist/*.jar 135 } 129 136 130 137 # ------------------------------------------------------------------ … … 133 140 echo "------------- Compile Josm" 134 141 cd core 135 ant -q clean 2>build.err142 $do_cleanup && ant -q clean 2>build.err 136 143 ant -q dist >>build.log 2>>build.err 137 144 rc=$? … … 148 155 echo "------------- Compile Josm Plugin webkit-image for wmsplugin" 149 156 cd plugins/wmsplugin 150 make clean157 $do_cleanup && make clean 151 158 make 152 159 cd ../.. … … 165 172 cd $dir 166 173 echo -n -e "----- $dir\r" 167 $do_remove_jar && rm -f dist/*.jar 168 $do_remove_jar && rm -f ../../dist/$dir.jar 169 rm -f *.log 170 echo "ant clean" >build.log 171 echo "ant clean" >build.err 172 ant -q clean >>build.log 2>>build.err 174 $do_cleanup && { 175 $do_remove_jar && rm -f dist/*.jar 176 $do_remove_jar && rm -f ../../dist/$dir.jar 177 rm -f *.log 178 echo "ant clean" >build.log 179 echo "ant clean" >build.err 180 ant -q clean >>build.log 2>>build.err 181 } 173 182 echo "ant dist" >>build.log 174 183 echo "ant dist" >>build.err … … 213 222 echo "------------- Compile Josm-ng" 214 223 cd ../josm-ng 215 ant -q clean224 $do_cleanup && ant -q clean 216 225 ant -q josm-ng-impl.jar >>build.log 2>>build.err 217 226 rc=$? … … 263 272 # Copy words.cfg for spelling 264 273 mkdir -p "$jar_path/speller" 265 cp ../../utils/planet.osm/java/speller/words.cfg "$jar_path/speller/" 266 267 # ------------------------------------------------------------------ 268 cp "debian/bin/josm.sh" "$bin_path/josm" || exit -1 274 cp ../../utils/planet.osm/java/speller/words.cfg "$jar_path/speller/" || { 275 echo "!!!!!!!!!! words.cfg is missing" 276 exit -1 277 } 278 279 280 # ------------------------------------------------------------------ 281 cp "debian/bin/josm.sh" "$bin_path/josm" || { 282 echo "!!!!!!!!!! josm.sh is missing" 283 exit -1 284 } 285 269 286 cp "debian/bin/josm-ng.sh" "$bin_path/josm-ng" || { 270 287 echo "!!!!!!!!!!!!!!!!! WARNING Josm-NG is not included into the package" … … 273 290 274 291 # add plugins to default preferences 275 sed "s/PLUGIN_LIST/$plugins/;" <debian/bin/preferences >"$jar_path/preferences" 292 sed "s/PLUGIN_LIST/$plugins/;" <debian/bin/preferences >"$jar_path/preferences" || { 293 echo "!!!!!!!! WARNING cannot create preferences" 294 exit -1 295 } 296 276 297 277 298 # Copy default Bookmarks 278 299 cp nsis/bookmarks "$jar_path/bookmarks" 300 301 exit 0 -
applications/editors/josm/debian/rules
r12639 r15969 12 12 13 13 build: build-stamp 14 build-stamp: clean14 build-stamp: 15 15 dh_testdir 16 16 … … 29 29 # Add here commands to clean up after the build process. 30 30 -$(MAKE) distclean 31 31 for dir in `ls plugins/*/build.xml | sed s,/build.xml,,`; do \ 32 echo "-------- Cleanup Plugin '$$dir'"; \ 33 cd $$dir; \ 34 rm -f dist/*.jar; \ 35 rm -f ../../dist/$dir.jar; \ 36 rm -f *.log; \ 37 ant -q clean; \ 38 cd ../..; \ 39 done 40 cd core; ant -q clean 32 41 dh_clean 33 42 … … 35 44 dh_testdir 36 45 dh_testroot 37 dh_clean -k38 46 dh_installdirs 39 47 40 48 # ./debian/update_svn_revision.sh 41 ./debian/make_install_files.sh --dest-path=${destdir}|| exit -142 49 bash ./debian/make_install_files.sh --dest-path=${destdir} --no-clean || exit -1 50 # Install done 43 51 44 52 # Build architecture-independent files here.
Note:
See TracChangeset
for help on using the changeset viewer.