debian/0000755000000000000000000000000011463062640007170 5ustar debian/postinst0000644000000000000000000000101011457343064010773 0ustar #! /bin/sh set -e PACKAGE=dict-xdict case "$1" in configure) if [ -x /usr/sbin/dictdconfig ]; then dictdconfig -w ;fi if [ -x /etc/init.d/dictd ]; then if which invoke-rc.d >/dev/null 2>&1; then invoke-rc.d dictd restart else /etc/init.d/dictd restart fi fi exit 0 ;; failed-upgrade|abort-upgrade|abort-remove|abort-deconfigure|in-favour|removing) exit 0; ;; *) echo "postinst called with unknown argument \`$1'" >&2; exit 0; ;; esac #DEBHELPER# debian/copyright0000644000000000000000000000174311457343064011135 0ustar This package was debianized by Emfox Zhou on Sun, 11 Dec 2005 02:41:24 +0800. Copyright (C) 1998 Edward Fu License: This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA On Debian systems, the complete text of the GNU General Public License can be found in "/usr/share/common-licenses/GPL-2". debian/README.Debian0000644000000000000000000000053711457343064011243 0ustar dict-xdict for Debian --------------------- XDict is an old QT application with the xdict library. The original developer, Fu Jianjun, released the XDict under GNU GPL(see the Chinese README in details). I exacted the library and converted it into dictd server format(RFC2229). -- Emfox Zhou , Sun, 11 Dec 2005 02:41:24 +0800 debian/dirs0000644000000000000000000000027411457343064010064 0ustar usr/share/dictd usr/share/opendict/dictionaries/plain/xdict.dict.dz/conf usr/share/opendict/dictionaries/plain/xdict.dict.dz/data usr/share/opendict/dictionaries/plain/xdict.dict.dz/file debian/changelog0000644000000000000000000000501111463062602011035 0ustar dict-xdict (0.1-4.2) unstable; urgency=low * Non-maintainer upload. - Move to packaging format "3.0 (quilt)". - Packaging changes approved by maintainer. See #574219. * debian/compat - Update to 8. * debian/control - (Build-Depends): Update to debhelper 8. - (Standards-Version): Update to 3.9.1. * debian/copyright - Point to GPL-2. * debian/postrm - (remove|purge): Check whether /etc/init.d/dictd exists and only then call invoke-rc.d or init.d script. Patch thanks to Hideki Yamane (serious; Closes: #574219). * debian/patches - (10): New. Convert direct changes to a patch (Lintian). * debian/rules - (install): Update dh_clean -k to dh_prep. * debian/source/format - New file. * debian/watch - New file. -- Jari Aalto Tue, 19 Oct 2010 19:28:11 +0300 dict-xdict (0.1-4.1) unstable; urgency=low * Non-maintainer upload. * Fix postinst so it's installable without dictd present. (Closes: #566556) * debian/control: Added missing ${misc:Depends}. [lintian] -- Theppitak Karoonboonyanan Mon, 15 Mar 2010 10:14:32 +0700 dict-xdict (0.1-4) unstable; urgency=low * Use invoke-rc.d instead of init.d directly. -- Emfox Zhou Mon, 13 Apr 2009 08:19:51 +0800 dict-xdict (0.1-3) unstable; urgency=low * Provide virtual package 'dictd-dictionary'. (Closes: #466221) * Update Policy to 3.7.3, no changes. -- Emfox Zhou Sun, 13 Apr 2008 10:23:14 +0800 dict-xdict (0.1-2) unstable; urgency=low [ Kęstutis Biliūnas ] * Added the plugin files for using the dict formatted dictionary with the OpenDict dictionary program. For that added files debian/xdict-conf.xml, dirs, links and accordingly added the new statements in the targets 'install' and 'binary-indep' of the debian/rules. * debian/control: - added the packages opendict, serpento and kdict to Suggests. Also dict moved to Suggests. (We do that in the dict-freedict packages and I think it is right. For example, the OpenDict can use this dictionary without dict-server running.) - bumped Standards-Version to 3.7.2. No changes required. [ Emfox Zhou ] * Ack the OpenDict related changes. Thanks to Kęstutis Biliūnas. (Closes: #425956) -- Emfox Zhou Sat, 02 Jun 2007 14:07:48 +0800 dict-xdict (0.1-1) unstable; urgency=low * Initial release Closes: #342816 -- Emfox Zhou Sun, 21 Jan 2007 14:44:54 +0000 debian/watch0000644000000000000000000000015511457343064010227 0ustar version=3 # A placeholder, when upstream URL is known # http://index.html .*package-([\d.]+).*\.tar\.gz debian/links0000644000000000000000000000031111457343064010233 0ustar usr/share/dictd/xdict.dict.dz usr/share/opendict/dictionaries/plain/xdict.dict.dz/file/xdict.dict.dz usr/share/dictd/xdict.index usr/share/opendict/dictionaries/plain/xdict.dict.dz/file/xdict.index debian/postrm0000755000000000000000000000101111457343064010440 0ustar #! /bin/sh set -e case "$1" in remove|purge) if [ -x /usr/sbin/dictdconfig ]; then dictdconfig -w fi if [ -x /etc/init.d/dictd ]; then if which invoke-rc.d > /dev/null 2>&1 ; then invoke-rc.d dictd restart else /etc/init.d/dictd restart fi fi exit 0 ;; upgrade|abort-upgrade|abort-remove|abort-deconfigure|in-favour|removing) exit 0 ;; *) echo "postinst called with unknown argument \"$1\"" >&2 exit 0 ;; esac #DEBHELPER# debian/rules0000755000000000000000000000263011457343064010256 0ustar #!/usr/bin/make -f # -*- makefile -*- # Sample debian/rules that uses debhelper. # This file was originally written by Joey Hess and Craig Small. # As a special exception, when this file is copied by dh-make into a # dh-make output file, you may use that output file without restriction. # This special exception was added by Craig Small in version 0.37 of dh-make. # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 CFLAGS = -Wall -g ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) CFLAGS += -O0 else CFLAGS += -O2 endif build: build-stamp build-stamp: dh_testdir cat Dictionary | /usr/bin/dictfmt -t xdict /usr/bin/dictzip -v xdict.dict touch build-stamp clean: dh_testdir dh_testroot rm -f build-stamp # Add here commands to clean up after the build process. rm -f xdict.* dh_clean install: build dh_testdir dh_testroot dh_prep dh_installdirs cp xdict.* debian/dict-xdict/usr/share/dictd install -m 644 debian/xdict-conf.xml \ $(CURDIR)/debian/dict-xdict/usr/share/opendict/dictionaries/plain/xdict.dict.dz/conf/config.xml binary-arch: build install # We have nothing to do by default. binary-indep: build install dh_testdir dh_testroot dh_installchangelogs dh_installdocs README dh_link dh_compress dh_fixperms dh_installdeb dh_gencontrol dh_md5sums dh_builddeb binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary install configure debian/control0000644000000000000000000000121111457343064010573 0ustar Source: dict-xdict Section: text Priority: optional Maintainer: Emfox Zhou Build-Depends: debhelper (>= 8) Build-Depends-Indep: dictfmt, dictzip Standards-Version: 3.9.1 Package: dict-xdict Architecture: all Depends: ${misc:Depends} Suggests: dictd | serpento, dict | opendict | kdict Provides: dictd-dictionary Description: An English to Chinese Dictionary This package contains the XDict, the Free English to Chinese Dictionary, which originally developed by Fu Jianjun, formatted for use by the dictionary server in the dictd package. . This package will be of limited use without the server found in the dictd package. debian/source/0000755000000000000000000000000011457343064010475 5ustar debian/source/format0000644000000000000000000000001411457343064011703 0ustar 3.0 (quilt) debian/patches/0000755000000000000000000000000011457343342010623 5ustar debian/patches/10-Dictionary.patch0000644000000000000000000001070711457343264014177 0ustar From 53b53718871ebb40434c21798939c78d8fac9c4e Mon Sep 17 00:00:00 2001 From: Jari Aalto Date: Tue, 19 Oct 2010 19:26:11 +0300 Subject: [PATCH] Dictionary: Debian chnages (unknown author) Organization: Private Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Signed-off-by: Jari Aalto --- Dictionary | 55 ++++++++++++++++++++++++++++++++++++------------------- 1 files changed, 36 insertions(+), 19 deletions(-) diff --git a/Dictionary b/Dictionary index d615a41..b4e9548 100644 --- a/Dictionary +++ b/Dictionary @@ -48,31 +48,27 @@ _____ gif .GIF - 图形文件扩展名,( GRAPHICS INTERCHANGE FORMAT -的缩写。一种可以提供计算机之间高效传输的图形文件格式) + 图形文件扩展名, (GRAPHICS INTERCHANGE FORMAT 的缩写。一种可以提供计算机之间高效传输的图形文件格式) _____ jpeg .JPEG - 静态图形压缩文件,( JOINT PHOTOGRAPHIC EXPERTS GROUP -的缩写,一种图形文件压缩格式) + 静态图形压缩文件, (JOINT PHOTOGRAPHIC EXPERTS GROUP 的缩写, 一种图形文件压缩格式) _____ mpeg .MPEG - 动态图形压缩文件,( MOTION PICTURE EXPERTS GROUP -的缩写,常用的视频文件存贮和压缩格式) + 动态图形压缩文件, ( MOTION PICTURE EXPERTS GROUP 的缩写, 常用的视频文件存贮和压缩格式) _____ tiff .TIFF - 图形文件扩展名,( TAGGED IMAGE FILE FORMAT -的缩写。是一种存贮多媒体图形文件的标准格式) + 图形文件扩展名, (TAGGED IMAGE FILE FORMAT 的缩写。是一种存贮多媒体图形文件的标准格式) _____ wav .WAV - 语音文件扩展名,(是存贮声音文件的一种标准格式) + 语音文件扩展名, (是存贮声音文件的一种标准格式) _____ web @@ -82,7 +78,7 @@ _____ 10baset 10BaseT - (Ethernet的另一种型态,它允许工作站利用双绞线连接) + (Ethernet的另一种型态, 它允许工作站利用双绞线连接) _____ 16 bit @@ -6116,24 +6112,23 @@ _____ aaas AAAS - [American Association for the Advancement of Science -的缩略]美国科学发展协会,[American Academy of Arts and -Sciences的缩略]美国科学艺术研究院 + [American Association for the Advancement of Science 的缩略] 美国科学发展协会 + [American Academy of Arts and Sciences 的缩略] 美国科学艺术研究院 _____ aabomycin +aabomycin 阿博霉素 _____ aaf AAF - [Army Air Forces的缩略]陆军航空队[美国] + [Army Air Forces 的缩略] 陆军航空队[美国] _____ aaja AAJA - [Afro-Asian Journalists' -Association的缩略]亚非新闻工作者协会 + [Afro-Asian Journalists' Association 的缩略] 亚非新闻工作者协会 _____ aalenian @@ -6153,18 +6148,21 @@ _____ aam AAM - [air-to-air missile的缩略]空对空导弹 + [air-to-air missile的缩略] 空对空导弹 _____ aardvark +aardvark n. 土猪 _____ aardwolf +aardwolf n. 土狼 _____ aaric +aaric 蘑菇 _____ @@ -6184,10 +6182,12 @@ AARP _____ aasmus +aasmus n. 气喘 _____ aasvogel +aasvogel n. 秃鹰之一种 _____ @@ -6197,6 +6197,7 @@ Aatrex _____ ab +ab from之意 _____ @@ -6242,7 +6243,8 @@ abacist _____ aback - ad. 向后地,朝后地 +aback + ad. 向后地, 朝后地 _____ abacterial @@ -6263,19 +6265,23 @@ Abaddon _____ abaft +abaft ad. 向船尾 prep. 在…后 _____ abaissement +abaissement 针拨术; 内障摘出术 _____ abalienate +abalienate 让渡 _____ abalienation +abalienation 让渡; 精神错乱状态; 精神紊乱 _____ @@ -6296,7 +6302,8 @@ abamurus _____ abandon - vt. 抛弃,离弃,遗弃;放弃 +abandon + vt. 抛弃, 离弃, 遗弃; 放弃 _____ abandon oneself to @@ -267619,35 +267626,43 @@ girdling _____ girl +girl n. 女孩子,姑娘;女儿;女仆,保姆;女工作人员 _____ girl friend +girl friend n. 女朋友 _____ girlfriend +girlfriend n. 女友 _____ girlhood +girlhood n. 少女时期,少女 n. 少女时期 _____ girlie +girlie n. 少女 _____ girlish +girlish a. 少女的,少女似的,适于女子的 _____ girls +girls n. 女孩子们 _____ giro +giro n. 直升飞机 _____ @@ -267663,11 +267678,13 @@ Girondist _____ girt +girt vt. 围绕 vi. 围长为 _____ girth +girth n. 腰身,周长,肚带 vt. 围绕,包围 vi. 围长为 -- 1.7.1 debian/patches/series0000644000000000000000000000002411457343342012034 0ustar 10-Dictionary.patch debian/xdict-conf.xml0000644000000000000000000000055211457343064011757 0ustar dict English-Chinese (XDICT) 0.1 xdict.dict.dz UTF-8 debian/compat0000644000000000000000000000000211457343064010373 0ustar 8