From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Apr 7 15:30:05 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6532A1065673 for ; Tue, 7 Apr 2009 15:30:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 406358FC17 for ; Tue, 7 Apr 2009 15:30:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n37FU5QD004346 for ; Tue, 7 Apr 2009 15:30:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n37FU5JO004342; Tue, 7 Apr 2009 15:30:05 GMT (envelope-from gnats) Resent-Date: Tue, 7 Apr 2009 15:30:05 GMT Resent-Message-Id: <200904071530.n37FU5JO004342@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Kalten Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3E4A9106566B for ; Tue, 7 Apr 2009 15:25:07 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 03E9D8FC12 for ; Tue, 7 Apr 2009 15:25:07 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n37FP63L097234 for ; Tue, 7 Apr 2009 15:25:06 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n37FP67n097219; Tue, 7 Apr 2009 15:25:06 GMT (envelope-from nobody) Message-Id: <200904071525.n37FP67n097219@www.freebsd.org> Date: Tue, 7 Apr 2009 15:25:06 GMT From: Kalten To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/133466: x11-drivers/input-wacom does not compile (with hack-fix) X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Apr 2009 15:30:05 -0000 >Number: 133466 >Category: ports >Synopsis: x11-drivers/input-wacom does not compile (with hack-fix) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Apr 07 15:30:04 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Kalten >Release: 7.2-PRERELEASE FreeBSD_version: 701106 >Organization: >Environment: FreeBSD freeHugin.Walhalla.Leben 7.2-PRERELEASE FreeBSD 7.2-PRERELEASE #0: Sun Apr 5 16:59:40 UTC 2009 root@freeHugin.Walhalla.Leben:/usr/obj/usr/src/sys/HUGIN i386 >Description: The driver x11-drivers/input-wacom does not compile anymore (since new Xorg, I suppose). ---SCHNIPP--- gmake[2]: Entering directory `/usr/ports/x11-drivers/input-wacom/work/linuxwacom/linuxwacom-0.8.2-2/src/xdrv' cc -I/usr/local/include -fPIC -pipe -std=c99 \ -pedantic -Wall -Wpointer-arith -fno-merge-constants \ -fno-stack-protector -I. -I../include -I/usr/local/include/xorg -I/usr/local/include \ -I/usr/local/include/xorg -I/usr/local/include/pixman-1 -I/usr/local/include \ -o xf86Wacom.o -c ./xf86Wacom.c In file included from ./xf86Wacom.c:84: ./xf86Wacom.h:30:28: error: xf86Version.h: No such file or directory ---schnapp--- I have a fresh 7.2-PRERELEASE with Version 701106 (according to /usr/share/examples/FreeBSD_version/). I did a csup on my ports on 2009_04_05 (INDEX-7.bz2 is from 13:50GMT the same day) prior to installing _any_ port. >How-To-Repeat: »portinstall x11-drivers/input-wacom« or »make« in there. >Fix: I found a dirty (?) solution: In that file linuxwacom/linuxwacom-0.8.2-2/src/xdrv/xf86Wacom.h the compiling error is happening, there is a #ifdef to distinguish the x-version: we need WCM_XORG_XSERVER_1_6 set there. It can be fixed, by changing the x11-drivers/input-wacom/files/patch-linuxwacom-run_configure file a bit. (see added patchfile) But I did not take care of older versions at all! I do not know, how to check Xorgs version to do it the right way: a better patch would be fine! BTW: as Xorg now uses hald, a policy/wacom_tablet.fdi file would be _very_ welcome! I have not managed to create one for my Bamboo Fun CTE-650 (stylus) on my own till now :-( Patch attached with submission follows: --- linuxwacom/run_configure.orig 2008-12-26 02:09:57.000000000 +0100 +++ linuxwacom/run_configure 2009-04-06 20:54:22.000000000 +0200 @@ -1,7 +1,7 @@ #!/bin/sh # $Id: run_configure 40 2008-12-26 01:08:35Z undo $ -LINUXWACOM=0.8.2 +LINUXWACOM=0.8.2-2 rm -rf linuxwacom-${LINUXWACOM} tar xf linuxwacom-${LINUXWACOM}.tar.bz2 @@ -14,5 +14,5 @@ cp files/types.h linuxwacom-${LINUXWACOM}/src/xdrv/asm cp files/input.h linuxwacom-${LINUXWACOM}/src/xdrv/linux cd linuxwacom-${LINUXWACOM} -./configure --with-linux=yes --with-tcl=/usr/local/include/tcl8.4 --with-tk=/usr/local/include/tk8.4 --prefix=${PREFIX} --enable-dlloader CFLAGS="-I/usr/local/include" +./configure --with-linux=yes --with-tcl=/usr/local/include/tcl8.4 --with-tk=/usr/local/include/tk8.4 --prefix=${PREFIX} --enable-dlloader CFLAGS="-I/usr/local/include -DWCM_XORG_XSERVER_1_6=true" >Release-Note: >Audit-Trail: >Unformatted: