Hello community, here is the log from the commit of package babl for openSUSE:Factory checked in at 2019-06-20 18:53:01 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/babl (Old) and /work/SRC/openSUSE:Factory/.babl.new.4811 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "babl" Thu Jun 20 18:53:01 2019 rev:48 rq:710396 version:0.1.66 Changes: -------- --- /work/SRC/openSUSE:Factory/babl/babl.changes 2019-06-04 12:08:33.351896142 +0200 +++ /work/SRC/openSUSE:Factory/.babl.new.4811/babl.changes 2019-06-20 18:53:09.140661030 +0200 @@ -1,0 +2,7 @@ +Sat Jun 15 17:44:37 UTC 2019 - Bjørn Lie <[email protected]> + +- Update to version 0.1.66: + + Added API call, babl_space_get_rgb_luminance. + + Make most SIMD code-paths optional again on i686. + +------------------------------------------------------------------- Old: ---- babl-0.1.64.tar.bz2 New: ---- babl-0.1.66.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ babl.spec ++++++ --- /var/tmp/diff_new_pack.xVTA19/_old 2019-06-20 18:53:11.884664789 +0200 +++ /var/tmp/diff_new_pack.xVTA19/_new 2019-06-20 18:53:11.916664833 +0200 @@ -19,7 +19,7 @@ %define debug_package_requires libbabl-0_1-0 = %{version}-%{release} Name: babl -Version: 0.1.64 +Version: 0.1.66 Release: 0 Summary: Dynamic Pixel Format Translation Library License: LGPL-3.0-or-later AND GPL-3.0-or-later ++++++ babl-0.1.64.tar.bz2 -> babl-0.1.66.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/babl-0.1.64/INSTALL new/babl-0.1.66/INSTALL --- old/babl-0.1.64/INSTALL 2019-05-25 18:59:23.000000000 +0200 +++ new/babl-0.1.66/INSTALL 2019-06-12 19:40:21.000000000 +0200 @@ -1,5 +1,5 @@ -babl 0.1.64 +babl 0.1.66 Dynamic; any to any, pixel format conversion library. @@ -12,10 +12,10 @@ installation (or a variation on this theme): ------------------------------------------------------------ - foo$ wget ftp://ftp.gtk.org/pub/babl/0.1/babl-0.1.64.tar.bz2 - foo$ tar jxf babl-0.1.64.tar.gz - foo$ cd babl-0.1.64 - foo/babl-0.1.64$ ./configure && make && sudo make install + foo$ wget ftp://ftp.gtk.org/pub/babl/0.1/babl-0.1.66.tar.bz2 + foo$ tar jxf babl-0.1.66.tar.gz + foo$ cd babl-0.1.66 + foo/babl-0.1.66$ ./configure && make && sudo make install ------------------------------------------------------------ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/babl-0.1.64/NEWS new/babl-0.1.66/NEWS --- old/babl-0.1.64/NEWS 2019-05-25 19:01:37.000000000 +0200 +++ new/babl-0.1.66/NEWS 2019-06-12 19:44:18.000000000 +0200 @@ -3,6 +3,10 @@ the news section both in the README and the webpage. --> +2019-06-12 babl-0.1.66 </dt><dd> +Added API call, babl_space_get_rgb_luminance, +Make most SIMD code-paths optional again on i686. + </dd><dt> 2019-05-25 babl-0.1.64 </dt><dd> Support for Hygon Dhyana, and Y~aA formats for symmetric completeness. Code consistency, gitlab CI, autotools and meson build improvements. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/babl-0.1.64/README new/babl-0.1.66/README --- old/babl-0.1.64/README 2019-05-25 19:02:18.000000000 +0200 +++ new/babl-0.1.66/README 2019-06-12 19:44:39.000000000 +0200 @@ -1,4 +1,4 @@ -Babl-0.1.64 +Babl-0.1.66 Contents @@ -64,6 +64,9 @@ release is done a babl release is most often put out just prior to the GEGL release. +2019-06-12 babl-0.1.66 + Added API call, babl_space_get_rgb_luminance, Make most SIMD + code-paths optional again on i686. 2019-05-25 babl-0.1.64 Support for Hygon Dhyana, and Y~aA formats for symmetric completeness. Code consistency, gitlab CI, autotools and meson @@ -3388,4 +3391,4 @@ Félix Piédallu Initial meson build -/babl-0.1.64 +/babl-0.1.66 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/babl-0.1.64/babl/babl-format.c new/babl-0.1.66/babl/babl-format.c --- old/babl-0.1.64/babl/babl-format.c 2019-02-25 19:53:01.000000000 +0100 +++ new/babl-0.1.66/babl/babl-format.c 2019-05-30 17:56:22.000000000 +0200 @@ -127,6 +127,7 @@ babl->format.palette = 0; babl->format.space = (void*)space; + babl->format.encoding = NULL; return babl; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/babl-0.1.64/babl/babl-space.c new/babl-0.1.66/babl/babl-space.c --- old/babl-0.1.64/babl/babl-space.c 2019-02-25 19:53:01.000000000 +0100 +++ new/babl-0.1.66/babl/babl-space.c 2019-06-12 15:30:03.000000000 +0200 @@ -1218,3 +1218,18 @@ * of Adobe Systems Incorporated in many countires. */ +void +babl_space_get_rgb_luminance (const Babl *space, + double *red_luminance, + double *green_luminance, + double *blue_luminance) +{ + if (!space) + space = babl_space ("sRGB"); + if (red_luminance) + *red_luminance = space->space.RGBtoXYZ[3]; + if (green_luminance) + *green_luminance = space->space.RGBtoXYZ[4]; + if (blue_luminance) + *blue_luminance = space->space.RGBtoXYZ[5]; +} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/babl-0.1.64/babl/babl-version.h new/babl-0.1.66/babl/babl-version.h --- old/babl-0.1.64/babl/babl-version.h 2019-05-25 18:59:23.000000000 +0200 +++ new/babl-0.1.66/babl/babl-version.h 2019-06-12 19:40:21.000000000 +0200 @@ -34,7 +34,7 @@ #define BABL_MAJOR_VERSION 0 #define BABL_MINOR_VERSION 1 -#define BABL_MICRO_VERSION 64 +#define BABL_MICRO_VERSION 66 /** Get the version information on the babl library */ void babl_get_version (int *major, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/babl-0.1.64/babl/babl.h new/babl-0.1.66/babl/babl.h --- old/babl-0.1.64/babl/babl.h 2019-02-25 19:53:01.000000000 +0100 +++ new/babl-0.1.66/babl/babl.h 2019-06-12 15:30:23.000000000 +0200 @@ -577,6 +577,20 @@ const Babl **green_trc, const Babl **blue_trc); +/** + * babl_space_get_rgb_luminance: + * @space: a BablSpace + * @red_luminance: pointer to a double where red luminance factor is stored + * @green_luminance: pointer to a double where green luminance factor is stored + * @blue_luminance: pointer to a double where blue luminance factor is stored + * + * Retrieve the relevant RGB luminance constants for a babl space. + */ +void +babl_space_get_rgb_luminance (const Babl *space, + double *red_luminance, + double *green_luminance, + double *blue_luminance); /** * babl_model_is: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/babl-0.1.64/configure new/babl-0.1.66/configure --- old/babl-0.1.64/configure 2019-05-25 18:59:19.000000000 +0200 +++ new/babl-0.1.66/configure 2019-06-12 19:40:18.000000000 +0200 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for babl 0.1.64. +# Generated by GNU Autoconf 2.69 for babl 0.1.66. # # # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. @@ -587,8 +587,8 @@ # Identity of this package. PACKAGE_NAME='babl' PACKAGE_TARNAME='babl' -PACKAGE_VERSION='0.1.64' -PACKAGE_STRING='babl 0.1.64' +PACKAGE_VERSION='0.1.66' +PACKAGE_STRING='babl 0.1.66' PACKAGE_BUGREPORT='' PACKAGE_URL='' @@ -1397,7 +1397,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures babl 0.1.64 to adapt to many kinds of systems. +\`configure' configures babl 0.1.66 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1469,7 +1469,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of babl 0.1.64:";; + short | recursive ) echo "Configuration of babl 0.1.66:";; esac cat <<\_ACEOF @@ -1598,7 +1598,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -babl configure 0.1.64 +babl configure 0.1.66 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -1963,7 +1963,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by babl $as_me 0.1.64, which was +It was created by babl $as_me 0.1.66, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -2319,11 +2319,11 @@ BABL_MAJOR_VERSION=0 BABL_MINOR_VERSION=1 -BABL_MICRO_VERSION=64 +BABL_MICRO_VERSION=66 BABL_INTERFACE_AGE=1 -BABL_BINARY_AGE=164 -BABL_VERSION=0.1.64 -BABL_REAL_VERSION=0.1.64 +BABL_BINARY_AGE=166 +BABL_VERSION=0.1.66 +BABL_REAL_VERSION=0.1.66 BABL_API_VERSION=0.1 @@ -2358,7 +2358,7 @@ -BABL_LIBRARY_VERSION="163:1:163" +BABL_LIBRARY_VERSION="165:1:165" BABL_CURRENT_MINUS_AGE=0 @@ -2990,7 +2990,7 @@ # Define the identity of the package. PACKAGE='babl' - VERSION='0.1.64' + VERSION='0.1.66' # Some tools Automake needs. @@ -15193,7 +15193,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by babl $as_me 0.1.64, which was +This file was extended by babl $as_me 0.1.66, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -15259,7 +15259,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -babl config.status 0.1.64 +babl config.status 0.1.66 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/babl-0.1.64/configure.ac new/babl-0.1.66/configure.ac --- old/babl-0.1.64/configure.ac 2019-05-25 18:59:04.000000000 +0200 +++ new/babl-0.1.66/configure.ac 2019-06-12 19:40:13.000000000 +0200 @@ -14,7 +14,7 @@ m4_define([babl_major_version], [0]) m4_define([babl_minor_version], [1]) -m4_define([babl_micro_version], [64]) +m4_define([babl_micro_version], [66]) m4_define([babl_real_version], [babl_major_version.babl_minor_version.babl_micro_version]) m4_define([babl_version], [babl_real_version]) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/babl-0.1.64/export-symbols new/babl-0.1.66/export-symbols --- old/babl-0.1.64/export-symbols 2019-02-25 19:53:01.000000000 +0100 +++ new/babl-0.1.66/export-symbols 2019-06-12 15:46:35.000000000 +0200 @@ -47,8 +47,9 @@ babl_space_from_chromaticities babl_space_from_icc babl_space_get -babl_space_get_rgbtoxyz babl_space_get_icc +babl_space_get_rgbtoxyz +babl_space_get_rgb_luminance babl_space_to_xyz babl_space_from_xyz babl_space_to_icc diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/babl-0.1.64/meson.build new/babl-0.1.66/meson.build --- old/babl-0.1.64/meson.build 2019-05-25 18:59:14.000000000 +0200 +++ new/babl-0.1.66/meson.build 2019-06-12 19:40:08.000000000 +0200 @@ -1,6 +1,6 @@ project('babl', 'c', license: 'LGPL3+', - version: '0.1.64', + version: '0.1.66', meson_version: '>=0.47.0', default_options: [ 'libdir=lib', @@ -207,7 +207,6 @@ sse2_cflags = '-msse2' conf.set('USE_SSE2', 1, description: 'Define to 1 if sse2 assembly is available.') - add_project_arguments('-march=native', language : 'c') # sse4.1 assembly if cc.has_argument('-msse4.1') and get_option('enable-sse4_1')
