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
+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>