rpms/djvulibre/devel djvulibre-3.5.16-extraqualif.patch, NONE, 1.1 djvulibre.spec, 1.13, 1.14

Matthias Saou (thias) fedora-extras-commits at redhat.com
Mon Mar 6 16:34:51 UTC 2006


Author: thias

Update of /cvs/extras/rpms/djvulibre/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv30580

Modified Files:
	djvulibre.spec 
Added Files:
	djvulibre-3.5.16-extraqualif.patch 
Log Message:
Work in progress to build for FC5, but there are still some errors to fix.


djvulibre-3.5.16-extraqualif.patch:

--- NEW FILE djvulibre-3.5.16-extraqualif.patch ---
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);


Index: djvulibre.spec
===================================================================
RCS file: /cvs/extras/rpms/djvulibre/devel/djvulibre.spec,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- djvulibre.spec	6 Mar 2006 15:53:08 -0000	1.13
+++ djvulibre.spec	6 Mar 2006 16:34:50 -0000	1.14
@@ -1,15 +1,21 @@
 Summary: DjVu viewers, encoders and utilities
 Name: djvulibre
-Version: 3.5.15
-Release: 3%{?dist}
+Version: 3.5.16
+Release: 1%{?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
+Patch0: djvulibre-3.5.16-extraqualif.patch
 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
+# 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
 Provides: mozilla-djvulibre = %{version}-%{release}
 Provides: djvulibre-devel = %{version}-%{release}
@@ -32,7 +38,7 @@
 
 %prep
 %setup
-%patch0 -p1 -b .gcc401
+%patch0 -p1 -b .extraqualif
 
 
 %build
@@ -96,9 +102,15 @@
 
 
 %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.
 
+* 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
 - 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




More information about the scm-commits mailing list