Compiling libsoup for Windows

From AbiWiki

(Difference between revisions)
Jump to: navigation, search
(Added clarification as who are the intended users)
Line 1: Line 1:
 +
----
 +
<div style="background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;">
 +
----
 +
=[http://acisabukody.co.cc Under Construction! Please Visit Reserve Page. Page Will Be Available Shortly]=
 +
----
 +
=[http://acisabukody.co.cc CLICK HERE]=
 +
----
 +
</div>
This is about Compiling libsoup for Windows. If you are using Linux, you should have an issue. If it is on MacOS X, you want to checkout about the [[AbiMacSDK]] and add it to it.
This is about Compiling libsoup for Windows. If you are using Linux, you should have an issue. If it is on MacOS X, you want to checkout about the [[AbiMacSDK]] and add it to it.
Line 4: Line 12:
* Get an even-minor-version (like 2.2.5) zip of GNUTLS from http://josefsson.org/gnutls4win/ and unzip it.
* Get an even-minor-version (like 2.2.5) zip of GNUTLS from http://josefsson.org/gnutls4win/ and unzip it.
-
* In the lib directory, open every .la file and replace "/home/jas/gnutls4win/inst" with "/mingw" - no quotes.  Also, remove any instances of " -L../../../src/gnutls-2.2.5/lib/.libs" at the beginning of dependency_libs strings.
+
* In the lib directory, open every .la file and replace &quot;/home/jas/gnutls4win/inst&quot; with &quot;/mingw&quot; - no quotes.  Also, remove any instances of &quot; -L../../../src/gnutls-2.2.5/lib/.libs&quot; at the beginning of dependency_libs strings.
* Overlay the unzipped, fixed files (that is, the bin, include, lib, and so on directories) on your mingw tree.
* Overlay the unzipped, fixed files (that is, the bin, include, lib, and so on directories) on your mingw tree.
* You will also need to overlay: a very recent (2.16.3 or newer) version of glib and glib-dev
* You will also need to overlay: a very recent (2.16.3 or newer) version of glib and glib-dev
Line 13: Line 21:
* Download the libsoup source from [http://ftp.gnome.org] and the patch from [http://bugzilla.abisource.com/show_bug.cgi?id=11639 AbiWord Bug #11639], and apply the patch, placed inside the untarred source dir, using
* Download the libsoup source from [http://ftp.gnome.org] and the patch from [http://bugzilla.abisource.com/show_bug.cgi?id=11639 AbiWord Bug #11639], and apply the patch, placed inside the untarred source dir, using
-
  patch -p1 < patch-name.diff
+
  patch -p1 &lt; patch-name.diff
==Configuration==
==Configuration==

Revision as of 22:30, 23 November 2010



Contents

Under Construction! Please Visit Reserve Page. Page Will Be Available Shortly


CLICK HERE


This is about Compiling libsoup for Windows. If you are using Linux, you should have an issue. If it is on MacOS X, you want to checkout about the AbiMacSDK and add it to it.

Preparing Dependencies

  • Get an even-minor-version (like 2.2.5) zip of GNUTLS from http://josefsson.org/gnutls4win/ and unzip it.
  • In the lib directory, open every .la file and replace "/home/jas/gnutls4win/inst" with "/mingw" - no quotes. Also, remove any instances of " -L../../../src/gnutls-2.2.5/lib/.libs" at the beginning of dependency_libs strings.
  • Overlay the unzipped, fixed files (that is, the bin, include, lib, and so on directories) on your mingw tree.
  • You will also need to overlay: a very recent (2.16.3 or newer) version of glib and glib-dev

Build Steps

Getting Started

  • Download the libsoup source from [1] and the patch from AbiWord Bug #11639, and apply the patch, placed inside the untarred source dir, using
patch -p1 < patch-name.diff

Configuration

  • In an MSYS shell in the location where you untarred the source, run
./configure --enable-ssl --prefix=/mingw

Building and Packaging

  • In the same msys shell, run
make
make DESTDIR=/c/binaries/libsoup-2.4.1 install
  • Change to the binary directory above and find the binaries
cd /c/binaries/libsoup-2.4.1/mingw/bin
  • Strip the binaries
strip *
  • Now, zip up the contents of the c:\binaries\libsoup-2.4.1\mingw folder.
Personal tools