1 |
ikelos 09/04/02 08:58:59 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: linuxwacom-0.8.2_p2.ebuild |
5 |
Log: |
6 |
Version bump to 0.8.2_p2 (fixing bug 255087). |
7 |
(Portage version: 2.2_rc28/cvs/Linux i686) |
8 |
|
9 |
Revision Changes Path |
10 |
1.28 x11-drivers/linuxwacom/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-drivers/linuxwacom/ChangeLog?rev=1.28&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-drivers/linuxwacom/ChangeLog?rev=1.28&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-drivers/linuxwacom/ChangeLog?r1=1.27&r2=1.28 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/x11-drivers/linuxwacom/ChangeLog,v |
19 |
retrieving revision 1.27 |
20 |
retrieving revision 1.28 |
21 |
diff -u -r1.27 -r1.28 |
22 |
--- ChangeLog 18 Dec 2008 00:02:41 -0000 1.27 |
23 |
+++ ChangeLog 2 Apr 2009 08:58:59 -0000 1.28 |
24 |
@@ -1,6 +1,12 @@ |
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.27 2008/12/18 00:02:41 ikelos Exp $ |
28 |
+# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2 |
29 |
+# $Header: /var/cvsroot/gentoo-x86/x11-drivers/linuxwacom/ChangeLog,v 1.28 2009/04/02 08:58:59 ikelos Exp $ |
30 |
+ |
31 |
+*linuxwacom-0.8.2_p2 (02 Apr 2009) |
32 |
+ |
33 |
+ 02 Apr 2009; Mike Auty <ikelos@g.o> |
34 |
+ +files/linuxwacom-0.8.2-kernel-2.6.29.patch, +linuxwacom-0.8.2_p2.ebuild: |
35 |
+ Version bump to 0.8.2_p2 (fixing bug 255087). |
36 |
|
37 |
*linuxwacom-0.8.2 (18 Dec 2008) |
38 |
|
39 |
|
40 |
|
41 |
|
42 |
1.1 x11-drivers/linuxwacom/linuxwacom-0.8.2_p2.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-drivers/linuxwacom/linuxwacom-0.8.2_p2.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-drivers/linuxwacom/linuxwacom-0.8.2_p2.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: linuxwacom-0.8.2_p2.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.2_p2.ebuild,v 1.1 2009/04/02 08:58:59 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 module" |
60 |
|
61 |
LICENSE="GPL-2" |
62 |
SLOT="0" |
63 |
KEYWORDS="~amd64 ~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}/${PN}-0.8.2-kernel-2.6.29.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 |
--enable-xsetwacom --enable-dlloader || die "econf failed" |
140 |
|
141 |
#$(use_enable quirks quirk-tablet-rescale) \ |
142 |
|
143 |
unset ARCH |
144 |
emake || die "emake failed." |
145 |
} |
146 |
|
147 |
src_install() { |
148 |
emake DESTDIR="${D}" install || die "Install failed." |
149 |
|
150 |
# Inelegant attempt to work around a nasty build system |
151 |
if use module; then |
152 |
cp "${S}"/src/*/wacom.{o,ko} "${S}"/src/ |
153 |
linux-mod_src_install |
154 |
fi |
155 |
|
156 |
insinto /etc/udev/rules.d/ |
157 |
newins "${FILESDIR}"/${P%_p*}-xserver-xorg-input-wacom.udev 60-wacom.rules |
158 |
|
159 |
exeinto /lib/udev/ |
160 |
doexe "${FILESDIR}"/check_driver |
161 |
doman "${FILESDIR}"/check_driver.1 |
162 |
|
163 |
dohtml -r docs/* |
164 |
dodoc AUTHORS ChangeLog NEWS README |
165 |
} |