From 05ef31b7207701c54e8bc43ff6c142ff2e0899b8 Mon Sep 17 00:00:00 2001 From: DerryAlex Date: Mon, 22 Jul 2024 14:50:19 +0800 Subject: [PATCH] allow utf8 to be char** --- lib/girepository-1.0/ci.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/girepository-1.0/ci.sh b/lib/girepository-1.0/ci.sh index 8c20276..cb2defe 100755 --- a/lib/girepository-1.0/ci.sh +++ b/lib/girepository-1.0/ci.sh @@ -14,12 +14,12 @@ git clone https://github.com/gtk-rs/gir-files.git && cd gir-files git checkout ${gir_version} # utf8 sed -i 's/type name="utf8" c:type="gchar"/type name="gchar" c:type="gchar"/g' GLib-2.0.gir -sed -i '237,$s## #g' GLib-2.0.gir -sed -i 's## #g' GLib-2.0.gir -sed -i 's## #g' GLib-2.0.gir -sed -i 's## #g' GLib-2.0.gir +# sed -i '237,$s## #g' GLib-2.0.gir +# sed -i 's## #g' GLib-2.0.gir +# sed -i 's## #g' GLib-2.0.gir +# sed -i 's## #g' GLib-2.0.gir sed -i 's/type name="utf8" c:type="char"/type name="gchar" c:type="char"/g' HarfBuzz-0.0.gir -sed -i 's## #g' HarfBuzz-0.0.gir +# sed -i 's## #g' HarfBuzz-0.0.gir # introspectable="0" sed -i 's/field name="priority" introspectable="0"/field name="priority"/g' GLib-2.0.gir sed -i 's/enumeration name="ThreadPriority" introspectable="0" deprecated="1"/enumeration name="ThreadPriority"/g' GLib-2.0.gir