Commit Graph

34 Commits

Author SHA1 Message Date
liberodark
64ae8ff6da bambu-studio: 02.05.00.67 -> 02.08.00.50 2026-07-07 17:12:06 +02:00
Martin Weinelt
3dc3929065 bambu-studio: make this package functional/usable again (various fixes) (#522161) 2026-05-27 14:12:40 +00:00
Harinn
0fb1e5d791 bambu-studio: drop unused binutils and pcre 2026-05-20 13:45:47 +07:00
Harinn
c134e4840f bambu-studio: use lib.cmake* helpers in cmakeFlags 2026-05-20 13:24:52 +07:00
Harinn
751b80c68c bambu-studio: fix various issues
- https://github.com/NixOS/nixpkgs/issues/440951
- https://github.com/NixOS/nixpkgs/issues/498307
- https://github.com/NixOS/nixpkgs/issues/498311
2026-05-20 13:20:58 +07:00
Harinn
c1083c5fbf bambu-studio: mark license as agpl3Plus + unfree 2026-05-19 11:52:23 +07:00
K900
f67c55ef60 bambu-studio: drop unused ilmbase dependency 2026-04-01 01:14:02 +03:00
Harinn
f8a4bedbc7 bambu-studio: add miniharinn 2026-03-14 16:34:57 +07:00
quantenzitrone
62efab0dad wxwidgets_3_{1,2}: rename from wxGTK3{1,2}
fit attrname to pname
2026-02-27 10:56:33 +01:00
liberodark
660e26d1a7 bambu-studio: 02.04.00.70 -> 02.05.00.67 2026-02-20 00:37:22 +01:00
Stefan Frijters
a12d92965f bambu-studio: move NIX_CFLAGS_COMPILE and others into env for structuredAttrs 2026-01-30 23:06:57 +01:00
quantenzitrone
7d8132a92c treewide: remove references to the xorg namespace in pkgs (automated)
this creates some eval errors that will be fixed in the next commit

done with the following script:

```fish
\#!/usr/bin/env fish

set packagesjson (nix eval --impure --json --expr '
let
  lib = import ./lib;
in
import pkgs/servers/x11/xorg/default.nix (lib.mapAttrs (
  name: _:
  if name == "lib" then
    lib
  else if name == "config" then
    { allowAliases = false; }
  else
    name
) (__functionArgs (import pkgs/servers/x11/xorg/default.nix))) { }
' | jq)

set one (grep '^    [A-Za-z0-9_-]*$' pkgs/servers/x11/xorg/default.nix | string trim | string replace -r '$' Z | sort | string sub -e -1)
set two (grep '^  [A-Za-z0-9_-]* = [A-Za-z0-9_-]*;$' pkgs/servers/x11/xorg/default.nix | cut -d= -f1 | string trim | string replace -r '$' Z | sort | string sub -e -1)

for arg in $one $two
    set oname $arg
    set nname (echo $packagesjson | jq -r .$oname)

    if test $nname = null
        echo (set_color red)warn:(set_color normal) unknown package xorg.$oname >&2
        continue
    end

    echo $oname "->" $nname

    # replace basic xorg.$name references
    for file in (rg -F "xorg.$oname" --files-with-matches pkgs)
        # special cases
        sd -F "$oname = xorg.$oname;" "$nname = $nname;" $file

        # replace
        sd -F "xorg.$oname" "$nname" $file

        # fixup function arguments

        # prevent duplicate function args
        if grep -E " ($oname|$nname),\$" $file >/dev/null
            continue
        end

        if grep 'xorg\..' $file >/dev/null # case1: there is more so we can't just remove the function arg

            if grep ' xorg,$' $file >/dev/null
                sd ' xorg,$' " xorg,
                $nname," $file

            else if grep ' xorg ? .*,$' $file >/dev/null
                sd 'xorg( ? .*),$' "xorg\$1,
                $nname," $file

            else
                sd -F 'xorg,' "$nname,
                xorg," $file
            end

        else # case there is no more xorg..* so we can just replace the function arg
            sd 'xorg(| ? .*),.*$' "$nname," $file
        end
    end
end

nix fmt
```
2026-01-25 22:28:09 +01:00
liberodark
008bb6de94 bambu-studio: 02.03.01.51 -> 02.04.00.70 2026-01-09 13:48:08 +01:00
ghpzin
0b59e9280f bambu-studio: fix build with gcc15
- add patch from merged upstream PR:
https://www.github.com/bambulab/BambuStudio/pull/8555
434752bf64

Fixes build failure with gcc15:
```
/build/source/src/mcut/source/math.cpp:660:15: error: 'uint32_t' does
not name a type
  660 |         const uint32_t N = polygon_vertices.size();
      |               ^~~~~~~~
/build/source/src/mcut/source/math.cpp:25:1: note: 'uint32_t' is
defined in header '<cstdint>'; this is probably fixable by
adding '#include <cstdint>'
   24 | #include <algorithm> // std::sort
  +++ |+#include <cstdint>
   25 | #include <cstdlib>
/build/source/src/mcut/source/math.cpp:661:20: error: 'N' was not
declared in this scope
  661 |         out.resize(N);
      |                    ^
/build/source/src/mcut/source/math.cpp:669:13: error: 'uint32_t' was not
declared in this scope
  669 |         for(uint32_t i =0; i < N; ++i)
      |             ^~~~~~~~
/build/source/src/mcut/source/math.cpp:669:13: note: 'uint32_t' is
defined in header '<cstdint>'; this is probably fixable by
adding '#include <cstdint>'
```
2025-12-19 00:35:33 +03:00
liberodark
e08b831e1a bambu-studio: 02.02.02.56 -> 02.03.01.51 2025-10-30 11:06:07 +01:00
nixpkgs-ci[bot]
47a124160c Merge staging-next into staging 2025-09-18 00:16:34 +00:00
liberodark
620e2210e5 bambu-studio: 02.02.01.60 -> 02.02.02.56 2025-09-17 22:21:53 +02:00
Emily
42bd6a126f treewide: tbb_2022 -> onetbb 2025-09-15 17:29:35 +01:00
Emily
052b3cf0e2 treewide: tbb_2021 -> tbb_2022
Everything that built with `tbb_2021` builds successfully with
`tbb_2022` on `aarch64-linux`, and `tbb_2022` no longer causes crashes
on Darwin.
2025-09-14 03:51:09 +01:00
liberodark
638b51e79b bambu-studio: 02.02.00.85 > 02.02.01.60 2025-09-01 08:51:33 +02:00
liberodark
621b44afe2 bambu-studio: 01.10.02.76 -> 02.02.00.85 2025-08-29 14:50:30 +02:00
Wolfgang Walther
5a0711127c treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
Connor Baker
e260660977 bambu-studio: use OpenCV's cxxdev output
Signed-off-by: Connor Baker <ConnorBaker01@gmail.com>
2025-06-24 23:31:35 +00:00
Saterfield990
f528044060 tbb_2021: shorten name; move to by-name 2025-06-18 17:37:08 +03:00
liberodark
51104bca6e treewide: remove with lib Part 1 2025-06-03 18:27:59 +05:30
Winter
a19cd4ffb1 Revert "treewide: replace rev with tag"
This reverts commit 65a333600d.

This wasn't tested for correctness with something like fodwatch [0],
and should not have been (self-)merged so quickly, especially without
further review.

It also resulted in the breakage of at least one package [1] (and that's
the one we know of and was caught).

A few packages that were updated in between this commit and this revert
were not reverted back to using `rev`, but other than that, this is a
1:1 revert.

[0]: https://codeberg.org/raphaelr/fodwatch
[1]: https://github.com/NixOS/nixpkgs/pull/396904 / 758551e458
2025-04-08 02:57:25 -04:00
Pol Dellaiera
65a333600d treewide: replace rev with tag 2025-04-07 16:57:22 +02:00
Silvan Mosberger
374e6bcc40 treewide: Format all Nix files
Format all Nix files using the officially approved formatter,
making the CI check introduced in the previous commit succeed:

  nix-build ci -A fmt.check

This is the next step of the of the [implementation](https://github.com/NixOS/nixfmt/issues/153)
of the accepted [RFC 166](https://github.com/NixOS/rfcs/pull/166).

This commit will lead to merge conflicts for a number of PRs,
up to an estimated ~1100 (~33%) among the PRs with activity in the past 2
months, but that should be lower than what it would be without the previous
[partial treewide format](https://github.com/NixOS/nixpkgs/pull/322537).

Merge conflicts caused by this commit can now automatically be resolved while rebasing using the
[auto-rebase script](8616af08d9/maintainers/scripts/auto-rebase).

If you run into any problems regarding any of this, please reach out to the
[formatting team](https://nixos.org/community/teams/formatting/) by
pinging @NixOS/nix-formatting.
2025-04-01 20:10:43 +02:00
R. Ryantm
ee551ab926 bambu-studio: 01.10.01.50 -> 01.10.02.76 2025-03-10 13:39:42 +00:00
Lin Xianyi
4697fbbba6 bambu-studio: pin boost to 1.86 2025-01-23 23:35:31 +08:00
K900
4a596a3c6e bambu-studio: don't link osmesa
It's not actually used by anything.
2024-12-29 16:05:05 +03:00
Emily
b4b37f2a82 bambu-studio: add patches for Boost 1.86 2024-12-29 15:49:21 +03:00
Emily
8c8098b65b bambu-studio: use Ninja 2024-12-29 15:49:21 +03:00
liberodark
498c93d3dc bambu-studio: move to by-name 2024-11-21 07:33:26 +01:00