From 61e03a29619a2f3bdf6887e3bc4a44940d5c9a51 Mon Sep 17 00:00:00 2001 From: Martin Stransky Date: Thu, 22 Nov 2007 11:50:34 +0000 Subject: [PATCH] - Rebuild against xulrunner --- devhelp-0.16.1-xulrunner.patch | 20 ++++++++++++++++++++ devhelp.spec | 13 +++++++++---- 2 files changed, 29 insertions(+), 4 deletions(-) create mode 100644 devhelp-0.16.1-xulrunner.patch diff --git a/devhelp-0.16.1-xulrunner.patch b/devhelp-0.16.1-xulrunner.patch new file mode 100644 index 0000000..eea92b7 --- /dev/null +++ b/devhelp-0.16.1-xulrunner.patch @@ -0,0 +1,20 @@ +diff -up devhelp-0.16.1/src/Yelper.cpp.xl devhelp-0.16.1/src/Yelper.cpp +--- devhelp-0.16.1/src/Yelper.cpp.xl 2007-05-28 09:42:20.000000000 +0200 ++++ devhelp-0.16.1/src/Yelper.cpp 2007-11-22 12:44:11.000000000 +0100 +@@ -41,7 +41,7 @@ + #include + #include + #include +-#include ++//#include + #include + #include + #include +@@ -172,7 +172,6 @@ Yelper::Find (const char *aSearchString) + #ifdef HAVE_GECKO_1_9 + rv = mFinder->Find (NS_ConvertUTF8toUTF16 (aSearchString), + PR_FALSE /* links only? */, +- mHasFocus, + &found); + #else + rv = mFinder->Find (NS_ConvertUTF8toUTF16 (aSearchString), diff --git a/devhelp.spec b/devhelp.spec index df45d8c..3c613cd 100644 --- a/devhelp.spec +++ b/devhelp.spec @@ -1,17 +1,18 @@ # To determine the current gecko-devel version: # rpm -q --provides firefox-devel | grep gecko-devel -%define gecko_ver 1.8.1.9 +%define gecko_ver 1.9 ### Abstract ### Name: devhelp Version: 0.16.1 -Release: 3%{?dist} +Release: 4%{?dist} License: GPLv2+ Group: Development/Tools Summary: API document browser URL: http://developer.imendio.com/projects/devhelp Source: http://download.gnome.org/sources/devhelp/0.16/devhelp-%{version}.tar.bz2 +Patch: devhelp-0.16.1-xulrunner.patch BuildRoot: %{_tmppath}/devhelp-%{version}-%{release}-root ### Dependencies ### @@ -29,7 +30,7 @@ BuildRequires: gecko-devel = %{gecko_ver} BuildRequires: gettext BuildRequires: intltool BuildRequires: libgnomeui-devel >= 2.2.0 -BuildRequires: libwnck-devel >= 2.19.3 +BuildRequires: libwnck-devel >= 2.18.0 %description An API document browser for GNOME 2. @@ -49,9 +50,10 @@ Library of Devhelp for embedding into other applications %prep %setup -q -n devhelp-%{version} +%patch -p1 -b .xl %build -%configure --disable-static +%configure --disable-static --with-gecko=xulrunner make %{?_smp_mflags} %install @@ -128,6 +130,9 @@ fi %{_libdir}/pkgconfig/* %changelog +* Thu Nov 22 2007 Martin Stransky - 0.16.1-4.fc9 +- Rebuild against xulrunner + * Fri Nov 09 2007 Matthew Barnes - 0.16.1-3.fc9 - Rebuild against gecko-libs 1.8.1.9.