Hello community,
here is the log from the commit of package gnome-netspeed-applet for
openSUSE:Factory
checked in at Wed Jun 1 10:07:56 CEST 2011.
--------
--- GNOME/gnome-netspeed-applet/gnome-netspeed-applet.changes 2011-02-12
20:25:10.000000000 +0100
+++
/mounts/work_src_done/STABLE/gnome-netspeed-applet/gnome-netspeed-applet.changes
2011-05-31 14:49:42.000000000 +0200
@@ -1,0 +2,13 @@
+Tue May 31 14:37:00 CEST 2011 - [email protected]
+
+- Use favor_gtk2 to switch between gtk2 and gtk3 builds.
+- Add gnome-netspeed-applet-gnome3.patch: this patch taken from
+ upstream bugzilla ports the applet to the new gnome-panel. Only
+ apply if favor_gtk2 is not set, and call autoreconf -fi in that
+ case.
+- For gtk3 build, move to pkgconfig()-style and GNOME 3
+ BuildRequires:
+ + Old ones: gnome-panel-devel, libgtop-devel.
+ + New ones: libgtop-2.0, libpanelapplet-4.0.
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
New:
----
gnome-netspeed-applet-gnome3.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ gnome-netspeed-applet.spec ++++++
--- /var/tmp/diff_new_pack.fJbx2z/_old 2011-06-01 10:00:30.000000000 +0200
+++ /var/tmp/diff_new_pack.fJbx2z/_new 2011-06-01 10:00:30.000000000 +0200
@@ -21,15 +21,22 @@
%define _name netspeed_applet
Summary: GNOME Applet to show the speed of the network connection
Version: 0.16
-Release: 2
+Release: 168
Url: http://projects.gnome.org/netspeed/
License: GPLv2+
Group: Productivity/Networking/Diagnostic
Source0: %{_name}-%{version}.tar.bz2
+# PATCH-FIX-UPSTREAM gnome-netspeed-applet-gnome3.patch bgo#637048
[email protected] -- Port to GNOME 3 technologies, taken from upstream bug
+Patch0: gnome-netspeed-applet-gnome3.patch
BuildRequires: gnome-doc-utils-devel
-BuildRequires: gnome-panel-devel
BuildRequires: intltool
+%if 0%{?favor_gtk2}
+BuildRequires: gnome-panel-devel
BuildRequires: libgtop-devel
+%else
+BuildRequires: pkgconfig(libgtop-2.0)
+BuildRequires: pkgconfig(libpanelapplet-4.0)
+%endif
Recommends: %{name}-lang
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -40,6 +47,10 @@
%lang_package
%prep
%setup -q -n %{_name}-%{version}
+%if !0%{?favor_gtk2}
+%patch0 -p1
+autoreconf -fi
+%endif
%build
%configure \
@@ -75,7 +86,12 @@
%{_datadir}/icons/hicolor/*/apps/netspeed-applet.*
%{_datadir}/icons/hicolor/*/devices/netspeed-*.png
%{_datadir}/icons/hicolor/*/status/netspeed-wireless-*.png
+%if 0%{?favor_gtk2}
%{_libdir}/bonobo/servers/GNOME_NetspeedApplet.server
+%else
+%{_datadir}/dbus-1/services/org.gnome.panel.applet.NetspeedAppletFactory.service
+%{_datadir}/gnome-panel/4.0/applets/org.gnome.panel.Netspeed.panel-applet
+%endif
%{_libexecdir}/netspeed_applet2
%files lang -f %{_name}.lang
++++++ gnome-netspeed-applet-gnome3.patch ++++++
++++ 903 lines (skipped)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]