Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package gpredict for openSUSE:Factory 
checked in at 2025-10-03 15:45:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gpredict (Old)
 and      /work/SRC/openSUSE:Factory/.gpredict.new.11973 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gpredict"

Fri Oct  3 15:45:51 2025 rev:6 rq:1308822 version:2.2.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/gpredict/gpredict.changes        2020-06-11 
10:17:39.137652739 +0200
+++ /work/SRC/openSUSE:Factory/.gpredict.new.11973/gpredict.changes     
2025-10-03 15:47:09.321843702 +0200
@@ -1,0 +2,9 @@
+Fri Oct  3 07:48:43 UTC 2025 - Dominique Leuenberger <[email protected]>
+
+- Add gpredict-goocanvas3.patch: Build against goocanvas 3
+- Add libtool BuildRequires and call autoreconf, as above patch
+  touches the build system
+- Drop redundant post/postun scriptlets that were only used on
+  suse_version < 1330
+
+-------------------------------------------------------------------
@@ -56,27 +64,0 @@
-
--------------------------------------------------------------------
-
-* Wed Mar 2 2011 - [email protected]
-- update to 1.3
-* Thu Oct 14 2010 - [email protected]
-- update to 1.2
-* Thu Oct 08 2009 - [email protected]
-- update to 1.1
-* Mon May 25 2009 - [email protected]
-- update to 1.0b5
-* Sat May 16 2009 - [email protected]
-- update to 1.0b4
-* Tue Sep 30 2008 - [email protected]
-- updated for openSUSE_Factory
-* Wed Aug 17 2008 - [email protected]
-- add icon to gpredict.desktop
-* Mon Jun 02 2008 - [email protected]
-- update to 0.9 and pkg for 11.0
-* Thu Feb 21 2007 - [email protected]
-- import into buildservice
-- version 0.7.1
-* Sun Dec 17 2006 - [email protected]
-- Update to version 0.6.1 of gpredict
-* Thu Jun 20 2006 - [email protected]
-- initial spec file for SUSE 10.1
- 

New:
----
  gpredict-goocanvas3.patch

----------(New B)----------
  New:
- Add gpredict-goocanvas3.patch: Build against goocanvas 3
- Add libtool BuildRequires and call autoreconf, as above patch
----------(New E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ gpredict.spec ++++++
--- /var/tmp/diff_new_pack.V4Lvzj/_old  2025-10-03 15:47:09.817864482 +0200
+++ /var/tmp/diff_new_pack.V4Lvzj/_new  2025-10-03 15:47:09.821864650 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package gpredict
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2025 SUSE LLC and contributors
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -24,21 +24,20 @@
 Group:          Productivity/Hamradio/Other
 URL:            http://gpredict.oz9aec.net/
 Source:         
https://github.com/csete/gpredict/releases/download/v%{version}/gpredict-%{version}.tar.bz2
+# PATCH-FIX-UPSTREAM gpredict-goocanvas-3 -- very loosly inspired by 
https://github.com/csete/gpredict/commit/86fb71.patch#/
+Patch0:         gpredict-goocanvas3.patch
 BuildRequires:  fdupes
 BuildRequires:  hicolor-icon-theme
 BuildRequires:  intltool
+BuildRequires:  libtool
 BuildRequires:  perl-XML-Parser
 BuildRequires:  pkgconfig
 BuildRequires:  update-desktop-files
 BuildRequires:  pkgconfig(glib-2.0) >= 2.32
-BuildRequires:  pkgconfig(goocanvas-2.0)
+BuildRequires:  pkgconfig(goocanvas-3.0)
 BuildRequires:  pkgconfig(gtk+-3.0)
 BuildRequires:  pkgconfig(libcurl) >= 7.19
 BuildRequires:  pkgconfig(libgps)
-Requires(post): hicolor-icon-theme
-Requires(post): update-desktop-files
-Requires(postun): hicolor-icon-theme
-Requires(postun): update-desktop-files
 Recommends:     %{name}-lang
 Recommends:     hamlib
 
@@ -52,9 +51,10 @@
 %lang_package
 
 %prep
-%setup -q
+%autosetup -p1
 
 %build
+autoreconf -fiv
 export CFLAGS="%optflags -fcommon"
 %configure \
     --disable-silent-rules
@@ -66,16 +66,6 @@
 %suse_update_desktop_file -c gpredict Gpredict "Satellite tracking program" 
gpredict gpredict-icon "Network;HamRadio"
 %fdupes -s %{buildroot}
 
-%if 0%{?suse_version} < 1330
-%post
-%desktop_database_post
-%icon_theme_cache_post
-
-%postun
-%desktop_database_postun
-%icon_theme_cache_postun
-%endif
-
 %files
 %doc AUTHORS COPYING ChangeLog NEWS README
 %{_bindir}/gpredict

++++++ gpredict-goocanvas3.patch ++++++
>From 86fb71aad0bba311268352539b61225bf1f1e279 Mon Sep 17 00:00:00 2001
From: Alexandru Csete <[email protected]>
Date: Sat, 20 Feb 2021 14:42:37 +0100
Subject: [PATCH] Add support for GooCanvas 3

If GooCanvas 2 is not available, check for version 3.
Issue #246.
---
 configure.ac | 18 +++++++++++++++---
 1 file changed, 15 insertions(+), 3 deletions(-)

Index: gpredict-2.2.1/configure.ac
===================================================================
--- gpredict-2.2.1.orig/configure.ac
+++ gpredict-2.2.1/configure.ac
@@ -45,11 +45,11 @@ else
 fi
 
 # check for goocanvas (depends on gtk and glib)
-if pkg-config --atleast-version=2.0 goocanvas-2.0; then
-    CFLAGS="$CFLAGS `pkg-config --cflags goocanvas-2.0`"
-    LIBS="$LIBS `pkg-config --libs goocanvas-2.0`"
+if pkg-config --atleast-version=3.0 goocanvas-3.0; then
+    CFLAGS="$CFLAGS `pkg-config --cflags goocanvas-3.0`"
+    LIBS="$LIBS `pkg-config --libs goocanvas-3.0`"
 else
-    AC_MSG_ERROR(Gpredict requires libgoocanvas-2.0-dev)
+    AC_MSG_ERROR(Gpredict requires libgoocanvas-3.0-dev)
 fi
 
 # check for libgps (optional)
@@ -93,7 +93,7 @@ GIO_V=`pkg-config --modversion gio-2.0`
 GTHR_V=`pkg-config --modversion gthread-2.0`
 GDK_V=`pkg-config --modversion gdk-3.0`
 GTK_V=`pkg-config --modversion gtk+-3.0`
-GOOC_V=`pkg-config --modversion goocanvas-2.0`
+GOOC_V=`pkg-config --modversion goocanvas-3.0`
 CURL_V=`pkg-config --modversion libcurl`
 if test "$havelibgps" = true ; then
    GPS_V=`pkg-config --modversion libgps`

Reply via email to