summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Baergen <joshuabaergen@gentoo.org>2006-11-10 03:48:39 +0000
committerJoshua Baergen <joshuabaergen@gentoo.org>2006-11-10 03:48:39 +0000
commit6f2406fc76408673a9b3ba1ba16a5c44596fb370 (patch)
tree1f3da2ce208163d619a4a24d339dd5594262a072 /x11-libs
parentBump for 7.2RC2. Includes build fix for systems with <elf_abi.h> instead of (diff)
downloadgentoo-2-6f2406fc76408673a9b3ba1ba16a5c44596fb370.tar.gz
gentoo-2-6f2406fc76408673a9b3ba1ba16a5c44596fb370.tar.bz2
gentoo-2-6f2406fc76408673a9b3ba1ba16a5c44596fb370.zip
Version bump for 7.2RC2 with support for upcoming X servers. Adds drmOpenOnce
and drmCloseOnce and support for the server to use the system libdrm, instead of the (now) removed internal one. These changes are only important for GIT head or >=1.2.99.0 servers. (Portage version: 2.1.2_rc1-r5)
Diffstat (limited to 'x11-libs')
-rw-r--r--x11-libs/libdrm/ChangeLog11
-rw-r--r--x11-libs/libdrm/files/digest-libdrm-2.3.03
-rw-r--r--x11-libs/libdrm/libdrm-2.3.0.ebuild36
3 files changed, 49 insertions, 1 deletions
diff --git a/x11-libs/libdrm/ChangeLog b/x11-libs/libdrm/ChangeLog
index cffef62867f4..8b0d8c9f0627 100644
--- a/x11-libs/libdrm/ChangeLog
+++ b/x11-libs/libdrm/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for x11-libs/libdrm
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/libdrm/ChangeLog,v 1.38 2006/11/02 23:49:33 joshuabaergen Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/libdrm/ChangeLog,v 1.39 2006/11/10 03:48:39 joshuabaergen Exp $
+
+*libdrm-2.3.0 (10 Nov 2006)
+
+ 10 Nov 2006; Joshua Baergen <joshuabaergen@gentoo.org>
+ -libdrm-2.2.0.ebuild, +libdrm-2.3.0.ebuild:
+ Version bump for 7.2RC2 with support for upcoming X servers. Adds drmOpenOnce
+ and drmCloseOnce and support for the server to use the system libdrm, instead
+ of the (now) removed internal one. These changes are only important for GIT
+ head or >=1.2.99.0 servers.
*libdrm-2.2.0 (02 Nov 2006)
diff --git a/x11-libs/libdrm/files/digest-libdrm-2.3.0 b/x11-libs/libdrm/files/digest-libdrm-2.3.0
new file mode 100644
index 000000000000..66440173bd67
--- /dev/null
+++ b/x11-libs/libdrm/files/digest-libdrm-2.3.0
@@ -0,0 +1,3 @@
+MD5 f2f5d3186bee51be49e1389bed39a7ed libdrm-2.3.0.tar.gz 391509
+RMD160 2ca594cf17fc074b1addd1f370dd3409b5a03dd7 libdrm-2.3.0.tar.gz 391509
+SHA256 76f90a22e141832bccea3fabf14e2b2a53e1ff72fe8414e2836ea8ac7e2e3dab libdrm-2.3.0.tar.gz 391509
diff --git a/x11-libs/libdrm/libdrm-2.3.0.ebuild b/x11-libs/libdrm/libdrm-2.3.0.ebuild
new file mode 100644
index 000000000000..402d3b58f37b
--- /dev/null
+++ b/x11-libs/libdrm/libdrm-2.3.0.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/libdrm/libdrm-2.3.0.ebuild,v 1.1 2006/11/10 03:48:39 joshuabaergen Exp $
+
+# Must be before x-modular eclass is inherited
+#SNAPSHOT="yes"
+
+inherit x-modular
+
+DESCRIPTION="X.Org libdrm library"
+HOMEPAGE="http://dri.freedesktop.org/"
+SRC_URI="http://dri.freedesktop.org/libdrm/${P}.tar.gz"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
+RDEPEND=""
+DEPEND="${RDEPEND}"
+
+pkg_preinst() {
+ x-modular_pkg_preinst
+
+ if [[ -e ${ROOT}/usr/$(get_libdir)/libdrm.so.1 ]] ; then
+ cp -pPR "${ROOT}"/usr/$(get_libdir)/libdrm.so.{1,1.0.0} "${IMAGE}"/usr/$(get_libdir)/
+ fi
+}
+
+pkg_postinst() {
+ x-modular_pkg_postinst
+
+ if [[ -e ${ROOT}/usr/$(get_libdir)/libdrm.so.1 ]] ; then
+ elog "You must re-compile all packages that are linked against"
+ elog "libdrm 1 by using revdep-rebuild from gentoolkit:"
+ elog "# revdep-rebuild --library libdrm.so.1"
+ elog "After this, you can delete /usr/$(get_libdir)/libdrm.so.1"
+ elog "and /usr/$(get_libdir)/libdrm.so.1.0.0 ."
+ epause
+ fi
+}