- Rebuild against xulrunner
This commit is contained in:
parent
672430764c
commit
61e03a2961
20
devhelp-0.16.1-xulrunner.patch
Normal file
20
devhelp-0.16.1-xulrunner.patch
Normal 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),
|
13
devhelp.spec
13
devhelp.spec
@ -1,17 +1,18 @@
|
|||||||
# To determine the current gecko-devel version:
|
# To determine the current gecko-devel version:
|
||||||
# rpm -q --provides firefox-devel | grep gecko-devel
|
# rpm -q --provides firefox-devel | grep gecko-devel
|
||||||
%define gecko_ver 1.8.1.9
|
%define gecko_ver 1.9
|
||||||
|
|
||||||
### Abstract ###
|
### Abstract ###
|
||||||
|
|
||||||
Name: devhelp
|
Name: devhelp
|
||||||
Version: 0.16.1
|
Version: 0.16.1
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
Summary: API document browser
|
Summary: API document browser
|
||||||
URL: http://developer.imendio.com/projects/devhelp
|
URL: http://developer.imendio.com/projects/devhelp
|
||||||
Source: http://download.gnome.org/sources/devhelp/0.16/devhelp-%{version}.tar.bz2
|
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
|
BuildRoot: %{_tmppath}/devhelp-%{version}-%{release}-root
|
||||||
|
|
||||||
### Dependencies ###
|
### Dependencies ###
|
||||||
@ -29,7 +30,7 @@ BuildRequires: gecko-devel = %{gecko_ver}
|
|||||||
BuildRequires: gettext
|
BuildRequires: gettext
|
||||||
BuildRequires: intltool
|
BuildRequires: intltool
|
||||||
BuildRequires: libgnomeui-devel >= 2.2.0
|
BuildRequires: libgnomeui-devel >= 2.2.0
|
||||||
BuildRequires: libwnck-devel >= 2.19.3
|
BuildRequires: libwnck-devel >= 2.18.0
|
||||||
|
|
||||||
%description
|
%description
|
||||||
An API document browser for GNOME 2.
|
An API document browser for GNOME 2.
|
||||||
@ -49,9 +50,10 @@ Library of Devhelp for embedding into other applications
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n devhelp-%{version}
|
%setup -q -n devhelp-%{version}
|
||||||
|
%patch -p1 -b .xl
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --disable-static
|
%configure --disable-static --with-gecko=xulrunner
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -128,6 +130,9 @@ fi
|
|||||||
%{_libdir}/pkgconfig/*
|
%{_libdir}/pkgconfig/*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Fri Nov 09 2007 Matthew Barnes <mbarnes@redhat.com> - 0.16.1-3.fc9
|
||||||
- Rebuild against gecko-libs 1.8.1.9.
|
- Rebuild against gecko-libs 1.8.1.9.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user