diff options
author | Arun Raghavan <ford_prefect@gentoo.org> | 2009-05-10 20:58:10 +0000 |
---|---|---|
committer | Arun Raghavan <ford_prefect@gentoo.org> | 2009-05-10 20:58:10 +0000 |
commit | 29a12f3167285110b7e5978f80de09e713bf8655 (patch) | |
tree | b62e90a326d7cfe182f4987dfaf81d6182c808bc /gnome-extra/gnome-media | |
parent | New version for GNOME 2.26. Drop libgnome/gnome-vfs, merge eel, support cross... (diff) | |
download | historical-29a12f3167285110b7e5978f80de09e713bf8655.tar.gz historical-29a12f3167285110b7e5978f80de09e713bf8655.tar.bz2 historical-29a12f3167285110b7e5978f80de09e713bf8655.zip |
Bump to 2.26.0. This now includes the volume control applet that sits in the systray to replace the old one, adds sound theme support using libcanberra, and uses pulseaudio/GStreamer, depending on the USE flag.
Package-Manager: portage-2.2_rc33/cvs/Linux i686
Diffstat (limited to 'gnome-extra/gnome-media')
-rw-r--r-- | gnome-extra/gnome-media/ChangeLog | 14 | ||||
-rw-r--r-- | gnome-extra/gnome-media/Manifest | 8 | ||||
-rw-r--r-- | gnome-extra/gnome-media/files/gnome-media-2.26.0-automagic-canberra.patch | 145 | ||||
-rw-r--r-- | gnome-extra/gnome-media/files/gnome-media-2.26.0-missing-cddbslave-cflags.patch | 22 | ||||
-rw-r--r-- | gnome-extra/gnome-media/gnome-media-2.26.0.ebuild | 92 | ||||
-rw-r--r-- | gnome-extra/gnome-media/metadata.xml | 4 |
6 files changed, 280 insertions, 5 deletions
diff --git a/gnome-extra/gnome-media/ChangeLog b/gnome-extra/gnome-media/ChangeLog index f835cd311faf..ba5225205f9b 100644 --- a/gnome-extra/gnome-media/ChangeLog +++ b/gnome-extra/gnome-media/ChangeLog @@ -1,6 +1,16 @@ # ChangeLog for gnome-extra/gnome-media -# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-media/ChangeLog,v 1.193 2009/04/28 17:56:33 armin76 Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-media/ChangeLog,v 1.194 2009/05/10 20:58:09 ford_prefect Exp $ + +*gnome-media-2.26.0 (10 May 2009) + + 10 May 2009; Arun Raghavan <ford_prefect@gentoo.org> + +gnome-media-2.26.0.ebuild, + +files/gnome-media-2.26.0-automagic-canberra.patch, + +files/gnome-media-2.26.0-missing-cddbslave-cflags.patch, metadata.xml: + Bump to 2.26.0. This now includes the volume control applet that sits in + the systray to replace the old one, adds sound theme support using + libcanberra, and uses pulseaudio/GStreamer, depending on the USE flag. 28 Apr 2009; Raúl Porcel <armin76@gentoo.org> gnome-media-2.24.0.1-r1.ebuild: diff --git a/gnome-extra/gnome-media/Manifest b/gnome-extra/gnome-media/Manifest index 613f19c52bc6..0bd96322676c 100644 --- a/gnome-extra/gnome-media/Manifest +++ b/gnome-extra/gnome-media/Manifest @@ -1,10 +1,14 @@ AUX gnome-media-2.18.0-noesd.patch 3540 RMD160 64ed133bbe345a4d0e4d29c3a3e5c3e29c370eac SHA1 2714bfe15a94c4758e16ae60466436de3502397f SHA256 b2e4eb3c027beb032ee0d6cac6d0c19f306062a2427581ee9299ed811bcc3654 +AUX gnome-media-2.26.0-automagic-canberra.patch 5039 RMD160 8d5b3e756ad5356c45fc930dc0154075521f7377 SHA1 fa1806db43e539549912c3f63ad5ed471417c077 SHA256 f80d00374c8d409c8f4d37812b20644c0e64a3525af843b445d3695933610c00 +AUX gnome-media-2.26.0-missing-cddbslave-cflags.patch 764 RMD160 5d788ac6ac1d0bad8907afb359334900b3ef520d SHA1 6daf0b299767b3feea72b320c2be308de667f2f9 SHA256 3b15659c984d623ae440d35cd0f7f1e7389774412f4e3d2bb34fa9efe09a58db DIST gnome-media-2.20.1.tar.bz2 1927211 RMD160 1dfb8f6d03a85c2c0e2c59cd479f3136121a0836 SHA1 ac05a883f45e50c18770d9714f26d41adcb8dc77 SHA256 273b9eb4bc5a0cd7f1589f4eb242b995b05d64db20c05ec379d07af3b90d9c29 DIST gnome-media-2.22.0.tar.bz2 2237463 RMD160 3e88758867df535668c29322bf27aefb2b79cd21 SHA1 9dc92fbde0dda0ef2e7028bf2b80f190b8b6b016 SHA256 9bafcc1d766ea3b0c30d79c33eb77ad8ceaad8631337f66f7797524e90281b4a DIST gnome-media-2.24.0.1.tar.bz2 2344888 RMD160 695f4cf9b170a381c243846749f5fad916f8bbca SHA1 2704b4cd13b7f776a358e517a5baf5d97455b85b SHA256 bfa79a9bea5ba6f73a6b0a232917bc7eefbed69819e42d0b09372b0c7ed3e853 +DIST gnome-media-2.26.0.tar.bz2 2662523 RMD160 0720cf0394148d8dc3cf6423a8b817a70f1486ed SHA1 23ec588fdf5df3eef542278952fe78ed032d354a SHA256 39e7646d0790e05a010da1eb2d7552dcb5311abd72f001477c9c465d7146b9f7 EBUILD gnome-media-2.20.1.ebuild 1658 RMD160 8b513d7ee97a9e545c11c8d4108d298446cb8570 SHA1 04ef3f2e89157c3355e7f726c54533163210ed8c SHA256 7d1a67f4e323b61dbc05f875d0e743356798f2c68d7820c63d1423c51fabd54a EBUILD gnome-media-2.22.0.ebuild 1954 RMD160 79cc1fdd19eca3453da9d8cd5fe7031cfde2ffe9 SHA1 db1c2ad6a53af9b0aad51e9471d1aed7a550b3f3 SHA256 f1e8d91c4d174d670955bbf4f7b5e5a6288dbb484b8796f350958f6aa0d1f46a EBUILD gnome-media-2.24.0.1-r1.ebuild 1928 RMD160 a06dec7d10019d242319d4b209999ccc92f4e7e5 SHA1 8c11f47118f75b25e69065f9a4f363daa859d6ac SHA256 df90a112dfa1f61586c940c4029dcb0682e67b01d30f1ba4275435e6a9d2c5ea EBUILD gnome-media-2.24.0.1.ebuild 1853 RMD160 07859bcf6693b7e0be1c2d986559246b9a4325c4 SHA1 c27586403ced5654806aa94543bca5285f0801f7 SHA256 cc8e3cd7c586b7ac9d720367eb66a8f64c3356ff26c58c0b94201e6333d83d67 -MISC ChangeLog 23986 RMD160 c149a2d0dd3585cf079b0ccc5fdcc3ab88711e9e SHA1 a4adaa53e37813846c0aac1a0bc362c64d2ed6f1 SHA256 8a0caf657fa1ad6d1884aef4e6613fce3b8e03b7bd4b46ea8e2f655eb21fa695 -MISC metadata.xml 227 RMD160 20710956ce94b8f88820034547ff6da591784cc9 SHA1 6e8d77656a3b28fefc6195ceff6d00e75d7812eb SHA256 0668816c2d98c1fa19d48f7ab2b244b4fa54eae461ae092514c94daa8083fded +EBUILD gnome-media-2.26.0.ebuild 2526 RMD160 cd9f5e37303eaf219a8b627f0ff259b3cad0a072 SHA1 dfb7014ea97a7aeb76c5da0529d177408aec671f SHA256 6e7476d209d66dab2a273da36118dda4efb4936c682f468ab08d54e28f40291f +MISC ChangeLog 24457 RMD160 0be12840b46ab44942e7537f6b9a271b706012f7 SHA1 d1d22c3d4250e2e69d92e18cecae28746a6b6530 SHA256 98de2c9a7f53b0a8ffe06fa8c6053edd2cffc2a83e48f3b7f54cc5dddcabc37e +MISC metadata.xml 342 RMD160 4b0bede36ad0b81401ea348c0e4a1eccccb2ff3c SHA1 87461ae3b9da1e69f44c5868b0fb8b0453c62dd4 SHA256 6cc513f83a39eba959301938c88b5707e3c9bafc107faf0ad4946f3398a46fe7 diff --git a/gnome-extra/gnome-media/files/gnome-media-2.26.0-automagic-canberra.patch b/gnome-extra/gnome-media/files/gnome-media-2.26.0-automagic-canberra.patch new file mode 100644 index 000000000000..891f1223ebd8 --- /dev/null +++ b/gnome-extra/gnome-media/files/gnome-media-2.26.0-automagic-canberra.patch @@ -0,0 +1,145 @@ +diff --git a/configure.ac b/configure.ac +index 229ab88..c2c5031 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -63,7 +63,7 @@ GLIB_REQUIRED_VERSION=2.18.2 + GTK_REQUIRED_VERSION=2.10.0 + LIBGLADE_REQUIRED_VERSION=1.99.2 + GCONF_REQUIRED_VERSION=2.6.1 +-PA_REQUIRED_VERSION=0.9.12 # FIXME remove extra checks below when we have PA 0.9.15 ++PA_REQUIRED_VERSION=0.9.12 + CANBERRA_REQUIRED_VERSION=0.4 + + PKG_CHECK_MODULES(MEDIA, [ +@@ -86,23 +86,32 @@ dnl======================================================================= + dnl Check for libcanberra + dnl======================================================================= + +-PKG_CHECK_MODULES(SOUND_THEME, +- gobject-2.0 >= $GLIB_REQUIRED_VERSION +- gtk+-2.0 >= $GTK_REQUIRED_VERSION +- gio-2.0 +- gconf-2.0 >= $GCONF_REQUIRED_VERSION +- libcanberra-gtk >= $CANBERRA_REQUIRED_VERSION +- libxml-2.0, +- have_soundtheme=yes, +- have_soundtheme=no) +- +-if test "x$have_soundtheme" = "xyes" ; then +- AC_DEFINE(HAVE_SOUND_THEME, [], [Define if we can build sound theme]) ++AC_ARG_ENABLE([canberra], ++ AC_HELP_STRING([--disable-canberra], [Disable canberra support @<:@default=yes@:>@]), ++ [enable_canberra="$enableval"], [enable_canberra="yes"]) ++ ++have_soundtheme="no" ++if test "x$enable_canberra" = "xyes"; then ++ ++ PKG_CHECK_MODULES(SOUND_THEME, ++ gobject-2.0 >= $GLIB_REQUIRED_VERSION ++ gtk+-2.0 >= $GTK_REQUIRED_VERSION ++ gio-2.0 ++ gconf-2.0 >= $GCONF_REQUIRED_VERSION ++ libcanberra-gtk >= $CANBERRA_REQUIRED_VERSION ++ libxml-2.0, ++ have_soundtheme=yes, ++ have_soundtheme=no) ++ ++ if test "x$have_soundtheme" = "xyes" ; then ++ AC_DEFINE(HAVE_SOUND_THEME, [], [Define if we can build sound theme]) ++ fi ++ ++ AC_SUBST(HAVE_SOUND_THEME) ++ AC_SUBST(SOUNDTHEME_CFLAGS) ++ AC_SUBST(SOUNDTHEME_LIBS) + fi + AM_CONDITIONAL(HAVE_SOUND_THEME, test x$have_soundtheme = xyes) +-AC_SUBST(HAVE_SOUND_THEME) +-AC_SUBST(SOUNDTHEME_CFLAGS) +-AC_SUBST(SOUNDTHEME_LIBS) + + dnl======================================================================= + dnl Check for the new volume control modules +@@ -761,6 +770,7 @@ echo " + GStreamer properties: $have_gstprops + GStreamer profiles: $have_profiles + Sound recorder: $have_grecord$grecord_reason ++ Sound Theme $have_soundtheme + + *Deprecated*: + +diff --git a/gnome-volume-control/src/Makefile.am b/gnome-volume-control/src/Makefile.am +index f55e714..40c3936 100644 +--- a/gnome-volume-control/src/Makefile.am ++++ b/gnome-volume-control/src/Makefile.am +@@ -7,7 +7,6 @@ bin_PROGRAMS = \ + + AM_CPPFLAGS = \ + $(WARN_CFLAGS) \ +- -I$(top_srcdir)/sound-theme \ + $(VOLUME_CONTROL_CFLAGS) \ + $(PULSEAUDIO_CFLAGS) \ + -DLOCALE_DIR=\""$(datadir)/locale"\" \ +@@ -16,6 +15,10 @@ AM_CPPFLAGS = \ + -DICON_DATA_DIR="\"$(pkgdatadir)/icons\"" \ + $(NULL) + ++if HAVE_SOUND_THEME ++AM_CPPFLAGS += -I$(top_srcdir)/sound-theme ++endif ++ + gnome_volume_control_applet_LDADD = \ + $(VOLUME_CONTROL_LIBS) \ + $(PULSEAUDIO_LIBS) \ +@@ -52,9 +55,13 @@ gnome_volume_control_applet_SOURCES = \ + gnome_volume_control_LDADD = \ + $(VOLUME_CONTROL_LIBS) \ + $(PULSEAUDIO_LIBS) \ +- $(top_builddir)/sound-theme/libsoundtheme.la \ + $(NULL) + ++if HAVE_SOUND_THEME ++gnome_volume_control_LDADD += \ ++ $(top_builddir)/sound-theme/libsoundtheme.la ++endif ++ + gnome_volume_control_SOURCES = \ + gvc-mixer-stream.h \ + gvc-mixer-stream.c \ +diff --git a/gnome-volume-control/src/gvc-mixer-dialog.c b/gnome-volume-control/src/gvc-mixer-dialog.c +index 573a6c1..95906d2 100644 +--- a/gnome-volume-control/src/gvc-mixer-dialog.c ++++ b/gnome-volume-control/src/gvc-mixer-dialog.c +@@ -37,7 +37,9 @@ + #include "gvc-mixer-source.h" + #include "gvc-mixer-source-output.h" + #include "gvc-mixer-dialog.h" ++#ifdef HAVE_SOUND_THEME + #include "gvc-sound-theme-chooser.h" ++#endif /* HAVE_SOUND_THEME */ + #include "gvc-level-bar.h" + + #define SCALE_SIZE 128 +@@ -63,7 +65,9 @@ struct GvcMixerDialogPrivate + GtkWidget *output_settings_box; + GtkWidget *output_balance_bar; + GtkWidget *input_treeview; ++#ifdef HAVE_SOUND_THEME + GtkWidget *sound_theme_chooser; ++#endif + GtkWidget *click_feedback_button; + GtkWidget *audible_bell_button; + GtkSizeGroup *size_group; +@@ -1049,11 +1053,12 @@ gvc_mixer_dialog_constructor (GType type, + gtk_box_pack_start (GTK_BOX (self->priv->sound_effects_box), + self->priv->effects_bar, FALSE, FALSE, 12); + ++#ifdef HAVE_SOUND_THEME + self->priv->sound_theme_chooser = gvc_sound_theme_chooser_new (); + gtk_box_pack_start (GTK_BOX (self->priv->sound_effects_box), + self->priv->sound_theme_chooser, + TRUE, TRUE, 6); +- ++#endif + /* Input page */ + self->priv->input_box = gtk_vbox_new (FALSE, 12); + gtk_container_set_border_width (GTK_CONTAINER (self->priv->input_box), 12); diff --git a/gnome-extra/gnome-media/files/gnome-media-2.26.0-missing-cddbslave-cflags.patch b/gnome-extra/gnome-media/files/gnome-media-2.26.0-missing-cddbslave-cflags.patch new file mode 100644 index 000000000000..99067a0ea98f --- /dev/null +++ b/gnome-extra/gnome-media/files/gnome-media-2.26.0-missing-cddbslave-cflags.patch @@ -0,0 +1,22 @@ +--- ../gnome-media-2.26.0_orig/gnome-cd/access/Makefile.am 2008-09-07 20:54:07.000000000 +0200 ++++ gnome-cd/access/Makefile.am 2009-03-23 15:19:45.952339992 +0100 +@@ -3,7 +3,8 @@ + $(MEDIA_CFLAGS) \ + -I$(top_srcdir)/cddb-slave2 \ + $(GAILUTIL_CFLAGS) \ +- $(LIBXML2_CFLAGS) ++ $(LIBXML2_CFLAGS) \ ++ $(CDDBSLAVE_CFLAGS) + + noinst_LTLIBRARIES = libgnomecdaccess.la + +--- ../gnome-media-2.26.0_orig/gnome-cd/Makefile.am 2008-09-07 20:54:07.000000000 +0200 ++++ gnome-cd/Makefile.am 2009-03-23 15:20:23.923000140 +0100 +@@ -15,6 +15,7 @@ + $(GNOMECD_CFLAGS) \ + $(GAILUTIL_CFLAGS) \ + $(GST_CFLAGS) \ ++ $(CDDBSLAVE_CFLAGS) \ + -DGNOMELOCALEDIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \ + -DDATADIR=\""$(datadir)"\" \ + -DGNOME_ICONDIR=\""$(datadir)/pixmaps"\" \ diff --git a/gnome-extra/gnome-media/gnome-media-2.26.0.ebuild b/gnome-extra/gnome-media/gnome-media-2.26.0.ebuild new file mode 100644 index 000000000000..d84412733b08 --- /dev/null +++ b/gnome-extra/gnome-media/gnome-media-2.26.0.ebuild @@ -0,0 +1,92 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-media/gnome-media-2.26.0.ebuild,v 1.1 2009/05/10 20:58:09 ford_prefect Exp $ + +EAPI="2" + +inherit autotools eutils gnome2 + +DESCRIPTION="Multimedia related programs for the GNOME desktop" +HOMEPAGE="http://ronald.bitfreak.net/gnome-media.php" + +LICENSE="LGPL-2 GPL-2 FDL-1.1" +SLOT="2" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~sparc ~x86 ~x86-fbsd" +IUSE="canberra esd gnomecd ipv6 pulseaudio" + +RDEPEND=">=dev-libs/glib-2.18.2:2 + >=x11-libs/gtk+-2.15.1:2 + >=gnome-base/libglade-2 + >=gnome-base/gconf-2.6.1 + >=gnome-base/libgnomeui-2.13.2 + esd? ( >=media-sound/esound-0.2.23 ) + >=media-libs/gstreamer-0.10.3 + >=media-libs/gst-plugins-base-0.10.3 + >=media-libs/gst-plugins-good-0.10 + >=gnome-base/orbit-2 + canberra? ( >=media-libs/libcanberra-0.4[gtk] ) + >=dev-libs/libunique-1 + gnomecd? ( + >=gnome-extra/nautilus-cd-burner-2.12 + >=gnome-base/gail-0.0.3 + >=gnome-base/libbonobo-2 + || ( + >=media-plugins/gst-plugins-cdio-0.10 + >=media-plugins/gst-plugins-cdparanoia-0.10 ) ) + pulseaudio? ( >=media-sound/pulseaudio-0.9.15 ) + dev-libs/libxml2 + >=media-plugins/gst-plugins-meta-0.10-r2:0.10 + >=media-plugins/gst-plugins-gconf-0.10.1" +DEPEND="${RDEPEND} + >=dev-util/pkgconfig-0.9 + >=app-text/scrollkeeper-0.3.11 + >=app-text/gnome-doc-utils-0.3.2 + >=dev-util/intltool-0.35.0" + +DOCS="AUTHORS ChangeLog NEWS README TODO" + +pkg_setup() { + G2CONF="${G2CONF} + --enable-gstprops + --disable-esdtest + --disable-static + --disable-scrollkeeper + --disable-schemas-install + $(use_enable esd esound) + $(use_enable esd vumeter) + $(use_enable gnomecd cddbslave) + $(use_enable gnomecd) + $(use_enable ipv6) + $(use_enable pulseaudio) + $(use_enable !pulseaudio gstmix) + $(use_enable canberra)" +} + +src_prepare() { + gnome2_src_prepare + + if use gnomecd; then + epatch "${FILESDIR}/${P}-missing-cddbslave-cflags.patch" + fi + # Fix automagic canberra support + epatch "${FILESDIR}/${P}-automagic-canberra.patch" + eautoreconf +} + +src_compile() { + addpredict "$(unset HOME; echo ~)/.gconf" + addpredict "$(unset HOME; echo ~)/.gconfd" + gnome2_src_compile +} + +pkg_postinst() { + gnome2_pkg_postinst + ewarn + ewarn "If you cannot play some music format, please check your" + ewarn "USE flags on media-plugins/gst-plugins-meta" + ewarn + if use pulseaudio; then + ewarn "You have enabled pulseaudio support, gstmixer will not be built" + ewarn "If you do not use pulseaudio, you do not want this" + fi +} diff --git a/gnome-extra/gnome-media/metadata.xml b/gnome-extra/gnome-media/metadata.xml index 6278248d6b7b..e3104eb95a7d 100644 --- a/gnome-extra/gnome-media/metadata.xml +++ b/gnome-extra/gnome-media/metadata.xml @@ -3,6 +3,8 @@ <pkgmetadata> <herd>gnome</herd> <use> - <flag name='gnomecd'>Builds the GNOME CD Player</flag> + <flag name="gnomecd">Builds the GNOME CD Player</flag> + <flag name="canberra">Adds support for sound notification themes using + <pkg>media-libs/libcanberra</pkg></flag> </use> </pkgmetadata> |