the Fink project is an effort to port
popular Unix programs to Mac OS X
Package: control-center
Version: 2.28.1
Revision: 6
Depends: <<
%N2-shlibs (>= %v-%r),
atk1-shlibs (>= 1.28.0-1),
cairo-shlibs (>= 1.8.8-3),
dbus-glib1.2-shlibs,
dbus1.3-shlibs,
desktop-file-utils,
dpkg-base-files,
fontconfig2-shlibs (>= 2.8.0-4),
freetype219-shlibs (>= 2.3.12-1),
gconf2 (>= 2.28.0-1),
gconf2-shlibs (>= 2.28.0-1),
glib2-shlibs (>= 2.22.0-1),
gnome-desktop (>= 2.28.0-1),
gnome-desktop2.11-shlibs (>= 2.28.0-1),
gnome-icon-theme (>= 2.28.0-1),
gnome-menus (>= 2.28.0-1),
gnome-menus2-shlibs (>= 2.28.0-1),
gnome-settings-daemon (>= 2.28.0-1),
gtk+2 (>= 2.18.0-1),
libcanberra-gtk0-shlibs (>= 0.23-1),
libcanberra0-shlibs (>= 0.23-1),
libgettext8-shlibs,
libgnomekbd2-4-shlibs,
librsvg2-shlibs (>= 2.26.0-2),
libunique-shlibs,
libxklavier16-shlibs,
libxml2-shlibs (>= 2.6.30-1),
metacity-shlibs (>= 2.28.0-1),
pango1-xft2-ft219-shlibs (>= 1.24.5-4),
startup-notification-shlibs (>= 0.8-1),
rarian-compat,
shared-mime-info,
x11,
xdg-base,
xft2-shlibs (>= 2.1.14-1),
xscreensaver
<<
BuildDepends: <<
atk1 (>= 1.28.0-1),
cairo (>= 1.8.8-3),
dbus-glib1.2-dev,
dbus1.3-dev,
docbook-bundle,
expat1,
fink (>= 0.24.12-1),
fink-package-precedence,
fontconfig2-dev (>= 2.8.0-4),
freetype219 (>= 2.3.12-1),
gconf2-dev (>= 2.28.0-1),
gettext-bin,
gettext-tools (>= 0.17),
glib2-dev (>= 2.22.0-1),
glitz,
gnome-desktop2.11-dev (>= 2.28.0-1),
gnome-doc-utils (>= 0.18.1-1),
gnome-menus2-dev (>= 2.28.0-1),
gnome-settings-daemon-dev (>= 2.28.0-1),
gtk+2-dev (>= 2.18.0-1),
intltool40,
libcanberra-gtk0 (>= 0.23-1),
libcanberra0 (>= 0.23-1),
libgettext8-dev,
libgnomekbd2-4-dev,
libiconv-dev,
librsvg2 (>= 2.26.0-2),
libunique,
libxklavier16,
libxml2 (>= 2.6.30-1),
metacity-dev (>= 2.28.0-1),
pango1-xft2-ft219-dev (>= 1.24.5-4),
pixman (>= 0.16.0-1),
pkgconfig (>= 0.23),
popt,
startup-notification-dev (>= 0.8-1),
x11-dev,
xft2-dev (>= 2.1.14-1)
<<
Replaces: %N2-shlibs
Source: mirror:gnome:sources/gnome-control-center/2.28/gnome-control-center-%v.tar.bz2
Source-MD5: a37a1b5ff4cfce45baef0cf31126d380
PatchFile: %n.patch
PatchFile-MD5: e38c2ca80a712b5e19f8890149b89508
PatchScript: <<
#!/bin/sh -ev
%{default_script}
perl -pi -e 's,(XRRUpdateConfiguration),${1}99999_FORCE_NONDETECT,' configure
perl -pi -e 's/(xir >=) 1.2/\1 99999.FORCE.NONDETECT/' configure
# recode ./some/path/AUTHORS as AUTHORSs/AUTHORS.some.path
mkdir AUTHORSs
for cl in `find . -name AUTHORS` ; do
cp $cl AUTHORSs/`echo $cl | sed 's/^\.\(.*\)\/\(AUTHORS\)/\2\1/;s/\//./g'`
done
# recode ./some/path/ChangeLog as ChangeLogs/ChangeLog.some.path
mkdir ChangeLogs
for cl in `find . -name ChangeLog` ; do
cp $cl ChangeLogs/`echo $cl | sed 's/^\.\(.*\)\/\(ChangeLog\)/\2\1/;s/\//./g'`
done
perl -pi -e 's/(\$COMMON_MODULES)(?! )/\1 gthread-2.0/' configure
<<
SetCPPFLAGS: -D__DARWIN_UNIX03=1 -I%p/lib/fontconfig2/include
SetLDFLAGS: -L%p/lib/fontconfig2/lib
SetCFLAGS: -Os -pipe -g
ConfigureParams: --enable-gstreamer=0.10 --disable-hal --mandir=%p/share/man --libexecdir=%p/lib/%n --disable-scrollkeeper --disable-schemas-install --disable-update-mimedb --enable-dependency-tracking --disable-static PKG_CONFIG_PATH="%p/lib/glib-2.0/pkgconfig-strict:%p/lib/xft2/lib/pkgconfig:%p/lib/fontconfig2/lib/pkgconfig:$PKG_CONFIG_PATH" F77=no
CompileScript: <<
./configure %c
make
fink-package-precedence --prohibit-bdep %n2-dev .
<<
InstallScript: make -j1 install DESTDIR="%d"
DocFiles: AUTHORSs/* COPYING ChangeLogs/* NEWS README TODO
PostInstScript: <<
if [ configure = "$1" ]; then
scrollkeeper-update -q
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
gconftool-2 --makefile-install-rule %p/etc/gconf/schemas/control-center.schemas >/dev/null
gconftool-2 --makefile-install-rule %p/etc/gconf/schemas/fontilus.schemas >/dev/null
fi
[ -x %p/bin/update-mime-database ] && update-mime-database %p/share/mime > /dev/null 2>&1 || :
gtk-update-icon-cache -f -t %p/share/icons/hicolor || :
<<
PostRmScript: <<
if [ remove != "$1" ]; then
scrollkeeper-update -q
fi
[ -x %p/bin/update-mime-database ] && update-mime-database %p/share/mime > /dev/null 2>&1 || :
gtk-update-icon-cache -f -t %p/share/icons/hicolor || :
<<
ConfFiles: <<
%p/etc/gconf/schemas/control-center.schemas
%p/etc/gconf/schemas/fontilus.schemas
<<
SplitOff: <<
Package: %N2-shlibs
Depends: <<
atk1-shlibs (>= 1.28.0-1),
cairo-shlibs (>= 1.8.8-3),
fontconfig2-shlibs (>= 2.8.0-4),
freetype219-shlibs (>= 2.3.12-1),
gconf2-shlibs (>= 2.28.0-1),
glib2-shlibs (>= 2.22.0-1),
gnome-base,
gnome-desktop2.11-shlibs (>= 2.28.0-1),
gnome-menus2-shlibs (>= 2.28.0-1),
gtk+2 (>= 2.18.0-1),
libgettext8-shlibs,
libxml2-shlibs (>= 2.6.30-1),
pango1-xft2-ft219-shlibs (>= 1.24.5-4),
startup-notification-shlibs (>= 0.8-1),
x11
<<
Replaces: %N
Files: lib/libgnome-window-settings.*.dylib
InstallScript: mkdir -p %i/lib/window-manager-settings
Shlibs: %p/lib/libgnome-window-settings.1.dylib 2.0.0 %n (>= 2.20.3-1)
DocFiles: AUTHORSs/* COPYING ChangeLogs/* NEWS README TODO
<<
SplitOff2: <<
Package: %N2-dev
BuildDependsOnly: True
Depends: %N (= %v-%r), %N2-shlibs (= %v-%r)
Conflicts: %N-dev
Replaces: %N-dev, %N
Files: <<
include
lib/libgnome-window-settings.*
lib/pkgconfig
<<
DocFiles: AUTHORSs/* COPYING ChangeLogs/* NEWS README TODO
<<
Description: The Gnome control center
DescDetail: <<
Control-center is a configuration tool for easily
setting up your GNOME environment.
GNOME is the GNU Network Object Model Environment. That's
a fancy name, but really GNOME is a nice GUI desktop
environment.
It's a powerful, easy to configure environment which
helps to make your computer easy to use.
Note: theme thumbnails are disabled.
<<
License: GPL
Maintainer: The Gnome Core Team
Homepage: http://www.gnome.org/
DescPackaging: <<
Had to add F77=no to configure to get around a weird libtool thing
when "fort77" is installed.
Old version of %N displaced a gnome-icon-theme file, so now %N
Depends on that package so that user doesn't have that file become
missing during %N upgrade.
Disable xrandr because it's disabled in the dependent
gnome-desktop pkg.
Don't enable aboutme...requires big evo depchain
Don't update desktop database during 'make install'. See:
http://bugzilla.gnome.org/show_bug.cgi?id=586802
# Make sure to get newer xft2 than OS X 10.4 apple x11 supplies
# (avoids gnome-appearance-properties crash b/c configure only
# checks presence of xft2 before g-a-p uses modern features)
We now strictly enforce consistent use of fink-supplied libs
(which are now all shared) rather than X11 for them and do not
propagate their linker flags through the whole gnome stack.
Different X11 suppliers have different xinput versions and .pc
availability (and reported not to build on some that are
detected), so force-disable on all for consistent builds.
<<
DescPort: <<
XF86MiscQueryExtension test fails because -L for X11 isn't
passed. Not fixing for now.
appearances capplet has thumbnails disabled on darwin. See:
http://bugzilla.gnome.org/show_bug.cgi?id=525058
Uses libgthread directly, so must link against it directly
(bug had been hidden by .la dependency_libs data)
Recent glib doesn't publish -lintl, so pass it directly.
<<
diff -Nurd -x'*~' gnome-control-center-2.28.1.orig/capplets/appearance/Makefile.in gnome-control-center-2.28.1/capplets/appearance/Makefile.in
--- gnome-control-center-2.28.1.orig/capplets/appearance/Makefile.in 2009-10-19 17:22:14.000000000 -0400
+++ gnome-control-center-2.28.1/capplets/appearance/Makefile.in 2010-03-03 02:40:58.000000000 -0500
@@ -363,8 +363,8 @@
gnome_appearance_properties_LDADD = \
$(top_builddir)/libwindow-settings/libgnome-window-settings.la \
$(top_builddir)/capplets/common/libcommon.la \
- $(GNOMECC_CAPPLETS_LIBS) \
$(FONT_CAPPLET_LIBS) \
+ $(GNOMECC_CAPPLETS_LIBS) \
$(METACITY_LIBS)
gnome_appearance_properties_LDFLAGS = -export-dynamic
@@ -372,9 +372,9 @@
pixmapdir = $(pkgdatadir)/pixmaps
wallpaperdir = $(datadir)/gnome-background-properties
INCLUDES = \
+ $(FONT_CAPPLET_CFLAGS) \
$(METACITY_CFLAGS) \
$(GNOMECC_CAPPLETS_CFLAGS) \
- $(FONT_CAPPLET_CFLAGS) \
-DGNOMELOCALEDIR="\"$(datadir)/locale\"" \
-DGNOMECC_DATA_DIR="\"$(pkgdatadir)\"" \
-DGNOMECC_GTKBUILDER_DIR="\"$(gtkbuilderdir)\"" \
diff -Nurd -x'*~' gnome-control-center-2.28.1.orig/font-viewer/Makefile.in gnome-control-center-2.28.1/font-viewer/Makefile.in
--- gnome-control-center-2.28.1.orig/font-viewer/Makefile.in 2009-10-19 17:22:16.000000000 -0400
+++ gnome-control-center-2.28.1/font-viewer/Makefile.in 2010-03-03 02:41:40.000000000 -0500
@@ -312,9 +312,9 @@
INCLUDES = $(FONT_VIEWER_CFLAGS) $(GNOMECC_CAPPLETS_CFLAGS) -DDIRECTORY_DIR=\"$(directorydir)\" \
-DGNOMELOCALEDIR=\"$(datadir)/locale\"
-gnome_thumbnail_font_LDADD = $(GNOMECC_CAPPLETS_LIBS) $(FONT_VIEWER_LIBS)
+gnome_thumbnail_font_LDADD = $(FONT_VIEWER_LIBS) $(GNOMECC_CAPPLETS_LIBS)
gnome_thumbnail_font_SOURCES = ftstream-vfs.c font-thumbnailer.c totem-resources.c totem-resources.h
-gnome_font_viewer_LDADD = $(GNOMECC_CAPPLETS_LIBS) $(FONT_VIEWER_LIBS)
+gnome_font_viewer_LDADD = $(FONT_VIEWER_LIBS) $(GNOMECC_CAPPLETS_LIBS)
gnome_font_viewer_SOURCES = ftstream-vfs.c font-view.c
schemasdir = $(GCONF_SCHEMA_FILE_DIR)
schemas_DATA = fontilus.schemas
@@ -707,7 +707,7 @@
@GCONF_SCHEMAS_INSTALL_FALSE@install-gconf-schemas:
install-desktop-database: install-desktopDATA
- update-desktop-database $(DESTDIR)$(desktopdir)
+# update-desktop-database $(DESTDIR)$(desktopdir)
uninstall-local:
rm -f $(DESTDIR)$(desktopdir)/mimeinfo.cache
diff -Nurd -x'*~' gnome-control-center-2.28.1.orig/libwindow-settings/Makefile.in gnome-control-center-2.28.1/libwindow-settings/Makefile.in
--- gnome-control-center-2.28.1.orig/libwindow-settings/Makefile.in 2009-10-19 17:22:17.000000000 -0400
+++ gnome-control-center-2.28.1/libwindow-settings/Makefile.in 2010-03-03 02:45:44.000000000 -0500
@@ -335,7 +335,7 @@
-no-undefined \
-version-info 1:0:0
-libgnome_window_settings_la_LIBADD = $(GNOMECC_LIBS)
+libgnome_window_settings_la_LIBADD = $(GNOMECC_LIBS) $(INTLLIBS)
libgnome_window_settings_la_SOURCES = \
gnome-window-manager.c \
gnome-window-manager.h \
@@ -353,7 +353,7 @@
gnome-window-settings-2.0.pc.in \
ChangeLog
-wms_flags = -export_dynamic -avoid-version -module
+wms_flags = -export_dynamic -avoid-version -module -no-undefined
wmsdir = $(WM_MODULE_DIR)
wms_LTLIBRARIES = \
libmetacity.la
diff -Nurd -x'*~' gnome-control-center-2.28.1.orig/shell/Makefile.in gnome-control-center-2.28.1/shell/Makefile.in
--- gnome-control-center-2.28.1.orig/shell/Makefile.in 2009-10-19 17:22:17.000000000 -0400
+++ gnome-control-center-2.28.1/shell/Makefile.in 2010-03-03 02:40:58.000000000 -0500
@@ -312,7 +312,7 @@
gnome_control_center_LDADD = \
$(GNOMECC_SHELL_LIBS) \
- $(top_builddir)/libslab/libslab.la
+ $(top_builddir)/libslab/libslab.la $(INTLLIBS)
AM_CPPFLAGS = \
-DGNOMELOCALEDIR="\"$(datadir)/locale\""
diff -Nurd -x'*~' gnome-control-center-2.28.1.orig/typing-break/Makefile.in gnome-control-center-2.28.1/typing-break/Makefile.in
--- gnome-control-center-2.28.1.orig/typing-break/Makefile.in 2009-10-19 17:22:17.000000000 -0400
+++ gnome-control-center-2.28.1/typing-break/Makefile.in 2010-03-03 02:40:58.000000000 -0500
@@ -332,7 +332,7 @@
gnome_typing_monitor_CFLAGS = @TYPING_CFLAGS@ $(AM_CFLAGS) \
$(am__append_1)
-gnome_typing_monitor_LDADD = @TYPING_LIBS@ @SCREENSAVER_LIBS@ \
+gnome_typing_monitor_LDADD = @TYPING_LIBS@ @SCREENSAVER_LIBS@ $(INTLLIBS) \
$(am__append_2)
imagedir = $(pkgdatadir)/pixmaps
dist_image_DATA = bar.png bar-red.png bar-green.png bar-disabled.png ocean-stripes.png