diff --git a/office/spellcheck/enchant2/actions.py b/office/spellcheck/enchant2/actions.py
index 77e197500c..92e190f29a 100644
--- a/office/spellcheck/enchant2/actions.py
+++ b/office/spellcheck/enchant2/actions.py
@@ -4,19 +4,26 @@
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
+from pisi.actionsapi import shelltools
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
-from pisi.actionsapi import shelltools
from pisi.actionsapi import get
def setup():
shelltools.system("./bootstrap")
+
+ #suppress g++ warnings
+ pisitools.cxxflags.add("-Wno-useless-cast -Wno-old-style-cast -Wno-deprecated-declarations\
+ -Wno-effc++ -Wno-abi")
+ #suppress gcc warnings
+ pisitools.cflags.add("-fno-stack-protector -Wno-suggest-attribute=malloc")
autotools.configure("--disable-static \
--with-zemberek \
--with-aspell \
--with-myspell \
--with-myspell-dir=/usr/share/hunspell")
-
+
+ #fix unused direct dependency analysis
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
def build():
@@ -27,4 +34,4 @@ def install():
pisitools.rename("/usr/share/enchant/enchant.ordering", "enchant.ordering-2")
- pisitools.dodoc("AUTHORS", "NEWS", "README", "HACKING")
+ pisitools.dodoc("AUTHORS", "NEWS", "README", "HACKING")
\ No newline at end of file
diff --git a/office/spellcheck/enchant2/pspec.xml b/office/spellcheck/enchant2/pspec.xml
index 845d3617d1..5d4f1c00f5 100644
--- a/office/spellcheck/enchant2/pspec.xml
+++ b/office/spellcheck/enchant2/pspec.xml
@@ -1,30 +1,32 @@
-
+
enchant2
- https://www.abisource.com/enchant/
+ https://abiword.github.io/enchant/
PisiLinux Community
admins@pisilinux.org
+ office.spellcheck
LGPLv2.1
library
Spellchecker wrapping library
enchant is a library that wraps other spell checking backends.
- https://github.com/AbiWord/enchant/archive/v2.2.3.tar.gz
-
- git
- gnupg
- aspell-devel
+ https://github.com/AbiWord/enchant/archive/v2.2.7.tar.gz
+ dbus-glib-devel
hunspell-devel
- glib2-devel
- dbus-glib-devel
+ aspell-devel
+ glib2-devel
+ gnupg
+ git
enchant2
+ Spellchecker wrapping library
glib2
hunspell
@@ -76,6 +78,13 @@
+
+ 2020-01-18
+ 2.2.7
+ Version bump.
+ Blue Devil
+ bluedevil@sctzine.com
+
2019-04-06
2.2.3
@@ -84,4 +93,4 @@
muscnsl@gmail.com
-
+
\ No newline at end of file
diff --git a/office/spellcheck/enchant2/translations.xml b/office/spellcheck/enchant2/translations.xml
index 81110f775c..bf4d4518c1 100644
--- a/office/spellcheck/enchant2/translations.xml
+++ b/office/spellcheck/enchant2/translations.xml
@@ -9,15 +9,18 @@
enchant2-aspell
Enchant2 için aspell arkaucu
+ enchant2-aspell, enchant2 için aspell arkaucu sağlar.
enchant2-zemberek
Enchant2 için zemberek arkaucu
+ enchant2-zemberek, enchant2 için zemberek arkaucu sağlar.
enchant2-devel
enchant2 için geliştirme dosyaları
+ enchant2-devel, enchant2 için geliştirme dosyaları sağlar.
-
+
\ No newline at end of file