Commit graph

56 commits

Author SHA1 Message Date
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
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
Vladimir Serov 1766d4bc09 super-slicer: 2.3.57.9 -> 2.3.57.10 2022-02-04 21:44:19 -08:00
Vladimir Serov 492a4bd357
super-slicer: 2.3.57.8 -> 2.3.57.9 2022-01-05 16:19:19 +03:00
André-Patrick Bubel a456d83ee7
prusa-slicer: 2.3.3 -> 2.4.0 2021-12-26 18:01:47 +01:00
Vladimir Serov 9a489c5772
super-slicer: 2.3.57.7 -> 2.3.57.8 2021-12-25 14:50:32 +03:00
Nick Hu a457e2d8a2
super-slicer: 2.3.56.9 → 2.3.57.7 2021-12-16 18:26:34 +00:00
André-Patrick Bubel e12d98f2db
super-slicer-latest: renamed from super-slicer-staging 2021-11-21 00:27:12 +01:00
Vladimir Serov a6eeab7ab7
super-slicer-staging: 2.3.57.0 -> 2.3.57.6 2021-11-20 15:59:05 +03:00
Vladimir Serov 273cf4f45a
super-slicer.stable: 2.3.56.8 -> 2.3.56.9 (#136962)
* super-slicer.stable: 2.3.56.8 -> 2.3.56.9

super-slicer.staging: init at 2.3.57.0

* Update pkgs/applications/misc/prusa-slicer/super-slicer.nix

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-09-23 13:06:35 +02:00
Vladimir Serov c879a416bb
super-slicer: 2.3.56.5 -> 2.3.56.8 2021-09-04 23:00:11 +03: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
Vladimir Serov 5c86827ffa
super-slicer: 2.2.54.2 -> 2.3.56.5
We are finally up a version!
2021-06-13 13:51:00 +03:00
Andre-Patrick Bubel b40484171c prusa-slicer: 2.3.0 -> 2.3.1 2021-04-22 17:51:44 +02:00
Sandro Jäckel 79ea3ccbc8
prusa-slicer: format, remove unused input 2021-03-05 18:14:26 +01:00
Ben Siraphob 98f26993f2 treewide: remove stdenv where not needed 2021-03-04 19:54:50 +07: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
Vladimir Serov 1b27fadae0
super-slicer: 2.2.54.1 -> 2.2.54.2
Signed-off-by: Vladimir Serov <me@cab404.ru>
2020-10-29 08:43:43 +03:00
Vladimir Serov 2ee31417c9
super-slicer: 2.2.54.0 -> 2.2.54.1 2020-10-22 13:26:11 +03:00
Vladimir Serov 16265f5641
super-slicer: 2.2.53.1 -> 2.2.54.0 2020-10-06 23:54:04 +03:00
Vladimir Serov 041bf6e6ba
super-slicer: init at 2.2.53.1 2020-09-02 06:14:05 +03: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