Hello community,

here is the log from the commit of package vala-panel-extras for 
openSUSE:Leap:15.2 checked in at 2020-05-14 06:52:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/vala-panel-extras (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.vala-panel-extras.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "vala-panel-extras"

Thu May 14 06:52:03 2020 rev:10 rq:805285 version:0.1.9

Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/vala-panel-extras/vala-panel-extras.changes    
2020-01-15 16:27:29.388721893 +0100
+++ 
/work/SRC/openSUSE:Leap:15.2/.vala-panel-extras.new.2738/vala-panel-extras.changes
  2020-05-14 06:52:03.879778331 +0200
@@ -1,0 +2,38 @@
+Sat Feb 22 15:48:43 UTC 2020 - Alexei Sorokin <[email protected]>
+
+- Add vala-panel-extras-fix-build.patch: fix build
+  (commits 6fb4639f, e0fce753).
+- Depend on vala-cmake-modules.
+- Drop support for old openSUSE versions.
+
+-------------------------------------------------------------------
+Mon Aug 27 11:59:46 UTC 2018 - Alexei Sorokin <[email protected]>
+
+- Update to version 0.1.9:
+  * Build with new GWeather.
+  * Fix Vala 0.40 warnings.
+  * Update Chinese translation.
+- Remove Fix-build-new-libgweather.patch,
+  vala040-fixup-warnings.patch: fixed upstream.
+
+-------------------------------------------------------------------
+Wed May  2 07:33:34 UTC 2018 - [email protected]
+
+- Update to version 0.1.8:
+  + Volume applet got beep on change volume.
+- Changes from version 0.1.7:
+  + Even more fixes for vala 0.36.
+- Changes from version 0.1.6:
+  + Fixes for vala 0.36.
+- Add pkgconfig(libcanberra-gtk3) BuildRequires: New dependency.
+- Drop vala-panel-extras-0.1.4-vala-0.36.patch: Fixed upstream.
+- Add vala040-fixup-warnings.patch: Fix warnings with vala 0.40.
+- Add Fix-build-new-libgweather.patch: Fix build with new
+  libgweather.
+- Drop no longer needed post(un) handling of
+  glib2_gsettings_schema_post(un).
+- Run spec-cleaner, modernize spec.
+- Add fdupes BuildRequires and pass fdupes macro, remove duplicates
+  and silence rpmlint.
+
+-------------------------------------------------------------------

Old:
----
  vala-panel-extras-0.1.4-vala-0.36.patch
  vala-panel-extras-0.1.5.tar.gz

New:
----
  vala-panel-extras-0.1.9.tar.gz
  vala-panel-extras-fix-build.patch

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

Other differences:
------------------
++++++ vala-panel-extras.spec ++++++
--- /var/tmp/diff_new_pack.WYwj9p/_old  2020-05-14 06:52:04.319779279 +0200
+++ /var/tmp/diff_new_pack.WYwj9p/_new  2020-05-14 06:52:04.323779288 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package vala-panel-extras
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,28 +12,31 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
+%define _rev    afdd298396a1e735ef8a3c56a5f9b16c
 Name:           vala-panel-extras
-Version:        0.1.5
+Version:        0.1.9
 Release:        0
 Summary:        Vala Panel Extras are applets for StatusNotifierItem
-License:        LGPL-3.0+
-Group:          System/GUI/Other
-Url:            https://github.com/rilian-la-te/vala-panel-extras
-Source:         
https://github.com/rilian-la-te/%{name}/releases/download/%{version}/%{name}-%{version}.tar.gz
-# PATCH-FIX-UPSTREAM vala-panel-extras-0.1.4-vala-0.36.patch -- Fix build with 
Vala 0.36 and newer.
-Patch0:         vala-panel-extras-0.1.4-vala-0.36.patch
-BuildRequires:  cmake >= 2.8
+License:        LGPL-3.0-or-later
+URL:            https://gitlab.com/vala-panel-project/vala-panel-extras
+Source:         
https://gitlab.com/vala-panel-project/vala-panel-extras/uploads/%{_rev}/%{name}-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM vala-panel-extras-fix-build.patch -- Fix build (commits 
6fb4639f, e0fce753).
+Patch0:         vala-panel-extras-fix-build.patch
+BuildRequires:  cmake >= 3.6
+BuildRequires:  fdupes
 BuildRequires:  gettext
 BuildRequires:  pkgconfig
 BuildRequires:  vala >= 0.24
