summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2002-12-03 12:53:52 +0000
committerSeemant Kulleen <seemant@gentoo.org>2002-12-03 12:53:52 +0000
commitd3ddc83712fc99ef8f5d78dc0fc2f104a0989603 (patch)
tree7c37db0e3bb35c3bfd6e8a045f798399487a1297 /app-text/stardict
parentmoved dictd dictionaries and stardict from app-text to app-dicts (diff)
downloadhistorical-d3ddc83712fc99ef8f5d78dc0fc2f104a0989603.tar.gz
historical-d3ddc83712fc99ef8f5d78dc0fc2f104a0989603.tar.bz2
historical-d3ddc83712fc99ef8f5d78dc0fc2f104a0989603.zip
moved dictd dictionaries and stardict from app-text to app-dicts
Diffstat (limited to 'app-text/stardict')
-rw-r--r--app-text/stardict/ChangeLog12
-rw-r--r--app-text/stardict/files/digest-stardict-1.31
-rw-r--r--app-text/stardict/files/stardict-config.sh38
-rw-r--r--app-text/stardict/files/stardict-gentoo.patch21
-rw-r--r--app-text/stardict/stardict-1.3.ebuild41
5 files changed, 0 insertions, 113 deletions
diff --git a/app-text/stardict/ChangeLog b/app-text/stardict/ChangeLog
deleted file mode 100644
index abab238a70db..000000000000
--- a/app-text/stardict/ChangeLog
+++ /dev/null
@@ -1,12 +0,0 @@
-# ChangeLog for app-text/stardict
-# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/app-text/stardict/ChangeLog,v 1.1 2002/11/07 16:14:07 stubear Exp $
-
-*stardict-1.3 (08 Nov 2002)
-
- 08 Nov 2002; Stuart Bouyer <stubear@gentoo.org> stardict-1.3.ebuild,
- ChangeLog, files/digest-stardict-1.3, files/stardict-config.sh,
- files/stardict-gentoo.patch :
-
- Initial ebuild submitted and created by Lloyd Huang (Huang YU HSIN)
- <lloyd@coventive.com>.
diff --git a/app-text/stardict/files/digest-stardict-1.3 b/app-text/stardict/files/digest-stardict-1.3
deleted file mode 100644
index 8803ffeac7a4..000000000000
--- a/app-text/stardict/files/digest-stardict-1.3
+++ /dev/null
@@ -1 +0,0 @@
-MD5 72baeb85da0506aa8ce48db04953a64a stardict-1.3.tar.gz 1430862
diff --git a/app-text/stardict/files/stardict-config.sh b/app-text/stardict/files/stardict-config.sh
deleted file mode 100644
index 6fe07a16c665..000000000000
--- a/app-text/stardict/files/stardict-config.sh
+++ /dev/null
@@ -1,38 +0,0 @@
-#!/bin/bash
-Big5 () {
-
- cat /usr/share/stardict/hzfont/fonts.dir | \
- sed "s/hz16.pcf/hz16ft.pcf/" > /tmp/fonts.dir
- cp /tmp/fonts.dir /usr/share/stardict/hzfont/fonts.dir
- xset fp rehash
-}
-
-GB () {
- xset fp rehash
-}
-
-echo
-echo
-echo "This is a Chinese / Englist dict for Big5 or GB"
-echo
-echo
-
-echo -n "Please chose character-set big5 or gb [big5/gb] : "
-read code
-
-case $code in
- big5 )
- echo "Seting for big5"
- Big5
- ;;
-
- gb )
- echo "Seting for gb"
- GB
- ;;
-
- *)
- echo "Seting for big5"
- Big5
- ;;
-esac
diff --git a/app-text/stardict/files/stardict-gentoo.patch b/app-text/stardict/files/stardict-gentoo.patch
deleted file mode 100644
index 3a94d96600c9..000000000000
--- a/app-text/stardict/files/stardict-gentoo.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-diff -p -r zh-stardict-1.3/src/image.h zh-stardict-1.3.fix/src/image.h
-*** zh-stardict-1.3/src/image.h 2000-05-26 09:33:16.000000000 +0800
---- zh-stardict-1.3.fix/src/image.h 2002-10-12 06:34:04.000000000 +0800
-***************
-*** 17,23 ****
- #ifndef IMAGE_H
- #define IMAGE_H
-
-! #include <stdiostream.h>
- #include <stdlib.h>
- #include <memory.h>
- #include <string.h>
---- 17,24 ----
- #ifndef IMAGE_H
- #define IMAGE_H
-
-! //#include <stdiostream.h>
-! #include <iostream.h>
- #include <stdlib.h>
- #include <memory.h>
- #include <string.h>
diff --git a/app-text/stardict/stardict-1.3.ebuild b/app-text/stardict/stardict-1.3.ebuild
deleted file mode 100644
index 16f73141ae16..000000000000
--- a/app-text/stardict/stardict-1.3.ebuild
+++ /dev/null
@@ -1,41 +0,0 @@
-# Copyright 1999-2002 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/stardict/stardict-1.3.ebuild,v 1.1 2002/11/07 16:14:07 stubear Exp $
-
-IUSE=""
-DESCRIPTION="stardict - English-Chinese dictionary."
-HOMEPAGE="" # No known homepage - FIXME
-SRC_URI="ftp://ftp.cn.FreeBSD.org/pub/ported/${P}.tar.gz"
-LICENSE="GPL-1"
-SLOT="0"
-KEYWORDS="~x86"
-DEPEND="x11-libs/openmotif"
-RDEPEND="${DEPEND}"
-
-S=${WORKDIR}/zh-${P}
-
-src_unpack () {
- unpack ${A}
- cd ${S}
- patch -p1 < ${FILESDIR}/stardict-gentoo.patch || die
-}
-
-src_compile() {
- ./configure --prefix=/usr
- make all || die
-}
-
-src_install () {
- make prefix=${D}/usr install || die
- insinto /usr/share/stardict
- doins ${FILESDIR}/stardict-config.sh
- dodoc doc/faq doc/readme.txt doc/readme_en.txt
-}
-
-pkg_postinst () {
- einfo
- einfo ' To set up stardict with the correct'
- einfo ' font for Big5 or GB run'
- einfo ' "bash /usr/share/stardict/stardict-config.sh"'
- einfo
-}