From nobody Sun Oct 13 11:28:39 2024 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 4XRJ5g6G1Gz5YpQC; Sun, 13 Oct 2024 11:28:39 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XRJ5g5mnbz4q64; Sun, 13 Oct 2024 11:28:39 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1728818919; 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=iH7DQqnXPFY2eiLPDr9fVheC+jbmn+Ckv9lmL5swIsI=; b=ohYkoTz0E6AvivCFVQj9rj3beGHVSiS1aJ+JRR4ywxK8Nk342Kx+l172CAip9W/s36gsO7 6PtEEltkEYD5KbFhdlHfDJcnAw56tvSSsjEUzC+5eKxtlp8xuiFj6zWIc4hBt0uaLkmGKd 37YrnoOnBuWW9EToskganhnwEnmbshwszu+vNnJkCxHlMQHkMAu6h36JtGJAKtUPYnBoTb /hAHCJLB4d95yYYiF1EfmFJ3C5onPpX9vM8gJcyyuA5H4iQyjLDAe9oR//Gip9n0/ZF/cd rOQMR+cuMFWgPn1RAl7+imAvCAfP0+ecGBwmxhpstAEGYnaIVlS55KIJrpVIYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1728818919; 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=iH7DQqnXPFY2eiLPDr9fVheC+jbmn+Ckv9lmL5swIsI=; b=QOCwyYYWLzp3gDQ050idQcISwXOsE2q5PjOc6MwUVvpUSAvd0YelUNkPXb+wmPqun5Tq5Q pqNRI46XluE8zkMAp/kus0GN6u1RvYd8fTWUrCRN/iDAWgj9v7t2GPQxQOYi9Mw4+j/WyS bjtsx/iVLtR8oJab5vdnDA4/X1JkIvl76odGJUHhiIOytlHHLiijIo2hCyUT4gu5GAK87N dOvh1GSwI4nkCccLw7aIExBJpmp+RR68YOK8l7+OrDSxaNsWfkXgOCoaMxduVZQYKSZvM+ CMfLtjnYzDMZLmQkR5hbAt97DO/gLCjCOwvLOC6Y2jLI2kkIIxiuzRGfrqteHw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1728818919; a=rsa-sha256; cv=none; b=vdUSsqACT9A8cPfofLXJGZeBppijau63i8vTNU4THsP2iwfOVkYRc7oVv3KQC9r+A9MjCe JrDBxy4DVmFwReAlWZQr7A9mD8NEk0VCjVOAGBWq6HcbY6CV8xRPB/5IqpjBgdFmCIfaCg QVlmy8zNXoqf5jtOLN80QHjBxIXp8H096ngiXq3zpK5H43XsGkgXTYwSh3TNIns2ZqGpLg occ4qRXLtgit2C81DbyUNyZ5+EUfX5GShw++0uk/3WCW1FKakHeFye9z/V+nfYutmHF2eS NpAa6nftf+VaEYnb0ZWUVyLt00yv3z/kBQw/XFhwdWz8yX4EX5nhzj2vDxWPGA== 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 4XRJ5g5MyDzsVg; Sun, 13 Oct 2024 11:28:39 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 49DBSd6p010421; Sun, 13 Oct 2024 11:28:39 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 49DBSdJ6010418; Sun, 13 Oct 2024 11:28:39 GMT (envelope-from git) Date: Sun, 13 Oct 2024 11:28:39 GMT Message-Id: <202410131128.49DBSdJ6010418@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Michael Reifenberger Subject: git: 90ba3efd0411 - main - cad/Clipper2: add A Polygon Clipping and Offsetting library (in C++, C# & Delphi) 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: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mr X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 90ba3efd0411122e8898a2ca8adddeba4874f2fd Auto-Submitted: auto-generated The branch main has been updated by mr: URL: https://cgit.FreeBSD.org/ports/commit/?id=90ba3efd0411122e8898a2ca8adddeba4874f2fd commit 90ba3efd0411122e8898a2ca8adddeba4874f2fd Author: Michael Reifenberger AuthorDate: 2024-10-12 09:19:30 +0000 Commit: Michael Reifenberger CommitDate: 2024-10-13 11:28:21 +0000 cad/Clipper2: add A Polygon Clipping and Offsetting library (in C++, C# & Delphi) It will be used by openscad. Clipper2: The Clipper2 library performs intersection, union, difference and XOR boolean operations on both simple and complex polygons. It also performs polygon offsetting. This is a major update of my original Clipper library that was written over 10 years ago. That library I'm now calling Clipper1, and while it still works very well, Clipper2 is better in just about every way. --- cad/Clipper2/Makefile | 25 +++++++++++++++++++++++++ cad/Clipper2/distinfo | 5 +++++ cad/Clipper2/pkg-descr | 5 +++++ cad/Clipper2/pkg-plist | 16 ++++++++++++++++ cad/Makefile | 2 ++ 5 files changed, 53 insertions(+) diff --git a/cad/Clipper2/Makefile b/cad/Clipper2/Makefile new file mode 100644 index 000000000000..6877c275f643 --- /dev/null +++ b/cad/Clipper2/Makefile @@ -0,0 +1,25 @@ +PORTNAME= Clipper2 +DISTVERSION= 1.4.0 +#PORTREVISION= 1 +CATEGORIES= cad + +MAINTAINER= mr@freebsd.org +COMMENT= A Polygon Clipping and Offsetting library (in C++, C# & Delphi) +WWW= https://github.com/AngusJohnson/Clipper2 + +LICENSE= BSL +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= cmake + +USE_GITHUB= yes +GH_ACCOUNT= AngusJohnson google:gtest +GH_PROJECT= googletest:gtest +GH_TAGNAME= 2b665ac 71815bb:gtest +GH_SUBDIR= CPP/Tests/googletest:gtest + +CMAKE_SOURCE_PATH= ${WRKSRC}/CPP +#CMAKE_ON= +CMAKE_OFF= INSTALL_GTEST + +.include diff --git a/cad/Clipper2/distinfo b/cad/Clipper2/distinfo new file mode 100644 index 000000000000..4326887a1487 --- /dev/null +++ b/cad/Clipper2/distinfo @@ -0,0 +1,5 @@ +TIMESTAMP = 1728687615 +SHA256 (AngusJohnson-Clipper2-1.4.0-2b665ac_GH0.tar.gz) = bf1553e085ebcfc501884a56087580b2a5b2ffa14826700b67489bcc3af79c19 +SIZE (AngusJohnson-Clipper2-1.4.0-2b665ac_GH0.tar.gz) = 619495 +SHA256 (google-googletest-71815bb_GH0.tar.gz) = 386281d4eddb10c6cf5f93ee02d56793fb075138cb584ca31b1e70ab38c7678c +SIZE (google-googletest-71815bb_GH0.tar.gz) = 873787 diff --git a/cad/Clipper2/pkg-descr b/cad/Clipper2/pkg-descr new file mode 100644 index 000000000000..e3e2252a5fd8 --- /dev/null +++ b/cad/Clipper2/pkg-descr @@ -0,0 +1,5 @@ +The Clipper2 library performs intersection, +union, difference and XOR boolean operations on both simple and complex polygons. +It also performs polygon offsetting. +This is a major update of my original Clipper library that was written over 10 years ago. +That library I'm now calling Clipper1, and while it still works very well, Clipper2 is better in just about every way. diff --git a/cad/Clipper2/pkg-plist b/cad/Clipper2/pkg-plist new file mode 100644 index 000000000000..70f0f448017f --- /dev/null +++ b/cad/Clipper2/pkg-plist @@ -0,0 +1,16 @@ +include/clipper2/clipper.core.h +include/clipper2/clipper.engine.h +include/clipper2/clipper.export.h +include/clipper2/clipper.h +include/clipper2/clipper.minkowski.h +include/clipper2/clipper.offset.h +include/clipper2/clipper.rectclip.h +include/clipper2/clipper.version.h +lib/cmake/clipper2/Clipper2Config.cmake +lib/cmake/clipper2/Clipper2ConfigVersion.cmake +lib/cmake/clipper2/Clipper2Targets-%%CMAKE_BUILD_TYPE%%.cmake +lib/cmake/clipper2/Clipper2Targets.cmake +lib/libClipper2.a +lib/libClipper2Z.a +libdata/pkgconfig/Clipper2.pc +libdata/pkgconfig/Clipper2Z.pc diff --git a/cad/Makefile b/cad/Makefile index 1e4d7e8b0008..7f604861af7f 100644 --- a/cad/Makefile +++ b/cad/Makefile @@ -1,5 +1,6 @@ COMMENT = CAD tools + SUBDIR += Clipper2 SUBDIR += PrusaSlicer SUBDIR += abc SUBDIR += admesh @@ -34,6 +35,7 @@ SUBDIR += feappv SUBDIR += fidocadj SUBDIR += freecad + SUBDIR += freecad-devel SUBDIR += freehdl SUBDIR += fritzing SUBDIR += gds3d