rpms/gimp/F-10 gimp.spec,1.180,1.181

Nils Philippsen nphilipp at fedoraproject.org
Tue Mar 17 08:29:15 UTC 2009


Author: nphilipp

Update of /cvs/pkgs/rpms/gimp/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv25940

Modified Files:
	gimp.spec 
Log Message:
require pygtk2 >= 2.10.4 (#490553)
use -fno-strict-aliasing, PIC/PIE compilation flags



Index: gimp.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gimp/F-10/gimp.spec,v
retrieving revision 1.180
retrieving revision 1.181
diff -u -r1.180 -r1.181
--- gimp.spec	16 Feb 2009 08:16:43 -0000	1.180
+++ gimp.spec	17 Mar 2009 08:28:45 -0000	1.181
@@ -24,7 +24,7 @@
 Name:           gimp
 Epoch:          2
 Version:        2.6.5
-Release:        1%{?dist}
+Release:        5%{?dist}
 %define binver 2.6
 %define gimp_lang_ver 20
 %define interfacever 2.0
@@ -99,6 +99,7 @@
 %endif
 %endif
 Requires:       hicolor-icon-theme
+Requires:       pygtk2 >= 2.10.4
 Requires:       xdg-utils
 Requires:       gimp-libs-%{_arch} = %{?epoch:%{epoch}:}%{version}-%{release}
 Provides:       gimp-%{_arch} = %{?epoch:%{epoch}:}%{version}-%{release}
@@ -107,6 +108,7 @@
 Source1:        gimp-plugin-mgr.in
 Patch0:         gimp-2.6.2-xdg-open.patch
 Patch1:         gimp-2.6.2-jpeg-units.patch
+Patch2:         gimp-2.6.5-gtk-version.patch.bz2
 
 %description
 GIMP (GNU Image Manipulation Program) is a powerful image composition and
@@ -186,11 +188,17 @@
 %setup -q -n gimp-%{version}
 %patch0 -p1 -b .xdg-open
 %patch1 -p1 -b .jpeg-units
+%patch2 -p1 -b .gtk-version
 
 %build
 if [ ! -f configure ]; then
   ./autogen.sh --quiet $MYARCH_FLAGS --prefix=%{_prefix}
 fi
+# Use PIC/PIE because gimp is likely to deal with files coming from untrusted
+# sources
+CFLAGS='-fPIC %optflags -fno-strict-aliasing'
+CXXFLAGS='-fPIC %optflags -fno-strict-aliasing'
+LDFLAGS='-pie'
 %configure \
     --disable-perl --enable-gimp-remote \
 %if %{with python}
@@ -463,6 +471,20 @@
 %{_libdir}/gimp/%{interfacever}/plug-ins/help-browser
 
 %changelog
+* Tue Mar 17 2009 Nils Philippsen <nils at redhat.com> - 2:2.6.5-5
+- require pygtk2 >= 2.10.4 (#490553)
+
+* Tue Mar 10 2009 Nils Philippsen <nils at redhat.com> - 2:2.6.5-4
+- use correct fix from upstream to avoid crashes (#486122)
+- use -fno-strict-aliasing, PIC/PIE compilation flags
+
+* Mon Mar 09 2009 Nils Philippsen <nils at redhat.com> - 2:2.6.5-3
+- rebuild against new WebKit
+- define deprecated gtk functions to avoid crashes (#486122)
+
+* Tue Feb 24 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2:2.6.5-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
+
 * Sun Feb 15 2009 Nils Philippsen <nils at redhat.com> - 2:2.6.5-1
 - version 2.6.5
 




More information about the fedora-extras-commits mailing list