Compare commits

..

20 Commits

Author SHA1 Message Date
111007dbef automatic version update by autodist [release 1.18.4-1mamba;Sun Mar 09 2025] 2025-03-10 08:38:22 +01:00
00bd92e45c automatic version update by autodist [release 1.18.2-1mamba;Mon Sep 02 2024] 2024-09-02 14:30:22 +02:00
8671b73705 automatic version update by autodist [release 1.18.0-1mamba;Sun Oct 08 2023] 2024-01-06 03:56:20 +01:00
16e4d62f18 automatic version update by autodist [release 1.17.4-1mamba;Thu Dec 03 2020] 2024-01-06 03:56:17 +01:00
a0997f2dcd update to 1.17.2.20200721git [release 1.17.2.20200721git-1mamba;Tue Jul 21 2020] 2024-01-06 03:56:17 +01:00
592eea28d5 rebuilt by autoport with build requirements: libbinutils-devel>=2.34-1mamba [release 1.17.2-3mamba;Sun Feb 16 2020] 2024-01-06 03:56:16 +01:00
ef434bdf66 rebuilt by autoport with build requirements: libbinutils-devel>=2.33.1-2mamba [release 1.17.2-2mamba;Sat Nov 23 2019] 2024-01-06 03:56:16 +01:00
828988d3d3 update to 1.17.2 [release 1.17.2-1mamba;Fri Mar 01 2019] 2024-01-06 03:56:16 +01:00
2d37492dc3 rebuilt by autoport with build requirements: libbinutils-devel>=2.32-1mamba [release 1.15.14-2mamba;Fri Feb 15 2019] 2024-01-06 03:56:16 +01:00
8ea50fec34 automatic version update by autodist [release 1.15.14-1mamba;Sat Sep 22 2018] 2024-01-06 03:56:16 +01:00
f1077d6272 update to 1.15.12 [release 1.15.12-1mamba;Sun Sep 09 2018] 2024-01-06 03:56:16 +01:00
dce20f2fa6 update to 1.14.12 [release 1.14.12-1mamba;Wed Mar 21 2018] 2024-01-06 03:56:16 +01:00
0a95867a96 rebuilt by autoport with build requirements: libbinutils-devel>=2.29.1-1mamba [release 1.14.10-2mamba;Mon Nov 06 2017] 2024-01-06 03:56:16 +01:00
f050c7cfe4 automatic version update by autodist [release 1.14.10-1mamba;Sun Jun 18 2017] 2024-01-06 03:56:15 +01:00
04d072677a automatic version update by autodist [release 1.14.8-1mamba;Fri Dec 09 2016] 2024-01-06 03:56:15 +01:00
8233da5b21 rebuilt by autoport with build requirements: libbinutils-devel>=2.27-1mamba [release 1.14.6-3mamba;Sat Aug 20 2016] 2024-01-06 03:56:15 +01:00
c92f2d4d8e rebuilt by autoport with build requirements: libbinutils-devel>=2.26-2mamba [release 1.14.6-2mamba;Fri Jan 29 2016] 2024-01-06 03:56:15 +01:00
e32d66130b automatic version update by autodist [release 1.14.6-1mamba;Thu Dec 10 2015] 2024-01-06 03:56:15 +01:00
6575372255 automatic version update by autodist [release 1.14.4-1mamba;Fri Nov 13 2015] 2024-01-06 03:56:15 +01:00
69db85d821 rebuilt with binutils 2.25.1 [release 1.14.2-2mamba;Sat Aug 01 2015] 2024-01-06 03:56:15 +01:00
2 changed files with 114 additions and 28 deletions

View File

