Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 171577 Details for
Bug 204755
app-emulation/emul-linux-x86-xlibs-20071230 opengl crashes X with Intel 965GM chipset
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
multilib libdrm-2.4.1
libdrm-2.4.1.ebuild (text/plain), 3.93 KB, created by
Bernd Buschinski
on 2008-11-12 21:34:27 UTC
(
hide
)
Description:
multilib libdrm-2.4.1
Filename:
MIME Type:
Creator:
Bernd Buschinski
Created:
2008-11-12 21:34:27 UTC
Size:
3.93 KB
patch
obsolete
># Copyright 1999-2008 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/cvsroot/gentoo-x86/x11-libs/libdrm/libdrm-2.4.0.ebuild,v 1.8 2007/05/20 20:47:52 jer Exp $ > ># Must be before x-modular eclass is inherited >#SNAPSHOT="yes" > >inherit eutils autotools multilib x-modular toolchain-funcs > >EMULTILIB_PKG="true" > >#EGIT_REPO_URI="git://anongit.freedesktop.org/git/mesa/drm" >#EGIT_PROJECT="drm" >#EGIT_BOOTSTRAP="eautoreconf" >##EGIT_BRANCH="modesetting-101-hotplug" >##EGIT_BRANCH="drm-gem" >##EGIT_TREE="${EGIT_BRANCH}" > >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}" > >PATCHES=( > "${FILESDIR}/2.4.1-intel-Restart-on-interrupt-of-bo_wait_rendering-ins.patch" > ) > >#src_unpack() { ># git_src_unpack ># ># cd ${S} >## epatch "${FILESDIR}/${P}-gem.patch" >#} > >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} "${D}"/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 >} > >libdrm_src_compile() { > local myconf > local OCFLAGS="" > local OCXXFLAGS="" > local OCHOST="" > CC="$(tc-getCC)" > CXX="$(tc-getCXX)" > > if has_multilib_profile ; then > OCFLAGS="${CFLAGS}" > OCXXFLAGS="${CXXFLAGS}" > OCHOST="${CHOST}" > if use amd64 || use ppc64 ; then > case ${ABI} in > x86) CHOST="i686-${OCHOST#*-}" > CFLAGS="${OCFLAGS} -m32" > CXXFLAGS="${OCXXFLAGS} -m32" > ;; > amd64) CHOST="x86_64-${OCHOST#*-}" > CFLAGS="${OCFLAGS} -m64" > CXXFLAGS="${CXXFLAGS} -m64" > ;; > ppc) CHOST="powerpc-${OCHOST#*-}" > CFLAGS="${OCFLAGS} -m32" > CXXFLAGS="${OCXXFLAGS} -m32" > ;; > ppc64) CHOST="powerpc64-${OCHOST#*-}" > CFLAGS="${OCFLAGS} -m64" > CXXFLAGS="${OCXXFLAGS} -m64" > ;; > *) die "Unknown ABI" > ;; > esac > fi > fi > > mkdir "${S}/objdir-${ABI}" > cd "${S}/objdir-${ABI}" > > ECONF_SOURCE=".." econf || die > > emake || die > > if has_multilib_profile; then > CFLAGS="${OCFLAGS}" > CXXFLAGS="${OCXXFLAGS}" > CHOST="${OCHOST}" > fi >} > >libdrm_src_install() { > einfo "Installing libdrm ${ABI} ..." > cd "${S}/objdir-${ABI}" > > dodir /usr > emake \ > DESTDIR="${D}" \ > install || die "Installation failed" > >} > >src_compile() { > if [[ -z ${OABI} ]] ; then > local abilist="" > if has_multilib_profile ; then > abilist=$(get_install_abis) > einfo "Building multilib libdrm for ABIs: ${abilist}" > elif is_crosscompile || tc-is-cross-compiler ; then > abilist=${DEFAULT_ABI} > fi > if [[ -n ${abilist} ]] ; then > OABI=${ABI} > for ABI in ${abilist} ; do > export ABI > src_compile > done > ABI=${OABI} > unset OABI > return 0 > fi > fi > libdrm_src_compile >} > >src_install() { > if [[ -z ${OABI} ]] ; then > local abilist="" > if has_multilib_profile ; then > abilist=$(get_install_abis) > einfo "Installing multilib libdrm for ABIs: ${abilist}" > elif is_crosscompile || tc-is-cross-compiler ; then > abilist=${DEFAULT_ABI} > fi > if [[ -n ${abilist} ]] ; then > OABI=${ABI} > for ABI in ${abilist} ; do > export ABI > src_install > done > ABI=${OABI} > unset OABI > return 0 > fi > fi > > libdrm_src_install >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 204755
:
154545
|
154653
|
154655
|
154661
|
154663
|
154695
|
154697
|
154763
|
158747
|
164909
|
164910
|
171577
|
171578
|
173365
|
174019
|
177093
|
181869
|
181870