Hello community, here is the log from the commit of package yder for openSUSE:Factory checked in at 2020-07-06 16:31:52 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/yder (Old) and /work/SRC/openSUSE:Factory/.yder.new.3060 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yder" Mon Jul 6 16:31:52 2020 rev:9 rq:818945 version:1.4.11 Changes: -------- --- /work/SRC/openSUSE:Factory/yder/yder.changes 2020-03-17 13:09:18.789760628 +0100 +++ /work/SRC/openSUSE:Factory/.yder.new.3060/yder.changes 2020-07-06 16:34:23.824103380 +0200 @@ -1,0 +2,8 @@ +Fri Jul 3 18:10:52 UTC 2020 - Martin Hauke <mar...@gmx.de> + +- Update to version 1.4.11 + - cmake script: Add option `DOWNLOAD_DEPENDENCIES` + - Harmonize licenses + - Fix install pkgconfig by Makefile + +------------------------------------------------------------------- Old: ---- yder-1.4.10.tar.gz New: ---- yder-1.4.11.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yder.spec ++++++ --- /var/tmp/diff_new_pack.m04oOB/_old 2020-07-06 16:34:25.432108330 +0200 +++ /var/tmp/diff_new_pack.m04oOB/_new 2020-07-06 16:34:25.432108330 +0200 @@ -19,9 +19,10 @@ %define sover 1_4 Name: yder -Version: 1.4.10 +Version: 1.4.11 Release: 0 Summary: Logging library written in C +# Example programs in subfolder examples/ are licensed under MIT License: LGPL-2.1-or-later Group: Development/Languages/C and C++ URL: https://github.com/babelouest/yder ++++++ yder-1.4.10.tar.gz -> yder-1.4.11.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yder-1.4.10/.travis.yml new/yder-1.4.11/.travis.yml --- old/yder-1.4.10/.travis.yml 2020-03-14 22:38:31.000000000 +0100 +++ new/yder-1.4.11/.travis.yml 2020-07-03 18:33:18.000000000 +0200 @@ -1,18 +1,17 @@ # travis configuration file # Copyright 2018 Ilya Shipitsin <chipits...@gmail.com> -# Nicolas Mora <m...@babelouest.org> -sudo: required +# 2018-2020 Nicolas Mora <m...@babelouest.org> +os: linux language: c +dist: bionic addons: apt: - packages: [ check, libsubunit-dev, cppcheck, pkg-config ] -matrix: + packages: [ check, libsubunit-dev, cppcheck, pkg-config, libsystemd-dev ] +jobs: include: - env: LABEL=linux-gcc - os: linux compiler: gcc - env: LABEL=linux-clang - os: linux compiler: clang - env: LABEL=osx os: osx @@ -27,12 +26,11 @@ - cmake -DBUILD_YDER_TESTING=on -DWITH_JOURNALD=off .. - make test - env: LABEL=cppcheck - os: linux script: - - cppcheck --force --enable=warning,missingInclude --error-exitcode=1 . >build.log 2>&1 || (cat build.log && exit 1) + - cppcheck --force --enable=warning,missingInclude --error-exitcode=1 . script: - mkdir build && cd build - - cmake -DBUILD_YDER_TESTING=on -DWITH_JOURNALD=off .. + - cmake -DBUILD_YDER_TESTING=on .. - make test package - sudo make install - sudo ldconfig diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yder-1.4.10/API.md new/yder-1.4.11/API.md --- old/yder-1.4.10/API.md 1970-01-01 01:00:00.000000000 +0100 +++ new/yder-1.4.11/API.md 2020-07-03 18:33:18.000000000 +0200 @@ -0,0 +1,7 @@ +# Yder + +Logging library written in C. + +Simple and easy to use logging library. You can log messages to the console, a file, syslog, journald or a callback function. + +Yder is mono-thread, which mean that you can use only one instance of yder log at the same time in your program. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yder-1.4.10/CHANGELOG.md new/yder-1.4.11/CHANGELOG.md --- old/yder-1.4.10/CHANGELOG.md 2020-03-14 22:38:31.000000000 +0100 +++ new/yder-1.4.11/CHANGELOG.md 2020-07-03 18:33:18.000000000 +0200 @@ -1,5 +1,12 @@ # Yder Changelog +## 1.4.11 + +- Update CI pipelines +- cmake script: Add option `DOWNLOAD_DEPENDENCIES` +- Harmonize licenses +- Fix install pkgconfig by Makefile + ## 1.4.10 - Add `y_set_date_format`, closes #17 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yder-1.4.10/CMakeLists.txt new/yder-1.4.11/CMakeLists.txt --- old/yder-1.4.10/CMakeLists.txt 2020-03-14 22:38:31.000000000 +0100 +++ new/yder-1.4.11/CMakeLists.txt 2020-07-03 18:33:18.000000000 +0200 @@ -4,7 +4,7 @@ # CMake file used to build all programs # # Copyright 2018 Silvio Clecio <silviop...@gmail.com> -# Copyright 2018 Nicolas Mora <m...@babelouest.org> +# Copyright 2018-2020 Nicolas Mora <m...@babelouest.org> # # This program is free software; you can redistribute it and/or # modify it under the terms of the MIT License @@ -30,7 +30,7 @@ set(PROJECT_BUGREPORT_PATH "https://github.com/babelouest/yder/issues") set(LIBRARY_VERSION_MAJOR "1") set(LIBRARY_VERSION_MINOR "4") -set(LIBRARY_VERSION_PATCH "10") +set(LIBRARY_VERSION_PATCH "11") set(PROJECT_VERSION "${LIBRARY_VERSION_MAJOR}.${LIBRARY_VERSION_MINOR}.${LIBRARY_VERSION_PATCH}") set(PROJECT_VERSION_MAJOR ${LIBRARY_VERSION_MAJOR}) @@ -56,7 +56,7 @@ set(LIBRARY_VERSION "${LIBRARY_VERSION_MAJOR}.${LIBRARY_VERSION_MINOR}.${LIBRARY_VERSION_PATCH}") set(LIBRARY_SOVERSION "${LIBRARY_VERSION_MAJOR}.${LIBRARY_VERSION_MINOR}") -set(ORCANIA_VERSION_REQUIRED "2.1.0") +set(ORCANIA_VERSION_REQUIRED "2.1.1") # cmake modules @@ -132,22 +132,28 @@ OUTPUT_NAME yder) endif () -option (SEARCH_ORCANIA "Search for Orcania library" ON) +option(DOWNLOAD_DEPENDENCIES "Download required dependencies" ON) + +option(SEARCH_ORCANIA "Search for Orcania library" ON) if (SEARCH_ORCANIA) set(Orcania_FIND_QUIETLY ON) # force to find Orcania quietly include(FindOrcania) find_package(Orcania ${ORCANIA_VERSION_REQUIRED} QUIET) # try to find orcania if (NOT ORCANIA_FOUND) - include(DownloadProject) - download_project(PROJ orcania # ... otherwise, download archive - URL "https://github.com/babelouest/orcania/archive/v${ORCANIA_VERSION_REQUIRED}.tar.gz" - QUIET) - add_subdirectory(${orcania_SOURCE_DIR} ${orcania_BINARY_DIR}) - include_directories(${orcania_SOURCE_DIR}/include) - include_directories(${orcania_BINARY_DIR}) - add_dependencies(yder orcania) - set(ORCANIA_LIBRARIES orcania) - set(LIBS ${LIBS} ${ORCANIA_LIBRARIES}) + if (DOWNLOAD_DEPENDENCIES) + include(DownloadProject) + download_project(PROJ orcania # ... otherwise, download archive + URL "https://github.com/babelouest/orcania/archive/v${ORCANIA_VERSION_REQUIRED}.tar.gz" + QUIET) + add_subdirectory(${orcania_SOURCE_DIR} ${orcania_BINARY_DIR}) + include_directories(${orcania_SOURCE_DIR}/include) + include_directories(${orcania_BINARY_DIR}) + add_dependencies(yder orcania) + set(ORCANIA_LIBRARIES orcania) + set(LIBS ${LIBS} ${ORCANIA_LIBRARIES}) + else () + message( FATAL_ERROR "Orcania not found") + endif () else() set(LIBS ${LIBS} ${ORCANIA_LIBRARIES}) include_directories(${ORCANIA_INCLUDE_DIRS}) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yder-1.4.10/Makefile new/yder-1.4.11/Makefile --- old/yder-1.4.10/Makefile 2020-03-14 22:38:31.000000000 +0100 +++ new/yder-1.4.11/Makefile 2020-07-03 18:33:18.000000000 +0200 @@ -3,16 +3,21 @@ # # Makefile used to build all programs # -# Copyright 2014-2018 Nicolas Mora <m...@babelouest.org> +# Copyright 2014-2020 Nicolas Mora <m...@babelouest.org> # # This program is free software; you can redistribute it and/or -# modify it under the terms of the MIT License +# modify it under the terms of the GNU Lesser General Public License +# as published by the Free Software Foundation; +# version 2.1 of the License. # # This library 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 library. If not, see <http://www.gnu.org/licenses/>. +# LIBYDER_LOCATION=./src EXAMPLE_LOCATION=./examples diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yder-1.4.10/README.md new/yder-1.4.11/README.md --- old/yder-1.4.10/README.md 2020-03-14 22:38:31.000000000 +0100 +++ new/yder-1.4.11/README.md 2020-07-03 18:33:18.000000000 +0200 @@ -5,7 +5,7 @@ [![Build Status](https://travis-ci.com/babelouest/yder.svg?branch=master)](https://travis-ci.com/babelouest/yder) ![.github/workflows/main.yml](https://github.com/babelouest/yder/workflows/.github/workflows/main.yml/badge.svg) -Simple and easy to use logging library. You can log messages to the console, a file, syslog or journald. +Simple and easy to use logging library. You can log messages to the console, a file, syslog, journald or a callback function. Yder is mono-thread, which mean that you can use only one instance of yder log at the same time in your program. @@ -93,7 +93,7 @@ ### Install libyder as a static archive -Install byderlibrary as a static archive, `libyder.a`, use the make commands `make static*`: +Install yder library as a static archive, `libyder.a`, use the make commands `make static*`: ```shell $ cd src diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yder-1.4.10/doc/doxygen.cfg new/yder-1.4.11/doc/doxygen.cfg --- old/yder-1.4.10/doc/doxygen.cfg 2020-03-14 22:38:31.000000000 +0100 +++ new/yder-1.4.11/doc/doxygen.cfg 2020-07-03 18:33:18.000000000 +0200 @@ -790,7 +790,7 @@ # spaces. See also FILE_PATTERNS and EXTENSION_MAPPING # Note: If this tag is empty the current directory is searched. -INPUT = README.md ./src/ ./include/ +INPUT = API.md ./src/ ./include/ # This tag can be used to specify the character encoding of the source files # that doxygen parses. Internally doxygen uses the UTF-8 encoding. Doxygen uses @@ -941,7 +941,7 @@ # (index.html). This can be useful if you have a project on for instance GitHub # and want to reuse the introduction page also for the doxygen output. -USE_MDFILE_AS_MAINPAGE = ./README.md +USE_MDFILE_AS_MAINPAGE = ./API.md #--------------------------------------------------------------------------- # Configuration options related to source browsing diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yder-1.4.10/examples/Makefile new/yder-1.4.11/examples/Makefile --- old/yder-1.4.10/examples/Makefile 2020-03-14 22:38:31.000000000 +0100 +++ new/yder-1.4.11/examples/Makefile 2020-07-03 18:33:18.000000000 +0200 @@ -3,7 +3,7 @@ # # Makefile used to build the software # -# Copyright 2014-2015 Nicolas Mora <m...@babelouest.org> +# Copyright 2014-2020 Nicolas Mora <m...@babelouest.org> # # This program is free software; you can redistribute it and/or # modify it under the terms of the MIT License diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yder-1.4.10/examples/log_callback.c new/yder-1.4.11/examples/log_callback.c --- old/yder-1.4.10/examples/log_callback.c 2020-03-14 22:38:31.000000000 +0100 +++ new/yder-1.4.11/examples/log_callback.c 2020-07-03 18:33:18.000000000 +0200 @@ -1,3 +1,16 @@ +/** + * + * Yder example program + * + * This example program describes the main features + * that are available in a callback function + * + * Copyright 2014-2020 Nicolas Mora <m...@babelouest.org> + * + * License MIT + * + */ + #include <stdio.h> #include <stdlib.h> #include <string.h> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yder-1.4.10/examples/log_combined.c new/yder-1.4.11/examples/log_combined.c --- old/yder-1.4.10/examples/log_combined.c 2020-03-14 22:38:31.000000000 +0100 +++ new/yder-1.4.11/examples/log_combined.c 2020-07-03 18:33:18.000000000 +0200 @@ -1,3 +1,16 @@ +/** + * + * Yder example program + * + * This example program describes the main features + * that are available in a callback function + * + * Copyright 2014-2020 Nicolas Mora <m...@babelouest.org> + * + * License MIT + * + */ + #include <stdio.h> #include <stdlib.h> #include "yder.h" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yder-1.4.10/examples/log_console.c new/yder-1.4.11/examples/log_console.c --- old/yder-1.4.10/examples/log_console.c 2020-03-14 22:38:31.000000000 +0100 +++ new/yder-1.4.11/examples/log_console.c 2020-07-03 18:33:18.000000000 +0200 @@ -1,3 +1,16 @@ +/** + * + * Yder example program + * + * This example program describes the main features + * that are available in a callback function + * + * Copyright 2014-2020 Nicolas Mora <m...@babelouest.org> + * + * License MIT + * + */ + #include <stdio.h> #include <stdlib.h> #include <string.h> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yder-1.4.10/examples/log_file.c new/yder-1.4.11/examples/log_file.c --- old/yder-1.4.10/examples/log_file.c 2020-03-14 22:38:31.000000000 +0100 +++ new/yder-1.4.11/examples/log_file.c 2020-07-03 18:33:18.000000000 +0200 @@ -1,3 +1,16 @@ +/** + * + * Yder example program + * + * This example program describes the main features + * that are available in a callback function + * + * Copyright 2014-2020 Nicolas Mora <m...@babelouest.org> + * + * License MIT + * + */ + #include <stdio.h> #include <stdlib.h> #include "yder.h" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yder-1.4.10/examples/log_journald.c new/yder-1.4.11/examples/log_journald.c --- old/yder-1.4.10/examples/log_journald.c 2020-03-14 22:38:31.000000000 +0100 +++ new/yder-1.4.11/examples/log_journald.c 2020-07-03 18:33:18.000000000 +0200 @@ -1,3 +1,16 @@ +/** + * + * Yder example program + * + * This example program describes the main features + * that are available in a callback function + * + * Copyright 2014-2020 Nicolas Mora <m...@babelouest.org> + * + * License MIT + * + */ + #include <stdio.h> #include <stdlib.h> #include "yder.h" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yder-1.4.10/examples/log_syslog.c new/yder-1.4.11/examples/log_syslog.c --- old/yder-1.4.10/examples/log_syslog.c 2020-03-14 22:38:31.000000000 +0100 +++ new/yder-1.4.11/examples/log_syslog.c 2020-07-03 18:33:18.000000000 +0200 @@ -1,3 +1,16 @@ +/** + * + * Yder example program + * + * This example program describes the main features + * that are available in a callback function + * + * Copyright 2014-2020 Nicolas Mora <m...@babelouest.org> + * + * License MIT + * + */ + #include <stdio.h> #include <stdlib.h> #include "yder.h" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yder-1.4.10/include/yder-cfg.h.in new/yder-1.4.11/include/yder-cfg.h.in --- old/yder-1.4.10/include/yder-cfg.h.in 2020-03-14 22:38:31.000000000 +0100 +++ new/yder-1.4.11/include/yder-cfg.h.in 2020-07-03 18:33:18.000000000 +0200 @@ -6,7 +6,7 @@ * * yder-cfg.h: configuration file * - * Copyright 2018 Nicolas Mora <m...@babelouest.org> + * Copyright 2018-2020 Nicolas Mora <m...@babelouest.org> * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yder-1.4.10/include/yder.h new/yder-1.4.11/include/yder.h --- old/yder-1.4.10/include/yder.h 2020-03-14 22:38:31.000000000 +0100 +++ new/yder-1.4.11/include/yder.h 2020-07-03 18:33:18.000000000 +0200 @@ -7,7 +7,7 @@ * * yder.h: structures and functions declarations * - * Copyright 2015-2019 Nicolas Mora <m...@babelouest.org> + * Copyright 2015-2020 Nicolas Mora <m...@babelouest.org> * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yder-1.4.10/src/Makefile new/yder-1.4.11/src/Makefile --- old/yder-1.4.10/src/Makefile 2020-03-14 22:38:31.000000000 +0100 +++ new/yder-1.4.11/src/Makefile 2020-07-03 18:33:18.000000000 +0200 @@ -3,7 +3,7 @@ # # Makefile used to build the software # -# Copyright 2015-2018 Nicolas Mora <m...@babelouest.org> +# Copyright 2015-2020 Nicolas Mora <m...@babelouest.org> # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public License @@ -35,7 +35,7 @@ OUTPUT=libyder.so VERSION_MAJOR=1 VERSION_MINOR=4 -VERSION_PATCH=10 +VERSION_PATCH=11 SONAME = -soname ifeq ($(shell uname -s),Darwin) @@ -95,7 +95,8 @@ install: all $(PKGCONFIG_FILE) install $(OUTPUT).$(VERSION_MAJOR).$(VERSION_MINOR).$(VERSION_PATCH) $(DESTDIR)/lib - install -m644 $(PKGCONFIG_FILE) $(DESTDIR)/lib/pkgconfig + mkdir -p $(DESTDIR)/lib/pkgconfig/ + install -m644 $(PKGCONFIG_FILE) $(DESTDIR)/lib/pkgconfig/ install -m644 $(YDER_INCLUDE)/yder.h $(DESTDIR)/include install -m644 $(CONFIG_FILE) $(DESTDIR)/include -ldconfig $(DESTDIR)/lib diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yder-1.4.10/src/yder.c new/yder-1.4.11/src/yder.c --- old/yder-1.4.10/src/yder.c 2020-03-14 22:38:31.000000000 +0100 +++ new/yder-1.4.11/src/yder.c 2020-07-03 18:33:18.000000000 +0200 @@ -6,7 +6,7 @@ * * yder.h: structures and functions declarations * - * Copyright 2015-2018 Nicolas Mora <m...@babelouest.org> + * Copyright 2015-2020 Nicolas Mora <m...@babelouest.org> * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yder-1.4.10/test/Makefile new/yder-1.4.11/test/Makefile --- old/yder-1.4.10/test/Makefile 2020-03-14 22:38:31.000000000 +0100 +++ new/yder-1.4.11/test/Makefile 2020-07-03 18:33:18.000000000 +0200 @@ -1,22 +1,5 @@ # -# Glewlwyd OAuth2 Authorization Server -# -# Makefile used to build the software -# -# Copyright 2016 Nicolas Mora <m...@babelouest.org> -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU GENERAL PUBLIC LICENSE -# License as published by the Free Software Foundation; -# version 3 of the License. -# -# This program 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 <http://www.gnu.org/licenses/>. +# Public domain, no copyright. Use at your own risk. # CC=gcc