Hello community, here is the log from the commit of package xfce4-panel-plugin-clipman for openSUSE:Factory checked in at Thu Mar 17 11:25:50 CET 2011. -------- New Changes file: --- /dev/null 2010-08-26 16:28:41.000000000 +0200 +++ /mounts/work_src_done/STABLE/xfce4-panel-plugin-clipman/xfce4-panel-plugin-clipman.changes 2011-03-09 22:29:48.000000000 +0100 @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Wed Mar 9 11:00:00 UTC 2011 - gber@opensuse.org + +- new package (split off from xfce4-panel-plugins) + calling whatdependson for head-i586 New: ---- xfce4-clipman-plugin-1.1.3.tar.bz2 xfce4-panel-plugin-clipman-1.1.3-catch-null-value.patch xfce4-panel-plugin-clipman-1.1.3-fix-exo-version.patch xfce4-panel-plugin-clipman-1.1.3-fix-memory-leak.patch xfce4-panel-plugin-clipman-1.1.3-fix-missing-return-value.patch xfce4-panel-plugin-clipman.changes xfce4-panel-plugin-clipman.spec ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ xfce4-panel-plugin-clipman.spec ++++++ # # spec file for package xfce4-panel-plugin-clipman # # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define panel_version 4.8.0 %define plugin_name xfce4-clipman-plugin Name: xfce4-panel-plugin-clipman License: GPLv2+ Version: 1.1.3 Release: 19 Summary: Clipboard manager plugin for the Xfce panel Url: http://goodies.xfce.org/projects/panel-plugins/xfce4-clipman-plugin Source0: xfce4-clipman-plugin-1.1.3.tar.bz2 # PATCH-FIX-UPSTREAM xfce4-panel-plugin-clipman-1.1.3-fix-exo-version.patch gber@opensuse.org -- Fixes build with exo >= 0.5.0 Patch0: xfce4-panel-plugin-clipman-1.1.3-fix-exo-version.patch # PATCH-FIX-UPSTREAM xfce4-panel-plugin-clipman-1.1.3-fix-missing-return-value.patch gber@opensuse.org -- Fixes missing return value Patch1: xfce4-panel-plugin-clipman-1.1.3-fix-missing-return-value.patch # PATCH-FIX-UPSTREAM xfce4-panel-plugin-clipman-1.1.3-catch-null-value.patch gber@opensuse.org -- Fix a crash due to dereferencing a NULL pointer (backported from upstream git) Patch2: xfce4-panel-plugin-clipman-1.1.3-catch-null-value.patch # PATCH-FIX-UPSTREAM xfce4-panel-plugin-clipman-1.1.3-fix-memory-leak.patch gber@opensuse.org -- Fix a memory leak (backported from upstream git) Patch3: xfce4-panel-plugin-clipman-1.1.3-fix-memory-leak.patch Group: System/GUI/XFCE BuildRequires: intltool BuildRequires: fdupes BuildRequires: pkgconfig(libxfce4panel-1.0) BuildRequires: pkgconfig(exo-1) BuildRequires: pkgconfig(libglade-2.0) BuildRequires: pkgconfig(libxfconf-0) BuildRequires: pkgconfig(unique-1.0) BuildRequires: update-desktop-files BuildRequires: xfce4-dev-tools Requires: xfce4-panel >= 4.8.0 BuildRoot: %{_tmppath}/%{name}-%{version}-build %description This is a clipboard manager which comes with a plugin for the Xfce Panel. It stores the X selection (primary and clipboard) contents even after an application has quit and is able to handle text and image data. Furthermore, it can be configured to execute arbitrary actions when the selection content matches specific regular expressions. %package doc License: GPLv2+ Summary: Documentation for xfce4-panel-plugin-clipman Group: Documentation/HTML Requires: xfce4-panel-plugin-clipman = 1.1.3 %description doc This is a clipboard manager which comes with a plugin for the Xfce Panel. It stores the X selection (primary and clipboard) contents even after an application has quit and is able to handle text and image data. Furthermore, it can be configured to execute arbitrary actions when the selection content matches specific regular expressions. This package contains the user documentation for xfce4-panel-plugin-clipman. %prep %setup -q -n %{plugin_name}-%{version} %patch0 -p1 %patch1 -p1 %patch2 -p1 %patch3 -p1 %build xdt-autogen %configure --disable-static make %{_smp_mflags} V=1 %install %make_install %suse_update_desktop_file %{plugin_name} %suse_update_desktop_file %{plugin_name}-autostart rm -rf %{buildroot}%{_datadir}/locale/{ast,kk,tl_PH,ur_PK} %find_lang %{plugin_name} %{name}.lang %fdupes %{buildroot}%{_datadir} %clean rm -rf %{buildroot} %if 0%{?suse_version} >= 1140 %post %desktop_database_post %icon_theme_cache_post %postun %desktop_database_postun %icon_theme_cache_postun %endif %files -f %{name}.lang %defattr(-,root,root) %{_datadir}/xfce4/panel-plugins/xfce4-clipman-plugin.desktop %{_sysconfdir}/xdg/autostart/xfce4-clipman-plugin-autostart.desktop %config %{_sysconfdir}/xdg/xfce4/panel/xfce4-clipman-actions.xml %dir %{_sysconfdir}/xdg/xfce4/panel %{_libexecdir}/xfce4/panel-plugins/xfce4-clipman-plugin %{_bindir}/xfce4-clipman %{_bindir}/xfce4-clipman-settings %{_bindir}/xfce4-popup-clipman %{_datadir}/applications/xfce4-clipman-plugin.desktop %{_datadir}/icons/hicolor/16x16/apps/xfce4-clipman-plugin.png %{_datadir}/icons/hicolor/22x22/apps/xfce4-clipman-plugin.png %{_datadir}/icons/hicolor/24x24/apps/xfce4-clipman-plugin.png %{_datadir}/icons/hicolor/32x32/apps/xfce4-clipman-plugin.png %{_datadir}/icons/hicolor/scalable/apps/xfce4-clipman-plugin.svg %files doc %defattr(-,root,root) %doc %dir %{_datadir}/xfce4/doc %doc %dir %{_datadir}/xfce4/doc/* %doc %dir %{_datadir}/xfce4/doc/*/images %doc %{_datadir}/xfce4/doc/*/*clipman*.html %doc %{_datadir}/xfce4/doc/*/images/*clipman* %changelog ++++++ xfce4-panel-plugin-clipman-1.1.3-catch-null-value.patch ++++++ diff -ur xfce4-clipman-plugin-1.1.3.orig/daemon/gsd-clipboard-manager.c xfce4-clipman-plugin-1.1.3/daemon/gsd-clipboard-manager.c --- xfce4-clipman-plugin-1.1.3.orig/daemon/gsd-clipboard-manager.c 2009-11-15 21:24:52.000000000 +0100 +++ xfce4-clipman-plugin-1.1.3/daemon/gsd-clipboard-manager.c 2010-12-31 21:58:06.000000000 +0100 @@ -121,7 +121,7 @@ GtkSelectionData *selection_data_cache = NULL; list = manager->priv->default_cache; - for (; list->next != NULL; list = list->next) { + for (; list != NULL && list->next != NULL; list = list->next) { selection_data_cache = list->data; if (selection_data->target == selection_data_cache->target) { break; @@ -154,8 +154,11 @@ GtkSelectionData *sdata; GSList *list; - target_list = gtk_target_list_new (NULL, 0); list = manager->priv->default_cache; + if (list == NULL) { + return; + } + target_list = gtk_target_list_new (NULL, 0); for (; list->next != NULL; list = list->next) { sdata = list->data; gtk_target_list_add (target_list, sdata->target, 0, 0); ++++++ xfce4-panel-plugin-clipman-1.1.3-fix-exo-version.patch ++++++ diff -ur xfce4-clipman-plugin-1.1.3.orig/configure.ac xfce4-clipman-plugin-1.1.3/configure.ac --- xfce4-clipman-plugin-1.1.3.orig/configure.ac 2009-11-15 21:32:52.000000000 +0100 +++ xfce4-clipman-plugin-1.1.3/configure.ac 2010-12-03 23:05:45.000000000 +0100 @@ -63,7 +63,7 @@ dnl *** Check for required packages *** dnl *********************************** XDT_CHECK_PACKAGE([GIO], [gio-2.0], [2.16.0]) -XDT_CHECK_PACKAGE([EXO], [exo-0.3], [0.3.0]) +XDT_CHECK_PACKAGE([EXO], [exo-1], [0.3.0]) XDT_CHECK_PACKAGE([GLIB], [glib-2.0], [2.16.0]) XDT_CHECK_PACKAGE([GDKX], [gdk-x11-2.0], [2.10.0]) XDT_CHECK_PACKAGE([GTK], [gtk+-2.0], [2.10.0]) ++++++ xfce4-panel-plugin-clipman-1.1.3-fix-memory-leak.patch ++++++ diff -ur xfce4-clipman-plugin-1.1.3.orig/daemon/gsd-clipboard-manager.c xfce4-clipman-plugin-1.1.3/daemon/gsd-clipboard-manager.c --- xfce4-clipman-plugin-1.1.3.orig/daemon/gsd-clipboard-manager.c 2010-12-31 21:58:06.000000000 +0100 +++ xfce4-clipman-plugin-1.1.3/daemon/gsd-clipboard-manager.c 2010-12-31 22:04:17.000000000 +0100 @@ -164,6 +164,7 @@ gtk_target_list_add (target_list, sdata->target, 0, 0); } targets = gtk_target_table_new_from_list (target_list, &n_targets); + gtk_target_list_unref (target_list); gtk_clipboard_set_with_data (manager->priv->default_clipboard, targets, n_targets, ++++++ xfce4-panel-plugin-clipman-1.1.3-fix-missing-return-value.patch ++++++ diff -urNp xfce4-clipman-plugin-1.1.3.orig/panel-plugin/xfce4-clipman-settings.c xfce4-clipman-plugin-1.1.3/panel-plugin/xfce4-clipman-settings.c --- xfce4-clipman-plugin-1.1.3.orig/panel-plugin/xfce4-clipman-settings.c 2009-09-12 02:59:31.000000000 +0200 +++ xfce4-clipman-plugin-1.1.3/panel-plugin/xfce4-clipman-settings.c 2011-03-09 22:02:26.000000000 +0100 @@ -661,7 +661,7 @@ main (gint argc, if (unique_app_send_message (app, UNIQUE_ACTIVATE, NULL) == UNIQUE_RESPONSE_OK) { g_object_unref (app); - return; + return 0; } } g_signal_connect (app, "message-received", G_CALLBACK (cb_unique_app), NULL); ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org