From 47547a0dde50defb9a91700e075c0396e0fb5c86 Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Wed, 28 Nov 2012 17:29:52 +0000 Subject: 2012-11-28 chinese/pyDict: Depends on the expired gtkglarea through py-gtk [1] 2012-11-28 x11-toolkits/py-gtk: Depends on the expired gtkglarea [2] Approved by: silence of maintainer [1] gnome (kwm) [2] Feature safe: yes --- chinese/pyDict/files/gtkrc.zh_TW.big5.sample | 6 ---- chinese/pyDict/files/patch-dict.py | 50 ---------------------------- chinese/pyDict/files/pkg-message.in | 8 ----- 3 files changed, 64 deletions(-) delete mode 100644 chinese/pyDict/files/gtkrc.zh_TW.big5.sample delete mode 100644 chinese/pyDict/files/patch-dict.py delete mode 100644 chinese/pyDict/files/pkg-message.in (limited to 'chinese/pyDict/files') 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 -@@ -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. ---------------------------------------------------------- - -- cgit v1.2.3