debian/0000755000000000000000000000000012253325354007172 5ustar debian/examples0000644000000000000000000000002612253166407010733 0ustar sample/* debian/dot.* debian/compat0000644000000000000000000000000212253166407010372 0ustar 7 debian/rules0000755000000000000000000000151412253166411010250 0ustar #! /usr/bin/make -f #export DH_VERBOSE=1 PACKAGE=goby build-indep: build-indep-stamp build-indep-stamp: dh_testdir touch $@ build-arch: build: build-indep build-arch clean: dh_testdir dh_testroot dh_clean install-indep: dh_testdir dh_testroot dh_prep dh_installdirs install -m 644 *.el "$(CURDIR)/debian/$(PACKAGE)/usr/share/emacs/site-lisp/$(PACKAGE)" install-arch: install: install-indep install-arch binary-indep: build-indep install-indep 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-arch install-arch binary: binary-indep binary-arch .PHONY: build-indep build-arch build clean binary-indep binary-arch binary install-indep install-arch install debian/README.Debian0000644000000000000000000000456312253166411011240 0ustar 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 emacs23 (GNU Emacs 22 or later). 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 , Wed, 29 Jun 2011 21:56:43 +0900 debian/dot.emacs.el0000644000000000000000000000326612253166407011402 0ustar ;;; 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 debian/emacsen-remove0000644000000000000000000000046312253166407012030 0ustar #! /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 debian/copyright0000644000000000000000000000361012253167646011135 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Goby Source: http://www.mew.org/~kazu/proj/goby/ Files: * Copyright: 2003, Kazu Yamamoto License: BSD-3-clause 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. Files: debian/* Copyright: 2009-2013, Tatsuya Kinoshita License: Redistribution and use in source and binary forms, with or without modification, are permitted without restriction, with NO WARRANTY. You may regard this as a work that is placed in the public domain. debian/prerm0000644000000000000000000000044712253170043010240 0ustar #!/bin/sh set -e # Workaround to compatible with emacsen-common <2.0.0 if [ ! -e /var/lib/emacsen-common/state/package/installed/emacsen-common ]; then if [ -x /usr/lib/emacsen-common/emacs-package-remove ]; then /usr/lib/emacsen-common/emacs-package-remove goby fi else #DEBHELPER# fi debian/patches/0000755000000000000000000000000012253324567010626 5ustar debian/patches/900_changelog.patch0000644000000000000000000000365212253324567014174 0ustar Subject: Genarate ChangeLog from Git commit logs From: Tatsuya Kinoshita Converted with: git log --no-merges --numstat | gitlog2changelog > ChangeLog Note that gitlog2changelog is in Debian w3m source. diff --git a/ChangeLog b/ChangeLog new file mode 100644 index 0000000..9021141 --- /dev/null +++ b/ChangeLog @@ -0,0 +1,62 @@ +2013-11-09 Kazu Yamamoto + + * goby-view.el: buffer-local vs let-binding. + +2013-09-02 Kazu Yamamoto + + * goby-emacs.el, goby-vars.el, goby-view.el: + Supporting Emacs 24.3 or later. + + * goby.el: Using set-visited-file-modtime. + + * goby-ps.el: -mix option hack for pngtopnm. + +2012-01-28 Jonas Bernoulli + + * goby.el: follow header conventions + +2011-06-29 Kazu Yamamoto + + * Makefile: adding "make archive". + + * goby.el: ver up. + + * goby-ps.el: catching up to netpbm. + +2011-01-05 Kazu Yamamoto + + * goby-emacs.el, goby.el: + use buffer-local var instead of frame-local var. + + * goby-vars.el, goby.el: moving var to vars.el. + + * goby-emacs.el: Supporting emacs-app +fullscreen of MacPorts. + + * goby-view.el: prevent double view mode. + + * goby.el: option for italic math fonts. + +2010-02-19 Kazu Yamamoto + + * .gitignore: Adding .gitignore. + + * Makefile, goby-emacs.el, goby-ps.el, goby-vars.el, goby-view.el: + * goby.el: Removing trailing white spaces. + +2010-01-07 Kazu Yamamoto + + * goby-emacs.el: frame-local is obsoleted. + + * goby-ps.el, goby-view.el: mapcar -> mapc. + +2010-01-06 Kazu Yamamoto + + * README: doc fix. + + * goby-emacs.el, goby-ps.el, goby-vars.el, goby.el: fixing pi in PS. + private images in PS. + + * Makefile, README, README.jp, goby-emacs.el, goby-ps.el, goby-vars.el: + * goby-view.el, goby.el, sample/lionfish.jpg, sample/sample-jp.gby: + * sample/sample.gby, sample/squilla.jpg: first import. + debian/patches/series0000644000000000000000000000002412253323635012032 0ustar 900_changelog.patch debian/control0000644000000000000000000000212312253323326010570 0ustar Source: goby Section: lisp Priority: optional Maintainer: Tatsuya Kinoshita Build-Depends: debhelper (>= 7) Standards-Version: 3.9.5 Homepage: http://www.mew.org/~kazu/proj/goby/ Vcs-Git: git://anonscm.debian.org/collab-maint/goby.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/goby.git Package: goby Architecture: all Depends: emacs | emacs24 | emacs23 | emacs22 | emacs-snapshot, ${misc:Depends} Recommends: netpbm, imagemagick Suggests: fonts-liberation, fonts-dejavu, fonts-japanese-gothic, fonts-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. debian/watch0000644000000000000000000000021312253166407010221 0ustar 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 debian/docs0000644000000000000000000000001012253166407010036 0ustar README* debian/dirs0000644000000000000000000000003712253166407010060 0ustar usr/share/emacs/site-lisp/goby debian/source/0000755000000000000000000000000012253166411010467 5ustar debian/source/format0000644000000000000000000000001412253166411011675 0ustar 3.0 (quilt) debian/emacsen-install0000644000000000000000000000213612253166407012200 0ustar #! /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 debian/postinst0000644000000000000000000000050312253170056010773 0ustar #!/bin/sh set -e # Workaround to compatible with emacsen-common <2.0.0 if [ ! -e /var/lib/emacsen-common/state/package/installed/emacsen-common ]; then if [ "$1" = "configure" ] && [ -x /usr/lib/emacsen-common/emacs-package-install ]; then /usr/lib/emacsen-common/emacs-package-install goby fi else #DEBHELPER# fi debian/changelog0000644000000000000000000000345212253325236011047 0ustar goby (1.1+0.20131109-1) unstable; urgency=low * Imported Upstream version 1.1+0.20131109 * New patch 900_changelog.patch to genarate ChangeLog * Workaround for emacsen-common <2 and debhelper <9.20131104 * Use fonts-* instead of ttf-* * Add Vcs-Git and Vcs-Browser * Update debian/copyright * Update Standards-Version to 3.9.5 -- Tatsuya Kinoshita Sun, 15 Dec 2013 22:11:28 +0900 goby (1.1-2) unstable; urgency=low * debian/control: Add emacs24 and drop emacs21 * debian/rules: New targets build-arch and build-indep * debian/copyright: Update copyright-format version to 1.0 * debian/control: Update Standards-Version to 3.9.3 * Switch to dpkg-source 3.0 (quilt) format -- Tatsuya Kinoshita Sat, 07 Jul 2012 19:16:36 +0900 goby (1.1-1) unstable; urgency=low * New upstream release. * debian/control: Update Standards-Version to 3.9.2. * debian/copyright: Switch to the DEP-5 format. * debian/README.Debian: Updated for emacs23. -- Tatsuya Kinoshita Wed, 29 Jun 2011 21:55:46 +0900 goby (1.0-2) unstable; urgency=low * debian/control: - Add emacs23 and emacs-snapshot to Depends. - Add ${misc:Depends} to Depends. - Update Standards-Version to 3.8.4. * debian/copyright: Updated. -- Tatsuya Kinoshita Fri, 12 Feb 2010 22:26:34 +0900 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 debian/emacsen-startup0000644000000000000000000000124612253166407012235 0ustar ;;; 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