[arch-commits] Commit in totem/repos (10 files)

Jan Steffens heftig at nymeria.archlinux.org
Sat Mar 29 22:25:13 UTC 2014


    Date: Saturday, March 29, 2014 @ 23:25:13
  Author: heftig
Revision: 209167

archrelease: copy trunk to gnome-unstable-i686, gnome-unstable-x86_64

Added:
  totem/repos/gnome-unstable-i686/
  totem/repos/gnome-unstable-i686/PKGBUILD
    (from rev 209166, totem/trunk/PKGBUILD)
  totem/repos/gnome-unstable-i686/browser-plugins.ini
    (from rev 209166, totem/trunk/browser-plugins.ini)
  totem/repos/gnome-unstable-i686/bugreport.patch
    (from rev 209166, totem/trunk/bugreport.patch)
  totem/repos/gnome-unstable-i686/totem.install
    (from rev 209166, totem/trunk/totem.install)
  totem/repos/gnome-unstable-x86_64/
  totem/repos/gnome-unstable-x86_64/PKGBUILD
    (from rev 209166, totem/trunk/PKGBUILD)
  totem/repos/gnome-unstable-x86_64/browser-plugins.ini
    (from rev 209166, totem/trunk/browser-plugins.ini)
  totem/repos/gnome-unstable-x86_64/bugreport.patch
    (from rev 209166, totem/trunk/bugreport.patch)
  totem/repos/gnome-unstable-x86_64/totem.install
    (from rev 209166, totem/trunk/totem.install)

-------------------------------------------+
 gnome-unstable-i686/PKGBUILD              |   64 ++++++++++++++++++++++++++++
 gnome-unstable-i686/browser-plugins.ini   |    2 
 gnome-unstable-i686/bugreport.patch       |   22 +++++++++
 gnome-unstable-i686/totem.install         |   13 +++++
 gnome-unstable-x86_64/PKGBUILD            |   64 ++++++++++++++++++++++++++++
 gnome-unstable-x86_64/browser-plugins.ini |    2 
 gnome-unstable-x86_64/bugreport.patch     |   22 +++++++++
 gnome-unstable-x86_64/totem.install       |   13 +++++
 8 files changed, 202 insertions(+)

Copied: totem/repos/gnome-unstable-i686/PKGBUILD (from rev 209166, totem/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-i686/PKGBUILD	                        (rev 0)
+++ gnome-unstable-i686/PKGBUILD	2014-03-29 22:25:13 UTC (rev 209167)
@@ -0,0 +1,64 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+
+pkgname=totem
+pkgver=3.12.0
+pkgrel=1
+pkgdesc="GNOME3 movie player based on GStreamer"
+url="http://www.gnome.org"
+arch=(i686 x86_64)
+license=(GPL2 custom)
+depends=(totem-plparser desktop-file-utils iso-codes libpeas clutter-gtk clutter-gst grilo
+         hicolor-icon-theme gnome-icon-theme gsettings-desktop-schemas dconf
+         python-gobject python-xdg
+         gst-plugins-base gst-plugins-good gst-plugins-bad)
+makedepends=(intltool libnautilus-extension lirc-utils vala zeitgeist
+             itstool docbook-xsl python-pylint)
+optdepends=('gst-plugins-ugly: Extra media codecs'
+            'gst-libav: Extra media codecs'
+            'lirc-utils: Infrared Remote Control plugin'
+            'grilo-plugins: Media discovery'
+            'zeitgeist: Zeitgeist plugin')
+groups=(gnome)
+options=('!emptydirs')
+backup=(etc/totem/browser-plugins.ini)
+install=totem.install
+conflicts=(totem-plugin)
+replaces=(totem-plugin)
+source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz
+        browser-plugins.ini bugreport.patch)
+sha256sums=('96762a1c2026f7bbc6ef8a431cf7626647e54ac2d195eb573a71d62dc3a2c430'
+            'a50a3bbf35f0535f7e8e20af1893446a2e5711015484f9ae6d1ff91af3b23c4e'
+            '30481dab7e21b66257e3238f5a8b708e1a5c4797d7da904f7ebaba4c2c2ef167')
+
+prepare() {
+  cd "$pkgname-$pkgver"
+
+  # Make compatible with Python 3 and Gstreamer 1.0
+  patch -Np1 -i ../bugreport.patch
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  ./configure --prefix=/usr \
+    --sysconfdir=/etc \
+    --libexecdir=/usr/lib/totem \
+    --localstatedir=/var \
+    --disable-static \
+    --enable-python \
+    --enable-nautilus
+
+  # https://bugzilla.gnome.org/show_bug.cgi?id=655517
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
+  make
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  make DESTDIR="${pkgdir}" install
+
+  install -Dm644 ../browser-plugins.ini "$pkgdir/etc/totem/browser-plugins.ini"
+  install -Dm644 COPYING "$pkgdir/usr/share/licenses/totem/COPYING"
+}

