Open nydragon opened 3 months ago
The following command should work to install the app locally: "meson build && ninja -C build && sudo ninja -C build install" Dependencies are Gtk4 and Libadwaita, I think all other dependencies should be bundled with them (?)
also gjs is very much required, you can probably take a look at other gjs packages for Nix: https://github.com/NixOS/nixpkgs/blob/nixos-24.05/pkgs/desktops/gnome/apps/gnome-sound-recorder/default.nix
... but I have no experience with Nix nor the possibility to test Nix packages atm
Thank you for the info! managed to build & run just fine using the command you gave me. But when as I integrate the build system into Nix, it still builds fine but with the following run time error:
(.de.hummdudel.Libellus-wrapped:275231): Gjs-CRITICAL **: 18:50:34.691: JS ERROR: ImportError: Unable to load file from: resource:///de/hummdudel/Libellus/js/main.js (The resource at “/de/hummdudel/Libellus/js/main.js” does not exist)
(.de.hummdudel.Libellus-wrapped:275231): Gjs-CRITICAL **: 18:50:34.691: Module file:///nix/store/4hdblaaqwvb85r6mh260gffi6z5q386a-libellus-1.0.4/bin/.de.hummdudel.Libellus-wrapped threw an exception
I must be missing a patch I have to apply to the repo or something else. I'll continue digging and make a post on the Nix Discourse if I keep being stuck
Hey would it be possible to have build instructions outside of Gnome Builder added to the readme?
I am trying to package Libellus for Nix and encountered some blockers where I am not sure what they are due to / me incorrectly setting up dependencies or Nix quirks.
I'd greatly appreciate any insight