Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 25265 Details for
Bug 39804
qcad-2.0.1.0 emerge fails, problems writing to qt directory
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
qcad-2.0.2.0.ebuild
qcad-2.0.2.0.ebuild (text/plain), 1.54 KB, created by
Carsten Lohrke (RETIRED)
on 2004-02-09 08:56:46 UTC
(
hide
)
Description:
qcad-2.0.2.0.ebuild
Filename:
MIME Type:
Creator:
Carsten Lohrke (RETIRED)
Created:
2004-02-09 08:56:46 UTC
Size:
1.54 KB
patch
obsolete
># Copyright 1999-2004 Gentoo Technologies, Inc. ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >MY_P=${P}-1.src >S=${WORKDIR}/${MY_P} >DESCRIPTION="A 2D CAD package based upon Qt." >SRC_URI="http://www.ribbonsoft.com/archives/qcad/${MY_P}.tar.gz" >HOMEPAGE="http://www.ribbonsoft.com/qcad.html" > >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="x86 ~ppc" > >DEPEND=">=x11-libs/qt-3 > >=sys-apps/sed-4" > >src_unpack() { > unpack ${A} > cd ${S} > # reusing patch from previous version > epatch ${FILESDIR}/${MY_P/0.2/0.1}-gentoo.patch > cd ${S}/scripts > sed -i -e 's/^make/make ${MAKEOPTS}/' build_qcad.sh > sed -i -e 's/^\.\/configure/.\/configure --host=${CHOST}/' build_qcad.sh > # 2.0.1.0 sets QTDIR, I guess by accident > sed -i -e 's:^export QTDIR=.*::' build_qcad.sh >} > > >src_compile() { > ### borrowed from kde.eclass # > # > # fix the sandbox errors "can't writ to .kde or .qt" problems. > # this is a fake homedir that is writeable under the sandbox, so that the build process > # can do anything it wants with it. > REALHOME="$HOME" > mkdir -p $T/fakehome/.kde > mkdir -p $T/fakehome/.qt > export HOME="$T/fakehome" > addwrite "${QTDIR}/etc/settings" > # things that should access the real homedir > [ -d "$REALHOME/.ccache" ] && ln -sf "$REALHOME/.ccache" "$HOME/" > > cd scripts > sh build_qcad.sh || die "build failed" >} > >src_install () { > cd qcad > mv qcad qcad.bin > dobin qcad.bin > echo -e "#!/bin/sh\ncd /usr/share/${P}\nqcad.bin" > qcad > chmod ugo+rx qcad > dobin qcad > dodir /usr/share/${P} > cp -a patterns examples fonts scripts qm ${D}/usr/share/${P} > cd .. > dodoc README >} >
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 39804
: 25265