Hello community,
here is the log from the commit of package libgail-gnome for openSUSE:Factory
checked in at Mon May 30 12:22:35 CEST 2011.
--- GNOME/libgail-gnome/libgail-gnome.changes 2011-02-18 12:44:28.0
+0100
+++ /mounts/work_src_done/STABLE/libgail-gnome/libgail-gnome.changes
2011-05-27 01:35:43.0 +0200
@@ -1,0 +2,31 @@
+Fri May 27 01:08:54 CEST 2011 - vu...@opensuse.org
+
+- Fix the build by removing support for panel applets from the GTK+
+ module:
+ + rationale: this support is for bonobo applets, that are gone
+with GNOME 3.
+ + this is a better solution than just removing the package, as
+the GTK+ module provides accessibility support for other
+libraries than just the panel applet.
+ + introduce a %build_applet define to easily control this
+behavior, in case we get the libpanel-applet-2 library back
+later on.
+ + add libgail-no-applet.patch to remove the code.
+ + conditionally use pkgconfig(libpanelapplet-2.0) BuildRequires
+and apply above patch, based on %build_applet.
+- Drop libgail-gnome-decl.patch: this is not needed as
+ panel_applet_accessible_new() not mentioned anywhere in the code.
+- Remove explicit Requires for atk-devel, gtk2-devel,
+ libbonoboui-devel in devel subpackage: they will automatically be
+ added the pkgconfig() way.
+
+---
+Wed May 18 20:32:00 CEST 2011 - dims...@opensuse.org
+
+- Update to version 1.20.4:
+ + bgo#643173: init bonobo before use it.
+- Change gnome-panel-devel BuildRequires to
+ pkgconfig(libpanelapplet-2.0).
+- Clean spec file with spec-cleaner.
+
+---
calling whatdependson for head-i586
Old:
libgail-gnome-1.20.3.tar.bz2
libgail-gnome-decl.patch
New:
libgail-gnome-1.20.4.tar.bz2
libgail-no-applet.patch
Other differences:
--
++ libgail-gnome.spec ++
--- /var/tmp/diff_new_pack.ZGZj9z/_old 2011-05-30 12:21:48.0 +0200
+++ /var/tmp/diff_new_pack.ZGZj9z/_new 2011-05-30 12:21:48.0 +0200
@@ -15,25 +15,37 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
-# norootforbuild
+%define build_applet 0
Name: libgail-gnome
-BuildRequires: at-spi-devel atk-devel gail-devel gconf2-devel gnome-common
gnome-panel-devel gtk2-devel libbonobo-devel libbonoboui-devel libgnomeui-devel
-Version:1.20.3
-Release:5
-Url:http://www.gnome.org/
-Group: System/GUI/GNOME
+Version:1.20.4
+Release:1
License:LGPLv2.1+
Summary:GNOME Accessibility Implementation Library for gnomeui and
libbonoboui
+Url:http://www.gnome.org/
+Group: System/GUI/GNOME
Source:
ftp://ftp.gnome.org/pub/GNOME/sources/%{name}/1.20/%{name}-%{version}.tar.bz2
Source99: baselibs.conf
-Patch: libgail-gnome-decl.patch
# PATCH-FIX-UPSTREAM libgail-no-bonobo-applet-in-panel.patch bnc#667873
vu...@opensuse.org -- Avoid at all cost using anything from libpanel-applet if
we're inside the gnome-panel process, to avoid a conflict between bonobo-based
and dbus-based libraries (they share symbol names)
Patch1: libgail-no-bonobo-applet-in-panel.patch
-AutoReqProv:on
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
+# PATCH-FIX-UPSTREAM libgail-no-applet.patch bgo#651200 vu...@opensuse.org --
Remove support for panel applets: those are bonobo applets (libpanel-applet-2),
which are gone with GNOME 3.
+Patch2: libgail-no-applet.patch
+BuildRequires: at-spi-devel
+BuildRequires: atk-devel
+BuildRequires: gail-devel
+BuildRequires: gconf2-devel
+# Needed for patch1 and patch2
+BuildRequires: gnome-common
+BuildRequires: gtk2-devel
+BuildRequires: libbonobo-devel
+BuildRequires: libbonoboui-devel
+BuildRequires: libgnomeui-devel
+%if %{build_applet}
+BuildRequires: pkgconfig(libpanelapplet-2.0)
+%endif
Supplements:packageand(gnome2-SuSE:gail)
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
%gconf_schemas_prereq
%description
@@ -42,9 +54,9 @@
%package devel
License:LGPLv2.1+
-Group: System/GUI/GNOME
Summary:GNOME Accessibility Implementation Library for gnomeui and
libbonoboui
-Requires: %{name} = %{version} atk-devel gtk2-devel libbonoboui-devel
+Group: System/GUI/GNOME
+Requires: %{name} = %{version}
%description devel
This package contains an implementation of the ATK interfaces for GNOME
@@ -52,14 +64,17 @@
%prep
%setup -q
-%patch
+%if %{build_applet}
%patch1 -p1
+%else
+%patch2 -p1
+%endif
%build
-# Needed for patch1
+# Needed for patch1 and patch2
autoreconf -fi
%configure --disable-static
-make %{?jobs:-j%jobs}
+make %{?_smp_mflags}
%install
%makeinstall
@@ -67,7 +82,7 @@
%find_gconf_schemas
%clean
-rm -rf $