diff options
-rw-r--r-- | debian/README (renamed from qtc_packaging/debian_harmattan/README) | 2 | ||||
-rw-r--r-- | debian/README.Debian | 6 | ||||
-rw-r--r-- | debian/README.source | 9 | ||||
-rw-r--r-- | debian/changelog | 5 | ||||
-rw-r--r-- | debian/compat (renamed from qtc_packaging/debian_harmattan/compat) | 0 | ||||
-rw-r--r-- | debian/control | 25 | ||||
-rw-r--r-- | debian/copyright (renamed from qtc_packaging/debian_harmattan/copyright) | 31 | ||||
-rw-r--r-- | debian/docs | 0 | ||||
-rw-r--r-- | debian/libgato-dev.dirs | 2 | ||||
-rw-r--r-- | debian/libgato-dev.install | 6 | ||||
-rw-r--r-- | debian/libgato1.dirs | 1 | ||||
-rw-r--r-- | debian/libgato1.install | 1 | ||||
-rw-r--r-- | debian/postinst.ex | 39 | ||||
-rw-r--r-- | debian/postrm.ex | 37 | ||||
-rw-r--r-- | debian/preinst.ex | 35 | ||||
-rw-r--r-- | debian/prerm.ex | 38 | ||||
-rwxr-xr-x | debian/rules | 13 | ||||
-rw-r--r-- | debian/shlibs.local.ex | 1 | ||||
-rw-r--r-- | debian/source/format | 1 | ||||
-rw-r--r-- | libgato.pro | 8 | ||||
-rw-r--r-- | qtc_packaging/debian_harmattan/changelog | 5 | ||||
-rw-r--r-- | qtc_packaging/debian_harmattan/control | 14 | ||||
-rw-r--r-- | qtc_packaging/debian_harmattan/manifest.aegis | 70 | ||||
-rwxr-xr-x | qtc_packaging/debian_harmattan/rules | 91 |
24 files changed, 250 insertions, 190 deletions
diff --git a/qtc_packaging/debian_harmattan/README b/debian/README index dc71ef2..0caf859 100644 --- a/qtc_packaging/debian_harmattan/README +++ b/debian/README @@ -3,4 +3,4 @@ The Debian Package libgato Comments regarding the Package - -- Javier <javier@unknown> Tue, 03 Dec 2013 03:08:01 +0100 + -- unknown <maemo@javispedro.com> Fri, 06 Dec 2013 00:15:27 +0100 diff --git a/debian/README.Debian b/debian/README.Debian new file mode 100644 index 0000000..bc86f33 --- /dev/null +++ b/debian/README.Debian @@ -0,0 +1,6 @@ +libgato for Debian +------------------ + +<possible notes regarding this package - if none, delete this file> + + -- unknown <maemo@javispedro.com> Fri, 06 Dec 2013 00:15:27 +0100 diff --git a/debian/README.source b/debian/README.source new file mode 100644 index 0000000..f158302 --- /dev/null +++ b/debian/README.source @@ -0,0 +1,9 @@ +libgato for Debian +------------------ + +<this file describes information about the source package, see Debian policy +manual section 4.14. You WILL either need to modify or delete this file> + + + + diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..414af1c --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +libgato (1.0) unstable; urgency=low + + * Initial Release. + + -- Javier S. Pedro <maemo@javispedro.com> Fri, 06 Dec 2013 00:22:59 +0100 diff --git a/qtc_packaging/debian_harmattan/compat b/debian/compat index 7f8f011..7f8f011 100644 --- a/qtc_packaging/debian_harmattan/compat +++ b/debian/compat diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..2d3f996 --- /dev/null +++ b/debian/control @@ -0,0 +1,25 @@ +Source: libgato +Priority: extra +Maintainer: unknown <maemo@javispedro.com> +Build-Depends: debhelper (>= 7) +Standards-Version: 3.8.4 +Section: libs +Homepage: https://gitorious.org/gato + +Package: libgato-dev +Section: devel +Architecture: any +Depends: libgato1 (= ${binary:Version}) +Description: Development header for libgato + libgato is a library that can used to communicate with Bluetooth Smart devices + using the Generitc Attribute Profile (GATT). + . + This package contains development headers. + +Package: libgato1 +Section: devel +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: A Generic Attribute Profile library for Bluetooth devices + libgato is a library that can used to communicate with Bluetooth Smart devices + using the Generitc Attribute Profile (GATT). diff --git a/qtc_packaging/debian_harmattan/copyright b/debian/copyright index ddbb8ce..24b6984 100644 --- a/qtc_packaging/debian_harmattan/copyright +++ b/debian/copyright @@ -1,7 +1,10 @@ -This package was debianized by Javier <javier@unknown> on -Tue, 03 Dec 2013 03:08:01 +0100. +This work was packaged for Debian by: -It was downloaded from <url://example.com> + unknown <maemo@javispedro.com> on Fri, 06 Dec 2013 00:15:27 +0100 + +It was downloaded from: + + <url://example.com> Upstream Author(s): @@ -10,15 +13,21 @@ Upstream Author(s): Copyright: - <Copyright (C) YYYY Name OfAuthor> + <Copyright (C) YYYY Firstname Lastname> <likewise for another author> License: +### SELECT: ### This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. +### OR ### + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License version 2 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 @@ -26,15 +35,19 @@ License: GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this package; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + along with this program. If not, see <http://www.gnu.org/licenses/> On Debian systems, the complete text of the GNU General -Public License can be found in `/usr/share/common-licenses/GPL'. +Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". + +The Debian packaging is: -The Debian packaging is (C) 2013, Javier <javier@unknown> and -is licensed under the GPL, see above. + Copyright (C) 2013 unknown <maemo@javispedro.com> +you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2 of the License, or +(at your option) any later version. # Please also look if there are files or directories which have a # different copyright/license attached and list them here. diff --git a/debian/docs b/debian/docs new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/debian/docs diff --git a/debian/libgato-dev.dirs b/debian/libgato-dev.dirs new file mode 100644 index 0000000..4418816 --- /dev/null +++ b/debian/libgato-dev.dirs @@ -0,0 +1,2 @@ +usr/lib +usr/include diff --git a/debian/libgato-dev.install b/debian/libgato-dev.install new file mode 100644 index 0000000..3c996c8 --- /dev/null +++ b/debian/libgato-dev.install @@ -0,0 +1,6 @@ +usr/include/* +usr/lib/lib*.a +usr/lib/lib*.so +usr/lib/pkgconfig/* +usr/lib/*.la +usr/share/pkgconfig/* diff --git a/debian/libgato1.dirs b/debian/libgato1.dirs new file mode 100644 index 0000000..6845771 --- /dev/null +++ b/debian/libgato1.dirs @@ -0,0 +1 @@ +usr/lib diff --git a/debian/libgato1.install b/debian/libgato1.install new file mode 100644 index 0000000..d0dbfd1 --- /dev/null +++ b/debian/libgato1.install @@ -0,0 +1 @@ +usr/lib/lib*.so.* diff --git a/debian/postinst.ex b/debian/postinst.ex new file mode 100644 index 0000000..2e819d9 --- /dev/null +++ b/debian/postinst.ex @@ -0,0 +1,39 @@ +#!/bin/sh +# postinst script for libgato +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * <postinst> `configure' <most-recently-configured-version> +# * <old-postinst> `abort-upgrade' <new version> +# * <conflictor's-postinst> `abort-remove' `in-favour' <package> +# <new-version> +# * <postinst> `abort-remove' +# * <deconfigured's-postinst> `abort-deconfigure' `in-favour' +# <failed-install-package> <version> `removing' +# <conflicting-package> <version> +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + configure) + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 diff --git a/debian/postrm.ex b/debian/postrm.ex new file mode 100644 index 0000000..8fb0f3d --- /dev/null +++ b/debian/postrm.ex @@ -0,0 +1,37 @@ +#!/bin/sh +# postrm script for libgato +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * <postrm> `remove' +# * <postrm> `purge' +# * <old-postrm> `upgrade' <new-version> +# * <new-postrm> `failed-upgrade' <old-version> +# * <new-postrm> `abort-install' +# * <new-postrm> `abort-install' <old-version> +# * <new-postrm> `abort-upgrade' <old-version> +# * <disappearer's-postrm> `disappear' <overwriter> +# <overwriter-version> +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + ;; + + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 diff --git a/debian/preinst.ex b/debian/preinst.ex new file mode 100644 index 0000000..b2651f3 --- /dev/null +++ b/debian/preinst.ex @@ -0,0 +1,35 @@ +#!/bin/sh +# preinst script for libgato +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * <new-preinst> `install' +# * <new-preinst> `install' <old-version> +# * <new-preinst> `upgrade' <old-version> +# * <old-preinst> `abort-upgrade' <new-version> +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + install|upgrade) + ;; + + abort-upgrade) + ;; + + *) + echo "preinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 diff --git a/debian/prerm.ex b/debian/prerm.ex new file mode 100644 index 0000000..933e221 --- /dev/null +++ b/debian/prerm.ex @@ -0,0 +1,38 @@ +#!/bin/sh +# prerm script for libgato +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * <prerm> `remove' +# * <old-prerm> `upgrade' <new-version> +# * <new-prerm> `failed-upgrade' <old-version> +# * <conflictor's-prerm> `remove' `in-favour' <package> <new-version> +# * <deconfigured's-prerm> `deconfigure' `in-favour' +# <package-being-installed> <version> `removing' +# <conflicting-package> <version> +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + remove|upgrade|deconfigure) + ;; + + failed-upgrade) + ;; + + *) + echo "prerm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..917d9bf --- /dev/null +++ b/debian/rules @@ -0,0 +1,13 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +%: + dh $@ diff --git a/debian/shlibs.local.ex b/debian/shlibs.local.ex new file mode 100644 index 0000000..16d045c --- /dev/null +++ b/debian/shlibs.local.ex @@ -0,0 +1 @@ +liblibgato 1.0 libgato (>> 1.0-0), libgato (<< 1.0-99) diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/libgato.pro b/libgato.pro index d0ac273..d426b67 100644 --- a/libgato.pro +++ b/libgato.pro @@ -1,5 +1,6 @@ TEMPLATE = lib TARGET = gato +VERSION = 1.0.0 QT -= gui @@ -37,6 +38,13 @@ HEADERS += libgato_global.h gato.h \ target.path = /usr/lib INSTALLS += target +publicheaders.files = libgato_global.h gato.h \ + gatocentralmanager.h gatoperipheral.h \ + gatoservice.h gatocharacteristic.h gatodescriptor.h \ + gatouuid.h gatoaddress.h +publicheaders.path = /usr/include +INSTALLS += publicheaders + OTHER_FILES += \ qtc_packaging/debian_harmattan/rules \ qtc_packaging/debian_harmattan/README \ diff --git a/qtc_packaging/debian_harmattan/changelog b/qtc_packaging/debian_harmattan/changelog deleted file mode 100644 index 862f792..0000000 --- a/qtc_packaging/debian_harmattan/changelog +++ /dev/null @@ -1,5 +0,0 @@ -libgato (0.0.1) unstable; urgency=low - - * Initial Release. - - -- Javier <javier@unknown> Tue, 03 Dec 2013 03:08:01 +0100 diff --git a/qtc_packaging/debian_harmattan/control b/qtc_packaging/debian_harmattan/control deleted file mode 100644 index b9a7727..0000000 --- a/qtc_packaging/debian_harmattan/control +++ /dev/null @@ -1,14 +0,0 @@ -Source: libgato -Section: devel -Priority: optional -Maintainer: Javier S. Pedro <maemo@javispedro.com> -Build-Depends: debhelper (>= 5), libqt4-dev, libbluetooth3-dev -Standards-Version: 3.7.3 -Homepage: https://gitorious.org/gato/ - -Package: libgato -Architecture: any -Depends: ${shlibs:Depends}, ${misc:Depends} -Description: <insert up to 60 chars description> - <insert long description, indented with spaces> -XSBC-Maemo-Display-Name: Gato Library diff --git a/qtc_packaging/debian_harmattan/manifest.aegis b/qtc_packaging/debian_harmattan/manifest.aegis deleted file mode 100644 index 896fecd..0000000 --- a/qtc_packaging/debian_harmattan/manifest.aegis +++ /dev/null @@ -1,70 +0,0 @@ -AutoGenerateAegisFile -<!-- Aegis manifest declares the security credentials required by an - application to run correctly. By default, a manifest file will be - created or updated automatically as a part of build. - - The detection of required credentials is based on static scan of - application binaries. In some cases, the scan may not be able to - detect the correct set of permissions. If this is the case, you must - declare the credentials required by your application in this file. - - To create a manifest file automatically as a part of build (DEFAULT): - - * Make sure this file starts with the string "AutoGenerateAegisFile" (without quotes). - * Alternatively, it can also be completely empty. - - To provide a manifest yourself: - - * List the correct credentials for the application in this file. - * Some commented-out examples of often required tokens are provided. - * Ensure the path to your application binary given in - '<for path="/path/to/app" />' is correct. - * Please do not request more credentials than what your application - actually requires. - - To disable manifest file: - - * Replace this file with a file starting with the string "NoAegisFile" (without quotes). - * Final application package will not contain a manifest. - ---> -<aegis> - <request policy="add"> - - <!-- Make a GSM call, send text messages (SMS). --> - <!-- - <credential name="Cellular" /> - --> - - <!-- Access Facebook social data. --> - <!-- - <credential name="FacebookSocial" /> - --> - - <!-- Read access to data stored in tracker. --> - <!-- - <credential name="TrackerReadAccess" /> - --> - - <!-- Read and write access to data stored in tracker. --> - <!-- - <credential name="TrackerWriteAccess" /> - --> - - <!-- Read Location information. --> - <!-- - <credential name="Location" /> - --> - - <!-- Access to Audio, Multimedia and Camera. --> - <!-- - <credential name="GRP::pulse-access" /> - <credential name="GRP::video" /> - <credential name="GRP::audio" /> - --> - - </request> - - <for path="/opt/libgato/bin/libgato" /> - <for path="applauncherd-launcher::/usr/bin/applauncherd.bin" id="" /> -</aegis> diff --git a/qtc_packaging/debian_harmattan/rules b/qtc_packaging/debian_harmattan/rules deleted file mode 100755 index 9c91c45..0000000 --- a/qtc_packaging/debian_harmattan/rules +++ /dev/null @@ -1,91 +0,0 @@ -#!/usr/bin/make -f -# -*- makefile -*- -# Sample debian/rules that uses debhelper. -# This file was originally written by Joey Hess and Craig Small. -# As a special exception, when this file is copied by dh-make into a -# dh-make output file, you may use that output file without restriction. -# This special exception was added by Craig Small in version 0.37 of dh-make. - -# Uncomment this to turn on verbose mode. -#export DH_VERBOSE=1 - - - - - -configure: configure-stamp -configure-stamp: - dh_testdir - # qmake PREFIX=/usr# Uncomment this line for use without Qt Creator - - touch configure-stamp - - -build: build-stamp - -build-stamp: configure-stamp - dh_testdir - - # Add here commands to compile the package. - # $(MAKE) # Uncomment this line for use without Qt Creator - #docbook-to-man debian/libgato.sgml > libgato.1 - - touch $@ - -clean: - dh_testdir - dh_testroot - rm -f build-stamp configure-stamp - - # Add here commands to clean up after the build process. - $(MAKE) clean - - dh_clean - -install: build - dh_testdir - dh_testroot - dh_clean -k - dh_installdirs - - # Add here commands to install the package into debian/libgato. - $(MAKE) INSTALL_ROOT="$(CURDIR)"/debian/libgato install - - -# Build architecture-independent files here. -binary-indep: build install -# We have nothing to do by default. - -# Build architecture-dependent files here. -binary-arch: build install - dh_testdir - dh_testroot - dh_installchangelogs - dh_installdocs - dh_installexamples -# dh_install -# dh_installmenu -# dh_installdebconf -# dh_installlogrotate -# dh_installemacsen -# dh_installpam -# dh_installmime -# dh_python -# dh_installinit -# dh_installcron -# dh_installinfo - dh_installman - dh_link - dh_strip - dh_compress - dh_fixperms -# dh_perl -# dh_makeshlibs - dh_installdeb - # dh_shlibdeps # Uncomment this line for use without Qt Creator - dh_gencontrol - dh_md5sums - dh_builddeb - -binary: binary-indep binary-arch -.PHONY: build clean binary-indep binary-arch binary install configure |