packages: rhythmbox/rhythmbox-pyc.patch, rhythmbox/rhythmbox.spec - up to 0...

glen glen at pld-linux.org
Sun Jul 11 23:48:41 CEST 2010


Author: glen                         Date: Sun Jul 11 21:48:41 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- up to 0.13.0, cleanups

---- Files affected:
packages/rhythmbox:
   rhythmbox-pyc.patch (1.1 -> 1.2) , rhythmbox.spec (1.139 -> 1.140) 

---- Diffs:

================================================================
Index: packages/rhythmbox/rhythmbox-pyc.patch
diff -u packages/rhythmbox/rhythmbox-pyc.patch:1.1 packages/rhythmbox/rhythmbox-pyc.patch:1.2
--- packages/rhythmbox/rhythmbox-pyc.patch:1.1	Sun Apr 16 12:51:26 2006
+++ packages/rhythmbox/rhythmbox-pyc.patch	Sun Jul 11 23:48:35 2010
@@ -1,17 +1,16 @@
-diff -aurN rhythmbox-0.9.4.orig/configure.ac rhythmbox-0.9.4/configure.ac
---- rhythmbox-0.9.4.orig/configure.ac	2006-04-16 05:50:50.000000000 +0200
-+++ rhythmbox-0.9.4/configure.ac	2006-04-16 12:38:58.016725728 +0200
-@@ -842,11 +842,11 @@
- 	AC_MSG_RESULT([$PYGTK_DEFSDIR])
+--- rhythmbox-0.13.0/configure.ac~	2010-07-02 07:02:58.000000000 +0300
++++ rhythmbox-0.13.0/configure.ac	2010-07-11 14:57:35.868907719 +0300
+@@ -708,11 +708,11 @@
+ 	AC_MSG_RESULT([$GST_PYTHON_DEFSDIR])
  
- 	AC_MSG_CHECKING([for pygtk codegen])
--	PYGTK_CODEGEN="$PYTHON `$PKG_CONFIG --variable=codegendir pygtk-2.0`/codegen.py"
-+	PYGTK_CODEGEN="$PYTHON `$PKG_CONFIG --variable=codegendir pygtk-2.0`/codegen.pyc"
- 	AC_MSG_RESULT([$PYGTK_CODEGEN])
+ 	AC_MSG_CHECKING([for pygobject codegen])
+-	PYGOBJECT_CODEGEN="$PYTHON `$PKG_CONFIG --variable=codegendir pygobject-2.0`/codegen.py"
++	PYGOBJECT_CODEGEN="$PYTHON `$PKG_CONFIG --variable=codegendir pygobject-2.0`/codegen.pyc"
+ 	AC_MSG_RESULT([$PYGOBJECT_CODEGEN])
  
- 	AC_MSG_CHECKING([for pygtk h2def])
--	PYGTK_H2DEF="$PYTHON `$PKG_CONFIG --variable=codegendir pygtk-2.0`/h2def.py"
-+	PYGTK_H2DEF="$PYTHON `$PKG_CONFIG --variable=codegendir pygtk-2.0`/h2def.pyc"
- 	AC_MSG_RESULT([$PYGTK_H2DEF])
+ 	AC_MSG_CHECKING([for pygobject h2def])
+-	PYGOBJECT_H2DEF="$PYTHON `$PKG_CONFIG --variable=codegendir pygobject-2.0`/h2def.py"
++	PYGOBJECT_H2DEF="$PYTHON `$PKG_CONFIG --variable=codegendir pygobject-2.0`/h2def.pyc"
+ 	AC_MSG_RESULT([$PYGOBJECT_H2DEF])
  
  	AC_SUBST([PYGTK_DEFSDIR])

================================================================
Index: packages/rhythmbox/rhythmbox.spec
diff -u packages/rhythmbox/rhythmbox.spec:1.139 packages/rhythmbox/rhythmbox.spec:1.140
--- packages/rhythmbox/rhythmbox.spec:1.139	Fri Jul  9 13:24:08 2010
+++ packages/rhythmbox/rhythmbox.spec	Sun Jul 11 23:48:35 2010
@@ -2,18 +2,19 @@
 #
 # Conditional build:
 %bcond_without	ipod	# build without iPod support
-%bcond_without	mtp	# build without MTP support
-#
+%bcond_without	mtp		# build without MTP support
+%bcond_without	daap	# build without DAAP support
+
 Summary:	Music Management Application
 Summary(hu.UTF-8):	Zenelejátszó alkalmazás
 Summary(pl.UTF-8):	Aplikacja do zarządzania muzyką
 Name:		rhythmbox
-Version:	0.12.8
-Release:	3
+Version:	0.13.0
+Release:	1
 License:	GPL v2+
 Group:		X11/Applications
