Skip to content

Commit 1d41ac7

Browse files
Update libsuinput to '16a1b61d7574751de8cf27893ca3bd71137404b5'
2 parents cf7c956 + 16a1b61 commit 1d41ac7

8 files changed

Lines changed: 58 additions & 24 deletions

File tree

libsuinput/AUTHORS

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Eric Mikula <e.e.mikula@gmail.com>
2+
Esa-Matti Suuronen <esa-matti@suuronen.org>
3+
Pascal Garber <jumplink@gmail.com>
4+
Tuomas Räsänen <tuomasjjrasanen@tjjr.fi>
5+
Vincent Bernat <bernat@luffy.cx>

libsuinput/NEWS

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,14 @@
22
Libsuinput NEWS -- history of user-visible changes
33
====================================================
44

5-
Release x.y
6-
===========
5+
Release 0.6.1
6+
=============
7+
8+
- Compilation improvements (thanks to Eric Mikula and Vincent Bernat)
9+
- Give credit to all AUTHORS
10+
11+
Release 0.6.0
12+
=============
713

814
- API changes:
915

@@ -19,8 +25,8 @@ Release 0.5
1925

2026
- Use GNU Autotools as a build system.
2127

22-
- API change: `suinput_set_capapbilites()` is replaced by
23-
`suinput_enable_event()`.
28+
- API change: `suinput_set_capabilites()` is replaced by
29+
`suinput_enable_event()`.
2430

2531
- API change: `suinput_write()` renamed to `suinput_emit()`.
2632

libsuinput/README

Lines changed: 11 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -25,26 +25,21 @@ It installs the library to /usr/local/lib and header files to
2525
How to report bugs
2626
==================
2727

28-
The bug database is hosted in Launchpad. If you have found a bug or
29-
have an improvement idea you want to share, please report it at
30-
<https://bugs.launchpad.net/libsuinput>. However, to avoid duplicate
31-
bug reports, before reporting, please check if similiar or identical
32-
bug has already been reported. If the description of the existing bug
33-
report If so, you can still subscribe to the existing bug to track its
34-
progress.
35-
36-
If you are unsure whether the problem you have is due to a bug, you
37-
can ask questions at <https://answers.launchpad.net/libsuinput>.
28+
The bug database is hosted in GitHub. If you have found a bug or have an
29+
improvement idea you want to share, please report it at
30+
<https://github.com/tuomasjjrasanen/libsuinput/issues>. However, to avoid
31+
duplicate bug reports, before reporting, please check if similiar or identical
32+
bug has already been reported. If so, you can still subscribe to the existing
33+
bug to track its progress.
3834

3935
How to contribute
4036
=================
4137

42-
In addition to reporting bugs and improvement suggestions, you are
43-
encouraged to contribute bug-fixes or features. Source code is
44-
maintained in Git VCS. The main repository is hosted in GitHub,
45-
<https://github.com/tuomasjjrasanen/libsuinput/> and mirrored in
46-
Launchpad as a Bazaar repository. The preferred way to contibute code
47-
is to clone the main Git repository and send a pull-request. Good old
38+
In addition to reporting bugs and improvement suggestions, you are encouraged to
39+
contribute bug-fixes or features. Source code is maintained in Git and the main
40+
repository is hosted at GitHub,
41+
<https://github.com/tuomasjjrasanen/libsuinput/>. The preferred way to contibute
42+
code is to clone the main Git repository and send a pull-request. Good old
4843
patches via email are also accepted.
4944

5045
How to copy

libsuinput/autogen.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/sh
2+
3+
autoreconf --install --force --symlink

libsuinput/configure.ac

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
AC_INIT([libsuinput],
2-
[0.5],
3-
[https://bugs.launchpad.net/libsuinput/],
2+
[0.6.1],
3+
[https://github.com/tuomasjjrasanen/libsuinput/issues],
44
[libsuinput],
55
[http://tjjr.fi/sw/libsuinput/])
66
AC_CONFIG_AUX_DIR([build-aux])
@@ -12,5 +12,6 @@ AC_CONFIG_MACRO_DIR([m4])
1212
AC_CONFIG_FILES([
1313
Makefile
1414
src/Makefile
15+
src/libsuinput.pc
1516
])
1617
AC_OUTPUT

libsuinput/src/Makefile.am

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
AM_CPPFLAGS = -Wall -Werror -Wextra -pedantic -std=gnu99
22
lib_LTLIBRARIES = libsuinput.la
33
libsuinput_la_SOURCES = suinput.c
4-
libsuinput_la_LDFLAGS = -l:libudev.so.0 -version-info 5:0:1
5-
include_HEADERS = suinput.h libudev.h
4+
libsuinput_la_LDFLAGS = -l:libudev.so -version-info 5:0:1
5+
include_HEADERS = suinput.h
6+
noinst_HEADERS = libudev.h
7+
pkgconfigdir = $(libdir)/pkgconfig
8+
pkgconfig_DATA = libsuinput.pc

libsuinput/src/libsuinput.pc.in

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
prefix=@prefix@
2+
exec_prefix=@exec_prefix@
3+
libdir=@libdir@
4+
includedir=@includedir@
5+
6+
Name: @PACKAGE_NAME@
7+
Description: Thin userspace library on top of Linux uinput kernel module
8+
Version: @VERSION@
9+
URL: @PACKAGE_URL@
10+
Libs: -L${libdir} -lsuinput
11+
Cflags: -I${includedir}

libsuinput/src/suinput.h

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@
2323

2424
#include <linux/uinput.h>
2525

26+
#ifdef __cplusplus
27+
extern "C" {
28+
#endif
29+
30+
2631
int suinput_open(void);
2732

2833
int suinput_enable_event(int uinput_fd, uint16_t ev_type, uint16_t ev_code);
@@ -42,4 +47,9 @@ int suinput_syn(int uinput_fd);
4247

4348
int suinput_destroy(int uinput_fd);
4449

50+
#ifdef __cplusplus
51+
}
52+
#endif
53+
54+
4555
#endif /* SUINPUT_H */

0 commit comments

Comments
 (0)