pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/cad/klayout (cad/klayout) Fix runtime stream format re...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/75f623dbb887
branches:  trunk
changeset: 444884:75f623dbb887
user:      mef <mef%pkgsrc.org@localhost>
date:      Thu Jan 14 12:25:33 2021 +0000

description:
(cad/klayout) Fix runtime stream format read, converted install dir.

Previous PKGREVISION did not install plugins, so that reading file may give
unsupportted format error etc. Installing more files now. Because of this
the directory is now under ${PREFIX}/lib/klayout/. The error was originally
reported from Atsushi Toyokura by personal communication, thanks.
(The problem was since 26.*, probably), PKGREVISION++.

diffstat:

 cad/klayout/Makefile |   25 ++-
 cad/klayout/PLIST    |  395 +++++++++++++++++++++++++++++++++++---------------
 2 files changed, 295 insertions(+), 125 deletions(-)

diffs (truncated from 469 to 300 lines):

diff -r b8dabb3787e6 -r 75f623dbb887 cad/klayout/Makefile
--- a/cad/klayout/Makefile      Thu Jan 14 12:19:55 2021 +0000
+++ b/cad/klayout/Makefile      Thu Jan 14 12:25:33 2021 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.32 2021/01/01 09:52:19 ryoon Exp $
+# $NetBSD: Makefile,v 1.33 2021/01/14 12:25:33 mef Exp $
 
 DISTNAME=      klayout-0.26.8
-PKGREVISION=   2
+PKGREVISION=   3
 CATEGORIES=    cad
 MASTER_SITES=  http://www.klayout.org/downloads/source/
 
@@ -13,9 +13,13 @@
 USE_LANGUAGES= c c++
 USE_TOOLS+=    gmake bash
 
+BUILD_DEPENDS+=        rsync-[0-9]*:../../net/rsync
 CFLAGS+=       -I${PREFIX}/include/python${PYVERSUFFIX}
 NO_CONFIGURE=  yes
 
