2018-09-29 17:23:10 +03:00
[ options ]
work_mode = "normal"
library = "OSTree"
version = "1.0"
2018-10-20 12:59:07 +03:00
target_path = ".."
2018-10-18 22:58:56 +03:00
doc_target_path = "../target/vendor.md"
2018-09-29 17:23:10 +03:00
deprecate_by_min_version = true
2019-05-17 19:54:48 +03:00
single_version_file = true
generate_display_trait = true
2018-09-29 17:23:10 +03:00
girs_dir = "../gir-files"
generate = [
2018-09-29 20:14:14 +03:00
"OSTree.AsyncProgress" ,
2019-05-18 22:44:00 +03:00
"OSTree.BootconfigParser" ,
"OSTree.Deployment" ,
"OSTree.DeploymentUnlockedState" ,
2018-09-29 20:14:14 +03:00
"OSTree.GpgSignatureFormatFlags" ,
"OSTree.GpgVerifyResult" ,
2019-05-18 17:13:40 +03:00
"OSTree.MutableTree" ,
2018-09-29 17:23:10 +03:00
"OSTree.ObjectType" ,
2018-09-29 20:14:14 +03:00
"OSTree.Remote" ,
"OSTree.RepoCheckoutMode" ,
"OSTree.RepoCheckoutOverwriteMode" ,
"OSTree.RepoCommitModifier" ,
"OSTree.RepoCommitState" ,
"OSTree.RepoDevInoCache" ,
2019-05-18 18:18:11 +03:00
"OSTree.RepoFile" ,
2019-05-18 17:13:40 +03:00
"OSTree.RepoListRefsExtFlags" ,
2018-09-29 20:14:14 +03:00
"OSTree.RepoMode" ,
"OSTree.RepoPruneFlags" ,
"OSTree.RepoPullFlags" ,
"OSTree.RepoRemoteChange" ,
"OSTree.RepoResolveRevExtFlags" ,
"OSTree.RepoTransactionStats" ,
"OSTree.SePolicy" ,
"OSTree.SePolicyRestoreconFlags" ,
"OSTree.StaticDeltaGenerateOpt" ,
2019-05-18 22:44:00 +03:00
"OSTree.Sysroot" ,
"OSTree.SysrootSimpleWriteDeploymentFlags" ,
"OSTree.SysrootUpgrader" ,
"OSTree.SysrootUpgraderFlags" ,
"OSTree.SysrootUpgraderPullFlags" ,
2018-09-29 20:14:14 +03:00
#"OSTree.RepoPruneOptions",
#"OSTree.RepoExportArchiveOptions",
#"OSTree.RepoCheckoutOptions",
#"OSTree.RepoCheckoutAtOptions",
2018-09-29 17:23:10 +03:00
]
2018-09-29 18:39:48 +03:00
manual = [
"Gio.Cancellable" ,
"Gio.File" ,
2018-09-29 20:14:14 +03:00
"Gio.FileInfo" ,
"Gio.FileQueryInfoFlags" ,
"Gio.InputStream" ,
"GLib.Bytes" ,
"GLib.Error" ,
"GLib.KeyFile" ,
"GLib.String" ,
"GLib.Variant" ,
2018-09-29 18:39:48 +03:00
]
2019-05-21 01:08:26 +03:00
[ crate_name_overrides ]
os_tree = "ostree"
2018-10-20 14:03:31 +03:00
[ [ object ] ]
name = "OSTree.CollectionRef"
2019-05-18 14:57:50 +03:00
status = "manual"
2019-05-18 18:26:30 +03:00
# for reference: the settings used to generate the hand-tuned implementation
2019-05-18 14:57:50 +03:00
[ [ object . function ] ]
# helper functions for NULL-terminated arrays
pattern = "dupv|freev"
ignore = true
2018-10-20 14:03:31 +03:00
[ [ object . function ] ]
2019-05-18 18:26:30 +03:00
# we get this for free, I think?
2019-05-18 14:57:50 +03:00
name = "dup"
2018-10-20 14:03:31 +03:00
ignore = true
2018-09-29 17:23:10 +03:00
[ [ object ] ]
name = "OSTree.Repo"
status = "generate"
[ [ object . function ] ]
2019-05-18 17:13:40 +03:00
# not sure what's wrong with this method; might be a gir issue
name = "write_metadata_async"
2018-09-29 20:14:14 +03:00
ignore = true
2018-09-29 18:39:48 +03:00
[ [ object . function ] ]
2019-05-18 18:26:30 +03:00
# async generates bad code (for now?); revisit with newer gir
2019-05-18 17:13:40 +03:00
pattern = ".+_async"
2018-09-29 18:39:48 +03:00
ignore = true
2018-09-29 20:14:14 +03:00
2018-09-30 16:17:26 +03:00
[ [ object ] ]
name = "OSTree.*"
status = "generate"
[ [ object . function ] ]
2019-05-18 18:26:30 +03:00
# both too low-level to be generated safely
2018-09-30 16:17:26 +03:00
pattern = "cmp_checksum_bytes|checksum_inplace_to_bytes"
ignore = true
2019-05-16 20:44:58 +03:00
[ [ object . constant ] ]
2019-05-18 18:26:30 +03:00
# version-dependent constants
2019-05-16 20:44:58 +03:00
pattern = "VERSION|VERSION_S|YEAR_VERSION|RELEASE_VERSION"
ignore = true