Ravenports generated: 12 Mar 2023 00:28
[ravenports.git] / bucket_6C / xorg-driver-input-synaptics
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               xorg-driver-input-synaptics
4 VERSION=                1.9.2
5 KEYWORDS=               x11_drivers
6 VARIANTS=               standard
7 SDESC[standard]=        X.org input driver for Synaptics touchpad devices
8 HOMEPAGE=               https://www.x.org/
9 CONTACT=                nobody
10
11 DOWNLOAD_GROUPS=        main
12 SITES[main]=            XORG/individual/driver
13 DISTFILE[1]=            xf86-input-synaptics-1.9.2.tar.xz:main
14 DF_INDEX=               1
15 SPKGS[standard]=        single
16
17 OPTIONS_AVAILABLE=      none
18 OPTIONS_STANDARD=       none
19
20 NOT_FOR_OPSYS=          netbsd
21
22 BUILD_DEPENDS=          xorg-server:dev:standard
23 BUILDRUN_DEPENDS=       xorg-server:primary:standard
24
25 USES=                   libtool
26 XORG_COMPONENTS=        xorgproto xtst
27
28 DISTNAME=               xf86-input-synaptics-1.9.2
29
30 LICENSE=                MIT:single
31 LICENSE_FILE=           MIT:{{WRKSRC}}/COPYING
32 LICENSE_SCHEME=         solo
33
34 FPC_EQUIVALENT=         x11-drivers/xf86-input-synaptics
35
36 MUST_CONFIGURE=         gnu
37 CONFIGURE_ENV=          DRIVER_MAN_SUFFIX=4
38
39 INSTALL_TARGET=         install-strip
40
41 post-patch:
42         # disable evdev requirement on linux for now
43         ${REINPLACE_CMD} -e '/BUILD_EVENTCOMM="yes"/d' ${WRKSRC}/configure
44
45 [FILE:61:descriptions/desc.single]
46 This package contains the X.Org xf86-input-synaptics driver.
47
48
49 [FILE:112:distinfo]
50 b8fa4aab913fc63754bbd6439e020658c412743a055201ddf212760593962c38       432380 xf86-input-synaptics-1.9.2.tar.xz
51
52
53 [FILE:253:manifests/plist.single]
54 bin/
55  synclient
56  syndaemon
57 include/xorg/synaptics-properties.h
58 lib/pkgconfig/xorg-synaptics.pc
59 lib/xorg/modules/input/synaptics_drv.so
60 share/X11/xorg.conf.d/70-synaptics.conf
61 share/man/man1/
62  synclient.1.gz
63  syndaemon.1.gz
64 share/man/man4/synaptics.4.gz
65
66
67 [FILE:517:patches/patch-src_eventcomm.c]
68 --- src/eventcomm.c.orig        2022-07-10 23:40:13 UTC
69 +++ src/eventcomm.c
70 @@ -421,10 +421,15 @@ event_get_abs(struct libevdev *evdev, in
71      /* We don't trust a zero fuzz as it probably is just a lazy value */
72      if (fuzz && abs->fuzz > 0)
73          *fuzz = abs->fuzz;
74 +#ifdef __linux__
75  #if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,30)
76      if (res)
77          *res = abs->resolution;
78  #endif
79 +#elif defined(__FreeBSD__) || defined(__DragonFly__)
80 +    if (res)
81 +        *res = abs->resolution;
82 +#endif
83  
84      return 0;
85  }
86
87
88 [FILE:341:patches/patch-src_eventcomm.h]
89 --- src/eventcomm.h.orig        2022-07-10 23:40:13 UTC
90 +++ src/eventcomm.h
91 @@ -30,7 +30,15 @@
92  #include <xorg-server.h>
93  
94  #include <linux/input.h>
95 +#ifdef __linux__
96  #include <linux/version.h>
97 +#else
98 +#undef BUS_NONE
99 +#undef BUS_PCI
100 +#undef BUS_SBUS
101 +#undef BUS_PLATFORM
102 +#undef BUS_last
103 +#endif
104  #include <xf86Xinput.h>
105  #include "synproto.h"
106  
107