+BuildRequires:  vala-cmake-modules
 BuildRequires:  pkgconfig(alsa)
 BuildRequires:  pkgconfig(gdk-x11-3.0)
 BuildRequires:  pkgconfig(gtk+-3.0) >= 3.16
 BuildRequires:  pkgconfig(gweather-3.0)
+BuildRequires:  pkgconfig(libcanberra-gtk3)
 BuildRequires:  pkgconfig(libgtop-2.0)
 BuildRequires:  pkgconfig(x11-xcb)
 BuildRequires:  pkgconfig(xcb-xkb)
@@ -47,8 +50,7 @@
 
 %package lang
 Summary:        Languages for vala-panel extras
-Group:          System/Localization
-Supplements:    packageand(bundle-lang-other:%{name})
+Supplements:    (bundle-lang-other and %{name})
 Provides:       %{name}-lang-all = %{version}
 BuildArch:      noarch
 
@@ -57,7 +59,6 @@
 
 %package xkb-flags
 Summary:        Flags for vala-panel-extras-xkb
-Group:          System/GUI/Other
 Requires:       %{name}-xkb = %{version}
 Recommends:     %{name}-lang
 Suggests:       vala-panel-plugin-sntray
@@ -69,7 +70,6 @@
 
 %package volume
 Summary:        Vala Panel Extras -- Volume plugin
-Group:          System/GUI/Other
 Recommends:     %{name}-lang
 Suggests:       vala-panel-plugin-sntray
 
@@ -79,7 +79,6 @@
 
 %package xkb
 Summary:        Vala Panel Extras -- Keyboard layout plugin
-Group:          System/GUI/Other
 Recommends:     %{name}-lang
 Suggests:       vala-panel-plugin-sntray
 
@@ -89,7 +88,6 @@
 
 %package gtop
 Summary:        Vala Panel Extras -- Network speed plugin
-Group:          System/GUI/Other
 Recommends:     %{name}-lang
 
 %description gtop
@@ -98,7 +96,6 @@
 
 %package weather
 Summary:        Vala Panel Extras -- Weather plugin
-Group:          System/GUI/Other
 Recommends:     %{name}-lang
 Suggests:       vala-panel-plugin-sntray
 
@@ -108,7 +105,6 @@
 
 %package battery
 Summary:        Vala Panel Extras -- Battery plugin
-Group:          System/GUI/Other
 Requires:       upower
 Recommends:     %{name}-lang
 Suggests:       vala-panel-plugin-sntray
@@ -118,88 +114,61 @@
 StatusNotifierItem.
 
 %prep
-%setup -q
-%patch0 -p1
+%autosetup -p1
+
+# vala-cmake-modules
+find cmake/ -type f ! -name 'FallbackVersion.cmake' -delete -print
 
 %build
 %cmake \
   -DGSETTINGS_COMPILE=OFF
-make %{?_smp_mflags} V=1
+%cmake_build
 
 %install
 %cmake_install
 %find_lang %{name}
-
-%post battery
-%glib2_gsettings_schema_post
-
-%postun battery
-%glib2_gsettings_schema_postun
-
-%post gtop
-%glib2_gsettings_schema_post
-
-%postun gtop
-%glib2_gsettings_schema_postun
-
-%post volume
-%glib2_gsettings_schema_post
-
-%postun volume
-%glib2_gsettings_schema_postun
-
-%post weather
-%glib2_gsettings_schema_post
-
-%postun weather
-%glib2_gsettings_schema_postun
-
-%post xkb
-%glib2_gsettings_schema_post
-
-%postun xkb
-%glib2_gsettings_schema_postun
+%fdupes %{buildroot}%{_prefix}/
 
 %files lang -f %{name}.lang
-%defattr(-,root,root)
 
 %files battery
