--- mova-4.0.orig/usr/local/bin/mova +++ mova-4.0/usr/local/bin/mova @@ -15,7 +15,7 @@ esac #Default Directory for .movarc, if absent ~/.movarc -MD=/usr/local/share/mova/ +MD=/etc/mova/ XW () { sed 's/$/\ @@ -41,10 +41,10 @@ &/g; s/[1-9][0-9]*>/_\ &/g; s/[]>/\ &/g; s/_[AISE][a-z]*:/_\ - &/g; s/_[^ ][^ ]*[.:]/\\fI&\\fP/g; s/_//g; s///g; s//O/g; s/\( \[[^]]*\)/\1`/g; s/\( \[[^]]*\)/\1,/g; s/\( \[[^]]*\)/\1`/g; s/\( \[[^]]*\)/\1,/g' | fmt -s -w 46 |groff -Tlatin1 | less;} + &/g; s/_[^ ][^ ]*[.:]/\\fI&\\fP/g; s/_//g; s///g; s//O/g; s/\( \[[^]]*\)/\1`/g; s/\( \[[^]]*\)/\1,/g; s/\( \[[^]]*\)/\1`/g; s/\( \[[^]]*\)/\1,/g' | fmt -s -w 46 |groff -Tlatin1 | sensible-pager;} DEF () { -test -f ${MD}.movarc && DIRD=`cat ${MD}.movarc | sed -n '6,6p'`share/dict/ && DEFD=`cat ${MD}.movarc | sed -n '8,8p'` +test -f ${MD}Movarc && DIRD=`cat ${MD}Movarc | sed -n '6,6p'`share/dict/ && DEFD=`cat ${MD}Movarc | sed -n '8,8p'` test -f ~/.movarc && DIRD=`cat ~/.movarc | sed -n '6,6p'`share/dict/ && DEFD=`cat ~/.movarc | sed -n '8,8p'` if [ "$DIC" = "-d" ]; then DIC=$DIRD$DEFD; else DIC=$DIRD$DIC; fi;} --- mova-4.0.orig/usr/local/bin/movaTK +++ mova-4.0/usr/local/bin/movaTK @@ -5,7 +5,7 @@ exec wish "$0" "$@" #Default Directory for "share/mova/.movarc", if absent "~/.movarc" -set DIR /usr/local/ +set DIR /usr/ set OPT -W set DIARY .mova @@ -21,15 +21,15 @@ proc GetOptions {} { global DIR DIC DIR_TMP DIC_ARG FONT_FIND FONT_TEXT FONT_D FONT_DG FONT_IPA if {([catch {set rcfile [open "~/.movarc_${DIC_ARG}" "r"]} Error] && -[catch {set rcfile [open "${DIR}share/mova/.movarc_${DIC_ARG}" "r"]} Error] && +[catch {set rcfile [open "/etc/mova/Movarc_${DIC_ARG}" "r"]} Error] && [catch {set rcfile [open "~/.movarc" "r"]} Error] && -[catch {set rcfile [open "${DIR}share/mova/.movarc" "r"]} Error] ) != 0} { +[catch {set rcfile [open "/etc/mova/Movarc" "r"]} Error] ) != 0} { set FONT_FIND -*-*-bold-r-*-*-17-*-*-*-*-*-koi8-r set FONT_TEXT -*-*-medium-r-*-*-17-*-*-*-*-*-koi8-r set FONT_D -*-*-medium-o-*-*-17-*-*-*-*-*-koi8-r set FONT_DG -*-*-bold-o-*-*-17-*-*-*-*-*-koi8-r set FONT_IPA -*-silsophiaipa-*-r-*-17-*-*-*-*-*-*-* -set DIR /usr/local/ +set DIR /usr/ set DIC Mueller7GPL.koi set DIR_TMP /tmp/ } else { @@ -155,8 +155,8 @@ proc Mova {arg} { global word argv0 index_dic if {[catch {set word [selection get]} error] != 0} {set word " " -bell -displayof . -puts "Let us mark a word by the mouse and then run:\n$argv0 OPT DICTIONARY\nWhere OPT is \"-W\" or \"-B\" or \"-S\" or \"-T\". DICTIONARY - name of dictionary file (if the one was't set, you will use default dictionary from \"~/.movarc\"). Let us run \"mova\" for explanation of OPT.\n"} +#bell -displayof . +#puts "Let us mark a word by the mouse and then run:\n$argv0 OPT DICTIONARY\nWhere OPT is \"-W\" or \"-B\" or \"-S\" or \"-T\". DICTIONARY - name of dictionary file (if the one was't set, you will use default dictionary from \"~/.movarc\"). Let us run \"mova\" for explanation of OPT.\n"} set word [string tolower [string trimleft $word " \"\(\{"]] set hash_word [string index $word 0][string index $word 1] Fresh --- mova-4.0.orig/usr/local/bin/movaMTK +++ mova-4.0/usr/local/bin/movaMTK @@ -5,7 +5,7 @@ exec wish "$0" "$@" #Default Directory for "share/mova/.movarc", if absent "~/.movarc" -set DIR /usr/local/ +set DIR /usr/ set OPT -W set DIARY .mova global u @@ -29,9 +29,9 @@ proc GetOptions {} { global DIR DIC DIR_TMP DIC_ARG FONT_FIND FONT_TEXT FONT_D FONT_DG FONT_IPA if {([catch {set rcfile [open "~/.movarc_${DIC_ARG}" "r"]} Error] && -[catch {set rcfile [open "${DIR}share/mova/.movarc_${DIC_ARG}" "r"]} Error] && +[catch {set rcfile [open "/etc/mova/Movarc_${DIC_ARG}" "r"]} Error] && [catch {set rcfile [open "~/.movarc" "r"]} Error] && -[catch {set rcfile [open "${DIR}share/mova/.movarc" "r"]} Error]) != 0} { +[catch {set rcfile [open "/etc/mova/Movarc" "r"]} Error]) != 0} { set FONT_FIND -*-*-bold-r-*-*-17-*-*-*-*-*-koi8-r set FONT_TEXT -*-*-medium-r-*-*-17-*-*-*-*-*-koi8-r set FONT_D -*-*-medium-o-*-*-17-*-*-*-*-*-koi8-r @@ -97,9 +97,8 @@ proc Mova {arg} { global word argv0 DIC DIR if {[catch {set word [selection get]} error] != 0} { -bell -displayof . -puts "Let us mark a word by the mouse and then run:\n$argv0 OPT DICTIONARY\nWhere OPT is \"-W\" or \"-B\" or \"-S\" or \"-T\". DICTIONARY - name of - dictionary (if the one was't set, you will use default dictionary from \"~/.movarc\"). Let us run \"mova\" for explanation of OPT.\n" +#puts "Let us mark a word by the mouse and then run:\n$argv0 OPT DICTIONARY\nWhere OPT is \"-W\" or \"-B\" or \"-S\" or \"-T\". DICTIONARY - name of +# dictionary (if the one was't set, you will use default dictionary from \"~/.movarc\"). Let us run \"mova\" for explanation of OPT.\n" } else { set word [string tolower [string trimleft $word " \"\(\{"]] .word insert 0.0 "$word\n\n" --- mova-4.0.orig/usr/local/share/mova/.movarc +++ mova-4.0/usr/local/share/mova/.movarc @@ -3,7 +3,7 @@ -*-*-medium-o-*-*-20-*-*-*-*-*-koi8-r -*-*-bold-o-*-*-20-*-*-*-*-*-koi8-r -*-silsophiaipa-*-r-*-21-*-*-*-*-*-*-* -/usr/local/ +/usr/ /tmp/ Mueller7GPL.koi --- mova-4.0.orig/debian/changelog +++ mova-4.0/debian/changelog @@ -0,0 +1,71 @@ +mova (4.0-4.2) unstable; urgency=medium + + * Non-maintainer upload during BSP. + * Install xpm-Files now to /usr/share/pixmaps (Closes: #405192). + + -- Mario Iseli Sat, 19 May 2007 16:14:09 +0200 + +mova (4.0-4.1) unstable; urgency=low + + * NMU + * Fix mova to call sensible-pager instead of less. Thanks to Clint for the + patch. (Closes: #353564) + + -- Marc 'HE' Brockschmidt Sat, 29 Jul 2006 12:17:36 +0200 + +mova (4.0-4) unstable; urgency=low + + * New Maintainer. (Closes: #135061) + + -- Yven Johannes Leist Sun, 13 Apr 2003 02:46:50 +0200 + +mova (4.0-3) unstable; urgency=low + + * Package is orphaned (see #135061); set maintainer to Debian QA Group. + * mova: Movarc is in /etc/mova rather than /etc. Closes: #131671. + * Move Usage_koi.txt to /usr/share/mova since it's referenced by movaTK. + * Remove the /etc/mova directory on purge to work around #59343. + * Change priority to extra, catching up with the override file. + * Suggest `mueller7-mova | mueller7accent-mova'. + * Add build dependencies. + * Switch to debhelper 4. + * debian/Movarc: This was just a copy of .movarc; removed. + * debian/changelog: Remove obsolete Emacs local variables. + * Conforms to Standards version 3.5.6. + + -- Matej Vela Tue, 9 Jul 2002 21:11:46 +0200 + +mova (4.0-2.1) unstable; urgency=low + + * Non-maintainer upload. + * Make /etc/mova/Movarc a conffile (closes: #132194). + + -- Colin Watson Fri, 8 Feb 2002 09:31:28 +0000 + +mova (4.0-2) unstable; urgency=low + + * moved icons to /usr/X11R6/include/X11/pixmaps + * patched mova scripts: + - they don't beep + - support for global config files in /etc/mova added. + * config file installed into /etc/mova now + * menu files excluded. They will be placed in dictionary packages from + now. + * removed mueller dependance + + -- Peter Novodvorsky Tue, 6 Feb 2001 05:50:23 +0300 + +mova (4.0-1) unstable; urgency=low + + * splitted mova and mueller packages. (because they were merged by me, and + that was wrong). Now two packages -- mova, tool for using mova format + dictionaries and mueller, english/russian dictionary in mova format. + * New upstream version. + + -- Peter Novodvorsky Sat, 27 Jan 2001 02:46:39 +0300 + +mueller (3.3-1) unstable; urgency=low + + * Initial version. + + -- Peter Novodvorsky Fri, 1 Sep 2000 19:38:11 +0400 --- mova-4.0.orig/debian/compat +++ mova-4.0/debian/compat @@ -0,0 +1 @@ +4 --- mova-4.0.orig/debian/install +++ mova-4.0/debian/install @@ -0,0 +1,4 @@ +usr/local/bin/mova* usr/bin +usr/local/share/mova/Usage_koi.txt usr/share/mova +usr/local/share/mova/.movarc etc/mova +usr/local/share/mova/icons/mova_32x*.xpm usr/share/pixmaps --- mova-4.0.orig/debian/control +++ mova-4.0/debian/control @@ -0,0 +1,15 @@ +Source: mova +Section: text +Priority: extra +Maintainer: Yven Johannes Leist +Standards-Version: 3.5.6 +Build-Depends: debhelper (>= 4) + +Package: mova +Architecture: all +Depends: tk8.3 | wish, bzip2 +Suggests: mueller7-mova | mueller7accent-mova +Description: Scripts for Mova-format dictionary + Scripts that help finding words and viewing articles + in dictionaries in mova format. One of them is English/Russian + dictionary by V. K. Mueller. --- mova-4.0.orig/debian/copyright +++ mova-4.0/debian/copyright @@ -0,0 +1,16 @@ +This package was made by E.S.Cymbalyuk and +debianized by Peter Novodvorsky on Tue, 31 Aug 2000 +15:09:15 +0400. + +(C) 1996 S.Starostin +(C) 1999-2000 E.S.Cymbalyuk + +Download: + +http://www.geocities.com/mueller_dic/ + +Copyright: + +This program is licensed under the GNU GPL version 2 or later, +see /usr/share/common-licenses/GPL on a Debian system or +http://www.gnu.org/copyleft/gpl.html on the web. --- mova-4.0.orig/debian/rules +++ mova-4.0/debian/rules @@ -0,0 +1,60 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# This file is public domain software, originally written by Joey Hess. +# +# This version is for packages that are architecture independent. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +build: + +clean: + dh_testdir + dh_testroot + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/. + dh_install + cd debian/mova/etc/mova && mv .movarc Movarc + +# Build architecture-independent files here. +binary-indep: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs usr/local/share/mova/Readme_* + dh_installexamples +# dh_installmenu +# dh_installdebconf +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_installinit +# dh_installcron +# dh_installman +# dh_installinfo + dh_undocumented mova.1 movaMTK.1 movaTK.1 mova_sendTK.1 + dh_installman + dh_link usr/share/mova/Usage_koi.txt usr/share/doc/mova/Usage_koi.txt + dh_compress + dh_fixperms + dh_installdeb +# dh_perl + dh_gencontrol + dh_md5sums + dh_builddeb + +# Build architecture-dependent files here. +binary-arch: build install +# We have nothing to do by default. + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- mova-4.0.orig/debian/postrm +++ mova-4.0/debian/postrm @@ -0,0 +1,8 @@ +#!/bin/sh +set -e + +if [ "$1" = purge ]; then + rmdir --ignore-fail-on-non-empty /etc/mova +fi + +#DEBHELPER#