Package: libcanberra / 0.30-10

Metadata

Package Version Patches format
libcanberra 0.30-10 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
undefined_reference.diff | (download)

src/Makefile.am | 6 6 0 - 0 !
1 file changed, 6 insertions( )

 fix ftbfs with binutils-gold

Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=555081

gtk_dont_assume_x11.patch | (download)

src/canberra-gtk-module.c | 15 15 0 - 0 !
src/canberra-gtk.c | 28 22 6 - 0 !
2 files changed, 37 insertions( ), 6 deletions(-)

 gtk: don't assume all gdkdisplays are gdkx11displays:
 broadway/wayland

Co-Authored-By: Bastien Nocera <[email protected]>

03_onlyshowin_unity.patch | (download)

src/libcanberra-login-sound.desktop.in | 2 1 1 - 0 !
1 file changed, 1 insertion( ), 1 deletion(-)

 play login sound in unity too

Bug-Ubuntu: https://launchpad.net/bugs/803519
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=38883

if it's enabled (it's disabled by default in Ubuntu)

gtk module Handle display closing gracefully.patch | (download)

src/canberra-gtk-module.c | 49 44 5 - 0 !
1 file changed, 44 insertions( ), 5 deletions(-)

 gtk-module: handle display closing gracefully

Modern desktop environments may have X running optionally, so the
canberra module may be unloaded because of this reason.

However we didn't handle it properly because of a long-standing issue
due to missing quit signal on Gtk 3, also we it may happen that a
widget gets destroyed because of that, but we were still trying to unref
them again during the dispatch_queue() idle.

