Accepting request 112357 from graphics

Update to 0.2.0 (forwarded request 112353 from vuntz)

OBS-URL: https://build.opensuse.org/request/show/112357
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gegl?expand=0&rev=21
This commit is contained in:
Stephan Kulow 2012-04-17 19:58:24 +00:00 committed by Git OBS Bridge
commit 89e374d2be
4 changed files with 91 additions and 38 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:106b9574b6d5fb282683794f7a7f090a1a3f4a388890e592b202827a4ca76f75
size 5532682

3
gegl-0.2.0.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:df2e6a0d9499afcbc4f9029c18d9d1e0dd5e8710a75e17c9b1d9a6480dd8d426
size 7502040

View File

@ -1,3 +1,41 @@
-------------------------------------------------------------------
Tue Apr 3 08:45:42 UTC 2012 - vuntz@opensuse.org
- Update to version 0.2.0:
+ OpenCL support
+ Build improvements.
+ High level API to apply ops directly to buffers with arguments.
+ Final bits of translation infrastructure.
+ Invalidate regions when disconnecting input pads.
+ Operations:
- New operation: global-matting
- Allow transform core to do perspective transforms.
- Added string based key/value pairs to operations.
- Added arguments for dealing with scaled down preview
rendering.
+ Added human interaction ranges and non-linear mapping to
properties.
+ Buffer:
- Removed broken lanczos sampler.
- Add gegl_buffer_set_color and gegl_buffer_set_pattern
- Added ability to drop cached tiles.
- Added API for handling abyss policy (not implemented yet)
- Avoid iterating global tile cache when flushing/destroying
buffers that have no tiles in the cache.
- Add intltool BuildRequires: new dependency upstream, for
translations.
- Add lensfun-devel BuildRequires to build with lensfun support.
- Add libexiv2-devel BuildRequires to build with libexiv2 support.
- Add libjasper-devel BuildRequires to build with Jasper support.
- Add libspiro-devel BuildRequires to build with SPIRO support.
- Add suitesparse-devel BuildRequires to build with UMFPACK
support.
- Uncomment ruby BuildRequires: it was commented out because a file
was missing in a earlier tarball.
- Rename subpackages from gegl-0_1/libgegl-0_1-0 to
gegl-0_2/libgegl-0_2-0 following the upstream soname change.
- Create a gegl-0_2-lang subpackage for new translations.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jan 11 08:57:36 UTC 2012 - vuntz@opensuse.org Wed Jan 11 08:57:36 UTC 2012 - vuntz@opensuse.org

View File

