diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 000000000..aca54db93 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,17 @@ +on: + push: + branches: [master] + pull_request: +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true +name: CI +jobs: + lint: + name: "Vala Lint" + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: elementary/actions/vala-lint@master + with: + conf: vala-lint.conf diff --git a/build-aux/io.github.alainm23.planify.Devel.json b/build-aux/io.github.alainm23.planify.Devel.json index e0164ef11..1e5d390ad 100644 --- a/build-aux/io.github.alainm23.planify.Devel.json +++ b/build-aux/io.github.alainm23.planify.Devel.json @@ -1,7 +1,7 @@ { "app-id" : "io.github.alainm23.planify.Devel", "runtime" : "org.gnome.Platform", - "runtime-version": "44", + "runtime-version": "45", "sdk" : "org.gnome.Sdk", "command" : "io.github.alainm23.planify", "sdk-extensions" : [ @@ -81,8 +81,8 @@ "sources": [ { "type": "archive", - "url": "https://github.com/libical/libical/releases/download/v3.0.16/libical-3.0.16.tar.gz", - "sha256": "b44705dd71ca4538c86fb16248483ab4b48978524fb1da5097bd76aa2e0f0c33", + "url": "https://github.com/libical/libical/releases/download/v3.0.17/libical-3.0.17.tar.gz", + "sha256": "bcda9a6db6870240328752854d1ea475af9bbc6356e6771018200e475e5f781b", "x-checker-data": { "type": "anitya", "project-id": 1637, @@ -125,8 +125,8 @@ "sources": [ { "type": "archive", - "url": "https://download.gnome.org/sources/evolution-data-server/3.48/evolution-data-server-3.48.1.tar.xz", - "sha256": "5ce62c1e67f2789342a7f4a035b102f74e62ed85f60e81a5b7f3e04165404dff", + "url": "https://download.gnome.org/sources/evolution-data-server/3.50/evolution-data-server-3.50.2.tar.xz", + "sha256": "5e66270388d50c14f3b1ae3fa0d2127b9fedce752acd393b5545281b01fc4970", "x-checker-data": { "type": "gnome", "name": "evolution-data-server" @@ -135,17 +135,17 @@ ] }, { - "name" : "libportal", - "buildsystem" : "meson", - "config-opts" : [ + "name": "libportal", + "buildsystem": "meson", + "config-opts": [ "-Dbackends=['gtk4']", "-Ddocs=false", "-Dtests=false" ], - "sources" : [ + "sources": [ { - "type" : "git", - "url" : "https://github.com/flatpak/libportal.git", + "type": "git", + "url": "https://github.com/flatpak/libportal.git", "tag": "0.6" } ] @@ -160,8 +160,8 @@ ], "sources" : [ { - "type" : "git", - "url" : "https://github.com/alainm23/planner.git" + "type": "dir", + "path": "../" } ] } diff --git a/build-aux/io.github.alainm23.planify.json b/build-aux/io.github.alainm23.planify.json deleted file mode 100644 index abe354dd1..000000000 --- a/build-aux/io.github.alainm23.planify.json +++ /dev/null @@ -1,158 +0,0 @@ -{ - "app-id": "io.github.alainm23.planify", - "runtime": "org.gnome.Platform", - "runtime-version": "44", - "sdk": "org.gnome.Sdk", - "command": "io.github.alainm23.planify", - "sdk-extensions" : [ - "org.freedesktop.Sdk.Extension.vala" - ], - "finish-args": [ - "--device=dri", - "--share=ipc", - "--share=network", - "--socket=fallback-x11", - "--socket=wayland", - "--talk-name=org.gnome.evolution.dataserver.Calendar8", - "--talk-name=org.gnome.evolution.dataserver.Sources5" - ], - "build-options" : { - "prepend-path" : "/usr/lib/sdk/vala/bin/", - "prepend-ld-library-path" : "/usr/lib/sdk/vala/lib", - "env" : { } - }, - "cleanup": [ - "/include", - "/lib/pkgconfig", - "/man", - "/share/doc", - "/share/gtk-doc", - "/share/man", - "/share/pkgconfig", - "*.la", - "*.a" - ], - "modules": [ - { - "name": "intltool", - "cleanup": [ "*" ], - "sources": [ - { - "type": "archive", - "url": "https://launchpad.net/intltool/trunk/0.51.0/+download/intltool-0.51.0.tar.gz", - "sha256": "67c74d94196b153b774ab9f89b2fa6c6ba79352407037c8c14d5aeb334e959cd" - } - ] - }, - { - "name": "granite-7", - "buildsystem": "meson", - "sources": [ - { - "type": "git", - "url": "https://github.com/elementary/granite.git", - "tag": "7.2.0" - } - ] - }, - { - "name": "libical", - "buildsystem": "cmake-ninja", - "cleanup": [ - "/lib/cmake" - ], - "config-opts": [ - "-DCMAKE_BUILD_TYPE=Release", - "-DCMAKE_INSTALL_LIBDIR=/app/lib", - "-DBUILD_SHARED_LIBS=ON", - "-DGOBJECT_INTROSPECTION=true", - "-DICAL_GLIB_VAPI=true", - "-DICAL_GLIB=true", - "-DICAL_BUILD_DOCS=false", - "-DWITH_CXX_BINDINGS=false" - ], - "sources": [ - { - "type": "archive", - "url": "https://github.com/libical/libical/releases/download/v3.0.16/libical-3.0.16.tar.gz", - "sha256": "b44705dd71ca4538c86fb16248483ab4b48978524fb1da5097bd76aa2e0f0c33", - "x-checker-data": { - "type": "anitya", - "project-id": 1637, - "url-template": "https://github.com/libical/libical/releases/download/v$version/libical-$version.tar.gz" - } - } - ] - }, - { - "name": "evolution-data-server", - "buildsystem": "cmake-ninja", - "cleanup": [ - "/lib/evolution-data-server/*-backends", - "/libexec", - "/share/dbus-1/services" - ], - "config-opts": [ - "-DCMAKE_BUILD_TYPE=Release", - "-DENABLE_FILE_LOCKING=fcntl", - "-DENABLE_DOT_LOCKING=OFF", - "-DENABLE_OAUTH2=ON", - "-DENABLE_CANBERRA=OFF", - "-DENABLE_GTK=ON", - "-DENABLE_UOA=OFF", - "-DENABLE_GOA=OFF", - "-DENABLE_GOOGLE=OFF", - "-DENABLE_EXAMPLES=OFF", - "-DENABLE_INTROSPECTION=ON", - "-DENABLE_VALA_BINDINGS=ON", - "-DENABLE_INSTALLED_TESTS=OFF", - "-DENABLE_GTK_DOC=OFF", - "-DWITH_PRIVATE_DOCS=OFF", - "-DWITH_PHONENUMBER=OFF", - "-DWITH_SYSTEMDUSERUNITDIR=OFF", - "-DWITH_LIBDB=OFF", - "-DWITH_OPENLDAP=OFF", - "-DENABLE_WEATHER=OFF", - "-DENABLE_OAUTH2_WEBKITGTK4=OFF" - ], - "sources": [ - { - "type": "archive", - "url": "https://download.gnome.org/sources/evolution-data-server/3.48/evolution-data-server-3.48.2.tar.xz", - "sha256": "1f3243df12b4f1d3298c9977d6221a6565fd279efc984e1ccf255245d04cffd5", - "x-checker-data": { - "type": "gnome", - "name": "evolution-data-server" - } - } - ] - }, - { - "name" : "libportal", - "buildsystem" : "meson", - "config-opts" : [ - "-Dbackends=['gtk4']", - "-Ddocs=false", - "-Dtests=false" - ], - "sources" : [ - { - "type" : "git", - "url" : "https://github.com/flatpak/libportal.git", - "tag": "0.6" - } - ] - }, - { - "name": "planify", - "builddir": true, - "buildsystem": "meson", - "sources" : [ - { - "type" : "git", - "url" : "https://github.com/alainm23/planner.git" - } - ] - } - ] -}