diff --git a/0001-Drop-custom-linker-compiler-flags.patch b/0001-Drop-custom-linker-compiler-flags.patch deleted file mode 100644 index ceed0c0208100c18e8bc57d4aba859d81aa47c12..0000000000000000000000000000000000000000 --- a/0001-Drop-custom-linker-compiler-flags.patch +++ /dev/null @@ -1,72 +0,0 @@ -From 1e6fbc0bd54a15849b89e3fb66825e6e504d041c Mon Sep 17 00:00:00 2001 -From: Peter Hutterer -Date: Fri, 15 Nov 2019 15:22:38 +1000 -Subject: [PATCH libevdev] configure.ac: drop the custom linker and compiler - flags - -Let these be defined by the build environment. No-one has ever done any true -analysis of these options for the libevdev context and whether they're -beneficial. Let's assume the distributions know what they want to set. - -We leave in the visibility setting and the various warning options, both of -those are useful/needed. - -Signed-off-by: Peter Hutterer ---- - configure.ac | 19 +------------------ - libevdev/Makefile.am | 2 +- - 2 files changed, 2 insertions(+), 19 deletions(-) - -diff --git a/configure.ac b/configure.ac -index 396dab9..711f7d4 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -51,16 +51,6 @@ LT_PREREQ([2.2]) - LT_INIT - LT_PATH_LD - --with_ldflags="" --if test "x$lt_cv_prog_gnu_ld" = "xyes"; then -- CC_CHECK_FLAGS_APPEND([with_ldflags], [LDFLAGS], [\ -- -Wl,--as-needed \ -- -Wl,--gc-sections \ -- -Wl,-z,relro \ -- -Wl,-z,now]) --fi --AC_SUBST([GNU_LD_FLAGS], $with_ldflags) -- - case "${host_os}" in - freebsd*) - AC_SUBST([OS], [freebsd]) -@@ -91,14 +81,7 @@ if test "x$GCC" = "xyes"; then - -Wno-unused-parameter \ - -Wstrict-prototypes \ - -Wmissing-prototypes \ -- -fvisibility=hidden \ -- -pipe \ -- -fno-strict-aliasing \ -- -ffunction-sections \ -- -fdata-sections \ -- -fno-strict-aliasing \ -- -fdiagnostics-show-option \ -- -fno-common]) -+ -fvisibility=hidden ]) - fi - AC_SUBST([GCC_CFLAGS], $with_cflags) - -diff --git a/libevdev/Makefile.am b/libevdev/Makefile.am -index 106cc31..80123fd 100644 ---- a/libevdev/Makefile.am -+++ b/libevdev/Makefile.am -@@ -22,7 +22,7 @@ libevdev_la_LDFLAGS = \ - $(AM_LDFLAGS) \ - -version-info $(LIBEVDEV_LT_VERSION) \ - -Wl,--version-script="$(srcdir)/libevdev.sym" \ -- $(GNU_LD_FLAGS) -+ $(NULL) - - EXTRA_libevdev_la_DEPENDENCIES = $(srcdir)/libevdev.sym - --- -2.31.1 - diff --git a/libevdev-1.10.0.tar.xz b/libevdev-1.10.0.tar.xz deleted file mode 100644 index 1b94cf6875a8728c67639184a9edbd9101dd5f3d..0000000000000000000000000000000000000000 Binary files a/libevdev-1.10.0.tar.xz and /dev/null differ diff --git a/libevdev-1.11.0.tar.xz b/libevdev-1.11.0.tar.xz new file mode 100644 index 0000000000000000000000000000000000000000..1ad99677d9499fbc18f42a29c6337df07ef84d62 Binary files /dev/null and b/libevdev-1.11.0.tar.xz differ diff --git a/libevdev.spec b/libevdev.spec index afac198e176570ded04f56c6db60659313fde032..567610f89de38c1958bf13fbecf7f2d8644b4445 100644 --- a/libevdev.spec +++ b/libevdev.spec @@ -1,17 +1,14 @@ Name: libevdev -Version: 1.10.0 -Release: 1%{?dist} +Version: 1.11.0 +Release: 3%{?dist} Summary: Kernel Evdev Device Wrapper Library -Group: System Environment/Libraries License: MIT URL: http://www.freedesktop.org/wiki/Software/libevdev Source0: http://www.freedesktop.org/software/%{name}/%{name}-%{version}.tar.xz -Patch01: 0001-Drop-custom-linker-compiler-flags.patch - BuildRequires: git-core -BuildRequires: automake libtool +BuildRequires: meson gcc BuildRequires: python3 python3-devel %description @@ -38,15 +35,11 @@ Utilities to handle and/or debug evdev devices. pathfix.py -i %{__python3} -p -n $(git grep -l '#!/usr/bin/.*python.*') %build -autoreconf --force -v --install || exit 1 -%configure --disable-static --disable-silent-rules --disable-gcov -make %{?_smp_mflags} +%meson -Dtests=disabled -Ddocumentation=disabled -Dcoverity=false +%meson_build %install -make install DESTDIR=%{buildroot} - -# We intentionally don't ship *.la files -rm -f %{buildroot}%{_libdir}/*.la +%meson_install %ldconfig_scriptlets @@ -67,18 +60,77 @@ rm -f %{buildroot}%{_libdir}/*.la %{_bindir}/touchpad-edge-detector %{_bindir}/mouse-dpi-tool %{_bindir}/libevdev-tweak-device -%{_mandir}/man1/touchpad-edge-detector.1* %{_mandir}/man1/libevdev-tweak-device.1* +%{_mandir}/man1/touchpad-edge-detector.1* %changelog -* Mon May 24 2021 Peter Hutterer 1.10.0-1 -- libevdev 1.10.0 (#1963767) +* Mon Aug 09 2021 Mohan Boddu - 1.11.0-3 +- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags + Related: rhbz#1991688 + +* Fri Apr 16 2021 Mohan Boddu - 1.11.0-2 +- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937 + +* Mon Feb 01 2021 Peter Hutterer 1.11.0-1 +- libevdev 1.11.0 + +* Tue Jan 26 2021 Fedora Release Engineering - 1.10.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Mon Jan 11 2021 Peter Hutterer 1.10.1-1 +- libevdev 1.10.1 + +* Mon Oct 26 2020 Peter Hutterer 1.10.0-1 +- libevdev 1.10.0 + +* Tue Oct 20 2020 Peter Hutterer 1.9.902-1 +- libevdev 1.10 rc2 + +* Tue Oct 06 2020 Peter Hutterer 1.9.901-1 +- libevdev 1.10 rc1 + +* Tue Jul 28 2020 Fedora Release Engineering - 1.9.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Thu Jul 16 2020 Peter Hutterer 1.9.1-2 +- libevdev 1.9.1 - this time with sources + +* Thu Jul 16 2020 Peter Hutterer 1.9.1-1 +- libevdev 1.9.1 + +* Thu Jun 04 2020 Peter Hutterer 1.9.0-2 +- Use meson instead of autotools + +* Mon Mar 02 2020 Peter Hutterer 1.9.0-1 +- libevdev 1.9.0 + +* Fri Feb 21 2020 Peter Hutterer 1.8.901-1 +- libevdev 1.9rc1 + +* Wed Jan 29 2020 Fedora Release Engineering - 1.8.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Mon Aug 26 2019 Peter Hutterer 1.8.0-1 +- libevdev 1.8.0 + +* Thu Jul 25 2019 Fedora Release Engineering - 1.7.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Wed Jun 05 2019 Peter Hutterer 1.7.0-1 +- libevdev 1.7.0 + +* Fri May 24 2019 Peter Hutterer 1.6.901-1 +- libevdev 1.7rc1 + +* Fri Feb 01 2019 Fedora Release Engineering - 1.6.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild -* Fri Nov 15 2019 Peter Hutterer 1.8.0-1 -- libevdev 1.8.0 (#1728790) +* Fri Oct 26 2018 Peter Hutterer 1.6.0-1 +- libevdev 1.6.0 -* Wed Oct 10 2018 Peter Hutterer 1.5.9-5 -- Drop custom linker/compiler flags (#1630579) +* Fri Jul 13 2018 Peter Hutterer 1.5.9-5 +- Add gcc as explicit BR. Pulled in by libtool atm but let's be + explicit anyway * Thu Jul 12 2018 Peter Hutterer 1.5.9-4 - Replace all python3 calls with the rpm macro