Inital pkg (copied from upstream)

This commit is contained in:
Marius Gripsgard
2021-03-19 01:27:42 +01:00
commit e995491326
11 changed files with 449 additions and 0 deletions

14
.gitignore vendored Normal file
View File

@@ -0,0 +1,14 @@
*~
debian/files
debian/libncicore
debian/libncicore-dev
debian/*.debhelper.log
debian/*.debhelper
debian/*.install
debian/*.substvars
debian/debhelper-build-stamp
debian/tmp
documentation.list
installroot
build
RPMS

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

355
debian/changelog vendored Normal file
View File

@@ -0,0 +1,355 @@
libglibutil (1.0.51-0ubports1) xenial; urgency=medium
* Upstream release v1.0.51
-- Marius Gripsgard <marius@ubports.com> Fri, 19 Mar 2021 01:26:10 +0100
libglibutil (1.0.51) unstable; urgency=low
* Initialize default log settings from the environment
* Disable timestamps by default
* Added gutil_log_tid option
* Added gutil_ptrv_free()
-- Slava Monich <slava.monich@jolla.com> Thu, 25 Feb 2021 19:36:05 +0200
libglibutil (1.0.50) unstable; urgency=low
* Added gutil_ptrv_length()
-- Slava Monich <slava.monich@jolla.com> Wed, 28 Oct 2020 17:59:10 +0200
libglibutil (1.0.49) unstable; urgency=low
* Added gutil_slice_free() macro
-- Slava Monich <slava.monich@jolla.com> Sat, 17 Oct 2020 01:01:25 +0300
libglibutil (1.0.48) unstable; urgency=low
* Make library executable on rpm based systems
-- Slava Monich <slava.monich@jolla.com> Mon, 31 Aug 2020 00:07:18 +0300
libglibutil (1.0.47) unstable; urgency=low
* Added gutil_strv_addv()
-- Slava Monich <slava.monich@jolla.com> Tue, 28 Jul 2020 13:56:08 +0300
libglibutil (1.0.46) unstable; urgency=low
* Allow STRIP to be defined by the environment
-- Slava Monich <slava.monich@jolla.com> Sat, 30 May 2020 00:02:35 +0300
libglibutil (1.0.45) unstable; urgency=low
* Support for multiple archs
-- Slava Monich <slava.monich@jolla.com> Fri, 22 May 2020 16:11:42 +0300
libglibutil (1.0.44) unstable; urgency=low
* Adapted to side-by-side linking
* Allow overriding CC for unit tests
-- Slava Monich <slava.monich@jolla.com> Tue, 17 Mar 2020 19:01:45 +0200
libglibutil (1.0.43) unstable; urgency=low
* Allow specifying per-module logging function
* Added default GLogProc2 compatible callbacks
-- Slava Monich <slava.monich@jolla.com> Fri, 20 Dec 2019 19:31:32 +0200
libglibutil (1.0.42) unstable; urgency=low
* Zero-initialize timespec::tv_nsec
* Optimized gutil_strv_equal()
-- Slava Monich <slava.monich@jolla.com> Fri, 22 Nov 2019 00:49:13 +0200
libglibutil (1.0.41) unstable; urgency=low
* Added gutil_bytes_equal() and gutil_bytes_equal_data()
-- Slava Monich <slava.monich@jolla.com> Sun, 10 Nov 2019 17:14:19 +0300
libglibutil (1.0.40) unstable; urgency=low
* Added gutil_strv_bsearch()
-- Slava Monich <slava.monich@jolla.com> Mon, 16 Sep 2019 02:22:51 +0300
libglibutil (1.0.39) unstable; urgency=low
* Allow use of CC defined by build system
-- Slava Monich <slava.monich@jolla.com> Tue, 27 Aug 2019 13:19:56 +0300
libglibutil (1.0.38) unstable; urgency=low
* Added gutil_data_has_prefix() and gutil_data_has_suffix()
-- Slava Monich <slava.monich@jolla.com> Thu, 01 Aug 2019 00:13:32 +0300
libglibutil (1.0.37) unstable; urgency=low
* Added gutil_bytes_concat() and gutil_bytes_xor()
-- Slava Monich <slava.monich@jolla.com> Tue, 23 Jul 2019 21:17:18 +0300
libglibutil (1.0.36) unstable; urgency=low
* Handle empty log prefix as no prefix at all
* Don't nullify default log name in gutil_log_set_type()
-- Slava Monich <slava.monich@jolla.com> Thu, 13 Jun 2019 18:15:33 +0300
libglibutil (1.0.35) unstable; urgency=low
* Added gutil_strv_last() function
-- Slava Monich <slava.monich@jolla.com> Wed, 13 Feb 2019 19:56:31 +0300
libglibutil (1.0.34) unstable; urgency=low
* Added a few more GUtilIdlePool functions:
gutil_idle_pool_destroy
gutil_idle_pool_add_bytes
gutil_idle_pool_add_bytes_ref
-- Slava Monich <slava.monich@jolla.com> Wed, 07 Nov 2018 17:57:52 +0300
libglibutil (1.0.33) unstable; urgency=low
* Added GLOG_FLAG_DISABLE flag
-- Slava Monich <slava.monich@jolla.com> Sat, 03 Nov 2018 11:47:25 +0300
libglibutil (1.0.32) unstable; urgency=low
* Added gutil_idle_pool_add_strv function
-- Slava Monich <slava.monich@jolla.com> Sun, 14 Oct 2018 00:47:01 +0300
libglibutil (1.0.31) unstable; urgency=low
* Added GUtilData type and functions to work with it:
gutil_data_equal
gutil_data_from_string
gutil_data_from_bytes
-- Slava Monich <slava.monich@jolla.com> Sat, 13 Oct 2018 13:17:45 +0300
libglibutil (1.0.30) unstable; urgency=low
* Added gutil_parse_int function
-- Slava Monich <slava.monich@jolla.com> Fri, 20 Jul 2018 00:06:40 +0300
libglibutil (1.0.29) unstable; urgency=low
* Added gutil_hexdump function
* Fixed dependencies for pkgconfig target
-- Slava Monich <slava.monich@jolla.com> Tue, 13 Mar 2018 19:28:46 +0300
libglibutil (1.0.28) unstable; urgency=low
* Added gutil_idle_pool_get function
-- Slava Monich <slava.monich@jolla.com> Sun, 25 Feb 2018 19:58:21 +0200
libglibutil (1.0.27) unstable; urgency=low
* GUtilIdlePool is not a GObject anymore
* Took out glib-object.h from public headers
-- Slava Monich <slava.monich@jolla.com> Sun, 25 Feb 2018 13:20:49 +0200
libglibutil (1.0.26) unstable; urgency=low
* Optimized GUtilIdleQueue
-- Slava Monich <slava.monich@jolla.com> Sat, 25 Nov 2017 02:16:18 +0200
libglibutil (1.0.25) unstable; urgency=low
* Allow NULL module in gutil_log_enabled
* Added test_log
-- Slava Monich <slava.monich@jolla.com> Thu, 19 Oct 2017 19:51:05 +0300
libglibutil (1.0.24) unstable; urgency=low
* Added gutil_strv_strip function
-- Slava Monich <slava.monich@jolla.com> Sun, 18 Jun 2017 00:27:35 +0300
libglibutil (1.0.23) unstable; urgency=low
* Added a few more GUtilIntArray functions
gutil_int_array_new_from_vals
gutil_int_array_new_from_value
gutil_int_array_find
gutil_int_array_contains
gutil_int_array_remove
gutil_int_array_remove_fast
gutil_int_array_remove_all
gutil_int_array_remove_all_fast
-- Slava Monich <slava.monich@jolla.com> Mon, 05 Jun 2017 19:01:12 +0300
libglibutil (1.0.22) unstable; urgency=low
* Added GUtilIdleQueue
-- Slava Monich <slava.monich@jolla.com> Sun, 23 Apr 2017 18:07:46 +0300
libglibutil (1.0.21) unstable; urgency=low
* Added gutil_hex2bin and gutil_hex2bytes functions
-- Slava Monich <slava.monich@jolla.com> Fri, 10 Mar 2017 23:36:04 +0200
libglibutil (1.0.20) unstable; urgency=low
* Added GUtilIntHistory
-- Slava Monich <slava.monich@jolla.com> Thu, 02 Mar 2017 16:58:02 +0200
libglibutil (1.0.19) unstable; urgency=low
* Added GUtilIntArray and GUtilInts
-- Slava Monich <slava.monich@jolla.com> Thu, 23 Feb 2017 18:37:01 +0200
libglibutil (1.0.18) unstable; urgency=low
* Allow strings longer than 512 bytes in gutil_log_syslog
-- Slava Monich <slava.monich@jolla.com> Sat, 18 Feb 2017 20:30:23 +0200
libglibutil (1.0.17) unstable; urgency=low
* Made unit tests work with glib < 2.36
-- Slava Monich <slava.monich@jolla.com> Fri, 06 Jan 2017 20:07:29 +0300
libglibutil (1.0.16) unstable; urgency=low
* Switched to glib test framework
-- Slava Monich <slava.monich@jolla.com> Mon, 05 Dec 2016 18:07:41 +0200
libglibutil (1.0.15) unstable; urgency=low
* Added gutil_time_notify API
-- Slava Monich <slava.monich@jolla.com> Mon, 28 Nov 2016 19:02:36 +0200
libglibutil (1.0.14) unstable; urgency=low
* Another check for NULL in gutil_inotify_watch_new
* Removed unnecessary checks from gutil_inotify_ref/undef
* Added test_inotify
-- Slava Monich <slava.monich@jolla.com> Sat, 24 Sep 2016 17:30:39 +0300
libglibutil (1.0.13) unstable; urgency=low
* Added gutil_strv_remove_at
* Moved common test code into a reusable module
* Added test_misc
-- Slava Monich <slava.monich@jolla.com> Fri, 23 Sep 2016 17:58:04 +0300
libglibutil (1.0.12) unstable; urgency=low
* Cleaned up debian build
* Fixed test_idlepool against glib < 2.36
* Added gutil_ring_max_size and gutil_ring_set_max_size
* Fixed gutil_ring_flatten behavior with empty ring buffer
-- Slava Monich <slava.monich@jolla.com> Wed, 07 Sep 2016 12:43:14 +0300
libglibutil (1.0.11) unstable; urgency=low
* Moved GLOG_MODULE_DECL from gutil_log.h to gutil_types.h
-- Slava Monich <slava.monich@jolla.com> Sun, 10 Jul 2016 11:46:30 +0300
libglibutil (1.0.10) unstable; urgency=low
* Fixed test_idlepool
* Added GLOG_FLAG_HIDE_NAME and gutil_log_func2
-- Slava Monich <slava.monich@jolla.com> Fri, 13 May 2016 17:14:37 +0300
libglibutil (1.0.9) unstable; urgency=low
* Added gutil_ring_drop and gutil_ring_drop_last functions
-- Slava Monich <slava.monich@jolla.com> Sun, 10 Apr 2016 15:20:40 +0300
libglibutil (1.0.8) unstable; urgency=low
* Added gutil_ring API
-- Slava Monich <slava.monich@jolla.com> Fri, 08 Apr 2016 19:50:38 +0300
libglibutil (1.0.7) unstable; urgency=low
* Added gutil_idle_pool API
-- Slava Monich <slava.monich@jolla.com> Tue, 29 Mar 2016 17:29:46 +0300
libglibutil (1.0.6) unstable; urgency=low
* Added gutil_strv_sort function
* Added gutil_inotify_watch API
-- Slava Monich <slava.monich@jolla.com> Sat, 05 Mar 2016 01:13:34 +0200
libglibutil (1.0.5) unstable; urgency=low
* Fixed a bug gutil_disconnect_handlers
-- Slava Monich <slava.monich@jolla.com> Tue, 23 Feb 2016 15:00:19 +0300
libglibutil (1.0.4) unstable; urgency=low
* Added gutil_disconnect_handlers function
* Compiled on Windows
-- Slava Monich <slava.monich@jolla.com> Sat, 20 Feb 2016 22:58:23 +0300
libglibutil (1.0.3) unstable; urgency=low
* Added GStrV type
-- Slava Monich <slava.monich@jolla.com> Sat, 09 Jan 2016 12:35:58 +0200
libglibutil (1.0.2) unstable; urgency=low
* Makefile cleanup
* Removed unnecessary CR from the assert message
-- Slava Monich <slava.monich@jolla.com> Thu, 24 Dec 2015 00:33:08 +0200
libglibutil (1.0.1) unstable; urgency=low
* Use three-digit version for pkg-config
-- Slava Monich <slava.monich@jolla.com> Mon, 16 Nov 2015 14:01:15 +0200
libglibutil (1.0.0) unstable; urgency=low
* Initial release
-- Slava Monich <slava.monich@jolla.com> Sat, 27 Dec 2014 22:36:32 +0200

1
debian/compat vendored Normal file
View File

@@ -0,0 +1 @@
5

18
debian/control vendored Normal file
View File

@@ -0,0 +1,18 @@
Source: libglibutil
Section: libs
Priority: optional
Maintainer: Slava Monich <slava.monich@jolla.com>
Build-Depends: debhelper (>= 8.1.3), libglib2.0-dev (>= 2.0)
Standards-Version: 3.8.4
Package: libglibutil
Section: libs
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: Library of glib utilities
Package: libglibutil-dev
Section: libdevel
Architecture: any
Depends: libglibutil (= ${binary:Version}), ${misc:Depends}
Description: Development files for libglibutil

28
debian/copyright vendored Normal file
View File

@@ -0,0 +1,28 @@
Copyright (C) 2014-2021 Jolla Ltd.
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
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 names of the copyright holders 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 COPYRIGHT HOLDERS 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 COPYRIGHT HOLDERS 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.

3
debian/libglibutil-dev.install.in vendored Normal file
View File

@@ -0,0 +1,3 @@
debian/tmp/@LIBDIR@/libglibutil.so @LIBDIR@
debian/tmp/@LIBDIR@/pkgconfig/libglibutil.pc @LIBDIR@/pkgconfig
debian/tmp/usr/include/* usr/include/

1
debian/libglibutil.install.in vendored Normal file
View File

@@ -0,0 +1 @@
debian/tmp/@LIBDIR@/libglibutil.so.* @LIBDIR@

16
debian/rules vendored Executable file
View File

@@ -0,0 +1,16 @@
#!/usr/bin/make -f
# -*- makefile -*-
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
LIBDIR=usr/lib/$(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
override_dh_auto_build:
dh_auto_build -- LIBDIR=$(LIBDIR) release pkgconfig debian/libglibutil.install debian/libglibutil-dev.install
override_dh_auto_install:
dh_auto_install -- LIBDIR=$(LIBDIR) install-dev
%:
dh $@

1
debian/source/format vendored Normal file
View File

@@ -0,0 +1 @@
3.0 (quilt)

2
debian/ubports.source_location vendored Normal file
View File

@@ -0,0 +1,2 @@
https://git.sailfishos.org/mer-core/libglibutil/-/archive/1.0.51/libglibutil-1.0.51.tar.gz
libglibutil-1.0.51.tar.gz