From nobody Thu Mar 02 23:19:15 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PSRrN0KDmz3wNRp; Thu, 2 Mar 2023 23:19:16 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PSRrM6rCNz4DqP; Thu, 2 Mar 2023 23:19:15 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1677799156; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=mFU2IU21nOKyPEkDV4SgYcRV2SkmIuBNmGleJgn73Nk=; b=FBaOjYPys6/L7nfMSarui8nOXIEN29LBxuZCLoQD33ocRyqF6al3XQoIp6vy9pUHVZFMzA RRnR1V3UGZIZMyvZgQzy5sWgORdWfYn4EkNxWkazpydPn/+WdKg4YhK/ET7HD2oUrFhLF3 /GpQCxZQiwTdkWHKhio54BC6qRNjJigiy1yPDuHQzzk6IhnLGYK7opRDpReEJdSXH8iefB M1S/UWQh8XrsHtFOLzwCNFlrjJYx0oczoEFmz0bF+ypTUAeWgrB+hgvsqVkgMMvi276p5f wL+r4RQzUXlLfpx0JDu2jG1rY4mJRtUwVHduilNf5RbCdHaq8ShHqENSBiHW9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1677799156; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=mFU2IU21nOKyPEkDV4SgYcRV2SkmIuBNmGleJgn73Nk=; b=EPUmE7ZdDUu+A40EuNVt2GnVdLJzPiy0HP1kRJ6JhbxBfHLbjP5Q7Fmp9nYY9NmTUCRcrc dB4UFwnUm92/Qtx3PG50Fo7JqQUOS02oXeqrlUMs+PJhe/ym6bIZy922pF2Mt1LKuJpuMX K3aCqQqlx0aQnaIxcKsoRiTRV3dhEWphUw2aQYgnwswJ+sf09xkkDv3/uJzXA2atRU84bS 2FD0GXaw5FSnYRzisuUu287CaCEVtj6xHKWIyT69x6W408VvkdbiU5yMju35QZlnDF8abS 0m/fONMFJbHGBnwG3+NLgTKJCngRk+IbXN1p2dbkrAQWV/1IsHb8Bj5GyeBCfg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1677799156; a=rsa-sha256; cv=none; b=BrkwLT1cu9OJN5kbi2XLe273HIc7+H6pVT04oEjX3H+M+JCkJcHMNR/e5Md4hvj5zOuXOe bqSDBgn9uFOaaeIsQVnKRaHWwsRxR+Zk3VE9NlX+WL1hUdi/MYCYE4UZHV33t1g7/ZUwyT iu94BwpaUUkUEy4/qKmmKrlWMBJNsOoYVgcI7t5YDuRK6e2x6Er9GVChs9IvVNCGepPlxs k4NHSzz74EHvLcLLkysskbnjCTbC9+BBH7eY31q7EWB1DJaJTY2+vKC0LEZbeAKuTSwUF6 ElSmd3rN9bCKxH3wqG1gxQqoWHWsNSM7B2qA0zYKM0MMJG1f74M6aP6wnLRFwA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4PSRrM5wKqzZvp; Thu, 2 Mar 2023 23:19:15 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 322NJFS5028497; Thu, 2 Mar 2023 23:19:15 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 322NJFwA028496; Thu, 2 Mar 2023 23:19:15 GMT (envelope-from git) Date: Thu, 2 Mar 2023 23:19:15 GMT Message-Id: <202303022319.322NJFwA028496@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: b676735c115b - main - cad/gdscpp: New port: C++ library to create and read GDSII file List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: b676735c115b4340c83a743f8ee7c83537e3d9d7 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=b676735c115b4340c83a743f8ee7c83537e3d9d7 commit b676735c115b4340c83a743f8ee7c83537e3d9d7 Author: Yuri Victorovich AuthorDate: 2023-03-02 16:04:19 +0000 Commit: Yuri Victorovich CommitDate: 2023-03-02 23:19:12 +0000 cad/gdscpp: New port: C++ library to create and read GDSII file --- cad/Makefile | 1 + cad/gdscpp/Makefile | 32 ++++++++++++++++++++++++++++++++ cad/gdscpp/distinfo | 3 +++ cad/gdscpp/files/patch-CMakeLists.txt | 22 ++++++++++++++++++++++ cad/gdscpp/pkg-descr | 10 ++++++++++ 5 files changed, 68 insertions(+) diff --git a/cad/Makefile b/cad/Makefile index 65b27223a834..1051d7e7c5d6 100644 --- a/cad/Makefile +++ b/cad/Makefile @@ -37,6 +37,7 @@ SUBDIR += freehdl SUBDIR += fritzing SUBDIR += gds3d + SUBDIR += gdscpp SUBDIR += gdsreader SUBDIR += gdt SUBDIR += geda diff --git a/cad/gdscpp/Makefile b/cad/gdscpp/Makefile new file mode 100644 index 000000000000..f824f3c3a25e --- /dev/null +++ b/cad/gdscpp/Makefile @@ -0,0 +1,32 @@ +PORTNAME= gdscpp +DISTVERSION= g20200611 +CATEGORIES= cad + +MAINTAINER= yuri@FreeBSD.org +COMMENT= C++ library to create and read GDSII file +WWW= https://github.com/judefdiv/gdscpp + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= cmake compiler:c++17-lang +USE_LDCONFIG= yes + +USE_GITHUB= yes +GH_ACCOUNT= judefdiv +GH_TAGNAME= 20018e1 + +CMAKE_ON= BUILD_SHARED_LIBS + +PLIST_FILES= bin/gdscpp \ + include/gdscpp/gdsCpp.hpp \ + include/gdscpp/gdsForge.hpp \ + include/gdscpp/gdsParser.hpp \ + lib/libgds.so + +do-install: + ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/${PORTNAME} ${STAGEDIR}${LOCALBASE}/bin + ${INSTALL_LIB} ${BUILD_WRKSRC}/libgds.so ${STAGEDIR}${LOCALBASE}/lib + cd ${WRKSRC}/include && ${COPYTREE_SHARE} ${PORTNAME} ${STAGEDIR}${LOCALBASE}/include + +.include diff --git a/cad/gdscpp/distinfo b/cad/gdscpp/distinfo new file mode 100644 index 000000000000..e104a1333668 --- /dev/null +++ b/cad/gdscpp/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1677789358 +SHA256 (judefdiv-gdscpp-g20200611-20018e1_GH0.tar.gz) = 45578dc125db5da8104299951a22b688885d1fea8a9ec697fa3bd63ba6c174ec +SIZE (judefdiv-gdscpp-g20200611-20018e1_GH0.tar.gz) = 32504 diff --git a/cad/gdscpp/files/patch-CMakeLists.txt b/cad/gdscpp/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..a4ff3d5c0706 --- /dev/null +++ b/cad/gdscpp/files/patch-CMakeLists.txt @@ -0,0 +1,22 @@ +--- CMakeLists.txt.orig 2020-06-11 07:02:00 UTC ++++ CMakeLists.txt +@@ -14,8 +14,17 @@ set(SOURCES + ) + + add_executable(${PROJECT_NAME} ${SOURCES}) ++add_library(gds ++ src/gdsCpp.cpp ++ src/gdsParser.cpp ++ src/gdsForge.cpp ++ src/gdsImport.cpp ++) + + # Ensures that the header files of the project is included + target_include_directories(${PROJECT_NAME} PRIVATE ++ ${PROJECT_SOURCE_DIR}/include/gdscpp ++) ++target_include_directories(gds PRIVATE + ${PROJECT_SOURCE_DIR}/include/gdscpp +-) +\ No newline at end of file ++) diff --git a/cad/gdscpp/pkg-descr b/cad/gdscpp/pkg-descr new file mode 100644 index 000000000000..953d3e3d751b --- /dev/null +++ b/cad/gdscpp/pkg-descr @@ -0,0 +1,10 @@ +GDScpp is a C++ library that make GDS file manipulation easier. + +Features: +* Convert GDS data to ASCII. +* Easily create GDS files. +* Import GDS files. +* Extract the root GDS structures. +* Create a hierarchy diagram of all the GDS structure dependencies. +* Direct importing of GDS files with redundancy checking. +* Create bounding box of all the GDS structures.