From: | "Alexey Shvetsov (alexxy)" <alexxy@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in app-laptop/tp_smapi: ChangeLog tp_smapi-0.40-r1.ebuild |
Date: | Mon, 29 Nov 2010 01:14:35 |
Message-Id: | 20101129011425.9F09420051@flycatcher.gentoo.org |
1 | alexxy 10/11/29 01:14:25 |
2 | |
3 | Modified: ChangeLog |
4 | Added: tp_smapi-0.40-r1.ebuild |
5 | Log: |
6 | [app-laptop/tp_smapi] Fix bugs #294251 #346493 |
7 | |
8 | (Portage version: 2.2.0_alpha6/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.35 app-laptop/tp_smapi/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-laptop/tp_smapi/ChangeLog?rev=1.35&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-laptop/tp_smapi/ChangeLog?rev=1.35&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-laptop/tp_smapi/ChangeLog?r1=1.34&r2=1.35 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/app-laptop/tp_smapi/ChangeLog,v |
20 | retrieving revision 1.34 |
21 | retrieving revision 1.35 |
22 | diff -u -r1.34 -r1.35 |
23 | --- ChangeLog 1 Dec 2009 18:51:39 -0000 1.34 |
24 | +++ ChangeLog 29 Nov 2010 01:14:25 -0000 1.35 |
25 | @@ -1,6 +1,12 @@ |
26 | # ChangeLog for app-laptop/tp_smapi |
27 | -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/app-laptop/tp_smapi/ChangeLog,v 1.34 2009/12/01 18:51:39 fauli Exp $ |
29 | +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
30 | +# $Header: /var/cvsroot/gentoo-x86/app-laptop/tp_smapi/ChangeLog,v 1.35 2010/11/29 01:14:25 alexxy Exp $ |
31 | + |
32 | +*tp_smapi-0.40-r1 (29 Nov 2010) |
33 | + |
34 | + 29 Nov 2010; Alexey Shvetsov <alexxy@g.o> +tp_smapi-0.40-r1.ebuild, |
35 | + +files/tp_smapi-0.40-2.6.37.patch, +files/fix_header_check.patch: |
36 | + Fix bugs #294251 #346493 |
37 | |
38 | 01 Dec 2009; Christian Faulhammer <fauli@g.o> tp_smapi-0.40.ebuild: |
39 | stable x86, bug 289124 |
40 | |
41 | |
42 | |
43 | 1.1 app-laptop/tp_smapi/tp_smapi-0.40-r1.ebuild |
44 | |
45 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-laptop/tp_smapi/tp_smapi-0.40-r1.ebuild?rev=1.1&view=markup |
46 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-laptop/tp_smapi/tp_smapi-0.40-r1.ebuild?rev=1.1&content-type=text/plain |
47 | |
48 | Index: tp_smapi-0.40-r1.ebuild |
49 | =================================================================== |
50 | # Copyright 1999-2010 Gentoo Foundation |
51 | # Distributed under the terms of the GNU General Public License v2 |
52 | # $Header: /var/cvsroot/gentoo-x86/app-laptop/tp_smapi/tp_smapi-0.40-r1.ebuild,v 1.1 2010/11/29 01:14:25 alexxy Exp $ |
53 | |
54 | EAPI="3" |
55 | |
56 | inherit eutils linux-mod |
57 | |
58 | DESCRIPTION="IBM ThinkPad SMAPI BIOS driver" |
59 | HOMEPAGE="http://tpctl.sourceforge.net/" |
60 | SRC_URI="mirror://sourceforge/tpctl/${P}.tgz" |
61 | |
62 | LICENSE="GPL-2" |
63 | SLOT="0" |
64 | KEYWORDS="~amd64 ~x86" |
65 | |
66 | IUSE="hdaps" |
67 | |
68 | RESTRICT="userpriv" |
69 | |
70 | # We need dmideode if the kernel does not support DMI_DEV_TYPE_OEM_STRING |
71 | # in dmi.h |
72 | DEPEND="sys-apps/dmidecode" |
73 | RDEPEND="${DEPEND}" |
74 | |
75 | pkg_setup() { |
76 | linux-mod_pkg_setup |
77 | |
78 | if kernel_is lt 2 6 19; then |
79 | eerror |
80 | eerror "${P} requires Linux kernel 2.6.19 or above." |
81 | eerror |
82 | die "Unsupported kernel version" |
83 | fi |
84 | |
85 | MODULE_NAMES="thinkpad_ec(extra:) tp_smapi(extra:)" |
86 | BUILD_PARAMS="KSRC=${KV_DIR} KBUILD=${KV_OUT_DIR}" |
87 | BUILD_TARGETS="default" |
88 | |
89 | if use hdaps; then |
90 | |
91 | CONFIG_CHECK="~INPUT_UINPUT" |
92 | WARNING_INPUT_UINPUT="Your kernel needs uinput for the hdaps module to perform better" |
93 | linux-info_pkg_setup |
94 | |
95 | MODULE_NAMES="${MODULE_NAMES} hdaps(extra:)" |
96 | BUILD_PARAMS="${BUILD_PARAMS} HDAPS=1" |
97 | |
98 | CONFIG_CHECK="!SENSORS_HDAPS" |
99 | ERROR_SENSORS_HDAPS="${P} with USE=hdaps conflicts with in-kernel HDAPS (CONFIG_SENSORS_HDAPS)" |
100 | linux-info_pkg_setup |
101 | fi |
102 | } |
103 | |
104 | src_prepare() { |
105 | epatch "${FILESDIR}/${P}-2.6.37.patch" |
106 | epatch "${FILESDIR}"/fix_header_check.patch |
107 | linux-mod_src_prepare |
108 | } |
109 | |
110 | src_install() { |
111 | linux-mod_src_install |
112 | dodoc CHANGES README |
113 | } |