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.

  • Fredol@lemmy.world
    link
    fedilink
    arrow-up
    17
    ·
    9 months ago

    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.

    • adONis@lemmy.worldOP
      link
      fedilink
      arrow-up
      9
      arrow-down
      2
      ·
      9 months ago

      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.

      • baru@lemmy.world
        link
        fedilink
        arrow-up
        8
        ·
        9 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.

  • taladar@sh.itjust.works
    link
    fedilink
    arrow-up
    13
    ·
    9 months ago

    Well, I would agree in general but also anything involving khtml/webkit/blink and its various other forks is a nightmare to compile.

        • Russianranger@lemmy.world
          link
          fedilink
          arrow-up
          10
          ·
          9 months ago

          Yeah I think you need a dock though, or if you don’t have the money to buy a dock, I think you can rent one of those POD containers. Still trying to figure out how to connect to this guy’s computer though, they locked it and I don’t know where to DL the libs for it

  • adONis@lemmy.worldOP
    link
    fedilink
    arrow-up
    4
    ·
    9 months ago

    Noice! I got a successfull build of a flatpak bundle (without webkit) using GitHub actions. the bundle can be downloaded and installed via flatpak install --user xxx.flatpak and it’s running.

    Now I need to figure out, how to publish this to Flathub.

  • adONis@lemmy.worldOP
    link
    fedilink
    arrow-up
    3
    arrow-down
    1
    ·
    9 months ago

    Bummer! Flathub doesn’t want me to use Gnome 3.38, since it’s EOL :-(