[virt-tools-list] [virt-viewer] [PATCH 08/15] nsis: add libgovirt (and its dependencies)

Fabiano Fidêncio fidencio at redhat.com
Tue Dec 9 16:13:38 UTC 2014


libgovirt is used to provide support to foreign menu using ovirt.
---
 data/virt-viewer.nsis.in | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/data/virt-viewer.nsis.in b/data/virt-viewer.nsis.in
index 8b1d47a..7ca863f 100644
--- a/data/virt-viewer.nsis.in
+++ b/data/virt-viewer.nsis.in
@@ -150,6 +150,14 @@ Section "VirtViewer"
   File /nonfatal "@prefix@/bin/libgcc_s_sjlj-1.dll"
   File /nonfatal "@prefix@/bin/libgcc_s_seh-1.dll"
 
+  #libgovirt (and its dependencies)
+  File "@prefix@/bin/libgovirt-2.dll"
+  File "@prefix@/bin/librest-0.7-0.dll"
+  File "@prefix@/bin/librest-extras-0.7-0.dll"
+  File "@prefix@/bin/libsoup-2.4-1.dll"
+  File "@prefix@/bin/libsqlite3-0.dll"
+  File "@prefix@/bin/libsoup-gnome-2.4-1.dll"
+
   File "@prefix@/bin/pango-querymodules.exe"
   File /oname=remote-viewer.com "${DESTDIR}@prefix@/bin/windows-cmdline-wrapper.exe"
   File "${DESTDIR}@prefix@/bin/remote-viewer.exe"
@@ -181,6 +189,9 @@ Section "VirtViewer"
   File "@prefix@/lib/gstreamer-0.10/libgstdirectsoundsink.dll"
   File "@prefix@/lib/gstreamer-0.10/libgstdirectsoundsrc.dll"
 
+  SetOutPath "$INSTDIR\lib\gio\modules"
+  File "@prefix@/lib/gio/modules/libgiognutls.dll"
+
   SetOutPath "$INSTDIR\share"
   File /r "@prefix@/share/libvirt"
 
@@ -349,6 +360,16 @@ Section "Uninstall"
   Delete /rebootok "$INSTDIR\bin\libcelt051-0.dll"
   Delete /rebootok "$INSTDIR\bin\libcairo-2.dll"
   Delete /rebootok "$INSTDIR\bin\libatk-1.0-0.dll"
+  Delete /rebootok "$INSTDIR\bin\libgovirt-2.dll"
+  Delete /rebootok "$INSTDIR\bin\librest-0.7-0.dll"
+  Delete /rebootok "$INSTDIR\bin\librest-extras-0.7-0.dll"
+  Delete /rebootok "$INSTDIR\bin\libsoup-2.4-1.dll"
+  Delete /rebootok "$INSTDIR\bin\libsqlite3-0.dll"
+  Delete /rebootok "$INSTDIR\bin\libsoup-gnome-2.4-1.dll"
+
+  Delete /rebootok "$INSTDIR\lib\gio\modules\libgiognutls.dll"
+  RMDir /r "$INSTDIR\lib\gio"
+
   RMDir "$INSTDIR\bin"
   RMDir "$INSTDIR\lib"
 
-- 
2.1.0




More information about the virt-tools-list mailing list