Update OSTree gir and regenerate
This commit is contained in:
1 parent
91df5067a5
commit
3fa9378a5e
16 files changed
+475
-83
No files matched your search
@@ -316,6 +316,7 @@ const RUST_CONSTANTS: &[(&str, &str)] = &[
|
||||
("OSTREE_GPG_SIGNATURE_FORMAT_DEFAULT", "0"),
|
||||
("OSTREE_MAX_METADATA_SIZE", "10485760"),
|
||||
("OSTREE_MAX_METADATA_WARN_SIZE", "7340032"),
|
||||
("OSTREE_META_KEY_DEPLOY_COLLECTION_ID", "ostree.deploy-collection-id"),
|
||||
("OSTREE_OBJECT_TYPE_COMMIT", "4"),
|
||||
("OSTREE_OBJECT_TYPE_COMMIT_META", "6"),
|
||||
("OSTREE_OBJECT_TYPE_DIR_META", "3"),
|
||||
@@ -353,6 +354,7 @@ const RUST_CONSTANTS: &[(&str, &str)] = &[
|
||||
("OSTREE_REPO_LIST_OBJECTS_NO_PARENTS", "8"),
|
||||
("OSTREE_REPO_LIST_OBJECTS_PACKED", "2"),
|
||||
("OSTREE_REPO_LIST_REFS_EXT_ALIASES", "1"),
|
||||
("OSTREE_REPO_LIST_REFS_EXT_EXCLUDE_MIRRORS", "4"),
|
||||
("OSTREE_REPO_LIST_REFS_EXT_EXCLUDE_REMOTES", "2"),
|
||||
("OSTREE_REPO_LIST_REFS_EXT_NONE", "0"),
|
||||
("OSTREE_REPO_METADATA_REF", "ostree-metadata"),
|
||||
@@ -374,6 +376,8 @@ const RUST_CONSTANTS: &[(&str, &str)] = &[
|
||||
("OSTREE_REPO_REMOTE_CHANGE_ADD_IF_NOT_EXISTS", "1"),
|
||||
("OSTREE_REPO_REMOTE_CHANGE_DELETE", "2"),
|
||||
("OSTREE_REPO_REMOTE_CHANGE_DELETE_IF_EXISTS", "3"),
|
||||
("OSTREE_REPO_REMOTE_CHANGE_REPLACE", "4"),
|
||||
("OSTREE_REPO_RESOLVE_REV_EXT_LOCAL_ONLY", "1"),
|
||||
("OSTREE_REPO_RESOLVE_REV_EXT_NONE", "0"),
|
||||
("OSTREE_SEPOLICY_RESTORECON_FLAGS_ALLOW_NOLABEL", "1"),
|
||||
("OSTREE_SEPOLICY_RESTORECON_FLAGS_KEEP_EXISTING", "2"),
|
||||
|
||||
@@ -1,2 +1,9 @@
|
||||
// Feel free to edit this file, it won't be regenerated by gir generator unless removed.
|
||||
#include <ostree.h>
|
||||
|
||||
// hack to build and test on versions of libostree < 2019.2
|
||||
#if !OSTREE_CHECK_VERSION(2019, 2)
|
||||
# define OSTREE_REPO_LIST_REFS_EXT_EXCLUDE_MIRRORS 4
|
||||
# define OSTREE_REPO_REMOTE_CHANGE_REPLACE 4
|
||||
# define OSTREE_REPO_RESOLVE_REV_EXT_LOCAL_ONLY 1
|
||||
#endif
|
||||
Reference in new issue
Block a user