Hello community, here is the log from the commit of package libgaminggear for openSUSE:Leap:15.2 checked in at 2020-03-23 09:33:49 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/libgaminggear (Old) and /work/SRC/openSUSE:Leap:15.2/.libgaminggear.new.3160 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libgaminggear" Mon Mar 23 09:33:49 2020 rev:12 rq:787347 version:0.15.1 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/libgaminggear/libgaminggear.changes 2020-01-15 15:21:01.718429464 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.libgaminggear.new.3160/libgaminggear.changes 2020-03-23 09:33:51.260310612 +0100 @@ -1,0 +2,12 @@ +Sat Dec 7 22:26:48 UTC 2019 - Christophe Giboudeaux <[email protected]> + +- Add 0001-Fix-build-with-recent-pango-versions.patch to fix build + with recent pango versions. +- Run spec-cleaner + +------------------------------------------------------------------- +Wed May 8 16:37:22 UTC 2019 - [email protected] + +- Install pkgconfig into libdir instead of datadir + +------------------------------------------------------------------- New: ---- 0001-Fix-build-with-recent-pango-versions.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libgaminggear.spec ++++++ --- /var/tmp/diff_new_pack.B9L5hT/_old 2020-03-23 09:33:51.712310937 +0100 +++ /var/tmp/diff_new_pack.B9L5hT/_new 2020-03-23 09:33:51.716310940 +0100 @@ -1,7 +1,7 @@ # # spec file for package libgaminggear # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # 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/ # @@ -24,11 +24,13 @@ Version: 0.15.1 Release: 0 Summary: Library for gaming input devices -License: GPL-2.0 and CC-BY-3.0 +License: GPL-2.0-only AND CC-BY-3.0 Group: Development/Libraries/C and C++ -Url: https://sourceforge.net/projects/libgaminggear/ +URL: https://sourceforge.net/projects/libgaminggear/ Source: http://downloads.sourceforge.net/project/%{name}/%{name}-%{version}.tar.bz2 -BuildRequires: cmake >= 2.6.4 +# PATCH-FIX-UPSTREAM +Patch0: 0001-Fix-build-with-recent-pango-versions.patch +BuildRequires: cmake >= 2.8 BuildRequires: doxygen BuildRequires: fdupes BuildRequires: pkgconfig @@ -37,7 +39,6 @@ BuildRequires: pkgconfig(libcanberra) BuildRequires: pkgconfig(libnotify) BuildRequires: pkgconfig(sqlite3) >= 3.7 -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description A shared library initiated by the Roccat Linux driver project. @@ -85,9 +86,10 @@ %prep %setup -q +%patch0 -p1 %build -%cmake +%cmake -DINSTALL_PKGCONFIGDIR=%{_libdir}/pkgconfig make %{?_smp_mflags} %install @@ -103,35 +105,33 @@ %postun -n %{libgaminggearwidget} -p /sbin/ldconfig %files -%defattr(-, root, root) -%doc README COPYING Changelog +%license COPYING +%doc README Changelog %{_bindir}/gaminggearfxcontrol %{_bindir}/gaminggearfxinfo %{_datadir}/libgaminggear/ %files -n %{libgaminggear} -%defattr(-, root, root) -%doc README COPYING Changelog +%license COPYING +%doc README Changelog %{_libdir}/libgaminggear.so.* %files -n %{libgaminggearfx} -%defattr(-, root, root) -%doc README COPYING Changelog +%license COPYING +%doc README Changelog %{_libdir}/libgaminggearfx.so.* %files -n %{libgaminggearwidget} -%defattr(-, root, root) -%doc README COPYING Changelog +%license COPYING +%doc README Changelog %{_libdir}/libgaminggearwidget.so.* %files devel -%defattr(-, root, root) %{_includedir}/gaminggear-0/ %{_libdir}/libgaminggear*.so -%{_datadir}/pkgconfig/gaminggear-%{majorversion}.pc +%{_libdir}/pkgconfig/gaminggear-%{majorversion}.pc %{_datadir}/cmake/Modules/FindGAMINGGEAR%{majorversion}.cmake %files lang -f %{name}.lang -%defattr(-, root, root) %changelog ++++++ 0001-Fix-build-with-recent-pango-versions.patch ++++++ >From 37b4460d0334e04c3a73264512a8f379d353f528 Mon Sep 17 00:00:00 2001 From: Christophe Giboudeaux <[email protected]> Date: Sat, 7 Dec 2019 23:26:24 +0100 Subject: [PATCH] Fix build with recent pango versions. --- CMakeLists.txt | 2 ++ cmake_modules/FindPANGO.cmake | 2 ++ 2 files changed, 4 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 36b5f93..d844fcc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -77,6 +77,8 @@ INCLUDE_DIRECTORIES( ${NOTIFY_INCLUDE_DIRS} ) +ADD_DEFINITIONS(${PANGO_CFLAGS}) + ADD_SUBDIRECTORY(configuration) ADD_SUBDIRECTORY(gaminggearfxcontrol) ADD_SUBDIRECTORY(gaminggearfxinfo) diff --git a/cmake_modules/FindPANGO.cmake b/cmake_modules/FindPANGO.cmake index 2b8e880..911c459 100644 --- a/cmake_modules/FindPANGO.cmake +++ b/cmake_modules/FindPANGO.cmake @@ -16,6 +16,8 @@ FIND_PATH(PANGO_INCLUDE_DIRS pango/pango.h PATH_SUFFIXES pango-1.0 ) +SET(PANGO_CFLAGS "${PKG_PANGO_CFLAGS}") + FIND_LIBRARY(PANGO_LIBRARIES pango-1.0 HINTS ${PKG_PANGO_LIBRARY_DIRS} ) -- 2.24.0
