gnet2 stable port information

Package: gnet2
Version: 2.0.7
Revision: 2
Maintainer: The Gnome Core Team
Depends: %N-shlibs (=%v-%r)
BuildDepends: glib2-dev (>= 2.12.0-1), libgettext3-dev, libiconv-dev, pkgconfig
BuildDependsOnly: true
Source: http://gnetlibrary.org/src/gnet-%v.tar.gz
Source-MD5: 3a7a40411775688fe4c42141ab007048
ConfigureParams: --mandir=%p/share/man
Patch: %n.patch
PatchScript: perl -pi.bak -e 's/-pthread"/"/' configure
InstallScript: make DESTDIR=%d install
SplitOff: <<
Description: Shared Libraries for gnet
Package: %N-shlibs
Depends: glib2-shlibs (>= 2.12.0-1), libgettext3-shlibs, libiconv
Replaces: %N (<< 2.0.3-2)
Files: lib/libgnet-2.0.0*.dylib
Shlibs: %p/lib/libgnet-2.0.0.dylib 7.0.0 %n (>= 2.0.7-1)
DocFiles: AUTHORS BUGS COPYING ChangeLog HACKING NEWS README TODO
<<
DocFiles: AUTHORS BUGS COPYING ChangeLog HACKING NEWS README TODO
Description: Simple network library
DescPort: <<
May be thread safety problems. Needs investigation.
<<
DescPackaging: <<
Patch conn-http.c CVS r1.7->r1.8 to fix datatype mismatch.

Patch ./configure to recognize that we have pthreads but we don't
need any flags for it. Could skip the patch, but that passes
-pthreads to the compiler, which genrates a warning.
See: http://bugzilla.gnome.org/show_bug.cgi?id=347371

Use glib2-2.12.0 for GCC version independence and new glib2 package layout
<<
HomePage: http://gnetlibrary.org
License: LGPL

gnet2 stable port .patch

diff -Nurd -x'*~' gnet-2.0.7.orig/src/conn-http.c gnet-2.0.7/src/conn-http.c
--- gnet-2.0.7.orig/src/conn-http.c 2005-02-19 12:15:51.000000000 -0500
+++ gnet-2.0.7/src/conn-http.c 2006-07-13 03:14:24.000000000 -0400
@@ -632,7 +632,7 @@
/* Note: this must be 1.1 */
g_string_append_printf (request, "POST %s HTTP/1.1\r\n", resource);

- g_snprintf(buf, sizeof(buf), "%u", conn->post_data_len);
+ g_snprintf(buf, sizeof(buf), "%u", (guint) conn->post_data_len);

gnet_conn_http_set_header (conn, "Expect", "100-continue", 0);
gnet_conn_http_set_header (conn, "Content-Length", buf, 0);

gnet2 _unstable_ port information

Package: gnet2
Version: 2.0.8
Revision: 1
Maintainer: The Gnome Core Team
Depends: %N-shlibs (=%v-%r)
BuildDepends: fink (>= 0.24.12-1), glib2-dev (>= 2.12.0-1), libgettext3-dev, libiconv-dev, pkgconfig
BuildDependsOnly: true
Source: mirror:gnome:sources/gnet/2.0/gnet-%v.tar.bz2
Source-MD5: 93327d2fca333d7e54ba2cf54e071165
ConfigureParams: --mandir=%p/share/man
PatchScript: perl -pi.bak -e 's/-pthread"/"/' configure
InstallScript: make DESTDIR=%d install
SplitOff: <<
Description: Shared Libraries for gnet
Package: %N-shlibs
Depends: glib2-shlibs (>= 2.12.0-1), libgettext3-shlibs, libiconv
Replaces: %N (<< 2.0.3-2)
Files: lib/libgnet-2.0.0*.dylib
Shlibs: %p/lib/libgnet-2.0.0.dylib 7.0.0 %n (>= 2.0.7-1)
DocFiles: AUTHORS BUGS COPYING ChangeLog HACKING NEWS README TODO
<<
DocFiles: AUTHORS BUGS COPYING ChangeLog HACKING NEWS README TODO
Description: Simple network library
DescPort: <<
May be thread safety problems. Needs investigation.
<<
DescPackaging: <<
Patch conn-http.c CVS r1.7->r1.8 to fix datatype mismatch.

Patch ./configure to recognize that we have pthreads but we don't
need any flags for it. Could skip the patch, but that passes
-pthreads to the compiler, which genrates a warning.
See: http://bugzilla.gnome.org/show_bug.cgi?id=347371

Use glib2-2.12.0 for GCC version independence and new glib2 package layout
<<
HomePage: http://gnetlibrary.org
License: LGPL

gnet2 _unstable_ port .patch