public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/gnome:gnome-next commit in: media-video/totem/files/, media-video/totem/
@ 2011-08-04  4:52 Alexandre Restovtsev
  0 siblings, 0 replies; only message in thread
From: Alexandre Restovtsev @ 2011-08-04  4:52 UTC (permalink / raw
  To: gentoo-commits

commit:     c27dc5cb6cb8fa4d6be8a96d06e51175406afd0e
Author:     Alexandre Rostovtsev <tetromino <AT> gmail <DOT> com>
AuthorDate: Wed Aug  3 18:54:44 2011 +0000
Commit:     Alexandre Restovtsev <tetromino <AT> gmail <DOT> com>
CommitDate: Wed Aug  3 20:55:24 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=c27dc5cb

media-video/totem: 3.0.1 → 3.1.4

Bump to gnome-3.1.x version with numerous changes. Update dependencies
and plugins. The smclient target patch appears to be no longer needed
(see upstream commit 1a5e4f1b). Commented out intltoolize and
eautoreconf since we aren't changing configure.in any more.

---
 .../totem-2.90.0-smclient-target-detection.patch   |   39 -------------
 .../{totem-3.0.1.ebuild => totem-3.1.4.ebuild}     |   51 ++++++++---------
 media-video/totem/totem-9999.ebuild                |   58 +++++++++++---------
 3 files changed, 55 insertions(+), 93 deletions(-)

diff --git a/media-video/totem/files/totem-2.90.0-smclient-target-detection.patch b/media-video/totem/files/totem-2.90.0-smclient-target-detection.patch
deleted file mode 100644
index ad6cc69..0000000
--- a/media-video/totem/files/totem-2.90.0-smclient-target-detection.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-diff -pur totem-2.90.0.orig/configure.in totem-2.90.0/configure.in
---- totem-2.90.0.orig/configure.in	2010-06-19 14:22:16.000000000 -0400
-+++ totem-2.90.0/configure.in	2010-06-25 20:52:05.720211025 -0400
-@@ -153,18 +153,29 @@ GDK_TARGET="$($PKG_CONFIG --variable tar
- SMCLIENT_PKGS=
- AC_MSG_CHECKING([which smclient backend to use])
- AC_ARG_WITH([smclient],
--  [AS_HELP_STRING([--with-smclient],[which smclient backend to use (xsmp/win32/quartz)])],
-+  [AS_HELP_STRING([--with-smclient],[which smclient backend to use @<:@xsmp/win32/quartz/auto@:>@])],
-   [],
--  [case "$GDK_TARGET" in
--    x11) with_smclient=xsmp SMCLIENT_PKGS="sm ice" ;;
-+  [$with_smclient=auto])
-+
-+
-+if test "$with_smclient" != "no"; then
-+
-+  if test "$with_smclient" != "auto" -a "$with_smclient" != "yes"; then
-+    GDK_TARGET="$with_smclient"
-+  fi
-+
-+  case "$GDK_TARGET" in
-+    x11|xsmp) with_smclient=xsmp SMCLIENT_PKGS="sm ice" ;;
-     win32|quartz) with_smclient=$GDK_TARGET ;;
-     *) with_smclient=no ;;
--   esac])
--AC_MSG_RESULT([$with_smclient])
-+  esac
-+
-+  AC_MSG_RESULT([$with_smclient])
- 
--if test "$with_smclient" != "no"; then
-   PKG_CHECK_MODULES([SMCLIENT],[$SMCLIENT_PKGS])
-   AC_DEFINE([WITH_SMCLIENT],[1],[Define if smclient is enabled])
-+else
-+  AC_MSG_RESULT([$with_smclient])
- fi
- 
- AM_CONDITIONAL([WITH_SMCLIENT],[test "$with_smclient" != "no"])

