head 1.4; access; symbols pkgsrc-2026Q1:1.4.0.6 pkgsrc-2026Q1-base:1.4 pkgsrc-2025Q4:1.4.0.4 pkgsrc-2025Q4-base:1.4 pkgsrc-2025Q3:1.4.0.2 pkgsrc-2025Q3-base:1.4 pkgsrc-2025Q2:1.3.0.4 pkgsrc-2025Q2-base:1.3 pkgsrc-2025Q1:1.3.0.2 pkgsrc-2025Q1-base:1.3 pkgsrc-2024Q4:1.2.0.44 pkgsrc-2024Q4-base:1.2 pkgsrc-2024Q3:1.2.0.42 pkgsrc-2024Q3-base:1.2 pkgsrc-2024Q2:1.2.0.40 pkgsrc-2024Q2-base:1.2 pkgsrc-2024Q1:1.2.0.38 pkgsrc-2024Q1-base:1.2 pkgsrc-2023Q4:1.2.0.36 pkgsrc-2023Q4-base:1.2 pkgsrc-2023Q3:1.2.0.34 pkgsrc-2023Q3-base:1.2 pkgsrc-2023Q2:1.2.0.32 pkgsrc-2023Q2-base:1.2 pkgsrc-2023Q1:1.2.0.30 pkgsrc-2023Q1-base:1.2 pkgsrc-2022Q4:1.2.0.28 pkgsrc-2022Q4-base:1.2 pkgsrc-2022Q3:1.2.0.26 pkgsrc-2022Q3-base:1.2 pkgsrc-2022Q2:1.2.0.24 pkgsrc-2022Q2-base:1.2 pkgsrc-2022Q1:1.2.0.22 pkgsrc-2022Q1-base:1.2 pkgsrc-2021Q4:1.2.0.20 pkgsrc-2021Q4-base:1.2 pkgsrc-2021Q3:1.2.0.18 pkgsrc-2021Q3-base:1.2 pkgsrc-2021Q2:1.2.0.16 pkgsrc-2021Q2-base:1.2 pkgsrc-2021Q1:1.2.0.14 pkgsrc-2021Q1-base:1.2 pkgsrc-2020Q4:1.2.0.12 pkgsrc-2020Q4-base:1.2 pkgsrc-2020Q3:1.2.0.10 pkgsrc-2020Q3-base:1.2 pkgsrc-2020Q2:1.2.0.8 pkgsrc-2020Q2-base:1.2 pkgsrc-2020Q1:1.2.0.4 pkgsrc-2020Q1-base:1.2 pkgsrc-2019Q4:1.2.0.6 pkgsrc-2019Q4-base:1.2 pkgsrc-2019Q3:1.2.0.2 pkgsrc-2019Q3-base:1.2 pkgsrc-2019Q2:1.1.0.26 pkgsrc-2019Q2-base:1.1 pkgsrc-2019Q1:1.1.0.24 pkgsrc-2019Q1-base:1.1 pkgsrc-2018Q4:1.1.0.22 pkgsrc-2018Q4-base:1.1 pkgsrc-2018Q3:1.1.0.20 pkgsrc-2018Q3-base:1.1 pkgsrc-2018Q2:1.1.0.18 pkgsrc-2018Q2-base:1.1 pkgsrc-2018Q1:1.1.0.16 pkgsrc-2018Q1-base:1.1 pkgsrc-2017Q4:1.1.0.14 pkgsrc-2017Q4-base:1.1 pkgsrc-2017Q3:1.1.0.12 pkgsrc-2017Q3-base:1.1 pkgsrc-2017Q2:1.1.0.8 pkgsrc-2017Q2-base:1.1 pkgsrc-2017Q1:1.1.0.6 pkgsrc-2017Q1-base:1.1 pkgsrc-2016Q4:1.1.0.4 pkgsrc-2016Q4-base:1.1 pkgsrc-2016Q3:1.1.0.2 pkgsrc-2016Q3-base:1.1; locks; strict; comment @// @; 1.4 date 2025.08.19.12.52.17; author plunky; state Exp; branches; next 1.3; commitid pFGeAGnTl1608l7G; 1.3 date 2025.03.16.14.56.12; author plunky; state Exp; branches; next 1.2; commitid OZ6RTWSRFj6oQiNF; 1.2 date 2019.09.05.13.39.10; author nia; state Exp; branches; next 1.1; commitid DqP6MHD6k3dOjPBB; 1.1 date 2016.08.30.10.56.04; author plunky; state Exp; branches; next ; commitid 2kuywClHw9FQNjkz; desc @@ 1.4 log @ Update QCAD to 3.32.3.4 Changelog at https://www.qcad.org/en/documentation/changelog this [incidentally] fixes a recent build failure after the update to Qt6.9.1, raised by wiz@@ @ text @$NetBSD: patch-src_core_RSettings.cpp,v 1.3 2025/03/16 14:56:12 plunky Exp $ fix hardcoded paths --- src/core/RSettings.cpp.orig 2025-06-10 07:10:41.000000000 +0000 +++ src/core/RSettings.cpp @@@@ -376,6 +376,7 @@@@ bool RSettings::isDeployed() { * \return Path where all application resources are stored ('scripts', 'patterns', 'ts', 'doc', 'linetypes', ...) */ QString RSettings::getApplicationPath() { +#if 0 QDir ret(QApplication::applicationDirPath()); #ifdef Q_OS_MAC @@@@ -397,6 +398,8 @@@@ QString RSettings::getApplicationPath() ret.cdUp(); } +#endif + QDir ret("@@PREFIX@@/lib/qcad"); return ret.path(); } @ 1.3 log @Update QCAD to v3.32.2.0 Many improvements since the previous pkgsrc version, the complete changelog is at https://qcad.org/en/changelog For this update, I have switched to the CMake build, which does not require such invasive patching @ text @d1 1 a1 1 $NetBSD: patch-src_core_RSettings.cpp,v 1.2 2019/09/05 13:39:10 nia Exp $ d5 1 a5 1 --- src/core/RSettings.cpp.orig 2025-02-20 12:25:22.000000000 +0000 @ 1.2 log @qcad: Switch from qt5 to qt5 Bump PKGREVISION @ text @d1 1 a1 1 $NetBSD: patch-src_core_RSettings.cpp,v 1.1 2016/08/30 10:56:04 plunky Exp $ d5 1 a5 1 --- src/core/RSettings.cpp.orig 2019-07-18 15:47:56.000000000 +0000 d7 1 a7 1 @@@@ -345,27 +345,7 @@@@ bool RSettings::isDeployed() { d11 9 a19 21 - QDir ret(QApplication::applicationDirPath()); - -#ifdef Q_OS_MAC - if (ret.dirName() == "MacOS") { - ret.cdUp(); - // deployed (scripts inside app bundle): - if (ret.cd("Resources/scripts")) { - ret.cdUp(); - } - // development (scripts outside add bundle): - else { - ret.cdUp(); - ret.cdUp(); - } - } -#endif - - if (ret.dirName() == "debug" || ret.dirName() == "release") { - ret.cdUp(); - } - @ 1.1 log @Upgrade QCAD to version 3.15.5.3 QCAD has been largely rewritten since the previous version (QCAD 2) was updated in pkgsrc, meaning that the changes are vast. From the authors website: QCAD 3 comes with a new and improved CAD engine which improves performance (spatial index) and allows for advanced property editing and future extensions (dynamic properties). The other major addition is a powerful and complete ECMAScript interface. New interactive tools can be developed with a few lines of ECMAScript but even entire new applications can be developed using QCAD technology. QCAD 3 is also the first QCAD version that fully supports the DWG format as well as various different versions of the DXF format. The complete ChangeLog is at http://www.qcad.org/en/changelog @ text @d1 1 a1 1 $NetBSD$ d5 1 a5 1 --- src/core/RSettings.cpp.orig 2016-08-29 06:49:22.000000000 +0000 d7 1 a7 1 @@@@ -148,27 +148,7 @@@@ bool RSettings::isDeployed() { d35 1 @