diff options
author | Bryan Stine <battousai@gentoo.org> | 2008-07-11 02:51:08 +0000 |
---|---|---|
committer | Bryan Stine <battousai@gentoo.org> | 2008-07-11 02:51:08 +0000 |
commit | 12097f6069cb04d1d40357321cad7a2045b6feac (patch) | |
tree | d29138da318980851b21e4466b9ba41c36126d09 /x11-base | |
parent | Stable for HPPA (maybe bug #231233). Fixed quoting. (diff) | |
download | historical-12097f6069cb04d1d40357321cad7a2045b6feac.tar.gz historical-12097f6069cb04d1d40357321cad7a2045b6feac.tar.bz2 historical-12097f6069cb04d1d40357321cad7a2045b6feac.zip |
20071019 patchball 0.2 -> restore 2.6.25 compat, bug #218419. QA cleanup, ditch 20051223.
Package-Manager: portage-2.2_rc1/cvs/Linux 2.6.26-rc8 i686
Diffstat (limited to 'x11-base')
-rw-r--r-- | x11-base/x11-drm/ChangeLog | 11 | ||||
-rw-r--r-- | x11-base/x11-drm/Manifest | 13 | ||||
-rw-r--r-- | x11-base/x11-drm/x11-drm-20051223.ebuild | 246 | ||||
-rw-r--r-- | x11-base/x11-drm/x11-drm-20060608-r1.ebuild | 7 | ||||
-rw-r--r-- | x11-base/x11-drm/x11-drm-20070314.ebuild | 7 | ||||
-rw-r--r-- | x11-base/x11-drm/x11-drm-20071019.ebuild | 9 |
6 files changed, 21 insertions, 272 deletions
diff --git a/x11-base/x11-drm/ChangeLog b/x11-base/x11-drm/ChangeLog index 0a3e30be33f0..1d8373a29d80 100644 --- a/x11-base/x11-drm/ChangeLog +++ b/x11-base/x11-drm/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for x11-base/x11-drm -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-base/x11-drm/ChangeLog,v 1.55 2007/10/20 04:41:32 battousai Exp $ +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/x11-base/x11-drm/ChangeLog,v 1.56 2008/07/11 02:51:08 battousai Exp $ + + 11 Jul 2008; Bryan Stine <battousai@gentoo.org> -x11-drm-20051223.ebuild, + x11-drm-20060608-r1.ebuild, x11-drm-20070314.ebuild, + x11-drm-20071019.ebuild: + Push patchball 0.2 for 20071019 to restore compatibility with 2.6.25. + Closes bug #218419, thanks to reporter Antti Mäkelä for providing the + patch. Additionally, clean up QA notices and expunge old version 20051223. *x11-drm-20071019 (20 Oct 2007) diff --git a/x11-base/x11-drm/Manifest b/x11-base/x11-drm/Manifest index 677896340a50..92c348d386f5 100644 --- a/x11-base/x11-drm/Manifest +++ b/x11-base/x11-drm/Manifest @@ -1,16 +1,13 @@ AUX modules.d-x11-drm 40 RMD160 7bdcba81be1a55311e31ec4ef88dc9c1b7ec85c8 SHA1 1e3f21939861925967dfba152e2309fb3fa65f26 SHA256 97fb08b2c529d65b415dec23dc7130721be9850129100e4b7063baa1060641e2 -DIST linux-drm-20051223-kernelsource.tar.bz2 560381 RMD160 4f5707a9de908eb1bab44162588d6f29241a9df4 SHA1 705ec2ce431d72292e1ff0ddbcc4b195a7cd8186 SHA256 cdf54b79d06a92afb3d3f68550c5f4864544d03464b3fc1cc0d954eb18cac2ef DIST linux-drm-20060608-kernelsource.tar.bz2 568004 RMD160 253608313539a651ad6724bcb67b5f4ab28eaf4f SHA1 466c1410c05f715286cf44437c1946cdaacf2cde SHA256 5f2346f3eba114c4d5655325f3fd51e0b74f6f627bf0c4e435103c8972f52731 DIST linux-drm-20070314-kernelsource.tar.bz2 424009 RMD160 649e007221b1a92e6604695f9467e065bc90e6b8 SHA1 b8d8c12affaa85d8e9eb025bc3a5516afaf53719 SHA256 ff9b834426fdbcee24991c42acef823c8beab6c15baec0c39e66a5acb790fd69 DIST linux-drm-20071019-kernelsource.tar.bz2 487002 RMD160 501cba11044cda6cd88e6183ec68b2669ea1d558 SHA1 4afbac5b18be2671e3d422e5996f8fcf5516c072 SHA256 28c8fb25351cc05733c5aed5128e034009d2094681f9b4df6387c0c29a2803a9 -DIST x11-drm-20051223-gentoo-0.2.tar.bz2 2451 RMD160 f04dc1d07b81b384d53db68f3b1385693187c283 SHA1 a7a50dbdcb469c0bd32e3e65300ccbe24a72f348 SHA256 1fcab4021db6135d2346a7547f89afda0042fc6cefaaf20ee0db5fed7bd9c4b2 DIST x11-drm-20060608-gentoo-0.3.tar.bz2 3684 RMD160 ce8b7816048143bf7bf79f755a0380dadb47e1b4 SHA1 33e8bf92569dcf8a61661f9d324211b2746b1c02 SHA256 e39fc9e7dbffdb125afd2d94e5d329ab7d723ad883a23cbd3fa02122622a26dd DIST x11-drm-20070314-gentoo-0.1.tar.bz2 980 RMD160 af1d8089b70c62d0c650b25eab0a1bc129c48a7b SHA1 9e1ebfd78d926bf0b299bae6a2088b6e996597f8 SHA256 8e17b5580993e0e42ab76a347ed6edcb561beb9f69ea4baed744add18a0a14f2 -DIST x11-drm-20071019-gentoo-0.1.tar.bz2 1016 RMD160 47aacc9f650f07ba0e18343bdd606e25a64c5a40 SHA1 9169bcf2da00052dfb3ddff23ee5579c11b7868a SHA256 d40d5bbb39c2d742854f0144b917e84678a9b1f04f43d9e3c6c522314dc837a6 -EBUILD x11-drm-20051223.ebuild 6416 RMD160 4a58cdf298e47222a5eab2ef183604a07f00429c SHA1 8cb0a8984d6879e8a049de141f966f3f77aa7750 SHA256 e020607e4daf2bfbafe35880ebe5b2ce329b1209c066bdd4dcfc8bc8c062108d -EBUILD x11-drm-20060608-r1.ebuild 8304 RMD160 81e3e37cfdf150d45e20be1faba82beaae9f76cf SHA1 02366dc440bb7803c8b407c0df9b97015d0e4c45 SHA256 4b54f2582a0a59c30226a8aa039593a13715c80f9b01ea4add7c4880ff4c2e4e +DIST x11-drm-20071019-gentoo-0.2.tar.bz2 1680 RMD160 8f2c615500cfeeb4ae71147207d62a1b2de6a76b SHA1 97b1b27daff91e8c7849f831024494c6d73a4482 SHA256 da2c20faa9c9d8dd9583737d8526052c0cefce8bfe97d80a2d43ba245ddfabb3 +EBUILD x11-drm-20060608-r1.ebuild 8281 RMD160 fa7894bfcb294d3e549ce959c4c50a4ea4bec0e0 SHA1 94c43dcb0d8daf5d327c3a3a2630daddecab0f88 SHA256 d51be111dfc27161d2b96256816c546f527eb90c5bce44b8ebe0c4f64c707f58 EBUILD x11-drm-20060608.ebuild 6170 RMD160 38b75375805fe021b262d32e2a58f715185346d2 SHA1 2f7f5a521361fea5cf7f45e0f7428675ff260aea SHA256 56c5badbb9fc41b82fb36886ea9da14c40c475509cf607e9eda6dd5ad060c0f7 -EBUILD x11-drm-20070314.ebuild 8096 RMD160 2b82cfcbfb86d5785d62d641fac83813f1542cbd SHA1 bbd490ef3c832d2172497cae7ec3c280d8c66ba9 SHA256 7c78cef6eb6b490118cc594b34954b955b9f62de8b1c8eb0ecad8c56df035ab6 -EBUILD x11-drm-20071019.ebuild 8076 RMD160 35e401d0680e6ab93687c41b7eba2a6116595b13 SHA1 30148a644443c3ffdec8d5805a7a029311fcbc64 SHA256 a75f013d532fb9827cf21d8dc0d4112e9af018634487384b9828e1c4296a0a2c -MISC ChangeLog 23865 RMD160 846133f5560be16688266e49b619de6a8c81debe SHA1 4f664846e4764c17aedb7d0a011904141a1c182a SHA256 00164cf7a56fd64983789dcbb802aa372da25a47c63d9e634f1d19a6176da8ca +EBUILD x11-drm-20070314.ebuild 8073 RMD160 40c043601087dabf1086fc636fe87c440d4a6be3 SHA1 99d070795ee42a4760b34e358884b96fc6ad3063 SHA256 994817ee4a0314da2fe34889c65e7296ad2aa99246e5249378383fbf63df557f +EBUILD x11-drm-20071019.ebuild 8053 RMD160 d92e9b127aa857942da6f92c63a22d1107cf0cc0 SHA1 ebdffea34f43d3b7297f7a2f44965c48cc0345e9 SHA256 5ba21236646e0ffe14e721ef7f90ede73b48d811f50fb31a27aeb45ebb641e7e +MISC ChangeLog 24247 RMD160 780dda6798bfa40c6c557304facb9c70677f1b0f SHA1 5b38ce0c58f0e9559be90445a3386224abdb9a05 SHA256 8af93c0ae30629a4e848a95b881d6eef7b1ffc8aa20644c469f04c77badc5b1c MISC metadata.xml 368 RMD160 cbe279aeafeae0af3633fbd1ecaa59d2f54579b8 SHA1 5104adf2f1ebe1ddffe4ca95e7b5e5f06267f842 SHA256 e73a5c428f39881de8ae5acf40958e8ad37a5fe92c2bb8cc4060704c9be45ef1 diff --git a/x11-base/x11-drm/x11-drm-20051223.ebuild b/x11-base/x11-drm/x11-drm-20051223.ebuild deleted file mode 100644 index dd90fb8d825e..000000000000 --- a/x11-base/x11-drm/x11-drm-20051223.ebuild +++ /dev/null @@ -1,246 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-base/x11-drm/x11-drm-20051223.ebuild,v 1.14 2007/10/09 07:36:00 dberkholz Exp $ - -inherit eutils x11 linux-mod - -IUSE_VIDEO_CARDS=" - video_cards_i810 - video_cards_mach64 - video_cards_mga - video_cards_nv - video_cards_r128 - video_cards_radeon - video_cards_savage - video_cards_sis - video_cards_sunffb - video_cards_tdfx - video_cards_via" -IUSE="${IUSE_VIDEO_CARDS}" - -# Make sure Portage does _NOT_ strip symbols. We will do it later and make sure -# that only we only strip stuff that are safe to strip ... -RESTRICT="strip" - -S="${WORKDIR}/drm" -PATCHVER="0.2" -PATCHDIR="${WORKDIR}/patch" -EXCLUDED="${WORKDIR}/excluded" - -DESCRIPTION="DRM Kernel Modules for X11" -HOMEPAGE="http://dri.sf.net" -SRC_URI="mirror://gentoo/${P}-gentoo-${PATCHVER}.tar.bz2 - mirror://gentoo/linux-drm-${PV}-kernelsource.tar.bz2" - -SLOT="0" -LICENSE="X11" -KEYWORDS="~x86 ~alpha ~ia64 ~ppc ~amd64" - -DEPEND=">=sys-devel/automake-1.7 - >=sys-devel/autoconf-2.59 - >=sys-devel/libtool-1.5.14 - >=sys-devel/m4-1.4 - virtual/linux-sources - >=sys-apps/portage-2.0.49-r13" - -pkg_setup() { - get_version - - if kernel_is 2 6 - then - if linux_chkconfig_builtin "DRM" - then - die "Please disable or modularize DRM in the kernel config. (CONFIG_DRM = n or m)" - fi - - if ! linux_chkconfig_present "AGP" - then - einfo "AGP support is not enabled in your kernel config. This may be needed for DRM to" - einfo "work, so you might want to double-check that setting. (CONFIG_AGP)" - echo - fi - elif kernel_is 2 4 - then - if ! linux_chkconfig_present "DRM" - then - die "Please enable DRM support in your kernel configuration. (CONFIG_DRM = y or m)." - echo - fi - fi - - # Set video cards to build for. - set_vidcards - - # DRM CVS is undergoing changes which require splitting source to support both 2.4 - # and 2.6 kernels. This determines which to use. - get_drm_build_dir - - return 0 -} - -src_unpack() { - unpack linux-drm-${PV}-kernelsource.tar.bz2 - unpack ${P}-gentoo-${PATCHVER}.tar.bz2 - - cd "${S}" - - patch_prepare - - # Apply patches - EPATCH_SUFFIX="patch" epatch "${PATCHDIR}" - - # Substitute new directory under /lib/modules/${KV_FULL} - cd "${SRC_BUILD}" - sed -ie "s:/kernel/drivers/char/drm:/${PN}:g" Makefile - - cp "${S}"/tests/*.c "${SRC_BUILD}" - - cd "${S}" - WANT_AUTOCONF="2.5" WANT_AUTOMAKE="1.7" autoreconf -v --install -} - -src_compile() { - einfo "Building DRM in ${SRC_BUILD}..." - cd "${SRC_BUILD}" - - # This now uses an M= build system. Makefile does most of the work. - unset ARCH - make M="${SRC_BUILD}" \ - LINUXDIR="${KERNEL_DIR}" \ - DRM_MODULES="${VIDCARDS}" \ - modules || die_error - - # Building the programs. These are useful for developers and getting info from DRI and DRM. - # - # libdrm objects are needed for drmstat. - cd "${S}" - econf || die "libdrm configure failed." - emake || die "libdrm build failed." - - if linux_chkconfig_present DRM - then - echo "Please disable in-kernel DRM support to use this package." - fi - - cd "${SRC_BUILD}" - # LINUXDIR is needed to allow Makefiles to find kernel release. - make LINUXDIR="${KERNEL_DIR}" dristat || die "Building dristat failed." - make LINUXDIR="${KERNEL_DIR}" drmstat || die "Building drmstat failed." -} - -src_install() { - einfo "Installing DRM..." - cd "${SRC_BUILD}" - - unset ARCH - kernel_is 2 6 && DRM_KMOD="drm.${KV_OBJ}" - make KV="${KV_FULL}" \ - LINUXDIR="${KERNEL_DIR}" \ - DESTDIR="${D}" \ - RUNNING_REL="${KV_FULL}" \ - MODULE_LIST="${VIDCARDS} ${DRM_KMOD}" \ - install || die "Install failed." - - dodoc README.drm - - dobin dristat - dobin drmstat - - # Strip binaries, leaving /lib/modules untouched (bug #24415) - strip_bins \/lib\/modules - - # Yoinked from the sys-apps/touchpad ebuild. Thanks to whoever made this. - keepdir /etc/modules.d - sed 's:%PN%:'${PN}':g' "${FILESDIR}"/modules.d-${PN} > "${D}"/etc/modules.d/${PN} - sed -i 's:%KV%:'${KV_FULL}':g' "${D}"/etc/modules.d/${PN} -} - -pkg_postinst() { - if use video_cards_sis - then - einfo "SiS direct rendering only works on 300 series chipsets." - einfo "SiS framebuffer also needs to be enabled in the kernel." - fi - - if use video_cards_mach64 - then - einfo "The Mach64 DRI driver is insecure." - einfo "Malicious clients can write to system memory." - einfo "For more information, see:" - einfo "http://dri.freedesktop.org/wiki/ATIMach64." - fi - - linux-mod_pkg_postinst -} - -# Functions used above are defined below: - -set_vidcards() { - set_kvobj - - POSSIBLE_VIDCARDS="mga tdfx r128 radeon i810 i830 i915 mach64 nv savage - sis via" - if use sparc; then - POSSIBLE_VIDCARDS="${POSSIBLE_VIDCARDS} ffb" - fi - VIDCARDS="" - - if [[ -n "${VIDEO_CARDS}" ]]; then - use video_cards_i810 && \ - VIDCARDS="${VIDCARDS} i810.${KV_OBJ} i830.${KV_OBJ} i915.${KV_OBJ}" - use video_cards_mach64 && \ - VIDCARDS="${VIDCARDS} mach64.${KV_OBJ}" - use video_cards_mga && \ - VIDCARDS="${VIDCARDS} mga.${KV_OBJ}" - use video_cards_nv && \ - VIDCARDS="${VIDCARDS} nv.${KV_OBJ}" - use video_cards_r128 && \ - VIDCARDS="${VIDCARDS} r128.${KV_OBJ}" - use video_cards_radeon && \ - VIDCARDS="${VIDCARDS} radeon.${KV_OBJ}" - use video_cards_savage && \ - VIDCARDS="${VIDCARDS} savage.${KV_OBJ}" - use video_cards_sis && \ - VIDCARDS="${VIDCARDS} sis.${KV_OBJ}" - use video_cards_via && \ - VIDCARDS="${VIDCARDS} via.${KV_OBJ}" - use video_cards_sunffb && \ - VIDCARDS="${VIDCARDS} ffb.${KV_OBJ}" - use video_cards_tdfx && \ - VIDCARDS="${VIDCARDS} tdfx.${KV_OBJ}" - else - for card in ${POSSIBLE_VIDCARDS}; do - VIDCARDS="${VIDCARDS} ${card}.${KV_OBJ}" - done - fi -} - -patch_prepare() { - # Handle exclusions based on the following... - # All trees (0**), Standard only (1**), Others (none right now) - # 2.4 vs. 2.6 kernels - - kernel_is 2 4 && mv -f "${PATCHDIR}"/*kernel-2.6* "${EXCLUDED}" - kernel_is 2 6 && mv -f "${PATCHDIR}"/*kernel-2.4* "${EXCLUDED}" - - # There is only one tree being maintained now. No numeric exclusions need - # to be done based on DRM tree. -} - -die_error() { - eerror "Portage could not build the DRM modules. If you see an ACCESS DENIED error," - eerror "this could mean that you were using an unsupported kernel build system. All" - eerror "2.4 kernels are supported, but only 2.6 kernels at least as new as 2.6.6" - eerror "are supported." - die "Unable to build DRM modules." -} - -get_drm_build_dir() { - if kernel_is 2 4 - then - SRC_BUILD="${S}/linux" - elif kernel_is 2 6 - then - SRC_BUILD="${S}/linux-core" - fi -} diff --git a/x11-base/x11-drm/x11-drm-20060608-r1.ebuild b/x11-base/x11-drm/x11-drm-20060608-r1.ebuild index 8559291e7007..2cb33d96683e 100644 --- a/x11-base/x11-drm/x11-drm-20060608-r1.ebuild +++ b/x11-base/x11-drm/x11-drm-20060608-r1.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-base/x11-drm/x11-drm-20060608-r1.ebuild,v 1.7 2007/10/09 07:36:00 dberkholz Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-base/x11-drm/x11-drm-20060608-r1.ebuild,v 1.8 2008/07/11 02:51:08 battousai Exp $ WANT_AUTOCONF="latest" WANT_AUTOMAKE="1.7" @@ -62,8 +62,6 @@ src_unpack() { unpack linux-drm-${PV}-kernelsource.tar.bz2 unpack ${P}-gentoo-${PATCHVER}.tar.bz2 - cd "${S}" - patch_prepare # Apply patches @@ -82,7 +80,6 @@ src_unpack() { } src_compile() { - cd "${S}" # Building the programs. These are useful for developers and getting info from DRI and DRM. # # libdrm objects are needed for drmstat. diff --git a/x11-base/x11-drm/x11-drm-20070314.ebuild b/x11-base/x11-drm/x11-drm-20070314.ebuild index 60239bbae733..3016664b872d 100644 --- a/x11-base/x11-drm/x11-drm-20070314.ebuild +++ b/x11-base/x11-drm/x11-drm-20070314.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-base/x11-drm/x11-drm-20070314.ebuild,v 1.3 2007/10/09 07:36:00 dberkholz Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-base/x11-drm/x11-drm-20070314.ebuild,v 1.4 2008/07/11 02:51:08 battousai Exp $ WANT_AUTOCONF="latest" WANT_AUTOMAKE="1.7" @@ -61,8 +61,6 @@ src_unpack() { unpack linux-drm-${PV}-kernelsource.tar.bz2 unpack ${P}-gentoo-${PATCHVER}.tar.bz2 - cd "${S}" - patch_prepare # Apply patches @@ -81,7 +79,6 @@ src_unpack() { } src_compile() { - cd "${S}" # Building the programs. These are useful for developers and getting info from DRI and DRM. # # libdrm objects are needed for drmstat. diff --git a/x11-base/x11-drm/x11-drm-20071019.ebuild b/x11-base/x11-drm/x11-drm-20071019.ebuild index fdf60771039e..c455b734a511 100644 --- a/x11-base/x11-drm/x11-drm-20071019.ebuild +++ b/x11-base/x11-drm/x11-drm-20071019.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-base/x11-drm/x11-drm-20071019.ebuild,v 1.1 2007/10/20 04:41:32 battousai Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-base/x11-drm/x11-drm-20071019.ebuild,v 1.2 2008/07/11 02:51:08 battousai Exp $ WANT_AUTOCONF="latest" WANT_AUTOMAKE="1.7" @@ -26,7 +26,7 @@ IUSE="${IUSE_VIDEO_CARDS} kernel_FreeBSD kernel_linux" RESTRICT="strip" S="${WORKDIR}/drm" -PATCHVER="0.1" +PATCHVER="0.2" PATCHDIR="${WORKDIR}/patch" EXCLUDED="${WORKDIR}/excluded" @@ -61,8 +61,6 @@ src_unpack() { unpack linux-drm-${PV}-kernelsource.tar.bz2 unpack ${P}-gentoo-${PATCHVER}.tar.bz2 - cd "${S}" - patch_prepare # Apply patches @@ -81,7 +79,6 @@ src_unpack() { } src_compile() { - cd "${S}" # Building the programs. These are useful for developers and getting info from DRI and DRM. # # libdrm objects are needed for drmstat. |