Patch to allow Windows Builds with Open EXR 1.6.1
authorpxegeek <pxegeek@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Sun, 14 Sep 2008 04:46:31 +0000 (04:46 +0000)
committerpxegeek <pxegeek@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Sun, 14 Sep 2008 04:46:31 +0000 (04:46 +0000)
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2055 1f10aa63-cdf2-0310-b900-c93c546f37ac

synfig-core/trunk/Makefile.am
synfig-core/trunk/src/modules/mod_openexr/mod_openexr.nsh
synfig-core/trunk/src/modules/mod_openexr/unmod_openexr.nsh

index 6b1bbf8..890c0d3 100644 (file)
@@ -95,10 +95,10 @@ RMDIR=rm -fr
 
 if WIN32_PKG   
 package: all win32inst.nsi
-       cp -fu `which libHalf-4.dll` src/modules/mod_openexr/.libs/
-       cp -fu `which libIlmImf-4.dll` src/modules/mod_openexr/.libs/
-       cp -fu `which libIlmThread-4.dll` src/modules/mod_openexr/.libs/
-       cp -fu `which libIex-4.dll` src/modules/mod_openexr/.libs/
+       cp -fu `which libHalf-6.dll` src/modules/mod_openexr/.libs/
+       cp -fu `which libIlmImf-6.dll` src/modules/mod_openexr/.libs/
+       cp -fu `which libIlmThread-6.dll` src/modules/mod_openexr/.libs/
+       cp -fu `which libIex-6.dll` src/modules/mod_openexr/.libs/
        makensis win32inst.nsi
 else
 if MACOSX_PKG
index b11034b..512f643 100644 (file)
@@ -10,10 +10,10 @@ Section "mod_openexr" Sec_mod_openexr
   File /oname=mod_openexr.dll "src\modules\mod_openexr\.libs\libmod_openexr.dll"
 
   SetOutPath "$INSTDIR\bin"
-  File /oname=libHalf-4.dll "src\modules\mod_openexr\.libs\libHalf-4.dll"
-  File /oname=libIlmImf-4.dll "src\modules\mod_openexr\.libs\libIlmImf-4.dll"
-  File /oname=libIlmThread-4.dll "src\modules\mod_openexr\.libs\libIlmThread-4.dll"
-  File /oname=libIex-4.dll "src\modules\mod_openexr\.libs\libIex-4.dll"
+  File "src\modules\mod_openexr\.libs\libHalf*.dll"
+  File "src\modules\mod_openexr\.libs\libIlmImf*.dll"
+  File "src\modules\mod_openexr\.libs\libIlmThread*.dll"
+  File "src\modules\mod_openexr\.libs\libIex*.dll"
 
   FileOpen $0 $INSTDIR\etc\synfig_modules.cfg a
   FileSeek $0 0 END
index 18db45a..e4b15de 100644 (file)
@@ -1,8 +1,8 @@
 Section "un.mod_openexr"
-       Delete "$INSTDIR\bin\libIex-4.dll"
-       Delete "$INSTDIR\bin\libIlmImf-4.dll"
-       Delete "$INSTDIR\bin\libIlmThread-4.dll"
-       Delete "$INSTDIR\bin\libHalf-4.dll"
+       Delete "$INSTDIR\bin\libIex*.dll"
+       Delete "$INSTDIR\bin\libIlmImf*.dll"
+       Delete "$INSTDIR\bin\libIlmThread*.dll"
+       Delete "$INSTDIR\bin\libHalf*.dll"
        Delete "$INSTDIR\lib\synfig\modules\mod_openexr.dll"
        RMDir "$INSTDIR\lib\synfig\modules"
        RMDir "$INSTDIR\lib\synfig"