gnome-media stable port information

Package: gnome-media
Version: 2.28.5
Revision: 1
Depends: <<
%N-shlibs (= %v-%r),
atk1-shlibs (>= 1.28.0-1),
cairo-shlibs (>= 1.8.8-3),
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),
gst-plugins-base-0.10-shlibs (>= 0.10.26-1),
gstreamer-0.10-shlibs (>= 0.10.26-1),
gtk+2 (>= 2.18.0-1),
gtk+2-shlibs (>= 2.18.0-1),
libcanberra-gtk0-shlibs (>= 0.23-1),
libcanberra0-shlibs (>= 0.23-1),
libgettext8-shlibs,
libglade2-shlibs (>= 2.6.4-7),
libxml2-shlibs (>= 2.6.30-1),
pango1-xft2-ft219-shlibs (>= 1.24.5-4),
rarian-compat
<<
BuildDepends: <<
atk1 (>= 1.28.0-1),
autoconf2.6,
automake1.11,
cairo (>= 1.8.8-3),
docbook-dtd,
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-doc-utils (>= 0.18.0-1),
gst-plugins-base-0.10-dev (>= 0.10.26-1),
gstreamer-0.10-dev (>= 0.10.26-1),
gtk+2-dev (>= 2.18.0-1),
intltool40,
libcanberra-gtk0 (>= 0.23-1),
libcanberra0 (>= 0.23-1),
libgettext8-dev,
libglade2 (>= 2.6.4-7),
libiconv-dev,
libtool2,
libxml2 (>= 2.6.30-1),
pango1-xft2-ft219-dev (>= 1.24.5-4),
pixman (>= 0.16.0-1),
pkgconfig (>= 0.23),
x11-dev
<<
Replaces: control-center (<<2.26.0-1)

Source: mirror:gnome:sources/%n/2.28/%n-%v.tar.bz2
Source-MD5: 8dbdd10388f1557da209d8aef7b85f0d
PatchFile: %n.patch
PatchFile-MD5: 32321e58543aa95c0380b500cf6a2cba
PatchScript: <<
#!/bin/sh -ev
%{default_script}

# 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