-Source0:	http://ftp.gnome.org/pub/GNOME/sources/rhythmbox/0.12/%{name}-%{version}.tar.bz2
-# Source0-md5:	3e24108119264a0cbd8b4ccbd7732173
+Source0:	http://ftp.gnome.org/pub/GNOME/sources/rhythmbox/0.13/%{name}-%{version}.tar.bz2
+# Source0-md5:	39be31456ac8b9ba9288f0f4f9498638
 Patch0:		%{name}-desktop.patch
 Patch1:		%{name}-gtk2.8-crash.patch
 Patch2:		%{name}-pyc.patch
@@ -37,9 +38,10 @@
 BuildRequires:	gtk+2-devel >= 2:2.10.10
 BuildRequires:	gtk-doc
 BuildRequires:	intltool
+%{?with_daap:BuildRequires:	libdmapsharing-devel >= 1.9.0.21}
 BuildRequires:	libglade2-devel >= 1:2.6.0
 BuildRequires:	libgnomeui-devel >= 2.18.1
-%{?with_ipod:BuildRequires:	libgpod-devel >= 0.5.2}
+%{?with_ipod:BuildRequires:	libgpod-devel >= 0.6}
 %{?with_mtp:BuildRequires:	libmtp-devel >= 0.3.0}
 BuildRequires:	libmusicbrainz-devel
 BuildRequires:	libmusicbrainz3-devel
@@ -114,7 +116,7 @@
 Requires:	browser-plugins(%{_target_base_arch})
 
 %description -n browser-plugin-%{name}
-Rhythmbox's plugin for browsers.
+iTunes detection browser plugin (for podcasts).
 
 %description -n browser-plugin-%{name} -l hu.UTF-8
 Rhythmbox böngésző plugin.
@@ -147,7 +149,9 @@
 %{__autoheader}
 %{__automake}
 %{__autoconf}
+MOZILLA_PLUGINDIR=%{_browserpluginsdir} \
 %configure \
+	--disable-static \
 	--disable-schemas-install \
 	--disable-scrollkeeper \
 	--disable-silent-rules \
@@ -157,6 +161,7 @@
 	--enable-python \
 	--enable-vala \
 	%{!?with_ipod:--without-ipod} \
+	--%{?with_daap:en}%{!?with_daap:--dis}able-daap \
 	--with-gnome-keyring \
 	--with-gudev \
 	--with-libbrasero-media \
@@ -169,29 +174,29 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-
-install -d $RPM_BUILD_ROOT%{_browserpluginsdir}
-
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT \
 	GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
 
