[Spice-devel] [PATCH 2/3] nsis: drop gst-0.10 in favour of gst-1.0
Fabiano FidĂȘncio
fidencio at redhat.com
Mon Jan 5 16:54:24 PST 2015
Based on Victor Toso's patch for virt-viewer:
https://git.fedorahosted.org/cgit/virt-viewer.git/commit/?id=3bbf1ded1cb01429d600b11035d5fb0d60bfe20b
---
data/spicy.nsis.in | 117 ++++++++++++++++++++++++-----------------------------
1 file changed, 53 insertions(+), 64 deletions(-)
diff --git a/data/spicy.nsis.in b/data/spicy.nsis.in
index 4a01a31..b7c6335 100644
--- a/data/spicy.nsis.in
+++ b/data/spicy.nsis.in
@@ -38,18 +38,6 @@ Section "spicy"
SectionIn RO
SetOutPath "$INSTDIR\bin"
- File "/usr/i686-w64-mingw32/sys-root/mingw/bin/gst-discoverer-0.10.exe"
- File "/usr/i686-w64-mingw32/sys-root/mingw/bin/gst-feedback.exe"
- File "/usr/i686-w64-mingw32/sys-root/mingw/bin/gst-inspect-0.10.exe"
- File "/usr/i686-w64-mingw32/sys-root/mingw/bin/gst-inspect.exe"
- File "/usr/i686-w64-mingw32/sys-root/mingw/bin/gst-launch-0.10.exe"
- File "/usr/i686-w64-mingw32/sys-root/mingw/bin/gst-launch.exe"
- File "/usr/i686-w64-mingw32/sys-root/mingw/bin/gst-typefind-0.10.exe"
- File "/usr/i686-w64-mingw32/sys-root/mingw/bin/gst-typefind.exe"
- File "/usr/i686-w64-mingw32/sys-root/mingw/bin/gst-xmlinspect-0.10.exe"
- File "/usr/i686-w64-mingw32/sys-root/mingw/bin/gst-xmlinspect.exe"
- File "/usr/i686-w64-mingw32/sys-root/mingw/bin/gst-xmllaunch-0.10.exe"
- File "/usr/i686-w64-mingw32/sys-root/mingw/bin/gst-xmllaunch.exe"
File "/usr/i686-w64-mingw32/sys-root/mingw/bin/libatk-1.0-0.dll"
File "/usr/i686-w64-mingw32/sys-root/mingw/bin/libcairo-2.dll"
File "/usr/i686-w64-mingw32/sys-root/mingw/bin/libcelt051-0.dll"
@@ -66,15 +54,6 @@ Section "spicy"
File "/usr/i686-w64-mingw32/sys-root/mingw/bin/libglib-2.0-0.dll"
File "/usr/i686-w64-mingw32/sys-root/mingw/bin/libgmodule-2.0-0.dll"
File "/usr/i686-w64-mingw32/sys-root/mingw/bin/libgobject-2.0-0.dll"
- File "/usr/i686-w64-mingw32/sys-root/mingw/bin/libgstapp-0.10-0.dll"
- File "/usr/i686-w64-mingw32/sys-root/mingw/bin/libgstaudio-0.10-0.dll"
- File "/usr/i686-w64-mingw32/sys-root/mingw/bin/libgstbase-0.10-0.dll"
- File "/usr/i686-w64-mingw32/sys-root/mingw/bin/libgstcontroller-0.10-0.dll"
- File "/usr/i686-w64-mingw32/sys-root/mingw/bin/libgstfft-0.10-0.dll"
- File "/usr/i686-w64-mingw32/sys-root/mingw/bin/libgstinterfaces-0.10-0.dll"
- File "/usr/i686-w64-mingw32/sys-root/mingw/bin/libgstpbutils-0.10-0.dll"
- File "/usr/i686-w64-mingw32/sys-root/mingw/bin/libgstreamer-0.10-0.dll"
- File "/usr/i686-w64-mingw32/sys-root/mingw/bin/libgstvideo-0.10-0.dll"
File "/usr/i686-w64-mingw32/sys-root/mingw/bin/libgthread-2.0-0.dll"
File "/usr/i686-w64-mingw32/sys-root/mingw/bin/libgtk-win32-2.0-0.dll"
File "/usr/i686-w64-mingw32/sys-root/mingw/bin/iconv.dll"
@@ -96,6 +75,19 @@ Section "spicy"
File "/usr/i686-w64-mingw32/sys-root/mingw/bin/snappy.exe"
File "/usr/i686-w64-mingw32/sys-root/mingw/bin/spicy.exe"
File "/usr/i686-w64-mingw32/sys-root/mingw/bin/zlib1.dll"
+ # gstreamer1
+ File "/usr/i686-w64-mingw32/sys-root/mingw/bin/gst-inspect-1.0.exe"
+ File "/usr/i686-w64-mingw32/sys-root/mingw/bin/gst-launch-1.0.exe"
+ File "/usr/i686-w64-mingw32/sys-root/mingw/bin/gst-typefind-1.0.exe"
+ File "/usr/i686-w64-mingw32/sys-root/mingw/bin/libgstbase-1.0-0.dll"
+ File "/usr/i686-w64-mingw32/sys-root/mingw/bin/libgstcontroller-1.0-0.dll"
+ File "/usr/i686-w64-mingw32/sys-root/mingw/bin/libgstreamer-1.0-0.dll"
+ # gstreamer1-plugins-base
+ File "/usr/i686-w64-mingw32/sys-root/mingw/bin/libgstapp-1.0-0.dll"
+ File "/usr/i686-w64-mingw32/sys-root/mingw/bin/libgstaudio-1.0-0.dll"
+ File "/usr/i686-w64-mingw32/sys-root/mingw/bin/libgstfft-1.0-0.dll"
+ File "/usr/i686-w64-mingw32/sys-root/mingw/bin/libgstpbutils-1.0-0.dll"
+ File "/usr/i686-w64-mingw32/sys-root/mingw/bin/libgsttag-1.0-0.dll"
SetOutPath "$INSTDIR\etc"
File /r "/usr/i686-w64-mingw32/sys-root/mingw/etc/fonts"
@@ -110,17 +102,19 @@ Section "spicy"
File /r "/usr/i686-w64-mingw32/sys-root/mingw/lib/gtk-2.0"
File /r "/usr/i686-w64-mingw32/sys-root/mingw/lib/pango"
- SetOutPath "$INSTDIR\lib\gstreamer-0.10"
- File "/usr/i686-w64-mingw32/sys-root/mingw/lib/gstreamer-0.10/libgstapp.dll"
- File "/usr/i686-w64-mingw32/sys-root/mingw/lib/gstreamer-0.10/libgstaudioconvert.dll"
- File "/usr/i686-w64-mingw32/sys-root/mingw/lib/gstreamer-0.10/libgstaudiofx.dll"
- File "/usr/i686-w64-mingw32/sys-root/mingw/lib/gstreamer-0.10/libgstaudiorate.dll"
- File "/usr/i686-w64-mingw32/sys-root/mingw/lib/gstreamer-0.10/libgstaudioresample.dll"
- File "/usr/i686-w64-mingw32/sys-root/mingw/lib/gstreamer-0.10/libgstaudiotestsrc.dll"
- File "/usr/i686-w64-mingw32/sys-root/mingw/lib/gstreamer-0.10/libgstautodetect.dll"
- File "/usr/i686-w64-mingw32/sys-root/mingw/lib/gstreamer-0.10/libgstcoreelements.dll"
- File "/usr/i686-w64-mingw32/sys-root/mingw/lib/gstreamer-0.10/libgstdirectsoundsink.dll"
- File "/usr/i686-w64-mingw32/sys-root/mingw/lib/gstreamer-0.10/libgstdirectsoundsrc.dll"
+ SetOutPath "$INSTDIR\lib\gstreamer-1.0"
+ # gstreamer1
+ File "/usr/i686-w64-mingw32/sys-root/mingw/lib/gstreamer-1.0/libgstcoreelements.dll"
+ # gstreamer1-plugins-base
+ File "/usr/i686-w64-mingw32/sys-root/mingw/lib/gstreamer-1.0/libgstapp.dll"
+ File "/usr/i686-w64-mingw32/sys-root/mingw/lib/gstreamer-1.0/libgstaudioconvert.dll"
+ File "/usr/i686-w64-mingw32/sys-root/mingw/lib/gstreamer-1.0/libgstaudiorate.dll"
+ File "/usr/i686-w64-mingw32/sys-root/mingw/lib/gstreamer-1.0/libgstaudioresample.dll"
+ # gstreamer1-plugins-good
+ File "/usr/i686-w64-mingw32/sys-root/mingw/lib/gstreamer-1.0/libgstautodetect.dll"
+ File "/usr/i686-w64-mingw32/sys-root/mingw/lib/gstreamer-1.0/libgstdirectsoundsink.dll"
+ # gstreamer1-plugins-bad
+ File "/usr/i686-w64-mingw32/sys-root/mingw/lib/gstreamer-1.0/libgstdirectsoundsrc.dll"
SetOutPath "$INSTDIR\share\themes\MS-Windows\gtk-2.0"
File "/usr/i686-w64-mingw32/sys-root/mingw/share/themes/MS-Windows/gtk-2.0/gtkrc"
@@ -150,17 +144,19 @@ Section "Uninstall"
RMDir /r "$INSTDIR\lib\gtk-2.0"
- Delete /rebootok "$INSTDIR\lib\gstreamer-0.10\libgstdirectsoundsrc.dll"
- Delete /rebootok "$INSTDIR\lib\gstreamer-0.10\libgstdirectsoundsink.dll"
- Delete /rebootok "$INSTDIR\lib\gstreamer-0.10\libgstcoreelements.dll"
- Delete /rebootok "$INSTDIR\lib\gstreamer-0.10\libgstautodetect.dll"
- Delete /rebootok "$INSTDIR\lib\gstreamer-0.10\libgstaudiotestsrc.dll"
- Delete /rebootok "$INSTDIR\lib\gstreamer-0.10\libgstaudioresample.dll"
- Delete /rebootok "$INSTDIR\lib\gstreamer-0.10\libgstaudiorate.dll"
- Delete /rebootok "$INSTDIR\lib\gstreamer-0.10\libgstaudiofx.dll"
- Delete /rebootok "$INSTDIR\lib\gstreamer-0.10\libgstaudioconvert.dll"
- Delete /rebootok "$INSTDIR\lib\gstreamer-0.10\libgstapp.dll"
- RMDir "$INSTDIR\lib\gstreamer-0.10"
+ # gstreamer1
+ Delete /rebootok "$INSTDIR\lib\gstreamer-1.0\libgstcoreelements.dll"
+ # gstreamer1-plugins-base
+ Delete /rebootok "$INSTDIR\lib\gstreamer-1.0\libgstapp.dll"
+ Delete /rebootok "$INSTDIR\lib\gstreamer-1.0\libgstaudioconvert.dll"
+ Delete /rebootok "$INSTDIR\lib\gstreamer-1.0\libgstaudiorate.dll"
+ Delete /rebootok "$INSTDIR\lib\gstreamer-1.0\libgstaudioresample.dll"
+ # gstreamer1-plugins-good
+ Delete /rebootok "$INSTDIR\lib\gstreamer-1.0\libgstautodetect.dll"
+ Delete /rebootok "$INSTDIR\lib\gstreamer-1.0\libgstdirectsoundsink.dll"
+ # gstreamer1-plugins-bad
+ Delete /rebootok "$INSTDIR\lib\gstreamer-1.0\libgstdirectsoundsrc.dll"
+ RMDir "$INSTDIR\lib\gstreamer-1.0"
RMDir /r "$INSTDIR\lib\gdk-pixbuf-2.0"
@@ -176,18 +172,20 @@ Section "Uninstall"
Delete /rebootok "$INSTDIR\bin\libpangoft2-1.0-0.dll"
Delete /rebootok "$INSTDIR\bin\libgdk_pixbuf-2.0-0.dll"
Delete /rebootok "$INSTDIR\bin\libgdk-win32-2.0-0.dll"
- Delete /rebootok "$INSTDIR\bin\gst-xmllaunch.exe"
- Delete /rebootok "$INSTDIR\bin\gst-xmllaunch-0.10.exe"
- Delete /rebootok "$INSTDIR\bin\gst-xmlinspect.exe"
- Delete /rebootok "$INSTDIR\bin\gst-xmlinspect-0.10.exe"
- Delete /rebootok "$INSTDIR\bin\gst-typefind.exe"
- Delete /rebootok "$INSTDIR\bin\gst-typefind-0.10.exe"
- Delete /rebootok "$INSTDIR\bin\gst-launch.exe"
- Delete /rebootok "$INSTDIR\bin\gst-launch-0.10.exe"
- Delete /rebootok "$INSTDIR\bin\gst-inspect.exe"
- Delete /rebootok "$INSTDIR\bin\gst-inspect-0.10.exe"
- Delete /rebootok "$INSTDIR\bin\gst-feedback.exe"
- Delete /rebootok "$INSTDIR\bin\gst-discoverer-0.10.exe"
+ # gstreamer1
+ Delete /rebootok "$INSTDIR\bin\gst-inspect-1.0.exe"
+ Delete /rebootok "$INSTDIR\bin\gst-launch-1.0.exe"
+ Delete /rebootok "$INSTDIR\bin\gst-typefind-1.0.exe"
+ Delete /rebootok "$INSTDIR\bin\libgstbase-1.0-0.dll"
+ Delete /rebootok "$INSTDIR\bin\libgstcontroller-1.0-0.dll"
+ Delete /rebootok "$INSTDIR\bin\libgstreamer-1.0-0.dll"
+ # gstreamer1-plugins-base
+ Delete /rebootok "$INSTDIR\bin\libgstapp-1.0-0.dll"
+ Delete /rebootok "$INSTDIR\bin\libgstaudio-1.0-0.dll"
+ Delete /rebootok "$INSTDIR\bin\libgstfft-1.0-0.dll"
+ Delete /rebootok "$INSTDIR\bin\libgstpbutils-1.0-0.dll"
+ Delete /rebootok "$INSTDIR\bin\libgsttag-1.0-0.dll"
+
RMDir "$INSTDIR\bin"
Delete /rebootok "$INSTDIR\bin\libffi-6.dll"
@@ -208,15 +206,6 @@ Section "Uninstall"
Delete /rebootok "$INSTDIR\bin\iconv.dll"
Delete /rebootok "$INSTDIR\bin\libgtk-win32-2.0-0.dll"
Delete /rebootok "$INSTDIR\bin\libgthread-2.0-0.dll"
- Delete /rebootok "$INSTDIR\bin\libgstvideo-0.10-0.dll"
- Delete /rebootok "$INSTDIR\bin\libgstreamer-0.10-0.dll"
- Delete /rebootok "$INSTDIR\bin\libgstpbutils-0.10-0.dll"
- Delete /rebootok "$INSTDIR\bin\libgstinterfaces-0.10-0.dll"
- Delete /rebootok "$INSTDIR\bin\libgstfft-0.10-0.dll"
- Delete /rebootok "$INSTDIR\bin\libgstcontroller-0.10-0.dll"
- Delete /rebootok "$INSTDIR\bin\libgstbase-0.10-0.dll"
- Delete /rebootok "$INSTDIR\bin\libgstaudio-0.10-0.dll"
- Delete /rebootok "$INSTDIR\bin\libgstapp-0.10-0.dll"
Delete /rebootok "$INSTDIR\bin\libgobject-2.0-0.dll"
Delete /rebootok "$INSTDIR\bin\libgmodule-2.0-0.dll"
Delete /rebootok "$INSTDIR\bin\libglib-2.0-0.dll"
--
2.1.0
More information about the Spice-devel
mailing list