summaryrefslogtreecommitdiff
path: root/pcr/apertium/apertium-oc-es
diff options
context:
space:
mode:
authorAndreas Grapentin <andreas@grapentin.org>2018-01-20 19:16:04 +0100
committerAndreas Grapentin <andreas@grapentin.org>2018-01-20 19:16:04 +0100
commit9773bdc3e83c18ec2dcf1b4e8d59bac68b5a70d2 (patch)
tree6c4b0c48e04eff116a476ade577eb2484132e292 /pcr/apertium/apertium-oc-es
parent1f2e04ab21753fc2764036aa3c62f4ee6d73dece (diff)
downloadabslibre-9773bdc3e83c18ec2dcf1b4e8d59bac68b5a70d2.tar.gz
abslibre-9773bdc3e83c18ec2dcf1b4e8d59bac68b5a70d2.tar.bz2
abslibre-9773bdc3e83c18ec2dcf1b4e8d59bac68b5a70d2.zip
pcr/apertium: updated to 3.4.2
Diffstat (limited to 'pcr/apertium/apertium-oc-es')
-rw-r--r--pcr/apertium/apertium-oc-es/Makefile.am.patch75
-rw-r--r--pcr/apertium/apertium-oc-es/PKGBUILD43
-rw-r--r--pcr/apertium/apertium-oc-es/configure.ac.patch34
-rw-r--r--pcr/apertium/apertium-oc-es/es-oc.t1x.patch0
-rw-r--r--pcr/apertium/apertium-oc-es/oc-es.t1x.patch20
5 files changed, 0 insertions, 172 deletions
diff --git a/pcr/apertium/apertium-oc-es/Makefile.am.patch b/pcr/apertium/apertium-oc-es/Makefile.am.patch
deleted file mode 100644
index 5afc6cd6f..000000000
--- a/pcr/apertium/apertium-oc-es/Makefile.am.patch
+++ /dev/null
@@ -1,75 +0,0 @@
---- ../apertium-oc-es-1.0.5/Makefile.am 2008-07-21 14:53:50.000000000 +0200
-+++ apertium-oc-es-1.0.5/Makefile.am 2010-09-15 16:29:38.000000000 +0200
-@@ -19,7 +19,7 @@
- $(PREFIX2).autogen.bin $(PREFIX2b).autogen.bin \
- $(PREFIX1).autopgen.bin $(PREFIX1b).autopgen.bin \
- $(PREFIX2).autopgen.bin $(PREFIX2b).autopgen.bin modes
--
-+
- TARGETS = $(TARGETS_COMMON) $(PREFIX1).t1x.bin $(PREFIX1).t2x.bin $(PREFIX1).t3x.bin \
- $(PREFIX1b).t1x.bin $(PREFIX1b).t2x.bin $(PREFIX1b).t3x.bin \
- $(PREFIX2).t1x.bin $(PREFIX2).t2x.bin $(PREFIX2).t3x.bin \
-@@ -72,7 +72,7 @@
-
- .deps/$(LANG2b).post.dix: $(BASENAME).post-$(LANG2).dix
- xsltproc --stringparam alt $(LANG1b) alt.xsl $(BASENAME).post-$(LANG2).dix >$@
--
-+
- $(PREFIX1).automorf.bin: .deps/$(LANG1).dix
- apertium-validate-dictionary .deps/$(LANG1).dix
- lt-comp lr .deps/$(LANG1).dix $@
-@@ -136,7 +136,7 @@
- $(PREFIX2b).autopgen.bin: .deps/$(LANG1b).post.dix
- apertium-validate-dictionary .deps/$(LANG1b).post.dix
- lt-comp lr .deps/$(LANG1b).post.dix $@
--
-+
- $(PREFIX1).t1x: $(BASENAME).$(PREFIX1).t1x
- xsltproc --stringparam alt $(LANG1) alt.xsl $(BASENAME).$(PREFIX1).t1x > $@
- apertium-validate-transfer $@
-@@ -168,7 +168,7 @@
- $(PREFIX2b).t2x: $(BASENAME).$(PREFIX2).t2x
- xsltproc --stringparam alt $(LANG1b) alt.xsl $(BASENAME).$(PREFIX2).t2x > $@
- apertium-validate-interchunk $@
--
-+
- $(PREFIX1).t3x: $(BASENAME).$(PREFIX1).t3x
- xsltproc --stringparam alt $(LANG1) alt.xsl $(BASENAME).$(PREFIX1).t3x > $@
- apertium-validate-postchunk $@
-@@ -234,18 +234,18 @@
- $(BASENAME).$(PREFIX1).t2x $(BASENAME).$(PREFIX2).t2x \
- $(BASENAME).$(PREFIX1).t3x $(BASENAME).$(PREFIX2).t3x
-
--
-+
- modes: modes.xml Makefile.am
- apertium-gen-modes modes.xml
- @cp *.mode modes/
--
-+
- $(INSTALL_MODES): modes.xml Makefile.am
- apertium-gen-modes modes.xml
- @cp *.mode modes/
-
- apertium_oc_esdir=$(prefix)/share/apertium/apertium-$(PREFIX1)/
- apertium_oc_esmodesdir=$(prefix)/share/apertium/modes/
--
-+
- apertium_oc_es_DATA=$(PREFIX1).automorf.bin $(PREFIX2).automorf.bin \
- $(PREFIX1).autobil.bin $(PREFIX2).autobil.bin \
- $(PREFIX1).autogen.bin $(PREFIX2).autogen.bin \
-@@ -267,9 +267,9 @@
-
- install-data-local:
- apertium-gen-modes modes.xml apertium-$(PREFIX1)
-- $(INSTALL_DATA) oc-es.mode $(apertium_oc_esmodesdir)
-- $(INSTALL_DATA) es-oc.mode $(apertium_oc_esmodesdir)
-- $(INSTALL_DATA) oc_aran-es.mode $(apertium_oc_esmodesdir)
-- $(INSTALL_DATA) es-oc_aran.mode $(apertium_oc_esmodesdir)
--
-+ $(INSTALL_DATA) oc-es.mode $(DESTDIR)$(apertium_oc_esmodesdir)
-+ $(INSTALL_DATA) es-oc.mode $(DESTDIR)$(apertium_oc_esmodesdir)
-+ $(INSTALL_DATA) oc_aran-es.mode $(DESTDIR)$(apertium_oc_esmodesdir)
-+ $(INSTALL_DATA) es-oc_aran.mode $(DESTDIR)$(apertium_oc_esmodesdir)
-+
- CLEANFILES = -r $(TARGETS)
diff --git a/pcr/apertium/apertium-oc-es/PKGBUILD b/pcr/apertium/apertium-oc-es/PKGBUILD
deleted file mode 100644
index c77245309..000000000
--- a/pcr/apertium/apertium-oc-es/PKGBUILD
+++ /dev/null
@@ -1,43 +0,0 @@
-# Contributor: Kevin Brubeck Unhammer <unhammer@gmail.com>
-# Maintainer: Kevin Brubeck Unhammer <unhammer@gmail.com>
-pkgname=apertium-oc-es
-pkgver=1.0.5
-pkgrel=1
-pkgdesc="Apertium language data for the Occitan-Spanish translator."
-url="http://apertium.org"
-license=('GPL')
-makedepends=('pkgconfig')
-depends=('lttoolbox>=3.0' 'apertium>=3.0')
-arch=('i686' 'x86_64')
-source=("http://downloads.sourceforge.net/sourceforge/apertium/${pkgname}-${pkgver}.tar.gz"
- "Makefile.am.patch"
- "configure.ac.patch"
- "oc-es.t1x.patch"
- "es-oc.t1x.patch")
-md5sums=('c3d7f9d2c5b0ee050e7219ea590c019e'
- 'a5f5705c9de36ec1ec46ab31bf148b3e'
- '26cc63e7e3e830a5f6fd76590f5e22de'
- 'a65e5c80e5cec7490665dd4a3a232fe7'
- 'd41d8cd98f00b204e9800998ecf8427e')
-
-build() {
- patch -p0 < Makefile.am.patch
- patch -p0 < configure.ac.patch
- patch -p0 < oc-es.t1x.patch
- patch -p0 < es-oc.t1x.patch
-
- mkdir -p "$pkgdir/usr/share/apertium/modes"
-
- cd "$srcdir/$pkgname-$pkgver"
-
- autoreconf -i
-
- ./configure --prefix=/usr
- make || return 1
- make DESTDIR="$pkgdir/" install || return 1
-}
-
-package() {
- cd "$srcdir/$pkgname-$pkgver"
- make DESTDIR="$pkgdir/" install
-} \ No newline at end of file
diff --git a/pcr/apertium/apertium-oc-es/configure.ac.patch b/pcr/apertium/apertium-oc-es/configure.ac.patch
deleted file mode 100644
index f15712550..000000000
--- a/pcr/apertium/apertium-oc-es/configure.ac.patch
+++ /dev/null
@@ -1,34 +0,0 @@
---- ../apertium-oc-es-1.0.5/configure.ac 2008-07-21 14:53:50.000000000 +0200
-+++ apertium-oc-es-1.0.5/configure.ac 2010-09-15 16:57:39.000000000 +0200
-@@ -11,7 +11,7 @@
- AC_PROG_AWK
- AC_CONFIG_HEADER([config])
-
--AC_DEFUN(PKG_CHECK_APERTIUM, [
-+AC_DEFUN([PKG_CHECK_APERTIUM], [
- APERTIUM_VER=0
- PKG_CHECK_MODULES(APERTIUM, apertium-1.0 >= 1.0.0,
- [
-@@ -23,8 +23,20 @@
- APERTIUM_VER=20
- ],
- [
-- PKG_CHECK_MODULES(APERTIUM, apertium-3.0 >= 3.0.0)
-- APERTIUM_VER=30
-+ PKG_CHECK_MODULES(APERTIUM, apertium-3.0 >= 3.0.0,
-+ [
-+ APERTIUM_VER=30
-+ ],
-+ [
-+ PKG_CHECK_MODULES(APERTIUM, apertium-3.1 >= 3.1.0,
-+ [
-+ APERTIUM_VER=31
-+ ],
-+ [
-+ PKG_CHECK_MODULES(APERTIUM, apertium-3.2 >= 3.2.0)
-+ APERTIUM_VER=32
-+ ])
-+ ])
- ])
- ])
- AC_SUBST(APERTIUM_VER)
diff --git a/pcr/apertium/apertium-oc-es/es-oc.t1x.patch b/pcr/apertium/apertium-oc-es/es-oc.t1x.patch
deleted file mode 100644
index e69de29bb..000000000
--- a/pcr/apertium/apertium-oc-es/es-oc.t1x.patch
+++ /dev/null
diff --git a/pcr/apertium/apertium-oc-es/oc-es.t1x.patch b/pcr/apertium/apertium-oc-es/oc-es.t1x.patch
deleted file mode 100644
index e6a756a76..000000000
--- a/pcr/apertium/apertium-oc-es/oc-es.t1x.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- ../apertium-oc-es-1.0.5/apertium-oc-es.oc-es.t1x 2008-07-18 20:19:11.000000000 +0200
-+++ apertium-oc-es-1.0.5/apertium-oc-es.oc-es.t1x 2010-09-15 17:10:00.000000000 +0200
-@@ -1189,7 +1189,7 @@
- </choose>
- <choose><!-- aquests no són ref-->
- <when>
-- <test>
-+ <test><and>
- <equal caseless="yes">
- <clip pos="2" side="sl" part="pers"/>
- <lit-tag v="p3"/>
-@@ -1198,7 +1198,7 @@
- <clip pos="2" side="sl" part="nbr"/>
- <lit-tag v="sg"/>
- </equal>
-- </test>
-+ </and></test>
- <choose>
- <when>
- <test>