From 8f445899d9a3a7aa1d89bc9f89b4065bce674733 Mon Sep 17 00:00:00 2001 From: Alfredo Moralejo Date: Sep 11 2021 13:42:57 +0000 Subject: Import libart_lgpl-2.3.21-25.el9 in CloudSIG xena --- diff --git a/.libart_lgpl.metadata b/.libart_lgpl.metadata index 309fffc..b0e18b2 100644 --- a/.libart_lgpl.metadata +++ b/.libart_lgpl.metadata @@ -1 +1 @@ -dbac185c65696381ef188de1f98b348b530e22f9 SOURCES/libart_lgpl-2.3.21.tar.bz2 +dbac185c65696381ef188de1f98b348b530e22f9 SOURCES/libart_lgpl-2.3.21.tar.bz2 diff --git a/SOURCES/libart-2.3.19-header.patch b/SOURCES/libart-2.3.19-header.patch new file mode 100644 index 0000000..e87c87c --- /dev/null +++ b/SOURCES/libart-2.3.19-header.patch @@ -0,0 +1,18 @@ +--- libart_lgpl-2.3.19/art_misc.h.extern-c 2007-01-02 00:59:22.000000000 +0100 ++++ libart_lgpl-2.3.19/art_misc.h 2007-03-01 09:19:06.000000000 +0100 +@@ -34,9 +34,15 @@ + #include + #endif + ++#ifdef __cplusplus ++extern "C" { ++#endif + void *art_alloc(size_t size); + void art_free(void *ptr); + void *art_realloc(void *ptr, size_t size); ++#ifdef __cplusplus ++} ++#endif /* __cplusplus */ + + /* These aren't, strictly speaking, configuration macros, but they're + damn handy to have around, and may be worth playing with for diff --git a/SPECS/libart_lgpl.spec b/SPECS/libart_lgpl.spec index 796a50a..2780f98 100644 --- a/SPECS/libart_lgpl.spec +++ b/SPECS/libart_lgpl.spec @@ -1,16 +1,16 @@ -Summary: Library of graphics routines used by libgnomecanvas Name: libart_lgpl Version: 2.3.21 -Release: 10%{?dist} +Release: 25%{?dist} +Summary: Library of graphics routines used by libgnomecanvas URL: http://www.gnome.org/ -Source0: http://ftp.gnome.org/pub/gnome/sources/libart_lgpl/2.3/%{name}-%{version}.tar.bz2 +Source0: http://download.gnome.org/sources/libart_lgpl/2.3/%{name}-%{version}.tar.bz2 #Fedora specific patch Patch0: libart-multilib.patch License: LGPLv2+ -Group: System Environment/Libraries BuildRequires: automake autoconf BuildRequires: pkgconfig BuildRequires: libtool +BuildRequires: make %description Graphics routines used by the GnomeCanvas widget and some other @@ -18,7 +18,6 @@ applications. libart renders vector paths and the like. %package devel Summary: Libraries and headers for libart_lgpl -Group: Development/Libraries Requires: %{name} = %{version}-%{release} %description devel @@ -31,7 +30,7 @@ developing applications that use %{name}. %build libtoolize -autoreconf +autoreconf -i %configure --disable-static make %{?_smp_mflags} @@ -40,14 +39,8 @@ make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' # fix multilib issues -%if %{__isa_bits} == 64 -%define wordsize 64 -%else -%define wordsize 32 -%endif - mv $RPM_BUILD_ROOT%{_includedir}/libart-2.0/libart_lgpl/art_config.h \ - $RPM_BUILD_ROOT%{_includedir}/libart-2.0/libart_lgpl/art_config-%{wordsize}.h + $RPM_BUILD_ROOT%{_includedir}/libart-2.0/libart_lgpl/art_config-%{__isa_bits}.h cat >$RPM_BUILD_ROOT%{_includedir}/libart-2.0/libart_lgpl/art_config.h <$RPM_BUILD_ROOT%{_includedir}/libart-2.0/libart_lgpl/art_config.h < - 2.3.21-10 -- Generic 32/64 bit platform detection - fix ppc64le build +* Tue Jan 26 2021 Fedora Release Engineering - 2.3.21-25 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Tue Jul 28 2020 Fedora Release Engineering - 2.3.21-24 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Wed Jan 29 2020 Fedora Release Engineering - 2.3.21-23 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Jul 25 2019 Fedora Release Engineering - 2.3.21-22 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Fri Feb 01 2019 Fedora Release Engineering - 2.3.21-21 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Jul 13 2018 Fedora Release Engineering - 2.3.21-20 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Wed Feb 07 2018 Fedora Release Engineering - 2.3.21-19 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Aug 03 2017 Fedora Release Engineering - 2.3.21-18 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 2.3.21-17 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Fri Feb 10 2017 Fedora Release Engineering - 2.3.21-16 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Thu Aug 04 2016 Yaakov Selkowitz - 2.3.21-15 +- Use wordsize=64 on mips64 (#1305943) +- Modernize spec + +* Thu Feb 04 2016 Fedora Release Engineering - 2.3.21-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Wed Jun 17 2015 Fedora Release Engineering - 2.3.21-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Sun Aug 17 2014 Fedora Release Engineering - 2.3.21-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 2.3.21-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Tue May 13 2014 Jaromir Capik - 2.3.21-10 +- Replacing ppc64 and ppc64le with the power64 macro (#1051599) -* Fri Jan 24 2014 Daniel Mach - 2.3.21-9 -- Mass rebuild 2014-01-24 +* Mon Jan 13 2014 Jochen Schmitt - 2.3.21-9 +- Enable ppc64le support (#1051599) -* Fri Dec 27 2013 Daniel Mach - 2.3.21-8 -- Mass rebuild 2013-12-27 +* Sat Aug 03 2013 Fedora Release Engineering - 2.3.21-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Tue Jun 18 2013 Jochen Schmitt - 2.3.21-7 - Add aarch64 as a 65-Bit architecture (#975267)