Compare commits
12 Commits
915c8afbd3
...
aabee80517
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
aabee80517 | ||
|
|
a065592123 | ||
|
|
4915131033 | ||
|
|
c25b4679dc | ||
|
|
9f308b374d | ||
|
|
e3883fc1a2 | ||
|
|
9a507a4cbd | ||
|
|
bc2c8d086f | ||
|
|
dc4793fa58 | ||
|
|
12974fa5ea | ||
|
|
b98be3d80d | ||
|
|
690b95f37c |
51
0001-fix-incompatible-function-pointer-types-passing.patch
Normal file
51
0001-fix-incompatible-function-pointer-types-passing.patch
Normal file
@ -0,0 +1,51 @@
|
|||||||
|
From 78531ef707422abc444bfac339a6c9f380d1da32 Mon Sep 17 00:00:00 2001
|
||||||
|
From: yuncang123 <1050706328@qq.com>
|
||||||
|
Date: Fri, 6 Sep 2024 10:29:53 +0800
|
||||||
|
Subject: [PATCH] fix2
|
||||||
|
|
||||||
|
---
|
||||||
|
libsecret/test-vala-lang.vala | 14 +++++++-------
|
||||||
|
libsecret/test-vala-unstable.vala | 2 +-
|
||||||
|
2 files changed, 8 insertions(+), 8 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/libsecret/test-vala-lang.vala b/libsecret/test-vala-lang.vala
|
||||||
|
index ead5817..41db91e 100644
|
||||||
|
--- a/libsecret/test-vala-lang.vala
|
||||||
|
+++ b/libsecret/test-vala-lang.vala
|
||||||
|
@@ -166,13 +166,13 @@ private static int main (string[] args) {
|
||||||
|
"string", Secret.SchemaAttributeType.STRING);
|
||||||
|
}
|
||||||
|
|
||||||
|
- GLib.Test.add_data_func ("/vala/lookup/sync", test_lookup_sync);
|
||||||
|
- GLib.Test.add_data_func ("/vala/lookup/async", test_lookup_async);
|
||||||
|
- GLib.Test.add_data_func ("/vala/lookup/no-name", test_lookup_no_name);
|
||||||
|
- GLib.Test.add_data_func ("/vala/store/sync", test_store_sync);
|
||||||
|
- GLib.Test.add_data_func ("/vala/store/async", test_store_async);
|
||||||
|
- GLib.Test.add_data_func ("/vala/clear/sync", test_clear_sync);
|
||||||
|
- GLib.Test.add_data_func ("/vala/clear/async", test_clear_async);
|
||||||
|
+ GLib.Test.add_func ("/vala/lookup/sync", test_lookup_sync);
|
||||||
|
+ GLib.Test.add_func ("/vala/lookup/async", test_lookup_async);
|
||||||
|
+ GLib.Test.add_func ("/vala/lookup/no-name", test_lookup_no_name);
|
||||||
|
+ GLib.Test.add_func ("/vala/store/sync", test_store_sync);
|
||||||
|
+ GLib.Test.add_func ("/vala/store/async", test_store_async);
|
||||||
|
+ GLib.Test.add_func ("/vala/clear/sync", test_clear_sync);
|
||||||
|
+ GLib.Test.add_func ("/vala/clear/async", test_clear_async);
|
||||||
|
|
||||||
|
var res = GLib.Test.run ();
|
||||||
|
|
||||||
|
diff --git a/libsecret/test-vala-unstable.vala b/libsecret/test-vala-unstable.vala
|
||||||
|
index f508991..bf2018b 100644
|
||||||
|
--- a/libsecret/test-vala-unstable.vala
|
||||||
|
+++ b/libsecret/test-vala-unstable.vala
|
||||||
|
@@ -28,7 +28,7 @@ private static int main (string[] args) {
|
||||||
|
GLib.error ("Unable to start mock service: %s", e.message);
|
||||||
|
}
|
||||||
|
|
||||||
|
- GLib.Test.add_data_func ("/vala/unstable/read-alias", test_read_alias);
|
||||||
|
+ GLib.Test.add_func ("/vala/unstable/read-alias", test_read_alias);
|
||||||
|
|
||||||
|
var res = GLib.Test.run ();
|
||||||
|
Secret.Service.disconnect ();
|
||||||
|
--
|
||||||
|
2.43.0
|
||||||
|
|
||||||
@ -2,15 +2,19 @@
|
|||||||
|
|
||||||
Name: libsecret
|
Name: libsecret
|
||||||
Version: 0.20.5
|
Version: 0.20.5
|
||||||
Release: 1
|
Release: 3
|
||||||
Summary: Library for storing and retrieving passwords and other secrets
|
Summary: Library for storing and retrieving passwords and other secrets
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
URL: https://wiki.gnome.org/Projects/Libsecret
|
URL: https://wiki.gnome.org/Projects/Libsecret
|
||||||
Source0: https://download.gnome.org/sources/libsecret/%{release_version}/libsecret-%{version}.tar.xz
|
Source0: https://download.gnome.org/sources/libsecret/%{release_version}/libsecret-%{version}.tar.xz
|
||||||
|
|
||||||
BuildRequires: glib2-devel gobject-introspection-devel intltool vala gettext gi-docgen meson
|
Patch1: 0001-fix-incompatible-function-pointer-types-passing.patch
|
||||||
BuildRequires: libgcrypt-devel >= 1.2.2 libxslt-devel docbook-style-xsl valgrind-devel
|
|
||||||
|
|
||||||
|
BuildRequires: glib2-devel gobject-introspection-devel intltool vala gettext gi-docgen meson
|
||||||
|
BuildRequires: libgcrypt-devel >= 1.2.2 libxslt-devel docbook-style-xsl
|
||||||
|
%ifarch "%{valgrind_arches}"
|
||||||
|
BuildRequires: valgrind-devel
|
||||||
|
%endif
|
||||||
Provides: bundled(egglib)
|
Provides: bundled(egglib)
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -32,7 +36,9 @@ developing applications that use %{name}.
|
|||||||
%prep
|
%prep
|
||||||
%autosetup -p1
|
%autosetup -p1
|
||||||
|
|
||||||
|
%ifarch "%{valgrind_arches}"
|
||||||
rm -rf build/valgrind/
|
rm -rf build/valgrind/
|
||||||
|
%endif
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%meson
|
%meson
|
||||||
@ -68,6 +74,18 @@ rm -rf build/valgrind/
|
|||||||
%doc %{_docdir}/libsecret-1
|
%doc %{_docdir}/libsecret-1
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Sep 6 2024 yuanchao <1050706328@qq.com> - 0.20.5-3
|
||||||
|
- fix `incompatible function pointer types passing`errors in test-vala-unstable.vala and test-vala-lang.vala
|
||||||
|
|
||||||
|
* Sun Apr 28 2024 yinsist <jianhui.oerv@isrc.iscas.ac.cn> - 0.20.5-2
|
||||||
|
- Valgrind does not support certain architectures like RISC-V, Before depending on Valgrind, first check if Valgrind supports the architecture
|
||||||
|
|
||||||
|
* Tue Feb 27 2024 dongyuzhen <dongyuzhen@h-partners.com> - 0.20.5-1
|
||||||
|
- revert "Update to 0.21.0"
|
||||||
|
|
||||||
|
* Wed Aug 16 2023 dillon chen <dillon.chen@gmail.com> - 0.21.0-1
|
||||||
|
- Update to 0.21.0
|
||||||
|
|
||||||
* Thu Apr 21 2022 dillon chen <dillon.chen@gmail.com> - 0.20.5-1
|
* Thu Apr 21 2022 dillon chen <dillon.chen@gmail.com> - 0.20.5-1
|
||||||
- Update to 0.20.5
|
- Update to 0.20.5
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user