aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sci-misc/sfst/Manifest5
-rw-r--r--sci-misc/sfst/files/50sfst-gentoo.el9
-rw-r--r--sci-misc/sfst/files/SFST-1.3-gcc43.patch37
-rw-r--r--sci-misc/sfst/files/ftdetect-sfst.vim2
-rw-r--r--sci-misc/sfst/metadata.xml13
-rw-r--r--sci-misc/sfst/sfst-1.4.2.ebuild80
-rw-r--r--sci-misc/sfst/sfst-1.4.6g.ebuild82
-rw-r--r--sci-misc/sfst/sfst-1.4.7d.ebuild83
8 files changed, 0 insertions, 311 deletions
diff --git a/sci-misc/sfst/Manifest b/sci-misc/sfst/Manifest
deleted file mode 100644
index 303a0b2d7..000000000
--- a/sci-misc/sfst/Manifest
+++ /dev/null
@@ -1,5 +0,0 @@
-DIST SFST-1.4.2.tar.gz 490458 BLAKE2B 63bbf850a38698cdb492760c2b30274980408b6c8a492a301e87f8c09972aa5afcc67baee0b95c40ab13e6d83295d7715958592d35465ca7df987bea0c532ae1 SHA512 9466d929e33141db7e2e19eb9dbcdf095a561677ba0e0ae9158a813a92ac3b389462a47a253fca5c61d14413c2559e0f1cfe3d3222f456836b5b5f93b33b42ea
-DIST SFST-1.4.6g.tar.gz 486334 BLAKE2B 87800c1f88a7d001d5deb746d501d8a88842c07d4229d6637f9ac9e61966969a4b1d8840d1116b2502c4aa3447ed66d3f00b4bfa4d4c9774488fa29e365ad580 SHA512 8535ffd7b0a62dd27bc24d95d048afc7f56c81bfc3c989255a3d65b18a7be99c6b474a6ca0c196f7dc68eea4e4a5e1d744413252d909a9db2f0be843bb8fc518
-DIST SFST-1.4.7d.tar.gz 666828 BLAKE2B 3ec54d4203854e0becbe9443ea4c9a2296281f5c87975e87d783ebb801c39b031e28b165f90f7f8ac95771b2dea4156349bb01ef4d17b0b1ee91b10dddab4544 SHA512 905a606aa11c7d480d0714d195f864a73ed55637a81867bc1659e789367730be68e7d3f90a186330cb24ef7b0404b66ab58e9b8a1e78f4b6a185b07eddd6501b
-DIST sfst.el 4752 SHA256 b47ff59f5ff24482dbbb2f1e71a8b9ca234c4154487f83eb2118f1a62bb9eb5f SHA512 88c808044919d49b7c647c16caffb0e67d6fae9ae948434247dbcef7d78168a7b67e7a5b64c5dbeb634f273d6b8ccb93d449af097a1418a6d48a7852f6ad9bbe WHIRLPOOL c8075858fde4c0986acdebab6e5935b1a8022065db09f722d0844d5a020414e8b19d3f321a6f1eeb96e4609643ed4dc62375d8c11be471b5d2e6b7212f6af273
-DIST vim-mode.tar.gz 1104 SHA256 a62ba91c40da75be389a334db62cc2b4904bedfac657b185012b10f3f55dfe09 SHA512 8b808553dbf7a6d6aebb0d6382339bfbe56584effe0b1b0b9096969f81324305e4b66760188dc8fdfbb69118aa5688c66e2bd880dabb57b494068fd620ff540d WHIRLPOOL 252b7bd1110f3522caf0e2921550a52a552611227fd0da0029485f6eaf467ad476758deaee2774cf3c0e882d5dca63b82362e3e5a8fd378171286f7c1682fa77
diff --git a/sci-misc/sfst/files/50sfst-gentoo.el b/sci-misc/sfst/files/50sfst-gentoo.el
deleted file mode 100644
index e3e9da983..000000000
--- a/sci-misc/sfst/files/50sfst-gentoo.el
+++ /dev/null
@@ -1,9 +0,0 @@
-
-;;; site-lisp configuration for sfst-syntax
-
-(add-to-list 'load-path "@SITELISP@")
-
-(autoload 'sfst-mode "ebuild-mode"
- "Major mode for SFST-PL files" t)
-
-(add-to-list 'auto-mode-alist '("\\.fst\\'" . sfst-mode))
diff --git a/sci-misc/sfst/files/SFST-1.3-gcc43.patch b/sci-misc/sfst/files/SFST-1.3-gcc43.patch
deleted file mode 100644
index 3198d6b0f..000000000
--- a/sci-misc/sfst/files/SFST-1.3-gcc43.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-diff -Naur SFST-1.3/src/alphabet.C SFST/src/alphabet.C
---- SFST-1.3/src/alphabet.C 2008-09-11 10:59:11.000000000 +0000
-+++ SFST/src/alphabet.C 2008-09-11 11:01:44.000000000 +0000
-@@ -10,6 +10,9 @@
- /* */
- /*******************************************************************/
-
-+#include <climits>
-+#include <cstring>
-+
- #include "utf8.h"
- #include "alphabet.h"
-
-diff -Naur SFST-1.3/src/alphabet.h SFST/src/alphabet.h
---- SFST-1.3/src/alphabet.h 2008-09-11 10:59:11.000000000 +0000
-+++ SFST/src/alphabet.h 2008-09-11 10:59:54.000000000 +0000
-@@ -21,6 +21,8 @@
-
- #include <iostream>
-
-+#include <cstring>
-+
- #ifndef CODE_DATA_TYPE
- typedef unsigned short Character; // data type of the symbol codes
- #else
-diff -Naur SFST-1.3/src/interface.h SFST/src/interface.h
---- SFST-1.3/src/interface.h 2008-09-11 10:59:11.000000000 +0000
-+++ SFST/src/interface.h 2008-09-11 11:03:32.000000000 +0000
-@@ -82,7 +82,7 @@
- Transducer *optional( Transducer *a );
- Transducer *make_rule( Transducer *lc, Range *r1, Twol_Type type,
- Range *r2, Transducer *rc );
--Transducer *freely_insert( Transducer *a, Character c, Character c );
-+Transducer *freely_insert( Transducer *a, Character lc, Character uc );
- Transducer *make_mapping( Ranges*, Ranges* );
- Ranges *add_range( Range*, Ranges* );
- Contexts *make_context( Transducer *l, Transducer *r );
diff --git a/sci-misc/sfst/files/ftdetect-sfst.vim b/sci-misc/sfst/files/ftdetect-sfst.vim
deleted file mode 100644
index df702ad49..000000000
--- a/sci-misc/sfst/files/ftdetect-sfst.vim
+++ /dev/null
@@ -1,2 +0,0 @@
-" SFST ftdetect for vim sfst-syntax
-au BufRead,BufNewFile *.sfst set filetype=sfst
diff --git a/sci-misc/sfst/metadata.xml b/sci-misc/sfst/metadata.xml
deleted file mode 100644
index e1523edf0..000000000
--- a/sci-misc/sfst/metadata.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>flammie@gentoo.org</email>
- <description>N.B. This is used in my master’s thesis project</description>
- </maintainer>
- <longdescription>
-SFST is open source package for compiling and using Finite State
-Transducers, mainly for linguistic uses, made in university of
-Stuttgart, Germany.
-</longdescription>
-</pkgmetadata>
diff --git a/sci-misc/sfst/sfst-1.4.2.ebuild b/sci-misc/sfst/sfst-1.4.2.ebuild
deleted file mode 100644
index 3fe2847a0..000000000
--- a/sci-misc/sfst/sfst-1.4.2.ebuild
+++ /dev/null
@@ -1,80 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit elisp eutils
-
-MY_PN="SFST"
-MY_P="${MY_PN}-${PV}"
-
-DESCRIPTION="Uni Stuttgart Finite State Transducer tools"
-HOMEPAGE="http://www.ims.uni-stuttgart.de/projekte/gramotron/SOFTWARE/SFST.html"
-SRC_URI="
- ftp://ftp.ims.uni-stuttgart.de/pub/corpora/${MY_PN}/${MY_P}.tar.gz
- vim-syntax? ( ftp://ftp.ims.uni-stuttgart.de/pub/corpora/${MY_PN}/vim-mode.tar.gz )
- emacs? ( http://www.cis.uni-muenchen.de/~wastl/emacs/sfst.el )"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="emacs vim-syntax"
-
-RDEPEND="sys-libs/readline:0="
-DEPEND="${RDEPEND}
- sys-devel/bison
- sys-devel/flex"
-
-S="${WORKDIR}/${MY_PN}"
-
-src_prepare() {
- # settings in makefile are a bit hacky
- #epatch "${FILESDIR}"/SFST-1.3-gcc43.patch || die "patch failed"
- sed \
- -e "s/^CFLAGS = -O3/CFLAGS = ${CFLAGS}/g" \
- -e "s/local//g" \
- -e 's/strip/echo strip removed: /g' \
- -e 's/# FPIC/FPIC/' \
- -e 's/ $(PREFIX/ $(DESTDIR)$(PREFIX/g' \
- -e 's/ldconfig/true/' \
- -e 's/$(INSTALL_LIBS)/$(INSTALL_DIR) $(DESTDIR)$(PREFIX)\/lib\n\t\0/' \
- -i "${S}"/src/Makefile || die "sed failed"
- cd "${S}" || die
- if use emacs ; then
- cp "${DISTDIR}/sfst.el" "${S}" || die
- fi
- if use vim-syntax ; then
- mv "${WORKDIR}"/INSTALL "${S}"/INSTALL-vim-syntax || die
- mv "${WORKDIR}"/sfst.vim "${S}"/ || die
- fi
-}
-
-src_compile() {
- emake -C "${S}/src"
- if use emacs ; then
- cd "${S}" || die
- elisp_src_compile
- fi
-}
-
-src_install() {
- cd "${S}/src" || die
- # destdir works but prefix fails
- emake DESTDIR="${D}" install maninstall libinstall
- cd "${S}" || die
- dodoc README
- insinto /usr/share/doc/${PF}/
- doins doc/SFST-Manual.pdf doc/SFST-Tutorial.pdf
- insinto /usr/share/${PN}
- doins -r data/*
- if use vim-syntax ; then
- insinto /usr/share/vim/vimfiles/syntax/
- doins sfst.vim
- insinto /usr/share/vim/vimfiles/ftdetect/
- newins "${FILESDIR}"/ftdetect-sfst.vim sfst.vim
- dodoc INSTALL-vim-syntax
- fi
- if use emacs ; then
- elisp_src_install
- fi
-}
diff --git a/sci-misc/sfst/sfst-1.4.6g.ebuild b/sci-misc/sfst/sfst-1.4.6g.ebuild
deleted file mode 100644
index 1049b4f28..000000000
--- a/sci-misc/sfst/sfst-1.4.6g.ebuild
+++ /dev/null
@@ -1,82 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit elisp-common eutils
-
-MY_PN="SFST"
-MY_P="${MY_PN}-${PV}"
-
-DESCRIPTION="Uni Stuttgart Finite State Transducer tools"
-HOMEPAGE="http://www.ims.uni-stuttgart.de/projekte/gramotron/SOFTWARE/SFST.html"
-SRC_URI="
- ftp://ftp.ims.uni-stuttgart.de/pub/corpora/${MY_PN}/${MY_P}.tar.gz
- vim-syntax? ( ftp://ftp.ims.uni-stuttgart.de/pub/corpora/${MY_PN}/vim-mode.tar.gz )
- emacs? ( http://www.cis.uni-muenchen.de/~wastl/emacs/sfst.el )"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="emacs vim-syntax"
-
-RDEPEND="
- sys-libs/readline:0=
- emacs? ( virtual/emacs )"
-DEPEND="${RDEPEND}
- sys-devel/bison
- sys-devel/flex"
-
-S="${WORKDIR}/${MY_PN}"
-
-src_prepare() {
- # settings in makefile are a bit hacky
- #epatch "${FILESDIR}"/SFST-1.3-gcc43.patch || die "patch failed"
- sed \
- -e "s/^CFLAGS = -O3/CFLAGS = ${CFLAGS}/g" \
- -e "s/local//g" \
- -e 's/strip/echo strip removed: /g' \
- -e 's/# FPIC/FPIC/' \
- -e 's/ $(PREFIX/ $(DESTDIR)$(PREFIX/g' \
- -e 's/ldconfig/true/' \
- -e 's/$(INSTALL_LIBS)/$(INSTALL_DIR) $(DESTDIR)$(PREFIX)\/lib\n\t\0/' \
- -i "${S}"/src/Makefile || die "sed failed"
- cd "${S}" || die
- if use emacs ; then
- cp "${DISTDIR}/sfst.el" "${S}" || die
- fi
- if use vim-syntax ; then
- mv "${WORKDIR}"/INSTALL "${S}"/INSTALL-vim-syntax || die
- mv "${WORKDIR}"/sfst.vim "${S}"/ || die
- fi
-}
-
-src_compile() {
- emake -C "${S}/src"
- if use emacs ; then
- cd "${S}" || die
- elisp-compile *.el || die "could not compile elisp"
- fi
-}
-
-src_install() {
- cd "${S}/src" || die
- # destdir works but prefix fails
- emake DESTDIR="${D}" install maninstall libinstall
- cd "${S}" || die
- dodoc README
- insinto /usr/share/doc/${PF}/
- doins doc/SFST-Manual.pdf doc/SFST-Tutorial.pdf
- insinto /usr/share/${PN}
- doins -r data/*
- if use vim-syntax ; then
- insinto /usr/share/vim/vimfiles/syntax/
- doins sfst.vim
- insinto /usr/share/vim/vimfiles/ftdetect/
- newins "${FILESDIR}"/ftdetect-sfst.vim sfst.vim
- dodoc INSTALL-vim-syntax
- fi
- if use emacs ; then
- elisp-install ${PN} *.el *.elc
- fi
-}
diff --git a/sci-misc/sfst/sfst-1.4.7d.ebuild b/sci-misc/sfst/sfst-1.4.7d.ebuild
deleted file mode 100644
index c0210963f..000000000
--- a/sci-misc/sfst/sfst-1.4.7d.ebuild
+++ /dev/null
@@ -1,83 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit elisp-common eutils
-
-MY_PN="SFST"
-MY_P="${MY_PN}-${PV}"
-
-DESCRIPTION="Uni Stuttgart Finite State Transducer tools"
-HOMEPAGE="http://www.cis.uni-muenchen.de/~schmid/tools/SFST/"
-SRC_URI="
- http://www.cis.uni-muenchen.de/~schmid/tools/${MY_PN}/data/${MY_P}.tar.gz
- vim-syntax? ( http://www.cis.uni-muenchen.de/~schmid/tools/${MY_PN}/data/vim-mode.tar.gz )
- emacs? ( http://www.cis.uni-muenchen.de/~wastl/emacs/sfst.el )"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="emacs vim-syntax"
-
-RDEPEND="
- sys-libs/readline:0=
- emacs? ( virtual/emacs )"
-DEPEND="${RDEPEND}
- sys-devel/bison
- sys-devel/flex"
-
-S="${WORKDIR}/${MY_PN}"
-
-src_prepare() {
- # settings in makefile are a bit hacky
- sed \
- -e "s/^CFLAGS = -O3/CFLAGS = ${CFLAGS}/g" \
- -e "s/local//g" \
- -e 's/strip/echo strip removed: /g' \
- -e 's/# FPIC/FPIC/' \
- -e 's/ $(PREFIX/ $(DESTDIR)$(PREFIX/g' \
- -e 's/ldconfig/true/' \
- -e 's/$(INSTALL_LIBS)/$(INSTALL_DIR) $(DESTDIR)$(PREFIX)\/lib\n\t\0/' \
- -i "${S}"/src/Makefile || die "sed failed"
- cd "${S}" || die
- if use emacs ; then
- cp "${DISTDIR}/sfst.el" "${S}" || die
- fi
- if use vim-syntax ; then
- mv "${WORKDIR}"/INSTALL "${S}"/INSTALL-vim-syntax || die
- mv "${WORKDIR}"/sfst.vim "${S}"/ || die
- fi
-
- eapply_user
-}
-
-src_compile() {
- emake -C "${S}/src"
- if use emacs ; then
- cd "${S}" || die
- elisp-compile *.el || die "could not compile elisp"
- fi
-}
-
-src_install() {
- cd "${S}/src" || die
- # destdir works but prefix fails
- emake DESTDIR="${D}" install maninstall libinstall
- cd "${S}" || die
- dodoc README
- insinto /usr/share/doc/${PF}/
- doins doc/SFST-Manual.pdf doc/SFST-Tutorial.pdf
- insinto /usr/share/${PN}
- doins -r data/*
- if use vim-syntax ; then
- insinto /usr/share/vim/vimfiles/syntax/
- doins sfst.vim
- insinto /usr/share/vim/vimfiles/ftdetect/
- newins "${FILESDIR}"/ftdetect-sfst.vim sfst.vim
- dodoc INSTALL-vim-syntax
- fi
- if use emacs ; then
- elisp-install ${PN} *.el *.elc
- fi
-}