Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package inih for openSUSE:Factory checked in at 2021-03-18 22:54:10 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/inih (Old) and /work/SRC/openSUSE:Factory/.inih.new.2401 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "inih" Thu Mar 18 22:54:10 2021 rev:4 rq:878653 version:53 Changes: -------- --- /work/SRC/openSUSE:Factory/inih/inih.changes 2021-01-01 21:13:44.175388241 +0100 +++ /work/SRC/openSUSE:Factory/.inih.new.2401/inih.changes 2021-03-18 22:54:15.435486544 +0100 @@ -1,0 +2,9 @@ +Thu Mar 11 07:19:10 UTC 2021 - Wang Jun <jgw...@suse.com> - 53 +??? +- Update to version 53 + * Add architecture ppc64le to travis build (#122) + * enable distro settings by default (#125) + * meson: optionally depend on c++ (#124) + * meson: add static compile args to inih_dep (#126) + +------------------------------------------------------------------- Old: ---- inih-r52.tar.gz New: ---- inih-r53.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ inih.spec ++++++ --- /var/tmp/diff_new_pack.2B3PDn/_old 2021-03-18 22:54:15.947487097 +0100 +++ /var/tmp/diff_new_pack.2B3PDn/_new 2021-03-18 22:54:15.951487101 +0100 @@ -1,7 +1,7 @@ # # spec file for package inih # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # Copyright (c) 2020 Matthias Bach <ma...@marix.org> # # All modifications and additions to the file contributed by third parties @@ -18,7 +18,7 @@ Name: inih -Version: 52 +Version: 53 Release: 0 Summary: Simple .INI file parser in C, good for embedded systems License: BSD-3-Clause ++++++ inih-r52.tar.gz -> inih-r53.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/inih-r52/.travis.yml new/inih-r53/.travis.yml --- old/inih-r52/.travis.yml 2020-10-13 10:25:18.000000000 +0200 +++ new/inih-r53/.travis.yml 2021-02-07 21:35:56.000000000 +0100 @@ -1,3 +1,7 @@ +os: linux +arch: + - amd64 + - ppc64le language: c # Setting sudo access to false will let Travis CI use containers diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/inih-r52/README.md new/inih-r53/README.md --- old/inih-r52/README.md 2020-10-13 10:25:18.000000000 +0200 +++ new/inih-r53/README.md 2021-02-07 21:35:56.000000000 +0100 @@ -132,13 +132,14 @@ ## Meson notes ## * The `meson.build` file is not required to use or compile inih, its main purpose is for distributions. -* By default Meson only creates a static library for inih, but Meson can be used to configure this behavior: -* with `-Ddefault_library=shared` a shared library is build. -* with `-Ddistro_install=true` the library will be installed with the header and a pkg-config entry, you may want to set `-Ddefault_library=shared` when using this. -* with `-Dwith_INIReader` you can build (and install if selected) the C++ library. -* all compile-time options are implemented in Meson as well, you can take a look at [meson_options.txt](https://github.com/benhoyt/inih/blob/master/meson_options.txt) for their definition. These won't work if `distro_install` is set to `true`. +* By default Meson is set up for distro installation, but this behavior can be configured for embedded use cases: + * with `-Ddefault_library=static` static libraries are built. + * with `-Ddistro_install=false` libraries, headers and pkg-config files won't be installed. + * with `-Dwith_INIReader=false` you can disable building the C++ library. +* All compile-time options are implemented in Meson as well, you can take a look at [meson_options.txt](https://github.com/benhoyt/inih/blob/master/meson_options.txt) for their definition. These won't work if `distro_install` is set to `true`. * If you want to use inih for programs which may be shipped in a distro, consider linking against the shared libraries. The pkg-config entries are `inih` and `INIReader`. -* In case you use inih as a subproject, you can use the `inih_dep` and `INIReader_dep` dependency variables. +* In case you use inih as a Meson subproject, you can use the `inih_dep` and `INIReader_dep` dependency variables. You might want to set `default_library=static` and `distro_install=false` for the subproject. An official Wrap is provided on [WrapDB](https://wrapdb.mesonbuild.com/inih). +* For packagers: if you want to tag the version in the pkg-config file, you will need to do this downstream. Add `version : '<version_as_int>',` after the `license` tag in the `project()` function and `version : meson.project_version(),` after the `soversion` tag in both `library()` functions. ## Building from vcpkg ## diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/inih-r52/meson.build new/inih-r53/meson.build --- old/inih-r52/meson.build 2020-10-13 10:25:18.000000000 +0200 +++ new/inih-r53/meson.build 2021-02-07 21:35:56.000000000 +0100 @@ -1,6 +1,5 @@ project('inih', - ['c','cpp'], - default_options : ['default_library=static'], + ['c'], license : 'BSD-3-Clause', ) @@ -78,11 +77,13 @@ inih_dep = declare_dependency( link_with : lib_inih, + compile_args : arg_static, include_directories : inc_inih ) #### INIReader #### if get_option('with_INIReader') + add_languages('cpp') inc_INIReader = include_directories('cpp') lib_INIReader = library('INIReader', diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/inih-r52/meson_options.txt new/inih-r53/meson_options.txt --- old/inih-r52/meson_options.txt 2020-10-13 10:25:18.000000000 +0200 +++ new/inih-r53/meson_options.txt 2021-02-07 21:35:56.000000000 +0100 @@ -1,11 +1,11 @@ option('distro_install', type : 'boolean', - value : false, + value : true, description : 'install shared libs, headers and pkg-config entries' ) option('with_INIReader', type : 'boolean', - value : false, + value : true, description : 'compile and (if selected) install INIReader' ) option('multi-line_entries',