From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 08 11:28:26 2019 Received: (at submit) by debbugs.gnu.org; 8 Aug 2019 15:28:26 +0000 Received: from localhost ([127.0.0.1]:41598 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hvkL4-0003xm-IA for submit@debbugs.gnu.org; Thu, 08 Aug 2019 11:28:26 -0400 Received: from lists.gnu.org ([209.51.188.17]:43431) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hvkL3-0003xf-2m for submit@debbugs.gnu.org; Thu, 08 Aug 2019 11:28:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38550) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hvkL2-0004DO-4o for bug-guix@gnu.org; Thu, 08 Aug 2019 11:28:25 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hvkL1-00056O-9N for bug-guix@gnu.org; Thu, 08 Aug 2019 11:28:24 -0400 Received: from dustycloud.org ([50.116.34.160]:48916) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hvkL1-00055s-5m for bug-guix@gnu.org; Thu, 08 Aug 2019 11:28:23 -0400 Received: from twig (localhost [127.0.0.1]) by dustycloud.org (Postfix) with ESMTPS id BDBC026729 for ; Thu, 8 Aug 2019 11:28:21 -0400 (EDT) User-agent: mu4e 1.2.0; emacs 26.2 From: Christopher Lemmer Webber To: bug-guix Subject: Add OpenSubdiv library, and add as Blender dependency Date: Thu, 08 Aug 2019 11:28:21 -0400 Message-ID: <87mugj1xt6.fsf@dustycloud.org> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 50.116.34.160 X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) I was surprised to open Blender 2.80 and find that subdivision surfaces (necessary for organic modeling) were doing nothing. I couldn't figure out why this was, until I found out that Blender now uses OpenSubdiv for subdivision surfaces. Don't think I have time to package it right now, but if someone was willing to package this and add it as a Blender dependency, I'd be extremely grateful to them. - Chris From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 11 07:32:28 2019 Received: (at submit) by debbugs.gnu.org; 11 Aug 2019 11:32:28 +0000 Received: from localhost ([127.0.0.1]:44794 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hwm5M-0001FC-3x for submit@debbugs.gnu.org; Sun, 11 Aug 2019 07:32:28 -0400 Received: from lists.gnu.org ([209.51.188.17]:33178) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hwm5J-0001Dx-T0 for submit@debbugs.gnu.org; Sun, 11 Aug 2019 07:32:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54744) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hwm5I-00081w-G5 for bug-guix@gnu.org; Sun, 11 Aug 2019 07:32:25 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hwm5H-0003Ak-9N for bug-guix@gnu.org; Sun, 11 Aug 2019 07:32:24 -0400 Received: from zancanaro.com.au ([45.76.117.151]:51682) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hwm5G-00036P-K4 for bug-guix@gnu.org; Sun, 11 Aug 2019 07:32:23 -0400 Received: by zancanaro.com.au (Postfix, from userid 116) id 8C03F2951C; Sun, 11 Aug 2019 11:32:16 +0000 (UTC) Received: from jolteon (210-1-202-160-cpe.spintel.net.au [210.1.202.160]) by zancanaro.com.au (Postfix) with ESMTPSA id 0F84629519; Sun, 11 Aug 2019 11:32:15 +0000 (UTC) References: <87mugj1xt6.fsf@dustycloud.org> User-agent: mu4e 1.2.0; emacs 26.2 From: Carlo Zancanaro To: bug-guix@gnu.org Subject: Re: bug#36977: Add OpenSubdiv library, and add as Blender dependency In-reply-to: <87mugj1xt6.fsf@dustycloud.org> Date: Sun, 11 Aug 2019 21:32:13 +1000 Message-ID: <87o90wkkea.fsf@zancanaro.id.au> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 45.76.117.151 X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit Cc: 36977@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) --=-=-= Content-Type: text/plain; format=flowed On Fri, Aug 09 2019, Christopher Lemmer Webber wrote: > I was surprised to open Blender 2.80 and find that subdivision > surfaces (necessary for organic modeling) were doing nothing. I > couldn't figure out why this was, until I found out that Blender > now uses OpenSubdiv for subdivision surfaces. I gave this a go, but it didn't go as smoothly as I had hoped. I packaged opensubdiv, which I have attached, but adding it to the Blender inputs didn't cause the subdivision modifier to work. I'm not really able to take this any further, but this is at least something to start with! --=-=-= Content-Type: text/x-diff; charset=utf-8 Content-Disposition: attachment; filename=0001-gnu-Add-opensubdiv.patch Content-Transfer-Encoding: quoted-printable >From 959496bd6461474a30ce0e28ee0f6765a7523671 Mon Sep 17 00:00:00 2001 From: Carlo Zancanaro Date: Sun, 11 Aug 2019 21:25:14 +1000 Subject: [PATCH] gnu: Add opensubdiv. * gnu/packages/graphics.scm (opensubdiv): New variable. --- gnu/packages/graphics.scm | 43 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm index bc3a418e99..11ea550039 100644 --- a/gnu/packages/graphics.scm +++ b/gnu/packages/graphics.scm @@ -12,6 +12,7 @@ ;;; Copyright =C2=A9 2018 Alex Kost ;;; Copyright =C2=A9 2018 Kei Kebreau ;;; Copyright =C2=A9 2019 Mark H Weaver +;;; Copyright =C2=A9 2019 Carlo Zancanaro ;;; ;;; This file is part of GNU Guix. ;;; @@ -77,6 +78,48 @@ #:use-module (guix packages) #:use-module (guix utils)) =20 +(define-public opensubdiv + (package + (name "opensubdiv") + (version "3.4.0") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/PixarAnimationStudio= s/OpenSubdiv/archive/v3_4_0.tar.gz")) + (sha256 + (base32 + "1r3ki5lql9i71c775n6d8gxix4svg9f17ck0i58wfw9kz29b4cnr")))) + (build-system cmake-build-system) + (arguments + `(#:phases (modify-phases %standard-phases + (add-before 'configure 'set-glew-location + (lambda* (#:key inputs #:allow-other-keys) + (setenv "GLEW_LOCATION" (assoc-ref inputs "glew")) + #t)) + (add-before 'check 'start-xorg-server + (lambda* (#:key inputs #:allow-other-keys) + ;; The test suite requires a running X server. + (system (string-append (assoc-ref inputs "xorg-serve= r") + "/bin/Xvfb :1 &")) + (setenv "DISPLAY" ":1") + #t))))) + (native-inputs + `(("xorg-server" ,xorg-server))) + (inputs + `(("glew" ,glew) + ("libxrandr" ,libxrandr) + ("libxcursor" ,libxcursor) + ("libxinerama" ,libxinerama) + ("libxi" ,libxi) + ("zlib" ,zlib) + ("glfw" ,glfw))) + (home-page "http://graphics.pixar.com/opensubdiv/") + (synopsis "High performance subdivision surface evaluation") + (description + "OpenSubdiv is a set of libraries that implement high performance +subdivision surface (subdiv) evaluation on massively parallel CPU and GPU +architectures.") + (license license:asl2.0))) + (define-public blender (package (name "blender") --=20 2.22.0 --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 12 06:21:56 2019 Received: (at submit) by debbugs.gnu.org; 12 Aug 2019 10:21:56 +0000 Received: from localhost ([127.0.0.1]:46104 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hx7Se-0001Af-HT for submit@debbugs.gnu.org; Mon, 12 Aug 2019 06:21:56 -0400 Received: from lists.gnu.org ([209.51.188.17]:34081) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hx7Sc-0001AX-AQ for submit@debbugs.gnu.org; Mon, 12 Aug 2019 06:21:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52162) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hx7Sb-0004LE-Cw for bug-guix@gnu.org; Mon, 12 Aug 2019 06:21:54 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_40,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hx7Sa-0006k2-F7 for bug-guix@gnu.org; Mon, 12 Aug 2019 06:21:53 -0400 Received: from zancanaro.com.au ([45.76.117.151]:46284) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hx7Sa-0006ii-2v for bug-guix@gnu.org; Mon, 12 Aug 2019 06:21:52 -0400 Received: by zancanaro.com.au (Postfix, from userid 116) id E704329548; Mon, 12 Aug 2019 10:21:46 +0000 (UTC) Received: from jolteon (210-1-202-160-cpe.spintel.net.au [210.1.202.160]) by zancanaro.com.au (Postfix) with ESMTPSA id 38B3829546; Mon, 12 Aug 2019 10:21:46 +0000 (UTC) References: <87mugj1xt6.fsf@dustycloud.org> <87o90wkkea.fsf@zancanaro.id.au> User-agent: mu4e 1.2.0; emacs 26.2 From: Carlo Zancanaro To: bug-guix@gnu.org Subject: Re: bug#36977: Add OpenSubdiv library, and add as Blender dependency In-reply-to: <87o90wkkea.fsf@zancanaro.id.au> Date: Mon, 12 Aug 2019 20:21:44 +1000 Message-ID: <87pnlar8ef.fsf@zancanaro.id.au> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 45.76.117.151 X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit Cc: 36977@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) --=-=-= Content-Type: text/plain; format=flowed On Sun, Aug 11 2019, Carlo Zancanaro wrote: > ... adding it to the Blender inputs didn't cause the subdivision > modifier to work. ... Well, it turns out I just had to add the -DWITH_OPENSUBDIV=ON configure flag. Here's a new patch to do that! --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=0001-gnu-blender-Add-opensubdiv-as-an-input.patch >From 231763df5b336118dae973da9dbde362dd1c1465 Mon Sep 17 00:00:00 2001 From: Carlo Zancanaro Date: Mon, 12 Aug 2019 20:15:11 +1000 Subject: [PATCH] gnu: blender: Add opensubdiv as an input * gnu/packages/graphics.scm (blender)[inputs]: Add opensubdiv. [arguments]: Add "-DWITH_OPENSUBDIV=ON" to #:configure-flags. --- gnu/packages/graphics.scm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm index 11ea550039..b9207f284d 100644 --- a/gnu/packages/graphics.scm +++ b/gnu/packages/graphics.scm @@ -147,6 +147,7 @@ architectures.") "-DWITH_INSTALL_PORTABLE=OFF" "-DWITH_JACK=ON" "-DWITH_MOD_OCEANSIM=ON" + "-DWITH_OPENSUBDIV=ON" "-DWITH_PYTHON_INSTALL=OFF" (string-append "-DPYTHON_LIBRARY=python" ,python-version "m") (string-append "-DPYTHON_LIBPATH=" (assoc-ref %build-inputs "python") @@ -182,6 +183,7 @@ architectures.") ("libx11" ,libx11) ("openimageio" ,openimageio) ("openexr" ,openexr) + ("opensubdiv" ,opensubdiv) ("ilmbase" ,ilmbase) ("openjpeg" ,openjpeg) ("libjpeg" ,libjpeg) -- 2.22.0 --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Tue Aug 13 14:44:41 2019 Received: (at 36977-done) by debbugs.gnu.org; 13 Aug 2019 18:44:41 +0000 Received: from localhost ([127.0.0.1]:48641 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hxbmj-0004yw-Dh for submit@debbugs.gnu.org; Tue, 13 Aug 2019 14:44:41 -0400 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:38959) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hxbmh-0004yh-Dh for 36977-done@debbugs.gnu.org; Tue, 13 Aug 2019 14:44:39 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 093BC21F40; Tue, 13 Aug 2019 14:44:34 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Tue, 13 Aug 2019 14:44:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=mesmtp; bh=OMTjGjuLboqfK3br3/JTK4O+ NvNMZ0wfYuBL5vo7jnQ=; b=NOJscVOefuDY1Flh7Ek0RAWxdkO9zHbO4EU3Ha3P 0CmqKgezc/98R4FXDr9kHc+RfKPAyMkqdvSJNIWJ99V1gnAKHrzIozvNHQQmFk6l qaxsvgPqmTFRneHGt24mKDmg8IWxKbf1wLTyCc2UccAXaPEDevPe1udoHUux2NnM BaM= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=OMTjGj uLboqfK3br3/JTK4O+NvNMZ0wfYuBL5vo7jnQ=; b=NmzR3K6rHKCIJFRu8qCIm4 9SHG5ytapjafXhI0jJ+KOIAvg3g0lNXGFGouh7HqlqUsUCLm/zAPZvMsYSZnIYIo 9yvXWB0KAJXkwPndfp4aYoO6S6vV9eLLVblu2hVhD+uVZCxq8P8i8LXu3Yb8VV04 b7mVsYHuYFlSsVIKqv0xYDUZJF9QyWKBo5zwm/t9hVkm1IhlCxhD+OSOkwX+G+px 9akh/JO5q26CSHe96eYwOHexZz5dRQB1nqJ9bKC7+2T6eutPkHR7C/pcxaFaLgqN vm6VjJIyHlL5V149hd1CtNFJDwf9KRG9wCdHyVgl5Lw4jIUHcKYMO4xbAKZITj0Q == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddruddviedguddvgecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpeffhffvuffkfhggtggujggfsehgtderredtredvnecuhfhrohhmpefnvgho ucfhrghmuhhlrghrihcuoehlvghosehfrghmuhhlrghrihdrnhgrmhgvqeenucfkphepje eirdduvdegrddufeekrdeifeenucfrrghrrghmpehmrghilhhfrhhomheplhgvohesfhgr mhhulhgrrhhirdhnrghmvgenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from localhost (c-76-124-138-63.hsd1.pa.comcast.net [76.124.138.63]) by mail.messagingengine.com (Postfix) with ESMTPA id D155780062; Tue, 13 Aug 2019 14:44:32 -0400 (EDT) Date: Tue, 13 Aug 2019 14:44:31 -0400 From: Leo Famulari To: Carlo Zancanaro Subject: Re: bug#36977: Add OpenSubdiv library, and add as Blender dependency Message-ID: <20190813184431.GA20996@jasmine.lan> References: <87mugj1xt6.fsf@dustycloud.org> <87o90wkkea.fsf@zancanaro.id.au> <87pnlar8ef.fsf@zancanaro.id.au> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="OXfL5xGRrasGEqWY" Content-Disposition: inline In-Reply-To: <87pnlar8ef.fsf@zancanaro.id.au> User-Agent: Mutt/1.12.1 (2019-06-15) X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 36977-done Cc: 36977-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --OXfL5xGRrasGEqWY Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Aug 12, 2019 at 08:21:44PM +1000, Carlo Zancanaro wrote: > On Sun, Aug 11 2019, Carlo Zancanaro wrote: > > ... adding it to the Blender inputs didn't cause the subdivision > > modifier to work. ... >=20 > Well, it turns out I just had to add the -DWITH_OPENSUBDIV=3DON configure > flag. Here's a new patch to do that! Thanks! Pushed as 588a0a335d09311197352c7f49d5541ef2717cc8 --OXfL5xGRrasGEqWY Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAl1TBQ8ACgkQJkb6MLrK fwhTEA/8Cr19icgKFnefmlhZYa7f6p6fqwCa+HpTVblvENkGWVXth0g3XHB8i40P ug3/4VPx4UDgh3SmKcCrt9jJm29ik47vznMLIMFy8b/K51eAzvX22NTtmjU8dHw6 9O6ZNrz1qAK8BmGuvIENkNUHy4AxnrdlDY3f7jPxrNo5wPXJX32oEtZS1D3/kZsA U/BL8uODzPyHhoL7ujtuyeE6ACy60OufZ1gO3cYfNY2nlXcgX4aPrEYD2L2B06U6 46xd6/uChSH8fxz5No9BRedn0WiNPeNwxcvdoTX7261bDWicvGebPZ9sBviKvAPY M2TPwQvq9Omq93HNkoSxc3JdMZSw6x2nkOFwBKMvIySFghl7b7eHt/cppmWhmmzx cUW/Iiw74BPp7cwPAN4hfNMH/jRolWiOHe4MSVl5GcnNoOvb41S+rmx4GcdF8Qo6 6TED2clT7vU0vTRTcsVitgBQ+AbvIByykpZt4DGsJRVTh2cWSP8lGE1+D7jEYemF 8drHAgmTVVF3kTX9HGOr0I5IFZ0dqHdybZCqipobwRLiF0tSMxKlHQcPf+1agKmv zQxtldGvRICNLGxFSQJ51yJsumLTIser07lWiDSfn/OfngX58EYfGWOW3eWJdqGt OKEpeb423l2BWlPyaLzF1UTXSdbfuaVVukg7C4EpAFHKH7NRhus= =KE4t -----END PGP SIGNATURE----- --OXfL5xGRrasGEqWY-- From unknown Sun Jun 22 22:45:52 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 11 Sep 2019 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator