gegl/gegl.spec

202 lines
6.6 KiB
RPMSpec
Raw Normal View History

#
# spec file for package gegl
#
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
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: gegl
Accepting request 701845 from home:iznogood:branches:graphics - Update to version 0.4.16: + Buffer: - Swapped behavior of cubic interpolation from cubic to mithcell coefficients, leading to crisper results in all uses of the cubic sampler. - Use a custom allocator for tile data which aligns data and groups allocations in blocks - improving performance on windows by keeping more slack allocation memory in-process. On linux the opposite was needed and is achieved by using the GNU extension malloc_trim which permits forcing invokation of the glibc malloc/free allocators garbage collection function. - Permit tiles to be unreffed after GEGL shut-down without crash, which is likely when using bindings to dynamic languages. - Improved deadlock prevention in gegl_buffer_copy() when using copy on write. + Core: - Platform specific build fixes for both win32 and OSX. - Avoid in-place processing for cached nodes. - Indentation consitency improvements. - Permit more detailed specifying/overriding of OpenCL device through the GEGL_USE_OPENCL environment variable. - New call gegl_update_anim_time for applying the animation curves of properties. + Build: Added gitlab continuous integration. + Operations: - Use indirect buffer inputs on main thread during multi-processed processing for point-filters/composers and tranform base classes. - Smaller required/invalided ROI for map-absolute/relative when using nearest neighbor. - tiff-save and jpg-save fixed dimensions when buffer saved has non-zero origin. - Added missing descriptions of properties for cubism, mosaic, tile-paper, color, mantiuk06 and vignette operations. - ff-load fix some of the deprecation warnings. - ff-save avoid crashing if audio or video codec fails to initialize. - cache, parent class changed - it is no longer a point operations, also speed up processing and permit copy on write handling of tiles. - opacity and invert - crash for 8bpc buffers, reimplemented logic for (non-)associated alpha OpenCL kernel selection. + Tools: Drop direct dependency on exiv2 - we now only transiently depend on it through the gexiv2 abstraction. + commandline tool/gui: - Store per image editing chains in .gegl folder instead of sidecars. - Set window title, permit interaction with opened .lui documents, fixed playback of audio for opened videos - it now works; if the video is decoding, scaling and display is fast enough to leave spare cycles. - Support for nearest neighbor scaling of imagry; aiding video playback without dropping audio frames. - Custom collection order and per-file key-value metadata. - Drop explicit pkgconfig(exiv2) BuildRequires following upstream changes. OBS-URL: https://build.opensuse.org/request/show/701845 OBS-URL: https://build.opensuse.org/package/show/graphics/gegl?expand=0&rev=74
2019-05-31 22:24:49 +02:00
Version: 0.4.16
Release: 0
Summary: Generic Graphics Library
License: GPL-3.0-or-later AND LGPL-3.0-or-later
Group: Productivity/Graphics/Other
URL: http://gegl.org/
Source0: https://download.gimp.org/pub/gegl/0.4/%{name}-%{version}.tar.bz2
Source99: baselibs.conf
BuildRequires: ImageMagick
BuildRequires: SDL-devel >= 1.2.0
BuildRequires: enscript
BuildRequires: gcc-c++
BuildRequires: gobject-introspection-devel >= 1.32.0
BuildRequires: graphviz-gd
BuildRequires: gtk-doc
BuildRequires: libjpeg-devel
BuildRequires: libspiro-devel
BuildRequires: libstdc++-devel
BuildRequires: libtool
BuildRequires: pkgconfig
BuildRequires: suitesparse-devel
BuildRequires: pkgconfig(OpenEXR) >= 1.6.1
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(babl) >= 0.1.62
BuildRequires: pkgconfig(cairo) >= 1.12.2
BuildRequires: pkgconfig(gdk-pixbuf-2.0) >= 2.32.0
BuildRequires: pkgconfig(gexiv2)
BuildRequires: pkgconfig(gio-2.0)
BuildRequires: pkgconfig(gio-unix-2.0)
BuildRequires: pkgconfig(glib-2.0) >= 2.44.0
BuildRequires: pkgconfig(gmodule-2.0)
BuildRequires: pkgconfig(gobject-2.0)
BuildRequires: pkgconfig(gthread-2.0)
BuildRequires: pkgconfig(jasper) >= 1.900.1
BuildRequires: pkgconfig(json-glib-1.0)
BuildRequires: pkgconfig(lcms2) >= 2.8
BuildRequires: pkgconfig(libavcodec)
BuildRequires: pkgconfig(libavformat)
BuildRequires: pkgconfig(libpng) >= 1.6.0
BuildRequires: pkgconfig(libraw) >= 0.15.4
BuildRequires: pkgconfig(librsvg-2.0) >= 2.40.6
BuildRequires: pkgconfig(libswscale)
BuildRequires: pkgconfig(libtiff-4) >= 4.0.0
BuildRequires: pkgconfig(libv4l2) >= 1.0.1
BuildRequires: pkgconfig(libwebp) >= 0.5.0
BuildRequires: pkgconfig(lua) >= 5.1.0
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
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
# Since 13/02/18 (version 0.3.28) gegl-unstable is obsolete, gegl is now on "0.4" branch.
Provides: gegl-unstable = %{version}
Obsoletes: gegl-unstable < 0.3.28
%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 -n %{name}-0_4
Summary: Generic Graphics Library
Group: System/Libraries
Recommends: %{name}-0_4-lang
%description -n %{name}-0_4
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 -n libgegl-0_4-0
Summary: Generic Graphics Library
# The plugins are required for the lib to be usable
Group: System/Libraries
Requires: %{name}-0_4 >= %{version}
%description -n libgegl-0_4-0
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 -n typelib-1_0-Gegl-0_4
Summary: Introspection bindings for the GEGL "Generic Graphics Library"
Group: System/Libraries
%description -n typelib-1_0-Gegl-0_4
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 provides the GObject Introspection bindings for the
libgegl library.
%package devel
Summary: Development files for the GEGL "Generic Graphics Library"
Group: Development/Libraries/C and C++
Requires: libgegl-0_4-0 = %{version}
Requires: typelib-1_0-Gegl-0_4 = %{version}
%description devel
GEGL provides infratructure 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 doc
Summary: Documentation for the GEGL "Generic Graphics Library"
Group: Documentation/HTML
%description doc
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.
%lang_package -n %{name}-0_4
%prep
%autosetup -p1
%build
%configure \
--disable-static \
%{nil}
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
%make_build
%install
%make_install
find %{buildroot} -type f -name "*.la" -delete -print
%find_lang %{name}-0.4 %{?no_lang_C}
%post -n gegl-0_4 -p /sbin/ldconfig
%postun -n gegl-0_4 -p /sbin/ldconfig
%post -n libgegl-0_4-0 -p /sbin/ldconfig
%postun -n libgegl-0_4-0 -p /sbin/ldconfig
%files
%{_bindir}/gegl
%{_bindir}/gegl-imgcmp
%{_bindir}/gcut
%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
%files -n libgegl-0_4-0
%license COPYING COPYING.LESSER
%{_libdir}/libgegl-0.4.so.*
%files -n typelib-1_0-Gegl-0_4
%{_libdir}/girepository-1.0/Gegl-0.4.typelib
%files devel
%{_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
%dir %{_datadir}/vala
%dir %{_datadir}/vala/vapi
%{_datadir}/vala/vapi/gegl-0.4.deps
%{_datadir}/vala/vapi/gegl-0.4.vapi
%files doc
%doc AUTHORS ChangeLog NEWS
%doc %{_datadir}/gtk-doc/html/gegl/
%files -n %{name}-0_4-lang -f %{name}-0.4.lang
%changelog