glibwww stable port information

Package: glibwww
Version: 0.2
Revision: 17
Source: gnome
Source-MD5: 3f20f0e7b01acb8dc81502e088cd9389
BuildDependsOnly: True
BuildDepends: audiofile, esound, glib, gtk+ (>= 1.2.10-20), libjpeg, libtiff, netpbm, orbit-dev (>= 0.5.17-15), imlib (>= 1.9.14-14), gnome-libs-dev (>= 1.4.2-19), libwww, gettext-dev, gettext-bin, gettext-tools, fink (>= 0.24.12-1)
Depends: %N-shlibs (= %v-%r)
UpdateLibtool: true
PatchFile: %n.patch
PatchFile-MD5: 0391ffd86f48de798303c74db4db5cd2
PatchScript: <<
%{default_script}
perl -pi -e 's,(testglibwww_LDADD =) (libglibwww).la,\1 .libs/\2.dylib,' src/Makefile.in

# perl -pi -e 's,^(GLIBWWW_LIBS=.*)\$LIBWWW_CFLAGS,\1\$LIBWWW_LIBS,' configure
perl -pi -e 's,^(libglibwww_la_LIBADD = ),\1 \$(EXTRA_GNOME_LIBS) ,' src/Makefile.in
<<
SplitOff: <<
Package: %N-shlibs
Depends: gnome-libs (>= 1.4.2-19), libwww-shlibs, gettext
Replaces: %N (<= 0.2-3)
Files: lib/libglibwww.*.dylib
Shlibs: %p/lib/libglibwww.1.dylib 2.0.0 %n (>= 0.2-4)
DocFiles: AUTHORS COPYING ChangeLog NEWS README
<<
DocFiles: AUTHORS COPYING ChangeLog NEWS README
Description: Set of register/unregister functions
License: GPL
Maintainer: None
DescPackaging: <<
Originally packaged by Masanori Sekino.

dmacks: Fix ancient libtool hardcode_direct-ish bug; fix flag passing.
<<
Homepage: http://www.gnome.org/

glibwww stable port .patch

diff -Nurd -x'*~' glibwww-0.2.orig/src/gnome-dialogs.c glibwww-0.2/src/gnome-dialogs.c
--- glibwww-0.2.orig/src/gnome-dialogs.c 2000-05-27 22:15:26.000000000 -0400
+++ glibwww-0.2/src/gnome-dialogs.c 2006-08-03 03:35:16.000000000 -0400
@@ -162,7 +162,7 @@
long b_read = HTRequest_bodyRead(request);
gfloat pcnt = (double)b_read/cl;

- text = g_strdup_printf(_("Read %d%%%% of %l"), (int)pcnt, cl);
+ text = g_strdup_printf(_("Read %d%%%% of %ld"), (int)pcnt, cl);
gtk_progress_set_format_string(info->progress, text);
g_free(text);
gtk_progress_set_activity_mode(info->progress, FALSE);
@@ -172,7 +172,7 @@
int *raw_read = input ? (int *)input : NULL;

if (b_read > 0)
- text = g_strdup_printf(_("Read %d bytes"), b_read);
+ text = g_strdup_printf(_("Read %ld bytes"), b_read);
else if (raw_read && *raw_read > 0)
text = g_strdup_printf(_("Read %d bytes"), *raw_read);
else
@@ -191,7 +191,7 @@
long b_write = HTRequest_bodyWritten(request);
gfloat pcnt = (double)b_write/cl;

- text = g_strdup_printf(_("Writing %d%%%% of %l"), (int)pcnt, cl);
+ text = g_strdup_printf(_("Writing %d%%%% of %ld"), (int)pcnt, cl);
gtk_progress_set_format_string(info->progress, text);
g_free(text);
gtk_progress_set_activity_mode(info->progress, FALSE);
@@ -201,7 +201,7 @@
int *raw_write = input ? (int *)input : NULL;

if (b_write > 0)
- text = g_strdup_printf(_("Writing %d bytes"), b_write);
+ text = g_strdup_printf(_("Writing %ld bytes"), b_write);
else if (raw_write && *raw_write > 0)
text = g_strdup_printf(_("Writing %d bytes"), *raw_write);
else

