From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1F0DE15808B for ; Thu, 14 Apr 2022 08:54:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 42DFCE08F4; Thu, 14 Apr 2022 08:54:43 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5CF06E08F2 for ; Thu, 14 Apr 2022 08:54:41 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D6B69341FC4 for ; Thu, 14 Apr 2022 08:54:39 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0F1353A7 for ; Thu, 14 Apr 2022 08:54:38 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1649926474.423e0819a86884988c9355e93ed9bd1d5813e267.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/freecad/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-gfx/freecad/freecad-9999.ebuild media-gfx/freecad/metadata.xml X-VCS-Directories: media-gfx/freecad/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: 423e0819a86884988c9355e93ed9bd1d5813e267 X-VCS-Branch: master Date: Thu, 14 Apr 2022 08:54:38 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 542c8df5-b272-49f0-92af-92932ef4a721 X-Archives-Hash: be2bc284af5c15fef27baee1fd095b16 commit: 423e0819a86884988c9355e93ed9bd1d5813e267 Author: Bernd Waibel posteo net> AuthorDate: Tue Apr 5 09:52:51 2022 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Thu Apr 14 08:54:34 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=423e0819 media-gfx/freecad: add option to build designer plugin Add a USE flag to build and install the designer plugin of FreeCAD, to be used from within the Qt designer application. The widgets are prefixed with Gui:: within designer. See https://forum.freecadweb.org/viewtopic.php?f=10&t=67706 and https://github.com/FreeCAD/FreeCAD/pull/6711 Signed-off-by: Bernd Waibel posteo.net> Closes: https://github.com/gentoo/gentoo/pull/24918 Signed-off-by: Joonas Niilola gentoo.org> media-gfx/freecad/freecad-9999.ebuild | 8 +++++--- media-gfx/freecad/metadata.xml | 4 ++++ 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/media-gfx/freecad/freecad-9999.ebuild b/media-gfx/freecad/freecad-9999.ebuild index f977510288c5..d10e47f1f6e1 100644 --- a/media-gfx/freecad/freecad-9999.ebuild +++ b/media-gfx/freecad/freecad-9999.ebuild @@ -29,10 +29,9 @@ fi # examples are licensed CC-BY-SA (without note of specific version) LICENSE="LGPL-2 CC-BY-SA-4.0" SLOT="0" -IUSE="debug headless pcl test" -RESTRICT="!test? ( test )" +IUSE="debug designer headless test" -FREECAD_EXPERIMENTAL_MODULES="cloud plot ship" +FREECAD_EXPERIMENTAL_MODULES="cloud pcl plot ship" FREECAD_STABLE_MODULES="addonmgr fem idf image inspection material openscad part-design path points raytracing robot show surface techdraw tux" @@ -45,6 +44,8 @@ for module in ${FREECAD_EXPERIMENTAL_MODULES}; do done unset module +RESTRICT="!test? ( test )" + RDEPEND=" ${PYTHON_DEPS} dev-libs/OpenNI2[opengl(+)] @@ -156,6 +157,7 @@ src_configure() { -DBUILD_CLOUD=$(usex cloud) -DBUILD_COMPLETE=OFF # deprecated -DBUILD_DRAFT=ON + -DBUILD_DESIGNER_PLUGIN=$(usex designer) -DBUILD_DRAWING=ON -DBUILD_ENABLE_CXX_STD:STRING="C++17" # needed for current git master -DBUILD_FEM=$(usex fem) diff --git a/media-gfx/freecad/metadata.xml b/media-gfx/freecad/metadata.xml index 44899f008bc0..0cb44cbdecb5 100644 --- a/media-gfx/freecad/metadata.xml +++ b/media-gfx/freecad/metadata.xml @@ -18,6 +18,10 @@ Build the Cloud workbench, to access cloud providers (mostly Amazon S3). + + Build and install the Qt designer plugin, so the FreeCAD widgets + can be used from within designer. + Build the Drawing workbench, a predecessor to the TechDraw workbench. Users are encouraged to learn how to use the TechDraw workbench and