pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/cad/qcad



Module Name:    pkgsrc
Committed By:   gdt
Date:           Sun Sep 19 15:35:40 UTC 2021

Modified Files:
        pkgsrc/cad/qcad: Makefile PLIST distinfo
Added Files:
        pkgsrc/cad/qcad/patches: patch-src_scripts_scripts.pro

Log Message:
cad/qcad: Build and install libqcadscripts

Despite not causing a failure to build and package, qcad's build was
failing to find libqcadcore while building libqcadscripts.  This
commits adds a patch, similar to many others already present, that
adds -L ../core and then installs the library (and then the expected
PLIST change).

It remains a mystery why the build ever worked; the makefile I get
seems to ignore the failed build, which seems wrong.  The bulk builds
have worked.  But Mustafa reports a build failure, and I find that
failure in my log, even if it is non-fatal.

Reported by Mustafa Dogan.


To generate a diff of this commit:
cvs rdiff -u -r1.99 -r1.100 pkgsrc/cad/qcad/Makefile
cvs rdiff -u -r1.20 -r1.21 pkgsrc/cad/qcad/PLIST
cvs rdiff -u -r1.38 -r1.39 pkgsrc/cad/qcad/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/cad/qcad/patches/patch-src_scripts_scripts.pro

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/cad/qcad/Makefile
diff -u pkgsrc/cad/qcad/Makefile:1.99 pkgsrc/cad/qcad/Makefile:1.100
--- pkgsrc/cad/qcad/Makefile:1.99       Fri Jul 30 12:26:42 2021
+++ pkgsrc/cad/qcad/Makefile    Sun Sep 19 15:35:40 2021
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.99 2021/07/30 12:26:42 ryoon Exp $
+# $NetBSD: Makefile,v 1.100 2021/09/19 15:35:40 gdt Exp $
 #
 
 DISTNAME=              qcad-3.26.1.0
-PKGREVISION=           2
+PKGREVISION=           3
 CATEGORIES=            cad
 MASTER_SITES=          ${MASTER_SITE_GITHUB:=qcad/}
 EXTRACT_USING=         bsdtar

Index: pkgsrc/cad/qcad/PLIST
diff -u pkgsrc/cad/qcad/PLIST:1.20 pkgsrc/cad/qcad/PLIST:1.21
--- pkgsrc/cad/qcad/PLIST:1.20  Fri Apr  2 20:27:12 2021
+++ pkgsrc/cad/qcad/PLIST       Sun Sep 19 15:35:40 2021
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.20 2021/04/02 20:27:12 plunky Exp $
+@comment $NetBSD: PLIST,v 1.21 2021/09/19 15:35:40 gdt Exp $
 bin/qcad
 lib/libdxflib.so
 lib/libopennurbs.so
@@ -8,6 +8,7 @@ lib/libqcadentity.so
 lib/libqcadgrid.so
 lib/libqcadgui.so
 lib/libqcadoperations.so
+lib/libqcadscripts.so
 lib/libqcadsnap.so
 lib/libqcadspatialindex.so
 lib/libqcadstemmer.so

Index: pkgsrc/cad/qcad/distinfo
diff -u pkgsrc/cad/qcad/distinfo:1.38 pkgsrc/cad/qcad/distinfo:1.39
--- pkgsrc/cad/qcad/distinfo:1.38       Fri Apr  2 20:27:12 2021
+++ pkgsrc/cad/qcad/distinfo    Sun Sep 19 15:35:40 2021
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.38 2021/04/02 20:27:12 plunky Exp $
+$NetBSD: distinfo,v 1.39 2021/09/19 15:35:40 gdt Exp $
 
 SHA1 (qcad-3.26.1.0.tar.gz) = 7bfc33e7a26a2f0f99f64ac120b110d3bd67aa3d
 RMD160 (qcad-3.26.1.0.tar.gz) = 2c764bd8dd126e3084fc4291cea0fcd3df3d7e7a
@@ -29,6 +29,7 @@ SHA1 (patch-src_operations_operations.pr
 SHA1 (patch-src_run_main.cpp) = ef4498e2b1028dd675663793a885b4a65030027f
 SHA1 (patch-src_run_run.pri) = fca4570872f9fc7b25beac8dfd0c4802b81d3972
 SHA1 (patch-src_scripting_ecmaapi_ecmaapi.pro) = 8105fd89a8b52962f9e0c1ff80cf154ceb09145e
+SHA1 (patch-src_scripts_scripts.pro) = 7019dd69451b2594890c14f9ebf688a15cf81ee4
 SHA1 (patch-src_snap_snap.pro) = 9464576805a1d2baa81c91f759e59a8cc3989b6a
 SHA1 (patch-src_spatialindex_spatialindex.pro) = 3afcdcd036b0ee183220cc5406accbf0756841e7
 SHA1 (patch-src_stemmer_stemmer.pro) = d76d1d92378f516a278432fb0d6a23f8fdd355eb

Added files:

Index: pkgsrc/cad/qcad/patches/patch-src_scripts_scripts.pro
diff -u /dev/null pkgsrc/cad/qcad/patches/patch-src_scripts_scripts.pro:1.1
--- /dev/null   Sun Sep 19 15:35:40 2021
+++ pkgsrc/cad/qcad/patches/patch-src_scripts_scripts.pro       Sun Sep 19 15:35:40 2021
@@ -0,0 +1,16 @@
+$NetBSD: patch-src_scripts_scripts.pro,v 1.1 2021/09/19 15:35:40 gdt Exp $
+
+Fix upstream makefiles, just like many other patches.
+
+--- src/scripts/scripts.pro.orig       2021-03-08 13:09:33.000000000 +0000
++++ src/scripts/scripts.pro
+@@ -7,7 +7,8 @@ HEADERS     = RScriptsPlugin.h
+ SOURCES     = RScriptsPlugin.cpp
+ DESTDIR     = ../../plugins
+ RC_FILE     = scripts.rc
+-LIBS        += -l$${RLIBNAME}core
++LIBS        += -L ../core -l$${RLIBNAME}core
++INSTALLS    += target
+ 
+ CONFIG      += resources_big
+ 



Home | Main Index | Thread Index | Old Index