@ -0,0 +1,26 @@
--- cairo-1.17.2/util/cairo-trace/lookup-symbol.c.orig 2020-02-29 12:26:11.482000000 +0100
+++ cairo-1.17.2/util/cairo-trace/lookup-symbol.c 2020-02-29 12:27:06.224000000 +0100
@@ -67,6 +67,14 @@
#include <bfd.h>
#include <libiberty.h>
+#ifndef bfd_get_section_flags
+#define bfd_get_section_flags(H, S) bfd_section_flags(S)
+#endif /* bfd_get_section_flags */
+
+#ifndef bfd_get_section_vma
+#define bfd_get_section_vma(H, S) bfd_section_vma(S)
+#endif /* bfd_get_section_vma */
+
struct symtab {
bfd *bfd;
asymbol **syms;
@@ -152,7 +160,7 @@
if (symbol->pc < vma)
return;
- size = bfd_section_size (symtab->bfd, section);
+ size = bfd_section_size (section);
if (symbol->pc >= vma + size)
return;

View File

@ -14,16 +14,19 @@
%define pkgname cairo
Name: libcairo
Version: 1.14.2
Version: 1.18.4
Release: 1mamba
Summary: Cairo provides anti-aliased vector-based rendering for X
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.cairographics.org
Source: http://cairographics.org/releases/cairo-%{version}.tar.xz
URL: https://www.cairographics.org/
Source: https://gitlab.freedesktop.org/cairo/cairo.git/master/cairo-%{version}.tar.bz2
#Source: https://www.cairographics.org/snapshots/cairo-%{version}.tar.xz
#Source: http://cairographics.org/releases/cairo-%{version}.tar.xz
Patch0: libcairo-1.12.4-expose_snapshot.patch
Patch1: libcairo-1.17.2-binutils-2.34.patch
License: LGPL, MPL 1.1
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
@ -50,7 +53,7 @@ BuildRequires: libXext-devel
BuildRequires: libXrender-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
BuildRequires: libbinutils-devel >= 2.25-1mamba
BuildRequires: libbinutils-devel >= 2.34-1mamba
BuildRequires: pkgconfig
%if %{with_ps}
BuildRequires: libspectre-devel
@ -61,8 +64,8 @@ BuildRequires: libpoppler-devel
%if %{with_svg}
BuildRequires: librsvg-devel
%endif
BuildRequires: python-fonttools-py3
Provides: %{pkgname} = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
#checking for GLITZ_AGL... no
#no
#checking for GLITZ_EGL... no
@ -164,8 +167,7 @@ Cairo is a 2D graphics library with support for multiple output devices.
Currently supported output targets include the X Window System, win32, and image buffers.
Experimental backends include OpenGL (through glitz), Quartz, XCB, PostScript and PDF file output.
Cairo is designed to produce consistent output on all output media while taking advantage of display hardware acceleration when available (for example, through the X Render Extension).
This package contains the API documentation need for development.
This package contains the API documentation needed for development.
%package tools
Summary: Development tools for %{name}
@ -177,14 +179,20 @@ Cairo is a 2D graphics library with support for multiple output devices.
Currently supported output targets include the X Window System, win32, and image buffers.
Experimental backends include OpenGL (through glitz), Quartz, XCB, PostScript and PDF file output.
Cairo is designed to produce consistent output on all output media while taking advantage of display hardware acceleration when available (for example, through the X Render Extension).
This package contains development tools for %{name}.
%prep
%setup -q -n %{pkgname}-%{version}
%patch0 -p1
#./autogen.sh
%build
%meson
%meson_build
:<< __OLD
%configure \
--disable-static \
--enable-shared \
@ -218,6 +226,7 @@ This package contains development tools for %{name}.
--enable-egl \
--enable-ft \
--enable-fc \
--enable-xcb \
--enable-xcb-shm=yes
# --enable-drm
@ -229,34 +238,27 @@ This package contains development tools for %{name}.
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
rm -f %{buildroot}%{_libdir}/*.la
%meson_install
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post
/sbin/ldconfig
sed -i "s|%{_libdir}/libcairo.la||g" %{_libdir}/*.la
sed -i "s|%{_libdir}/libcairo-gobject.la||g" %{_libdir}/*.la
sed -i "s|%{_libdir}/libcairo.la||g" %{_libdir}/*.la 2>/dev/null
sed -i "s|%{_libdir}/libcairo-gobject.la||g" %{_libdir}/*.la 2>/dev/null
:
%postun -p /sbin/ldconfig
%files
%defattr(-, root, root)
%{_bindir}/cairo-sphinx
%{_libdir}/%{name}.so.*
%{_libdir}/libcairo-gobject.so.*
%{_libdir}/libcairo-script-interpreter.so.*
%dir %{_libdir}/cairo
%{_libdir}/cairo/cairo-fdr.la
%{_libdir}/cairo/cairo-fdr.so
%{_libdir}/cairo/cairo-fdr.so.*
%{_libdir}/cairo/cairo-sphinx.la
%{_libdir}/cairo/cairo-sphinx.so
%{_libdir}/cairo/cairo-sphinx.so.*
%{_libdir}/cairo/libcairo-fdr.so
%{_libdir}/cairo/libcairo-trace.so
%doc AUTHORS COPYING*
%files devel
@ -267,20 +269,78 @@ sed -i "s|%{_libdir}/libcairo-gobject.la||g" %{_libdir}/*.la
%{_libdir}/libcairo-gobject.so
%{_libdir}/libcairo-script-interpreter.so
%{_libdir}/pkgconfig/%{pkgname}*.pc
%doc ChangeLog NEWS README
#%doc ChangeLog NEWS README
%files tools
%defattr(-, root, root)
#%{_bindir}/cairo-sphinx
%{_bindir}/cairo-trace
%{_libdir}/cairo/libcairo-trace.la
%{_libdir}/cairo/libcairo-trace.so
%{_libdir}/cairo/libcairo-trace.so.*
%files apidocs
%defattr(-,root,root)
%{_datadir}/gtk-doc/html/%{pkgname}
#%files apidocs
#%defattr(-,root,root)
#%{_datadir}/gtk-doc/html/%{pkgname}
%changelog
* Sun Mar 09 2025 Automatic Build System <autodist@openmamba.org> 1.18.4-1mamba
- automatic version update by autodist
* Mon Sep 02 2024 Automatic Build System <autodist@openmamba.org> 1.18.2-1mamba
- automatic version update by autodist
* Sun Oct 08 2023 Automatic Build System <autodist@mambasoft.it> 1.18.0-1mamba
- automatic version update by autodist
* Thu Dec 03 2020 Automatic Build System <autodist@mambasoft.it> 1.17.4-1mamba
- automatic version update by autodist
* Tue Jul 21 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.17.2.20200721git-1mamba
- update to 1.17.2.20200721git
* Sun Feb 16 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.17.2-3mamba
- rebuilt by autoport with build requirements: libbinutils-devel>=2.34-1mamba
* Sat Nov 23 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.17.2-2mamba
- rebuilt by autoport with build requirements: libbinutils-devel>=2.33.1-2mamba
* Fri Mar 01 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.17.2-1mamba
- update to 1.17.2
* Fri Feb 15 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.15.14-2mamba
- rebuilt by autoport with build requirements: libbinutils-devel>=2.32-1mamba
* Sat Sep 22 2018 Automatic Build System <autodist@mambasoft.it> 1.15.14-1mamba
- automatic version update by autodist
* Sun Sep 09 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 1.15.12-1mamba
- update to 1.15.12
* Wed Mar 21 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 1.14.12-1mamba
- update to 1.14.12
* Mon Nov 06 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 1.14.10-2mamba
- rebuilt by autoport with build requirements: libbinutils-devel>=2.29.1-1mamba
* Sun Jun 18 2017 Automatic Build System <autodist@mambasoft.it> 1.14.10-1mamba
- automatic version update by autodist
* Fri Dec 09 2016 Automatic Build System <autodist@mambasoft.it> 1.14.8-1mamba
- automatic version update by autodist
* Sat Aug 20 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.14.6-3mamba
- rebuilt by autoport with build requirements: libbinutils-devel>=2.27-1mamba
* Fri Jan 29 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.14.6-2mamba
- rebuilt by autoport with build requirements: libbinutils-devel>=2.26-2mamba
* Thu Dec 10 2015 Automatic Build System <autodist@mambasoft.it> 1.14.6-1mamba
- automatic version update by autodist
* Fri Nov 13 2015 Automatic Build System <autodist@mambasoft.it> 1.14.4-1mamba
- automatic version update by autodist
* Sat Aug 01 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.14.2-2mamba
- rebuilt with binutils 2.25.1
* Fri Mar 13 2015 Automatic Build System <autodist@mambasoft.it> 1.14.2-1mamba
- automatic version update by autodist