pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/sysutils



Module Name:    pkgsrc
Committed By:   nikita
Date:           Wed May 10 17:39:09 UTC 2023

Modified Files:
        pkgsrc/sysutils: Makefile
Added Files:
        pkgsrc/sysutils/libudev: DESCR Makefile Makefile.common PLIST
            buildlink3.mk builtin.mk distinfo

Log Message:
libudev: import as sysutils/libudev version 243

packaged in wip by Denys Nykula and tnn@

Device enumeration includes known properties which devices don't report.
Evdev min, max, res, fuzz and flat by axis. Key mapping, hard-coded
layouts, modifier LEDs. Accelerometer mount-matrix and location. Mouse
DPI. Pointingstick sensitivity. Without the rest of systemd.


To generate a diff of this commit:
cvs rdiff -u -r1.1044 -r1.1045 pkgsrc/sysutils/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/sysutils/libudev/DESCR \
    pkgsrc/sysutils/libudev/Makefile pkgsrc/sysutils/libudev/Makefile.common \
    pkgsrc/sysutils/libudev/PLIST pkgsrc/sysutils/libudev/buildlink3.mk \
    pkgsrc/sysutils/libudev/builtin.mk pkgsrc/sysutils/libudev/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/sysutils/Makefile
diff -u pkgsrc/sysutils/Makefile:1.1044 pkgsrc/sysutils/Makefile:1.1045
--- pkgsrc/sysutils/Makefile:1.1044     Thu May  4 13:47:32 2023
+++ pkgsrc/sysutils/Makefile    Wed May 10 17:39:08 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1044 2023/05/04 13:47:32 bouyer Exp $
+# $NetBSD: Makefile,v 1.1045 2023/05/10 17:39:08 nikita Exp $
 #
 
 COMMENT=       System utilities
@@ -413,6 +413,7 @@ SUBDIR+=    liboobs
 SUBDIR+=       libpciaccess
 SUBDIR+=       libtpms
 SUBDIR+=       libtree
+SUBDIR+=       libudev
 SUBDIR+=       libvirt
 SUBDIR+=       lilo
 SUBDIR+=       lnav

Added files:

