summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2008-12-08 20:06:51 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2008-12-08 20:06:51 +0000
commit7baf3bf79a90d4a83d4f6c724e1c53af30b397c6 (patch)
tree4eaf7a6d7433a7562fe9d0b8860f147347d969e1 /sci-misc
parentMarking libsigc++-1.2.7 ppc64 for bug 245636 (diff)
downloadgentoo-2-7baf3bf79a90d4a83d4f6c724e1c53af30b397c6.tar.gz
gentoo-2-7baf3bf79a90d4a83d4f6c724e1c53af30b397c6.tar.bz2
gentoo-2-7baf3bf79a90d4a83d4f6c724e1c53af30b397c6.zip
Removed old versions
(Portage version: 2.2_rc17/cvs/Linux 2.6.25-gentoo-r7 x86_64)
Diffstat (limited to 'sci-misc')
-rw-r--r--sci-misc/qcad/files/manual.patch-r115
-rw-r--r--sci-misc/qcad/qcad-2.0.4.0-r3.ebuild85
-rw-r--r--sci-misc/qcad/qcad-2.0.4.0-r5.ebuild91
3 files changed, 0 insertions, 191 deletions
diff --git a/sci-misc/qcad/files/manual.patch-r1 b/sci-misc/qcad/files/manual.patch-r1
deleted file mode 100644
index a607ddc2feee..000000000000
--- a/sci-misc/qcad/files/manual.patch-r1
+++ /dev/null
@@ -1,15 +0,0 @@
---- qcad/src/qc_applicationwindow.cpp 2004-09-14 22:13:07.000000000 +0200
-+++ qcad/src/qc_applicationwindow.cpp.new 2004-09-30 10:00:04.415741888 +0200
-@@ -2765,10 +2765,10 @@
- RS_SYSTEM->getAppDir().latin1());
- RS_DEBUG->print("QC_ApplicationWindow::slotHelpManual(): appdir: %s",
- RS_SYSTEM->getAppDir().latin1());
-- assistant = new QAssistantClient(RS_SYSTEM->getAppDir()+"/bin", this);
-+ assistant = new QAssistantClient("FULLASSISTANTPATH", this);
- QStringList args;
- args << "-profile";
-- args << QDir::convertSeparators(RS_SYSTEM->getDocPath() + "/qcaddoc.adp");
-+ args << QDir::convertSeparators("QCADDOCPATH/qcaddoc.adp");
- // args << QString("doc") + QDir::separator() + QString("qcaddoc.adp");
-
- #if QT_VERSION>=0x030200
diff --git a/sci-misc/qcad/qcad-2.0.4.0-r3.ebuild b/sci-misc/qcad/qcad-2.0.4.0-r3.ebuild
deleted file mode 100644
index 5bf0740324ac..000000000000
--- a/sci-misc/qcad/qcad-2.0.4.0-r3.ebuild
+++ /dev/null
@@ -1,85 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-misc/qcad/qcad-2.0.4.0-r3.ebuild,v 1.12 2007/12/31 19:24:55 je_fro Exp $
-
-inherit kde-functions eutils
-
-MY_PV=${PV}-1
-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
- doc? ( mirror://gentoo/qcad-manual-200404.tar.bz2
- http://dev.gentoo.org/~phosphan/qcad-manual-200404.tar.bz2 )"
-HOMEPAGE="http://www.ribbonsoft.com/qcad.html"
-
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="doc"
-KEYWORDS="amd64 hppa ppc ppc64 x86"
-
-DEPEND=">=sys-apps/sed-4"
-need-qt 3.3
-
-src_unpack() {
- unpack ${A}
- # Bug 112864 - fix dir unpack bug
- touch "${WORKDIR}"
- cd "${S}"
- echo >> defs.pro "DEFINES += _REENTRANT QT_THREAD_SUPPORT"
- echo >> defs.pro "CONFIG += thread release"
- echo >> defs.pro "QMAKE_CFLAGS_RELEASE += ${CFLAGS}"
- echo >> defs.pro "QMAKE_CXXFLAGS_RELEASE += ${CXXFLAGS}"
- for file in */Makefile scripts/build_qcad.sh; do
- sed -i -e 's~qmake~${QTDIR}/bin/qmake~g' $file || \
- die "unable to correct path to qmake in $file"
- done
- epatch "${FILESDIR}"/${MY_P}-gentoo.patch
- epatch "${FILESDIR}"/manual.patch-r1
- epatch "${FILESDIR}"/${MY_P}-intptr.patch
- cd "${S}"/scripts
- sed -i -e 's/^make/make ${MAKEOPTS}/' build_qcad.sh || \
- die "unable to add MAKEOPTS"
- sed -i -e 's/^\.\/configure/.\/configure --host=${CHOST}/' build_qcad.sh \
- || die "unable to set CHOST"
- cd "${S}"/qcad/src
- sed -i -e "s:FULLASSISTANTPATH:${QTDIR}/bin:" qc_applicationwindow.cpp \
- || die "sed failed on assistant path"
- sed -i -e "s:QCADDOCPATH:/usr/share/doc/${PF}:" \
- qc_applicationwindow.cpp || die "sed failed on manual path"
-
-}
-
-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"
- # things that should access the real homedir
- [ -d "$REALHOME/.ccache" ] && ln -sf "$REALHOME/.ccache" "$HOME/"
- cd scripts
- sh build_qcad.sh || die "build failed"
- if ! test -f "${S}"/qcad/qcad; then
- die "no binary created, build failed"
- fi
-}
-
-src_install () {
- cd qcad
- dobin qcad
- dodir /usr/share/${P}
- cp -pPR patterns examples fonts qm "${D}"/usr/share/${P}
- cd ..
- dodoc README
- if use doc; then
- insinto /usr/share/doc/${PF}/
- cd "${WORKDIR}"
- cp -pPR qcaddoc.adp cad "${D}"usr/share/doc/${PF}
- fi
- make_desktop_entry ${PN} ${PN} ${PN} Office
-}
diff --git a/sci-misc/qcad/qcad-2.0.4.0-r5.ebuild b/sci-misc/qcad/qcad-2.0.4.0-r5.ebuild
deleted file mode 100644
index b86d63c18e83..000000000000
--- a/sci-misc/qcad/qcad-2.0.4.0-r5.ebuild
+++ /dev/null
@@ -1,91 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-misc/qcad/qcad-2.0.4.0-r5.ebuild,v 1.4 2008/04/27 12:54:27 markusle Exp $
-
-inherit kde-functions eutils
-
-MY_PV=${PV}-1
-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
- doc? ( mirror://gentoo/qcad-manual-200404.tar.bz2
- http://dev.gentoo.org/~phosphan/qcad-manual-200404.tar.bz2 )"
-HOMEPAGE="http://www.ribbonsoft.com/qcad.html"
-
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="doc"
-KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86"
-
-DEPEND=">=sys-apps/sed-4"
-need-qt 3.3
-
-src_unpack() {
- unpack ${A}
- # Bug 112864 - fix dir unpack bug
- touch "${WORKDIR}"
- cd "${S}"
- echo >> defs.pro "DEFINES += _REENTRANT QT_THREAD_SUPPORT"
- echo >> defs.pro "CONFIG += thread release"
- echo >> defs.pro "QMAKE_CFLAGS_RELEASE += ${CFLAGS}"
- echo >> defs.pro "QMAKE_CXXFLAGS_RELEASE += ${CXXFLAGS}"
- for file in */Makefile scripts/build_qcad.sh; do
- sed -i -e 's~qmake~${QTDIR}/bin/qmake~g' $file || \
- die "unable to correct path to qmake in $file"
- done
- epatch "${FILESDIR}"/${MY_P}-gentoo.patch
- epatch "${FILESDIR}"/manual.patch-r1
- epatch "${FILESDIR}"/${MY_P}-intptr.patch
- epatch "${FILESDIR}"/${P}-gcc43.patch
- cd "${S}"/scripts
- sed -i -e 's/^make/make ${MAKEOPTS}/' build_qcad.sh || \
- die "unable to add MAKEOPTS"
- sed -i -e 's/^\.\/configure/.\/configure --host=${CHOST}/' build_qcad.sh \
- || die "unable to set CHOST"
- cd "${S}"/qcad/src
- sed -i -e "s:FULLASSISTANTPATH:${QTDIR}/bin:" qc_applicationwindow.cpp \
- || die "sed failed on assistant path"
- sed -i -e "s:QCADDOCPATH:/usr/share/doc/${PF}:" \
- qc_applicationwindow.cpp || die "sed failed on manual path"
-
-}
-
-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"
- # things that should access the real homedir
- [ -d "$REALHOME/.ccache" ] && ln -sf "$REALHOME/.ccache" "$HOME/"
- cd scripts
- sh build_qcad.sh || die "build failed"
- if ! test -f "${S}"/qcad/qcad; then
- die "no binary created, build failed"
- fi
-}
-
-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 -pPR patterns examples fonts qm "${D}"/usr/share/${P}
- doicon src/xpm/${PN}.xpm
- make_desktop_entry ${PN} QCad ${PN} Office
- cd ..
- dodoc README
- if use doc; then
- insinto /usr/share/doc/${PF}/
- cd "${WORKDIR}"
- cp -pPR qcaddoc.adp cad "${D}"usr/share/doc/${PF}
- fi
-}