-%defattr(-,root,root)
+%license LICENSE
 %doc README.md
 %{_bindir}/%{name}-battery
 %{_datadir}/glib-2.0/schemas/org.valapanel.battery.gschema.xml
 %{_datadir}/applications/org.valapanel.battery.desktop
 
 %files gtop
-%defattr(-,root,root)
+%license LICENSE
 %doc README.md
 %{_bindir}/%{name}-gtop
 %{_datadir}/glib-2.0/schemas/org.valapanel.gtop.gschema.xml
 %{_datadir}/applications/org.valapanel.gtop.desktop
 
 %files volume
-%defattr(-,root,root)
+%license LICENSE
 %doc README.md
 %{_bindir}/%{name}-volume
 %{_datadir}/glib-2.0/schemas/org.valapanel.volume.gschema.xml
 %{_datadir}/applications/org.valapanel.volume.desktop
 
 %files weather
-%defattr(-,root,root)
+%license LICENSE
 %doc README.md
 %{_bindir}/%{name}-weather
 %{_datadir}/glib-2.0/schemas/org.valapanel.weather.gschema.xml
 %{_datadir}/applications/org.valapanel.weather.desktop
 
 %files xkb
-%defattr(-,root,root)
+%license LICENSE
 %doc README.md
 %{_bindir}/%{name}-xkb
 %{_datadir}/glib-2.0/schemas/org.valapanel.xkb.gschema.xml
 %{_datadir}/applications/org.valapanel.xkb.desktop
 
 %files xkb-flags
-%defattr(-,root,root)
+%license LICENSE
+%doc README.md
 %{_datadir}/%{name}/
 
 %changelog

++++++ vala-panel-extras-0.1.5.tar.gz -> vala-panel-extras-0.1.9.tar.gz ++++++
++++ 6174 lines of diff (skipped)

++++++ vala-panel-extras-fix-build.patch ++++++
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -6,9 +6,17 @@ include(GNUInstallDirs)
 list (APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake)
 set (DATADIR "${CMAKE_INSTALL_PREFIX}/share/vala-panel")
 set (PKGDATADIR "${DATADIR}")
+if(EXISTS ${CMAKE_SOURCE_DIR}/cmake/VCMSubmodule.cmake)
+    include(${CMAKE_SOURCE_DIR}/cmake/VCMSubmodule.cmake)
+    use_vcm(${CMAKE_SOURCE_DIR}/cmake)
+else()
+    find_package(VCM REQUIRED NO_MODULE)
+    list(APPEND CMAKE_MODULE_PATH ${VCM_MODULE_PATH})
+endif()
 include(GitVersion)
 determine_fallback_version(${CMAKE_SOURCE_DIR}/cmake)
-include(FallbackVersion)
+include(${CMAKE_SOURCE_DIR}/cmake/FallbackVersion.cmake)
+include(Format)
 set (GETTEXT_PACKAGE "vala-panel-extras")
 set (RELEASE_NAME "Vala Panel extra items")
 set (PREFIX ${CMAKE_INSTALL_PREFIX})
--- a/lib/CMakeLists.txt
+++ b/lib/CMakeLists.txt
@@ -17,7 +17,6 @@ OPTIONS
     --vapidir=${CMAKE_BINARY_DIR}/vapi
     --target-glib=2.40
     --gresources=${CMAKE_CURRENT_SOURCE_DIR}/internal.gresource.xml
-    --thread
 GENERATE_VAPI
     internal
 )
--- a/vapi/gio-addons-2.0.vapi
+++ b/vapi/gio-addons-2.0.vapi
@@ -30,11 +30,6 @@ namespace GLib
 {
     [CCode (cname = "g_slist_free_full")]
     public void slist_free_full(SList list, DestroyNotify? free_func);
-    namespace SignalHandler
-    {
-        [CCode (cname = "g_signal_handlers_disconnect_by_data")]
-        public void disconnect_by_data(Object instance, void* data);
-    }
     [CCode (cname = "GSettingsBackend")]
     public class KeyfileSettingsBackend : GLib.SettingsBackend
     {

Reply via email to