Copied: totem/repos/gnome-unstable-i686/browser-plugins.ini (from rev 209166, totem/trunk/browser-plugins.ini)
===================================================================
--- gnome-unstable-i686/browser-plugins.ini	                        (rev 0)
+++ gnome-unstable-i686/browser-plugins.ini	2014-03-29 22:25:13 UTC (rev 209167)
@@ -0,0 +1,2 @@
+[Plugins]
+application/x-shockwave-flash.disabled=true

Copied: totem/repos/gnome-unstable-i686/bugreport.patch (from rev 209166, totem/trunk/bugreport.patch)
===================================================================
--- gnome-unstable-i686/bugreport.patch	                        (rev 0)
+++ gnome-unstable-i686/bugreport.patch	2014-03-29 22:25:13 UTC (rev 209167)
@@ -0,0 +1,22 @@
+diff -u -r totem-3.8.2/data/totem-bugreport.py totem-3.8.2-bugreport/data/totem-bugreport.py
+--- totem-3.8.2/data/totem-bugreport.py	2013-03-13 16:34:44.000000000 +0100
++++ totem-3.8.2-bugreport/data/totem-bugreport.py	2013-05-14 13:54:04.243699665 +0200
+@@ -4,7 +4,7 @@
+ from gi.repository import Gtk
+ 
+ # Get the GStreamer version
+-if os.system ('gst-typefind-0.10 --version') == 0:
++if os.system ('gst-typefind-1.0 --version') == 0:
+ 	# List the formats of the last files played
+ 	last_visited = 0
+ 	recent_manager = Gtk.RecentManager.get_default ()
+@@ -15,7 +15,7 @@
+ 				last = recent.get_uri_display ()
+ 
+ 	if last != None:
+-		file_handle = os.popen ('gst-typefind-0.10 "%s"' % (last))
++		file_handle = os.popen ('gst-typefind-1.0 "%s"' % (last))
+ 		parts = file_handle.read ().split (' ')
+ 		date = datetime.fromtimestamp (last_visited)
+-		print 'Listened to a "%s" file on %s' % (parts.pop ().strip (), date.isoformat ())
++		print('Listened to a "%s" file on %s' % (parts.pop ().strip (), date.isoformat ()))

Copied: totem/repos/gnome-unstable-i686/totem.install (from rev 209166, totem/trunk/totem.install)
===================================================================
--- gnome-unstable-i686/totem.install	                        (rev 0)
+++ gnome-unstable-i686/totem.install	2014-03-29 22:25:13 UTC (rev 209167)
@@ -0,0 +1,13 @@
+post_install() {
+  /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
+  update-desktop-database -q
+  gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  post_install
+}

