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) Updated 0.26.8 to 0.26.10 ( ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d94075625fdb
branches:  trunk
changeset: 453052:d94075625fdb
user:      mef <mef%pkgsrc.org@localhost>
date:      Sat May 22 13:45:52 2021 +0000

description:
(cad/klayout) Updated 0.26.8 to 0.26.10 ( 0.26.11, 0.27.0 are waiting)

Based on wip/klayout (a little bit old version) by Atzushi Toyokura work.
(pkgsrc)
 - rename patch
 - Add comment on patches
 - more PLIST_SUBST

(upstream changes)
0.26.10         (2020-02-02):

* Enhancement: %GITHUB%/issues/720
  "Safe save" and backups: when saving files, the file is only overwritten after
  the save terminated successfully. This will avoid loss of data for full volumes
  or network share dropouts. In addition, a configurable number of back files can
  be kept (see File/Setup: Application/General).
* Bugfix: %GITHUB%/issues/718
  GDS export issue fixed (breaking of polygons was filling holes)
* Bugfix: %GITHUB%/issues/709
  LVS compare enters infinite loop when it encounters two entirely identical subcircuits
* Bugfix: %GITHUB%/issues/708
  Qt binding: missing support for binary strings as QByteArray representative
* Bugfix: %GITHUB%/issues/707
  QJsonValue's string constructor is ambiguous
* Bugfix: %GITHUB%/issues/704
  Rational Splines not supported DXF
* Bugfix: %GITHUB%/issues/693
  MAGIC files won't find subcells when reading from command line
* Bugfix: HTTP stream reading issue with redirect
  At least on MacOS a segfault happened when reading HTTP stream data
  (e.g. for package manager) from addresses which are redirected.
* Enhancement: Removed %APPDATA% from DLL search path on Windows
  This will avoid installation poisoning by the one from %APPDATA%
  (which ironically is the default installation path). Eventually
  multiple versions can be used in parallel.

0.26.9          (2020-11-27):

* Bugfix: %GITHUB%/issues/658
      Menu items were not put into the right place on MacOS.
* Bugfix: %GITHUB%/issues/652
      "M" factor scaling was not working for Spice reader.
* Bugfix: %GITHUB%/issues/651
      Fixed an issue with DRC "select".
* Bugfix: %GITHUB%/issues/647
      Text orientation was not considered properly in search & replace
* Bugfix: %GITHUB%/issues/646
      A potential crash was fixed happening when a PCell
      library is deleted
* Bugfix: Display bug
      Cell placements with small magnification factors (such that the
      viewport dimensions exceeded the DBU space when seem from inside
      the cell) lead to display errors.

diffstat:

 cad/klayout/Makefile                                                  |   27 +-
 cad/klayout/PLIST                                                     |  282 +++------
 cad/klayout/distinfo                                                  |   20 +-
 cad/klayout/patches/patch-config_Makefile.conf.freebsd-32-gcc-release |    6 +-
 cad/klayout/patches/patch-config_Makefile.conf.netbsd-32-gcc-release  |    6 +-
 cad/klayout/patches/patch-src_layApplication.cc                       |   15 -
 cad/klayout/patches/patch-src_lay_lay_layApplication.cc               |   15 +
 cad/klayout/patches/patch-src_lay_lay_laySignalHandler.cc             |    4 +-
 cad/klayout/patches/patch-src_tlStream.cc                             |   15 -
 cad/klayout/patches/patch-src_tl_tl_tlStream.cc                       |   15 +
 10 files changed, 177 insertions(+), 228 deletions(-)

diffs (truncated from 602 to 300 lines):

diff -r d394e22921d2 -r d94075625fdb cad/klayout/Makefile
--- a/cad/klayout/Makefile      Sat May 22 13:32:49 2021 +0000
+++ b/cad/klayout/Makefile      Sat May 22 13:45:52 2021 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.35 2021/04/21 11:41:03 adam Exp $
+# $NetBSD: Makefile,v 1.36 2021/05/22 13:45:52 mef Exp $
 
-DISTNAME=      klayout-0.26.8
-PKGREVISION=   5
+DISTNAME=      klayout-0.26.10
 CATEGORIES=    cad
 MASTER_SITES=  http://www.klayout.org/downloads/source/
 
@@ -11,9 +10,8 @@
 LICENSE=       gnu-gpl-v2
 
 USE_LANGUAGES= c c++
-USE_TOOLS+=    gmake bash
+USE_TOOLS+=    gmake bash pax
 
-BUILD_DEPENDS+=        rsync-[0-9]*:../../net/rsync
 CFLAGS+=       -I${PREFIX}/include/python${PYVERSUFFIX}
 NO_CONFIGURE=  yes
 
@@ -31,7 +29,10 @@
 AUTO_MKDIRS=           yes
 INSTALL_BINDIR=                ${DESTDIR}${PREFIX}/bin
 INSTALL_LIBDIR=                ${DESTDIR}${PREFIX}/lib/klayout
-REL_DIR=               build-release
+REL_DIR=               bin-release
+PLUGINS_DIR=           db_plugins lay_plugins pymod
+
+PLIST_SUBST+=          PKGVERSION_MAJOR_MINOR=${PKGVERSION_NOREV:C/([0-9]+\.[0-9]+)\.[0-9]+/\1/}
 
 .include "../../mk/bsd.prefs.mk"
 
@@ -40,23 +41,19 @@
 .endif
 
 do-build:
-       cd ${WRKSRC} && ${PKGSRC_SETENV} ${MAKE_ENV} ${BASH} build.sh \
+       cd ${WRKSRC} && ${MKDIR} ${REL_DIR} && \
+       ${PKGSRC_SETENV} ${MAKE_ENV} ${BASH} build.sh \
        -python python${PYVERSSUFFIX} \
        -qt5 \
        -qmake ${PREFIX}/qt5/bin/qmake \
        -ruby ${PREFIX}/bin/${RUBY_NAME} \
        ${MAKE_JOBS_FLAG} \
-       -prefix ${PREFIX} \
+       -prefix ${REL_DIR} \
        -rpath ${PREFIX}/lib/klayout
 
 do-install:
-       cd ${WRKSRC} && \
-       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/
+       cd ${WRKSRC}/${REL_DIR} && \
+       ${PAX} -wr libklayout* ${PLUGINS_DIR} ${INSTALL_LIBDIR}
        ${INSTALL_PROGRAM} ${WRKSRC}/${REL_DIR}/strm* \
                ${INSTALL_BINDIR}
        ${INSTALL_PROGRAM} ${WRKSRC}/${REL_DIR}/klayout \
diff -r d394e22921d2 -r d94075625fdb cad/klayout/PLIST
--- a/cad/klayout/PLIST Sat May 22 13:32:49 2021 +0000
+++ b/cad/klayout/PLIST Sat May 22 13:45:52 2021 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2021/01/14 12:25:33 mef Exp $
+@comment $NetBSD: PLIST,v 1.5 2021/05/22 13:45:52 mef Exp $
 bin/klayout
 bin/strm2cif
 bin/strm2dxf
@@ -13,278 +13,220 @@
 bin/strmxor
 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_MAJOR_MINOR}
 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_MAJOR_MINOR}
 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_MAJOR_MINOR}
 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_MAJOR_MINOR}
 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_MAJOR_MINOR}
 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_MAJOR_MINOR}
 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_MAJOR_MINOR}
 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_MAJOR_MINOR}
 lib/klayout/db_plugins/libpcb.so.${PKGVERSION}
