From 4afba4d550b33abbdaedd9eb8cf1e296d5a8a806 Mon Sep 17 00:00:00 2001 From: Olivier Fisette Date: Mon, 27 Dec 2004 21:24:47 +0000 Subject: Moved from app-sci/qcad to sci-misc/qcad. --- sci-misc/qcad/ChangeLog | 134 +++++++++++++++++++++ sci-misc/qcad/Manifest | 18 +++ sci-misc/qcad/files/digest-qcad-2.0.2.0 | 1 + sci-misc/qcad/files/digest-qcad-2.0.3.1 | 1 + sci-misc/qcad/files/digest-qcad-2.0.3.1-r1 | 1 + sci-misc/qcad/files/digest-qcad-2.0.4.0 | 1 + sci-misc/qcad/files/digest-qcad-2.0.4.0-r1 | 2 + sci-misc/qcad/files/manual.patch | 15 +++ sci-misc/qcad/files/manual.patch-r1 | 15 +++ .../qcad/files/qcad-2.0.2.0-1.src-gentoo.patch | 60 +++++++++ .../qcad/files/qcad-2.0.3.1-1.src-gentoo.patch | 61 ++++++++++ sci-misc/qcad/files/qcad-2.0.3.1-gcc34.patch | 14 +++ .../qcad/files/qcad-2.0.4.0-1.src-gentoo.patch | 61 ++++++++++ sci-misc/qcad/metadata.xml | 5 + sci-misc/qcad/qcad-2.0.2.0.ebuild | 62 ++++++++++ sci-misc/qcad/qcad-2.0.3.1-r1.ebuild | 92 ++++++++++++++ sci-misc/qcad/qcad-2.0.3.1.ebuild | 79 ++++++++++++ sci-misc/qcad/qcad-2.0.4.0-r1.ebuild | 85 +++++++++++++ sci-misc/qcad/qcad-2.0.4.0.ebuild | 95 +++++++++++++++ 19 files changed, 802 insertions(+) create mode 100644 sci-misc/qcad/ChangeLog create mode 100644 sci-misc/qcad/Manifest create mode 100644 sci-misc/qcad/files/digest-qcad-2.0.2.0 create mode 100644 sci-misc/qcad/files/digest-qcad-2.0.3.1 create mode 100644 sci-misc/qcad/files/digest-qcad-2.0.3.1-r1 create mode 100644 sci-misc/qcad/files/digest-qcad-2.0.4.0 create mode 100644 sci-misc/qcad/files/digest-qcad-2.0.4.0-r1 create mode 100644 sci-misc/qcad/files/manual.patch create mode 100644 sci-misc/qcad/files/manual.patch-r1 create mode 100644 sci-misc/qcad/files/qcad-2.0.2.0-1.src-gentoo.patch create mode 100644 sci-misc/qcad/files/qcad-2.0.3.1-1.src-gentoo.patch create mode 100644 sci-misc/qcad/files/qcad-2.0.3.1-gcc34.patch create mode 100644 sci-misc/qcad/files/qcad-2.0.4.0-1.src-gentoo.patch create mode 100644 sci-misc/qcad/metadata.xml create mode 100644 sci-misc/qcad/qcad-2.0.2.0.ebuild create mode 100644 sci-misc/qcad/qcad-2.0.3.1-r1.ebuild create mode 100644 sci-misc/qcad/qcad-2.0.3.1.ebuild create mode 100644 sci-misc/qcad/qcad-2.0.4.0-r1.ebuild create mode 100644 sci-misc/qcad/qcad-2.0.4.0.ebuild (limited to 'sci-misc') diff --git a/sci-misc/qcad/ChangeLog b/sci-misc/qcad/ChangeLog new file mode 100644 index 000000000000..b05d4bdfea03 --- /dev/null +++ b/sci-misc/qcad/ChangeLog @@ -0,0 +1,134 @@ +# ChangeLog for app-sci/qcad +# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-misc/qcad/ChangeLog,v 1.1 2004/12/27 21:24:47 ribosome Exp $ + +*qcad-2.0.4.0 (27 Dec 2004) + + 27 Dec 2004; Olivier Fisette +metadata.xml, + +files/manual.patch, +files/manual.patch-r1, + +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/qcad-2.0.4.0-1.src-gentoo.patch, +qcad-2.0.2.0.ebuild, + +qcad-2.0.3.1-r1.ebuild, +qcad-2.0.3.1.ebuild, +qcad-2.0.4.0-r1.ebuild, + +qcad-2.0.4.0.ebuild: + Moved from app-sci/qcad to sci-misc/qcad. + +*qcad-2.0.4.0-r1 (22 Dec 2004) + + 22 Dec 2004; Patrick Kursawe +qcad-2.0.4.0-r1.ebuild: + Added manual again + + 15 Dec 2004; Dylan Carlson qcad-2.0.4.0.ebuild: + Stable on amd64. + + 17 Oct 2004; Dylan Carlson qcad-2.0.4.0.ebuild: + keywords ~amd64. + +*qcad-2.0.4.0 (30 Sep 2004) + + 30 Sep 2004; Patrick Kursawe +files/manual.patch-r1, + +files/qcad-2.0.4.0-1.src-gentoo.patch, +files/qcad-2.0.4.0-gcc34.patch, + +qcad-2.0.4.0.ebuild: + Version bump. gcc 3.4 patch no longer necessary. Online help currently not + available. + + 21 Sep 2004; Danny van Dyk + +files/qcad-2.0.3.1-gcc34.patch, qcad-2.0.3.1-r1.ebuild: + Marked ~amd64. Added patch to compile with gcc-3.4.x. + + 26 May 2004; Patrick Kursawe qcad-2.0.3.1-r1.ebuild: + Stable for x86 + +*qcad-2.0.3.1-r1 (11 May 2004) + + 11 May 2004; Patrick Kursawe qcad-2.0.1.0.ebuild, + qcad-2.0.3.1-r1.ebuild, files/manual.patch, + files/qcad-2.0.1.0-1.src-gentoo.patch: + Help->Manual should work now. Cleanup. + + 11 May 2004; Patrick Kursawe qcad-2.0.3.1.ebuild: + Declaring stable for x86 + + 22 Apr 2004; Patrick Kursawe qcad-2.0.3.1.ebuild: + Added hint about parts library to pkg_postinst + +*qcad-2.0.3.1 (21 Apr 2004) + + 21 Apr 2004; Patrick Kursawe qcad-2.0.3.1.ebuild, + files/qcad-2.0.3.1-1.src-gentoo.patch: + Version bump. Patch had to be modified because overriding CXXFLAGS broke + things the way it was done before. + + 01 Apr 2004; Patrick Kursawe qcad-2.0.2.0.ebuild: + Stable for x86 and ppc. + + 26 Mar 2004; Patrick Kursawe qcad-1.5.4.ebuild, + qcad-2.0.1.0.ebuild, qcad-2.0.2.0.ebuild: + Adding inherit eutils and IUSE + +*qcad-2.0.2.0 (11 Feb 2004) + + 11 Feb 2004; Patrick Kursawe qcad-2.0.2.0.ebuild: + Version bump with a few changes, see bug #39804 for details. + + 10 Feb 2004; Patrick Kursawe qcad-2.0.1.0.ebuild: + Reverting changes - uses need-qt again, this should fix bugs #39804 and + hopefully #38902 + + 03 Jan 2004; Caleb Tennis qcad-2.0.1.0.ebuild: + Remove need-qt, set dependency directly in ebuild. + Remove inherit of kde-functions. + + 21 Oct 2003; Brandy Westcott brandy@gentoo.org qcad-2.0.1.0.ebuild: + Added patch to allow qcad to compile using CXXFLAGS + +*qcad-2.0.1.0 (10 Oct 2003) + + 10 Oct 2003; Patrick Kursawe qcad-2.0.1.0.ebuild: + Version bump. Moved some stuff from compile to unpack where it belongs, had to + remove the line setting QTDIR from build.sh, looks like an upstream mistake. + Tried to report, but the developer's mailbox was full. + +*qcad-2.0.0.8 (02 Oct 2003) + + 02 Oct 2003; Markus Nigbur qcad-2.0.0.8.ebuild: + Bump + +*qcad-2.0.0.1 (24 Sep 2003) + + 24 Sep 2003; Patrick Kursawe qcad-2.0.0.1.ebuild: + New ebuild for version 2. Suggestion from bug 29376. + +*qcad-1.5.4 (22 Nov 2002) + + 28 May 2003; Caleb Tennis qcad-1.5.4.ebuild: + Added warning statement about installing fonts in your home directory. + Removed old versions - closes bug #19264 + + 06 Apr 2003; Dan Armak qcad-1.5.4.ebuild: + Add stable x86 keyword. + + 15 Feb 2003; Mark Guertin qcad-1.5.4.ebuild : + set ~ppc in keywords + + 22 Nov 2002; Dan Armak ChangeLog : + + New upstream release. + + 22 Nov 2002; Dan Armak ChangeLog : + + Fix bug 7097 - don't use hardcoded QTDIR setting. + +*qcad-1.5.1 (19 Aug 2002) + + 19 Aug 2002; Dan Armak ChangeLog : + + New (QT3) version. Closes #6335. + +*qcad-1.4.7 (1 May 2002) + + 1 May 2002; Seemant Kulleen qcad-1.4.7.ebuild ChangeLog + files/digest-qcad-1.4.7 : + + New package based on simultaneous ebuild submissions from: + scott.claridge@bigfoot.com (Scott Claridge) and erics@cfl.rr.com (Eric Sorton) diff --git a/sci-misc/qcad/Manifest b/sci-misc/qcad/Manifest new file mode 100644 index 000000000000..e5571f407345 --- /dev/null +++ b/sci-misc/qcad/Manifest @@ -0,0 +1,18 @@ +MD5 9f533a2083b7b1f3e472c10f958f61d6 qcad-2.0.3.1-r1.ebuild 2567 +MD5 da5b7f439ad855a2177bb9e16b7aadc4 qcad-2.0.2.0.ebuild 1563 +MD5 9d1eeb7e6da380fe07e98889ecb73363 qcad-2.0.4.0.ebuild 2766 +MD5 79c8132e622ee8b5b960449c55548e95 qcad-2.0.4.0-r1.ebuild 2444 +MD5 c584eae37e121e98386dd443277b8c43 qcad-2.0.3.1.ebuild 2121 +MD5 36c3f057a87ca6afd6976ac4e366103c ChangeLog 4244 +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 diff --git a/sci-misc/qcad/files/digest-qcad-2.0.2.0 b/sci-misc/qcad/files/digest-qcad-2.0.2.0 new file mode 100644 index 000000000000..1aea72950181 --- /dev/null +++ b/sci-misc/qcad/files/digest-qcad-2.0.2.0 @@ -0,0 +1 @@ +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 new file mode 100644 index 000000000000..3edaf935d50c --- /dev/null +++ b/sci-misc/qcad/files/digest-qcad-2.0.3.1 @@ -0,0 +1 @@ +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 new file mode 100644 index 000000000000..3edaf935d50c --- /dev/null +++ b/sci-misc/qcad/files/digest-qcad-2.0.3.1-r1 @@ -0,0 +1 @@ +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 new file mode 100644 index 000000000000..6a73ddefba83 --- /dev/null +++ b/sci-misc/qcad/files/digest-qcad-2.0.4.0 @@ -0,0 +1 @@ +MD5 d99ae2855029af21f544e302a60d6840 qcad-2.0.4.0-1.src.tar.gz 3169984 diff --git a/sci-misc/qcad/files/digest-qcad-2.0.4.0-r1 b/sci-misc/qcad/files/digest-qcad-2.0.4.0-r1 new file mode 100644 index 000000000000..e83bcbbf94dc --- /dev/null +++ b/sci-misc/qcad/files/digest-qcad-2.0.4.0-r1 @@ -0,0 +1,2 @@ +MD5 d99ae2855029af21f544e302a60d6840 qcad-2.0.4.0-1.src.tar.gz 3169984 +MD5 a8cd3682b9405c0de6d5bd77d50da0f2 qcad-manual-200404.tar.bz2 1648761 diff --git a/sci-misc/qcad/files/manual.patch b/sci-misc/qcad/files/manual.patch new file mode 100644 index 000000000000..dc76c4900db9 --- /dev/null +++ b/sci-misc/qcad/files/manual.patch @@ -0,0 +1,15 @@ +--- 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/manual.patch-r1 b/sci-misc/qcad/files/manual.patch-r1 new file mode 100644 index 000000000000..a607ddc2feee --- /dev/null +++ b/sci-misc/qcad/files/manual.patch-r1 @@ -0,0 +1,15 @@ +--- 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/files/qcad-2.0.2.0-1.src-gentoo.patch b/sci-misc/qcad/files/qcad-2.0.2.0-1.src-gentoo.patch new file mode 100644 index 000000000000..215994fecbe0 --- /dev/null +++ b/sci-misc/qcad/files/qcad-2.0.2.0-1.src-gentoo.patch @@ -0,0 +1,60 @@ +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 new file mode 100644 index 000000000000..a5598b641119 --- /dev/null +++ b/sci-misc/qcad/files/qcad-2.0.3.1-1.src-gentoo.patch @@ -0,0 +1,61 @@ +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 new file mode 100644 index 000000000000..4cab00958ea2 --- /dev/null +++ b/sci-misc/qcad/files/qcad-2.0.3.1-gcc34.patch @@ -0,0 +1,14 @@ +--- 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) (xy ? x : y) ++//#define min(x,y) (xy ? x : y) ++using namespace std; + #endif + + #define ARAD 57.29577951308232 diff --git a/sci-misc/qcad/files/qcad-2.0.4.0-1.src-gentoo.patch b/sci-misc/qcad/files/qcad-2.0.4.0-1.src-gentoo.patch new file mode 100644 index 000000000000..a5598b641119 --- /dev/null +++ b/sci-misc/qcad/files/qcad-2.0.4.0-1.src-gentoo.patch @@ -0,0 +1,61 @@ +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/metadata.xml b/sci-misc/qcad/metadata.xml new file mode 100644 index 000000000000..b229aec85b8f --- /dev/null +++ b/sci-misc/qcad/metadata.xml @@ -0,0 +1,5 @@ + + + +sci + diff --git a/sci-misc/qcad/qcad-2.0.2.0.ebuild b/sci-misc/qcad/qcad-2.0.2.0.ebuild new file mode 100644 index 000000000000..2cf5e57bbd4c --- /dev/null +++ b/sci-misc/qcad/qcad-2.0.2.0.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2004 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.1 2004/12/27 21:24:47 ribosome 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 new file mode 100644 index 000000000000..bf9fc17be621 --- /dev/null +++ b/sci-misc/qcad/qcad-2.0.3.1-r1.ebuild @@ -0,0 +1,92 @@ +# Copyright 1999-2004 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.1 2004/12/27 21:24:47 ribosome 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 "app-sci/qcad-parts"; then + einfo + einfo "The QCad parts library is available as a seperate package." + einfo "emerge app-sci/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 new file mode 100644 index 000000000000..1054ac066f7d --- /dev/null +++ b/sci-misc/qcad/qcad-2.0.3.1.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2004 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.1 2004/12/27 21:24:47 ribosome 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 "app-sci/qcad-parts"; then + einfo + einfo "The QCad parts library is available as a seperate package." + einfo "emerge app-sci/qcad-parts to get it." + einfo + fi +} diff --git a/sci-misc/qcad/qcad-2.0.4.0-r1.ebuild b/sci-misc/qcad/qcad-2.0.4.0-r1.ebuild new file mode 100644 index 000000000000..5292a304a929 --- /dev/null +++ b/sci-misc/qcad/qcad-2.0.4.0-r1.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2004 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-r1.ebuild,v 1.1 2004/12/27 21:24:47 ribosome 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 )" +# mirror://gentoo/qcaddoc-${MY_PV}.tar.bz2" +HOMEPAGE="http://www.ribbonsoft.com/qcad.html" + +LICENSE="GPL-2" +SLOT="0" +IUSE="doc" +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}:" \ + 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 qm ${D}/usr/share/${P} + cd .. + dodoc README + if use doc; then + insinto /usr/share/doc/${PF}/ + cd ${WORKDIR} + cp -a qcaddoc.adp cad ${D}usr/share/doc/${PF} + fi +} diff --git a/sci-misc/qcad/qcad-2.0.4.0.ebuild b/sci-misc/qcad/qcad-2.0.4.0.ebuild new file mode 100644 index 000000000000..476bfde40442 --- /dev/null +++ b/sci-misc/qcad/qcad-2.0.4.0.ebuild @@ -0,0 +1,95 @@ +# Copyright 1999-2004 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.1 2004/12/27 21:24:47 ribosome 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 "app-sci/qcad-parts"; then + einfo + einfo "The QCad parts library is available as a seperate package." + einfo "emerge app-sci/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" +} -- cgit v1.2.3-65-gdbad