]> git.pld-linux.org Git - packages/gnome-panel.git/commitdiff
Update to 3.26.0 auto/th/gnome-panel-3.26.0-1
authorMarcin Banasiak <marcin.banasiak@gmail.com>
Wed, 21 Mar 2018 19:36:13 +0000 (20:36 +0100)
committerMarcin Banasiak <marcin.banasiak@gmail.com>
Wed, 21 Mar 2018 19:36:13 +0000 (20:36 +0100)
- added -libgweather patch to fix build with new libgweather

gnome-panel-libgweather.patch [new file with mode: 0644]
gnome-panel.spec

diff --git a/gnome-panel-libgweather.patch b/gnome-panel-libgweather.patch
new file mode 100644 (file)
index 0000000..b4815cb
--- /dev/null
@@ -0,0 +1,29 @@
+From 8d63e6ec19f2b4a490c2abc81881c50402058b17 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Alberts=20Muktup=C4=81vels?= <alberts.muktupavels@gmail.com>
+Date: Thu, 11 Jan 2018 20:04:20 +0200
+Subject: clock: update clock location for API change
+
+The deprecated argument to gweather_info_new() got dropped.
+---
+ modules/clock/clock-location.c | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git a/modules/clock/clock-location.c b/modules/clock/clock-location.c
+index bbcb3aa..89a12e2 100644
+--- a/modules/clock/clock-location.c
++++ b/modules/clock/clock-location.c
+@@ -477,7 +477,11 @@ setup_weather_updates (ClockLocation *loc)
+               priv->weather_timeout = 0;
+       }
++#if GWEATHER_CHECK_VERSION (3, 27, 2)
++      priv->weather_info = gweather_info_new (priv->loc);
++#else
+       priv->weather_info = gweather_info_new (priv->loc, GWEATHER_FORECAST_LIST);
++#endif
+       g_signal_connect (priv->weather_info, "updated",
+                         G_CALLBACK (weather_info_updated), loc);
+-- 
+cgit v0.12
+
index 447e62b65407385d1ea6b6bbe03911f615ce1d5f..6b33d6321762e22febd9fe82ba01da06c207539e 100644 (file)
@@ -5,12 +5,13 @@
 Summary:       The core programs for the GNOME GUI desktop environment
 Summary(pl.UTF-8):     Podstawowe programy środowiska graficznego GNOME
 Name:          gnome-panel
-Version:       3.24.1
-Release:       2
+Version:       3.26.0
+Release:       1
 License:       LGPL v2+ (library), GPL v2+ (the rest)
 Group:         X11/Applications
-Source0:       http://ftp.gnome.org/pub/GNOME/sources/gnome-panel/3.24/%{name}-%{version}.tar.xz
-# Source0-md5: d5ae2fa7af774e78968d44b0cd632939
+Source0:       http://ftp.gnome.org/pub/GNOME/sources/gnome-panel/3.26/%{name}-%{version}.tar.xz
+# Source0-md5: 8e9fa02a55e447e613c629bcf467f807
+Patch0:                %{name}-libgweather.patch
 URL:           http://www.gnome.org/
 BuildRequires: autoconf >= 2.50
 BuildRequires: automake >= 1:1.13
@@ -133,6 +134,7 @@ Dokumentacja API panel-applet.
 
 %prep
 %setup -q
+%patch0 -p1
 
 # short circuit stopper (fix me!)
 %{__mv} ChangeLog main-ChangeLog
@@ -191,6 +193,7 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_libdir}/%{name}/modules/clock.so
 %attr(755,root,root) %{_libdir}/%{name}/modules/fish.so
 %attr(755,root,root) %{_libdir}/%{name}/modules/notification-area.so
+%attr(755,root,root) %{_libdir}/%{name}/modules/separator.so
 %attr(755,root,root) %{_libdir}/%{name}/modules/status-notifier.so
 %attr(755,root,root) %{_libdir}/%{name}/modules/wncklet.so
 %{_datadir}/glib-2.0/schemas/org.gnome.gnome-panel.applet.clock.gschema.xml
This page took 0.052506 seconds and 4 git commands to generate.