glib: 2.73.3 → 2.74.0

https://gitlab.gnome.org/GNOME/glib/-/compare/2.73.3...2.74.0

Changelog-Reviewed-By: Jan Tojnar <jtojnar@gmail.com>

+24 -23
+2 -2
pkgs/development/libraries/glib/default.nix
··· 44 44 45 45 stdenv.mkDerivation (finalAttrs: { 46 46 pname = "glib"; 47 - version = "2.73.3"; 47 + version = "2.74.0"; 48 48 49 49 src = fetchurl { 50 50 url = "mirror://gnome/sources/glib/${lib.versions.majorMinor finalAttrs.version}/glib-${finalAttrs.version}.tar.xz"; 51 - sha256 = "3xorhBZn1rSLLvaWnr2kMoJDgp9uRYZnJvgG+Q9k7q0="; 51 + sha256 = "NlLH8HLXsDGmte3WI/d+vF3NKuaYWYq8yJ/znKda3TA="; 52 52 }; 53 53 54 54 patches = optionals stdenv.isDarwin [
+22 -21
pkgs/development/libraries/glib/split-dev-programs.patch
··· 1 1 diff --git a/gio/gdbus-2.0/codegen/meson.build b/gio/gdbus-2.0/codegen/meson.build 2 - index bf25cdaeb..bff7016cc 100644 2 + index f0a256898..9c8497cd0 100644 3 3 --- a/gio/gdbus-2.0/codegen/meson.build 4 4 +++ b/gio/gdbus-2.0/codegen/meson.build 5 5 @@ -19,7 +19,7 @@ gdbus_codegen_conf.set('DATADIR', glib_datadir) ··· 8 8 output : 'gdbus-codegen', 9 9 - install_dir : get_option('bindir'), 10 10 + install_dir : get_option('devbindir'), 11 + install_tag : 'bin-devel', 11 12 configuration : gdbus_codegen_conf 12 13 ) 13 - # Provide tools for others when we're a subproject and they use the Meson GNOME module 14 14 diff --git a/gio/meson.build b/gio/meson.build 15 - index 69bb0603e..839b1cfb4 100644 15 + index fdd2528df..cf359c7d7 100644 16 16 --- a/gio/meson.build 17 17 +++ b/gio/meson.build 18 - @@ -858,14 +858,15 @@ pkg.generate(libgio, 18 + @@ -859,14 +859,15 @@ pkg.generate(libgio, 19 19 variables : ['datadir=' + join_paths('${prefix}', get_option('datadir')), 20 20 'schemasdir=' + join_paths('${datadir}', schemas_subdir), 21 21 'bindir=' + join_paths('${prefix}', get_option('bindir')), ··· 36 36 'gsettings=' + join_paths('${bindir}', 'gsettings')], 37 37 version : glib_version, 38 38 install_dir : glib_pkgconfigreldir, 39 - @@ -966,13 +967,14 @@ executable('gio', gio_tool_sources, 39 + @@ -968,6 +969,7 @@ executable('gio', gio_tool_sources, 40 40 41 41 executable('gresource', 'gresource-tool.c', 42 42 install : true, 43 43 + install_dir : get_option('devbindir'), 44 + install_tag : 'bin', 44 45 # intl.lib is not compatible with SAFESEH 45 46 link_args : noseh_link_args, 46 - dependencies : [libelf, libgio_dep, libgobject_dep, libgmodule_dep, libglib_dep]) 47 + @@ -975,7 +977,7 @@ executable('gresource', 'gresource-tool.c', 47 48 48 49 gio_querymodules = executable('gio-querymodules', 'gio-querymodules.c', 'giomodule-priv.c', 49 50 install : true, 50 51 - install_dir : multiarch_bindir, 51 52 + install_dir : get_option('devbindir'), 53 + install_tag : 'bin', 52 54 c_args : gio_c_args, 53 55 # intl.lib is not compatible with SAFESEH 54 - link_args : noseh_link_args, 55 - @@ -981,7 +983,7 @@ gio_querymodules = executable('gio-querymodules', 'gio-querymodules.c', 'giomodu 56 + @@ -985,7 +987,7 @@ gio_querymodules = executable('gio-querymodules', 'gio-querymodules.c', 'giomodu 56 57 glib_compile_schemas = executable('glib-compile-schemas', 57 58 ['glib-compile-schemas.c'], 58 59 install : true, 59 60 - install_dir : multiarch_bindir, 60 61 + install_dir : get_option('devbindir'), 62 + install_tag : 'bin', 61 63 # intl.lib is not compatible with SAFESEH 62 64 link_args : noseh_link_args, 63 - dependencies : [libgio_dep, libgobject_dep, libgmodule_dep, libglib_dep, gvdb_dep]) 64 - @@ -989,6 +991,7 @@ glib_compile_schemas = executable('glib-compile-schemas', 65 + @@ -994,6 +996,7 @@ glib_compile_schemas = executable('glib-compile-schemas', 65 66 glib_compile_resources = executable('glib-compile-resources', 66 67 [gconstructor_as_data_h, 'glib-compile-resources.c'], 67 68 install : true, 68 69 + install_dir : get_option('devbindir'), 70 + install_tag : 'bin-devel', 69 71 c_args : gio_c_args, 70 72 # intl.lib is not compatible with SAFESEH 71 - link_args : noseh_link_args, 72 73 diff --git a/glib/meson.build b/glib/meson.build 73 - index bcfcba94f..162fc86f2 100644 74 + index 1e6dc36be..6b5de6c86 100644 74 75 --- a/glib/meson.build 75 76 +++ b/glib/meson.build 76 77 @@ -396,9 +396,10 @@ pkg.generate(libglib, ··· 92 93 gtester = executable('gtester', 'gtester.c', 93 94 install : true, 94 95 + install_dir : get_option('devbindir'), 96 + install_tag : 'bin-devel', 95 97 c_args : ['-UG_DISABLE_ASSERT'], 96 98 include_directories : configinc, 97 - dependencies : [libglib_dep]) 98 - @@ -446,7 +448,7 @@ report_conf.set('PYTHON', python_name) 99 + @@ -447,7 +449,7 @@ report_conf.set('PYTHON', python_name) 99 100 configure_file( 100 101 input: 'gtester-report.in', 101 102 output: 'gtester-report', 102 103 - install_dir: get_option('bindir'), 103 104 + install_dir: get_option('devbindir'), 105 + install_tag : 'bin-devel', 104 106 configuration: report_conf, 105 107 install_mode: 'rwxr-xr-x' 106 - ) 107 108 diff --git a/gobject/meson.build b/gobject/meson.build 108 - index 07d096f36..865891e8c 100644 109 + index a994eb591..36b36b925 100644 109 110 --- a/gobject/meson.build 110 111 +++ b/gobject/meson.build 111 112 @@ -79,7 +79,7 @@ foreach tool: python_tools ··· 114 115 configuration : python_tools_conf, 115 116 - install_dir : glib_bindir, 116 117 + install_dir : get_option('devbindir'), 118 + install_tag : 'bin-devel', 117 119 ) 118 120 119 - # Set variables for later use 120 - @@ -154,6 +154,7 @@ meson.override_dependency('gobject-2.0', libgobject_dep) 121 + @@ -155,6 +155,7 @@ meson.override_dependency('gobject-2.0', libgobject_dep) 121 122 122 123 executable('gobject-query', 'gobject-query.c', 123 124 install : true, 124 125 + install_dir : get_option('devbindir'), 126 + install_tag : 'bin-devel', 125 127 dependencies : [libglib_dep, libgobject_dep]) 126 128 127 - install_data('gobject_gdb.py', install_dir : join_paths(glib_pkgdatadir, 'gdb')) 128 129 diff --git a/meson_options.txt b/meson_options.txt 129 130 index f13cbfdd5..f218db581 100644 130 131 --- a/meson_options.txt ··· 142 143 type : 'combo', 143 144 choices : ['auto', 'libc', 'external'], 144 145 diff --git a/tools/meson.build b/tools/meson.build 145 - index d550a0e37..cff7fdae5 100644 146 + index 0542fb89b..bfb10cd80 100644 146 147 --- a/tools/meson.build 147 148 +++ b/tools/meson.build 148 149 @@ -8,7 +8,7 @@ if have_sh ··· 151 152 configure_file(input : 'glib-gettextize.in', 152 153 - install_dir : glib_bindir, 153 154 + install_dir : get_option('devbindir'), 155 + install_tag : 'bin-devel', 154 156 output : 'glib-gettextize', 155 157 configuration : gettextize_conf) 156 - endif