From nobody Fri Mar 29 09:36:11 2024 X-Original-To: dev-commits-ports-main@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 4V5ZzL5YNjz5FvQZ for ; Fri, 29 Mar 2024 09:36:14 +0000 (UTC) (envelope-from daniel.engberg.lists@pyret.net) Received: from smtp-bc0e.mail.infomaniak.ch (smtp-bc0e.mail.infomaniak.ch [45.157.188.14]) (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 (2048 bits) client-digest SHA256) (Client CN "relay.mail.infomaniak.ch", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4V5ZzL276Kz4rZn; Fri, 29 Mar 2024 09:36:14 +0000 (UTC) (envelope-from daniel.engberg.lists@pyret.net) Authentication-Results: mx1.freebsd.org; none Received: from smtp-3-0000.mail.infomaniak.ch (smtp-3-0000.mail.infomaniak.ch [10.4.36.107]) by smtp-3-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4V5ZzJ1VXlzhK0; Fri, 29 Mar 2024 10:36:12 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=pyret.net; s=20231006; t=1711704972; bh=2Y/hKb5DergG0otCBH5hpHH2hekmi/btUKAAJe4/q+c=; h=Date:Subject:From:Reply-To:To:Cc:References:In-Reply-To:From; b=bInO2ZHecOGWP7cC6pPuB+LQAt1DRk38m8AXcQJjq+RaF46Jl0i0kLC6Pp70o5qdC woliR2YgqQRO5EFp5Ulc+BPVZGW6W6CM599i5HZD5Wf9O+GbuBZzqUSRIQAxulgmLO l8nAdoJoX3oRB/ea2UOBPknXgi8Lp2t29K4WqApJiOocDUWFbVZrgBqlWrT07LD4a5 wPU0m1pur/3E2gzZXwn7pjRbO2G/s25sRgHmpyxG23PbOeK/8K9+VrhJU7NnVON57G VboV+o30+Y/L3sUl3KqH131FmmTqXNkEY3saSvV+Mh0cTxe8RH659cG696Guy4MFEA RtHgZVpUXCPkw== Received: from unknown by smtp-3-0000.mail.infomaniak.ch (Postfix) with ESMTPA id 4V5ZzH5shXz3Y; Fri, 29 Mar 2024 10:36:11 +0100 (CET) Message-ID: <9e4f95a9f17095b157b809e469495723@mail.infomaniak.com> Date: Fri, 29 Mar 2024 10:36:11 +0100 Subject: Re: git: 9784fb237cdf - main - cad/libbgcode: new port From: Daniel Engberg Reply-To: Daniel Engberg To: Michael Zhilin Cc: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org, lwhsu@FreeBSD.org List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-WS-User-Origin: eyJpdiI6IjNkOTVzRGhtRTlaNWJSY0YwR1N5c0E9PSIsInZhbHVlIjoiZllndW5OQXVGUGJTVTI2N0lzeDFidz09IiwibWFjIjoiYWExNGM2OGJjYjY2MmE4MWU2NDJiNmNjM2E3Y2FiNjU3M2M1ZDU4YzY2MjAzMWNmMzg0NGEzZGY5MWZlODVjOCIsInRhZyI6IiJ9 X-WS-User-Mbox: eyJpdiI6InZOLy9tNm9mRG1tejNBUkwzQlRkaGc9PSIsInZhbHVlIjoiV1U4YmJEQ2Rvd1QvN3c1bDk4WE9PUT09IiwibWFjIjoiNzYzMzRkNDQxNjMzNzBmYzJmMmU0MzMyNDYxMjZjYjZjNTY2MGE3MDBhMTk0Njc0ODYxYjMzY2YyMzRkMmRlYyIsInRhZyI6IiJ9 X-WS-Location: eJxzKUpMKykGAAfpAmU- X-Mailer: Infomaniak Workspace (1.3.662) References: <202403281937.42SJbYnV072687@gitrepo.freebsd.org> In-Reply-To: <202403281937.42SJbYnV072687@gitrepo.freebsd.org> X-Infomaniak-Routing: alpha X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:29222, ipnet:45.157.188.0/22, country:CH] X-Rspamd-Queue-Id: 4V5ZzL276Kz4rZn On 2024-03-28T20:37:34.000+01:00, Michael Zhilin wrote= : > The branch main has been updated by mizhka: >=20 > URL: https://cgit.FreeBSD.org/ports/commit/?id=3D9784fb237cdf00b5f379c90d= f5c2d9f2bec97ea3 >=20 > commit 9784fb237cdf00b5f379c90df5c2d9f2bec97ea3 > Author: Michael Zhilin > AuthorDate: 2024-03-06 19:53:23 +0000 > Commit: Michael Zhilin > CommitDate: 2024-03-28 19:31:42 +0000 >=20 > cad/libbgcode: new port > =20 > It is required by PrusaSlicer 2.7+. This port provides library and > binary to work with g-code (read/write/convert) > =20 > Reported by: Teodor Sigaev > Reviewed by: lwhsu (mentor) > Sponsored by: Postgres Professional > Differential Revision: https://reviews.freebsd.org/D44257 > --- > cad/Makefile | 1 + > cad/libbgcode/Makefile | 27 ++++++++++++++++= ++++++ > cad/libbgcode/distinfo | 5 ++++ > cad/libbgcode/files/patch-CMakeLists.txt | 13 +++++++++++ > cad/libbgcode/files/patch-deps_CMakeLists.txt | 23 ++++++++++++++++= ++ > .../files/patch-deps_heatshrink_heatshrink.cmake | 12 ++++++++++ > cad/libbgcode/pkg-descr | 2 ++ > cad/libbgcode/pkg-plist | 21 ++++++++++++++++= + > 8 files changed, 104 insertions(+) >=20 > diff --git a/cad/Makefile b/cad/Makefile > index e85ed462ada0..f43f0c101c4f 100644 > --- a/cad/Makefile > +++ b/cad/Makefile > @@ -74,6 +74,7 @@ > SUBDIR +=3D ldview > SUBDIR +=3D leocad > SUBDIR +=3D lepton-eda > + SUBDIR +=3D libbgcode > SUBDIR +=3D libgdsii > SUBDIR +=3D libopencad > SUBDIR +=3D librecad > diff --git a/cad/libbgcode/Makefile b/cad/libbgcode/Makefile > new file mode 100644 > index 000000000000..ffa5500927c5 > --- /dev/null > +++ b/cad/libbgcode/Makefile > @@ -0,0 +1,27 @@ > +PORTNAME=3D=09libbgcode > +DISTVERSION=3D=090.2.0 > +CATEGORIES=3D=09cad > + > +MAINTAINER=3D=09teodorsigaev@gmail.com > +COMMENT=3D=09Prusa Block & Binary G-code reader/writer/converter > +WWW=3D=09=09https://github.com/prusa3d/libbgcode > + > +LICENSE=3D=09AGPLv3 > +LICENSE_FILE=3D=09${WRKSRC}/LICENSE > + > +LIB_DEPENDS=3D=09libboost_nowide.so:devel/boost-libs > + > +USES=3D=09cmake > + > +USE_GITHUB=3D=09yes > +GH_ACCOUNT=3D=09prusa3d > +GH_TAGNAME=3D=096f43cb004ef3d3bda37dde49f6235e24d2717629 > +GH_TUPLE=3D=09atomicobject:heatshrink:v0.4.1:heatshrink > + > +CMAKE_ARGS+=3D=09-DBUILD_SHARED_LIBS=3DON \ > +=09=09-DLibBGCode_BUILD_DEPS=3DON \ > +=09=09-DLibBGCode_BUILD_TESTS=3DOFF > + ... Hi, Please try to follow Poters Handbook, (GH_TAGNAME should use short hash) https://docs.freebsd.org/en/books/porters-handbook/book/#makefile-master_si= tes-github CMAKE_ARGS+=3D should be CMAKE_ARGS=3D and you can also use CMAKE_OFF and C= MAKE_ON instead which probably is a bit cleaner. https://docs.freebsd.org/en/books/porters-handbook/book/#using-cmake Best regards, Daniel (diizzy@)