summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin F. Quinn <kevquinn@gentoo.org>2006-06-04 10:26:22 +0000
committerKevin F. Quinn <kevquinn@gentoo.org>2006-06-04 10:26:22 +0000
commit8324476d93357d81a9b25e8999f51a1cbc5d1854 (patch)
tree60f0c5e4a8f4d74f69fc487dbba04eab7282af73 /app-admin
parentkeyword ~ppc and remove old 20060601 (diff)
downloadgentoo-2-8324476d93357d81a9b25e8999f51a1cbc5d1854.tar.gz
gentoo-2-8324476d93357d81a9b25e8999f51a1cbc5d1854.tar.bz2
gentoo-2-8324476d93357d81a9b25e8999f51a1cbc5d1854.zip
keyword ~ppc and remove old 20060601
(Portage version: 2.1_rc4) (Signed Manifest commit)
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/eselect-oodict/Manifest33
-rw-r--r--app-admin/eselect-oodict/eselect-oodict-20060601.ebuild21
-rw-r--r--app-admin/eselect-oodict/files/digest-eselect-oodict-200606011
-rw-r--r--app-admin/eselect-oodict/files/oodict.eselect-20060601319
4 files changed, 11 insertions, 363 deletions
diff --git a/app-admin/eselect-oodict/Manifest b/app-admin/eselect-oodict/Manifest
index 638e5e7e5edd..a2c091950865 100644
--- a/app-admin/eselect-oodict/Manifest
+++ b/app-admin/eselect-oodict/Manifest
@@ -1,37 +1,26 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-AUX oodict.eselect-20060601 8601 RMD160 b155949bd135dada008071ff44bb75e4f986e03e SHA1 120066acaf062a658ce1a14ea97429a19a1c2023 SHA256 358908631dec0efd0ddf9372a27e5bea9c512a84f79dec478ee81bdf2ff5adab
-MD5 a8b3cbdf733441703d7003881cea00d5 files/oodict.eselect-20060601 8601
-RMD160 b155949bd135dada008071ff44bb75e4f986e03e files/oodict.eselect-20060601 8601
-SHA256 358908631dec0efd0ddf9372a27e5bea9c512a84f79dec478ee81bdf2ff5adab files/oodict.eselect-20060601 8601
DIST oodict.eselect-20060603.bz2 3077 RMD160 042152dfc1ad630cde557a4379b0a3819595e62e SHA1 cf36cc0d929f66db729054b85ec51a5cfbfc1e06 SHA256 74c772048cea4c27ee54b3ee75ef5b84904a2d74a7b335c3971a7456cb0dd221
-EBUILD eselect-oodict-20060601.ebuild 585 RMD160 811e6789033fad06d276ff3c80a86ba7f3d9b318 SHA1 5027b9d9ffc796e78dbef771b27a8c2bc042f907 SHA256 f5a9b2532f26f904e21f9b433a335af9d7a1e408440f4c19ed14f455ddfc737d
-MD5 94f8b71643358aab58ebcc203ea447ec eselect-oodict-20060601.ebuild 585
-RMD160 811e6789033fad06d276ff3c80a86ba7f3d9b318 eselect-oodict-20060601.ebuild 585
-SHA256 f5a9b2532f26f904e21f9b433a335af9d7a1e408440f4c19ed14f455ddfc737d eselect-oodict-20060601.ebuild 585
-EBUILD eselect-oodict-20060603.ebuild 625 RMD160 b37b03c39f9ac7f5743fcf7acdad602e546add0d SHA1 8ad0ff0b05d0efc7ca1b2b76ef54bd8573cd9a50 SHA256 db545a5e744a041db1021478d77e52e8069d6d6d9f0740115f94679f4b7f7222
-MD5 a24c27e6ad4d5d3848b923d787917c05 eselect-oodict-20060603.ebuild 625
-RMD160 b37b03c39f9ac7f5743fcf7acdad602e546add0d eselect-oodict-20060603.ebuild 625
-SHA256 db545a5e744a041db1021478d77e52e8069d6d6d9f0740115f94679f4b7f7222 eselect-oodict-20060603.ebuild 625
-MISC ChangeLog 634 RMD160 f378b6b41ebc56106bf09e05615fbd5baac9c92f SHA1 35f7fee77dcbe1b382aa71ca48460705b2883e85 SHA256 ec888018624e35efeface963a0c1e43d97244578f66445926bc4a5d7b7161197
-MD5 192dfed7b39747f790f61b252c7a4d5d ChangeLog 634
-RMD160 f378b6b41ebc56106bf09e05615fbd5baac9c92f ChangeLog 634
-SHA256 ec888018624e35efeface963a0c1e43d97244578f66445926bc4a5d7b7161197 ChangeLog 634
+EBUILD eselect-oodict-20060603.ebuild 630 RMD160 133d628ee88db940b4a664dc5d4bc4d9be727e9a SHA1 7170b997f15a8c4aa014e31b7e31f9866919ce1e SHA256 dd8a334279f297c3742466dfcdbae70d29d0415782da7929e789ea3de043a1bb
+MD5 8f2293f9b99cce8ede2d1351248d4722 eselect-oodict-20060603.ebuild 630
+RMD160 133d628ee88db940b4a664dc5d4bc4d9be727e9a eselect-oodict-20060603.ebuild 630
+SHA256 dd8a334279f297c3742466dfcdbae70d29d0415782da7929e789ea3de043a1bb eselect-oodict-20060603.ebuild 630
+MISC ChangeLog 908 RMD160 e6aba5a562029e39e373a01c2220e6bab600d78c SHA1 e2b2a63a58ae6e6843da7603e0648c2a35f5396a SHA256 7833d081001046aaedbaa68b0976018088abeb05955dd1548aa95cae8f98bd54
+MD5 dd2365a214bd78c86bb166fd7750a0da ChangeLog 908
+RMD160 e6aba5a562029e39e373a01c2220e6bab600d78c ChangeLog 908
+SHA256 7833d081001046aaedbaa68b0976018088abeb05955dd1548aa95cae8f98bd54 ChangeLog 908
MISC metadata.xml 373 RMD160 6486334c78258a4c92f9677dedbf5f71792df98f SHA1 30355580d79cd9642443d08f2ce84d4f6b1ac19b SHA256 696ddf2d4ae253fa47210427a0a7185d45798382724b121b90b8404067cc7b70
MD5 e65569ceeadc12f0be5c36ea4224e8ae metadata.xml 373
RMD160 6486334c78258a4c92f9677dedbf5f71792df98f metadata.xml 373
SHA256 696ddf2d4ae253fa47210427a0a7185d45798382724b121b90b8404067cc7b70 metadata.xml 373
-MD5 68b329da9893e34099c7d8ad5cb9c940 files/digest-eselect-oodict-20060601 1
-RMD160 c0da025038ed83c687ddc430da9846ecb97f3998 files/digest-eselect-oodict-20060601 1
-SHA256 01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b files/digest-eselect-oodict-20060601 1
MD5 af46ade47f6e9c66f021b7f89b29ce94 files/digest-eselect-oodict-20060603 256
RMD160 f196b68001d88ec02225b03eeaee5447e5c94176 files/digest-eselect-oodict-20060603 256
SHA256 f675da99fd92350b22ef053afd7de09d3be9f18d29a35b8acba44ca8e145aada files/digest-eselect-oodict-20060603 256
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
-iD8DBQFEgaDPZfNLSOUrp0sRAsDdAKDLSWnJgZw3L5PbHAg0t1uO0khwBACgmmKO
-14u1Dcqc4CBji8pTYWSDIMk=
-=GvTB
+iD8DBQFEgrdsZfNLSOUrp0sRAt6IAJ9zHQOEAvCFRXe7eaNZvMBuDcqmDwCgzm8c
+nJ1IkT5SW67Zzgf7gUyVpf8=
+=skC9
-----END PGP SIGNATURE-----
diff --git a/app-admin/eselect-oodict/eselect-oodict-20060601.ebuild b/app-admin/eselect-oodict/eselect-oodict-20060601.ebuild
deleted file mode 100644
index 48e8169a0aed..000000000000
--- a/app-admin/eselect-oodict/eselect-oodict-20060601.ebuild
+++ /dev/null
@@ -1,21 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-oodict/eselect-oodict-20060601.ebuild,v 1.1 2006/06/02 13:28:52 kevquinn Exp $
-
-DESCRIPTION="Manages configuration of dictionaries for OpenOffice.Org."
-HOMEPAGE="http://www.gentoo.org/"
-
-SRC_URI=""
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~x86"
-IUSE=""
-
-RDEPEND=">=app-admin/eselect-1.0.2"
-
-src_install() {
- insinto /usr/share/eselect/modules
- cp ${FILESDIR}/oodict.eselect-${PVR} ${T}/oodict.eselect
- doins ${T}/oodict.eselect
-}
diff --git a/app-admin/eselect-oodict/files/digest-eselect-oodict-20060601 b/app-admin/eselect-oodict/files/digest-eselect-oodict-20060601
deleted file mode 100644
index 8b137891791f..000000000000
--- a/app-admin/eselect-oodict/files/digest-eselect-oodict-20060601
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/app-admin/eselect-oodict/files/oodict.eselect-20060601 b/app-admin/eselect-oodict/files/oodict.eselect-20060601
deleted file mode 100644
index 8b53d96a643d..000000000000
--- a/app-admin/eselect-oodict/files/oodict.eselect-20060601
+++ /dev/null
@@ -1,319 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id: oodict.eselect-20060601,v 1.1 2006/06/02 13:28:52 kevquinn Exp $
-
-DESCRIPTION="Manages configuration of dictionaries for OpenOffice.Org."
-MAINTAINER="kevquinn@gentoo.org"
-SVN_DATE='$Date: 2006/06/02 13:28:52 $'
-VERSION=$(svn_date_to_version "${SVN_DATE}" )
-
-# Supports myspell(hunspell) dictionaries; designed to be extensible to
-# manage other types of dictionaries should they become applicable
-# to OpenOffice.org.
-
-OOO_DICTBASE="/usr/lib/openoffice/share/dict/ooo"
-OOO_DICTLIST="dictionary.lst"
-
-MYSPELL_BASE="/usr/share/myspell"
-
-# set array "fields" to the elements of $1, separated by $2.
-# This saves having to muck about with IFS all over the place.
-oodict_set_fields() {
- local old_IFS
- old_IFS="${IFS}"
- IFS=$2
- fields=($1)
- IFS="${old_IFS}"
-}
-
-# dictionary names are <class>-<lang>
-oodict_get_lang() {
- local fields
- oodict_set_fields "${P}" "-"
- echo ${fields[1]}
-}
-
-# return suffixes for dictionary type; spelling dictionary,
-# hyphenation dictionary and thesaurus.
-oodict_get_myspell_suffixes() {
- case $1 in
- DICT) echo ".aff .dic" ;;
- HYPH) echo ".dic" ;;
- THES) echo ".dat .idx" ;;
- esac
-}
-
-# display a heading (indented 4 spaces) and a wrapped list of
-# language codes (indented 6 spaces)
-oodict_display_langs() {
- local count lang
- printf " $1:\n"
- shift
- if [[ $1 == "" ]]; then
- printf " (none)\n"
- else
- count=0
- for lang in $*; do
- [[ ${count} == 0 ]] && printf " "
- printf " %s" ${lang}
- ((count = count+1))
- [[ ${count} == 22 ]] && printf "\n" && count=0
- done
- [[ ${count} == 0 ]] || printf "\n"
- fi
-}
-
-# Format of dictionary.lst files (from OOo standard
-# dictionary.lst file):
-#
-# List of All Dictionaries to be Loaded by OpenOffice
-# ---------------------------------------------------
-# Each Entry in the list have the following space delimited fields
-#
-# Field 0: Entry Type "DICT" - spellchecking dictionary
-# "HYPH" - hyphenation dictionary
-# "THES" - thesaurus files
-#
-# Field 1: Language code from Locale "en" or "de" or "pt" ...
-#
-# Field 2: Country Code from Locale "US" or "GB" or "PT"
-#
-# Field 3: Root name of file(s) "en_US" or "hyph_de" or "th_en_US"
-# (do not add extensions to the name)
-
-# Format of MYSPELL_[SPELLING|HYPHENATION|THESAURUS]_DICTIONARIES:
-#
-# Field 0: Language code
-# Field 1: Country code
-# Field 2: Root name of dictionary files
-# Field 3: Description
-# Field 4: Archive filename
-#
-# This format is from the available.lst, hyphavail.lst and
-# thesavail.lst files on the openoffice.org repository.
-
-
-
-
-### show action
-
-## {{{ show stuff
-describe_show() {
- echo "Show which dictionaries are configured for use with OpenOffice.org."
-}
-
-do_show() {
- local lang sources suffix suffixes
- [[ -f ${OOO_DICTBASE}/${OOO_DICTLIST} ]] || return
- lang=""
- myspell_sources=""
- unknown_sources=""
- listn=1
- write_list_start "OpenOffice.org configured dictionaries"
- while read entry; do
- fields=(${entry})
- [[ ${fields[0]:0:1} == "#" ]] && continue
- lang=${fields[1]}
- for suffix in $(oodict_get_myspell_suffixes ${fields[0]}); do
- if [[ -h ${OOO_DICTBASE}/${fields[3]}${suffix} ]]; then
- src=$(canonicalise ${OOO_DICTBASE}/${fields[3]}${suffix})
- if [[ ${src/${MYSPELL_BASE}} != ${src} ]]; then
- has ${lang} ${myspell_sources} ||
- myspell_sources="${myspell_sources} ${lang}"
- else
- write_warning_msg "Unrecognised link to ${src} ignored\n"
- fi
- else
- write_warning_msg "${OOO_DICTBASE}/${fields[3]}${suffix} is not a softlink, ignored\n"
- fi
- done
- done <<-EOF
- $(sort --key=2 ${OOO_DICTBASE}/${OOO_DICTLIST})
- EOF
- write_numbered_list_entry 1 "myspell"
- oodict_display_langs "Configured language codes" ${myspell_sources}
-}
-## }}}
-
-
-### list action
-
-## {{{ list stuff
-describe_list() {
- echo "List the dictionaries that can be configured for use with OpenOffice."
-}
-
-do_list() {
- local known_langs
- write_list_start "Installed dictionary sources:"
- write_numbered_list_entry 1 "myspell"
- known_langs=""
- for dict in ${MYSPELL_BASE}/${OOO_DICTLIST}.*; do
- known_langs="${known_langs} ${dict/${MYSPELL_BASE}\/${OOO_DICTLIST}.}"
- done
- oodict_display_langs "Installed language codes" ${known_langs}
-}
-## }}}
-
-
-### unset action
-
-## {{{ unset stuff
-describe_unset() {
- echo "Unconfigure a dictionary from use with OpenOffice.org."
-}
-
-describe_unset_parameters() {
- echo "<dictionary>"
-}
-
-describe_unset_options() {
- echo "dictionary: <class>-<lang> e.g. myspell-en"
-}
-
-do_unset() {
- # Check OOo dictionary area exists
- [[ -d ${OOO_DICTBASE} ]] || return
- local dict dlang dtype suffix filen dictlst entry fields
- dict=$1
- dlang=${dict/*-}
- dtype=${dict/-*}
- dictlst="${OOO_DICTLIST}.${dlang}"
- case ${dtype} in
- myspell)
- # Remove softlinks and entries in dictionary.lst - uses
- # dictionary.<lang>.lst from /usr/share/myspell
- if [[ -f ${MYSPELL_BASE}/${dictlst} ]]; then
- while read entry; do
- fields=(${entry})
- [[ ${fields[0]:0:1} == "#" ]] && continue
- [[ ${fields[3]} == "" ]] && continue
- # Remove entry from dictionary.lst
- sed -i -e "/^${fields[0]} ${fields[1]} ${fields[2]} ${fields[3]}$/ { d }" \
- ${OOO_DICTBASE}/${OOO_DICTLIST} ||
- die "Could not edit ${OOO_DICTBASE}/${OOO_DICTLIST}"
- # See if any other entries in dictionary.lst match the current
- # dictionary type and filename
- grep "^${fields[0]} .* ${fields[3]}$" ${OOO_DICTBASE}/${OOO_DICTLIST} \
- 2>&1 > /dev/null && continue
- # If no other entries match, remove relevant symlinks
- for suffix in $(oodict_get_myspell_suffixes ${fields[0]}); do
- filen="${fields[3]}${suffix}"
- [[ -f ${OOO_DICTBASE}/${filen} ]] &&
- if [[ -h ${OOO_DICTBASE}/${filen} ]]; then
- rm -f ${OOO_DICTBASE}/${filen} ||
- die "Failed t remove ${OOO_DICTBASE}/${filen}"
- else
- write_warning_msg "File ${OOO_DICTBASE}/${filen} is not a softlink so left untouched"
- fi
- done
- done < ${MYSPELL_BASE}/${dictlst}
- else
- write_warning_msg "Source ${dict} is not installed; nothing changed"
- fi
- ;;
- *)
- die "Unknown dictionary type ${dtype}"
- ;;
- esac
-}
-## }}}
-
-### set action
-
-## {{{ set stuff
-describe_set() {
- echo "Configure a dictionary for use with OpenOffice.org."
-}
-
-describe_set_parameters() {
- echo "<dictionary>"
-}
-
-describe_set_options() {
- echo "dictionary: <class>-<lang> e.g. myspell-en"
-}
-
-do_set() {
- local dict dlang dtype filen dictlst entry fields suffix
- dict=$1
- dlang=${dict/*-}
- dtype=${dict/-*}
- dictlst="${OOO_DICTLIST}.${dlang}"
- case ${dtype} in
- myspell)
- # Clear out any existing entry
- do_unset ${dict}
- # Ensure OOo dictionary area exists
- [[ -d ${OOO_DICTBASE} ]] || mkdir -p ${OOO_DICTBASE}
- # Set new entries & links
- [[ -f ${MYSPELL_BASE}/${dictlst} ]] ||
- die "Dictionary $1 not found in ${MYSPELL_BASE}"
- [[ -f ${OOO_DICTBASE}/${OOO_DICTLIST} ]] ||
- touch ${OOO_DICTBASE}/${OOO_DICTLIST} ||
- die "Unable to create ${OOO_DICTBASE}/${OOO_DICTLIST}"
- while read entry; do
- fields=(${entry})
- [[ ${fields[0]:0:1} == "#" ]] && continue
- grep "^${fields[0]} ${fields[1]} ${fields[2]} " \
- ${OOO_DICTBASE}/${OOO_DICTLIST} > /dev/null 2>&1 ||
- echo "${entry}" >> ${OOO_DICTBASE}/${OOO_DICTLIST}
- for suffix in $(oodict_get_myspell_suffixes ${fields[0]}); do
- filen="${fields[3]}${suffix}"
- if [[ -h ${OOO_DICTBASE}/${filen} ]]; then
- rm -f ${OOO_DICTBASE}/${filen} ||
- die "Failed to remove ${OOO_DICTBASE}/${filen}"
- fi
- if [[ ! -f ${OOO_DICTBASE}/${filen} ]]; then
- ln -s ${MYSPELL_BASE}/${filen} ${OOO_DICTBASE}/${filen} ||
- die "Failed to create symlink from ${MYSPELL_BASE}/${filen} to ${OOO_DICTBASE}/${filen}"
- else
- write_warning_msg "File ${OOO_DICTBASE}/${filen} is not a softlink so left untouched"
- fi
- done
- done < ${MYSPELL_BASE}/${dictlst}
- ;;
- *)
- die "Unknown dictionary type $1"
- ;;
- esac
-}
-## }}}
-
-
-### update action
-
-## {{{ update stuff
-describe_update() {
- echo "(Re)build OpenOffice.org dictionary configuration."
-}
-
-describe_update_parameters() {
- echo "[<class>]"
-}
-
-describe_update_options() {
- echo "class: type of dictionary (e.g. myspell) - omit to update everything"
-}
-
-do_update() {
- local dlang dtype dictlst dtypes
- dtypes=$1
- [[ -z ${dtypes} ]] && dtypes="myspell"
- for dtype in ${dtypes}; do
- case ${dtype} in
- myspell)
- for dictlst in ${MYSPELL_BASE}/${OOO_DICTLIST}.*; do
- dlang=${dictlst/*.lst.}
- do_set ${dtype}-${dlang}
- done
- ;;
- *)
- die "Unknown dictionary type $1"
- ;;
- esac
- done
-}
-## }}}
-
-# vim: ts=4 sw=4 noet fdm=marker