summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2009-10-22 12:19:45 +0000
committerUlrich Müller <ulm@gentoo.org>2009-10-22 12:19:45 +0000
commit47feb9d9f18abdde53ff01825d6f597aa0c5a873 (patch)
tree78957e5c2a6f32e22a0497c06e05bff5d7b4f167 /app-dicts/aspell-de-alt
parentLast missing eapi files in default/linux. No support in PM to inherit them fr... (diff)
downloadgentoo-2-47feb9d9f18abdde53ff01825d6f597aa0c5a873.tar.gz
gentoo-2-47feb9d9f18abdde53ff01825d6f597aa0c5a873.tar.bz2
gentoo-2-47feb9d9f18abdde53ff01825d6f597aa0c5a873.zip
Add proper alias names for dictionary. Install additional documentation.
(Portage version: 2.2_rc46/cvs/Linux i686)
Diffstat (limited to 'app-dicts/aspell-de-alt')
-rw-r--r--app-dicts/aspell-de-alt/ChangeLog9
-rw-r--r--app-dicts/aspell-de-alt/aspell-de-alt-2.1.1-r1.ebuild24
-rw-r--r--app-dicts/aspell-de-alt/files/aspell-de-alt-2.1.1-dict-name.patch59
3 files changed, 91 insertions, 1 deletions
diff --git a/app-dicts/aspell-de-alt/ChangeLog b/app-dicts/aspell-de-alt/ChangeLog
index 59615b6bb58e..6866e07d8189 100644
--- a/app-dicts/aspell-de-alt/ChangeLog
+++ b/app-dicts/aspell-de-alt/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for app-dicts/aspell-de-alt
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-dicts/aspell-de-alt/ChangeLog,v 1.17 2009/10/21 05:29:23 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-dicts/aspell-de-alt/ChangeLog,v 1.18 2009/10/22 12:19:44 ulm Exp $
+
+*aspell-de-alt-2.1.1-r1 (22 Oct 2009)
+
+ 22 Oct 2009; Ulrich Mueller <ulm@gentoo.org>
+ +aspell-de-alt-2.1.1-r1.ebuild,
+ +files/aspell-de-alt-2.1.1-dict-name.patch:
+ Add proper alias names for dictionary. Install additional documentation.
21 Oct 2009; Alexis Ballier <aballier@gentoo.org>
aspell-de-alt-2.1.1.ebuild:
diff --git a/app-dicts/aspell-de-alt/aspell-de-alt-2.1.1-r1.ebuild b/app-dicts/aspell-de-alt/aspell-de-alt-2.1.1-r1.ebuild
new file mode 100644
index 000000000000..0e253b27c64a
--- /dev/null
+++ b/app-dicts/aspell-de-alt/aspell-de-alt-2.1.1-r1.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-dicts/aspell-de-alt/aspell-de-alt-2.1.1-r1.ebuild,v 1.1 2009/10/22 12:19:44 ulm Exp $
+
+ASPELL_LANG="German (traditional orthography)"
+ASPOSTFIX="6"
+
+inherit aspell-dict eutils
+
+LICENSE="GPL-2"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
+IUSE=""
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/${P}-dict-name.patch"
+}
+
+src_install() {
+ aspell-dict_src_install
+ newdoc doc/README README.hk || die
+ dodoc doc/README.bj || die
+}
diff --git a/app-dicts/aspell-de-alt/files/aspell-de-alt-2.1.1-dict-name.patch b/app-dicts/aspell-de-alt/files/aspell-de-alt-2.1.1-dict-name.patch
new file mode 100644
index 000000000000..5c74ed74c56c
--- /dev/null
+++ b/app-dicts/aspell-de-alt/files/aspell-de-alt-2.1.1-dict-name.patch
@@ -0,0 +1,59 @@
+Aspell dictionaries should be named LANGUAGE[_REGION][-VARIETY][-SIZE],
+therefore this patch adds de-1901 and de_DE-1901 as such alias names.
+See also: http://www.iana.org/assignments/language-subtag-registry
+
+--- Makefile.pre
++++ Makefile.pre
+@@ -7,7 +7,8 @@
+ data_files = de-alt.dat de-alt_phonet.dat de-alt_affix.dat
+ doc_files = README COPYING Copyright
+ extra_files = configure info Makefile.pre
+-multi_files = de-alt.multi deutsch-alt.alias german-old.alias
++multi_files = de-alt.multi deutsch-alt.alias german-old.alias \
++ de-1901.alias de_DE-1901.alias
+ rws_files = de-alt.rws
+
+ distdir=aspell6-${lang}-${version}
+--- README
++++ README
+@@ -1,4 +1,4 @@
+-GNU Aspell 0.60 German - Old Spelling (Deutsch - Alter Spelling) Dictionary Package
++GNU Aspell 0.60 German - Old Spelling (Deutsch - alte Rechtschreibung) Dictionary Package
+ Version 2.1-1
+ 2004-11-03
+ Original Word List By:
+@@ -46,7 +46,7 @@
+ with "--lang=de-alt". You may also chose the dictionary directly
+ with the "-d" or "--master" option of Aspell. You can chose from any of
+ the following dictionaries:
+- de-alt (deutsch-alt german-old)
++ de-alt (deutsch-alt german-old de-1901 de_DE-1901)
+ Whereas the names in parentheses are alternate names for the
+ dictionary preceding the parentheses.
+
+--- de-1901.alias
++++ de-1901.alias
+@@ -0,0 +1 @@
++add de-alt.multi
+--- de_DE-1901.alias
++++ de_DE-1901.alias
+@@ -0,0 +1 @@
++add de-alt.multi
+--- info
++++ info
+@@ -1,5 +1,5 @@
+ name_english German - Old Spelling
+-name_ascii Deutsch - Alter Spelling
++name_ascii Deutsch - alte Rechtschreibung
+ lang de-alt
+ data-file de-alt_phonet.dat
+ data-file de-alt_affix.dat
+@@ -13,7 +13,7 @@
+ version 2.1-1
+ accurate true
+ complete true
+-alias de-alt german-old deutsch-alt
++alias de-alt german-old deutsch-alt de-1901 de_DE-1901
+ dict:
+ name de-alt
+ add de-alt