Date: Tuesday, July 25, 2017 @ 17:24:51 Author: spupykin Revision: 246352
archrelease: copy trunk to community-i686 Added: poedit/repos/community-i686/PKGBUILD (from rev 246351, poedit/trunk/PKGBUILD) poedit/repos/community-i686/icu59.patch (from rev 246351, poedit/trunk/icu59.patch) poedit/repos/community-i686/poedit-2.0.2_fix_drawroundedrectangle_assert.patch (from rev 246351, poedit/trunk/poedit-2.0.2_fix_drawroundedrectangle_assert.patch) Deleted: poedit/repos/community-i686/PKGBUILD poedit/repos/community-i686/icu59.patch poedit/repos/community-i686/poedit-2.0.2_fix_drawroundedrectangle_assert.patch ----------------------------------------------------+ PKGBUILD | 82 +++++++++---------- icu59.patch | 22 ++--- poedit-2.0.2_fix_drawroundedrectangle_assert.patch | 58 ++++++------- 3 files changed, 81 insertions(+), 81 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2017-07-25 17:24:38 UTC (rev 246351) +++ PKGBUILD 2017-07-25 17:24:51 UTC (rev 246352) @@ -1,41 +0,0 @@ -# $Id$ -# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> -# Contributor: Andrea Scarpino <and...@archlinux.org> -# Contributor: Giovanni Scafora <giova...@archlinux.org> -# Contributor: Alexander Fehr <pizzap...@gmail.com> -# Contributor: Daniel J Griffiths <ghost1...@archlinux.us> - -pkgname=poedit -epoch=1 -pkgver=2.0.2 -pkgrel=3 -pkgdesc="Cross-platform gettext catalogs (.po files) editor" -arch=('i686' 'x86_64') -url="http://www.poedit.net/" -license=('MIT') -depends=('gtkspell3' 'lucene++' 'wxgtk3') -makedepends=('boost') -source=(https://github.com/vslavik/poedit/releases/download/v$pkgver-oss/poedit-${pkgver}.tar.gz - icu59.patch - poedit-2.0.2_fix_drawroundedrectangle_assert.patch) -sha256sums=('b88bc222d4215344d0eb87dda19aafcc0b2465718c4b556015330beb96f7b402' - '4d2fcbc1ce5a8d8bab878687337c1f038ed1a83b37652e0a41d7f5c2b26b27bc' - '721d81cebd32dd27d678d72f1ad527d7d3d74a49862cfa876cbd14f6b54d21d6') - -prepare() { - cd "${srcdir}/${pkgname}-${pkgver}" - patch -Np1 -i ../icu59.patch - patch -Np1 -i ../poedit-2.0.2_fix_drawroundedrectangle_assert.patch -} - -build() { - cd "${srcdir}/${pkgname}-${pkgver}" - ./configure --prefix=/usr --libexecdir=/usr/lib/poedit --with-wx-config=/usr/bin/wx-config-gtk3 - make CPPFLAGS+=' -DUCHAR_TYPE=uint16_t' -} - -package() { - cd "${srcdir}/${pkgname}-${pkgver}" - make DESTDIR="${pkgdir}" install - install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" -} Copied: poedit/repos/community-i686/PKGBUILD (from rev 246351, poedit/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2017-07-25 17:24:51 UTC (rev 246352) @@ -0,0 +1,41 @@ +# $Id$ +# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> +# Contributor: Andrea Scarpino <and...@archlinux.org> +# Contributor: Giovanni Scafora <giova...@archlinux.org> +# Contributor: Alexander Fehr <pizzap...@gmail.com> +# Contributor: Daniel J Griffiths <ghost1...@archlinux.us> + +pkgname=poedit +epoch=1 +pkgver=2.0.3 +pkgrel=1 +pkgdesc="Cross-platform gettext catalogs (.po files) editor" +arch=('i686' 'x86_64') +url="http://www.poedit.net/" +license=('MIT') +depends=('gtkspell3' 'lucene++' 'wxgtk3') +makedepends=('boost') +source=(https://github.com/vslavik/poedit/releases/download/v$pkgver-oss/poedit-${pkgver}.tar.gz + icu59.patch + poedit-2.0.2_fix_drawroundedrectangle_assert.patch) +sha256sums=('1ff4c7b3966946b2dc06ba8dda5d8861fa00a94d8387821db511f339092d9577' + '4d2fcbc1ce5a8d8bab878687337c1f038ed1a83b37652e0a41d7f5c2b26b27bc' + '721d81cebd32dd27d678d72f1ad527d7d3d74a49862cfa876cbd14f6b54d21d6') + +prepare() { + cd "${srcdir}/${pkgname}-${pkgver}" +# patch -Np1 -i ../icu59.patch +# patch -Np1 -i ../poedit-2.0.2_fix_drawroundedrectangle_assert.patch +} + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure --prefix=/usr --libexecdir=/usr/lib/poedit --with-wx-config=/usr/bin/wx-config-gtk3 + make CPPFLAGS+=' -DUCHAR_TYPE=uint16_t' +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install + install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} Deleted: icu59.patch =================================================================== --- icu59.patch 2017-07-25 17:24:38 UTC (rev 246351) +++ icu59.patch 2017-07-25 17:24:51 UTC (rev 246352) @@ -1,11 +0,0 @@ -diff -upr poedit-2.0.1.orig/src/unicode_helpers.cpp poedit-2.0.1/src/unicode_helpers.cpp ---- poedit-2.0.1.orig/src/unicode_helpers.cpp 2017-04-26 10:55:31.807183266 +0300 -+++ poedit-2.0.1/src/unicode_helpers.cpp 2017-04-26 11:02:47.373899526 +0300 -@@ -25,6 +25,7 @@ - - #include "unicode_helpers.h" - -+#include <unicode/unistr.h> - #include "str_helpers.h" - - #include <unicode/ubidi.h> Copied: poedit/repos/community-i686/icu59.patch (from rev 246351, poedit/trunk/icu59.patch) =================================================================== --- icu59.patch (rev 0) +++ icu59.patch 2017-07-25 17:24:51 UTC (rev 246352) @@ -0,0 +1,11 @@ +diff -upr poedit-2.0.1.orig/src/unicode_helpers.cpp poedit-2.0.1/src/unicode_helpers.cpp +--- poedit-2.0.1.orig/src/unicode_helpers.cpp 2017-04-26 10:55:31.807183266 +0300 ++++ poedit-2.0.1/src/unicode_helpers.cpp 2017-04-26 11:02:47.373899526 +0300 +@@ -25,6 +25,7 @@ + + #include "unicode_helpers.h" + ++#include <unicode/unistr.h> + #include "str_helpers.h" + + #include <unicode/ubidi.h> Deleted: poedit-2.0.2_fix_drawroundedrectangle_assert.patch =================================================================== --- poedit-2.0.2_fix_drawroundedrectangle_assert.patch 2017-07-25 17:24:38 UTC (rev 246351) +++ poedit-2.0.2_fix_drawroundedrectangle_assert.patch 2017-07-25 17:24:51 UTC (rev 246352) @@ -1,29 +0,0 @@ -From 86e0677f48a309314b45ba5f06c1c62d14b2200d Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Va=CC=81clav=20Slavi=CC=81k?= <vac...@slavik.io> -Date: Thu, 1 Jun 2017 19:19:44 +0200 -Subject: [PATCH] Fix DrawRoundedRectangle assert with wxGTK 3.0 - -Don't draw if w=0. - -Fixes #396. ---- - src/editing_area.cpp | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/src/editing_area.cpp b/src/editing_area.cpp -index e70cce66c..336a4db54 100644 ---- a/src/editing_area.cpp -+++ b/src/editing_area.cpp -@@ -251,7 +251,8 @@ private: - gc->SetPen(*wxTRANSPARENT_PEN); - - auto rect = GetClientRect(); -- gc->DrawRoundedRectangle(rect.x, rect.y, rect.width, rect.height, PX(2)); -+ if (!rect.IsEmpty()) -+ gc->DrawRectangle(rect.x, rect.y, rect.width, rect.height); - } - - wxColour m_fg, m_bg; --- -2.13.0 - Copied: poedit/repos/community-i686/poedit-2.0.2_fix_drawroundedrectangle_assert.patch (from rev 246351, poedit/trunk/poedit-2.0.2_fix_drawroundedrectangle_assert.patch) =================================================================== --- poedit-2.0.2_fix_drawroundedrectangle_assert.patch (rev 0) +++ poedit-2.0.2_fix_drawroundedrectangle_assert.patch 2017-07-25 17:24:51 UTC (rev 246352) @@ -0,0 +1,29 @@ +From 86e0677f48a309314b45ba5f06c1c62d14b2200d Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Va=CC=81clav=20Slavi=CC=81k?= <vac...@slavik.io> +Date: Thu, 1 Jun 2017 19:19:44 +0200 +Subject: [PATCH] Fix DrawRoundedRectangle assert with wxGTK 3.0 + +Don't draw if w=0. + +Fixes #396. +--- + src/editing_area.cpp | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/src/editing_area.cpp b/src/editing_area.cpp +index e70cce66c..336a4db54 100644 +--- a/src/editing_area.cpp ++++ b/src/editing_area.cpp +@@ -251,7 +251,8 @@ private: + gc->SetPen(*wxTRANSPARENT_PEN); + + auto rect = GetClientRect(); +- gc->DrawRoundedRectangle(rect.x, rect.y, rect.width, rect.height, PX(2)); ++ if (!rect.IsEmpty()) ++ gc->DrawRectangle(rect.x, rect.y, rect.width, rect.height); + } + + wxColour m_fg, m_bg; +-- +2.13.0 +