I need help to package the rust libadwiata application specifically following the guidelines of flathub

Project information: The application helps to browse Linux desktop themes and install it as a native desktop application

Name: Linux Theme Store
Homepage: GitHub - debasish-patra-1987/linuxthemestore
License: MIT
Upstream has been contacted: N/A

What exactly do you need help with?

1 Like

I have packagedI am struggling with the build to publish in flathub with all requirements. I could buikd latpak on my own. I will post few logs in someime.

Hi, Thanks for helping me out in advance.
I have managed to build my application in local sucessfully

flatpak run org.flatpak.Builder --force-clean --sandbox --user --install --install-deps-from=flathub --ccache --mirror-screenshots-url=https://dl.flathub.org/media/ --repo=repo builddir io.github.debasishpatra1987.linuxthemestore.json

I am able to run the application sucessfully.

I am getting an error with the lint code suggested further.

flathub git:io.github.debasishpatra1987.linuxthemestore ⦁⦁⦁ flatpak run --command=flatpak-builder-lint org.flatpak.Builder manifest io.github.debasishpatra1987.linuxthemestore.json                                                                                                 ⏎ ✖ ✭
{
    "errors": [
        "module-linuxthemestore-rust-flatpak-source-git-branch",
        "appid-url-not-reachable"
    ],
    "info": [
        "appid-url-not-reachable: Tried https://github.com/debasishpatra1987/linuxthemestore"
    ],
    "message": "Please consult the documentation at https://docs.flathub.org/docs/for-app-authors/linter"
}

My git hub repo id is debasish-patra-1987.github.io
For me neither “-” is allowed, so it is failing with above error.

flatpak run --command=flatpak-builder-lint org.flatpak.Builder repo repo                                                                                                                                                 ⏎ ✖ ✭
{
    "errors": [
        "appid-url-not-reachable",
        "appstream-screenshots-not-mirrored-in-ostree"
    ],
    "info": [
        "appid-url-not-reachable: Tried https://github.com/debasishpatra1987/linuxthemestore"
    ],
    "message": "Please consult the documentation at https://docs.flathub.org/docs/for-app-authors/linter"
}

Let me know if any more details is required.

As the docs say, you should replace them with underscores _

Thanks for pointing that out. I already submitted the pull request by replacing with _