Copied: totem/repos/gnome-unstable-x86_64/PKGBUILD (from rev 209166, totem/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD	                        (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD	2014-03-29 22:25:13 UTC (rev 209167)
@@ -0,0 +1,64 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+
+pkgname=totem
+pkgver=3.12.0
+pkgrel=1
+pkgdesc="GNOME3 movie player based on GStreamer"
+url="http://www.gnome.org"
+arch=(i686 x86_64)
+license=(GPL2 custom)
+depends=(totem-plparser desktop-file-utils iso-codes libpeas clutter-gtk clutter-gst grilo
+         hicolor-icon-theme gnome-icon-theme gsettings-desktop-schemas dconf
+         python-gobject python-xdg
+         gst-plugins-base gst-plugins-good gst-plugins-bad)
+makedepends=(intltool libnautilus-extension lirc-utils vala zeitgeist
+             itstool docbook-xsl python-pylint)
+optdepends=('gst-plugins-ugly: Extra media codecs'
+            'gst-libav: Extra media codecs'
+            'lirc-utils: Infrared Remote Control plugin'
+            'grilo-plugins: Media discovery'
+            'zeitgeist: Zeitgeist plugin')
+groups=(gnome)
+options=('!emptydirs')
+backup=(etc/totem/browser-plugins.ini)
+install=totem.install
+conflicts=(totem-plugin)
+replaces=(totem-plugin)
+source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz
+        browser-plugins.ini bugreport.patch)
+sha256sums=('96762a1c2026f7bbc6ef8a431cf7626647e54ac2d195eb573a71d62dc3a2c430'
+            'a50a3bbf35f0535f7e8e20af1893446a2e5711015484f9ae6d1ff91af3b23c4e'
+            '30481dab7e21b66257e3238f5a8b708e1a5c4797d7da904f7ebaba4c2c2ef167')
+
+prepare() {
+  cd "$pkgname-$pkgver"
+
+  # Make compatible with Python 3 and Gstreamer 1.0
+  patch -Np1 -i ../bugreport.patch
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  ./configure --prefix=/usr \
+    --sysconfdir=/etc \
+    --libexecdir=/usr/lib/totem \
+    --localstatedir=/var \
+    --disable-static \
+    --enable-python \
+    --enable-nautilus
+
+  # https://bugzilla.gnome.org/show_bug.cgi?id=655517
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
+  make
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  make DESTDIR="${pkgdir}" install
+
+  install -Dm644 ../browser-plugins.ini "$pkgdir/etc/totem/browser-plugins.ini"
+  install -Dm644 COPYING "$pkgdir/usr/share/licenses/totem/COPYING"
+}

Copied: totem/repos/gnome-unstable-x86_64/browser-plugins.ini (from rev 209166, totem/trunk/browser-plugins.ini)
===================================================================
--- gnome-unstable-x86_64/browser-plugins.ini	                        (rev 0)
+++ gnome-unstable-x86_64/browser-plugins.ini	2014-03-29 22:25:13 UTC (rev 209167)
@@ -0,0 +1,2 @@
+[Plugins]
+application/x-shockwave-flash.disabled=true

Copied: totem/repos/gnome-unstable-x86_64/bugreport.patch (from rev 209166, totem/trunk/bugreport.patch)
===================================================================
--- gnome-unstable-x86_64/bugreport.patch	                        (rev 0)
+++ gnome-unstable-x86_64/bugreport.patch	2014-03-29 22:25:13 UTC (rev 209167)
@@ -0,0 +1,22 @@
+diff -u -r totem-3.8.2/data/totem-bugreport.py totem-3.8.2-bugreport/data/totem-bugreport.py
+--- totem-3.8.2/data/totem-bugreport.py	2013-03-13 16:34:44.000000000 +0100
++++ totem-3.8.2-bugreport/data/totem-bugreport.py	2013-05-14 13:54:04.243699665 +0200
+@@ -4,7 +4,7 @@
+ from gi.repository import Gtk
+ 
+ # Get the GStreamer version
+-if os.system ('gst-typefind-0.10 --version') == 0:
++if os.system ('gst-typefind-1.0 --version') == 0:
+ 	# List the formats of the last files played
+ 	last_visited = 0
+ 	recent_manager = Gtk.RecentManager.get_default ()
+@@ -15,7 +15,7 @@
+ 				last = recent.get_uri_display ()
+ 
+ 	if last != None:
+-		file_handle = os.popen ('gst-typefind-0.10 "%s"' % (last))
++		file_handle = os.popen ('gst-typefind-1.0 "%s"' % (last))
+ 		parts = file_handle.read ().split (' ')
+ 		date = datetime.fromtimestamp (last_visited)
+-		print 'Listened to a "%s" file on %s' % (parts.pop ().strip (), date.isoformat ())
++		print('Listened to a "%s" file on %s' % (parts.pop ().strip (), date.isoformat ()))

Copied: totem/repos/gnome-unstable-x86_64/totem.install (from rev 209166, totem/trunk/totem.install)
===================================================================
--- gnome-unstable-x86_64/totem.install	                        (rev 0)
+++ gnome-unstable-x86_64/totem.install	2014-03-29 22:25:13 UTC (rev 209167)
@@ -0,0 +1,13 @@
+post_install() {
+  /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
+  update-desktop-database -q
+  gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  post_install
+}




More information about the arch-commits mailing list