To avoid this, let's track the "closed" display signal and let's monitor
for disposed (same as using "destroy" signal) objects, removing them from
the queue earlier.

 #0  g_log_writer_default (log_level=<optimized out>, fields=0x7ffcf2f236c0,
     n_fields=6, user_data=0x0) at ../../../glib/gmessages.c:557
 #1  0x00007f355eb3cc93 in g_log_structured_array (n_fields=6,
     fields=0x7ffcf2f236c0, log_level=G_LOG_LEVEL_ERROR)
     at ../../../glib/gmessages.c:1973
 #2  g_log_structured_array (log_level=G_LOG_LEVEL_ERROR,
     fields=0x7ffcf2f236c0, n_fields=6) at ../../../glib/gmessages.c:1946
 #3  0x00007f355eb3ce93 in g_log_structured_standard (
     log_domain=log_domain@entry=0x7f355e6be063 "Gtk",
     log_level=log_level@entry=G_LOG_LEVEL_ERROR,
     file=file@entry=0x7f355e724138 "../../../../gtk/gtkstylecontext.c",
     line=line@entry=0x7f355e6ddea4 "348",
     func=func@entry=0x7f355e724c70 <__func__.70> "gtk_style_context_init",
     message_format=message_format@entry=0x7f355e724458
     "Can't create a GtkStyleContext without a display connection")
     at ../../../glib/gmessages.c:2030
 #4  0x00007f355e5b45cf in gtk_style_context_init (context=0x555ee32475d0)
     at ../../../../gtk/gtkstylecontext.c:348
 #5  0x00007f355ec57efa in g_type_create_instance (type=<optimized out>)
     at ../../../gobject/gtype.c:1929
 #6  0x00007f355ec3ef4d in g_object_new_internal (
     class=class@entry=0x555ee2ec1c60, params=params@entry=0x0,
     n_params=n_params@entry=0) at ../../../gobject/gobject.c:2011
 #7  0x00007f355ec401ad in g_object_new_with_properties (
     object_type=93866027507792, n_properties=0, names=names@entry=0x0,
     values=values@entry=0x0) at ../../../gobject/gobject.c:2181
 #8  0x00007f355ec40cb1 in g_object_new (object_type=<optimized out>,
     first_property_name=<optimized out>) at ../../../gobject/gobject.c:1821
 #9  0x00007f355e393f80 in _gtk_style_new_for_path (screen=0x0,
     path=path@entry=0x555ee2ccd4b0)
     at ../../../../gtk/deprecated/gtkstyle.c:854
 #10 0x00007f355e3941f3 in gtk_style_new ()
     at ../../../../gtk/deprecated/gtkstyle.c:888
 #11 0x00007f355e398b71 in gtk_widget_get_default_style ()
     at ../../../../gtk/deprecated/gtkstyle.c:4061
 #12 gtk_widget_get_default_style ()
     at ../../../../gtk/deprecated/gtkstyle.c:4050
 #13 0x00007f355e65e8ee in gtk_widget_real_destroy (object=0x555ee3d54320)
     at ../../../../gtk/gtkwidget.c:12356
 #14 0x00007f355dec62a7 in ?? () from /lib/x86_64-linux-gnu/libmutter-10.so.0
 #15 0x00007f355ec2ed2f in g_closure_invoke (closure=0x555ee10ccac0,
     return_value=0x0, n_param_values=1, param_values=0x7ffcf2f24180,
     invocation_hint=0x7ffcf2f24100) at ../../../gobject/gclosure.c:830
 #16 0x00007f355ec4aae0 in signal_emit_unlocked_R (
     node=node@entry=0x555ee0fcd450, detail=detail@entry=0,
     instance=instance@entry=0x555ee3d54320,
     emission_return=emission_return@entry=0x0,
     instance_and_params=instance_and_params@entry=0x7ffcf2f24180)
     at ../../../gobject/gsignal.c:3861
 #17 0x00007f355ec4c554 in g_signal_emit_valist (instance=<optimized out>,
     signal_id=<optimized out>, detail=<optimized out>,
     var_args=var_args@entry=0x7ffcf2f24330)
     at ../../../gobject/gsignal.c:3496
 #18 0x00007f355ec4c7a3 in g_signal_emit (
     instance=instance@entry=0x555ee3d54320, signal_id=<optimized out>,
     detail=detail@entry=0) at ../../../gobject/gsignal.c:3553
 #19 0x00007f355e65e600 in gtk_widget_dispose (object=0x555ee3d54320)
     at ../../../../gtk/gtkwidget.c:12166
 #20 0x00007f355e66e0ee in gtk_window_dispose (object=0x555ee3d54320)
     at ../../../../gtk/gtkwindow.c:3168
 #21 0x00007f355ec3cd31 in g_object_unref (_object=<optimized out>)
     at ../../../gobject/gobject.c:3636
 #22 g_object_unref (_object=0x555ee3d54320)
     at ../../../gobject/gobject.c:3553
 #23 0x00007f352d6f1bfe in free_sound_event (d=0x7f3544280870)
     at /build/libcanberra-DU1C23/libcanberra-0.30/src/canberra-gtk-module.c:184
 #24 dispatch_queue ()
     at /build/libcanberra-DU1C23/libcanberra-0.30/src/canberra-gtk-module.c:840
 #25 idle_cb (userdata=<optimized out>)
     at /build/libcanberra-DU1C23/libcanberra-0.30/src/canberra-gtk-module.c:847
 #26 0x00007f355da452ad in gdk_threads_dispatch (data=0x7f35080db680)
     at ../../../../gdk/gdk.c:769
 #27 0x00007f355eb35c24 in g_main_dispatch (context=0x555ee08d8bd0)
     at ../../../glib/gmain.c:3417
 #28 g_main_context_dispatch (context=0x555ee08d8bd0)
     at ../../../glib/gmain.c:4135
 #29 0x00007f355eb8a6f8 in g_main_context_iterate.constprop.0 (
     context=0x555ee08d8bd0, block=block@entry=1, dispatch=dispatch@entry=1,
     self=<optimized out>) at ../../../glib/gmain.c:4211
 #30 0x00007f355eb35293 in g_main_loop_run (loop=0x555ee29a8f50)
     at ../../../glib/gmain.c:4411
 #31 0x00007f355dea6209 in meta_context_run_main_loop ()
    from /lib/x86_64-linux-gnu/libmutter-10.so.0
 #32 0x0000555edf819ed2 in ?? ()
 #33 0x00007f355dbd7d90 in __libc_start_call_main (
     main=main@entry=0x555edf819a30, argc=argc@entry=1,
     argv=argv@entry=0x7ffcf2f24838)
     at ../sysdeps/nptl/libc_start_call_main.h:58
 #34 0x00007f355dbd7e40 in __libc_start_main_impl (main=0x555edf819a30,
     argc=1, argv=0x7ffcf2f24838, init=<optimized out>, fini=<optimized out>,
     rtld_fini=<optimized out>, stack_end=0x7ffcf2f24828)
     at ../csu/libc-start.c:392
 #35 0x0000555edf81a155 in ?? ()

Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/ source/gnome-shell/ bug/1949200