+lib/klayout/lay_plugins/libbool_ui.${RUBY_DLEXT}
+lib/klayout/lay_plugins/libbool_ui.so.0
+lib/klayout/lay_plugins/libbool_ui.so.${PKGVERSION_MAJOR_MINOR}
+lib/klayout/lay_plugins/libbool_ui.so.${PKGVERSION}
+lib/klayout/lay_plugins/libcif_ui.${RUBY_DLEXT}
+lib/klayout/lay_plugins/libcif_ui.so.0
+lib/klayout/lay_plugins/libcif_ui.so.${PKGVERSION_MAJOR_MINOR}
+lib/klayout/lay_plugins/libcif_ui.so.${PKGVERSION}
+lib/klayout/lay_plugins/libcommon_ui.${RUBY_DLEXT}
+lib/klayout/lay_plugins/libcommon_ui.so.0
+lib/klayout/lay_plugins/libcommon_ui.so.${PKGVERSION_MAJOR_MINOR}
+lib/klayout/lay_plugins/libcommon_ui.so.${PKGVERSION}
+lib/klayout/lay_plugins/libdiff_ui.${RUBY_DLEXT}
+lib/klayout/lay_plugins/libdiff_ui.so.0
+lib/klayout/lay_plugins/libdiff_ui.so.${PKGVERSION_MAJOR_MINOR}
+lib/klayout/lay_plugins/libdiff_ui.so.${PKGVERSION}
+lib/klayout/lay_plugins/libdxf_ui.${RUBY_DLEXT}
+lib/klayout/lay_plugins/libdxf_ui.so.0
+lib/klayout/lay_plugins/libdxf_ui.so.${PKGVERSION_MAJOR_MINOR}
+lib/klayout/lay_plugins/libdxf_ui.so.${PKGVERSION}
+lib/klayout/lay_plugins/libgds2_ui.${RUBY_DLEXT}
+lib/klayout/lay_plugins/libgds2_ui.so.0
+lib/klayout/lay_plugins/libgds2_ui.so.${PKGVERSION_MAJOR_MINOR}
+lib/klayout/lay_plugins/libgds2_ui.so.${PKGVERSION}
+lib/klayout/lay_plugins/libimport_ui.${RUBY_DLEXT}
+lib/klayout/lay_plugins/libimport_ui.so.0
+lib/klayout/lay_plugins/libimport_ui.so.${PKGVERSION_MAJOR_MINOR}
+lib/klayout/lay_plugins/libimport_ui.so.${PKGVERSION}
+lib/klayout/lay_plugins/liblefdef_ui.${RUBY_DLEXT}
+lib/klayout/lay_plugins/liblefdef_ui.so.0
+lib/klayout/lay_plugins/liblefdef_ui.so.${PKGVERSION_MAJOR_MINOR}
+lib/klayout/lay_plugins/liblefdef_ui.so.${PKGVERSION}
+lib/klayout/lay_plugins/libmag_ui.${RUBY_DLEXT}
+lib/klayout/lay_plugins/libmag_ui.so.0
+lib/klayout/lay_plugins/libmag_ui.so.${PKGVERSION_MAJOR_MINOR}
+lib/klayout/lay_plugins/libmag_ui.so.${PKGVERSION}
+lib/klayout/lay_plugins/libnet_tracer_ui.${RUBY_DLEXT}
+lib/klayout/lay_plugins/libnet_tracer_ui.so.0
+lib/klayout/lay_plugins/libnet_tracer_ui.so.${PKGVERSION_MAJOR_MINOR}
+lib/klayout/lay_plugins/libnet_tracer_ui.so.${PKGVERSION}
+lib/klayout/lay_plugins/liboasis_ui.${RUBY_DLEXT}
+lib/klayout/lay_plugins/liboasis_ui.so.0
+lib/klayout/lay_plugins/liboasis_ui.so.${PKGVERSION_MAJOR_MINOR}
+lib/klayout/lay_plugins/liboasis_ui.so.${PKGVERSION}
+lib/klayout/lay_plugins/libpcb_ui.${RUBY_DLEXT}
+lib/klayout/lay_plugins/libpcb_ui.so.0
+lib/klayout/lay_plugins/libpcb_ui.so.${PKGVERSION_MAJOR_MINOR}
+lib/klayout/lay_plugins/libpcb_ui.so.${PKGVERSION}
+lib/klayout/lay_plugins/libxor_ui.${RUBY_DLEXT}
+lib/klayout/lay_plugins/libxor_ui.so.0
+lib/klayout/lay_plugins/libxor_ui.so.${PKGVERSION_MAJOR_MINOR}
+lib/klayout/lay_plugins/libxor_ui.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_MAJOR_MINOR}
 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_MAJOR_MINOR}
 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_MAJOR_MINOR}
 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_MAJOR_MINOR}
 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_MAJOR_MINOR}
 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_MAJOR_MINOR}
 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_MAJOR_MINOR}
 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_MAJOR_MINOR}
 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_MAJOR_MINOR}
 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_MAJOR_MINOR}
 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_MAJOR_MINOR}
 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_MAJOR_MINOR}
 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_MAJOR_MINOR}
 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_MAJOR_MINOR}
 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_MAJOR_MINOR}
 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_MAJOR_MINOR}
 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_MAJOR_MINOR}
 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_MAJOR_MINOR}
 lib/klayout/libklayout_img.so.${PKGVERSION}
 lib/klayout/libklayout_lay.${RUBY_DLEXT}
 lib/klayout/libklayout_lay.so.0
