File gettext-0.17-wix.patch of Package mingw64-gettext

diff -Naur gettext-0.17.orig/Makefile.am gettext-0.17/Makefile.am
--- gettext-0.17.orig/Makefile.am	2010-03-26 11:27:57.484011711 +0100
+++ gettext-0.17/Makefile.am	2010-03-26 11:27:57.684003817 +0100
@@ -117,3 +117,17 @@
 # Woe32 support.
 
 EXTRA_DIST += README.woe32 windows/windres-options windows/gettext.rc
+
+EXTRA_DIST += \
+    intl.wxs
+
+if ENABLE_WIX
+@WIX_MAKE_RULES@
+
+wixlibdir = ${datadir}/wixlib
+wixlib_WIX = intl.wixlib
+
+intl.wixlib: wixdistdir
+
+endif
+
diff -Naur gettext-0.17.orig/configure.ac gettext-0.17/configure.ac
--- gettext-0.17.orig/configure.ac	2010-03-26 11:27:57.492012352 +0100
+++ gettext-0.17/configure.ac	2010-03-26 11:27:57.624342413 +0100
@@ -52,4 +52,7 @@
 
 AC_CONFIG_FILES([gnulib-local/Makefile])
 
+AC_PROG_LN_S
+WIX_INIT()
+
 AC_OUTPUT
diff -Naur gettext-0.17.orig/intl.wxs gettext-0.17/intl.wxs
--- gettext-0.17.orig/intl.wxs	1970-01-01 01:00:00.000000000 +0100
+++ gettext-0.17/intl.wxs	2010-03-26 11:41:45.688010948 +0100
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
+    <Fragment>
+        <ComponentGroup Id="intl">
+            <ComponentRef Id="cmpC8CDD2E268286CA58EEFFE6D9524C1C4" />
+            <ComponentRef Id="cmp5885B5564C8F4AB3A9C0F311BC8EB6D3" />
+            <ComponentRef Id="cmp8E83C06CC7894AD1A8AE87B5AD5852F7" />
+            <ComponentRef Id="cmp2C6E6CA6EB024183AFC30F3B34ED1611" />
+            <ComponentRef Id="cmp1D85539E7C034B7BAD2F3A09C5AB036F" />
+            <ComponentRef Id="cmp682E09D727644397B2F8EEED91418680" />
+        </ComponentGroup>
+    </Fragment>
+    <Fragment>
+        <DirectoryRef Id="intl">
+            <Directory Id="dir3DB59E85BB5EC47DAC2631F3800B3AED" Name="bin">
+                <Component Id="cmpC8CDD2E268286CA58EEFFE6D9524C1C4" Guid="{2D812E38-16D9-48EE-910B-675BAD2B57D3}">
+                    <File Id="fil1F4799A6FB6E75EB069AE215B642B606" KeyPath="yes" Source="$(var.wixdistdir)\bin\libintl-8.dll" />
+                </Component>
+            </Directory>
+            <Directory Id="dir9991A8724C884707A4E0AD26E953FEF2" Name="share">
+                <Directory Id="dir35118528546A45B49F2FED0EF70EDA9C" Name="license">
+                    <Directory Id="dir6B9DFEE1F064420D9310BC80627FA7B7" Name="intl">
+                        <Component Id="cmp5885B5564C8F4AB3A9C0F311BC8EB6D3" Guid="{40F4D078-28B0-4365-A7B1-2EFB17D50485}">
+                            <File Id="fil66A9F7FE433B4826A7C6594E1F075F8F" KeyPath="yes" Source="gettext-runtime\AUTHORS" />
+                        </Component>
+                        <Component Id="cmp8E83C06CC7894AD1A8AE87B5AD5852F7" Guid="{7DABEC67-6848-4587-B44A-54BF676D93F4}">
+                            <File Id="fil0B3BF7DE6A9E49EA873F76368E77DEB6" KeyPath="yes" Source="gettext-runtime\COPYING" />
+                        </Component>
+                        <Component Id="cmp2C6E6CA6EB024183AFC30F3B34ED1611" Guid="{4839122E-A952-4891-BEC3-AB7E64EE2DBE}">
+                            <File Id="fil536C9C3B5E9148A0A8D38C8EB7E305E2" KeyPath="yes" Source="gettext-runtime\README" />
+                        </Component>
+                        <Component Id="cmp1D85539E7C034B7BAD2F3A09C5AB036F" Guid="{272B6D44-1CAA-4B5A-9722-08FA4221063A}">
+                            <File Id="filA36234AEC5EE4BA298F847C2E5A96400" KeyPath="yes" Source="gettext-runtime\intl\COPYING.LIB-2.0" />
+                        </Component>
+                        <Component Id="cmp682E09D727644397B2F8EEED91418680" Guid="{96CC14EE-7B3C-432D-AD65-FC93023B69BA}">
+                            <File Id="filAFA8B6CE40F64D4FAE933BF8D37594AC" KeyPath="yes" Source="gettext-runtime\intl\COPYING.LIB-2.1" />
+                        </Component>
+                    </Directory>
+                </Directory>
+            </Directory>
+        </DirectoryRef>
+    </Fragment>
+</Wix>
openSUSE Build Service is sponsored by