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
commit8b40210666810c2db6475e2efa1873b218901487 (patch)
tree63b3c8fec6a856622c3c16c80d95ecf2921ef780 /sci-misc/qcad
parentAdded to x86. Removed obsolete versions. (diff)
downloadhistorical-8b40210666810c2db6475e2efa1873b218901487.tar.gz
historical-8b40210666810c2db6475e2efa1873b218901487.tar.bz2
historical-8b40210666810c2db6475e2efa1873b218901487.zip
Removed obsolete versions.
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'sci-misc/qcad')
-rw-r--r--sci-misc/qcad/ChangeLog9
-rw-r--r--sci-misc/qcad/Manifest24
-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
14 files changed, 9 insertions, 506 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/Manifest b/sci-misc/qcad/Manifest
index 40e7c0221bf4..ecfa14f693c0 100644
--- a/sci-misc/qcad/Manifest
+++ b/sci-misc/qcad/Manifest
@@ -1,28 +1,6 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 8e0ed4f204ffe736352228cfb33b6f00 qcad-2.0.3.1-r1.ebuild 2570
-MD5 a0403369d5ab831d747ada7773fe1406 qcad-2.0.2.0.ebuild 1564
-MD5 b30481181673c4348337dc45f3f71068 qcad-2.0.4.0.ebuild 2769
MD5 9c261fcbcda2b7563992c0db0a264dff qcad-2.0.4.0-r1.ebuild 2502
-MD5 7ba95a37ee00ae6e24707e3ae3f58c34 qcad-2.0.3.1.ebuild 2124
-MD5 2b3f3d5c1b3d127f54dc379a884b293a ChangeLog 5141
+MD5 e11ddb7b35f4e170219d2e3ddcc7e440 ChangeLog 5460
MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156
-MD5 03a389a58ed129eda4567585a4094a33 files/qcad-2.0.3.1-1.src-gentoo.patch 2177
MD5 c79cda60b6383bbd7cd5c59e5975444e files/manual.patch-r1 841
MD5 03a389a58ed129eda4567585a4094a33 files/qcad-2.0.4.0-1.src-gentoo.patch 2177
-MD5 2e380c8a9e9dc284ddd73ef3378d9591 files/qcad-2.0.3.1-gcc34.patch 374
-MD5 5aab9950cd320093d39df3b09256dddf files/digest-qcad-2.0.2.0 71
-MD5 48b9ef97369159a131b93e1392af5add files/digest-qcad-2.0.3.1 71
-MD5 e7233e9c5228abc9cb54e3705bdf9707 files/digest-qcad-2.0.4.0 71
-MD5 f6b59499dd0213d34c3d983a7fd7481c files/manual.patch 754
-MD5 ec141f17f0419be4c51b80ed330f4d35 files/qcad-2.0.2.0-1.src-gentoo.patch 2409
-MD5 48b9ef97369159a131b93e1392af5add files/digest-qcad-2.0.3.1-r1 71
MD5 4d37f63dec6f0a0937438c9308f232a7 files/digest-qcad-2.0.4.0-r1 143
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.2.6 (GNU/Linux)
-
-iD8DBQFCOO46ntT9W3vfTuoRAsaaAKCy3c82N7vKrxizQ9bOB/j8zKT0OQCdHE2H
-54Yyj8woctqcSg8Owi8zs/0=
-=Jopr
------END PGP SIGNATURE-----
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"
-}