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

Generated by cgit