Commit Graph

84 Commits

Author SHA1 Message Date
Andre-Patrick Bubel
b89f8a710d prusa-slicer, super-slicer, mediathekview: remove Moredread as maintainer 2024-11-09 16:16:41 +01:00
Sergei Zimmerman
1de809a9e9 super-slicer-latest: fix build 2024-10-18 23:59:49 +04: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
David Rose
e6967ae9e9 prusa-slicer: 2.7.4 -> 2.8.0 2024-08-12 17:16:28 -04:00
K900
2ab6654672 prusa-slicer: build with clang
See comment for why.
2024-08-01 17:20:33 +03:00
aleksana
3d8dab8761 treewide: sha256 -> hash attribute for fetchgit (manually) 2024-07-14 19:10:09 +08:00
Jonas Heinrich
ab2d6f7853 treewide: switch from opencascade-occt -> opencascade-occt_7_6 2024-05-05 20:43:44 +02:00
Jan Tojnar
eb04659fc2 treewide: wrapGAppsHook → wrapGAppsHook3
This was achieved using the following command:

    sd 'wrapGAppsHook\b' wrapGAppsHook3 (rg -l 'wrapGAppsHook\b')

And then manually reverted the following changes:

- alias in top-level.nix
- function name in wrap-gapps-hook.sh
- comment in postFixup of at-spi2-core
- comment in gtk4
- comment in preFixup of 1password-gui/linux.nix
- comment in postFixup of qgis/unwrapped-ltr.nix and qgis/unwrapped.nix
- comment in postFixup of telegram-desktop
- comment in postFixup of fwupd
- buildCommand of mongodb-compass
- postFixup of xflux-gui
- comment in a patch in kdePackages.kde-gtk-config and plasma5Packages.kde-gtk-config
- description of programs.sway.wrapperFeatures.gtk NixOS option (manual rebuild)
2024-04-27 02:23:22 +02:00
Daniel Underwood
fc01903452 prusa-slicer: 2.7.3 -> 2.7.4 2024-04-11 21:58:28 +02:00
silvanshade
2d8b10e3f0
tbb: 2021.8.0 -> 2021.11.0 (#301391)
Co-authored-by: silvanshade <silvanshade@users.noreply.github.com>
2024-04-05 17:36:37 +02:00
Weijia Wang
7cdc1197ed
Merge pull request #299998 from danielunderwood/prusa-slicer-update
prusa-slicer: 2.7.2 -> 2.7.3
2024-04-03 15:02:41 +02:00
Amandus Krantz
d8b8cc5a07
super-slicer: fix build (#298652)
cgal bump in #292492 broke the build
2024-04-02 18:05:18 +04:00
Daniel Underwood
37f61fa623 prusa-slicer: 2.7.2 -> 2.7.3 2024-03-29 09:54:03 -04:00
Jussi Kuokkanen
82b45bf454 treewide: remove licenses.agpl3 2024-03-21 18:09:24 +02:00
VuiMuich
8323148284 prusa-slicer: 2.7.1 -> 2.7.2 2024-03-03 01:27:03 +01:00
Weijia Wang
1860d8a145 prusa-slicer: fix build on aarch64-darwin 2024-01-27 02:15:03 +01:00
David Guibert
6081df2649
super-slicer-beta: 2.5.59.3 -> 2.5.59.6 (#283789)
Diff: https://github.com/supermerill/SuperSlicer/compare/2.5.59.3...2.5.59.6
2024-01-26 18:12:52 +04:00
Yureka
ce95061d7d prusa-slicer: openvdb overrideAttrs -> override 2024-01-23 12:35:06 +01:00
Maciej Krüger
d49e1a15fc
Merge pull request #274713 from VuiMuich/prusa-slicer/update 2023-12-19 11:27:33 +01:00
Vincent Laporte
1791eeb7bd cgal: default to version 5 2023-12-18 18:18:00 +01:00
VuiMuich
98de329939
prusa-slicer: 2.7.0->2.7.1 2023-12-16 15:45:10 +01:00
Yaroslav Bolyukin
a9c11e323a
prusa-slicer: 2.6.1 -> 2.7.0 2023-11-28 21:25:17 +01:00
Cabia Rangris
4ff48c9f84
super-slicer-beta: 2.5.59.2 -> 2.5.59.3 (#269969) 2023-11-26 16:26:42 +04:00
hesiod
02fad9eefd
super-slicer-latest: 2.4.58.3 -> 2.4.58.5; super-slicer-beta: init at 2.5.59.2
* super-slicer-latest: 2.4.58.3 -> 2.4.58.5

* super-slicer-beta: init at 2.5.59.2

* super-slicer: Remove old workaround

* super-slicer: Add maintainer tmarkus

* prusa-slicer: Add maintainer tmarkus

* super-slicer: Move to tbb_2021_8

super-slicer.latest requires tbb_2021_8 in order to build correctly.
Move super-slicer over to tbb_2021_8 and remove the
no longer required TBB discovery patches.

* prusa-slicer: Remove unused gtest dependency

* prusa-slicer: Exclude tests in custom checkPhase

* prusa-slicer: Remove compiler warning override

Eigen disables -Wignored-attributes on its own now.

* super-slicer: Fix libexpat linking issue

---------

Co-authored-by: André-Patrick Bubel <code@apb.name>
2023-10-29 18:06:43 +04:00
mib
8038d9eb78 prusa-slicer: use finalAttrs pattern 2023-09-23 15:12:20 +02:00
Henner Zeller
b7e82cf0fa prusa-slicer: 2.6.0 -> 2.6.1 2023-09-09 18:27:06 -07:00
André-Patrick Bubel
30e93c9f3c super-slicer: use patched wxGTK31 instead of wxGTK32
Fixes super-slicer segmentation fault on startup
2023-07-29 12:37:19 +02:00
André-Patrick Bubel
0e724ac89f prusa-slicer: 2.5.2 -> 2.6.0
Reenabled voronoi tests, as the previous issue of long compile times
seem to have been resolved.

Disabled slic3r_jobs_tests as they fail sometimes.

Co-authored-by: Douglas Mayle <douglas@mayle.org>
2023-06-30 21:07:16 +02:00
André-Patrick Bubel
da0b0bc6a5 prusa-slicer: 2.5.1 -> 2.5.2 2023-04-09 20:23:43 +02:00
André-Patrick Bubel
60ecb0a52e prusa-slicer: 2.5.0 -> 2.5.1 2023-03-25 14:44:43 +01:00
Artturin
f9fdf2d402 treewide: move NIX_CFLAGS_COMPILE to the env attrset
with structuredAttrs lists will be bash arrays which cannot be exported
which will be a issue with some patches and some wrappers like cc-wrapper

this makes it clearer that NIX_CFLAGS_COMPILE must be a string as lists
in env cause a eval failure
2023-02-22 21:23:04 +02:00
Adam Joseph
42815b4a0c treewide: systemdSupport: use lib.meta.availableOn
Many packages have some kind of flag indicating whether or not to build with
systemd support.  Most of these default to `stdenv.isLinux`, but systemd does
not build on (and is marked `broken` for) `isStatic`.  Only a few packages have
the needed `&& !isStatic` in the default value for their parameter.

This commit moves the logic for the default value of these flags into
`systemd.meta.{platforms,badPlatforms}` and evaluates those conditions using
`lib.meta.availableOn`.

This provides three benefits:

1. The default values are set correctly (i.e. including `&& isStatic`)

2. The default values are set consistently

3. The way is paved for any future non-Linux systemd platforms (FreeBSD is
   reported to have experimental systemd support)
2023-01-22 00:27:19 -08:00
Guillaume Girol
33afbf39f6 treewide: switch to nativeCheckInputs
checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
2023-01-21 12:00:00 +00:00
John
1dbcda5a24
prusa-slicer: fix binary name on Darwin 2022-12-24 14:37:43 +01:00
Weijia Wang
ea6aa98328 super-slicer, super-slicer-latest: add darwin support 2022-11-27 01:36:33 +01:00
Weijia Wang
c1e7858141 prusa-slicer: add darwin support 2022-11-27 00:49:50 +01:00
Weijia Wang
30d66019b4 wxGTK31: drop gtk2 support 2022-10-27 15:30:15 +02:00
Martin Weinelt
bcca922de5 prusa-slicer: Fix STEP format support
We move the OCCTWrapper dynamic library /bin to /lib and patch the
loading code to find its location dynamically.

Previously the library load would fail on STEP imports like this:

> /nix/store/4j1rm3sqjvfii68kb51ccvynzvll0jna-prusa-slicer-2.5.0/bin/OCCTWrapper.so: cannot dynamically load executable

because when wrapped it is not a library any more.

> OCCTWrapper.so: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /nix/store/bzd91shky9j9d43girrrj6vmqlw7x9m8-glibc-2.35-163/lib/ld-linux-x86-64.so.2, BuildID\[sha1\]=28396fb28c32d0ec7bb75ea5c550760186b86c20, for GNU/Linux 2.6.32, not stripped

Co-authored-by: André-Patrick Bubel <code@apb.name>
2022-10-02 23:01:41 +02:00
Alex Martens
02fdc5b941 prusa-slicer: 2.4.2 -> 2.5.0 2022-09-09 19:10:07 -07:00
06kellyjac
480e4bd0a5 prusa-slicer: remove duplcate desktop items 2022-08-23 15:40:45 +01:00
André-Patrick Bubel
a23d5aa0b5 prusa-slicer: disable building of test_voronoi.cpp
Disable test_voronoi.cpp as the assembler hangs during build,
likely due to commit e682dd84cf

See issue #185808 for details.
2022-08-16 12:45:21 +02:00
Wulfsta
994d64a732 super-slicer-latest: 2.3.57.12 -> 2.4.58.3 2022-07-16 22:27:54 -04:00
Florian Brandes
5a42a1382a
prusa-slicer: fix boost 1.79 incompatibility
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2022-06-22 17:04:56 +02:00
Guillaume Girol
b03fed4229
Merge pull request #170063 from Moredread/prusa-slicer
prusa-slicer: use patched wxWidgets
2022-06-05 18:28:56 +00:00
István Donkó
326b33b7a5
prusa-slicer: 2.4.1 -> 2.4.2 2022-04-30 14:25:00 +02:00
André-Patrick Bubel
f9e2c5443c prusa-slicer: use patched wxWidgets
With the upstream wxWidgets version prusa-slicer crashes under certain
circumstances (https://github.com/NixOS/nixpkgs/issues/168358)

Prusa3D provides a patched version of wxWidgets, fixing this and other issues.

The 'wxGTK31-gtk3-override' option provides a way to specify the
wxWidgets package, e.g. so that `super-slicer` can use its own version.
2022-04-24 10:12:37 +02:00
Vladimir Serov
dedab357c8
super-slicer: 2.3.57.10 -> 2.3.57.12 2022-04-07 17:33:34 +04:00
André-Patrick Bubel
e67d3a3e14
prusa-slicer: 2.4.0 -> 2.4.1 (#163933)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2022-03-23 03:50:04 +01:00
fleaz
3bbf26b8ab
super-slicer: fix typo in meta.homepage 2022-03-16 21:07:42 +01:00
K900
1e2662c5fd treewide: fix some desktop file names
pkgs.writeTextFile doesn't like spaces in filenames.
This is fixed in #162246, but other tools will probably dislike
spaces in .desktop file names as well, and that PR will take forever,
so let's fix this anyway.
2022-02-28 20:15:33 +03:00