summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChí-Thanh Christopher Nguyễn <chithanh@gentoo.org>2010-08-20 17:50:09 +0000
committerChí-Thanh Christopher Nguyễn <chithanh@gentoo.org>2010-08-20 17:50:09 +0000
commitfa0ce7cc16bd4bb2494a4778e930082b08e4e0bc (patch)
tree5be7c5cf4b87821b7990ad0f92b3a44777414b36 /x11-base
parentclean up patch... (diff)
downloadhistorical-fa0ce7cc16bd4bb2494a4778e930082b08e4e0bc.tar.gz
historical-fa0ce7cc16bd4bb2494a4778e930082b08e4e0bc.tar.bz2
historical-fa0ce7cc16bd4bb2494a4778e930082b08e4e0bc.zip
Bring back nouveau-drm-20100316 for users with 2.6.32 kernels
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'x11-base')
-rw-r--r--x11-base/nouveau-drm/ChangeLog6
-rw-r--r--x11-base/nouveau-drm/Manifest4
-rw-r--r--x11-base/nouveau-drm/nouveau-drm-20100316.ebuild50
3 files changed, 58 insertions, 2 deletions
diff --git a/x11-base/nouveau-drm/ChangeLog b/x11-base/nouveau-drm/ChangeLog
index a1eb6394d392..6d3e74f96ff8 100644
--- a/x11-base/nouveau-drm/ChangeLog
+++ b/x11-base/nouveau-drm/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for x11-base/nouveau-drm
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-base/nouveau-drm/ChangeLog,v 1.11 2010/08/12 09:56:15 chithanh Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-base/nouveau-drm/ChangeLog,v 1.12 2010/08/20 17:50:09 chithanh Exp $
+
+ 20 Aug 2010; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
+ +nouveau-drm-20100316.ebuild:
+ Bring back nouveau-drm-20100316 for users with 2.6.32 kernels
*nouveau-drm-20100811 (12 Aug 2010)
diff --git a/x11-base/nouveau-drm/Manifest b/x11-base/nouveau-drm/Manifest
index e3d9b2b03135..ea4fb09a865a 100644
--- a/x11-base/nouveau-drm/Manifest
+++ b/x11-base/nouveau-drm/Manifest
@@ -1,7 +1,9 @@
AUX nouveau-drm-20100212-Makefile 2723 RMD160 468ff0dfb87ccef121e92380afb83041942719d6 SHA1 6fd23ee7d0bb40d70d6445959134919ac5d0dcba SHA256 eaab05b9e70c8557950a688027ba2708525bf97d01a9466c8da3778d8d07c2ef
+DIST nouveau-drm-20100316.tar.gz 1390122 RMD160 4ef8b327db99aef37d55e87ed20f652b71237664 SHA1 99fa5fe140c255e578528298246a55ec3badb7ee SHA256 c207c35e0434f685307787f96a11e29f01936b755e8fc1f590e66a96c8b4e4fc
DIST nouveau-drm-20100520.tar.gz 1479018 RMD160 4b3049bdfba6d9d8aaf883e985e1762c1d72c49e SHA1 9bb74ccb2acb281b0afd08099ef7714849c761a1 SHA256 769575950e9661e433777ba66d5a2d50abe9a21adad700585979f40d3cbb4dc1
DIST nouveau-drm-20100811.tar.gz 1559202 RMD160 eaf9eed7b7d023cd25b651863ea009037772afa0 SHA1 9bda1a88273ce4bd9eb393543676b6c628d2da3e SHA256 f807701f281de1150be36665d44060272a52ca55ac42fc0d9786f1cb205e781c
+EBUILD nouveau-drm-20100316.ebuild 1350 RMD160 af3df6d6ee6745cf681ed55d32ac39681a618c7f SHA1 370550b775092c116e424087f35fe541e1ebf616 SHA256 0f3ae0736ba9d4f6c81f7cb08a07c0f04c8be27f2795eef4a9116df2a8bdb929
EBUILD nouveau-drm-20100520.ebuild 1330 RMD160 94dd0995ca20e908d4e612c267756b849634373a SHA1 82cfbe78b06099057b4e98c570cd2566b76c6e04 SHA256 eb883897b4603e5460a40082a83d87d6752153c328ca088ebf2e3e7b0b64e7cd
EBUILD nouveau-drm-20100811.ebuild 1330 RMD160 0b2b08908e19b00f375ce142806a3630cfa9f2a3 SHA1 17bfbf6f2369f27001318637e66570cc04f6dfd9 SHA256 b6f8cb6a3d03ee424eb757fbaa7641392bb816b26d637676e3a08a3440190f8e
-MISC ChangeLog 2227 RMD160 1e8c176b1cf08181b98e39f7bb00d5da1763e830 SHA1 d72301c0b288f795f5dbc0f063031fcc5c1bea41 SHA256 a2ceb61cba934f033759bc6f5e12a536b6af1192283698d7ae1d6a5f82dd96e9
+MISC ChangeLog 2393 RMD160 7c2ca02639809b3012bb4d703d4119fc3a4cf453 SHA1 99d41455fde251a5906820083f5c9f5042212c72 SHA256 295eedd6d367a7c1ab602cfd022b058dd9cbcfd5fe9378717d5fb339d5989741
MISC metadata.xml 265 RMD160 24a368e280b83393abb1cda7b15e7888e1570a04 SHA1 b60c32aece47cc1c4febe46e54786494a3b913bf SHA256 1240cc1d6dda0bc1a42ca2bffe70aa6a1d34f85f28112615ceb327f58a594a16
diff --git a/x11-base/nouveau-drm/nouveau-drm-20100316.ebuild b/x11-base/nouveau-drm/nouveau-drm-20100316.ebuild
new file mode 100644
index 000000000000..ffc072199ba0
--- /dev/null
+++ b/x11-base/nouveau-drm/nouveau-drm-20100316.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-base/nouveau-drm/nouveau-drm-20100316.ebuild,v 1.4 2010/08/20 17:50:09 chithanh Exp $
+
+EAPI=2
+
+inherit linux-info linux-mod
+
+DESCRIPTION="Nouveau DRM Kernel Modules for X11"
+HOMEPAGE="http://nouveau.freedesktop.org/"
+SRC_URI="mirror://gentoo/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE=""
+
+DEPEND="virtual/linux-sources"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/master
+
+CONFIG_CHECK="~BACKLIGHT_CLASS_DEVICE ~DEBUG_FS !DRM ~FB_CFB_FILLRECT ~FB_CFB_COPYAREA ~FB_CFB_IMAGEBLIT ~FRAMEBUFFER_CONSOLE ~!FB_NVIDIA ~!FB_RIVA ~!FB_UVESA ~!FB_VGA16 ~I2C_ALGOBIT ~VGA_ARB"
+
+pkg_setup() {
+ linux-mod_pkg_setup
+ if kernel_is lt 2 6 32; then
+ eerror "You need kernel 2.6.32 for nouveau-drm"
+ die "Incompatible kernel version"
+ fi
+ if kernel_is ge 2 6 33; then
+ elog "For newer kernels newer than 2.6.32 there is integrated nouveau DRM."
+ elog "Use that if you experience build issues."
+ fi
+}
+
+src_compile() {
+ set_arch_to_kernel
+ emake \
+ LINUXDIR="${KERNEL_DIR}" \
+ NOUVEAUROOTDIR="${PWD}" \
+ -f "${FILESDIR}"/${PN}-20100212-Makefile \
+ || die "Compiling kernel modules failed"
+}
+
+src_install() {
+ insinto /lib/modules/${KV_FULL}/${PN}
+ doins drivers/gpu/drm/{*/,}*.ko || die "doins failed"
+}