Merge pull request #11093 from 4fury-c3440d8/b1

add more spellcheck dictionaries.
This commit is contained in:
Rmys
2022-12-03 12:22:52 +03:00
committed by GitHub
20 changed files with 704 additions and 48 deletions
@@ -8,6 +8,5 @@ from pisi.actionsapi import pisitools
def install():
pisitools.insinto("/usr/share/Thunar/sendto/", "thunar-sendto-clamtk.desktop")
pisitools.dodoc("CHANGES", "DISCLAIMER", "LICENSE", "README")
pisitools.dodoc("CHANGES")
pisitools.doman("thunar-sendto-clamtk.1.gz")
@@ -1,35 +1,42 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>thunar-sendto-clamtk</Name>
<Homepage>https://bitbucket.org/davem_/thunar-sendto-clamtk/src/master/</Homepage>
<Homepage>https://gitlab.com/dave_m/thunar-sendto-clamtk</Homepage>
<Packager>
<Name>Pisi Linux Admins</Name>
<Email>admin@pisilinux.org</Email>
</Packager>
<License>GPLv2</License>
<License>GPL-2</License>
<IsA>data</IsA>
<Summary>Right-click send-to ClamTk functionality within Thunar</Summary>
<Summary>Right-click send-to ClamTk functionality within Thunar.</Summary>
<Description>thunar-sendto-clamtk is a small package to add right-click send-to ClamTk functionality within Thunar.</Description>
<Archive sha1sum="e7fe897fb4d42dfd1f478ee1aae82e4ed0d2db12" type="zip">
https://github.com/dave-theunsub/thunar-sendto-clamtk/archive/master.zip
<Archive sha1sum="7d82af8b042799c0c7431a31a6cb07aee62f5893" type="tarbz2">
https://gitlab.com/dave_m/thunar-sendto-clamtk/-/archive/v0.07/thunar-sendto-clamtk-v0.07.tar.bz2
</Archive>
</Source>
<Package>
<Name>thunar-sendto-clamtk</Name>
<RuntimeDependencies>
<Dependency>clamav-gui</Dependency>
<Dependency>clamtk</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="man">/usr/share/man/man1</Path>
<Path fileType="doc">/usr/share/doc/thunar-sendto-clamtk/CHANGES</Path>
<Path fileType="data">/usr/share/Thunar/sendto/thunar-sendto-clamtk.desktop</Path>
</Files>
</Package>
<History>
<Update release="2">
<Date>2022-12-02</Date>
<Version>0.07</Version>
<Comment>Version bump.</Comment>
<Name>fury</Name>
<Email>uglyside@yandex.ru</Email>
</Update>
<Update release="1">
<Date>2020-11-23</Date>
<Version>0.06</Version>
@@ -39,4 +46,3 @@
</Update>
</History>
</PISI>
@@ -0,0 +1,20 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
from pisi.actionsapi import shelltools, pisitools
def setup():
shelltools.cd("dictionaries")
shelltools.system("rename -v - _ *")
for t in shelltools.ls("*"):
shelltools.system("find %s -type f -iname 'index*' | sed -e 'p;s:index:%s:' | xargs -n2 mv" % (t, t))
shelltools.system("find %s -type f -exec chmod 0644 {} \;" % t)
def install():
shelltools.cd("dictionaries")
for t in shelltools.ls("*"):
pisitools.insinto("/usr/share/hunspell", "%s/%s.dic" % (t, t))
pisitools.insinto("/usr/share/hunspell", "%s/%s.aff" % (t, t))
@@ -0,0 +1,54 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>hunspell-dictionaries</Name>
<Homepage>https://github.com/wooorm/dictionaries</Homepage>
<Packager>
<Name>fury</Name>
<Email>uglyside@yandex.ru</Email>
</Packager>
<License>MIT</License>
<IsA>data</IsA>
<PartOf>office.dictionary</PartOf>
<Summary>Hunspell dictionaries in UTF-8.</Summary>
<Description>Collection of normalized and installable hunspell dictionaries.</Description>
<Archive sha1sum="6b15b9b8f2539a636202eec4603c52605ff680af" type="zip">
https://github.com/wooorm/dictionaries/archive/2a5353f1617f00e606dc036cab1c37df94272ca0.zip
</Archive>
<BuildDependencies>
<!-- <Dependency>nodejs</Dependency> -->
<Dependency>util-linux</Dependency>
</BuildDependencies>
<Patches>
<!-- <Patch level='1'></Patch> -->
</Patches>
</Source>
<Package>
<Name>hunspell-dictionaries</Name>
<Conflicts>
<Package>hunspell-dict-sv</Package>
<Package>hunspell-dict-en</Package>
<Package>hunspell-dict-pt</Package>
<Package>hunspell-dict-es</Package>
<Package>hunspell-dict-de</Package>
</Conflicts>
<RuntimeDependencies>
<!-- <Dependency></Dependency> -->
</RuntimeDependencies>
<Files>
<Path fileType="data">/usr/share/hunspell</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2022-11-30</Date>
<Version>0.0.0</Version>
<Comment>First build.</Comment>
<Name>fury</Name>
<Email>uglyside@yandex.ru</Email>
</Update>
</History>
</PISI>
+13
View File
@@ -0,0 +1,13 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
from pisi.actionsapi import autotools, get
def build():
autotools.make("vvfst")
def install():
autotools.make("DESTDIR=%s/usr/share/voikko vvfst-install" % get.installDIR())
+50
View File
@@ -0,0 +1,50 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>voikko-fi</Name>
<Homepage>https://voikko.puimula.org/</Homepage>
<Packager>
<Name>fury</Name>
<Email>uglyside@yandex.ru</Email>
</Packager>
<License>GPL-2</License>
<IsA>data</IsA>
<PartOf>office.dictionary</PartOf>
<Summary>Finnish dictionary for Voikko.</Summary>
<Description>
Voikko-fi is a description of Finnish morphology written for libvoikko. The implementation uses unweighted VFST format and provides format 5 Finnish dictionary for libvoikko 4.0 or later.
</Description>
<Archive sha1sum="4cb8d2f99a9331232dc59dfc45cef15bc71fb070" type="targz">
https://www.puimula.org/voikko-sources/voikko-fi/voikko-fi-2.5.tar.gz
</Archive>
<BuildDependencies>
<Dependency>foma</Dependency>
<Dependency>python3</Dependency>
<Dependency>libvoikko-devel</Dependency>
</BuildDependencies>
<Patches>
<!-- <Patch level='1'></Patch> -->
</Patches>
</Source>
<Package>
<Name>voikko-fi</Name>
<RuntimeDependencies>
<Dependency>libvoikko</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="data">/usr/share/voikko/5/mor-standard</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2022-12-02</Date>
<Version>2.5</Version>
<Comment>First build.</Comment>
<Name>fury</Name>
<Email>uglyside@yandex.ru</Email>
</Update>
</History>
</PISI>
+18 -20
View File
@@ -2,26 +2,25 @@
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
from pisi.actionsapi import shelltools
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
from pisi.actionsapi import autotools, pisitools, get
j = ''.join([
' --with-aspell',
' --with-hunspell',
' --with-nuspell',
' --with-hspell',
' --with-voikko',
' --with-zemberek',
' --with-hunspell-dir=/usr/share/hunspell',
' --with-hspell-dir=/usr/share/hspell',
' --with-voikko-dir=/usr/share/voikko',
' --disable-static '
])
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")
autotools.configure(j)
#fix unused direct dependency analysis
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
@@ -31,7 +30,6 @@ def build():
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.rename("/usr/share/enchant/enchant.ordering", "enchant.ordering-2")
pisitools.dodoc("AUTHORS", "NEWS", "README", "HACKING")
pisitools.dodoc("AUTHORS", "NEWS")
+67 -12
View File
@@ -1,5 +1,5 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>enchant2</Name>
@@ -8,27 +8,32 @@
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<PartOf>office.spellcheck</PartOf>
<PartOf>office.spellcheck</PartOf>
<License>LGPLv2.1</License>
<IsA>library</IsA>
<Summary>Spellchecker wrapping library</Summary>
<Description>enchant is a library that wraps other spell checking backends.</Description>
<Archive sha1sum="b0863f70c9972c1abcfac7ce0a486afa364fbb46" type="targz">https://github.com/AbiWord/enchant/archive/v2.3.0.tar.gz</Archive>
<Archive sha1sum="1f0f0cb4862a76157dfeb7f966909aa6ea2d7811" type="targz">
https://github.com/AbiWord/enchant/releases/download/v2.3.3/enchant-2.3.3.tar.gz
</Archive>
<BuildDependencies>
<Dependency>dbus-glib-devel</Dependency>
<Dependency>hunspell-devel</Dependency>
<Dependency>aspell-devel</Dependency>
<Dependency>glib2-devel</Dependency>
<Dependency>gnupg</Dependency>
<Dependency>git</Dependency>
<Dependency>hspell</Dependency>
<Dependency>glib2-devel</Dependency>
<Dependency>aspell-devel</Dependency>
<Dependency>nuspell-devel</Dependency>
<Dependency>hunspell-devel</Dependency>
<Dependency>dbus-glib-devel</Dependency>
<Dependency>libvoikko-devel</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>enchant2</Name>
<Summary>Spellchecker wrapping library</Summary>
<Summary>Spellchecker wrapping library</Summary>
<RuntimeDependencies>
<Dependency>glib2</Dependency>
<Dependency>libgcc</Dependency>
<Dependency>hunspell</Dependency>
</RuntimeDependencies>
<Files>
@@ -36,15 +41,16 @@
<Path fileType="library">/usr/lib</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="data">/usr/share/enchant</Path>
<Path fileType="data">/usr/share/enchant/enchant.ordering-2</Path>
</Files>
</Package>
<Package>
<Name>enchant2-aspell</Name>
<Summary>aspell backend for Enchant</Summary>
<Summary>aspell backend for enchant</Summary>
<RuntimeDependencies>
<Dependency>enchant2</Dependency>
<Dependency>glib2</Dependency>
<Dependency>aspell</Dependency>
</RuntimeDependencies>
<Files>
@@ -54,9 +60,12 @@
<Package>
<Name>enchant2-zemberek</Name>
<Summary>zemberek backend for Enchant</Summary>
<Summary>zemberek backend for enchant</Summary>
<RuntimeDependencies>
<Dependency>glib2</Dependency>
<Dependency>libgcc</Dependency>
<Dependency>enchant2</Dependency>
<Dependency>dbus-glib</Dependency>
<Dependency>zemberek-office</Dependency>
</RuntimeDependencies>
<Files>
@@ -64,6 +73,45 @@
</Files>
</Package>
<Package>
<Name>enchant2-nuspell</Name>
<RuntimeDependencies>
<Dependency>glib2</Dependency>
<Dependency>icu4c</Dependency>
<Dependency>libgcc</Dependency>
<Dependency>nuspell</Dependency>
<!-- <Dependency>enchant2</Dependency> -->
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib/enchant-2/enchant_nuspell.so</Path>
</Files>
</Package>
<Package>
<Name>enchant2-hspell</Name>
<RuntimeDependencies>
<Dependency>glib2</Dependency>
<Dependency>hspell</Dependency>
<Dependency>enchant2</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib/enchant-2/enchant_hspell.so</Path>
</Files>
</Package>
<Package>
<Name>enchant2-voikko</Name>
<RuntimeDependencies>
<Dependency>glib2</Dependency>
<Dependency>enchant2</Dependency>
<Dependency>voikko-fi</Dependency>
<Dependency>libvoikko</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib/enchant-2/enchant_voikko.so</Path>
</Files>
</Package>
<Package>
<Name>enchant2-devel</Name>
<Summary>Development files for enchant2</Summary>
@@ -78,6 +126,13 @@
</Package>
<History>
<Update release="4">
<Date>2022-12-02</Date>
<Version>2.3.3</Version>
<Comment>Version bump.</Comment>
<Name>fury</Name>
<Email>uglyside@yandex.ru</Email>
</Update>
<Update release="3">
<Date>2021-06-30</Date>
<Version>2.3.0</Version>
+4 -4
View File
@@ -9,18 +9,18 @@
<Package>
<Name>enchant2-aspell</Name>
<Summary xml:lang="tr">Enchant2 için aspell arkaucu</Summary>
<Description xml:lang="tr">enchant2-aspell, enchant2 için aspell arkaucu sağlar.</Description>
<Description xml:lang="tr">enchant2-aspell, enchant2 için aspell arkaucu sağlar.</Description>
</Package>
<Package>
<Name>enchant2-zemberek</Name>
<Summary xml:lang="tr">Enchant2 için zemberek arkaucu</Summary>
<Description xml:lang="tr">enchant2-zemberek, enchant2 için zemberek arkaucu sağlar.</Description>
<Description xml:lang="tr">enchant2-zemberek, enchant2 için zemberek arkaucu sağlar.</Description>
</Package>
<Package>
<Name>enchant2-devel</Name>
<Summary xml:lang="tr">enchant2 için geliştirme dosyaları</Summary>
<Description xml:lang="tr">enchant2-devel, enchant2 için geliştirme dosyaları sağlar.</Description>
<Description xml:lang="tr">enchant2-devel, enchant2 için geliştirme dosyaları sağlar.</Description>
</Package>
</PISI>
</PISI>
+19
View File
@@ -0,0 +1,19 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
from pisi.actionsapi import autotools, pisitools, get
def setup():
autotools.configure("--enable-shared --enable-linginfo --enable-fatverb")
def build():
autotools.make("PERL_USE_UNSAFE_INC=1 hunspell")
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.insinto("/usr/share/hunspell", "he.aff", "he_IL.aff")
pisitools.insinto("/usr/share/hunspell", "he.dic", "he_IL.dic")
@@ -0,0 +1,54 @@
From 4573c39c4a5bfbcd36941c2ead3d4d93d9ac85e4 Mon Sep 17 00:00:00 2001
From: Dan Kenigsberg <danken@cs.technion.ac.il>
Date: Sat, 15 Jul 2017 21:28:03 +0300
Subject: [PATCH] require local module explicitly
this allows build hspell when perl runs in taint mode which does not
include the current directory in @INC
---
binarize-desc.pl | 2 +-
genprefixes.pl | 2 +-
pmerge | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/binarize-desc.pl b/binarize-desc.pl
index dbf0b1c..f62ebc6 100755
--- a/binarize-desc.pl
+++ b/binarize-desc.pl
@@ -8,7 +8,7 @@
use Carp;
-require "PrefixBits.pl";
+require "./PrefixBits.pl";
# "perl -w" warns about variables only used once (it assumes they are a
# typo). This ugliness gets rid of this warning. Is there a more sensible way?
diff --git a/genprefixes.pl b/genprefixes.pl
index 450a7ca..9ae9e50 100755
--- a/genprefixes.pl
+++ b/genprefixes.pl
@@ -1,6 +1,6 @@
#!/usr/bin/perl -w
-require "PrefixBits.pl";
+require "./PrefixBits.pl";
sub find_prefixes {
my $INQUISITIVE_HE=shift;
diff --git a/pmerge b/pmerge
index 83ad949..9ceb9de 100755
--- a/pmerge
+++ b/pmerge
@@ -8,7 +8,7 @@
use IO::File;
use Carp;
-require "PrefixBits.pl";
+require "./PrefixBits.pl";
# "perl -w" warns about variables only used once (it assumes they are a
# typo). This ugliness gets rid of this warning. Is there a more sensible way?
--
2.9.4
+70
View File
@@ -0,0 +1,70 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>hspell</Name>
<Homepage>http://hspell.ivrix.org.il/</Homepage>
<Packager>
<Name>fury</Name>
<Email>uglyside@yandex.ru</Email>
</Packager>
<License>AGPL-3</License>
<IsA>app:console</IsA>
<PartOf>office.spellcheck</PartOf>
<Summary>A free Hebrew linguistic project.</Summary>
<Description>A free Hebrew spell-checker and morphological analyzer.</Description>
<Archive sha1sum="dc0bcc7847e3a2e87487c45f77436498b788c358" type="targz">
http://hspell.ivrix.org.il/hspell-1.4.tar.gz
</Archive>
<BuildDependencies>
<Dependency>perl</Dependency>
<Dependency>zlib-devel</Dependency>
<Dependency>hunspell-devel</Dependency>
</BuildDependencies>
<Patches>
<Patch level='1'>hspell-1.4-rh-perl.patch</Patch>
</Patches>
</Source>
<Package>
<Name>hspell</Name>
<RuntimeDependencies>
<Dependency>perl</Dependency>
<Dependency>zlib</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin/hspell</Path>
<Path fileType="executable">/usr/bin/hspell-i</Path>
<Path fileType="executable">/usr/bin/multispell</Path>
<Path fileType="header">/usr/include/hspell.h</Path>
<Path fileType="header">/usr/include/linginfo.h</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="library">/usr/lib/libhspell.a</Path>
<Path fileType="manpages">/usr/share/man/man1</Path>
<Path fileType="manpages">/usr/share/man/man3</Path>
<Path fileType="data">/usr/share/hspell</Path>
</Files>
</Package>
<Package>
<Name>hunspell-dict-he</Name>
<PartOf>office.dictionary</PartOf>
<RuntimeDependencies>
<Dependency>perl</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="data">/usr/share/hunspell/he_IL.aff</Path>
<Path fileType="data">/usr/share/hunspell/he_IL.dic</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2022-12-02</Date>
<Version>1.4</Version>
<Comment>First build.</Comment>
<Name>fury</Name>
<Email>uglyside@yandex.ru</Email>
</Update>
</History>
</PISI>
+22
View File
@@ -0,0 +1,22 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
from pisi.actionsapi import autotools, get
i = ''.join([
' --disable-hfst',
' --disable-static',
' --with-dictionary-path=/usr/share/voikko '
])
def setup():
autotools.configure(i)
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
+61
View File
@@ -0,0 +1,61 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>libvoikko</Name>
<Homepage>https://voikko.puimula.org/</Homepage>
<Packager>
<Name>fury</Name>
<Email>uglyside@yandex.ru</Email>
</Packager>
<License>GPL-2</License>
<License>LGPL-2.1</License>
<IsA>app:console</IsA>
<IsA>library</IsA>
<PartOf>office.spellcheck</PartOf>
<Summary>A library of free natural language processing tools.</Summary>
<Description>Libvoikko provides spell checking, hyphenation, grammar checking and morphological analysis for Finnish language.</Description>
<Archive sha1sum="0e16dd7bf358227a5fd9a64641dd902edd05fd6a" type="targz">
https://www.puimula.org/voikko-sources/libvoikko/libvoikko-4.3.1.tar.gz
</Archive>
<BuildDependencies>
<Dependency>python3</Dependency>
</BuildDependencies>
<Patches>
<!-- <Patch level='1'></Patch> -->
</Patches>
</Source>
<Package>
<Name>libvoikko</Name>
<RuntimeDependencies>
<Dependency>libgcc</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="manpages">/usr/share/man/man1</Path>
</Files>
</Package>
<Package>
<Name>libvoikko-devel</Name>
<RuntimeDependencies>
<Dependency release="current">libvoikko</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include/libvoikko</Path>
<Path fileType="data">/usr/lib/pkgconfig/libvoikko.pc</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2022-12-02</Date>
<Version>4.3.1</Version>
<Comment>First build.</Comment>
<Name>fury</Name>
<Email>uglyside@yandex.ru</Email>
</Update>
</History>
</PISI>
+16
View File
@@ -0,0 +1,16 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
from pisi.actionsapi import cmaketools
def setup():
cmaketools.configure("-B_build -L")
def build():
cmaketools.make("-C _build")
def install():
cmaketools.install("-C _build install")
+67
View File
@@ -0,0 +1,67 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>nuspell</Name>
<Homepage>https://nuspell.github.io/</Homepage>
<Packager>
<Name>fury</Name>
<Email>uglyside@yandex.ru</Email>
</Packager>
<License>GPL-3</License>
<License>LGPL-3</License>
<IsA>library</IsA>
<PartOf>office.spellcheck</PartOf>
<Summary>Fast and safe spellchecking C++ library.</Summary>
<Description>
Nuspell is designed for languages with rich morphology and complex word compounding. Nuspell is written in modern C++ and it supports Hunspell dictionaries.
</Description>
<Archive sha1sum="2fc6a4b1dba1f6f26d51add3bbe21addfb3e60b4" type="targz">
https://github.com/nuspell/nuspell/archive/refs/tags/v5.1.2.tar.gz
</Archive>
<BuildDependencies>
<Dependency>cmake</Dependency>
<Dependency>catch2</Dependency>
<Dependency>icu4c-devel</Dependency>
</BuildDependencies>
<Patches>
<!-- <Patch level='1'></Patch> -->
</Patches>
</Source>
<Package>
<Name>nuspell</Name>
<RuntimeDependencies>
<Dependency>icu4c</Dependency>
<Dependency>libgcc</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="data">/usr/share/doc/nuspell/README.md</Path>
</Files>
</Package>
<Package>
<Name>nuspell-devel</Name>
<RuntimeDependencies>
<Dependency release="current">nuspell</Dependency>
<Dependency>icu4c-devel</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include/nuspell</Path>
<Path fileType="data">/usr/lib/cmake/nuspell</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2022-11-23</Date>
<Version>5.1.2</Version>
<Comment>First build.</Comment>
<Name>fury</Name>
<Email>uglyside@yandex.ru</Email>
</Update>
</History>
</PISI>
+30
View File
@@ -0,0 +1,30 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
from pisi.actionsapi import autotools, pisitools
j = ''.join([
' -O3',
' -Wall',
' -D_GNU_SOURCE',
' -std=c99',
' -fvisibility=hidden',
' -fPIC',
' -fcommon '
])
def build():
autotools.make("prefix=/usr CFLAGS='%s'" % j)
def install():
pisitools.dobin("foma")
pisitools.dobin("flookup")
pisitools.dobin("cgflookup")
pisitools.insinto("/usr/include", "fomalib.h")
pisitools.insinto("/usr/include", "fomalibconf.h")
pisitools.dolib_so("libfoma.so.0.9.18")
pisitools.dosym("libfoma.so.0.9.18", "/usr/lib/libfoma.so")
pisitools.dosym("libfoma.so.0.9.18", "/usr/lib/libfoma.so.0")
+52
View File
@@ -0,0 +1,52 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>foma</Name>
<Homepage>https://bitbucket.org/mhulden/foma/src</Homepage>
<Packager>
<Name>fury</Name>
<Email>uglyside@yandex.ru</Email>
</Packager>
<License>Apache-2</License>
<IsA>app:console</IsA>
<IsA>library</IsA>
<PartOf>programming.misc</PartOf>
<Summary>finite-state compiler and C library.</Summary>
<Description>Foma is a multi-purpose finite-state toolkit designed for applications ranging from natural language processing and research in automata theory.</Description>
<Archive sha1sum="0d557b1d2a7c46a417618e77935cfdbf7dd4e7e6" type="targz">
https://bitbucket.org/mhulden/foma/downloads/foma-0.9.18.tar.gz
</Archive>
<BuildDependencies>
<Dependency>termcap</Dependency>
<Dependency>readline-devel</Dependency>
</BuildDependencies>
<Patches>
<!-- <Patch level='1'></Patch> -->
</Patches>
</Source>
<Package>
<Name>foma</Name>
<RuntimeDependencies>
<Dependency>zlib</Dependency>
<Dependency>termcap</Dependency>
<Dependency>readline</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="header">/usr/include</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2022-12-02</Date>
<Version>0.9.18</Version>
<Comment>First build.</Comment>
<Name>fury</Name>
<Email>uglyside@yandex.ru</Email>
</Update>
</History>
</PISI>
+23
View File
@@ -0,0 +1,23 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
from pisi.actionsapi import shelltools, pisitools
i = ''.join([
' -DHAVE_STRING_H=1',
' -DHAVE_UNISTD_H=1',
' -DSTDC_HEADERS=1 '
])
def build():
shelltools.system("gcc -fPIC -c termcap.c %s" % i)
shelltools.system("gcc -fPIC -c tparam.c %s" % i)
shelltools.system("gcc -fPIC -c version.c %s" % i)
shelltools.system("gcc -shared -Wl,-soname,'libtermcap.so' -o 'libtermcap.so.1.3.1' 'termcap.o' tparam.o version.o")
def install():
pisitools.dolib_so("libtermcap.so.1.3.1")
pisitools.dosym("libtermcap.so.1.3.1", "/usr/lib/libtermcap.so")
+47
View File
@@ -0,0 +1,47 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>termcap</Name>
<Homepage>http://www.catb.org/~esr/terminfo/</Homepage>
<Packager>
<Name>fury</Name>
<Email>uglyside@yandex.ru</Email>
</Packager>
<License>GPL-2</License>
<IsA>library</IsA>
<PartOf>programming.misc</PartOf>
<Summary>The terminal feature database used by certain applications.</Summary>
<Description>Enables programs to use display computer terminals in a device-independent manner.</Description>
<Archive sha1sum="42dd1e6beee04f336c884f96314f0c96cc2578be" type="targz">
https://ftp.gnu.org/gnu/termcap/termcap-1.3.1.tar.gz
</Archive>
<BuildDependencies>
<!-- <Dependency></Dependency> -->
</BuildDependencies>
<Patches>
<!-- <Patch level='1'></Patch> -->
</Patches>
</Source>
<Package>
<Name>termcap</Name>
<RuntimeDependencies>
<!-- <Dependency></Dependency> -->
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib</Path>
<Path fileType="data">/usr/share</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2022-12-02</Date>
<Version>1.3.1</Version>
<Comment>First build.</Comment>
<Name>fury</Name>
<Email>uglyside@yandex.ru</Email>
</Update>
</History>
</PISI>