1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
3 NAMEBASE= gobject-introspection
7 SDESC[standard]= Introspection data generator for GObject libraries
8 HOMEPAGE= http://live.gnome.org/GObjectIntrospection
12 SITES[main]= GNOME/gobject-introspection/1.78
13 DISTFILE[1]= gobject-introspection-1.78.1.tar.xz:main
16 SPKGS[standard]= complete
21 OPTIONS_AVAILABLE= CAIRO
22 OPTIONS_STANDARD= CAIRO
25 BUILDRUN_DEPENDS= python-setuptools:single:python_used
27 USES= bison meson pkgconfig shebangfix
28 GNOME_COMPONENTS= glib
30 LICENSE= GPLv2+:primary LGPL21+:primary
31 LICENSE_TERMS= primary:{{WRKSRC}}/COPYING
32 LICENSE_FILE= GPLv2+:{{WRKSRC}}/COPYING.GPL
33 LGPL21+:{{WRKSRC}}/COPYING.LGPL
36 FPC_EQUIVALENT= devel/gobject-introspection
37 MESON_ARGS= -Dpython={{PYTHON_CMD}}
40 INSTALL_TARGET= install-strip
42 [CAIRO].DESCRIPTION= Include cairo for tests
43 [CAIRO].CONFIGURE_ARGS_OFF= -Dcairo=disabled
44 [CAIRO].GNOME_COMPONENTS_ON= cairo
47 # remove artifacts from doctemplates fix
48 ${FIND} ${STAGEDIR}${PREFIX}/lib/gobject-introspection/giscanner/doctemplates \
49 -type f -name "meson.build*" -delete
52 ${REINPLACE_CMD} -e 's|%%PYTHON_CMD%%|${PYTHON_CMD}|' \
53 ${WRKSRC}/tools/meson.build
55 [FILE:364:descriptions/desc.primary]
56 GObject Introspection is a project for providing machine readable
57 introspection data of the API of C libraries. This introspection data can
58 be used in several different use cases, for example automatic code
59 generation for bindings, API verification and documentation generation.
61 GObject Introspection contains tools to generate and handle the
66 bd7babd99af7258e76819e45ba4a6bc399608fe762d83fde3cac033c50841bb4 1060296 gnome3/gobject-introspection-1.78.1.tar.xz
69 [FILE:3471:manifests/plist.primary]
70 %%ONLY-DRAGONFLY%%lib/gobject-introspection/giscanner/_giscanner.cpython-%%PYTHON_SUFFIX%%%%PYTHON_ABIVER%%.so
71 %%ONLY-FREEBSD%%lib/gobject-introspection/giscanner/_giscanner.cpython-%%PYTHON_SUFFIX%%%%PYTHON_ABIVER%%.so
72 %%ONLY-LINUX%%lib/gobject-introspection/giscanner/_giscanner.cpython-%%PYTHON_SUFFIX%%%%PYTHON_ABIVER%%-x86_64-linux-gnu.so
73 %%ONLY-MIDNIGHTBSD%%lib/gobject-introspection/giscanner/_giscanner.cpython-%%PYTHON_SUFFIX%%%%PYTHON_ABIVER%%.so
74 %%ONLY-NETBSD%%lib/gobject-introspection/giscanner/_giscanner.cpython-%%PYTHON_SUFFIX%%%%PYTHON_ABIVER%%.so
75 %%ONLY-SUNOS%%lib/gobject-introspection/giscanner/_giscanner.cpython-%%PYTHON_SUFFIX%%%%PYTHON_ABIVER%%.so
83 libgirepository-1.0.so.1
84 libgirepository-1.0.so.1.0.0
88 GIRepository-2.0.typelib
96 fontconfig-2.0.typelib
104 lib/gobject-introspection/giscanner/
119 introspectablepass.py
133 lib/gobject-introspection/giscanner/doctemplates/devdocs/Gjs/
151 lib/gobject-introspection/giscanner/doctemplates/mallard/
155 lib/gobject-introspection/giscanner/doctemplates/mallard/C/
170 lib/gobject-introspection/giscanner/doctemplates/mallard/Gjs/
185 lib/gobject-introspection/giscanner/doctemplates/mallard/Python/
220 share/gobject-introspection-1.0/
221 Makefile.introspection
223 share/gobject-introspection-1.0/tests/
243 [FILE:523:manifests/plist.dev]
244 include/gobject-introspection-1.0/
255 giregisteredtypeinfo.h
267 lib/libgirepository-1.0.so
269 gobject-introspection-1.0.pc
270 gobject-introspection-no-export-1.0.pc
271 share/aclocal/introspection.m4
274 [FILE:95:manifests/plist.man]
282 [FILE:477:patches/patch-giscanner_ccompiler.py]
283 --- giscanner/ccompiler.py.orig 2023-09-08 14:18:21 UTC
284 +++ giscanner/ccompiler.py
285 @@ -232,7 +232,7 @@ class CCompiler(object):
287 # Ensure libraries are always linked as we are going to use ldd to work
288 # out their names later
289 - if sys.platform != 'darwin':
290 + if sys.platform != 'darwin' and sys.platform != 'sunos5':
291 args.append('-Wl,--no-as-needed')
293 for library_path in libpaths:
296 [FILE:706:patches/patch-giscanner_scannerlexer.l]
297 Add missing TLS keyword - __thread (clang/gcc extension)
299 To unbreak scanner on headers like <sys/errno.h> and <runetype.h>:
300 /usr/include/runetype.h:94: syntax error, unexpected '{', expecting ',' or ';' in '{' at '{
302 --- giscanner/scannerlexer.l.orig 2023-09-08 14:18:21 UTC
303 +++ giscanner/scannerlexer.l
304 @@ -178,6 +178,7 @@ stringtext ([^\\\"])|(\\.)
305 "__pragma" { if (!parse_ignored_macro()) REJECT; }
306 "__restrict" { return RESTRICT; }
307 "__restrict__" { return RESTRICT; }
308 +"__thread" { return THREAD_LOCAL; }
309 "thread_local" { return THREAD_LOCAL; }
310 "_Thread_local" { return THREAD_LOCAL; }
311 "__typeof__" { if (parse_ignored_macro()) return VOID; else REJECT; }
314 [FILE:419:patches/patch-tools_meson.build]
315 --- tools/meson.build.orig 2023-09-08 14:18:21 UTC
316 +++ tools/meson.build
317 @@ -9,11 +9,7 @@ if with_doctool
318 tools += [['g-ir-doc-tool', 'docmain', 'doc_main']]
321 -if cc.get_id() == 'msvc'
322 - python_cmd = '/usr/bin/env ' + python.path()
324 - python_cmd = '/usr/bin/env python@0@'.format(python.language_version().split('.')[0])
326 +python_cmd = '%%PYTHON_CMD%%'