Commit Graph

32 Commits

Author SHA1 Message Date
Peder Bergebakken Sundt
15a698aebf f3d: mark broken on x86_64-darwin 2024-10-02 09:01:36 +02:00
Artturin
e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
adisbladis
fdc3257164 f3d: Add opencascade-occt & assimp plugins
This enables support for:
- Assimp plugin (FBX, OFF, DAE, DXF, X and 3MF)
- OpenCASCADE plugin (STEP and IGES files)
2024-07-26 17:10:36 +12:00
Peder Bergebakken Sundt
524fe38405 f3d: set vtk enableEgl 2024-07-10 20:56:18 +08:00
R. Ryantm
c0301968f7 python311Packages.f3d: 2.4.0 -> 2.5.0 2024-07-02 12:25:47 +00:00
aleksana
7bd1f036c4 f3d: enable external rendering 2024-06-18 12:02:36 +08:00
aleksana
6ffd76f080 python3Packages.f3d: add python module 2024-06-17 23:00:00 +08:00
Peder Bergebakken Sundt
dc4209a00a f3d: add withManual option, by default disabled on darwin
should fix darwin
2024-05-23 23:06:13 +02:00
Peder Bergebakken Sundt
67d4cea69d f3d: condition autoPatchelfHook on isElf
should fix darwin
2024-05-23 11:17:39 +02:00
Peder Bergebakken Sundt
ea2f5c7c75 f3d: 2.3.1 -> 2.4.0
Diff: https://github.com/f3d-app/f3d/compare/refs/tags/v2.3.1...v2.4.0

Changelog: https://github.com/f3d-app/f3d/releases/tag/v2.4.0
2024-04-05 22:27:09 +02:00
R. Ryantm
3506d24084 f3d: 2.3.0 -> 2.3.1 2024-03-30 00:53:16 +00:00
h7x4
8121f3559a
treewide: add mainProgram 2024-02-11 03:19:15 +01:00
Peder Bergebakken Sundt
d5e11b7d9a f3d: 2.2.1 -> 2.3.0
Diff: https://github.com/f3d-app/f3d/compare/refs/tags/v2.2.1...v2.3.0

Changelog: https://github.com/f3d-app/f3d/releases/tag/v2.3.0
2024-01-26 01:38:20 +01:00
Peder Bergebakken Sundt
ce77b53f1a f3d.meta.maintainers: add pbsds 2024-01-26 01:38:20 +01:00
Peder Bergebakken Sundt
e5970be7e3 f3d: build manpage 2024-01-26 01:38:18 +01:00
Peder Bergebakken Sundt
eaf845cf05 f3d: unbreak with autoPatchelfHook 2024-01-26 01:37:38 +01:00
Greizgh
6fc5258c5c
f3d: mark broken
As of 2024-01-20, running f3d result in:
error while loading shared libraries: libvtkInteractionWidgets.so.1: cannot open shared object file: No such file or directory

Related issue: https://github.com/NixOS/nixpkgs/issues/262328
2024-01-20 20:21:43 +01:00
R. Ryantm
262fc5e392 f3d: 2.1.0 -> 2.2.1 2023-10-08 13:28:35 +00:00
Ben Darwin
d615ce6c71 f3d: 2.0.0 -> 2.1.0 2023-07-07 22:52:28 -04:00
R. Ryantm
78f0c1a4f6 f3d: 1.3.1 -> 2.0.0 2023-04-25 22:40:16 +00:00
Ben Darwin
cf339f3d14 vtk_9: propagate libX11 and libGL on Linux 2022-12-19 18:17:46 -05:00
Ben Darwin
aca609f053 f3d: 1.2.1 -> 1.3.1 2022-09-13 14:56:00 -04:00
Ben Darwin
f527818ea6 f3d: 1.2.0 -> 1.2.1 2021-12-22 02:28:42 -05:00
R. Ryantm
e97eeacafc f3d: 1.1.1 -> 1.2.0 2021-12-06 19:16:18 +00:00
mwestphal
7c4bbc7cd0
Updating F3D URLs for F3D migration (#147173) 2021-11-25 03:12:34 -05:00
Ben Darwin
30632db50a f3d: 1.1.0 -> 1.1.1 2021-11-20 13:46:22 -05:00
Jörg Thalheim
d8d06d1cec
Merge pull request #109455 from siraben/remove-stdenv-lib 2021-01-16 16:17:07 +00:00
Mario Rodas
13feddd19e
Merge pull request #107303 from bcdarwin/update-f3d
f3d: 1.0.1 -> 1.1.0
2021-01-16 08:32:37 -05:00
Ben Siraphob
badf51221d treewide: stdenv.lib -> lib 2021-01-16 17:58:11 +07:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Ben Darwin
30c36ec838 f3d: 1.0.1 -> 1.1.0 2020-12-20 21:12:23 -05:00
Ben Darwin
c0df23122e f3d: init at 1.0.1 2020-09-02 11:48:56 -04:00