From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: bug#33608: Blender graphical interface broken since core-updates merge Date: Wed, 26 Dec 2018 23:58:32 -0500 Message-ID: <20181227045832.GA6436@jasmine.lan> References: <20181204071038.GA20602@jasmine.lan> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="TRYliJ5NKNqkz5bu" Return-path: Received: from eggs.gnu.org ([208.118.235.92]:55106) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gcNlF-0007L9-54 for bug-guix@gnu.org; Wed, 26 Dec 2018 23:59:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gcNl9-0004AJ-Rh for bug-guix@gnu.org; Wed, 26 Dec 2018 23:59:08 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:56864) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gcNl8-00046X-7d for bug-guix@gnu.org; Wed, 26 Dec 2018 23:59:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gcNl8-0005ZQ-41 for bug-guix@gnu.org; Wed, 26 Dec 2018 23:59:02 -0500 In-Reply-To: <20181204071038.GA20602@jasmine.lan> Sender: "Debbugs-submit" Resent-Message-ID: Content-Disposition: inline List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 33608@debbugs.gnu.org --TRYliJ5NKNqkz5bu Content-Type: multipart/mixed; boundary="+QahgC5+KEYLbs62" Content-Disposition: inline --+QahgC5+KEYLbs62 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline I haven't investigated this bug any more, although another bug was filed on the subject at , with some more info. I built a package of Blender 2.80 beta, and the patch is attached. The program runs and looks okay, but I didn't actually try to do any work with it yet, and the package may or may not need some tweaking. Help wanted :) To quote the Blender project's statement about 2.80 beta [0], "Blender 2.80 is under development. We do not recommend using Beta versions in production, there are still many bugs and data loss is not likely but still possible. Always backup your files." [0] https://www.blender.org/2-8/#try-it-yourself --+QahgC5+KEYLbs62 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0001-WIP-Blender-Update-to-a-beta-release-of-2.80.patch" Content-Transfer-Encoding: quoted-printable =46rom 13731e529f012ad70a2276c1da572e76f3ab52bd Mon Sep 17 00:00:00 2001 =46rom: Leo Famulari Date: Tue, 25 Dec 2018 01:58:35 -0500 Subject: [PATCH] WIP: Blender: Update to a beta release of 2.80. * gnu/packages/graphics.scm (blender): Update to 2.80-0.6d89337. --- gnu/packages/graphics.scm | 38 +++++++++++++++++++++++++------------- 1 file changed, 25 insertions(+), 13 deletions(-) diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm index 6e184d333..9c29d2326 100644 --- a/gnu/packages/graphics.scm +++ b/gnu/packages/graphics.scm @@ -76,17 +76,20 @@ #:use-module (guix utils)) =20 (define-public blender + (let ((revision "0") + (commit "6d89337257b6f3ec0b300e13c1322f5171d966af")) (package (name "blender") - (version "2.79b") + (version (git-version "2.80" revision commit)) (source (origin - (method url-fetch) - (uri (string-append "https://download.blender.org/source/" - "blender-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://git.blender.org/blender.git") + (commit commit))) + (file-name (git-file-name name version)) (sha256 (base32 - "1g4kcdqmf67srzhi3hkdnr4z1ph4h9sza1pahz38mrj998q4r52c")) - (patches (search-patches "blender-newer-ffmpeg.patch")))) + "0hx2s8jwsh6a65sx8qbg5gdslpl2sh24cwbqbr5l1s50kfl6dmiz")))) (build-system cmake-build-system) (arguments (let ((python-version (version-major+minor (package-version python))= )) @@ -113,14 +116,22 @@ "/lib") (string-append "-DPYTHON_INCLUDE_DIR=3D" (assoc-ref %build-= inputs "python") "/include/python" ,python-version "m") - (string-append "-DPYTHON_VERSION=3D" ,python-version)) + (string-append "-DPYTHON_VERSION=3D" ,python-version) + ;; XXX Why does it require Numpy now? + (string-append "-DPYTHON_NUMPY_PATH=3D" + (assoc-ref %build-inputs "python-numpy") + "/lib/python" ,python-version "/site-package= s/")) #:phases (modify-phases %standard-phases - (add-after 'unpack 'fix-broken-import - (lambda _ - (substitute* "release/scripts/addons/io_scene_fbx/json2fbx.= py" - (("import encode_bin") "from . import encode_bin")) - #t)) + ;; XXX These files don't exist in the Git source. Were they re= moved + ;; from Blender 2.80, or are they generated for the release + ;; tarballs, or perhaps later in the build process than "after + ;; unpack"? +; (add-after 'unpack 'fix-broken-import +; (lambda _ +; (substitute* "release/scripts/addons/io_scene_fbx/json2fbx= =2Epy" +; (("import encode_bin") "from . import encode_bin")) +; #t)) (add-after 'set-paths 'add-ilmbase-include-path (lambda* (#:key inputs #:allow-other-keys) ;; OpenEXR propagates ilmbase, but its include files do not= appear @@ -150,6 +161,7 @@ ("glew" ,glew) ("openal" ,openal) ("python" ,python) + ("python-numpy" ,python-numpy) ("zlib" ,zlib))) (home-page "https://blender.org/") (synopsis "3D graphics creation suite") @@ -158,7 +170,7 @@ the 3D pipeline=E2=80=94modeling, rigging, animation, simulation, renderin= g, compositing and motion tracking, even video editing and game creation. The application can be customized via its API for Python scripting.") - (license license:gpl2+))) + (license license:gpl2+)))) =20 (define-public assimp (package --=20 2.20.1 --+QahgC5+KEYLbs62-- --TRYliJ5NKNqkz5bu Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAlwkW/gACgkQJkb6MLrK fwgaKw//dYai/R1T73DwMeG6VlPvcRAxRT+AVTG0XmYUgkMFlfir5AOVPgc/Cr7E tpiYmUTGfoX4PVuLwa5oKPDS1cyWma5J1ooZc94ap3PaRQ8uhl+f3pbjkZksEBgI wbyGBhniYc44FEuMscr2Qn76wFccbDmZNlt3x7orEs1a37eI5qZFT59xfhe6YTza VylnJY/bGcuPgyoPDnyjmJlelspqJ0FMjmFFjNJkuCniWMCHt+fIS2FsC8h4G4Ec MT08g4e3BvvpsAksH5bZWj2nCYvyOlguCmOqylfE9O2SKJkXYGbYbovMTczlYR9y 25IUeB1cpLUFietRmgA/CsSXJEFb3WA3C337qOEUUHi80iSUqYKHdQiopsSp7mN+ GF5iC2kxDi/1UT1ukQX+Mv/lo/mq2tQlrlvnOd/uxTw+yz2YjRj5yHZzWGRaUqx+ xB7Pkg17n/aitzu1tswCgjDdejX3npGTQ3Vhr4agg0Rwqnaooc94zyL8XCKhOo+1 1MZLkiAratD9EM8XOECShxOe2/koeFdDFPL+EhItoGlyY52wPdV11Us1OVP65HGX 2WOIPHV3qY3eALbXlMSm6p6/s3LfybjgjK47PZbChNm/rp+Mlw8A2fBYhkD4DPTy /WscUIiTbC1PwPWavpvoZm4VqkTupDxVtGxZYIl+Vu9j2Lb7Mqc= =HD/O -----END PGP SIGNATURE----- --TRYliJ5NKNqkz5bu--