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