Fixes for gcc 4.0.1 and mimetypes files install.

epel9
Matthias Saou 20 years ago
parent ffc3798652
commit 4860808ece

@ -0,0 +1,27 @@
===================================================================
RCS file: /cvsroot/djvu/djvulibre-3.5/libdjvu/GString.h,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- djvulibre-3.5/libdjvu/GString.h 2004/08/06 15:11:29 1.19
+++ djvulibre-3.5/libdjvu/GString.h 2005/07/22 15:28:07 1.20
@@ -138,6 +138,10 @@
# endif
#endif
+class GBaseString;
+class GUTF8String;
+class GNativeString;
+
// Internal string representation.
class GStringRep : public GPEnabled
{
@@ -433,8 +437,6 @@
virtual unsigned long getValidUCS4(const char *&source) const;
};
-class GUTF8String;
-class GNativeString;
/** General purpose character string.
Each dirivied instance of class #GBaseString# represents a

@ -1,14 +1,15 @@
Summary: DjVu viewers, encoders and utilities
Name: djvulibre
Version: 3.5.15
Release: 1%{?dist}
Release: 2%{?dist}
License: GPL
Group: Applications/Publishing
URL: http://djvulibre.djvuzone.org/
Source: http://dl.sf.net/djvu/djvulibre-%{version}.tar.gz
Patch0: djvulibre-3.5.15-gcc401.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: xorg-x11-devel, qt-devel, libjpeg-devel, libtiff-devel
BuildRequires: mozilla, redhat-menus
BuildRequires: mozilla, redhat-menus, hicolor-icon-theme
# Provide these here, they're so small, it's not worth splitting them out
Provides: mozilla-djvulibre = %{version}-%{release}
Provides: djvulibre-devel = %{version}-%{release}
@ -31,6 +32,7 @@ compatible with version 3.5 of the LizardTech DjVu software suite.
%prep
%setup
%patch0 -p1 -b .gcc401
%build
@ -94,6 +96,11 @@ update-desktop-database /usr/share/applications || :
%changelog
* 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.
- Add hicolor-icon-theme build req for /usr/share/icons/hicolor/48x48/mimetypes
to exist.
* Thu Aug 4 2005 Matthias Saou <http://freshrpms.net/> 3.5.15-1
- Update to 3.5.15.
- Move desktop icon to datadir/icons/hicolor.

Loading…
Cancel
Save