Compare commits

...

No commits in common. 'c8' and 'c9' have entirely different histories.
c8 ... c9

2
.gitignore vendored

@ -1 +1 @@
SOURCES/libevdev-1.10.0.tar.xz SOURCES/libevdev-1.11.0.tar.xz

@ -1 +1 @@
3eedd43652a238f687595ffd722fd3bb94359216 SOURCES/libevdev-1.10.0.tar.xz a2358a22365f9537f4ed1571efe134b5a22979f7 SOURCES/libevdev-1.11.0.tar.xz

@ -1,72 +0,0 @@
From 1e6fbc0bd54a15849b89e3fb66825e6e504d041c Mon Sep 17 00:00:00 2001
From: Peter Hutterer <peter.hutterer@who-t.net>
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 <peter.hutterer@who-t.net>
---
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

@ -1,17 +1,14 @@
Name: libevdev Name: libevdev
Version: 1.10.0 Version: 1.11.0
Release: 1%{?dist} Release: 3%{?dist}
Summary: Kernel Evdev Device Wrapper Library Summary: Kernel Evdev Device Wrapper Library
Group: System Environment/Libraries
License: MIT License: MIT
URL: http://www.freedesktop.org/wiki/Software/libevdev URL: http://www.freedesktop.org/wiki/Software/libevdev
Source0: http://www.freedesktop.org/software/%{name}/%{name}-%{version}.tar.xz Source0: http://www.freedesktop.org/software/%{name}/%{name}-%{version}.tar.xz
Patch01: 0001-Drop-custom-linker-compiler-flags.patch
BuildRequires: git-core BuildRequires: git-core
BuildRequires: automake libtool BuildRequires: meson gcc
BuildRequires: python3 python3-devel BuildRequires: python3 python3-devel
%description %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.*') pathfix.py -i %{__python3} -p -n $(git grep -l '#!/usr/bin/.*python.*')
%build %build
autoreconf --force -v --install || exit 1 %meson -Dtests=disabled -Ddocumentation=disabled -Dcoverity=false
%configure --disable-static --disable-silent-rules --disable-gcov %meson_build
make %{?_smp_mflags}
%install %install
make install DESTDIR=%{buildroot} %meson_install
# We intentionally don't ship *.la files
rm -f %{buildroot}%{_libdir}/*.la
%ldconfig_scriptlets %ldconfig_scriptlets
@ -67,18 +60,77 @@ rm -f %{buildroot}%{_libdir}/*.la
%{_bindir}/touchpad-edge-detector %{_bindir}/touchpad-edge-detector
%{_bindir}/mouse-dpi-tool %{_bindir}/mouse-dpi-tool
%{_bindir}/libevdev-tweak-device %{_bindir}/libevdev-tweak-device
%{_mandir}/man1/touchpad-edge-detector.1*
%{_mandir}/man1/libevdev-tweak-device.1* %{_mandir}/man1/libevdev-tweak-device.1*
%{_mandir}/man1/touchpad-edge-detector.1*
%changelog %changelog
* Mon May 24 2021 Peter Hutterer <peter.hutterer@redhat.com> 1.10.0-1 * Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.11.0-3
- libevdev 1.10.0 (#1963767) - Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.11.0-2
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Mon Feb 01 2021 Peter Hutterer <peter.hutterer@redhat.com> 1.11.0-1
- libevdev 1.11.0
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Mon Jan 11 2021 Peter Hutterer <peter.hutterer@redhat.com> 1.10.1-1
- libevdev 1.10.1
* Mon Oct 26 2020 Peter Hutterer <peter.hutterer@redhat.com> 1.10.0-1
- libevdev 1.10.0
* Tue Oct 20 2020 Peter Hutterer <peter.hutterer@redhat.com> 1.9.902-1
- libevdev 1.10 rc2
* Tue Oct 06 2020 Peter Hutterer <peter.hutterer@redhat.com> 1.9.901-1
- libevdev 1.10 rc1
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Thu Jul 16 2020 Peter Hutterer <peter.hutterer@redhat.com> 1.9.1-2
- libevdev 1.9.1 - this time with sources
* Thu Jul 16 2020 Peter Hutterer <peter.hutterer@redhat.com> 1.9.1-1
- libevdev 1.9.1
* Thu Jun 04 2020 Peter Hutterer <peter.hutterer@redhat.com> 1.9.0-2
- Use meson instead of autotools
* Mon Mar 02 2020 Peter Hutterer <peter.hutterer@redhat.com> 1.9.0-1
- libevdev 1.9.0
* Fri Feb 21 2020 Peter Hutterer <peter.hutterer@redhat.com> 1.8.901-1
- libevdev 1.9rc1
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Mon Aug 26 2019 Peter Hutterer <peter.hutterer@redhat.com> 1.8.0-1
- libevdev 1.8.0
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Wed Jun 05 2019 Peter Hutterer <peter.hutterer@redhat.com> 1.7.0-1
- libevdev 1.7.0
* Fri May 24 2019 Peter Hutterer <peter.hutterer@redhat.com> 1.6.901-1
- libevdev 1.7rc1
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Fri Nov 15 2019 Peter Hutterer <peter.hutterer@redhat.com> 1.8.0-1 * Fri Oct 26 2018 Peter Hutterer <peter.hutterer@redhat.com> 1.6.0-1
- libevdev 1.8.0 (#1728790) - libevdev 1.6.0
* Wed Oct 10 2018 Peter Hutterer <peter.hutterer@redhat.com> 1.5.9-5 * Fri Jul 13 2018 Peter Hutterer <peter.hutterer@redhat.com> 1.5.9-5
- Drop custom linker/compiler flags (#1630579) - Add gcc as explicit BR. Pulled in by libtool atm but let's be
explicit anyway
* Thu Jul 12 2018 Peter Hutterer <peter.hutterer@redhat.com> 1.5.9-4 * Thu Jul 12 2018 Peter Hutterer <peter.hutterer@redhat.com> 1.5.9-4
- Replace all python3 calls with the rpm macro - Replace all python3 calls with the rpm macro

Loading…
Cancel
Save