gboolean</a> enable);
@@ -60,7 +70,9 @@
<p>
Hello community,
here is the log from the commit of package libcanberra for openSUSE:Factory
checked in at Tue Dec 8 11:49:10 CET 2009.
--------
--- GNOME/libcanberra/libcanberra.changes 2009-10-06 19:53:12.000000000 +0200
+++ /mounts/work_src_done/STABLE/libcanberra/libcanberra.changes 2009-11-14 12:10:34.000000000 +0100
@@ -1,0 +2,17 @@
+Sat Nov 14 12:08:07 CET 2009 - vuntz@opensuse.org
+
+- Update to version 0.22:
+ + gtk: add missing cast
+ + gtk: only use GdkEvent::window if it is set
+- Changes from version 0.21:
+ + gtk: Do not dereference a null window.
+- Changes from version 0.20:
+ + gtk: fix casting
+- Changes from version 0.19:
+ + gtk: verify that a widget is realized before we try to access
+ its XID
+ + gtk: refresh event->window after dequeing
+ + gtk: even if GtkSettings is not available use context
+ + gtk: fix calculation of event hpos/vpos
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
libcanberra-0.18.tar.bz2
New:
----
libcanberra-0.22.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libcanberra.spec ++++++
--- /var/tmp/diff_new_pack.k7eY1b/_old 2009-12-08 11:48:41.000000000 +0100
+++ /var/tmp/diff_new_pack.k7eY1b/_new 2009-12-08 11:48:41.000000000 +0100
@@ -1,5 +1,5 @@
#
-# spec file for package libcanberra (Version 0.18)
+# spec file for package libcanberra (Version 0.22)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -18,9 +18,9 @@
Name: libcanberra
-Version: 0.18
-Release: 2
-License: LGPL v2.0 or later
+Version: 0.22
+Release: 1
+License: LGPLv2.0+
Summary: Portable sound event library
Url: http://0pointer.de/lennart/projects/libcanberra/
Group: System/Libraries
@@ -39,7 +39,7 @@
%define debug_package_requires libcanberra0 = %{version}-%{release}
%package -n libcanberra0
-License: LGPL v2.0 or later
+License: LGPLv2.0+
Summary: Portable sound event library
Group: System/Libraries
Requires: libpulse0 >= 0.9.11
@@ -74,7 +74,7 @@
trigger input feedback event sounds
%package gtk0
-License: LGPL v2.0 or later
+License: LGPLv2.0+
Summary: Portable sound event library
Group: System/Libraries
Requires: libcanberra0 = %{version}
@@ -94,7 +94,7 @@
trigger input feedback event sounds
%package gtk
-License: LGPL v2.0 or later
+License: LGPLv2.0+
Summary: Portable sound event library
Group: System/Libraries
Requires: libcanberra0 = %{version}
@@ -115,7 +115,7 @@
trigger input feedback event sounds
%package devel
-License: LGPL v2.0 or later
+License: LGPLv2.0+
Summary: Portable sound event library
Group: Development/Libraries/C and C++
Requires: gtk-doc
++++++ libcanberra-0.18.tar.bz2 -> libcanberra-0.22.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libcanberra-0.18/README new/libcanberra-0.22/README
--- old/libcanberra-0.18/README 2009-09-20 19:54:47.000000000 +0200
+++ new/libcanberra-0.22/README 2009-10-20 03:00:30.000000000 +0200
@@ -1,4 +1,4 @@
- libcanberra 0.18
+ libcanberra 0.22
Copyright 2008-2009 Lennart Poettering
@@ -26,71 +26,88 @@
News
+ Tue 20 Oct 2009:
+
+ [10]Version 0.22 released; small fix to make sure we don't dereference
+ a null pointer.
+
+ Fri 16 Oct 2009:
+
+ [11]Version 0.21 released; suppress casting warning
+
+ Thu 15 Oct 2009:
+
+ [12]Version 0.20 released; minor casting fix
+
+ Wed 14 Oct 2009:
+
+ [13]Version 0.19 released; some important fixes for the Gtk support
+
Sun 20 Sep 2009:
- [10]Version 0.18 released; numerous updates to Gtk support
+ [14]Version 0.18 released; numerous updates for the Gtk support
Fri 12 Sep 2009:
- [11]Version 0.17 released; add vala vapi file; numerous updates to Gtk
+ [15]Version 0.17 released; add vala vapi file; numerous updates to Gtk
support
Thu 27 Aug 2009:
- [12]Version 0.16 released; add new ca_context_playing() call
+ [16]Version 0.16 released; add new ca_context_playing() call
Wed 5 Aug 2009:
- [13]Version 0.15 released; bug fixes
+ [17]Version 0.15 released; bug fixes
Thu 2 Jul 2009:
- [14]Version 0.14 released; bug fixes
+ [18]Version 0.14 released; bug fixes
Tue 23 Jun 2009:
- [15]Version 0.13 released; multichannel support; gtk multihead support;
+ [19]Version 0.13 released; multichannel support; gtk multihead support;
bug fixes
Mon 13 Apr 2009:
- [16]Version 0.12 released; changes include: various fixes and updates
+ [20]Version 0.12 released; changes include: various fixes and updates
for the PulseAudio backend; detect forks and return an error for all
functions in that case
Wed 21 Jan 2009:
- [17]Version 0.11 released; changes include: major GStreamer backend
+ [21]Version 0.11 released; changes include: major GStreamer backend
fixes; update to libtool 2.2; a few other fixes
Mon 6 Oct 2008:
- [18]Version 0.10 released; changes include: install Gtk+ module using
+ [22]Version 0.10 released; changes include: install Gtk+ module using
GConf; a few other fixes
Tue 9 Sep 2008:
- [19]Version 0.9 released; changes include: GStreamer fixes, include
+ [23]Version 0.9 released; changes include: GStreamer fixes, include
(optional) libtdb based lookup cache.
Thu 28 Aug 2008:
- [20]Version 0.8 released; changes include: new OSS and GStreamer
+ [24]Version 0.8 released; changes include: new OSS and GStreamer
backend; portability fixes for FreeBSD/Solaris; the multi backend works
now
Thu 14 Aug 2008:
- [21]Version 0.7 released; changes include: documentation updates;
+ [25]Version 0.7 released; changes include: documentation updates;
various bug fixes; add this web site/README; allow playback of event
sounds with only a sound file path specified; other changes
Overview
- libcanberra is an implementation of the [22]XDG Sound Theme and Name
+ libcanberra is an implementation of the [26]XDG Sound Theme and Name
Specifications, for generating event sounds on free desktops, such as
- [23]GNOME. It comes with several backends ([24]ALSA, [25]PulseAudio,
- OSS, [26]GStreamer, null) and is designed to be portable. It consists
+ [27]GNOME. It comes with several backends ([28]ALSA, [29]PulseAudio,
+ OSS, [30]GStreamer, null) and is designed to be portable. It consists
of the following parts:
1. libcanberra: the main library
2. libcanberra-gtk: some glue code to make it easier to use
@@ -98,14 +115,14 @@
3. libcanberra-gtk-module: a Gtk+ module that uses libcanberra-gtk to
trigger input feedback event sounds
- For more information see [27]the original announcement.
+ For more information see [31]the original announcement.
Current Status
libcanberra is mostly feature complete. For now however it includes
backends only for ALSA, PulseAudio, OSS and GStreamer.
- libcanberra has been declared [28]a blessed GNOME dependency.
+ libcanberra has been declared [32]a blessed GNOME dependency.
The OSS driver is incomplete: only sound files that are in a format
natively understood by the sound card are supported. If the sample
@@ -127,7 +144,7 @@
Documentation
- You may browse the [29]gtkdoc generated [30]programing documentation of
+ You may browse the [33]gtkdoc generated [34]programing documentation of
the API.
Requirements
@@ -162,22 +179,25 @@
Download
The newest release is always available from
- [31]http://0pointer.de/lennart/projects/libcanberra/
+ [35]http://0pointer.de/lennart/projects/libcanberra/
- The current release is [32]0.18
+ The current release is [36]0.22
- Get libcanberra's development sources from the [33]GIT [34]repository
- ([35]gitweb):
+ Get libcanberra's development sources from the [37]GIT [38]repository
+ ([39]gitweb):
git clone git://git.0pointer.de/libcanberra
If you want to report bugs, have questions or want to be notified about
- new releases, please join the [36]libcanberra-discuss mailing list.
+ new releases, please join the [40]libcanberra-discuss mailing list.
+
+ If you want to be notified about new git commits, please join the
+ [41]libcanberra-commits mailing list.
- libcanberra's bugs are tracked at [37]bugs.freedesktop.org.
+ libcanberra's bugs are tracked at [42]bugs.freedesktop.org.
__________________________________________________________________
- Lennart Poettering , September
+ Lennart Poettering , October
2009
References
@@ -191,31 +211,36 @@
7. README#installation
8. README#acks
9. README#download
- 10. http://0pointer.de/lennart/projects/libcanberra/libcanberra-0.18.tar.gz
- 11. http://0pointer.de/lennart/projects/libcanberra/libcanberra-0.17.tar.gz
- 12. http://0pointer.de/lennart/projects/libcanberra/libcanberra-0.16.tar.gz
- 13. http://0pointer.de/lennart/projects/libcanberra/libcanberra-0.15.tar.gz
- 14. http://0pointer.de/lennart/projects/libcanberra/libcanberra-0.14.tar.gz
- 15. http://0pointer.de/lennart/projects/libcanberra/libcanberra-0.13.tar.gz
- 16. http://0pointer.de/lennart/projects/libcanberra/libcanberra-0.12.tar.gz
- 17. http://0pointer.de/lennart/projects/libcanberra/libcanberra-0.11.tar.gz
- 18. http://0pointer.de/lennart/projects/libcanberra/libcanberra-0.10.tar.gz
- 19. http://0pointer.de/lennart/projects/libcanberra/libcanberra-0.9.tar.gz
- 20. http://0pointer.de/lennart/projects/libcanberra/libcanberra-0.8.tar.gz
- 21. http://0pointer.de/lennart/projects/libcanberra/libcanberra-0.7.tar.gz
- 22. http://freedesktop.org/wiki/Specifications/sound-theme-spec
- 23. http://www.gnome.org/
- 24. http://alsa-project.org/
- 25. http://pulseaudio.org/
- 26. http://gstreamer.org/
- 27. http://0pointer.de/blog/projects/sixfold-announcement.html
- 28. http://mail.gnome.org/archives/devel-announce-list/2008-August/msg00001.html
- 29. http://www.gtk.org/gtk-doc/
- 30. http://0pointer.de/lennart/projects/libcanberra/gtkdoc/
- 31. http://0pointer.de/lennart/projects/libcanberra/
- 32. http://0pointer.de/lennart/projects/libcanberra/libcanberra-0.18.tar.gz
- 33. http://git-scm.com/
- 34. git://git.0pointer.de/libcanberra
- 35. http://git.0pointer.de/?p=libcanberra.git
- 36. https://tango.0pointer.de/mailman/listinfo/libcanberra-discuss/
- 37. http://bugs.freedesktop.org/buglist.cgi?bug_status=__open__&product=libcanberra
+ 10. http://0pointer.de/lennart/projects/libcanberra/libcanberra-0.22.tar.gz
+ 11. http://0pointer.de/lennart/projects/libcanberra/libcanberra-0.21.tar.gz
+ 12. http://0pointer.de/lennart/projects/libcanberra/libcanberra-0.20.tar.gz
+ 13. http://0pointer.de/lennart/projects/libcanberra/libcanberra-0.19.tar.gz
+ 14. http://0pointer.de/lennart/projects/libcanberra/libcanberra-0.18.tar.gz
+ 15. http://0pointer.de/lennart/projects/libcanberra/libcanberra-0.17.tar.gz
+ 16. http://0pointer.de/lennart/projects/libcanberra/libcanberra-0.16.tar.gz
+ 17. http://0pointer.de/lennart/projects/libcanberra/libcanberra-0.15.tar.gz
+ 18. http://0pointer.de/lennart/projects/libcanberra/libcanberra-0.14.tar.gz
+ 19. http://0pointer.de/lennart/projects/libcanberra/libcanberra-0.13.tar.gz
+ 20. http://0pointer.de/lennart/projects/libcanberra/libcanberra-0.12.tar.gz
+ 21. http://0pointer.de/lennart/projects/libcanberra/libcanberra-0.11.tar.gz
+ 22. http://0pointer.de/lennart/projects/libcanberra/libcanberra-0.10.tar.gz
+ 23. http://0pointer.de/lennart/projects/libcanberra/libcanberra-0.9.tar.gz
+ 24. http://0pointer.de/lennart/projects/libcanberra/libcanberra-0.8.tar.gz
+ 25. http://0pointer.de/lennart/projects/libcanberra/libcanberra-0.7.tar.gz
+ 26. http://freedesktop.org/wiki/Specifications/sound-theme-spec
+ 27. http://www.gnome.org/
+ 28. http://alsa-project.org/
+ 29. http://pulseaudio.org/
+ 30. http://gstreamer.org/
+ 31. http://0pointer.de/blog/projects/sixfold-announcement.html
+ 32. http://mail.gnome.org/archives/devel-announce-list/2008-August/msg00001.html
+ 33. http://www.gtk.org/gtk-doc/
+ 34. http://0pointer.de/lennart/projects/libcanberra/gtkdoc/
+ 35. http://0pointer.de/lennart/projects/libcanberra/
+ 36. http://0pointer.de/lennart/projects/libcanberra/libcanberra-0.22.tar.gz
+ 37. http://git-scm.com/
+ 38. git://git.0pointer.de/libcanberra
+ 39. http://git.0pointer.de/?p=libcanberra.git
+ 40. https://tango.0pointer.de/mailman/listinfo/libcanberra-discuss/
+ 41. https://tango.0pointer.de/mailman/listinfo/libcanberra-commits/
+ 42. http://bugs.freedesktop.org/buglist.cgi?bug_status=__open__&product=libcanberra
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libcanberra-0.18/config.guess new/libcanberra-0.22/config.guess
--- old/libcanberra-0.18/config.guess 2008-06-09 21:51:13.000000000 +0200
+++ new/libcanberra-0.22/config.guess 2009-01-21 21:55:08.000000000 +0100
@@ -4,7 +4,7 @@
# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
# Free Software Foundation, Inc.
-timestamp='2008-01-23'
+timestamp='2008-01-08'
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
@@ -1484,9 +1484,9 @@
the operating system you are using. It is advised that you
download the most up to date version of the config scripts from
- http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess...
+ http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.gues...
and
- http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;h...
+ http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.sub
If the version you run ($0) is already up to date, please
send the following data and any information you think might be
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libcanberra-0.18/configure new/libcanberra-0.22/configure
--- old/libcanberra-0.18/configure 2009-09-20 19:49:44.000000000 +0200
+++ new/libcanberra-0.22/configure 2009-10-20 02:29:54.000000000 +0200
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.63 for libcanberra 0.18.
+# Generated by GNU Autoconf 2.63 for libcanberra 0.22.
#
# Report bugs to .
#
@@ -745,8 +745,8 @@
# Identity of this package.
PACKAGE_NAME='libcanberra'
PACKAGE_TARNAME='libcanberra'
-PACKAGE_VERSION='0.18'
-PACKAGE_STRING='libcanberra 0.18'
+PACKAGE_VERSION='0.22'
+PACKAGE_STRING='libcanberra 0.22'
PACKAGE_BUGREPORT='mzyvopnaoreen (at) 0pointer (dot) de'
ac_unique_file="src/common.c"
@@ -1597,7 +1597,7 @@
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures libcanberra 0.18 to adapt to many kinds of systems.
+\`configure' configures libcanberra 0.22 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1667,7 +1667,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of libcanberra 0.18:";;
+ short | recursive ) echo "Configuration of libcanberra 0.22:";;
esac
cat <<\_ACEOF
@@ -1804,7 +1804,7 @@
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-libcanberra configure 0.18
+libcanberra configure 0.22
generated by GNU Autoconf 2.63
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
@@ -1818,7 +1818,7 @@
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by libcanberra $as_me 0.18, which was
+It was created by libcanberra $as_me 0.22, which was
generated by GNU Autoconf 2.63. Invocation command line was
$ $0 $@
@@ -2672,7 +2672,7 @@
# Define the identity of the package.
PACKAGE='libcanberra'
- VERSION='0.18'
+ VERSION='0.22'
cat >>confdefs.h <<_ACEOF
@@ -2718,7 +2718,7 @@
LIBCANBERRA_VERSION_INFO=2:1:2
-LIBCANBERRA_GTK_VERSION_INFO=1:3:1
+LIBCANBERRA_GTK_VERSION_INFO=1:5:1
# Make sure we can run config.sub.
@@ -5742,7 +5742,7 @@
-DESIRED_FLAGS="-Wall -W -Wextra -pedantic -pipe -Wno-long-long -Winline -Wvla -Wno-overlength-strings -Wunsafe-loop-optimizations -Wundef -Wformat=2 -Wlogical-op -Wsign-compare -Wpacked -Wformat-security -Wmissing-include-dirs -Wformat-nonliteral -Wold-style-definition -Wpointer-arith -Winit-self -Wdeclaration-after-statement -Wfloat-equal -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-noreturn -Wshadow -Wendif-labels -Wstrict-aliasing=2 -Wcast-align -Wwrite-strings -Winline -Wno-unused-parameter -ffast-math -Wp,-D_FORTIFY_SOURCE=2 -fno-common -fdiagnostics-show-option"
+DESIRED_FLAGS="-Wall -W -Wextra -pedantic -pipe -Wno-long-long -Winline -Wvla -Wno-overlength-strings -Wunsafe-loop-optimizations -Wundef -Wformat=2 -Wlogical-op -Wsign-compare -Wpacked -Wformat-security -Wmissing-include-dirs -Wformat-nonliteral -Wold-style-definition -Wpointer-arith -Winit-self -Wdeclaration-after-statement -Wfloat-equal -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-noreturn -Wshadow -Wendif-labels -Wstrict-aliasing=2 -Wcast-align -Wwrite-strings -Wno-unused-parameter -ffast-math -Wp,-D_FORTIFY_SOURCE=2 -fno-common -fdiagnostics-show-option"
for flag in $DESIRED_FLAGS ; do
@@ -7373,7 +7373,6 @@
eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
cat <<_LT_EOF >> conftest.$ac_ext
-
/* The mapping between symbol names and symbols. */
const struct {
const char *name;
@@ -7502,7 +7501,7 @@
;;
*-*-irix6*)
# Find out which ABI we are using.
- echo '#line 7505 "configure"' > conftest.$ac_ext
+ echo '#line 7504 "configure"' > conftest.$ac_ext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
@@ -9905,11 +9904,11 @@
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:9908: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:9907: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
- echo "$as_me:9912: \$? = $ac_status" >&5
+ echo "$as_me:9911: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings other than the usual output.
@@ -10244,11 +10243,11 @@
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:10247: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:10246: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
- echo "$as_me:10251: \$? = $ac_status" >&5
+ echo "$as_me:10250: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings other than the usual output.
@@ -10349,11 +10348,11 @@
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:10352: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:10351: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
- echo "$as_me:10356: \$? = $ac_status" >&5
+ echo "$as_me:10355: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
@@ -10404,11 +10403,11 @@
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:10407: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:10406: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
- echo "$as_me:10411: \$? = $ac_status" >&5
+ echo "$as_me:10410: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
@@ -13207,7 +13206,7 @@
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 13210 "configure"
+#line 13209 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -13303,7 +13302,7 @@
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 13306 "configure"
+#line 13305 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -15323,11 +15322,11 @@
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:15326: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:15325: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
- echo "$as_me:15330: \$? = $ac_status" >&5
+ echo "$as_me:15329: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings other than the usual output.
@@ -15422,11 +15421,11 @@
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:15425: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:15424: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
- echo "$as_me:15429: \$? = $ac_status" >&5
+ echo "$as_me:15428: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
@@ -15474,11 +15473,11 @@
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:15477: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:15476: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
- echo "$as_me:15481: \$? = $ac_status" >&5
+ echo "$as_me:15480: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
@@ -21805,7 +21804,7 @@
CA_MAJOR=0
-CA_MINOR=18
+CA_MINOR=22
@@ -22521,7 +22520,7 @@
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by libcanberra $as_me 0.18, which was
+This file was extended by libcanberra $as_me 0.22, which was
generated by GNU Autoconf 2.63. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -22584,7 +22583,7 @@
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_version="\\
-libcanberra config.status 0.18
+libcanberra config.status 0.22
configured by $0, generated by GNU Autoconf 2.63,
with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libcanberra-0.18/configure.ac new/libcanberra-0.22/configure.ac
--- old/libcanberra-0.18/configure.ac 2009-09-19 05:05:11.000000000 +0200
+++ new/libcanberra-0.22/configure.ac 2009-10-20 02:29:25.000000000 +0200
@@ -20,7 +20,7 @@
# http://www.gnu.org/licenses/.
m4_define([ca_major],[0])
-m4_define([ca_minor],[18])
+m4_define([ca_minor],[22])
m4_define([ca_version],[ca_major.ca_minor])
AC_PREREQ(2.63)
@@ -35,7 +35,7 @@
AC_SUBST(PACKAGE_URL, [http://0pointer.de/lennart/projects/libcanberra/])
AC_SUBST(LIBCANBERRA_VERSION_INFO, [2:1:2])
-AC_SUBST(LIBCANBERRA_GTK_VERSION_INFO, [1:3:1])
+AC_SUBST(LIBCANBERRA_GTK_VERSION_INFO, [1:5:1])
AC_CANONICAL_HOST
AC_DEFINE_UNQUOTED([CANONICAL_HOST], "$host", [Canonical host string.])
@@ -63,7 +63,7 @@
AC_PROG_CXX
-DESIRED_FLAGS="-Wall -W -Wextra -pedantic -pipe -Wno-long-long -Winline -Wvla -Wno-overlength-strings -Wunsafe-loop-optimizations -Wundef -Wformat=2 -Wlogical-op -Wsign-compare -Wpacked -Wformat-security -Wmissing-include-dirs -Wformat-nonliteral -Wold-style-definition -Wpointer-arith -Winit-self -Wdeclaration-after-statement -Wfloat-equal -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-noreturn -Wshadow -Wendif-labels -Wstrict-aliasing=2 -Wcast-align -Wwrite-strings -Winline -Wno-unused-parameter -ffast-math -Wp,-D_FORTIFY_SOURCE=2 -fno-common -fdiagnostics-show-option"
+DESIRED_FLAGS="-Wall -W -Wextra -pedantic -pipe -Wno-long-long -Winline -Wvla -Wno-overlength-strings -Wunsafe-loop-optimizations -Wundef -Wformat=2 -Wlogical-op -Wsign-compare -Wpacked -Wformat-security -Wmissing-include-dirs -Wformat-nonliteral -Wold-style-definition -Wpointer-arith -Winit-self -Wdeclaration-after-statement -Wfloat-equal -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-noreturn -Wshadow -Wendif-labels -Wstrict-aliasing=2 -Wcast-align -Wwrite-strings -Wno-unused-parameter -ffast-math -Wp,-D_FORTIFY_SOURCE=2 -fno-common -fdiagnostics-show-option"
for flag in $DESIRED_FLAGS ; do
CC_CHECK_CFLAGS([$flag], [CFLAGS="$CFLAGS $flag"])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libcanberra-0.18/doc/README new/libcanberra-0.22/doc/README
--- old/libcanberra-0.18/doc/README 2009-09-20 19:54:47.000000000 +0200
+++ new/libcanberra-0.22/doc/README 2009-10-20 03:00:30.000000000 +0200
@@ -1,4 +1,4 @@
- libcanberra 0.18
+ libcanberra 0.22
Copyright 2008-2009 Lennart Poettering
@@ -26,71 +26,88 @@
News
+ Tue 20 Oct 2009:
+
+ [10]Version 0.22 released; small fix to make sure we don't dereference
+ a null pointer.
+
+ Fri 16 Oct 2009:
+
+ [11]Version 0.21 released; suppress casting warning
+
+ Thu 15 Oct 2009:
+
+ [12]Version 0.20 released; minor casting fix
+
+ Wed 14 Oct 2009:
+
+ [13]Version 0.19 released; some important fixes for the Gtk support
+
Sun 20 Sep 2009:
- [10]Version 0.18 released; numerous updates to Gtk support
+ [14]Version 0.18 released; numerous updates for the Gtk support
Fri 12 Sep 2009:
- [11]Version 0.17 released; add vala vapi file; numerous updates to Gtk
+ [15]Version 0.17 released; add vala vapi file; numerous updates to Gtk
support
Thu 27 Aug 2009:
- [12]Version 0.16 released; add new ca_context_playing() call
+ [16]Version 0.16 released; add new ca_context_playing() call
Wed 5 Aug 2009:
- [13]Version 0.15 released; bug fixes
+ [17]Version 0.15 released; bug fixes
Thu 2 Jul 2009:
- [14]Version 0.14 released; bug fixes
+ [18]Version 0.14 released; bug fixes
Tue 23 Jun 2009:
- [15]Version 0.13 released; multichannel support; gtk multihead support;
+ [19]Version 0.13 released; multichannel support; gtk multihead support;
bug fixes
Mon 13 Apr 2009:
- [16]Version 0.12 released; changes include: various fixes and updates
+ [20]Version 0.12 released; changes include: various fixes and updates
for the PulseAudio backend; detect forks and return an error for all
functions in that case
Wed 21 Jan 2009:
- [17]Version 0.11 released; changes include: major GStreamer backend
+ [21]Version 0.11 released; changes include: major GStreamer backend
fixes; update to libtool 2.2; a few other fixes
Mon 6 Oct 2008:
- [18]Version 0.10 released; changes include: install Gtk+ module using
+ [22]Version 0.10 released; changes include: install Gtk+ module using
GConf; a few other fixes
Tue 9 Sep 2008:
- [19]Version 0.9 released; changes include: GStreamer fixes, include
+ [23]Version 0.9 released; changes include: GStreamer fixes, include
(optional) libtdb based lookup cache.
Thu 28 Aug 2008:
- [20]Version 0.8 released; changes include: new OSS and GStreamer
+ [24]Version 0.8 released; changes include: new OSS and GStreamer
backend; portability fixes for FreeBSD/Solaris; the multi backend works
now
Thu 14 Aug 2008:
- [21]Version 0.7 released; changes include: documentation updates;
+ [25]Version 0.7 released; changes include: documentation updates;
various bug fixes; add this web site/README; allow playback of event
sounds with only a sound file path specified; other changes
Overview
- libcanberra is an implementation of the [22]XDG Sound Theme and Name
+ libcanberra is an implementation of the [26]XDG Sound Theme and Name
Specifications, for generating event sounds on free desktops, such as
- [23]GNOME. It comes with several backends ([24]ALSA, [25]PulseAudio,
- OSS, [26]GStreamer, null) and is designed to be portable. It consists
+ [27]GNOME. It comes with several backends ([28]ALSA, [29]PulseAudio,
+ OSS, [30]GStreamer, null) and is designed to be portable. It consists
of the following parts:
1. libcanberra: the main library
2. libcanberra-gtk: some glue code to make it easier to use
@@ -98,14 +115,14 @@
3. libcanberra-gtk-module: a Gtk+ module that uses libcanberra-gtk to
trigger input feedback event sounds
- For more information see [27]the original announcement.
+ For more information see [31]the original announcement.
Current Status
libcanberra is mostly feature complete. For now however it includes
backends only for ALSA, PulseAudio, OSS and GStreamer.
- libcanberra has been declared [28]a blessed GNOME dependency.
+ libcanberra has been declared [32]a blessed GNOME dependency.
The OSS driver is incomplete: only sound files that are in a format
natively understood by the sound card are supported. If the sample
@@ -127,7 +144,7 @@
Documentation
- You may browse the [29]gtkdoc generated [30]programing documentation of
+ You may browse the [33]gtkdoc generated [34]programing documentation of
the API.
Requirements
@@ -162,22 +179,25 @@
Download
The newest release is always available from
- [31]http://0pointer.de/lennart/projects/libcanberra/
+ [35]http://0pointer.de/lennart/projects/libcanberra/
- The current release is [32]0.18
+ The current release is [36]0.22
- Get libcanberra's development sources from the [33]GIT [34]repository
- ([35]gitweb):
+ Get libcanberra's development sources from the [37]GIT [38]repository
+ ([39]gitweb):
git clone git://git.0pointer.de/libcanberra
If you want to report bugs, have questions or want to be notified about
- new releases, please join the [36]libcanberra-discuss mailing list.
+ new releases, please join the [40]libcanberra-discuss mailing list.
+
+ If you want to be notified about new git commits, please join the
+ [41]libcanberra-commits mailing list.
- libcanberra's bugs are tracked at [37]bugs.freedesktop.org.
+ libcanberra's bugs are tracked at [42]bugs.freedesktop.org.
__________________________________________________________________
- Lennart Poettering , September
+ Lennart Poettering , October
2009
References
@@ -191,31 +211,36 @@
7. README#installation
8. README#acks
9. README#download
- 10. http://0pointer.de/lennart/projects/libcanberra/libcanberra-0.18.tar.gz
- 11. http://0pointer.de/lennart/projects/libcanberra/libcanberra-0.17.tar.gz
- 12. http://0pointer.de/lennart/projects/libcanberra/libcanberra-0.16.tar.gz
- 13. http://0pointer.de/lennart/projects/libcanberra/libcanberra-0.15.tar.gz
- 14. http://0pointer.de/lennart/projects/libcanberra/libcanberra-0.14.tar.gz
- 15. http://0pointer.de/lennart/projects/libcanberra/libcanberra-0.13.tar.gz
- 16. http://0pointer.de/lennart/projects/libcanberra/libcanberra-0.12.tar.gz
- 17. http://0pointer.de/lennart/projects/libcanberra/libcanberra-0.11.tar.gz
- 18. http://0pointer.de/lennart/projects/libcanberra/libcanberra-0.10.tar.gz
- 19. http://0pointer.de/lennart/projects/libcanberra/libcanberra-0.9.tar.gz
- 20. http://0pointer.de/lennart/projects/libcanberra/libcanberra-0.8.tar.gz
- 21. http://0pointer.de/lennart/projects/libcanberra/libcanberra-0.7.tar.gz
- 22. http://freedesktop.org/wiki/Specifications/sound-theme-spec
- 23. http://www.gnome.org/
- 24. http://alsa-project.org/
- 25. http://pulseaudio.org/
- 26. http://gstreamer.org/
- 27. http://0pointer.de/blog/projects/sixfold-announcement.html
- 28. http://mail.gnome.org/archives/devel-announce-list/2008-August/msg00001.html
- 29. http://www.gtk.org/gtk-doc/
- 30. http://0pointer.de/lennart/projects/libcanberra/gtkdoc/
- 31. http://0pointer.de/lennart/projects/libcanberra/
- 32. http://0pointer.de/lennart/projects/libcanberra/libcanberra-0.18.tar.gz
- 33. http://git-scm.com/
- 34. git://git.0pointer.de/libcanberra
- 35. http://git.0pointer.de/?p=libcanberra.git
- 36. https://tango.0pointer.de/mailman/listinfo/libcanberra-discuss/
- 37. http://bugs.freedesktop.org/buglist.cgi?bug_status=__open__&product=libcanberra
+ 10. http://0pointer.de/lennart/projects/libcanberra/libcanberra-0.22.tar.gz
+ 11. http://0pointer.de/lennart/projects/libcanberra/libcanberra-0.21.tar.gz
+ 12. http://0pointer.de/lennart/projects/libcanberra/libcanberra-0.20.tar.gz
+ 13. http://0pointer.de/lennart/projects/libcanberra/libcanberra-0.19.tar.gz
+ 14. http://0pointer.de/lennart/projects/libcanberra/libcanberra-0.18.tar.gz
+ 15. http://0pointer.de/lennart/projects/libcanberra/libcanberra-0.17.tar.gz
+ 16. http://0pointer.de/lennart/projects/libcanberra/libcanberra-0.16.tar.gz
+ 17. http://0pointer.de/lennart/projects/libcanberra/libcanberra-0.15.tar.gz
+ 18. http://0pointer.de/lennart/projects/libcanberra/libcanberra-0.14.tar.gz
+ 19. http://0pointer.de/lennart/projects/libcanberra/libcanberra-0.13.tar.gz
+ 20. http://0pointer.de/lennart/projects/libcanberra/libcanberra-0.12.tar.gz
+ 21. http://0pointer.de/lennart/projects/libcanberra/libcanberra-0.11.tar.gz
+ 22. http://0pointer.de/lennart/projects/libcanberra/libcanberra-0.10.tar.gz
+ 23. http://0pointer.de/lennart/projects/libcanberra/libcanberra-0.9.tar.gz
+ 24. http://0pointer.de/lennart/projects/libcanberra/libcanberra-0.8.tar.gz
+ 25. http://0pointer.de/lennart/projects/libcanberra/libcanberra-0.7.tar.gz
+ 26. http://freedesktop.org/wiki/Specifications/sound-theme-spec
+ 27. http://www.gnome.org/
+ 28. http://alsa-project.org/
+ 29. http://pulseaudio.org/
+ 30. http://gstreamer.org/
+ 31. http://0pointer.de/blog/projects/sixfold-announcement.html
+ 32. http://mail.gnome.org/archives/devel-announce-list/2008-August/msg00001.html
+ 33. http://www.gtk.org/gtk-doc/
+ 34. http://0pointer.de/lennart/projects/libcanberra/gtkdoc/
+ 35. http://0pointer.de/lennart/projects/libcanberra/
+ 36. http://0pointer.de/lennart/projects/libcanberra/libcanberra-0.22.tar.gz
+ 37. http://git-scm.com/
+ 38. git://git.0pointer.de/libcanberra
+ 39. http://git.0pointer.de/?p=libcanberra.git
+ 40. https://tango.0pointer.de/mailman/listinfo/libcanberra-discuss/
+ 41. https://tango.0pointer.de/mailman/listinfo/libcanberra-commits/
+ 42. http://bugs.freedesktop.org/buglist.cgi?bug_status=__open__&product=libcanberra
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libcanberra-0.18/doc/README.html new/libcanberra-0.22/doc/README.html
--- old/libcanberra-0.18/doc/README.html 2009-09-20 19:54:47.000000000 +0200
+++ new/libcanberra-0.22/doc/README.html 2009-10-20 02:44:58.000000000 +0200
@@ -3,12 +3,12 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
-<title>libcanberra 0.18</title>
+<title>libcanberra 0.22</title>
<link rel="stylesheet" type="text/css" href="style.css" />
</head>
<body>
-<h1><a name="top">libcanberra 0.18</a></h1>
+<h1><a name="top">libcanberra 0.22</a></h1>
<p><i>Copyright 2008-2009 Lennart Poettering <mzyvopnaoreen (at) 0pointer (dot) de></i></p>
@@ -38,9 +38,26 @@
<h2><a name="news">News</a></h2>
+<div class="news-date">Tue 20 Oct
+2009: </div> <p class="news-text"><a href="http://0pointer.de/lennart/projects/libcanberra/libcanberra-0.22.tar.gz">Version
+0.22</a> released; small fix to make sure we don't dereference a null
+pointer. </p>
+
+<div class="news-date">Fri 16 Oct 2009: </div> <p class="news-text">http://0pointer.de/lennart/projects/libcanberra/libcanberra-0.21.tar.gz">Version 0.21</a> released;
+suppress casting warning</p>
+
+<div class="news-date">Thu 15 Oct 2009: </div> <p class="news-text">http://0pointer.de/lennart/projects/libcanberra/libcanberra-0.20.tar.gz">Version 0.20</a> released;
+minor casting fix</p>
+
+<div class="news-date">Wed 14 Oct 2009: </div> <p class="news-text">http://0pointer.de/lennart/projects/libcanberra/libcanberra-0.19.tar.gz">Version 0.19</a> released;
+some important fixes for the Gtk support</p>
+
<div class="news-date">Sun 20 Sep 2009: </div> <p class="news-text"><a
href="http://0pointer.de/lennart/projects/libcanberra/libcanberra-0.18.tar.gz">Version 0.18</a> released;
-numerous updates to Gtk support</p>
+numerous updates for the Gtk support</p>
<div class="news-date">Fri 12 Sep 2009: </div> <p class="news-text"><a
href="http://0pointer.de/lennart/projects/libcanberra/libcanberra-0.17.tar.gz">Version 0.17</a> released;
@@ -180,7 +197,7 @@
<p>The newest release is always available from <a href="http://0pointer.de/lennart/projects/libcanberra/">http://0pointer.de/lennart/projects/libcanberra/</a></p>
-<p>The current release is <a href="http://0pointer.de/lennart/projects/libcanberra/libcanberra-0.18.tar.gz">0.18</a></p>
+<p>The current release is <a href="http://0pointer.de/lennart/projects/libcanberra/libcanberra-0.22.tar.gz">0.22</a></p>
<p>Get <tt>libcanberra</tt>'s development sources from the <a href="http://git-scm.com/">GIT</a> <a href="git://git.0pointer.de/libcanberra">repository</a> (<a href="http://git.0pointer.de/?p=libcanberra.git">gitweb</a>): </p>
@@ -188,10 +205,12 @@
<p>If you want to report bugs, have questions or want to be notified about new releases, please join the <a href="https://tango.0pointer.de/mailman/listinfo/libcanberra-discuss/"><tt>libcanberra-discuss</tt></a> mailing list.</p>
+<p>If you want to be notified about new git commits, please join the <a href="https://tango.0pointer.de/mailman/listinfo/libcanberra-commits/"><tt>libcanberra-commits</tt></a> mailing list.</p>
+
<p><tt>libcanberra</tt>'s bugs are tracked at <a href="http://bugs.freedesktop.org/buglist.cgi?bug_status=__open__&product=libcanberra">bugs.freedesktop.org</a>.</p>
<hr/>
-<address class="grey">Lennart Poettering <mzyvopnaoreen (at) 0pointer (dot) de>, September 2009</address>
+<address class="grey">Lennart Poettering <mzyvopnaoreen (at) 0pointer (dot) de>, October 2009</address>
</body>
</html>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libcanberra-0.18/doc/README.html.in new/libcanberra-0.22/doc/README.html.in
--- old/libcanberra-0.18/doc/README.html.in 2009-09-20 19:54:42.000000000 +0200
+++ new/libcanberra-0.22/doc/README.html.in 2009-10-20 02:29:26.000000000 +0200
@@ -38,9 +38,26 @@
<h2><a name="news">News</a></h2>
+<div class="news-date">Tue 20 Oct
+2009: </div> <p class="news-text"><a href="@PACKAGE_URL@libcanberra-0.22.tar.gz">Version
+0.22</a> released; small fix to make sure we don't dereference a null
+pointer. </p>
+
+<div class="news-date">Fri 16 Oct 2009: </div> <p class="news-text">Version 0.21</a> released;
+suppress casting warning</p>
+
+<div class="news-date">Thu 15 Oct 2009: </div> <p class="news-text">Version 0.20</a> released;
+minor casting fix</p>
+
+<div class="news-date">Wed 14 Oct 2009: </div> <p class="news-text">Version 0.19</a> released;
+some important fixes for the Gtk support</p>
+
<div class="news-date">Sun 20 Sep 2009: </div> <p class="news-text"><a
href="@PACKAGE_URL@libcanberra-0.18.tar.gz">Version 0.18</a> released;
-numerous updates to Gtk support</p>
+numerous updates for the Gtk support</p>
<div class="news-date">Fri 12 Sep 2009: </div> <p class="news-text"><a
href="@PACKAGE_URL@libcanberra-0.17.tar.gz">Version 0.17</a> released;
@@ -188,10 +205,12 @@
<p>If you want to report bugs, have questions or want to be notified about new releases, please join the <a href="https://tango.0pointer.de/mailman/listinfo/libcanberra-discuss/"><tt>libcanberra-discuss</tt></a> mailing list.</p>
+<p>If you want to be notified about new git commits, please join the <a href="https://tango.0pointer.de/mailman/listinfo/libcanberra-commits/"><tt>libcanberra-commits</tt></a> mailing list.</p>
+
<p><tt>libcanberra</tt>'s bugs are tracked at <a href="http://bugs.freedesktop.org/buglist.cgi?bug_status=__open__&product=libcanberra">bugs.freedesktop.org</a>.</p>
<hr/>
-<address class="grey">Lennart Poettering <@PACKAGE_BUGREPORT@>, September 2009</address>
+<address class="grey">Lennart Poettering <@PACKAGE_BUGREPORT@>, October 2009</address>
</body>
</html>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libcanberra-0.18/gtkdoc/html/ch01.html new/libcanberra-0.22/gtkdoc/html/ch01.html
--- old/libcanberra-0.18/gtkdoc/html/ch01.html 2009-09-20 19:56:44.000000000 +0200
+++ new/libcanberra-0.22/gtkdoc/html/ch01.html 2009-10-20 03:01:01.000000000 +0200
@@ -22,7 +22,7 @@
</tr></table>
<div class="chapter" title="libcanberra">
<div class="titlepage"><div><div><h2 class="title">
-<a name="id2611263"></a>libcanberra</h2></div></div></div>
+<a name="id586604"></a>libcanberra</h2></div></div></div>
<div class="toc"><dl>
<dt>
<span class="refentrytitle"><a href="libcanberra-canberra.html">canberra</a></span><span class="refpurpose"> — General libcanberra API</span>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libcanberra-0.18/gtkdoc/html/libcanberra-canberra-gtk.html new/libcanberra-0.22/gtkdoc/html/libcanberra-canberra-gtk.html
--- old/libcanberra-0.18/gtkdoc/html/libcanberra-canberra-gtk.html 2009-09-20 19:56:44.000000000 +0200
+++ new/libcanberra-0.22/gtkdoc/html/libcanberra-canberra-gtk.html 2009-10-20 03:01:01.000000000 +0200
@@ -40,16 +40,26 @@
<pre class="synopsis">
<a class="link" href="libcanberra-canberra.html#ca-context" title="ca_context">ca_context</a> * <a class="link" href="libcanberra-canberra-gtk.html#ca-gtk-context-get" title="ca_gtk_context_get ()">ca_gtk_context_get</a> (void);
int <a class="link" href="libcanberra-canberra-gtk.html#ca-gtk-proplist-set-for-widget" title="ca_gtk_proplist_set_for_widget ()">ca_gtk_proplist_set_for_widget</a> (<a class="link" href="libcanberra-canberra.html#ca-proplist" title="ca_proplist">ca_proplist</a> *p,
- GtkWidget *w);
-int <a class="link" href="libcanberra-canberra-gtk.html#ca-gtk-play-for-widget" title="ca_gtk_play_for_widget ()">ca_gtk_play_for_widget</a> (GtkWidget *w,
+ http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"
+>GtkWidget</a> *w);
+int <a class="link" href="libcanberra-canberra-gtk.html#ca-gtk-play-for-widget" title="ca_gtk_play_for_widget ()">ca_gtk_play_for_widget</a> (http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"
+>GtkWidget</a> *w,
uint32_t id,
...);
int <a class="link" href="libcanberra-canberra-gtk.html#ca-gtk-proplist-set-for-event" title="ca_gtk_proplist_set_for_event ()">ca_gtk_proplist_set_for_event</a> (<a class="link" href="libcanberra-canberra.html#ca-proplist" title="ca_proplist">ca_proplist</a> *p,
- GdkEvent *e);
-int <a class="link" href="libcanberra-canberra-gtk.html#ca-gtk-play-for-event" title="ca_gtk_play_for_event ()">ca_gtk_play_for_event</a> (GdkEvent *e,
+ http://library.gnome.org/devel/gdk/unstable/gdk-Event-Structures.html#GdkEve..."
+>GdkEvent</a> *e);
+int <a class="link" href="libcanberra-canberra-gtk.html#ca-gtk-play-for-event" title="ca_gtk_play_for_event ()">ca_gtk_play_for_event</a> (http://library.gnome.org/devel/gdk/unstable/gdk-Event-Structures.html#GdkEve..."
+>GdkEvent</a> *e,
uint32_t id,
...);
-void <a class="link" href="libcanberra-canberra-gtk.html#ca-gtk-widget-disable-sounds" title="ca_gtk_widget_disable_sounds ()">ca_gtk_widget_disable_sounds</a> (GtkWidget *w,
+void <a class="link" href="libcanberra-canberra-gtk.html#ca-gtk-widget-disable-sounds" title="ca_gtk_widget_disable_sounds ()">ca_gtk_widget_disable_sounds</a> (http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"
+>GtkWidget</a> *w,
http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
libcanberra-gtk provides a few functions that simplify libcanberra
usage from Gtk+ programs. It maintains a single ca_context object
-per <span class="type">GdkScreen</span> that is made accessible via
+per http://library.gnome.org/devel/gdk/unstable/GdkScreen.html"
+><span class="type">GdkScreen</span></a> that is made accessible via
<code class="function">ca_gtk_context_get_for_screen()</code>, with a shortcut <a class="link" href="libcanberra-canberra-gtk.html#ca-gtk-context-get" title="ca_gtk_context_get ()"><code class="function">ca_gtk_context_get()</code></a>
to get the context for the default screen. More importantly, it provides
a few functions
@@ -89,7 +101,9 @@
<div class="refsect2" title="ca_gtk_proplist_set_for_widget ()">
<a name="ca-gtk-proplist-set-for-widget"></a><h3>ca_gtk_proplist_set_for_widget ()</h3>
<pre class="programlisting">int ca_gtk_proplist_set_for_widget (<a class="link" href="libcanberra-canberra.html#ca-proplist" title="ca_proplist">ca_proplist</a> *p,
- GtkWidget *w);</pre>
+ http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"
+>GtkWidget</a> *w);</pre>
<p>
Fill in a ca_proplist object for a sound event that shall originate
from the specified Gtk Widget. This will fill in properties like
@@ -118,7 +132,9 @@
<hr>
<div class="refsect2" title="ca_gtk_play_for_widget ()">
<a name="ca-gtk-play-for-widget"></a><h3>ca_gtk_play_for_widget ()</h3>
-<pre class="programlisting">int ca_gtk_play_for_widget (GtkWidget *w,
+<pre class="programlisting">int ca_gtk_play_for_widget (http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"
+>GtkWidget</a> *w,
uint32_t id,
...);</pre>
<p>
@@ -162,7 +178,9 @@
<div class="refsect2" title="ca_gtk_proplist_set_for_event ()">
<a name="ca-gtk-proplist-set-for-event"></a><h3>ca_gtk_proplist_set_for_event ()</h3>
<pre class="programlisting">int ca_gtk_proplist_set_for_event (<a class="link" href="libcanberra-canberra.html#ca-proplist" title="ca_proplist">ca_proplist</a> *p,
- GdkEvent *e);</pre>
+ http://library.gnome.org/devel/gdk/unstable/gdk-Event-Structures.html#GdkEve..."
+>GdkEvent</a> *e);</pre>
<p>
Fill in a ca_proplist object for a sound event that is being
triggered by the specified Gdk Event. This will fill in properties
@@ -193,7 +211,9 @@
<hr>
<div class="refsect2" title="ca_gtk_play_for_event ()">
<a name="ca-gtk-play-for-event"></a><h3>ca_gtk_play_for_event ()</h3>
-<pre class="programlisting">int ca_gtk_play_for_event (GdkEvent *e,
+<pre class="programlisting">int ca_gtk_play_for_event (http://library.gnome.org/devel/gdk/unstable/gdk-Event-Structures.html#GdkEve..."
+>GdkEvent</a> *e,
uint32_t id,
...);</pre>
<p>
@@ -236,7 +256,9 @@
<hr>
<div class="refsect2" title="ca_gtk_widget_disable_sounds ()">
<a name="ca-gtk-widget-disable-sounds"></a><h3>ca_gtk_widget_disable_sounds ()</h3>
-<pre class="programlisting">void ca_gtk_widget_disable_sounds (GtkWidget *w,
+<pre class="programlisting">void ca_gtk_widget_disable_sounds (http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"
+>GtkWidget</a> *w,
http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
gboolean</a> enable);</pre>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libcanberra-0.18/ltmain.sh new/libcanberra-0.22/ltmain.sh
--- old/libcanberra-0.18/ltmain.sh 2009-09-20 19:49:31.000000000 +0200
+++ new/libcanberra-0.22/ltmain.sh 2009-10-20 02:29:41.000000000 +0200
@@ -2323,6 +2323,10 @@
extern \"C\" {
#endif
+#if defined(__GNUC__) && (((__GNUC__ == 4) && (__GNUC_MINOR__ >= 4)) || (__GNUC__ > 4))
+#pragma GCC diagnostic ignored \"-Wstrict-prototypes\"
+#endif
+
/* External symbol declarations for the compiler. */\
"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libcanberra-0.18/m4/libtool.m4 new/libcanberra-0.22/m4/libtool.m4
--- old/libcanberra-0.18/m4/libtool.m4 2009-09-20 19:49:31.000000000 +0200
+++ new/libcanberra-0.22/m4/libtool.m4 2009-10-20 02:29:41.000000000 +0200
@@ -3450,7 +3450,6 @@
eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
cat <<_LT_EOF >> conftest.$ac_ext
-
/* The mapping between symbol names and symbols. */
const struct {
const char *name;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libcanberra-0.18/src/canberra-gtk-module.c new/libcanberra-0.22/src/canberra-gtk-module.c
--- old/libcanberra-0.18/src/canberra-gtk-module.c 2009-09-19 20:30:29.000000000 +0200
+++ new/libcanberra-0.22/src/canberra-gtk-module.c 2009-10-20 02:43:10.000000000 +0200
@@ -392,6 +392,20 @@
if (g_object_get_qdata(d->object, disable_sound_quark))
return;
+ /* The GdkWindow of the the widget might have changed while this
+ * event was queued for us. Make sure to update it from the
+ * current one if necessary. */
+ if (d->event && d->event->any.window) {
+ GdkWindow *window;
+
+ g_object_unref(G_OBJECT(d->event->any.window));
+
+ if ((window = gtk_widget_get_window(GTK_WIDGET(d->object))))
+ d->event->any.window = GDK_WINDOW(g_object_ref(G_OBJECT(window)));
+ else
+ d->event->any.window = NULL;
+ }
+
if (d->signal_id == signal_id_widget_show) {
GdkWindowTypeHint hint;
@@ -433,9 +447,11 @@
gboolean played_sound = FALSE;
gboolean is_xembed;
- is_xembed = window_is_xembed(
- gtk_widget_get_display(GTK_WIDGET(d->object)),
- gtk_widget_get_window(GTK_WIDGET(d->object)));
+ is_xembed =
+ GTK_WIDGET_REALIZED(GTK_WIDGET(d->object)) &&
+ window_is_xembed(
+ gtk_widget_get_display(GTK_WIDGET(d->object)),
+ gtk_widget_get_window(GTK_WIDGET(d->object)));
g_object_set_qdata(d->object, is_xembed_quark, GINT_TO_POINTER(is_xembed));
@@ -538,8 +554,7 @@
if (GTK_IS_WINDOW(d->object) && d->signal_id == signal_id_widget_window_state_event) {
GdkEventWindowState *e;
- gint w_desktop, c_desktop;
- GdkDisplay *display;
+ gint w_desktop = -1, c_desktop = -1;
e = (GdkEventWindowState*) d->event;
@@ -551,9 +566,13 @@
* minimized. We then store this information, so that we know
* later on when the window is unminimized again. */
- display = gdk_screen_get_display(gdk_event_get_screen(d->event));
- w_desktop = window_get_desktop(display, e->window);
- c_desktop = display_get_desktop(display);
+ if (GTK_WIDGET_REALIZED(GTK_WIDGET(d->object))) {
+ GdkDisplay *display;
+
+ display = gtk_widget_get_display(GTK_WIDGET(d->object));
+ w_desktop = window_get_desktop(display, gtk_widget_get_window(GTK_WIDGET(d->object)));
+ c_desktop = display_get_desktop(display);
+ }
if ((e->changed_mask & GDK_WINDOW_STATE_ICONIFIED) &&
(e->new_window_state & GDK_WINDOW_STATE_ICONIFIED) &&
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libcanberra-0.18/src/canberra-gtk.c new/libcanberra-0.22/src/canberra-gtk.c
--- old/libcanberra-0.18/src/canberra-gtk.c 2009-09-19 20:30:57.000000000 +0200
+++ new/libcanberra-0.22/src/canberra-gtk.c 2009-10-19 20:33:07.000000000 +0200
@@ -137,21 +137,20 @@
ca_context_change_props_full(c, p);
ca_proplist_destroy(p);
- s = gtk_settings_get_for_screen(screen);
+ if ((s = gtk_settings_get_for_screen(screen))) {
- ca_return_val_if_fail(s, NULL);
-
- if (g_object_class_find_property(G_OBJECT_GET_CLASS(s), "gtk-sound-theme-name")) {
- g_signal_connect(G_OBJECT(s), "notify::gtk-sound-theme-name", G_CALLBACK(sound_theme_name_changed), c);
- read_sound_theme_name(c, s);
- } else
- g_debug("This Gtk+ version doesn't have the GtkSettings::gtk-sound-theme-name property.");
-
- if (g_object_class_find_property(G_OBJECT_GET_CLASS(s), "gtk-enable-event-sounds")) {
- g_signal_connect(G_OBJECT(s), "notify::gtk-enable-event-sounds", G_CALLBACK(enable_event_sounds_changed), c);
- read_enable_event_sounds(c, s);
- } else
- g_debug("This Gtk+ version doesn't have the GtkSettings::gtk-enable-event-sounds property.");
+ if (g_object_class_find_property(G_OBJECT_GET_CLASS(s), "gtk-sound-theme-name")) {
+ g_signal_connect(G_OBJECT(s), "notify::gtk-sound-theme-name", G_CALLBACK(sound_theme_name_changed), c);
+ read_sound_theme_name(c, s);
+ } else
+ g_debug("This Gtk+ version doesn't have the GtkSettings::gtk-sound-theme-name property.");
+
+ if (g_object_class_find_property(G_OBJECT_GET_CLASS(s), "gtk-enable-event-sounds")) {
+ g_signal_connect(G_OBJECT(s), "notify::gtk-enable-event-sounds", G_CALLBACK(enable_event_sounds_changed), c);
+ read_enable_event_sounds(c, s);
+ } else
+ g_debug("This Gtk+ version doesn't have the GtkSettings::gtk-enable-event-sounds property.");
+ }
g_object_set_data_full(G_OBJECT(screen), "canberra::gtk::context", c, (GDestroyNotify) ca_context_destroy);
@@ -377,10 +376,10 @@
* libc applies locale information on the formatting of
* floating numbers. */
- if ((ret = ca_proplist_setf(p, CA_PROP_EVENT_MOUSE_HPOS, "%i.%03i", (int) (x/width), (int) (1000.0*x/width) % 1000)) < 0)
+ if ((ret = ca_proplist_setf(p, CA_PROP_EVENT_MOUSE_HPOS, "%i.%03i", (int) (x/(width-1)), (int) (1000.0*x/(width-1)) % 1000)) < 0)
return ret;
- if ((ret = ca_proplist_setf(p, CA_PROP_EVENT_MOUSE_VPOS, "%i.%03i", (int) (y/height), (int) (1000.0*y/height) % 1000)) < 0)
+ if ((ret = ca_proplist_setf(p, CA_PROP_EVENT_MOUSE_VPOS, "%i.%03i", (int) (y/(height-1)), (int) (1000.0*y/(height-1)) % 1000)) < 0)
return ret;
}
}
@@ -491,7 +490,11 @@
if (ret < 0)
goto fail;
- s = gdk_drawable_get_screen(GDK_DRAWABLE(e->any.window));
+ if (e->any.window)
+ s = gdk_drawable_get_screen(GDK_DRAWABLE(e->any.window));
+ else
+ s = gdk_screen_get_default();
+
ret = ca_context_play_full(ca_gtk_context_get_for_screen(s), id, p, NULL, NULL);
fail:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libcanberra-0.18/src/canberra.h new/libcanberra-0.22/src/canberra.h
--- old/libcanberra-0.18/src/canberra.h 2009-09-20 19:50:31.000000000 +0200
+++ new/libcanberra-0.22/src/canberra.h 2009-10-20 02:44:58.000000000 +0200
@@ -46,7 +46,7 @@
*
* Evaluates to the minor version number of libcanberra.
*/
-#define CA_MINOR (18)
+#define CA_MINOR (22)
/**
* CA_CHECK_VERSION:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org