Accepting request 69541 from home:fstrba

- upgrade to version 0.9.2:
    - Fix build with gcc 4.6.x (Caolan McNamara)
    - Handle graciously corrupted WP6 prefix data (Fridrich)
    - Initial conversion of Mac double byte script characters (Fridrich)
    - Internally use UCS4 instead of UCS2 (Fridrich)
    - Add Arabic character conversion for WP5 parser (Fridrich)
    - Allow conversion of one WP character to a sequence of unicode
      characters (Fridrich)
    - Miscellaneous conversion fixes (Edward Mendelson, Fridrich)
    - Parse correctly WP 2 for Mac documents without resource fork (Fridrich)
    - Improvements in parsing of pictures in WP1 parser (Fridrich)
    - Fix wrong sizes of some functions in WP1 and WP42 parsers (Fridrich)
    - Fix handling of character attributes (Fridrich)

OBS-URL: https://build.opensuse.org/request/show/69541
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libwpd?expand=0&rev=8
This commit is contained in:
Petr Mladek 2011-05-04 12:10:28 +00:00 committed by Git OBS Bridge
parent fe244b9743
commit 5a00a6941b
5 changed files with 22 additions and 38 deletions

View File

@ -1,30 +0,0 @@
--- src/lib/WP5GraphicsInformationPacket.h 2010-08-26 13:35:21.000000000 +0200
+++ src/lib/WP5GraphicsInformationPacket.h 2011-03-16 10:25:18.918009010 +0100
@@ -28,6 +28,7 @@
#include "WP5GeneralPacketData.h"
#include "WPXMemoryStream.h"
#include "WPXBinaryData.h"
+#include <cstddef>
#include <vector>
class WP5GraphicsInformationPacket : public WP5GeneralPacketData
--- src/lib/WPXOLEStream.cpp 2010-08-26 13:35:21.000000000 +0200
+++ src/lib/WPXOLEStream.cpp 2011-03-16 10:31:09.626009026 +0100
@@ -600,7 +600,7 @@
unsigned p = i * 128;
// would be < 32 if first char in the name isn't printable
- unsigned prefix = 32;
+ // unsigned prefix = 32;
// parse name of this entry, which stored as Unicode 16-bit
std::string name;
@@ -612,7 +612,7 @@
// first char isn't printable ? remove it...
if( buffer[p] < 32 )
{
- prefix = buffer[0];
+ //prefix = buffer[0];
name.erase( 0,1 );
}

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:dac08ed61af43ad8a0183791f013c8b1ffcdbf77b9d3f50ffb7f2367df635c57
size 539759

3
libwpd-0.9.2.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cc52efc05136876f90166d9bb778fb0d6be1dd05f3bce4435d42baa281109f1a
size 614862

View File

@ -1,3 +1,20 @@
-------------------------------------------------------------------
Wed May 4 11:26:00 CEST 2011 - fstrba@novell.com
- upgrade to version 0.9.2:
- Fix build with gcc 4.6.x (Caolan McNamara)
- Handle graciously corrupted WP6 prefix data (Fridrich)
- Initial conversion of Mac double byte script characters (Fridrich)
- Internally use UCS4 instead of UCS2 (Fridrich)
- Add Arabic character conversion for WP5 parser (Fridrich)
- Allow conversion of one WP character to a sequence of unicode
characters (Fridrich)
- Miscellaneous conversion fixes (Edward Mendelson, Fridrich)
- Parse correctly WP 2 for Mac documents without resource fork (Fridrich)
- Improvements in parsing of pictures in WP1 parser (Fridrich)
- Fix wrong sizes of some functions in WP1 and WP42 parsers (Fridrich)
- Fix handling of character attributes (Fridrich)
-------------------------------------------------------------------
Wed Mar 16 09:32:59 UTC 2011 - ismail@namtrac.org

View File

@ -24,12 +24,10 @@ BuildRequires: doxygen gcc-c++ pkgconfig
License: LGPLv2.1+
Group: System/Libraries
AutoReqProv: on
Version: 0.9.0
Release: 6
Version: 0.9.2
Release: 0
Summary: Library for Importing WordPerfect (tm) Documents
Source: libwpd-%{version}.tar.bz2
# PATCH-FIX-OPENSUSE gcc46.patch -- Add missing includes to fix compilation with gcc 4.6
Patch: gcc46.patch
Url: http://libwpd.sourceforge.net
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%define debug_package_requires libwpd-0_9-9 = %{version}-%{release}
@ -128,7 +126,6 @@ Authors:
%prep
%setup -q
%patch
%build
%configure --disable-static --docdir=%_docdir/%name