summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Fisette <ribosome@gentoo.org>2005-06-26 03:19:08 +0000
committerOlivier Fisette <ribosome@gentoo.org>2005-06-26 03:19:08 +0000
commit3d282bacdb838034ff8853f39ab2028b423c0b79 (patch)
treecc71d505b37d41aff026250895001e31542d0a8e /sci-misc
parentAdded to x86. Removed obsolete versions. (diff)
downloadgentoo-2-3d282bacdb838034ff8853f39ab2028b423c0b79.tar.gz
gentoo-2-3d282bacdb838034ff8853f39ab2028b423c0b79.tar.bz2
gentoo-2-3d282bacdb838034ff8853f39ab2028b423c0b79.zip
Removed obsolete versions.
(Portage version: 2.0.51.19)
Diffstat (limited to 'sci-misc')
-rw-r--r--sci-misc/qcad/ChangeLog9
-rw-r--r--sci-misc/qcad/files/digest-qcad-2.0.2.01
-rw-r--r--sci-misc/qcad/files/digest-qcad-2.0.3.11
-rw-r--r--sci-misc/qcad/files/digest-qcad-2.0.3.1-r11
-rw-r--r--sci-misc/qcad/files/digest-qcad-2.0.4.01
-rw-r--r--sci-misc/qcad/files/manual.patch15
-rw-r--r--sci-misc/qcad/files/qcad-2.0.2.0-1.src-gentoo.patch60
-rw-r--r--sci-misc/qcad/files/qcad-2.0.3.1-1.src-gentoo.patch61
-rw-r--r--sci-misc/qcad/files/qcad-2.0.3.1-gcc34.patch14
-rw-r--r--sci-misc/qcad/qcad-2.0.2.0.ebuild62
-rw-r--r--sci-misc/qcad/qcad-2.0.3.1-r1.ebuild92
-rw-r--r--sci-misc/qcad/qcad-2.0.3.1.ebuild79
-rw-r--r--sci-misc/qcad/qcad-2.0.4.0.ebuild95
13 files changed, 8 insertions, 483 deletions
diff --git a/sci-misc/qcad/ChangeLog b/sci-misc/qcad/ChangeLog
index fe0b1ea8dbe8..3e114185f130 100644
--- a/sci-misc/qcad/ChangeLog
+++ b/sci-misc/qcad/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for sci-misc/qcad
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-misc/qcad/ChangeLog,v 1.5 2005/03/17 02:40:51 cryos Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-misc/qcad/ChangeLog,v 1.6 2005/06/26 03:19:08 ribosome Exp $
+
+ 26 Jun 2005; Olivier Fisette <ribosome@gentoo.org>
+ -files/qcad-2.0.2.0-1.src-gentoo.patch,
+ -files/qcad-2.0.3.1-1.src-gentoo.patch, -files/qcad-2.0.3.1-gcc34.patch,
+ -files/manual.patch, -qcad-2.0.2.0.ebuild, -qcad-2.0.3.1.ebuild,
+ -qcad-2.0.3.1-r1.ebuild, -qcad-2.0.4.0.ebuild:
+ Removed obsolete versions.
17 Mar 2005; Marcus D. Hanwell <cryos@gentoo.org> qcad-2.0.4.0-r1.ebuild:
Marked stable on x86 and amd64, added desktop entry - bug 75900.
diff --git a/sci-misc/qcad/files/digest-qcad-2.0.2.0 b/sci-misc/qcad/files/digest-qcad-2.0.2.0
deleted file mode 100644
index 1aea72950181..000000000000
--- a/sci-misc/qcad/files/digest-qcad-2.0.2.0
+++ /dev/null
@@ -1 +0,0 @@
-MD5 2ab7cd5d2fd1ae1c9c93f9b6327ac8e4 qcad-2.0.2.0-1.src.tar.gz 5028132
diff --git a/sci-misc/qcad/files/digest-qcad-2.0.3.1 b/sci-misc/qcad/files/digest-qcad-2.0.3.1
deleted file mode 100644
index 3edaf935d50c..000000000000
--- a/sci-misc/qcad/files/digest-qcad-2.0.3.1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 d5c87f9a416657e20da94e21dc6d4245 qcad-2.0.3.1-1.src.tar.gz 4680992
diff --git a/sci-misc/qcad/files/digest-qcad-2.0.3.1-r1 b/sci-misc/qcad/files/digest-qcad-2.0.3.1-r1
deleted file mode 100644
index 3edaf935d50c..000000000000
--- a/sci-misc/qcad/files/digest-qcad-2.0.3.1-r1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 d5c87f9a416657e20da94e21dc6d4245 qcad-2.0.3.1-1.src.tar.gz 4680992
diff --git a/sci-misc/qcad/files/digest-qcad-2.0.4.0 b/sci-misc/qcad/files/digest-qcad-2.0.4.0
deleted file mode 100644
index 6a73ddefba83..000000000000
--- a/sci-misc/qcad/files/digest-qcad-2.0.4.0
+++ /dev/null
@@ -1 +0,0 @@
-MD5 d99ae2855029af21f544e302a60d6840 qcad-2.0.4.0-1.src.tar.gz 3169984
diff --git a/sci-misc/qcad/files/manual.patch b/sci-misc/qcad/files/manual.patch
deleted file mode 100644
index dc76c4900db9..000000000000
--- a/sci-misc/qcad/files/manual.patch
+++ /dev/null
@@ -1,15 +0,0 @@
---- qcad/src/qc_applicationwindow.cpp 2004-03-27 13:37:23.000000000 +0100
-+++ qcad/src/qc_applicationwindow.cpp.new 2004-05-11 11:48:36.023896194 +0200
-@@ -2798,10 +2798,10 @@
- RS_SYSTEM->getAppDir().latin1());
- RS_DEBUG->print("QC_ApplicationWindow::slotHelpManual(): appdir: %s",
- RS_SYSTEM->getAppDir().latin1());
-- assistant = new QAssistantClient(RS_SYSTEM->getAppDir(), this);
-+ assistant = new QAssistantClient("FULLASSISTANTPATH", this);
- QStringList args;
- args << "-profile";
-- args << (RS_SYSTEM->getDocPath() + "/qcaddoc.adp");
-+ args << ("QCADDOCPATH/qcaddoc.adp");
- #if QT_VERSION>=0x030200
- assistant->setArguments(args);
- #endif
diff --git a/sci-misc/qcad/files/qcad-2.0.2.0-1.src-gentoo.patch b/sci-misc/qcad/files/qcad-2.0.2.0-1.src-gentoo.patch
deleted file mode 100644
index 215994fecbe0..000000000000
--- a/sci-misc/qcad/files/qcad-2.0.2.0-1.src-gentoo.patch
+++ /dev/null
@@ -1,60 +0,0 @@
-diff -ur qcad-2.0.1.0-1.src/qcad/Makefile qcad-2.0.1.0-1.src-gentoo/qcad/Makefile
---- qcad-2.0.1.0-1.src/qcad/Makefile 2003-10-08 10:09:05.000000000 +1300
-+++ qcad-2.0.1.0-1.src-gentoo/qcad/Makefile 2003-10-21 15:28:49.000000000 +1300
-@@ -20,7 +20,7 @@
-
- qcad: src/Makefile src/*.h src/*.cpp ../dxflib/lib/libdxf.a ../qcadguiqt/lib/libqcadguiqt.a ../qcadlib/lib/libqcad.a
- - rm qcad
-- cd src && $(MAKE)
-+ cd src && $(MAKE) CXXFLAGS="$(CXXFLAGS) -Wall -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT"
-
- src/Makefile: src/qcad.pro
- cd src && qmake qcad.pro
-diff -ur qcad-2.0.1.0-1.src/qcadactions/Makefile qcad-2.0.1.0-1.src-gentoo/qcadactions/Makefile
---- qcad-2.0.1.0-1.src/qcadactions/Makefile 2003-10-08 10:09:03.000000000 +1300
-+++ qcad-2.0.1.0-1.src-gentoo/qcadactions/Makefile 2003-10-21 14:27:13.000000000 +1300
-@@ -29,7 +29,7 @@
-
- ./lib/libqcadactions.a: src/Makefile
- $(MAKE) src/Makefile
-- cd src && $(MAKE)
-+ cd src && $(MAKE) CXXFLAGS="$(CXXFLAGS) -Wall -DRS_OPT_PYTHON -DQT_NO_DEBUG"
-
- src/Makefile:
- cd src && qmake qcadactions.pro
-diff -ur qcad-2.0.1.0-1.src/qcadcmd/Makefile qcad-2.0.1.0-1.src-gentoo/qcadcmd/Makefile
---- qcad-2.0.1.0-1.src/qcadcmd/Makefile 2003-10-08 10:09:03.000000000 +1300
-+++ qcad-2.0.1.0-1.src-gentoo/qcadcmd/Makefile 2003-10-21 14:24:06.000000000 +1300
-@@ -29,7 +29,7 @@
-
- ./lib/libqcadcmd.a: src/Makefile
- $(MAKE) src/Makefile
-- cd src && $(MAKE)
-+ cd src && $(MAKE) CXXFLAGS="$(CXXFLAGS) -Wall -DQT_NO_DEBUG"
-
- src/Makefile:
- cd src && qmake qcadcmd.pro
-diff -ur qcad-2.0.1.0-1.src/qcadguiqt/Makefile qcad-2.0.1.0-1.src-gentoo/qcadguiqt/Makefile
---- qcad-2.0.1.0-1.src/qcadguiqt/Makefile 2003-10-08 10:09:04.000000000 +1300
-+++ qcad-2.0.1.0-1.src-gentoo/qcadguiqt/Makefile 2003-10-21 14:53:40.000000000 +1300
-@@ -89,7 +89,7 @@
- done )
-
- ./lib/libqcadguiqt.a: src/Makefile
-- cd src && $(MAKE)
-+ cd src && $(MAKE) CXXFLAGS="$(CXXFLAGS) -Wall -DQT_NO_DEBUG"
-
- src/Makefile:
- cd src && qmake qcadguiqt.pro
-diff -ur qcad-2.0.1.0-1.src/qcadlib/Makefile qcad-2.0.1.0-1.src-gentoo/qcadlib/Makefile
---- qcad-2.0.1.0-1.src/qcadlib/Makefile 2003-10-08 10:09:02.000000000 +1300
-+++ qcad-2.0.1.0-1.src-gentoo/qcadlib/Makefile 2003-10-21 14:23:55.000000000 +1300
-@@ -29,7 +29,7 @@
-
- ./lib/libqcad.a: src/Makefile
- $(MAKE) src/Makefile
-- cd src && $(MAKE)
-+ cd src && $(MAKE) CXXFLAGS="$(CXXFLAGS) -Wall -DQT_NO_DEBUG"
-
- src/Makefile:
- cd src && qmake qcadlib.pro
diff --git a/sci-misc/qcad/files/qcad-2.0.3.1-1.src-gentoo.patch b/sci-misc/qcad/files/qcad-2.0.3.1-1.src-gentoo.patch
deleted file mode 100644
index a5598b641119..000000000000
--- a/sci-misc/qcad/files/qcad-2.0.3.1-1.src-gentoo.patch
+++ /dev/null
@@ -1,61 +0,0 @@
-diff -ur qcad-2.0.1.0-1.src/qcad/Makefile qcad-2.0.1.0-1.src-gentoo/qcad/Makefile
---- qcad-2.0.3.1-1.src/qcad/Makefile 2004-04-21 09:59:37.783127376 +0200
-+++ Makefile.new 2004-04-21 10:00:52.040865017 +0200
-@@ -17,7 +17,7 @@
- prepare:
-
- qcad: src/Makefile src/*.h src/*.cpp ../dxflib/lib/libdxf.a ../qcadguiqt/lib/libqcadguiqt.a ../qcadlib/lib/libqcad.a
-- cd src && $(MAKE)
-+ cd src && $(MAKE) $(MAKEOPTS)
-
- src/Makefile: src/qcad.pro
- cd src && qmake qcad.pro
-diff -ur qcad-2.0.1.0-1.src/qcadactions/Makefile qcad-2.0.1.0-1.src-gentoo/qcadactions/Makefile
---- qcad-2.0.1.0-1.src/qcadactions/Makefile 2003-10-08 10:09:03.000000000 +1300
-+++ qcad-2.0.1.0-1.src-gentoo/qcadactions/Makefile 2003-10-21 14:27:13.000000000 +1300
-@@ -29,7 +29,7 @@
-
- ./lib/libqcadactions.a: src/Makefile
- $(MAKE) src/Makefile
-- cd src && $(MAKE)
-+ cd src && $(MAKE) $(MAKEOPTS)
-
- src/Makefile:
- cd src && qmake qcadactions.pro
-diff -ur qcad-2.0.1.0-1.src/qcadcmd/Makefile qcad-2.0.1.0-1.src-gentoo/qcadcmd/Makefile
---- qcad-2.0.1.0-1.src/qcadcmd/Makefile 2003-10-08 10:09:03.000000000 +1300
-+++ qcad-2.0.1.0-1.src-gentoo/qcadcmd/Makefile 2003-10-21 14:24:06.000000000 +1300
-@@ -29,7 +29,7 @@
-
- ./lib/libqcadcmd.a: src/Makefile
- $(MAKE) src/Makefile
-- cd src && $(MAKE)
-+ cd src && $(MAKE) $(MAKEOPTS)
-
- src/Makefile:
- cd src && qmake qcadcmd.pro
-diff -ur qcad-2.0.1.0-1.src/qcadguiqt/Makefile qcad-2.0.1.0-1.src-gentoo/qcadguiqt/Makefile
---- qcad-2.0.1.0-1.src/qcadguiqt/Makefile 2003-10-08 10:09:04.000000000 +1300
-+++ qcad-2.0.1.0-1.src-gentoo/qcadguiqt/Makefile 2003-10-21 14:53:40.000000000 +1300
-@@ -89,7 +89,7 @@
- done )
-
- ./lib/libqcadguiqt.a: src/Makefile
-- cd src && $(MAKE)
-+ cd src && $(MAKE) $(MAKEOPTS)
-
- src/Makefile:
- cd src && qmake qcadguiqt.pro
-diff -ur qcad-2.0.1.0-1.src/qcadlib/Makefile qcad-2.0.1.0-1.src-gentoo/qcadlib/Makefile
---- qcad-2.0.1.0-1.src/qcadlib/Makefile 2003-10-08 10:09:02.000000000 +1300
-+++ qcad-2.0.1.0-1.src-gentoo/qcadlib/Makefile 2003-10-21 14:23:55.000000000 +1300
-@@ -29,7 +29,7 @@
-
- ./lib/libqcad.a: src/Makefile
- $(MAKE) src/Makefile
-- cd src && $(MAKE)
-+ cd src && $(MAKE) $(MAKEOPTS)
-
- src/Makefile:
- cd src && qmake qcadlib.pro
-
diff --git a/sci-misc/qcad/files/qcad-2.0.3.1-gcc34.patch b/sci-misc/qcad/files/qcad-2.0.3.1-gcc34.patch
deleted file mode 100644
index 4cab00958ea2..000000000000
--- a/sci-misc/qcad/files/qcad-2.0.3.1-gcc34.patch
+++ /dev/null
@@ -1,14 +0,0 @@
---- qcadlib/src/math/rs_math.h.orig Sat Aug 21 20:00:56 2004
-+++ qcadlib/src/math/rs_math.h Sat Aug 21 20:07:09 2004
-@@ -45,8 +45,9 @@
- #include "rs_vector.h"
-
- #ifdef __GNUC__
--#define min(x,y) (x<y ? x : y)
--#define max(x,y) (x>y ? x : y)
-+//#define min(x,y) (x<y ? x : y)
-+//#define max(x,y) (x>y ? x : y)
-+using namespace std;
- #endif
-
- #define ARAD 57.29577951308232
diff --git a/sci-misc/qcad/qcad-2.0.2.0.ebuild b/sci-misc/qcad/qcad-2.0.2.0.ebuild
deleted file mode 100644
index b8fae62de431..000000000000
--- a/sci-misc/qcad/qcad-2.0.2.0.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-misc/qcad/qcad-2.0.2.0.ebuild,v 1.2 2005/01/10 07:27:36 phosphan Exp $
-
-inherit kde-functions eutils
-
-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"
-IUSE=""
-KEYWORDS="x86 ppc amd64"
-
-need-qt 3
-
-DEPEND="${DEPEND}
- >=sys-apps/sed-4"
-
-src_unpack() {
- unpack ${A}
- cd ${S}
- epatch ${FILESDIR}/${MY_P}-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
-}
-
-
-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"
-}
-
-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
- dohtml -r qcad/doc
-}
-
diff --git a/sci-misc/qcad/qcad-2.0.3.1-r1.ebuild b/sci-misc/qcad/qcad-2.0.3.1-r1.ebuild
deleted file mode 100644
index 781533939921..000000000000
--- a/sci-misc/qcad/qcad-2.0.3.1-r1.ebuild
+++ /dev/null
@@ -1,92 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-misc/qcad/qcad-2.0.3.1-r1.ebuild,v 1.3 2005/01/10 07:27:36 phosphan Exp $
-
-inherit kde-functions eutils
-
-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"
-IUSE=""
-KEYWORDS="x86 ppc"
-
-need-qt 3.3
-
-DEPEND="${DEPEND}
- >=sys-apps/sed-4"
-
-src_unpack() {
- unpack ${A}
- 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}"
- epatch ${FILESDIR}/${MY_P}-gentoo.patch
- epatch ${FILESDIR}/manual.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}/html:" \
- qc_applicationwindow.cpp || die "sed failed on manual path"
-
- cd ${S}
-
- # This patch allows compilation with gcc-3.4
- epatch ${FILESDIR}/${P}-gcc34.patch
-}
-
-
-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 -a patterns examples fonts scripts qm ${D}/usr/share/${P}
- cd ..
- dodoc README
- dohtml -r qcad/doc/.
- insinto /usr/share/doc/${PF}/html
- doins qcad/doc/qcaddoc.adp
-}
-
-pkg_postinst () {
- if ! has_version "sci-misc/qcad-parts"; then
- einfo
- einfo "The QCad parts library is available as a seperate package."
- einfo "emerge sci-misc/qcad-parts to get it."
- einfo
- fi
-}
diff --git a/sci-misc/qcad/qcad-2.0.3.1.ebuild b/sci-misc/qcad/qcad-2.0.3.1.ebuild
deleted file mode 100644
index f41012406a7c..000000000000
--- a/sci-misc/qcad/qcad-2.0.3.1.ebuild
+++ /dev/null
@@ -1,79 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-misc/qcad/qcad-2.0.3.1.ebuild,v 1.3 2005/01/10 07:27:36 phosphan Exp $
-
-inherit kde-functions eutils
-
-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"
-IUSE=""
-KEYWORDS="x86 ppc"
-
-need-qt 3.3
-
-DEPEND="${DEPEND}
- >=sys-apps/sed-4"
-
-src_unpack() {
- unpack ${A}
- 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}"
- epatch ${FILESDIR}/${MY_P}-gentoo.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"
-}
-
-
-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 -a patterns examples fonts scripts qm ${D}/usr/share/${P}
- cd ..
- dodoc README
- dohtml -r qcad/doc
-}
-
-pkg_postinst () {
- if ! has_version "sci-misc/qcad-parts"; then
- einfo
- einfo "The QCad parts library is available as a seperate package."
- einfo "emerge sci-misc/qcad-parts to get it."
- einfo
- fi
-}
diff --git a/sci-misc/qcad/qcad-2.0.4.0.ebuild b/sci-misc/qcad/qcad-2.0.4.0.ebuild
deleted file mode 100644
index 4b73e5af28b8..000000000000
--- a/sci-misc/qcad/qcad-2.0.4.0.ebuild
+++ /dev/null
@@ -1,95 +0,0 @@
-# Copyright 1999-2005 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.ebuild,v 1.3 2005/01/10 07:27:36 phosphan 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"
-# mirror://gentoo/qcaddoc-${MY_PV}.tar.bz2"
-HOMEPAGE="http://www.ribbonsoft.com/qcad.html"
-
-LICENSE="GPL-2"
-SLOT="0"
-IUSE=""
-KEYWORDS="x86 ~ppc amd64"
-
-need-qt 3.3
-
-DEPEND="${DEPEND}
- >=sys-apps/sed-4"
-
-src_unpack() {
- unpack ${A}
-# mv doc ${S}/qcad/
- 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}"
- epatch ${FILESDIR}/${MY_P}-gentoo.patch
- epatch ${FILESDIR}/manual.patch-r1
- 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}/html:" \
- 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 -a patterns examples fonts scripts qm ${D}/usr/share/${P}
- cd ..
- dodoc README
-# currently no help available
-# dohtml -r qcad/doc/.
-# insinto /usr/share/doc/${PF}/html
-# doins qcad/doc/qcaddoc.adp
-}
-
-pkg_postinst () {
- if ! has_version "sci-misc/qcad-parts"; then
- einfo
- einfo "The QCad parts library is available as a seperate package."
- einfo "emerge sci-misc/qcad-parts to get it."
- einfo
- fi
- einfo "help was removed from the community edition - see"
- einfo "https://sourceforge.net/tracker/?func=detail&atid=417068&aid=1037631&group_id=36417"
- einfo "for details"
-}