2008-09-22 16:17:16 +02:00
|
|
|
#
|
2011-05-06 09:44:50 +02:00
|
|
|
# spec file for package gegl
|
2008-09-22 16:17:16 +02:00
|
|
|
#
|
2020-02-05 11:31:59 +01:00
|
|
|
# Copyright (c) 2020 SUSE LLC
|
2008-09-22 16:17:16 +02:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2019-09-09 11:32:04 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2008-09-22 16:17:16 +02:00
|
|
|
#
|
|
|
|
|
2012-04-03 13:44:17 +02:00
|
|
|
|
2019-11-01 08:07:51 +01:00
|
|
|
%ifarch ppc64
|
|
|
|
%bcond_with luajit
|
|
|
|
%else
|
|
|
|
%bcond_without luajit
|
|
|
|
%endif
|
|
|
|
|
2008-09-22 16:17:16 +02:00
|
|
|
Name: gegl
|
2020-02-24 11:28:35 +01:00
|
|
|
Version: 0.4.22
|
2014-10-27 04:35:20 +01:00
|
|
|
Release: 0
|
|
|
|
Summary: Generic Graphics Library
|
2018-03-06 23:32:16 +01:00
|
|
|
License: GPL-3.0-or-later AND LGPL-3.0-or-later
|
2018-03-08 17:05:37 +01:00
|
|
|
Group: Productivity/Graphics/Other
|
2018-03-22 03:41:16 +01:00
|
|
|
URL: http://gegl.org/
|
2019-11-01 08:07:51 +01:00
|
|
|
Source0: https://download.gimp.org/pub/gegl/0.4/%{name}-%{version}.tar.xz
|
2018-05-09 11:32:29 +02:00
|
|
|
Source99: baselibs.conf
|
2019-11-01 09:33:27 +01:00
|
|
|
|
2012-01-11 11:37:55 +01:00
|
|
|
BuildRequires: ImageMagick
|
2019-11-01 08:07:51 +01:00
|
|
|
BuildRequires: asciidoc
|
2012-01-11 11:37:55 +01:00
|
|
|
BuildRequires: gcc-c++
|
2018-03-22 03:41:16 +01:00
|
|
|
BuildRequires: gobject-introspection-devel >= 1.32.0
|
2019-11-01 08:07:51 +01:00
|
|
|
BuildRequires: gtk-doc
|
2019-08-14 14:09:06 +02:00
|
|
|
BuildRequires: libSDL2-devel
|
2012-01-11 11:37:55 +01:00
|
|
|
BuildRequires: libjpeg-devel
|
2012-04-03 13:44:17 +02:00
|
|
|
BuildRequires: libspiro-devel
|
2012-01-11 11:37:55 +01:00
|
|
|
BuildRequires: libstdc++-devel
|
2019-11-01 08:07:51 +01:00
|
|
|
BuildRequires: meson >= 0.50.0
|
2018-03-22 03:41:16 +01:00
|
|
|
BuildRequires: pkgconfig
|
2019-11-01 08:07:51 +01:00
|
|
|
BuildRequires: ruby
|
2012-04-03 13:44:17 +02:00
|
|
|
BuildRequires: suitesparse-devel
|
2018-04-03 14:43:45 +02:00
|
|
|
BuildRequires: pkgconfig(OpenEXR) >= 1.6.1
|
2020-02-05 11:31:59 +01:00
|
|
|
BuildRequires: pkgconfig(babl) >= 0.1.74
|
2018-04-03 14:43:45 +02:00
|
|
|
BuildRequires: pkgconfig(cairo) >= 1.12.2
|
|
|
|
BuildRequires: pkgconfig(gdk-pixbuf-2.0) >= 2.32.0
|
2018-03-22 03:41:16 +01:00
|
|
|
BuildRequires: pkgconfig(gexiv2)
|
|
|
|
BuildRequires: pkgconfig(gio-2.0)
|
|
|
|
BuildRequires: pkgconfig(gio-unix-2.0)
|
2018-04-03 14:43:45 +02:00
|
|
|
BuildRequires: pkgconfig(glib-2.0) >= 2.44.0
|
2018-03-22 03:41:16 +01:00
|
|
|
BuildRequires: pkgconfig(gmodule-2.0)
|
|
|
|
BuildRequires: pkgconfig(gobject-2.0)
|
|
|
|
BuildRequires: pkgconfig(gthread-2.0)
|
|
|
|
BuildRequires: pkgconfig(json-glib-1.0)
|
2018-04-03 14:43:45 +02:00
|
|
|
BuildRequires: pkgconfig(lcms2) >= 2.8
|
2019-11-01 08:07:51 +01:00
|
|
|
BuildRequires: pkgconfig(lensfun)
|
2018-05-11 00:53:13 +02:00
|
|
|
BuildRequires: pkgconfig(libavcodec)
|
|
|
|
BuildRequires: pkgconfig(libavformat)
|
2019-11-03 17:49:59 +01:00
|
|
|
BuildRequires: pkgconfig(libavutil) >= 55.92.100
|
2018-04-03 14:43:45 +02:00
|
|
|
BuildRequires: pkgconfig(libpng) >= 1.6.0
|
|
|
|
BuildRequires: pkgconfig(libraw) >= 0.15.4
|
|
|
|
BuildRequires: pkgconfig(librsvg-2.0) >= 2.40.6
|
2018-05-11 00:53:13 +02:00
|
|
|
BuildRequires: pkgconfig(libswscale)
|
2018-04-03 14:43:45 +02:00
|
|
|
BuildRequires: pkgconfig(libtiff-4) >= 4.0.0
|
2018-03-22 03:41:16 +01:00
|
|
|
BuildRequires: pkgconfig(libv4l2) >= 1.0.1
|
2018-04-03 14:43:45 +02:00
|
|
|
BuildRequires: pkgconfig(libwebp) >= 0.5.0
|
2019-11-01 08:07:51 +01:00
|
|
|
%if %{with luajit}
|
|
|
|
BuildRequires: pkgconfig(luajit)
|
|
|
|
%endif
|
|
|
|
# TODO: BuildRequires: pkgconfig(mrg)
|
2018-04-03 14:43:45 +02:00
|
|
|
BuildRequires: pkgconfig(pango) >= 1.38.0
|
|
|
|
BuildRequires: pkgconfig(pangocairo) >= 1.38.0
|
Accepting request 687056 from home:iznogood:branches:graphics
- Update to version 0.4.14:
+ Core:
- New Scratch allocator for short lived buffers.
- Removed unneeded buffer copies in some processing code paths
in GeglNode and GeglProcessor.
- Add gegl_babl_variant API for getting variations on an
existing pixel-format/encoding.
- Expose gegl_node_is_graph().
+ GeglBuffer:
- Compression of tile data.
- Handle dynamically changing swap dir.
- Improvements to mipmap damage propagation.
- Fixes to threading race conditions.
- Low-level tile handling more adapted to buffers creating from
existing linear data.
- New iterator API is now the default,
GEGL_BUFFER_ITERATOR2_API is no longer needed.
- CMYK/grayscale handling for scaled blits, code paths in
samplers, serialization.
- New default tile-cache size, 50% of RAM.
- Initialize the first OpenCL device with IMAGE support.
- Added gegl_parallell_ from gimp_parallell_ API to distribute
processing for multiple cores.
+ Operations:
- crop, added aux-pad - if connected the incoming bounding box
determines the crop size.
- Input-format specific processing for performance in
watershed-transform and invert ops. CMYK handling in
jpg-load/save, tiff-load/save, gaussian-blur, opacity, most
composing and blending operations, text, vector-stroke, path,
and transform operations.
- Improved or fixed mipmap preview rendering of emboss,
linear-gradient and radial-gradient.
- Better ui strings/range/defaults for: distort/waves and
dropshadow, value-propagate.
- gaussian-blur: fix mistake in implementation of IIR Young
blur 1d, which caused non circular halos.
- New operation: pdf-load with build dependency on
poppler-glib.
- Added offset properties to pixelize filter.
- New ops in workshop: voroni diagram, Grey Color Removal,
spyrograph.
- Handle mipmap rendering for linear-gradient and
radial-gradient.
+ UI:
- The existing microraptor-gui (immediate mode touch UI+CSS
with cairo) image viewer that can be built as part of the
gegl binary has been revisted, a graph/property editor has
been added, and migration/extension to lua has begun for
parts of the code.
- WARNING: many parts of the UI is of exploratory proof of
concept/alpha quality but are released since the code is part
of the GEGL repository and important development tools both
for creating and testing new GEGL operations as well as GEGL
itself.
- Some screenshots showing some the process towards the state
and capabilties of the UI in this release can be seen at
https://www.patreon.com/posts/24123574
- To build with this UI the following dependencies also need to
be satisifed, for now this is not intended to be packaged by
distributions yet.
. libluajit-dev
. lua-lgi (debian package name) upstream:
. mmm https://github.com/hodefoting/mmm
. mrg https://github.com/hodefoting/mrg
+ Features:
- folder view.
- resolution independent UI.
- touch oriented navigation.
- GIF / video playback.
- PDF pagination.
- goats that expose performance and capabilty issues in GEGL.
- efficient (though not sandboxed) thumbnailing.
- embedded simple commandline.
- graph editor.
- zoomable.
- automatic, consistent graph layout.
- autogenerated property-inspector ui.
- visualization of color model/bitdepth through styling of
edges.
- live-extendable with lua code for per-operation canvas UI.
- Add pkgconfig(poppler-glib) BuildRequires: New dependency.
OBS-URL: https://build.opensuse.org/request/show/687056
OBS-URL: https://build.opensuse.org/package/show/graphics/gegl?expand=0&rev=72
2019-03-29 10:39:54 +01:00
|
|
|
BuildRequires: pkgconfig(poppler-glib) >= 0.71.0
|
2019-11-01 09:33:27 +01:00
|
|
|
BuildRequires: pkgconfig(pygobject-3.0)
|
2018-03-22 03:41:16 +01:00
|
|
|
BuildRequires: pkgconfig(vapigen) >= 0.20.0
|
|
|
|
# since version 0.3.5, we no longer provide an orig-addon package, as ffmpeg/libav
|
|
|
|
# exists in Tumbleweed and we use it to build
|
|
|
|
Provides: %{name}-0_3-orig-addon = %{version}
|
|
|
|
Obsoletes: %{name}-0_3-orig-addon < 0.3.5
|
2018-04-28 01:27:10 +02:00
|
|
|
# Since 13/02/18 (version 0.3.28) gegl-unstable is obsolete, gegl is now on "0.4" branch.
|
2018-03-22 03:41:16 +01:00
|
|
|
Provides: gegl-unstable = %{version}
|
2018-04-28 01:27:10 +02:00
|
|
|
Obsoletes: gegl-unstable < 0.3.28
|
2008-09-22 16:17:16 +02:00
|
|
|
|
|
|
|
%description
|
2018-03-22 03:41:16 +01:00
|
|
|
GEGL provides infrastructure to do demand based cached non destructive
|
2018-03-08 17:05:37 +01:00
|
|
|
image editing on larger than RAM buffers. Through babl, it provides
|
2008-09-22 16:17:16 +02:00
|
|
|
support for a wide range of color models and pixel storage formats for
|
|
|
|
input and output.
|
|
|
|
|
2018-04-28 01:27:10 +02:00
|
|
|
%package -n %{name}-0_4
|
2008-09-22 16:17:16 +02:00
|
|
|
Summary: Generic Graphics Library
|
|
|
|
Group: System/Libraries
|
|
|
|
|
2018-04-28 01:27:10 +02:00
|
|
|
%description -n %{name}-0_4
|
2018-03-22 03:41:16 +01:00
|
|
|
GEGL provides infrastructure to do demand based cached non destructive
|
2018-03-08 17:05:37 +01:00
|
|
|
image editing on larger than RAM buffers. Through babl, it provides
|
2008-09-22 16:17:16 +02:00
|
|
|
support for a wide range of color models and pixel storage formats for
|
|
|
|
input and output.
|
|
|
|
|
2018-04-28 01:27:10 +02:00
|
|
|
%package -n libgegl-0_4-0
|
2008-09-22 16:17:16 +02:00
|
|
|
Summary: Generic Graphics Library
|
2018-03-22 03:41:16 +01:00
|
|
|
# The plugins are required for the lib to be usable
|
2008-09-22 16:17:16 +02:00
|
|
|
Group: System/Libraries
|
2018-04-28 01:27:10 +02:00
|
|
|
Requires: %{name}-0_4 >= %{version}
|
2008-09-22 16:17:16 +02:00
|
|
|
|
2018-04-28 01:27:10 +02:00
|
|
|
%description -n libgegl-0_4-0
|
2018-03-22 03:41:16 +01:00
|
|
|
GEGL provides infrastructure to do demand based cached non destructive
|
2018-03-08 17:05:37 +01:00
|
|
|
image editing on larger than RAM buffers. Through babl, it provides
|
2008-09-22 16:17:16 +02:00
|
|
|
support for a wide range of color models and pixel storage formats for
|
|
|
|
input and output.
|
|
|
|
|
2018-04-28 01:27:10 +02:00
|
|
|
%package -n typelib-1_0-Gegl-0_4
|
2018-03-22 03:41:16 +01:00
|
|
|
Summary: Introspection bindings for the GEGL "Generic Graphics Library"
|
2008-09-22 16:17:16 +02:00
|
|
|
Group: System/Libraries
|
|
|
|
|
2018-04-28 01:27:10 +02:00
|
|
|
%description -n typelib-1_0-Gegl-0_4
|
2018-03-22 03:41:16 +01:00
|
|
|
GEGL provides infrastructure to do demand based cached non destructive
|
2018-03-08 17:05:37 +01:00
|
|
|
image editing on larger than RAM buffers. Through babl, it provides
|
2008-09-22 16:17:16 +02:00
|
|
|
support for a wide range of color models and pixel storage formats for
|
|
|
|
input and output.
|
|
|
|
|
2018-03-22 03:41:16 +01:00
|
|
|
This package provides the GObject Introspection bindings for the
|
|
|
|
libgegl library.
|
|
|
|
|
2008-09-22 16:17:16 +02:00
|
|
|
%package devel
|
2018-03-22 03:41:16 +01:00
|
|
|
Summary: Development files for the GEGL "Generic Graphics Library"
|
2018-03-08 17:05:37 +01:00
|
|
|
Group: Development/Libraries/C and C++
|
2018-04-28 01:27:10 +02:00
|
|
|
Requires: libgegl-0_4-0 = %{version}
|
|
|
|
Requires: typelib-1_0-Gegl-0_4 = %{version}
|
2008-09-22 16:17:16 +02:00
|
|
|
|
|
|
|
%description devel
|
2018-03-22 03:41:16 +01:00
|
|
|
GEGL provides infratructure to do demand based cached non destructive
|
2018-03-08 17:05:37 +01:00
|
|
|
image editing on larger than RAM buffers. Through babl, it provides
|
2008-09-22 16:17:16 +02:00
|
|
|
support for a wide range of color models and pixel storage formats for
|
|
|
|
input and output.
|
|
|
|
|
|
|
|
%package doc
|
2018-03-22 03:41:16 +01:00
|
|
|
Summary: Documentation for the GEGL "Generic Graphics Library"
|
2018-03-08 17:05:37 +01:00
|
|
|
Group: Documentation/HTML
|
2008-09-22 16:17:16 +02:00
|
|
|
|
|
|
|
%description doc
|
2018-03-22 03:41:16 +01:00
|
|
|
GEGL provides infrastructure to do demand based cached non destructive
|
2018-03-08 17:05:37 +01:00
|
|
|
image editing on larger than RAM buffers. Through babl, it provides
|
2008-09-22 16:17:16 +02:00
|
|
|
support for a wide range of color models and pixel storage formats for
|
|
|
|
input and output.
|
|
|
|
|
2018-04-28 01:27:10 +02:00
|
|
|
%lang_package -n %{name}-0_4
|
2014-10-27 04:35:20 +01:00
|
|
|
|
2008-09-22 16:17:16 +02:00
|
|
|
%prep
|
2018-05-11 00:53:13 +02:00
|
|
|
%autosetup -p1
|
2008-09-22 16:17:16 +02:00
|
|
|
|
|
|
|
%build
|
2019-11-01 08:07:51 +01:00
|
|
|
%meson \
|
2019-11-01 09:33:27 +01:00
|
|
|
-Dmrg=disabled \
|
|
|
|
%if ! %{with luajit}
|
|
|
|
-Dlua=disabled \
|
|
|
|
%endif
|
|
|
|
-Dworkshop=true \
|
|
|
|
-Djasper=disabled \
|
|
|
|
-Ddocs=true \
|
|
|
|
%{nil}
|
2019-11-01 08:07:51 +01:00
|
|
|
%meson_build
|
2008-09-22 16:17:16 +02:00
|
|
|
|
|
|
|
%install
|
2019-11-01 08:07:51 +01:00
|
|
|
%meson_install
|
2009-06-12 18:14:50 +02:00
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
2018-04-28 01:27:10 +02:00
|
|
|
%find_lang %{name}-0.4 %{?no_lang_C}
|
2018-03-22 03:41:16 +01:00
|
|
|
|
2018-04-28 01:27:10 +02:00
|
|
|
%post -n gegl-0_4 -p /sbin/ldconfig
|
|
|
|
%postun -n gegl-0_4 -p /sbin/ldconfig
|
2008-09-22 16:17:16 +02:00
|
|
|
|
2018-04-28 01:27:10 +02:00
|
|
|
%post -n libgegl-0_4-0 -p /sbin/ldconfig
|
|
|
|
%postun -n libgegl-0_4-0 -p /sbin/ldconfig
|
2008-09-22 16:17:16 +02:00
|
|
|
|
|
|
|
%files
|
2012-04-03 13:44:17 +02:00
|
|
|
%{_bindir}/gegl
|
2018-03-22 03:41:16 +01:00
|
|
|
%{_bindir}/gegl-imgcmp
|
2008-09-22 16:17:16 +02:00
|
|
|
|
2018-04-28 01:27:10 +02:00
|
|
|
%files -n %{name}-0_4
|
|
|
|
%dir %{_libdir}/gegl-0.4/
|
|
|
|
%{_libdir}/gegl-0.4/*.so
|
|
|
|
# libgegl-sc-0.4.so is a support library for the seamless-clone module
|
|
|
|
%{_libdir}/libgegl-sc-0.4.so
|
|
|
|
%{_libdir}/libgegl-npd-0.4.so
|
|
|
|
%{_libdir}/gegl-0.4/grey2.json
|
2019-11-01 08:07:51 +01:00
|
|
|
%if %{with luajit}
|
|
|
|
# lua files
|
|
|
|
%dir %{_datadir}/gegl-0.4/
|
|
|
|
%{_datadir}/gegl-0.4/lua/
|
|
|
|
%endif
|
2008-09-22 16:17:16 +02:00
|
|
|
|
2018-04-28 01:27:10 +02:00
|
|
|
%files -n libgegl-0_4-0
|
2018-03-22 03:41:16 +01:00
|
|
|
%license COPYING COPYING.LESSER
|
2018-04-28 01:27:10 +02:00
|
|
|
%{_libdir}/libgegl-0.4.so.*
|
2008-09-22 16:17:16 +02:00
|
|
|
|
2018-04-28 01:27:10 +02:00
|
|
|
%files -n typelib-1_0-Gegl-0_4
|
|
|
|
%{_libdir}/girepository-1.0/Gegl-0.4.typelib
|
2008-09-22 16:17:16 +02:00
|
|
|
|
|
|
|
%files devel
|
2018-04-28 01:27:10 +02:00
|
|
|
%{_includedir}/gegl-0.4/
|
|
|
|
%{_libdir}/libgegl-0.4.so
|
|
|
|
%{_libdir}/pkgconfig/gegl-0.4.pc
|
|
|
|
%{_libdir}/pkgconfig/gegl-sc-0.4.pc
|
|
|
|
%{_datadir}/gir-1.0/Gegl-0.4.gir
|
2018-03-22 03:41:16 +01:00
|
|
|
%dir %{_datadir}/vala
|
|
|
|
%dir %{_datadir}/vala/vapi
|
2018-04-28 01:27:10 +02:00
|
|
|
%{_datadir}/vala/vapi/gegl-0.4.deps
|
|
|
|
%{_datadir}/vala/vapi/gegl-0.4.vapi
|
2008-09-22 16:17:16 +02:00
|
|
|
|
|
|
|
%files doc
|
2019-11-01 08:07:51 +01:00
|
|
|
%doc AUTHORS docs/ChangeLog docs/NEWS.txt
|
2012-04-03 13:44:17 +02:00
|
|
|
%doc %{_datadir}/gtk-doc/html/gegl/
|
|
|
|
|
2018-04-28 01:27:10 +02:00
|
|
|
%files -n %{name}-0_4-lang -f %{name}-0.4.lang
|
2008-09-22 16:17:16 +02:00
|
|
|
|
|
|
|
%changelog
|