use -mmmx/sse/sse2/... only for the relevant source files so that extended
instruction sets only get used on suitable CPUs (#157409)
This commit is contained in:
parent
668448ccda
commit
a55352e6ab
11
gimp.spec
11
gimp.spec
@ -14,7 +14,7 @@ Version: 2.2.7
|
|||||||
%define minorver 200
|
%define minorver 200
|
||||||
%define microver %(ver=%{version}; echo ${ver##*.*.})
|
%define microver %(ver=%{version}; echo ${ver##*.*.})
|
||||||
#define prever pre2
|
#define prever pre2
|
||||||
Release: %{?prever:0.0.%{prever}.}1
|
Release: %{?prever:0.0.%{prever}.}2
|
||||||
Epoch: 2
|
Epoch: 2
|
||||||
License: GPL, LGPL
|
License: GPL, LGPL
|
||||||
Group: Applications/Multimedia
|
Group: Applications/Multimedia
|
||||||
@ -57,6 +57,7 @@ Patch1: gimp-2.0.1-gimphelpmissing.patch
|
|||||||
Patch2: gimp-2.2.3-icontheme.patch
|
Patch2: gimp-2.2.3-icontheme.patch
|
||||||
Patch3: gimp-2.2.4-gcc4.patch
|
Patch3: gimp-2.2.4-gcc4.patch
|
||||||
Patch4: gimp-2.2.4-gifload.patch
|
Patch4: gimp-2.2.4-gifload.patch
|
||||||
|
Patch5: gimp-2.2.7-cpuinstructionset.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The GIMP (GNU Image Manipulation Program) is a powerful image
|
The GIMP (GNU Image Manipulation Program) is a powerful image
|
||||||
@ -85,6 +86,7 @@ extensions.
|
|||||||
%patch2 -p1 -b .icontheme
|
%patch2 -p1 -b .icontheme
|
||||||
%patch3 -p1 -b .gcc4
|
%patch3 -p1 -b .gcc4
|
||||||
%patch4 -p1 -b .gifload
|
%patch4 -p1 -b .gifload
|
||||||
|
%patch5 -p1 -b .cpuinstructionset
|
||||||
|
|
||||||
%build
|
%build
|
||||||
libtoolize --copy --force
|
libtoolize --copy --force
|
||||||
@ -97,9 +99,6 @@ LIBAA="disable"; export LIBAA
|
|||||||
if [ ! -f configure ]; then
|
if [ ! -f configure ]; then
|
||||||
CFLAGS="$RPM_OPT_FLAGS" ./autogen.sh --quiet $MYARCH_FLAGS --prefix=%{_prefix}
|
CFLAGS="$RPM_OPT_FLAGS" ./autogen.sh --quiet $MYARCH_FLAGS --prefix=%{_prefix}
|
||||||
fi
|
fi
|
||||||
%ifarch %ix86 x86_64
|
|
||||||
CFLAGS="%optflags -msse -msse2" CXXFLAGS="%optflags -msse -msse2" \
|
|
||||||
%endif
|
|
||||||
%configure \
|
%configure \
|
||||||
--disable-perl \
|
--disable-perl \
|
||||||
%if %_enable_python
|
%if %_enable_python
|
||||||
@ -316,6 +315,10 @@ fi
|
|||||||
%{_libdir}/pkgconfig/*
|
%{_libdir}/pkgconfig/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed May 11 2005 Nils Philippsen <nphilipp@redhat.com>
|
||||||
|
- use -mmmx/sse/sse2/... only for the relevant source files so that extended
|
||||||
|
instruction sets only get used on suitable CPUs (#157409)
|
||||||
|
|
||||||
* Mon May 09 2005 Nils Philippsen <nphilipp@redhat.com>
|
* Mon May 09 2005 Nils Philippsen <nphilipp@redhat.com>
|
||||||
- version 2.2.7, fixes bug in SSE2 assembly for Lighten Only layer mode
|
- version 2.2.7, fixes bug in SSE2 assembly for Lighten Only layer mode
|
||||||
(#145771) and various other bugs
|
(#145771) and various other bugs
|
||||||
|
Loading…
Reference in New Issue
Block a user