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

Jan de Groot jgc at nymeria.archlinux.org
Thu Sep 19 19:42:16 UTC 2013


    Date: Thursday, September 19, 2013 @ 21:42:15
  Author: jgc
Revision: 194630

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 194629, totem/trunk/PKGBUILD)
  totem/repos/gnome-unstable-i686/browser-plugins.ini
    (from rev 194629, totem/trunk/browser-plugins.ini)
  totem/repos/gnome-unstable-i686/bugreport.patch
    (from rev 194629, totem/trunk/bugreport.patch)
  totem/repos/gnome-unstable-i686/totem.install
    (from rev 194629, totem/trunk/totem.install)
  totem/repos/gnome-unstable-x86_64/
  totem/repos/gnome-unstable-x86_64/PKGBUILD
    (from rev 194629, totem/trunk/PKGBUILD)
  totem/repos/gnome-unstable-x86_64/browser-plugins.ini
    (from rev 194629, totem/trunk/browser-plugins.ini)
  totem/repos/gnome-unstable-x86_64/bugreport.patch
    (from rev 194629, totem/trunk/bugreport.patch)
  totem/repos/gnome-unstable-x86_64/totem.install
    (from rev 194629, totem/trunk/totem.install)

-------------------------------------------+
 gnome-unstable-i686/PKGBUILD              |   82 ++++++++++++++++++++++++++++
 gnome-unstable-i686/browser-plugins.ini   |    2 
 gnome-unstable-i686/bugreport.patch       |   22 +++++++
 gnome-unstable-i686/totem.install         |   13 ++++
 gnome-unstable-x86_64/PKGBUILD            |   82 ++++++++++++++++++++++++++++
 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, 238 insertions(+)

