this post was submitted on 25 Mar 2024
69 points (96.0% liked)

Linux

48074 readers
895 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

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

I'm trying to package and publish a tool I've been working on, but for the life of me, I'm struggling with Flatpak.

It's a wails app, that relies on webkit2-4.0 and some additional libraries that are not present in any of the Sdks I'm using. (javascriptcore, etc...)

To get those libs, I tried building the app AND webkit itself against the specific platform. But since webkit takes such a long time to build, I'm running in circles.

Welp.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 28 points 7 months ago (1 children)

I've been trying for a while, looking up other manifests helped me but I'm still lost on a few things. Maybe we could help each other. I am the creator of open-tv.

[–] [email protected] 13 points 7 months ago (2 children)

I managed to get it somehow working, but it got rejected by Flathub, because they don't want me to build webkit and use the network during build (which I need)

I'm working on resticity, a restic frontend.

[–] [email protected] 11 points 7 months ago (1 children)

Is that webkit version outdated? In general you should try to support one of the supported versions.

[–] [email protected] 3 points 7 months ago (1 children)

TBH I'm fairly new to this. Gnome 45 sandbox has webkit2-4.1, while my PC build uses webkit2-4.0. Now, Gnome 3.38 sandbox has webkit2-4.0, but it still doesn't run, due to missing libs. And I don't know how to put everything together, so it works without having to re-build everything.

[–] [email protected] 5 points 7 months ago

Hm, I would contact upstream devs to support 2-4.1 then and find / create git repos for the missing libs, then include those as binaries in your manifest. This should avoid network access?

[–] [email protected] 11 points 7 months ago

Not relying on the network during a build is pretty common while making an rpm package. It's a pretty reasonable requirement to have. I'd suggest looking into what e.g. the equivalent Fedora package does.