this post was submitted on 09 Mar 2024
64 points (95.7% liked)
Linux
48329 readers
639 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I've been trying to create an AUR package for this, but can't figure out how to build more than just the server backend (based off of the Dockerfile). Is there a way to build it without
wails
? I can't get that to work in the PKGBUILD.I just made a PKGBUILD and commited it to the repo. Would you mind having a quick look at it and see if it's good enough?
Right now, I'm looking through the docs of the AUR on how to publish it.
Regarding how to publish the package, there are a few GitHub Actions that make it easy, like this one.
thank you, will look into it
Thank you for making a PKGBUILD for this!
I just tried it, but I have the same issue when I was attempting to build mine:
I'm not familiar enough with
wails
to know how to build without it.If you require it as a dependency, it would only work for Arch users with the AUR enabled, as it
wails
doesn't seem to be in the main repositories.wails is installed via go install, which I've included in the prepare script
Ah. I see that you're installing
wails
withgo
. I guess the problem is that$GOBIN
may not be set for everyone, myself included.Sorry, didn't see this comment... Yes, it's a $GOBIN issue... I've updated the PKGBUILD accordingly
Oh wait... sorry, I forgot about it, but env GOBIN and GOPATH need to be set properly... and then wails should be invoked with $GOBIN/wails build
Hi @ad_on_is@lemmy.world ! Thanks for resticity and your PKGBUILD. However, I have to modify it and replace "packaging/resticity.desktop" with "$startdir/resticity.png" and "packaging/resticity.desktop" with "$startdir/resticity.desktop"
Anyway, seems to works, I can push a backup, but when I go to repositories, resticity try to get snapshots (LOADING Snapshots) and failed with this error : "json: slice unexpected end of JSON input" Thanks for your help.
Let's move this discussion over to GitHub, where I at least get the notifications for new messages.
https://github.com/ad-on-is/resticity/issues/3