From 4344576c5205b89c146da03a87aff3545949c605 Mon Sep 17 00:00:00 2001 From: Gwyn Ciesla Date: Mon, 28 Nov 2022 21:45:37 +0000 Subject: [PATCH 01/12] Added the README --- README.md | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..dfb7ef4 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# libgbinder + +The libgbinder package From efbbfcafba1f4a9d23aec41ace51c1dcf9308c32 Mon Sep 17 00:00:00 2001 From: Alessandro Astone Date: Tue, 29 Nov 2022 19:37:21 +0100 Subject: [PATCH 02/12] Initial import (fedora#2120131). --- .gitignore | 1 + libgbinder.spec | 125 ++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 127 insertions(+) create mode 100644 .gitignore create mode 100644 libgbinder.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8c08dd9 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/1.1.29.tar.gz diff --git a/libgbinder.spec b/libgbinder.spec new file mode 100644 index 0000000..9950fb2 --- /dev/null +++ b/libgbinder.spec @@ -0,0 +1,125 @@ +Name: libgbinder +Version: 1.1.29 +Release: 1%{?dist} +Summary: Binder client library +License: BSD +URL: https://github.com/mer-hybris/libgbinder +Source0: %{url}/archive/refs/tags/%{version}.tar.gz + +%define libglibutil_version 1.0.52 + +BuildRequires: pkgconfig(glib-2.0) +BuildRequires: pkgconfig(libglibutil) >= %{libglibutil_version} +BuildRequires: pkgconfig +BuildRequires: make +BuildRequires: gcc +BuildRequires: bison flex +Requires: libglibutil >= %{libglibutil_version} + +%description +GLib-style interface to binder (Android IPC mechanism) + +Key features: +1. Integration with GLib event loop +2. Detection of 32 vs 64 bit kernel at runtime +3. Asynchronous transactions that don't block the event thread +4. Stable service manager and low-level transaction APIs + +Android keeps changing both low-level RPC and service manager +protocols from version to version. To counter that, libgbinder +implements configirable backends for different variants of those, +and yet keeping its own API unchanged. + +%package devel +Summary: Development library for %{name} +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description devel +This package contains the development library for %{name}. + +%prep +%setup -q + +%build +%{make_build} LIBDIR=%{_libdir} KEEP_SYMBOLS=1 release pkgconfig +%{make_build} -C test/binder-bridge KEEP_SYMBOLS=1 release +%{make_build} -C test/binder-list KEEP_SYMBOLS=1 release +%{make_build} -C test/binder-ping KEEP_SYMBOLS=1 release +%{make_build} -C test/binder-call KEEP_SYMBOLS=1 release + +%install +%{make_build} LIBDIR=%{_libdir} DESTDIR=%{buildroot} install-dev +%{make_build} -C test/binder-bridge DESTDIR=%{buildroot} install +%{make_build} -C test/binder-list DESTDIR=%{buildroot} install +%{make_build} -C test/binder-ping DESTDIR=%{buildroot} install +%{make_build} -C test/binder-call DESTDIR=%{buildroot} install + +%check +%{make_build} -C unit test + +%files +%{_libdir}/%{name}.so.* +%license LICENSE + +%files devel +%{_libdir}/pkgconfig/*.pc +%{_libdir}/%{name}.so +%{_includedir}/gbinder + +# Tools +# Missing manpages: https://github.com/mer-hybris/libgbinder/issues/107 +%package tools +Summary: Binder tools +Requires: %{name} >= %{version} + +%description tools +Binder command line utilities + +%files tools +%{_bindir}/binder-bridge +%{_bindir}/binder-list +%{_bindir}/binder-ping +%{_bindir}/binder-call + +%changelog +* Sat Nov 26 2022 Alessandro Astone - 1.1.29-1 +- Update to 1.1.29 +- Build binder-call tool + +* Sat Oct 29 2022 Alessandro Astone - 1.1.26-1 +- Update to 1.1.26 + +* Tue Jul 19 2022 Alessandro Astone - 1.1.25-1 +- Handle RPC protocol change at run time + +* Wed Jul 06 2022 Alessandro Astone - 1.1.23-1 +- Support API 31 + +* Mon Jun 20 2022 Alessandro Astone - 1.1.21-1 +- Tests pass again! + +* Sat Jun 11 2022 Alessandro Astone - 1.1.20-1 +- Make RPC protocol selectable at runtime + +* Tue Feb 22 2022 Mo 森 - 1.1.19-1 +- Added reader and writer for aidl parcelables + +* Wed Jan 19 2022 Mo 森 - 1.1.18-1 +- Make sure stale object pointers don't hang around +- Properly shut down remote object inside the proxy +- Read ref_count from GObject atomically +- Don't release remote proxy handle too early (sometimes never) +- Disassociate auto-created proxies to stop them from piling up + +* Tue Dec 28 2021 Mo 森 - 1.1.15-1 +- Added readers and writers for int8 and int16 + +* Sun Nov 28 2021 Mo 森 - 1.1.14-2 +- Support for FMQ (Fast Message Queues) +- Support for Android 11 (API level 30) +- Made GBinderReader API slightly more NULL tolerant +- Added gbinder_client_rpc_header() +- Added gbinder_reader_get_data() +- Added gbinder_writer_get_data() +- Added gbinder_servicemanager_device() +- Added gbinder_local_reply_append_fd() diff --git a/sources b/sources new file mode 100644 index 0000000..25fc83a --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (1.1.29.tar.gz) = f5527e714f47ffc95aca2ae93964be5b66dfbd06cc6d0fd217604bfa29ad57771366eb4b3661bcc79a11616c718cba2ea4d38bea4656152684ceedd3754305c1 From cb5cb5463ca8cbc2f3f2340247be0819e11c03a2 Mon Sep 17 00:00:00 2001 From: Alessandro Astone Date: Wed, 30 Nov 2022 18:13:26 +0100 Subject: [PATCH 03/12] Disable s390x build --- libgbinder.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libgbinder.spec b/libgbinder.spec index 9950fb2..61507f8 100644 --- a/libgbinder.spec +++ b/libgbinder.spec @@ -6,6 +6,9 @@ License: BSD URL: https://github.com/mer-hybris/libgbinder Source0: %{url}/archive/refs/tags/%{version}.tar.gz +# bugzilla 2149716 +ExcludeArch: s390x + %define libglibutil_version 1.0.52 BuildRequires: pkgconfig(glib-2.0) From e7441d69c3531e7e18c56cc3e7d1486bc5010a12 Mon Sep 17 00:00:00 2001 From: Alessandro Astone Date: Wed, 30 Nov 2022 18:13:52 +0100 Subject: [PATCH 04/12] Replace %define with %global --- libgbinder.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libgbinder.spec b/libgbinder.spec index 61507f8..d4f80a7 100644 --- a/libgbinder.spec +++ b/libgbinder.spec @@ -9,7 +9,7 @@ Source0: %{url}/archive/refs/tags/%{version}.tar.gz # bugzilla 2149716 ExcludeArch: s390x -%define libglibutil_version 1.0.52 +%global libglibutil_version 1.0.52 BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(libglibutil) >= %{libglibutil_version} From 001cba2bd5df862b61c90a047f8c44ae33304ca7 Mon Sep 17 00:00:00 2001 From: Alessandro Astone Date: Mon, 5 Dec 2022 23:17:28 +0100 Subject: [PATCH 05/12] Update to 1.1.30 --- .gitignore | 1 + libgbinder.spec | 5 ++++- sources | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 8c08dd9..1f356b4 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /1.1.29.tar.gz +/1.1.30.tar.gz diff --git a/libgbinder.spec b/libgbinder.spec index d4f80a7..2de0b77 100644 --- a/libgbinder.spec +++ b/libgbinder.spec @@ -1,5 +1,5 @@ Name: libgbinder -Version: 1.1.29 +Version: 1.1.30 Release: 1%{?dist} Summary: Binder client library License: BSD @@ -85,6 +85,9 @@ Binder command line utilities %{_bindir}/binder-call %changelog +* Mon Dec 05 2022 Alessandro Astone - 1.1.30-1 +- Update to 1.1.30 + * Sat Nov 26 2022 Alessandro Astone - 1.1.29-1 - Update to 1.1.29 - Build binder-call tool diff --git a/sources b/sources index 25fc83a..5508ddc 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (1.1.29.tar.gz) = f5527e714f47ffc95aca2ae93964be5b66dfbd06cc6d0fd217604bfa29ad57771366eb4b3661bcc79a11616c718cba2ea4d38bea4656152684ceedd3754305c1 +SHA512 (1.1.30.tar.gz) = 24e4e5156ab3f90dc2255b40ed6e74d0f14bce61879891179ae7291622b4179dd769749635f2811bc8a9f868257224385cf90ab43bd36a52e2f30e92ecb7ffd4 From 57dc58597d532e63bf69686a2bd28d1158aca1aa Mon Sep 17 00:00:00 2001 From: Alessandro Astone Date: Fri, 6 Jan 2023 17:22:15 +0100 Subject: [PATCH 06/12] Update to 1.1.31 --- libgbinder.spec | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/libgbinder.spec b/libgbinder.spec index 2de0b77..b5e8cd2 100644 --- a/libgbinder.spec +++ b/libgbinder.spec @@ -1,14 +1,11 @@ Name: libgbinder -Version: 1.1.30 +Version: 1.1.31 Release: 1%{?dist} Summary: Binder client library License: BSD URL: https://github.com/mer-hybris/libgbinder Source0: %{url}/archive/refs/tags/%{version}.tar.gz -# bugzilla 2149716 -ExcludeArch: s390x - %global libglibutil_version 1.0.52 BuildRequires: pkgconfig(glib-2.0) @@ -85,6 +82,10 @@ Binder command line utilities %{_bindir}/binder-call %changelog +* Fri Jan 06 2023 Alessandro Astone - 1.1.31-1 +- Update to 1.1.31 +- Re-enable s390x builds + * Mon Dec 05 2022 Alessandro Astone - 1.1.30-1 - Update to 1.1.30 From ba2a7670a9a628ba0faa338d413ca59fc1586204 Mon Sep 17 00:00:00 2001 From: Alessandro Astone Date: Fri, 6 Jan 2023 17:50:43 +0100 Subject: [PATCH 07/12] Add 1.1.31 sources --- .gitignore | 1 + sources | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 1f356b4..f467bdc 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /1.1.29.tar.gz /1.1.30.tar.gz +/1.1.31.tar.gz diff --git a/sources b/sources index 5508ddc..f1569b2 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (1.1.30.tar.gz) = 24e4e5156ab3f90dc2255b40ed6e74d0f14bce61879891179ae7291622b4179dd769749635f2811bc8a9f868257224385cf90ab43bd36a52e2f30e92ecb7ffd4 +SHA512 (1.1.31.tar.gz) = 519cc015a97d6ebcb410efcbff54f01afc401de85efb0a5c1128b57f996f23b352fa5dd70f06ac5b9205c3f0770ffabfd82f367c85ca18a5012f715d09bce690 From 117fdea1e23ea1388e5d4518dd0e6c20967e460f Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 19 Jan 2023 16:22:45 +0000 Subject: [PATCH 08/12] Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- libgbinder.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libgbinder.spec b/libgbinder.spec index b5e8cd2..c431e9a 100644 --- a/libgbinder.spec +++ b/libgbinder.spec @@ -1,6 +1,6 @@ Name: libgbinder Version: 1.1.31 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Binder client library License: BSD URL: https://github.com/mer-hybris/libgbinder @@ -82,6 +82,9 @@ Binder command line utilities %{_bindir}/binder-call %changelog +* Thu Jan 19 2023 Fedora Release Engineering - 1.1.31-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + * Fri Jan 06 2023 Alessandro Astone - 1.1.31-1 - Update to 1.1.31 - Re-enable s390x builds From aef48e639faeaa28f1d3057c47c2ec3776f5d18d Mon Sep 17 00:00:00 2001 From: Alessandro Astone Date: Mon, 23 Jan 2023 22:03:47 +0100 Subject: [PATCH 09/12] Update to 1.1.32 --- .gitignore | 1 + libgbinder.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index f467bdc..58cc0cf 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /1.1.29.tar.gz /1.1.30.tar.gz /1.1.31.tar.gz +/1.1.32.tar.gz diff --git a/libgbinder.spec b/libgbinder.spec index c431e9a..2f4727b 100644 --- a/libgbinder.spec +++ b/libgbinder.spec @@ -1,6 +1,6 @@ Name: libgbinder -Version: 1.1.31 -Release: 2%{?dist} +Version: 1.1.32 +Release: 1%{?dist} Summary: Binder client library License: BSD URL: https://github.com/mer-hybris/libgbinder @@ -82,6 +82,9 @@ Binder command line utilities %{_bindir}/binder-call %changelog +* Mon Jan 23 2023 Alessandro Astone - 1.1.32-1 +- Update to 1.1.32 + * Thu Jan 19 2023 Fedora Release Engineering - 1.1.31-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild diff --git a/sources b/sources index f1569b2..3dedd00 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (1.1.31.tar.gz) = 519cc015a97d6ebcb410efcbff54f01afc401de85efb0a5c1128b57f996f23b352fa5dd70f06ac5b9205c3f0770ffabfd82f367c85ca18a5012f715d09bce690 +SHA512 (1.1.32.tar.gz) = 3e4fbfbda627b189faf3eee183548cd4cda8a8b1b94b9f8d03572f1d3bc6fe13907f19104f28e5609f266d4c05c4bdb54c1c5ffbc6c537c9774d1def1d4cb09b From 49a55671f101ef1de8752a5ea96036bcae873e1a Mon Sep 17 00:00:00 2001 From: Alessandro Astone Date: Mon, 27 Feb 2023 11:59:43 +0100 Subject: [PATCH 10/12] Update to 1.1.33 --- .gitignore | 1 + libgbinder.spec | 5 ++++- sources | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 58cc0cf..ca2153b 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /1.1.30.tar.gz /1.1.31.tar.gz /1.1.32.tar.gz +/1.1.33.tar.gz diff --git a/libgbinder.spec b/libgbinder.spec index 2f4727b..6f7f41e 100644 --- a/libgbinder.spec +++ b/libgbinder.spec @@ -1,5 +1,5 @@ Name: libgbinder -Version: 1.1.32 +Version: 1.1.33 Release: 1%{?dist} Summary: Binder client library License: BSD @@ -82,6 +82,9 @@ Binder command line utilities %{_bindir}/binder-call %changelog +* Mon Feb 27 2023 Alessandro Astone - 1.1.33-1 +- Update to 1.1.33 + * Mon Jan 23 2023 Alessandro Astone - 1.1.32-1 - Update to 1.1.32 diff --git a/sources b/sources index 3dedd00..c7dd8cf 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (1.1.32.tar.gz) = 3e4fbfbda627b189faf3eee183548cd4cda8a8b1b94b9f8d03572f1d3bc6fe13907f19104f28e5609f266d4c05c4bdb54c1c5ffbc6c537c9774d1def1d4cb09b +SHA512 (1.1.33.tar.gz) = 759d96fb377ed3886d60ab3c833d378ced88cec18d8bb5fc44b9be556a8f76cecb2a878534f78fddf591ae6e08b3562aaa900028ecb6f92cfe6b27c71674aa4e From ef85ff4ee9c47547cc8687c68c88f8e2dca13b0c Mon Sep 17 00:00:00 2001 From: Alessandro Astone Date: Tue, 23 May 2023 17:08:51 +0200 Subject: [PATCH 11/12] Update to 1.1.34 --- .gitignore | 1 + libgbinder.spec | 5 ++++- sources | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index ca2153b..c76c4f4 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /1.1.31.tar.gz /1.1.32.tar.gz /1.1.33.tar.gz +/1.1.34.tar.gz diff --git a/libgbinder.spec b/libgbinder.spec index 6f7f41e..7a7e44c 100644 --- a/libgbinder.spec +++ b/libgbinder.spec @@ -1,5 +1,5 @@ Name: libgbinder -Version: 1.1.33 +Version: 1.1.34 Release: 1%{?dist} Summary: Binder client library License: BSD @@ -82,6 +82,9 @@ Binder command line utilities %{_bindir}/binder-call %changelog +* Tue May 23 2023 Alessandro Astone - 1.1.34-1 +- Update to 1.1.34 + * Mon Feb 27 2023 Alessandro Astone - 1.1.33-1 - Update to 1.1.33 diff --git a/sources b/sources index c7dd8cf..48046d4 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (1.1.33.tar.gz) = 759d96fb377ed3886d60ab3c833d378ced88cec18d8bb5fc44b9be556a8f76cecb2a878534f78fddf591ae6e08b3562aaa900028ecb6f92cfe6b27c71674aa4e +SHA512 (1.1.34.tar.gz) = a93e3d123b76dab2e9b4b7d53a844303687f058aa76bf5619945fce99f7df09404c13686b9134674daa79a5ae570e27ad156099985160322246dc73482454785 From b80433f8ff5e8ce7a56afce88bec34a3bc2a158c Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Mon, 30 Oct 2023 23:04:40 +0300 Subject: [PATCH 12/12] Remove unnecessary files --- README.md | 3 --- sources | 1 - 2 files changed, 4 deletions(-) delete mode 100644 README.md delete mode 100644 sources diff --git a/README.md b/README.md deleted file mode 100644 index dfb7ef4..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# libgbinder - -The libgbinder package diff --git a/sources b/sources deleted file mode 100644 index 48046d4..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -SHA512 (1.1.34.tar.gz) = a93e3d123b76dab2e9b4b7d53a844303687f058aa76bf5619945fce99f7df09404c13686b9134674daa79a5ae570e27ad156099985160322246dc73482454785