Hello community, here is the log from the commit of package libgaminggear for openSUSE:Factory checked in at 2019-12-13 12:04:32 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libgaminggear (Old) and /work/SRC/openSUSE:Factory/.libgaminggear.new.4691 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libgaminggear" Fri Dec 13 12:04:32 2019 rev:12 rq:756738 version:0.15.1 Changes: -------- --- /work/SRC/openSUSE:Factory/libgaminggear/libgaminggear.changes 2019-05-10 09:19:33.608443430 +0200 +++ /work/SRC/openSUSE:Factory/.libgaminggear.new.4691/libgaminggear.changes 2019-12-13 12:05:49.193369398 +0100 @@ -1,0 +2,7 @@ +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 + +------------------------------------------------------------------- New: ---- 0001-Fix-build-with-recent-pango-versions.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libgaminggear.spec ++++++ --- /var/tmp/diff_new_pack.u1YMCk/_old 2019-12-13 12:05:50.165369032 +0100 +++ /var/tmp/diff_new_pack.u1YMCk/_new 2019-12-13 12:05:50.169369029 +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,6 +86,7 @@ %prep %setup -q +%patch0 -p1 %build %cmake -DINSTALL_PKGCONFIGDIR=%{_libdir}/pkgconfig @@ -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 %{_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
