[arch-commits] Commit in poedit/repos (10 files)
Balló György
bgyorgy at archlinux.org
Thu Jul 13 11:06:40 UTC 2017
Date: Thursday, July 13, 2017 @ 11:06:40
Author: bgyorgy
Revision: 244942
archrelease: copy trunk to community-i686, community-x86_64
Added:
poedit/repos/community-i686/PKGBUILD
(from rev 244941, poedit/trunk/PKGBUILD)
poedit/repos/community-i686/icu59.patch
(from rev 244941, poedit/trunk/icu59.patch)
poedit/repos/community-i686/poedit-2.0.2_fix_drawroundedrectangle_assert.patch
(from rev 244941, poedit/trunk/poedit-2.0.2_fix_drawroundedrectangle_assert.patch)
poedit/repos/community-x86_64/PKGBUILD
(from rev 244941, poedit/trunk/PKGBUILD)
poedit/repos/community-x86_64/icu59.patch
(from rev 244941, poedit/trunk/icu59.patch)
poedit/repos/community-x86_64/poedit-2.0.2_fix_drawroundedrectangle_assert.patch
(from rev 244941, 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-x86_64/PKGBUILD
poedit/repos/community-x86_64/icu59.patch
---------------------------------------------------------------------+
/PKGBUILD | 82 ++++++++++
/icu59.patch | 22 ++
community-i686/PKGBUILD | 39 ----
community-i686/icu59.patch | 11 -
community-i686/poedit-2.0.2_fix_drawroundedrectangle_assert.patch | 29 +++
community-x86_64/PKGBUILD | 39 ----
community-x86_64/icu59.patch | 11 -
community-x86_64/poedit-2.0.2_fix_drawroundedrectangle_assert.patch | 29 +++
8 files changed, 162 insertions(+), 100 deletions(-)
Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD 2017-07-13 11:06:33 UTC (rev 244941)
+++ community-i686/PKGBUILD 2017-07-13 11:06:40 UTC (rev 244942)
@@ -1,39 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: Andrea Scarpino <andrea at archlinux.org>
-# Contributor: Giovanni Scafora <giovanni at archlinux.org>
-# Contributor: Alexander Fehr <pizzapunk at gmail.com>
-# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
-
-pkgname=poedit
-epoch=1
-pkgver=2.0.2
-pkgrel=2
-pkgdesc="Cross-platform gettext catalogs (.po files) editor"
-arch=('i686' 'x86_64')
-url="http://www.poedit.net/"
-license=('MIT')
-# poedit-2.0: https://github.com/vslavik/poedit/issues/366
-depends=('gtkspell3' 'lucene++' 'wxgtk3')
-makedepends=('boost')
-source=(https://github.com/vslavik/poedit/releases/download/v$pkgver-oss/poedit-${pkgver}.tar.gz
- icu59.patch)
-sha256sums=('b88bc222d4215344d0eb87dda19aafcc0b2465718c4b556015330beb96f7b402'
- '4d2fcbc1ce5a8d8bab878687337c1f038ed1a83b37652e0a41d7f5c2b26b27bc')
-
-prepare() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- patch -Np1 -i ../icu59.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 244941, poedit/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2017-07-13 11:06:40 UTC (rev 244942)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Giovanni Scafora <giovanni at archlinux.org>
+# Contributor: Alexander Fehr <pizzapunk at gmail.com>
+# Contributor: Daniel J Griffiths <ghost1227 at 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"
+}
Deleted: community-i686/icu59.patch
===================================================================
--- community-i686/icu59.patch 2017-07-13 11:06:33 UTC (rev 244941)
+++ community-i686/icu59.patch 2017-07-13 11:06:40 UTC (rev 244942)
@@ -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 244941, poedit/trunk/icu59.patch)
===================================================================
--- community-i686/icu59.patch (rev 0)
+++ community-i686/icu59.patch 2017-07-13 11:06:40 UTC (rev 244942)
@@ -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>
Copied: poedit/repos/community-i686/poedit-2.0.2_fix_drawroundedrectangle_assert.patch (from rev 244941, poedit/trunk/poedit-2.0.2_fix_drawroundedrectangle_assert.patch)
===================================================================
--- community-i686/poedit-2.0.2_fix_drawroundedrectangle_assert.patch (rev 0)
+++ community-i686/poedit-2.0.2_fix_drawroundedrectangle_assert.patch 2017-07-13 11:06:40 UTC (rev 244942)
@@ -0,0 +1,29 @@
+From 86e0677f48a309314b45ba5f06c1c62d14b2200d Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Va=CC=81clav=20Slavi=CC=81k?= <vaclav at 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
+
Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD 2017-07-13 11:06:33 UTC (rev 244941)
+++ community-x86_64/PKGBUILD 2017-07-13 11:06:40 UTC (rev 244942)
@@ -1,39 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: Andrea Scarpino <andrea at archlinux.org>
-# Contributor: Giovanni Scafora <giovanni at archlinux.org>
-# Contributor: Alexander Fehr <pizzapunk at gmail.com>
-# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
-
-pkgname=poedit
-epoch=1
-pkgver=2.0.2
-pkgrel=2
-pkgdesc="Cross-platform gettext catalogs (.po files) editor"
-arch=('i686' 'x86_64')
-url="http://www.poedit.net/"
-license=('MIT')
-# poedit-2.0: https://github.com/vslavik/poedit/issues/366
-depends=('gtkspell3' 'lucene++' 'wxgtk3')
-makedepends=('boost')
-source=(https://github.com/vslavik/poedit/releases/download/v$pkgver-oss/poedit-${pkgver}.tar.gz
- icu59.patch)
-sha256sums=('b88bc222d4215344d0eb87dda19aafcc0b2465718c4b556015330beb96f7b402'
- '4d2fcbc1ce5a8d8bab878687337c1f038ed1a83b37652e0a41d7f5c2b26b27bc')
-
-prepare() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- patch -Np1 -i ../icu59.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-x86_64/PKGBUILD (from rev 244941, poedit/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2017-07-13 11:06:40 UTC (rev 244942)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Giovanni Scafora <giovanni at archlinux.org>
+# Contributor: Alexander Fehr <pizzapunk at gmail.com>
+# Contributor: Daniel J Griffiths <ghost1227 at 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"
+}
Deleted: community-x86_64/icu59.patch
===================================================================
--- community-x86_64/icu59.patch 2017-07-13 11:06:33 UTC (rev 244941)
+++ community-x86_64/icu59.patch 2017-07-13 11:06:40 UTC (rev 244942)
@@ -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-x86_64/icu59.patch (from rev 244941, poedit/trunk/icu59.patch)
===================================================================
--- community-x86_64/icu59.patch (rev 0)
+++ community-x86_64/icu59.patch 2017-07-13 11:06:40 UTC (rev 244942)
@@ -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>
Copied: poedit/repos/community-x86_64/poedit-2.0.2_fix_drawroundedrectangle_assert.patch (from rev 244941, poedit/trunk/poedit-2.0.2_fix_drawroundedrectangle_assert.patch)
===================================================================
--- community-x86_64/poedit-2.0.2_fix_drawroundedrectangle_assert.patch (rev 0)
+++ community-x86_64/poedit-2.0.2_fix_drawroundedrectangle_assert.patch 2017-07-13 11:06:40 UTC (rev 244942)
@@ -0,0 +1,29 @@
+From 86e0677f48a309314b45ba5f06c1c62d14b2200d Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Va=CC=81clav=20Slavi=CC=81k?= <vaclav at 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
+
More information about the arch-commits
mailing list