[arch-commits] Commit in rhythmbox/repos (16 files)
Eric Bélanger
eric at archlinux.org
Sun Nov 18 00:28:26 UTC 2012
Date: Saturday, November 17, 2012 @ 19:28:26
Author: eric
Revision: 171480
archrelease: copy trunk to extra-i686, extra-x86_64
Added:
rhythmbox/repos/extra-i686/Disable-the-context-pane-plugin-when-webkit-isn-t-available.patch
(from rev 171479, rhythmbox/trunk/Disable-the-context-pane-plugin-when-webkit-isn-t-available.patch)
rhythmbox/repos/extra-i686/PKGBUILD
(from rev 171479, rhythmbox/trunk/PKGBUILD)
rhythmbox/repos/extra-i686/rhythmbox-2.98-xinitthreads.patch
(from rev 171479, rhythmbox/trunk/rhythmbox-2.98-xinitthreads.patch)
rhythmbox/repos/extra-i686/rhythmbox.install
(from rev 171479, rhythmbox/trunk/rhythmbox.install)
rhythmbox/repos/extra-x86_64/Disable-the-context-pane-plugin-when-webkit-isn-t-available.patch
(from rev 171479, rhythmbox/trunk/Disable-the-context-pane-plugin-when-webkit-isn-t-available.patch)
rhythmbox/repos/extra-x86_64/PKGBUILD
(from rev 171479, rhythmbox/trunk/PKGBUILD)
rhythmbox/repos/extra-x86_64/rhythmbox-2.98-xinitthreads.patch
(from rev 171479, rhythmbox/trunk/rhythmbox-2.98-xinitthreads.patch)
rhythmbox/repos/extra-x86_64/rhythmbox.install
(from rev 171479, rhythmbox/trunk/rhythmbox.install)
Deleted:
rhythmbox/repos/extra-i686/Disable-the-context-pane-plugin-when-webkit-isn-t-available.patch
rhythmbox/repos/extra-i686/PKGBUILD
rhythmbox/repos/extra-i686/rhythmbox-2.98-xinitthreads.patch
rhythmbox/repos/extra-i686/rhythmbox.install
rhythmbox/repos/extra-x86_64/Disable-the-context-pane-plugin-when-webkit-isn-t-available.patch
rhythmbox/repos/extra-x86_64/PKGBUILD
rhythmbox/repos/extra-x86_64/rhythmbox-2.98-xinitthreads.patch
rhythmbox/repos/extra-x86_64/rhythmbox.install
--------------------------------------------------------------------------------+
extra-i686/Disable-the-context-pane-plugin-when-webkit-isn-t-available.patch | 74 ++--
extra-i686/PKGBUILD | 103 +++---
extra-i686/rhythmbox-2.98-xinitthreads.patch | 152 +++++-----
extra-i686/rhythmbox.install | 26 -
extra-x86_64/Disable-the-context-pane-plugin-when-webkit-isn-t-available.patch | 74 ++--
extra-x86_64/PKGBUILD | 103 +++---
extra-x86_64/rhythmbox-2.98-xinitthreads.patch | 152 +++++-----
extra-x86_64/rhythmbox.install | 26 -
8 files changed, 362 insertions(+), 348 deletions(-)
Deleted: extra-i686/Disable-the-context-pane-plugin-when-webkit-isn-t-available.patch
===================================================================
--- extra-i686/Disable-the-context-pane-plugin-when-webkit-isn-t-available.patch 2012-11-18 00:28:04 UTC (rev 171479)
+++ extra-i686/Disable-the-context-pane-plugin-when-webkit-isn-t-available.patch 2012-11-18 00:28:26 UTC (rev 171480)
@@ -1,37 +0,0 @@
-From a8f5d8cec87ef1586897e94e49bdf54db64bf97b Mon Sep 17 00:00:00 2001
-From: Kalev Lember <kalevlember at gmail.com>
-Date: Thu, 11 Oct 2012 10:59:16 +0200
-Subject: [PATCH] Disable the context pane plugin when webkit isn't available
-
----
- plugins/Makefile.am | 5 ++++-
- 1 file changed, 4 insertions(+), 1 deletion(-)
-
-diff --git a/plugins/Makefile.am b/plugins/Makefile.am
-index e4f6e69..3a9ea03 100644
---- a/plugins/Makefile.am
-+++ b/plugins/Makefile.am
-@@ -14,7 +14,6 @@ SUBDIRS = \
- if ENABLE_PYTHON
- SUBDIRS += \
- artsearch \
-- context \
- im-status \
- lyrics \
- magnatune \
-@@ -24,8 +23,12 @@ SUBDIRS += \
- sendto \
- rb
-
-+if WITH_WEBKIT
-+SUBDIRS += context
- endif
-
-+endif # ENABLE_PYTHON
-+
- if WITH_LIRC
- SUBDIRS += lirc
- endif
---
-1.7.12.1
-
Copied: rhythmbox/repos/extra-i686/Disable-the-context-pane-plugin-when-webkit-isn-t-available.patch (from rev 171479, rhythmbox/trunk/Disable-the-context-pane-plugin-when-webkit-isn-t-available.patch)
===================================================================
--- extra-i686/Disable-the-context-pane-plugin-when-webkit-isn-t-available.patch (rev 0)
+++ extra-i686/Disable-the-context-pane-plugin-when-webkit-isn-t-available.patch 2012-11-18 00:28:26 UTC (rev 171480)
@@ -0,0 +1,37 @@
+From a8f5d8cec87ef1586897e94e49bdf54db64bf97b Mon Sep 17 00:00:00 2001
+From: Kalev Lember <kalevlember at gmail.com>
+Date: Thu, 11 Oct 2012 10:59:16 +0200
+Subject: [PATCH] Disable the context pane plugin when webkit isn't available
+
+---
+ plugins/Makefile.am | 5 ++++-
+ 1 file changed, 4 insertions(+), 1 deletion(-)
+
+diff --git a/plugins/Makefile.am b/plugins/Makefile.am
+index e4f6e69..3a9ea03 100644
+--- a/plugins/Makefile.am
++++ b/plugins/Makefile.am
+@@ -14,7 +14,6 @@ SUBDIRS = \
+ if ENABLE_PYTHON
+ SUBDIRS += \
+ artsearch \
+- context \
+ im-status \
+ lyrics \
+ magnatune \
+@@ -24,8 +23,12 @@ SUBDIRS += \
+ sendto \
+ rb
+
++if WITH_WEBKIT
++SUBDIRS += context
+ endif
+
++endif # ENABLE_PYTHON
++
+ if WITH_LIRC
+ SUBDIRS += lirc
+ endif
+--
+1.7.12.1
+
Deleted: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD 2012-11-18 00:28:04 UTC (rev 171479)
+++ extra-i686/PKGBUILD 2012-11-18 00:28:26 UTC (rev 171480)
@@ -1,48 +0,0 @@
-# $Id$
-# Maintainer: Jan de Groot <jgc at archlinux.org>
-# Contributor: Giovanni Scafora <giovanni at archlinux.org>
-
-pkgname=rhythmbox
-pkgver=2.98
-pkgrel=3
-pkgdesc="An iTunes-like music playback and management application"
-arch=('i686' 'x86_64')
-license=('GPL')
-url="http://www.rhythmbox.org"
-depends=('dconf' 'desktop-file-utils' 'grilo'
- 'gstreamer0.10-base-plugins' 'gstreamer0.10-good-plugins' 'gvfs-afc' 'json-glib'
- 'libdmapsharing' 'libgpod' 'libmtp' 'libnotify' 'libpeas'
- 'lirc-utils' 'media-player-info' 'python2-gobject' 'python2-mako' 'totem-plparser'
- 'tdb' 'libdiscid')
-makedepends=('gnome-doc-utils' 'intltool' 'brasero' 'gobject-introspection' 'vala' 'gnome-common' 'gtk-doc')
-optdepends=('gstreamer0.10-ugly-plugins: Extra media codecs'
- 'gstreamer0.10-bad-plugins: Extra media codecs'
- 'gstreamer0.10-ffmpeg: Extra media codecs'
- 'brasero: cd burning')
-options=('!libtool' '!emptydirs')
-install=rhythmbox.install
-source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/$pkgver/$pkgname-$pkgver.tar.xz
- Disable-the-context-pane-plugin-when-webkit-isn-t-available.patch
- rhythmbox-2.98-xinitthreads.patch)
-sha256sums=('a5c0a18a7c76133d36c7dcbdc37e304eae8272703985b17b540d68603b0c76d5'
- '6510214e7fe0a18d17d8c599ae065bd48c2e1f82931fe82e3d1cc684a0801cd6'
- 'cd9af451a411e5a621c385d43f5ddd3664b3d085fc12dc7d5e5cd1f5db9e73b0')
-
-build() {
- cd "$pkgname-$pkgver"
- patch -Np1 -i "${srcdir}/Disable-the-context-pane-plugin-when-webkit-isn-t-available.patch"
- patch -Np1 -i "${srcdir}/rhythmbox-2.98-xinitthreads.patch"
- autoreconf -fi
- PYTHON=/usr/bin/python2 ./configure --prefix=/usr --sysconfdir=/etc \
- --libexecdir=/usr/lib/rhythmbox \
- --localstatedir=/var --disable-static \
- --enable-daap --enable-python --enable-vala \
- --with-mdns=avahi --disable-scrollkeeper --without-webkit
- make
-}
-
-package() {
- cd "$pkgname-$pkgver"
- make DESTDIR="$pkgdir" install
- rm -r "$pkgdir/usr/lib/rhythmbox/sample-plugins"
-}
Copied: rhythmbox/repos/extra-i686/PKGBUILD (from rev 171479, rhythmbox/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD (rev 0)
+++ extra-i686/PKGBUILD 2012-11-18 00:28:26 UTC (rev 171480)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+# Contributor: Giovanni Scafora <giovanni at archlinux.org>
+
+pkgname=rhythmbox
+pkgver=2.98
+pkgrel=4
+pkgdesc="An iTunes-like music playback and management application"
+arch=('i686' 'x86_64')
+license=('GPL')
+url="http://www.rhythmbox.org"
+depends=('dconf' 'desktop-file-utils' 'gstreamer0.10-base-plugins'
+ 'gstreamer0.10-good-plugins' 'gvfs-afc' 'json-glib'
+ 'libnotify' 'libpeas' 'media-player-info' 'python2-gobject'
+ 'totem-plparser' 'tdb')
+makedepends=('gnome-doc-utils' 'intltool' 'brasero' 'gobject-introspection'
+ 'vala' 'gnome-common' 'gtk-doc' 'grilo' 'libdmapsharing' 'lirc-utils'
+ 'libgpod' 'libmtp')
+optdepends=('gstreamer0.10-ugly-plugins: Extra media codecs'
+ 'gstreamer0.10-bad-plugins: Extra media codecs'
+ 'gstreamer0.10-ffmpeg: Extra media codecs'
+ 'brasero: Audio CD Recorder plugin'
+ 'libdmapsharing: DAAP Music Sharing plugin'
+ 'grilo-plugins: Grilo media browser plugin'
+ 'lirc-utils: LIRC plugin'
+ 'libgpod: Portable Players - iPod plugin'
+ 'libmtp: Portable Players - MTP plugin'
+ 'zeitgeist: Zeitgeist plugin')
+options=('!libtool' '!emptydirs')
+install=rhythmbox.install
+source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/$pkgver/$pkgname-$pkgver.tar.xz
+ Disable-the-context-pane-plugin-when-webkit-isn-t-available.patch
+ rhythmbox-2.98-xinitthreads.patch)
+sha256sums=('a5c0a18a7c76133d36c7dcbdc37e304eae8272703985b17b540d68603b0c76d5'
+ '6510214e7fe0a18d17d8c599ae065bd48c2e1f82931fe82e3d1cc684a0801cd6'
+ 'cd9af451a411e5a621c385d43f5ddd3664b3d085fc12dc7d5e5cd1f5db9e73b0')
+
+build() {
+ cd "$pkgname-$pkgver"
+ patch -Np1 -i "${srcdir}/Disable-the-context-pane-plugin-when-webkit-isn-t-available.patch"
+ patch -Np1 -i "${srcdir}/rhythmbox-2.98-xinitthreads.patch"
+ autoreconf -fi
+ PYTHON=/usr/bin/python2 ./configure --prefix=/usr --sysconfdir=/etc \
+ --libexecdir=/usr/lib/rhythmbox \
+ --localstatedir=/var --disable-static \
+ --enable-daap --enable-python --enable-vala \
+ --with-mdns=avahi --disable-scrollkeeper --without-webkit
+ make
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+ rm -r "$pkgdir/usr/lib/rhythmbox/sample-plugins"
+}
Deleted: extra-i686/rhythmbox-2.98-xinitthreads.patch
===================================================================
--- extra-i686/rhythmbox-2.98-xinitthreads.patch 2012-11-18 00:28:04 UTC (rev 171479)
+++ extra-i686/rhythmbox-2.98-xinitthreads.patch 2012-11-18 00:28:26 UTC (rev 171480)
@@ -1,76 +0,0 @@
-From 1780aab638aa39704be34fc214de39b4847a87b2 Mon Sep 17 00:00:00 2001
-From: Bastien Nocera <hadess at hadess.net>
-Date: Wed, 17 Oct 2012 19:02:50 +0200
-Subject: [PATCH] shell: Call XInitThreads() on X11 systems
-
-Otherwise bad things can happen with some plugins that expect
-mutexes to work, like the visualiser plugin and Clutter.
-
-https://bugzilla.gnome.org/show_bug.cgi?id=686320
----
- configure.ac | 15 +++++++++++++++
- shell/main.c | 12 ++++++++++++
- 2 files changed, 27 insertions(+)
-
-diff --git a/configure.ac b/configure.ac
-index 009c838..8a88d72 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -86,10 +86,25 @@ PKG_PROG_PKG_CONFIG
-
- PKG_CHECK_MODULES(RB_CLIENT, glib-2.0 >= $GLIB_REQS gio-2.0 >= $GLIB_REQS gio-unix-2.0 >= $GLIB_REQS)
-
-+dnl Always require libX11 for XInitThreads() on X11 systems
-+X11_PKG=""
-+gdk_targets=`$PKG_CONFIG --variable targets gdk-3.0`
-+for target in $gdk_targets; do
-+ case "$target" in
-+ x11)
-+ X11_PKG=x11
-+ break
-+ ;;
-+ *)
-+ ;;
-+ esac
-+done
-+
- dnl note: gio-unix-2.0 is here for libmediaplayerid
- PKG_CHECK_MODULES(RHYTHMBOX, \
- gobject-introspection-1.0 >= $GOBJECT_INTROSPECTION_REQS \
- gtk+-3.0 >= $GTK_REQS \
-+ $X11_PKG \
- gdk-pixbuf-2.0 >= $GDK_PIXBUF_REQS \
- glib-2.0 >= $GLIB_REQS \
- gio-2.0 >= $GLIB_REQS \
-diff --git a/shell/main.c b/shell/main.c
-index 3c0346d..696f3e9 100644
---- a/shell/main.c
-+++ b/shell/main.c
-@@ -34,6 +34,11 @@
- #include <glib/gi18n.h>
- #include <gtk/gtk.h>
-
-+#ifdef GDK_WINDOWING_X11
-+/* X11 headers */
-+#include <X11/Xlib.h>
-+#endif
-+
- #include <girepository.h>
-
- #include "rb-shell.h"
-@@ -51,6 +56,13 @@ main (int argc, char **argv)
- int new_argc;
- char **new_argv;
-
-+#ifdef GDK_WINDOWING_X11
-+ if (XInitThreads () == 0) {
-+ g_critical ("Initialising threading support failed.");
-+ return 1;
-+ }
-+#endif
-+
- /* disable multidevice so clutter-gtk events work.
- * this needs to be done before gtk_open, so the visualizer
- * plugin can't do it.
---
-1.7.12.1
\ No newline at end of file
Copied: rhythmbox/repos/extra-i686/rhythmbox-2.98-xinitthreads.patch (from rev 171479, rhythmbox/trunk/rhythmbox-2.98-xinitthreads.patch)
===================================================================
--- extra-i686/rhythmbox-2.98-xinitthreads.patch (rev 0)
+++ extra-i686/rhythmbox-2.98-xinitthreads.patch 2012-11-18 00:28:26 UTC (rev 171480)
@@ -0,0 +1,76 @@
+From 1780aab638aa39704be34fc214de39b4847a87b2 Mon Sep 17 00:00:00 2001
+From: Bastien Nocera <hadess at hadess.net>
+Date: Wed, 17 Oct 2012 19:02:50 +0200
+Subject: [PATCH] shell: Call XInitThreads() on X11 systems
+
+Otherwise bad things can happen with some plugins that expect
+mutexes to work, like the visualiser plugin and Clutter.
+
+https://bugzilla.gnome.org/show_bug.cgi?id=686320
+---
+ configure.ac | 15 +++++++++++++++
+ shell/main.c | 12 ++++++++++++
+ 2 files changed, 27 insertions(+)
+
+diff --git a/configure.ac b/configure.ac
+index 009c838..8a88d72 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -86,10 +86,25 @@ PKG_PROG_PKG_CONFIG
+
+ PKG_CHECK_MODULES(RB_CLIENT, glib-2.0 >= $GLIB_REQS gio-2.0 >= $GLIB_REQS gio-unix-2.0 >= $GLIB_REQS)
+
++dnl Always require libX11 for XInitThreads() on X11 systems
++X11_PKG=""
++gdk_targets=`$PKG_CONFIG --variable targets gdk-3.0`
++for target in $gdk_targets; do
++ case "$target" in
++ x11)
++ X11_PKG=x11
++ break
++ ;;
++ *)
++ ;;
++ esac
++done
++
+ dnl note: gio-unix-2.0 is here for libmediaplayerid
+ PKG_CHECK_MODULES(RHYTHMBOX, \
+ gobject-introspection-1.0 >= $GOBJECT_INTROSPECTION_REQS \
+ gtk+-3.0 >= $GTK_REQS \
++ $X11_PKG \
+ gdk-pixbuf-2.0 >= $GDK_PIXBUF_REQS \
+ glib-2.0 >= $GLIB_REQS \
+ gio-2.0 >= $GLIB_REQS \
+diff --git a/shell/main.c b/shell/main.c
+index 3c0346d..696f3e9 100644
+--- a/shell/main.c
++++ b/shell/main.c
+@@ -34,6 +34,11 @@
+ #include <glib/gi18n.h>
+ #include <gtk/gtk.h>
+
++#ifdef GDK_WINDOWING_X11
++/* X11 headers */
++#include <X11/Xlib.h>
++#endif
++
+ #include <girepository.h>
+
+ #include "rb-shell.h"
+@@ -51,6 +56,13 @@ main (int argc, char **argv)
+ int new_argc;
+ char **new_argv;
+
++#ifdef GDK_WINDOWING_X11
++ if (XInitThreads () == 0) {
++ g_critical ("Initialising threading support failed.");
++ return 1;
++ }
++#endif
++
+ /* disable multidevice so clutter-gtk events work.
+ * this needs to be done before gtk_open, so the visualizer
+ * plugin can't do it.
+--
+1.7.12.1
\ No newline at end of file
Deleted: extra-i686/rhythmbox.install
===================================================================
--- extra-i686/rhythmbox.install 2012-11-18 00:28:04 UTC (rev 171479)
+++ extra-i686/rhythmbox.install 2012-11-18 00:28:26 UTC (rev 171480)
@@ -1,13 +0,0 @@
-post_install() {
- glib-compile-schemas /usr/share/glib-2.0/schemas
- update-desktop-database -q
- gtk-update-icon-cache -f -q -t /usr/share/icons/hicolor
-}
-
-post_upgrade() {
- post_install
-}
-
-post_remove() {
- post_install
-}
Copied: rhythmbox/repos/extra-i686/rhythmbox.install (from rev 171479, rhythmbox/trunk/rhythmbox.install)
===================================================================
--- extra-i686/rhythmbox.install (rev 0)
+++ extra-i686/rhythmbox.install 2012-11-18 00:28:26 UTC (rev 171480)
@@ -0,0 +1,13 @@
+post_install() {
+ glib-compile-schemas /usr/share/glib-2.0/schemas
+ update-desktop-database -q
+ gtk-update-icon-cache -f -q -t /usr/share/icons/hicolor
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
Deleted: extra-x86_64/Disable-the-context-pane-plugin-when-webkit-isn-t-available.patch
===================================================================
--- extra-x86_64/Disable-the-context-pane-plugin-when-webkit-isn-t-available.patch 2012-11-18 00:28:04 UTC (rev 171479)
+++ extra-x86_64/Disable-the-context-pane-plugin-when-webkit-isn-t-available.patch 2012-11-18 00:28:26 UTC (rev 171480)
@@ -1,37 +0,0 @@
-From a8f5d8cec87ef1586897e94e49bdf54db64bf97b Mon Sep 17 00:00:00 2001
-From: Kalev Lember <kalevlember at gmail.com>
-Date: Thu, 11 Oct 2012 10:59:16 +0200
-Subject: [PATCH] Disable the context pane plugin when webkit isn't available
-
----
- plugins/Makefile.am | 5 ++++-
- 1 file changed, 4 insertions(+), 1 deletion(-)
-
-diff --git a/plugins/Makefile.am b/plugins/Makefile.am
-index e4f6e69..3a9ea03 100644
---- a/plugins/Makefile.am
-+++ b/plugins/Makefile.am
-@@ -14,7 +14,6 @@ SUBDIRS = \
- if ENABLE_PYTHON
- SUBDIRS += \
- artsearch \
-- context \
- im-status \
- lyrics \
- magnatune \
-@@ -24,8 +23,12 @@ SUBDIRS += \
- sendto \
- rb
-
-+if WITH_WEBKIT
-+SUBDIRS += context
- endif
-
-+endif # ENABLE_PYTHON
-+
- if WITH_LIRC
- SUBDIRS += lirc
- endif
---
-1.7.12.1
-
Copied: rhythmbox/repos/extra-x86_64/Disable-the-context-pane-plugin-when-webkit-isn-t-available.patch (from rev 171479, rhythmbox/trunk/Disable-the-context-pane-plugin-when-webkit-isn-t-available.patch)
===================================================================
--- extra-x86_64/Disable-the-context-pane-plugin-when-webkit-isn-t-available.patch (rev 0)
+++ extra-x86_64/Disable-the-context-pane-plugin-when-webkit-isn-t-available.patch 2012-11-18 00:28:26 UTC (rev 171480)
@@ -0,0 +1,37 @@
+From a8f5d8cec87ef1586897e94e49bdf54db64bf97b Mon Sep 17 00:00:00 2001
+From: Kalev Lember <kalevlember at gmail.com>
+Date: Thu, 11 Oct 2012 10:59:16 +0200
+Subject: [PATCH] Disable the context pane plugin when webkit isn't available
+
+---
+ plugins/Makefile.am | 5 ++++-
+ 1 file changed, 4 insertions(+), 1 deletion(-)
+
+diff --git a/plugins/Makefile.am b/plugins/Makefile.am
+index e4f6e69..3a9ea03 100644
+--- a/plugins/Makefile.am
++++ b/plugins/Makefile.am
+@@ -14,7 +14,6 @@ SUBDIRS = \
+ if ENABLE_PYTHON
+ SUBDIRS += \
+ artsearch \
+- context \
+ im-status \
+ lyrics \
+ magnatune \
+@@ -24,8 +23,12 @@ SUBDIRS += \
+ sendto \
+ rb
+
++if WITH_WEBKIT
++SUBDIRS += context
+ endif
+
++endif # ENABLE_PYTHON
++
+ if WITH_LIRC
+ SUBDIRS += lirc
+ endif
+--
+1.7.12.1
+
Deleted: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD 2012-11-18 00:28:04 UTC (rev 171479)
+++ extra-x86_64/PKGBUILD 2012-11-18 00:28:26 UTC (rev 171480)
@@ -1,48 +0,0 @@
-# $Id$
-# Maintainer: Jan de Groot <jgc at archlinux.org>
-# Contributor: Giovanni Scafora <giovanni at archlinux.org>
-
-pkgname=rhythmbox
-pkgver=2.98
-pkgrel=3
-pkgdesc="An iTunes-like music playback and management application"
-arch=('i686' 'x86_64')
-license=('GPL')
-url="http://www.rhythmbox.org"
-depends=('dconf' 'desktop-file-utils' 'grilo'
- 'gstreamer0.10-base-plugins' 'gstreamer0.10-good-plugins' 'gvfs-afc' 'json-glib'
- 'libdmapsharing' 'libgpod' 'libmtp' 'libnotify' 'libpeas'
- 'lirc-utils' 'media-player-info' 'python2-gobject' 'python2-mako' 'totem-plparser'
- 'tdb' 'libdiscid')
-makedepends=('gnome-doc-utils' 'intltool' 'brasero' 'gobject-introspection' 'vala' 'gnome-common' 'gtk-doc')
-optdepends=('gstreamer0.10-ugly-plugins: Extra media codecs'
- 'gstreamer0.10-bad-plugins: Extra media codecs'
- 'gstreamer0.10-ffmpeg: Extra media codecs'
- 'brasero: cd burning')
-options=('!libtool' '!emptydirs')
-install=rhythmbox.install
-source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/$pkgver/$pkgname-$pkgver.tar.xz
- Disable-the-context-pane-plugin-when-webkit-isn-t-available.patch
- rhythmbox-2.98-xinitthreads.patch)
-sha256sums=('a5c0a18a7c76133d36c7dcbdc37e304eae8272703985b17b540d68603b0c76d5'
- '6510214e7fe0a18d17d8c599ae065bd48c2e1f82931fe82e3d1cc684a0801cd6'
- 'cd9af451a411e5a621c385d43f5ddd3664b3d085fc12dc7d5e5cd1f5db9e73b0')
-
-build() {
- cd "$pkgname-$pkgver"
- patch -Np1 -i "${srcdir}/Disable-the-context-pane-plugin-when-webkit-isn-t-available.patch"
- patch -Np1 -i "${srcdir}/rhythmbox-2.98-xinitthreads.patch"
- autoreconf -fi
- PYTHON=/usr/bin/python2 ./configure --prefix=/usr --sysconfdir=/etc \
- --libexecdir=/usr/lib/rhythmbox \
- --localstatedir=/var --disable-static \
- --enable-daap --enable-python --enable-vala \
- --with-mdns=avahi --disable-scrollkeeper --without-webkit
- make
-}
-
-package() {
- cd "$pkgname-$pkgver"
- make DESTDIR="$pkgdir" install
- rm -r "$pkgdir/usr/lib/rhythmbox/sample-plugins"
-}
Copied: rhythmbox/repos/extra-x86_64/PKGBUILD (from rev 171479, rhythmbox/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD (rev 0)
+++ extra-x86_64/PKGBUILD 2012-11-18 00:28:26 UTC (rev 171480)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+# Contributor: Giovanni Scafora <giovanni at archlinux.org>
+
+pkgname=rhythmbox
+pkgver=2.98
+pkgrel=4
+pkgdesc="An iTunes-like music playback and management application"
+arch=('i686' 'x86_64')
+license=('GPL')
+url="http://www.rhythmbox.org"
+depends=('dconf' 'desktop-file-utils' 'gstreamer0.10-base-plugins'
+ 'gstreamer0.10-good-plugins' 'gvfs-afc' 'json-glib'
+ 'libnotify' 'libpeas' 'media-player-info' 'python2-gobject'
+ 'totem-plparser' 'tdb')
+makedepends=('gnome-doc-utils' 'intltool' 'brasero' 'gobject-introspection'
+ 'vala' 'gnome-common' 'gtk-doc' 'grilo' 'libdmapsharing' 'lirc-utils'
+ 'libgpod' 'libmtp')
+optdepends=('gstreamer0.10-ugly-plugins: Extra media codecs'
+ 'gstreamer0.10-bad-plugins: Extra media codecs'
+ 'gstreamer0.10-ffmpeg: Extra media codecs'
+ 'brasero: Audio CD Recorder plugin'
+ 'libdmapsharing: DAAP Music Sharing plugin'
+ 'grilo-plugins: Grilo media browser plugin'
+ 'lirc-utils: LIRC plugin'
+ 'libgpod: Portable Players - iPod plugin'
+ 'libmtp: Portable Players - MTP plugin'
+ 'zeitgeist: Zeitgeist plugin')
+options=('!libtool' '!emptydirs')
+install=rhythmbox.install
+source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/$pkgver/$pkgname-$pkgver.tar.xz
+ Disable-the-context-pane-plugin-when-webkit-isn-t-available.patch
+ rhythmbox-2.98-xinitthreads.patch)
+sha256sums=('a5c0a18a7c76133d36c7dcbdc37e304eae8272703985b17b540d68603b0c76d5'
+ '6510214e7fe0a18d17d8c599ae065bd48c2e1f82931fe82e3d1cc684a0801cd6'
+ 'cd9af451a411e5a621c385d43f5ddd3664b3d085fc12dc7d5e5cd1f5db9e73b0')
+
+build() {
+ cd "$pkgname-$pkgver"
+ patch -Np1 -i "${srcdir}/Disable-the-context-pane-plugin-when-webkit-isn-t-available.patch"
+ patch -Np1 -i "${srcdir}/rhythmbox-2.98-xinitthreads.patch"
+ autoreconf -fi
+ PYTHON=/usr/bin/python2 ./configure --prefix=/usr --sysconfdir=/etc \
+ --libexecdir=/usr/lib/rhythmbox \
+ --localstatedir=/var --disable-static \
+ --enable-daap --enable-python --enable-vala \
+ --with-mdns=avahi --disable-scrollkeeper --without-webkit
+ make
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+ rm -r "$pkgdir/usr/lib/rhythmbox/sample-plugins"
+}
Deleted: extra-x86_64/rhythmbox-2.98-xinitthreads.patch
===================================================================
--- extra-x86_64/rhythmbox-2.98-xinitthreads.patch 2012-11-18 00:28:04 UTC (rev 171479)
+++ extra-x86_64/rhythmbox-2.98-xinitthreads.patch 2012-11-18 00:28:26 UTC (rev 171480)
@@ -1,76 +0,0 @@
-From 1780aab638aa39704be34fc214de39b4847a87b2 Mon Sep 17 00:00:00 2001
-From: Bastien Nocera <hadess at hadess.net>
-Date: Wed, 17 Oct 2012 19:02:50 +0200
-Subject: [PATCH] shell: Call XInitThreads() on X11 systems
-
-Otherwise bad things can happen with some plugins that expect
-mutexes to work, like the visualiser plugin and Clutter.
-
-https://bugzilla.gnome.org/show_bug.cgi?id=686320
----
- configure.ac | 15 +++++++++++++++
- shell/main.c | 12 ++++++++++++
- 2 files changed, 27 insertions(+)
-
-diff --git a/configure.ac b/configure.ac
-index 009c838..8a88d72 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -86,10 +86,25 @@ PKG_PROG_PKG_CONFIG
-
- PKG_CHECK_MODULES(RB_CLIENT, glib-2.0 >= $GLIB_REQS gio-2.0 >= $GLIB_REQS gio-unix-2.0 >= $GLIB_REQS)
-
-+dnl Always require libX11 for XInitThreads() on X11 systems
-+X11_PKG=""
-+gdk_targets=`$PKG_CONFIG --variable targets gdk-3.0`
-+for target in $gdk_targets; do
-+ case "$target" in
-+ x11)
-+ X11_PKG=x11
-+ break
-+ ;;
-+ *)
-+ ;;
-+ esac
-+done
-+
- dnl note: gio-unix-2.0 is here for libmediaplayerid
- PKG_CHECK_MODULES(RHYTHMBOX, \
- gobject-introspection-1.0 >= $GOBJECT_INTROSPECTION_REQS \
- gtk+-3.0 >= $GTK_REQS \
-+ $X11_PKG \
- gdk-pixbuf-2.0 >= $GDK_PIXBUF_REQS \
- glib-2.0 >= $GLIB_REQS \
- gio-2.0 >= $GLIB_REQS \
-diff --git a/shell/main.c b/shell/main.c
-index 3c0346d..696f3e9 100644
---- a/shell/main.c
-+++ b/shell/main.c
-@@ -34,6 +34,11 @@
- #include <glib/gi18n.h>
- #include <gtk/gtk.h>
-
-+#ifdef GDK_WINDOWING_X11
-+/* X11 headers */
-+#include <X11/Xlib.h>
-+#endif
-+
- #include <girepository.h>
-
- #include "rb-shell.h"
-@@ -51,6 +56,13 @@ main (int argc, char **argv)
- int new_argc;
- char **new_argv;
-
-+#ifdef GDK_WINDOWING_X11
-+ if (XInitThreads () == 0) {
-+ g_critical ("Initialising threading support failed.");
-+ return 1;
-+ }
-+#endif
-+
- /* disable multidevice so clutter-gtk events work.
- * this needs to be done before gtk_open, so the visualizer
- * plugin can't do it.
---
-1.7.12.1
\ No newline at end of file
Copied: rhythmbox/repos/extra-x86_64/rhythmbox-2.98-xinitthreads.patch (from rev 171479, rhythmbox/trunk/rhythmbox-2.98-xinitthreads.patch)
===================================================================
--- extra-x86_64/rhythmbox-2.98-xinitthreads.patch (rev 0)
+++ extra-x86_64/rhythmbox-2.98-xinitthreads.patch 2012-11-18 00:28:26 UTC (rev 171480)
@@ -0,0 +1,76 @@
+From 1780aab638aa39704be34fc214de39b4847a87b2 Mon Sep 17 00:00:00 2001
+From: Bastien Nocera <hadess at hadess.net>
+Date: Wed, 17 Oct 2012 19:02:50 +0200
+Subject: [PATCH] shell: Call XInitThreads() on X11 systems
+
+Otherwise bad things can happen with some plugins that expect
+mutexes to work, like the visualiser plugin and Clutter.
+
+https://bugzilla.gnome.org/show_bug.cgi?id=686320
+---
+ configure.ac | 15 +++++++++++++++
+ shell/main.c | 12 ++++++++++++
+ 2 files changed, 27 insertions(+)
+
+diff --git a/configure.ac b/configure.ac
+index 009c838..8a88d72 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -86,10 +86,25 @@ PKG_PROG_PKG_CONFIG
+
+ PKG_CHECK_MODULES(RB_CLIENT, glib-2.0 >= $GLIB_REQS gio-2.0 >= $GLIB_REQS gio-unix-2.0 >= $GLIB_REQS)
+
++dnl Always require libX11 for XInitThreads() on X11 systems
++X11_PKG=""
++gdk_targets=`$PKG_CONFIG --variable targets gdk-3.0`
++for target in $gdk_targets; do
++ case "$target" in
++ x11)
++ X11_PKG=x11
++ break
++ ;;
++ *)
++ ;;
++ esac
++done
++
+ dnl note: gio-unix-2.0 is here for libmediaplayerid
+ PKG_CHECK_MODULES(RHYTHMBOX, \
+ gobject-introspection-1.0 >= $GOBJECT_INTROSPECTION_REQS \
+ gtk+-3.0 >= $GTK_REQS \
++ $X11_PKG \
+ gdk-pixbuf-2.0 >= $GDK_PIXBUF_REQS \
+ glib-2.0 >= $GLIB_REQS \
+ gio-2.0 >= $GLIB_REQS \
+diff --git a/shell/main.c b/shell/main.c
+index 3c0346d..696f3e9 100644
+--- a/shell/main.c
++++ b/shell/main.c
+@@ -34,6 +34,11 @@
+ #include <glib/gi18n.h>
+ #include <gtk/gtk.h>
+
++#ifdef GDK_WINDOWING_X11
++/* X11 headers */
++#include <X11/Xlib.h>
++#endif
++
+ #include <girepository.h>
+
+ #include "rb-shell.h"
+@@ -51,6 +56,13 @@ main (int argc, char **argv)
+ int new_argc;
+ char **new_argv;
+
++#ifdef GDK_WINDOWING_X11
++ if (XInitThreads () == 0) {
++ g_critical ("Initialising threading support failed.");
++ return 1;
++ }
++#endif
++
+ /* disable multidevice so clutter-gtk events work.
+ * this needs to be done before gtk_open, so the visualizer
+ * plugin can't do it.
+--
+1.7.12.1
\ No newline at end of file
Deleted: extra-x86_64/rhythmbox.install
===================================================================
--- extra-x86_64/rhythmbox.install 2012-11-18 00:28:04 UTC (rev 171479)
+++ extra-x86_64/rhythmbox.install 2012-11-18 00:28:26 UTC (rev 171480)
@@ -1,13 +0,0 @@
-post_install() {
- glib-compile-schemas /usr/share/glib-2.0/schemas
- update-desktop-database -q
- gtk-update-icon-cache -f -q -t /usr/share/icons/hicolor
-}
-
-post_upgrade() {
- post_install
-}
-
-post_remove() {
- post_install
-}
Copied: rhythmbox/repos/extra-x86_64/rhythmbox.install (from rev 171479, rhythmbox/trunk/rhythmbox.install)
===================================================================
--- extra-x86_64/rhythmbox.install (rev 0)
+++ extra-x86_64/rhythmbox.install 2012-11-18 00:28:26 UTC (rev 171480)
@@ -0,0 +1,13 @@
+post_install() {
+ glib-compile-schemas /usr/share/glib-2.0/schemas
+ update-desktop-database -q
+ gtk-update-icon-cache -f -q -t /usr/share/icons/hicolor
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
More information about the arch-commits
mailing list