View | Details | Raw Unified | Return to bug 130946
Collapse All | Expand All

(-)ports/x11-drivers/input-wacom/Makefile (-4 / +4 lines)
Lines 6-15 Link Here
6
#
6
#
7
7
8
PORTNAME=	input-wacom
8
PORTNAME=	input-wacom
9
PORTVERSION=	${WACOM_VERSION:C/-/./g}.${KLD_VERSION}
9
PORTVERSION=	${KLD_VERSION}.${WACOM_VERSION:C/-/./g}
10
CATEGORIES=	x11-drivers kld
10
CATEGORIES=	x11-drivers kld
11
MASTER_SITES=	http://www.chillt.de/bsdwacom/ \
11
MASTER_SITES=	http://www.chillt.de/bsdwacom/ \
12
		${MASTER_SITE_SOURCEFORGE}
12
		SF
13
MASTER_SITE_SUBDIR=	linuxwacom
13
MASTER_SITE_SUBDIR=	linuxwacom
14
DISTFILES=	${BSDWACOM}.tbz \
14
DISTFILES=	${BSDWACOM}.tbz \
15
		${LINUXWACOM}.tar.bz2
15
		${LINUXWACOM}.tar.bz2
Lines 41-48 Link Here
41
41
42
LINUXWACOM=	linuxwacom-${WACOM_VERSION}
42
LINUXWACOM=	linuxwacom-${WACOM_VERSION}
43
BSDWACOM=	bsdwacom-${KLD_VERSION}
43
BSDWACOM=	bsdwacom-${KLD_VERSION}
44
WACOM_VERSION=	0.8.1-3
44
WACOM_VERSION=	0.8.2-2
45
KLD_VERSION=	38
45
KLD_VERSION=	40
46
46
47
OPTIONS=	UWACOMKLD "Install USB kernel module" On
47
OPTIONS=	UWACOMKLD "Install USB kernel module" On
48
48
(-)ports/x11-drivers/input-wacom/distinfo (-6 / +6 lines)
Lines 1-6 Link Here
1
MD5 (xorg/driver/bsdwacom-38.tbz) = fae10723e12b5bfc5daea411639f0ed4
1
MD5 (xorg/driver/bsdwacom-40.tbz) = 022a5225cca8bbf3af1014d32d5c12de
2
SHA256 (xorg/driver/bsdwacom-38.tbz) = 0d9027b5d781cd520ebe41287b388973465e8d62109c5d3f52d68f12ede03507
2
SHA256 (xorg/driver/bsdwacom-40.tbz) = 42c37d321768ff29fef10eb088a87a83c94753a1b4ae5f92fd453781039a5df9
3
SIZE (xorg/driver/bsdwacom-38.tbz) = 19993
3
SIZE (xorg/driver/bsdwacom-40.tbz) = 19305
4
MD5 (xorg/driver/linuxwacom-0.8.1-3.tar.bz2) = d09b212946e321cc503adf84e243ca99
4
MD5 (xorg/driver/linuxwacom-0.8.2-2.tar.bz2) = bdfaf6da49b446e251ac1f98754a89a2
5
SHA256 (xorg/driver/linuxwacom-0.8.1-3.tar.bz2) = cf1ac159d87666d16e2e3bfad81ede93e088b3bf64bb6d2d469adceb2a4c9dee
5
SHA256 (xorg/driver/linuxwacom-0.8.2-2.tar.bz2) = 1d3b8dc397510309b14239291781135af0c4fab99907d8e0b8aad95465390733
6
SIZE (xorg/driver/linuxwacom-0.8.1-3.tar.bz2) = 1209228
6
SIZE (xorg/driver/linuxwacom-0.8.2-2.tar.bz2) = 1098067
(-)ports/x11-drivers/input-wacom/files/patch-linuxwacom-run_configure (-8 / +11 lines)
Lines 1-8 Link Here
1
--- linuxwacom/run_configure.orig	2008-11-18 22:53:45.000000000 +0100
1
--- linuxwacom/run_configure.orig	2009-01-21 11:26:52.000000000 +0100
2
+++ linuxwacom/run_configure	2008-11-18 22:56:25.000000000 +0100
2
+++ linuxwacom/run_configure	2009-01-21 11:27:00.000000000 +0100
3
@@ -13,4 +13,4 @@
3
@@ -1,7 +1,7 @@
4
 cp files/input.h linuxwacom-0.8.1-3/src/xdrv/linux
