File jasper-1.900.1-wix.patch of Package mingw64-jasper

diff -Naur jasper-1.900.1.orig/Makefile.am jasper-1.900.1/Makefile.am
--- jasper-1.900.1.orig/Makefile.am	2010-03-26 12:29:51.556011817 +0100
+++ jasper-1.900.1/Makefile.am	2010-03-26 12:30:03.896008172 +0100
@@ -89,3 +89,16 @@
 		fi; \
 	done
 
+EXTRA_DIST += \
+    jasper.wxs
+
+if ENABLE_WIX
+@WIX_MAKE_RULES@
+
+wixlibdir = ${datadir}/wixlib
+wixlib_WIX = jasper.wixlib
+
+jasper.wixlib: wixdistdir
+
+endif
+
diff -Naur jasper-1.900.1.orig/configure.ac jasper-1.900.1/configure.ac
--- jasper-1.900.1.orig/configure.ac	2010-03-26 12:29:51.576007592 +0100
+++ jasper-1.900.1/configure.ac	2010-03-26 12:30:03.892004650 +0100
@@ -373,6 +373,12 @@
 fi
 
 ############################################################
+# Configure Wixlib building
+############################################################
+
+WIX_INIT()
+
+############################################################
 # Generate the configuration header file.
 ############################################################
 
diff -Naur jasper-1.900.1.orig/jasper.wxs jasper-1.900.1/jasper.wxs
--- jasper-1.900.1.orig/jasper.wxs	1970-01-01 01:00:00.000000000 +0100
+++ jasper-1.900.1/jasper.wxs	2010-03-26 12:31:17.352008869 +0100
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
+    <Fragment>
+        <ComponentGroup Id="jasper">
+            <ComponentRef Id="cmp96D61ADD833046A0340C124167DD29AB" />
+            <ComponentRef Id="cmp4532BC6A872646D78A806F4EEF22B7AA" />
+            <ComponentRef Id="cmpC872897E4E084446B01DA106CBDAEC66" />
+            <ComponentRef Id="cmpA0E09EFC1B544C3CBCEE97CE461A6877" />
+        </ComponentGroup>
+    </Fragment>
+    <Fragment>
+        <DirectoryRef Id="jasper">
+            <Directory Id="dir6E6CFE741771B409B3C4BA34856F9059" Name="bin">
+                <Component Id="cmp96D61ADD833046A0340C124167DD29AB" Guid="{AB31D099-15B2-4FE1-AD41-396E3DA7E9F4}">
+                    <File Id="filA47C0DE5364EB73E00914E7E3AE850ED" KeyPath="yes" Source="$(var.wixdistdir)\bin\libjasper-1.dll" />
+                </Component>
+            </Directory>
+            <Directory Id="dir8DD6B63E30E5446D8B698768A57605D9" Name="share">
+                <Directory Id="dir2A9DE51BEE354301B90B2AFB3C6386EB" Name="license">
+                    <Directory Id="dirF750CC4D42934E9B8360B1D30078C745" Name="jasper">
+                        <Component Id="cmp4532BC6A872646D78A806F4EEF22B7AA" Guid="{7ED9548F-4AA4-45A5-B0A5-C8561D7D1F85}">
+                            <File Id="fil8757450E9138486E859ACEEF077704E9" KeyPath="yes" Source="COPYRIGHT" />
+                        </Component>
+                        <Component Id="cmpC872897E4E084446B01DA106CBDAEC66" Guid="{214C98FF-5038-4733-9EE9-AE4BFD6BDAB2}">
+                            <File Id="filBE74AB48BD694FE88901060CB5D12BA5" KeyPath="yes" Source="LICENSE" />
+                        </Component>
+                        <Component Id="cmpA0E09EFC1B544C3CBCEE97CE461A6877" Guid="{9F7F6D04-243C-4210-97A0-0533BFCAA773}">
+                            <File Id="fil05A319C1DAA24EEB9084AAC42B5BD56F" KeyPath="yes" Source="README" />
+                        </Component>
+                    </Directory>
+                </Directory>
+            </Directory>
+        </DirectoryRef>
+    </Fragment>
+</Wix>
openSUSE Build Service is sponsored by