Accepting request 602159 from home:darix:branches:graphics

- add BR for gdk-pixbuf-loader-rsvg to enable svg icons
- enable jpeg2000 support: new BR pkgconfig(libopenjp2)
- enable webp support: new BR pkgconfig(libwebp) >= 0.6.0
- enable OpenEXR support: new BR pkgconfig(OpenEXR)
- enable email support: new BR/R for xdg-utils for xdg-email
- set LC_ALL/LANG in %prep and %build to silence warnings about
  encoding of the translations
- make sure we can see the compiler cmdlines by disabling the
  silent rules

OBS-URL: https://build.opensuse.org/request/show/602159
OBS-URL: https://build.opensuse.org/package/show/graphics/gimp?expand=0&rev=23
This commit is contained in:
OBS User mrdocs
2018-04-28 03:54:48 +00:00
committed by Git OBS Bridge
parent 3e9bbb5cd5
commit 8fff109743
2 changed files with 24 additions and 0 deletions

View File

@@ -1,3 +1,16 @@
-------------------------------------------------------------------
Sat Apr 28 00:59:13 UTC 2018 - mrueckert@suse.de
- add BR for gdk-pixbuf-loader-rsvg to enable svg icons
- enable jpeg2000 support: new BR pkgconfig(libopenjp2)
- enable webp support: new BR pkgconfig(libwebp) >= 0.6.0
- enable OpenEXR support: new BR pkgconfig(OpenEXR)
- enable email support: new BR/R for xdg-utils for xdg-email
- set LC_ALL/LANG in %prep and %build to silence warnings about
encoding of the translations
- make sure we can see the compiler cmdlines by disabling the
silent rules
-------------------------------------------------------------------
Fri Apr 27 22:22:46 UTC 2018 - bjorn.lie@gmail.com

View File

@@ -35,6 +35,7 @@ BuildRequires: alsa-devel >= 1.0.0
BuildRequires: fdupes
BuildRequires: fontconfig-devel >= 2.2.0
BuildRequires: gcc-c++
BuildRequires: gdk-pixbuf-loader-rsvg
# For some odd reason build needs gegl executable.
BuildRequires: gegl
BuildRequires: ghostscript-devel
@@ -71,8 +72,11 @@ BuildRequires: pkgconfig(lcms2) >= 2.2
BuildRequires: pkgconfig(libexif) >= 0.6.15
BuildRequires: pkgconfig(liblzma) >= 5.0.0
BuildRequires: pkgconfig(libmypaint) >= 1.3.0
BuildRequires: pkgconfig(libopenjp2)
BuildRequires: pkgconfig(libpng) >= 1.2.37
BuildRequires: pkgconfig(libwebp) >= 0.6.0
BuildRequires: pkgconfig(mypaint-brushes-1.0)
BuildRequires: pkgconfig(OpenEXR)
BuildRequires: pkgconfig(pango) >= 1.29.4
BuildRequires: pkgconfig(poppler-data) >= 0.4.7
BuildRequires: pkgconfig(poppler-glib) >= 0.12.4
@@ -80,9 +84,11 @@ BuildRequires: pkgconfig(xcursor)
BuildRequires: pkgconfig(xfixes)
BuildRequires: pkgconfig(xpm)
BuildRequires: pkgconfig(zlib)
BuildRequires: xdg-utils
# Explicitly declare the libgimp versions for upgrade purposes
Requires: libgimp-2_0-0 = %{version}
Requires: libgimpui-2_0-0 = %{version}
Requires: xdg-utils
Recommends: %{name}-lang
Recommends: %{name}-plugins-python = %{version}
Recommends: iso-codes
@@ -175,6 +181,8 @@ applications that want to make use of the GIMP libraries.
%prep
%setup -q
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
translation-update-upstream
translation-update-upstream po-libgimp gimp20-libgimp
translation-update-upstream po-python gimp20-python
@@ -197,8 +205,11 @@ if test "x${vapi}" != "x%{apiver}"; then
fi
%build
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
export CFLAGS="%{optflags} -fno-strict-aliasing"
%configure \
--disable-silent-rules \
--disable-static\
%if 0%{?suse_version} >= 1330
--without-webkit\