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 new file mode 100644 index 0000000..81e348b --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +ofono-binder-plugin-ext-qti (0.0.1-0ubports1) UNRELEASED; urgency=medium + + * Add initial packaging for Ubuntu Touch. + + -- Marius Gripsgard Sun, 13 Oct 2024 19:02:16 +0200 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..6aa6c81 --- /dev/null +++ b/debian/control @@ -0,0 +1,22 @@ +Source: ofono-binder-plugin-ext-qti +Section: libs +Priority: optional +Maintainer: UBports developers +Build-Depends: debhelper-compat (= 12), + libglib2.0-dev (>= 2.0), + libglibutil-dev, + libgbinder-dev, + libgbinder-radio1-dev, + ofono-sailfish-dev (>= 1.29+git8-0ubports1~), + libofonobinderpluginext-dev, + libandroid-properties-dev, +Standards-Version: 3.8.4 + +Package: ofono-binder-plugin-ext-qti +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, + ${misc:Depends}, +Description: qti IRadio extension for ofono-binder-plugin + Extends ofono-binder-plugin to interface with IMS + implementation on devices that provide qtiRadioExt. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..5513c40 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,56 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: ofono-binder-plugin-ext-qti +Source: https://gitlab.com/ubports/development/core/hybris-support/ofono-binder-plugin-ext-qti + +Files: src/qti_radio_ext.h src/qti_ims_call.c src/qti_radio_ext_types.h src/qti_ims_call.h src/qti_radio_ext.c +Copyright: 2024 Marius Gripsgard + 2024 TheKit +License: GPL-2.0 + +Files: src/qti_slot.c src/qti_ims.h src/qti_slot.h src/qti_plugin.c +Copyright: 2021-2022 Jolla Ltd + 2024 TheKit + 2024 Marius Gripsgard +License: BSD + +License: GPL-2.0 + This package is free software; you can redistribute it and/or modify + it under the terms of version 2 of the GNU General Public License + as published by the Free Software Foundation. + . + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this program. If not, see + . + On Debian systems, the complete text of the GNU General Public + License version 2 can be found in "/usr/share/common-licenses/GPL-2". + +License: BSD + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. Neither the name of the University nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..4ec30ea --- /dev/null +++ b/debian/rules @@ -0,0 +1,15 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +export OFONO_PKG = ofono-sailfish + +LIBDIR=usr/lib/$(shell dpkg-architecture -qDEB_HOST_MULTIARCH) + +override_dh_auto_build: + dh_auto_build -- LIBDIR=$(LIBDIR) release + +%: + dh $@ diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..89ae9db --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (native)