[packages/gnome-panel] Update to 3.26.0
megabajt
megabajt at pld-linux.org
Wed Mar 21 20:37:01 CET 2018
commit e02a531fd954aaceb8e5e3b0264ee6dc7233a6d2
Author: Marcin Banasiak <marcin.banasiak at gmail.com>
Date: Wed Mar 21 20:36:13 2018 +0100
Update to 3.26.0
- added -libgweather patch to fix build with new libgweather
gnome-panel-libgweather.patch | 29 +++++++++++++++++++++++++++++
gnome-panel.spec | 11 +++++++----
2 files changed, 36 insertions(+), 4 deletions(-)
---
diff --git a/gnome-panel.spec b/gnome-panel.spec
index 447e62b..6b33d63 100644
--- a/gnome-panel.spec
+++ b/gnome-panel.spec
@@ -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
diff --git a/gnome-panel-libgweather.patch b/gnome-panel-libgweather.patch
new file mode 100644
index 0000000..b4815cb
--- /dev/null
+++ b/gnome-panel-libgweather.patch
@@ -0,0 +1,29 @@
+From 8d63e6ec19f2b4a490c2abc81881c50402058b17 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Alberts=20Muktup=C4=81vels?= <alberts.muktupavels at 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
+
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/gnome-panel.git/commitdiff/e02a531fd954aaceb8e5e3b0264ee6dc7233a6d2
More information about the pld-cvs-commit
mailing list