Compare commits
No commits in common. 'i10c-beta' and 'c9' have entirely different histories.
@ -1 +1 @@
|
|||||||
SOURCES/gobject-introspection-1.79.1.tar.xz
|
SOURCES/gobject-introspection-1.68.0.tar.xz
|
||||||
|
@ -1 +1 @@
|
|||||||
a537299613239c4fc1a2b89b396322066ae401a4 SOURCES/gobject-introspection-1.79.1.tar.xz
|
0672668f6275316acf485894bd07857a69ea41fd SOURCES/gobject-introspection-1.68.0.tar.xz
|
||||||
|
@ -0,0 +1,217 @@
|
|||||||
|
From effb1e09dee263cdac4ec593e8caf316e6f01fe2 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Emmanuele Bassi <ebassi@gnome.org>
|
||||||
|
Date: Tue, 11 Jan 2022 15:51:10 +0000
|
||||||
|
Subject: [PATCH] build: Avoid the doctemplates hack
|
||||||
|
MIME-Version: 1.0
|
||||||
|
Content-Type: text/plain; charset=UTF-8
|
||||||
|
Content-Transfer-Encoding: 8bit
|
||||||
|
|
||||||
|
The hack that copies the doctemplates directory into the build
|
||||||
|
directory has stopped working with newer versions of Meson; while it's
|
||||||
|
possible to copy files, custom_target() cannot depend on a directory.
|
||||||
|
Additionally, the dependency has always been broken.
|
||||||
|
|
||||||
|
Instead, we enumerate the template files—after all, it's not like they
|
||||||
|
change a lot—and then we list them as dependencies for the test targets.
|
||||||
|
|
||||||
|
Fixes: #414
|
||||||
|
---
|
||||||
|
giscanner/doctemplates/devdocs/meson.build | 19 +++++++
|
||||||
|
giscanner/doctemplates/mallard/meson.build | 63 ++++++++++++++++++++++
|
||||||
|
giscanner/meson.build | 14 ++---
|
||||||
|
tests/scanner/meson.build | 24 +++++----
|
||||||
|
4 files changed, 98 insertions(+), 22 deletions(-)
|
||||||
|
create mode 100644 giscanner/doctemplates/devdocs/meson.build
|
||||||
|
create mode 100644 giscanner/doctemplates/mallard/meson.build
|
||||||
|
|
||||||
|
diff --git a/giscanner/doctemplates/devdocs/meson.build b/giscanner/doctemplates/devdocs/meson.build
|
||||||
|
new file mode 100644
|
||||||
|
index 00000000..2037182a
|
||||||
|
--- /dev/null
|
||||||
|
+++ b/giscanner/doctemplates/devdocs/meson.build
|
||||||
|
@@ -0,0 +1,19 @@
|
||||||
|
+doc_templates += files([
|
||||||
|
+ 'Gjs/_doc.tmpl',
|
||||||
|
+ 'Gjs/_index.tmpl',
|
||||||
|
+ 'Gjs/_method.tmpl',
|
||||||
|
+ 'Gjs/_methods.tmpl',
|
||||||
|
+ 'Gjs/_properties.tmpl',
|
||||||
|
+ 'Gjs/_signals.tmpl',
|
||||||
|
+ 'Gjs/_staticmethods.tmpl',
|
||||||
|
+ 'Gjs/_vfuncs.tmpl',
|
||||||
|
+ 'Gjs/base.tmpl',
|
||||||
|
+ 'Gjs/callback.tmpl',
|
||||||
|
+ 'Gjs/class.tmpl',
|
||||||
|
+ 'Gjs/default.tmpl',
|
||||||
|
+ 'Gjs/enum.tmpl',
|
||||||
|
+ 'Gjs/function.tmpl',
|
||||||
|
+ 'Gjs/interface.tmpl',
|
||||||
|
+ 'Gjs/method.tmpl',
|
||||||
|
+ 'Gjs/namespace.tmpl',
|
||||||
|
+])
|
||||||
|
diff --git a/giscanner/doctemplates/mallard/meson.build b/giscanner/doctemplates/mallard/meson.build
|
||||||
|
new file mode 100644
|
||||||
|
index 00000000..5fe4e2af
|
||||||
|
--- /dev/null
|
||||||
|
+++ b/giscanner/doctemplates/mallard/meson.build
|
||||||
|
@@ -0,0 +1,63 @@
|
||||||
|
+base_templates = files([
|
||||||
|
+ 'base.tmpl',
|
||||||
|
+ 'class.tmpl',
|
||||||
|
+ 'namespace.tmpl',
|
||||||
|
+])
|
||||||
|
+
|
||||||
|
+c_templates = files([
|
||||||
|
+ 'C/callback.tmpl',
|
||||||
|
+ 'C/class.tmpl',
|
||||||
|
+ 'C/constructor.tmpl',
|
||||||
|
+ 'C/default.tmpl',
|
||||||
|
+ 'C/enum.tmpl',
|
||||||
|
+ 'C/field.tmpl',
|
||||||
|
+ 'C/function.tmpl',
|
||||||
|
+ 'C/interface.tmpl',
|
||||||
|
+ 'C/method.tmpl',
|
||||||
|
+ 'C/namespace.tmpl',
|
||||||
|
+ 'C/property.tmpl',
|
||||||
|
+ 'C/record.tmpl',
|
||||||
|
+ 'C/signal.tmpl',
|
||||||
|
+ 'C/vfunc.tmpl',
|
||||||
|
+])
|
||||||
|
+
|
||||||
|
+gjs_templates = files([
|
||||||
|
+ 'Gjs/callback.tmpl',
|
||||||
|
+ 'Gjs/class.tmpl',
|
||||||
|
+ 'Gjs/constructor.tmpl',
|
||||||
|
+ 'Gjs/default.tmpl',
|
||||||
|
+ 'Gjs/enum.tmpl',
|
||||||
|
+ 'Gjs/field.tmpl',
|
||||||
|
+ 'Gjs/function.tmpl',
|
||||||
|
+ 'Gjs/interface.tmpl',
|
||||||
|
+ 'Gjs/method.tmpl',
|
||||||
|
+ 'Gjs/namespace.tmpl',
|
||||||
|
+ 'Gjs/property.tmpl',
|
||||||
|
+ 'Gjs/record.tmpl',
|
||||||
|
+ 'Gjs/signal.tmpl',
|
||||||
|
+ 'Gjs/vfunc.tmpl',
|
||||||
|
+])
|
||||||
|
+
|
||||||
|
+py_templates = files([
|
||||||
|
+ 'Python/callback.tmpl',
|
||||||
|
+ 'Python/class.tmpl',
|
||||||
|
+ 'Python/constructor.tmpl',
|
||||||
|
+ 'Python/default.tmpl',
|
||||||
|
+ 'Python/enum.tmpl',
|
||||||
|
+ 'Python/field.tmpl',
|
||||||
|
+ 'Python/function.tmpl',
|
||||||
|
+ 'Python/interface.tmpl',
|
||||||
|
+ 'Python/method.tmpl',
|
||||||
|
+ 'Python/namespace.tmpl',
|
||||||
|
+ 'Python/property.tmpl',
|
||||||
|
+ 'Python/record.tmpl',
|
||||||
|
+ 'Python/signal.tmpl',
|
||||||
|
+ 'Python/vfunc.tmpl',
|
||||||
|
+])
|
||||||
|
+
|
||||||
|
+doc_templates += [
|
||||||
|
+ base_templates,
|
||||||
|
+ c_templates,
|
||||||
|
+ gjs_templates,
|
||||||
|
+ py_templates,
|
||||||
|
+]
|
||||||
|
diff --git a/giscanner/meson.build b/giscanner/meson.build
|
||||||
|
index 41edcd44..3d7dc678 100644
|
||||||
|
--- a/giscanner/meson.build
|
||||||
|
+++ b/giscanner/meson.build
|
||||||
|
@@ -53,17 +53,9 @@ configure_file(input : '../girepository/gdump.c',
|
||||||
|
|
||||||
|
install_subdir('doctemplates', install_dir: giscannerdir)
|
||||||
|
|
||||||
|
-# XXX: this doesn't track the input, but there is nothing to copy many files
|
||||||
|
-# in meson.
|
||||||
|
-doc_templates = custom_target('copy-templates',
|
||||||
|
- input : 'doctemplates',
|
||||||
|
- output : 'doctemplates',
|
||||||
|
- command : [
|
||||||
|
- python, '-c',
|
||||||
|
- 'import sys, shutil;' +
|
||||||
|
- 'shutil.rmtree(sys.argv[2], ignore_errors=True);' +
|
||||||
|
- 'shutil.copytree(sys.argv[1], sys.argv[2])',
|
||||||
|
- '@INPUT@', '@OUTPUT@'])
|
||||||
|
+doc_templates = []
|
||||||
|
+subdir('doctemplates/devdocs')
|
||||||
|
+subdir('doctemplates/mallard')
|
||||||
|
|
||||||
|
flex = find_program('flex', 'win_flex')
|
||||||
|
bison = find_program('bison', 'win_bison')
|
||||||
|
diff --git a/tests/scanner/meson.build b/tests/scanner/meson.build
|
||||||
|
index 5176b957..b81b3fd5 100644
|
||||||
|
--- a/tests/scanner/meson.build
|
||||||
|
+++ b/tests/scanner/meson.build
|
||||||
|
@@ -525,19 +525,26 @@ foreach gir : test_girs
|
||||||
|
endforeach
|
||||||
|
|
||||||
|
if has_girdoctool and glib_dep.type_name() == 'pkgconfig'
|
||||||
|
+ doctool_env = environment()
|
||||||
|
+ doctool_env.set('srcdir', meson.current_source_dir())
|
||||||
|
+ doctool_env.set('builddir', meson.current_build_dir())
|
||||||
|
+
|
||||||
|
foreach language : ['C', 'Python', 'Gjs']
|
||||||
|
regress_docs = custom_target(
|
||||||
|
'generate-docs-' + language,
|
||||||
|
input: regress_gir,
|
||||||
|
- depends: [doc_templates],
|
||||||
|
+ depend_files: doc_templates,
|
||||||
|
build_by_default: not cairo_deps_found,
|
||||||
|
+ env: doctool_env,
|
||||||
|
output: 'Regress-1.0-' + language,
|
||||||
|
command: [
|
||||||
|
python, girdoctool,
|
||||||
|
'--add-include-path=' + join_paths(build_root, 'gir'),
|
||||||
|
'--add-include-path=' + meson.current_build_dir(),
|
||||||
|
'--language', language,
|
||||||
|
- '@INPUT@', '-o', '@OUTPUT@'],
|
||||||
|
+ '--templates-dir=' + join_paths(meson.current_source_dir(), '../../giscanner/doctemplates'),
|
||||||
|
+ '@INPUT@', '-o', '@OUTPUT@',
|
||||||
|
+ ],
|
||||||
|
)
|
||||||
|
|
||||||
|
if cairo_deps_found
|
||||||
|
@@ -546,10 +553,7 @@ if has_girdoctool and glib_dep.type_name() == 'pkgconfig'
|
||||||
|
python,
|
||||||
|
args: [gi_tester, 'Regress-1.0-' + language],
|
||||||
|
depends: [regress_docs],
|
||||||
|
- env: [
|
||||||
|
- 'srcdir=' + meson.current_source_dir(),
|
||||||
|
- 'builddir=' + meson.current_build_dir(),
|
||||||
|
- ],
|
||||||
|
+ env: doctool_env,
|
||||||
|
)
|
||||||
|
endif
|
||||||
|
endforeach
|
||||||
|
@@ -557,9 +561,10 @@ if has_girdoctool and glib_dep.type_name() == 'pkgconfig'
|
||||||
|
regress_sections = custom_target(
|
||||||
|
'generate-docs-sections',
|
||||||
|
input: regress_gir,
|
||||||
|
- depends: [doc_templates],
|
||||||
|
+ depend_files: [doc_templates],
|
||||||
|
build_by_default: not cairo_deps_found,
|
||||||
|
output: 'Regress-1.0-sections.txt',
|
||||||
|
+ env: doctool_env,
|
||||||
|
command: [
|
||||||
|
python, girdoctool,
|
||||||
|
'--add-include-path=' + join_paths(build_root, 'gir'),
|
||||||
|
@@ -574,10 +579,7 @@ if has_girdoctool and glib_dep.type_name() == 'pkgconfig'
|
||||||
|
python,
|
||||||
|
args: [gi_tester, 'Regress-1.0-sections.txt'],
|
||||||
|
depends: [regress_sections],
|
||||||
|
- env: [
|
||||||
|
- 'srcdir=' + meson.current_source_dir(),
|
||||||
|
- 'builddir=' + meson.current_build_dir(),
|
||||||
|
- ],
|
||||||
|
+ env: doctool_env,
|
||||||
|
)
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
--
|
||||||
|
2.37.3
|
||||||
|
|
@ -0,0 +1,77 @@
|
|||||||
|
From 827494d6415b696a98fa195cbd883b50cc893bfc Mon Sep 17 00:00:00 2001
|
||||||
|
From: Emmanuele Bassi <ebassi@gnome.org>
|
||||||
|
Date: Tue, 11 Jan 2022 15:47:50 +0000
|
||||||
|
Subject: [PATCH] doctool: Add templates_dir CLI argument
|
||||||
|
|
||||||
|
We can find the templates directory using the module file once
|
||||||
|
installed, but when running uninstalled we need to have a way to specify
|
||||||
|
where the templates can be found in the sources directory.
|
||||||
|
---
|
||||||
|
giscanner/docmain.py | 4 +++-
|
||||||
|
giscanner/docwriter.py | 14 ++++++++------
|
||||||
|
2 files changed, 11 insertions(+), 7 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/giscanner/docmain.py b/giscanner/docmain.py
|
||||||
|
index dab063ef..88430f05 100644
|
||||||
|
--- a/giscanner/docmain.py
|
||||||
|
+++ b/giscanner/docmain.py
|
||||||
|
@@ -51,6 +51,8 @@ def doc_main(args):
|
||||||
|
parser.add_argument("-s", "--write-sections-file",
|
||||||
|
action="store_const", dest="format", const="sections",
|
||||||
|
help="Backwards-compatible equivalent to -f sections")
|
||||||
|
+ parser.add_argument("--templates-dir",
|
||||||
|
+ action="store")
|
||||||
|
|
||||||
|
args = parser.parse_args(args[1:])
|
||||||
|
if not args.output:
|
||||||
|
@@ -74,7 +76,7 @@ def doc_main(args):
|
||||||
|
with open(args.output, 'w', encoding='utf-8') as fp:
|
||||||
|
write_sections_file(fp, sections_file)
|
||||||
|
else:
|
||||||
|
- writer = DocWriter(transformer, args.language, args.format)
|
||||||
|
+ writer = DocWriter(transformer, args.language, args.format, args.templates_dir)
|
||||||
|
writer.write(args.output)
|
||||||
|
|
||||||
|
return 0
|
||||||
|
diff --git a/giscanner/docwriter.py b/giscanner/docwriter.py
|
||||||
|
index d0cd610f..b72ab2ac 100644
|
||||||
|
--- a/giscanner/docwriter.py
|
||||||
|
+++ b/giscanner/docwriter.py
|
||||||
|
@@ -1288,7 +1288,7 @@ LANGUAGES = {
|
||||||
|
|
||||||
|
|
||||||
|
class DocWriter(object):
|
||||||
|
- def __init__(self, transformer, language, output_format):
|
||||||
|
+ def __init__(self, transformer, language, output_format, templates_dir=None):
|
||||||
|
self._transformer = transformer
|
||||||
|
|
||||||
|
try:
|
||||||
|
@@ -1300,18 +1300,20 @@ class DocWriter(object):
|
||||||
|
self._formatter = formatter_class(self._transformer)
|
||||||
|
self._language = self._formatter.language
|
||||||
|
self._output_format = output_format
|
||||||
|
+ self._templates_dir = templates_dir
|
||||||
|
|
||||||
|
self._lookup = self._get_template_lookup()
|
||||||
|
|
||||||
|
def _get_template_lookup(self):
|
||||||
|
- if 'UNINSTALLED_INTROSPECTION_SRCDIR' in os.environ:
|
||||||
|
+ if self._templates_dir is not None:
|
||||||
|
+ srcdir = self._templates_dir
|
||||||
|
+ elif 'UNINSTALLED_INTROSPECTION_SRCDIR' in os.environ:
|
||||||
|
top_srcdir = os.environ['UNINSTALLED_INTROSPECTION_SRCDIR']
|
||||||
|
- srcdir = os.path.join(top_srcdir, 'giscanner')
|
||||||
|
+ srcdir = os.path.join(top_srcdir, 'giscanner', 'doctemplates')
|
||||||
|
else:
|
||||||
|
- srcdir = os.path.dirname(__file__)
|
||||||
|
+ srcdir = os.path.join(os.path.dirname(__file__), 'doctemplates')
|
||||||
|
|
||||||
|
- template_dir = os.path.join(srcdir, 'doctemplates',
|
||||||
|
- self._formatter.output_format)
|
||||||
|
+ template_dir = os.path.join(srcdir, self._formatter.output_format)
|
||||||
|
|
||||||
|
return TemplateLookup(directories=[template_dir],
|
||||||
|
module_directory=tempfile.mkdtemp(),
|
||||||
|
--
|
||||||
|
2.37.3
|
||||||
|
|
@ -0,0 +1,31 @@
|
|||||||
|
From 60b0cf2fc2fdc74d13832d1fdde21cfdc813b84e Mon Sep 17 00:00:00 2001
|
||||||
|
From: Emmanuele Bassi <ebassi@gnome.org>
|
||||||
|
Date: Mon, 26 Apr 2021 10:59:52 +0100
|
||||||
|
Subject: [PATCH] scanner: Add more float types
|
||||||
|
|
||||||
|
The scanner is chocking on the `__float80` and `__float128` types that
|
||||||
|
are provided by GCC as extensions to ISO/IEC TS 18661-3:2015:
|
||||||
|
|
||||||
|
https://gcc.gnu.org/onlinedocs/gcc/Floating-Types.html
|
||||||
|
|
||||||
|
Fixes: #384
|
||||||
|
---
|
||||||
|
giscanner/scannerlexer.l | 2 ++
|
||||||
|
1 file changed, 2 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/giscanner/scannerlexer.l b/giscanner/scannerlexer.l
|
||||||
|
index cfec4d58..b6cc6499 100644
|
||||||
|
--- a/giscanner/scannerlexer.l
|
||||||
|
+++ b/giscanner/scannerlexer.l
|
||||||
|
@@ -224,6 +224,8 @@ stringtext ([^\\\"])|(\\.)
|
||||||
|
"_Float32x" { return BASIC_TYPE; }
|
||||||
|
"_Float64x" { return BASIC_TYPE; }
|
||||||
|
"_Float128x" { return BASIC_TYPE; }
|
||||||
|
+"__float80" { return BASIC_TYPE; }
|
||||||
|
+"__float128" { return BASIC_TYPE; }
|
||||||
|
"for" { return FOR; }
|
||||||
|
"goto" { return GOTO; }
|
||||||
|
"if" { return IF; }
|
||||||
|
--
|
||||||
|
2.31.1
|
||||||
|
|
@ -1,86 +0,0 @@
|
|||||||
From 171f1804dc76dfcc2857e809d49a2290b15612c4 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Simon McVittie <smcv@debian.org>
|
|
||||||
Date: Fri, 29 Dec 2023 16:15:10 +0000
|
|
||||||
Subject: [PATCH] girepository: Skip GIRepository versions not matching
|
|
||||||
GIRepository-2.0
|
|
||||||
|
|
||||||
A few applications such as gnome-music load the GIRepository typelib
|
|
||||||
and use it to adjust their search paths.
|
|
||||||
|
|
||||||
GLib 2.79.x now provides libgirepository-2.0.so.0 (GIRepository-3.0),
|
|
||||||
but each OS distribution is likely to have a transitional period during
|
|
||||||
which GLib's libgirepository-2.0.so.0 has become available, but bindings
|
|
||||||
like PyGI and gjs are still linked to gobject-introspection's
|
|
||||||
libgirepository-1.0.so.1 (GIRepository-2.0).
|
|
||||||
|
|
||||||
During this transitional period, interpreted languages that load the
|
|
||||||
GIRepository namespace could get the "wrong" version, which will result
|
|
||||||
in adjusting a search path that will not actually affect the language
|
|
||||||
binding's typelib lookup, and could also lead to symbol and type-system
|
|
||||||
conflicts.
|
|
||||||
|
|
||||||
We can avoid this collision by making GLib's GIRepository library refuse
|
|
||||||
to load versions of the GIRepository typelib that are not 3.0, and
|
|
||||||
similarly making gobject-introspection's GIRepository library refuse to
|
|
||||||
load typelib versions that are not 2.0. A relatively neat way to achieve
|
|
||||||
that is to make each version behave as if the other one doesn't exist.
|
|
||||||
|
|
||||||
Signed-off-by: Simon McVittie <smcv@debian.org>
|
|
||||||
---
|
|
||||||
girepository/girepository.c | 26 ++++++++++++++++++++++++++
|
|
||||||
1 file changed, 26 insertions(+)
|
|
||||||
|
|
||||||
diff --git a/girepository/girepository.c b/girepository/girepository.c
|
|
||||||
index a0754f456..12eaf366f 100644
|
|
||||||
--- a/girepository/girepository.c
|
|
||||||
+++ b/girepository/girepository.c
|
|
||||||
@@ -54,6 +54,13 @@
|
|
||||||
* and the g_irepository_prepend_search_path() calls.
|
|
||||||
*/
|
|
||||||
|
|
||||||
+/* The namespace and version corresponding to libgirepository itself, so
|
|
||||||
+ * that we can refuse to load typelibs corresponding to the newer,
|
|
||||||
+ * incompatible version of this same library in GLib. */
|
|
||||||
+#define GIREPOSITORY_TYPELIB_NAME "GIRepository"
|
|
||||||
+#define GIREPOSITORY_TYPELIB_VERSION "2.0"
|
|
||||||
+#define GIREPOSITORY_TYPELIB_FILENAME \
|
|
||||||
+ GIREPOSITORY_TYPELIB_NAME "-" GIREPOSITORY_TYPELIB_VERSION ".typelib"
|
|
||||||
|
|
||||||
static GIRepository *default_repository = NULL;
|
|
||||||
static GSList *typelib_search_path = NULL;
|
|
||||||
@@ -1255,6 +1262,16 @@ find_namespace_version (const gchar *namespace,
|
|
||||||
GMappedFile *mfile = NULL;
|
|
||||||
char *fname;
|
|
||||||
|
|
||||||
+ if (g_str_equal (namespace, GIREPOSITORY_TYPELIB_NAME) &&
|
|
||||||
+ !g_str_equal (version, GIREPOSITORY_TYPELIB_VERSION))
|
|
||||||
+ {
|
|
||||||
+ g_debug ("Ignoring %s-%s.typelib because this libgirepository "
|
|
||||||
+ "corresponds to %s-%s",
|
|
||||||
+ namespace, version,
|
|
||||||
+ namespace, GIREPOSITORY_TYPELIB_VERSION);
|
|
||||||
+ return NULL;
|
|
||||||
+ }
|
|
||||||
+
|
|
||||||
fname = g_strdup_printf ("%s-%s.typelib", namespace, version);
|
|
||||||
|
|
||||||
for (ldir = search_path; ldir; ldir = ldir->next)
|
|
||||||
@@ -1406,6 +1423,15 @@ enumerate_namespace_versions (const gchar *namespace,
|
|
||||||
const char *name_end;
|
|
||||||
int major, minor;
|
|
||||||
|
|
||||||
+ if (g_str_equal (namespace, GIREPOSITORY_TYPELIB_NAME) &&
|
|
||||||
+ !g_str_equal (entry, GIREPOSITORY_TYPELIB_FILENAME))
|
|
||||||
+ {
|
|
||||||
+ g_debug ("Ignoring %s because this libgirepository "
|
|
||||||
+ "corresponds to %s",
|
|
||||||
+ entry, GIREPOSITORY_TYPELIB_FILENAME);
|
|
||||||
+ continue;
|
|
||||||
+ }
|
|
||||||
+
|
|
||||||
name_end = strrchr (entry, '.');
|
|
||||||
last_dash = strrchr (entry, '-');
|
|
||||||
version = g_strndup (last_dash+1, name_end-(last_dash+1));
|
|
||||||
--
|
|
||||||
GitLab
|
|
||||||
|
|
@ -1,24 +0,0 @@
|
|||||||
diff -rU3 gobject-introspection-1.76.1-orig/giscanner/__init__.py gobject-introspection-1.76.1/giscanner/__init__.py
|
|
||||||
--- gobject-introspection-1.76.1-orig/giscanner/__init__.py 2023-03-22 23:43:34.000000000 +0100
|
|
||||||
+++ gobject-introspection-1.76.1/giscanner/__init__.py 2023-06-07 11:50:00.217226422 +0200
|
|
||||||
@@ -25,3 +25,8 @@
|
|
||||||
from ._version import __version__
|
|
||||||
except ImportError:
|
|
||||||
__version__ = '0.0.0'
|
|
||||||
+
|
|
||||||
+from . import gio_ast as ast
|
|
||||||
+
|
|
||||||
+import sys
|
|
||||||
+sys.modules['giscanner.ast'] = ast
|
|
||||||
diff -rU3 gobject-introspection-1.76.1-orig/giscanner/meson.build gobject-introspection-1.76.1/giscanner/meson.build
|
|
||||||
--- gobject-introspection-1.76.1-orig/giscanner/meson.build 2023-03-22 23:43:34.000000000 +0100
|
|
||||||
+++ gobject-introspection-1.76.1/giscanner/meson.build 2023-06-07 11:48:32.922732028 +0200
|
|
||||||
@@ -2,7 +2,7 @@
|
|
||||||
'__init__.py',
|
|
||||||
'annotationmain.py',
|
|
||||||
'annotationparser.py',
|
|
||||||
- 'ast.py',
|
|
||||||
+ 'gio_ast.py',
|
|
||||||
'cachestore.py',
|
|
||||||
'ccompiler.py',
|
|
||||||
'codegen.py',
|
|
Loading…
Reference in new issue