Simple update qcad-3.28.2.2. Tested on amd64. OK?
Cheers
Rafael
Index: Makefile
===
RCS file: /cvs/ports/cad/qcad/Makefile,v
diff -u -p -u -p -r1.45 Makefile
--- Makefile22 Jan 2023 19:40:03 - 1.45
+++ Makefile8 Dec 2023 10:07:04 -
@@ -2,7 +2,7 @@ COMMENT = Qt-based 2D CAD system
GH_ACCOUNT = qcad
GH_PROJECT = qcad
-GH_TAGNAME = v3.27.9.0
+GH_TAGNAME = v3.28.2.2
SO_VERSION = 2.0
QCAD_LIBS =qcadcore \
@@ -62,8 +62,7 @@ pre-configure:
${WRKSRC}/src/3rdparty/qt-labs-qtscriptgenerator-${MODQT5_VERSION}/qt-labs-qtscriptgenerator-${MODQT5_VERSION}.pro
${SUBST_CMD} ${WRKSRC}/src/core/RS.cpp \
${WRKSRC}/src/core/RSettings.cpp \
- ${WRKSRC}/scripts/Help/ShowReadme/ShowReadme.js \
- ${WRKSRC}/scripts/Widgets/LibraryBrowser/LibraryBrowser.js
+ ${WRKSRC}/scripts/Help/ShowReadme/ShowReadme.js
do-install:
Index: distinfo
===
RCS file: /cvs/ports/cad/qcad/distinfo,v
diff -u -p -u -p -r1.12 distinfo
--- distinfo22 Jan 2023 19:40:03 - 1.12
+++ distinfo8 Dec 2023 10:07:04 -
@@ -1,2 +1,2 @@
-SHA256 (qcad-3.27.9.0.tar.gz) = PjHFB1YBfgzs/Loc0+UB7oJ2VfnzehANUOoqlLDOGS8=
-SIZE (qcad-3.27.9.0.tar.gz) = 41342106
+SHA256 (qcad-3.28.2.2.tar.gz) = YXNJV+adhsc2E8bTeDyT71/J92smaoDFoBHbESE3lDw=
+SIZE (qcad-3.28.2.2.tar.gz) = 42292122
Index: patches/patch-scripts_Widgets_LibraryBrowser_LibraryBrowser_js
===
RCS file: patches/patch-scripts_Widgets_LibraryBrowser_LibraryBrowser_js
diff -N patches/patch-scripts_Widgets_LibraryBrowser_LibraryBrowser_js
--- patches/patch-scripts_Widgets_LibraryBrowser_LibraryBrowser_js 29 Aug
2022 15:18:10 - 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -
@@ -1,18 +0,0 @@
-Index: scripts/Widgets/LibraryBrowser/LibraryBrowser.js
scripts/Widgets/LibraryBrowser/LibraryBrowser.js.orig
-+++ scripts/Widgets/LibraryBrowser/LibraryBrowser.js
-@@ -174,12 +174,12 @@ LibraryBrowser.getSourceList = function() {
- var libs;
-
- // no configuration: add all libraries available in libraries subdir:
--librariesDir = new QDir("libraries");
-+librariesDir = new QDir("${LOCALBASE}/share/qcad/libraries");
- libs = librariesDir.entryList([], filters, sortFlags);
- for (i=0; i RDebug::counter;
- QString RDebug::prefix;
+@@ -37,7 +37,7 @@ QString RDebug::prefix;
+ QMutex RDebug::mutexCounter;
void RDebug::printBacktrace(const QString& prefix) {
-#if !defined(Q_OS_WIN) && !defined(Q_OS_ANDROID)
Index: patches/patch-src_run_main_cpp
===
RCS file: /cvs/ports/cad/qcad/patches/patch-src_run_main_cpp,v
diff -u -p -u -p -r1.1 patch-src_run_main_cpp
--- patches/patch-src_run_main_cpp 29 Aug 2022 15:18:11 - 1.1
+++ patches/patch-src_run_main_cpp 8 Dec 2023 10:07:04 -
@@ -3,7 +3,7 @@ don't overwrite the plugins directory: r
Index: src/run/main.cpp
--- src/run/main.cpp.orig
+++ src/run/main.cpp
-@@ -285,7 +285,11 @@ int main(int argc, char *argv[]) {
+@@ -326,7 +326,11 @@ int main(int argc, char *argv[]) {
qWarning() << "No plugin paths found";
return -1;
}
Index: pkg/PLIST
===
RCS file: /cvs/ports/cad/qcad/pkg/PLIST,v
diff -u -p -u -p -r1.13 PLIST
--- pkg/PLIST 22 Jan 2023 19:40:03 - 1.13
+++ pkg/PLIST 8 Dec 2023 10:07:05 -
@@ -754,54 +754,6 @@ share/qcad/scripts/Block/CreateBlock/doc
share/qcad/scripts/Block/CreateBlock/doc/CreateBlock_ru.html
share/qcad/scripts/Block/CreateBlock/doc/CreateBlock_sl.html
share/qcad/scripts/Block/CreateBlock/doc/CreateBlock_sv.html
-share/qcad/scripts/Block/CreateLibraryItem/
-share/qcad/scripts/Block/CreateLibraryItem/CreateLibraryItem-inverse.svg
-share/qcad/scripts/Block/CreateLibraryItem/CreateLibraryItem.js
-share/qcad/scripts/Block/CreateLibraryItem/CreateLibraryItem.svg
-share/qcad/scripts/Block/CreateLibraryItem/CreateLibraryItemInit.js
-share/qcad/scripts/Block/CreateLibraryItem/doc/
-share/qcad/scripts/Block/CreateLibraryItem/doc/CreateLibraryItem.png
-share/qcad/scripts/Block/CreateLibraryItem/doc/CreateLibraryItem_bg.html
-share/qcad/scripts/Block/CreateLibraryItem/doc/CreateLibraryItem_da.html
-share/qcad/scripts/Block/CreateLibraryItem/doc/CreateLibraryItem_de.html
-share/qcad/scripts/Block/CreateLibraryItem/doc/CreateLibraryItem_desc_bg.html
-share/qcad/scripts/Block/CreateLibraryItem/doc/CreateLibraryItem_desc_da.html
-share/qcad/scripts/Block/CreateLibraryItem/doc/CreateLibraryItem_desc_de.html
-share/qcad/scripts/Block/CreateLibraryItem/doc/CreateLibraryItem_desc_en.html
-share/qcad/scripts/Block/CreateLibraryItem/doc/CreateLibraryItem_desc_es.html
-share/qcad/scripts/Block/CreateLibraryItem/doc/CreateLibr