# Buildsheet autogenerated by ravenadm tool -- Do not edit. NAMEBASE= gobject-introspection VERSION= 1.80.1 KEYWORDS= devel VARIANTS= standard SDESC[standard]= Introspection data generator for GObject libraries HOMEPAGE= http://live.gnome.org/GObjectIntrospection CONTACT= nobody DOWNLOAD_GROUPS= main SITES[main]= GNOME/gobject-introspection/1.80 DISTFILE[1]= gobject-introspection-1.80.1.tar.xz:main DIST_SUBDIR= gnome3 DF_INDEX= 1 SPKGS[standard]= complete primary dev man OPTIONS_AVAILABLE= CAIRO OPTIONS_STANDARD= CAIRO OPT_ON[all]= CAIRO BUILDRUN_DEPENDS= python-setuptools:single:python_used USES= bison meson pkgconfig shebangfix GNOME_COMPONENTS= glib LICENSE= GPLv2+:primary LGPL21+:primary LICENSE_TERMS= primary:{{WRKSRC}}/COPYING LICENSE_FILE= GPLv2+:{{WRKSRC}}/COPYING.GPL LGPL21+:{{WRKSRC}}/COPYING.LGPL LICENSE_SCHEME= multi FPC_EQUIVALENT= devel/gobject-introspection MESON_ARGS= -Dpython={{PYTHON_CMD}} -Ddoctool=disabled -Dbuild_introspection_data=true INSTALL_TARGET= install-strip [CAIRO].DESCRIPTION= Include cairo for tests [CAIRO].CONFIGURE_ARGS_OFF= -Dcairo=disabled [CAIRO].GNOME_COMPONENTS_ON= cairo post-install: # remove artifacts from doctemplates fix ${FIND} ${STAGEDIR}${PREFIX}/lib/gobject-introspection/giscanner/doctemplates \ -type f -name "meson.build*" -delete .for base in GLib GModule GObject Gio ${INSTALL_DATA} ${WRKSRC}/${MESON_BUILD_DIR}/gir/${base}-2.0.typelib \ ${STAGEDIR}${PREFIX}/lib/girepository-1.0/ ${INSTALL_DATA} ${WRKSRC}/${MESON_BUILD_DIR}/gir/${base}-2.0.gir \ ${STAGEDIR}${PREFIX}/share/gir-1.0/ .endfor pre-configure: ${REINPLACE_CMD} -e 's|%%PYTHON_CMD%%|${PYTHON_CMD}|' \ ${WRKSRC}/tools/meson.build [FILE:364:descriptions/desc.primary] GObject Introspection is a project for providing machine readable introspection data of the API of C libraries. This introspection data can be used in several different use cases, for example automatic code generation for bindings, API verification and documentation generation. GObject Introspection contains tools to generate and handle the introspection data. [FILE:121:distinfo] a1df7c424e15bda1ab639c00e9051b9adf5cea1a9e512f8a603b53cd199bc6d8 1040228 gnome3/gobject-introspection-1.80.1.tar.xz [FILE:3471:manifests/plist.primary] %%ONLY-DRAGONFLY%%lib/gobject-introspection/giscanner/_giscanner.cpython-%%PYTHON_SUFFIX%%%%PYTHON_ABIVER%%.so %%ONLY-FREEBSD%%lib/gobject-introspection/giscanner/_giscanner.cpython-%%PYTHON_SUFFIX%%%%PYTHON_ABIVER%%.so %%ONLY-LINUX%%lib/gobject-introspection/giscanner/_giscanner.cpython-%%PYTHON_SUFFIX%%%%PYTHON_ABIVER%%-x86_64-linux-gnu.so %%ONLY-MIDNIGHTBSD%%lib/gobject-introspection/giscanner/_giscanner.cpython-%%PYTHON_SUFFIX%%%%PYTHON_ABIVER%%.so %%ONLY-NETBSD%%lib/gobject-introspection/giscanner/_giscanner.cpython-%%PYTHON_SUFFIX%%%%PYTHON_ABIVER%%.so %%ONLY-SUNOS%%lib/gobject-introspection/giscanner/_giscanner.cpython-%%PYTHON_SUFFIX%%%%PYTHON_ABIVER%%.so bin/ g-ir-annotation-tool g-ir-compiler g-ir-generate g-ir-inspect g-ir-scanner lib/ libgirepository-1.0.so.1 libgirepository-1.0.so.1.0.0 lib/girepository-1.0/ DBus-1.0.typelib DBusGLib-1.0.typelib GIRepository-2.0.typelib GL-1.0.typelib GLib-2.0.typelib GModule-2.0.typelib GObject-2.0.typelib Gio-2.0.typelib Vulkan-1.0.typelib cairo-1.0.typelib fontconfig-2.0.typelib freetype2-2.0.typelib libxml2-2.0.typelib win32-1.0.typelib xfixes-4.0.typelib xft-2.0.typelib xlib-2.0.typelib xrandr-1.3.typelib lib/gobject-introspection/giscanner/ __init__.py _version.py annotationmain.py annotationparser.py ast.py cachestore.py ccompiler.py codegen.py docmain.py docwriter.py dumper.py gdumpparser.py girparser.py girwriter.py introspectablepass.py maintransformer.py mdextensions.py message.py msvccompiler.py pkgconfig.py scannermain.py sectionparser.py shlibs.py sourcescanner.py testcodegen.py transformer.py utils.py xmlwriter.py lib/gobject-introspection/giscanner/doctemplates/devdocs/Gjs/ _doc.tmpl _index.tmpl _method.tmpl _methods.tmpl _properties.tmpl _signals.tmpl _staticmethods.tmpl _vfuncs.tmpl base.tmpl callback.tmpl class.tmpl default.tmpl enum.tmpl function.tmpl interface.tmpl method.tmpl namespace.tmpl lib/gobject-introspection/giscanner/doctemplates/mallard/ base.tmpl class.tmpl namespace.tmpl lib/gobject-introspection/giscanner/doctemplates/mallard/C/ callback.tmpl class.tmpl constructor.tmpl default.tmpl enum.tmpl field.tmpl function.tmpl interface.tmpl method.tmpl namespace.tmpl property.tmpl record.tmpl signal.tmpl vfunc.tmpl lib/gobject-introspection/giscanner/doctemplates/mallard/Gjs/ callback.tmpl class.tmpl constructor.tmpl default.tmpl enum.tmpl field.tmpl function.tmpl interface.tmpl method.tmpl namespace.tmpl property.tmpl record.tmpl signal.tmpl vfunc.tmpl lib/gobject-introspection/giscanner/doctemplates/mallard/Python/ callback.tmpl class.tmpl constructor.tmpl default.tmpl enum.tmpl field.tmpl function.tmpl interface.tmpl method.tmpl namespace.tmpl property.tmpl record.tmpl signal.tmpl vfunc.tmpl share/gir-1.0/ DBus-1.0.gir DBusGLib-1.0.gir GIRepository-2.0.gir GL-1.0.gir GLib-2.0.gir GModule-2.0.gir GObject-2.0.gir Gio-2.0.gir Vulkan-1.0.gir cairo-1.0.gir fontconfig-2.0.gir freetype2-2.0.gir gir-1.2.rnc libxml2-2.0.gir win32-1.0.gir xfixes-4.0.gir xft-2.0.gir xlib-2.0.gir xrandr-1.3.gir share/gobject-introspection-1.0/ Makefile.introspection gdump.c share/gobject-introspection-1.0/tests/ annotation.c annotation.h drawable.c drawable.h everything.c everything.h foo.c foo.h gimarshallingtests.c gimarshallingtests.h gitestmacros.h regress.c regress.h utility.c utility.h warnlib.c warnlib.h [FILE:523:manifests/plist.dev] include/gobject-introspection-1.0/ giarginfo.h gibaseinfo.h gicallableinfo.h giconstantinfo.h gienuminfo.h gifieldinfo.h gifunctioninfo.h giinterfaceinfo.h giobjectinfo.h gipropertyinfo.h giregisteredtypeinfo.h girepository.h girffi.h gisignalinfo.h gistructinfo.h gitypeinfo.h gitypelib.h gitypes.h giunioninfo.h giversion.h giversionmacros.h givfuncinfo.h lib/libgirepository-1.0.so lib/pkgconfig/ gobject-introspection-1.0.pc gobject-introspection-no-export-1.0.pc share/aclocal/introspection.m4 [FILE:95:manifests/plist.man] share/man/man1/ g-ir-compiler.1.gz g-ir-doc-tool.1.gz g-ir-generate.1.gz g-ir-scanner.1.gz [FILE:477:patches/patch-giscanner_ccompiler.py] --- giscanner/ccompiler.py.orig 2024-03-09 18:23:06 UTC +++ giscanner/ccompiler.py @@ -232,7 +232,7 @@ class CCompiler(object): # Ensure libraries are always linked as we are going to use ldd to work # out their names later - if sys.platform != 'darwin': + if sys.platform != 'darwin' and sys.platform != 'sunos5': args.append('-Wl,--no-as-needed') for library_path in libpaths: [FILE:706:patches/patch-giscanner_scannerlexer.l] Add missing TLS keyword - __thread (clang/gcc extension) To unbreak scanner on headers like and : /usr/include/runetype.h:94: syntax error, unexpected '{', expecting ',' or ';' in '{' at '{ --- giscanner/scannerlexer.l.orig 2024-03-09 18:23:06 UTC +++ giscanner/scannerlexer.l @@ -178,6 +178,7 @@ stringtext ([^\\\"])|(\\.) "__pragma" { if (!parse_ignored_macro()) REJECT; } "__restrict" { return RESTRICT; } "__restrict__" { return RESTRICT; } +"__thread" { return THREAD_LOCAL; } "thread_local" { return THREAD_LOCAL; } "_Thread_local" { return THREAD_LOCAL; } "__typeof__" { if (parse_ignored_macro()) return VOID; else REJECT; } [FILE:419:patches/patch-tools_meson.build] --- tools/meson.build.orig 2024-03-09 18:23:06 UTC +++ tools/meson.build @@ -9,11 +9,7 @@ if with_doctool tools += [['g-ir-doc-tool', 'docmain', 'doc_main']] endif -if cc.get_id() == 'msvc' - python_cmd = '/usr/bin/env ' + python.path() -else - python_cmd = '/usr/bin/env python@0@'.format(python.language_version().split('.')[0]) -endif +python_cmd = '%%PYTHON_CMD%%' tool_output = [] foreach tool : tools