4
 #!/bin/sh
5
 cd linuxwacom-0.8.1-3
5
 # $Id: run_configure 40 2008-12-26 01:08:35Z undo $
6
 patch < ../files/patch_configure
6
 
7
-./configure --with-linux=yes --with-tcl=/usr/local/include/tcl8.4 --with-tk=/usr/local/include/tk8.4 CFLAGS="-I/usr/local/include"
7
-LINUXWACOM=0.8.2
8
+./configure --with-linux=yes --with-tcl=/usr/local/include/tcl8.4 --with-tk=/usr/local/include/tk8.4 CFLAGS="-I/usr/local/include" --prefix=${PREFIX} --enable-dlloader
8
+LINUXWACOM=0.8.2-2
9
 
10
 rm -rf linuxwacom-${LINUXWACOM}
11
 tar xf linuxwacom-${LINUXWACOM}.tar.bz2
(-)ports/x11-drivers/input-wacom/files/wacom.in (-3 / +26 lines)
Lines 6-18 Link Here
6
# Add the following lines to /etc/rc.conf.local or /etc/rc.conf
6
# Add the following lines to /etc/rc.conf.local or /etc/rc.conf
7
# to enable this service:
7
# to enable this service:
8
#
8
#
9
# wacom_enable (bool):   Set to NO by default.
9
# wacom_enable (bool):		Set to NO by default.
10
#               Set it to YES to enable wacom.
10
#				Set it to YES to enable wacom.
11
# wacom_types (list):		Set to "stylus eraser cursor pad touch" by
12
#				default. A list of wacom profiles to set up.
13
# wacom_porttype (enum):	Set to "%%PORTTYPE%%" by default.
14
#				Set this to usb or serial.
11
#
15
#
12
# This script additionally offers setup and cleanup to configure Xorg
16
# This script additionally offers setup and cleanup to configure Xorg
13
# for use of the driver or remove the configuration settings.
17
# for use of the driver or remove the configuration settings.
14
# The input devices are only added to the first ServerLayout section
18
# The input devices are only added to the first ServerLayout section
15
# and also only removed once.
19
# and also only removed once.
20
# In USB mode the file /boot/loader.conf is also adjusted.
16
#
21
#
17
22
18
. %%RC_SUBR%%
23
. %%RC_SUBR%%
Lines 286-291 Link Here
286
		section_insert_line "$config" "ServerLayout" "	InputDevice	\"$ident\"	\"SendCoreEvents\""
291
		section_insert_line "$config" "ServerLayout" "	InputDevice	\"$ident\"	\"SendCoreEvents\""
287
	}
292
	}
288
293
294
	if [ "$(eval "echo \${${name}_porttype}")" = "usb" ]; then
295
		if ! /usr/bin/grep -qx 'uwacom_load="YES"' \
296
			/boot/loader.conf; then
297
			echo "Setting up /boot/loader.conf"
298
			/bin/cp /boot/loader.conf /boot/loader.conf.orig
299
			echo 'uwacom_load="YES"' >> /boot/loader.conf
300
		fi
301
	fi
289
}
302
}
290
303
291
#
304
#
Lines 381-391 Link Here
381
		/bin/rm "$config.$$"
394
		/bin/rm "$config.$$"
382
		done
395
		done
383
	}
396
	}
397
398
	if [ "$(eval "echo \${${name}_porttype}")" = "usb" ]; then
399
		if /usr/bin/grep -qx 'uwacom_load="YES"' \
400
			/boot/loader.conf; then
401
			echo "Cleaning up /boot/loader.conf"
402
			/bin/cp /boot/loader.conf /boot/loader.conf.orig
403
			/usr/bin/grep -xv 'uwacom_load="YES"' \
404
				/boot/loader.conf.orig > /boot/loader.conf
405
		fi
406
	fi
407
384
}
408
}
385
409
386
do_start() {
410
do_start() {
387
	if /sbin/kldstat | /usr/bin/grep -q uwacom; then
411
	if /sbin/kldstat | /usr/bin/grep -q uwacom; then
388
		echo "${name} is already running."
389
		return 0
412
		return 0
390
	fi
413
	fi
391
	echo "Starting ${name}."
414
	echo "Starting ${name}."

Return to bug 130946