[arch-commits] Commit in totem/trunk (PKGBUILD bugreport.patch i686.patch)

Jan Steffens heftig at archlinux.org
Wed Apr 13 20:43:09 UTC 2016


    Date: Wednesday, April 13, 2016 @ 22:43:08
  Author: heftig
Revision: 264843

3.20.1-1

Added:
  totem/trunk/i686.patch
Modified:
  totem/trunk/PKGBUILD
Deleted:
  totem/trunk/bugreport.patch

-----------------+
 PKGBUILD        |   13 ++++++++++---
 bugreport.patch |   22 ----------------------
 i686.patch      |   13 +++++++++++++
 3 files changed, 23 insertions(+), 25 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-04-13 20:40:37 UTC (rev 264842)
+++ PKGBUILD	2016-04-13 20:43:08 UTC (rev 264843)
@@ -3,7 +3,7 @@
 # Contributor: Jan de Groot <jgc at archlinux.org>
 
 pkgname=totem
-pkgver=3.20.0
+pkgver=3.20.1
 pkgrel=1
 pkgdesc="GNOME3 movie player based on GStreamer"
 url="http://www.gnome.org"
@@ -26,9 +26,16 @@
 install=totem.install
 conflicts=(totem-plugin)
 replaces=(totem-plugin)
-source=(https://download.gnome.org/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz)
-sha256sums=('077b429054434418a311d6d5e38b35a4ee3716938451f326f519a373c87303df')
+source=(https://download.gnome.org/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz
+        i686.patch)
+sha256sums=('6f22480361ae869fd336854b4f83614fde528aff4e808eb716de33432eb45c27'
+            'a8daa11c5048d738de8f6db0cb8c41d3904d6c3451fbbf2922a9202b89f8d891')
 
+prepare() {
+  cd "$pkgname-$pkgver"
+  patch -Np1 -i ../i686.patch
+}
+
 build() {
   cd "$pkgname-$pkgver"
   ./configure --prefix=/usr \

Deleted: bugreport.patch
===================================================================
--- bugreport.patch	2016-04-13 20:40:37 UTC (rev 264842)
+++ bugreport.patch	2016-04-13 20:43:08 UTC (rev 264843)
@@ -1,22 +0,0 @@
-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 ()))

Added: i686.patch
===================================================================
--- i686.patch	                        (rev 0)
+++ i686.patch	2016-04-13 20:43:08 UTC (rev 264843)
@@ -0,0 +1,13 @@
+diff -u -r totem-3.20.1/src/backend/bacon-video-widget.c totem-3.20.1-i686/src/backend/bacon-video-widget.c
+--- totem-3.20.1/src/backend/bacon-video-widget.c	2016-03-22 17:45:32.000000000 +0100
++++ totem-3.20.1-i686/src/backend/bacon-video-widget.c	2016-04-13 22:31:35.477858516 +0200
+@@ -2334,7 +2334,8 @@
+     if (!gst_toc_entry_get_start_stop_times (entry, &start, &stop)) {
+       GST_DEBUG ("Chapter #%d (couldn't get times)", i);
+     } else {
+-      GST_DEBUG ("Chapter #%d (start: %li stop: %li)", i, start, stop);
++      GST_DEBUG ("Chapter #%d (start: %" G_GINT64_FORMAT " stop: %" G_GINT64_FORMAT ")",
++          i, start, stop);
+     }
+   }
+ 



More information about the arch-commits mailing list