diff options
author | Petr Kocmid <raxas@pavouk-v-rohu.net> | 2009-09-02 01:45:36 +0200 |
---|---|---|
committer | Petr Kocmid <raxas@pavouk-v-rohu.net> | 2009-09-02 01:45:36 +0200 |
commit | a38c14adbe6bfd6cc3ce1be186d053cd30e0abdd (patch) | |
tree | e74a4ef2812fdab82d074fee8fcd0eec6c1b94cf /sci-misc | |
parent | knoda + hk classes + odbc/qt3 (diff) | |
download | kde-sunset-a38c14adbe6bfd6cc3ce1be186d053cd30e0abdd.tar.gz kde-sunset-a38c14adbe6bfd6cc3ce1be186d053cd30e0abdd.tar.bz2 kde-sunset-a38c14adbe6bfd6cc3ce1be186d053cd30e0abdd.zip |
assorted lots of qt3 apps, all working
Diffstat (limited to 'sci-misc')
-rw-r--r-- | sci-misc/qcad/ChangeLog | 265 | ||||
-rw-r--r-- | sci-misc/qcad/Manifest | 22 | ||||
-rw-r--r-- | sci-misc/qcad/files/qcad-2.0.4.0-1.src-gentoo.patch | 61 | ||||
-rw-r--r-- | sci-misc/qcad/files/qcad-2.0.4.0-1.src-intptr.patch | 24 | ||||
-rw-r--r-- | sci-misc/qcad/files/qcad-2.0.4.0-gcc43.patch | 45 | ||||
-rw-r--r-- | sci-misc/qcad/files/qcad-2.0.5.0-doc.patch | 18 | ||||
-rw-r--r-- | sci-misc/qcad/metadata.xml | 5 | ||||
-rw-r--r-- | sci-misc/qcad/qcad-2.0.5.0.ebuild | 142 |
8 files changed, 582 insertions, 0 deletions
diff --git a/sci-misc/qcad/ChangeLog b/sci-misc/qcad/ChangeLog new file mode 100644 index 00000000..2cc86019 --- /dev/null +++ b/sci-misc/qcad/ChangeLog @@ -0,0 +1,265 @@ +# ChangeLog for sci-misc/qcad +# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-misc/qcad/ChangeLog,v 1.34 2009/01/18 22:28:25 bicatali Exp $ + + 18 Jan 2009; SĂ©bastien Fabbro <bicatali@gentoo.org> + +files/qcad-2.0.5.0-doc.patch, qcad-2.0.5.0.ebuild: + Added translations, thanks to kavol@email.cz, bug #250317 + + 26 Nov 2008; Brent Baude <ranger@gentoo.org> qcad-2.0.5.0.ebuild: + stable ppc64, bug 245710 + + 09 Nov 2008; Markus Meier <maekke@gentoo.org> qcad-2.0.5.0.ebuild: + x86 stable, bug #245710 + + 08 Nov 2008; nixnut <nixnut@gentoo.org> qcad-2.0.5.0.ebuild: + Stable on ppc wrt bug 245710 + + 07 Nov 2008; Jeroen Roovers <jer@gentoo.org> qcad-2.0.5.0.ebuild: + Stable for HPPA (bug #245710). + + 06 Nov 2008; Thomas Anderson <gentoofan23@gentoo.org> qcad-2.0.5.0.ebuild: + stable amd64, bug 245710 + + 19 Oct 2008; Markus Dittrich <markusle@gentoo.org> qcad-2.0.5.0.ebuild: + Removed installation of non-existent examples directory. + +*qcad-2.0.5.0 (26 Sep 2008) + + 26 Sep 2008; Markus Dittrich <markusle@gentoo.org> + +files/qcad-2.0.5.0-doc.patch, -qcad-2.0.4.0-r1.ebuild, + -qcad-2.0.4.0-r2.ebuild, -qcad-2.0.4.0-r4.ebuild, +qcad-2.0.5.0.ebuild: + Version bump and cleanup (fixes bug #117288). + + 27 Apr 2008; Markus Dittrich <markusle@gentoo.org> + +files/qcad-2.0.4.0-gcc43.patch, qcad-2.0.4.0-r5.ebuild: + Added gcc4.3 compatibility patch (fixes bug #219424). Thanks much to Peter + Alfredsen <peter.alfredsen@gmail.com>. + + 29 Feb 2008; Carsten Lohrke <carlo@gentoo.org> ChangeLog: + Remove icon extension from desktop entry to match Icon Theme Specification. + + 31 Dec 2007; Jeff Gardner <je_fro@gentoo.org> qcad-2.0.4.0-r1.ebuild, + qcad-2.0.4.0-r2.ebuild, qcad-2.0.4.0-r3.ebuild, qcad-2.0.4.0-r4.ebuild, + qcad-2.0.4.0-r5.ebuild: + Fix tons of quoting errors + + 31 Dec 2007; Jeff Gardner <je_fro@gentoo.org> ChangeLog: + Fix my email address + +*qcad-2.0.4.0-r5 (10 Aug 2007) + + 10 Aug 2007; <je_fro@gentoo.org> +qcad-2.0.4.0-r5.ebuild: + Fix make_desktop_entry. + + 15 Nov 2006; Markus Rothe <corsair@gentoo.org> qcad-2.0.4.0-r3.ebuild: + Stable on ppc64; bug #145841 + + 06 Nov 2006; Daniel Gryniewicz <dang@gentoo.org> qcad-2.0.4.0-r3.ebuild: + Marked stable on amd64 for bug #145841 + +*qcad-2.0.4.0-r4 (06 Nov 2006) + + 06 Nov 2006; Markus Dittrich <markusle@gentoo.org> + +qcad-2.0.4.0-r4.ebuild: + Fixed internationalization. See bug #149630. + + 06 Nov 2006; Christian Faulhammer <opfer@gentoo.org> + qcad-2.0.4.0-r3.ebuild: + stable x86, bug #145841 + + 05 Nov 2006; Stephanie Lockwood-Childs <wormo@gentoo.org> + qcad-2.0.4.0-r3.ebuild: + stable on ppc (Bug #145841) + + 05 Nov 2006; Jeroen Roovers <jer@gentoo.org> qcad-2.0.4.0-r3.ebuild: + Stable for HPPA (bug #145841). + + 21 Jul 2006; Jeroen Roovers <jer@gentoo.org> qcad-2.0.4.0-r3.ebuild: + Marked ~hppa (because it works). + + 24 Jun 2006; Jon Hood <squinky86@gentoo.org> + +files/qcad-2.0.4.0-1.src-intptr.patch, qcad-2.0.4.0-r3.ebuild: + Add amd64 patch for incompatible integer sizes. Thanks to myself and CAS, + Inc. <http://www.cas-inc.com/> for the patch, #134866. + + 18 Mar 2006; Markus Rothe <corsair@gentoo.org> qcad-2.0.4.0-r3.ebuild: + Added ~ppc64; bug #126533 + +*qcad-2.0.4.0-r3 (15 Jan 2006) + + 15 Jan 2006; Marcus D. Hanwell <cryos@gentoo.org> +qcad-2.0.4.0-r3.ebuild: + Removed run script creation, now using the binary as supplied. Closes bug + 110871. + + 07 Jan 2006; Carsten Lohrke <carlo@gentoo.org> qcad-2.0.4.0-r1.ebuild, + qcad-2.0.4.0-r2.ebuild: + QA: need-qt() needs to be called after R/DEPEND. + + 27 Nov 2005; Marcus D. Hanwell <cryos@gentoo.org> qcad-2.0.4.0-r2.ebuild: + Added touch ${WORKDIR}, closes bug 112864. + +*qcad-2.0.4.0-r2 (30 Aug 2005) + + 30 Aug 2005; Olivier Fisette <ribosome@gentoo.org> + +qcad-2.0.4.0-r2.ebuild: + Pass command-line arguments to the qcad binary. Thanks to Phred + <phred@phred.org.uk> for the idea. + + 24 Aug 2005; Patrick Kursawe <phosphan@gentoo.org> qcad-2.0.4.0-r1.ebuild: + No longer using cp -a (bug #103487) + + 25 Jul 2005; Patrick Kursawe <phosphan@gentoo.org> qcad-2.0.4.0-r1.ebuild: + Patching Makefiles and scripts to contain full path to qmake (bug #99808) + + 21 Jul 2005; Caleb Tennis <caleb@gentoo.org> qcad-2.0.4.0-r1.ebuild: + Put a blocker on Qt4 until the Makefiles are patched + + 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. + + 05 Feb 2005; Michael Hanselmann <hansmi@gentoo.org> + qcad-2.0.4.0-r1.ebuild: + Stable on ppc. + + 10 Jan 2005; Patrick Kursawe <phosphan@gentoo.org> qcad-2.0.4.0-r1.ebuild: + Manual tarball wasn't on mirrors - adding my dev.gentoo.org public as quick + fix and pushed on the mirrors. + +*qcad-2.0.4.0 (27 Dec 2004) + + 27 Dec 2004; Olivier Fisette <ribosome@gentoo.org> +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 <phosphan@gentoo.org> +qcad-2.0.4.0-r1.ebuild: + Added manual again + + 15 Dec 2004; Dylan Carlson <absinthe@gentoo.org> qcad-2.0.4.0.ebuild: + Stable on amd64. + + 17 Oct 2004; Dylan Carlson <absinthe@gentoo.org> qcad-2.0.4.0.ebuild: + keywords ~amd64. + +*qcad-2.0.4.0 (30 Sep 2004) + + 30 Sep 2004; Patrick Kursawe <phosphan@gentoo.org> +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 <kugelfang@gentoo.org> + +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 <phosphan@gentoo.org> qcad-2.0.3.1-r1.ebuild: + Stable for x86 + +*qcad-2.0.3.1-r1 (11 May 2004) + + 11 May 2004; Patrick Kursawe <phosphan@gentoo.org> 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 <phosphan@gentoo.org> qcad-2.0.3.1.ebuild: + Declaring stable for x86 + + 22 Apr 2004; Patrick Kursawe <phosphan@gentoo.org> 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 <phosphan@gentoo.org> 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 <phosphan@gentoo.org> qcad-2.0.2.0.ebuild: + Stable for x86 and ppc. + + 26 Mar 2004; Patrick Kursawe <phosphan@gentoo.org> 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 <phosphan@gentoo.org> qcad-2.0.2.0.ebuild: + Version bump with a few changes, see bug #39804 for details. + + 10 Feb 2004; Patrick Kursawe <phosphan@gentoo.org> 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 <caleb@gentoo.org> 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 <phosphan@gentoo.org> 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 <pyrania@gentoo.org> qcad-2.0.0.8.ebuild: + Bump + +*qcad-2.0.0.1 (24 Sep 2003) + + 24 Sep 2003; Patrick Kursawe <phosphan@gentoo.org> 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 <caleb@gentoo.org> 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 <danarmak@gentoo.org> qcad-1.5.4.ebuild: + Add stable x86 keyword. + + 15 Feb 2003; Mark Guertin <gerk@gentoo.org> qcad-1.5.4.ebuild : + set ~ppc in keywords + + 22 Nov 2002; Dan Armak <danarmak@gentoo.org> ChangeLog : + + New upstream release. + + 22 Nov 2002; Dan Armak <danarmak@gentoo.org> ChangeLog : + + Fix bug 7097 - don't use hardcoded QTDIR setting. + +*qcad-1.5.1 (19 Aug 2002) + + 19 Aug 2002; Dan Armak <danarmak@gentoo.org> ChangeLog : + + New (QT3) version. Closes #6335. + +*qcad-1.4.7 (1 May 2002) + + 1 May 2002; Seemant Kulleen <seemant@gentoo.org> 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 00000000..38ea8bd5 --- /dev/null +++ b/sci-misc/qcad/Manifest @@ -0,0 +1,22 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX qcad-2.0.4.0-1.src-gentoo.patch 2177 RMD160 b695c75f1c5269c320244185e3dd4d9b37867aac SHA1 2a495e2213e35e65dad7994329d3038df24d76f4 SHA256 de8383b1492659e924231005fde4db5e4bfb605c7fd25dcf73a89554945e4cdc +AUX qcad-2.0.4.0-1.src-intptr.patch 1174 RMD160 131cd2473686ef51326d73f7b2bcddc5b99eedb3 SHA1 596dd7b7cd37646dbcf248c9726d0260dedcff86 SHA256 0b7c0ee65e369aa46e9b0652b5f83fd1961c38f1fee10e9bf86cc1daa19cb7f1 +AUX qcad-2.0.4.0-gcc43.patch 1847 RMD160 a15ef3fd2d8df6ee1c598b73aa581b736b32e3ee SHA1 2c94b9f743d945582da725d1344c66dadc317eaa SHA256 f0add6f710264383e09788ac299f9fb967cd0ff110b96d4829ee51e7a6e277cf +AUX qcad-2.0.5.0-doc.patch 1188 RMD160 556be423cf6370867eeb917ee0f25a497e703ded SHA1 f9844517dcce3b33a780a0e47365266e5744088a SHA256 fb93a009ed4365f2db75b89ed8b2cbb6cc9f65ed5d273904c40b1266e1f50b22 +DIST qcad-2.0.5.0-1-community.src.tar.gz 4470033 RMD160 85f0b6d3c1edaa0c19494436413521316e803429 SHA1 aff563389d1285740f6bf7e28f93b8df0f902e0c SHA256 83327a9598c0ff042025601f5b4cd0582cde541297f3071b01cc0527ffe1511d +DIST qcad-manual-cs-2.0.4.0-1.html.zip 1582180 RMD160 e27cdd036b06c0094c9e4f3f84fc04a79a90cd70 SHA1 77d2c8e42608510db525841d0c7a69171878a49c SHA256 6738b455f6eae7a9a3128c0ff15fa43009a257c909ced7d2e7b5f17dff6c4d21 +DIST qcad-manual-de-2.1.0.0-1.html.zip 1658559 RMD160 3b9feb240b949a9a279ce35cabbb212c51e2ec17 SHA1 d125e6432ea4502ba6f978d7b56d860880f9bed0 SHA256 3c224f67b403a0a9742e406a16cb46c85add2b32e072dae4d1bd13d21125d99c +DIST qcad-manual-en-2.1.0.0-1.html.zip 1195023 RMD160 a69fcf97381ad57ec2c166f4d5059ccf849509e8 SHA1 5e1ffe7e2dcbf1f721a750a58be3935fd778c01a SHA256 091f3f57638274ef369874a7e49344ae35fadd1e0bd1da3fbb23175ba2f39134 +DIST qcad-manual-hu-2.0.4.0-1.html.zip 1583042 RMD160 84bdf50cfec90af8f38efbc8ac9b5dd35c3f4adc SHA1 f8ad1d961799dcf5282f12b52fc24b7ee75ef7de SHA256 51b40b0ebe19c5e0e3cf4f192ed9f97ec411ed23f7ee4ea0594e3ac0cbb40c48 +EBUILD qcad-2.0.5.0.ebuild 4601 RMD160 c088f0b1fd8dc6698d045a7a01512f0150bf8dad SHA1 83bb927e4164ed44e979b60d473c6220859f9906 SHA256 abdeabf210898541480ea4d4282f0a73e3dffc1b3d808e49f199f93b333fc8b5 +MISC ChangeLog 9546 RMD160 ba60510356d22573858a05a38939a8cb630b7640 SHA1 de1d8379c9bac199aa3596e32fd74880e78e4693 SHA256 db9c5c6fa4de369c777eb4d377d2593a725dc4489b5582db3e3dc6daf6b22965 +MISC metadata.xml 156 RMD160 dc078172bfebcb25d69bdf8731714f9cce9d3e36 SHA1 da2b240a255820145b7c83a5c48e45b96b7e9ee6 SHA256 5d22100902db7507a5b5493dd4a66cdb08025faf80a2c0b75e6392315c47f900 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.9 (GNU/Linux) + +iEYEARECAAYFAklzrRkACgkQ1ycZbhPLE2B6mQCgrCtjI6nckLeHmErvyP/QcLoT +oIIAnjvMvmlg9XXC12SD7PjhpEt/O08Q +=Fyuh +-----END PGP SIGNATURE----- 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 00000000..a5598b64 --- /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/files/qcad-2.0.4.0-1.src-intptr.patch b/sci-misc/qcad/files/qcad-2.0.4.0-1.src-intptr.patch new file mode 100644 index 00000000..6d8b6acc --- /dev/null +++ b/sci-misc/qcad/files/qcad-2.0.4.0-1.src-intptr.patch @@ -0,0 +1,24 @@ +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 new file mode 100644 index 00000000..bc68e81c --- /dev/null +++ b/sci-misc/qcad/files/qcad-2.0.4.0-gcc43.patch @@ -0,0 +1,45 @@ +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 new file mode 100644 index 00000000..7f080acb --- /dev/null +++ b/sci-misc/qcad/files/qcad-2.0.5.0-doc.patch @@ -0,0 +1,18 @@ +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/metadata.xml b/sci-misc/qcad/metadata.xml new file mode 100644 index 00000000..b229aec8 --- /dev/null +++ b/sci-misc/qcad/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>sci</herd> +</pkgmetadata> diff --git a/sci-misc/qcad/qcad-2.0.5.0.ebuild b/sci-misc/qcad/qcad-2.0.5.0.ebuild new file mode 100644 index 00000000..1b6a7a5e --- /dev/null +++ b/sci-misc/qcad/qcad-2.0.5.0.ebuild @@ -0,0 +1,142 @@ +# 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 +} |