summaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2008-02-25 18:25:37 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2008-02-25 18:25:37 +0800
commit4e38796a97a935982abe21c5efc4c80ceabcc71f (patch)
tree7546ac7e8536fc27b0818f2d6dcffff4887b6eaa /multimedia
parentaaf3ed80c9bc3674002d9866be5cf7f3da5fba75 (diff)
downloadmarcuscom-ports-4e38796a97a935982abe21c5efc4c80ceabcc71f.tar
marcuscom-ports-4e38796a97a935982abe21c5efc4c80ceabcc71f.tar.gz
marcuscom-ports-4e38796a97a935982abe21c5efc4c80ceabcc71f.tar.bz2
marcuscom-ports-4e38796a97a935982abe21c5efc4c80ceabcc71f.tar.lz
marcuscom-ports-4e38796a97a935982abe21c5efc4c80ceabcc71f.tar.xz
marcuscom-ports-4e38796a97a935982abe21c5efc4c80ceabcc71f.tar.zst
marcuscom-ports-4e38796a97a935982abe21c5efc4c80ceabcc71f.zip
Update to 2.21.94.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@10496 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/totem/Makefile4
-rw-r--r--multimedia/totem/distinfo6
-rw-r--r--multimedia/totem/files/patch-data_Makefile.in19
-rw-r--r--multimedia/totem/files/patch-data_totem-bugreport.py24
-rw-r--r--multimedia/totem/pkg-plist3
5 files changed, 51 insertions, 5 deletions
diff --git a/multimedia/totem/Makefile b/multimedia/totem/Makefile
index 0f1d5b0fb..0b1317ac4 100644
--- a/multimedia/totem/Makefile
+++ b/multimedia/totem/Makefile
@@ -3,11 +3,11 @@
# Whom: Hendrik Scholz <hendrik@scholz.net>
#
# $FreeBSD$
-# $MCom: ports/multimedia/totem/Makefile,v 1.96 2008/02/04 20:21:57 mezz Exp $
+# $MCom: ports/multimedia/totem/Makefile,v 1.97 2008/02/12 04:49:28 marcus Exp $
#
PORTNAME= totem
-PORTVERSION= 2.21.93
+PORTVERSION= 2.21.94
PORTREVISION?= 0
CATEGORIES= multimedia gnome
MASTER_SITES= GNOME
diff --git a/multimedia/totem/distinfo b/multimedia/totem/distinfo
index 3932e26e3..31693ab96 100644
--- a/multimedia/totem/distinfo
+++ b/multimedia/totem/distinfo
@@ -1,3 +1,3 @@
-MD5 (gnome2/totem-2.21.93.tar.bz2) = 6baa8c0510c5d40c5b9dfc9390fabd34
-SHA256 (gnome2/totem-2.21.93.tar.bz2) = a43c1e623e082d647ef91e8a2363924d7e6d9dfddd28ba0a46d2056d9d22beeb
-SIZE (gnome2/totem-2.21.93.tar.bz2) = 2246154
+MD5 (gnome2/totem-2.21.94.tar.bz2) = 9085126b33cb4cf48db1b3e89d85dea4
+SHA256 (gnome2/totem-2.21.94.tar.bz2) = 2da40c6bab934d2f620c2562447b325f1e37643142699105bcf8f123be4be487
+SIZE (gnome2/totem-2.21.94.tar.bz2) = 2257945
diff --git a/multimedia/totem/files/patch-data_Makefile.in b/multimedia/totem/files/patch-data_Makefile.in
new file mode 100644
index 000000000..7d88486a8
--- /dev/null
+++ b/multimedia/totem/files/patch-data_Makefile.in
@@ -0,0 +1,19 @@
+--- data/Makefile.in.orig 2008-02-25 10:42:57.000000000 +0100
++++ data/Makefile.in 2008-02-25 10:43:36.000000000 +0100
+@@ -328,7 +328,7 @@
+ top_srcdir = @top_srcdir@
+ SUBDIRS = icons
+ bugreportdir = $(libexecdir)/totem
+-bugreport_SCRIPTS = totem-bugreport.sh
++bugreport_SCRIPTS = totem-bugreport.py
+ man_MANS = totem.1 totem-video-thumbnailer.1
+ stuffdir = $(pkgdatadir)
+ stuff_DATA = \
+@@ -362,6 +362,7 @@
+ EXTRA_DIST = \
+ $(man_MANS) \
+ $(stuff_DATA) \
++ $(bugreport_SCRIPTS) \
+ desktop.sh \
+ handlers.sh \
+ lirc_example \
diff --git a/multimedia/totem/files/patch-data_totem-bugreport.py b/multimedia/totem/files/patch-data_totem-bugreport.py
new file mode 100644
index 000000000..89385a6d1
--- /dev/null
+++ b/multimedia/totem/files/patch-data_totem-bugreport.py
@@ -0,0 +1,24 @@
+--- data/totem-bugreport.py.orig 2008-02-25 10:46:34.000000000 +0100
++++ data/totem-bugreport.py 2008-02-25 10:46:24.000000000 +0100
+@@ -0,0 +1,21 @@
++#!/usr/bin/python
++import gtk
++import os
++from datetime import datetime
++
++# Get the GStreamer version
++if os.system ('gst-typefind-0.10 --version') == 0:
++ # List the formats of the last files played
++ last_visited = 0
++ recent_manager = gtk.recent_manager_get_default ()
++ for recent in recent_manager.get_items ():
++ if recent.has_group ("Totem"):
++ if recent.get_visited () > last_visited:
++ last_visited = recent.get_visited ()
++ last = recent.get_uri_display ()
++
++ if last != None:
++ file_handle = os.popen ('gst-typefind-0.10 "%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 ())
diff --git a/multimedia/totem/pkg-plist b/multimedia/totem/pkg-plist
index 8bd43a341..afe68aace 100644
--- a/multimedia/totem/pkg-plist
+++ b/multimedia/totem/pkg-plist
@@ -41,6 +41,7 @@ lib/totem/plugins/skipto/skipto.ui
lib/totem/plugins/totem/__init__.py
lib/totem/plugins/totem/__init__.pyc
lib/totem/plugins/totem/__init__.pyo
+libexec/totem/totem-bugreport.py
share/applications/totem.desktop
share/gnome/help/totem/C/figures/totem_next_button.png
share/gnome/help/totem/C/figures/totem_pause_button.png
@@ -198,6 +199,7 @@ share/locale/it/LC_MESSAGES/totem.mo
share/locale/ja/LC_MESSAGES/totem.mo
share/locale/ka/LC_MESSAGES/totem.mo
share/locale/ko/LC_MESSAGES/totem.mo
+share/locale/kn/LC_MESSAGES/totem.mo
share/locale/ku/LC_MESSAGES/totem.mo
share/locale/lt/LC_MESSAGES/totem.mo
share/locale/lv/LC_MESSAGES/totem.mo
@@ -294,6 +296,7 @@ share/vala/vapi/totem.vapi
@dirrm share/gnome/help/totem/C/figures
@dirrm share/gnome/help/totem/C
@dirrm share/gnome/help/totem
+@dirrm libexec/totem
@dirrm lib/totem/plugins/totem
@dirrm lib/totem/plugins/skipto
@dirrm lib/totem/plugins/screensaver