+CHECK_SHLIBS_SKIP+=    lib/klayout/plugins/streamers/*/unit_tests/* \
+                       lib/klayout/plugins/tools/net_tracer/unit_tests/*
+
 SUBST_CLASSES+=                rpath
 SUBST_MESSAGE.rpath=   Add COMPILER_RPATH_FLAG and PREFIX to NetBSD specific config file
 SUBST_FILES.rpath+=    config/Makefile.conf.netbsd-32-gcc-release
@@ -26,7 +30,7 @@
 
 AUTO_MKDIRS=           yes
 INSTALL_BINDIR=                ${DESTDIR}${PREFIX}/bin
-INSTALL_LIBDIR=                ${DESTDIR}${PREFIX}/lib
+INSTALL_LIBDIR=                ${DESTDIR}${PREFIX}/lib/klayout
 REL_DIR=               build-release
 
 .include "../../mk/bsd.prefs.mk"
@@ -42,16 +46,21 @@
        -qmake ${PREFIX}/qt5/bin/qmake \
        -ruby ${PREFIX}/bin/${RUBY_NAME} \
        ${MAKE_JOBS_FLAG} \
-       -prefix ${PREFIX}
+       -prefix ${PREFIX} \
+       -rpath ${PREFIX}/lib/klayout
 
 do-install:
        cd ${WRKSRC} && \
-       ${INSTALL_PROGRAM} ${WRKSRC}/${REL_DIR}/libklayout_* \
-               ${DESTDIR}${PREFIX}/lib
+       rsync     -aH      ${WRKSRC}/${REL_DIR}/libklayout_* \
+               ${INSTALL_LIBDIR} && \
+       rsync     -aH --exclude=\*\.o      ${WRKSRC}/${REL_DIR}/plugins/ \
+               ${INSTALL_LIBDIR}/plugins/ && \
+       rsync     -aH --exclude=\*\.o      ${WRKSRC}/${REL_DIR}/db_plugins/ \
+               ${INSTALL_LIBDIR}/db_plugins/
        ${INSTALL_PROGRAM} ${WRKSRC}/${REL_DIR}/strm* \
-               ${DESTDIR}${PREFIX}/bin
+               ${INSTALL_BINDIR}
        ${INSTALL_PROGRAM} ${WRKSRC}/${REL_DIR}/klayout \
-               ${DESTDIR}${PREFIX}/bin
+               ${INSTALL_BINDIR}
 
 .include "../../lang/python/pyversion.mk"
 .include "../../lang/ruby/buildlink3.mk"
diff -r b8dabb3787e6 -r 75f623dbb887 cad/klayout/PLIST
--- a/cad/klayout/PLIST Thu Jan 14 12:19:55 2021 +0000
+++ b/cad/klayout/PLIST Thu Jan 14 12:25:33 2021 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2020/10/30 15:35:10 mef Exp $
+@comment $NetBSD: PLIST,v 1.4 2021/01/14 12:25:33 mef Exp $
 bin/klayout
 bin/strm2cif
 bin/strm2dxf
@@ -11,119 +11,280 @@
 bin/strmcmp
 bin/strmrun
 bin/strmxor
-lib/libklayout_QtCore.${RUBY_DLEXT}
-lib/libklayout_QtCore.so.0
-lib/libklayout_QtCore.so.0.26
-lib/libklayout_QtCore.so.${PKGVERSION}
-lib/libklayout_QtDesigner.${RUBY_DLEXT}
-lib/libklayout_QtDesigner.so.0
-lib/libklayout_QtDesigner.so.0.26
-lib/libklayout_QtDesigner.so.${PKGVERSION}
-lib/libklayout_QtGui.${RUBY_DLEXT}
-lib/libklayout_QtGui.so.0
-lib/libklayout_QtGui.so.0.26
-lib/libklayout_QtGui.so.${PKGVERSION}
-lib/libklayout_QtMultimedia.${RUBY_DLEXT}
-lib/libklayout_QtMultimedia.so.0
-lib/libklayout_QtMultimedia.so.0.26
-lib/libklayout_QtMultimedia.so.${PKGVERSION}
-lib/libklayout_QtNetwork.${RUBY_DLEXT}
-lib/libklayout_QtNetwork.so.0
-lib/libklayout_QtNetwork.so.0.26
-lib/libklayout_QtNetwork.so.${PKGVERSION}
-lib/libklayout_QtPrintSupport.${RUBY_DLEXT}
-lib/libklayout_QtPrintSupport.so.0
-lib/libklayout_QtPrintSupport.so.0.26
-lib/libklayout_QtPrintSupport.so.${PKGVERSION}
-lib/libklayout_QtSql.${RUBY_DLEXT}
-lib/libklayout_QtSql.so.0
-lib/libklayout_QtSql.so.0.26
-lib/libklayout_QtSql.so.${PKGVERSION}
-lib/libklayout_QtSvg.${RUBY_DLEXT}
-lib/libklayout_QtSvg.so.0
-lib/libklayout_QtSvg.so.0.26
-lib/libklayout_QtSvg.so.${PKGVERSION}
-lib/libklayout_QtWidgets.${RUBY_DLEXT}
-lib/libklayout_QtWidgets.so.0
-lib/libklayout_QtWidgets.so.0.26
-lib/libklayout_QtWidgets.so.${PKGVERSION}
-lib/libklayout_QtXml.${RUBY_DLEXT}
-lib/libklayout_QtXml.so.0
-lib/libklayout_QtXml.so.0.26
-lib/libklayout_QtXml.so.${PKGVERSION}
-lib/libklayout_QtXmlPatterns.${RUBY_DLEXT}
-lib/libklayout_QtXmlPatterns.so.0
-lib/libklayout_QtXmlPatterns.so.0.26
-lib/libklayout_QtXmlPatterns.so.${PKGVERSION}
-lib/libklayout_ant.${RUBY_DLEXT}
-lib/libklayout_ant.so.0
-lib/libklayout_ant.so.0.26
-lib/libklayout_ant.so.${PKGVERSION}
-lib/libklayout_bd.${RUBY_DLEXT}
-lib/libklayout_bd.so.0
-lib/libklayout_bd.so.0.26
-lib/libklayout_bd.so.${PKGVERSION}
-lib/libklayout_db.${RUBY_DLEXT}
-lib/libklayout_db.so.0
-lib/libklayout_db.so.0.26
-lib/libklayout_db.so.${PKGVERSION}
-lib/libklayout_drc.${RUBY_DLEXT}
-lib/libklayout_drc.so.0
-lib/libklayout_drc.so.0.26
-lib/libklayout_drc.so.${PKGVERSION}
-lib/libklayout_edt.${RUBY_DLEXT}
-lib/libklayout_edt.so.0
-lib/libklayout_edt.so.0.26
-lib/libklayout_edt.so.${PKGVERSION}
-lib/libklayout_gsi.${RUBY_DLEXT}
-lib/libklayout_gsi.so.0
-lib/libklayout_gsi.so.0.26
-lib/libklayout_gsi.so.${PKGVERSION}
-lib/libklayout_gsi_test.${RUBY_DLEXT}
-lib/libklayout_gsi_test.so.0
-lib/libklayout_gsi_test.so.0.26
-lib/libklayout_gsi_test.so.${PKGVERSION}
-lib/libklayout_img.${RUBY_DLEXT}
-lib/libklayout_img.so.0
-lib/libklayout_img.so.0.26
-lib/libklayout_img.so.${PKGVERSION}
-lib/libklayout_lay.${RUBY_DLEXT}
-lib/libklayout_lay.so.0
-lib/libklayout_lay.so.0.26
-lib/libklayout_lay.so.${PKGVERSION}
-lib/libklayout_laybasic.${RUBY_DLEXT}
-lib/libklayout_laybasic.so.0
-lib/libklayout_laybasic.so.0.26
-lib/libklayout_laybasic.so.${PKGVERSION}
-lib/libklayout_lib.${RUBY_DLEXT}
-lib/libklayout_lib.so.0
-lib/libklayout_lib.so.0.26
-lib/libklayout_lib.so.${PKGVERSION}
-lib/libklayout_lvs.${RUBY_DLEXT}
-lib/libklayout_lvs.so.0
-lib/libklayout_lvs.so.0.26
-lib/libklayout_lvs.so.${PKGVERSION}
-lib/libklayout_lym.${RUBY_DLEXT}
-lib/libklayout_lym.so.0
-lib/libklayout_lym.so.0.26
-lib/libklayout_lym.so.${PKGVERSION}
-lib/libklayout_pya.${RUBY_DLEXT}
-lib/libklayout_pya.so.0
-lib/libklayout_pya.so.0.26
-lib/libklayout_pya.so.${PKGVERSION}
-lib/libklayout_qtbasic.${RUBY_DLEXT}
-lib/libklayout_qtbasic.so.0
-lib/libklayout_qtbasic.so.0.26
-lib/libklayout_qtbasic.so.${PKGVERSION}
-lib/libklayout_rba.${RUBY_DLEXT}
-lib/libklayout_rba.so.0
-lib/libklayout_rba.so.0.26
-lib/libklayout_rba.so.${PKGVERSION}
-lib/libklayout_rdb.${RUBY_DLEXT}
-lib/libklayout_rdb.so.0
-lib/libklayout_rdb.so.0.26
-lib/libklayout_rdb.so.${PKGVERSION}
-lib/libklayout_tl.${RUBY_DLEXT}
-lib/libklayout_tl.so.0
-lib/libklayout_tl.so.0.26
-lib/libklayout_tl.so.${PKGVERSION}
+lib/klayout/db_plugins/libcif.${RUBY_DLEXT}
+lib/klayout/db_plugins/libcif.so.0
+lib/klayout/db_plugins/libcif.so.0.26
+lib/klayout/db_plugins/libcif.so.${PKGVERSION}
+lib/klayout/db_plugins/libdxf.${RUBY_DLEXT}
+lib/klayout/db_plugins/libdxf.so.0
+lib/klayout/db_plugins/libdxf.so.0.26
+lib/klayout/db_plugins/libdxf.so.${PKGVERSION}
+lib/klayout/db_plugins/libgds2.${RUBY_DLEXT}
+lib/klayout/db_plugins/libgds2.so.0
+lib/klayout/db_plugins/libgds2.so.0.26
+lib/klayout/db_plugins/libgds2.so.${PKGVERSION}
+lib/klayout/db_plugins/liblefdef.${RUBY_DLEXT}
+lib/klayout/db_plugins/liblefdef.so.0
+lib/klayout/db_plugins/liblefdef.so.0.26
+lib/klayout/db_plugins/liblefdef.so.${PKGVERSION}
+lib/klayout/db_plugins/libmag.${RUBY_DLEXT}
+lib/klayout/db_plugins/libmag.so.0
+lib/klayout/db_plugins/libmag.so.0.26
+lib/klayout/db_plugins/libmag.so.${PKGVERSION}
+lib/klayout/db_plugins/libnet_tracer.${RUBY_DLEXT}
+lib/klayout/db_plugins/libnet_tracer.so.0
+lib/klayout/db_plugins/libnet_tracer.so.0.26
+lib/klayout/db_plugins/libnet_tracer.so.${PKGVERSION}
+lib/klayout/db_plugins/liboasis.${RUBY_DLEXT}
+lib/klayout/db_plugins/liboasis.so.0
+lib/klayout/db_plugins/liboasis.so.0.26
+lib/klayout/db_plugins/liboasis.so.${PKGVERSION}
+lib/klayout/db_plugins/libpcb.${RUBY_DLEXT}
+lib/klayout/db_plugins/libpcb.so.0
+lib/klayout/db_plugins/libpcb.so.0.26
+lib/klayout/db_plugins/libpcb.so.${PKGVERSION}
+lib/klayout/libklayout_QtCore.${RUBY_DLEXT}
+lib/klayout/libklayout_QtCore.so.0
+lib/klayout/libklayout_QtCore.so.0.26
+lib/klayout/libklayout_QtCore.so.${PKGVERSION}
+lib/klayout/libklayout_QtDesigner.${RUBY_DLEXT}
+lib/klayout/libklayout_QtDesigner.so.0
+lib/klayout/libklayout_QtDesigner.so.0.26
+lib/klayout/libklayout_QtDesigner.so.${PKGVERSION}
+lib/klayout/libklayout_QtGui.${RUBY_DLEXT}
+lib/klayout/libklayout_QtGui.so.0
+lib/klayout/libklayout_QtGui.so.0.26
+lib/klayout/libklayout_QtGui.so.${PKGVERSION}
+lib/klayout/libklayout_QtMultimedia.${RUBY_DLEXT}
+lib/klayout/libklayout_QtMultimedia.so.0
+lib/klayout/libklayout_QtMultimedia.so.0.26
+lib/klayout/libklayout_QtMultimedia.so.${PKGVERSION}
+lib/klayout/libklayout_QtNetwork.${RUBY_DLEXT}
+lib/klayout/libklayout_QtNetwork.so.0
+lib/klayout/libklayout_QtNetwork.so.0.26
+lib/klayout/libklayout_QtNetwork.so.${PKGVERSION}
+lib/klayout/libklayout_QtPrintSupport.${RUBY_DLEXT}
+lib/klayout/libklayout_QtPrintSupport.so.0
+lib/klayout/libklayout_QtPrintSupport.so.0.26
+lib/klayout/libklayout_QtPrintSupport.so.${PKGVERSION}
+lib/klayout/libklayout_QtSql.${RUBY_DLEXT}
+lib/klayout/libklayout_QtSql.so.0
+lib/klayout/libklayout_QtSql.so.0.26
+lib/klayout/libklayout_QtSql.so.${PKGVERSION}
+lib/klayout/libklayout_QtSvg.${RUBY_DLEXT}
+lib/klayout/libklayout_QtSvg.so.0
+lib/klayout/libklayout_QtSvg.so.0.26
+lib/klayout/libklayout_QtSvg.so.${PKGVERSION}
+lib/klayout/libklayout_QtWidgets.${RUBY_DLEXT}
+lib/klayout/libklayout_QtWidgets.so.0
+lib/klayout/libklayout_QtWidgets.so.0.26
+lib/klayout/libklayout_QtWidgets.so.${PKGVERSION}
+lib/klayout/libklayout_QtXml.${RUBY_DLEXT}
+lib/klayout/libklayout_QtXml.so.0
+lib/klayout/libklayout_QtXml.so.0.26
+lib/klayout/libklayout_QtXml.so.${PKGVERSION}
+lib/klayout/libklayout_QtXmlPatterns.${RUBY_DLEXT}
+lib/klayout/libklayout_QtXmlPatterns.so.0
+lib/klayout/libklayout_QtXmlPatterns.so.0.26
+lib/klayout/libklayout_QtXmlPatterns.so.${PKGVERSION}
+lib/klayout/libklayout_ant.${RUBY_DLEXT}
+lib/klayout/libklayout_ant.so.0
+lib/klayout/libklayout_ant.so.0.26
+lib/klayout/libklayout_ant.so.${PKGVERSION}
+lib/klayout/libklayout_bd.${RUBY_DLEXT}
+lib/klayout/libklayout_bd.so.0
+lib/klayout/libklayout_bd.so.0.26
+lib/klayout/libklayout_bd.so.${PKGVERSION}
+lib/klayout/libklayout_db.${RUBY_DLEXT}
+lib/klayout/libklayout_db.so.0
+lib/klayout/libklayout_db.so.0.26
+lib/klayout/libklayout_db.so.${PKGVERSION}
+lib/klayout/libklayout_drc.${RUBY_DLEXT}
+lib/klayout/libklayout_drc.so.0
+lib/klayout/libklayout_drc.so.0.26
+lib/klayout/libklayout_drc.so.${PKGVERSION}
+lib/klayout/libklayout_edt.${RUBY_DLEXT}
+lib/klayout/libklayout_edt.so.0
+lib/klayout/libklayout_edt.so.0.26
+lib/klayout/libklayout_edt.so.${PKGVERSION}
+lib/klayout/libklayout_gsi.${RUBY_DLEXT}
+lib/klayout/libklayout_gsi.so.0
+lib/klayout/libklayout_gsi.so.0.26
+lib/klayout/libklayout_gsi.so.${PKGVERSION}
+lib/klayout/libklayout_gsi_test.${RUBY_DLEXT}
+lib/klayout/libklayout_gsi_test.so.0
+lib/klayout/libklayout_gsi_test.so.0.26
+lib/klayout/libklayout_gsi_test.so.${PKGVERSION}
+lib/klayout/libklayout_img.${RUBY_DLEXT}
+lib/klayout/libklayout_img.so.0
+lib/klayout/libklayout_img.so.0.26
+lib/klayout/libklayout_img.so.${PKGVERSION}



Home | Main Index | Thread Index | Old Index