diff options
author | kwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059> | 2008-02-27 06:11:45 +0800 |
---|---|---|
committer | kwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059> | 2008-02-27 06:11:45 +0800 |
commit | 054a9fbbc31bb98c55580dcdea2211222cdae53d (patch) | |
tree | d03d9d5c52ab17a364717870bc4fdafa55506637 /multimedia/totem/files | |
parent | a2bc05114c89bb1158242504a492ab20257fbdae (diff) | |
download | marcuscom-ports-054a9fbbc31bb98c55580dcdea2211222cdae53d.tar marcuscom-ports-054a9fbbc31bb98c55580dcdea2211222cdae53d.tar.gz marcuscom-ports-054a9fbbc31bb98c55580dcdea2211222cdae53d.tar.bz2 marcuscom-ports-054a9fbbc31bb98c55580dcdea2211222cdae53d.tar.lz marcuscom-ports-054a9fbbc31bb98c55580dcdea2211222cdae53d.tar.xz marcuscom-ports-054a9fbbc31bb98c55580dcdea2211222cdae53d.tar.zst marcuscom-ports-054a9fbbc31bb98c55580dcdea2211222cdae53d.zip |
Update to 2.21.95.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@10551 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'multimedia/totem/files')
-rw-r--r-- | multimedia/totem/files/patch-data_Makefile.in | 19 | ||||
-rw-r--r-- | multimedia/totem/files/patch-data_totem-bugreport.py | 24 |
2 files changed, 0 insertions, 43 deletions
diff --git a/multimedia/totem/files/patch-data_Makefile.in b/multimedia/totem/files/patch-data_Makefile.in deleted file mode 100644 index 7d88486a8..000000000 --- a/multimedia/totem/files/patch-data_Makefile.in +++ /dev/null @@ -1,19 +0,0 @@ ---- 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 deleted file mode 100644 index 89385a6d1..000000000 --- a/multimedia/totem/files/patch-data_totem-bugreport.py +++ /dev/null @@ -1,24 +0,0 @@ ---- 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 ()) |