Hello community,

here is the log from the commit of package vala-panel for openSUSE:Leap:15.2 
checked in at 2020-02-21 10:52:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/vala-panel (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.vala-panel.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "vala-panel"

Fri Feb 21 10:52:17 2020 rev:10 rq:777463 version:unknown

Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/vala-panel/vala-panel.changes  2020-01-15 
16:27:27.820721009 +0100
+++ /work/SRC/openSUSE:Leap:15.2/.vala-panel.new.26092/vala-panel.changes       
2020-02-21 10:52:18.563284119 +0100
@@ -1,0 +2,21 @@
+Sat Nov  9 02:45:59 UTC 2019 - Marguerite Su <[email protected]>
+
+- Add vala-panel-0.4.91-libm.patch
+  * fix linking with libm by vala-panel-0.4.91-libm.patch
+
+-------------------------------------------------------------------
+Sat Oct 19 06:27:37 UTC 2019 - Marguerite Su <[email protected]>
+
+- Update to version 0.4.91:
+  * Fixes for hide and updated tasklist
+- New subpackage: vala-cmake-modules
+  * needed by vala-panel-appmenu
+
+-------------------------------------------------------------------
+Mon Aug 27 11:59:46 UTC 2018 - [email protected]
+
+- Update to version 0.4.61:
+  * No changelog available.
+- Remove vala-panel-lower-reqs.patch.
+
+-------------------------------------------------------------------

Old:
----
  vala-panel-0.3.8.tar.gz
  vala-panel-lower-reqs.patch

New:
----
  cmake-vala-1bce300.tar.gz
  vala-panel-0.4.91-libm.patch
  vala-panel-0.4.91.tar.xz

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

Other differences:
------------------
++++++ vala-panel.spec ++++++
--- /var/tmp/diff_new_pack.vWKRxQ/_old  2020-02-21 10:52:19.247285516 +0100
+++ /var/tmp/diff_new_pack.vWKRxQ/_new  2020-02-21 10:52:19.251285524 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package vala-panel
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,31 +12,36 @@
 # 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    741b80c641591494e9f0ccc4cd19b0cd
+%define cmake_vala_git_revision 1bce300
 Name:           vala-panel
-Version:        0.3.8
+Version:        0.4.91
 Release:        0
 Summary:        A Gtk3 desktop panel based on Vala
-License:        GPL-3.0+
+License:        GPL-3.0-or-later
 Group:          System/GUI/Other
-Url:            https://github.com/rilian-la-te/vala-panel
-Source:         
https://github.com/rilian-la-te/%{name}/releases/download/%{version}/%{name}-%{version}.tar.gz
-# PATCH-FIX-OPENSUSE vala-panel-lower-reqs.patch [email protected] -- Lower 
requirements for openSUSE Leap 42.x.
-Patch0:         vala-panel-lower-reqs.patch
-BuildRequires:  cmake >= 2.8
+URL:            https://gitlab.com/vala-panel-project/vala-panel
+Source:         
https://gitlab.com/vala-panel-project/vala-panel/uploads/%{_rev}/%{name}-%{version}.tar.xz
+Source1:        cmake-vala-1bce300.tar.gz
+#PATCH-FIX-UPSTREAM [email protected] - fix linking with libm
+Patch:          vala-panel-0.4.91-libm.patch
+BuildRequires:  cmake >= 3.3
 BuildRequires:  fdupes
 BuildRequires:  gettext
 BuildRequires:  pkgconfig
-BuildRequires:  vala >= 0.32
-BuildRequires:  pkgconfig(gtk+-3.0) >= 3.20.0
-BuildRequires:  pkgconfig(libpeas-1.0) >= 1.2.0
+BuildRequires:  vala >= 0.34
+BuildRequires:  pkgconfig(glib-2.0) >= 2.56.0
+BuildRequires:  pkgconfig(gtk+-3.0) >= 3.22.0
+BuildRequires:  pkgconfig(libpeas-1.0) >= 1.14.0
 BuildRequires:  pkgconfig(libwnck-3.0) >= 3.4.0
 Recommends:     %{name}-lang
 Recommends:     %{name}-plugin-sntray
 Recommends:     %{name}-plugins-base = %{version}
+Recommends:     %{name}-runner = %{version}
 Suggests:       %{name}-plugin-appmenu
 Suggests:       %{name}-plugins-wnck = %{version}
 
@@ -65,11 +70,23 @@
 
 This is a development package for vala-panel.
 
+%package runner
+Summary:        Commands runner for vala-panel
+Group:          System/GUI/Other
+Requires:       %{name} = %{version}
+
+%description runner
+Vala Panel is a desktop panel written in Vala and Gtk3.
+
+This is a simple commands runner for vala-panel.
+
 %package plugins-base
 Summary:        Plugins for vala-panel -- non-X11 plugins
 Group:          System/GUI/Other
 
 %description plugins-base
+Vala Panel is a desktop panel written in Vala and Gtk3.
+
 This package contains main plugins for vala-panel: clock,
 launchbar, applications menu and so on.
 
@@ -78,12 +95,31 @@
 Group:          System/GUI/Other
 
 %description plugins-wnck
+Vala Panel is a desktop panel written in Vala and Gtk3.
+
 This package contains X11 plugins for vala-panel: tasklist,
 system tray, and others.
 
+%package -n vala-cmake-modules
+Summary:        Vala CMake modules
+Group:          Development/Tools/Other
+Version:        %{cmake_vala_git_revision}
+Release:        0
+
+%description -n vala-cmake-modules
+This package provides Vala CMake Modules for vala-panel and vala-panel-appmenu.
+
 %prep
-%setup -q
-%patch0 -p1
+%autosetup -p1
+mv cmake/FallbackVersion.cmake .
+rm -rf cmake
+tar -xf %{S:1} -C .
+mv cmake-vala-%{cmake_vala_git_revision} cmake
+mv FallbackVersion.cmake cmake
+pushd cmake
+cmake -DCMAKE_INSTALL_PREFIX=%{buildroot}%{_prefix} .
+make %{?_smp_mflags} V=1
+popd
 
 %build
 %if 0%{?suse_version} <= 1320
@@ -96,20 +132,28 @@
 make %{?_smp_mflags} V=1
 
 %install
+pushd cmake
+make install
+popd
 %cmake_install
 %find_lang %{name}
 %fdupes %{buildroot}%{_datadir}/
 
 %post
+/sbin/ldconfig
+%if 0%{?suse_version} < 1500
 %icon_theme_cache_post
 %glib2_gsettings_schema_post
-/sbin/ldconfig
+%endif
 
 %postun
+/sbin/ldconfig
+%if 0%{?suse_version} < 1500
 %icon_theme_cache_postun
 %glib2_gsettings_schema_postun
-/sbin/ldconfig
+%endif
 
+%if 0%{?suse_version} < 1500
 %post plugins-base
 %glib2_gsettings_schema_post
 
@@ -121,33 +165,37 @@
 
 %postun plugins-wnck
 %glib2_gsettings_schema_postun
+%endif
 
 %files
-%defattr(-,root,root)
-%doc LICENSE README.md
+%license LICENSE
+%doc README.md
 %config %{_sysconfdir}/xdg/vala-panel/
 %{_bindir}/vala-panel*
+%exclude %{_bindir}/vala-panel-runner
 %{_datadir}/glib-2.0/schemas/org.valapanel.gschema.xml
 %{_libdir}/libvalapanel.so.*
-%{_libdir}/vala-panel/*.so.*
 %{_datadir}/vala/
 %{_datadir}/vala-panel/
 %{_datadir}/glib-2.0/schemas/org.valapanel.toplevel.gschema.xml
+%{_datadir}/applications/org.valapanel.application.desktop
 %{_datadir}/icons/hicolor/*/apps/vala-panel.*
+%dir %{_datadir}/metainfo/
+%{_datadir}/metainfo/org.valapanel.application.appdata.xml
 %{_mandir}/man?/vala-panel.?%{?ext_man}
 
 %files lang -f %{name}.lang
-%defattr(-,root,root)
 
 %files devel
-%defattr(-,root,root)
 %{_libdir}/libvalapanel.so
-%{_libdir}/vala-panel/*.so
 %{_includedir}/vala-panel/
 %{_libdir}/pkgconfig/vala-panel.pc
 
+%files runner
+%{_bindir}/vala-panel-runner
+%{_mandir}/man1/vala-panel-runner.1%{?ext_man}
+
 %files plugins-base
-%defattr(-,root,root)
 %{_datadir}/glib-2.0/schemas/org.valapanel.builtin.gschema.xml
 %{_datadir}/glib-2.0/schemas/org.valapanel.plugins.gschema.xml
 %dir %{_libdir}/vala-panel/
@@ -160,31 +208,17 @@
 %{_libdir}/vala-panel/applets/libmenumodel.so
 %{_libdir}/vala-panel/applets/libseparator.so
 %{_libdir}/vala-panel/applets/libmonitors.so
-%{_libdir}/vala-panel/applets/clock.plugin
-%{_libdir}/vala-panel/applets/cpu.plugin
-%{_libdir}/vala-panel/applets/dirmenu.plugin
-%{_libdir}/vala-panel/applets/kbled.plugin
-%{_libdir}/vala-panel/applets/launchbar.plugin
-%{_libdir}/vala-panel/applets/menumodel.plugin
-%{_libdir}/vala-panel/applets/separator.plugin
-%{_libdir}/vala-panel/applets/monitors.plugin
 
 %files plugins-wnck
-%defattr(-,root,root)
 %{_datadir}/glib-2.0/schemas/org.valapanel.X.gschema.xml
-%{_libdir}/vala-panel/applets/libxembed.so
 %{_libdir}/vala-panel/applets/libdeskno.so
-%{_libdir}/vala-panel/applets/libtasklist.so
+%{_libdir}/vala-panel/applets/libtasklist-xfce.so
 %{_libdir}/vala-panel/applets/libwincmd.so
 %{_libdir}/vala-panel/applets/libpager.so
 %{_libdir}/vala-panel/applets/libbuttons.so
-%{_libdir}/vala-panel/applets/libicontasks.so
-%{_libdir}/vala-panel/applets/xembed.plugin
-%{_libdir}/vala-panel/applets/deskno.plugin
-%{_libdir}/vala-panel/applets/tasklist.plugin
-%{_libdir}/vala-panel/applets/wincmd.plugin
-%{_libdir}/vala-panel/applets/pager.plugin
-%{_libdir}/vala-panel/applets/buttons.plugin
-%{_libdir}/vala-panel/applets/icontasks.plugin
+%{_libdir}/vala-panel/applets/libnetmon.so
+
+%files -n vala-cmake-modules
+%{_datadir}/VCM
 
 %changelog

++++++ vala-panel-0.4.91-libm.patch ++++++
Index: vala-panel-0.4.91/applets/wnck/tasklist/CMakeLists.txt
===================================================================
--- vala-panel-0.4.91.orig/applets/wnck/tasklist/CMakeLists.txt
+++ vala-panel-0.4.91/applets/wnck/tasklist/CMakeLists.txt
@@ -15,7 +15,7 @@ add_library (${PLUGIN_NAME} MODULE
     ${RESOURCES}
 )
 
-target_link_libraries (${PLUGIN_NAME} WNCK::WNCK valapanel)
+target_link_libraries (${PLUGIN_NAME} WNCK::WNCK valapanel m)
 target_include_directories (${PLUGIN_NAME} PRIVATE ${CMAKE_CURRENT_SOURCE_DIR})
 add_custom_target(vala-ide-${PLUGIN_NAME} SOURCES ${VALA_FILES})
 
Index: vala-panel-0.4.91/ui/CMakeLists.txt
===================================================================
--- vala-panel-0.4.91.orig/ui/CMakeLists.txt
+++ vala-panel-0.4.91/ui/CMakeLists.txt
@@ -47,7 +47,7 @@ add_library (${LIBNAME} SHARED
     applet-manager.h
 )
 
-target_link_libraries (${LIBNAME} util-gtk)
+target_link_libraries (${LIBNAME} util-gtk m)
 target_include_directories(${LIBNAME} PRIVATE ${CMAKE_SOURCE_DIR} 
${CMAKE_BINARY_DIR} ${CMAKE_SOURCE_DIR}/util; ${CMAKE_SOURCE_DIR}/ui 
${CMAKE_SOURCE_DIR}/util/gtk ${CMAKE_BINARY_DIR}/ui)
 
 set_target_properties (${LIBNAME} PROPERTIES
Index: vala-panel-0.4.91/util/gtk/CMakeLists.txt
===================================================================
--- vala-panel-0.4.91.orig/util/gtk/CMakeLists.txt
+++ vala-panel-0.4.91/util/gtk/CMakeLists.txt
@@ -25,7 +25,7 @@ add_library (util-gtk STATIC
     ${GLIB_RESOURCES_LIB}
 )
 set_property(TARGET util-gtk PROPERTY POSITION_INDEPENDENT_CODE ON)
-target_link_libraries (util-gtk util GTK3::GTK GTK3::GDK)
+target_link_libraries (util-gtk util GTK3::GTK GTK3::GDK m)
 target_include_directories(util-gtk PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} 
${CORE_INCLUDE_DIRS} ${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR}/util 
${CMAKE_SOURCE_DIR}/util)
 
 set_target_properties (util-gtk PROPERTIES

Reply via email to