aboutsummaryrefslogtreecommitdiff
path: root/chinese/pyDict/files
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2012-11-28 17:29:52 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2012-11-28 17:29:52 +0000
commit47547a0dde50defb9a91700e075c0396e0fb5c86 (patch)
tree0123d5f1766f050e6b380f66d1cd64ae985f338a /chinese/pyDict/files
parent567ce25ba3c2f450f149ae6e33aadd782c722b8f (diff)
downloadports-47547a0dde50defb9a91700e075c0396e0fb5c86.tar.gz
ports-47547a0dde50defb9a91700e075c0396e0fb5c86.zip
Notes
Diffstat (limited to 'chinese/pyDict/files')
-rw-r--r--chinese/pyDict/files/gtkrc.zh_TW.big5.sample6
-rw-r--r--chinese/pyDict/files/patch-dict.py50
-rw-r--r--chinese/pyDict/files/pkg-message.in8
3 files changed, 0 insertions, 64 deletions
diff --git a/chinese/pyDict/files/gtkrc.zh_TW.big5.sample b/chinese/pyDict/files/gtkrc.zh_TW.big5.sample
deleted file mode 100644
index 205a26cb8b7f..000000000000
--- a/chinese/pyDict/files/gtkrc.zh_TW.big5.sample
+++ /dev/null
@@ -1,6 +0,0 @@
-style "default" {
- fontset = "-adobe-helvetica-medium-r-normal--14-100-100-100-p-76-iso8859-1,\
- -*-medium-r-normal--14-*-*-*-*-*-big5-0"
-}
-class "GtkWidget" style "default"
-
diff --git a/chinese/pyDict/files/patch-dict.py b/chinese/pyDict/files/patch-dict.py
deleted file mode 100644
index 731397e038df..000000000000
--- a/chinese/pyDict/files/patch-dict.py
+++ /dev/null
@@ -1,50 +0,0 @@
---- ./dict.py.orig Wed Oct 17 22:02:16 2007
-+++ ./dict.py Tue Nov 6 18:28:47 2007
-@@ -1,4 +1,5 @@
- #!/usr/bin/env python
-+# -*- coding: big5 -*-
- #-------------------------------------------------
- # this is a program that utilize the library of xdict.
- # Made by Daniel Gau <r90057@im.ntu.edu.tw>
-@@ -322,16 +323,17 @@
- """Get the word this object describes."""
- return self.word
-
--from gtk import *
--from GDK import *
-+prop = [" "," "," ","<<形容詞>>","<<副詞>>","art. ","<<連接詞>>","int. ","<<名詞>>"," "," ","num. ", "prep. "," ","pron. ","<<動詞>>","<<助動詞>>","<<非及物動詞>>","<<及物動詞>>","vbl. "," ","st. ", "pr. ","<<過去分詞>>","<<複數>>","ing. "," ","<<形容詞>>","<<副詞>>","pla. ","pn. "," "]
-+
- from string import split,replace,strip,lstrip,find,lower
--import GtkExtra
- import sys,os,string
-+if os.environ.has_key('DISPLAY') and len(sys.argv) == 1:
-+ from gtk import *
-+ from GDK import *
-+ import GtkExtra
-
-
--prop = [" "," "," ","<<形容詞>>","<<副詞>>","art. ","<<連接詞>>","int. ","<<名詞>>"," "," ","num. ", "prep. "," ","pron. ","<<動詞>>","<<助動詞>>","<<非及物動詞>>","<<及物動詞>>","vbl. "," ","st. ", "pr. ","<<過去分詞>>","<<複數>>","ing. "," ","<<形容詞>>","<<副詞>>","pla. ","pn. "," "]
--
--class Pref(GtkDialog):
-+ class Pref(GtkDialog):
- def __init__(self,modal=TRUE,app=None):
- GtkDialog.__init__(self)
- self.connect("destroy", self.quit)
-@@ -482,7 +484,7 @@
- def quit(self,w=None,event=None):
- self.hide()
-
--class HelpDialog(GtkDialog):
-+ class HelpDialog(GtkDialog):
- def __init__(self,modal=TRUE,file=None):
- GtkDialog.__init__(self)
- self.set_title("pyDict Help")
-@@ -542,7 +544,7 @@
- self.quit()
-
-
--class App(GtkWindow):
-+ class App(GtkWindow):
- def __init__(self):
- GtkWindow.__init__(self,WINDOW_TOPLEVEL)
- self.create_vars()
diff --git a/chinese/pyDict/files/pkg-message.in b/chinese/pyDict/files/pkg-message.in
deleted file mode 100644
index 9f572dd8cba5..000000000000
--- a/chinese/pyDict/files/pkg-message.in
+++ /dev/null
@@ -1,8 +0,0 @@
-
----------------------------------------------------------
-If you experience problems displaying Chinese, first make
-sure that you have correct locale settings, then copy
-%%PREFIX%%/lib/X11/pyDict/gtkrc.zh_TW.big5.sample to
-~/.gtkrc.zh_TW.big5 and try again.
----------------------------------------------------------
-