diff --git a/.github/workflows/flatpak_builder.yml b/.github/workflows/flatpak_builder.yml index 405c234..be79384 100644 --- a/.github/workflows/flatpak_builder.yml +++ b/.github/workflows/flatpak_builder.yml @@ -8,7 +8,7 @@ jobs: name: "Flatpak" runs-on: ubuntu-latest container: - image: bilelmoussaoui/flatpak-github-actions:gnome-44 + image: bilelmoussaoui/flatpak-github-actions:gnome-46 options: --privileged steps: - uses: actions/checkout@v3 diff --git a/README.md b/README.md index 6036269..f6cfcd1 100644 --- a/README.md +++ b/README.md @@ -31,10 +31,10 @@ You can translate Reminders on [Weblate](https://hosted.weblate.org/engage/remin ### Installing dependencies (Flatpak): ``` -flatpak install flathub org.gnome.Sdk//44 +flatpak install flathub org.gnome.Sdk//46 ``` ``` -flatpak install flathub org.gnome.Platform//44 +flatpak install flathub org.gnome.Platform//46 ``` You will also need `flatpak-builder` diff --git a/flatpak/io.github.remindersdevs.Reminders.Devel.yml b/flatpak/io.github.remindersdevs.Reminders.Devel.yml new file mode 100644 index 0000000..06c86d9 --- /dev/null +++ b/flatpak/io.github.remindersdevs.Reminders.Devel.yml @@ -0,0 +1,57 @@ +app-id: io.github.remindersdevs.Reminders.Devel +runtime: org.gnome.Platform +runtime-version: 'master' +sdk: org.gnome.Sdk +command: reminders + +finish-args: + - --share=network + - --share=ipc + - --device=dri + - --socket=wayland + - --socket=fallback-x11 + - --system-talk-name=org.freedesktop.login1 + - --talk-name=org.freedesktop.secrets + - --socket=pulseaudio + - --filesystem=xdg-download + +modules: + - shared-modules/intltool/intltool-0.51.json + - shared-modules/libcanberra/libcanberra.json + - python3-modules.json + + - name: libportal + buildsystem: meson + config-opts: + - -Ddocs=false + - -Dbackends=gtk4 + sources: + - type: archive + url: https://github.com/flatpak/libportal/archive/refs/tags/0.6.tar.gz + sha256: 8ad326c4f53b7433645dc86d994fef0292bee8adda0fe67db9288ace19250a9c + + - name: gsound + buildsystem: meson + config-opts: + - -Denable_vala=false + sources: + - type: archive + url: https://gitlab.gnome.org/GNOME/gsound/-/archive/1.0.3/gsound-1.0.3.tar.gz + sha256: ebee33c77f43bcae87406c20e051acaff08e86f8960c35b92911e243fddc7a0b + + - name: sound-theme-freedesktop + sources: + - type: archive + url: http://people.freedesktop.org/~mccann/dist/sound-theme-freedesktop-0.8.tar.bz2 + sha256: cb518b20eef05ec2e82dda1fa89a292c1760dc023aba91b8aa69bafac85e8a14 + + - name: reminders + builddir: true + buildsystem: meson + config-opts: + - -Denable-portals=true + - -Drelease-type=devel + sources: + - type: dir + path: '../' + diff --git a/flatpak/io.github.remindersdevs.Reminders.yml b/flatpak/io.github.remindersdevs.Reminders.yml index d398e05..80bb2c0 100644 --- a/flatpak/io.github.remindersdevs.Reminders.yml +++ b/flatpak/io.github.remindersdevs.Reminders.yml @@ -1,6 +1,6 @@ -app-id: io.github.remindersdevs.Reminders.Devel +app-id: io.github.remindersdevs.Reminders runtime: org.gnome.Platform -runtime-version: '44' +runtime-version: '46' sdk: org.gnome.Sdk command: reminders @@ -50,7 +50,7 @@ modules: buildsystem: meson config-opts: - -Denable-portals=true - - -Drelease-type=devel + - -Drelease-type=stable sources: - type: dir path: '../' diff --git a/flatpak/python3-modules.json b/flatpak/python3-modules.json index 0827812..885cb6d 100644 --- a/flatpak/python3-modules.json +++ b/flatpak/python3-modules.json @@ -53,24 +53,24 @@ }, { "type": "file", - "url": "https://files.pythonhosted.org/packages/46/f5/3f61ae971a41c993ce3365e92354090ebf661426cb96fdc826108a9c31a2/lxml-4.9.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_24_aarch64.whl", - "sha256": "8340225bd5e7a701c0fa98284c849c9b9fc9238abf53a0ebd90900f25d39a4e4", + "url": "https://files.pythonhosted.org/packages/aa/05/217be981db0455d1c23e190683a6ab52c797f84f69501c930fee3b1109b5/lxml-4.9.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_24_aarch64.whl", + "sha256": "2a87fa548561d2f4643c99cd13131acb607ddabb70682dcf1dff5f71f781a4bf", "only-arches": [ "aarch64" ] }, { "type": "file", - "url": "https://files.pythonhosted.org/packages/89/9c/be3ebeb6053c6625c0497f282e0d8acc36c309212d47201e9cb1198ffb54/lxml-4.9.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl", - "sha256": "1ab8f1f932e8f82355e75dda5413a57612c6ea448069d4fb2e217e9a4bed13d4", + "url": "https://files.pythonhosted.org/packages/38/3c/0fdab49d310d931a8b81e2795037fbd5789d1bce12a1795b9cbc87bc1ceb/lxml-4.9.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl", + "sha256": "d6b430a9938a5a5d85fc107d852262ddcd48602c120e3dbb02137c83d212b380", "only-arches": [ "x86_64" ] }, { "type": "file", - "url": "https://files.pythonhosted.org/packages/5e/f6/8eb8a5692c1986b6e863877b0b8a83628aff14e5fbfaf11d9522b532bd9d/MarkupSafe-2.1.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", - "sha256": "22152d00bf4a9c7c83960521fc558f55a1adbc0631fbb00a9471e097b19d72e1", + "url": "https://files.pythonhosted.org/packages/1c/cf/35fe557e53709e93feb65575c93927942087e9b97213eabc3fe9d5b25a55/MarkupSafe-2.1.5-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", + "sha256": "6ec585f69cec0aa07d945b20805be741395e28ac1627333b1c5b0105962ffced", "only-arches": [ "aarch64" ] diff --git a/io.github.remindersdevs.Reminders.Devel.json b/io.github.remindersdevs.Reminders.Devel.json new file mode 100644 index 0000000..be60e9b --- /dev/null +++ b/io.github.remindersdevs.Reminders.Devel.json @@ -0,0 +1,77 @@ +{ + "app-id": "io.github.remindersdevs.Reminders.Devel", + "runtime": "org.gnome.Platform", + "runtime-version": "master", + "sdk": "org.gnome.Sdk", + "command": "reminders", + "finish-args": [ + "--share=network", + "--share=ipc", + "--device=dri", + "--socket=wayland", + "--socket=fallback-x11", + "--system-talk-name=org.freedesktop.login1", + "--talk-name=org.freedesktop.secrets", + "--socket=pulseaudio", + "--filesystem=xdg-download" + ], + "modules": [ + "flatpak/shared-modules/intltool/intltool-0.51.json", + "flatpak/shared-modules/libcanberra/libcanberra.json", + "flatpak/python3-modules.json", + { + "name": "libportal", + "buildsystem": "meson", + "config-opts": [ + "-Ddocs=false", + "-Dbackends=gtk4" + ], + "sources": [ + { + "type": "archive", + "url": "https://github.com/flatpak/libportal/archive/refs/tags/0.6.tar.gz", + "sha256": "8ad326c4f53b7433645dc86d994fef0292bee8adda0fe67db9288ace19250a9c" + } + ] + }, + { + "name": "gsound", + "buildsystem": "meson", + "config-opts": [ + "-Denable_vala=false" + ], + "sources": [ + { + "type": "archive", + "url": "https://gitlab.gnome.org/GNOME/gsound/-/archive/1.0.3/gsound-1.0.3.tar.gz", + "sha256": "ebee33c77f43bcae87406c20e051acaff08e86f8960c35b92911e243fddc7a0b" + } + ] + }, + { + "name": "sound-theme-freedesktop", + "sources": [ + { + "type": "archive", + "url": "http://people.freedesktop.org/~mccann/dist/sound-theme-freedesktop-0.8.tar.bz2", + "sha256": "cb518b20eef05ec2e82dda1fa89a292c1760dc023aba91b8aa69bafac85e8a14" + } + ] + }, + { + "name": "reminders", + "builddir": true, + "buildsystem": "meson", + "config-opts": [ + "-Denable-portals=true", + "-Drelease-type=devel" + ], + "sources": [ + { + "type": "dir", + "path": "./" + } + ] + } + ] +} \ No newline at end of file diff --git a/io.github.remindersdevs.Reminders.json b/io.github.remindersdevs.Reminders.json new file mode 100644 index 0000000..21377d6 --- /dev/null +++ b/io.github.remindersdevs.Reminders.json @@ -0,0 +1,77 @@ +{ + "app-id": "io.github.remindersdevs.Reminders", + "runtime": "org.gnome.Platform", + "runtime-version": "46", + "sdk": "org.gnome.Sdk", + "command": "reminders", + "finish-args": [ + "--share=network", + "--share=ipc", + "--device=dri", + "--socket=wayland", + "--socket=fallback-x11", + "--system-talk-name=org.freedesktop.login1", + "--talk-name=org.freedesktop.secrets", + "--socket=pulseaudio", + "--filesystem=xdg-download" + ], + "modules": [ + "flatpak/shared-modules/intltool/intltool-0.51.json", + "flatpak/shared-modules/libcanberra/libcanberra.json", + "flatpak/python3-modules.json", + { + "name": "libportal", + "buildsystem": "meson", + "config-opts": [ + "-Ddocs=false", + "-Dbackends=gtk4" + ], + "sources": [ + { + "type": "archive", + "url": "https://github.com/flatpak/libportal/archive/refs/tags/0.6.tar.gz", + "sha256": "8ad326c4f53b7433645dc86d994fef0292bee8adda0fe67db9288ace19250a9c" + } + ] + }, + { + "name": "gsound", + "buildsystem": "meson", + "config-opts": [ + "-Denable_vala=false" + ], + "sources": [ + { + "type": "archive", + "url": "https://gitlab.gnome.org/GNOME/gsound/-/archive/1.0.3/gsound-1.0.3.tar.gz", + "sha256": "ebee33c77f43bcae87406c20e051acaff08e86f8960c35b92911e243fddc7a0b" + } + ] + }, + { + "name": "sound-theme-freedesktop", + "sources": [ + { + "type": "archive", + "url": "http://people.freedesktop.org/~mccann/dist/sound-theme-freedesktop-0.8.tar.bz2", + "sha256": "cb518b20eef05ec2e82dda1fa89a292c1760dc023aba91b8aa69bafac85e8a14" + } + ] + }, + { + "name": "reminders", + "builddir": true, + "buildsystem": "meson", + "config-opts": [ + "-Denable-portals=true", + "-Drelease-type=stable" + ], + "sources": [ + { + "type": "dir", + "path": "./" + } + ] + } + ] +} \ No newline at end of file