gconf2 stable port information

Package: gconf2
Version: 2.20.1
Revision: 1
Depends: <<
%N-shlibs (>= %v-%r),
atk1-shlibs (>= 1.20.0-1),
glib2-shlibs (>= 2.14.0-1),
gtk+2-shlibs (>= 2.12.0-1),
libgettext3-shlibs,
libiconv,
libxml2-shlibs (>= 2.6.30-1),
orbit2 (>= 2.14.9-1),
pango1-xft2-ft219-shlibs (>= 1.18.4-4),
x11-shlibs
<<
BuildDepends: <<
atk1 (>= 1.20.0-1),
cairo (>= 1.6-1),
expat1,
fink (>= 0.24.12-1),
fontconfig2-dev (>= 2.4.1-1),
freetype219 (>= 2.3.5-1),
gettext-bin,
gettext-tools,
glib2-dev (>= 2.14.0-1),
glitz,
gtk+2-dev (>= 2.12.0-1),
gtk-doc (>= 1.8-1),
intltool (>= 0.36.0-1),
orbit2-dev (>= 2.14.9-1),
libgettext3-dev,
libiconv-dev,
libpng3,
libxml2 (>= 2.6.30-1),
pango1-xft2-ft219-dev (>= 1.18.4-4),
pixman (>= 0.10.0-1),
pkgconfig (>= 0.21-1),
x11-dev,
xft2-dev
<<
Source: mirror:gnome:sources/GConf/2.20/GConf-%v.tar.bz2
Source-MD5: 646fc896c6282a8f103365af0fa2e303
PatchFile: %n.patch
PatchFile-MD5: 7c7a541b9a128eb9cfaaed18a02ead83
NoSetCPPFLAGS: true
SetCPPFLAGS: -I%p/lib/pango-ft219/include/pango-1.0 -I%p/lib/pango-ft219/include -I%p/lib/freetype219/include/freetype2 -I%p/lib/freetype219/include -I%p/lib/fontconfig2/include -I%p/include -I%p/include/sys
NoSetLDFLAGS: true
SetLDFLAGS: -L%p/lib/pango-ft219/lib -L%p/lib/freetype219/lib -L%p/lib/fontconfig2/lib
SetLIBS: -L%p/lib
SetCFLAGS: -Os
SetCXXFLAGS: -Os
ConfigureParams: --mandir=%p/share/man --libexecdir=%p/lib/%n --disable-debug --disable-dependency-tracking --enable-gtk-doc --enable-gtk PKG_CONFIG_PATH="%p/lib/pango-ft219/lib/pkgconfig:%p/lib/fontconfig2/lib/pkgconfig:%p/lib/freetype219/lib/pkgconfig:$PKG_CONFIG_PATH" FREETYPE_CONFIG=%p/lib/freetype219/bin/freetype-config
CompileScript: <<
PERL=/usr/bin/perl ac_cv_header_ldap_h=no ac_cv_lib_ldap_ldap_init=no ./configure %c
make
<<
InstallScript: make -j1 install DESTDIR=%d
SplitOff: <<
Package: %N-shlibs
Depends: <<
glib2-shlibs (>= 2.14.0-1),
libgettext3-shlibs,
libiconv,
libxml2-shlibs (>= 2.6.30-1),
orbit2-shlibs (>= 2.14.9-1)
<<
Files: <<
lib/libgconf-2.*.dylib
lib/GConf
share/locale
<<
Shlibs: %p/lib/libgconf-2.4.dylib 6.0.0 %n (>= 2.10.0-1)
DocFiles: AUTHORS COPYING ChangeLog po/ChangeLog:ChangeLog.po NEWS README TODO
<<
SplitOff2: <<
Package: %N-dev
Depends: %N-shlibs (= %v-%r)
BuildDependsOnly: True
Files: <<
include
lib/libgconf-2.*
lib/pkgconfig
share/aclocal
share/gtk-doc
<<
DocFiles: AUTHORS COPYING ChangeLog po/ChangeLog:ChangeLog.po NEWS README TODO
<<
ConfFiles: %p/etc/gconf/2/path
DocFiles: AUTHORS COPYING ChangeLog po/ChangeLog:ChangeLog.po NEWS README TODO
Description: Gnome configuration database system
DescUsage: <<
Fink packages that install .schemas files must disable their gconf
schemas installation (gconftool-2 calls) during build time: modern
./configure scripts usually have a --disable-schemas-install flag.
They then must list all of the schemas files as ConfFiles and add
gconftool-2 calls in PostInstallScript to install each one.

If a package has foo.schemas and bar.schemas, a typical .info might
contain:

