rpms/gimp/F-11 gimp-2.6.6-help-browser-webkit.patch, NONE, 1.1 gimp.spec, 1.190, 1.191
Nils Philippsen
nphilipp at fedoraproject.org
Sat Jun 27 15:56:23 UTC 2009
- Previous message (by thread): rpms/freedoom-freedm/F-10 .cvsignore, 1.3, 1.4 freedoom-freedm.spec, 1.5, 1.6 sources, 1.3, 1.4
- Next message (by thread): rpms/gimp/devel gimp-2.6.6-help-browser-webkit.patch, NONE, 1.1 gimp.spec, 1.192, 1.193
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: nphilipp
Update of /cvs/pkgs/rpms/gimp/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv20552
Modified Files:
gimp.spec
Added Files:
gimp-2.6.6-help-browser-webkit.patch
Log Message:
fix help browser crash with new WebKit versions (#508301)
BR: webkitgtk-devel from F-11 on
gimp-2.6.6-help-browser-webkit.patch:
--- NEW FILE gimp-2.6.6-help-browser-webkit.patch ---
commit 1d38c1c2daabb7dac94a37fa87caa0f1bb4d95f9
Author: Nils Philippsen <nils at redhat.com>
Date: Sat Jun 27 17:04:48 2009 +0200
patch: help-browser-webkit
Squashed commit of the following:
commit 7647788dbf37369b602361a6abd598388a4cb923
Author: Sven Neumann <sven at gimp.org>
Date: Sat Mar 28 16:42:50 2009 +0000
Bug 577024 â help-browser plugin crashes when used with webkit 1.1.3
2009-03-28 Sven Neumann <sven at gimp.org>
Bug 577024 â help-browser plugin crashes when used with webkit 1.1.3
* plug-ins/help-browser/help-browser.c (run): call g_thread_init().
Seems to be needed with newer versions of webkit.
svn path=/trunk/; revision=28227
Signed-off-by: Nils Philippsen <nils at redhat.com>
diff --git a/plug-ins/help-browser/help-browser.c b/plug-ins/help-browser/help-browser.c
index efbabfe..d632d9c 100644
--- a/plug-ins/help-browser/help-browser.c
+++ b/plug-ins/help-browser/help-browser.c
@@ -129,6 +129,9 @@ run (const gchar *name,
INIT_I18N ();
+ if (! g_thread_supported ())
+ g_thread_init (NULL);
+
switch (run_mode)
{
case GIMP_RUN_INTERACTIVE:
Index: gimp.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gimp/F-11/gimp.spec,v
retrieving revision 1.190
retrieving revision 1.191
diff -u -p -r1.190 -r1.191
--- gimp.spec 14 Apr 2009 15:39:24 -0000 1.190
+++ gimp.spec 27 Jun 2009 15:56:22 -0000 1.191
@@ -19,12 +19,19 @@
%bcond_without gutenprint
# convenience: install convenience symlinks
%bcond_without convenience
+# aalib: build with AAlib (ASCII art gfx library)
+%if 0%{?rhel} != 0
+# don't use aalib on RHEL
+%bcond_with aalib
+%else
+%bcond_without aalib
+%endif
Summary: GNU Image Manipulation Program
Name: gimp
Epoch: 2
Version: 2.6.6
-Release: 3%{?dist}
+Release: 5%{?dist}
%define binver 2.6
%define gimp_lang_ver 20
%define interfacever 2.0
@@ -38,7 +45,9 @@ BuildRoot: %{_tmppath}/%{name}-%{ve
Obsoletes: gimp-perl < 2:2.0
Obsoletes: gimp < 2:2.6.0-3
BuildRequires: chrpath
+%if %{with aalib}
BuildRequires: aalib-devel
+%endif
BuildRequires: alsa-lib-devel >= 1.0.0
BuildRequires: babl-devel >= 0.0.22
BuildRequires: cairo-devel >= 1.4.10
@@ -71,7 +80,11 @@ BuildRequires: poppler-devel >= 0.4.1
BuildRequires: python-devel
BuildRequires: pygtk2-devel >= 2.10.4
BuildRequires: pygobject2-devel
+%if 0%{?fedora}%{?rhel} == 0 || 0%{?fedora} > 10 || 0%{?rhel} > 5
+BuildRequires: webkitgtk-devel >= 1.0.0
+%else
BuildRequires: WebKit-gtk-devel >= 1.0.0
+%endif
%if %{with modular_x}
BuildRequires: libX11-devel
BuildRequires: libXmu-devel
@@ -110,6 +123,8 @@ 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.6-minimize-dialogs.patch
+Patch3: gimp-2.6.6-gegl-babl-versions-check.patch
+Patch4: gimp-2.6.6-help-browser-webkit.patch
%description
GIMP (GNU Image Manipulation Program) is a powerful image composition and
@@ -182,6 +197,7 @@ build the print plugin:
prefer gutenprint over (external) gimp-print plugin:
%{with gutenprint}
%endif
+build ASCII art plugin %{with aalib}
EOF
@@ -190,11 +206,14 @@ EOF
%patch0 -p1 -b .xdg-open
%patch1 -p1 -b .jpeg-units
%patch2 -p1 -b .minimize-dialogs
+%patch3 -p1 -b .gegl-babl-versions-check
+%patch4 -p1 -b .help-browser-webkit
%build
-if [ ! -f configure ]; then
- ./autogen.sh --quiet $MYARCH_FLAGS --prefix=%{_prefix}
-fi
+# 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'
@@ -228,7 +247,11 @@ LDFLAGS='-pie'
--without-lcms \
%endif
--enable-gimp-console \
+%if %{with aalib}
--with-aa \
+%else
+ --without-aa \
+%endif
%ifos linux
--with-linux-input \
%endif
@@ -475,6 +498,14 @@ fi
%{_libdir}/gimp/%{interfacever}/plug-ins/help-browser
%changelog
+* Sat Jun 27 2009 Nils Philippsen <nils at redhat.com> - 2:2.6.6-5
+- fix help browser crash with new WebKit versions (#508301)
+- BR: webkitgtk-devel from F-11 on
+
+* Fri Jun 05 2009 Nils Philippsen <nils at redhat.com> - 2:2.6.6-4
+- don't build against aalib on RHEL
+- use backported patch to correctly check gegl/babl versions
+
* Tue Apr 14 2009 Nils Philippsen <nils at redhat.com> - 2:2.6.6-3
- remove rpaths from binaries (#495670)
- Previous message (by thread): rpms/freedoom-freedm/F-10 .cvsignore, 1.3, 1.4 freedoom-freedm.spec, 1.5, 1.6 sources, 1.3, 1.4
- Next message (by thread): rpms/gimp/devel gimp-2.6.6-help-browser-webkit.patch, NONE, 1.1 gimp.spec, 1.192, 1.193
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list