Copied: totem/repos/gnome-unstable-i686/PKGBUILD (from rev 194629, totem/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-i686/PKGBUILD	                        (rev 0)
+++ gnome-unstable-i686/PKGBUILD	2013-09-19 19:42:15 UTC (rev 194630)
@@ -0,0 +1,82 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+
+pkgbase=totem
+pkgname=('totem' 'totem-plugin')
+pkgver=3.9.92
+pkgrel=1
+pkgdesc="GNOME3 movie player based on GStreamer"
+url="http://www.gnome.org"
+arch=(i686 x86_64)
+license=(GPL2 custom)
+depends=(gst-plugins-base gst-plugins-good totem-plparser desktop-file-utils iso-codes libpeas
+         hicolor-icon-theme gnome-icon-theme gsettings-desktop-schemas dconf clutter-gst
+         clutter-gtk python-gobject python-xdg gst-plugins-bad)
+makedepends=(intltool libnautilus-extension lirc-utils vala grilo dbus-glib zeitgeist
+             itstool docbook-xsl python-pylint)
+options=('!libtool' '!emptydirs')
+source=(http://ftp.gnome.org/pub/gnome/sources/$pkgbase/${pkgver%.*}/$pkgbase-$pkgver.tar.xz
+        browser-plugins.ini bugreport.patch)
+sha256sums=('da2d5bef59fbc615cbf8d81e3063ec2eb524131f1904058ffccb16978d690a53'
+            'a50a3bbf35f0535f7e8e20af1893446a2e5711015484f9ae6d1ff91af3b23c4e'
+            '30481dab7e21b66257e3238f5a8b708e1a5c4797d7da904f7ebaba4c2c2ef167')
+
+
+prepare() {
+  cd "$pkgbase-$pkgver"
+
+  # Make compatible with Python 3 and Gstreamer 1.0
+  patch -Np1 -i ../bugreport.patch
+}
+
+build() {
+  cd "$pkgbase-$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_totem() {
+  groups=(gnome)
+  install=totem.install
+  optdepends=('gst-plugins-ugly: Extra media codecs'
+              'gst-libav: Extra media codecs'
+              'lirc-utils: Infrared Remote Control plugin'
+              'grilo-plugins: Browse sidebar (remote media)'
+              'zeitgeist: Zeitgeist plugin')
+
+  cd "$pkgbase-$pkgver"
+  make DESTDIR="${pkgdir}" install
+
+  rm -r "$pkgdir/usr/lib/mozilla"
+  rm "$pkgdir/usr/lib/totem/totem-plugin-viewer"
+
+  install -Dm644 COPYING "$pkgdir/usr/share/licenses/totem/COPYING"
+}
+
+package_totem-plugin() {
+  groups=(gnome)
+  pkgdesc="Totem plugin for web browsers"
+  depends=("totem=$pkgver" dbus-glib)
+  backup=(etc/totem/browser-plugins.ini)
+
+  cd "$pkgbase-$pkgver"
+  make -C browser-plugin \
+    plugindir=/usr/lib/mozilla/plugins \
+    xptdir=/usr/lib/mozilla/plugins \
+    DESTDIR="$pkgdir" install
+
+  install -Dm644 ../browser-plugins.ini "$pkgdir/etc/totem/browser-plugins.ini"
+
+  install -Dm644 COPYING "$pkgdir/usr/share/licenses/totem-plugin/COPYING"
+}

Copied: totem/repos/gnome-unstable-i686/browser-plugins.ini (from rev 194629, totem/trunk/browser-plugins.ini)
===================================================================
--- gnome-unstable-i686/browser-plugins.ini	                        (rev 0)
+++ gnome-unstable-i686/browser-plugins.ini	2013-09-19 19:42:15 UTC (rev 194630)
@@ -0,0 +1,2 @@
+[Plugins]
+application/x-shockwave-flash.disabled=true

Copied: totem/repos/gnome-unstable-i686/bugreport.patch (from rev 194629, totem/trunk/bugreport.patch)
===================================================================
--- gnome-unstable-i686/bugreport.patch	                        (rev 0)
+++ gnome-unstable-i686/bugreport.patch	2013-09-19 19:42:15 UTC (rev 194630)
@@ -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 194629, totem/trunk/totem.install)
===================================================================
--- gnome-unstable-i686/totem.install	                        (rev 0)
+++ gnome-unstable-i686/totem.install	2013-09-19 19:42:15 UTC (rev 194630)
@@ -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 194629, totem/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD	                        (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD	2013-09-19 19:42:15 UTC (rev 194630)
@@ -0,0 +1,82 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+
+pkgbase=totem
+pkgname=('totem' 'totem-plugin')
+pkgver=3.9.92
+pkgrel=1
+pkgdesc="GNOME3 movie player based on GStreamer"
+url="http://www.gnome.org"
+arch=(i686 x86_64)
+license=(GPL2 custom)
+depends=(gst-plugins-base gst-plugins-good totem-plparser desktop-file-utils iso-codes libpeas
+         hicolor-icon-theme gnome-icon-theme gsettings-desktop-schemas dconf clutter-gst
+         clutter-gtk python-gobject python-xdg gst-plugins-bad)
+makedepends=(intltool libnautilus-extension lirc-utils vala grilo dbus-glib zeitgeist
+             itstool docbook-xsl python-pylint)
+options=('!libtool' '!emptydirs')
+source=(http://ftp.gnome.org/pub/gnome/sources/$pkgbase/${pkgver%.*}/$pkgbase-$pkgver.tar.xz
+        browser-plugins.ini bugreport.patch)
+sha256sums=('da2d5bef59fbc615cbf8d81e3063ec2eb524131f1904058ffccb16978d690a53'
+            'a50a3bbf35f0535f7e8e20af1893446a2e5711015484f9ae6d1ff91af3b23c4e'
+            '30481dab7e21b66257e3238f5a8b708e1a5c4797d7da904f7ebaba4c2c2ef167')
+
+
+prepare() {
+  cd "$pkgbase-$pkgver"
+
+  # Make compatible with Python 3 and Gstreamer 1.0
+  patch -Np1 -i ../bugreport.patch
+}
+
+build() {
+  cd "$pkgbase-$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_totem() {
+  groups=(gnome)
+  install=totem.install
+  optdepends=('gst-plugins-ugly: Extra media codecs'
+              'gst-libav: Extra media codecs'
+              'lirc-utils: Infrared Remote Control plugin'
+              'grilo-plugins: Browse sidebar (remote media)'
+              'zeitgeist: Zeitgeist plugin')
+
+  cd "$pkgbase-$pkgver"
+  make DESTDIR="${pkgdir}" install
+
+  rm -r "$pkgdir/usr/lib/mozilla"
+  rm "$pkgdir/usr/lib/totem/totem-plugin-viewer"
+
+  install -Dm644 COPYING "$pkgdir/usr/share/licenses/totem/COPYING"
+}
+
+package_totem-plugin() {
+  groups=(gnome)
+  pkgdesc="Totem plugin for web browsers"
+  depends=("totem=$pkgver" dbus-glib)
+  backup=(etc/totem/browser-plugins.ini)
+
+  cd "$pkgbase-$pkgver"
+  make -C browser-plugin \
+    plugindir=/usr/lib/mozilla/plugins \
+    xptdir=/usr/lib/mozilla/plugins \
+    DESTDIR="$pkgdir" install
+
+  install -Dm644 ../browser-plugins.ini "$pkgdir/etc/totem/browser-plugins.ini"
+
+  install -Dm644 COPYING "$pkgdir/usr/share/licenses/totem-plugin/COPYING"
+}

Copied: totem/repos/gnome-unstable-x86_64/browser-plugins.ini (from rev 194629, totem/trunk/browser-plugins.ini)
===================================================================
--- gnome-unstable-x86_64/browser-plugins.ini	                        (rev 0)
+++ gnome-unstable-x86_64/browser-plugins.ini	2013-09-19 19:42:15 UTC (rev 194630)
@@ -0,0 +1,2 @@
+[Plugins]
+application/x-shockwave-flash.disabled=true

Copied: totem/repos/gnome-unstable-x86_64/bugreport.patch (from rev 194629, totem/trunk/bugreport.patch)
===================================================================
--- gnome-unstable-x86_64/bugreport.patch	                        (rev 0)
+++ gnome-unstable-x86_64/bugreport.patch	2013-09-19 19:42:15 UTC (rev 194630)
@@ -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 194629, totem/trunk/totem.install)
===================================================================
--- gnome-unstable-x86_64/totem.install	                        (rev 0)
+++ gnome-unstable-x86_64/totem.install	2013-09-19 19:42:15 UTC (rev 194630)
@@ -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