Accepting request 235274 from home:Mailaender:branches:graphics
to fix the SLE build properly you will need the project config from my branch, too OBS-URL: https://build.opensuse.org/request/show/235274 OBS-URL: https://build.opensuse.org/package/show/graphics/ImageMagick?expand=0&rev=202
This commit is contained in:
parent
9863dd00cd
commit
57ffa65c5b
@ -1,3 +1,19 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat May 24 11:07:38 UTC 2014 - mailaender@opensuse.org
|
||||||
|
|
||||||
|
- Fixed the SLE build
|
||||||
|
- Added missing dependencies:
|
||||||
|
* autotrace
|
||||||
|
* dejavu-fonts
|
||||||
|
* fftw3
|
||||||
|
* ghostscript
|
||||||
|
* libjbig
|
||||||
|
* liblqr
|
||||||
|
* mupdf
|
||||||
|
* p7zip
|
||||||
|
* xdg-utils
|
||||||
|
* zip
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Apr 24 09:54:12 UTC 2014 - dmueller@suse.com
|
Thu Apr 24 09:54:12 UTC 2014 - dmueller@suse.com
|
||||||
|
|
||||||
|
@ -18,20 +18,27 @@
|
|||||||
|
|
||||||
Name: ImageMagick
|
Name: ImageMagick
|
||||||
|
|
||||||
|
BuildRequires: autotrace-devel
|
||||||
BuildRequires: autoconf >= 2.69
|
BuildRequires: autoconf >= 2.69
|
||||||
BuildRequires: dcraw
|
BuildRequires: dcraw
|
||||||
|
%if 0%{?suse_version} >= 1140
|
||||||
|
BuildRequires: dejavu-fonts
|
||||||
|
%endif
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: fftw3-devel
|
||||||
BuildRequires: freetype2-devel
|
BuildRequires: freetype2-devel
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: ghostscript-fonts-other
|
BuildRequires: ghostscript-devel
|
||||||
BuildRequires: ghostscript-fonts-std
|
|
||||||
BuildRequires: ghostscript-library
|
|
||||||
BuildRequires: libbz2-devel
|
BuildRequires: libbz2-devel
|
||||||
BuildRequires: libdjvulibre-devel
|
BuildRequires: libdjvulibre-devel
|
||||||
BuildRequires: libexif-devel
|
BuildRequires: libexif-devel
|
||||||
BuildRequires: libjasper-devel
|
BuildRequires: libjasper-devel
|
||||||
|
BuildRequires: libjbig-devel
|
||||||
BuildRequires: libjpeg-devel
|
BuildRequires: libjpeg-devel
|
||||||
BuildRequires: liblcms2-devel
|
BuildRequires: liblcms2-devel
|
||||||
|
%if 0%{?suse_version} >= 1140
|
||||||
|
BuildRequires: liblqr-devel
|
||||||
|
%endif
|
||||||
BuildRequires: librsvg-devel
|
BuildRequires: librsvg-devel
|
||||||
BuildRequires: libtiff-devel >= 4.0.3
|
BuildRequires: libtiff-devel >= 4.0.3
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
@ -39,10 +46,19 @@ BuildRequires: libwebp-devel
|
|||||||
BuildRequires: libwmf-devel
|
BuildRequires: libwmf-devel
|
||||||
BuildRequires: libxml2-devel
|
BuildRequires: libxml2-devel
|
||||||
BuildRequires: lzma-devel
|
BuildRequires: lzma-devel
|
||||||
|
%if 0%{?suse_version} >= 1140
|
||||||
|
BuildRequires: mupdf-devel-static
|
||||||
BuildRequires: openexr-devel
|
BuildRequires: openexr-devel
|
||||||
|
%endif
|
||||||
BuildRequires: openjpeg2-devel
|
BuildRequires: openjpeg2-devel
|
||||||
|
%if 0%{?suse_version} >= 1140
|
||||||
|
BuildRequires: p7zip
|
||||||
|
%endif
|
||||||
BuildRequires: pango-devel
|
BuildRequires: pango-devel
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
|
BuildRequires: xdg-utils
|
||||||
|
BuildRequires: xz
|
||||||
|
BuildRequires: zip
|
||||||
|
|
||||||
%define maj 6
|
%define maj 6
|
||||||
%define mfr_version %{maj}.8.8
|
%define mfr_version %{maj}.8.8
|
||||||
@ -227,7 +243,7 @@ support multiple generations of an image in memory at one time.
|
|||||||
HTML documentation for ImageMagick library and scene examples.
|
HTML documentation for ImageMagick library and scene examples.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -n ImageMagick-%{source_version}
|
%setup -q -n ImageMagick-%{source_version}
|
||||||
%patch0
|
%patch0
|
||||||
%patch1
|
%patch1
|
||||||
%patch2 -p1
|
%patch2 -p1
|
||||||
@ -267,6 +283,7 @@ automake
|
|||||||
make %{?_smp_mflags} all
|
make %{?_smp_mflags} all
|
||||||
make -j1 perl-build
|
make -j1 perl-build
|
||||||
|
|
||||||
|
%if 0%{?suse_version} >= 1140
|
||||||
%check
|
%check
|
||||||
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PWD/magick/.libs:$PWD/wand/.libs
|
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PWD/magick/.libs:$PWD/wand/.libs
|
||||||
export MAGICK_CODER_MODULE_PATH=$PWD/coders/.libs
|
export MAGICK_CODER_MODULE_PATH=$PWD/coders/.libs
|
||||||
@ -274,6 +291,7 @@ export MAGICK_CODER_FILTER_PATH=$PWD/filters/.libs
|
|||||||
export MAGICK_CONFIGURE_PATH=$PWD/config
|
export MAGICK_CONFIGURE_PATH=$PWD/config
|
||||||
cd PerlMagick
|
cd PerlMagick
|
||||||
make test
|
make test
|
||||||
|
%endif
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%{__make} install \
|
%{__make} install \
|
||||||
@ -372,6 +390,9 @@ PATH='/bin:/usr/bin' find %{buildroot}/%{_libdir} -name "*.la" ! -empty \
|
|||||||
%doc %{_mandir}/man3/*
|
%doc %{_mandir}/man3/*
|
||||||
%{perl_vendorarch}/auto/Image
|
%{perl_vendorarch}/auto/Image
|
||||||
%{perl_vendorarch}/Image
|
%{perl_vendorarch}/Image
|
||||||
|
%if 0%{?suse_version} < 1140
|
||||||
|
/var/adm/perl-modules/ImageMagick
|
||||||
|
%endif
|
||||||
|
|
||||||
%files -n libMagick++%{libspec}-%{cxxlibver}
|
%files -n libMagick++%{libspec}-%{cxxlibver}
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user