- Rebuild against xulrunner

This commit is contained in:
Martin Stransky 2007-11-22 11:50:34 +00:00
parent 672430764c
commit 61e03a2961
2 changed files with 29 additions and 4 deletions

View File

@ -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 <nsIDOMWindow.h>
#include <nsIInterfaceRequestorUtils.h>
#include <nsIPrefService.h>
-#include <nsIPrintSettings.h>
+//#include <nsIPrintSettings.h>
#include <nsISelectionController.h>
#include <nsITypeAheadFind.h>
#include <nsIWebBrowser.h>
@@ -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),

View File

@ -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 <stransky@redhat.com> - 0.16.1-4.fc9
- Rebuild against xulrunner
* Fri Nov 09 2007 Matthew Barnes <mbarnes@redhat.com> - 0.16.1-3.fc9
- Rebuild against gecko-libs 1.8.1.9.