Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 339970 Details for
Bug 459026
New ebuild: x11-drivers/psmouse-alps-driver-1.2 - Psmouse kernel module with support for alpsv1-alpsv6 touchpad
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
x11-drivers/psmouse-alps-driver-1.2.ebuild
psmouse-alps-driver-1.2.ebuild (text/plain), 1.90 KB, created by
RedEyedMan
on 2013-02-24 16:21:40 UTC
(
hide
)
Description:
x11-drivers/psmouse-alps-driver-1.2.ebuild
Filename:
MIME Type:
Creator:
RedEyedMan
Created:
2013-02-24 16:21:40 UTC
Size:
1.90 KB
patch
obsolete
># Copyright 1999-2013 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >EAPI=5 > ># PYTHON_DEPEND="test? 3" ># inherit python > >inherit eutils > >DESCRIPTION="Psmouse kernel module with support for alpsv1-alpsv6 touchpad" >HOMEPAGE="http://www.dahetral.com/" >SRC_URI="${URLLNK}" > >#SRC_URI doesn't have direct path to tarbail >URLLNK="wget -O ${DISTDIR}/psmouse-alps-dst-${PV}.tbz /http://www.dahetral.com/public-download/psmouse-alps-dst-${PV}.tbz/at_download/file" > ># RESTRICT="fetch" >S=${ROOT} > >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="~amd64 ~x86" >IUSE="" # test > >RDEPEND="sys-kernel/linux-headers" >DEPEND="${RDEPEND} > net-misc/wget > sys-kernel/dkms" > > > >pkg_postinst() { > _K30=`uname -r | grep 3.0 || true` > _K37=`uname -r | grep 3.7 || true` > > if [ "${_K30}" != "" ]; then > echo "Patching for a 3.0 LTS kernel..." > sed -e 's/BTN_TOOL_QUINTTAP/0x148/g' \ > -i ${S}/usr/src/psmouse-alps-dst-${PV}/src/synaptics.c > fi > > if [ "${_K37}" != "" ]; then > echo "Patching for a 3.7 kernel..." > # Many thanks to figue for the quick patch ;) > sed -e 's/input_mt_init_slots(dev, 2);/input_mt_init_slots(dev, 2, 0);/g' \ > -i ${S}/usr/src/psmouse-alps-dst-${PV}/src/synaptics.c \ > -i ${S}/usr/src/psmouse-alps-dst-${PV}/src/alps.c \ > -i ${S}/usr/src/psmouse-alps-dst-${PV}/src/elantech.c \ > -i ${S}/usr/src/psmouse-alps-dst-${PV}/src/sentelic.c > sed -e 's/input_mt_init_slots(dev1, 2);/input_mt_init_slots(dev1, 2, 0);/g' \ > -i ${S}/usr/src/psmouse-alps-dst-${PV}/src/synaptics.c \ > -i ${S}/usr/src/psmouse-alps-dst-${PV}/src/alps.c > sed -e 's/input_mt_init_slots(dev, ETP_MAX_FINGERS);/input_mt_init_slots(dev, ETP_MAX_FINGERS, 0);/g' \ > -i ${S}/usr/src/psmouse-alps-dst-${PV}/src/elantech.c > fi > > mkdir -p ${S}/usr/src/dkms/src > cp -RL ${S}/usr/src/psmouse-alps-dst-${PV}/src/* ${S}/usr/src/dkms/src > cp -RL ${S}/usr/src/psmouse-alps-dst-${PV}/dkms.conf ${S}/usr/src/dkms >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 459026
:
339970
|
339972
|
340118