glib stable port information

Package: glib
Version: 1.2.10
Revision: 51
BuildDepends: fink (>= 0.24.12-1)
BuildDependsOnly: True
DescPackaging: <<
Uses pkgconfig, but there are no pkgconfig-related dependencies.

Originally packaged by Masanori Sekino.
<<
Depends: glib-shlibs (= %v-%r)
Source: mirror:gnome:sources/%n/1.2/%n-%v.tar.gz
Source-MD5: 6fe30dad87c77b91b632def29dd69ef9
PatchScript: <<
%{default_script}
perl -pi -e 's/HAVE_POLL/NO_POLL_HERE/g' gmain.c
perl -pi -e 's/(AC_DEFUN\()([^[]+)(,)/\1\[\2]\3/' glib.m4
<<
PatchFile: %n.patch
PatchFile-MD5: 7c5c0917d98a72264c1c07d590a314cf
UpdateConfigGuess: true
UpdateLibtool: true
ConfigureParams: --infodir=%p/share/info --mandir=%p/share/man --disable-static
CompileScript: <<
./configure %c
perl -pi.bak -e 's/HAVE_GETPWUID_R/HAVE_NOTHING_IMPORTANT/g' config.h
make
<<
InstallScript: <<
make install DESTDIR=%d
<<
DocFiles: COPYING README AUTHORS NEWS
SplitOff: <<
Package: %N-shlibs
Replaces: glib (<< 1.2.10-4)
Files: lib/libglib-1.2.*.dylib lib/libgmodule-1.2.*.dylib lib/libgthread-1.2.*.dylib
Shlibs: <<
%p/lib/libglib-1.2.0.dylib 1.0.0 %n (>= 1.2.10-8)
%p/lib/libgmodule-1.2.0.dylib 1.0.0 %n (>= 1.2.10-8)
%p/lib/libgthread-1.2.0.dylib 1.0.0 %n (>= 1.2.10-8)
<<
DocFiles: COPYING README AUTHORS NEWS
<<
InfoDocs: glib.info
Description: Common C routines used by Gtk+ and other libs
DescPort: <<
Uses autoconf. Checks the host type - the usual fix. Thread safety to
be checked. Needs dlcompat to enable module loading.
<<
License: LGPL
Homepage: http://www.gtk.org/
Maintainer: None

glib stable port .patch

diff -Naur glib-1.2.10.old/configure glib-1.2.10.new/configure
--- glib-1.2.10.old/configure Fri Mar 16 00:44:01 2001
+++ glib-1.2.10.new/configure Sun Jun 23 07:30:06 2002
@@ -6176,9 +6176,10 @@
#define GLIB_MICRO_VERSION $GLIB_MICRO_VERSION
"

+# Prefer __va_copy, available on both gcc2 and gcc3.
case xyes in
-x$glib_cv_va_copy) glib_vacopy='#define G_VA_COPY va_copy' ;;
x$glib_cv___va_copy) glib_vacopy='#define G_VA_COPY __va_copy' ;;
+x$glib_cv_va_copy) glib_vacopy='#define G_VA_COPY va_copy' ;;
*) glib_vacopy=''
esac

--- glib-1.2.10/gstrfuncs.c.orig 2005-02-14 21:59:58.000000000 +0100
+++ glib-1.2.10/gstrfuncs.c 2005-02-14 22:05:56.000000000 +0100
@@ -867,8 +867,7 @@
/* beware of positional parameters
*/
case '$':
- g_warning (G_GNUC_PRETTY_FUNCTION
- "(): unable to handle positional parameters (%%n$)");
+ g_warning("%s(): unable to handle positional parameters (%%n$)", G_GNUC_PRETTY_FUNCTION);
len += 1024; /* try adding some safety padding */
break;

@@ -1034,8 +1033,7 @@
/* n . dddddddddddddddddddddddd E +- eeee */
conv_len += 1 + 1 + MAX (24, spec.precision) + 1 + 1 + 4;
if (spec.mod_extra_long)
- g_warning (G_GNUC_PRETTY_FUNCTION
- "(): unable to handle long double, collecting double only");
+ g_warning("%s(): unable to handle long double, collecting double only", G_GNUC_PRETTY_FUNCTION);
#ifdef HAVE_LONG_DOUBLE
#error need to implement special handling for long double
#endif
@@ -1077,8 +1075,7 @@
conv_done = TRUE;
if (spec.mod_long)
{
- g_warning (G_GNUC_PRETTY_FUNCTION
- "(): unable to handle wide char strings");
+ g_warning("%s(): unable to handle wide char strings", G_GNUC_PRETTY_FUNCTION);
len += 1024; /* try adding some safety padding */
}
break;
@@ -1108,9 +1105,8 @@
conv_len += format - spec_start;
break;
default:
- g_warning (G_GNUC_PRETTY_FUNCTION
- "(): unable to handle `%c' while parsing format",
- c);
+ g_warning("%s(): unable to handle `%c' while parsing format",
+ G_GNUC_PRETTY_FUNCTION, c);
break;
}
conv_done |= conv_len > 0;

