summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-08-24 11:09:13 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2020-11-30 01:51:51 +0100
commit30045395eab57ae991a3900d1e17e148efb6c5eb (patch)
treec6dc72d0c5d68235f409ce275f8ec64141d8d270 /sci-misc
parentmedia-video/kaffeine: Drop 0.8.6 and 0.8.8*, ancient kde.eclass revdeps (diff)
downloadkde-sunset-30045395eab57ae991a3900d1e17e148efb6c5eb.tar.gz
kde-sunset-30045395eab57ae991a3900d1e17e148efb6c5eb.tar.bz2
kde-sunset-30045395eab57ae991a3900d1e17e148efb6c5eb.zip
sci-misc/qcad: Drop 2.0.5.0
Ancient kde-functions.eclass revdep with "need-qt" Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'sci-misc')
-rw-r--r--sci-misc/qcad/Manifest5
-rw-r--r--sci-misc/qcad/files/qcad-2.0.4.0-1.src-gentoo.patch61
-rw-r--r--sci-misc/qcad/files/qcad-2.0.4.0-1.src-intptr.patch24
-rw-r--r--sci-misc/qcad/files/qcad-2.0.4.0-gcc43.patch45
-rw-r--r--sci-misc/qcad/files/qcad-2.0.5.0-doc.patch18
-rw-r--r--sci-misc/qcad/qcad-2.0.5.0.ebuild142
6 files changed, 0 insertions, 295 deletions
diff --git a/sci-misc/qcad/Manifest b/sci-misc/qcad/Manifest
index c4fa3e52..6927b8f8 100644
--- a/sci-misc/qcad/Manifest
+++ b/sci-misc/qcad/Manifest
@@ -1,6 +1 @@
-DIST qcad-2.0.5.0-1-community.src.tar.gz 4470033 BLAKE2B 82b289684f3b081f2338a08fd77d18f4445ebfcc2c9c8820fac3ab11934ee820970d6d1d0f562341edf160318c1c436c336a8928e822e6041c9d77ff601178ca SHA512 a1d9f37005da9a1af57a0398e0421d50bde9c927576a9ddb26e33606aa9c2a3507f886ee0a46fa4b474e14fb2420867999a28e3ae4d287cd317d2005bb8e8b28
-DIST qcad-manual-cs-2.0.4.0-1.html.zip 1582180 SHA256 6738b455f6eae7a9a3128c0ff15fa43009a257c909ced7d2e7b5f17dff6c4d21
-DIST qcad-manual-de-2.1.0.0-1.html.zip 1658559 SHA256 3c224f67b403a0a9742e406a16cb46c85add2b32e072dae4d1bd13d21125d99c
-DIST qcad-manual-en-2.1.0.0-1.html.zip 1195023 SHA256 091f3f57638274ef369874a7e49344ae35fadd1e0bd1da3fbb23175ba2f39134
-DIST qcad-manual-hu-2.0.4.0-1.html.zip 1583042 SHA256 51b40b0ebe19c5e0e3cf4f192ed9f97ec411ed23f7ee4ea0594e3ac0cbb40c48
DIST qcad-3.21.2.0.tar.gz 40087101 BLAKE2B 67401505c89843ae3ea56665b34dad6edd3fb1789a7a4b5651ef696741942f7369b5f4838d2450edd4f4f5dec7d7169098e82919849a4dfeed689ea837d4c24f SHA512 90f498a5c31dcbed6f68be6aada220d4350678a4c2e80a32a8bdafa8276ac054a70342652620f62821183d0f2db1fb8ebe31cb8d119dccd889df01b81db28c31
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
deleted file mode 100644
index a5598b64..00000000
--- a/sci-misc/qcad/files/qcad-2.0.4.0-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.4.0-1.src-intptr.patch b/sci-misc/qcad/files/qcad-2.0.4.0-1.src-intptr.patch
deleted file mode 100644
index 6d8b6acc..00000000
--- a/sci-misc/qcad/files/qcad-2.0.4.0-1.src-intptr.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-diff -Naur qcad-2.0.4.0-1.src.orig/qcadlib/src/engine/rs_entity.cpp qcad-2.0.4.0-1.src.patched/qcadlib/src/engine/rs_entity.cpp
---- qcad-2.0.4.0-1.src.orig/qcadlib/src/engine/rs_entity.cpp 2004-09-14 15:13:02.000000000 -0500
-+++ qcad-2.0.4.0-1.src.patched/qcadlib/src/engine/rs_entity.cpp 2006-06-23 14:21:40.000000000 -0500
-@@ -849,7 +849,7 @@
- os << " layer: NULL ";
- } else {
- os << " layer: " << e.layer->getName().latin1() << " ";
-- os << " layer address: " << (int)(e.layer) << " ";
-+ os << " layer address: " << (intptr_t)(e.layer) << " ";
- }
-
- os << e.pen << "\n";
-diff -Naur qcad-2.0.4.0-1.src.orig/qcadlib/src/engine/rs_layer.cpp qcad-2.0.4.0-1.src.patched/qcadlib/src/engine/rs_layer.cpp
---- qcad-2.0.4.0-1.src.orig/qcadlib/src/engine/rs_layer.cpp 2004-09-14 15:13:02.000000000 -0500
-+++ qcad-2.0.4.0-1.src.patched/qcadlib/src/engine/rs_layer.cpp 2006-06-23 14:21:23.000000000 -0500
-@@ -57,7 +57,7 @@
- os << " name: " << l.getName().latin1()
- << " pen: " << l.getPen()
- << " frozen: " << (int)l.isFrozen()
-- << " address: " << (int)(&l)
-+ << " address: " << (intptr_t)(&l)
- << std::endl;
- return os;
- }
diff --git a/sci-misc/qcad/files/qcad-2.0.4.0-gcc43.patch b/sci-misc/qcad/files/qcad-2.0.4.0-gcc43.patch
deleted file mode 100644
index bc68e81c..00000000
--- a/sci-misc/qcad/files/qcad-2.0.4.0-gcc43.patch
+++ /dev/null
@@ -1,45 +0,0 @@
-diff -Naur qcad-2.0.4.0-1.src/dxflib/src/dl_writer_ascii.cpp qcad-2.0.4.0-1.src.new/dxflib/src/dl_writer_ascii.cpp
---- qcad-2.0.4.0-1.src/dxflib/src/dl_writer_ascii.cpp 2004-09-14 16:13:01.000000000 -0400
-+++ qcad-2.0.4.0-1.src.new/dxflib/src/dl_writer_ascii.cpp 2008-04-27 08:35:47.000000000 -0400
-@@ -30,6 +30,7 @@
- #endif // _MSC_VER > 1000
-
- #include <stdio.h>
-+#include <cstring>
-
- #include "dl_writer_ascii.h"
- #include "dl_exception.h"
-diff -Naur qcad-2.0.4.0-1.src/dxflib/src/dl_writer.h qcad-2.0.4.0-1.src.new/dxflib/src/dl_writer.h
---- qcad-2.0.4.0-1.src/dxflib/src/dl_writer.h 2004-09-14 16:13:01.000000000 -0400
-+++ qcad-2.0.4.0-1.src.new/dxflib/src/dl_writer.h 2008-04-27 08:35:48.000000000 -0400
-@@ -34,6 +34,7 @@
-
-
- #include <iostream>
-+#include <cstring>
-
- #include "dl_attributes.h"
-
-diff -Naur qcad-2.0.4.0-1.src/qcadactions/src/rs_actionzoompan.cpp qcad-2.0.4.0-1.src.new/qcadactions/src/rs_actionzoompan.cpp
---- qcad-2.0.4.0-1.src/qcadactions/src/rs_actionzoompan.cpp 2004-09-14 16:13:03.000000000 -0400
-+++ qcad-2.0.4.0-1.src.new/qcadactions/src/rs_actionzoompan.cpp 2008-04-27 08:35:48.000000000 -0400
-@@ -28,6 +28,7 @@
- #include "rs_snapper.h"
- #include "rs_point.h"
-
-+#include <cstdlib>
-
- RS_ActionZoomPan::RS_ActionZoomPan(RS_EntityContainer& container,
- RS_GraphicView& graphicView)
-diff -Naur qcad-2.0.4.0-1.src/qcadlib/src/information/rs_information.h qcad-2.0.4.0-1.src.new/qcadlib/src/information/rs_information.h
---- qcad-2.0.4.0-1.src/qcadlib/src/information/rs_information.h 2004-09-14 16:13:02.000000000 -0400
-+++ qcad-2.0.4.0-1.src.new/qcadlib/src/information/rs_information.h 2008-04-27 08:35:48.000000000 -0400
-@@ -31,7 +31,7 @@
- #include "rs_line.h"
- #include "rs_arc.h"
-
--
-+#include <cstdlib>
-
- /**
- * Class for getting information about entities. This includes
diff --git a/sci-misc/qcad/files/qcad-2.0.5.0-doc.patch b/sci-misc/qcad/files/qcad-2.0.5.0-doc.patch
deleted file mode 100644
index 7f080acb..00000000
--- a/sci-misc/qcad/files/qcad-2.0.5.0-doc.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-diff -Naur qcad-2.0.5.0-1-community.src/qcad/src/qc_applicationwindow.cpp qcad-2.0.5.0-1-community.src.new/qcad/src/qc_applicationwindow.cpp
---- qcad-2.0.5.0-1-community.src/qcad/src/qc_applicationwindow.cpp 2005-11-22 06:49:33.000000000 -0500
-+++ qcad-2.0.5.0-1-community.src.new/qcad/src/qc_applicationwindow.cpp 2008-09-25 18:43:17.000000000 -0400
-@@ -2943,12 +2943,12 @@
- 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);
- connect(assistant, SIGNAL(error(const QString&)),
- this, SLOT(slotError(const QString&)));
- QStringList args;
- args << "-profile";
-- args << QDir::convertSeparators(RS_SYSTEM->getDocPath() + "/qcaddoc.adp");
-+ args << QDir::convertSeparators("QCADDOCPATH/" + RS_SETTINGS->readEntry("/Language", "en") + "/qcaddoc.adp");
- // args << QString("doc") + QDir::separator() + QString("qcaddoc.adp");
-
- #if QT_VERSION>=0x030200
diff --git a/sci-misc/qcad/qcad-2.0.5.0.ebuild b/sci-misc/qcad/qcad-2.0.5.0.ebuild
deleted file mode 100644
index d625c613..00000000
--- a/sci-misc/qcad/qcad-2.0.5.0.ebuild
+++ /dev/null
@@ -1,142 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-misc/qcad/qcad-2.0.5.0.ebuild,v 1.8 2009/01/18 22:28:25 bicatali Exp $
-
-inherit kde-functions eutils
-
-manual_cs="2.0.4.0-1"
-manual_de="2.1.0.0-1"
-manual_en="2.1.0.0-1"
-manual_hu="2.0.4.0-1"
-
-LANGS_M="cs de en hu"
-
-MY_P=${P}-1-community.src
-PATCH_V="2.0.4.0-1.src"
-S=${WORKDIR}/${MY_P}
-DESCRIPTION="A 2D CAD package based upon Qt."
-# ugly hack, don't make en LINGUAS-controlled as we may need it as default
-SRC_URI="http://www.ribbonsoft.com/archives/qcad/${MY_P}.tar.gz
- doc? (
- linguas_cs? ( ftp://anonymous@ribbonsoft.com/archives/qcad/qcad-manual-cs-${manual_cs}.html.zip )
- linguas_de? ( ftp://anonymous@ribbonsoft.com/archives/qcad/qcad-manual-de-${manual_de}.html.zip )
- ftp://anonymous@ribbonsoft.com/archives/qcad/qcad-manual-en-${manual_en}.html.zip
- linguas_hu? ( ftp://anonymous@ribbonsoft.com/archives/qcad/qcad-manual-hu-${manual_hu}.html.zip ) )"
-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
-
-LANGS="cs da de el en es et fr hu it nl no pa pl ru sk tr"
-for X in ${LANGS} ; do
- IUSE="${IUSE} linguas_${X}"
-done
-
-if [[ -z "${LINGUAS}" ]]; then
- LINGUAS="en"
-fi
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- epatch "${FILESDIR}"/${PN}-${PATCH_V}-gentoo.patch
- epatch "${FILESDIR}"/${P}-doc.patch
- epatch "${FILESDIR}"/${PN}-${PATCH_V}-intptr.patch
- epatch "${FILESDIR}"/${PN}-2.0.4.0-gcc43.patch
-
- 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
-
- cd "${S}"/mkspecs
- 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}"
-
- # code does not compile with -pedantic
- sed -i -e "s:-pedantic::" defs.pro \
- || die "failed to remove -pedantic flag"
-
- 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
- # make translations as release_translations.sh is missing
- cd ../qcad
- strip-linguas ${LANGS}
- for LANG in ${LINGUAS}; do
- lrelease src/ts/qcad_${LANG}.ts -qm qm/qcad_${LANG}.qm
- done
-}
-
-src_install () {
- cd qcad
- dodoc README || die "Failed to install docs"
- mv qcad qcad.bin || die "Failed to rename qcad binary"
- dobin qcad.bin || die "Failed to install qcad binary"
- echo -e "#!/bin/sh\ncd /usr/share/${P}\nqcad.bin" > qcad \
- || die "Failed to create qcad wrapper script"
- dobin qcad || die "Failed to install qcad wrapper"
-
- insinto /usr/share/${P}
- doins -r patterns fonts qm \
- || die "Failed to install support files"
-
- doicon src/xpm/${PN}.xpm
- make_desktop_entry ${PN} QCad ${PN} Office
-
- if use doc; then
- cd "${WORKDIR}"
- strip-linguas ${LANGS_M}
- if [[ -z "${LINGUAS}" ]]; then
- ewarn "No manual translation available for your LINGUAS. Installing English."
- ewarn "Note that if you want to use it while UI set to another language, you have to symlink"
- ewarn "/usr/share/doc/${PF}/LC -> /usr/share/doc/${PF}/en"
- ewarn "(where LC is the language code of the language set for the UI)"
- LINGUAS="en"
- fi
- for LANG in ${LINGUAS}; do
- m_version=$(eval "echo \$manual_${LANG}")
- cd qcad-manual-${LANG}-${m_version}.html
- if [[ -e "index.adp" ]]; then
- ln -s index.adp qcaddoc.adp
- fi
- insinto /usr/share/doc/${PF}/${LANG}
- doins -r * || die "Failed to install manual for LINGUAS=${LANG}"
- cd ..
- done
- fi
-}