import libevdev-1.8.0-1.el8
This commit is contained in:
parent
b8d3e25003
commit
d9b8ea57ee
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
||||
SOURCES/libevdev-1.5.9.tar.xz
|
||||
SOURCES/libevdev-1.8.0.tar.xz
|
||||
|
@ -1 +1 @@
|
||||
9457e33af5c1e66e29c1385a5550fe60aef8e42e SOURCES/libevdev-1.5.9.tar.xz
|
||||
4392d28fb91a5f6eb404aab531526f5fa0bbe73d SOURCES/libevdev-1.8.0.tar.xz
|
||||
|
@ -1,19 +1,24 @@
|
||||
From bf9a0112249ae64ad9c432d63dc6bd0e6ab16cb0 Mon Sep 17 00:00:00 2001
|
||||
From 89020f74a8309c41b1211f45e05d5ec619004eb7 Mon Sep 17 00:00:00 2001
|
||||
From: Peter Hutterer <peter.hutterer@who-t.net>
|
||||
Date: Wed, 10 Oct 2018 20:06:34 +1000
|
||||
Subject: [PATCH libevdev] Drop custom linker/compiler flags
|
||||
Date: Fri, 15 Nov 2019 15:22:38 +1000
|
||||
Subject: [PATCH libevdev] configure.ac: drop the custom linker and compiler
|
||||
flags
|
||||
|
||||
Let those be defined by the build environment
|
||||
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 | 29 -----------------------------
|
||||
libevdev/Makefile.am | 4 ++--
|
||||
tools/Makefile.am | 2 +-
|
||||
3 files changed, 3 insertions(+), 32 deletions(-)
|
||||
configure.ac | 19 +------------------
|
||||
libevdev/Makefile.am | 2 +-
|
||||
2 files changed, 2 insertions(+), 19 deletions(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 3fe8746..7dc00cd 100644
|
||||
index b284acb..0d2eb9f 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -56,16 +56,6 @@ LT_PREREQ([2.2])
|
||||
@ -33,18 +38,10 @@ index 3fe8746..7dc00cd 100644
|
||||
AC_CHECK_LIB([m], [round])
|
||||
|
||||
PKG_PROG_PKG_CONFIG()
|
||||
@@ -84,25 +74,6 @@ AC_ARG_ENABLE([test-run],
|
||||
[run_tests="$enableval"], [run_tests="yes"])
|
||||
AM_CONDITIONAL(RUN_TESTS, [test "x$run_tests" = "xyes"])
|
||||
|
||||
-with_cflags=""
|
||||
-if test "x$GCC" = "xyes"; then
|
||||
- CC_CHECK_FLAGS_APPEND([with_cflags], [CFLAGS], [\
|
||||
- -Wall \
|
||||
- -Wextra \
|
||||
- -Wno-unused-parameter \
|
||||
- -Wstrict-prototypes \
|
||||
- -Wmissing-prototypes \
|
||||
@@ -87,14 +77,7 @@ if test "x$GCC" = "xyes"; then
|
||||
-Wno-unused-parameter \
|
||||
-Wstrict-prototypes \
|
||||
-Wmissing-prototypes \
|
||||
- -fvisibility=hidden \
|
||||
- -pipe \
|
||||
- -fno-strict-aliasing \
|
||||
@ -53,24 +50,14 @@ index 3fe8746..7dc00cd 100644
|
||||
- -fno-strict-aliasing \
|
||||
- -fdiagnostics-show-option \
|
||||
- -fno-common])
|
||||
-fi
|
||||
-AC_SUBST([GCC_CFLAGS], $with_cflags)
|
||||
-
|
||||
AC_PATH_PROG(DOXYGEN, [doxygen])
|
||||
if test "x$DOXYGEN" = "x"; then
|
||||
AC_MSG_WARN([doxygen not found - required for documentation])
|
||||
+ -fvisibility=hidden ])
|
||||
fi
|
||||
AC_SUBST([GCC_CFLAGS], $with_cflags)
|
||||
|
||||
diff --git a/libevdev/Makefile.am b/libevdev/Makefile.am
|
||||
index fcb434d..99367a5 100644
|
||||
index f2757de..f6bee97 100644
|
||||
--- a/libevdev/Makefile.am
|
||||
+++ b/libevdev/Makefile.am
|
||||
@@ -1,6 +1,6 @@
|
||||
lib_LTLIBRARIES=libevdev.la
|
||||
|
||||
-AM_CPPFLAGS = $(GCC_CFLAGS) $(GCOV_CFLAGS) -I$(top_srcdir)/include -I$(top_srcdir)
|
||||
+AM_CPPFLAGS = $(GCOV_CFLAGS) -I$(top_srcdir)/include -I$(top_srcdir)
|
||||
AM_LDFLAGS = $(GCOV_LDFLAGS)
|
||||
|
||||
libevdev_la_SOURCES = \
|
||||
@@ -20,7 +20,7 @@ libevdev_la_LDFLAGS = \
|
||||
$(AM_LDFLAGS) \
|
||||
-version-info $(LIBEVDEV_LT_VERSION) \
|
||||
@ -80,19 +67,6 @@ index fcb434d..99367a5 100644
|
||||
|
||||
EXTRA_libevdev_la_DEPENDENCIES = $(srcdir)/libevdev.sym
|
||||
|
||||
diff --git a/tools/Makefile.am b/tools/Makefile.am
|
||||
index d699c5c..13fe286 100644
|
||||
--- a/tools/Makefile.am
|
||||
+++ b/tools/Makefile.am
|
||||
@@ -4,7 +4,7 @@ bin_PROGRAMS = \
|
||||
mouse-dpi-tool \
|
||||
libevdev-tweak-device
|
||||
|
||||
-AM_CPPFLAGS = $(GCC_CFLAGS) -I$(top_srcdir) -I$(top_srcdir)/include -I$(top_srcdir)/libevdev
|
||||
+AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include -I$(top_srcdir)/libevdev
|
||||
libevdev_ldadd = $(top_builddir)/libevdev/libevdev.la
|
||||
|
||||
libevdev_events_SOURCES = libevdev-events.c
|
||||
--
|
||||
2.19.1
|
||||
2.23.0
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
Name: libevdev
|
||||
Version: 1.5.9
|
||||
Release: 5%{?dist}
|
||||
Version: 1.8.0
|
||||
Release: 1%{?dist}
|
||||
Summary: Kernel Evdev Device Wrapper Library
|
||||
|
||||
Group: System Environment/Libraries
|
||||
@ -69,6 +69,9 @@ rm -f %{buildroot}%{_libdir}/*.la
|
||||
%{_bindir}/libevdev-tweak-device
|
||||
|
||||
%changelog
|
||||
* Fri Nov 15 2019 Peter Hutterer <peter.hutterer@redhat.com> 1.8.0-1
|
||||
- libevdev 1.8.0 (#1728790)
|
||||
|
||||
* Wed Oct 10 2018 Peter Hutterer <peter.hutterer@redhat.com> 1.5.9-5
|
||||
- Drop custom linker/compiler flags (#1630579)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user