head 1.7; access; symbols pkgsrc-2026Q1:1.7.0.2 pkgsrc-2026Q1-base:1.7 pkgsrc-2021Q4:1.5.0.2 pkgsrc-2021Q4-base:1.5 pkgsrc-2021Q3:1.2.0.14 pkgsrc-2021Q3-base:1.2 pkgsrc-2021Q2:1.2.0.12 pkgsrc-2021Q2-base:1.2 pkgsrc-2021Q1:1.2.0.10 pkgsrc-2021Q1-base:1.2 pkgsrc-2020Q4:1.2.0.8 pkgsrc-2020Q4-base:1.2 pkgsrc-2020Q3:1.2.0.6 pkgsrc-2020Q3-base:1.2 pkgsrc-2020Q2:1.2.0.4 pkgsrc-2020Q2-base:1.2 pkgsrc-2020Q1:1.2.0.2 pkgsrc-2020Q1-base:1.2; locks; strict; comment @# @; 1.7 date 2026.01.05.14.49.02; author ryoon; state Exp; branches; next 1.6; commitid AZeJGCL2P5lbkdpG; 1.6 date 2022.02.15.17.34.32; author wiz; state dead; branches; next 1.5; commitid TaN56iExL3aSSJsD; 1.5 date 2021.10.31.23.05.47; author tnn; state Exp; branches; next 1.4; commitid dp7o6vVs2wDL91fD; 1.4 date 2021.10.31.22.39.38; author tnn; state Exp; branches; next 1.3; commitid Y3uXNAgRUgZf01fD; 1.3 date 2021.10.31.22.30.50; author tnn; state Exp; branches; next 1.2; commitid mRRoTkJzoKeMX0fD; 1.2 date 2020.03.11.10.09.36; author wiz; state Exp; branches; next 1.1; commitid zd7N7oWcE1eg7YZB; 1.1 date 2020.02.18.16.00.22; author jperkin; state Exp; branches; next ; commitid vdwWIefI9lYCKaXB; desc @@ 1.7 log @devel/gobject-introspection: Update to 1.86.0 * Build gir files for GioUnix-2.0 for pkgsrc/devel/glib2. Changelog: 1.86.0 - 2025-09-13 ------------------- - giscanner: Added ability to add wrapper script arguments [!530] - g-ir-tools: Support reading @@rspfiles for arguments [!532] - Update gobject-introspection-tests [!536] - giscanner: support alignof expressions [!538] - dumper: Fix introspection binaries missing rpaths for uninstalled ELF shlibs [!540] - meson: Fix fs.copyfile semantics breaking GIR build with Ninja 1.12+ [!534] - giscanner: Deduplicate arguments and use response files for MSVC [!535] - scanner: Prefer some getters over others [!473] - girepository: Initialize the async functions parameters [!544] @ text @$NetBSD$ --- gir/meson.build.orig 2025-12-07 09:28:42.235445373 +0000 +++ gir/meson.build @@@@ -384,7 +384,6 @@@@ gio_command = scanner_command + [ '--identifier-prefix=G', '--symbol-prefix=g', '--c-include=gio/gio.h', - '--namespace=Gio', '--nsversion=2.0', '--library=gio-2.0', ] @@@@ -470,12 +469,33 @@@@ gio_gir = custom_target('gir-gio', '-DGIO_COMPILATION', '-DG_SETTINGS_ENABLE_BACKEND', '--cflags-end', + '--namespace=Gio', '@@INPUT@@', ] ) uninstalled_gir_files += gio_gir +gio_unix_gir = custom_target('gir-gio-unix', + input: gio_files, + output: 'GioUnix-2.0.gir', + depends: [gobject_gir, gir_giscanner_pymod, gio_gir_dep, gdump], + depend_files: gir_giscanner_built_files, + env: g_ir_scanner_env, + command: gio_command + [ + '--include-uninstalled=' + gobject_gir.full_path(), + '--cflags-begin'] + glib_includes + extra_giscanner_cflags + [ + '-DGIO_COMPILATION', + '-DG_SETTINGS_ENABLE_BACKEND', + '--cflags-end', + '--namespace=GioUnix', + '--pkg-export=gio-unix-2.0', + '@@INPUT@@', + ] +) + +uninstalled_gir_files += gio_unix_gir + # GIRepository girepository_command = scanner_command + [ @ 1.6 log @gobject-introspection: update to 1.70.0. Add upstream patch to fix build with latest meson. 1.70.0 - 2021-09-17 ------------------- * Update the GIR data for GLib, GObject, and GIO 1.69.0 - 2021-08-24 ------------------- * Fix build when gobject-introspection is a subproject :mr:`266` * Add more float types :issue:`384`, :mr:`269` * Make test suite work with cross-related options :issue:`227` * Fix several leaks found by Coverity :mr:`272` * Fix enum member c:identifier :mr:`264` * Add g-ir-doc-tool man page :mr:`284` * Export warnlib sources as variables :mr:`287` * Update the GLib annotations :mr:`288` * Add "final" class attribute :mr:`257`, :mr:`291` * Add option to make .gir files installation paths configurable :mr:`63` * Handle constructors with mismatched GTypes :issue:`399`, :mr:`292` * Add property accessors annotations :issue:`13`, :mr:`279` @ text @d1 1 a1 1 $NetBSD: patch-gir_meson.build,v 1.5 2021/10/31 23:05:47 tnn Exp $ d3 1 a3 3 gircompiler requires libraries from the build area. --- gir/meson.build.orig 2021-03-19 14:22:12.050101500 +0000 d5 40 a44 11 @@@@ -436,7 +436,11 @@@@ typelibs = [] if get_option('gi_cross_binary_wrapper') != '' gircompiler_command = [get_option('gi_cross_binary_wrapper'), gircompiler.full_path(), ] else - gircompiler_command = [gircompiler, ] + gircompiler_command = ['env', + 'LD_LIBRARY_PATH=' + meson.current_build_dir() + '/../girepository', + 'DYLD_LIBRARY_PATH=' + meson.current_build_dir() + '/../girepository', + gircompiler + ] endif d46 1 a46 1 gircompiler_command += [ '-o', '@@OUTPUT@@', '@@INPUT@@', @ 1.5 log @gobject-introspection: really fix macOS build The workaround from patch-gir_meson.build needs to be applied also in the test suite in order to find yet-to-be installed libraries. @ text @d1 1 a1 1 $NetBSD: patch-gir_meson.build,v 1.3 2021/10/31 22:30:50 tnn Exp $ @ 1.4 log @revert previous which didn't work (It produced a working package once but I must have had a dirty tree) @ text @d1 1 a1 1 $NetBSD: patch-gir_meson.build,v 1.2 2020/03/11 10:09:36 wiz Exp $ d5 1 a5 1 --- gir/meson.build.orig 2020-03-07 14:13:21.645308500 +0000 d7 1 a7 1 @@@@ -446,7 +446,7 @@@@ typelibs = [] d12 5 a16 1 + gircompiler_command = ['env', 'LD_LIBRARY_PATH=' + meson.current_build_dir() + '/../girepository', gircompiler ] @ 1.3 log @gobject-introspection: make patch-gir_meson.build work on macOS @ text @d5 1 a5 1 --- gir/meson.build.orig 2021-03-19 14:22:12.050101500 +0000 d7 1 a7 1 @@@@ -436,7 +436,11 @@@@ typelibs = [] d12 1 a12 5 + gircompiler_command = ['env', + 'LD_LIBRARY_PATH=' + meson.current_build_dir() + '/../girepository', + 'DYLD_LIBRARY_PATH=' + meson.current_build_dir() + '/../girepository', + gircompiler + ] @ 1.2 log @gobject-introspection: update to 1.64.0. 1.64.0 - 2020-03-07 ------------------- * Update glib annotations (:user:`Rico Tzschichholz `) * Fix regress scanner tests for non-gcc/clang compilers :mr:`197` (:user:`Chun-wei Fan `) * Document how to update glib GIR :mr:`199` (:user:`Bastien Nocera `) 1.63.2 - 2020-01-17 ------------------- * Update glib annotations (:user:`Rico Tzschichholz `) * Add GMemoryMonitor to glib annotations :mr:`193` (:user:`Bastien Nocera `) * Fix build reproducibility :mr:`192` (:user:`Joshua Watt `) * Drop deprecated xml.etree.ElementTree.Element.getchildren() calls :mr:`194` (:user:`Miro Hrončok `) * Support Python 3.8.x+ on Windows :mr:`195` (:user:`Chun-wei Fan `) * Cross compile support :mr:`64` (:user:`Alexander Kanavin `) * meson: Visual Studio builds: Use -utf-8 where available :mr:`196` (:user:`Chun-wei Fan `) 1.63.1 - 2019-11-24 ------------------- * Update glib annotations (:user:`Rico Tzschichholz `) * build: require meson 0.50.1 * build: use proper dylib versioning on macOS :mr:`177` (:user:`Tom Schoonjans `) * scanner: Support array arguments with static keyword :mr:`176` (:user:`Emmanuele Bassi `) * website: Add Ruby-GNOME to user list :mr:`178` (:user:`kojix2`) * Fix non-libtool code being run with no nob-libtool dependencies :mr:`179` (:user:`Alistair Buxton `) * meson: change "cairo" from a boolean to a feature option :mr:`180` * meson: change "doctool" from a boolean to a feature option :mr:`181` * Fix a memory leak in g_irepository_get_object_gtype_interfaces() :mr:`182` (:user:`Philip Chimento `) * ccompiler.py: Fix macro defines with quotes on MSVC :mr:`183` (:user:`Chun-wei Fan `) * tests: Actually test libregress by specifying the LD_LIBRARY_PATH :mr:`174` (:user:`Corentin Noël `) * examples: Make self contained and add build system integration examples :mr:`189` * autotools: Make INTROSPECTION_GIRDIR/INTROSPECTION_TYPELIBDIR respect prefix/datadir/libdir :mr:`190` * girepository: Also store GType cache misses :mr:`191` (:user:`Carlos Garnacho `) * docs: Document GI_CROSS_LAUNCHER envvar :mr:`175` (:user:`Emmanuele Bassi `) @ text @d1 1 a1 1 $NetBSD: patch-gir_meson.build,v 1.1 2020/02/18 16:00:22 jperkin Exp $ d5 1 a5 1 --- gir/meson.build.orig 2020-03-07 14:13:21.645308500 +0000 d7 1 a7 1 @@@@ -446,7 +446,7 @@@@ typelibs = [] d12 5 a16 1 + gircompiler_command = ['env', 'LD_LIBRARY_PATH=' + meson.current_build_dir() + '/../girepository', gircompiler ] @ 1.1 log @gobject-introspection: Fix build on certain Darwin configurations. The generation tools require libraries from within the build area to execute, so ensure they can be found. This removes a patch I committed a couple of years ago that was apparently fixing a different LD_LIBRARY_PATH issue, but unfortunately my commit message was inadequate and I can't find what issue that was resolving. @ text @d1 1 a1 1 $NetBSD$ d5 1 a5 1 --- gir/meson.build.orig 2019-09-09 19:22:10.000000000 +0000 d7 9 a15 10 @@@@ -433,7 +433,8 @@@@ foreach gir : gir_files input: gir, output: '@@BASENAME@@.typelib', depends: [gobject_gir, ], - command: [gircompiler, '-o', '@@OUTPUT@@', '@@INPUT@@', + command: ['env', 'LD_LIBRARY_PATH=' + meson.current_build_dir() + '/../girepository', + gircompiler, '-o', '@@OUTPUT@@', '@@INPUT@@', '--includedir', meson.current_build_dir(), '--includedir', meson.current_source_dir(), ], @