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