Ravenports generated: 05 Aug 2023 22:02
[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:421:patches/patch-configure]
68 --- configure.orig      2023-04-01 16:36:50 UTC
69 +++ configure
70 @@ -19597,7 +19597,7 @@ case "${host}" in
71  printf "%s\n" "ps2comm alpscomm eventcomm" >&6; }
72         BUILD_PS2COMM="yes"
73         ;;
74 -*freebsd* | *netbsd* | *dragonfly*)
75 +*freebsd* | *netbsd* | *dragonfly* | *midnight*)
76         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ps2comm alpscomm psmcomm" >&5
77  printf "%s\n" "ps2comm alpscomm psmcomm" >&6; }
78         BUILD_PS2COMM="yes"
79
80
81 [FILE:517:patches/patch-src_eventcomm.c]
82 --- src/eventcomm.c.orig        2022-07-10 23:40:13 UTC
83 +++ src/eventcomm.c
84 @@ -421,10 +421,15 @@ event_get_abs(struct libevdev *evdev, in
85      /* We don't trust a zero fuzz as it probably is just a lazy value */
86      if (fuzz && abs->fuzz > 0)
87          *fuzz = abs->fuzz;
88 +#ifdef __linux__
89  #if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,30)
90      if (res)
91          *res = abs->resolution;
92  #endif
93 +#elif defined(__FreeBSD__) || defined(__DragonFly__)
94 +    if (res)
95 +        *res = abs->resolution;
96 +#endif
97  
98      return 0;
99  }
100
101
102 [FILE:341:patches/patch-src_eventcomm.h]
103 --- src/eventcomm.h.orig        2022-07-10 23:40:13 UTC
104 +++ src/eventcomm.h
105 @@ -30,7 +30,15 @@
106  #include <xorg-server.h>
107  
108  #include <linux/input.h>
109 +#ifdef __linux__
110  #include <linux/version.h>
111 +#else
112 +#undef BUS_NONE
113 +#undef BUS_PCI
114 +#undef BUS_SBUS
115 +#undef BUS_PLATFORM
116 +#undef BUS_last
117 +#endif
118  #include <xf86Xinput.h>
119  #include "synproto.h"
120  
121