mirror of
https://github.com/X11Libre/xf86-input-libinput.git
synced 2026-04-14 10:54:17 +00:00
Compare commits
5 Commits
submit/uti
...
tracking/x
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ac862672e4 | ||
|
|
c169537717 | ||
|
|
79b62f322a | ||
|
|
6612ab7e97 | ||
|
|
709d0b0a9a |
@@ -4,7 +4,7 @@
|
|||||||
# Please see the ci-templates documentation for details:
|
# Please see the ci-templates documentation for details:
|
||||||
# https://freedesktop.pages.freedesktop.org/ci-templates/
|
# https://freedesktop.pages.freedesktop.org/ci-templates/
|
||||||
|
|
||||||
.templates_sha: &template_sha 84052757dacc5fd65f5ace92b7fe63c60f6c8558 # see https://docs.gitlab.com/ee/ci/yaml/#includefile
|
.templates_sha: &template_sha fb9d50ccb3cbbb4c6dc5f9ef53a0ad3cb0d8a177
|
||||||
|
|
||||||
include:
|
include:
|
||||||
- project: 'freedesktop/ci-templates'
|
- project: 'freedesktop/ci-templates'
|
||||||
@@ -26,10 +26,10 @@ stages:
|
|||||||
|
|
||||||
.fedora:
|
.fedora:
|
||||||
variables:
|
variables:
|
||||||
FDO_DISTRIBUTION_VERSION: 39
|
FDO_DISTRIBUTION_VERSION: 43
|
||||||
FDO_DISTRIBUTION_PACKAGES: 'git autoconf automake libtool make xorg-x11-server-devel libudev-devel libevdev-devel libinput-devel xorg-x11-util-macros diffutils'
|
FDO_DISTRIBUTION_PACKAGES: 'git autoconf automake libtool make xorg-x11-server-devel libudev-devel libevdev-devel libinput-devel xorg-x11-util-macros diffutils'
|
||||||
FDO_DISTRIBUTION_EXEC: 'env FDO_CI_CONCURRENT=${FDO_CI_CONCURRENT} bash .gitlab-ci/fedora-install.sh'
|
FDO_DISTRIBUTION_EXEC: 'env FDO_CI_CONCURRENT=${FDO_CI_CONCURRENT} bash .gitlab-ci/fedora-install.sh'
|
||||||
FDO_DISTRIBUTION_TAG: '2025-04-01.0'
|
FDO_DISTRIBUTION_TAG: '2025-10-24.0'
|
||||||
|
|
||||||
|
|
||||||
fedora@container_build:
|
fedora@container_build:
|
||||||
@@ -81,18 +81,3 @@ check-commits:
|
|||||||
reports:
|
reports:
|
||||||
junit: results.xml
|
junit: results.xml
|
||||||
allow_failure: true
|
allow_failure: true
|
||||||
|
|
||||||
#
|
|
||||||
# Verify that the merge request has the allow-collaboration checkbox ticked
|
|
||||||
#
|
|
||||||
check-merge-request:
|
|
||||||
extends:
|
|
||||||
- .fdo.ci-fairy
|
|
||||||
stage: test
|
|
||||||
script:
|
|
||||||
- ci-fairy check-merge-request --require-allow-collaboration --junit-xml=results.xml
|
|
||||||
artifacts:
|
|
||||||
when: on_failure
|
|
||||||
reports:
|
|
||||||
junit: results.xml
|
|
||||||
allow_failure: true
|
|
||||||
|
|||||||
11
configure.ac
11
configure.ac
@@ -111,6 +111,17 @@ AC_LINK_IFELSE(
|
|||||||
[AC_MSG_RESULT([no])
|
[AC_MSG_RESULT([no])
|
||||||
[libinput_have_clickfinger_button_map=no]])
|
[libinput_have_clickfinger_button_map=no]])
|
||||||
|
|
||||||
|
AC_MSG_CHECKING([if libinput_plugin_system_load is available])
|
||||||
|
AC_LINK_IFELSE(
|
||||||
|
[AC_LANG_PROGRAM([[#include <libinput.h>]],
|
||||||
|
[[libinput_plugin_system_load_plugins(NULL, 0)]])],
|
||||||
|
[AC_MSG_RESULT([yes])
|
||||||
|
AC_DEFINE(HAVE_LIBINPUT_PLUGINS, [1],
|
||||||
|
[libinput_plugin_system_load_plugins() is available])
|
||||||
|
[libinput_have_plugin_system=yes]],
|
||||||
|
[AC_MSG_RESULT([no])
|
||||||
|
[libinput_have_plugin_system=no]])
|
||||||
|
|
||||||
LIBS=$OLD_LIBS
|
LIBS=$OLD_LIBS
|
||||||
CFLAGS=$OLD_CFLAGS
|
CFLAGS=$OLD_CFLAGS
|
||||||
|
|
||||||
|
|||||||
@@ -65,9 +65,13 @@ if cc.has_function('libinput_device_config_click_set_clickfinger_button_map',
|
|||||||
dependencies: dep_libinput)
|
dependencies: dep_libinput)
|
||||||
config_h.set('HAVE_LIBINPUT_CLICKFINGER_BUTTON_MAP', 1)
|
config_h.set('HAVE_LIBINPUT_CLICKFINGER_BUTTON_MAP', 1)
|
||||||
endif
|
endif
|
||||||
if cc.has_header_symbol('libinput.h', 'LIBINPUT_LED_COMPOSE')
|
if cc.has_header_symbol('libinput.h', 'LIBINPUT_LED_COMPOSE',
|
||||||
|
dependencies: dep_libinput)
|
||||||
config_h.set('HAVE_LIBINPUT_COMPOSE_AND_KANA', 1)
|
config_h.set('HAVE_LIBINPUT_COMPOSE_AND_KANA', 1)
|
||||||
endif
|
endif
|
||||||
|
if cc.has_function('libinput_plugin_system_load_plugins', dependencies: dep_libinput)
|
||||||
|
config_h.set('HAVE_LIBINPUT_PLUGINS', 1)
|
||||||
|
endif
|
||||||
|
|
||||||
dir_headers = get_option('sdkdir')
|
dir_headers = get_option('sdkdir')
|
||||||
if dir_headers == ''
|
if dir_headers == ''
|
||||||
@@ -146,6 +150,8 @@ configure_file(
|
|||||||
install_dir: dir_man4
|
install_dir: dir_man4
|
||||||
)
|
)
|
||||||
|
|
||||||
|
install_headers('include/libinput-properties.h', install_dir: dir_headers)
|
||||||
|
|
||||||
install_data('conf/40-libinput.conf', install_dir: dir_xorg_conf)
|
install_data('conf/40-libinput.conf', install_dir: dir_xorg_conf)
|
||||||
|
|
||||||
# Now generate config.h
|
# Now generate config.h
|
||||||
|
|||||||
@@ -3854,6 +3854,10 @@ xf86libinput_init_driver_context(void)
|
|||||||
/* we want all msgs, let the server filter */
|
/* we want all msgs, let the server filter */
|
||||||
libinput_log_set_priority(driver_context.libinput,
|
libinput_log_set_priority(driver_context.libinput,
|
||||||
LIBINPUT_LOG_PRIORITY_DEBUG);
|
LIBINPUT_LOG_PRIORITY_DEBUG);
|
||||||
|
#if HAVE_LIBINPUT_PLUGINS
|
||||||
|
libinput_plugin_system_append_default_paths(driver_context.libinput);
|
||||||
|
libinput_plugin_system_load_plugins(driver_context.libinput, LIBINPUT_PLUGIN_SYSTEM_FLAG_NONE);
|
||||||
|
#endif
|
||||||
} else {
|
} else {
|
||||||
libinput_ref(driver_context.libinput);
|
libinput_ref(driver_context.libinput);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user