Hello community,

here is the log from the commit of package poedit for openSUSE:Factory checked 
in at 2017-08-01 09:25:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/poedit (Old)
 and      /work/SRC/openSUSE:Factory/.poedit.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "poedit"

Tue Aug  1 09:25:33 2017 rev:39 rq:513601 version:2.0.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/poedit/poedit.changes    2017-04-18 
13:50:39.832215219 +0200
+++ /work/SRC/openSUSE:Factory/.poedit.new/poedit.changes       2017-08-01 
09:26:07.473395456 +0200
@@ -1,0 +2,25 @@
+Mon Jul 31 15:46:53 UTC 2017 - [email protected]
+
+- PoEdit 2.0.3:
+  * Much faster loading and saving of large PO files.
+  * Fixed frequent false positives in QA warnings for German,
+    Japanese, Arabic and translations with reordered brackets.
+  * Fixed issues with suggestions not showing up in the sidebar if
+    the user had an unusually tall editing area set up.
+  * Fixed assert when opening a PO file on Linux.
+- build build with GCC7, ICU 59.1 on Factory bsc#1041277
+  add poedit-2.0.3-fix-icu.patch
+
+-------------------------------------------------------------------
+Mon Jun 12 10:08:42 UTC 2017 - [email protected]
+
+- PoEdit 2.0.2:
+  * Unusual whitespace (2+ spaces) in the middle of strings is now
+    highlighted
+  * Strings with warnings are now put at the top together with
+    errors
+  * Fixed crash when clicking on an item with plurals in a POT file
+  * Added --line command line argument to open a file at specified
+    item
+
+-------------------------------------------------------------------

Old:
----
  poedit-2.0.1.tar.gz

New:
----
  poedit-2.0.3-fix-icu.patch
  poedit-2.0.3.tar.gz

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

Other differences:
------------------
++++++ poedit.spec ++++++
--- /var/tmp/diff_new_pack.pIZKN2/_old  2017-08-01 09:26:08.193293997 +0200
+++ /var/tmp/diff_new_pack.pIZKN2/_new  2017-08-01 09:26:08.201292870 +0200
@@ -19,20 +19,20 @@
 %bcond_without language_detection
 %bcond_without crowdin_integration
 Name:           poedit
-Version:        2.0.1
+Version:        2.0.3
 Release:        0
 Summary:        Cross-platform Gettext Catalogs Editing Tool
 License:        MIT
 Group:          Development/Tools/Other
 Url:            http://www.poedit.net/
 Source:         
https://github.com/vslavik/poedit/releases/download/v%{version}-oss/%{name}-%{version}.tar.gz
-BuildRequires:  autoconf
-BuildRequires:  automake
+Patch0:         poedit-2.0.3-fix-icu.patch
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
 BuildRequires:  pkgconfig
 BuildRequires:  update-desktop-files
-BuildRequires:  wxWidgets-devel >= 3.0.2
+BuildRequires:  wxWidgets-3_0-devel
+BuildRequires:  wxWidgets-devel >= 3.0.3
 BuildRequires:  pkgconfig(gtkspell-2.0)
 BuildRequires:  pkgconfig(icu-i18n)
 BuildRequires:  pkgconfig(icu-uc)
@@ -66,11 +66,9 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
-autoreconf -fi
-export CFLAGS="%{optflags} -fno-strict-aliasing"
-export CXXFLAGS="%{optflags} -fno-strict-aliasing"
 %configure \
 %if !%{with language_detection}
        --without-cld2 \

++++++ poedit-2.0.3-fix-icu.patch ++++++
From: Andreas Stieger <[email protected]>
Date: Mon, 31 Jul 2017 15:36:22 +0000
Subject: Fix build with ICU 59.1
References: https://github.com/vslavik/poedit/issues/406 
https://bugzilla.opensuse.org/show_bug.cgi?id=1041277
Upstream: submitted

[  112s] str_helpers.h:176:37:   required from here
[  112s] /usr/include/wx-3.0/wx/buffer.h:99:27: error: invalid conversion from 
'wxScopedCharTypeBuffer<char16_t>::CharType* {aka char16_t*}' to 'const 
wxChar16* {aka const short unsigned int*}' [-fpermissive]
[  112s]              len = wxStrlen(str);
[  112s]                    ~~~~~~~~^~~~~

Index: poedit-2.0.3/src/str_helpers.h
===================================================================
--- poedit-2.0.3.orig/src/str_helpers.h 2017-07-23 19:08:39.000000000 +0200
+++ poedit-2.0.3/src/str_helpers.h      2017-07-31 17:32:05.295617677 +0200
@@ -185,7 +185,7 @@ inline std::wstring to_wstring(const icu
 
     Notice that the resulting string is only valid for the input's lifetime.
  */
-inline wxScopedCharTypeBuffer<UChar> to_icu_raw(const wxString& str)
+inline wxScopedCharTypeBuffer<wxChar16> to_icu_raw(const wxString& str)
 {
     static_assert(U_SIZEOF_UCHAR == 2, "unexpected UChar size");
 #if SIZEOF_WCHAR_T == 2
@@ -194,7 +194,7 @@ inline wxScopedCharTypeBuffer<UChar> to_
 #else
     auto buf = wxMBConvUTF16().cWC2MB(str.wc_str());
     auto len = buf.length();
-    return wxCharTypeBuffer<UChar>::CreateOwned((UChar*)buf.release(), len);
+    return wxCharTypeBuffer<wxChar16>::CreateOwned((wxChar16*)buf.release(), 
len);
 #endif
 }
 
Index: poedit-2.0.3/src/unicode_helpers.cpp
===================================================================
--- poedit-2.0.3.orig/src/unicode_helpers.cpp   2017-07-23 19:08:39.000000000 
+0200
+++ poedit-2.0.3/src/unicode_helpers.cpp        2017-07-31 17:32:05.295617677 
+0200
@@ -38,7 +38,7 @@ TextDirection get_base_direction(const w
         return TextDirection::LTR;
 
     auto s = str::to_icu_raw(text);
-    switch (ubidi_getBaseDirection(s.data(), (int)s.length()))
+    switch (ubidi_getBaseDirection((const UChar*)s.data(), (int)s.length()))
     {
         case UBIDI_RTL:
             return TextDirection::RTL;
++++++ poedit-2.0.1.tar.gz -> poedit-2.0.3.tar.gz ++++++
++++ 16293 lines of diff (skipped)


Reply via email to