Closed omac777 closed 1 year ago
You need to install the meson project, but you can change the path to a writable directory by changing the --prefix=/path/
parameter.
You could also try building it with the flatpak manifest located in build-aux
You know you can just use the Flathub, right? Why is this issue still open!?
It's important to understand how to build rnote when we don't want to make flatpaks.
I understand flatpaks are the trend, but I was trying to build it standalone with just cargo in the classical rust-tools only sense, but rnote certainly isn't designed to be built that way.
I did try to build with flatpak build and yes it built correctly and yes it ran correctly. It's a beautiful app, but more importantly it stands out as a point of reference for other rust developers wanting to build gtk4 apps for Linux. Thank you for all your huge efforts and guidance in that respect. It's greatly appreciated. On Thursday, June 23, 2022 at 07:57:43 p.m. EDT, numbertumbers @.***> wrote:
You know you can just use the Flathub, right? Why is this issue still open!?
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
Resolved by changing the prefix path for meson.
On Fedora Silverblue 36, I built rnote with meson using the documented steps: https://github.com/flxzt/rnote/blob/main/CONTRIBUTING.md
Here is my Fedora Silverblue 36 status. Please note the mentioned "LayeredPackages" not part of the default base installer image which makes it easy to simply install those packages simply with "rpm-ostree install".
After that, I did:
After following the steps to compile with meson, I got the rnote binary, but unaware of how to run it without installing it. How can I run rnote without installing it? I got the following errors when attempting to run it from the rnote/_mesonbuild/ directory.
Please note the above meson install error occurs because Fedora Silverblue's '/usr/share/' directory is read-only. I think the install needs to occur either through rpm-ostree in order for it to be installed within the base file system layer containing the /usr/share/ directory. If I were able to install it rather within the user's home directory in its entirety, there would be no issues.
Thank you in advance.