Ravenports generated: 22 Sep 2023 21:25
[ravenports.git] / bucket_52 / gobject-introspection
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               gobject-introspection
4 VERSION=                1.78.1
5 KEYWORDS=               devel
6 VARIANTS=               standard
7 SDESC[standard]=        Introspection data generator for GObject libraries
8 HOMEPAGE=               http://live.gnome.org/GObjectIntrospection
9 CONTACT=                nobody
10
11 DOWNLOAD_GROUPS=        main
12 SITES[main]=            GNOME/gobject-introspection/1.78
13 DISTFILE[1]=            gobject-introspection-1.78.1.tar.xz:main
14 DIST_SUBDIR=            gnome3
15 DF_INDEX=               1
16 SPKGS[standard]=        complete
17                         primary
18                         dev
19                         man
20
21 OPTIONS_AVAILABLE=      CAIRO
22 OPTIONS_STANDARD=       CAIRO
23 OPT_ON[all]=            CAIRO
24
25 BUILDRUN_DEPENDS=       libffi:single:standard
26
27 USES=                   bison meson pkgconfig shebangfix python
28 GNOME_COMPONENTS=       glib
29
30 LICENSE=                GPLv2+:primary LGPL21+:primary
31 LICENSE_TERMS=          primary:{{WRKSRC}}/COPYING
32 LICENSE_FILE=           GPLv2+:{{WRKSRC}}/COPYING.GPL
33                         LGPL21+:{{WRKSRC}}/COPYING.LGPL
34 LICENSE_SCHEME=         multi
35
36 FPC_EQUIVALENT=         devel/gobject-introspection
37 MESON_ARGS=             -Dpython={{PYTHON_CMD}}
38                         -Ddoctool=disabled
39
40 INSTALL_TARGET=         install-strip
41
42 [CAIRO].DESCRIPTION=                    Include cairo for tests
43 [CAIRO].CONFIGURE_ARGS_OFF=             -Dcairo=disabled
44 [CAIRO].GNOME_COMPONENTS_ON=            cairo
45
46 post-install:
47         # remove artifacts from doctemplates fix
48         ${FIND} ${STAGEDIR}${PREFIX}/lib/gobject-introspection/giscanner/doctemplates \
49                 -type f -name "meson.build*" -delete
50
51 pre-configure:
52         ${REINPLACE_CMD} -e 's|%%PYTHON_CMD%%|${PYTHON_CMD}|' \
53                 ${WRKSRC}/tools/meson.build
54
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.
60
61 GObject Introspection contains tools to generate and handle the
62 introspection data.
63
64
65 [FILE:121:distinfo]
66 bd7babd99af7258e76819e45ba4a6bc399608fe762d83fde3cac033c50841bb4      1060296 gnome3/gobject-introspection-1.78.1.tar.xz
67
68
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
76 bin/
77  g-ir-annotation-tool
78  g-ir-compiler
79  g-ir-generate
80  g-ir-inspect
81  g-ir-scanner
82 lib/
83  libgirepository-1.0.so.1
84  libgirepository-1.0.so.1.0.0
85 lib/girepository-1.0/
86  DBus-1.0.typelib
87  DBusGLib-1.0.typelib
88  GIRepository-2.0.typelib
89  GL-1.0.typelib
90  GLib-2.0.typelib
91  GModule-2.0.typelib
92  GObject-2.0.typelib
93  Gio-2.0.typelib
94  Vulkan-1.0.typelib
95  cairo-1.0.typelib
96  fontconfig-2.0.typelib
97  freetype2-2.0.typelib
98  libxml2-2.0.typelib
99  win32-1.0.typelib
100  xfixes-4.0.typelib
101  xft-2.0.typelib
102  xlib-2.0.typelib
103  xrandr-1.3.typelib
104 lib/gobject-introspection/giscanner/
105  __init__.py
106  _version.py
107  annotationmain.py
108  annotationparser.py
109  ast.py
110  cachestore.py
111  ccompiler.py
112  codegen.py
113  docmain.py
114  docwriter.py
115  dumper.py
116  gdumpparser.py
117  girparser.py
118  girwriter.py
119  introspectablepass.py
120  maintransformer.py
121  mdextensions.py
122  message.py
123  msvccompiler.py
124  pkgconfig.py
125  scannermain.py
126  sectionparser.py
127  shlibs.py
128  sourcescanner.py
129  testcodegen.py
130  transformer.py
131  utils.py
132  xmlwriter.py
133 lib/gobject-introspection/giscanner/doctemplates/devdocs/Gjs/
134  _doc.tmpl
135  _index.tmpl
136  _method.tmpl
137  _methods.tmpl
138  _properties.tmpl
139  _signals.tmpl
140  _staticmethods.tmpl
141  _vfuncs.tmpl
142  base.tmpl
143  callback.tmpl
144  class.tmpl
145  default.tmpl
146  enum.tmpl
147  function.tmpl
148  interface.tmpl
149  method.tmpl
150  namespace.tmpl
151 lib/gobject-introspection/giscanner/doctemplates/mallard/
152  base.tmpl
153  class.tmpl
154  namespace.tmpl
155 lib/gobject-introspection/giscanner/doctemplates/mallard/C/
156  callback.tmpl
157  class.tmpl
158  constructor.tmpl
159  default.tmpl
160  enum.tmpl
161  field.tmpl
162  function.tmpl
163  interface.tmpl
164  method.tmpl
165  namespace.tmpl
166  property.tmpl
167  record.tmpl
168  signal.tmpl
169  vfunc.tmpl
170 lib/gobject-introspection/giscanner/doctemplates/mallard/Gjs/
171  callback.tmpl
172  class.tmpl
173  constructor.tmpl
174  default.tmpl
175  enum.tmpl
176  field.tmpl
177  function.tmpl
178  interface.tmpl
179  method.tmpl
180  namespace.tmpl
181  property.tmpl
182  record.tmpl
183  signal.tmpl
184  vfunc.tmpl
185 lib/gobject-introspection/giscanner/doctemplates/mallard/Python/
186  callback.tmpl
187  class.tmpl
188  constructor.tmpl
189  default.tmpl
190  enum.tmpl
191  field.tmpl
192  function.tmpl
193  interface.tmpl
194  method.tmpl
195  namespace.tmpl
196  property.tmpl
197  record.tmpl
198  signal.tmpl
199  vfunc.tmpl
200 share/gir-1.0/
201  DBus-1.0.gir
202  DBusGLib-1.0.gir
203  GIRepository-2.0.gir
204  GL-1.0.gir
205  GLib-2.0.gir
206  GModule-2.0.gir
207  GObject-2.0.gir
208  Gio-2.0.gir
209  Vulkan-1.0.gir
210  cairo-1.0.gir
211  fontconfig-2.0.gir
212  freetype2-2.0.gir
213  gir-1.2.rnc
214  libxml2-2.0.gir
215  win32-1.0.gir
216  xfixes-4.0.gir
217  xft-2.0.gir
218  xlib-2.0.gir
219  xrandr-1.3.gir
220 share/gobject-introspection-1.0/
221  Makefile.introspection
222  gdump.c
223 share/gobject-introspection-1.0/tests/
224  annotation.c
225  annotation.h
226  drawable.c
227  drawable.h
228  everything.c
229  everything.h
230  foo.c
231  foo.h
232  gimarshallingtests.c
233  gimarshallingtests.h
234  gitestmacros.h
235  regress.c
236  regress.h
237  utility.c
238  utility.h
239  warnlib.c
240  warnlib.h
241
242
243 [FILE:523:manifests/plist.dev]
244 include/gobject-introspection-1.0/
245  giarginfo.h
246  gibaseinfo.h
247  gicallableinfo.h
248  giconstantinfo.h
249  gienuminfo.h
250  gifieldinfo.h
251  gifunctioninfo.h
252  giinterfaceinfo.h
253  giobjectinfo.h
254  gipropertyinfo.h
255  giregisteredtypeinfo.h
256  girepository.h
257  girffi.h
258  gisignalinfo.h
259  gistructinfo.h
260  gitypeinfo.h
261  gitypelib.h
262  gitypes.h
263  giunioninfo.h
264  giversion.h
265  giversionmacros.h
266  givfuncinfo.h
267 lib/libgirepository-1.0.so
268 lib/pkgconfig/
269  gobject-introspection-1.0.pc
270  gobject-introspection-no-export-1.0.pc
271 share/aclocal/introspection.m4
272
273
274 [FILE:95:manifests/plist.man]
275 share/man/man1/
276  g-ir-compiler.1.gz
277  g-ir-doc-tool.1.gz
278  g-ir-generate.1.gz
279  g-ir-scanner.1.gz
280
281
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):
286  
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')
292  
293          for library_path in libpaths:
294
295
296 [FILE:706:patches/patch-giscanner_scannerlexer.l]
297 Add missing TLS keyword - __thread (clang/gcc extension)
298
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 '{
301
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; }
312
313
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']]
319  endif
320  
321 -if cc.get_id() == 'msvc'
322 -  python_cmd = '/usr/bin/env ' + python.path()
323 -else
324 -  python_cmd = '/usr/bin/env python@0@'.format(python.language_version().split('.')[0])
325 -endif
326 +python_cmd = '%%PYTHON_CMD%%'
327  
328  tool_output = []
329  foreach tool : tools
330