glibwww _unstable_ port information

Package: glibwww
Version: 0.2
Revision: 17
Source: gnome
Source-MD5: 3f20f0e7b01acb8dc81502e088cd9389
BuildDependsOnly: True
BuildDepends: audiofile, esound, glib, gtk+ (>= 1.2.10-20), libjpeg, libtiff, netpbm, orbit-dev (>= 0.5.17-15), imlib (>= 1.9.14-14), gnome-libs-dev (>= 1.4.2-19), libwww, gettext-dev, gettext-bin, gettext-tools, fink (>= 0.24.12-1)
Depends: %N-shlibs (= %v-%r)
UpdateLibtool: true
PatchFile: %n.patch
PatchFile-MD5: 0391ffd86f48de798303c74db4db5cd2
PatchScript: <<
%{default_script}
perl -pi -e 's,(testglibwww_LDADD =) (libglibwww).la,\1 .libs/\2.dylib,' src/Makefile.in

# perl -pi -e 's,^(GLIBWWW_LIBS=.*)\$LIBWWW_CFLAGS,\1\$LIBWWW_LIBS,' configure
perl -pi -e 's,^(libglibwww_la_LIBADD = ),\1 \$(EXTRA_GNOME_LIBS) ,' src/Makefile.in
<<
SplitOff: <<
Package: %N-shlibs
Depends: gnome-libs (>= 1.4.2-19), libwww-shlibs, gettext
Replaces: %N (<= 0.2-3)
Files: lib/libglibwww.*.dylib
Shlibs: %p/lib/libglibwww.1.dylib 2.0.0 %n (>= 0.2-4)
DocFiles: AUTHORS COPYING ChangeLog NEWS README
<<
DocFiles: AUTHORS COPYING ChangeLog NEWS README
Description: Set of register/unregister functions
License: GPL
Maintainer: None
DescPackaging: <<
Originally packaged by Masanori Sekino.

dmacks: Fix ancient libtool hardcode_direct-ish bug; fix flag passing.
<<
Homepage: http://www.gnome.org/

glibwww _unstable_ port .patch

diff -Nurd -x'*~' glibwww-0.2.orig/src/gnome-dialogs.c glibwww-0.2/src/gnome-dialogs.c
--- glibwww-0.2.orig/src/gnome-dialogs.c 2000-05-27 22:15:26.000000000 -0400
+++ glibwww-0.2/src/gnome-dialogs.c 2006-08-03 03:35:16.000000000 -0400
@@ -162,7 +162,7 @@
long b_read = HTRequest_bodyRead(request);
gfloat pcnt = (double)b_read/cl;

- text = g_strdup_printf(_("Read %d%%%% of %l"), (int)pcnt, cl);
+ text = g_strdup_printf(_("Read %d%%%% of %ld"), (int)pcnt, cl);
gtk_progress_set_format_string(info->progress, text);
g_free(text);
gtk_progress_set_activity_mode(info->progress, FALSE);
@@ -172,7 +172,7 @@
int *raw_read = input ? (int *)input : NULL;

if (b_read > 0)
- text = g_strdup_printf(_("Read %d bytes"), b_read);
+ text = g_strdup_printf(_("Read %ld bytes"), b_read);
else if (raw_read && *raw_read > 0)
text = g_strdup_printf(_("Read %d bytes"), *raw_read);
else
@@ -191,7 +191,7 @@
long b_write = HTRequest_bodyWritten(request);
gfloat pcnt = (double)b_write/cl;

- text = g_strdup_printf(_("Writing %d%%%% of %l"), (int)pcnt, cl);
+ text = g_strdup_printf(_("Writing %d%%%% of %ld"), (int)pcnt, cl);
gtk_progress_set_format_string(info->progress, text);
g_free(text);
gtk_progress_set_activity_mode(info->progress, FALSE);
@@ -201,7 +201,7 @@
int *raw_write = input ? (int *)input : NULL;

if (b_write > 0)
- text = g_strdup_printf(_("Writing %d bytes"), b_write);
+ text = g_strdup_printf(_("Writing %ld bytes"), b_write);
else if (raw_write && *raw_write > 0)
text = g_strdup_printf(_("Writing %d bytes"), *raw_write);
else