2024-01-06 04:21:58 +01:00
|
|
|
%define majver %(echo %version | cut -d. -f 1-2)
|
|
|
|
%define apiver %{majver}
|
|
|
|
|
|
|
|
Name: libgegl
|
2024-01-06 04:22:00 +01:00
|
|
|
Version: 0.4.26
|
2024-01-06 04:22:00 +01:00
|
|
|
Release: 1mamba
|
2024-01-06 04:21:58 +01:00
|
|
|
Summary: GEGL (Generic Graphics Library) is a graph based image processing framework.
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Ercole 'ercolinux' Carpanetto <ercole69@gmail.com>
|
|
|
|
URL: http://gegl.org/
|
2024-01-06 04:21:59 +01:00
|
|
|
Source: http://download.gimp.org/pub/gegl/%{majver}/gegl-%{version}.tar.xz
|
2024-01-06 04:21:58 +01:00
|
|
|
Patch0: %{name}-0.1.8-fix_build.patch
|
|
|
|
Patch1: %{name}-0.1.8-ffmpeg.patch
|
|
|
|
Patch2: libgegl-0.2.0-liblua-5.2.patch
|
2024-01-06 04:21:59 +01:00
|
|
|
Patch3: libgegl-0.4.8-upstream-openexr-2.3.0.patch
|
2024-01-06 04:21:59 +01:00
|
|
|
Patch4: gegl-0.4.18-arm.patch
|
2024-01-06 04:21:58 +01:00
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
2024-01-06 04:22:00 +01:00
|
|
|
BuildRequires: ldconfig
|
2024-01-06 04:21:59 +01:00
|
|
|
BuildRequires: libSDL2-devel
|
|
|
|
BuildRequires: libavcodec-ffmpeg-devel
|
|
|
|
BuildRequires: libavformat-ffmpeg-devel
|
|
|
|
BuildRequires: libavutil-ffmpeg-devel
|
2024-01-06 04:21:58 +01:00
|
|
|
BuildRequires: libbabl-devel
|
|
|
|
BuildRequires: libcairo-devel
|
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: libgdk-pixbuf-devel
|
|
|
|
BuildRequires: libglib-devel
|
|
|
|
BuildRequires: libjasper-devel
|
|
|
|
BuildRequires: libjpeg-devel
|
2024-01-06 04:21:58 +01:00
|
|
|
BuildRequires: libjson-glib-devel
|
|
|
|
BuildRequires: liblcms2-devel
|
2024-01-06 04:21:58 +01:00
|
|
|
BuildRequires: liblensfun-devel
|
|
|
|
BuildRequires: libopenexr-devel
|
|
|
|
BuildRequires: libpango-devel
|
|
|
|
BuildRequires: libpng-devel
|
2024-01-06 04:22:00 +01:00
|
|
|
BuildRequires: libpoppler-glib-devel
|
2024-01-06 04:21:58 +01:00
|
|
|
BuildRequires: libraw-devel
|
2024-01-06 04:21:58 +01:00
|
|
|
BuildRequires: librsvg-devel
|
|
|
|
BuildRequires: libspiro-devel
|
|
|
|
BuildRequires: libstdc++6-devel
|
2024-01-06 04:21:59 +01:00
|
|
|
BuildRequires: libsuitesparse-devel
|
|
|
|
BuildRequires: libswscale-ffmpeg-devel
|
2024-01-06 04:21:58 +01:00
|
|
|
BuildRequires: libtiff-devel
|
|
|
|
BuildRequires: libwebp-devel
|
2024-01-06 04:21:58 +01:00
|
|
|
## AUTOBUILDREQ-END
|
2024-01-06 04:21:59 +01:00
|
|
|
BuildRequires: libraw-devel >= 0.19.0-1mamba
|
2024-01-06 04:21:58 +01:00
|
|
|
BuildRequires: liblensfun-devel >= 0.3.2-1mamba
|
2024-01-06 04:22:00 +01:00
|
|
|
%ifnarch arm
|
|
|
|
BuildRequires: libluajit-devel
|
|
|
|
%endif
|
2024-01-06 04:21:58 +01:00
|
|
|
Requires: asciidoc
|
|
|
|
Requires: enscript
|
2024-01-06 04:22:00 +01:00
|
|
|
Obsoletes: libgegl02
|
2024-01-06 04:21:58 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
#Optional features:
|
|
|
|
# GEGL docs: yes
|
|
|
|
# Build workshop: yes
|
|
|
|
# Build website: yes
|
|
|
|
# SIMD: sse:yes mmx:yes
|
|
|
|
|
|
|
|
#Optional dependencies:
|
|
|
|
# GTK+: yes
|
|
|
|
# GIO: yes
|
|
|
|
# Ruby: yes
|
|
|
|
# Lua: yes
|
|
|
|
# Cairo: yes
|
|
|
|
# Pango: yes
|
|
|
|
# pangocairo: yes
|
|
|
|
# GDKPixbuf: yes
|
|
|
|
# JPEG: yes
|
|
|
|
# PNG: yes
|
|
|
|
# OpenEXR: yes
|
|
|
|
# rsvg: yes
|
|
|
|
# SDL: yes
|
|
|
|
# openraw: yes
|
|
|
|
# asciidoc: yes
|
|
|
|
# enscript: yes
|
|
|
|
# graphviz: yes
|
|
|
|
# avcodec: yes
|
|
|
|
# avformat: yes
|
|
|
|
# V4L: yes
|
|
|
|
%description
|
|
|
|
GEGL provides infrastructure to do demand based cached non destructive image editing on larger than RAM buffers.
|
|
|
|
Through babl it provides support for a wide range of color models and pixel storage formats for input and output.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Static libraries and headers for %{name}
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
2024-01-06 04:22:00 +01:00
|
|
|
Obsoletes: libgegl02-devel
|
2024-01-06 04:21:58 +01:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
GEGL (Generic Graphics Library) is a graph based image processing framework.
|
|
|
|
GEGL provides infrastructure to do demand based cached non destructive image editing on larger than RAM buffers.
|
|
|
|
Through babl it provides support for a wide range of color models and pixel storage formats for input and output.
|
|
|
|
|
|
|
|
This package contains static libraries and header files need for development.
|
|
|
|
|
|
|
|
%package apidocs
|
|
|
|
Summary: %{name} API documentation
|
|
|
|
Group: Documentation
|
|
|
|
Provides: %{name}-api
|
|
|
|
Obsoletes: %{name}-api
|
|
|
|
|
|
|
|
%description apidocs
|
|
|
|
%{name} API documentation.
|
|
|
|
|
2024-01-06 04:22:00 +01:00
|
|
|
%debug_package
|
|
|
|
|
2024-01-06 04:21:58 +01:00
|
|
|
%prep
|
|
|
|
%setup -q -n gegl-%{version}
|
|
|
|
# workaround for a libtool error
|
2024-01-06 04:21:59 +01:00
|
|
|
mkdir -p operations/workshop/external/lib
|
2024-01-06 04:21:58 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
#export CAIRO_CFLAGS=-I/usr/include/cairo
|
2024-01-06 04:22:00 +01:00
|
|
|
export CFLAGS="%{optflags} -I%{_includedir}/OpenEXR -ldl"
|
|
|
|
export CXXFLAGS="%{optflags} -I%{_includedir}/OpenEXR -ldl"
|
|
|
|
|
2024-01-06 04:21:59 +01:00
|
|
|
%meson \
|
|
|
|
-Ddocs=true \
|
|
|
|
-Dworkshop=true
|
2024-01-06 04:21:58 +01:00
|
|
|
|
2024-01-06 04:21:59 +01:00
|
|
|
#% configure \
|
|
|
|
# --enable-gtk-doc \
|
|
|
|
# --enable-workshop \
|
|
|
|
# --enable-static \
|
|
|
|
# --without-vala \
|
|
|
|
# LDFLAGS="-ltermcap"
|
|
|
|
|
2024-01-06 04:21:59 +01:00
|
|
|
%ifarch x86_64
|
|
|
|
# FIXME: Still problem with x86
|
2024-01-06 04:21:59 +01:00
|
|
|
export LANG=en_US.UTF-8
|
2024-01-06 04:21:59 +01:00
|
|
|
%endif
|
2024-01-06 04:21:59 +01:00
|
|
|
|
|
|
|
%meson_build
|
2024-01-06 04:21:58 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
2024-01-06 04:21:59 +01:00
|
|
|
%meson_install
|
|
|
|
#% makeinstall gtkdochtmldir=%{_datadir}/gtk-doc/html/gegl
|
2024-01-06 04:21:58 +01:00
|
|
|
install -d %{buildroot}%{_datadir}/applications
|
|
|
|
install -d %{buildroot}%{_datadir}/pixmaps
|
|
|
|
|
|
|
|
#install -m 644 docs/gallery/data/gegl.png %{buildroot}%{_datadir}/pixmaps
|
|
|
|
|
|
|
|
#cat > %{buildroot}%{_datadir}/applications/%{name}.desktop << EOF
|
|
|
|
#[Desktop Entry]
|
|
|
|
#Name=GEGL
|
|
|
|
#GenericName=Generic Graphics Library
|
|
|
|
#Comment=A graph based image processing framework
|
|
|
|
#Exec=/usr/bin/gegl
|
|
|
|
#Icon=/usr/share/pixmaps/gegl.png
|
|
|
|
#Terminal=false
|
|
|
|
#Type=Application
|
|
|
|
#Categories=KDE;Graphics;
|
|
|
|
#EOF
|
|
|
|
|
2024-01-06 04:21:58 +01:00
|
|
|
%find_lang gegl-%{apiver}
|
|
|
|
|
2024-01-06 04:21:58 +01:00
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
2024-01-06 04:21:58 +01:00
|
|
|
%files -f gegl-%{apiver}.lang
|
2024-01-06 04:21:58 +01:00
|
|
|
%defattr(-,root,root)
|
2024-01-06 04:21:59 +01:00
|
|
|
#%{_bindir}/gcut
|
2024-01-06 04:21:58 +01:00
|
|
|
%{_bindir}/gegl
|
2024-01-06 04:21:58 +01:00
|
|
|
%{_bindir}/gegl-*
|
|
|
|
%{_libdir}/libgegl-%{apiver}.so.*
|
2024-01-06 04:21:58 +01:00
|
|
|
%{_libdir}/libgegl-npd-%{apiver}.so
|
|
|
|
%{_libdir}/libgegl-sc-%{apiver}.so
|
2024-01-06 04:21:58 +01:00
|
|
|
%{_libdir}/girepository-1.0/Gegl-%{apiver}.typelib
|
|
|
|
%{_libdir}/gegl-%{apiver}/grey2.json
|
2024-01-06 04:21:58 +01:00
|
|
|
%dir %{_libdir}/gegl-%{apiver}
|
|
|
|
%{_libdir}/gegl-%{apiver}/*.so
|
2024-01-06 04:22:00 +01:00
|
|
|
%ifnarch arm
|
|
|
|
%dir %{_datadir}/gegl-%{apiver}/lua
|
|
|
|
%{_datadir}/gegl-%{apiver}/lua/*.lua
|
|
|
|
%endif
|
2024-01-06 04:21:58 +01:00
|
|
|
%doc AUTHORS COPYING COPYING.LESSER
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_includedir}/gegl-%{apiver}
|
|
|
|
%{_includedir}/gegl-%{apiver}/*.h
|
2024-01-06 04:21:58 +01:00
|
|
|
%dir %{_includedir}/gegl-%{apiver}/npd
|
|
|
|
%{_includedir}/gegl-%{apiver}/npd/*.h
|
|
|
|
%dir %{_includedir}/gegl-%{apiver}/opencl
|
2024-01-06 04:21:58 +01:00
|
|
|
%{_includedir}/gegl-%{apiver}/opencl/*.h
|
|
|
|
%dir %{_includedir}/gegl-%{apiver}/operation
|
|
|
|
%{_includedir}/gegl-%{apiver}/operation/*.h
|
2024-01-06 04:21:58 +01:00
|
|
|
%dir %{_includedir}/gegl-%{apiver}/sc
|
|
|
|
%{_includedir}/gegl-%{apiver}/sc/*.h
|
2024-01-06 04:21:58 +01:00
|
|
|
%dir %{_libdir}/gegl-%{apiver}
|
2024-01-06 04:21:58 +01:00
|
|
|
%{_datadir}/gir-1.0/Gegl-%{apiver}.gir
|
2024-01-06 04:21:58 +01:00
|
|
|
%{_libdir}/libgegl-%{apiver}.so
|
2024-01-06 04:21:59 +01:00
|
|
|
%{_datadir}/vala/vapi/gegl-%{apiver}.deps
|
|
|
|
%{_datadir}/vala/vapi/gegl-%{apiver}.vapi
|
2024-01-06 04:21:58 +01:00
|
|
|
%{_libdir}/pkgconfig/gegl-*%{apiver}.pc
|
2024-01-06 04:21:58 +01:00
|
|
|
|
|
|
|
%files apidocs
|
|
|
|
%defattr(-,root,root)
|
2024-01-06 04:21:58 +01:00
|
|
|
%dir %{_datadir}/gtk-doc/html/gegl
|
|
|
|
%{_datadir}/gtk-doc/html/gegl/*
|
2024-01-06 04:21:58 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-06 04:22:00 +01:00
|
|
|
* Tue Oct 06 2020 Automatic Build System <autodist@mambasoft.it> 0.4.26-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:22:00 +01:00
|
|
|
* Fri Jun 12 2020 Automatic Build System <autodist@mambasoft.it> 0.4.24-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:22:00 +01:00
|
|
|
* Wed May 06 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.22-2mamba
|
|
|
|
- obsolete libgegl02; add debug package
|
|
|
|
|
2024-01-06 04:21:59 +01:00
|
|
|
* Mon Feb 24 2020 Automatic Build System <autodist@mambasoft.it> 0.4.22-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:21:59 +01:00
|
|
|
* Sat Feb 01 2020 Automatic Build System <autodist@mambasoft.it> 0.4.20-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:21:59 +01:00
|
|
|
* Sat Nov 02 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.18-1mamba
|
|
|
|
- update to 0.4.18
|
|
|
|
|
2024-01-06 04:21:59 +01:00
|
|
|
* Sat Jul 06 2019 Automatic Build System <autodist@mambasoft.it> 0.4.16-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:21:59 +01:00
|
|
|
* Fri Mar 22 2019 Automatic Build System <autodist@mambasoft.it> 0.4.14-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:21:59 +01:00
|
|
|
* Sat Dec 22 2018 Automatic Build System <autodist@mambasoft.it> 0.4.12-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:21:59 +01:00
|
|
|
* Sun Oct 07 2018 Automatic Build System <autodist@mambasoft.it> 0.4.8-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Aug 27 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.4-2mamba
|
|
|
|
- rebuilt by autoport with build requirements: libraw-devel>=0.19.0-1mamba
|
|
|
|
|
|
|
|
* Fri Jul 06 2018 Automatic Build System <autodist@mambasoft.it> 0.4.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Wed May 23 2018 Automatic Build System <autodist@mambasoft.it> 0.4.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sat May 12 2018 Automatic Build System <autodist@mambasoft.it> 0.4.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:21:59 +01:00
|
|
|
* Thu Apr 19 2018 Automatic Build System <autodist@mambasoft.it> 0.3.34-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:21:58 +01:00
|
|
|
* Mon Apr 09 2018 Automatic Build System <autodist@mambasoft.it> 0.3.28-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:21:58 +01:00
|
|
|
* Sun Dec 24 2017 Automatic Build System <autodist@mambasoft.it> 0.3.26-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:21:58 +01:00
|
|
|
* Sat Nov 18 2017 Davide Madrisan <davide.madrisan@gmail.com> 0.3.20-2mamba
|
|
|
|
- move the plugins libgegl-sc-0.3.so and libgegl-npd-0.3.so to the library package
|
|
|
|
- move all static and .la library files to the devel package
|
|
|
|
|
2024-01-06 04:21:58 +01:00
|
|
|
* Sat Sep 09 2017 Automatic Build System <autodist@mambasoft.it> 0.3.20-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:21:58 +01:00
|
|
|
* Mon Apr 24 2017 Automatic Build System <autodist@mambasoft.it> 0.3.14-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:21:58 +01:00
|
|
|
* Sat Sep 17 2016 Automatic Build System <autodist@mambasoft.it> 0.3.8-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 04:21:58 +01:00
|
|
|
* Sat Mar 19 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3.6-1mamba
|
|
|
|
- update to 0.3.6
|
|
|
|
|
|
|
|
* Sat Mar 12 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2.0-4mamba
|
|
|
|
- rebuilt by autoport with build requirements: liblensfun-devel>=0.3.2-1mamba
|
|
|
|
|
2024-01-06 04:21:58 +01:00
|
|
|
* Mon Feb 18 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2.0-3mamba
|
|
|
|
- rebuilt with libsuitesparse 4.0.2
|
|
|
|
|
|
|
|
* Tue Nov 20 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2.0-2mamba
|
|
|
|
- rebuilt (added lua 5.2 patch)
|
|
|
|
|
|
|
|
* Thu May 03 2012 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 0.2.0-1mamba
|
|
|
|
- update to 0.2.0
|
|
|
|
|
|
|
|
* Mon Mar 05 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.8-3mamba
|
|
|
|
- rebuilt with libsuitesparse (obsoleting libumfpack)
|
|
|
|
|
|
|
|
* Sat Feb 11 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.8-2mamba
|
|
|
|
- move plugin libraries from devel to main package
|
|
|
|
|
|
|
|
* Thu Jan 05 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.8-1mamba
|
|
|
|
- update to 0.1.8
|
|
|
|
|
|
|
|
* Sun Jul 24 2011 Automatic Build System <autodist@mambasoft.it> 0.1.6-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Wed Feb 09 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.4-1mamba
|
|
|
|
- update to 0.1.4
|
|
|
|
|
|
|
|
* Mon Oct 25 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.2-2mamba
|
|
|
|
- rebuilt with libpng 1.4
|
|
|
|
|
|
|
|
* Sat May 22 2010 Automatic Build System <autodist@mambasoft.it> 0.1.2-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Sat Jul 18 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.0-1mamba
|
|
|
|
- update to 0.1.0
|
|
|
|
|
|
|
|
* Tue Mar 10 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 0.0.22-1mamba
|
|
|
|
- update to 0.0.22
|
|
|
|
- removed desktop entry
|
|
|
|
- api package renamed to apidocs
|
|
|
|
|
|
|
|
* Wed Dec 10 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.0.18-3mamba
|
|
|
|
- automatic rebuild by autodist
|
|
|
|
|
|
|
|
* Wed Nov 19 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.0.18-2mamba
|
|
|
|
- automatic rebuild by autodist
|
|
|
|
|
|
|
|
* Wed Oct 15 2008 gil <puntogil@libero.it> 0.0.18-1mamba
|
|
|
|
- update to 0.0.18
|
|
|
|
- renamed libgegl
|
|
|
|
- optional features added (workshop, website)
|
|
|
|
- added desktop file
|
|
|
|
|
|
|
|
* Wed Oct 01 2008 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 0.0.10-1mamba
|
|
|
|
- first build
|