rpms/libgnomeui/devel libgnomeui-2.23.4-disable-event-sounds.patch, NONE, 1.1 libgnomeui.spec, 1.103, 1.104

Lennart Poettering (lennart) fedora-extras-commits at redhat.com
Fri Aug 15 00:53:14 UTC 2008


Author: lennart

Update of /cvs/pkgs/rpms/libgnomeui/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv31252

Modified Files:
	libgnomeui.spec 
Added Files:
	libgnomeui-2.23.4-disable-event-sounds.patch 
Log Message:
Disable event sounds because we do them now with libcanberra

libgnomeui-2.23.4-disable-event-sounds.patch:

--- NEW FILE libgnomeui-2.23.4-disable-event-sounds.patch ---
--- libgnomeui-2.23.4/libgnomeui/gnome-ui-init.c	2008-08-15 00:25:52.000000000 +0200
+++ libgnomeui-2.23.4/libgnomeui/gnome-ui-init.c.lennart	2008-08-15 02:42:26.000000000 +0200
@@ -103,6 +103,8 @@
 /* Prototype for a private gnome_stock function */
 G_GNUC_INTERNAL void _gnome_stock_icons_init (void);
 
+#if 0 
+
 /* Whether to make noises when the user clicks a button, etc.  We cache it
  * in a boolean rather than querying GConf every time.
  */
@@ -111,6 +113,8 @@
 /* GConf client for monitoring the event sounds option */
 static GConfClient *gconf_client = NULL;
 
+#endif
+
 enum { ARG_DISABLE_CRASH_DIALOG=1, ARG_DISPLAY };
 
 G_GNUC_INTERNAL void _gnome_ui_gettext_init (gboolean);
@@ -389,6 +393,8 @@
 			     priv, (GDestroyNotify) libgnomeui_private_free);
 }
 
+#if 0
+
 static gboolean
 relay_gnome_signal (GSignalInvocationHint *hint,
               	     guint n_param_values,
@@ -621,6 +627,7 @@
                 initialize_gnome_signal_relay ();
 	 }
 }
+#endif
 
 static void
 libgnomeui_post_args_parse(GnomeProgram *program, GnomeModuleInfo *mod_info)
@@ -644,8 +651,9 @@
 	_gnome_ui_gettext_init (TRUE);
 
         _gnome_stock_icons_init ();
-
+#if 0
         setup_event_listener ();
+#endif
 }
 
 static void


Index: libgnomeui.spec
===================================================================
RCS file: /cvs/pkgs/rpms/libgnomeui/devel/libgnomeui.spec,v
retrieving revision 1.103
retrieving revision 1.104
diff -u -r1.103 -r1.104
--- libgnomeui.spec	18 Jun 2008 03:41:40 -0000	1.103
+++ libgnomeui.spec	15 Aug 2008 00:52:44 -0000	1.104
@@ -18,9 +18,10 @@
 Summary: GNOME base GUI library
 Name: libgnomeui
 Version: 2.23.4
-Release: 1%{?dist}
+Release: 2%{?dist}
 URL: http://www.gnome.org
 Source0: http://download.gnome.org/sources/libgnomeui/2.23/%{name}-%{version}.tar.bz2
+Patch0: libgnomeui-2.23.4-disable-event-sounds.patch
 #
 
 License: LGPLv2+
@@ -103,7 +104,7 @@
 
 %prep
 %setup -q
-
+%patch0 -p1 -b .disable-sound-events
 aclocal
 automake
 autoconf
@@ -147,6 +148,9 @@
 %{_datadir}/gtk-doc/html/libgnomeui
 
 %changelog
+* Thu Aug 14 2008 Lennart Poettering <lpoetter at redhat.com> - 2.23.4-2
+- Disable event sounds because we do them now with libcanberra
+
 * Tue Jun 17 2008 Matthias Clasen <mclasen at redhat.com> - 2.23.4-1
 - Update to 2.23.4
 




More information about the fedora-extras-commits mailing list