From bd6c233c1d6feb496627c4ef455d79193517b8cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Danielle=20For=C3=A9?= Date: Thu, 11 Jul 2024 10:58:34 -0700 Subject: [PATCH 1/2] Workflows: add flatpak x-checker --- .github/workflows/flatpak-x-checker.yml | 22 +++++++++++++++++++ io.elementary.tasks.json | 29 ++++++++++++++----------- 2 files changed, 38 insertions(+), 13 deletions(-) create mode 100644 .github/workflows/flatpak-x-checker.yml diff --git a/.github/workflows/flatpak-x-checker.yml b/.github/workflows/flatpak-x-checker.yml new file mode 100644 index 000000000..fe1cf0851 --- /dev/null +++ b/.github/workflows/flatpak-x-checker.yml @@ -0,0 +1,22 @@ +name: Check for updates +on: + schedule: # for scheduling to work this file must be in the default branch + - cron: "0 0 * * 1" # run weekly + workflow_dispatch: # can be manually dispatched under GitHub's "Actions" tab + +jobs: + flatpak-external-data-checker: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - uses: docker://ghcr.io/flathub/flatpak-external-data-checker:latest + env: + GIT_AUTHOR_NAME: elementaryBot + GIT_COMMITTER_NAME: elementaryBot + GIT_AUTHOR_EMAIL: builds@elementary.io + GIT_COMMITTER_EMAIL: builds@elementary.io + EMAIL: builds@elementary.io + GITHUB_TOKEN: ${{ secrets.GIT_USER_TOKEN }} + with: + args: --update --never-fork io.elementary.tasks.json diff --git a/io.elementary.tasks.json b/io.elementary.tasks.json index 150be8651..e34f5302b 100644 --- a/io.elementary.tasks.json +++ b/io.elementary.tasks.json @@ -56,18 +56,17 @@ ], "config-opts": [ "-DCMAKE_BUILD_TYPE=RelWithDebInfo", - "-DENABLE_GTK=ON", - "-DENABLE_VALA_BINDINGS=ON", - "-DENABLE_INTROSPECTION=ON", - "-DENABLE_GOA=OFF", "-DENABLE_CANBERRA=OFF", - "-DWITH_LIBDB=OFF", + "-DENABLE_EXAMPLES=OFF" + "-DENABLE_GOA=OFF", + "-DENABLE_GTK_DOC=OFF", + "-DENABLE_GTK=OFF", + "-DENABLE_INSTALLED_TESTS=OFF", + "-DENABLE_INTROSPECTION=ON", + "-DENABLE_VALA_BINDINGS=ON", "-DENABLE_WEATHER=OFF", + "-DWITH_LIBDB=OFF", "-DWITH_OPENLDAP=OFF", - "-DENABLE_INSTALLED_TESTS=OFF", - "-DENABLE_GTK=OFF", - "-DENABLE_GTK_DOC=OFF", - "-DENABLE_EXAMPLES=OFF" ], "sources": [ { @@ -178,18 +177,22 @@ ] }, { - "name": "geocode-glib", + "name": "geocode-glib-2.0", "buildsystem": "meson", "config-opts": [ - "-Denable-installed-tests=false", "-Denable-gtk-doc=false", + "-Denable-installed-tests=false", "-Dsoup2=false" ], "sources": [ { - "type": "archive", "url": "https://download.gnome.org/sources/geocode-glib/3.26/geocode-glib-3.26.4.tar.xz", - "sha256": "2d9a6826d158470449a173871221596da0f83ebdcff98b90c7049089056a37aa" + "sha256": "2d9a6826d158470449a173871221596da0f83ebdcff98b90c7049089056a37aa", + "type": "archive", + "x-checker-data": { + "type": "gnome", + "name": "geocode-glib" + } } ] }, From b6563500d8d587c22963054997a68b14bcf37f5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Danielle=20For=C3=A9?= Date: Thu, 11 Jul 2024 11:03:33 -0700 Subject: [PATCH 2/2] Fix commas --- io.elementary.tasks.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/io.elementary.tasks.json b/io.elementary.tasks.json index e34f5302b..295dd9c9b 100644 --- a/io.elementary.tasks.json +++ b/io.elementary.tasks.json @@ -57,7 +57,7 @@ "config-opts": [ "-DCMAKE_BUILD_TYPE=RelWithDebInfo", "-DENABLE_CANBERRA=OFF", - "-DENABLE_EXAMPLES=OFF" + "-DENABLE_EXAMPLES=OFF", "-DENABLE_GOA=OFF", "-DENABLE_GTK_DOC=OFF", "-DENABLE_GTK=OFF", @@ -66,7 +66,7 @@ "-DENABLE_VALA_BINDINGS=ON", "-DENABLE_WEATHER=OFF", "-DWITH_LIBDB=OFF", - "-DWITH_OPENLDAP=OFF", + "-DWITH_OPENLDAP=OFF" ], "sources": [ {