Giter Club home page Giter Club logo

Comments (4)

ElTh0r0 avatar ElTh0r0 commented on August 20, 2024

Great, many thanks @JakobDev for your support! I included the mentioned changes in the code.
Regarding QtWebEngine: Not sure, why it was not automatically found, but adding it to the config-opts solved it for me:

id: org.inyokaproject.inyokaedit
runtime: org.kde.Platform
runtime-version: '6.5'
sdk: org.kde.Sdk
base: io.qt.qtwebengine.BaseApp
base-version: '6.5'
command: inyokaedit
finish-args:
  - --env=QTWEBENGINEPROCESS_PATH=/app/bin/QtWebEngineProcess
  - --socket=fallback-x11
  - --socket=wayland
  - --share=network
  - --device=dri
  - --share=ipc
cleanup-commands:
  - /app/cleanup-BaseApp.sh

modules:
  - name: inyokaedit
    buildsystem: cmake-ninja
    config-opts:
      - -DCOMMUNITY=community/ubuntuusers_de
      - -DQT6=ON
      - -DPREVIEW=useqtwebengine
    sources:
      - type: archive
        archive-type: zip
        url: https://github.com/inyokaproject/inyokaedit/archive/refs/heads/main.zip
        sha256: e314603b90a6e6394e502fc7143c3e631e1112e7ff6d9cc916f8a81be01a4a58
      - type: archive
        dest: community
        url: https://github.com/inyokaproject/inyokaedit/releases/download/v0.27.3/inyokaedit-community-0.27.3.zip
        sha256: 3a79e2379abd4e1aea375e2e537d2606740f0a8be571d151d94da9bad95598ff
        x-checker-data:
            type: json
            url: https://api.github.com/repos/inyokaproject/inyokaedit/releases/latest
            version-query: .tag_name
            url-query: .assets[] | select(.name | startswith("inyokaedit-community")) | .browser_download_url

I'll do some more tests in the next days and would upload it to Flathub, too. Please test with the included upstream changes as well!
I already saw, that the spellchecker plugin is not working (but this is not working in my AppImage as well..). But so far everything else seem to work.

from inyokaedit.

JakobDev avatar JakobDev commented on August 20, 2024

Great, many thanks @JakobDev for your support!

You're welcome

Regarding QtWebEngine: Not sure, why it was not automatically found, but adding it to the config-opts solved it for me:

Maybe you have a error in your detection logic. You should also mention this Option in your Readme.

You can also use git as source, so it won't break when making a new commit:

  - type: git
    url: https://github.com/inyokaproject/inyokaedit.git
    commit: whatever

If you don't specify the commit, it uses the latest commit.

If everything is ready you should make a new Release (it is common that Flatpaks on Flathub contains a full release). and switch back to the archive type. The x-checker-data are for flatpak-external-data-checker. If InyokaEdit is on Flathub, it will automatically and release a new Version open a PR with the new version.

I already saw, that the spellchecker plugin is not working (but this is not working in my AppImage as well..).

Maybe it's missing a library or some data files (e.g. dicts). or a Path is hardcoded to /usr. Can you try to investigate what's causes this, s I can help you fix it?

btw:
Is the domain inyokaproject.org still in use? I'm asking because Flathub requires the use of a valid Domain of the Developer as App ID.

from inyokaedit.

ElTh0r0 avatar ElTh0r0 commented on August 20, 2024

(Spellchecker in Flatpak fixed with v0.28.1) I still couldn't figure out the issue with the spellchecker plugin / too less time to investigate, but I released a Flatpak build with v0.27.4 on the release page (not on Flathub, yet)
Thanks again for your support!

from inyokaedit.

JakobDev avatar JakobDev commented on August 20, 2024

still couldn't figure out the issue with the spellchecker plugin

If you have a question how Flatpak works, just ask.

not on Flathub, yet

Just make a a PR against the new-pr branch with your manifest here. Here are detailed instructions.

Jut a side note: the current version of the KDE runtime is 6.6.

from inyokaedit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.