debian/0000755000000000000000000000000011773475336007206 5ustar debian/source/0000755000000000000000000000000011773470706010502 5ustar debian/source/format0000644000000000000000000000001411773470706011710 0ustar 3.0 (quilt) debian/compat0000644000000000000000000000000211773470706010400 0ustar 8 debian/changelog0000644000000000000000000001204111773475336011056 0ustar diakonos (0.9.0-1) unstable; urgency=low * [c257fd1] version 0.9.0 * [17dab4c] debian/patches retain changes needed for diakonos 0.8.14 * including explicit call of ruby1.9.1 * remove ebuild/ * [7af6a90] debian/control Standards-Version 3.9.3 -- Ralph Amissah Fri, 29 Jun 2012 23:59:22 -0400 diakonos (0.8.14-1) unstable; urgency=low * [fbac1f9] version 0.8.14 * [ecee160] debian/watch file fix * applies patch provided by Luke Faraone (Closes: #616706), thanks * [e3f298d] debian/source/format switch to dpkg-source 3.0 (quilt) format * [eee1160] debian/control debian/compat use debhelper 8 * [c16bf85] debian/rules simplify * [faf765a] remove ebuilds (as have done in the past) * [9a0599e] debian/copyright upstream date * [8a13dd8] debian/install README.rdoc replaces README -- Ralph Amissah Wed, 06 Jul 2011 08:22:01 -0400 diakonos (0.8.12-2) unstable; urgency=medium * Explicitly call ruby1.9.1 Depend on ruby1.9.1 and use "#! /usr/bin/ruby1.9.1" rather than "#!/usr/bin/env ruby" since diakonos only works with ruby1.9.1 (Closes: #573636) [thanks Daiki Ueno for fix and working on patch] [thanks Nate Bargmann (bug report), and Evgeni Golov] -- Ralph Amissah Fri, 19 Mar 2010 21:26:58 -0400 diakonos (0.8.12-1) unstable; urgency=medium * new upstream version, see upstream changelog, amongst the upstream changes is dropping of support for ruby 1.8 (upstream version number retained) * move ruby 1.9 branch to 1.9.1 from 1.9.0, required for Squeeze (Closes: #569864) * ruby 1.8 install removed, no run enforced by upstream changes * diakonos help had issue with matching filenames (adding color codes), temp fix, refer issue back upstream * man page touched * debian/control build-depends calls debhelper, include ${misc:Depends}, fix lintian warning * update standards version 3.8.4 (from of 3.8.1) -- Ralph Amissah Thu, 18 Feb 2010 17:56:50 -0500 diakonos (0.8.8-5) unstable; urgency=medium * MIT license (changed from GPL 2) * move help files to /usr/share/diakonos/help (from /usr/share/doc/diakonos/help), in order to satisfy debian policy, (Closes: #523491), [reported by Decklin Foster, thanks] * disable `diakonos --uninstall' option, (Closes: #523490), [reported by Decklin Foster, thanks] -- Ralph Amissah Sat, 11 Apr 2009 23:09:59 -0400 diakonos (0.8.8-4) unstable; urgency=low * make use of Decklin Foster's bug report and feedback from Pistos to close #523011, requires testing -- Ralph Amissah Thu, 09 Apr 2009 20:14:29 -0400 diakonos (0.8.8-3) unstable; urgency=low * make diakonos find global config file, use rbconfig, this should close #523011 -- Ralph Amissah Thu, 09 Apr 2009 11:18:45 -0400 diakonos (0.8.8-2) unstable; urgency=low * make available also to ruby1.9, which should address bug #523011 -- Ralph Amissah Wed, 08 Apr 2009 12:06:05 -0400 diakonos (0.8.8-1) unstable; urgency=low * new upstream version * Standards-Version 3.8.1 instead of 3.8.0 * requested changes made upstream to make program more packaging friendly, thanks -- Ralph Amissah Sat, 04 Apr 2009 14:01:09 -0400 diakonos (0.8.6-1) unstable; urgency=low * new upstream version * issues with package insistence on online file checks and downloads, sub-optimal for packaging, discuss with upstream * [version 0.8.5 build and upload skipped (partly due to lenny freeze)] * [this version 0.8.6 build and upload skipped] -- Ralph Amissah Mon, 15 Dec 2008 20:02:27 -0400 diakonos (0.8.4-2) unstable; urgency=medium * package updated to follow the last version of Debian Policy (Standards-Version 3.8.0 instead of 3.7.3) -- Ralph Amissah Mon, 23 Jun 2008 00:12:49 -0400 diakonos (0.8.4-1) unstable; urgency=low * new upstream version * debian/control updated source package information * debhelper compat 7 -- Ralph Amissah Wed, 28 May 2008 16:29:25 -0400 diakonos (0.8.3-3) unstable; urgency=low * debian/watch file -- Ralph Amissah Wed, 12 Dec 2007 15:43:07 +0000 diakonos (0.8.3-2) unstable; urgency=low * debian build version updated * debian maintainer upload permissions * debian clean rules * lintian clean manpage, complained of what-is entry -- Ralph Amissah Sun, 09 Dec 2007 14:11:39 +0000 diakonos (0.8.3-1) unstable; urgency=low * new upstream, (see upstream changelog) -- Ralph Amissah Sun, 25 Feb 2007 12:30:02 +0000 diakonos (0.8.2-2) unstable; urgency=low * default configuration file location corrected placed within search path in /etc (Closes: #389123) -- Ralph Amissah Sun, 24 Sep 2006 14:25:20 +0100 diakonos (0.8.2-1) unstable; urgency=low * Initial release. (Closes: #386015) -- Ralph Amissah Mon, 4 Sep 2006 15:54:37 +0100 debian/control0000644000000000000000000000114311773475336010610 0ustar Source: diakonos Section: text Priority: optional Maintainer: Ralph Amissah Build-Depends: debhelper (>= 8) Standards-Version: 3.9.3 Vcs-Git: git://github.com/Pistos/diakonos.git Vcs-Browser: https://github.com/Pistos/diakonos/commits/master Homepage: http://diakonos.pist0s.ca XS-Dm-Upload-Allowed: yes Package: diakonos Architecture: all Depends: ${misc:Depends}, ruby1.9.1 Description: Customizable, usable console-based text editor an editor made it with the intention of being easier to configure and use than emacs, more powerful than pico and nano, and not as cryptic as vi or ex. debian/install0000644000000000000000000000135411773470706010576 0ustar bin/ usr diakonos.conf etc/diakonos diakonos-256-colour.conf etc/diakonos lib/diakonos* usr/lib/ruby/1.9.1 debian/lib/1.9.1/installation.rb usr/lib/ruby/1.9.1/diakonos README.rdoc usr/share/doc/diakonos #LICENCE usr/share/doc/diakonos CHANGELOG usr/share/doc/diakonos help usr/share/diakonos extensions usr/share/diakonos ansi-terminalcolours.txt usr/share/diakonos _diakonos_bash_completion usr/share/diakonos _diakonos_zsh_completion usr/share/diakonos debian/lib/0000755000000000000000000000000011773470706007750 5ustar debian/lib/1.9.1/0000755000000000000000000000000011773470706010416 5ustar debian/lib/1.9.1/installation.rb0000644000000000000000000000051211773470706013442 0ustar module Diakonos INSTALL_SETTINGS = { :prefix => "/usr", :bin_dir => "/usr/bin", :doc_dir => "/usr/share/doc/diakonos", :help_dir => "/usr/share/diakonos/help", :conf_dir => "/etc/diakonos", :lib_dir => "/usr/lib/ruby/1.9.1", :installed => { :files => [], :dirs => [], }, } end debian/man/0000755000000000000000000000000011773470706007755 5ustar debian/man/man1/0000755000000000000000000000000011773470706010611 5ustar debian/man/man1/diakonos.10000644000000000000000000000451411773470706012506 0ustar .\" Name: Diakonos .\" Program Author: Pistos Christou .\" Author: Ralph Amissah .\" Description: a customizable, usable console-based text editor .\" License: GNU Public License (LGPL) .\" Notes: Process this file with .\" groff -man -Tascii diakonos.1 .\" nroff -man diakonos.1 | most .TH diakonos 1 "2010-02-18" "0.8.12" "diakonos" .SH NAME .B diakonos \- a customizable, usable console\-based text editor .SH SYNOPSIS diakonos [files] .SH Basic Commands Following are some of the most common commands and their default key bindings. Not all commands are listed here. For a comprehensive listing, see the configuration file. .SH Movement .B Arrow keys Cursor movement .TP .B Home, \ End Move cursor to beginning or end of current line .TP .B Page \ Up, \ Page \ Down Pitch buffer view by one screenful of text .TP .B Alt\-Up, \ Alt\-Down Scroll up, down .SH Editor Control .B Ctrl\-Q Quit .TP .B F1 List key bindings .TP .B F12 Edit user's configuration file .TP .B Alt\-M Start/stop macro recording .TP .B F4 Play macro .TP .B F6 Repeat last command .SH File/Buffer Control .B Ctrl\-O Open a file .TP .B Ctrl\-S Save current buffer .TP .B Alt\-S Save current buffer to specific filename .TP .B Ctrl\-W Close current buffer .TP .B Ctrl\-N Create new empty buffer .TP .B Alt\-Shift\-T Specify buffer content type .TP .B Alt\-1 \ to \ Alt\-9 Switch among first 9 buffers .TP .B Alt\-minus, \ Alt\-= Switch buffers .TP .B Ctrl\-Z Undo .TP .B Ctrl\-Y Redo .SH Clipboard .B Ctrl\-space Anchor selection (like emacs) .TP .B Ctrl\-C Copy selection to clipboard .TP .B Ctrl\-X Copy selection to clipboard and delete (i.e. cut) .TP .B Ctrl\-V Paste clipboard text .TP .B Alt\-U Unselect (stop selecting) .TP .B Ctrl\-K Cut current line (can collect multiple lines) .SH Searching .B Ctrl\-F Find .TP .B Ctrl\-Alt\-F Find upwards .TP .B F3 Find again .TP .B Shift\-F3 Find again upwards .TP .B Ctrl\-R Search and replace .TP .B Ctrl\-Alt\-U Clear match highlight .\"%% Further Information .SH FURTHER INFORMATION For more information on .I Diakonos see: .I http://purepistos.net/diakonos/ .PP .I http://wiki.purepistos.net/doku.php?id=Diakonos:Getting\-Started .PP .I http://wiki.purepistos.net/doku.php?id=Diakonos:Tips-and-Tricks .PP .SH AUTHOR Diakonos is by Pistos Christou .PP This package is maintained by Ralph Amissah debian/manpages0000644000000000000000000000003311773470706010714 0ustar debian/man/man1/diakonos.1 debian/watch0000644000000000000000000000011211773470706010225 0ustar version=3 http://diakonos.pist0s.ca/archives/diakonos-([0-9\.]*)\.tar\.gz debian/copyright0000644000000000000000000000246511773470706011144 0ustar This is diakonos, written by Pistos Christou and here maintained by Ralph Amissah on Mon, 2 May 2005 17:33:58 +0100. The homepage is: http://purepistos.net/diakonos/ at which original source can always be found The MIT Licence Copyright (c) 2004-2010 Pistos Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. debian/patches/0000755000000000000000000000000011773475336010635 5ustar debian/patches/0002-remove-ebuild-as-before.patch0000644000000000000000000002275111773475336016644 0ustar From: Ralph Amissah Date: Fri, 29 Jun 2012 23:31:07 -0400 Subject: remove ebuild/ (as before) --- ebuild/ChangeLog | 13 ------------- ebuild/diakonos-0.7.8.ebuild | 19 ------------------- ebuild/diakonos-0.7.9.ebuild | 19 ------------------- ebuild/diakonos-0.8.0.ebuild | 19 ------------------- ebuild/diakonos-0.8.1.ebuild | 19 ------------------- ebuild/diakonos-0.8.11.ebuild | 21 --------------------- ebuild/diakonos-0.8.2.ebuild | 19 ------------------- ebuild/diakonos-0.8.3.ebuild | 16 ---------------- ebuild/diakonos-0.8.4.ebuild | 16 ---------------- ebuild/diakonos-0.8.5.ebuild | 16 ---------------- ebuild/diakonos-0.8.6.ebuild | 16 ---------------- ebuild/diakonos-0.8.7.ebuild | 15 --------------- ebuild/metadata.xml | 17 ----------------- 13 files changed, 225 deletions(-) delete mode 100644 ebuild/ChangeLog delete mode 100644 ebuild/diakonos-0.7.8.ebuild delete mode 100644 ebuild/diakonos-0.7.9.ebuild delete mode 100644 ebuild/diakonos-0.8.0.ebuild delete mode 100644 ebuild/diakonos-0.8.1.ebuild delete mode 100644 ebuild/diakonos-0.8.11.ebuild delete mode 100644 ebuild/diakonos-0.8.2.ebuild delete mode 100644 ebuild/diakonos-0.8.3.ebuild delete mode 100644 ebuild/diakonos-0.8.4.ebuild delete mode 100644 ebuild/diakonos-0.8.5.ebuild delete mode 100644 ebuild/diakonos-0.8.6.ebuild delete mode 100644 ebuild/diakonos-0.8.7.ebuild delete mode 100644 ebuild/metadata.xml diff --git a/ebuild/ChangeLog b/ebuild/ChangeLog deleted file mode 100644 index 9eb0972..0000000 --- a/ebuild/ChangeLog +++ /dev/null @@ -1,13 +0,0 @@ -# ChangeLog for app-editors/diakonos -# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: $ - -*diakonos-0.7.8 (9 Nov 2005) - - 9 Nov 2005; Pistos pistos@purepistos.net package.rb, setup.rb : - Added package.rb, setup.rb. - -*diakonos-0.7.7 (22 Oct 2005) - - 22 Oct 2005; Pistos pistos@purepistos.net diakonos, diakonos.conf, README, CHANGELOG : - Initial import. Ebuild submitted by Pistos . diff --git a/ebuild/diakonos-0.7.8.ebuild b/ebuild/diakonos-0.7.8.ebuild deleted file mode 100644 index 6b628ce..0000000 --- a/ebuild/diakonos-0.7.8.ebuild +++ /dev/null @@ -1,19 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -IUSE="" - -DESCRIPTION="A usable console text editor." -HOMEPAGE="http://purepistos.net/diakonos" -SRC_URI="http://purepistos.net/diakonos/${P}.tar.gz" -LICENSE="GPL-2" - -SLOT="0" -KEYWORDS="~x86" -DEPEND="virtual/ruby" - -src_install () { - ruby setup.rb --prefix="${D}/usr" install || die "setup.rb install failed." - dodoc README CHANGELOG -} diff --git a/ebuild/diakonos-0.7.9.ebuild b/ebuild/diakonos-0.7.9.ebuild deleted file mode 100644 index 6b628ce..0000000 --- a/ebuild/diakonos-0.7.9.ebuild +++ /dev/null @@ -1,19 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -IUSE="" - -DESCRIPTION="A usable console text editor." -HOMEPAGE="http://purepistos.net/diakonos" -SRC_URI="http://purepistos.net/diakonos/${P}.tar.gz" -LICENSE="GPL-2" - -SLOT="0" -KEYWORDS="~x86" -DEPEND="virtual/ruby" - -src_install () { - ruby setup.rb --prefix="${D}/usr" install || die "setup.rb install failed." - dodoc README CHANGELOG -} diff --git a/ebuild/diakonos-0.8.0.ebuild b/ebuild/diakonos-0.8.0.ebuild deleted file mode 100644 index 8871eb4..0000000 --- a/ebuild/diakonos-0.8.0.ebuild +++ /dev/null @@ -1,19 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -IUSE="" - -DESCRIPTION="A usable console text editor." -HOMEPAGE="http://purepistos.net/diakonos" -SRC_URI="http://purepistos.net/diakonos/${P}.tar.gz" -LICENSE="GPL-2" - -SLOT="0" -KEYWORDS="~x86" -DEPEND="virtual/ruby" - -src_install () { - ruby setup.rb --prefix="${D}/usr" install || die "setup.rb install failed." - dodoc README CHANGELOG -} diff --git a/ebuild/diakonos-0.8.1.ebuild b/ebuild/diakonos-0.8.1.ebuild deleted file mode 100644 index 8871eb4..0000000 --- a/ebuild/diakonos-0.8.1.ebuild +++ /dev/null @@ -1,19 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -IUSE="" - -DESCRIPTION="A usable console text editor." -HOMEPAGE="http://purepistos.net/diakonos" -SRC_URI="http://purepistos.net/diakonos/${P}.tar.gz" -LICENSE="GPL-2" - -SLOT="0" -KEYWORDS="~x86" -DEPEND="virtual/ruby" - -src_install () { - ruby setup.rb --prefix="${D}/usr" install || die "setup.rb install failed." - dodoc README CHANGELOG -} diff --git a/ebuild/diakonos-0.8.11.ebuild b/ebuild/diakonos-0.8.11.ebuild deleted file mode 100644 index 3f69285..0000000 --- a/ebuild/diakonos-0.8.11.ebuild +++ /dev/null @@ -1,21 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI="2" - -DESCRIPTION="A Linux editor for the masses" -HOMEPAGE="http://purepistos.net/diakonos" -SRC_URI="http://purepistos.net/diakonos/diakonos-0.8.11.tar.bz2" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" -DEPEND=">=dev-lang/ruby-1.9" -RDEPEND="$DEPEND" - -src_install() { - cd ${S} - ruby19 install.rb --dest-dir "${D}" || die "install failed" -} diff --git a/ebuild/diakonos-0.8.2.ebuild b/ebuild/diakonos-0.8.2.ebuild deleted file mode 100644 index 8871eb4..0000000 --- a/ebuild/diakonos-0.8.2.ebuild +++ /dev/null @@ -1,19 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -IUSE="" - -DESCRIPTION="A usable console text editor." -HOMEPAGE="http://purepistos.net/diakonos" -SRC_URI="http://purepistos.net/diakonos/${P}.tar.gz" -LICENSE="GPL-2" - -SLOT="0" -KEYWORDS="~x86" -DEPEND="virtual/ruby" - -src_install () { - ruby setup.rb --prefix="${D}/usr" install || die "setup.rb install failed." - dodoc README CHANGELOG -} diff --git a/ebuild/diakonos-0.8.3.ebuild b/ebuild/diakonos-0.8.3.ebuild deleted file mode 100644 index 0955a5f..0000000 --- a/ebuild/diakonos-0.8.3.ebuild +++ /dev/null @@ -1,16 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -inherit ruby gems - -DESCRIPTION="A usable console text editor." -HOMEPAGE="http://purepistos.net/diakonos" -SRC_URI="http://purepistos.net/diakonos/${P}.gem" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~x86" -IUSE="" - -USE_RUBY="ruby18" diff --git a/ebuild/diakonos-0.8.4.ebuild b/ebuild/diakonos-0.8.4.ebuild deleted file mode 100644 index 0955a5f..0000000 --- a/ebuild/diakonos-0.8.4.ebuild +++ /dev/null @@ -1,16 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -inherit ruby gems - -DESCRIPTION="A usable console text editor." -HOMEPAGE="http://purepistos.net/diakonos" -SRC_URI="http://purepistos.net/diakonos/${P}.gem" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~x86" -IUSE="" - -USE_RUBY="ruby18" diff --git a/ebuild/diakonos-0.8.5.ebuild b/ebuild/diakonos-0.8.5.ebuild deleted file mode 100644 index 7680c45..0000000 --- a/ebuild/diakonos-0.8.5.ebuild +++ /dev/null @@ -1,16 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -inherit ruby gems - -DESCRIPTION="A usable console text editor." -HOMEPAGE="http://purepistos.net/diakonos" -SRC_URI="http://purepistos.net/diakonos/${P}.gem" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~x86" -IUSE="" - -USE_RUBY="ruby18" diff --git a/ebuild/diakonos-0.8.6.ebuild b/ebuild/diakonos-0.8.6.ebuild deleted file mode 100644 index 7680c45..0000000 --- a/ebuild/diakonos-0.8.6.ebuild +++ /dev/null @@ -1,16 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -inherit ruby gems - -DESCRIPTION="A usable console text editor." -HOMEPAGE="http://purepistos.net/diakonos" -SRC_URI="http://purepistos.net/diakonos/${P}.gem" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~x86" -IUSE="" - -USE_RUBY="ruby18" diff --git a/ebuild/diakonos-0.8.7.ebuild b/ebuild/diakonos-0.8.7.ebuild deleted file mode 100644 index d9e83a6..0000000 --- a/ebuild/diakonos-0.8.7.ebuild +++ /dev/null @@ -1,15 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -inherit ruby gems - -DESCRIPTION="A usable console text editor." -HOMEPAGE="http://purepistos.net/diakonos" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -USE_RUBY="ruby18" diff --git a/ebuild/metadata.xml b/ebuild/metadata.xml deleted file mode 100644 index b5fd52c..0000000 --- a/ebuild/metadata.xml +++ /dev/null @@ -1,17 +0,0 @@ - - - - ruby - - pistos@purepistos.net - Pistos - - - Diakonos is a customizable, usable console-based text editor. - It features arbitrary language scripting, bookmarking, regular - expression searching, parsed ("smart") indentation, macro recording - and playback, a multi-element clipboard, multi-level undo, a - customizable status line, completely customizable keyboard mapping, - and customizable syntax highlighting. - - debian/patches/series0000644000000000000000000000014311773475336012050 0ustar 0001-retain-changes-needed-for-diakonos-0.8.14-including-.patch 0002-remove-ebuild-as-before.patch debian/patches/0001-retain-changes-needed-for-diakonos-0.8.14-including-.patch0000644000000000000000000001035311773475336023516 0ustar From: Ralph Amissah Date: Fri, 29 Jun 2012 23:30:10 -0400 Subject: retain changes needed for diakonos 0.8.14, including explicit call of ruby1.9.1 --- bin/diakonos | 2 +- lib/diakonos.rb | 76 ++++++++++++++++++++++++++------------------------ lib/diakonos/help.rb | 5 ++-- 3 files changed, 43 insertions(+), 40 deletions(-) diff --git a/bin/diakonos b/bin/diakonos index c6a20b8..b122603 100755 --- a/bin/diakonos +++ b/bin/diakonos @@ -1,4 +1,4 @@ -#!/usr/bin/env ruby +#! /usr/bin/ruby1.9.1 require 'diakonos' diff --git a/lib/diakonos.rb b/lib/diakonos.rb index f862a6b..7e4a112 100755 --- a/lib/diakonos.rb +++ b/lib/diakonos.rb @@ -1,4 +1,4 @@ -#!/usr/bin/env ruby +#! /usr/bin/ruby1.9.1 # == Diakonos # @@ -259,9 +259,11 @@ module Diakonos when '--test', '--testing' @testing = true when '--uninstall' - uninstall + puts "use Debian installer to uninstall Diakonos" + #uninstall when '--uninstall-without-confirmation' - uninstall false + puts "use Debian installer to uninstall Diakonos" + #uninstall false when '--version' puts "Diakonos #{::Diakonos::VERSION} (#{::Diakonos::LAST_MODIFIED})" exit 0 @@ -280,7 +282,7 @@ module Diakonos puts "\t-m, --open-matching \tOpen all matching files under current directory" puts "\t-ro \tLoad file as read-only" puts "\t-s, --load-session \tLoad a session" - puts "\t--uninstall[-without-confirmation]\tUninstall Diakonos" + #puts "\t--uninstall[-without-confirmation]\tUninstall Diakonos" end def clear_non_movement_flag @@ -400,39 +402,39 @@ module Diakonos end def uninstall( confirm = true ) - inst = ::Diakonos::INSTALL_SETTINGS[ :installed ] - - if confirm - puts inst[ :files ].sort.join( "\n" ) - puts - puts inst[ :dirs ].sort.map { |d| "#{d}/" }.join( "\n" ) - puts - puts "The above files will be removed. The above directories will be removed if they are empty. Proceed? (y/n)" - answer = $stdin.gets - case answer - when /^y/i - puts "Deleting..." - else - puts "Uninstallation aborted." - exit 1 - end - end - - require 'fileutils' - inst[ :files ].each do |f| - FileUtils.rm f - end - inst[ :dirs ].sort { |d1,d2| d2.length <=> d1.length }.each do |d| - begin - FileUtils.rmdir d - rescue Errno::ENOTEMPTY - end - if File.exists? d - $stderr.puts "(#{d} not removed)" - end - end - - exit 0 + #inst = ::Diakonos::INSTALL_SETTINGS[ :installed ] + + #if confirm + # puts inst[ :files ].sort.join( "\n" ) + # puts + # puts inst[ :dirs ].sort.map { |d| "#{d}/" }.join( "\n" ) + # puts + # puts "The above files will be removed. The above directories will be removed if they are empty. Proceed? (y/n)" + # answer = $stdin.gets + # case answer + # when /^y/i + # puts "Deleting..." + # else + # puts "Uninstallation aborted." + # exit 1 + # end + #end + + #require 'fileutils' + #inst[ :files ].each do |f| + # FileUtils.rm f + #end + #inst[ :dirs ].sort { |d1,d2| d2.length <=> d1.length }.each do |d| + # begin + # FileUtils.rmdir d + # rescue Errno::ENOTEMPTY + # end + # if File.exists? d + # $stderr.puts "(#{d} not removed)" + # end + #end + + #exit 0 end def get_language_from_name( name ) diff --git a/lib/diakonos/help.rb b/lib/diakonos/help.rb index b5102ab..450597a 100644 --- a/lib/diakonos/help.rb +++ b/lib/diakonos/help.rb @@ -24,7 +24,8 @@ module Diakonos else terms = str.gsub( /[^a-zA-Z0-9-]/, ' ' ).split.join( '|' ) file_grep = `egrep -i -l '^Tags.*\\b(#{terms})\\b' #{@help_dir}/*` - files = file_grep.split( /\s+/ ) + files = file_grep.scan( /\/\S+.dhf/ ) + #files = file_grep.split( /\s+/ ) end files.each do |file| @@ -44,4 +45,4 @@ module Diakonos end end -end \ No newline at end of file +end debian/rules0000755000000000000000000000014611773470706010263 0ustar #!/usr/bin/make -f %: dh ${@} override_dh_compress: dh_compress -X.rb -X.ssi -X.ssm -X.sst -X.yml