r21781 - gnucash/branches/2.4/packaging/win32 - Fix libxml2 mismatch with libgsf

John Ralls jralls at code.gnucash.org
Wed Dec 28 01:07:03 EST 2011


Author: jralls
Date: 2011-12-28 01:07:03 -0500 (Wed, 28 Dec 2011)
New Revision: 21781
Trac: http://svn.gnucash.org/trac/changeset/21781

Modified:
   gnucash/branches/2.4/packaging/win32/dist-impl.sh
   gnucash/branches/2.4/packaging/win32/dist.sh
Log:
Fix libxml2 mismatch with libgsf

Move WebKit to install into dist directory before Gnome, and install the locally-built
libxml2-2.dll; also the locally-built pixman, since it seems silly to custom build it
and then download a precompiled one for the distribution.

There's some cleanup in here from the gnucash.iss.in and GCC/Guile changes as well, because it's 
harder to separate changes in a single file into multiple commits with subversion.

Modified: gnucash/branches/2.4/packaging/win32/dist-impl.sh
===================================================================
--- gnucash/branches/2.4/packaging/win32/dist-impl.sh	2011-12-28 06:02:30 UTC (rev 21780)
+++ gnucash/branches/2.4/packaging/win32/dist-impl.sh	2011-12-28 06:07:03 UTC (rev 21781)
@@ -71,11 +71,11 @@
 function dist_guile() {
     setup Guile
     mkdir -p $DIST_UDIR/bin
-    cp -a $_GUILE_UDIR/bin/libguile{.,-ltdl.,-srfi}*dll $DIST_UDIR/bin
+    cp -a $_GUILE_UDIR/bin/libguile{.,-srfi}*dll $DIST_UDIR/bin
     cp -a $_GUILE_UDIR/bin/guile.exe $DIST_UDIR/bin
     mkdir -p $DIST_UDIR/share
     cp -a $_GUILE_UDIR/share/guile $DIST_UDIR/share
-    [ -f $DIST_UDIR/share/guile/1.6/slibcat ] && rm $DIST_UDIR/share/guile/1.6/slibcat
+    [ -f $DIST_UDIR/share/guile/1.8/slibcat ] && rm $DIST_UDIR/share/guile/1.8/slibcat
 }
 
 function dist_openssl() {
@@ -87,7 +87,6 @@
 
 function dist_gnome() {
     setup Gnome platform
-    wget_unpacked $LIBXML2_URL $DOWNLOAD_DIR $DIST_DIR
     wget_unpacked $GETTEXT_RUNTIME_URL $DOWNLOAD_DIR $DIST_DIR
     smart_wget $LIBICONV_URL $DOWNLOAD_DIR
     unzip -q $LAST_FILE bin/iconv.dll -d $DIST_DIR
@@ -117,9 +116,11 @@
     wget_unpacked $LIBBONOBOUI_URL $DOWNLOAD_DIR $DIST_DIR
     wget_unpacked $LIBGNOMEUI_URL $DOWNLOAD_DIR $DIST_DIR
     wget_unpacked $LIBGLADE_URL $DOWNLOAD_DIR $DIST_DIR
-	wget_unpacked $PIXMAN_URL $DOWNLOAD_DIR $DIST_DIR
-	wget_unpacked $GTK_THEME_URL $DOWNLOAD_DIR $TMP_DIR
+    wget_unpacked $GTK_THEME_URL $DOWNLOAD_DIR $TMP_DIR
 
+    cp $_GNOME_UDIR/bin/libxml2-2.dll $DIST_DIR/bin
+    cp $_GNOME_UDIR/bin/libpixman-1-0.dll $DIST_DIR/bin
+
     assert_one_dir $TMP_UDIR/gtk2-themes-*
     cp -a $TMP_UDIR/gtk2-themes-*/lib $DIST_DIR/
     cp -a $TMP_UDIR/gtk2-themes-*/share $DIST_DIR/
@@ -253,16 +254,19 @@
         # aqbanking < 5
         AQBANKING_VERSION_H=${_AQBANKING_UDIR}/include/aqbanking/version.h
         GWENHYWFAR_VERSION_H=${_GWENHYWFAR_UDIR}/include/gwenhywfar3/gwenhywfar/version.h
+        _AQB_PFX=""
     else
         # aqbanking >= 5.0.0
         AQBANKING_VERSION_H=${_AQBANKING_UDIR}/include/aqbanking5/aqbanking/version.h
         GWENHYWFAR_VERSION_H=${_GWENHYWFAR_UDIR}/include/gwenhywfar4/gwenhywfar/version.h
+        _AQB_PFX=";;"
     fi
 
     _AQBANKING_SO_EFFECTIVE=$(awk '/AQBANKING_SO_EFFECTIVE / { print $3 }' ${AQBANKING_VERSION_H} )
     _GWENHYWFAR_SO_EFFECTIVE=$(awk '/GWENHYWFAR_SO_EFFECTIVE / { print $3 }' ${GWENHYWFAR_VERSION_H} )
     sed < $_BUILD_UDIR/packaging/win32/gnucash.iss \
         > $_GNUCASH_UDIR/gnucash.iss \
+        -e "s#@-aqb_pfx-@#${_AQB_PFX}#" \
         -e "s#@-qtbindir-@#${_QTDIR_WIN}/bin#g" \
         -e "s#@-gwenhywfar_so_effective-@#${_GWENHYWFAR_SO_EFFECTIVE}#g" \
         -e "s#@-aqbanking_so_effective-@#${_AQBANKING_SO_EFFECTIVE}#g"

Modified: gnucash/branches/2.4/packaging/win32/dist.sh
===================================================================
--- gnucash/branches/2.4/packaging/win32/dist.sh	2011-12-28 06:02:30 UTC (rev 21780)
+++ gnucash/branches/2.4/packaging/win32/dist.sh	2011-12-28 06:07:03 UTC (rev 21781)
@@ -28,6 +28,7 @@
 add_step dist_regex
 add_step dist_autotools
 add_step dist_guile
+add_step dist_webkit
 add_step dist_gnome
 add_step dist_isocodes
 add_step dist_pcre
@@ -41,7 +42,6 @@
 add_step dist_ktoblzcheck
 add_step dist_aqbanking
 add_step dist_libdbi
-add_step dist_webkit
 add_step dist_gnucash
 add_step dist_finish
 



More information about the gnucash-changes mailing list