ConfigureParams: --disable-schemas-install
ConfFiles: <<
%p/etc/gconf/schemas/foo.schemas
%p/etc/gconf/schemas/bar.schemas
<<
PostInstScript: <<
if [ configure = "$1" ]; then
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
export schemadir=%p/etc/gconf/schemas
gconftool-2 --makefile-install-rule $schemadir/foo.schemas >/dev/null
gconftool-2 --makefile-install-rule $schemadir/bar.schemas >/dev/null
endif
<<
<<
DescPort: <<
Patched gconf_get_lock_or_current_holder() to call sync() after
ior was written in lockfile.
<<
DescPackaging: <<
Disabling ldap/sasl so we don't have to be in section:crypto

gconf.h may include popt.h if it exists, but does nothing with
it and there is no use of libpopt, so no reason to depend on
the popt packages
<<
License: LGPL
Maintainer: The Gnome Core Team
Homepage: http://www.gnome.org/

gconf2 stable port .patch

diff -Nurd -x'*~' GConf-2.14.0.orig/gconf/gconf-internals.c GConf-2.14.0/gconf/gconf-internals.c
--- GConf-2.14.0.orig/gconf/gconf-internals.c 2006-01-03 11:36:30.000000000 -0500
+++ GConf-2.14.0/gconf/gconf-internals.c 2006-07-10 22:30:33.000000000 -0400
@@ -2685,6 +2685,9 @@
}
}

+ /* needed on Darwin */
+ fsync (lock->lock_fd);
+
return lock;
}

diff -Nurd -x'*~' GConf-2.14.0.orig/ltmain.sh GConf-2.14.0/ltmain.sh
--- GConf-2.14.0.orig/ltmain.sh 2006-03-11 13:49:04.000000000 -0500
+++ GConf-2.14.0/ltmain.sh 2006-07-10 22:29:55.000000000 -0400
@@ -4023,6 +4023,11 @@
eval test_cmds=\"$archive_expsym_cmds\"
cmds=$archive_expsym_cmds
else
+ if test "x$verstring" = "x0.0"; then
+ tmp_verstring=
+ else
+ tmp_verstring="$verstring"
+ fi
eval test_cmds=\"$archive_cmds\"
cmds=$archive_cmds
fi

gconf2 _unstable_ port information

Package: gconf2
Version: 2.20.1
Revision: 1
Depends: <<
%N-shlibs (>= %v-%r),
atk1-shlibs (>= 1.20.0-1),
glib2-shlibs (>= 2.14.0-1),
gtk+2-shlibs (>= 2.12.0-1),
libgettext3-shlibs,
libiconv,
libxml2-shlibs (>= 2.6.30-1),
orbit2 (>= 2.14.9-1),
pango1-xft2-ft219-shlibs (>= 1.18.4-4),
x11-shlibs
<<
BuildDepends: <<
atk1 (>= 1.20.0-1),
cairo (>= 1.6-1),
expat1,
fink (>= 0.24.12-1),
fontconfig2-dev (>= 2.4.1-1),
freetype219 (>= 2.3.5-1),
gettext-bin,
gettext-tools,
glib2-dev (>= 2.14.0-1),
glitz,
gtk+2-dev (>= 2.12.0-1),
gtk-doc (>= 1.8-1),
intltool (>= 0.36.0-1),
orbit2-dev (>= 2.14.9-1),
libgettext3-dev,
libiconv-dev,
libpng3,
libxml2 (>= 2.6.30-1),
pango1-xft2-ft219-dev (>= 1.18.4-4),
pixman (>= 0.10.0-1),
pkgconfig (>= 0.21-1),
x11-dev,
xft2-dev
<<
Source: mirror:gnome:sources/GConf/2.20/GConf-%v.tar.bz2
Source-MD5: 646fc896c6282a8f103365af0fa2e303
PatchFile: %n.patch
PatchFile-MD5: 7c7a541b9a128eb9cfaaed18a02ead83
NoSetCPPFLAGS: true
SetCPPFLAGS: -I%p/lib/pango-ft219/include/pango-1.0 -I%p/lib/pango-ft219/include -I%p/lib/freetype219/include/freetype2 -I%p/lib/freetype219/include -I%p/lib/fontconfig2/include -I%p/include -I%p/include/sys
NoSetLDFLAGS: true
SetLDFLAGS: -L%p/lib/pango-ft219/lib -L%p/lib/freetype219/lib -L%p/lib/fontconfig2/lib
SetLIBS: -L%p/lib
SetCFLAGS: -Os
SetCXXFLAGS: -Os
ConfigureParams: --mandir=%p/share/man --libexecdir=%p/lib/%n --disable-debug --disable-dependency-tracking --enable-gtk-doc --enable-gtk PKG_CONFIG_PATH="%p/lib/pango-ft219/lib/pkgconfig:%p/lib/fontconfig2/lib/pkgconfig:%p/lib/freetype219/lib/pkgconfig:$PKG_CONFIG_PATH" FREETYPE_CONFIG=%p/lib/freetype219/bin/freetype-config
CompileScript: <<
PERL=/usr/bin/perl ac_cv_header_ldap_h=no ac_cv_lib_ldap_ldap_init=no ./configure %c
make
<<
InstallScript: make -j1 install DESTDIR=%d
SplitOff: <<
Package: %N-shlibs
Depends: <<
glib2-shlibs (>= 2.14.0-1),
libgettext3-shlibs,
libiconv,
libxml2-shlibs (>= 2.6.30-1),
orbit2-shlibs (>= 2.14.9-1)
<<
Files: <<
lib/libgconf-2.*.dylib
lib/GConf
share/locale
<<
Shlibs: %p/lib/libgconf-2.4.dylib 6.0.0 %n (>= 2.10.0-1)
DocFiles: AUTHORS COPYING ChangeLog po/ChangeLog:ChangeLog.po NEWS README TODO
<<
SplitOff2: <<
Package: %N-dev
Depends: %N-shlibs (= %v-%r)
BuildDependsOnly: True
Files: <<
include
lib/libgconf-2.*
lib/pkgconfig
share/aclocal
share/gtk-doc
<<
DocFiles: AUTHORS COPYING ChangeLog po/ChangeLog:ChangeLog.po NEWS README TODO
<<
ConfFiles: %p/etc/gconf/2/path
DocFiles: AUTHORS COPYING ChangeLog po/ChangeLog:ChangeLog.po NEWS README TODO
Description: Gnome configuration database system
DescUsage: <<
Fink packages that install .schemas files must disable their gconf
schemas installation (gconftool-2 calls) during build time: modern
./configure scripts usually have a --disable-schemas-install flag.
They then must list all of the schemas files as ConfFiles and add
gconftool-2 calls in PostInstallScript to install each one.

