Hello community,

here is the log from the commit of package libcdr for openSUSE:Factory checked 
in at 2013-01-29 10:47:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libcdr (Old)
 and      /work/SRC/openSUSE:Factory/.libcdr.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libcdr", Maintainer is ""

Changes:
--------
--- /work/SRC/openSUSE:Factory/libcdr/libcdr.changes    2012-11-13 
17:07:16.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.libcdr.new/libcdr.changes       2013-01-29 
10:47:23.000000000 +0100
@@ -1,0 +2,8 @@
+Fri Jan 25 15:47:08 CET 2013 - [email protected]
+
+- Update to upstream version 0.0.10
+  * Fix wrong encoding of some text strings
+  * New dependency on libicu-devel
+- Upstream patch fixing large-angle computation
+
+-------------------------------------------------------------------

Old:
----
  libcdr-0.0.9.tar.xz

New:
----
  libcdr-0.0.10-ellipse.patch
  libcdr-0.0.10.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libcdr.spec ++++++
--- /var/tmp/diff_new_pack.vpg2iQ/_old  2013-01-29 10:47:25.000000000 +0100
+++ /var/tmp/diff_new_pack.vpg2iQ/_new  2013-01-29 10:47:25.000000000 +0100
@@ -22,15 +22,16 @@
 %else
 %define build_doc      0
 %endif
-BuildRequires:  gcc-c++ pkgconfig xz zlib-devel liblcms2-devel
+BuildRequires:  gcc-c++ pkgconfig xz zlib-devel liblcms2-devel libicu-devel
 BuildRequires:  libwpd-devel >= 0.9.0 libwpg-devel >= 0.2.0 
 Summary:        Library for parsing the Corel Draw file format structure
-Version:        0.0.9
+Version:        0.0.10
 Release:        0
 License:        LGPL-2.0+ or GPL-2.0+ or MPL-1.1
 Group:          Productivity/Publishing/Word
 Url:            http://www.freedesktop.org/wiki/Software/libcdr
 Source:         http://dev-www.libreoffice.org/src/libcdr-%{version}.tar.xz
+Patch0:         libcdr-0.0.10-ellipse.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -82,6 +83,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %configure --disable-static --docdir=%_docdir/%name

++++++ libcdr-0.0.10-ellipse.patch ++++++
--- a/src/lib/CDRParser.cpp
+++ b/src/lib/CDRParser.cpp
@@ -1186,6 +1186,16 @@ void libcdr::CDRParser::readEllipse(WPXInputStream 
*input)
   double rx = fabs(cx);
   double ry = fabs(cy);
 
+  while (angle1 < 0.0)
+    angle1 += 2*M_PI;
+  while (angle1 > 2*M_PI)
+    angle1 -= 2*M_PI;
+
+  while (angle2 < 0.0)
+    angle2 += 2*M_PI;
+  while (angle2 > 2*M_PI)
+    angle2 -= 2*M_PI;
+
   if (angle1 != angle2)
   {
     if (angle2 < angle1)
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to