diff --git a/media-video/totem/totem-3.0.1.ebuild b/media-video/totem/totem-3.1.4.ebuild
similarity index 79%
rename from media-video/totem/totem-3.0.1.ebuild
rename to media-video/totem/totem-3.1.4.ebuild
index b76b62d..7110154 100644
--- a/media-video/totem/totem-3.0.1.ebuild
+++ b/media-video/totem/totem-3.1.4.ebuild
@@ -3,6 +3,7 @@
 # $Header: /var/cvsroot/gentoo-x86/media-video/totem/totem-2.30.0-r1.ebuild,v 1.1 2010/06/13 20:36:55 pacho Exp $
 
 EAPI="3"
+GNOME_TARBALL_SUFFIX="xz"
 GCONF_DEBUG="yes"
 GNOME2_LA_PUNT="yes" # plugins are dlopened
 WANT_AUTOMAKE="1.11"
@@ -10,7 +11,7 @@ PYTHON_DEPEND="python? 2:2.4"
 PYTHON_USE_WITH="threads"
 PYTHON_USE_WITH_OPT="python"
 
-inherit autotools eutils gnome2 multilib python
+inherit gnome2 multilib python
 if [[ ${PV} = 9999 ]]; then
 	inherit gnome2-live
 fi
@@ -25,7 +26,7 @@ if [[ ${PV} = 9999 ]]; then
 else
 	KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
 fi
-IUSE="bluetooth doc +introspection iplayer lirc nautilus nsplugin +python tracker +youtube vala zeroconf"
+IUSE="bluetooth doc grilo +introspection iplayer lirc nautilus nsplugin +python +youtube vala zeroconf"
 
 # TODO:
 # Cone (VLC) plugin needs someone with the right setup (remi ?)
@@ -38,13 +39,16 @@ RDEPEND=">=dev-libs/glib-2.27.92:2
 	>=x11-libs/gdk-pixbuf-2.23.0:2
 	>=x11-libs/gtk+-2.99.3:3[introspection?]
 	>=dev-libs/totem-pl-parser-2.32.4[introspection?]
-	>=dev-libs/libpeas-0.7.2[gtk]
+	>=dev-libs/libpeas-1.1.0[gtk]
 	>=x11-themes/gnome-icon-theme-2.16
 	x11-libs/cairo
 	>=dev-libs/libxml2-2.6:2
-	>=dev-libs/dbus-glib-0.82
+	>=media-libs/clutter-1.6.8:1.0
+	>=media-libs/clutter-gst-1.3.9:1.0
+	>=media-libs/clutter-gtk-1.0.2:1.0
 	>=media-libs/gstreamer-0.10.30:0.10
 	>=media-libs/gst-plugins-base-0.10.30:0.10
+	x11-libs/mx:1.0
 
 	media-libs/gst-plugins-good:0.10
 	media-plugins/gst-plugins-taglib:0.10
@@ -57,14 +61,16 @@ RDEPEND=">=dev-libs/glib-2.27.92:2
 	x11-libs/libSM
 	x11-libs/libX11
 	x11-libs/libXtst
-	>=x11-libs/libXrandr-1.1.1
 	>=x11-libs/libXxf86vm-1.0.1
 
 	bluetooth? ( net-wireless/bluez )
+	grilo? ( >=media-libs/grilo-0.1.16 )
 	introspection? ( >=dev-libs/gobject-introspection-0.6.7 )
 	lirc? ( app-misc/lirc )
 	nautilus? ( >=gnome-base/nautilus-2.91.3 )
-	nsplugin? ( >=x11-misc/shared-mime-info-0.22 )
+	nsplugin? (
+		>=dev-libs/dbus-glib-0.82
+		>=x11-misc/shared-mime-info-0.22 )
 	python? (
 		>=dev-libs/gobject-introspection-0.6.7
 		>=dev-python/pygobject-2.27.0[introspection]
@@ -76,8 +82,7 @@ RDEPEND=">=dev-libs/glib-2.27.92:2
 			dev-python/httplib2
 			dev-python/feedparser
 			dev-python/beautifulsoup ) )