glib _unstable_ port information

Package: glib
Version: 1.2.10
Revision: 51
BuildDepends: fink (>= 0.24.12-1)
BuildDependsOnly: True
DescPackaging: <<
Uses pkgconfig, but there are no pkgconfig-related dependencies.

Originally packaged by Masanori Sekino.
<<
Depends: glib-shlibs (= %v-%r)
Source: mirror:gnome:sources/%n/1.2/%n-%v.tar.gz
Source-MD5: 6fe30dad87c77b91b632def29dd69ef9
PatchScript: <<
%{default_script}
perl -pi -e 's/HAVE_POLL/NO_POLL_HERE/g' gmain.c
perl -pi -e 's/(AC_DEFUN\()([^[]+)(,)/\1\[\2]\3/' glib.m4
<<
PatchFile: %n.patch
PatchFile-MD5: 7c5c0917d98a72264c1c07d590a314cf
UpdateConfigGuess: true
UpdateLibtool: true
ConfigureParams: --infodir=%p/share/info --mandir=%p/share/man --disable-static
CompileScript: <<
./configure %c
perl -pi.bak -e 's/HAVE_GETPWUID_R/HAVE_NOTHING_IMPORTANT/g' config.h
make
<<
InstallScript: <<
make install DESTDIR=%d
<<
DocFiles: COPYING README AUTHORS NEWS
SplitOff: <<
Package: %N-shlibs
Replaces: glib (<< 1.2.10-4)
Files: lib/libglib-1.2.*.dylib lib/libgmodule-1.2.*.dylib lib/libgthread-1.2.*.dylib
Shlibs: <<
%p/lib/libglib-1.2.0.dylib 1.0.0 %n (>= 1.2.10-8)
%p/lib/libgmodule-1.2.0.dylib 1.0.0 %n (>= 1.2.10-8)
%p/lib/libgthread-1.2.0.dylib 1.0.0 %n (>= 1.2.10-8)
<<
DocFiles: COPYING README AUTHORS NEWS
<<
InfoDocs: glib.info
Description: Common C routines used by Gtk+ and other libs
DescPort: <<
Uses autoconf. Checks the host type - the usual fix. Thread safety to
be checked. Needs dlcompat to enable module loading.
<<
License: LGPL
Homepage: http://www.gtk.org/
Maintainer: None

glib _unstable_ port .patch

diff -Naur glib-1.2.10.old/configure glib-1.2.10.new/configure
--- glib-1.2.10.old/configure Fri Mar 16 00:44:01 2001
+++ glib-1.2.10.new/configure Sun Jun 23 07:30:06 2002
@@ -6176,9 +6176,10 @@
#define GLIB_MICRO_VERSION $GLIB_MICRO_VERSION
"

+# Prefer __va_copy, available on both gcc2 and gcc3.
case xyes in
-x$glib_cv_va_copy) glib_vacopy='#define G_VA_COPY va_copy' ;;
x$glib_cv___va_copy) glib_vacopy='#define G_VA_COPY __va_copy' ;;
+x$glib_cv_va_copy) glib_vacopy='#define G_VA_COPY va_copy' ;;
*) glib_vacopy=''
esac

--- glib-1.2.10/gstrfuncs.c.orig 2005-02-14 21:59:58.000000000 +0100
+++ glib-1.2.10/gstrfuncs.c 2005-02-14 22:05:56.000000000 +0100
@@ -867,8 +867,7 @@
/* beware of positional parameters
*/
case '$':
- g_warning (G_GNUC_PRETTY_FUNCTION
- "(): unable to handle positional parameters (%%n$)");
+ g_warning("%s(): unable to handle positional parameters (%%n$)", G_GNUC_PRETTY_FUNCTION);
len += 1024; /* try adding some safety padding */
break;

@@ -1034,8 +1033,7 @@
/* n . dddddddddddddddddddddddd E +- eeee */
conv_len += 1 + 1 + MAX (24, spec.precision) + 1 + 1 + 4;
if (spec.mod_extra_long)
- g_warning (G_GNUC_PRETTY_FUNCTION
- "(): unable to handle long double, collecting double only");
+ g_warning("%s(): unable to handle long double, collecting double only", G_GNUC_PRETTY_FUNCTION);
#ifdef HAVE_LONG_DOUBLE
#error need to implement special handling for long double
#endif
@@ -1077,8 +1075,7 @@
conv_done = TRUE;
if (spec.mod_long)
{
- g_warning (G_GNUC_PRETTY_FUNCTION
- "(): unable to handle wide char strings");
+ g_warning("%s(): unable to handle wide char strings", G_GNUC_PRETTY_FUNCTION);
len += 1024; /* try adding some safety padding */
}
break;
@@ -1108,9 +1105,8 @@
conv_len += format - spec_start;
break;
default:
- g_warning (G_GNUC_PRETTY_FUNCTION
- "(): unable to handle `%c' while parsing format",
- c);
+ g_warning("%s(): unable to handle `%c' while parsing format",
+ G_GNUC_PRETTY_FUNCTION, c);
break;
}
conv_done |= conv_len > 0;