--- qcad-2.0.5.0-1+090318.orig/debian/qcad.mime +++ qcad-2.0.5.0-1+090318/debian/qcad.mime @@ -0,0 +1 @@ +image/vnd.dxf; qcad '%f'; test=test -n "$DISPLAY"; description="Drawing Exchange Format"; nametemplate=%s.dxf --- qcad-2.0.5.0-1+090318.orig/debian/qcad.docs +++ qcad-2.0.5.0-1+090318/debian/qcad.docs @@ -0,0 +1 @@ +qcad/README --- qcad-2.0.5.0-1+090318.orig/debian/make_dist.sh +++ qcad-2.0.5.0-1+090318/debian/make_dist.sh @@ -0,0 +1,14 @@ +#!/bin/sh + +dirs="dxflib fparser qcad qcadactions qcadcmd qcadguiqt qcadlib" + +for i in $dirs +do + cd $i + make clean + cd .. +done + +for i in $(find -name '*.qm') ; do rm -rf $i ; done +for i in $(find -name '*.a') ; do rm -rf $i ; done +rm */include/* --- qcad-2.0.5.0-1+090318.orig/debian/qcad.1 +++ qcad-2.0.5.0-1+090318/debian/qcad.1 @@ -0,0 +1,11 @@ +.TH QCad 1 "February 2001" "Debian/GNU Linux" +.SH NAME +qcad \- A professional CAD System. +.SH DESCRIPTION +QCad is a professional CAD System. With QCad you can easily construct and +change drawings with ISO-texts and many other features and save them as +DXF-files. These DXF-files are the interface to many CAD-systems such as +AutoCAD(R) and many others. + +QCad has no special invocation parameters. You can find the useful +docs in /usr/share/doc/qcad/html/ --- qcad-2.0.5.0-1+090318.orig/debian/libqcad0-dev.install +++ qcad-2.0.5.0-1+090318/debian/libqcad0-dev.install @@ -0,0 +1,8 @@ +./*/src/*.h /usr/include/qcad/ +./*/src/qg_*.h /usr/include/qcad/ +./*/src/qc_*.h /usr/include/qcad/ +./*/src/qc_*.h /usr/include/qcad/ +./*/src/dl_*.h /usr/include/qcad/ +./*/src/rs_*.h /usr/include/qcad/ +./*/src/*/rs_*.h /usr/include/qcad/ + --- qcad-2.0.5.0-1+090318.orig/debian/README.source +++ qcad-2.0.5.0-1+090318/debian/README.source @@ -0,0 +1,17 @@ +qcad for Debian +--------------- + + + +This package uses quilt to manage all modifications to the upstream +source. Changes are stored in the source package as diffs in +debian/patches and applied during the build. Please see: + + /usr/share/doc/quilt/README.source + +for more information on how to apply the patches, modify patches, or +remove a patch. + + + --- qcad-2.0.5.0-1+090318.orig/debian/control +++ qcad-2.0.5.0-1+090318/debian/control @@ -0,0 +1,55 @@ +Source: qcad +Section: graphics +Priority: optional +Maintainer: Ruben Molina +Build-Depends: quilt (>= 0.46-7~), debhelper (>= 7), autotools-dev, + libqt3-mt-dev, libqt3-headers, qt3-dev-tools, qt3-apps-dev +Standards-Version: 3.8.3 +Homepage: http://www.ribbonsoft.com/qcad.html + +Package: qcad +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Recommends: cups-client +Description: professional CAD system + QCAD is an application for computer aided drafting (CAD) in two + dimensions (2D). With QCAD you can create technical drawings such as + plans for buildings, interiors, mechanical parts or schemas and + diagrams. + +Package: qcad-data +Section: doc +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Replaces: qcad (<< ${source:Version}) +Description: professional CAD system -- shared files + QCAD is an application for computer aided drafting (CAD) in two + dimensions (2D). + . + This package contains plataform independent files for QCAD, including + fonts, patterns, and interface trnalations + +Package: qcad-doc +Section: doc +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends}, qt3-assistant +Recommends: qcad (>= ${source:Version}) +Description: professional CAD system -- documentation + QCAD is an application for computer aided drafting (CAD) in two + dimensions (2D). + . + This package contains a set of tutorial web pages which helps you to + learn and practice QCAD. + +Package: libqcad0-dev +Section: libdevel +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Conflicts: libqcad0 +Replaces: libqcad0 +Description: professional CAD system -- development headers and static libraries + QCAD is an application for computer aided drafting (CAD) in two + dimensions (2D). + . + This package contains header files and the static libraries of QCAD + components. --- qcad-2.0.5.0-1+090318.orig/debian/qcad.desktop +++ qcad-2.0.5.0-1+090318/debian/qcad.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Version=1.0 +Type=Application +Name=QCaD +Comment=A professional CAD System +Comment[es]=Un sistema CAD profesional +TryExec=qcad +Exec=qcad %F +Icon=qcad +Categories=Graphics +MimeType=image/vnd.dxf --- qcad-2.0.5.0-1+090318.orig/debian/rules +++ qcad-2.0.5.0-1+090318/debian/rules @@ -0,0 +1,35 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +# export DH_VERBOSE=1 + +%: + dh --with quilt $@ + +clean: + dh clean --with quilt --before dh_auto_clean + + touch ./dxflib/include/DELETE.ME + # touching because make_dist.sh will fail if there is nothing to delete in */include/* + # upstream should use: find . \( -name '*.a' -o -name '*.qm' -o -type l \) -exec rm -f {} \; + sh make_dist.sh + + # patch-system-but-direct-changes-in-diff + rm -f qcadguiqt/src/Makefile qcadcmd/src/Makefile qcad/src/Makefile qcadlib/src/Makefile qcadactions/src/Makefile + # configure-generated-file-in-source + rm -f dxflib/config.log dxflib/config.status fparser/config.log fparser/config.status + # package-contains-empty-directory + [ ! -d qcad/doc/classref/html/en/ ] || rmdir qcad/doc/classref/html/en/ + dh clean --with quilt --remaining + +build: + dh build --with quilt --before dh_auto_build + cd scripts/ && QTDIR=/usr/share/qt3 QMAKESPEC=/usr/share/qt3/mkspecs/linux-g++ PATH=${PATH}:/usr/share/qt3/bin ./build_qcad.sh + dh build --with quilt --after dh_auto_build + +binary: + dh binary --with quilt --until dh_prep +# dh_installchangelogs debian/CHANGES + dh_installman debian/qcad.1 + dh binary --with quilt --remaining + --- qcad-2.0.5.0-1+090318.orig/debian/qcad-doc.install +++ qcad-2.0.5.0-1+090318/debian/qcad-doc.install @@ -0,0 +1 @@ +qcad/doc/* ./usr/share/doc/qcad/html/ --- qcad-2.0.5.0-1+090318.orig/debian/qcad-data.install +++ qcad-2.0.5.0-1+090318/debian/qcad-data.install @@ -0,0 +1,3 @@ +./qcad/fonts /usr/share/qcad/ +./qcad/patterns /usr/share/qcad/ +./qcad/qm /usr/share/qcad/ --- qcad-2.0.5.0-1+090318.orig/debian/qcad.applications +++ qcad-2.0.5.0-1+090318/debian/qcad.applications @@ -0,0 +1,8 @@ +qcad + requires_terminal=false + command=qcad + expects_uris=false + can_open_multiple_files=true + name=QCad + mime_types=image/vnd.dxf + --- qcad-2.0.5.0-1+090318.orig/debian/qcad-doc.doc-base +++ qcad-2.0.5.0-1+090318/debian/qcad-doc.doc-base @@ -0,0 +1,13 @@ +Document: qcad-reference-manual +Title: QCad User Reference Manual +Author: Andrew Mustun +Abstract: The User Reference Manual for QCad. + This manual is designed to get you started using QCad and to help you using + it more efficiently. Further it will give you an idea of the more advanced + possibilities behind QCad. It will also introduce you in the world of + computer aided design (CAD). +Section: Science/Engineering + +Format: HTML +Index: /usr/share/doc/qcad/html/index.html +Files: /usr/share/doc/qcad/html/*.html --- qcad-2.0.5.0-1+090318.orig/debian/qcad.menu +++ qcad-2.0.5.0-1+090318/debian/qcad.menu @@ -0,0 +1,3 @@ +?package(qcad):needs="X11" section="Applications/Science/Engineering" hints="CAD"\ + title="QCad" command="/usr/bin/qcad"\ + icon="/usr/share/pixmaps/qcad.xpm" --- qcad-2.0.5.0-1+090318.orig/debian/compat +++ qcad-2.0.5.0-1+090318/debian/compat @@ -0,0 +1 @@ +7 --- qcad-2.0.5.0-1+090318.orig/debian/changelog +++ qcad-2.0.5.0-1+090318/debian/changelog @@ -0,0 +1,353 @@ +qcad (2.0.5.0-1+090318-2) unstable; urgency=low + + * Adding remaining patches from unstable + + 30-paths as define-debian-paths.patch + + 60-qcad-doc-hint as add-hint-about-qcad-doc.patch + + 70-about.txt as create-about_txt.patch + * Add Categories to desktop file (Closes: #512600). Thanks Gabriel Ruiz. + * Add Recommends: cups-client (Closes: #520741). Thanks David Erosa. + * Update debian/watch + * Migrating new debian/rules to unstable + + -- Ruben Molina Fri, 13 Nov 2009 19:50:14 -0500 + +qcad (2.0.5.0-1+090318-1) experimental; urgency=low + + * New upstream version. RibbonSoft's community edition of QCad has been + stalled for years (they are still working on their non-free version). + A fork called qcad-free was started by Jani Frilander, including many + bugfixes, polyline support, and additional arc modes. + * Fully reworked debian/rules using debhelper 7 tiny rules + * Now quilt instead of dpatch + * Updated patches + + 05-Makefile removed (unneeded with new debian/rules) + + 10-buildscript removed (unneeded with new debian/rules) + + 15-clean removed (unneeded with new debian/rules) + + 20-buildtrans removed (restored by new upstream) + + 25-longcast removed (incorporated by upstream) + + 35-longlong removed (incorporated by upstream) + + 50-initialdlg renamed to bug#234340.patch + + 55-htmlentity renamed to bug#370464.patch + + 80-gcc43 removed (incorporated by upstream) + + 85-bash-release_translations renamed + * Adding missing entries to debian/copyright + + -- Ruben Molina Wed, 11 Nov 2009 19:26:56 -0500 + +qcad (2.0.5.0-1-5) unstable; urgency=low + + * Fix mime-info file (Closes: #506256). Thanks to Philipp M. Hahn. + * Add Depends on libcups2-dev (Closes: #437363, Closes: #420746). + * Add a new patch (85-bash-release_translations.dpatch) to force the use of + /bin/bash with release_translations.sh + * Update debian/rules to force the use of /bin/bash with build_qcad.sh. + * Update watch file. + + -- Ruben Molina Sat, 20 Dec 2008 21:42:03 -0500 + +qcad (2.0.5.0-1-4) unstable; urgency=medium + + * Added Recommends/Replaces for qcad/qcad-data + (Solves piuparts problems and Closes: #493312) + * Modified short descriptions for consistency. + + -- Ruben Molina Sat, 02 Aug 2008 17:24:09 -0500 + +qcad (2.0.5.0-1-3) unstable; urgency=low + + * Acknowledge previous NMU. Changes incorporated in a new patch + (80-gcc43.dpatch). Closes: #470973 + * New Maintainer. Closes: #491016 + * Removed 40-config.dpatch (Old manual update of config scripts) + * Added rules to update config scripts from autotools-dev + * Added Build-Depends on autotools-dev + * Standards-Version updated to 3.8.0 + * Homepage field added + * Added debian/watch + * Added debian/compat and updated debhelper version on Build-Depends + * Changed Section in menu to Applications/Science/Engineering + * Changed Section in doc-base to Science/Engineering + * Removed 'Encoding' from qcad.desktop (no longer necessary) + * Updated clean target to avoid direct changes in Makefiles + * Added new binary target qcad-data, split arch indep files + (arch-dep-package-has-big-usr-share 8276kB 68%) + * Added MimeType to qcad.desktop. Closes: #472002 + * Removed 45-qcad_ca.dpatch (Old/Incompatible Catalan translation) + * Added a dh_desktop rule + + -- Ruben Molina Fri, 25 Jul 2008 13:24:43 -0500 + +qcad (2.0.5.0-1-2.1) unstable; urgency=medium + + * Non-maintainer upload. + * Fix FTBFS with GCC 4.3 (Closes: #417503, #441578). + + -- Luk Claes Fri, 14 Mar 2008 19:09:14 +0000 + +qcad (2.0.5.0-1-2) unstable; urgency=low + + * debian/copyright: updated contents + * debian/rules: install qcad.png as manual.png to avoid error message + when opening the user manual + * Added about.txt for Qt assistant (Closes: #380221) + * debian/patches/60-qcad-doc-hint.dpatch: print a hint referring to the + qcad-doc package if launching the help assistant fails (Closes: #315867) + * patches/35-longlong.dpatch, patches/15-clean.dpatch, + patches/50-initialdlg.dpatch, patches/10-buildscript.dpatch, + patches/45-qcad_ca.dpatch, patches/30-paths.dpatch: fixed patch file + names + * debian/patches/*: removed line "## All lines beginning with ..." + * debian/control: simplified dependencies; added versioned dependencies + to Recommends: between qcad and qcad-doc + + -- Andreas Fester Tue, 22 Aug 2006 18:33:43 +0200 + +qcad (2.0.5.0-1-1) unstable; urgency=low + + * New upstream release + * New Maintainer (Closes: #374954) + * Added dpatch framework + * Moved qcad-doc to Section: doc and libqcad0-dev to Section: libdevel + * Updated config.guess and config.sub (Closes: #360225) + * Fixed size of initial dialog for wmaker (Closes: #234340) + * Updated policy version to 3.7.2 + * Officially closes NMU fixes (Closes: #282206, #347061, #288190, #321671) + * Added "Replaces: libcad0" and "Conflicts: libcad0" for libqcad0-dev + (Closes: #359958) + * Added "Recommends: qcad-doc" for qcad (Closes: #377360) + * Replace "<" with html entity in qcad/doc/construction_ellipse.html + (Closes: #370464) + * Added doc-base descriptor + + -- Andreas Fester Mon, 3 Jul 2006 21:00:48 +0200 + +qcad (2.0.4.0-1-2.2) unstable; urgency=low + + * Non-maintainer upload + * Drop unneeded xlibs-dev build-dep (Closes: #347061) + * Drop libqcad0 package, move static libs to libqcad0-dev (and change + that to arch: any) and fix deps. (Closes: #321671) + * Fix link to homepage in Description (Closes: #282206) + + -- Marc 'HE' Brockschmidt Sat, 21 Jan 2006 18:06:09 +0100 + +qcad (2.0.4.0-1-2.1) unstable; urgency=low + + * Non-maintainer upload. + * Recompile for GCC 4 transition. + * Applied patch to allow compiling on amd64 (Closes: Bug#288190). + Thanks to Andreas Jochens for the report. + + -- Gerd Flaig Wed, 7 Sep 2005 22:05:13 +0200 + +qcad (2.0.4.0-1-2) unstable; urgency=low + + * mime types added to integrate QCad into Gnome and KDE desktops. + + -- Javier Carranza Tue, 12 Oct 2004 14:41:02 +0200 + +qcad (2.0.4.0-1-1) unstable; urgency=low + + * New upstream release. + * Documentation access from menu fixed (Closes: Bug#270703). + * Added patch from José L. Redrejo to preconfigure patterns, translations, + scripts, fonts and library paths in qcad (partlibrary compatibility). + * qcad.xpm has been relocated to /usr/share/pixmaps + + -- Javier Carranza Wed, 20 Sep 2004 16:47:25 +0200 + +qcad (2.0.3.3-1-1) unstable; urgency=low + + * New upstream release. + * Compiled against Qt 3.3.2. + * Updated description packages from control file to provide more information. + * Included .desktop icon to comply with freedesktop. + * Changed Architecture field to all in qcad-doc and libqcad0-dev packages. + + -- Javier Carranza Mon, 14 Jul 2004 18:32:12 +0200 + +qcad (2.0.3.1-1-1) unstable; urgency=low + + * New upstream release (Closes: Bug#222476). + * New maintaniner (thanks Fernando). + * Changed Build-depends to include libqt3-mt-dev and qt3-dev-tools. + * It has been splitted to four new packages (qcad, qcad-doc, libqcad0 and + libqcad0-dev). + + -- Javier Carranza Mon, 03 May 2004 19:28:27 +0200 + +qcad (1.5.4-5) unstable; urgency=low + + * Changed Build-depends again to show only libqt3-headers instead of + libqt3-plugins-headers|libqt3-headers (Closes: Bug#216749) + + -- Fernando Sanchez Mon, 20 Oct 2003 23:32:20 +0200 + +qcad (1.5.4-4) unstable; urgency=low + + * Applied patch from Matthias Urlichs to allow compiling on m68k + architecture. Thanks a lot to Petter Reinholdtsen for his help with this + problem. + * Changed Build-depends on libqt3-plugins-headers for + libqt3-plugins-headers|libqt3-headers + * Updated Standards-Version to 3.6.1 + * Modified package long description so that it does not contain short + description too + + -- Fernando Sanchez Sun, 12 Oct 2003 13:57:34 +0200 + +qcad (1.5.4-3) unstable; urgency=low + + * Recompiled against libqt3c102-mt. Thanks to Jan Niehusmann for the + patch (Closes: Bug#180596) + * Added Build-Depends on libqt3-compat-headers, in order to have qlist.h + available + + -- Fernando Sanchez Sun, 16 Feb 2003 11:15:16 +0100 + +qcad (1.5.4-2) unstable; urgency=low + + * Applied alpha compile patch in the right place + + -- Fernando Sanchez Sun, 24 Nov 2002 23:35:32 +0100 + +qcad (1.5.4-1) unstable; urgency=low + + * New upstream release (Closes: Bug#161299) + * Help is now properly shown (Closes: Bug#162012). + * Dimension Drawing preferences are now shown OK (Closes: Bug#167821). + * Applied patch to workaround broken alpha compiler (Closes: Bug#157061). + Thanks to Petter Reinholdtsen for the report and to Colin Watson for the + delayed NMU. + + -- Fernando Sanchez Sun, 24 Nov 2002 21:42:28 +0100 + +qcad (1.4.14-1) unstable; urgency=low + + * New upstream release (Closes: Bug#125958, Bug#128760, Bug#76204) + + -- Fernando Sanchez Tue, 25 Jun 2002 12:29:10 +0200 + +qcad (1.4.7-2) unstable; urgency=low + + * Compiled against Qt 2.3.0-final-5 libs (Closes: Bug#99077) + * Moved qcad binary to /usr/bin/ + + -- Fernando Sanchez Sat, 2 Jun 2001 18:14:29 +0200 + +qcad (1.4.7-1) unstable; urgency=low + + * New upstream release (Closes: Bug#91771) + + -- Fernando Sanchez Mon, 26 Mar 2001 21:29:15 +0200 + +qcad (1.4.6-2) unstable; urgency=low + + * Compiled against Qt 2.3.0 (Closes: Bug#89778) + + -- Fernando Sanchez Sun, 18 Mar 2001 20:36:34 +0100 + +qcad (1.4.6-1) unstable; urgency=low + + * New upstream release + * Compiled against Qt 2.2 again (version 1.4.6 does not crash anymore) + (Closes: Bug#85263) + * Moved pixmaps to /usr/share/qcad/pixmaps/ (Closes: Bug#77196, Bug#79662, + Bug#84148) + * Compiled with newest libc and x11 libs + * Created minimal manpage + + -- Fernando Sanchez Sun, 25 Feb 2001 18:02:29 +0100 + +qcad (1.4.4-4) unstable; urgency=low + + * Recompiled with older Qt 2.0.2 libraries because current ones (2.2.4) + make QCad die with signal 11 and package needs to be rebuilt in order to + close bug #77196. + + -- Fernando Sanchez Fri, 9 Feb 2001 12:45:45 +0100 + +qcad (1.4.4-3) unstable; urgency=low + + * Recompiled with libqt2.2 + * Added debhelper to Build-Depends control field. (Closes: Bug#69774) + + -- Fernando Sanchez Sat, 9 Sep 2000 11:37:43 +0200 + +qcad (1.4.4-2) unstable; urgency=low + + * Recompiled using zlib1g 1.1.3-9, so that qcad does not depend on + 'zlib1' but 'zlib1g'. (Closes: Bug#69367) + + -- Fernando Sanchez Fri, 18 Aug 2000 23:32:53 +0200 + +qcad (1.4.4-1) unstable; urgency=low + + * New upstream release + + -- Fernando Sanchez Thu, 17 Aug 2000 23:40:25 +0200 + +qcad (1.4.1-2) unstable; urgency=low + + * Compiled against newer libqt2.1 package libs. + * Added Build-Depends entry in control file (closes: Bug#65549) + + -- Fernando Sanchez Sat, 15 Jul 2000 09:57:51 +0200 + +qcad (1.4.1-1) unstable; urgency=low + + * New upstream release + + -- Fernando Sanchez Fri, 9 Jun 2000 01:25:54 +0200 + +qcad (1.4.0-1) unstable; urgency=low + + * New upstream release + + -- Fernando Sanchez Tue, 9 May 2000 08:16:31 +0200 + +qcad (1.3.3-2) frozen; urgency=low + + * .css files in html/ are now left uncompressed for browsers to be able to + use it properly (closes: Bug#56118) + + -- Fernando Sanchez Tue, 25 Jan 2000 16:08:32 +0100 + +qcad (1.3.3-1) unstable; urgency=low + + * New upstream release + + -- Fernando Sanchez Sun, 19 Dec 1999 13:48:12 +0100 + +qcad (1.3.2-2) unstable; urgency=low + + * html docs are now in /usr/share/doc/qcad/html/ instead of + /usr/share/doc/qcad/doc. Closes: #51861 + + -- Fernando Sanchez Fri, 3 Dec 1999 21:18:31 +0100 + +qcad (1.3.2-1) unstable; urgency=low + + * New upstream release + + -- Fernando Sanchez Tue, 30 Nov 1999 14:55:51 +0100 + +qcad (1.3.0-2) unstable; urgency=low + + * License changes - upstream source archive included a LICENSE file which + was not intended to be there since version 1.2.0. Package is now ok in + main section, as it's completely GPL (with QPL-compliance addenum :-) + + -- Fernando Sanchez Sun, 28 Nov 1999 09:55:45 +0100 + +qcad (1.3.0-1) unstable; urgency=low + + * New upstream release. + + -- Fernando Sanchez Thu, 25 Nov 1999 14:40:44 +0100 + +qcad (1.2.0-1) unstable; urgency=low + + * Initial Release. + + -- Fernando Sanchez Sat, 13 Nov 1999 18:19:15 +0100 --- qcad-2.0.5.0-1+090318.orig/debian/qcad.install +++ qcad-2.0.5.0-1+090318/debian/qcad.install @@ -0,0 +1,2 @@ +./qcad/qcad ./usr/bin/ +./qcad/src/xpm/qcad.xpm ./usr/share/pixmaps/ --- qcad-2.0.5.0-1+090318.orig/debian/copyright +++ qcad-2.0.5.0-1+090318/debian/copyright @@ -0,0 +1,71 @@ +This work was packaged for Debian by: + + Ruben Molina on Thu, 29 Oct 2009 10:07:25 -0500 + +It was downloaded from: + + http://sites.google.com/site/qcadfree/ + +Upstream Authors: + + Andrew Mustun + Jani Frilander + +Copyright: + + Copyright (C) 2001-2003 RibbonSoft. + +License: + + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License version 2 as + published by the Free Software Foundation. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian systems, the complete text of the GNU General Public License +version 2 can be found in `/usr/share/common-licenses/GPL-2'. + +The Debian packaging is: + + Copyright (C) 2009 Ruben Molina + +you can redistribute it and/or modify it under the terms of the GNU +General Public License as published by the Free Software Foundation; +either version 2 of the License, or (at your option) any later version. + +./dxflib/test/test_creationclass.cpp: + Copyright (C) 2001 Andrew Mustun + Licensed under the GPL version 2, see above. + +./qcadlib/src/gui/rs_staticgraphicview.cpp are: + Copyright (C) 2001 Andrew Mustun + Licensed under the GPL version 2, see above. + +./dxflib/test/main.cpp is: + Copyright (C) 2000-2001 Andrew Mustun + Licensed under the GPL version 2, see above. + +./dxflib/src/dl_writer_ascii.cpp is: + Copyright (C) 2001-2003 RibbonSoft. + Copyright (C) 2001 Robert J. Campbell Jr. + Licensed under the GPL version 2, see above. + +./qcadactions/src/rs_actiondrawpolyline.cpp is: + Copyright (C) 2001-2003 RibbonSoft. + Copyright (C) 2009 Jani Frilander. + Licensed under the GPL version 2, see above. + +./qcadlib/src/scripting/rs_python_wrappers.cpp is: + Copyright (C) 2003 Markus Meyer + Permission to copy, use, modify, sell and distribute this file is + granted provided this copyright notice is not removed or altered. + This software is provided "as is" without express or implied + warranty, and with no claim as to its suitability for any purpose. --- qcad-2.0.5.0-1+090318.orig/debian/docs +++ qcad-2.0.5.0-1+090318/debian/docs @@ -0,0 +1 @@ +README.qcad-free --- qcad-2.0.5.0-1+090318.orig/debian/watch +++ qcad-2.0.5.0-1+090318/debian/watch @@ -0,0 +1,3 @@ +version=3 +opts="uversionmangle=s/^/2.0.5.0-1+/" \ +http://sites.google.com/site/qcadfree/ qcad-free-(.*)\.tar\.bz2 --- qcad-2.0.5.0-1+090318.orig/debian/qcad.keys +++ qcad-2.0.5.0-1+090318/debian/qcad.keys @@ -0,0 +1,3 @@ +image/vnd.dxf: + ext: dxf + --- qcad-2.0.5.0-1+090318.orig/debian/source.lintian-overrides +++ qcad-2.0.5.0-1+090318/debian/source.lintian-overrides @@ -0,0 +1,5 @@ +# Files are cleaned in debian/rules +qcad source: configure-generated-file-in-source dxflib/config.log +qcad source: configure-generated-file-in-source dxflib/config.status +qcad source: configure-generated-file-in-source fparser/config.log +qcad source: configure-generated-file-in-source fparser/config.status --- qcad-2.0.5.0-1+090318.orig/debian/patches/add-hint-about-qcad-doc.patch +++ qcad-2.0.5.0-1+090318/debian/patches/add-hint-about-qcad-doc.patch @@ -0,0 +1,71 @@ +Description: If launching the manual fails, print a hint to the qcad-doc +Bug-Debian: http://bugs.debian.org/315867 +Author: Andreas Fester +--- qcad-free-dev.orig/qcad/src/qc_applicationwindow.cpp ++++ qcad-free-dev/qcad/src/qc_applicationwindow.cpp +@@ -117,6 +117,7 @@ + + appWindow = this; + assistant = NULL; ++ qcadDocHint = false; + workspace = NULL; + + RS_DEBUG->print("QC_ApplicationWindow::QC_ApplicationWindow: setting icon"); +@@ -1655,6 +1656,20 @@ + } + + ++/** ++ * Shows the given error which was caused by the QAssistantClient ++ * on the command line. ++ */ ++void QC_ApplicationWindow::slotAssistantError(const QString& msg) { ++ QString message = msg; ++ if (!qcadDocHint) { ++ message += " (Package qcad-doc installed?)"; ++ qcadDocHint = true; ++ } ++ commandWidget->appendHistory(message); ++} ++ ++ + + /** + * Hands focus back to the application window. In the rare event +@@ -2948,7 +2963,7 @@ + RS_SYSTEM->getAppDir().latin1()); + assistant = new QAssistantClient(QString::null, this); + connect(assistant, SIGNAL(error(const QString&)), +- this, SLOT(slotError(const QString&))); ++ this, SLOT(slotAssistantError(const QString&))); + QStringList args; + args << "-profile"; + args << QDir::convertSeparators(RS_SYSTEM->getDocPath() + "/qcaddoc.adp"); +@@ -2958,6 +2973,7 @@ + assistant->setArguments(args); + #endif + } ++ qcadDocHint = false; + assistant->openAssistant(); + //assistant->showPage("index.html"); + } +--- qcad-free-dev.orig/qcad/src/qc_applicationwindow.h ++++ qcad-free-dev/qcad/src/qc_applicationwindow.h +@@ -122,6 +122,7 @@ + void slotEnter(); + void slotFocusCommandLine(); + void slotError(const QString& msg); ++ void slotAssistantError(const QString& msg); + + void slotWindowActivated(QWidget* w); + void slotWindowsMenuAboutToShow(); +@@ -456,6 +457,9 @@ + QAction *testResize800; + QAction *testResize1024; + ++ // flag to print the hint for the qcad-doc package once ++ // for each QAssistentClient call ++ bool qcadDocHint; + }; + + --- qcad-2.0.5.0-1+090318.orig/debian/patches/create-about_txt.patch +++ qcad-2.0.5.0-1+090318/debian/patches/create-about_txt.patch @@ -0,0 +1,10 @@ +Description: Add missing file about.txt +Bug-Debian: http://bugs.debian.org/380221 +Author: Andreas Fester +--- /dev/null ++++ qcad-free-dev/qcad/doc/about.txt +@@ -0,0 +1,4 @@ ++ QCad User Reference Manual ++ ++Copyright 2003 RibbonSoft, Inc. ++ --- qcad-2.0.5.0-1+090318.orig/debian/patches/series +++ qcad-2.0.5.0-1+090318/debian/patches/series @@ -0,0 +1,7 @@ +invoke-release-translations-with-bash.patch +# define-qmakespecs-on-makefiles.patch +bug#234340.patch +bug#370464.patch +define-debian-paths.patch +add-hint-about-qcad-doc.patch +create-about_txt.patch --- qcad-2.0.5.0-1+090318.orig/debian/patches/invoke-release-translations-with-bash.patch +++ qcad-2.0.5.0-1+090318/debian/patches/invoke-release-translations-with-bash.patch @@ -0,0 +1,15 @@ +Description: fix invocation of a bash script + release_translations.sh is declared as a bash script, it uses pushd and + popd so it will fail if invoked from dash +Author: Ruben Molina +--- qcad-free-dev.orig/scripts/build_qcad.sh ++++ qcad-free-dev/scripts/build_qcad.sh +@@ -248,7 +248,7 @@ + then + echo "-------- Building Translations --------" + cd scripts +- sh ./release_translations.sh ++ bash ./release_translations.sh + fi + + if [ "x$platform" == "xosx" ] --- qcad-2.0.5.0-1+090318.orig/debian/patches/bug#370464.patch +++ qcad-2.0.5.0-1+090318/debian/patches/bug#370464.patch @@ -0,0 +1,25 @@ +Description: Fix html documentation using html entities when needed + qcad/doc/construction_ellipse.html uses some "less than" signs without using + html entities to represent them so they break the rendering of the HTML file +Bug-Debian: http://bugs.debian.org/370464 +Author: Timo Juhani Lindfors +--- qcad-2.0.5.0-1+090318.orig/qcad/doc/construction_ellipse.html ++++ qcad-2.0.5.0-1+090318/qcad/doc/construction_ellipse.html +@@ -112,7 +112,7 @@ +
  • Define the major axis by clicking the endpoint of the axis, which is + a point on the ellipse. You can also enter a co-ordinate into the command + line or enter an angle and major radius in the format +- @50<30 ++ @50<30 + + where 50 is the major radius and 30 is the ellipse angle.
  • + +@@ -162,7 +162,7 @@ +
  • Define the major axis by clicking the endpoint of the axis, which is + a point on the ellipse. You can also enter a co-ordinate into the command + line or enter an angle and major radius in the format +- @50<30 ++ @50<30 + + where 50 is the major radius and 30 is the ellipse angle.
  • + --- qcad-2.0.5.0-1+090318.orig/debian/patches/define-debian-paths.patch +++ qcad-2.0.5.0-1+090318/debian/patches/define-debian-paths.patch @@ -0,0 +1,19 @@ +Description: Adjust file and directory paths to the Debian environment +Forwarded: not-needed +Author: Andreas Fester +--- qcad-free-dev.orig/qcad/src/main.cpp ++++ qcad-free-dev/qcad/src/main.cpp +@@ -146,6 +146,13 @@ + unit = RS_SETTINGS->readEntry("/Unit", QC_PREDEFINED_UNIT); + #endif + RS_SETTINGS->endGroup(); ++ RS_SETTINGS->beginGroup("/Paths"); ++ RS_SETTINGS->writeEntry("/Translations", "/usr/share/qcad/qm"); ++ RS_SETTINGS->writeEntry("/Patterns", "/usr/share/qcad/patterns"); ++ RS_SETTINGS->writeEntry("/Fonts", "/usr/share/qcad/fonts"); ++ RS_SETTINGS->writeEntry("/Scripts", "/usr/share/qcad/scripts"); ++ RS_SETTINGS->writeEntry("/Library", "/usr/share/qcad/libraries"); ++ RS_SETTINGS->endGroup(); + + // show initial config dialog: + if (unit=="Invalid") { --- qcad-2.0.5.0-1+090318.orig/debian/patches/bug#234340.patch +++ qcad-2.0.5.0-1+090318/debian/patches/bug#234340.patch @@ -0,0 +1,14 @@ +Description: Initial setup dialog is broken in wmaker +Bug-Debian: http://bugs.debian.org/234340 +Author: Andreas Fester +--- qcad-2.0.5.0-1+090318.orig/qcadguiqt/src/ui/qg_dlginitial.ui ++++ qcad-2.0.5.0-1+090318/qcadguiqt/src/ui/qg_dlginitial.ui +@@ -9,7 +9,7 @@ + 0 + 0 + 413 +- 287 ++ 340 + + +