debian files

This commit is contained in:
2025-10-17 23:30:56 +08:00
parent a9dfd6e453
commit 6697470380
9 changed files with 84 additions and 59 deletions

10
debian/Jenkinsfile vendored Normal file
View File

@@ -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'])

82
debian/changelog vendored
View File

@@ -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 <slava@monich.com> Thu, 18 Jul 2024 05:14:28 +0300
-- TheKit <thekit@disroot.org> 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 <slava@monich.com> Sun, 05 May 2024 20:03:44 +0300
-- UBports package upgrader bot <dev@ubports.com> 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 <slava@monich.com> Sat, 02 Mar 2024 02:11:50 +0200
-- Marius Gripsgard <mariogrip@debian.org> 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 <slava@monich.com> 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 <slava@monich.com> 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 <slava@monich.com> 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 <slava@monich.com> Sun, 30 Apr 2023 06:04:38 +0300
libgbinder (1.1.33) unstable; urgency=low
* Fixed GBinderWriterType for byte and int32
-- Slava Monich <slava@monich.com> Sun, 26 Feb 2023 03:13:49 +0200
libgbinder (1.1.32) unstable; urgency=low
* Improved reliability of unit tests
-- Slava Monich <slava@monich.com> 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 <slava@monich.com> Wed, 04 Jan 2023 19:10:37 +0200
-- Jami Kettunen <jami.kettunen@protonmail.com> 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 <slava.monich@jolla.com> 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 <ratchanan@ubports.com> 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 <slava.monich@jolla.com> Wed, 31 Mar 2021 23:10:37 +0300
libgbinder (1.1.6-0ubports1) xenial; urgency=medium
* Import v1.1.6 to ubports
-- Marius Gripsgard <marius@ubports.com> Fri, 05 Mar 2021 01:02:27 +0100
libgbinder (1.1.6) unstable; urgency=low
* Implemented support for passing object over the bridge

2
debian/control vendored
View File

@@ -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

6
debian/copyright vendored
View File

@@ -1,5 +1,7 @@
Copyright (C) 2018-2024 Jolla Ltd.
Copyright (C) 2018-2024 Slava Monich <slava@monich.com>
Copyright (C) 2018-2022 Jolla Ltd.
Copyright (C) 2018-2022 Slava Monich <slava.monich@jolla.com>
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

37
debian/gbinder.conf vendored Normal file
View File

@@ -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

View File

@@ -1 +1 @@
debian/tmp/usr/bin/* usr/bin
debian/tmp/usr/bin/* usr/bin/

1
debian/libgbinder.dirs vendored Normal file
View File

@@ -0,0 +1 @@
/etc/gbinder.d/

View File

@@ -1 +1,2 @@
debian/tmp/@LIBDIR@/libgbinder.so.* @LIBDIR@
debian/gbinder.conf /etc/

2
debian/rules vendored
View File

@@ -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