Hello community, here is the log from the commit of package libetonyek for openSUSE:Factory checked in at 2013-12-17 10:01:58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libetonyek (Old) and /work/SRC/openSUSE:Factory/.libetonyek.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libetonyek" Changes: -------- --- /work/SRC/openSUSE:Factory/libetonyek/libetonyek.changes 2013-11-15 13:25:06.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.libetonyek.new/libetonyek.changes 2013-12-17 10:01:58.000000000 +0100 @@ -1,0 +2,27 @@ +Sun Dec 15 06:03:27 UTC 2013 - [email protected] + +- Fix build with some boost versions and compilers + - Cannot take address of a template function +- added patches: + * libetonyek-0.0.3-lexical_cast.patch +------------------------------------------------------------------- +Sun Dec 15 05:39:42 UTC 2013 - [email protected] + +- Fix comma at the end of an enum. +- added patches: + * libetonyek-0.0.3-comma.patch +------------------------------------------------------------------- +Sat Dec 14 22:51:11 UTC 2013 - [email protected] + +- Bump to 0.0.3 + - import text formatting attributes + - draw rounded rectangles and callouts + - fixed build with older boost + - implemented import of tables + - implemented import of presentation notes + - implemented import of sticky notes + +- removed patches: + * libetonyek-0.0.0-pi.patch - integrated upstream + +------------------------------------------------------------------- Old: ---- libetonyek-0.0.0-pi.patch libetonyek-0.0.1.tar.xz New: ---- libetonyek-0.0.3-comma.patch libetonyek-0.0.3-lexical_cast.patch libetonyek-0.0.3.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libetonyek.spec ++++++ --- /var/tmp/diff_new_pack.qv9xpP/_old 2013-12-17 10:01:59.000000000 +0100 +++ /var/tmp/diff_new_pack.qv9xpP/_new 2013-12-17 10:01:59.000000000 +0100 @@ -19,14 +19,17 @@ %define libname libetonyek-0_0-0 Name: libetonyek -Version: 0.0.1 +Version: 0.0.3 Release: 0 Summary: Library for Apple Keynote presentations License: MPL-2.0 Group: Productivity/Publishing/Word Url: http://www.freedesktop.org/wiki/Software/libetonyek Source0: http://dev-www.libreoffice.org/src/%{name}-%{version}.tar.xz -Patch0: libetonyek-0.0.0-pi.patch +# Upstream patch for extra comma at the end of an enum +Patch0: libetonyek-0.0.3-comma.patch +# With some boost versions, cannot take an address of a template +Patch1: libetonyek-0.0.3-lexical_cast.patch BuildRequires: boost-devel BuildRequires: cppunit-devel BuildRequires: doxygen @@ -85,7 +88,8 @@ %prep %setup -q -%patch0 -p1 +%patch0 -p1 -b .comma +%patch1 -p1 -b .lexical_cast %build %configure \ ++++++ libetonyek-0.0.3-comma.patch ++++++ --- libetonyek-0.0.3/src/lib/KEYEnum.h 2013-12-06 09:40:36.000000000 +0100 +++ libetonyek-0.0.3/src/lib/KEYEnum.h 2013-12-15 06:21:26.372083749 +0100 @@ -33,7 +33,7 @@ KEY_CAPITALIZATION_NONE, KEY_CAPITALIZATION_ALL_CAPS, KEY_CAPITALIZATION_SMALL_CAPS, - KEY_CAPITALIZATION_TITLE, + KEY_CAPITALIZATION_TITLE }; } ++++++ libetonyek-0.0.3-lexical_cast.patch ++++++ --- libetonyek-0.0.3/src/lib/KEY2ParserUtils.cpp 2013-12-01 21:44:51.000000000 +0100 +++ libetonyek-0.0.3/src/lib/KEY2ParserUtils.cpp 2013-12-15 06:53:07.474721349 +0100 @@ -125,7 +125,7 @@ return KEYSize(size.second, size.first); } -bool KEY2ParserUtils::bool_cast(const char *const value) +bool KEY2ParserUtils::bool_cast(const char *value) { KEY2Tokenizer tok; switch (tok(value)) @@ -142,6 +142,16 @@ return false; } +double KEY2ParserUtils::double_cast(const char *value) +{ + return lexical_cast<double, const char *>(value); +} + +int KEY2ParserUtils::int_cast(const char *value) +{ + return lexical_cast<int, const char *>(value); +} + double KEY2ParserUtils::deg2rad(double value) { // normalize range --- libetonyek-0.0.3/src/lib/KEY2ParserUtils.h 2013-10-30 22:04:38.000000000 +0100 +++ libetonyek-0.0.3/src/lib/KEY2ParserUtils.h 2013-12-15 06:50:40.296884951 +0100 @@ -81,6 +81,8 @@ * @returns the boolean value of the string */ static bool bool_cast(const char *value); + static double double_cast(const char *value); + static int int_cast(const char *value); static double deg2rad(double value); --- libetonyek-0.0.3/src/lib/KEY2StyleParser.cpp 2013-12-06 10:36:13.000000000 +0100 +++ libetonyek-0.0.3/src/lib/KEY2StyleParser.cpp 2013-12-15 06:53:45.353451061 +0100 @@ -62,12 +62,12 @@ optional<double> readDouble(const KEYXMLReader &reader) { - return readNumber<double>(reader, KEY2Token::f, &lexical_cast<double, const char *>); + return readNumber<double>(reader, KEY2Token::f, &KEY2ParserUtils::double_cast); } optional<int> readInt(const KEYXMLReader &reader) { - return readNumber<int>(reader, KEY2Token::i, &lexical_cast<int, const char *>); + return readNumber<int>(reader, KEY2Token::i, &KEY2ParserUtils::double_cast); } optional<KEYColor> readColor(const KEYXMLReader &reader) ++++++ libetonyek-0.0.1.tar.xz -> libetonyek-0.0.3.tar.xz ++++++ ++++ 3449 lines of diff (skipped) -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