Index: pkgsrc/sysutils/libudev/DESCR
diff -u /dev/null pkgsrc/sysutils/libudev/DESCR:1.1
--- /dev/null   Wed May 10 17:39:09 2023
+++ pkgsrc/sysutils/libudev/DESCR       Wed May 10 17:39:09 2023
@@ -0,0 +1,4 @@
+Device enumeration includes known properties which devices don't report.
+Evdev min, max, res, fuzz and flat by axis. Key mapping, hard-coded
+layouts, modifier LEDs. Accelerometer mount-matrix and location. Mouse
+DPI. Pointingstick sensitivity. Without the rest of systemd.
Index: pkgsrc/sysutils/libudev/Makefile
diff -u /dev/null pkgsrc/sysutils/libudev/Makefile:1.1
--- /dev/null   Wed May 10 17:39:09 2023
+++ pkgsrc/sysutils/libudev/Makefile    Wed May 10 17:39:09 2023
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1 2023/05/10 17:39:09 nikita Exp $
+
+COMMENT=               Device enumeration and database of constants
+CONFIGURE_ARGS+=       --disable-programs
+
+SUBST_CLASSES+=                nogperf
+SUBST_STAGE.nogperf=   pre-configure
+SUBST_FILES.nogperf=   configure.ac
+SUBST_SED.nogperf=     -e 's,ERROR\(.*gperf\),WARN\1,'
+
+pre-configure:
+       cd ${WRKSRC} &&autoreconf -fiv
+
+.include "../../sysutils/libudev/Makefile.common"
+
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/sysutils/libudev/Makefile.common
diff -u /dev/null pkgsrc/sysutils/libudev/Makefile.common:1.1
--- /dev/null   Wed May 10 17:39:09 2023
+++ pkgsrc/sysutils/libudev/Makefile.common     Wed May 10 17:39:09 2023
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile.common,v 1.1 2023/05/10 17:39:09 nikita Exp $
+
+DISTNAME=      libudev-243
+CATEGORIES=    sysutils
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=gentoo/}
+GITHUB_PROJECT=        eudev
+GITHUB_TAG=    v3.2.9 # udev version 243 according to configure.ac
+DISTINFO_FILE= ${.CURDIR}/../../sysutils/libudev/distinfo
+
+MAINTAINER=    nykula%ukr.net@localhost
+HOMEPAGE=      https://wiki.gentoo.org/wiki/Project:Eudev
+LICENSE=       gnu-gpl-v2
+
+BUILD_DEFS+=           VARBASE
+
+ONLY_FOR_PLATFORM=     Linux-*-*
+USE_TOOLS+=            autoconf automake gmake pkg-config
+USE_LIBTOOL=           yes
+GNU_CONFIGURE=         yes
+CONFIGURE_ARGS+=       --with-rootrundir=${VARBASE}/run
Index: pkgsrc/sysutils/libudev/PLIST
diff -u /dev/null pkgsrc/sysutils/libudev/PLIST:1.1
--- /dev/null   Wed May 10 17:39:09 2023
+++ pkgsrc/sysutils/libudev/PLIST       Wed May 10 17:39:09 2023
@@ -0,0 +1,21 @@
+@comment $NetBSD: PLIST,v 1.1 2023/05/10 17:39:09 nikita Exp $
+etc/udev/hwdb.d/20-OUI.hwdb
+etc/udev/hwdb.d/20-acpi-vendor.hwdb
+etc/udev/hwdb.d/20-bluetooth-vendor-product.hwdb
+etc/udev/hwdb.d/20-net-ifname.hwdb
+etc/udev/hwdb.d/20-pci-classes.hwdb
+etc/udev/hwdb.d/20-pci-vendor-model.hwdb
+etc/udev/hwdb.d/20-sdio-classes.hwdb
+etc/udev/hwdb.d/20-sdio-vendor-model.hwdb
+etc/udev/hwdb.d/20-usb-classes.hwdb
+etc/udev/hwdb.d/20-usb-vendor-model.hwdb
+etc/udev/hwdb.d/20-vmbus-class.hwdb
+etc/udev/hwdb.d/60-evdev.hwdb
+etc/udev/hwdb.d/60-keyboard.hwdb
+etc/udev/hwdb.d/60-sensor.hwdb
+etc/udev/hwdb.d/70-mouse.hwdb
+etc/udev/hwdb.d/70-pointingstick.hwdb
+etc/udev/hwdb.d/70-touchpad.hwdb
+include/libudev.h
+lib/libudev.la
+lib/pkgconfig/libudev.pc
Index: pkgsrc/sysutils/libudev/buildlink3.mk
diff -u /dev/null pkgsrc/sysutils/libudev/buildlink3.mk:1.1
--- /dev/null   Wed May 10 17:39:09 2023
+++ pkgsrc/sysutils/libudev/buildlink3.mk       Wed May 10 17:39:09 2023
@@ -0,0 +1,12 @@
+# $NetBSD: buildlink3.mk,v 1.1 2023/05/10 17:39:09 nikita Exp $
+
+BUILDLINK_TREE+=       libudev
+
+.if !defined(LIBUDEV_BUILDLINK3_MK)
+LIBUDEV_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libudev+=        libudev>=228
+BUILDLINK_PKGSRCDIR.libudev?=  ../../sysutils/libudev
+.endif # LIBUDEV_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -libudev
Index: pkgsrc/sysutils/libudev/builtin.mk
diff -u /dev/null pkgsrc/sysutils/libudev/builtin.mk:1.1
--- /dev/null   Wed May 10 17:39:09 2023
+++ pkgsrc/sysutils/libudev/builtin.mk  Wed May 10 17:39:09 2023
@@ -0,0 +1,39 @@
+# $NetBSD: builtin.mk,v 1.1 2023/05/10 17:39:09 nikita Exp $
+
+BUILTIN_PKG:=  libudev
+
+BUILTIN_FIND_PKGCONFIG_FILES_VAR:=             LIBUDEV_PC
+BUILTIN_FIND_PKGCONFIG_FILES.LIBUDEV_PC=       libudev.pc
+
+.include "../../mk/buildlink3/bsd.builtin.mk"
+
+.if !defined(IS_BUILTIN.libudev)
+IS_BUILTIN.libudev=    no
+.  if empty(LIBUDEV_PC:M__nonexistent__)
+IS_BUILTIN.libudev=    yes
+.  endif
+.endif
+MAKEVARS+=             IS_BUILTIN.libudev
+
+.if !defined(USE_BUILTIN.libudev)
+USE_BUILTIN.libudev=   ${IS_BUILTIN.libudev}
+.endif
+
+.if ${USE_BUILTIN.libudev:tl} == yes
+.  if !empty(USE_TOOLS:C/:.*//:Mpkg-config)
+do-configure-pre-hook: link-libudev-pkgconfig
+
+BLKDIR_PKGCFG=         ${BUILDLINK_DIR}/lib/pkgconfig
+LIBUDEV_PKGCFGF=       ${BUILTIN_FIND_PKGCONFIG_FILES.LIBUDEV_PC}
+
+.PHONY: link-libudev-pkgconfig link-message-libudev-pkgconfig
+link-libudev-pkgconfig: link-message-libudev-pkgconfig
+link-message-libudev-pkgconfig:
+       @${STEP_MSG} "Linking ${LIBUDEV_PC} file into ${BUILDLINK_DIR}."
+
+link-libudev-pkgconfig:
+       ${RUN}                                          \
+       ${MKDIR} ${BLKDIR_PKGCFG};                      \
+       ${LN} -sf ${LIBUDEV_PC} ${BLKDIR_PKGCFG}/${LIBUDEV_PKGCFGF}
+.  endif
+.endif
Index: pkgsrc/sysutils/libudev/distinfo
diff -u /dev/null pkgsrc/sysutils/libudev/distinfo:1.1
--- /dev/null   Wed May 10 17:39:09 2023
+++ pkgsrc/sysutils/libudev/distinfo    Wed May 10 17:39:09 2023
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2023/05/10 17:39:09 nikita Exp $
+
+BLAKE2s (libudev-243.tar.gz) = 20cba7485046b0197a05508b1aa3bf026bab00482b6342dd94ea55bb9f980187
+SHA512 (libudev-243.tar.gz) = 33ee9849875fc381fc1bd9eef9119b96ed4014719ccf96f88c957e2c53ae6c46152bc0623e5efc99579a4063ab25251ed63ffe69441bca3b0074398cffda7747
+Size (libudev-243.tar.gz) = 2014826 bytes



Home | Main Index | Thread Index | Old Index