[glibmm/glibmm-2-66] tools/gen_scripts: Ignore gio/gwin32api-*.h



commit 41df70885c9a367de1e9e88f0b992778b60a0025
Author: Kjell Ahlstedt <kjellahlstedt gmail com>
Date:   Sat Mar 6 10:20:40 2021 +0100

    tools/gen_scripts: Ignore gio/gwin32api-*.h
    
    Ignore some new glib header files when generating
    gio/src/gio_enums.defs and gio/src/gio_methods.defs.

 tools/gen_scripts/gio_generate_enums.sh   | 4 ++--
 tools/gen_scripts/gio_generate_methods.sh | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/tools/gen_scripts/gio_generate_enums.sh b/tools/gen_scripts/gio_generate_enums.sh
index 9e5c5317..25f30588 100755
--- a/tools/gen_scripts/gio_generate_enums.sh
+++ b/tools/gen_scripts/gio_generate_enums.sh
@@ -27,8 +27,8 @@ shopt -s nullglob # Skip a filename pattern that matches no file
 if [ $# -eq 0 ]
 then
   # Process files whose names end with .h, but not with private.h.
-  # Exclude $build_prefix/gio/xdp-dbus.h.
-  "$gen_enums" "$source_prefix"/gio/!(*private).h "$build_prefix"/gio/!(*private|xdp-dbus).h > 
"$out_dir_file"
+  # Exclude $source_prefix/gio/gwin32api-*.h and $build_prefix/gio/xdp-dbus.h.
+  "$gen_enums" "$source_prefix"/gio/!(*private|gwin32api-*).h "$build_prefix"/gio/!(*private|xdp-dbus).h > 
"$out_dir_file"
   # patch version 2.7.5 does not like directory names.
   cd "$out_dir"
   patch_options="--backup --version-control=simple --suffix=.orig"
diff --git a/tools/gen_scripts/gio_generate_methods.sh b/tools/gen_scripts/gio_generate_methods.sh
index 4a3def34..4981add4 100755
--- a/tools/gen_scripts/gio_generate_methods.sh
+++ b/tools/gen_scripts/gio_generate_methods.sh
@@ -10,5 +10,5 @@ out_dir="$root_dir/gio/src"
 shopt -s extglob # Enable extended pattern matching
 shopt -s nullglob # Skip a filename pattern that matches no file
 # Process files whose names end with .h, but not with private.h.
-# Exclude $build_prefix/gio/xdp-dbus.h.
-"$gen_methods" "$source_prefix"/gio/!(*private).h "$build_prefix"/gio/!(*private|xdp-dbus).h > 
"$out_dir"/gio_methods.defs
+  # Exclude $source_prefix/gio/gwin32api-*.h and $build_prefix/gio/xdp-dbus.h.
+"$gen_methods" "$source_prefix"/gio/!(*private|gwin32api-*).h "$build_prefix"/gio/!(*private|xdp-dbus).h > 
"$out_dir"/gio_methods.defs


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]