-lib/klayout/libklayout_lay.so.0.26
+lib/klayout/libklayout_lay.so.${PKGVERSION_MAJOR_MINOR}
 lib/klayout/libklayout_lay.so.${PKGVERSION}
 lib/klayout/libklayout_laybasic.${RUBY_DLEXT}
 lib/klayout/libklayout_laybasic.so.0
-lib/klayout/libklayout_laybasic.so.0.26
+lib/klayout/libklayout_laybasic.so.${PKGVERSION_MAJOR_MINOR}
 lib/klayout/libklayout_laybasic.so.${PKGVERSION}
 lib/klayout/libklayout_lib.${RUBY_DLEXT}
 lib/klayout/libklayout_lib.so.0
-lib/klayout/libklayout_lib.so.0.26
+lib/klayout/libklayout_lib.so.${PKGVERSION_MAJOR_MINOR}
 lib/klayout/libklayout_lib.so.${PKGVERSION}
 lib/klayout/libklayout_lvs.${RUBY_DLEXT}
 lib/klayout/libklayout_lvs.so.0
-lib/klayout/libklayout_lvs.so.0.26
+lib/klayout/libklayout_lvs.so.${PKGVERSION_MAJOR_MINOR}
 lib/klayout/libklayout_lvs.so.${PKGVERSION}
 lib/klayout/libklayout_lym.${RUBY_DLEXT}
 lib/klayout/libklayout_lym.so.0
-lib/klayout/libklayout_lym.so.0.26
+lib/klayout/libklayout_lym.so.${PKGVERSION_MAJOR_MINOR}
 lib/klayout/libklayout_lym.so.${PKGVERSION}
 lib/klayout/libklayout_pya.${RUBY_DLEXT}
 lib/klayout/libklayout_pya.so.0
-lib/klayout/libklayout_pya.so.0.26
+lib/klayout/libklayout_pya.so.${PKGVERSION_MAJOR_MINOR}
 lib/klayout/libklayout_pya.so.${PKGVERSION}
 lib/klayout/libklayout_qtbasic.${RUBY_DLEXT}
 lib/klayout/libklayout_qtbasic.so.0
-lib/klayout/libklayout_qtbasic.so.0.26
+lib/klayout/libklayout_qtbasic.so.${PKGVERSION_MAJOR_MINOR}
 lib/klayout/libklayout_qtbasic.so.${PKGVERSION}
 lib/klayout/libklayout_rba.${RUBY_DLEXT}
 lib/klayout/libklayout_rba.so.0
-lib/klayout/libklayout_rba.so.0.26



Home | Main Index | Thread Index | Old Index