If a package has foo.schemas and bar.schemas, a typical .info might
contain:

ConfigureParams: --disable-schemas-install
ConfFiles: <<
%p/etc/gconf/schemas/foo.schemas
%p/etc/gconf/schemas/bar.schemas
<<
PostInstScript: <<
if [ configure = "$1" ]; then
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
export schemadir=%p/etc/gconf/schemas
gconftool-2 --makefile-install-rule $schemadir/foo.schemas >/dev/null
gconftool-2 --makefile-install-rule $schemadir/bar.schemas >/dev/null
endif
<<
<<
DescPort: <<
Patched gconf_get_lock_or_current_holder() to call sync() after
ior was written in lockfile.
<<
DescPackaging: <<
Disabling ldap/sasl so we don't have to be in section:crypto

gconf.h may include popt.h if it exists, but does nothing with
it and there is no use of libpopt, so no reason to depend on
the popt packages
<<
License: LGPL
Maintainer: The Gnome Core Team
Homepage: http://www.gnome.org/

gconf2 _unstable_ port .patch

diff -Nurd -x'*~' GConf-2.14.0.orig/gconf/gconf-internals.c GConf-2.14.0/gconf/gconf-internals.c
--- GConf-2.14.0.orig/gconf/gconf-internals.c 2006-01-03 11:36:30.000000000 -0500
+++ GConf-2.14.0/gconf/gconf-internals.c 2006-07-10 22:30:33.000000000 -0400
@@ -2685,6 +2685,9 @@
}
}

+ /* needed on Darwin */
+ fsync (lock->lock_fd);
+
return lock;
}

diff -Nurd -x'*~' GConf-2.14.0.orig/ltmain.sh GConf-2.14.0/ltmain.sh
--- GConf-2.14.0.orig/ltmain.sh 2006-03-11 13:49:04.000000000 -0500
+++ GConf-2.14.0/ltmain.sh 2006-07-10 22:29:55.000000000 -0400
@@ -4023,6 +4023,11 @@
eval test_cmds=\"$archive_expsym_cmds\"
cmds=$archive_expsym_cmds
else
+ if test "x$verstring" = "x0.0"; then
+ tmp_verstring=
+ else
+ tmp_verstring="$verstring"
+ fi
eval test_cmds=\"$archive_cmds\"
cmds=$archive_cmds
fi