Accepting request 1159280 from GNOME:Next

GNOME 46

OBS-URL: https://build.opensuse.org/request/show/1159280
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/pixman?expand=0&rev=107
This commit is contained in:
Dominique Leuenberger 2024-03-19 13:33:25 +00:00 committed by Git OBS Bridge
parent 746e1114f7
commit 237bc78dc4
4 changed files with 63 additions and 20 deletions

BIN
pixman-0.42.2.tar.gz (Stored with Git LFS)

Binary file not shown.

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

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

View File

@ -1,3 +1,36 @@
-------------------------------------------------------------------
Mon Feb 26 09:28:18 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- Rework previous change
+ Disable the demos: pass -Ddemos=disabled to meson. This allows
us not to BuildRequire gtk3. Having it would result in a build
cycle.
+ Pass -Dlibpng=disabled to meson: only needed for the tests.
- Drop pkgconfig(gtk+-3.0) BuildRequires: with the demos disabled,
we don't need this anymore.
- Drop cmake BuildRequires: the build system uses meson. cmake is
used as a fallback to find libraries when they can't be found
with pkgconfig.
- Enable test suite (meson_test), without the png tests (for
minimal build deps).
- Switch post/post to ldconfig_scriptlets: there is no other code
in the scripts.
-------------------------------------------------------------------
Sat Feb 24 09:54:53 UTC 2024 - Simon Lees <sflees@suse.de>
- Update to version 0.43.2
+ Highlights include:
* mmx: use xmmintrin.h if building with SSE2
* implement r8g8b8 sRGB (without alpha)
* Build system swapped to Meson
+ Various other fixes
- Add meson BuildRequires and replace configure/make/make_install
macros with respective meson/meson_build/meson_install, following
upstreams switch to meson.
- Add cmake and pkgconfig(gtk+-3.0) BuildRequires: new
depdendencies.
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Nov 4 17:12:49 UTC 2022 - Michael Gorse <mgorse@suse.com> Fri Nov 4 17:12:49 UTC 2022 - Michael Gorse <mgorse@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package pixman # spec file for package pixman
# #
# Copyright (c) 2023 SUSE LLC # Copyright (c) 2024 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -17,7 +17,7 @@
Name: pixman Name: pixman
Version: 0.42.2 Version: 0.43.2
Release: 0 Release: 0
Summary: Pixel manipulation library Summary: Pixel manipulation library
License: MIT License: MIT
@ -25,7 +25,7 @@ Group: Development/Libraries/C and C++
URL: https://gitlab.freedesktop.org/pixman/pixman URL: https://gitlab.freedesktop.org/pixman/pixman
Source: https://www.cairographics.org/releases/%{name}-%{version}.tar.gz Source: https://www.cairographics.org/releases/%{name}-%{version}.tar.gz
Source99: baselibs.conf Source99: baselibs.conf
BuildRequires: pkgconfig BuildRequires: meson
%description %description
Pixman is a pixel manipulation library for X and cairo. Pixman is a pixel manipulation library for X and cairo.
@ -49,30 +49,40 @@ Pixman is a pixel manipulation library for X and cairo.
%setup -q %setup -q
%build %build
#autoreconf -fi
# #
# For now: disable neon on all ARMv6/7 # For now: disable neon on all ARMv6/7
%configure \ #
%meson \
%ifnarch %{ix86}
-Dmmx="disabled" \
-Dsse2="disabled" \
-Dssse3="disabled" \
%endif
-Dvmx="disabled" \
-Dloongson-mmi="disabled" \
-Darm-simd="disabled" \
-Dneon="disabled" \
%ifarch %{arm} %ifarch %{arm}
--disable-arm-iwmmxt \ -Da64-neon="enabled" \
--disable-arm-neon \ %else
-Da64-neon="disabled" \
%endif %endif
%ifarch ppc64le -Diwmmxt="disabled" \
--disable-vmx \ -Dmips-dspr2="disabled" \
%endif -Ddemos=disabled \
--disable-static -Dlibpng=disabled
make V=1 %{?_smp_mflags} %meson_build
%install %install
%make_install %meson_install
rm %{buildroot}%{_libdir}/libpixman-1.la
%post -n libpixman-1-0 -p /sbin/ldconfig %check
%postun -n libpixman-1-0 -p /sbin/ldconfig %meson_test
%ldconfig_scriptlets -n libpixman-1-0
%files -n libpixman-1-0 %files -n libpixman-1-0
%license COPYING %license COPYING
%{_libdir}/libpixman-1.so.* %{_libdir}/libpixman-1.so.*
%files -n libpixman-1-0-devel %files -n libpixman-1-0-devel