--- goby-1.0.orig/debian/examples +++ goby-1.0/debian/examples @@ -0,0 +1,2 @@ +sample/* +debian/dot.* --- goby-1.0.orig/debian/copyright +++ goby-1.0/debian/copyright @@ -0,0 +1,36 @@ +This package was debianized by + 2009 Tatsuya Kinoshita + +The upstream source can be downloaded from + http://www.mew.org/~kazu/proj/goby/ + +Copyright (C) 2003 Kazu Yamamoto +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. +3. Neither the name of the author nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +The Debian packaging is all-permissive. Unlimited permission is +granted to use, copy, distribute and/or modify this work. --- goby-1.0.orig/debian/dirs +++ goby-1.0/debian/dirs @@ -0,0 +1 @@ +usr/share/emacs/site-lisp/goby --- goby-1.0.orig/debian/control +++ goby-1.0/debian/control @@ -0,0 +1,24 @@ +Source: goby +Section: lisp +Priority: optional +Maintainer: Tatsuya Kinoshita +Build-Depends: debhelper (>= 7) +Standards-Version: 3.8.2 +Homepage: http://www.mew.org/~kazu/proj/goby/ + +Package: goby +Architecture: all +Depends: emacs | emacs22 | emacs21 +Recommends: netpbm, imagemagick +Suggests: ttf-liberation, ttf-dejavu, ttf-japanese-gothic, ttf-japanese-mincho, ghostscript +Description: WYSIWYG presentation tool for Emacs + Goby is an Emacs Lisp package to display large fonts and images, which + can be used as a WYSIWYG presentation tool on GNU Emacs. + . + There are two modes, Edit and View, for Goby. Edit mode is implemented + as a minor mode while View mode as a major mode. The created file (*.gby) + is just a text, so you can easily handle it. + . + To display large fonts, install TrueType font packages. To use images, + install the netpbm package. To make screen dumps, install the + imagemagick package. --- goby-1.0.orig/debian/README.Debian +++ goby-1.0/debian/README.Debian @@ -0,0 +1,75 @@ +Goby for Debian +--------------- + +Goby is a WYSIWYG presentation tool for GNU Emacs. + +To display large fonts, install TrueType font packages, such as +ttf-liberation, ttf-dejavu, ttf-japanese-gothic, ttf-japanese-mincho, etc., +and emacs22 (not emacs21). + +To use images, install the netpbm package. + +To make HTML files with screen dumps, install the imagemagick package. + +To execute Goby, type `M-x goby RET'. + +There are two modes, Edit and View, for Goby. Edit mode is implemented +as a minor mode while View mode as a major mode. If a file whose suffix +is ".gby" is read, its major mode and minor mode become Text and Goby, +respectively. + +Keys for Edit mode: + + `C-c ; v': Enter View mode + + `TAB': Size and color are decided according to the number of TAB + characters in the beginning of a line + `C-c ; -': Insert a bar + `C-c ; c': Centerize + + `C-c ; *': Insert an item sign + `C-c ; I': Insert item signs for the region + + `C-c ; f': Shift font faces for the region + `C-c ; p': Enlarge for the region + `C-c ; n': Shrink for the region + `C-c ; r': Shift colors for the region + `C-c ; o': Specify a color for the region + `C-c ; y': Justify font/size/color to its level for the region + + `C-c ; i': Insert an image file + `C-c ; s': Change shrink ratio (e.g. 40, 400/1024) + + `C-c ; m': Convert the characters in the region to italic times + `C-c ; ^': Shrink the characters in the region and raise them (power) + `C-c ; _': Shrink the characters in the region + `C-c ; C-p': Raise the characters in the region + `C-c ; C-n': Lower the characters in the region + `C-c ; x': Insert the multiply character + `C-c ; /': Insert the division character + + `C-c ; #': Create a PhostScript file + `C-c ; @': Create HTML files with screen dumps + `C-c ; l': Insert ^L (form feed) + `C-c ; C-l': Redisplay (fit page) + + `C-x C-f': Open a file + `C-x C-s': Save the buffer + `C-x C-w': Save the buffer as a file (please use the suffix ".gby") + +Keys for View mode: + + `q': Get back to Edit mode + + `n', `SPC', Down arrow or Left button: Go to the next page + `p', `DEL', Up arrow or Right button : Go to the previous page + `<': Go to the first page + `>': Go to the last page + +Sample files are installed in /usr/share/doc/goby/examples/. + +For more information, see the official page of Goby: + + http://www.mew.org/~kazu/proj/goby/ + + -- Tatsuya Kinoshita , Thu, 30 Oct 2008 23:25:39 +0900 --- goby-1.0.orig/debian/rules +++ goby-1.0/debian/rules @@ -0,0 +1,42 @@ +#! /usr/bin/make -f + +#export DH_VERBOSE=1 + +PACKAGE=goby + +build: build-stamp +build-stamp: + dh_testdir + touch $@ + +clean: + dh_testdir + dh_testroot + dh_clean + +install: build + dh_testdir + dh_testroot + dh_prep + dh_installdirs + install -m 644 *.el "$(CURDIR)/debian/$(PACKAGE)/usr/share/emacs/site-lisp/$(PACKAGE)" + +binary-indep: build install + dh_testdir + dh_testroot + dh_installdocs + dh_installexamples + dh_installemacsen + dh_installinfo + dh_installchangelogs + dh_compress + dh_fixperms + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +binary-arch: build install + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- goby-1.0.orig/debian/emacsen-startup +++ goby-1.0/debian/emacsen-startup @@ -0,0 +1,20 @@ +;;; 50goby.el --- Debian goby startup file -*-mode: emacs-lisp;-*- + +(let* ((pkg "goby") + (flavor-name (if (boundp 'debian-emacs-flavor) + (symbol-name debian-emacs-flavor) + "emacs")) + (pkg-inst (concat "/usr/lib/emacsen-common/packages/install/" pkg)) + (elc-dir (concat "/usr/share/" flavor-name "/site-lisp/" pkg))) + (when (and (file-exists-p elc-dir) + (file-exists-p pkg-inst)) + (if (fboundp 'debian-pkg-add-load-path-item) + (debian-pkg-add-load-path-item elc-dir) + (setq load-path (cons elc-dir load-path))) + ;; + (autoload 'goby "goby" nil t) + (setq goby-use-advanced-window-manager t) + ;; + )) + +;;; 50goby.el ends here --- goby-1.0.orig/debian/watch +++ goby-1.0/debian/watch @@ -0,0 +1,3 @@ +version=3 +opts="uversionmangle=s/rc/~rc/;s/pre/~pre/" \ +http://www.mew.org/~kazu/proj/goby/en/ \.\./goby-([0-9].*)\.tar\.gz debian uupdate --- goby-1.0.orig/debian/dot.emacs.el +++ goby-1.0/debian/dot.emacs.el @@ -0,0 +1,54 @@ +;;; dot.emacs --- sample of ~/.emacs for Goby -*-mode: emacs-lisp;-*- + +(setq goby-helvetica "ascender-liberation.sans-medium") +(setq goby-times "ascender-liberation.serif-medium") +(setq goby-courier "ascender-liberation.mono-medium") + +;;(setq goby-helvetica "dejavu-dejavu sans-medium") +;;(setq goby-times "dejavu-dejavu serif-medium") +;;(setq goby-courier "dejavu-dejavu sans mono-medium") + +;;(setq goby-helvetica "helvetica") +;;(setq goby-times "times") +;;(setq goby-courier "courier") + +(setq goby-gothic "ume font-gothic-medium") +(setq goby-mincho "ume font-mincho-medium") + +;;(setq goby-gothic "vlgothic-gothic-medium") + +;;(setq goby-gothic "sazanami-gothic-medium") +;;(setq goby-mincho "sazanami-mincho-medium") + +;;(setq goby-gothic "kiloji-gothic-medium") +;;(setq goby-helvetica "kiloji-gothic-medium") + +;;(setq goby-mincho "mona-mona-medium") +;;(setq goby-courier "mona-mona-medium") + +;;(setq goby-gothic "kochi-gothic-medium") +;;(setq goby-mincho "kochi-mincho-medium") + +;;(setq goby-gothic "gothic") +;;(setq goby-mincho "mincho") + +(setq goby-use-advanced-window-manager t) +;;(setq goby-use-advanced-window-manager nil) + +;;(setq goby-theme 'dark) +;;(setq goby-theme 'light) + +;;(setq goby-tab-spec +;; '((0 6 "gray25" "gray50") +;; (1 5 "#004080" "#007080") +;; (2 4 "#006080" "#009080") +;; (3 3 "#008080" "#00b080"))) + +;;(setq goby-window-manager-top-position 0) +;;(setq goby-window-manager-left-position 0) +;;(setq goby-window-manager-view-top-position -22) +;;(setq goby-window-manager-view-left-position 0) +;;(setq goby-window-manager-bottom-margin 5) +;;(setq goby-window-manager-bottom-search-margin 3) + +;;; dot.emacs ends here --- goby-1.0.orig/debian/emacsen-remove +++ goby-1.0/debian/emacsen-remove @@ -0,0 +1,19 @@ +#! /bin/sh +# /usr/lib/emacsen-common/packages/remove/goby +set -e + +FLAVOR=$1 +PACKAGE=goby + +case $FLAVOR in + emacs|*xemacs*|emacs20|emacs19|mule2) + exit 0 + ;; +esac + +ELCDIR=/usr/share/$FLAVOR/site-lisp/$PACKAGE + +echo "remove/$PACKAGE: purging byte-compiled files for $FLAVOR" +rm -rf "$ELCDIR" + +exit 0 --- goby-1.0.orig/debian/emacsen-install +++ goby-1.0/debian/emacsen-install @@ -0,0 +1,53 @@ +#! /bin/sh +# /usr/lib/emacsen-common/packages/install/goby +set -e + +FLAVOR=$1 +PACKAGE=goby + +case $FLAVOR in + emacs|*xemacs*|emacs20|emacs19|mule2) + exit 0 + ;; +esac + +ELCDIR=/usr/share/$FLAVOR/site-lisp/$PACKAGE +ELDIR=/usr/share/emacs/site-lisp/$PACKAGE +TOELDIR=../../../emacs/site-lisp/$PACKAGE +ELCSTAMP=$ELCDIR/compile-stamp +if [ -f "$ELCSTAMP" ]; then + echo "install/$PACKAGE: already byte-compiled for $FLAVOR, skipped" + exit 0 +fi + +LOG=`mktemp -t elc.XXXXXXXXXXXX` +chmod 644 "$LOG" +echo "install/$PACKAGE: byte-compiling for $FLAVOR, logged in $LOG" + +cd "$ELDIR" +FILES=`echo *.el` +if [ ! -d "$ELCDIR" ]; then + mkdir "$ELCDIR" + chmod 755 "$ELCDIR" +fi +cd "$ELCDIR" +rm -f *.elc __myinit.el +for f in $FILES; do + ln -sf "$TOELDIR/$f" . +done + +cat > __myinit.el << EOF +(setq load-path (cons "." load-path)) +(setq byte-compile-warnings nil) +EOF + +FLAGS="-q -no-site-file -batch -l __myinit.el -f batch-byte-compile" +echo "$FLAVOR" $FLAGS $FILES >> "$LOG" +"$FLAVOR" $FLAGS $FILES >> "$LOG" 2>&1 +chmod 644 *.elc + +echo "install/$PACKAGE: deleting $LOG" +rm -f "$LOG" __myinit.el* + +touch "$ELCSTAMP" +exit 0 --- goby-1.0.orig/debian/docs +++ goby-1.0/debian/docs @@ -0,0 +1 @@ +README* --- goby-1.0.orig/debian/compat +++ goby-1.0/debian/compat @@ -0,0 +1 @@ +7 --- goby-1.0.orig/debian/changelog +++ goby-1.0/debian/changelog @@ -0,0 +1,16 @@ +goby (1.0-1) unstable; urgency=low + + * New upstream release. + * debian/dot.emacs.el: Add an example for ttf-umefont. + * debian/watch: Updated. + * debian/control: + - Set Section to `lisp'. + - Update Standards-Version to 3.8.2. + + -- Tatsuya Kinoshita Tue, 07 Jul 2009 07:32:26 +0900 + +goby (0.94-1) unstable; urgency=low + + * Initial Release. (closes: #502854) + + -- Tatsuya Kinoshita Sat, 03 Jan 2009 19:41:33 +0900