summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--development/poedit/281f93b29190c67c86c4403b96efdbac957a0162.patch25
-rw-r--r--development/poedit/README5
-rw-r--r--development/poedit/poedit.SlackBuild6
-rw-r--r--development/poedit/poedit.info6
-rw-r--r--development/poedit/setvalue.diff11
5 files changed, 34 insertions, 19 deletions
diff --git a/development/poedit/281f93b29190c67c86c4403b96efdbac957a0162.patch b/development/poedit/281f93b29190c67c86c4403b96efdbac957a0162.patch
new file mode 100644
index 0000000000..c8f1f5c4d3
--- /dev/null
+++ b/development/poedit/281f93b29190c67c86c4403b96efdbac957a0162.patch
@@ -0,0 +1,25 @@
+From 281f93b29190c67c86c4403b96efdbac957a0162 Mon Sep 17 00:00:00 2001
+From: rezso <rezso@rezso.net>
+Date: Sun, 15 Nov 2020 00:11:49 +0100
+Subject: [PATCH] Add missing include
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Fix ' concurrency.h:606:10: error: ‘atomic_bool’ in namespace ‘std’ does not name a type; did you mean ‘atomic_load’? ' build error.
+---
+ src/concurrency.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/concurrency.h b/src/concurrency.h
+index df806f1eae..ceca909e9a 100644
+--- a/src/concurrency.h
++++ b/src/concurrency.h
+@@ -67,6 +67,7 @@
+ #endif
+ #endif
+
++#include <atomic>
+ #include <memory>
+ #include <mutex>
+
diff --git a/development/poedit/README b/development/poedit/README
index 490dd860d9..e80f585a6d 100644
--- a/development/poedit/README
+++ b/development/poedit/README
@@ -3,5 +3,6 @@ Poedit is cross-platform gettext catalogs (.po files) editor.
It aims to provide more convenient approach to editing catalogs than
launching vi and editing the file by hand.
-NOTE: poedit 2.0 will require newer boost (1.60+), so it works only in
--current.
+Optional dependency:
+- cpprestsdk for crowd integration
+- cld2 (better language autodetection and non-English source languages)
diff --git a/development/poedit/poedit.SlackBuild b/development/poedit/poedit.SlackBuild
index 2319aba3bb..b3ef29d73e 100644
--- a/development/poedit/poedit.SlackBuild
+++ b/development/poedit/poedit.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for poedit
# Copyright 2008 Niklas "Nille" Åkerström
-# Copyright 2014-2017 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright 2014-2020 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +24,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=poedit
-VERSION=${VERSION:-1.8.12}
+VERSION=${VERSION:-2.4.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -70,7 +70,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-patch --verbose -p1 < $CWD/setvalue.diff
+patch -p1 < $CWD/281f93b29190c67c86c4403b96efdbac957a0162.patch
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
diff --git a/development/poedit/poedit.info b/development/poedit/poedit.info
index b8391a4535..bbab80c00e 100644
--- a/development/poedit/poedit.info
+++ b/development/poedit/poedit.info
@@ -1,8 +1,8 @@
PRGNAM="poedit"
-VERSION="1.8.12"
+VERSION="2.4.2"
HOMEPAGE="https://www.poedit.net"
-DOWNLOAD="https://github.com/vslavik/poedit/releases/download/v1.8.12-oss/poedit-1.8.12.tar.gz"
-MD5SUM="7c16257fc8757fe658295b0e3a677670"
+DOWNLOAD="https://github.com/vslavik/poedit/releases/download/v2.4.2-oss/poedit-2.4.2.tar.gz"
+MD5SUM="8753577710b0d5e217cbc92d4e482549"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="wxGTK3 LucenePlusPlus gtkspell3"
diff --git a/development/poedit/setvalue.diff b/development/poedit/setvalue.diff
deleted file mode 100644
index 1c66943cea..0000000000
--- a/development/poedit/setvalue.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/src/fileviewer.cpp 2013-11-10 17:38:50.161359501 +0400
-+++ b/src/fileviewer.cpp 2013-11-10 17:37:59.958987117 +0400
-@@ -286,7 +286,7 @@
- linenum = 0;
-
- m_text->SetReadOnly(false);
-- m_text->SetValue(data);
-+ m_text->SetText(data);
- m_text->SetReadOnly(true);
-
- m_text->MarkerDeleteAll(1);