-mv $RPM_BUILD_ROOT%{_libdir}/mozilla/plugins/* $RPM_BUILD_ROOT%{_browserpluginsdir}
-
-# there is no -devel subpackage, so we don't need APIdocs
+# there is no -devel subpackage
 rm -rf $RPM_BUILD_ROOT%{_datadir}/gtk-doc
+rm -rf $RPM_BUILD_ROOT%{_includedir}/rhythmbox
+rm -f $RPM_BUILD_ROOT%{_libdir}/rhythmbox/plugins/daap/rb-daap-glue.h
+
+rm -rf $RPM_BUILD_ROOT%{_libdir}/librhythmbox-core.so
+rm -rf $RPM_BUILD_ROOT%{_pkgconfigdir}/rhythmbox.pc
 
 %find_lang %{name} --with-gnome --with-omf
 
-rm -f  $RPM_BUILD_ROOT%{_libdir}/librhythmbox-core.{la,a}
-rm -f  $RPM_BUILD_ROOT%{_libdir}/bonobo/lib*.{la,a}
-rm -f  $RPM_BUILD_ROOT%{_libdir}/rhythmbox/plugins/*/*.{a,la}
+rm -f  $RPM_BUILD_ROOT%{_libdir}/librhythmbox-core.la
+rm -f  $RPM_BUILD_ROOT%{_libdir}/librhythmbox-itms-detection-plugin.la
+rm -f  $RPM_BUILD_ROOT%{_libdir}/bonobo/lib*.la
+rm -f  $RPM_BUILD_ROOT%{_libdir}/rhythmbox/plugins/*/*.la
+rm -f  $RPM_BUILD_ROOT%{_libdir}/browser-plugins/*.la
 rm -rf $RPM_BUILD_ROOT%{_datadir}/application-registry
 rm -rf $RPM_BUILD_ROOT%{_datadir}/mime-info
 
-find $RPM_BUILD_ROOT%{_libdir}/rhythmbox/plugins -name "*.py" -exec rm -f {} \;
-find $RPM_BUILD_ROOT%{_libdir}/rhythmbox/plugins -name "*.a" -exec rm -f {} \;
-find $RPM_BUILD_ROOT%{_libdir}/rhythmbox/plugins -name "*.la" -exec rm -f {} \;
+find $RPM_BUILD_ROOT%{_libdir}/rhythmbox/plugins -name "*.py" | xargs rm
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -248,11 +253,13 @@
 %dir %{_libdir}/rhythmbox/plugins/cd-recorder
 %attr(755,root,root) %{_libdir}/rhythmbox/plugins/cd-recorder/*.so
 %{_libdir}/rhythmbox/plugins/cd-recorder/*-plugin
+%if %{with daap}
 %dir %{_libdir}/rhythmbox/plugins/daap
 %attr(755,root,root) %{_libdir}/rhythmbox/plugins/daap/*.so
 %{_libdir}/rhythmbox/plugins/daap/*-plugin
 %{_libdir}/rhythmbox/plugins/daap/*.ui
 %{_libdir}/rhythmbox/plugins/daap/*.xml
+%endif
 %dir %{_libdir}/rhythmbox/plugins/fmradio
 %attr(755,root,root) %{_libdir}/rhythmbox/plugins/fmradio/*.so
 %{_libdir}/rhythmbox/plugins/fmradio/*-plugin
@@ -262,11 +269,13 @@
 %{_libdir}/rhythmbox/plugins/generic-player/*-plugin
 %{_libdir}/rhythmbox/plugins/generic-player/*.ui
 %{_libdir}/rhythmbox/plugins/generic-player/generic-player-ui.xml
-%{?with_ipod:%dir %{_libdir}/rhythmbox/plugins/ipod}
-%{?with_ipod:%attr(755,root,root) %{_libdir}/rhythmbox/plugins/ipod/*.so}
-%{?with_ipod:%{_libdir}/rhythmbox/plugins/ipod/*-plugin}
-%{?with_ipod:%{_libdir}/rhythmbox/plugins/ipod/ipod-ui.xml}
-%{?with_ipod:%{_libdir}/rhythmbox/plugins/ipod/*.ui}
+%if %{with ipod}
+%dir %{_libdir}/rhythmbox/plugins/ipod
+%attr(755,root,root) %{_libdir}/rhythmbox/plugins/ipod/*.so
+%{_libdir}/rhythmbox/plugins/ipod/*-plugin
+%{_libdir}/rhythmbox/plugins/ipod/ipod-ui.xml
+%{_libdir}/rhythmbox/plugins/ipod/*.ui
+%endif
 %dir %{_libdir}/rhythmbox/plugins/iradio
 %attr(755,root,root) %{_libdir}/rhythmbox/plugins/iradio/*.so
 %{_libdir}/rhythmbox/plugins/iradio/*-plugin
@@ -290,11 +299,13 @@
 %dir %{_libdir}/rhythmbox/plugins/mmkeys
 %attr(755,root,root) %{_libdir}/rhythmbox/plugins/mmkeys/libmmkeys.so
 %{_libdir}/rhythmbox/plugins/mmkeys/mmkeys.rb-plugin
-%{?with_mtp:%dir %{_libdir}/rhythmbox/plugins/mtpdevice}
-%{?with_mtp:%attr(755,root,root) %{_libdir}/rhythmbox/plugins/mtpdevice/libmtpdevice.so}
-%{?with_mtp:%{_libdir}/rhythmbox/plugins/mtpdevice/mtpdevice.rb-plugin}
-%{?with_mtp:%{_libdir}/rhythmbox/plugins/mtpdevice/*.ui}
-%{?with_mtp:%{_libdir}/rhythmbox/plugins/mtpdevice/mtp-ui.xml}
+%if %{with mtp}
+%dir %{_libdir}/rhythmbox/plugins/mtpdevice
+%attr(755,root,root) %{_libdir}/rhythmbox/plugins/mtpdevice/libmtpdevice.so
+%{_libdir}/rhythmbox/plugins/mtpdevice/mtpdevice.rb-plugin
+%{_libdir}/rhythmbox/plugins/mtpdevice/*.ui
+%{_libdir}/rhythmbox/plugins/mtpdevice/mtp-ui.xml
+%endif
 %dir %{_libdir}/rhythmbox/plugins/power-manager
 %attr(755,root,root) %{_libdir}/rhythmbox/plugins/power-manager/*.so
 %{_libdir}/rhythmbox/plugins/power-manager/*-plugin
@@ -349,14 +360,12 @@
 %{_datadir}/dbus-1/services/*.service
 %{_desktopdir}/*.desktop
 %{_iconsdir}/hicolor/*/*/rhythmbox.png
-%{_iconsdir}/hicolor/*/*/rhythmbox.svg
 %{_iconsdir}/hicolor/*/*/music-library.png
+%{_iconsdir}/hicolor/scalable/apps/rhythmbox-symbolic.svg
 %{_sysconfdir}/gconf/schemas/rhythmbox.schemas
 %{_mandir}/man1/rhythmbox.1*
 %{_mandir}/man1/rhythmbox-client.1*
 
-
-
 %files -n browser-plugin-%{name}
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_browserpluginsdir}/*.so
@@ -367,6 +376,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.140  2010/07/11 21:48:35  glen
+- up to 0.13.0, cleanups
+
 Revision 1.139  2010/07/09 11:24:08  arekm
 - release 3
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/rhythmbox/rhythmbox-pyc.patch?r1=1.1&r2=1.2&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/rhythmbox/rhythmbox.spec?r1=1.139&r2=1.140&f=u



More information about the pld-cvs-commit mailing list