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