From nobody Mon Aug 28 08:47:42 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 4RZ4271YfBz4rJPR; Mon, 28 Aug 2023 08:47:43 +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 4RZ4270qC4z3LLq; Mon, 28 Aug 2023 08:47:43 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1693212463; 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=SOaJjLWnVPnYPcbRyYzGDaQVFjqSk6YVQj80f5sBJ6E=; b=yAhN0Ju4k2Hmfg6HXcGeSJyL6lzPAdLZFWQM81WeOVVrC3FvKkLVqtFVJNqxHttQF6db/x 3kDSd5oV59iCVKiqLwTmKEycEhIDP5cplYxsMKRZOqa766uHN39sslxxpEBzXRbs+7Lti3 Y53mKZo+d2bJdCUnfSQqHJhnbBeDZbYjR7rs1c9PoXDQz2POaqygtCdcdM2QmYaoRenI8w YfIV2yvxwJuqc1fsGlRZ9EUJEZw5yWleX6RwkYkHewWHsP7AC0TOoL1XYkoTQZpuBVFxZh x1XoBCcQsNehpgG3/9ifpz+3ZaoOwKASv5h7zA4zYDw10qcxaUwIOig5yVj6FQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1693212463; 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=SOaJjLWnVPnYPcbRyYzGDaQVFjqSk6YVQj80f5sBJ6E=; b=bHIukjVMGpqYBEfoaELN7t7w9+cE2spoKltXkjK58IHkpsf6/ev0hNeNTiK0wPQRa5DhWK 4R+KMNxY/9ggoV9bBVD8SmYYynZ6uXhKMnCBPQ37sJdyg+XA7DEr2zqU09MbMN6dgD95Q8 Yei1FLs48B1qz0LEWwjBXqoe+e5v7s0fdsH3wMkuXCvu2gCvd9E/nIyIYi897xxrA97JIT F+RbrwI/ugYYuPRd0evo2qW767LkVHMaswo+oN4ZV0v6qPl3+TxuGkM7HpfGvLpBsFBkew T82Pf+fTyxpEHSdkO/JT1+9bCx8mOQZr8ofDtSomWEp+iZ2QFoanumkd3PBfyw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1693212463; a=rsa-sha256; cv=none; b=q5BktIciyaXXK+vG82/Zzg+FcetK0Lu2yo/gsHykYup3rQootkQEFPFBkLyRyp8SB7lC/o nwRLSZ7wCGupv1HJQsNRPVkmmnEsLHVek2DIz0U7ZG22LUhctWINc4kK2uYb/N5CnxtKCJ wyUAzuN25Z+X2ba/9klSvBUITsDjZUocD1mKa6pg2O5TH1XFKSQTX5UTg/WKlPNxq2b+0U rYD9B8bb7iCHY9kxHsa1auI6t9Z+j6uXUxt8bpq0Ial+yZe+Bbtr12rYEgGhSJjh13i6gp VQJg8CsYEeoVkTGpl23hgMLDxaD1HipQrjcpUJMtP1cZhJPM2qK/uYylJswkUw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4RZ4266f42z128f; Mon, 28 Aug 2023 08:47:42 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 37S8lgWd099275; Mon, 28 Aug 2023 08:47:42 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 37S8lgZK099272; Mon, 28 Aug 2023 08:47:42 GMT (envelope-from git) Date: Mon, 28 Aug 2023 08:47:42 GMT Message-Id: <202308280847.37S8lgZK099272@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: a0b1e485fa2c - main - cad/gdstk: New port: C++ library for creation and manipulation of GDSII and OASIS files 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: a0b1e485fa2c8358866a513dfa2b92ce5a6a8959 Auto-Submitted: auto-generated The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=a0b1e485fa2c8358866a513dfa2b92ce5a6a8959 commit a0b1e485fa2c8358866a513dfa2b92ce5a6a8959 Author: Yuri Victorovich AuthorDate: 2023-08-28 08:47:12 +0000 Commit: Yuri Victorovich CommitDate: 2023-08-28 08:47:12 +0000 cad/gdstk: New port: C++ library for creation and manipulation of GDSII and OASIS files --- cad/Makefile | 1 + cad/gdstk/Makefile | 20 ++++++++++++++++++++ cad/gdstk/distinfo | 3 +++ cad/gdstk/files/patch-CMakeLists.txt | 11 +++++++++++ cad/gdstk/pkg-descr | 11 +++++++++++ cad/gdstk/pkg-plist | 28 ++++++++++++++++++++++++++++ 6 files changed, 74 insertions(+) diff --git a/cad/Makefile b/cad/Makefile index bdb5c4d15857..d0f48e1d9673 100644 --- a/cad/Makefile +++ b/cad/Makefile @@ -38,6 +38,7 @@ SUBDIR += gds3d SUBDIR += gdscpp SUBDIR += gdsreader + SUBDIR += gdstk SUBDIR += gdt SUBDIR += geda SUBDIR += gerbv diff --git a/cad/gdstk/Makefile b/cad/gdstk/Makefile new file mode 100644 index 000000000000..c505a5c14bc7 --- /dev/null +++ b/cad/gdstk/Makefile @@ -0,0 +1,20 @@ +PORTNAME= gdstk +DISTVERSIONPREFIX= v +DISTVERSION= 0.9.42 +CATEGORIES= cad + +MAINTAINER= yuri@FreeBSD.org +COMMENT= C++ library for creation and manipulation of GDSII and OASIS files +WWW= https://heitzmann.github.io/gdstk/ + +LICENSE= BSL +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= cmake compiler:c++11-lang + +USE_GITHUB= yes +GH_ACCOUNT= heitzmann + +CMAKE_ON= BUILD_SHARED_LIBS + +.include diff --git a/cad/gdstk/distinfo b/cad/gdstk/distinfo new file mode 100644 index 000000000000..3771818e5ad2 --- /dev/null +++ b/cad/gdstk/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1693211997 +SHA256 (heitzmann-gdstk-v0.9.42_GH0.tar.gz) = 303c6fc4b1de91091c776da928ae71ef0fcfc1b86ed1d1aacae4e2339968d5b4 +SIZE (heitzmann-gdstk-v0.9.42_GH0.tar.gz) = 629280 diff --git a/cad/gdstk/files/patch-CMakeLists.txt b/cad/gdstk/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..98f04cb62ae5 --- /dev/null +++ b/cad/gdstk/files/patch-CMakeLists.txt @@ -0,0 +1,11 @@ +--- CMakeLists.txt.orig 2023-08-28 08:41:29 UTC ++++ CMakeLists.txt +@@ -50,7 +50,7 @@ foreach(IT ${ZLIB_LIBRARIES}) + set(PRIVATE_LIBS "${PRIVATE_LIBS} ${IT}") + endforeach() + +-add_library(gdstk STATIC ++add_library(gdstk + src/cell.cpp + src/clipper_tools.cpp + src/curve.cpp diff --git a/cad/gdstk/pkg-descr b/cad/gdstk/pkg-descr new file mode 100644 index 000000000000..1300c7e4f921 --- /dev/null +++ b/cad/gdstk/pkg-descr @@ -0,0 +1,11 @@ +Gdstk (GDSII Tool Kit) is a C++ library for creation and manipulation +of GDSII and OASIS files. It is also available as a Python module +meant to be a successor to Gdspy. + +Key features for the creation of complex CAD layouts are included: +* Boolean operations on polygons (AND, OR, NOT, XOR) based on clipping algorithm +* Polygon offset (inward and outward rescaling of polygons) +* Efficient point-in-polygon solutions for large array sets + +Typical applications of Gdstk are in the fields of electronic chip design, +planar lightwave circuit design, and mechanical engineering. diff --git a/cad/gdstk/pkg-plist b/cad/gdstk/pkg-plist new file mode 100644 index 000000000000..7d972a760a47 --- /dev/null +++ b/cad/gdstk/pkg-plist @@ -0,0 +1,28 @@ +include/gdstk.h +include/gdstk/allocator.h +include/gdstk/array.h +include/gdstk/cell.h +include/gdstk/clipper_tools.h +include/gdstk/curve.h +include/gdstk/flexpath.h +include/gdstk/font.h +include/gdstk/gdsii.h +include/gdstk/gdswriter.h +include/gdstk/label.h +include/gdstk/library.h +include/gdstk/map.h +include/gdstk/oasis.h +include/gdstk/pathcommon.h +include/gdstk/polygon.h +include/gdstk/property.h +include/gdstk/rawcell.h +include/gdstk/reference.h +include/gdstk/repetition.h +include/gdstk/robustpath.h +include/gdstk/set.h +include/gdstk/sort.h +include/gdstk/style.h +include/gdstk/utils.h +include/gdstk/vec.h +lib/libgdstk.so +libdata/pkgconfig/gdstk.pc