Bug#270222: marked as done (Use update-alternatives facility
(totem patch))
Debian Bug Tracking System
owner@bugs.debian.org
Fri, 17 Sep 2004 13:18:10 -0700
Your message dated Fri, 17 Sep 2004 16:05:35 -0400
with message-id <E1C8Oz9-0006zm-00@newraff.debian.org>
and subject line Bug#270222: fixed in totem 0.99.16-1
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--------------------------------------
Received: (at submit) by bugs.debian.org; 6 Sep 2004 08:50:02 +0000
>From emil@nishra.com Mon Sep 06 01:50:02 2004
Return-path: <emil@nishra.com>
Received: from dsl017-048-146.sfo4.dsl.speakeasy.net (mail.nishra.com) [69.17.48.146]
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1C4FCM-0005HF-00; Mon, 06 Sep 2004 01:50:02 -0700
Received: by mail.nishra.com (Postfix, from userid 1005)
id E137C52FE; Mon, 6 Sep 2004 01:50:00 -0700 (PDT)
Content-Type: multipart/mixed; boundary="===============1948694732=="
MIME-Version: 1.0
From: Emil Soleyman-Zomalan <emil@nishra.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: Use update-alternatives facility (totem patch)
X-Mailer: reportbug 2.64
Date: Mon, 06 Sep 2004 01:50:00 -0700
Message-Id: <20040906085000.E137C52FE@mail.nishra.com>
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE
autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level:
This is a multi-part MIME message sent by reportbug.
--===============1948694732==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Package: totem
Version: 0.99.15.1-2
Severity: wishlist
Tags: patch
Hi Sebastien,
Please consider applying this patch to Totem since it is similar in
functionality to the same one I have or will have applied to
nautilus-media. It would be best if we could get them both to use
update-alternatives.
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable'), (400, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.6-mh2
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8
Versions of packages totem depends on:
ii totem-xine 0.99.15.1-2 A simple media player for the Gnom
-- debconf information:
* totem/thumbnailer: true
--===============1948694732==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="totem_use_alternatives.patch"
diff -urNad totem-0.99.15.1/debian/patches/00list totem-0.99.15.1-changed/debian/patches/00list
--- totem-0.99.15.1/debian/patches/00list 2004-08-16 12:22:16 -0700
+++ totem-0.99.15.1-changed/debian/patches/00list 2004-08-16 11:19:33 -0700
@@ -1 +1,2 @@
10_vcd_hang
+20_use_alternatives
diff -urNad totem-0.99.15.1/debian/patches/20_use_alternatives.dpatch totem-0.99.15.1-changed/debian/patches/20_use_alternatives.dpatch
--- totem-0.99.15.1/debian/patches/20_use_alternatives.dpatch 1969-12-31 16:00:00 -0800
+++ totem-0.99.15.1-changed/debian/patches/20_use_alternatives.dpatch 2004-08-16 12:03:00 -0700
@@ -0,0 +1,37 @@
+#! /bin/sh -e
+## 20_use_alternatives.dpatch by Sebastien Bacher <seb128@debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+if [ $# -lt 1 ]; then
+ echo "`basename $0`: script expects -patch|-unpatch as argument" >&2
+ exit 1
+fi
+
+[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts
+patch_opts="${patch_opts:--f --no-backup-if-mismatch} ${2:+-d $2}"
+
+case "$1" in
+ -patch) patch -p1 ${patch_opts} < $0;;
+ -unpatch) patch -R -p1 ${patch_opts} < $0;;
+ *)
+ echo "`basename $0`: script expects -patch|-unpatch as argument" >&2
+ exit 1;;
+esac
+
+exit 0
+
+@DPATCH@
+diff -urNad /tmp/totem-0.99.15.1.orig/data/schemas.sh /tmp/totem-0.99.15.1/data/schemas.sh
+--- /tmp/totem-0.99.15.1.orig/data/schemas.sh 2004-07-08 10:13:39 -0700
++++ totem-0.99.15.1/data/schemas.sh 2004-08-16 09:19:20 -0700
+@@ -1,7 +1,7 @@
+ #!/bin/sh
+
+ OWNER=totem
+-COMMAND="$2/totem-video-thumbnailer -s %s %u %o"
++COMMAND="$2/gnome-video-thumbnailer -s %s %u %o"
+
+ upd_schema()
+ {
diff -urNad totem-0.99.15.1/debian/totem-gstreamer.postinst totem-0.99.15.1-changed/debian/totem-gstreamer.postinst
--- totem-0.99.15.1/debian/totem-gstreamer.postinst 2004-08-16 12:22:16 -0700
+++ totem-0.99.15.1-changed/debian/totem-gstreamer.postinst 2004-08-16 12:15:59 -0700
@@ -7,6 +7,10 @@
if [ -x /usr/bin/update-desktop-database ] ; then
/usr/bin/update-desktop-database
fi
+
+ # Install a link to 'gnome-video-thumbnailer' via alternatives.
+ update-alternatives --quiet --install /usr/bin/gnome-video-thumbnailer gnome-video-thumbnailer /usr/bin/totem-video-thumbnailer 40
+
;;
abort-upgrade|abort-remove|abort-deconfigure)
diff -urNad totem-0.99.15.1/debian/totem-gstreamer.prerm totem-0.99.15.1-changed/debian/totem-gstreamer.prerm
--- totem-0.99.15.1/debian/totem-gstreamer.prerm 1969-12-31 16:00:00 -0800
+++ totem-0.99.15.1-changed/debian/totem-gstreamer.prerm 2004-08-16 12:25:31 -0700
@@ -0,0 +1,24 @@
+#! /bin/sh
+# prerm script for totem-gstreamer
+#
+# see: dh_installdeb(1)
+
+set -e
+
+case "$1" in
+ remove|upgrade|deconfigure)
+ update-alternatives --quiet --remove gnome-video-thumbnailer /usr/bin/totem-video-thumbnailer
+ ;;
+ failed-upgrade)
+ ;;
+
+ *)
+ echo "prerm called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+
+esac
+
+#DEBHELPER#
+
+exit 0
diff -urNad totem-0.99.15.1/debian/totem-xine.postinst totem-0.99.15.1-changed/debian/totem-xine.postinst
--- totem-0.99.15.1/debian/totem-xine.postinst 2004-08-16 12:22:16 -0700
+++ totem-0.99.15.1-changed/debian/totem-xine.postinst 2004-08-16 12:15:49 -0700
@@ -7,6 +7,10 @@
if [ -x /usr/bin/update-desktop-database ] ; then
/usr/bin/update-desktop-database
fi
+
+ # Install a link to 'gnome-video-thumbnailer' via alternatives.
+ update-alternatives --quiet --install /usr/bin/gnome-video-thumbnailer gnome-video-thumbnailer /usr/bin/totem-video-thumbnailer 40
+
;;
abort-upgrade|abort-remove|abort-deconfigure)
diff -urNad totem-0.99.15.1/debian/totem-xine.prerm totem-0.99.15.1-changed/debian/totem-xine.prerm
--- totem-0.99.15.1/debian/totem-xine.prerm 1969-12-31 16:00:00 -0800
+++ totem-0.99.15.1-changed/debian/totem-xine.prerm 2004-08-16 12:25:18 -0700
@@ -0,0 +1,24 @@
+#! /bin/sh
+# prerm script for totem-xine
+#
+# see: dh_installdeb(1)
+
+set -e
+
+case "$1" in
+ remove|upgrade|deconfigure)
+ update-alternatives --quiet --remove gnome-video-thumbnailer /usr/bin/totem-video-thumbnailer
+ ;;
+ failed-upgrade)
+ ;;
+
+ *)
+ echo "prerm called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+
+esac
+
+#DEBHELPER#
+
+exit 0
--===============1948694732==--
---------------------------------------
Received: (at 270222-close) by bugs.debian.org; 17 Sep 2004 20:11:15 +0000
>From katie@ftp-master.debian.org Fri Sep 17 13:11:15 2004
Return-path: <katie@ftp-master.debian.org>
Received: from newraff.debian.org [208.185.25.31] (mail)
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1C8P4d-0000Me-00; Fri, 17 Sep 2004 13:11:15 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
id 1C8Oz9-0006zm-00; Fri, 17 Sep 2004 16:05:35 -0400
From: Sebastien Bacher <seb128@debian.org>
To: 270222-close@bugs.debian.org
X-Katie: $Revision: 1.51 $
Subject: Bug#270222: fixed in totem 0.99.16-1
Message-Id: <E1C8Oz9-0006zm-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Fri, 17 Sep 2004 16:05:35 -0400
Delivered-To: 270222-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-4.8 required=4.0 tests=BAYES_00,FROM_ENDS_IN_NUMS,
HAS_BUG_NUMBER autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level:
Source: totem
Source-Version: 0.99.16-1
We believe that the bug you reported is fixed in the latest version of
totem, which is due to be installed in the Debian FTP archive:
totem-gstreamer_0.99.16-1_i386.deb
to pool/main/t/totem/totem-gstreamer_0.99.16-1_i386.deb
totem-xine_0.99.16-1_i386.deb
to pool/main/t/totem/totem-xine_0.99.16-1_i386.deb
totem_0.99.16-1.diff.gz
to pool/main/t/totem/totem_0.99.16-1.diff.gz
totem_0.99.16-1.dsc
to pool/main/t/totem/totem_0.99.16-1.dsc
totem_0.99.16-1_all.deb
to pool/main/t/totem/totem_0.99.16-1_all.deb
totem_0.99.16.orig.tar.gz
to pool/main/t/totem/totem_0.99.16.orig.tar.gz
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 270222@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Sebastien Bacher <seb128@debian.org> (supplier of updated totem package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Fri, 17 Sep 2004 12:17:22 +0200
Source: totem
Binary: totem-gstreamer totem-xine totem
Architecture: source all i386
Version: 0.99.16-1
Distribution: unstable
Urgency: low
Maintainer: Sebastien Bacher <seb128@debian.org>
Changed-By: Sebastien Bacher <seb128@debian.org>
Description:
totem - A simple media player for the Gnome desktop (dummy package)
totem-gstreamer - A simple media player for the Gnome desktop based on gstreamer
totem-xine - A simple media player for the Gnome desktop based on xine
Closes: 270222 270985
Changes:
totem (0.99.16-1) unstable; urgency=low
.
* New upstream release.
* debian/control.in:
- totem depends on totem-xine | totem-gstreamer (Closes: #270985).
* debian/patches/20_use_alternatives.dpatch:
- patch from Emil Soleyman-Zomalan <emil@nishra.com> to convert the
video-thumbnailer to an alternative. (Closes: #270222).
Files:
abb0f08f084e27c725dc173d6677b172 1744 gnome optional totem_0.99.16-1.dsc
a8fd8cb9494abd6fdafd55625593f1cf 1526711 gnome optional totem_0.99.16.orig.tar.gz
90887667c03929416a7b5f89ed208ae1 32111 gnome optional totem_0.99.16-1.diff.gz
402638ac9d99c5aa6fb16194d324d644 4966 gnome optional totem_0.99.16-1_all.deb
85f0440e991d19b50b1ac3cfe1eca43b 715448 gnome optional totem-xine_0.99.16-1_i386.deb
5e11f6c9464e8ff035e621bb0825a229 704272 gnome optional totem-gstreamer_0.99.16-1_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
iD8DBQFBSz2iQxo87aLX0pIRAk3mAJ492adfctd+bVo2mMiNke7OlAxcWACgz2U8
g2WlHTWqc2Zt4RnrQl6fiAY=
=pes7
-----END PGP SIGNATURE-----