Changeset 14189 in osm for applications/editors/josm


Ignore:
Timestamp:
2009-03-21T13:58:03+01:00 (16 years ago)
Author:
ulf
Message:

further unify files, add download/unzip of webkit stuff

Location:
applications/editors/josm/nsis
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/nsis/josm-setup-unix.sh

    r14186 r14189  
    1414
    1515## settings ##
    16 LAUNCH4J="java -jar /usr/share/launch4j/launch4j.jar"
    17 MAKENSIS=makensis
     16
     17if [ -s /cygdrive/c/Programme/Launch4j/launch4jc.exe ]; then
     18        echo Using paths: "C:\Programme\..."
     19        LAUNCH4J="/cygdrive/c/Programme/Launch4j/launch4jc.exe"
     20        MAKENSIS="/cygdrive/c/Programme/nsis/makensis.exe"
     21elif [ -s josm.exe ]; then
     22        echo Using UNIX-like paths
     23        LAUNCH4J="java -jar /usr/share/launch4j/launch4j.jar"
     24        MAKENSIS=makensis
     25fi
     26
    1827
    1928svncorerevision=`svnversion ../core`
     
    2635echo "Creating Windows Installer for josm-$VERSION"
    2736
    28 ##################################################################
    29 ### Build the Complete josm + Plugin Stuff
     37echo
     38echo "##################################################################"
     39echo "### Download and unzip the webkit stuff"
     40wget -nc http://josm.openstreetmap.de/download/windows/webkit-image.zip
     41mkdir -p webkit-image
     42cd webkit-image
     43unzip -o ../webkit-image.zip
     44cd ..
     45
     46echo
     47echo "##################################################################"
     48echo "### Build the Complete josm + Plugin Stuff"
    3049if true; then
    3150    (
  • applications/editors/josm/nsis/josm-setup.sh

    r14186 r14189  
    1414
    1515## settings ##
    16 LAUNCH4J="/cygdrive/c/Programme/Launch4j/launch4jc.exe"
    17 MAKENSIS="/cygdrive/c/Programme/nsis/makensis.exe"
     16
     17if [ -s /cygdrive/c/Programme/Launch4j/launch4jc.exe ]; then
     18        echo Using paths: "C:\Programme\..."
     19        LAUNCH4J="/cygdrive/c/Programme/Launch4j/launch4jc.exe"
     20        MAKENSIS="/cygdrive/c/Programme/nsis/makensis.exe"
     21elif [ -s josm.exe ]; then
     22        echo Using UNIX-like paths
     23        LAUNCH4J="java -jar /usr/share/launch4j/launch4j.jar"
     24        MAKENSIS=makensis
     25fi
     26
    1827
    1928svncorerevision=`svnversion ../core`
     
    2635echo "Creating Windows Installer for josm-$VERSION"
    2736
    28 ##################################################################
    29 ### Build the Complete josm + Plugin Stuff
     37echo
     38echo "##################################################################"
     39echo "### Download and unzip the webkit stuff"
     40wget -nc http://josm.openstreetmap.de/download/windows/webkit-image.zip
     41mkdir -p webkit-image
     42cd webkit-image
     43unzip -o ../webkit-image.zip
     44cd ..
     45
     46echo
     47echo "##################################################################"
     48echo "### Build the Complete josm + Plugin Stuff"
    3049if true; then
    3150    (
  • applications/editors/josm/nsis/josm.nsi

    r14073 r14189  
    361361SetOutPath $APPDATA\JOSM\plugins
    362362File "..\dist\wmsplugin.jar"
     363SetOutPath $INSTDIR\webkit-image\imageformats
     364File "webkit-image\imageformats\qjpeg4.dll"
     365SetOutPath $INSTDIR\webkit-image
     366File "webkit-image\mingwm10.dll"
     367File "webkit-image\QtCore4.dll"
     368File "webkit-image\QtGui4.dll"
     369File "webkit-image\QtNetwork4.dll"
     370File "webkit-image\QtWebKit4.dll"
     371File "webkit-image\webkit-image.exe"
    363372SectionEnd
    364373
Note: See TracChangeset for help on using the changeset viewer.