pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Import input-headers
Module Name: pkgsrc-wip
Committed By: kikadf <kikadf.01%gmail.com@localhost>
Pushed By: kikadf
Date: Tue Sep 9 16:52:29 2025 +0200
Changeset: b243c48df940609a52ebfc8ab3b5443125ccbb69
Added Files:
input-headers/DESCR
input-headers/Makefile
input-headers/PLIST
input-headers/buildlink3.mk
input-headers/distinfo
input-headers/patches/patch-include_linux_input-event-codes.h
input-headers/patches/patch-include_linux_input.h
Log Message:
Import input-headers
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=b243c48df940609a52ebfc8ab3b5443125ccbb69
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
input-headers/DESCR | 3 +++
input-headers/Makefile | 27 ++++++++++++++++++++++
input-headers/PLIST | 7 ++++++
input-headers/buildlink3.mk | 14 +++++++++++
input-headers/distinfo | 11 +++++++++
.../patch-include_linux_input-event-codes.h | 15 ++++++++++++
input-headers/patches/patch-include_linux_input.h | 15 ++++++++++++
7 files changed, 92 insertions(+)
diffs:
diff --git a/input-headers/DESCR b/input-headers/DESCR
new file mode 100644
index 0000000000..cd119f7a00
--- /dev/null
+++ b/input-headers/DESCR
@@ -0,0 +1,3 @@
+The input header files from libopeninput to avoid
+circular dependency between libevdev-chunk and
+libopeninput.
diff --git a/input-headers/Makefile b/input-headers/Makefile
new file mode 100644
index 0000000000..554d37efde
--- /dev/null
+++ b/input-headers/Makefile
@@ -0,0 +1,27 @@
+# $NetBSD$
+
+DISTNAME= input-headers-1.26.2
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_GITHUB:=sizeofvoid/}
+GITHUB_PROJECT= libopeninput
+GITHUB_TAG= cf9699e76e41bf1b824c3820d06d36a2b0fbb8c1
+
+MAINTAINER= kikadf.01%gmail.com@localhost
+HOMEPAGE= https://github.com/sizeofvoid/libopeninput/tree/build-on-openbsd/
+COMMENT= Input headers from libopeninpu
+LICENSE= mit
+
+USE_TOOLS+= pax
+WRKSRC= ${WRKDIR}/libopeninput-${GITHUB_TAG}
+
+INSTALLATION_DIRS+= include/linux
+
+do-configure:
+
+do-build:
+
+do-install:
+ cd ${WRKSRC}/include/linux && \
+ ${FIND} . -type f -name "*.h" -print | pax -rw -pmp ${DESTDIR}${PREFIX}/include/linux
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/input-headers/PLIST b/input-headers/PLIST
new file mode 100644
index 0000000000..c66349715c
--- /dev/null
+++ b/input-headers/PLIST
@@ -0,0 +1,7 @@
+@comment $NetBSD$
+include/linux/freebsd/input-event-codes.h
+include/linux/freebsd/input.h
+include/linux/input-event-codes.h
+include/linux/input.h
+include/linux/linux/input-event-codes.h
+include/linux/linux/input.h
diff --git a/input-headers/buildlink3.mk b/input-headers/buildlink3.mk
new file mode 100644
index 0000000000..bfc21ed739
--- /dev/null
+++ b/input-headers/buildlink3.mk
@@ -0,0 +1,14 @@
+# $NetBSD$
+
+BUILDLINK_TREE+= input-headers
+
+.if !defined(INPUT_HEADERS_BUILDLINK3_MK)
+INPUT_HEADERS_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.input-headers+= input-headers>=1.26.2
+BUILDLINK_ABI_DEPENDS.input-headers+= input-headers>=1.26.2
+BUILDLINK_PKGSRCDIR.input-headers?= ../../wip/input-headers
+
+.endif # INPUT_HEADERS_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -input-headers
diff --git a/input-headers/distinfo b/input-headers/distinfo
new file mode 100644
index 0000000000..3d5e3a35ce
--- /dev/null
+++ b/input-headers/distinfo
@@ -0,0 +1,11 @@
+$NetBSD$
+
+BLAKE2s (input-headers-1.26.2-cf9699e76e41bf1b824c3820d06d36a2b0fbb8c1.tar.gz) = 1f6036108dd3f9d1179b7db3332d31221c37be2d38dd311ca1ba0478c4f2f29d
+SHA512 (input-headers-1.26.2-cf9699e76e41bf1b824c3820d06d36a2b0fbb8c1.tar.gz) = 197402a36b9536823fd8c47ce328187503cfc45a6a850b823aedb28e0fae57d1f85952c35c5c6de59c7084c28f2a6a601385b55c1192c52b859736b54a331ed3
+Size (input-headers-1.26.2-cf9699e76e41bf1b824c3820d06d36a2b0fbb8c1.tar.gz) = 1057791 bytes
+SHA1 (patch-include_linux_input-event-codes.h) = 57a4efc3892638eeb7d15a7a03c686d4e602f938
+SHA1 (patch-include_linux_input.h) = 70b682671da5947e10411ebf5a0ffcd9b638e15a
+SHA1 (patch-meson.build) = 101c209a4009dcc4526c92c94abe3add4cc75838
+SHA1 (patch-src_libinput-private.h) = 5cd7e90b189d8e774e4d468261a0d1fdd3c6a831
+SHA1 (patch-src_libinput-util.h) = 26270e454c77a7299dafc441a5ffefee7aa6e57c
+SHA1 (patch-src_util-strings.h) = 569b41c73aa0ed03167c863bbe6c24889476bc6a
diff --git a/input-headers/patches/patch-include_linux_input-event-codes.h b/input-headers/patches/patch-include_linux_input-event-codes.h
new file mode 100644
index 0000000000..944399fc89
--- /dev/null
+++ b/input-headers/patches/patch-include_linux_input-event-codes.h
@@ -0,0 +1,15 @@
+$NetBSD$
+
+* Add NetBSD support
+
+--- include/linux/input-event-codes.h.orig 2025-08-17 15:49:37.000000000 +0000
++++ include/linux/input-event-codes.h
+@@ -1,7 +1,5 @@
+ #ifdef __linux__
+ #include "linux/input-event-codes.h"
+-#elif __OpenBSD__
+-#include "freebsd/input-event-codes.h"
+-#elif __FreeBSD__
++#elif defined(__OpenBSD__) || defined(__NetBSD__) || defined(__FreeBSD__)
+ #include "freebsd/input-event-codes.h"
+ #endif
diff --git a/input-headers/patches/patch-include_linux_input.h b/input-headers/patches/patch-include_linux_input.h
new file mode 100644
index 0000000000..d47be18096
--- /dev/null
+++ b/input-headers/patches/patch-include_linux_input.h
@@ -0,0 +1,15 @@
+$NetBSD$
+
+* Add NetBSD support
+
+--- include/linux/input.h.orig 2025-08-17 15:49:37.000000000 +0000
++++ include/linux/input.h
+@@ -1,7 +1,5 @@
+ #ifdef __linux__
+ #include "linux/input.h"
+-#elif __OpenBSD__
+-#include "freebsd/input.h"
+-#elif __FreeBSD__
++#elif defined(__OpenBSD__) || defined(__NetBSD__) || defined(__FreeBSD__)
+ #include "freebsd/input.h"
+ #endif
Home |
Main Index |
Thread Index |
Old Index