Hello community, here is the log from the commit of package libwacom for openSUSE:Factory checked in at 2019-11-21 09:40:58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libwacom (Old) and /work/SRC/openSUSE:Factory/.libwacom.new.26869 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libwacom" Thu Nov 21 09:40:58 2019 rev:27 rq: version:1.1 Changes: -------- --- /work/SRC/openSUSE:Factory/libwacom/libwacom.changes 2019-11-20 15:00:12.434757943 +0100 +++ /work/SRC/openSUSE:Factory/.libwacom.new.26869/libwacom.changes 2019-11-21 09:41:00.486630002 +0100 @@ -1,0 +2,7 @@ +Thu Nov 21 08:30:23 UTC 2019 - Dominique Leuenberger <[email protected]> + +- Add libwacom-meson-0.51-lto.patch: Completely strip the + test_deprecated linkingn from meson.build> 174.patch would only + properly work with meson 0.52+. + +------------------------------------------------------------------- New: ---- libwacom-meson-0.51-lto.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libwacom.spec ++++++ --- /var/tmp/diff_new_pack.CR9vWJ/_old 2019-11-21 09:41:01.174630026 +0100 +++ /var/tmp/diff_new_pack.CR9vWJ/_new 2019-11-21 09:41:01.178630026 +0100 @@ -1,7 +1,7 @@ # # spec file for package libwacom # -# Copyright (c) 2019 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 @@ -33,6 +33,7 @@ Source3: %{name}.keyring Source99: baselibs.conf Patch0: https://patch-diff.githubusercontent.com/raw/linuxwacom/libwacom/pull/174.patch +Patch1: libwacom-meson-0.51-lto.patch %if %{with meson} BuildRequires: meson >= 0.47.0 %endif @@ -87,6 +88,7 @@ %prep %setup -q %patch0 -p1 +%patch1 -p1 %build %if %{with meson} ++++++ libwacom-meson-0.51-lto.patch ++++++ Index: libwacom-1.1/meson.build =================================================================== --- libwacom-1.1.orig/meson.build +++ libwacom-1.1/meson.build @@ -533,19 +533,6 @@ if get_option('tests') else message('valgrind not found, disabling valgrind test suite') endif - - # because of the tricks we use in calling the function and exposing - # it to begin with, LTO gets confused and this fails to link. - # Let's just disable it here. - if not get_option('b_lto') - test_deprecated = executable('test-deprecated', - 'test/test-deprecated.c', - dependencies: [dep_libwacom, dep_dl], - include_directories: [includes_src], - c_args: tests_cflags, - install: false) - test('test-deprecated', test_deprecated, suite: ['all']) - endif endif # This is a non-optional test
