From a945ea02323b8768ee69afc9fe05fe1f471037f7e5dc4a828fc8ce276d9b723f Mon Sep 17 00:00:00 2001
From: OBS User unknown <null@suse.de>
Date: Thu, 23 Apr 2009 18:21:55 +0000
Subject: [PATCH] OBS-URL:
 https://build.opensuse.org/package/show/openSUSE:Factory/pixman?expand=0&rev=2

---
 pixman-0.14.0.tar.bz2 |  3 ---
 pixman-0.15.2.tar.bz2 |  3 +++
 pixman.changes        | 20 ++++++++++++++++++++
 pixman.spec           | 27 ++++++++++++++++++++++-----
 4 files changed, 45 insertions(+), 8 deletions(-)
 delete mode 100644 pixman-0.14.0.tar.bz2
 create mode 100644 pixman-0.15.2.tar.bz2

diff --git a/pixman-0.14.0.tar.bz2 b/pixman-0.14.0.tar.bz2
deleted file mode 100644
index 18f109f..0000000
--- a/pixman-0.14.0.tar.bz2
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:eb6d14a582cd5055c52e8278641984c17945a8693733214a5d5a10b4f849ca4d
-size 352625
diff --git a/pixman-0.15.2.tar.bz2 b/pixman-0.15.2.tar.bz2
new file mode 100644
index 0000000..a5956f1
--- /dev/null
+++ b/pixman-0.15.2.tar.bz2
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:5cfd22ec2dcc29b3ca41401fc1f19e0c5f1420b6e73e054d58282e8a6c28c47c
+size 343022
diff --git a/pixman.changes b/pixman.changes
index 2d59d31..f94553a 100644
--- a/pixman.changes
+++ b/pixman.changes
@@ -1,3 +1,23 @@
+-------------------------------------------------------------------
+Sat Apr 11 01:09:13 CEST 2009 - mboman@suse.de
+
+- Update to version 0.15.2:
+  + Reinstate SrcScaledNearest optimization
+  + Implement PIXMAN_REPEAT_REFLECT for images
+  + Add license and copyright holders to COPYING
+  + Check for allocation errors during pixman_op()
+  + Propagate the error returns from pixman_rect_alloc()
+  + Check for failure when intersecting regions
+  + Add support for BGRA and BGRx formats
+  + Set srcRepeat = False when using fbCompositeSrcScaleNearest
+  + Fix pixbuf_from_argb32() to take premultiplied alpha into
+    account
+  + Replace custom type ullong with standard uint64_t in
+    pixman-mmx.c
+  + Fix search and replace issue
+- Remove custom CFLAGS
+- Add %{version} to Requires in -devel package
+
 -------------------------------------------------------------------
 Tue Feb 10 13:38:44 CET 2009 - mboman@suse.de
 
diff --git a/pixman.spec b/pixman.spec
index 9f8e4e6..d748483 100644
--- a/pixman.spec
+++ b/pixman.spec
@@ -1,5 +1,5 @@
 #
-# spec file for package pixman (Version 0.14.0)
+# spec file for package pixman (Version 0.15.2)
 #
 # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
@@ -19,8 +19,8 @@
 
 
 Name:           pixman
-Version:        0.14.0
-Release:        2
+Version:        0.15.2
+Release:        1
 License:        X11/MIT
 BuildRequires:  pkgconfig
 Url:            http://xorg.freedesktop.org/
@@ -56,7 +56,7 @@ Authors:
 License:        X11/MIT
 Summary:        Pixel manipulation library - development files
 Group:          Development/Libraries/X11
-Requires:       libpixman-1-0
+Requires:       libpixman-1-0 = %{version}
 
 %description -n libpixman-1-0-devel
 Pixman is a pixel manipulation library for X and cairo.
@@ -71,7 +71,6 @@ Authors:
 %setup
 
 %build
-CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
 #autoreconf -fi
 %configure --disable-static
 make %{?jobs:-j%jobs}
@@ -89,6 +88,7 @@ rm -rf "$RPM_BUILD_ROOT"
 
 %files -n libpixman-1-0
 %defattr(-,root,root)
+%doc COPYING
 %{_libdir}/libpixman-1.so.*
 
 %files -n libpixman-1-0-devel
@@ -98,6 +98,23 @@ rm -rf "$RPM_BUILD_ROOT"
 %{_libdir}/pkgconfig/pixman-1.pc
 
 %changelog
+* Sat Apr 11 2009 mboman@suse.de
+- Update to version 0.15.2:
+  + Reinstate SrcScaledNearest optimization
+  + Implement PIXMAN_REPEAT_REFLECT for images
+  + Add license and copyright holders to COPYING
+  + Check for allocation errors during pixman_op()
+  + Propagate the error returns from pixman_rect_alloc()
+  + Check for failure when intersecting regions
+  + Add support for BGRA and BGRx formats
+  + Set srcRepeat = False when using fbCompositeSrcScaleNearest
+  + Fix pixbuf_from_argb32() to take premultiplied alpha into
+  account
+  + Replace custom type ullong with standard uint64_t in
+  pixman-mmx.c
+  + Fix search and replace issue
+- Remove custom CFLAGS
+- Add %%{version} to Requires in -devel package
 * Tue Feb 10 2009 mboman@suse.de
 - Initial package, split out from xorg-x11-libs
   + Drop pixman-0.12.0.diff. See bnc#444639/rh#435771 and fdo#17293