nixpkgs/pkgs/applications
Andrew Marshall f1468a9946
blender: Build with Draco support (#245535)
See https://github.com/NixOS/nixpkgs/issues/217921

Blender sets WITH_DRACO=OFF if WITH_PYTHON_INSTALL=OFF, however that’s
not totally necessary. Removing that forced-set then builds with
WITH_DRACO=ON, however Blender fails to launch because this creates
e.g. `share/blender/3.6/python`, and Blender then sets this as Python’s
home dir, so Python fails to init since it expects Python core to be
there (and it’s not). I couldn’t figure out how Blender sets Python’s
home dir, and explicitly setting PYTHONHOME in the env didn’t have any
effect. So instead just rename that dir to python-ext to avoid this
behavior. All that is left then is to adjust where Blender is looking
for the Draco lib.

This functionality may be verified by:

1. Visiting File → Export → glTF 2.0
2. In the right side panel (press the gear icon in top-right if not
   visible), expanding “Data”
3. Enabling “Compression”
4. Press “Export glTF 2.0”
5. Verify:
   - Blender stdout+stderr shows “Draco mesh compression is available”
   - no error or warning message
   - exported file exists
2023-07-29 01:34:33 -04:00
..
accessibility
audio bitwig-studio: 5.0 -> 5.0.4 2023-07-28 12:45:56 +00:00
backup vorta: strip away output dependency on qt5.qtwayland.dev 2023-07-24 17:26:37 +02:00
blockchains Merge pull request #244483 from andresilva/polkadot-1.0.0 2023-07-28 20:39:17 +01:00
display-managers
editors Merge pull request #245705 from Enzime/fix/vscode-gles 2023-07-28 23:16:28 +02:00
emulators retroarch: include dosbox-pure core 2023-07-27 02:59:47 +02:00
file-managers Merge pull request #245664 from r-ryantm/auto-update/clifm 2023-07-27 10:17:50 -04:00
finance
gis
graphics Merge pull request #245526 from r-ryantm/auto-update/scantailor-advanced 2023-07-27 20:13:11 -06:00
kde
logging treewide: reduce packages I maintainer 2023-07-23 19:30:22 +02:00
maui
misc blender: Build with Draco support (#245535) 2023-07-29 01:34:33 -04:00
networking Merge pull request #245987 from r-ryantm/auto-update/kubernetes-metrics-server 2023-07-28 22:52:49 -06:00
office qownnotes: 23.7.2 -> 23.7.3 2023-07-27 15:51:59 +02:00
plasma-mobile
printing/pappl
qubes/qubes-core-vchan-xen
radio Merge pull request #244370 from r-ryantm/auto-update/freedv 2023-07-26 13:26:52 +02:00
science Merge pull request #245458 from vale981/patch-1 2023-07-27 20:41:19 -06:00
search
system psitop: 1.0.0 -> 1.1.3 2023-07-28 17:34:31 -04:00
terminal-emulators foot: Pull patch to fix under Mir 2023-07-28 16:04:43 +02:00
version-management lefthook: 1.4.6 -> 1.4.7 2023-07-29 01:43:27 +00:00
video multiviewer-for-f1: 1.24.1 -> 1.24.2 2023-07-28 13:59:13 +02:00
virtualization Merge pull request #244346 from adamcstephens/ovmf/4mb 2023-07-28 17:18:01 +02:00
window-managers Merge pull request #245892 from wineee/cage-15 2023-07-28 18:26:50 -06:00