-	tracker? ( >=app-misc/tracker-0.9.34 )
-	vala? ( >=dev-lang/vala-0.11.1:0.12 )
+	vala? ( >=dev-lang/vala-0.12.1:0.12 )
 	youtube? (
 		>=dev-libs/libgdata-0.7.0
 		net-libs/libsoup:2.4
@@ -89,7 +94,6 @@ DEPEND="${RDEPEND}
 	sys-devel/gettext
 	x11-proto/xproto
 	x11-proto/xextproto
-	x11-proto/xf86vidmodeproto
 	app-text/scrollkeeper
 	>=app-text/gnome-doc-utils-0.20.3
 	>=dev-util/intltool-0.40
@@ -115,8 +119,7 @@ pkg_setup() {
 		--disable-schemas-compile
 		--disable-scrollkeeper
 		--disable-static
-		--with-dbus
-		--with-smclient
+		--with-smclient=auto
 		--enable-easy-codec-installation
 		$(use_enable introspection)
 		$(use_enable nautilus)
@@ -126,17 +129,19 @@ pkg_setup() {
 		$(use_enable vala)
 		VALAC=$(type -P valac-0.12)
 		BROWSER_PLUGIN_DIR=/usr/$(get_libdir)/nsbrowser/plugins"
+	#--with-smclient=auto needed to correctly link to libICE and libSM
 
-	# Disabled: coherence_upnp, sample-python, sample-vala, zeitgeist-dp
+	# Disabled: sample-python, sample-vala, zeitgeist-dp
 	local plugins="brasero-disc-recorder,chapters,im-status,gromit"
 	plugins="${plugins},media-player-keys,ontop,properties,screensaver"
-	plugins="${plugins},screenshot,sidebar-test,skipto,thumbnail"
+	plugins="${plugins},screenshot,sidebar-test,skipto"
 	use bluetooth && plugins="${plugins},bemused"
+	use grilo && plugins="${plugins},grilo"
 	use iplayer && plugins="${plugins},iplayer"
 	use lirc && plugins="${plugins},lirc"
 	use nautilus && plugins="${plugins},save-file"
-	use python && plugins="${plugins},dbus-service,jamendo,pythonconsole,opensubtitles"
-	use tracker && plugins="${plugins},tracker"
+	use python && plugins="${plugins},dbusservice,pythonconsole,opensubtitles"
+	use vala && plugins="${plugins},rotation"
 	use youtube && plugins="${plugins},youtube"
 	use zeroconf && plugins="${plugins},publish"
 
@@ -149,18 +154,10 @@ src_prepare() {
 	# AC_CONFIG_AUX_DIR_DEFAULT doesn't exist, and eautoreconf/aclocal fails
 	mkdir -p m4
 
-	# Don't check for gconf sinks, causes access violations that we can't fix.
-	# See bug 358755
-	sed -ri -e 's/gconf[a-z]+sink //g' configure* || die "gconf sed failed"
-
-	# Fix broken smclient option passing
-	# FIXME: File a bug for this
-	epatch "${FILESDIR}/${PN}-2.90.0-smclient-target-detection.patch"
-
-	if [[ ${PV} != 9999 ]]; then
-		intltoolize --force --copy --automake || die "intltoolize failed"
-		eautoreconf
-	fi
+	#if [[ ${PV} != 9999 ]]; then
+	#	intltoolize --force --copy --automake || die "intltoolize failed"
+	#	eautoreconf
+	#fi
 
 	# disable pyc compiling
 	mv py-compile py-compile.orig

diff --git a/media-video/totem/totem-9999.ebuild b/media-video/totem/totem-9999.ebuild
index 3fee120..7110154 100644
--- a/media-video/totem/totem-9999.ebuild
+++ b/media-video/totem/totem-9999.ebuild
@@ -3,6 +3,7 @@
 # $Header: /var/cvsroot/gentoo-x86/media-video/totem/totem-2.30.0-r1.ebuild,v 1.1 2010/06/13 20:36:55 pacho Exp $
 
 EAPI="3"
+GNOME_TARBALL_SUFFIX="xz"
 GCONF_DEBUG="yes"
 GNOME2_LA_PUNT="yes" # plugins are dlopened
 WANT_AUTOMAKE="1.11"
@@ -10,7 +11,7 @@ PYTHON_DEPEND="python? 2:2.4"
 PYTHON_USE_WITH="threads"
 PYTHON_USE_WITH_OPT="python"
 
-inherit autotools eutils gnome2 multilib python
+inherit gnome2 multilib python
 if [[ ${PV} = 9999 ]]; then
 	inherit gnome2-live
 fi
@@ -25,7 +26,7 @@ if [[ ${PV} = 9999 ]]; then
 else
 	KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
 fi
-IUSE="bluetooth doc +introspection iplayer lirc nautilus nsplugin +python tracker +youtube vala zeroconf"
+IUSE="bluetooth doc grilo +introspection iplayer lirc nautilus nsplugin +python +youtube vala zeroconf"
 
 # TODO:
 # Cone (VLC) plugin needs someone with the right setup (remi ?)
@@ -38,13 +39,16 @@ RDEPEND=">=dev-libs/glib-2.27.92:2
 	>=x11-libs/gdk-pixbuf-2.23.0:2
 	>=x11-libs/gtk+-2.99.3:3[introspection?]
 	>=dev-libs/totem-pl-parser-2.32.4[introspection?]
-	>=dev-libs/libpeas-0.7.2[gtk]
+	>=dev-libs/libpeas-1.1.0[gtk]
 	>=x11-themes/gnome-icon-theme-2.16
 	x11-libs/cairo
 	>=dev-libs/libxml2-2.6:2
-	>=dev-libs/dbus-glib-0.82
+	>=media-libs/clutter-1.6.8:1.0
+	>=media-libs/clutter-gst-1.3.9:1.0
+	>=media-libs/clutter-gtk-1.0.2:1.0
 	>=media-libs/gstreamer-0.10.30:0.10
 	>=media-libs/gst-plugins-base-0.10.30:0.10
+	x11-libs/mx:1.0
 
 	media-libs/gst-plugins-good:0.10
 	media-plugins/gst-plugins-taglib:0.10
@@ -57,14 +61,16 @@ RDEPEND=">=dev-libs/glib-2.27.92:2
 	x11-libs/libSM
 	x11-libs/libX11
 	x11-libs/libXtst
-	>=x11-libs/libXrandr-1.1.1
 	>=x11-libs/libXxf86vm-1.0.1
 
 	bluetooth? ( net-wireless/bluez )
+	grilo? ( >=media-libs/grilo-0.1.16 )
 	introspection? ( >=dev-libs/gobject-introspection-0.6.7 )
 	lirc? ( app-misc/lirc )
 	nautilus? ( >=gnome-base/nautilus-2.91.3 )
-	nsplugin? ( >=x11-misc/shared-mime-info-0.22 )
+	nsplugin? (
+		>=dev-libs/dbus-glib-0.82
+		>=x11-misc/shared-mime-info-0.22 )
 	python? (
 		>=dev-libs/gobject-introspection-0.6.7
 		>=dev-python/pygobject-2.27.0[introspection]
@@ -76,8 +82,7 @@ RDEPEND=">=dev-libs/glib-2.27.92:2
 			dev-python/httplib2
 			dev-python/feedparser
 			dev-python/beautifulsoup ) )
-	tracker? ( >=app-misc/tracker-0.9.34 )
-	vala? ( >=dev-lang/vala-0.11.1:0.12 )
+	vala? ( >=dev-lang/vala-0.12.1:0.12 )
 	youtube? (
 		>=dev-libs/libgdata-0.7.0
 		net-libs/libsoup:2.4
@@ -89,7 +94,6 @@ DEPEND="${RDEPEND}
 	sys-devel/gettext
 	x11-proto/xproto
 	x11-proto/xextproto
-	x11-proto/xf86vidmodeproto
 	app-text/scrollkeeper
 	>=app-text/gnome-doc-utils-0.20.3
 	>=dev-util/intltool-0.40
@@ -101,6 +105,13 @@ DEPEND="${RDEPEND}
 # docbook-xml-dtd is needed for user doc
 
 pkg_setup() {
+	# To remove when python eclass supports EAPI=4
+	# see bug #359379
+	if use python && ! use introspection; then
+		eerror "USE=python requires USE=introspection"
+		die "USE=python requires USE=introspection"
+	fi
+
 	DOCS="AUTHORS ChangeLog NEWS README TODO"
 	G2CONF="${G2CONF}
 		--disable-maintainer-mode
@@ -108,8 +119,7 @@ pkg_setup() {
 		--disable-schemas-compile
 		--disable-scrollkeeper
 		--disable-static
-		--with-dbus
-		--with-smclient
+		--with-smclient=auto
 		--enable-easy-codec-installation
 		$(use_enable introspection)
 		$(use_enable nautilus)
@@ -119,17 +129,19 @@ pkg_setup() {
 		$(use_enable vala)
 		VALAC=$(type -P valac-0.12)
 		BROWSER_PLUGIN_DIR=/usr/$(get_libdir)/nsbrowser/plugins"
+	#--with-smclient=auto needed to correctly link to libICE and libSM
 
-	# Disabled: coherence_upnp, sample-python, sample-vala, zeitgeist-dp
+	# Disabled: sample-python, sample-vala, zeitgeist-dp
 	local plugins="brasero-disc-recorder,chapters,im-status,gromit"
 	plugins="${plugins},media-player-keys,ontop,properties,screensaver"
-	plugins="${plugins},screenshot,sidebar-test,skipto,thumbnail"
+	plugins="${plugins},screenshot,sidebar-test,skipto"
 	use bluetooth && plugins="${plugins},bemused"
+	use grilo && plugins="${plugins},grilo"
 	use iplayer && plugins="${plugins},iplayer"
 	use lirc && plugins="${plugins},lirc"
 	use nautilus && plugins="${plugins},save-file"
-	use python && plugins="${plugins},dbus-service,jamendo,pythonconsole,opensubtitles"
-	use tracker && plugins="${plugins},tracker"
+	use python && plugins="${plugins},dbusservice,pythonconsole,opensubtitles"
+	use vala && plugins="${plugins},rotation"
 	use youtube && plugins="${plugins},youtube"
 	use zeroconf && plugins="${plugins},publish"
 
@@ -142,18 +154,10 @@ src_prepare() {
 	# AC_CONFIG_AUX_DIR_DEFAULT doesn't exist, and eautoreconf/aclocal fails
 	mkdir -p m4
 
-	# Don't check for gconf sinks, causes access violations that we can't fix.
-	# See bug 358755
-	sed -ri -e 's/gconf[a-z]+sink //g' configure* || die "gconf sed failed"
-
-	# Fix broken smclient option passing
-	# FIXME: File a bug for this
-	epatch "${FILESDIR}/${PN}-2.90.0-smclient-target-detection.patch"
-
-	if [[ ${PV} != 9999 ]]; then
-		intltoolize --force --copy --automake || die "intltoolize failed"
-		eautoreconf
-	fi
+	#if [[ ${PV} != 9999 ]]; then
+	#	intltoolize --force --copy --automake || die "intltoolize failed"
+	#	eautoreconf
+	#fi
 
 	# disable pyc compiling
 	mv py-compile py-compile.orig



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2011-08-04  4:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-04  4:52 [gentoo-commits] proj/gnome:gnome-next commit in: media-video/totem/files/, media-video/totem/ Alexandre Restovtsev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox