2018-09-29 16:23:10 +02:00
[ options ]
work_mode = "normal"
library = "OSTree"
version = "1.0"
2018-10-20 11:59:07 +02:00
target_path = ".."
2018-10-18 21:58:56 +02:00
doc_target_path = "../target/vendor.md"
2018-09-29 16:23:10 +02:00
deprecate_by_min_version = true
2019-05-17 18:54:48 +02:00
single_version_file = true
generate_display_trait = true
2018-09-29 16:23:10 +02:00
girs_dir = "../gir-files"
generate = [
2018-09-29 19:14:14 +02:00
"OSTree.AsyncProgress" ,
2019-05-18 21:44:00 +02:00
"OSTree.BootconfigParser" ,
2019-05-21 20:55:21 +02:00
"OSTree.ChecksumFlags" ,
2019-05-18 21:44:00 +02:00
"OSTree.Deployment" ,
"OSTree.DeploymentUnlockedState" ,
2019-05-21 20:55:21 +02:00
"OSTree.DiffFlags" ,
"OSTree.DiffItem" ,
"OSTree.GpgSignatureAttr" ,
2018-09-29 19:14:14 +02:00
"OSTree.GpgSignatureFormatFlags" ,
"OSTree.GpgVerifyResult" ,
2019-05-18 16:13:40 +02:00
"OSTree.MutableTree" ,
2018-09-29 16:23:10 +02:00
"OSTree.ObjectType" ,
2018-09-29 19:14:14 +02:00
"OSTree.Remote" ,
2019-05-31 21:56:44 +02:00
"OSTree.RepoCheckoutFilterResult" ,
2018-09-29 19:14:14 +02:00
"OSTree.RepoCheckoutMode" ,
"OSTree.RepoCheckoutOverwriteMode" ,
2019-06-13 21:54:15 +02:00
"OSTree.RepoCommitFilterResult" ,
"OSTree.RepoCommitFilter" ,
"OSTree.RepoCommitIterResult" ,
"OSTree.RepoCommitModifierFlags" ,
"OSTree.RepoCommitTraverseFlags" ,
2018-09-29 19:14:14 +02:00
"OSTree.RepoCommitModifier" ,
"OSTree.RepoCommitState" ,
"OSTree.RepoDevInoCache" ,
2019-05-18 17:18:11 +02:00
"OSTree.RepoFile" ,
2019-05-21 20:55:21 +02:00
"OSTree.RepoFinder" ,
2019-06-13 19:52:51 +02:00
"OSTree.RepoFinderAvahi" ,
"OSTree.RepoFinderConfig" ,
"OSTree.RepoFinderMount" ,
"OSTree.RepoFinderOverride" ,
2019-06-13 21:54:15 +02:00
"OSTree.RepoListObjectsFlags" ,
2019-05-18 16:13:40 +02:00
"OSTree.RepoListRefsExtFlags" ,
2018-09-29 19:14:14 +02:00
"OSTree.RepoMode" ,
"OSTree.RepoPruneFlags" ,
"OSTree.RepoPullFlags" ,
"OSTree.RepoRemoteChange" ,
"OSTree.RepoResolveRevExtFlags" ,
"OSTree.SePolicy" ,
"OSTree.SePolicyRestoreconFlags" ,
"OSTree.StaticDeltaGenerateOpt" ,
2019-05-18 21:44:00 +02:00
"OSTree.Sysroot" ,
"OSTree.SysrootSimpleWriteDeploymentFlags" ,
"OSTree.SysrootUpgrader" ,
"OSTree.SysrootUpgraderFlags" ,
"OSTree.SysrootUpgraderPullFlags" ,
2019-06-13 21:54:15 +02:00
2018-09-29 16:23:10 +02:00
]
2018-09-29 17:39:48 +02:00
manual = [
2019-06-13 21:54:15 +02:00
# types from glib/gio we need
2019-06-13 20:01:54 +02:00
"Gio.AsyncReadyCallback" ,
"Gio.AsyncResult" ,
2018-09-29 17:39:48 +02:00
"Gio.Cancellable" ,
"Gio.File" ,
2018-09-29 19:14:14 +02:00
"Gio.FileInfo" ,
"Gio.FileQueryInfoFlags" ,
2019-06-13 21:54:15 +02:00
"Gio.FilterInputStream" ,
2018-09-29 19:14:14 +02:00
"Gio.InputStream" ,
2019-06-13 20:01:54 +02:00
"Gio.VolumeMonitor" ,
2018-09-29 19:14:14 +02:00
"GLib.Bytes" ,
2019-06-13 21:54:15 +02:00
"GLib.Checksum" ,
"GLib.DestroyNotify" ,
2018-09-29 19:14:14 +02:00
"GLib.Error" ,
"GLib.KeyFile" ,
2019-06-13 20:01:54 +02:00
"GLib.MainContext" ,
"GLib.Quark" ,
2018-09-29 19:14:14 +02:00
"GLib.String" ,
"GLib.Variant" ,
2019-06-13 20:01:54 +02:00
"GLib.VariantType" ,
2019-05-26 19:18:12 +02:00
2019-06-13 21:54:15 +02:00
# types implemented by hand
2019-05-26 19:18:12 +02:00
"OSTree.RepoCheckoutAtOptions" ,
2019-06-13 19:52:51 +02:00
"OSTree.RepoCheckoutFilter" ,
]
ignore = [
2019-06-13 20:18:31 +02:00
# only used for the already-deprecated checkout_tree_at function
2019-06-13 19:52:51 +02:00
"OSTree.RepoCheckoutOptions" ,
2019-06-13 21:54:15 +02:00
# types for zero-terminated arrays we probably don't want
"OSTree.CollectionRefv" ,
"OSTree.RepoFinderResultv" ,
# not part of the public interface, as far as I can tell
"OSTree.Bootloader" ,
"OSTree.BootloaderGrub2" ,
"OSTree.BootloaderInterface" ,
"OSTree.BootloaderSyslinux" ,
"OSTree.BootloaderUboot" ,
"OSTree.ChecksumInputStream" ,
"OSTree.ChecksumInputStreamBuilder" ,
"OSTree.CmdPrivateVTable" ,
"OSTree.GpgVerifier" ,
"OSTree.LibarchiveInputStream" ,
"OSTree.LzmaCompressor" ,
"OSTree.LzmaDecompressor" ,
"OSTree.RollsumMatches" ,
# builders we don't want
"OSTree.RepoBuilder" ,
"OSTree.SysrootBuilder" ,
2018-09-29 17:39:48 +02:00
]
2019-05-21 00:08:26 +02:00
[ crate_name_overrides ]
os_tree = "ostree"
2018-10-20 13:03:31 +02:00
[ [ object ] ]
name = "OSTree.CollectionRef"
2019-05-21 19:38:30 +02:00
status = "generate"
2019-05-18 13:57:50 +02:00
[ [ object . function ] ]
# helper functions for NULL-terminated arrays
pattern = "dupv|freev"
ignore = true
2018-10-20 13:03:31 +02:00
[ [ object . function ] ]
2019-05-26 13:54:01 +02:00
# clone() should already be this
2019-05-18 13:57:50 +02:00
name = "dup"
2018-10-20 13:03:31 +02:00
ignore = true
2018-09-29 16:23:10 +02:00
[ [ object ] ]
name = "OSTree.Repo"
status = "generate"
[ [ object . function ] ]
2019-06-13 20:18:31 +02:00
# this one crashes gir, somehow
name = "write_metadata_async"
ignore = true
[ [ object . function ] ]
# this one generates a guchar** incorrectly
name = "write_content_async"
ignore = true
[ [ object . function ] ]
# these fail because of issues with zero-terminated arrays
pattern = "find_remotes_async|pull_from_remotes_async"
2019-05-21 20:55:21 +02:00
ignore = true
2019-05-26 14:12:55 +02:00
[ [ object . function ] ]
# this is deprecated and supposedly unsafe for GI
name = "checkout_tree_at"
ignore = true
2019-05-26 19:18:12 +02:00
[ [ object . function ] ]
# TODO: see which of these annotations I can upstream
name = "checkout_at"
[ [ object . function . parameter ] ]
name = "options"
const = true
[ [ object . function . parameter ] ]
name = "destination_path"
string_type = "filename"
2019-05-21 20:55:21 +02:00
[ [ object ] ]
name = "OSTree.RepoFinderResult"
status = "generate"
[ [ object . function ] ]
2019-05-26 13:54:01 +02:00
# array helper function
2019-05-21 20:55:21 +02:00
name = "freev"
ignore = true
[ [ object . function ] ]
2019-05-26 13:54:01 +02:00
# clone() should already be this
2019-05-21 20:55:21 +02:00
name = "dup"
2018-09-29 17:39:48 +02:00
ignore = true
2018-09-29 19:14:14 +02:00
2019-06-28 20:28:21 +02:00
[ [ object ] ]
name = "OSTree.RepoTransactionStats"
status = "generate"
init_function_expression = "|_ptr| ()"
clear_function_expression = "|_ptr| ()"
2018-09-30 15:17:26 +02:00
[ [ object ] ]
name = "OSTree.*"
status = "generate"
[ [ object . function ] ]
2019-05-18 17:26:30 +02:00
# both too low-level to be generated safely
2018-09-30 15:17:26 +02:00
pattern = "cmp_checksum_bytes|checksum_inplace_to_bytes"
ignore = true
2019-05-16 19:44:58 +02:00
[ [ object . constant ] ]
2019-05-18 17:26:30 +02:00
# version-dependent constants
2019-05-16 19:44:58 +02:00
pattern = "VERSION|VERSION_S|YEAR_VERSION|RELEASE_VERSION"
ignore = true