# recode ./some/path/README as READMEs/README.some.path
mkdir READMEs
for cl in `find . -name README` ; do
cp $cl READMEs/`echo $cl | sed 's/^\.\(.*\)\/\(README\)/\2\1/;s/\//./g'`
done
<<
ConfigureParams: <<
--enable-dependency-tracking --disable-static \
--disable-scrollkeeper --disable-schemas-install \
--mandir=%p/share/man --libexecdir=%p/lib/%n \
PKG_CONFIG_PATH="%p/lib/glib-2.0/pkgconfig-strict:%p/lib/fontconfig2/lib/pkgconfig:$PKG_CONFIG_PATH" \
--disable-pulseaudio
<<
CompileScript: <<
autoreconf -fi
./configure %c
make
fink-package-precedence --prohibit-bdep %n-dev .
<<
InstallScript: make -j1 install DESTDIR=%d
PostInstScript: <<
if [ configure = "$1" ]; then
scrollkeeper-update
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
for s in gnome-audio-profiles gnome-sound-recorder gnome-volume-control; do
gconftool-2 --makefile-install-rule %p/etc/gconf/schemas/$s.schemas >/dev/null
done
%p/bin/gtk-update-icon-cache -f -t %p/share/icons/hicolor
fi
<<
PostRmScript: <<
if [ update != "$1" ]; then
scrollkeeper-update
%p/bin/gtk-update-icon-cache -f -t %p/share/icons/hicolor
fi
<<
ConfFiles: <<
%p/etc/gconf/schemas/gnome-audio-profiles.schemas
%p/etc/gconf/schemas/gnome-sound-recorder.schemas
%p/etc/gconf/schemas/gnome-volume-control.schemas
<<
DocFiles: AUTHORSs/* COPYING* ChangeLogs/* MAINTAINERS NEWS READMEs/*
SplitOff: <<
Package: %N-shlibs
Depends: <<
gnome-base,
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),
gstreamer-0.10-shlibs (>= 0.10.26-1),
gtk+2-shlibs (>= 2.18.0-1),
libgettext8-shlibs,
libglade2-shlibs (>= 2.6.4-7),
libxml2-shlibs (>= 2.6.30-1),
pango1-xft2-ft219-shlibs (>= 1.24.5-4)
<<
Replaces: %N (<< %v-%r), %N-dev (<< 2.26.0-1)
Description: Shared libraries for gnome-media
Files: <<
lib/libglade
lib/libgnome-media-profiles.*.dylib
share/locale
<<
Shlibs: <<
%p/lib/libgnome-media-profiles.0.dylib 1.0.0 %N-shlibs (>= 2.16.0-1)
<<
DocFiles: AUTHORSs/* COPYING* ChangeLogs/* MAINTAINERS NEWS READMEs/*
<<
SplitOff2: <<
Package: %N-dev
Depends: %N (= %v-%r)
Replaces: %N (<< %v-%r)
Description: Development headers and libraries for gnome-media
Files: include lib/*.la lib/*.dylib lib/pkgconfig
BuildDependsOnly: true
DocFiles: AUTHORSs/* COPYING* ChangeLogs/* MAINTAINERS NEWS READMEs/*
<<
DescPackaging: <<
jw not used even if present, so don't need BDep:docbook-utils

sound applet was in control-center prior to 2.26

Clean up .pc Requires: don't need entries that are not
#included by public .h to avoid publishing useless and hidden
InheritedBuildDepends.

Runtime programs in %N share same gettext catalog as .dylib in
%N-shlibs, so need %N:Depends:%N-shlibs as "=" not ">=" to
keep catalog in sync.
<<
DescPort: <<
Recent glib doesn't publish -lintl, so pass it directly.
<<
Description: GNOME media (CD, etc.) tools
License: GPL/LGPL
Maintainer: The Gnome Core Team
Homepage: http://www.gnome.org/

gnome-media stable port .patch

diff -Nurd -x'*~' gnome-media-2.28.5.orig/gst-mixer/src/Makefile.am gnome-media-2.28.5/gst-mixer/src/Makefile.am
--- gnome-media-2.28.5.orig/gst-mixer/src/Makefile.am 2010-01-11 17:40:32.000000000 -0500
+++ gnome-media-2.28.5/gst-mixer/src/Makefile.am 2010-04-28 21:34:56.000000000 -0400
@@ -5,8 +5,8 @@
endif

AM_CPPFLAGS = \
- $(GSTMIXER_CFLAGS) \
-I$(top_srcdir)/sound-theme \
+ $(GSTMIXER_CFLAGS) \
-DGNOMELOCALEDIR=\""$(datadir)/locale"\" \
-DDATA_DIR=\""$(pkgdatadir)"\" \
-DPIX_DIR=\""$(pkgdatadir)/pixmaps"\"
diff -Nurd -x'*~' gnome-media-2.28.5.orig/gstreamer-properties/Makefile.am gnome-media-2.28.5/gstreamer-properties/Makefile.am
--- gnome-media-2.28.5.orig/gstreamer-properties/Makefile.am 2010-01-11 17:40:32.000000000 -0500
+++ gnome-media-2.28.5/gstreamer-properties/Makefile.am 2010-04-29 02:52:31.000000000 -0400
@@ -1,7 +1,7 @@
SUBDIRS = . help
bin_PROGRAMS = gstreamer-properties

-gstreamer_properties_LDADD = $(GSTPROPS_LIBS)
+gstreamer_properties_LDADD = $(GSTPROPS_LIBS) $(INTLLIBS)
gstreamer_properties_SOURCES = \
gstreamer-properties.c gstreamer-properties-structs.h \
pipeline-tests.h pipeline-tests.c \
diff -Nurd -x'*~' gnome-media-2.28.5.orig/profiles/Makefile.am gnome-media-2.28.5/profiles/Makefile.am
--- gnome-media-2.28.5.orig/profiles/Makefile.am 2010-01-11 17:40:32.000000000 -0500
+++ gnome-media-2.28.5/profiles/Makefile.am 2010-04-29 02:31:11.000000000 -0400
@@ -11,7 +11,7 @@
if HAVE_GSTREAMER
noinst_PROGRAMS += gnome-audio-profiles-test
gnome_audio_profiles_test_SOURCES = gnome-audio-profiles-test.c
-gnome_audio_profiles_test_CFLAGS = $(GMP_CFLAGS) $(GSR_CFLAGS) $(defines) -I$(top_srcdir)
+gnome_audio_profiles_test_CPPFLAGS = -I$(top_srcdir) $(GMP_CFLAGS) $(GSR_CFLAGS) $(defines)
gnome_audio_profiles_test_LDADD = libgnome-media-profiles.la $(GMP_LIBS) $(GSR_LIBS)
endif

@@ -24,7 +24,7 @@
glade_DATA = gnome-audio-profiles.glade2

gnome_audio_profiles_properties_SOURCES = gnome-audio-profiles-properties.c
-gnome_audio_profiles_properties_CFLAGS = $(GMP_CFLAGS) $(defines) -I$(top_srcdir)
+gnome_audio_profiles_properties_CPPFLAGS = -I$(top_srcdir) $(GMP_CFLAGS) $(defines)
gnome_audio_profiles_properties_LDADD = libgnome-media-profiles.la $(GMP_LIBS)

libgnome_media_profiles_la_SOURCES = \
@@ -49,8 +49,8 @@
audio-profiles-edit.h \
gnome-media-profiles.h

-libgnome_media_profiles_la_CFLAGS = $(GMP_CFLAGS) $(defines) -I$(top_srcdir)
-libgnome_media_profiles_la_LIBADD = $(GMP_LIBS)
+libgnome_media_profiles_la_CPPFLAGS = -I$(top_srcdir) $(GMP_CFLAGS) $(defines)
+libgnome_media_profiles_la_LIBADD = $(GMP_LIBS) $(INTLLIBS)
libgnome_media_profiles_la_LDFLAGS = -no-undefined

schemadir = $(GCONF_SCHEMA_FILE_DIR)
diff -Nurd -x'*~' gnome-media-2.28.5.orig/profiles/glade/Makefile.am gnome-media-2.28.5/profiles/glade/Makefile.am
--- gnome-media-2.28.5.orig/profiles/glade/Makefile.am 2010-01-11 17:40:32.000000000 -0500
+++ gnome-media-2.28.5/profiles/glade/Makefile.am 2010-04-29 01:57:32.000000000 -0400
@@ -6,7 +6,7 @@
-DGNOMELOCALEDIR=\""$(prefix)/${DATADIRNAME}/locale"\"

libgnome_media_profiles_la_SOURCES = gnome-media-profiles-glade.c
-libgnome_media_profiles_la_CFLAGS = $(GMP_CFLAGS) $(defines) -I$(top_srcdir)
+libgnome_media_profiles_la_CPPFLAGS = -I$(top_srcdir) $(GMP_CFLAGS) $(defines)
libgnome_media_profiles_la_LIBADD = $(GMP_LIBS) $(top_builddir)/profiles/libgnome-media-profiles.la
libgnome_media_profiles_la_LDFLAGS = -export-dynamic -module -avoid-version -no-undefined

diff -Nurd -x'*~' gnome-media-2.28.5.orig/profiles/gnome-media-profiles.pc.in gnome-media-2.28.5/profiles/gnome-media-profiles.pc.in
--- gnome-media-2.28.5.orig/profiles/gnome-media-profiles.pc.in 2010-01-11 17:40:32.000000000 -0500
+++ gnome-media-2.28.5/profiles/gnome-media-profiles.pc.in 2010-04-29 01:50:44.000000000 -0400
@@ -6,7 +6,7 @@

Name: GNOME Media Profiles
Description: Media Profiles describing audio codec settings for output
-Requires: gconf-2.0, gtk+-2.0, libglade-2.0
+Requires: gconf-2.0, gtk+-2.0
Version: @VERSION@
Libs: -L${libdir} -lgnome-media-profiles
Cflags: -I${includedir}
diff -Nurd -x'*~' gnome-media-2.28.5.orig/sound-theme/Makefile.am gnome-media-2.28.5/sound-theme/Makefile.am
--- gnome-media-2.28.5.orig/sound-theme/Makefile.am 2010-01-11 17:40:32.000000000 -0500
+++ gnome-media-2.28.5/sound-theme/Makefile.am 2010-04-29 02:40:57.000000000 -0400
@@ -18,7 +18,7 @@
sound-theme-file-utils.c \
$(NULL)

-libsoundtheme_la_LIBADD = $(SOUND_THEME_LIBS)
+libsoundtheme_la_LIBADD = $(SOUND_THEME_LIBS) $(INTLLIBS)
libsoundtheme_la_LDFLAGS = -no-undefined

BUILT_SOURCES = \

gnome-media _unstable_ port .patch