File libglade-2.6.4-wix.patch of Package mingw32-libglade2

diff -Naur libglade-2.6.4.orig/Makefile.am libglade-2.6.4/Makefile.am
--- libglade-2.6.4.orig/Makefile.am	2010-03-26 12:41:15.972012563 +0100
+++ libglade-2.6.4/Makefile.am	2010-03-26 12:41:15.992003726 +0100
@@ -48,3 +48,22 @@
   examples/first.glade \
   examples/example.glade \
   examples/bonobo.glade
+
+EXTRA_DIST += \
+  libglade-2.0.wxs
+
+if ENABLE_WIX
+@WIX_MAKE_RULES@
+
+wixlibdir = ${datadir}/wixlib
+wixlib_WIX = libglade-2.0.wixlib
+
+libglade-2.0.wixlib: wixdistdir
+
+all-am: libglade-2.0-pc-stamp
+libglade-2.0-pc-stamp: libglade-2.0.pc
+	echo 'Wixlibs=${wixlibdir}/libglade-2.0.wixlib' >> libglade-2.0.pc
+	echo 'Fualflags=-C libglade_2.0 -D libglade_2.0' >> libglade-2.0.pc
+	touch \$(@)
+
+endif
diff -Naur libglade-2.6.4.orig/configure.in libglade-2.6.4/configure.in
--- libglade-2.6.4.orig/configure.in	2010-03-26 12:41:15.972012563 +0100
+++ libglade-2.6.4/configure.in	2010-03-26 12:41:15.984010353 +0100
@@ -162,6 +162,8 @@
 fi
 changequote([,])dnl
 
+WIX_INIT()
+
 AC_CONFIG_FILES([
 Makefile
 libglade.spec
diff -Naur libglade-2.6.4.orig/libglade-2.0.wxs libglade-2.6.4/libglade-2.0.wxs
--- libglade-2.6.4.orig/libglade-2.0.wxs	1970-01-01 01:00:00.000000000 +0100
+++ libglade-2.6.4/libglade-2.0.wxs	2010-03-26 12:42:38.440004997 +0100
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
+    <Fragment>
+        <ComponentGroup Id="libglade_2.0">
+            <ComponentRef Id="cmp0A794313674C442F19FEA291A270DEB7" />
+            <ComponentRef Id="cmp3B97572323DB4DE9B04F40F78B2596DE" />
+            <ComponentRef Id="cmp0358EAE750DF47DD8B450A89F63B1F7C" />
+            <ComponentRef Id="cmp9589E7719C06491FBCF1CE4CD4E82F0A" />
+        </ComponentGroup>
+    </Fragment>
+    <Fragment>
+        <DirectoryRef Id="libglade_2.0">
+            <Directory Id="dir5307A5E4248CB6DF813BA0FB09DC6459" Name="bin">
+                <Component Id="cmp0A794313674C442F19FEA291A270DEB7" Guid="{6F418EBF-9243-437C-9B64-E3C227D1544B}">
+                    <File Id="fil701E72589B8743C9D686397A003FD376" KeyPath="yes" Source="$(var.wixdistdir)\bin\libglade-2.0-0.dll" />
+                </Component>
+            </Directory>
+            <Directory Id="dir8AD33D84FDB949D78B5A67351499EA32" Name="share">
+                <Directory Id="dir4FE217172B9D48E0802F92A2131BB32A" Name="license">
+                    <Directory Id="dir4AB8A7EA0AB942F7A5F4D075FDA29485" Name="libglade">
+                        <Component Id="cmp3B97572323DB4DE9B04F40F78B2596DE" Guid="{E35ACBD0-F349-4EA9-8005-7B97E8894D20}">
+                            <File Id="fil1960C69C4DBA4DE7AEEE9FE2671A32C9" KeyPath="yes" Source="AUTHORS" />
+                        </Component>
+                        <Component Id="cmp0358EAE750DF47DD8B450A89F63B1F7C" Guid="{363C9936-5697-4F65-8F8B-F53271A9BB71}">
+                            <File Id="fil298ABC984441450BAFA9E7D673B925FF" KeyPath="yes" Source="COPYING" />
+                        </Component>
+                        <Component Id="cmp9589E7719C06491FBCF1CE4CD4E82F0A" Guid="{DE03B317-EF9A-4F22-BF49-602722299165}">
+                            <File Id="filEDE6FF87DDE4421489EFAD67D1EF0422" KeyPath="yes" Source="README" />
+                        </Component>
+                    </Directory>
+                </Directory>
+            </Directory>
+        </DirectoryRef>
+    </Fragment>
+</Wix>
openSUSE Build Service is sponsored by