Hello community, here is the log from the commit of package gegl-unstable for openSUSE:Factory checked in at 2017-02-20 14:30:20 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gegl-unstable (Old) and /work/SRC/openSUSE:Factory/.gegl-unstable.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "gegl-unstable" Changes: -------- --- /work/SRC/openSUSE:Factory/gegl-unstable/gegl-unstable.changes 2017-02-03 17:37:36.889434003 +0100 +++ /work/SRC/openSUSE:Factory/.gegl-unstable.new/gegl-unstable.changes 2017-02-20 14:30:21.832026100 +0100 @@ -1,0 +2,31 @@ +Wed Feb 1 00:00:56 UTC 2017 - zaitor@opensuse.org + +- Replace -devel for their pkgconfig() replacements aligning with + what configure checks for, and also version several of them: + + Replaced -devel packages: OpenEXR-devel, babl-devel, + glib2-devel, libexiv2-devel, libjasper-devel, libpng-devel, + librsvg-devel, lua-devel. + + Replacements: pkgconfig(OpenEXR), pkgconfig(babl), + pkgconfig(exiv2), pkgconfig(gdk-pixbuf-2.0), + pkgconfig(gio-2.0), pkgconfig(gio-unix-2.0), + pkgconfig(gmodule-2.0), pkgconfig(gobject-2.0), + pkgconfig(gthread-2.0), pkgconfig(jasper), + pkgconfig(json-glib-1.0), pkgconfig(pango), + pkgconfig(pangocairo), pkgconfig(libpng), + pkgconfig(librsvg-2.0), pkgconfig(lua). +- Run spec-cleaner, modernize spec. +- Add gobject-introspection-devel, pkgconfig, pkgconfig(lcms2): + Build support for introspection and lcms, pkgconfig comes from + spec-cleaner. +- Add new subpackage typelib-1_0-Gegl-0_3: Package the new + introspection support. +- Remove asciidoc, gd, gtk-doc, gtk2-devel, liberation-fonts: No + longer build gegl website support, gd and liberation-fonts makes + no sense, gtk-doc is currently broken. +- Following removal of gtk-doc and passing --disable-doc to + configure, temporary disable gegl-0.3-docs subpackage. +- Correct Group for devel subpackage. +- Stop passing --disable-silent-rules to configure, we do debugging + locally. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gegl-unstable.spec ++++++ --- /var/tmp/diff_new_pack.vSshhL/_old 2017-02-20 14:30:23.743756340 +0100 +++ /var/tmp/diff_new_pack.vSshhL/_new 2017-02-20 14:30:23.755754648 +0100 @@ -17,8 +17,9 @@ %define debug_package_requires libgegl-0_3-0 = %{version}-%{release} -Name: gegl-unstable %define _name gegl + +Name: gegl-unstable Version: 0.3.10 Release: 0 Summary: Generic Graphics Library @@ -27,50 +28,52 @@ Url: http://gegl.org/ Source: %{_name}-%{version}.tar.xz BuildRequires: ImageMagick -BuildRequires: OpenEXR-devel BuildRequires: SDL-devel -BuildRequires: asciidoc -BuildRequires: babl-devel >= 0.1.14 BuildRequires: enscript BuildRequires: gcc-c++ -BuildRequires: libtool -BuildRequires: pkgconfig(json-glib-1.0) -# multiple provides by gd and gd-tools -BuildRequires: gd -BuildRequires: glib2-devel >= 2.16.1 +BuildRequires: gobject-introspection-devel >= 1.32.0 BuildRequires: graphviz-gd -# Only for directory ownership: -BuildRequires: gtk-doc -BuildRequires: gtk2-devel BuildRequires: intltool BuildRequires: lensfun-devel -# Needed to build the doc, as Bitstream Vera Sans is the referenced font. -BuildRequires: liberation-fonts -BuildRequires: libexiv2-devel -BuildRequires: libjasper-devel >= 1.900.1 BuildRequires: libjpeg-devel -BuildRequires: libpng-devel -BuildRequires: librsvg-devel BuildRequires: libspiro-devel BuildRequires: libstdc++-devel -BuildRequires: lua-devel +BuildRequires: libtool +BuildRequires: pkgconfig +# For umfpack BuildRequires: ruby +BuildRequires: suitesparse-devel +BuildRequires: pkgconfig(OpenEXR) +BuildRequires: pkgconfig(babl) >= 0.1.14 +BuildRequires: pkgconfig(exiv2) +BuildRequires: pkgconfig(gdk-pixbuf-2.0) >= 2.18.0 BuildRequires: pkgconfig(gexiv2) +BuildRequires: pkgconfig(gio-2.0) +BuildRequires: pkgconfig(gio-unix-2.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.2 BuildRequires: pkgconfig(libavcodec) >= 55.69.100 BuildRequires: pkgconfig(libavformat) >= 55.48.100 +BuildRequires: pkgconfig(libpng) BuildRequires: pkgconfig(libraw) +BuildRequires: pkgconfig(librsvg-2.0) >= 2.14.0 BuildRequires: pkgconfig(libswscale) >= 2.6.100 BuildRequires: pkgconfig(libtiff-4) -BuildRequires: pkgconfig(libv4l2) +BuildRequires: pkgconfig(libv4l2) >= 1.0.1 BuildRequires: pkgconfig(libwebp) -BuildRequires: pkgconfig(vapigen) -# For umfpack -BuildRequires: suitesparse-devel -BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: pkgconfig(lua) >= 5.1.0 +BuildRequires: pkgconfig(pango) +BuildRequires: pkgconfig(pangocairo) +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 +BuildRoot: %{_tmppath}/%{name}-%{version}-build %description GEGL provides infrastructure to do demand based cached non destructive @@ -101,28 +104,42 @@ support for a wide range of color models and pixel storage formats for input and output. -%package devel -Summary: Generic Graphics Library +%package -n typelib-1_0-Gegl-0_3 +Summary: Generic Graphics Library - Introspection bindings Group: System/Libraries -Requires: libgegl-0_3-0 = %{version} -%description devel -GEGL provides infratructure to do demand based cached non destructive +%description -n typelib-1_0-Gegl-0_3 +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 doc +This package provides the GObject Introspection bindings for the +libgegl library. + +%package devel Summary: Generic Graphics Library -Group: System/Libraries +Group: Development/Libraries/C and C++ Requires: libgegl-0_3-0 = %{version} +Requires: typelib-1_0-Gegl-0_3 = %{version} -%description doc -GEGL provides infrastructure to do demand based cached non destructive +%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: Generic Graphics Library +#Group: System/Libraries +#Requires: libgegl-0_3-0 = %%{version} + +#%%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_3 %prep @@ -131,24 +148,29 @@ %build ./autogen.sh export RPM_OPT_FLAGS="%{optflags} -fno-strict-aliasing" -## Not passing --enable-workshop=yes\ as it breaks the build atm -%configure\ - --disable-static --disable-silent-rules +## Not passing --enable-workshop=yes \ as it breaks the build atm +## Stop passing --disable-silent-rules \ - We do debugging locally. +%configure \ + --disable-static \ + --disable-docs make %{?_smp_mflags} %install -make DESTDIR=%{buildroot} install %{?_smp_mflags} +%make_install find %{buildroot} -type f -name "*.la" -delete -print # move some files out of the way to not conflict with gegl 0.2 mv %{buildroot}%{_bindir}/gegl %{buildroot}%{_bindir}/gegl-0.3 mv %{buildroot}%{_bindir}/gegl-imgcmp %{buildroot}%{_bindir}/gegl-imgcmp-0.3 -mv %{buildroot}%{_datadir}/gtk-doc/html/gegl/ %{buildroot}%{_datadir}/gtk-doc/html/gegl-0.3/ +# Disabled as part of --disable-docs as they are currently broken upstream. +#mv %%{buildroot}%%{_datadir}/gtk-doc/html/gegl/ %%{buildroot}%%{_datadir}/gtk-doc/html/gegl-0.3/ %find_lang %{_name}-0.3 %{?no_lang_C} %post -n gegl-0_3 -p /sbin/ldconfig + %post -n libgegl-0_3-0 -p /sbin/ldconfig %postun -n gegl-0_3 -p /sbin/ldconfig + %postun -n libgegl-0_3-0 -p /sbin/ldconfig %files @@ -170,16 +192,25 @@ %doc AUTHORS COPYING COPYING.LESSER NEWS %{_libdir}/libgegl-0.3.so.* +%files -n typelib-1_0-Gegl-0_3 +%defattr(-,root,root) +%{_libdir}/girepository-1.0/Gegl-0.3.typelib + %files devel %defattr(-,root,root) %{_includedir}/gegl-0.3/ %{_libdir}/libgegl-0.3.so %{_libdir}/pkgconfig/gegl-0.3.pc %{_libdir}/pkgconfig/gegl-sc-0.3.pc - -%files doc -%defattr(-,root,root) -%doc %{_datadir}/gtk-doc/html/gegl-0.3/ +%{_datadir}/gir-1.0/Gegl-0.3.gir +%dir %{_datadir}/vala +%dir %{_datadir}/vala/vapi +%{_datadir}/vala/vapi/gegl-0.3.deps +%{_datadir}/vala/vapi/gegl-0.3.vapi + +#%%files doc +#%%defattr(-,root,root) +#%%doc %%{_datadir}/gtk-doc/html/gegl-0.3/ %files -n %{_name}-0_3-lang -f %{_name}-0.3.lang %defattr(-,root,root)