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