From fafd362e6b82d18bb5151995683da992b4ff1a26 Mon Sep 17 00:00:00 2001 From: Bob Funk Date: Fri, 10 Feb 2023 04:43:03 +0000 Subject: desktop/gnome-calendar: Meson patch. Signed-off-by: bedlam Signed-off-by: Willy Sudiarto Raharjo --- .../e35dbc1acd03dd1751b755b6c8e1932a692ad4e1.patch | 25 ++++++++++++++++++++++ desktop/gnome-calendar/gnome-calendar.SlackBuild | 4 ++++ 2 files changed, 29 insertions(+) create mode 100644 desktop/gnome-calendar/e35dbc1acd03dd1751b755b6c8e1932a692ad4e1.patch (limited to 'desktop') diff --git a/desktop/gnome-calendar/e35dbc1acd03dd1751b755b6c8e1932a692ad4e1.patch b/desktop/gnome-calendar/e35dbc1acd03dd1751b755b6c8e1932a692ad4e1.patch new file mode 100644 index 0000000000..02a07f12ae --- /dev/null +++ b/desktop/gnome-calendar/e35dbc1acd03dd1751b755b6c8e1932a692ad4e1.patch @@ -0,0 +1,25 @@ +From e35dbc1acd03dd1751b755b6c8e1932a692ad4e1 Mon Sep 17 00:00:00 2001 +From: Alexander Kanavin +Date: Fri, 21 Jan 2022 21:18:39 +0100 +Subject: [PATCH] meson.build: fix meson 0.61 builds + +Signed-off-by: Alexander Kanavin +--- + data/appdata/meson.build | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/data/appdata/meson.build b/data/appdata/meson.build +index b5ee6540..200c3507 100644 +--- a/data/appdata/meson.build ++++ b/data/appdata/meson.build +@@ -1,7 +1,6 @@ + appdata_conf = configuration_data() + appdata_conf.set('appid', application_id) + appdata = i18n.merge_file( +- 'appdata', + input: configure_file( + input: files('org.gnome.Calendar.appdata.xml.in.in'), + output: 'org.gnome.Calendar.appdata.xml.in', +-- +GitLab + diff --git a/desktop/gnome-calendar/gnome-calendar.SlackBuild b/desktop/gnome-calendar/gnome-calendar.SlackBuild index e78aad14fb..205c8e91dd 100644 --- a/desktop/gnome-calendar/gnome-calendar.SlackBuild +++ b/desktop/gnome-calendar/gnome-calendar.SlackBuild @@ -76,6 +76,10 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +# Patch data/appdata/meson.build to fix building on newer meson versions +# that error on unused positional arguments (i.e. fix building on -current): +patch -Np1 -i $CWD/e35dbc1acd03dd1751b755b6c8e1932a692ad4e1.patch + mkdir build cd build CFLAGS="$SLKCFLAGS" \ -- cgit v1.2.3-80-g2a13