ChangeLog

# ChangeLog for app-laptop/thinkpad
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/app-laptop/thinkpad/ChangeLog,v 1.21 2007/05/25 07:00:31 opfer Exp $

25 May 2007; Christian Faulhammer ChangeLog:
corrected ChangeLog, so it conforms to our standards

21 Mar 2007; Steev Klimaszewski thinkpad-5.9-r1.ebuild:
Add set_kvobj so that the kernel modules get installed properly.

25 Feb 2007; ChangeLog:
use KV_DIR only after pkg setup

10 Feb 2007; Steev Klimaszewski
-files/thinkpad-5.8-cpu_ptr.patch, -thinkpad-3.2.ebuild,
-thinkpad-4.1.ebuild, -thinkpad-4.3.ebuild, -thinkpad-4.3-r1.ebuild,
-thinkpad-4.8.ebuild:
Remove old thinkpad versions. Fixes bug #159708

20 Oct 2006; Christian Heim thinkpad-5.9-r1.ebuild:
Moving the asm-file around (thanks to Daniel in #149354), fixing compilation
for 2.6.18.

17 Jul 2006; Daniel Drake
+files/thinkpad-5.9-module-param.patch, -thinkpad-5.7.ebuild,
-thinkpad-5.8.ebuild, thinkpad-5.9-r1.ebuild:
Fix compilation on Linux 2.6.17, thanks to Henryk Plotz in bug #137646

09 May 2006; John N. Laliberte
thinkpad-5.9-r1.ebuild:
mark stable on x86, #131971

*thinkpad-5.9-r1 (25 Mar 2006)

25 Mar 2006; Steev Klimaszewski
+files/thinkpad-5.9-remove-inter_module.patch,
+files/thinkpad-5.9-remove-thinkpadapm-argument.patch,
-thinkpad-5.9.ebuild, +thinkpad-5.9-r1.ebuild:
Revision bump of thinkpad, with patches from TGL to
allow compilation with kernel 2.6.16. Closes bug #127453

*thinkpad-5.9 (18 Feb 2006)

18 Feb 2006; Steev Klimaszewski +thinkpad-5.9.ebuild:
New upstream revision, works with kernel 2.6.15-r3 through -r5 here. Removes
the thinkpadpm module (upstream). Closes Bug #123163 as well as, Bug #93658.
Thank you to Mr. Karlsson, and Mr. Romano for reporting.

11 Jan 2006; Benjamin Schindler thinkpad-3.2.ebuild,
thinkpad-4.1.ebuild, thinkpad-4.3.ebuild, thinkpad-4.3-r1.ebuild,
thinkpad-4.8.ebuild, thinkpad-5.7.ebuild:
Remove amd64 keywordalltogether since there is no amd64 thinkpad laptop
closing bug #101488.

24 Dec 2005; Petteri Räty thinkpad-5.8.ebuild:
Marked stable on x86 for bug #101488.

24 Dec 2005; Steev Klimaszewski metadata.xml:
Take over as maintainer.

*thinkpad-5.8 (08 Jan 2005)

08 Jan 2005; Henrik Brix Andersen
+files/thinkpad-5.8-cpu_ptr.patch, +thinkpad-5.8.ebuild:
Version bump, ported to use linux-mod.eclass. Fixes bug #39943 and bug #69669.

01 Oct 2004; Scott W Taylor thinkpad-5.7.ebuild:
fix typo

*thinkpad-5.7 (01 Oct 2004)

01 Oct 2004; Scott W Taylor +thinkpad-5.7.ebuild:
new source, plays nicely with 2.6 kernel

18 Jul 2004; Robin H. Johnson thinkpad-4.8.ebuild:
stable on x86.

29 Jun 2004; Aron Griffis thinkpad-4.8.ebuild:
glibc -> libc

*thinkpad-3.2 (07 Mar 2004)

07 Mar 2004; Peter Johanson metadata.xml,
thinkpad-3.2.ebuild, thinkpad-4.1.ebuild, thinkpad-4.3-r1.ebuild,
thinkpad-4.3.ebuild, thinkpad-4.8.ebuild, files/thinkpad:
Moved to new app-laptop category

*thinkpad-4.8 (25 Dec 2003)

25 Jan 2004; Mike Frysinger :
Add thinkpad group for devfs #35706.

25 Dec 2003; Robin H. Johnson thinkpad-4.8.ebuild:
version bump

28 Nov 2003; Karl Trygve Kalleberg
thinkpad-4.3-r1.ebuild :
Fixes #33778. No revision bump, as it doesn't change anything for
users who has this installed already.

*thinkpad-4.3-r1 (27 Jun 2003)

25 Jan 2004; Mike Frysinger :
Add thinkpad group for devfs #35706.

27 Jun 2003; Karl Trygve Kalleberg thinkpad-4.3-r1.ebuild :
version bump, installs man page now.

*thinkpad-4.3 (04 May 2003)

04 May 2003; Wout Mertens thinkpad-4.3.ebuild :
version bump, fixing #20072. Also improved kernel stuff and discovered
the /etc/devfs.d directory

*thinkpad-4.1 (17 Feb 2003)

24 Feb 2003; Nicholas Wourms thinkpad-4.1.ebuild :
This is definitely not for mips.

17 Feb 2003; Wout Mertens :
version bump and correct kernel version detection

*thinkpad-3.2 (25 Apr 2002)

24 Feb 2003; Nicholas Wourms thinkpad-3.2.ebuild :
This is definitely not for mips.

21 Jul 2002; Mark Guertin :
updated keywords (-ppc)

14 Jul 2002; phoen][x thinkpad-3.2.ebuild :
Added LICENSE, KEYWORDS, SLOT.

25 April 2002; Wout Mertens ChangeLog :

Added initial ChangeLog which should be updated whenever the package is
updated in any way. This changelog is targetted to users. This means that the
comments should well explained and written in clean English. The details about
writing correct changelogs are explained in the skel.ChangeLog file which you
can find in the root directory of the portage repository.

Manifest

AUX thinkpad 545 RMD160 6ac014699371fccc7387315fbaf09080e5368977 SHA1 aa90a5ae350609c3aa51ee9d94aa77aecfe89b71 SHA256 f33d6e2fd998bc4dad0f372c9f2ab139369b415ecff5489c41944fc35decb5ee
AUX thinkpad-5.9-module-param.patch 992 RMD160 80bc42d8d92da4174e6e9d23f733f3658c9e1a7f SHA1 6cd5facfcb3d9745f769bc7422e917e8acd39014 SHA256 4bc08dae456cf96bcfcaf416967657c079982b38a1b89ec6d71b684f2a4688bf
AUX thinkpad-5.9-remove-inter_module.patch 5974 RMD160 12ff7660f880fb2b731f5aa02d5a45861eb59e6f SHA1 f75ad677eb158c0b82fb005b530a94cc9b1b7dd5 SHA256 f75291cbc0aac1cbc5531be6788e343682684d80562d7a82ec6d4c6759925418
AUX thinkpad-5.9-remove-thinkpadapm-argument.patch 1052 RMD160 e1c7831dea7ace73cb619005ade0652d6b0ab992 SHA1 527c9c690da0ab3ae5d42c0c0a0ec4a2534a589b SHA256 57fe17e7d1644f16815d8b052efd8a5cbd34564b5539247b57a23f27a05eb1c8
DIST thinkpad-5.9.tar.gz 74779 RMD160 93d3d8ff6d64191ff07252654489a9bc5d878457 SHA1 c3f88d36ed39f83e6d888c9d174de9bc80724ea6 SHA256 49d2eab42e57d71cb0f175a645c703fce458a852552842ea56e0c81547d8f715
EBUILD thinkpad-5.9-r1.ebuild 1453 RMD160 57d5c44c90bf21b4b677a9b4c1c2a870fb9bf284 SHA1 bc646489af6bc2ae815db0dede4e9e99170a2fd0 SHA256 f8c955e7e5b5bdfa13f11ed37cb97e4449dd451aa96afe0584428839eb4d12b0
MISC ChangeLog 5282 RMD160 655bc4be736492663b659b4e2de2542a67269ac2 SHA1 99ff193cd605f02f29ffe0465f206eef5cb09751 SHA256 68ec93b3f55c1c72d921946bc95e84b89dbc2ca645a18163595f57118976a6f7
MISC metadata.xml 257 RMD160 7f24abacd3c499b06eb4314a0cbd618acc9b3b86 SHA1 5dcc7e2d25909c0340fcba06a149e0bc79162c2e SHA256 3870cf69413cacc58e43006c91b3e37453c57ee34f19a335eb40fb31fc6b4ffe

files

metadata.xml




mobile

steev@gentoo.org
Steev Klimaszewski

thinkpad-5.9-r1.ebuild

# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-laptop/thinkpad/thinkpad-5.9-r1.ebuild,v 1.6 2007/03/21 01:05:02 steev Exp $

inherit eutils linux-mod

DESCRIPTION="Thinkpad system control kernel modules"

HOMEPAGE="http://tpctl.sourceforge.net"
SRC_URI="mirror://sourceforge/tpctl/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86"

IUSE=""

pkg_setup() {
linux-info_pkg_setup

case ${KV_MINOR} in
4)
BUILD_TARGETS="all"
;;
6)
BUILD_TARGETS="default"
;;
*)
die "Unsupported kernel version."
;;
esac

MODULE_NAMES="thinkpad(thinkpad:${S}/${KV_MAJOR}.${KV_MINOR}/drivers)
smapi(thinkpad:${S}/${KV_MAJOR}.${KV_MINOR}/drivers)
superio(thinkpad:${S}/${KV_MAJOR}.${KV_MINOR}/drivers)
rtcmosram(thinkpad:${S}/${KV_MAJOR}.${KV_MINOR}/drivers)"
MODULESD_THINKPAD_DOCS="README"
BUILD_PARAMS="KSRC=${KV_DIR}"
}

src_unpack() {
unpack ${A}
cd "${S}"

# New kernels only see .S files as asm
mv "${S}"/2.6/drivers/smapi_call.{s,S}

epatch "${FILESDIR}"/${PN}-5.9-remove-thinkpadapm-argument.patch
epatch "${FILESDIR}"/${PN}-5.9-remove-inter_module.patch

kernel_is ge 2 6 0 && epatch "${FILESDIR}"/${P}-module-param.patch
}

src_install() {
# Fix from Jaakko Perttilä - not sure if it is proper, but it works.
set_kvobj
linux-mod_src_install

dodoc AUTHORS ChangeLog SUPPORTED-MODELS TECHNOTES

doman man/*
}