r35658 - in /packages/experimental/gnome-clocks/debian: changelog patches/02_fix_sound.patch patches/series

jbicha-guest at users.alioth.debian.org jbicha-guest at users.alioth.debian.org
Mon Sep 3 03:47:56 UTC 2012


Author: jbicha-guest
Date: Mon Sep  3 03:47:56 2012
New Revision: 35658

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=35658
Log:
fix broken sound

Added:
    packages/experimental/gnome-clocks/debian/patches/02_fix_sound.patch
Modified:
    packages/experimental/gnome-clocks/debian/changelog
    packages/experimental/gnome-clocks/debian/patches/series

Modified: packages/experimental/gnome-clocks/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/experimental/gnome-clocks/debian/changelog?rev=35658&op=diff
==============================================================================
--- packages/experimental/gnome-clocks/debian/changelog [utf-8] (original)
+++ packages/experimental/gnome-clocks/debian/changelog [utf-8] Mon Sep  3 03:47:56 2012
@@ -1,6 +1,5 @@
 gnome-clocks (0.1.0-1) UNRELEASED; urgency=low
 
   * Initial release
-  * TODO: figure out why Clocks can't find libcanberra.so
 
  -- Jeremy Bicha <jbicha at ubuntu.com>  Sun, 02 Sep 2012 20:40:09 -0400

Added: packages/experimental/gnome-clocks/debian/patches/02_fix_sound.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/experimental/gnome-clocks/debian/patches/02_fix_sound.patch?rev=35658&op=file
==============================================================================
--- packages/experimental/gnome-clocks/debian/patches/02_fix_sound.patch (added)
+++ packages/experimental/gnome-clocks/debian/patches/02_fix_sound.patch [utf-8] Mon Sep  3 03:47:56 2012
@@ -1,0 +1,31 @@
+From b80cd89b145b464813b165d7c4ad90315499c143 Mon Sep 17 00:00:00 2001
+From: Jeremy Bicha <jbicha at ubuntu.com>
+Date: Sun, 2 Sep 2012 23:40:08 -0400
+Subject: [PATCH] Fix libcanberra.so: cannot open shared object file: No such
+ file
+
+For one thing, we need the GTK3 version, not the GTK2 version.
+
+And then let's go with the file that's installed.
+
+I believe this will break if libcanberra ever needs to do a
+soname bump though.
+
+https://bugzilla.gnome.org/show_bug.cgi?id=683235
+---
+ gnomeclocks/pycanberra.py |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/gnomeclocks/pycanberra.py b/gnomeclocks/pycanberra.py
+index 36a0245..1cb8d60 100644
+--- a/gnomeclocks/pycanberra.py
++++ b/gnomeclocks/pycanberra.py
+@@ -502,7 +502,7 @@ _libHandle = None
+ def GetApi():
+    global _libHandle
+    if not _libHandle:
+-      _libHandle = CDLL("libcanberra.so")
++      _libHandle = CDLL("libcanberra-gtk3.so.0")
+    return _libHandle
+ 
+ 

Modified: packages/experimental/gnome-clocks/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/experimental/gnome-clocks/debian/patches/series?rev=35658&op=diff
==============================================================================
--- packages/experimental/gnome-clocks/debian/patches/series [utf-8] (original)
+++ packages/experimental/gnome-clocks/debian/patches/series [utf-8] Mon Sep  3 03:47:56 2012
@@ -1,1 +1,2 @@
 01_fix_images_dir.patch
+02_fix_sound.patch




More information about the pkg-gnome-commits mailing list