From: "Peter Volkov (pva)" <pva@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in sys-kernel/linuxwacom-module: linuxwacom-module-0.8.8_p10.ebuild ChangeLog metadata.xml
Date: Wed, 3 Nov 2010 10:46:29 +0000 (UTC) [thread overview]
Message-ID: <20101103104629.7489120054@flycatcher.gentoo.org> (raw)
pva 10/11/03 10:46:29
Added: linuxwacom-module-0.8.8_p10.ebuild ChangeLog
metadata.xml
Log:
Inital import. Work based on linuxwacom package that was removed from the tree, bug #335821, thank Julien Sanchez for help.
(Portage version: 2.1.9.24/cvs/Linux x86_64)
Revision Changes Path
1.1 sys-kernel/linuxwacom-module/linuxwacom-module-0.8.8_p10.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-kernel/linuxwacom-module/linuxwacom-module-0.8.8_p10.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-kernel/linuxwacom-module/linuxwacom-module-0.8.8_p10.ebuild?rev=1.1&content-type=text/plain
Index: linuxwacom-module-0.8.8_p10.ebuild
===================================================================
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linuxwacom-module/linuxwacom-module-0.8.8_p10.ebuild,v 1.1 2010/11/03 10:46:29 pva Exp $
EAPI="2"
inherit eutils toolchain-funcs linux-mod autotools
# http://who-t.blogspot.com/2010/09/wacom-support-in-linux.html
MY_PN="linuxwacom"
DESCRIPTION="Kernel driver for Wacom tablets and drawing devices"
HOMEPAGE="http://linuxwacom.sourceforge.net/"
SRC_URI="mirror://sourceforge/${MY_PN}/${MY_PN}-${PV/_p/-}.tar.bz2"
IUSE="usb"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86"
RDEPEND="sys-fs/udev
sys-libs/ncurses"
DEPEND="${RDEPEND}
dev-util/pkgconfig
usb? ( >=sys-kernel/linux-headers-2.6 )"
S=${WORKDIR}/${MY_PN}-${PV/_p/-}
MODULE_NAMES="wacom(input:${S}/src:${S}/src)"
BUILD_TARGETS="all"
wacom_check() {
einfo "Checking wacom module not built in kernel"
if $(linux_chkconfig_present TABLET_USB_WACOM); then
eerror "Please, disable wacom module in the kernel:"
eerror
eerror " Device Drivers"
eerror " Input device support"
eerror " Tablets"
eerror " <> Wacom Intuos/Graphire tablet support (USB)"
eerror
eerror '(in the "USB support" page it is suggested to include also:'
eerror "EHCI , OHCI , USB Human Interface Device+HID input layer)"
eerror
eerror "Then recompile kernel."
die "Wacom statically built in kernel!"
fi
}
pkg_setup() {
linux-mod_pkg_setup
wacom_check
}
src_prepare() {
if [[ $(gcc-major-version) < 4 || $(gcc-minor-version) < 2 ]]; then
die "Versions of linuxwacom >= 0.7.9 require gcc >= 4.2 to compile."
fi
sed '/WCM_SRC_SUBDIRS=/s: wacomxi util xdrv::' -i configure.in || die
kernel_is ge 2 6 36 && epatch "${FILESDIR}/linuxwacom-module-2.6.36.patch"
eautoreconf
}
# TODO: Avoid build of hal (but actually upstream is working on separation of
# modules from linuxwacom so this is really low priority).
src_configure() {
unset ARCH
econf \
--enable-wacom \
--with-kernel=${KV_OUT_DIR} \
--disable-dependency-tracking \
--without-x \
--disable-xserver64 \
--without-xlib \
--without-xorg-sdk \
--without-tcl \
--without-tk \
$(printf -- "--disable-%s " libwacom{cfg,xi} {wac,xi}dump xsetwacom wacomxrrd)
}
src_install() {
# Inelegant attempt to work around a nasty build system
cp src/*/wacom.{o,ko} src/ || die
linux-mod_src_install
insinto /etc/udev/rules.d/
doins src/util/60-wacom.rules || die
exeinto /lib/udev/
doexe "${FILESDIR}"/check_driver || die
doman "${FILESDIR}"/check_driver.1
dodoc AUTHORS ChangeLog
}
pkg_postinst() {
linux-mod_pkg_postinst
ewarn "Please remove any HAL .FDI files you may"
ewarn "previously have installed for linuxwacom."
}
1.1 sys-kernel/linuxwacom-module/ChangeLog
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-kernel/linuxwacom-module/ChangeLog?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-kernel/linuxwacom-module/ChangeLog?rev=1.1&content-type=text/plain
Index: ChangeLog
===================================================================
# ChangeLog for sys-kernel/linuxwacom-module
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linuxwacom-module/ChangeLog,v 1.1 2010/11/03 10:46:29 pva Exp $
*linuxwacom-module-0.8.8_p10 (03 Nov 2010)
03 Nov 2010; Peter Volkov <pva@gentoo.org>
+linuxwacom-module-0.8.8_p10.ebuild,
+files/linuxwacom-module-2.6.36.patch, +files/check_driver,
+files/check_driver.1, +metadata.xml:
Inital import. Work based on linuxwacom package that was removed from the
tree, bug #335821, thank Julien Sanchez for help.
1.1 sys-kernel/linuxwacom-module/metadata.xml
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-kernel/linuxwacom-module/metadata.xml?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-kernel/linuxwacom-module/metadata.xml?rev=1.1&content-type=text/plain
Index: metadata.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>no-herd</herd>
<maintainer>
<email>pva@gentoo.org</email>
<name>Peter Volkov</name>
</maintainer>
<longdescription>kernel driver for wacom tablets</longdescription>
<use>
<flag name='modules'>Build kernel module</flag>
</use>
</pkgmetadata>
reply other threads:[~2010-11-03 10:46 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20101103104629.7489120054@flycatcher.gentoo.org \
--to=pva@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox