Git Product home page Git Product logo

Comments (7)

deathkiller avatar deathkiller commented on May 18, 2024 1

Thank you for contribution! Flatpak is requested for very long time.

Your permission.

Sure, permission granted.

At least 3 screenshots of the game running.

I added some screenshots to the GitHub repo and also added them to the file: https://github.com/deathkiller/jazz2-native/blob/master/Sources/project.metainfo.xml#L45-L49

I created an appinfo file which contains program information like...

According to this, AppData file should be named .metainfo.xml now, so I renamed it and added it to the repo (https://github.com/deathkiller/jazz2-native/blob/master/Sources/project.metainfo.xml) and CMake. If you add -DNCINE_BUILD_FLATPAK=ON to the yml file, it will automatically install it to share/metainfo/tk.deat.Jazz2Resurrection.metainfo.xml and it will also rename .desktop file to tk.deat.Jazz2Resurrection.desktop and all icons too, so rename-desktop-file and rename-icon shouldn't be necessary now. -DNCINE_BUILD_FLATPAK=ON will also set -DNCINE_OVERRIDE_CONTENT_PATH automatically, so you can remove it, and 1024px icon is excluded, so rm -rf ${FLATPAK_DEST}/share/icons/hicolor/1024x1024 line could be also removed.

Regarding the licensing, is jazz2-native GPL 3 only or GPL 3+?

AFAIK there is no GPL4, so I don't know what the consequences would be. But it will be probably fine as GPL3+.

Here is full tk.deat.Jazz2Resurrection.yml file I used for testing:

app-id: tk.deat.Jazz2Resurrection
runtime: org.freedesktop.Platform
runtime-version: "23.08"
sdk: org.freedesktop.Sdk
command: jazz2
finish-args:
  - --share=ipc
  - --socket=wayland
  - --socket=fallback-x11
  - --socket=pulseaudio
  - --device=all

modules:
  - name: libopenmpt
    config-opts:
      - --disable-examples
      - --disable-openmpt123
      - --disable-static
      - --disable-tests
      - --without-portaudio
      - --without-portaudiocpp
    cleanup:
      - /include
      - /lib/*.la
      - /lib/*.so
      - /lib/pkgconfig
      - /share/doc
    sources:
      - type: archive
        url: https://lib.openmpt.org/files/libopenmpt/src/libopenmpt-0.7.3+release.autotools.tar.gz
        sha256: 2cf8369b7916b09264f3f14b9fb6cef35a6e9bee0328dec4f49d98211ccfd722
  - name: jazz2-native
    buildsystem: cmake-ninja
    config-opts:
      - -DNCINE_BUILD_FLATPAK=ON
      - -DNCINE_DOWNLOAD_DEPENDENCIES=OFF
      - -DNCINE_PREFERRED_BACKEND=SDL2
      - -DLIBOPENMPT_INCLUDE_DIR=/app/include/libopenmpt
    sources:
      - type: git
        url: https://github.com/deathkiller/jazz2-native.git
        commit: a33ee2c8afe41f964ca4e571c0d5bb5cb714af27

Can you check it if everything is correct, please? Then I will have to create a GIT tag (release a new version) to be able to submit it, right?

from jazz2-native.

The-King-of-Toasters avatar The-King-of-Toasters commented on May 18, 2024

I've modified my flatpak manifest based on your changes, everything works great. When #43 gets merged you can cut a new release and I'll modify the manifest accordingly. Don't forget to add a new release line in the appinfo file!

from jazz2-native.

deathkiller avatar deathkiller commented on May 18, 2024

Thanks! Everything should be fine now. 2.4.1 tag is created.

from jazz2-native.

deathkiller avatar deathkiller commented on May 18, 2024

I see flathub build failed because of screenshot captions. I fixed the captions and moved the 2.4.1 tag to the new commit. I hope it will be fine now.

from jazz2-native.

deathkiller avatar deathkiller commented on May 18, 2024

And also added developer_name (I don't know why it's there twice, but I don't have time to test it now) and moved tag again.

from jazz2-native.

The-King-of-Toasters avatar The-King-of-Toasters commented on May 18, 2024

It's out!. I think you got a link to be a contributor to the flathub repo. You may also want to do the verification process to get a check mark on flathub.

from jazz2-native.

deathkiller avatar deathkiller commented on May 18, 2024

Great! I verified it now.

from jazz2-native.

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.