Imported Debian patch 1.2-5
Roland Rosenfeld
8 years ago
0 | ding (1.2-5) unstable; urgency=low | |
1 | ||
2 | * s/summarieses/summarises/, s/formating/formatting/, | |
3 | s/license/to license/ (Closes: #229463). | |
4 | * Remove duplicated "::" from dictionary (line "in terms of"). | |
5 | * Build dict-de-en package from this source instead of providing | |
6 | a separate source package which build-depends from this package | |
7 | (Thanks to Andreas Tille <tille@debian.org> for providing this). | |
8 | * Added "Homepage:" to long decription according to developers | |
9 | reference. | |
10 | * Added Build-Depends from dict-de-en. | |
11 | * dict-de-en depends from dict-server (instead of dictd) | |
12 | (Closes: #227513). | |
13 | * Recode dictd dictionary to UTF-8 (Closes: #217210). | |
14 | * Rewrite of conv.py in Perl. | |
15 | * Split alternatives ("|") for dictd usage into multiple entries. | |
16 | * Add invoke-rc.d support to dict-de-en postinst/postrm scripts. | |
17 | * Missing " : " added to some abbreviations. | |
18 | * Add support for abbreviations (defined by " : ") (Closes: #222824). | |
19 | * Add "Beschluss {m} | Beschlüsse {pl} :: resolution | resolutions" | |
20 | (Closes: 230156). | |
21 | ||
22 | -- Roland Rosenfeld <roland@debian.org> Sat, 31 Jan 2004 09:29:47 +0100 | |
23 | ||
0 | 24 | ding (1.2-4) unstable; urgency=low |
1 | 25 | |
2 | 26 | * Distinguish between summarize [Am.] and summariese [Br.] (Closes: #212140). |
2 | 2 | Priority: optional |
3 | 3 | Maintainer: Roland Rosenfeld <roland@debian.org> |
4 | 4 | Standards-Version: 3.6.1 |
5 | Build-Depends-Indep: debhelper (>= 4), man-db, bsdmainutils | |
5 | Build-Depends-Indep: debhelper (>= 4), man-db, bsdmainutils, dictfmt, dictzip, locales, recode | |
6 | 6 | |
7 | 7 | Package: ding |
8 | 8 | Architecture: all |
25 | 25 | German-English dictionary which can be found in the trans-de-en |
26 | 26 | package, but you can use every other translation word lists with one |
27 | 27 | entry per line. |
28 | . | |
29 | Homepage: http://www-user.tu-chemnitz.de/~fri/ding/ | |
28 | 30 | |
29 | 31 | Package: trans-de-en |
30 | 32 | Architecture: all |
35 | 37 | . |
36 | 38 | This dictionary was designed for the "ding" dictionary lookup |
37 | 39 | program, but may be used by other clients, too. |
40 | . | |
41 | The source of the database is available from | |
42 | http://dict.tu-chemnitz.de/ | |
43 | ||
44 | Package: dict-de-en | |
45 | Architecture: all | |
46 | Depends: dict, dict-server | |
47 | Description: German-English translation dictionary for dictd | |
48 | German-English and English-Deutsch translation dictionary for | |
49 | the dictd server. It contains approximately 124,000 entries. | |
50 | . | |
51 | The source of the database is available from | |
52 | http://dict.tu-chemnitz.de/ |
0 | #! /usr/bin/perl -w | |
1 | # | |
2 | # Based on conv.py, which is GPL | |
3 | # Copyright (C) 2002 John Goerzen | |
4 | # | |
5 | # Rewrite in perl by | |
6 | # Copyright (C) 2004 Roland Rosenfeld <roland@spinnaker.de> | |
7 | # | |
8 | # This program is free software; you can redistribute it and/or | |
9 | # modify it under the terms of the GNU General Public License as | |
10 | # published by the Free Software Foundation; either version 2 of | |
11 | # the License, or (at your option) any later version. | |
12 | # | |
13 | # This program is distributed in the hope that it will be useful, | |
14 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
15 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
16 | # General Public License for more details. | |
17 | # | |
18 | # You should have received a copy of the GNU General Public License | |
19 | # along with this program; if not, write to the Free Software | |
20 | # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |
21 | # | |
22 | # $Id: conv.pl,v 1.7 2004/01/25 22:37:42 roland Exp $ | |
23 | # | |
24 | ||
25 | use strict; | |
26 | my $reverse = 0; | |
27 | if (($#ARGV>=0) && ($ARGV[0] eq '-r')) { | |
28 | $reverse = 1; | |
29 | $ARGV = shift; | |
30 | } | |
31 | ||
32 | while (<>) { | |
33 | if (/^\#/) { | |
34 | print; | |
35 | next; | |
36 | } | |
37 | if (! /::/) { | |
38 | next; | |
39 | } | |
40 | chomp; | |
41 | my ($entry, $definition) = split / :: /; | |
42 | if (($entry =~ /^\s*$/) || ($definition =~ /^\s*$/)) { | |
43 | next; | |
44 | } | |
45 | if ($entry =~ / : /) { | |
46 | my ($eshort, $elong) = split / : /, $entry; | |
47 | my ($dshort, $dlong) = split / : /, $definition; | |
48 | if ($reverse) { | |
49 | doall ("$dshort : $dlong", "$eshort : $elong") unless $dshort eq '-'; | |
50 | doall ("$dlong : $dshort", "$elong : $eshort") unless $dlong eq '-'; | |
51 | } else { | |
52 | doall ("$eshort : $elong", "$dshort : $dlong") unless $eshort eq '-'; | |
53 | doall ("$elong : $eshort", "$dlong : $dshort") unless $elong eq '-'; | |
54 | } | |
55 | } else { | |
56 | if ($reverse) { | |
57 | doall ($definition, $entry); | |
58 | } else { | |
59 | doall ($entry, $definition); | |
60 | } | |
61 | } | |
62 | } | |
63 | ||
64 | sub doall { | |
65 | my ($entry, $definition) = @_; | |
66 | my @elist = split /\|/, $entry; | |
67 | my @dlist = split /\|/, $definition; | |
68 | if ($#elist != $#dlist) { | |
69 | print STDERR "Fehler: $entry :: $definition\n"; | |
70 | next; | |
71 | } | |
72 | for (my $i=0; $i<=$#elist; $i++) { | |
73 | $entry = $elist[$i]; | |
74 | $definition = $dlist[$i]; | |
75 | for ($entry, $definition) { | |
76 | s/^\s+//; | |
77 | s/\s+$//; | |
78 | } | |
79 | if ($entry eq '' || $definition eq '') { | |
80 | next; | |
81 | } | |
82 | $entry =~ s/^to //; | |
83 | printdef ($entry, $definition); | |
84 | } | |
85 | } | |
86 | ||
87 | sub printdef { | |
88 | my ($entry, $definition) = @_; | |
89 | my @entrylist = split /;/, $entry; | |
90 | foreach $entry (@entrylist) { | |
91 | my $comment = ''; | |
92 | # move heading () after the main entry: | |
93 | $entry =~ s/^(\([^\)]+\))\s*([^\[\{\(]+)/$2 $1/; | |
94 | if ($entry =~ /[\[\(\{]| : /) { | |
95 | ($entry, $comment) = $entry =~ /^([^\[\(\{]*)(([\[\(\{]| : ).*)$/; | |
96 | } | |
97 | for ($entry, $comment) { | |
98 | s/^\s+//; | |
99 | s/\s+$//; | |
100 | } | |
101 | if ($comment ne '') { | |
102 | $comment = " $comment"; | |
103 | } | |
104 | print ":$entry:$comment\n"; | |
105 | print " $definition\n"; | |
106 | } | |
107 | } |
0 | #!/usr/bin/python | |
1 | # By John Goerzen | |
2 | # GPL | |
3 | # Copyright (C) 2002 John Goerzen | |
4 | from sys import argv, stdin, stdout | |
5 | import re | |
6 | ||
7 | reverse = 0 | |
8 | ||
9 | if len(argv) >= 2 and argv[1] == '-r': | |
10 | reverse = 1 | |
11 | ||
12 | def printdef(entry, definition): | |
13 | entrylist = entry.split(';') | |
14 | definition = definition.strip() | |
15 | for item in entrylist: | |
16 | bracetype = re.search('[(\[{].+[)\]}]', item) | |
17 | if bracetype: | |
18 | bracetype = " " + bracetype.group(0) | |
19 | item = re.sub('[(\[{].+[)\]}]', '', item) | |
20 | else: | |
21 | bracetype = "" | |
22 | item = item.strip() | |
23 | if reverse: | |
24 | if item.startswith("to "): | |
25 | item = item[3:] | |
26 | print ":%s:%s" % (item, bracetype) | |
27 | print " %s" % (definition) | |
28 | ||
29 | while 1: | |
30 | line = stdin.readline() | |
31 | if not line: | |
32 | break | |
33 | line.strip() | |
34 | if line[0] == '#': | |
35 | stdout.write(line) | |
36 | continue | |
37 | ||
38 | if line.find("::") == -1: | |
39 | continue | |
40 | entry, definition = line.split("::") | |
41 | if not entry.strip() or not definition.strip(): | |
42 | continue | |
43 | if not reverse: | |
44 | printdef(entry, definition) | |
45 | else: | |
46 | printdef(definition, entry) | |
47 |
0 | #! /bin/sh | |
1 | # | |
2 | # see: dh_installdeb(1) | |
3 | ||
4 | set -e | |
5 | ||
6 | # summary of how this script can be called: | |
7 | # * <postinst> `configure' <most-recently-configured-version> | |
8 | # * <old-postinst> `abort-upgrade' <new version> | |
9 | # * <conflictor's-postinst> `abort-remove' `in-favour' <package> | |
10 | # <new-version> | |
11 | # * <deconfigured's-postinst> `abort-deconfigure' `in-favour' | |
12 | # <failed-install-package> <version> `removing' | |
13 | # <conflicting-package> <version> | |
14 | # for details, see http://www.debian.org/doc/debian-policy/ or | |
15 | # the debian-policy package | |
16 | # | |
17 | # quoting from the policy: | |
18 | # Any necessary prompting should almost always be confined to the | |
19 | # post-installation script, and should be protected with a conditional | |
20 | # so that unnecessary prompting doesn't happen if a package's | |
21 | # installation fails and the `postinst' is called with `abort-upgrade', | |
22 | # `abort-remove' or `abort-deconfigure'. | |
23 | ||
24 | case "$1" in | |
25 | configure) | |
26 | DICTDEFAULTS=/etc/default/dictd | |
27 | ||
28 | if `sed "s/#.*//" ${DICTDEFAULTS} | grep -q -w UTF-8` ; then | |
29 | echo ${DICTDEFAULTS} is OK. | |
30 | else | |
31 | echo ${DICTDEFAULTS} will be fixed ... | |
32 | echo "DICTD_ARGS=\"$DICTD_ARGS --locale=de_DE.UTF-8\"" \ | |
33 | >> ${DICTDEFAULTS} | |
34 | fi | |
35 | ||
36 | [ -x /usr/sbin/dictdconfig ] && dictdconfig -w | |
37 | if [ -x /etc/init.d/dictd ] | |
38 | then | |
39 | if [ -x /usr/sbin/invoke-rc.d ] | |
40 | then | |
41 | invoke-rc.d dictd restart | |
42 | else | |
43 | /etc/init.d/dictd restart | |
44 | fi | |
45 | fi | |
46 | ;; | |
47 | ||
48 | abort-upgrade|abort-remove|abort-deconfigure) | |
49 | ;; | |
50 | ||
51 | *) | |
52 | echo "postinst called with unknown argument \`$1'" >&2 | |
53 | exit 1 | |
54 | ;; | |
55 | esac | |
56 | ||
57 | # dh_installdeb will replace this with shell code automatically | |
58 | # generated by other debhelper scripts. | |
59 | ||
60 | #DEBHELPER# | |
61 | ||
62 | exit 0 | |
63 | ||
64 |
0 | #! /bin/sh | |
1 | # | |
2 | # see: dh_installdeb(1) | |
3 | ||
4 | set -e | |
5 | ||
6 | # summary of how this script can be called: | |
7 | # * <postrm> `remove' | |
8 | # * <postrm> `purge' | |
9 | # * <old-postrm> `upgrade' <new-version> | |
10 | # * <new-postrm> `failed-upgrade' <old-version> | |
11 | # * <new-postrm> `abort-install' | |
12 | # * <new-postrm> `abort-install' <old-version> | |
13 | # * <new-postrm> `abort-upgrade' <old-version> | |
14 | # * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version> | |
15 | # for details, see http://www.debian.org/doc/debian-policy/ or | |
16 | # the debian-policy package | |
17 | ||
18 | ||
19 | case "$1" in | |
20 | purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) | |
21 | ||
22 | [ -x /usr/sbin/dictdconfig ] && dictdconfig -w | |
23 | ||
24 | if [ -x /etc/init.d/dictd ] | |
25 | then | |
26 | if [ -x /usr/sbin/invoke-rc.d ] | |
27 | then | |
28 | invoke-rc.d dictd restart | |
29 | else | |
30 | /etc/init.d/dictd restart | |
31 | fi | |
32 | fi | |
33 | ;; | |
34 | ||
35 | *) | |
36 | echo "postrm called with unknown argument \`$1'" >&2 | |
37 | exit 1 | |
38 | ;; | |
39 | ||
40 | esac | |
41 | ||
42 | # dh_installdeb will replace this with shell code automatically | |
43 | # generated by other debhelper scripts. | |
44 | ||
45 | #DEBHELPER# | |
46 | ||
47 | exit 0 |
15 | 15 | build-stamp: |
16 | 16 | dh_testdir |
17 | 17 | |
18 | # Build dictionaries for dictd daemon | |
19 | mkdir locale | |
20 | localedef -i de_DE -f UTF-8 locale/de_DE | |
21 | ./debian/conv.pl < ger-eng.txt | \ | |
22 | recode -f iso-8859-1..UTF-8 | \ | |
23 | env LOCPATH=locale dictfmt -j --locale de_DE.utf-8 \ | |
24 | -u 'http://dict.tu-chemnitz.de/' \ | |
25 | -s 'German - English Dictionary 1.2' \ | |
26 | german-english | |
27 | dictzip german-english.dict | |
28 | localedef -i en_US -f UTF-8 locale/en_US | |
29 | ./debian/conv.pl -r < ger-eng.txt | \ | |
30 | recode -f iso-8859-1..UTF-8 | \ | |
31 | env LOCPATH=locale dictfmt -j --locale en_US.utf-8 \ | |
32 | -u 'http://dict.tu-chemnitz.de/' \ | |
33 | -s 'English - German Dictionary 1.2' \ | |
34 | english-german | |
35 | dictzip english-german.dict | |
36 | ||
18 | 37 | touch build-stamp |
19 | 38 | |
20 | 39 | clean: |
21 | 40 | dh_testdir |
22 | 41 | dh_testroot |
23 | 42 | rm -f build-stamp |
43 | ||
44 | -rm -f *.dz *.index *.dict *.dictfmt | |
45 | -rm -rf locale | |
24 | 46 | |
25 | 47 | dh_clean |
26 | 48 | |
63 | 85 | dh_installdocs |
64 | 86 | dh_installexamples |
65 | 87 | dh_installmenu |
88 | dh_install | |
66 | 89 | # dh_installdebconf |
67 | 90 | # dh_installlogrotate |
68 | 91 | # dh_installemacsen |
6458 | 6458 | Beschluss {m}; Beschlufl {m} [alt] :: decision |
6459 | 6459 | Beschluss {m}; Bestimmtheit {f} :: determination |
6460 | 6460 | Beschluss {m} | den Beschluss fassen, etwas zu tun :: resolve | to make a resolve to do something |
6461 | Beschluss {m} | Beschlüsse {pl} :: resolution | resolutions | |
6461 | 6462 | Beschlussfähigkeit {f} :: quorum |
6462 | 6463 | Beschlussunfähigkeit {f} :: absence of quorum |
6463 | 6464 | Beschmutzer {m} | Beschmutzer {pl} :: defiler | defilers |
15570 | 15571 | Forderungsübernahme {f} :: assumption of indebtedness |
15571 | 15572 | Forelle {f} [zool.] | Forellen {pl} :: trout | trouts |
15572 | 15573 | Form {f} | in aller Form :: form | in due form |
15573 | in Form von; im Sinne als; hinsichtlich :: :: in terms of | |
15574 | in Form von; im Sinne als; hinsichtlich :: in terms of | |
15574 | 15575 | Formabweichungen {pl} :: geometrical error |
15575 | 15576 | Formaldehyd {n} [chem.] :: formaldehyde |
15576 | 15577 | Formalin {n} [chem.] :: formalin |
70456 | 70457 | fasst falsch auf :: misconceives |
70457 | 70458 | fasst ins Auge :: envisages |
70458 | 70459 | fasst sich :: recollects |
70459 | fasst zusammen :: summarizes [Am.]; summarieses [Br.] | |
70460 | fasst zusammen :: summarizes [Am.]; summarises [Br.] | |
70460 | 70461 | fasst ab :: indites |
70461 | 70462 | fasst zusammen :: recapitulates |
70462 | 70463 | fasste :: collared |
71356 | 71357 | formalistisch {adv} :: formalisticly |
71357 | 71358 | formatfrei :: nonformatted |
71358 | 71359 | formatieren :: to format |
71359 | formatierend :: formating | |
71360 | 71360 | formatierend :: formatting |
71361 | 71361 | formatiert :: formatted |
71362 | 71362 | formatiert :: formats |
81896 | 81896 | liturgisch :: liturgic |
81897 | 81897 | liturgische :: liturgical |
81898 | 81898 | liturgisch {adv} :: liturgically |
81899 | lizenzieren :: license | |
81899 | lizenzieren :: to license | |
81900 | 81900 | lizenziert :: licensed |
81901 | 81901 | lobbend :: lobbing |
81902 | 81902 | loben :: to commend |
114467 | 114467 | Pkt. : Punkt :: pt : point |
114468 | 114468 | Pkw, PKW : Personenkraftwagen :: - : motor car |
114469 | 114469 | Pl. : Platz :: Sq., Pl. : Square, Place |
114470 | PLZ : Postleitzahl :: : postcode, zip code [Am.] | |
114470 | PLZ : Postleitzahl :: - : postcode, zip code [Am.] | |
114471 | 114471 | pp(a). : per Prokura :: p.p. : per pro(c).; per procurationem; by proxy |
114472 | 114472 | Priv.-Doz. : Privatdozent :: - : unsalaried lecturer |
114473 | 114473 | Prof. : Professor :: Prof. : Professor |
114733 | 114733 | - : elektronischer Zahlungsverkehr :: EFT : electronic funds transfer |
114734 | 114734 | - : gekapseltes Postscript :: EPS : encapsulated PostScript |
114735 | 114735 | ESA : Europäische Weltraumbehörde :: ESA : European Space Agency |
114736 | ESZB : Europäisches System der Zentralbanken :: : European System of Central Banks | |
114736 | ESZB : Europäisches System der Zentralbanken :: - : European System of Central Banks | |
114737 | 114737 | EWI : Europäisches Währungsinstitut :: EMI : European Monetary Institute |
114738 | 114738 | EWS : Europäisches Währungssystem :: EMS : European Monetary System |
114739 | 114739 | EWWU : Europäische Wirtschafts- und Währungsunion :: EEMU : European Economic and Monetary Union |
114783 | 114783 | - : britische Schulabschlussprüfung :: GCSE : General Certificate of Secondary Education [Br.] |
114784 | 114784 | BIP : Bruttoinlandsprodukt {n} :: GDP : Gross Domestic Product |
114785 | 114785 | - : General {m} :: Gen. : General |
114786 | - : amerikanischer Soldat :: GI : | |
114786 | - : amerikanischer Soldat :: GI : - | |
114787 | 114787 | - : von der Regierung ausgegeben, Staatseigentum :: GI : government issue |
114788 | 114788 | BSP : Bruttosozialprodukt {n} :: GNP : gross national product |
114789 | 114789 | - : Regierung {f} :: Gov., Govt. : government |
115018 | 115018 | VHF : Ultrakurzwellenbereich :: VHF : very high frequency |
115019 | 115019 | VIP : prominente Persönlichkeit :: VIP : very important person |
115020 | 115020 | - : contra, gegen :: vs. : versus |
115021 | - Tierarzt {m} :: VS : veterinary surgeon | |
115021 | - : Tierarzt {m} :: VS : veterinary surgeon | |
115022 | 115022 | - : Qualitätsmerkmal für Weinbrand :: VSOP : very special (superior) old pale |
115023 | 115023 | - : umgekehrt :: vv, v.v. : vice versa |
115024 | 115024 | - : Angehöriger des weißen amerikanischen Bürgertums (protestantischem Glaubens) :: WASP : White Anglo-Saxon Protestant |
115086 | 115086 | - : soweit ich sagen kann :: AFAICT : as far as I can tell |
115087 | 115087 | - : soviel ich weifl, soweit ich weifl :: AFAIK : as far as I know |
115088 | 115088 | - : abwesend vom Computer, nicht an der Tastatur :: AFK : away from keyboard |
115089 | - Bin ich Jesus? :: AIJ : Am I Jesus? | |
115089 | - : Bin ich Jesus? :: AIJ : Am I Jesus? | |
115090 | 115090 | - : so, wie ich die Sache sehe :: AISI : as I see it |
115091 | 115091 | - : so, wie ich es verstehe :: AIUI : as I understand it |
115092 | 115092 | - : auch bekannt als :: AKA : also known as |
115979 | 115979 | Al-Iskandariyah; Alexandria (Stadt in Ägypten) :: Al-Iskandariyah; Alexandria (city in Egypt) |
115980 | 115980 | Houston (Stadt in USA) :: Houston (city in USA) |
115981 | 115981 | Wuhan (Stadt in China) :: Wuhan (city in China) |
115982 | Yangon; Rangun; Rangoon (Hauptstadt von Myanmar; Burma) :: Yangon; Rangoon (capital of Myanmar; Birma) | |
115982 | Yangon; Rangun; Rangoon (Hauptstadt von Myanmar, Burma) :: Yangon; Rangoon (capital of Myanmar, Birma) | |
115983 | 115983 | Chongqing (Stadt in China) :: Chongqing (city in China) |
115984 | 115984 | Harbin (Stadt in China) :: Harbin (city in China) |
115985 | 115985 | Shenyang (Stadt in China) :: Shenyang (city in China) |