Commit graph

41 commits

Author SHA1 Message Date
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 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
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
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
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
K900 cb2cfba6f7 treewide: switch all desktop file generators to new API
Notably:
- remove explicit arguments that match the defaults
- convert everything to the right Nix types
2022-02-25 13:40:38 -08:00
André-Patrick Bubel a456d83ee7
prusa-slicer: 2.3.3 -> 2.4.0 2021-12-26 18:01:47 +01:00
André-Patrick Bubel f100dd6ce0
prusa-slicer: 2.3.2 -> 2.3.3 2021-07-18 19:59:46 +02:00
André-Patrick Bubel 12a3812314
prusa-slicer: 2.3.1 -> 2.3.2 2021-07-18 19:59:45 +02:00
Andre-Patrick Bubel b40484171c prusa-slicer: 2.3.0 -> 2.3.1 2021-04-22 17:51:44 +02:00
André-Patrick Bubel 405ca157da
prusa-slicer: 2.2.0 -> 2.3.0 2021-01-17 16:52:41 +01:00
Ben Siraphob 5d566c43b4 pkgs/applications: pkgconfig -> pkg-config 2021-01-16 23:49:59 -08: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 Siraphob 3ae5e6ce03 treewide: remove enableParallelBuilding = true if using cmake 2021-01-03 18:37:40 +07:00
zowoq c7e61112df treewide: remove deprecated value Application from makeDesktopItem 2020-06-25 12:18:37 +10:00
Michael Reilly 84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
André-Patrick Bubel bbce57b143
prusa-slicer: 2.1.1 -> 2.2.0
Adding myself (moredread) as maintainer. Several new dependencies and a bit of cleanup.
2020-03-31 15:00:49 +02:00
André-Patrick Bubel 7ec8c4c266
prusa-slicer: 2.1.0 -> 2.1.1 2019-12-11 15:52:41 +01:00
André-Patrick Bubel ba917b29e6 prusa-slicer: use wxGTK31 instead of wxGTK30
With wxGTK31 3.1.0 there was a bug causing crashes. With the recently
merged version 3.1.2 this bug has been fixed.

See https://github.com/NixOS/nixpkgs/pull/55475 for details.
2019-12-03 15:01:21 +01:00
André-Patrick Bubel dda8e47473
prusa-slicer: add Eigen as dependency
Previously compilation failed when using our version of Eigen. Now it
works again.
2019-09-23 19:47:29 +02:00
André-Patrick Bubel 5c95ab00ce
prusa-slicer: 2.0.0 -> 2.1.0 2019-09-23 19:33:04 +02:00
volth 7b8fb5c06c treewide: remove redundant quotes 2019-09-08 23:38:31 +00:00
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
André-Patrick Bubel 0ee35c56bd
prusa-slicer: renamed from slic3r-prusa3d and updated 1.41.3 -> 2.0.0
The slic3r-prusa3d package was renamed by upstream to PrusaSlicer with
the 2.0.0 release to reduce confusion with the slic3r package.

We compile against wxGTK 3.0, as with 3.1 the application crashes (see
2019-05-26 23:42:46 +02:00