diff --git a/debian/Jenkinsfile b/debian/Jenkinsfile new file mode 100644 index 0000000..e541067 --- /dev/null +++ b/debian/Jenkinsfile @@ -0,0 +1,10 @@ +@Library('ubports-build-tools') _ + +buildAndProvideDebianPackage() + +// Or if the package consists entirely of arch-independent packages: +// (optional optimization, will confuse BlueOcean's live view at build stage) +// buildAndProvideDebianPackage(/* isArchIndependent */ true) + +// Optionally, to skip building on some architectures (amd64 is always built): +// buildAndProvideDebianPackage(false, /* ignoredArchs */ ['arm64']) diff --git a/debian/changelog b/debian/changelog index 041a12c..5965f93 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,68 +1,26 @@ -libgbinder (1.1.40) unstable; urgency=low +libgbinder (1.1.40-0ubports1) UNRELEASED; urgency=medium - * Make stability field of local object configurable - * Make more unit tests independent on system config - * Use UNDECLARED stability for NULL binders + * Upstream release v1.1.40 - -- Slava Monich Thu, 18 Jul 2024 05:14:28 +0300 + -- TheKit Thu, 15 Aug 2024 15:56:51 +0300 -libgbinder (1.1.39) unstable; urgency=low +libgbinder (1.1.35-0ubports1) UNRELEASED; urgency=unknown - * Eliminate defects found by Coverity + * New upstream release v1.1.35 - -- Slava Monich Sun, 05 May 2024 20:03:44 +0300 + -- UBports package upgrader bot Thu, 23 Nov 2023 23:02:23 +0000 -libgbinder (1.1.38) unstable; urgency=low +libgbinder (1.1.34-0ubports1) focal; urgency=medium - * Fixed byte array padding + * New upstream release v1.1.34 - -- Slava Monich Sat, 02 Mar 2024 02:11:50 +0200 + -- Marius Gripsgard Thu, 31 Aug 2023 12:09:35 +0200 -libgbinder (1.1.37) unstable; urgency=low +libgbinder (1.1.30-0ubports1) focal; urgency=medium - * Fixed gbinder_driver_reply_data return value + * Upstream release v1.1.30 - -- Slava Monich Mon, 26 Feb 2024 16:22:29 +0200 - -libgbinder (1.1.36) unstable; urgency=low - - * Support pkg-config cross-compilation - * Fixed handling of UTF-16 surrogate pairs - - -- Slava Monich Sat, 10 Feb 2024 05:04:13 +0200 - -libgbinder (1.1.35) unstable; urgency=low - - * Make unit tests independent on system config - * Use MAKE var instead of explicitly calling make - - -- Slava Monich Thu, 23 Nov 2023 01:42:56 +0200 - -libgbinder (1.1.34) unstable; urgency=low - - * Fixed binder-call help message - * Require glib 2.32 - - -- Slava Monich Sun, 30 Apr 2023 06:04:38 +0300 - -libgbinder (1.1.33) unstable; urgency=low - - * Fixed GBinderWriterType for byte and int32 - - -- Slava Monich Sun, 26 Feb 2023 03:13:49 +0200 - -libgbinder (1.1.32) unstable; urgency=low - - * Improved reliability of unit tests - - -- Slava Monich Mon, 23 Jan 2023 11:48:00 +0200 - -libgbinder (1.1.31) unstable; urgency=low - - * Fixed serialization issues on big-endian - * Refactored binder simulation for unit tests - - -- Slava Monich Wed, 04 Jan 2023 19:10:37 +0200 + -- Jami Kettunen Wed, 07 Dec 2022 00:58:38 +0200 libgbinder (1.1.30) unstable; urgency=low @@ -133,6 +91,16 @@ libgbinder (1.1.20) unstable; urgency=low -- Slava Monich Sat, 11 Jun 2022 02:49:49 +0300 +libgbinder (1.1.19-0ubports1) xenial; urgency=medium + + * New upstream version 1.1.19. + * debian/ubports.source_location: update the location for 1.1.19 + * debian/*: bring in upstream Debian packaging changes where appropriate + * debian/rules: pass KEEP_SYMBOLS to let dh do the strip (& auto dbgsym) + * debian/libgbinder-tools.install: add the missing .install file + + -- Ratchanan Srirattanamet Thu, 21 Apr 2022 17:22:20 +0700 + libgbinder (1.1.19) unstable; urgency=low * Added reader and writer for aidl parcelables @@ -227,6 +195,12 @@ libgbinder (1.1.7) unstable; urgency=low -- Slava Monich Wed, 31 Mar 2021 23:10:37 +0300 +libgbinder (1.1.6-0ubports1) xenial; urgency=medium + + * Import v1.1.6 to ubports + + -- Marius Gripsgard Fri, 05 Mar 2021 01:02:27 +0100 + libgbinder (1.1.6) unstable; urgency=low * Implemented support for passing object over the bridge diff --git a/debian/control b/debian/control index dfd1816..8cc2997 100644 --- a/debian/control +++ b/debian/control @@ -14,7 +14,7 @@ Description: Binder client library Package: libgbinder-dev Section: libdevel Architecture: any -Depends: libgbinder (= ${binary:Version}), libglibutil-dev (>= 1.0.52) +Depends: libgbinder (= ${binary:Version}), libglibutil-dev (>= 1.0.52), ${misc:Depends} Description: Development files for libgbinder Package: libgbinder-tools diff --git a/debian/copyright b/debian/copyright index bda9014..238e01d 100644 --- a/debian/copyright +++ b/debian/copyright @@ -1,5 +1,7 @@ -Copyright (C) 2018-2024 Jolla Ltd. -Copyright (C) 2018-2024 Slava Monich +Copyright (C) 2018-2022 Jolla Ltd. +Copyright (C) 2018-2022 Slava Monich + +You may use this file under the terms of BSD license as follows: Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions diff --git a/debian/gbinder.conf b/debian/gbinder.conf new file mode 100644 index 0000000..2ad9976 --- /dev/null +++ b/debian/gbinder.conf @@ -0,0 +1,37 @@ +# 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. + +# Configuration is loaded from [Protocol] and [ServiceManager] sections +# of /etc/gbinder.conf file. The keys are binder device names or the +# special Default value, the value is the identifier of the protocol +# or service manager variant, respectively. + +# In addition to reading /etc/gbinder.conf if it exists, /etc/gbinder.d +# directory is scanned for .conf files, the file list is sorted, files are +# loaded one by one, overwriting the entries loaded from /etc/gbinder.conf +# or from the previously processed file. + +# Known protocol and service manager variants are aidl, aidl2, aidl3 and +# hidl. This list is expected to expand further in the future. The default +# configuration is as follows: + +# [Protocol] +# Default = aidl +# /dev/binder = aidl +# /dev/hwbinder = hidl + +# [ServiceManager] +# Default = aidl +# /dev/binder = aidl +# /dev/hwbinder = hidl + +# Alternatively and preferably, one can specify the desired Android API +# level: + +# [General] +# ApiLevel = 29 + +# and let libgbinder pick the appropriate preset. Full list of presets can +# be found in src/gbinder_config.c diff --git a/debian/libgbinder-tools.install b/debian/libgbinder-tools.install index bd72fef..2767353 100644 --- a/debian/libgbinder-tools.install +++ b/debian/libgbinder-tools.install @@ -1 +1 @@ -debian/tmp/usr/bin/* usr/bin +debian/tmp/usr/bin/* usr/bin/ diff --git a/debian/libgbinder.dirs b/debian/libgbinder.dirs new file mode 100644 index 0000000..7a0a08e --- /dev/null +++ b/debian/libgbinder.dirs @@ -0,0 +1 @@ +/etc/gbinder.d/ diff --git a/debian/libgbinder.install.in b/debian/libgbinder.install.in index 171b31d..122f431 100644 --- a/debian/libgbinder.install.in +++ b/debian/libgbinder.install.in @@ -1 +1,2 @@ debian/tmp/@LIBDIR@/libgbinder.so.* @LIBDIR@ +debian/gbinder.conf /etc/ diff --git a/debian/rules b/debian/rules index 5930aad..6759bb9 100755 --- a/debian/rules +++ b/debian/rules @@ -7,7 +7,7 @@ LIBDIR=usr/lib/$(shell dpkg-architecture -qDEB_HOST_MULTIARCH) override_dh_auto_build: - dh_auto_build -- LIBDIR=$(LIBDIR) release pkgconfig debian/libgbinder.install debian/libgbinder-dev.install + dh_auto_build -- LIBDIR=$(LIBDIR) KEEP_SYMBOLS=1 release pkgconfig debian/libgbinder.install debian/libgbinder-dev.install dh_auto_build -- -C test/binder-bridge release dh_auto_build -- -C test/binder-call release dh_auto_build -- -C test/binder-list release