Accepting request 651396 from home:jubalh:branches:GNOME:Factory

- Update to version 0.36.0:
  + Add tests for (a)rgb floating point formats
  + Add support for argb/xrgb float formats, v5
  + Fix stride calculation in stress-test
  + Adjust for clang's removal of __builtin_shuffle
  + Fix vector loads on ppc64le
  + Promote unsigned short to unsigned int explicitly
  + pixman-filter: Made Gaussian a bit wider
  + pixman-filter: Nested polynomial for cubic
  + pixman-filter: Fix several issues related to normalization
  + pixman-filter: Speed up BOX/BOX filter
  + pixman-filter: integral splitting is only needed for triangle
    filterdd
  + pixman-filter: Correct Simpsons integration
  + pixman-filter: reduce amount of malloc/free/memcpy to generate
    filter
  + pixman-image: Added enable-gnuplot config to view filters in
    gnuplot
  + pixman-fast-path.c: Pick NEAREST affine fast paths before
    BILINEAR ones
  + pixman-private: include <float.h> only in C code
- Remove pixman-private-correct-include.patch: upstreamed

OBS-URL: https://build.opensuse.org/request/show/651396
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/pixman?expand=0&rev=99
This commit is contained in:
Bjørn Lie 2018-11-27 20:35:23 +00:00 committed by Git OBS Bridge
parent dd1416bb76
commit 4d19d6c8c9
5 changed files with 30 additions and 51 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:21b6b249b51c6800dc9553b65106e1e37d0e25df942c90531d4c3997aa20a88e
size 878784

3
pixman-0.36.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1ca19c8d4d37682adfbc42741d24977903fec1169b4153ec05bb690d4acf9fae
size 881544

View File

@ -1,44 +0,0 @@
From 7c6066b700c7cdd4aeb8be426b14b3a5f0de4b6c Mon Sep 17 00:00:00 2001
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Date: Sun, 17 Jan 2016 15:22:50 +0100
Subject: pixman-private: include <float.h> only in C code
<float.h> is included unconditionally by pixman-private.h, which in
turn gets included by assembler files. Unfortunately, with certain C
libraries (like the musl C library), <float.h> cannot be included in
assembler files:
CCLD libpixman-arm-simd.la
/home/test/buildroot/output/host/usr/arm-buildroot-linux-musleabihf/sysroot/usr/include/float.h: Assembler messages:
/home/test/buildroot/output/host/usr/arm-buildroot-linux-musleabihf/sysroot/usr/include/float.h:8: Error: bad instruction `int __flt_rounds(void)'
/home/test/buildroot/output/host/usr/arm-buildroot-linux-musleabihf/sysroot/usr/include/float.h: Assembler messages:
/home/test/buildroot/output/host/usr/arm-buildroot-linux-musleabihf/sysroot/usr/include/float.h:8: Error: bad instruction `int __flt_rounds(void)'
It turns out however that <float.h> is not needed by assembly files,
so we move its inclusion within the #ifndef __ASSEMBLER__ condition,
which solves the problem.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Siarhei Siamashka <siarhei.siamashka@gmail.com>
diff --git a/pixman/pixman-private.h b/pixman/pixman-private.h
index 73108a0..73a5414 100644
--- a/pixman/pixman-private.h
+++ b/pixman/pixman-private.h
@@ -1,5 +1,3 @@
-#include <float.h>
-
#ifndef PIXMAN_PRIVATE_H
#define PIXMAN_PRIVATE_H
@@ -30,6 +28,7 @@
#include <stdio.h>
#include <string.h>
#include <stddef.h>
+#include <float.h>
#include "pixman-compiler.h"
--
cgit v0.10.2

View File

@ -1,3 +1,29 @@
-------------------------------------------------------------------
Fri Nov 23 14:16:04 UTC 2018 - mvetter@suse.com
- Update to version 0.36.0:
+ Add tests for (a)rgb floating point formats
+ Add support for argb/xrgb float formats, v5
+ Fix stride calculation in stress-test
+ Adjust for clang's removal of __builtin_shuffle
+ Fix vector loads on ppc64le
+ Promote unsigned short to unsigned int explicitly
+ pixman-filter: Made Gaussian a bit wider
+ pixman-filter: Nested polynomial for cubic
+ pixman-filter: Fix several issues related to normalization
+ pixman-filter: Speed up BOX/BOX filter
+ pixman-filter: integral splitting is only needed for triangle
filterdd
+ pixman-filter: Correct Simpsons integration
+ pixman-filter: reduce amount of malloc/free/memcpy to generate
filter
+ pixman-image: Added enable-gnuplot config to view filters in
gnuplot
+ pixman-fast-path.c: Pick NEAREST affine fast paths before
BILINEAR ones
+ pixman-private: include <float.h> only in C code
- Remove pixman-private-correct-include.patch: upstreamed
-------------------------------------------------------------------
Mon Mar 5 15:33:13 UTC 2018 - jengelh@inai.de

View File

@ -17,7 +17,7 @@
Name: pixman
Version: 0.34.0
Version: 0.36.0
Release: 0
Summary: Pixel manipulation library
License: MIT
@ -25,8 +25,6 @@ Group: Development/Libraries/C and C++
Url: http://xorg.freedesktop.org/
Source: http://cairographics.org/releases/%{name}-%{version}.tar.gz
Source99: baselibs.conf
# PATCH-FIX-UPSTREAM pixman-private-correct-include.patch zaitor@opensuse.org -- pixman-private: include <float.h> only in C code
Patch0: pixman-private-correct-include.patch
BuildRequires: pkgconfig
%description
@ -49,7 +47,6 @@ Pixman is a pixel manipulation library for X and cairo.
%prep
%setup -q
%patch0 -p1
%build
#autoreconf -fi