the Fink project is an effort to port
popular Unix programs to Mac OS X
Package: control-center
Version: 1.4.0.5
Revision: 1022
Source: mirror:gnome:sources/%n/1.4/%n-%v.tar.bz2
Source-MD5: 63e731f7c9f5fca354de5de4f881e952
PatchFile: %n-%v.patch
PatchFile-MD5: c2bc5ac45ba2a770b818b3f859407402
PatchScript: <<
sed 's|
perl -pi -e 's,-undefined suppress,-undefined dynamic_lookup,' configure
<<
Depends: %N-shlibs (= %v-%r), libpng3-shlibs, rarian-compat
BuildDepends: gdk-pixbuf (>= 0.18.0-12), esound, audiofile, db3 (>= 3.3.11-1027), glib, gtk+ (>= 1.2.10-20), libjpeg, libpng3, libtiff, netpbm, orbit-dev (>= 0.5.17-15), readline (>= 4.3-1028), imlib (>= 1.9.14-14), gconf-dev (>= 1.0.9-21), gnome-libs-dev (>= 1.4.2-19), oaf-dev (>= 0.6.10-22), libxml, popt, gnome-vfs-dev (>= 1.0.5-29) | gnome-vfs-ssl-dev (>= 1.0.5-29), gettext-dev, gettext-bin, gettext-tools, giflib | libungif, libiconv-dev, fink (>= 0.24.12-1), xmkmf (>= 1.0.2-3)
UpdatePoMakefile: true
ConfigureParams: --mandir=%p/share/man
SetCFLAGS: -O2
SetLDFLAGS: -L/usr/X11R6/lib
CompileScript: <<
#!/bin/sh -ev
export PATH=%p/lib/xmkmf/bin:$PATH
export IMAKEINCLUDE=-I%p/lib/X11/config
./configure %c
make
<<
InstallScript: <<
#!/bin/sh -ev
export PATH=%p/lib/xmkmf/bin:$PATH
export IMAKEINCLUDE=-I%p/lib/X11/config
make install DESTDIR=%d
<<
SplitOff: <<
Package: %N-shlibs
Depends: gnome-libs (>= 1.4.2-19), gdk-pixbuf-shlibs (>= 0.18.0-12), esound-bin, gnome-vfs (>= 1.0.5-29) | gnome-vfs-ssl (>= 1.0.5-29)
Replaces: %N (<= 1.4.0.4-2)
Files: lib/libcapplet.*.dylib
Shlibs: %p/lib/libcapplet.0.dylib 1.0.0 %n (>= 1.4.0.5-3)
DocFiles: AUTHORS COPYING ChangeLog NEWS README
<<
SplitOff2: <<
Package: %N-dev
BuildDependsOnly: True
Depends: %N-shlibs (= %v-%r)
Conflicts: %N2-dev
Replaces: %N2-dev, %N (<= 1.4.0.5-3)
Files: include lib/*.dylib lib/*.a lib/*.la lib/*.sh
DocFiles: AUTHORS COPYING ChangeLog NEWS README
<<
DocFiles: AUTHORS COPYING ChangeLog NEWS README
PostInstScript: <<
if [ configure = "$1" ]; then
scrollkeeper-update
fi
<<
PostRmScript: <<
if [ remove = "$1" ]; then
scrollkeeper-update
fi
<<
Description: GNOME Control Center
DescDetail: <<
The GNOME Control Center is the central place to set user
preferences. Other packages can provide plugins for their own
settings.
<<
DescPort: <<
The file-types applet uses oaf directly, but doesn't link against it
explicitly. The pedantic linker in Mac OS X 10.1 doesn't like
this. The quick fix is to get the appropriate flags on the fly from
oaf-config.
This patch does:
- include sys/types.h before dirent.h
- display fink distribution version in splash screen.
<<
License: GPL
Maintainer: None
DescPackaging: <<
Originally packaged by Masanori Sekino.
<<
Homepage: http://www.gnome.org/
diff -Naur control-center-1.4.0.5.old/capplets/file-types/Makefile.in control-center-1.4.0.5.new/capplets/file-types/Makefile.in
--- control-center-1.4.0.5.old/capplets/file-types/Makefile.in Sun Apr 7 00:52:06 2002
+++ control-center-1.4.0.5.new/capplets/file-types/Makefile.in Tue Jan 28 23:15:51 2003
@@ -188,6 +188,7 @@
$(INTLLIBS) \
$(VFS_LIBS) \
$(PIXBUF_LIBS) \
+ $(GNOMEUI_LIBS) \
$/libuuid/libuuid.a \
$(NULL)
diff -Naur control-center-1.4.0.5.old/capplets/file-types/file-types-capplet.c control-center-1.4.0.5.new/capplets/file-types/file-types-capplet.c
--- control-center-1.4.0.5.old/capplets/file-types/file-types-capplet.c Fri Oct 26 18:00:07 2001
+++ control-center-1.4.0.5.new/capplets/file-types/file-types-capplet.c Tue Jan 28 23:15:51 2003
@@ -27,9 +27,9 @@
#include
#include
+#include
#include
#include
-#include
#include
#include
diff -Naur control-center-1.4.0.5.old/configure control-center-1.4.0.5.new/configure
--- control-center-1.4.0.5.old/configure Sun Apr 7 00:40:28 2002
+++ control-center-1.4.0.5.new/configure Tue Jan 28 23:15:51 2003
@@ -3934,11 +3934,11 @@
;;
darwin* | rhapsody*)
- allow_undefined_flag='-undefined suppress'
+ allow_undefined_flag='-undefined suppress -flat_namespace'
# FIXME: Relying on posixy $() will cause problems for
# cross-compilation, but unfortunately the echo tests do not
# yet detect zsh echo's removal of \ escapes.
- archive_cmds='$CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linkopts -install_name $rpath/$soname $(test -n "$verstring" -a x$verstring != x0.0 && echo $verstring)'
+ archive_cmds='$CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linkopts -install_name $rpath/$soname $tmp_verstring'
# We need to add '_' to the symbols in $export_symbols first
#archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols'
hardcode_direct=yes
diff -Naur control-center-1.4.0.5.old/control-center/splash.c control-center-1.4.0.5.new/control-center/splash.c
--- control-center-1.4.0.5.old/control-center/splash.c Fri Oct 26 18:00:08 2001
+++ control-center-1.4.0.5.new/control-center/splash.c Tue Jan 28 23:15:51 2003
@@ -105,7 +105,27 @@
static void get_linux_info()
{
/* Identify distribution (really this could be compiled in) */
- if (g_file_exists("/etc/debian_version")) {
+ if (g_file_exists("
+ FILE *f;
+ gchar buf[80];
+
+ f = fopen("
+ if (f) {
+ fgets(buf, 79, f);
+ info[si_distribution] = g_strdup_printf("Fink %s", buf);
+ fclose(f);
+ }
+ } else if (g_file_exists("
+ FILE *f;
+ gchar buf[80];
+
+ f = fopen("
+ if (f) {
+ fgets(buf, 79, f);
+ info[si_distribution] = g_strdup_printf("Fink %s", buf);
+ fclose(f);
+ }
+ } else if (g_file_exists("/etc/debian_version")) {
FILE * f;
gchar buf[20];
diff -Naur control-center-1.4.0.5.old/ltmain.sh control-center-1.4.0.5.new/ltmain.sh
--- control-center-1.4.0.5.old/ltmain.sh Sun Apr 7 00:40:22 2002
+++ control-center-1.4.0.5.new/ltmain.sh Tue Jan 28 23:15:51 2003
@@ -2862,6 +2862,11 @@
if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
eval cmds=\"$archive_expsym_cmds\"
else
+ if test "x$verstring" = "x0.0"; then
+ tmp_verstring=
+ else
+ tmp_verstring="$verstring"
+ fi
eval cmds=\"$archive_cmds\"
fi
IFS="${IFS= }"; save_ifs="$IFS"; IFS='~'
diff -Naur control-center-1.4.0.5.old/omf-install/Makefile.in control-center-1.4.0.5.new/omf-install/Makefile.in
--- control-center-1.4.0.5.old/omf-install/Makefile.in Sun Apr 7 00:52:12 2002
+++ control-center-1.4.0.5.new/omf-install/Makefile.in Tue Jan 28 23:16:18 2003
@@ -274,7 +274,6 @@
-for file in $(srcdir)/*.omf; do \
$(INSTALL_DATA) $(srcdir)/$$file $(DESTDIR)$(omf_dest_dir); \
done
- -scrollkeeper-update -p $(scrollkeeper_localstate_dir)
uninstall-local:
-for file in $(srcdir)/*.omf; do \
Package: control-center
Version: 1.4.0.5
Revision: 1022
Source: mirror:gnome:sources/%n/1.4/%n-%v.tar.bz2
Source-MD5: 63e731f7c9f5fca354de5de4f881e952
PatchFile: %n-%v.patch
PatchFile-MD5: c2bc5ac45ba2a770b818b3f859407402
PatchScript: <<
sed 's|
perl -pi -e 's,-undefined suppress,-undefined dynamic_lookup,' configure
<<
Depends: %N-shlibs (= %v-%r), libpng3-shlibs, rarian-compat
BuildDepends: gdk-pixbuf (>= 0.18.0-12), esound, audiofile, db3 (>= 3.3.11-1027), glib, gtk+ (>= 1.2.10-20), libjpeg, libpng3, libtiff, netpbm, orbit-dev (>= 0.5.17-15), readline (>= 4.3-1028), imlib (>= 1.9.14-14), gconf-dev (>= 1.0.9-21), gnome-libs-dev (>= 1.4.2-19), oaf-dev (>= 0.6.10-22), libxml, popt, gnome-vfs-dev (>= 1.0.5-29) | gnome-vfs-ssl-dev (>= 1.0.5-29), gettext-dev, gettext-bin, gettext-tools, giflib | libungif, libiconv-dev, fink (>= 0.24.12-1), xmkmf (>= 1.0.2-3)
UpdatePoMakefile: true
ConfigureParams: --mandir=%p/share/man
SetCFLAGS: -O2
SetLDFLAGS: -L/usr/X11R6/lib
CompileScript: <<
#!/bin/sh -ev
export PATH=%p/lib/xmkmf/bin:$PATH
export IMAKEINCLUDE=-I%p/lib/X11/config
./configure %c
make
<<
InstallScript: <<
#!/bin/sh -ev
export PATH=%p/lib/xmkmf/bin:$PATH
export IMAKEINCLUDE=-I%p/lib/X11/config
make install DESTDIR=%d
<<
SplitOff: <<
Package: %N-shlibs
Depends: gnome-libs (>= 1.4.2-19), gdk-pixbuf-shlibs (>= 0.18.0-12), esound-bin, gnome-vfs (>= 1.0.5-29) | gnome-vfs-ssl (>= 1.0.5-29)
Replaces: %N (<= 1.4.0.4-2)
Files: lib/libcapplet.*.dylib
Shlibs: %p/lib/libcapplet.0.dylib 1.0.0 %n (>= 1.4.0.5-3)
DocFiles: AUTHORS COPYING ChangeLog NEWS README
<<
SplitOff2: <<
Package: %N-dev
BuildDependsOnly: True
Depends: %N-shlibs (= %v-%r)
Conflicts: %N2-dev
Replaces: %N2-dev, %N (<= 1.4.0.5-3)
Files: include lib/*.dylib lib/*.a lib/*.la lib/*.sh
DocFiles: AUTHORS COPYING ChangeLog NEWS README
<<
DocFiles: AUTHORS COPYING ChangeLog NEWS README
PostInstScript: <<
if [ configure = "$1" ]; then
scrollkeeper-update
fi
<<
PostRmScript: <<
if [ remove = "$1" ]; then
scrollkeeper-update
fi
<<
Description: GNOME Control Center
DescDetail: <<
The GNOME Control Center is the central place to set user
preferences. Other packages can provide plugins for their own
settings.
<<
DescPort: <<
The file-types applet uses oaf directly, but doesn't link against it
explicitly. The pedantic linker in Mac OS X 10.1 doesn't like
this. The quick fix is to get the appropriate flags on the fly from
oaf-config.
This patch does:
- include sys/types.h before dirent.h
- display fink distribution version in splash screen.
<<
License: GPL
Maintainer: None
DescPackaging: <<
Originally packaged by Masanori Sekino.
<<
Homepage: http://www.gnome.org/
diff -Naur control-center-1.4.0.5.old/capplets/file-types/Makefile.in control-center-1.4.0.5.new/capplets/file-types/Makefile.in
--- control-center-1.4.0.5.old/capplets/file-types/Makefile.in Sun Apr 7 00:52:06 2002
+++ control-center-1.4.0.5.new/capplets/file-types/Makefile.in Tue Jan 28 23:15:51 2003
@@ -188,6 +188,7 @@
$(INTLLIBS) \
$(VFS_LIBS) \
$(PIXBUF_LIBS) \
+ $(GNOMEUI_LIBS) \
$/libuuid/libuuid.a \
$(NULL)
diff -Naur control-center-1.4.0.5.old/capplets/file-types/file-types-capplet.c control-center-1.4.0.5.new/capplets/file-types/file-types-capplet.c
--- control-center-1.4.0.5.old/capplets/file-types/file-types-capplet.c Fri Oct 26 18:00:07 2001
+++ control-center-1.4.0.5.new/capplets/file-types/file-types-capplet.c Tue Jan 28 23:15:51 2003
@@ -27,9 +27,9 @@
#include
#include
+#include
#include
#include
-#include
#include
#include
diff -Naur control-center-1.4.0.5.old/configure control-center-1.4.0.5.new/configure
--- control-center-1.4.0.5.old/configure Sun Apr 7 00:40:28 2002
+++ control-center-1.4.0.5.new/configure Tue Jan 28 23:15:51 2003
@@ -3934,11 +3934,11 @@
;;
darwin* | rhapsody*)
- allow_undefined_flag='-undefined suppress'
+ allow_undefined_flag='-undefined suppress -flat_namespace'
# FIXME: Relying on posixy $() will cause problems for
# cross-compilation, but unfortunately the echo tests do not
# yet detect zsh echo's removal of \ escapes.
- archive_cmds='$CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linkopts -install_name $rpath/$soname $(test -n "$verstring" -a x$verstring != x0.0 && echo $verstring)'
+ archive_cmds='$CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linkopts -install_name $rpath/$soname $tmp_verstring'
# We need to add '_' to the symbols in $export_symbols first
#archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols'
hardcode_direct=yes
diff -Naur control-center-1.4.0.5.old/control-center/splash.c control-center-1.4.0.5.new/control-center/splash.c
--- control-center-1.4.0.5.old/control-center/splash.c Fri Oct 26 18:00:08 2001
+++ control-center-1.4.0.5.new/control-center/splash.c Tue Jan 28 23:15:51 2003
@@ -105,7 +105,27 @@
static void get_linux_info()
{
/* Identify distribution (really this could be compiled in) */
- if (g_file_exists("/etc/debian_version")) {
+ if (g_file_exists("
+ FILE *f;
+ gchar buf[80];
+
+ f = fopen("
+ if (f) {
+ fgets(buf, 79, f);
+ info[si_distribution] = g_strdup_printf("Fink %s", buf);
+ fclose(f);
+ }
+ } else if (g_file_exists("
+ FILE *f;
+ gchar buf[80];
+
+ f = fopen("
+ if (f) {
+ fgets(buf, 79, f);
+ info[si_distribution] = g_strdup_printf("Fink %s", buf);
+ fclose(f);
+ }
+ } else if (g_file_exists("/etc/debian_version")) {
FILE * f;
gchar buf[20];
diff -Naur control-center-1.4.0.5.old/ltmain.sh control-center-1.4.0.5.new/ltmain.sh
--- control-center-1.4.0.5.old/ltmain.sh Sun Apr 7 00:40:22 2002
+++ control-center-1.4.0.5.new/ltmain.sh Tue Jan 28 23:15:51 2003
@@ -2862,6 +2862,11 @@
if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
eval cmds=\"$archive_expsym_cmds\"
else
+ if test "x$verstring" = "x0.0"; then
+ tmp_verstring=
+ else
+ tmp_verstring="$verstring"
+ fi
eval cmds=\"$archive_cmds\"
fi
IFS="${IFS= }"; save_ifs="$IFS"; IFS='~'
diff -Naur control-center-1.4.0.5.old/omf-install/Makefile.in control-center-1.4.0.5.new/omf-install/Makefile.in
--- control-center-1.4.0.5.old/omf-install/Makefile.in Sun Apr 7 00:52:12 2002
+++ control-center-1.4.0.5.new/omf-install/Makefile.in Tue Jan 28 23:16:18 2003
@@ -274,7 +274,6 @@
-for file in $(srcdir)/*.omf; do \
$(INSTALL_DATA) $(srcdir)/$$file $(DESTDIR)$(omf_dest_dir); \
done
- -scrollkeeper-update -p $(scrollkeeper_localstate_dir)
uninstall-local:
-for file in $(srcdir)/*.omf; do \