From 4850b379ca7b6b90e8b56f4553d6d77b4d682484 Mon Sep 17 00:00:00 2001 From: DistroBaker Date: Tue, 15 Dec 2020 16:40:32 +0100 Subject: [PATCH] Merged update from upstream sources This is an automated DistroBaker update from upstream sources. If you do not know what this is about or would like to opt out, contact the OSCI team. Source: https://src.fedoraproject.org/rpms/mingw-pixman.git#ed6acdbed1b6d7be5eda924306235775031ad846 --- .gitignore | 18 +++ make-pixman-snapshot.sh | 16 +++ mingw-pixman.spec | 287 ++++++++++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 322 insertions(+) create mode 100755 make-pixman-snapshot.sh create mode 100644 mingw-pixman.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..27e9788 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1,18 @@ +pixman-0.18.2.tar.bz2 +/pixman-0.19.2.tar.bz2 +/pixman-0.19.4.tar.gz +/pixman-0.20.2.tar.gz +/pixman-0.22.0.tar.gz +/pixman-0.22.2.tar.gz +/pixman-0.24.2.tar.gz +/pixman-0.24.4.tar.gz +/pixman-0.26.2.tar.gz +/pixman-0.28.0.tar.gz +/pixman-0.30.0.tar.gz +/pixman-0.32.0.tar.gz +/pixman-0.32.6.tar.gz +/pixman-0.33.2.tar.gz +/pixman-0.34.0.tar.gz +/pixman-0.38.0.tar.gz +/pixman-0.38.4.tar.gz +/pixman-0.40.0.tar.gz diff --git a/make-pixman-snapshot.sh b/make-pixman-snapshot.sh new file mode 100755 index 0000000..0cd65a3 --- /dev/null +++ b/make-pixman-snapshot.sh @@ -0,0 +1,16 @@ +#!/bin/sh + +DIRNAME=pixman-$( date +%Y%m%d ) + +rm -rf $DIRNAME +git clone git://git.freedesktop.org/git/pixman $DIRNAME +cd $DIRNAME +if [ -z "$1" ]; then + git log | head -1 +else + git checkout $1 +fi +rm -rf .git +cd .. +tar jcf $DIRNAME.tar.bz2 $DIRNAME +rm -rf $DIRNAME diff --git a/mingw-pixman.spec b/mingw-pixman.spec new file mode 100644 index 0000000..d2db644 --- /dev/null +++ b/mingw-pixman.spec @@ -0,0 +1,287 @@ +%{?mingw_package_header} + +Name: mingw-pixman +Version: 0.40.0 +Release: 2%{?dist} +Summary: MinGW Windows Pixman library + +License: MIT +URL: http://cgit.freedesktop.org/pixman/ + +Source0: http://cairographics.org/releases/pixman-%{version}.tar.gz +Source1: make-pixman-snapshot.sh + +BuildArch: noarch + +BuildRequires: mingw32-filesystem >= 95 +BuildRequires: mingw32-gcc +BuildRequires: mingw32-binutils +BuildRequires: mingw32-libgomp + +BuildRequires: mingw64-filesystem >= 95 +BuildRequires: mingw64-gcc +BuildRequires: mingw64-binutils +BuildRequires: mingw64-libgomp + +BuildRequires: gcc +BuildRequires: meson + + +%description +MinGW Windows Pixman library. + + +# Win32 +%package -n mingw32-pixman +Summary: MinGW Windows Pixman library + +%description -n mingw32-pixman +MinGW Windows Pixman library. + + +%package -n mingw32-pixman-static +Summary: Static version of the MinGW Windows Pixman library +Requires: mingw32-pixman = %{version}-%{release} + +%description -n mingw32-pixman-static +Static version of the MinGW Windows Pixman library. + +# Win64 +%package -n mingw64-pixman +Summary: MinGW Windows Pixman library + +%description -n mingw64-pixman +MinGW Windows Pixman library. + +%package -n mingw64-pixman-static +Summary: Static version of the cross compiled Pixman library +Requires: mingw64-pixman = %{version}-%{release} + +%description -n mingw64-pixman-static +Static version of the cross compiled Pixman library. + + +%{?mingw_debug_package} + + +%prep +%autosetup -p1 -n pixman-%{version} + + +%build +# Uses GTK for its testsuite, so disable this otherwise we have a chicken & egg problem on mingw +%mingw_meson --default-library=both -Dgtk=disabled +%mingw_ninja + + +%install +%mingw_ninja_install + + +# Win32 +%files -n mingw32-pixman +%license COPYING +%{mingw32_bindir}/libpixman-1-0.dll +%{mingw32_includedir}/pixman-1 +%{mingw32_libdir}/libpixman-1.dll.a +%{mingw32_libdir}/pkgconfig/pixman-1.pc + +%files -n mingw32-pixman-static +%{mingw32_libdir}/libpixman-1.a + +# Win64 +%files -n mingw64-pixman +%license COPYING +%{mingw64_bindir}/libpixman-1-0.dll +%{mingw64_includedir}/pixman-1 +%{mingw64_libdir}/libpixman-1.dll.a +%{mingw64_libdir}/pkgconfig/pixman-1.pc + +%files -n mingw64-pixman-static +%{mingw64_libdir}/libpixman-1.a + + +%changelog +* Tue Jul 28 2020 Fedora Release Engineering - 0.40.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Tue Apr 21 2020 Sandro Mani - 0.40.0-1 +- Update to 0.40.0 + +* Wed Jan 29 2020 Fedora Release Engineering - 0.38.4-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Tue Oct 08 2019 Sandro Mani - 0.38.4-2 +- Rebuild (Changes/Mingw32GccDwarf2) + +* Mon Sep 16 2019 Sandro Mani - 0.38.4-1 +- Update to 0.38.4 + +* Wed Aug 28 2019 Sandro Mani - 0.38.0-1 +- Update to 0.38.0 + +* Thu Jul 25 2019 Fedora Release Engineering - 0.34.0-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Fri Feb 01 2019 Fedora Release Engineering - 0.34.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Jul 13 2018 Fedora Release Engineering - 0.34.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Thu Feb 08 2018 Fedora Release Engineering - 0.34.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 0.34.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Fri Feb 10 2017 Fedora Release Engineering - 0.34.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Tue May 03 2016 Kalev Lember - 0.34.0-1 +- Update to 0.34.0 + +* Thu Feb 04 2016 Fedora Release Engineering - 0.33.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Sat Aug 22 2015 Kalev Lember - 0.33.2-1 +- Update to 0.33.2 +- Use license macro for COPYING files + +* Wed Jun 17 2015 Fedora Release Engineering - 0.32.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Tue Oct 14 2014 Kalev Lember - 0.32.6-1 +- Update to 0.32.6 + +* Sat Jun 07 2014 Fedora Release Engineering - 0.32.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Sat Mar 29 2014 Kalev Lember - 0.32.0-1 +- Update to 0.32.0 + +* Wed Sep 04 2013 Kalev Lember - 0.30.0-4 +- Disable SSE2 (fdo#68300) + +* Sat Aug 03 2013 Fedora Release Engineering - 0.30.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Sat Jun 15 2013 Erik van Pienbroek - 0.30.0-2 +- Rebuild to resolve InterlockedCompareExchange regression in mingw32 libraries + +* Tue May 14 2013 Erik van Pienbroek - 0.30.0-1 +- Update to 0.30.0 + +* Thu Feb 14 2013 Fedora Release Engineering - 0.28.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Thu Nov 22 2012 Erik van Pienbroek - 0.28.0-1 +- Update to 0.28.0 + +* Wed Nov 21 2012 Erik van Pienbroek - 0.26.2-1 +- Update to 0.26.2 + +* Fri Jul 20 2012 Fedora Release Engineering - 0.24.4-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Sat Mar 10 2012 Erik van Pienbroek - 0.24.4-3 +- Added win64 support +- Dropped unneeded BR: mingw32-dlfcn + +* Tue Mar 06 2012 Kalev Lember - 0.24.4-2 +- Renamed the source package to mingw-pixman (#800445) +- Use mingw macros without leading underscore + +* Tue Feb 28 2012 Kalev Lember - 0.24.4-1 +- Update to 0.24.4 +- Remove .la files + +* Mon Feb 27 2012 Erik van Pienbroek - 0.24.2-2 +- Rebuild against the mingw-w64 toolchain + +* Wed Feb 01 2012 Kalev Lember - 0.24.2-1 +- Update to 0.24.2 + +* Fri Jan 13 2012 Fedora Release Engineering - 0.22.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Sat Jul 16 2011 Kalev Lember - 0.22.2-1 +- Update to 0.22.2 +- Use automatic mingw dep extraction +- Cleaned up the spec file for modern rpmbuild + +* Sun May 08 2011 Kalev Lember - 0.22.0-1 +- Update to 0.22.0 + +* Mon Apr 25 2011 Kalev Lember - 0.20.2-1 +- Update to 0.20.2 + +* Tue Feb 08 2011 Fedora Release Engineering - 0.19.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Fri Sep 24 2010 Erik van Pienbroek - 0.19.4-1 +- Update to 0.19.4 +- Fixed Source URL +- Fixed a small rpmlint warning + +* Tue Sep 7 2010 Erik van Pienbroek - 0.19.2-1 +- Update to 0.19.2 + +* Mon Jul 12 2010 Erik van Pienbroek - 0.18.2-1 +- Update to 0.18.2 (RHBZ #613665) + +* Tue Sep 29 2009 Erik van Pienbroek - 0.16.2-1 +- Update to 0.16.2 + +* Fri Sep 18 2009 Erik van Pienbroek - 0.16.0-2 +- Rebuild because of broken mingw32-gcc/mingw32-binutils + +* Sat Aug 29 2009 Erik van Pienbroek - 0.16.0-1 +- Update to 0.16.0 + +* Thu Aug 13 2009 Erik van Pienbroek - 0.15.20-1 +- Update to version 0.15.20 +- Updated SOURCE0 and URL +- Automatically generate debuginfo subpackage +- Don't build the 'blitters-test' testcase as it requires the memalign function + which we don't have on MinGW + +* Sat Jul 25 2009 Fedora Release Engineering - 0.15.10-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Wed Jun 10 2009 Erik van Pienbroek - 0.15.10-1 +- Update to 0.15.10 +- Use %%global instead of %%define +- Dropped pixman-0.13.2-license.patch as freedesktop bug #19582 is resolved + +* Fri Apr 3 2009 Erik van Pienbroek - 0.13.2-5 +- Fixed %%defattr line +- Added -static subpackage + +* Wed Feb 25 2009 Fedora Release Engineering - 0.13.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Fri Feb 20 2009 Richard W.M. Jones - 0.13.2-3 +- Rebuild for mingw32-gcc 4.4 + +* Thu Jan 15 2009 Richard W.M. Jones - 0.13.2-2 +- Include LICENSE file (freedesktop bug 19582). + +* Tue Jan 13 2009 Richard W.M. Jones - 0.13.2-1 +- Resynch with Fedora package (0.13.2). +- Disable static library for speed. +- Use _smp_mflags. +- Requires pkgconfig. +- Depends on dlfcn. + +* Wed Sep 24 2008 Richard W.M. Jones - 0.12.0-2 +- Rename mingw -> mingw32. + +* Mon Sep 22 2008 Daniel P. Berrange - 0.12.0-1 +- Update to 0.12.0 release + +* Wed Sep 10 2008 Richard W.M. Jones - 0.11.10-2 +- Remove static library. + +* Tue Sep 9 2008 Daniel P. Berrange - 0.11.10-1 +- Initial RPM release diff --git a/sources b/sources new file mode 100644 index 0000000..8276132 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (pixman-0.40.0.tar.gz) = 063776e132f5d59a6d3f94497da41d6fc1c7dca0d269149c78247f0e0d7f520a25208d908cf5e421d1564889a91da44267b12d61c0bd7934cd54261729a7de5f