From 977b51ed396145f99d8a20fc0c54ea61dca10ed9 Mon Sep 17 00:00:00 2001 From: Felix Krull Date: Tue, 25 Aug 2020 20:16:38 +0200 Subject: [PATCH] gir: switch to gir based on patched upstream source --- rust-bindings/rust/Makefile | 4 +- rust-bindings/rust/gir-files/OSTree-1.0.gir | 121 +++++++++----------- 2 files changed, 54 insertions(+), 71 deletions(-) diff --git a/rust-bindings/rust/Makefile b/rust-bindings/rust/Makefile index 0b4e863e..80ad01ef 100644 --- a/rust-bindings/rust/Makefile +++ b/rust-bindings/rust/Makefile @@ -1,7 +1,7 @@ GIR_REPO := https://github.com/gtk-rs/gir.git GIR_VERSION := 2d1ffab19eb5f9a2f0d7a294dbf07517dab4d989 -OSTREE_REPO := https://github.com/ostreedev/ostree -OSTREE_VERSION := v2020.4 +OSTREE_REPO := https://github.com/fkrull/ostree.git +OSTREE_VERSION := patch-v2020.4 RUSTDOC_STRIPPER_VERSION := 0.1.13 all: gir diff --git a/rust-bindings/rust/gir-files/OSTree-1.0.gir b/rust-bindings/rust/gir-files/OSTree-1.0.gir index 6f236c57..00a2e096 100644 --- a/rust-bindings/rust/gir-files/OSTree-1.0.gir +++ b/rust-bindings/rust/gir-files/OSTree-1.0.gir @@ -11155,7 +11155,7 @@ ostree_repo_checkout_tree(). version="2017.13"> See the documentation for + line="4380">See the documentation for `ostree_repo_devino_cache_new()`. This function can then be used for later calls to `ostree_repo_write_directory_to_mtree()` to optimize commits. @@ -11173,14 +11173,14 @@ should avoid further mutation of the cache. Modifier + line="4382">Modifier A hash table caching device,inode to checksums + line="4383">A hash table caching device,inode to checksums @@ -11222,8 +11222,8 @@ policy wins. + version="2020.4" + throws="1"> In many cases, one wants to create a "derived" commit from base commit. @@ -13457,7 +13457,7 @@ in bytes, counting only content objects. The name of the default ed25519 signing type. - + glib:type-name="OstreeSign" glib:get-type="ostree_sign_get_type" glib:type-struct="SignInterface"> - + @@ -13808,7 +13808,7 @@ will be returned. filename="ostree-sign.c" line="518">Return an array with newly allocated instances of all available signing engines; they will not be initialized. - + Create a new instance of a signing engine. - + adding all needed keys to be used for verification. The @public_key argument depends of the particular engine implementation. - + Clear all previously preloaded secret and public keys. - + Depending of the signing engine used you will need to load the secret key with #ostree_sign_set_sk. - + Depending of the signing engine used you will need to load the public key(s) with #ostree_sign_set_pk, #ostree_sign_add_pk or #ostree_sign_load_pk. - + Return the pointer to the name of currently used/selected signing engine. - + - + Return the pointer to the string with format used in (detached) metadata for current signing engine. - + filename="ostree-sign.c" line="86">Return the pointer to the name of the key used in (detached) metadata for current signing engine. - + previously pre-loaded public keys will be dropped. The @public_key argument depends of the particular engine implementation. - + line="148">Set the secret key to be used for signing data, commits and summary. The @secret_key argument depends of the particular engine implementation. - + adding all needed keys to be used for verification. The @public_key argument depends of the particular engine implementation. - + Clear all previously preloaded secret and public keys. - + Depending of the signing engine used you will need to load the secret key with #ostree_sign_set_sk. - + Depending of the signing engine used you will need to load the public key(s) for verification with #ostree_sign_set_pk, #ostree_sign_add_pk and/or #ostree_sign_load_pk. - + - + Depending of the signing engine used you will need to load the public key(s) with #ostree_sign_set_pk, #ostree_sign_add_pk or #ostree_sign_load_pk. - + @@ -14425,7 +14424,6 @@ or #ostree_sign_load_pk. @@ -14451,7 +14449,6 @@ or #ostree_sign_load_pk. @@ -14472,7 +14469,7 @@ or #ostree_sign_load_pk. - + @@ -14484,8 +14481,7 @@ or #ostree_sign_load_pk. + c:identifier="ostree_sign_dummy_metadata_format"> @@ -14497,8 +14493,7 @@ or #ostree_sign_load_pk. + c:identifier="ostree_sign_dummy_metadata_key"> @@ -14511,7 +14506,6 @@ or #ostree_sign_load_pk. @@ -14528,7 +14522,6 @@ or #ostree_sign_load_pk. @@ -14545,7 +14538,6 @@ or #ostree_sign_load_pk. @@ -14562,7 +14554,6 @@ or #ostree_sign_load_pk. @@ -14576,7 +14567,6 @@ or #ostree_sign_load_pk. @@ -14602,7 +14592,6 @@ or #ostree_sign_load_pk. @@ -14624,8 +14613,7 @@ or #ostree_sign_load_pk. + c:identifier="ostree_sign_ed25519_get_name"> @@ -14638,7 +14626,6 @@ or #ostree_sign_load_pk. @@ -14654,8 +14641,7 @@ or #ostree_sign_load_pk. + c:identifier="ostree_sign_ed25519_metadata_format"> @@ -14667,8 +14653,7 @@ or #ostree_sign_load_pk. + c:identifier="ostree_sign_ed25519_metadata_key"> @@ -14681,7 +14666,6 @@ or #ostree_sign_load_pk. @@ -14698,7 +14682,6 @@ or #ostree_sign_load_pk. @@ -14719,7 +14702,7 @@ or #ostree_sign_load_pk. Return the pointer to the name of currently used/selected signing engine. - + - + Return the pointer to the string with format used in (detached) metadata for current signing engine. - + filename="ostree-sign.c" line="86">Return the pointer to the name of the key used in (detached) metadata for current signing engine. - + previously pre-loaded public keys will be dropped. The @public_key argument depends of the particular engine implementation. - + line="148">Set the secret key to be used for signing data, commits and summary. The @secret_key argument depends of the particular engine implementation. - + - + Add a signature to a summary file. Based on ostree_repo_add_gpg_signature_summary implementation. - + - + - + - + - + - + - + - + - + - + - + - + filename="ostree-sign.c" line="518">Return an array with newly allocated instances of all available signing engines; they will not be initialized. - + Create a new instance of a signing engine. - +