update to 0.4.18 [release 0.4.18-1mamba;Sat Nov 02 2019]

This commit is contained in:
Silvan Calarco 2024-01-06 04:21:59 +01:00
parent 533ecb7536
commit a16a03aad6
2 changed files with 43 additions and 39 deletions

11
gegl-0.4.18-arm.patch Normal file
View File

@ -0,0 +1,11 @@
--- gegl-0.4.18/meson.build.orig 2019-11-09 17:53:43.415651813 +0100
+++ gegl-0.4.18/meson.build 2019-11-09 17:53:53.834989898 +0100
@@ -89,7 +89,7 @@
config.set10('ARCH_PPC', true)
config.set10('ARCH_PPC64', true)
else
- error('Unknown host architecture')
+ warning('Unknown host architecture')
endif
################################################################################

View File

@ -2,7 +2,7 @@
%define apiver %{majver} %define apiver %{majver}
Name: libgegl Name: libgegl
Version: 0.4.16 Version: 0.4.18
Release: 1mamba Release: 1mamba
Summary: GEGL (Generic Graphics Library) is a graph based image processing framework. Summary: GEGL (Generic Graphics Library) is a graph based image processing framework.
Group: System/Libraries Group: System/Libraries
@ -10,54 +10,40 @@ Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> Packager: Ercole 'ercolinux' Carpanetto <ercole69@gmail.com>
URL: http://gegl.org/ URL: http://gegl.org/
Source: http://download.gimp.org/pub/gegl/%{majver}/gegl-%{version}.tar.bz2 Source: http://download.gimp.org/pub/gegl/%{majver}/gegl-%{version}.tar.xz
Patch0: %{name}-0.1.8-fix_build.patch Patch0: %{name}-0.1.8-fix_build.patch
Patch1: %{name}-0.1.8-ffmpeg.patch Patch1: %{name}-0.1.8-ffmpeg.patch
Patch2: libgegl-0.2.0-liblua-5.2.patch Patch2: libgegl-0.2.0-liblua-5.2.patch
Patch3: libgegl-0.4.8-upstream-openexr-2.3.0.patch Patch3: libgegl-0.4.8-upstream-openexr-2.3.0.patch
Patch4: gegl-0.4.18-arm.patch
License: GPL License: GPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: libSDL-devel BuildRequires: libSDL2-devel
BuildRequires: libavcodec-ffmpeg-devel
BuildRequires: libavformat-ffmpeg-devel
BuildRequires: libavutil-ffmpeg-devel
BuildRequires: libbabl-devel BuildRequires: libbabl-devel
BuildRequires: libbzip2-devel
BuildRequires: libcairo-devel BuildRequires: libcairo-devel
BuildRequires: libcroco-devel
BuildRequires: libexpat-devel
BuildRequires: libffi-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libgcc BuildRequires: libgcc
BuildRequires: libgdk-pixbuf-devel BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglib-devel BuildRequires: libglib-devel
BuildRequires: libgomp-devel
BuildRequires: libgraphite2-devel
BuildRequires: libharfbuzz-devel
BuildRequires: libilmbase-devel
BuildRequires: libjasper-devel BuildRequires: libjasper-devel
BuildRequires: libjbig-devel
BuildRequires: libjpeg-devel BuildRequires: libjpeg-devel
BuildRequires: libjson-glib-devel BuildRequires: libjson-glib-devel
BuildRequires: liblcms2-devel BuildRequires: liblcms2-devel
BuildRequires: liblensfun-devel BuildRequires: liblensfun-devel
BuildRequires: liblua-devel
BuildRequires: liblzma-devel
BuildRequires: libopenexr-devel BuildRequires: libopenexr-devel
BuildRequires: libpango-devel BuildRequires: libpango-devel
BuildRequires: libpng-devel BuildRequires: libpng-devel
BuildRequires: libraw-devel BuildRequires: libraw-devel
BuildRequires: libreadline-devel
BuildRequires: librsvg-devel BuildRequires: librsvg-devel
BuildRequires: libselinux-devel
BuildRequires: libspiro-devel BuildRequires: libspiro-devel
BuildRequires: libstdc++6-devel BuildRequires: libstdc++6-devel
BuildRequires: libtermcap-devel BuildRequires: libsuitesparse-devel
BuildRequires: libthai-devel BuildRequires: libswscale-ffmpeg-devel
BuildRequires: libtiff-devel BuildRequires: libtiff-devel
BuildRequires: libv4l-devel
BuildRequires: libwebp-devel BuildRequires: libwebp-devel
BuildRequires: libxml2-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: libraw-devel >= 0.19.0-1mamba BuildRequires: libraw-devel >= 0.19.0-1mamba
BuildRequires: liblensfun-devel >= 0.3.2-1mamba BuildRequires: liblensfun-devel >= 0.3.2-1mamba
@ -123,26 +109,33 @@ Obsoletes: %{name}-api
#%patch1 -p1 #%patch1 -p1
#%patch2 -p1 #%patch2 -p1
#%patch3 -p1 #%patch3 -p1
%patch4 -p1
# workaround for a libtool error # workaround for a libtool error
mkdir -p operations/workshop/external/lib mkdir -p operations/workshop/external/lib
%build %build
./autogen.sh #./autogen.sh
#export CAIRO_CFLAGS=-I/usr/include/cairo #export CAIRO_CFLAGS=-I/usr/include/cairo
%configure \ %meson \
--enable-gtk-doc \ -Ddocs=true \
--enable-workshop \ -Dworkshop=true
--enable-static \
--without-vala \
LDFLAGS="-ltermcap"
%make -j1 || %make -j1 #% configure \
#make check # --enable-gtk-doc \
# --enable-workshop \
# --enable-static \
# --without-vala \
# LDFLAGS="-ltermcap"
export LANG=en_US.UTF-8
%meson_build
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall gtkdochtmldir=%{_datadir}/gtk-doc/html/gegl %meson_install
#% makeinstall gtkdochtmldir=%{_datadir}/gtk-doc/html/gegl
install -d %{buildroot}%{_datadir}/applications install -d %{buildroot}%{_datadir}/applications
install -d %{buildroot}%{_datadir}/pixmaps install -d %{buildroot}%{_datadir}/pixmaps
@ -170,7 +163,7 @@ install -d %{buildroot}%{_datadir}/pixmaps
%files -f gegl-%{apiver}.lang %files -f gegl-%{apiver}.lang
%defattr(-,root,root) %defattr(-,root,root)
%{_bindir}/gcut #%{_bindir}/gcut
%{_bindir}/gegl %{_bindir}/gegl
%{_bindir}/gegl-* %{_bindir}/gegl-*
%{_libdir}/libgegl-%{apiver}.so.* %{_libdir}/libgegl-%{apiver}.so.*
@ -196,13 +189,10 @@ install -d %{buildroot}%{_datadir}/pixmaps
%{_includedir}/gegl-%{apiver}/sc/*.h %{_includedir}/gegl-%{apiver}/sc/*.h
%dir %{_libdir}/gegl-%{apiver} %dir %{_libdir}/gegl-%{apiver}
%{_datadir}/gir-1.0/Gegl-%{apiver}.gir %{_datadir}/gir-1.0/Gegl-%{apiver}.gir
%{_libdir}/libgegl-*%{apiver}.a
%{_libdir}/libgegl-*%{apiver}.la
%{_libdir}/libgegl-%{apiver}.so %{_libdir}/libgegl-%{apiver}.so
%{_libdir}/gegl-%{apiver}/*.a %{_datadir}/vala/vapi/gegl-%{apiver}.deps
%{_libdir}/gegl-%{apiver}/*.la %{_datadir}/vala/vapi/gegl-%{apiver}.vapi
%{_libdir}/pkgconfig/gegl-*%{apiver}.pc %{_libdir}/pkgconfig/gegl-*%{apiver}.pc
%doc ChangeLog NEWS README
%files apidocs %files apidocs
%defattr(-,root,root) %defattr(-,root,root)
@ -210,6 +200,9 @@ install -d %{buildroot}%{_datadir}/pixmaps
%{_datadir}/gtk-doc/html/gegl/* %{_datadir}/gtk-doc/html/gegl/*
%changelog %changelog
* Sat Nov 02 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.18-1mamba
- update to 0.4.18
* Sat Jul 06 2019 Automatic Build System <autodist@mambasoft.it> 0.4.16-1mamba * Sat Jul 06 2019 Automatic Build System <autodist@mambasoft.it> 0.4.16-1mamba
- automatic version update by autodist - automatic version update by autodist