]> git.pld-linux.org Git - packages/gcr.git/blob - meson0.61.patch
upstream patch to fix build with meson >= 0.61
[packages/gcr.git] / meson0.61.patch
1 From b3ca1d02bb0148ca787ac4aead164d7c8ce2c4d8 Mon Sep 17 00:00:00 2001
2 From: Jakub Jirutka <jakub@jirutka.cz>
3 Date: Wed, 12 Jan 2022 00:24:20 +0100
4 Subject: [PATCH] meson: Fix unknown kw argument in gnome.generate_gir
5
6 This argument has been removed in Meson 0.61.0:
7
8     gck/meson.build:130:2: ERROR: gnome.generate_gir got unknown keyword arguments "packages"
9
10 https://github.com/mesonbuild/meson/commit/f8fc5cb860465718fe7c79a1bf1fe00659f138de:
11
12 > The packages argument to gnome.generate_gir was allowed, but never did anything, so stop passing it.
13
14 Fixes #89
15 ---
16  gck/meson.build | 1 -
17  gcr/meson.build | 1 -
18  ui/meson.build  | 1 -
19  3 files changed, 3 deletions(-)
20
21 diff --git a/gck/meson.build b/gck/meson.build
22 index 756b4866..a21a1e9d 100644
23 --- a/gck/meson.build
24 +++ b/gck/meson.build
25 @@ -131,7 +131,6 @@ if get_option('introspection')
26      sources: gck_gir_sources,
27      namespace: 'Gck',
28      nsversion: '@0@'.format(gck_major_version),
29 -    packages: gck_deps,
30      export_packages: 'gck-@0@'.format(gck_major_version),
31      includes: [ 'GObject-2.0', 'Gio-2.0' ],
32      header: 'gck/gck.h',
33 diff --git a/gcr/meson.build b/gcr/meson.build
34 index 2233a445..c83641ba 100644
35 --- a/gcr/meson.build
36 +++ b/gcr/meson.build
37 @@ -190,7 +190,6 @@ if get_option('introspection')
38      sources: [ gcr_base_public_sources, gcr_base_headers ],
39      namespace: 'Gcr',
40      nsversion: '@0@'.format(gcr_major_version),
41 -    packages: gcr_base_deps,
42      export_packages: 'gcr-base-@0@'.format(gcr_major_version),
43      includes: [
44        'GObject-2.0',
45 diff --git a/ui/meson.build b/ui/meson.build
46 index e656ea23..32ee057f 100644
47 --- a/ui/meson.build
48 +++ b/ui/meson.build
49 @@ -152,7 +152,6 @@ if get_option('introspection')
50      export_packages: 'gcr-ui-@0@'.format(gcr_major_version),
51      identifier_prefix: 'Gcr',
52      symbol_prefix: 'gcr',
53 -    packages: gcr_ui_deps,
54      includes: [
55        'GObject-2.0',
56        'Gio-2.0',
57 -- 
58 GitLab
59
This page took 0.124889 seconds and 3 git commands to generate.