@ -15,6 +15,7 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
Name: gegl Name: gegl
# Patched code is built by default. # Patched code is built by default.
# Use rpmbuild -D 'BUILD_ORIG 1' to build original code. # Use rpmbuild -D 'BUILD_ORIG 1' to build original code.
@ -23,20 +24,26 @@ BuildRequires: ImageMagick
BuildRequires: OpenEXR-devel BuildRequires: OpenEXR-devel
BuildRequires: SDL-devel BuildRequires: SDL-devel
BuildRequires: asciidoc BuildRequires: asciidoc
BuildRequires: babl-devel BuildRequires: babl-devel >= 0.1.10
BuildRequires: enscript BuildRequires: enscript
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: glib2-devel >= 2.16.1
BuildRequires: graphviz-gd BuildRequires: graphviz-gd
BuildRequires: gtk2-devel BuildRequires: gtk2-devel
BuildRequires: intltool
BuildRequires: lensfun-devel
BuildRequires: libexiv2-devel
BuildRequires: libjasper-devel >= 1.900.1
BuildRequires: libjpeg-devel BuildRequires: libjpeg-devel
BuildRequires: libopenraw-devel >= 0.0.5
BuildRequires: libpng-devel BuildRequires: libpng-devel
BuildRequires: librsvg-devel BuildRequires: librsvg-devel
BuildRequires: libspiro-devel
BuildRequires: libstdc++-devel BuildRequires: libstdc++-devel
BuildRequires: lua-devel BuildRequires: lua-devel
# FIXME: add back with next release after 0.1.0, when gobj2dot.rb will be there BuildRequires: ruby
# BuildRequires: ruby # For umfpack
BuildRequires: glib2-devel >= 2.16.1 BuildRequires: suitesparse-devel
BuildRequires: libopenraw-devel >= 0.0.5
# Only for directory ownership: # Only for directory ownership:
BuildRequires: gtk-doc BuildRequires: gtk-doc
%if 0%{?BUILD_ORIG} %if 0%{?BUILD_ORIG}
@ -51,16 +58,16 @@ Obsoletes: %{name}-orig-addon
Provides: patched_subset Provides: patched_subset
%endif %endif
Url: http://gegl.org/ Url: http://gegl.org/
Version: 0.1.8 Version: 0.2.0
Release: 0 Release: 0
Summary: Generic Graphics Library Summary: Generic Graphics Library
License: GPL-3.0+ ; LGPL-3.0+ License: GPL-3.0+ ; LGPL-3.0+
Group: System/Libraries Group: System/Libraries
Source: ftp://ftp.gimp.org/pub/gegl/0.1/%{name}-%{version}.tar.bz2 Source: http://ftp.gtk.org/pub/gegl/0.2/%{name}-%{version}.tar.bz2
# PATCH-FIX-UPSTREAM gegl-lua52.patch bgo#667675 vuntz@opensuse.org -- Fix build with lua 5.2 # PATCH-FIX-UPSTREAM gegl-lua52.patch bgo#667675 vuntz@opensuse.org -- Fix build with lua 5.2
Patch0: gegl-lua52.patch Patch0: gegl-lua52.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%define debug_package_requires libgegl-0_1-0 = %{version}-%{release} %define debug_package_requires libgegl-0_2-0 = %{version}-%{release}
%description %description
GEGL provides infrastructure to do demand based cached non destructive GEGL provides infrastructure to do demand based cached non destructive
@ -68,11 +75,12 @@ image editing on larger than RAM buffers. Through babl it provides
support for a wide range of color models and pixel storage formats for support for a wide range of color models and pixel storage formats for
input and output. input and output.
%package 0_1 %package 0_2
Summary: Generic Graphics Library Summary: Generic Graphics Library
Group: System/Libraries Group: System/Libraries
Recommends: %{name}-0_2-lang
%description 0_1 %description 0_2
GEGL provides infrastructure to do demand based cached non destructive GEGL provides infrastructure to do demand based cached non destructive
image editing on larger than RAM buffers. Through babl it provides image editing on larger than RAM buffers. Through babl it provides
support for a wide range of color models and pixel storage formats for support for a wide range of color models and pixel storage formats for
@ -81,12 +89,12 @@ input and output.
%if 0%{?BUILD_ORIG} %if 0%{?BUILD_ORIG}
%if 0%{?BUILD_ORIG_ADDON} %if 0%{?BUILD_ORIG_ADDON}
%package 0_1-orig-addon %package 0_2-orig-addon
Summary: Generic Graphics Library Summary: Generic Graphics Library
Group: System/Libraries Group: System/Libraries
Supplements: packageand(%{name}-0_1:%(cd %{_libdir} ; rpm -qf --queryformat=%%{NAME} `readlink %{_libdir}/libavcodec.so` )) Supplements: packageand(%{name}-0_2:%(cd %{_libdir} ; rpm -qf --queryformat=%%{NAME} `readlink %{_libdir}/libavcodec.so` ))
%description 0_1-orig-addon %description 0_2-orig-addon
GEGL provides infrastructure to do demand based cached non destructive GEGL provides infrastructure to do demand based cached non destructive
image editing on larger than RAM buffers. Through babl it provides image editing on larger than RAM buffers. Through babl it provides
support for a wide range of color models and pixel storage formats for support for a wide range of color models and pixel storage formats for
@ -95,12 +103,12 @@ input and output.
%endif %endif
%endif %endif
%package -n libgegl-0_1-0 %package -n libgegl-0_2-0
Summary: Generic Graphics Library Summary: Generic Graphics Library
Group: System/Libraries Group: System/Libraries
Recommends: %{name}-0_1 >= %{version} Recommends: %{name}-0_2 >= %{version}
%description -n libgegl-0_1-0 %description -n libgegl-0_2-0
GEGL provides infrastructure to do demand based cached non destructive GEGL provides infrastructure to do demand based cached non destructive
image editing on larger than RAM buffers. Through babl it provides image editing on larger than RAM buffers. Through babl it provides
support for a wide range of color models and pixel storage formats for support for a wide range of color models and pixel storage formats for
@ -109,7 +117,11 @@ input and output.
%package devel %package devel
Summary: Generic Graphics Library Summary: Generic Graphics Library
Group: System/Libraries Group: System/Libraries
Requires: libgegl-0_1-0 = %{version} babl-devel glib2-devel glibc-devel pcre-devel Requires: babl-devel
Requires: glib2-devel
Requires: glibc-devel
Requires: libgegl-0_2-0 = %{version}
Requires: pcre-devel
%description devel %description devel
GEGL provides infratructure to do demand based cached non destructive GEGL provides infratructure to do demand based cached non destructive
@ -120,7 +132,7 @@ input and output.
%package doc %package doc
Summary: Generic Graphics Library Summary: Generic Graphics Library
Group: System/Libraries Group: System/Libraries
Requires: libgegl-0_1-0 = %{version} Requires: libgegl-0_2-0 = %{version}
%description doc %description doc
GEGL provides infrastructure to do demand based cached non destructive GEGL provides infrastructure to do demand based cached non destructive
@ -128,6 +140,7 @@ image editing on larger than RAM buffers. Through babl it provides
support for a wide range of color models and pixel storage formats for support for a wide range of color models and pixel storage formats for
input and output. input and output.
%lang_package -n %{name}-0_2
%prep %prep
%setup -q %setup -q
%patch0 -p1 %patch0 -p1
@ -147,52 +160,54 @@ make %{?jobs:-j%jobs}
%makeinstall %makeinstall
%if ! 0%{?BUILD_ORIG} %if ! 0%{?BUILD_ORIG}
for MODULE in \ for MODULE in \
%{_libdir}/gegl-0.1/ff-load.so \ %{_libdir}/gegl-0.2/ff-load.so \
; do ; do
rm -f $RPM_BUILD_ROOT$MODULE rm -f $RPM_BUILD_ROOT$MODULE
done done
%endif %endif
find %{buildroot} -type f -name "*.la" -delete -print find %{buildroot} -type f -name "*.la" -delete -print
%find_lang %{name}-0.2 %{?no_lang_C}
%post -n libgegl-0_1-0 -p /sbin/ldconfig %post -n libgegl-0_2-0 -p /sbin/ldconfig
%postun -n libgegl-0_1-0 -p /sbin/ldconfig %postun -n libgegl-0_2-0 -p /sbin/ldconfig
%clean %clean
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%{_bindir}/* %{_bindir}/gegl
%files 0_1 %files 0_2
%defattr(-,root,root) %defattr(-,root,root)
%dir %{_libdir}/gegl-0.1 %dir %{_libdir}/gegl-0.2/
%{_libdir}/gegl-0.1/*.so %{_libdir}/gegl-0.2/*.so
%if 0%{?BUILD_ORIG} %if 0%{?BUILD_ORIG}
%if 0%{?BUILD_ORIG_ADDON} %if 0%{?BUILD_ORIG_ADDON}
%exclude %{_libdir}/gegl-0.1/ff-load.so %exclude %{_libdir}/gegl-0.2/ff-load.so
%files 0_1-orig-addon %files 0_2-orig-addon
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/gegl-0.1/ff-load.so %{_libdir}/gegl-0.2/ff-load.so
%endif %endif
%endif %endif
%files -n libgegl-0_1-0 %files -n libgegl-0_2-0
%defattr(-,root,root) %defattr(-,root,root)
%doc AUTHORS COPYING COPYING.LESSER ChangeLog NEWS README %doc AUTHORS COPYING COPYING.LESSER ChangeLog NEWS README
%{_libdir}/*.so.* %{_libdir}/libgegl-0.2.so.*
%files devel %files devel
%defattr(-,root,root) %defattr(-,root,root)
%{_includedir}/* %{_includedir}/gegl-0.2/
%{_libdir}/*.so %{_libdir}/libgegl-0.2.so
%{_libdir}/pkgconfig/*.pc %{_libdir}/pkgconfig/gegl-0.2.pc
%files doc %files doc
%defattr(-,root,root) %defattr(-,root,root)
%dir %{_datadir}/gtk-doc/html/gegl %doc %{_datadir}/gtk-doc/html/gegl/
%{_datadir}/gtk-doc/html/gegl/*
%files -n %{name}-0_2-lang -f %{name}-0.2.lang
%changelog %changelog