Gentoo Archives: gentoo-commits

From: "Zac Medico (zmedico)" <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-drivers/psb-kmod: psb-kmod-4.41.1_p10.ebuild ChangeLog
Date: Wed, 30 Sep 2009 07:37:40
Message-Id: E1Mstko-00068q-VS@stork.gentoo.org
1 zmedico 09/09/30 07:37:38
2
3 Modified: ChangeLog
4 Added: psb-kmod-4.41.1_p10.ebuild
5 Log:
6 Bug #286753 - Version bump for compatibility with linux 2.6.31.
7 (Portage version: 2.2_rc42_p14468/cvs/Linux i686)
8
9 Revision Changes Path
10 1.2 x11-drivers/psb-kmod/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-drivers/psb-kmod/ChangeLog?rev=1.2&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-drivers/psb-kmod/ChangeLog?rev=1.2&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-drivers/psb-kmod/ChangeLog?r1=1.1&r2=1.2
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/x11-drivers/psb-kmod/ChangeLog,v
19 retrieving revision 1.1
20 retrieving revision 1.2
21 diff -u -r1.1 -r1.2
22 --- ChangeLog 13 Sep 2009 20:10:43 -0000 1.1
23 +++ ChangeLog 30 Sep 2009 07:37:38 -0000 1.2
24 @@ -1,6 +1,11 @@
25 # ChangeLog for x11-drivers/psb-kmod
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/x11-drivers/psb-kmod/ChangeLog,v 1.1 2009/09/13 20:10:43 patrick Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/x11-drivers/psb-kmod/ChangeLog,v 1.2 2009/09/30 07:37:38 zmedico Exp $
29 +
30 +*psb-kmod-4.41.1_p10 (30 Sep 2009)
31 +
32 + 30 Sep 2009; Zac Medico <zmedico@g.o> +psb-kmod-4.41.1_p10.ebuild:
33 + Bug #286753 - Version bump for compatibility with linux 2.6.31.
34
35 *psb-kmod-4.41.1_p8 (13 Sep 2009)
36
37
38
39
40 1.1 x11-drivers/psb-kmod/psb-kmod-4.41.1_p10.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-drivers/psb-kmod/psb-kmod-4.41.1_p10.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-drivers/psb-kmod/psb-kmod-4.41.1_p10.ebuild?rev=1.1&content-type=text/plain
44
45 Index: psb-kmod-4.41.1_p10.ebuild
46 ===================================================================
47 # Copyright 1999-2009 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/x11-drivers/psb-kmod/psb-kmod-4.41.1_p10.ebuild,v 1.1 2009/09/30 07:37:38 zmedico Exp $
50
51 EAPI="2"
52
53 inherit rpm linux-info linux-mod
54
55 DESCRIPTION="kernel module for the intel gma500 (poulsbo)"
56 HOMEPAGE="http://www.happyassassin.net/2009/09/26/gma-500-poulsbo-driver-for-fedora-11-soon-to-be-in-rpm-fusion/"
57 SRC_URI="http://download1.rpmfusion.org/nonfree/fedora/updates/testing/11/SRPMS/psb-kmod-4.41.1-10.fc11.src.rpm"
58
59 LICENSE="GPL-2"
60 SLOT="0"
61 KEYWORDS="~x86"
62 IUSE=""
63
64 DEPEND="x11-drivers/psb-firmware"
65 RDEPEND=""
66
67 S=${WORKDIR}/psb-kernel-source-4.41.1
68
69 pkg_setup() {
70 linux-mod_pkg_setup
71
72 local CONFIG_CHECK="FB_CFB_FILLRECT FB_CFB_COPYAREA FB_CFB_IMAGEBLIT ~FRAMEBUFFER_CONSOLE !DRM"
73 local ERROR_FB_CFB_FILLRECT="You don't have CONFIG_FB_CFB_FILLRECT enabled in you kernel config. To do this either hack drivers/video/Kconfig or enable an FB driver that pulls it in (for example VESAFB)"
74 local ERROR_FB_CFB_COPYAREA="You don't have CONFIG_FB_CFB_FILLRECT enabled in you kernel config. To do this either hack drivers/video/Kconfig or enable an FB driver that pulls it in (for example VESAFB)"
75 local ERROR_FB_CFB_IMAGEBLIT="You don't have CONFIG_FB_CFB_IMAGEBLIT enabled in you kernel config. To do this either hack drivers/video/Kconfig or enable an FB driver that pulls it in (for example VESAFB)"
76 local WARNING_FBCON="You should really have CONFIG_FRAMEBUFFER_CONSOLE set in your kernel config. Otherwise you will get a seriously messed up console. You can work around this by loading the psb module with no_fb=1"
77
78 check_extra_config
79
80 linux_chkconfig_builtin "FRAMEBUFFER_CONSOLE" || ewarn "You really should not have CONFIG_FRAMEBUFFER_CONSOLE as a module. Otherwise you will get a seriously messed up console. You can work around this by loading the psb module with no_fb=1"
81 }
82
83 src_prepare()
84 {
85 if kernel_is ge 2 6 29 ; then
86 epatch "${WORKDIR}/psb-kmd-4.34-current_euid.patch"
87 epatch "${WORKDIR}/psb-kernel-source-4.41.1-i2c-intelfb.patch"
88 fi
89 if kernel_is ge 2 6 30 ; then
90 epatch "${WORKDIR}/${PN}-4.41.1_irqreturn.patch"
91 epatch "${WORKDIR}/${PN}-4.41.1_busid.patch"
92 fi
93 if kernel_is ge 2 6 31 ; then
94 epatch "${WORKDIR}/psb-kernel-source-4.41.1-agp_memory.patch"
95 fi
96 epatch "${WORKDIR}/psb-kernel-source-4.41.1-drmpsb.patch"
97 }
98
99 src_compile()
100 {
101 # dirty hack :(
102 LINUXDIR=/usr/src/linux emake DRM_MODULES=psb || die
103 }
104
105 src_install()
106 {
107 MODULE_NAMES="drm-psb(kernel/drivers/gpu/drm:${S}:${S}) psb(kernel/drivers/gpu/drm:${S}:${S})"
108 MODULESD_PSB_ALIASES=(
109 "pci:v00008086d00008108sv*sd*bc*sc*i* psb"
110 "pci:v00008086d00008109sv*sd*bc*sc*i* psb"
111 )
112
113 linux-mod_src_install
114 }