Commit Graph

7 Commits

Author SHA1 Message Date
Richard Hughes
17957ebf13 Ensure the _get_type() gets the same ABI version as the constructor
This was also causing the _get_type() symbol to be ignored for objects without
any class methods except constructors.
2019-11-23 12:59:47 +00:00
Richard Hughes
749b50f3d1 trivial: Fix the version script to pick up boxed types
This matches what we use in libxmlb.
2019-06-28 08:28:12 +01:00
Richard Hughes
e7026b41cd trivial: Correctly order the map entries according to vercmp rules 2019-06-28 08:28:12 +01:00
Richard Hughes
89e2fda459 trivial: Fix pylint issue in the version script 2019-06-28 08:28:12 +01:00
Richard Hughes
70c9ab0288 Do not use /usr/bin/env in the shebang line
According to Fedora policy env must not be used as it could be overridden by
values in the PATH.

For details, https://fedoraproject.org/wiki/Packaging:Guidelines#Shebang_lines
2018-07-12 07:08:53 -05:00
Mario Limonciello
51308e648a Adjust all licensing to LGPL 2.1+ (Closes: #526) 2018-05-29 09:03:13 +01:00
Richard Hughes
d727929327 Generate the LD script from the GObject Introspection data
Also, we now verify the version script is correct each time we run the tests;
the consequences of getting the version script wrong are terribly bad.

Note, we can't actually use generated .map file for two reasons:

  1. We don't hard depend on GObject Introspection
  2. The map file is required to build the lib that the GIR is built from

To avoid the circular dep, and to ensure we don't change exported API
accidentaly actually check in a version of the version script to git.
2017-09-28 09:23:52 +01:00