(
output Patching libtool...
patch config/ltmain.sh config/ltmain.patch
-) ||
+) || true
+
+false &&
{
# Something went wrong...
set +x
--- /dev/null
+; The stuff to install
+Section "lyr_freetype" Sec_lyr_freetype
+
+; SectionIn RO
+
+ ; Set output path to the installation directory.
+ SetOutPath "$INSTDIR\lib\sinfg\modules"
+
+ ; Put file there
+ File /oname=lyr_freetype.dll "src\modules\lyr_freetype\.libs\liblyr_freetype-0.dll"
+
+
+ FileOpen $0 $INSTDIR\etc\synfig_modules.cfg a
+ FileSeek $0 0 END
+ FileWrite $0 "lyr_freetype"
+ FileWriteByte $0 "13"
+ FileWriteByte $0 "10"
+ FileClose $0
+
+SectionEnd
+
--- /dev/null
+Section "un.lyr_freetype"
+ Delete "$INSTDIR\lib\sinfg\modules\lyr_freetype.dll"
+ RMDir "$INSTDIR"
+SectionEnd
+
--- /dev/null
+Section "un.lyr_std"
+ Delete "$INSTDIR\lib\sinfg\modules\lyr_std.dll"
+ RMDir "$INSTDIR"
+SectionEnd
+
--- /dev/null
+; The stuff to install
+Section "mod_bmp" Sec_mod_bmp
+
+; SectionIn RO
+
+ ; Set output path to the installation directory.
+ SetOutPath "$INSTDIR\lib\sinfg\modules"
+
+ ; Put file there
+ File /oname=mod_bmp.dll "src\modules\mod_bmp\.libs\libmod_bmp-0.dll"
+
+
+ FileOpen $0 $INSTDIR\etc\synfig_modules.cfg a
+ FileSeek $0 0 END
+ FileWrite $0 "mod_bmp"
+ FileWriteByte $0 "13"
+ FileWriteByte $0 "10"
+ FileClose $0
+
+SectionEnd
+
--- /dev/null
+Section "un.mod_bmp"
+ Delete "$INSTDIR\lib\sinfg\modules\mod_bmp.dll"
+ RMDir "$INSTDIR"
+SectionEnd
+
--- /dev/null
+; The stuff to install
+Section "mod_dv" Sec_mod_dv
+
+; SectionIn RO
+
+ ; Set output path to the installation directory.
+ SetOutPath "$INSTDIR\lib\sinfg\modules"
+
+ ; Put file there
+ File /oname=mod_dv.dll "src\modules\mod_dv\.libs\libmod_dv-0.dll"
+
+
+ FileOpen $0 $INSTDIR\etc\synfig_modules.cfg a
+ FileSeek $0 0 END
+ FileWrite $0 "mod_dv"
+ FileWriteByte $0 "13"
+ FileWriteByte $0 "10"
+ FileClose $0
+
+SectionEnd
+
--- /dev/null
+Section "un.mod_dv"
+ Delete "$INSTDIR\lib\sinfg\modules\mod_dv.dll"
+ RMDir "$INSTDIR"
+SectionEnd
+
--- /dev/null
+; The stuff to install
+Section "mod_ffmpeg" Sec_mod_ffmpeg
+
+; SectionIn RO
+
+ ; Set output path to the installation directory.
+ SetOutPath "$INSTDIR\lib\sinfg\modules"
+
+ ; Put file there
+ File /oname=mod_ffmpeg.dll "src\modules\mod_ffmpeg\.libs\libmod_ffmpeg-0.dll"
+
+
+ FileOpen $0 $INSTDIR\etc\synfig_modules.cfg a
+ FileSeek $0 0 END
+ FileWrite $0 "mod_ffmpeg"
+ FileWriteByte $0 "13"
+ FileWriteByte $0 "10"
+ FileClose $0
+
+SectionEnd
+
--- /dev/null
+Section "un.mod_ffmpeg"
+ Delete "$INSTDIR\lib\sinfg\modules\mod_ffmpeg.dll"
+ RMDir "$INSTDIR"
+SectionEnd
+
--- /dev/null
+; The stuff to install
+Section "mod_filter" Sec_mod_filter
+
+; SectionIn RO
+
+ ; Set output path to the installation directory.
+ SetOutPath "$INSTDIR\lib\sinfg\modules"
+
+ ; Put file there
+ File /oname=mod_filter.dll "src\modules\mod_filter\.libs\libmod_filter-0.dll"
+
+
+ FileOpen $0 $INSTDIR\etc\synfig_modules.cfg a
+ FileSeek $0 0 END
+ FileWrite $0 "mod_filter"
+ FileWriteByte $0 "13"
+ FileWriteByte $0 "10"
+ FileClose $0
+
+SectionEnd
+
--- /dev/null
+Section "un.mod_filter"
+ Delete "$INSTDIR\lib\sinfg\modules\mod_filter.dll"
+ RMDir "$INSTDIR"
+SectionEnd
+
--- /dev/null
+; The stuff to install
+Section "mod_geometry" Sec_mod_geometry
+
+; SectionIn RO
+
+ ; Set output path to the installation directory.
+ SetOutPath "$INSTDIR\lib\sinfg\modules"
+
+ ; Put file there
+ File /oname=mod_geometry.dll "src\modules\mod_geometry\.libs\libmod_geometry-0.dll"
+
+
+ FileOpen $0 $INSTDIR\etc\synfig_modules.cfg a
+ FileSeek $0 0 END
+ FileWrite $0 "mod_geometry"
+ FileWriteByte $0 "13"
+ FileWriteByte $0 "10"
+ FileClose $0
+
+SectionEnd
+
--- /dev/null
+Section "un.mod_geometry"
+ Delete "$INSTDIR\lib\sinfg\modules\mod_geometry.dll"
+ RMDir "$INSTDIR"
+SectionEnd
+
--- /dev/null
+; The stuff to install
+Section "mod_gif" Sec_mod_gif
+
+; SectionIn RO
+
+ ; Set output path to the installation directory.
+ SetOutPath "$INSTDIR\lib\sinfg\modules"
+
+ ; Put file there
+ File /oname=mod_gif.dll "src\modules\mod_gif\.libs\libmod_gif-0.dll"
+
+
+ FileOpen $0 $INSTDIR\etc\synfig_modules.cfg a
+ FileSeek $0 0 END
+ FileWrite $0 "mod_gif"
+ FileWriteByte $0 "13"
+ FileWriteByte $0 "10"
+ FileClose $0
+
+SectionEnd
+
--- /dev/null
+Section "un.mod_gif"
+ Delete "$INSTDIR\lib\sinfg\modules\mod_gif.dll"
+ RMDir "$INSTDIR"
+SectionEnd
+
--- /dev/null
+; The stuff to install
+Section "mod_gradient" Sec_mod_gradient
+
+; SectionIn RO
+
+ ; Set output path to the installation directory.
+ SetOutPath "$INSTDIR\lib\sinfg\modules"
+
+ ; Put file there
+ File /oname=mod_gradient.dll "src\modules\mod_gradient\.libs\libmod_gradient-0.dll"
+
+
+ FileOpen $0 $INSTDIR\etc\synfig_modules.cfg a
+ FileSeek $0 0 END
+ FileWrite $0 "mod_gradient"
+ FileWriteByte $0 "13"
+ FileWriteByte $0 "10"
+ FileClose $0
+
+SectionEnd
+
--- /dev/null
+Section "un.mod_gradient"
+ Delete "$INSTDIR\lib\sinfg\modules\mod_gradient.dll"
+ RMDir "$INSTDIR"
+SectionEnd
+
--- /dev/null
+; The stuff to install
+Section "mod_imagemagick" Sec_mod_imagemagick
+
+; SectionIn RO
+
+ ; Set output path to the installation directory.
+ SetOutPath "$INSTDIR\lib\sinfg\modules"
+
+ ; Put file there
+ File /oname=mod_imagemagick.dll "src\modules\mod_imagemagick\.libs\libmod_imagemagick-0.dll"
+
+
+ FileOpen $0 $INSTDIR\etc\synfig_modules.cfg a
+ FileSeek $0 0 END
+ FileWrite $0 "mod_imagemagick"
+ FileWriteByte $0 "13"
+ FileWriteByte $0 "10"
+ FileClose $0
+
+SectionEnd
+
--- /dev/null
+Section "un.mod_imagemagick"
+ Delete "$INSTDIR\lib\sinfg\modules\mod_imagemagick.dll"
+ RMDir "$INSTDIR"
+SectionEnd
+
--- /dev/null
+; The stuff to install
+Section "mod_jpeg" Sec_mod_jpeg
+
+; SectionIn RO
+
+ ; Set output path to the installation directory.
+ SetOutPath "$INSTDIR\lib\sinfg\modules"
+
+ ; Put file there
+ File /oname=mod_jpeg.dll "src\modules\mod_jpeg\.libs\libmod_jpeg-0.dll"
+
+
+ FileOpen $0 $INSTDIR\etc\synfig_modules.cfg a
+ FileSeek $0 0 END
+ FileWrite $0 "mod_jpeg"
+ FileWriteByte $0 "13"
+ FileWriteByte $0 "10"
+ FileClose $0
+
+SectionEnd
+
--- /dev/null
+Section "un.mod_jpeg"
+ Delete "$INSTDIR\lib\sinfg\modules\mod_jpeg.dll"
+ RMDir "$INSTDIR"
+SectionEnd
+
--- /dev/null
+; The stuff to install
+Section "mod_libavcodec" Sec_mod_libavcodec
+
+; SectionIn RO
+
+ ; Set output path to the installation directory.
+ SetOutPath "$INSTDIR\lib\sinfg\modules"
+
+ ; Put file there
+ File /oname=mod_libavcodec.dll "src\modules\mod_libavcodec\.libs\libmod_libavcodec-0.dll"
+
+
+ FileOpen $0 $INSTDIR\etc\synfig_modules.cfg a
+ FileSeek $0 0 END
+ FileWrite $0 "mod_libavcodec"
+ FileWriteByte $0 "13"
+ FileWriteByte $0 "10"
+ FileClose $0
+
+SectionEnd
+
--- /dev/null
+Section "un.mod_libavcodec"
+ Delete "$INSTDIR\lib\sinfg\modules\mod_libavcodec.dll"
+ RMDir "$INSTDIR"
+SectionEnd
+
--- /dev/null
+; The stuff to install
+Section "mod_noise" Sec_mod_noise
+
+; SectionIn RO
+
+ ; Set output path to the installation directory.
+ SetOutPath "$INSTDIR\lib\sinfg\modules"
+
+ ; Put file there
+ File /oname=mod_noise.dll "src\modules\mod_noise\.libs\libmod_noise-0.dll"
+
+
+ FileOpen $0 $INSTDIR\etc\synfig_modules.cfg a
+ FileSeek $0 0 END
+ FileWrite $0 "mod_noise"
+ FileWriteByte $0 "13"
+ FileWriteByte $0 "10"
+ FileClose $0
+
+SectionEnd
+
--- /dev/null
+Section "un.mod_noise"
+ Delete "$INSTDIR\lib\sinfg\modules\mod_noise.dll"
+ RMDir "$INSTDIR"
+SectionEnd
+
--- /dev/null
+; The stuff to install
+Section "mod_openexr" Sec_mod_openexr
+
+; SectionIn RO
+
+ ; Set output path to the installation directory.
+ SetOutPath "$INSTDIR\lib\sinfg\modules"
+
+ ; Put file there
+ File /oname=mod_openexr.dll "src\modules\mod_openexr\.libs\libmod_openexr-0.dll"
+
+
+ FileOpen $0 $INSTDIR\etc\synfig_modules.cfg a
+ FileSeek $0 0 END
+ FileWrite $0 "mod_openexr"
+ FileWriteByte $0 "13"
+ FileWriteByte $0 "10"
+ FileClose $0
+
+SectionEnd
+
--- /dev/null
+Section "un.mod_openexr"
+ Delete "$INSTDIR\lib\sinfg\modules\mod_openexr.dll"
+ RMDir "$INSTDIR"
+SectionEnd
+
--- /dev/null
+; The stuff to install
+Section "mod_particle" Sec_mod_particle
+
+; SectionIn RO
+
+ ; Set output path to the installation directory.
+ SetOutPath "$INSTDIR\lib\sinfg\modules"
+
+ ; Put file there
+ File /oname=mod_particle.dll "src\modules\mod_particle\.libs\libmod_particle-0.dll"
+
+
+ FileOpen $0 $INSTDIR\etc\synfig_modules.cfg a
+ FileSeek $0 0 END
+ FileWrite $0 "mod_particle"
+ FileWriteByte $0 "13"
+ FileWriteByte $0 "10"
+ FileClose $0
+
+SectionEnd
+
--- /dev/null
+Section "un.mod_particle"
+ Delete "$INSTDIR\lib\sinfg\modules\mod_particle.dll"
+ RMDir "$INSTDIR"
+SectionEnd
+
--- /dev/null
+; The stuff to install
+Section "mod_png" Sec_mod_png
+
+; SectionIn RO
+
+ ; Set output path to the installation directory.
+ SetOutPath "$INSTDIR\lib\sinfg\modules"
+
+ ; Put file there
+ File /oname=mod_png.dll "src\modules\mod_png\.libs\libmod_png-0.dll"
+
+
+ FileOpen $0 $INSTDIR\etc\synfig_modules.cfg a
+ FileSeek $0 0 END
+ FileWrite $0 "mod_png"
+ FileWriteByte $0 "13"
+ FileWriteByte $0 "10"
+ FileClose $0
+
+SectionEnd
+
--- /dev/null
+Section "un.mod_png"
+ Delete "$INSTDIR\lib\sinfg\modules\mod_png.dll"
+ RMDir "$INSTDIR"
+SectionEnd
+
--- /dev/null
+; The stuff to install
+Section "mod_ppm" Sec_mod_ppm
+
+; SectionIn RO
+
+ ; Set output path to the installation directory.
+ SetOutPath "$INSTDIR\lib\sinfg\modules"
+
+ ; Put file there
+ File /oname=mod_ppm.dll "src\modules\mod_ppm\.libs\libmod_ppm-0.dll"
+
+
+ FileOpen $0 $INSTDIR\etc\synfig_modules.cfg a
+ FileSeek $0 0 END
+ FileWrite $0 "mod_ppm"
+ FileWriteByte $0 "13"
+ FileWriteByte $0 "10"
+ FileClose $0
+
+SectionEnd
+
--- /dev/null
+Section "un.mod_ppm"
+ Delete "$INSTDIR\lib\sinfg\modules\mod_ppm.dll"
+ RMDir "$INSTDIR"
+SectionEnd
+
--- /dev/null
+; The stuff to install
+Section "mod_yuv420p" Sec_mod_yuv420p
+
+; SectionIn RO
+
+ ; Set output path to the installation directory.
+ SetOutPath "$INSTDIR\lib\sinfg\modules"
+
+ ; Put file there
+ File /oname=mod_yuv420p.dll "src\modules\mod_yuv420p\.libs\libmod_yuv420p-0.dll"
+
+
+ FileOpen $0 $INSTDIR\etc\synfig_modules.cfg a
+ FileSeek $0 0 END
+ FileWrite $0 "mod_yuv420p"
+ FileWriteByte $0 "13"
+ FileWriteByte $0 "10"
+ FileClose $0
+
+SectionEnd
+
--- /dev/null
+Section "un.mod_yuv420p"
+ Delete "$INSTDIR\lib\sinfg\modules\mod_yuv420p.dll"
+ RMDir "$INSTDIR"
+SectionEnd
+
--- /dev/null
+; The stuff to install
+Section "@MODNAME@" Sec_@MODNAME@
+
+; SectionIn RO
+
+ ; Set output path to the installation directory.
+ SetOutPath "$INSTDIR\lib\sinfg\modules"
+
+ ; Put file there
+ File /oname=@MODNAME@.dll "src\modules\@MODNAME@\.libs\lib@MODNAME@-0.dll"
+
+
+ FileOpen $0 $INSTDIR\etc\synfig_modules.cfg a
+ FileSeek $0 0 END
+ FileWrite $0 "@MODNAME@"
+ FileWriteByte $0 "13"
+ FileWriteByte $0 "10"
+ FileClose $0
+
+SectionEnd
+
--- /dev/null
+Section "un.@MODNAME@"
+ Delete "$INSTDIR\lib\sinfg\modules\@MODNAME@.dll"
+ RMDir "$INSTDIR"
+SectionEnd
+
-; The stuff to install\r
-Section "Synfig Core"\r
-\r
- SectionIn RO\r
- \r
- ; Set output path to the installation directory.\r
- SetOutPath "$INSTDIR\bin"\r
- \r
- ; Put file there\r
- File "src\synfig\.libs\libsynfig-0.dll"\r
-\r
-SectionEnd\r
-\r
-Section "un.Synfig Core"\r
- Delete "$INSTDIR\bin\libsynfig-0.dll"\r
- RMDir "$INSTDIR"\r
-SectionEnd\r
-\r
-\r
+; The stuff to install
+Section "Synfig Core"
+
+ SectionIn RO
+
+ ; Set output path to the installation directory.
+ SetOutPath "$INSTDIR\bin"
+
+ ; Put file there
+ File "src\synfig\.libs\libsynfig-0.dll"
+
+SectionEnd
+
+Section "un.Synfig Core"
+ Delete "$INSTDIR\bin\libsynfig-0.dll"
+ RMDir "$INSTDIR"
+SectionEnd
+
+
-; The stuff to install\r
-Section "Synfig Tool"\r
-\r
-; SectionIn RO\r
- \r
- ; Set output path to the installation directory.\r
- SetOutPath "$INSTDIR\bin"\r
- \r
- ; Put file there\r
- File "src\tool\.libs\synfig.exe"\r
-\r
-SectionEnd\r
-\r
-Section "un.Synfig Tool Uninstall"\r
- Delete "$INSTDIR\bin\synfig.exe"\r
- RMDir "$INSTDIR"\r
-SectionEnd\r
-\r
-\r
+; The stuff to install
+Section "Synfig Tool"
+
+; SectionIn RO
+
+ ; Set output path to the installation directory.
+ SetOutPath "$INSTDIR\bin"
+
+ ; Put file there
+ File "src\tool\.libs\synfig.exe"
+
+SectionEnd
+
+Section "un.Synfig Tool Uninstall"
+ Delete "$INSTDIR\bin\synfig.exe"
+ RMDir "$INSTDIR"
+SectionEnd
+
+
Name: synfig
Description: Synfig Core
Requires: @CONFIG_DEPS@
-Version: 0.61.00-20
+Version: 0.61.00-27
Libs: -L${libdir} @CONFIG_LIBS@
Cflags: @CONFIG_CFLAGS@ -I@synfigincludedir@
#OPTIONS="--disable-optimization --enable-debug"
-OPTIONS="--enable-optimization=1 --disable-debug --enable-timelimit=120"
+OPTIONS="--enable-optimization=1 --disable-debug"
+OPTIONS="$OPTIONS --enable-timelimit=120"
+
+[ -e configure ] || ./bootstrap || exit 0
[ -d win32build ] && rm -fr win32build
cd win32build
-../configure --host=mingw32 --prefix=C:/PROGRA~1/Synfig $OPTIONS
+../configure --host=mingw32 --prefix=C:/PROGRA~1/Synfig $OPTIONS || exit 0
-make installer
+make package
; The name of the installer
Name "@PACKAGE_NAME@ @PACKAGE_VERSION@"
-!define PRODUCT_WEB_SITE "http://deepdarc.dnsalias.net/~darco/"
+!define PRODUCT_WEB_SITE "http://voria.com/synfig/"
; The file to write
OutFile "@PACKAGE_TARNAME@-@PACKAGE_VERSION@.exe"