Work in progress to build for FC5, but there are still some errors to fix.

epel9
Matthias Saou 19 years ago
parent a3139df5b1
commit d89b365c13

@ -0,0 +1,28 @@
diff -Naupr djvulibre-3.5.16.orig/libdjvu/ByteStream.h djvulibre-3.5.16/libdjvu/ByteStream.h
--- djvulibre-3.5.16.orig/libdjvu/ByteStream.h 2003-11-07 23:08:20.000000000 +0100
+++ djvulibre-3.5.16/libdjvu/ByteStream.h 2006-01-30 11:22:17.000000000 +0100
@@ -242,7 +242,7 @@ public:
and writes it to the specified stream. */
void formatmessage( const char *fmt, ... );
/** Looks up the message and writes it to the specified stream. */
- void ByteStream::writemessage( const char *message );
+ void writemessage( const char *message );
/** Writes a one-byte integer to a ByteStream. */
void write8 (unsigned int card8);
/** Writes a two-bytes integer to a ByteStream.
diff -Naupr djvulibre-3.5.16.orig/libdjvu/GURL.h djvulibre-3.5.16/libdjvu/GURL.h
--- djvulibre-3.5.16.orig/libdjvu/GURL.h 2003-11-07 23:08:21.000000000 +0100
+++ djvulibre-3.5.16/libdjvu/GURL.h 2006-01-30 11:18:17.000000000 +0100
@@ -278,10 +278,10 @@ public:
//@}
/// Returns TRUE if #gurl1# and #gurl2# are the same
- bool GURL::operator==(const GURL & gurl2) const;
+ bool operator==(const GURL & gurl2) const;
/// Returns TRUE if #gurl1# and #gurl2# are different
- bool GURL::operator!=(const GURL & gurl2) const;
+ bool operator!=(const GURL & gurl2) const;
/// Assignment operator
GURL & operator=(const GURL & url);

@ -1,15 +1,21 @@
Summary: DjVu viewers, encoders and utilities Summary: DjVu viewers, encoders and utilities
Name: djvulibre Name: djvulibre
Version: 3.5.15 Version: 3.5.16
Release: 3%{?dist} Release: 1%{?dist}
License: GPL License: GPL
Group: Applications/Publishing Group: Applications/Publishing
URL: http://djvulibre.djvuzone.org/ URL: http://djvulibre.djvuzone.org/
Source: http://dl.sf.net/djvu/djvulibre-%{version}.tar.gz Source: http://dl.sf.net/djvu/djvulibre-%{version}.tar.gz
Patch0: djvulibre-3.5.15-gcc401.patch Patch0: djvulibre-3.5.16-extraqualif.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: xorg-x11-devel, qt-devel, libjpeg-devel, libtiff-devel BuildRequires: qt-devel, libjpeg-devel, libtiff-devel
BuildRequires: mozilla, redhat-menus, hicolor-icon-theme BuildRequires: mozilla, redhat-menus, hicolor-icon-theme
# Use monolithic X up to FC4, and modular X for FC5+ and non-Fedora
%if %{!?fedora:5}%{?fedora} >= 5
BuildRequires: libXt-devel
%else
BuildRequires: xorg-x11-devel
%endif
# Provide these here, they're so small, it's not worth splitting them out # Provide these here, they're so small, it's not worth splitting them out
Provides: mozilla-djvulibre = %{version}-%{release} Provides: mozilla-djvulibre = %{version}-%{release}
Provides: djvulibre-devel = %{version}-%{release} Provides: djvulibre-devel = %{version}-%{release}
@ -32,7 +38,7 @@ compatible with version 3.5 of the LizardTech DjVu software suite.
%prep %prep
%setup %setup
%patch0 -p1 -b .gcc401 %patch0 -p1 -b .extraqualif
%build %build
@ -96,9 +102,15 @@ update-desktop-database /usr/share/applications || :
%changelog %changelog
* Mon Mar 6 2006 Matthias Saou <http://freshrpms.net/> 3.5.15-3 * Mon Mar 6 2006 Matthias Saou <http://freshrpms.net/> 3.5.16-2
- FC5 rebuild. - FC5 rebuild.
* Mon Jan 30 2006 Matthias Saou <http://freshrpms.net/> 3.5.16-1
- Update to 3.5.16.
- Add conditional to build with/without modular X depending on FC version.
- Remove no longer needed gcc4 patch.
- Add extra qualification patch.
* Thu Aug 4 2005 Matthias Saou <http://freshrpms.net/> 3.5.15-2 * Thu Aug 4 2005 Matthias Saou <http://freshrpms.net/> 3.5.15-2
- Include djvulibre-3.5.15-gcc401.patch to fix compilation with gcc 4.0.1. - Include djvulibre-3.5.15-gcc401.patch to fix compilation with gcc 4.0.1.
- Add hicolor-icon-theme build req for /usr/share/icons/hicolor/48x48/mimetypes - Add hicolor-icon-theme build req for /usr/share/icons/hicolor/48x48/mimetypes

Loading…
Cancel
Save