1 |
ikelos 09/07/28 15:50:06 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: linuxwacom-0.8.3_p6.ebuild |
5 |
Log: |
6 |
Version bump, temporarily removes buildable module support, fixes bug 274520. |
7 |
(Portage version: 2.2_rc33/cvs/Linux i686) |
8 |
|
9 |
Revision Changes Path |
10 |
1.39 x11-drivers/linuxwacom/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-drivers/linuxwacom/ChangeLog?rev=1.39&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-drivers/linuxwacom/ChangeLog?rev=1.39&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-drivers/linuxwacom/ChangeLog?r1=1.38&r2=1.39 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/x11-drivers/linuxwacom/ChangeLog,v |
19 |
retrieving revision 1.38 |
20 |
retrieving revision 1.39 |
21 |
diff -u -r1.38 -r1.39 |
22 |
--- ChangeLog 28 Jul 2009 14:49:29 -0000 1.38 |
23 |
+++ ChangeLog 28 Jul 2009 15:50:06 -0000 1.39 |
24 |
@@ -1,6 +1,13 @@ |
25 |
# ChangeLog for x11-drivers/linuxwacom |
26 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/x11-drivers/linuxwacom/ChangeLog,v 1.38 2009/07/28 14:49:29 jer Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/x11-drivers/linuxwacom/ChangeLog,v 1.39 2009/07/28 15:50:06 ikelos Exp $ |
29 |
+ |
30 |
+*linuxwacom-0.8.3_p6 (28 Jul 2009) |
31 |
+ |
32 |
+ 28 Jul 2009; Mike Auty <ikelos@g.o> +linuxwacom-0.8.3_p6.ebuild, |
33 |
+ +files/linuxwacom-0.8.3_p6-xf86config.patch: |
34 |
+ Version bump, temporarily removes buildable module support, fixes bug |
35 |
+ 274520. |
36 |
|
37 |
28 Jul 2009; Jeroen Roovers <jer@g.o> metadata.xml: |
38 |
x11-drivers -> x11. |
39 |
|
40 |
|
41 |
|
42 |
1.1 x11-drivers/linuxwacom/linuxwacom-0.8.3_p6.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-drivers/linuxwacom/linuxwacom-0.8.3_p6.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-drivers/linuxwacom/linuxwacom-0.8.3_p6.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: linuxwacom-0.8.3_p6.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2009 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/x11-drivers/linuxwacom/linuxwacom-0.8.3_p6.ebuild,v 1.1 2009/07/28 15:50:06 ikelos Exp $ |
52 |
|
53 |
inherit eutils autotools toolchain-funcs linux-mod |
54 |
|
55 |
DESCRIPTION="Input driver for Wacom tablets and drawing devices" |
56 |
HOMEPAGE="http://linuxwacom.sourceforge.net/" |
57 |
SRC_URI="mirror://sourceforge/${PN}/${P/_p/-}.tar.bz2" |
58 |
|
59 |
IUSE="gtk tcl tk usb" |
60 |
|
61 |
LICENSE="GPL-2" |
62 |
SLOT="0" |
63 |
KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86" |
64 |
|
65 |
RDEPEND="x11-proto/inputproto |
66 |
x11-base/xorg-server |
67 |
gtk? ( >=x11-libs/gtk+-2 ) |
68 |
tcl? ( dev-lang/tcl ) |
69 |
tk? ( dev-lang/tk ) |
70 |
sys-fs/udev |
71 |
sys-libs/ncurses" |
72 |
|
73 |
DEPEND="${RDEPEND} |
74 |
dev-util/pkgconfig |
75 |
usb? ( >=sys-kernel/linux-headers-2.6 )" |
76 |
S=${WORKDIR}/${P/_p/-} |
77 |
|
78 |
MODULE_NAMES="wacom(input:${S}/src:${S}/src)" |
79 |
|
80 |
wacom_check() { |
81 |
if use module ; then |
82 |
ebegin "Checking for wacom module" |
83 |
linux_chkconfig_module TABLET_USB_WACOM |
84 |
eend $? |
85 |
|
86 |
if [[ $? -ne 0 ]] || ! [ -f "/lib/modules/${KV}/kernel/drivers/input/tablet/wacom.ko" ]; then |
87 |
eerror "You need to have your kernel compiled with wacom as a module" |
88 |
eerror "to let linuxwacom overwrite it." |
89 |
eerror "Enable it in the kernel, found at:" |
90 |
eerror |
91 |
eerror " Device Drivers" |
92 |
eerror " Input device support" |
93 |
eerror " Tablets" |
94 |
eerror " <M> Wacom Intuos/Graphire tablet support (USB)" |
95 |
eerror |
96 |
eerror "(in the "USB support" page it is suggested to include also:" |
97 |
eerror "EHCI , OHCI , USB Human Interface Device+HID input layer)" |
98 |
eerror |
99 |
eerror "Then recompile kernel. Otherwise, remove the module USE flag." |
100 |
die "Wacom not compiled in kernel as a module!" |
101 |
fi |
102 |
fi |
103 |
} |
104 |
|
105 |
pkg_setup() { |
106 |
linux-mod_pkg_setup |
107 |
# echo "kernel version is ${KV} , name is ${KV%%-*}" |
108 |
ewarn "Versions of linuxwacom >= 0.7.9 require gcc >= 4.2 to compile." |
109 |
wacom_check |
110 |
} |
111 |
|
112 |
src_unpack() { |
113 |
unpack ${A} |
114 |
cd "${S}" |
115 |
|
116 |
# Fix multilib-strict error for Tcl/Tk library install |
117 |
sed -i -e "s:WCM_EXECDIR/lib:WCM_EXECDIR/$(get_libdir):" configure.in |
118 |
|
119 |
# Remove warning parameters for gcc < 4, bug 205139 |
120 |
if [[ $(gcc-major-version) -lt 4 ]]; then |
121 |
sed -i -e "s:-Wno-variadic-macros::" src/xdrv/Makefile.am |
122 |
fi |
123 |
|
124 |
epatch "${FILESDIR}/${P}-xf86config.patch" |
125 |
|
126 |
eautoreconf |
127 |
} |
128 |
|
129 |
src_compile() { |
130 |
if use module; then |
131 |
myconf="${myconf} --enable-wacom" |
132 |
myconf="${myconf} --with-kernel=${KV_OUT_DIR}" |
133 |
fi |
134 |
|
135 |
econf ${myconf} \ |
136 |
$(use_with tcl tcl) \ |
137 |
$(use_with tk tk) \ |
138 |
--enable-wacomdrv --enable-wacdump \ |
139 |
--disable-xf86config \ |
140 |
--enable-xsetwacom --enable-dlloader || die "econf failed" |
141 |
|
142 |
unset ARCH |
143 |
emake || die "emake failed." |
144 |
} |
145 |
|
146 |
src_install() { |
147 |
emake DESTDIR="${D}" install || die "Install failed." |
148 |
|
149 |
# Inelegant attempt to work around a nasty build system |
150 |
if use module; then |
151 |
cp "${S}"/src/*/wacom.{o,ko} "${S}"/src/ |
152 |
linux-mod_src_install |
153 |
fi |
154 |
|
155 |
insinto /etc/udev/rules.d/ |
156 |
doins "${S}/src/util/60-wacom.rules" |
157 |
|
158 |
exeinto /lib/udev/ |
159 |
doexe "${FILESDIR}"/check_driver |
160 |
doman "${FILESDIR}"/check_driver.1 |
161 |
|
162 |
dohtml -r docs/* |
163 |
dodoc AUTHORS ChangeLog NEWS README |
164 |
|
165 |
ewarn "Please remove any HAL .FDI files you may" |
166 |
ewarn "previously have installed fr linuxwacom." |
167 |
} |