debian/0000755000000000000000000000000011432013065007161 5ustar debian/source/0000755000000000000000000000000011414212451010461 5ustar debian/source/format0000644000000000000000000000001411414212451011667 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000000023611432012774011042 0ustar algotutor (0.8.6-1) unstable; urgency=low * Initial release (Closes: #593122) -- Georges Khaznadar Sun, 15 Aug 2010 18:06:14 +0200 debian/compat0000644000000000000000000000000211414212451010357 0ustar 7 debian/control0000644000000000000000000000157311432010060010562 0ustar Source: algotutor Section: science Priority: extra Maintainer: Georges Khaznadar Build-Depends: debhelper (>= 7.0.50~) Standards-Version: 3.9.1 Homepage: http://people.ofset.org/~ckhung/p/algotutor/ Package: algotutor Architecture: all Depends: ${misc:Depends}, ${perl:Depends}, perl-tk Description: program for observing the intermediate steps of algorithm algotutor is an interactive program for observing the intermediate steps of algorithms ("algorithm animation"). The target audience is computer science students and/or anyone who studies algorithms and/or data structures. One can create data files in plain text format (actually perl anonymous hashes, but one need not care) and let algotutor runs through some predefined algorithm. Then one can step backward and forward through the execution sequence of the algorithm at different levels of details. debian/patches/0000755000000000000000000000000011432013065010610 5ustar debian/patches/series0000644000000000000000000000007511414223764012040 0ustar 10Makefile.patch 20algotutor.sh.patch debian-changes-0.8.6-2 debian/patches/10Makefile.patch0000644000000000000000000000333711414223341013515 0ustar Index: algotutor-0.8.6/Makefile =================================================================== --- algotutor-0.8.6.orig/Makefile +++ algotutor-0.8.6/Makefile @@ -1,26 +1,41 @@ -SRCDIR = ~/active/algotutor -DOCDIR = ~/public_html/p/algotutor -DSTDIR = ~/algotutor +DESTDIR = + +DOCDIR = $(DESTDIR)/usr/share/doc/algotutor/html +DSTDIR = $(DESTDIR)/usr/share/algotutor PODSRC = algotutor gen_at_graph -# DATADIR=/usr/share/algotutor/data -# BINDIR=/usr/bin -DATADIR = ./data -BINDIR = . +DATADIR=$(DESTDIR)/usr/share/algotutor/data +BINDIR=$(DESTDIR)/usr/bin + # .deb and .rpm packagers please note: Please run # make test DATADIR=/usr/share/algotutor/data BINDIR=/usr/bin # or something the like after installing your algotutor package # so as to make sure that most algorithms run correctly. -dist: test - rm red-black-tree.ps - rm -rf $(DSTDIR) - cp -LpR . $(DSTDIR) +all: + +clean: + rm -f *~ doc/*.1 + +install: dist + install -m 755 algotutor.sh $(BINDIR)/algotutor + mkdir -p $(DESTDIR)/usr/share/man/man1 + for f in $(PODSRC); do \ + gzip -c9 $(DSTDIR)/doc/$$f.1 > $(DESTDIR)/usr/share/man/man1/$$f.1.gz; \ + done + +dist: + mkdir -p $(BINDIR) + mkdir -p $(DOCDIR) + mkdir -p $(DATADIR) + mkdir -p $(DSTDIR) + rm -f red-black-tree.ps + cp -a $$(ls -d * | grep -v debian) $(DSTDIR) for f in $(PODSRC) ; do pod2html $$f > $(DOCDIR)/$$f.shtml ; done ; rm -f *.tmp *.x~~ - cp -LpR $(DOCDIR) $(DSTDIR)/doc + cp -a $$(ls -d $(DOCDIR)/*) $(DSTDIR)/doc (cd $(DSTDIR); for f in $(PODSRC) ; do pod2man $$f > doc/$$f.1 ; done ; rm -f *.tmp *.x~~) -test: +test_: $(BINDIR)/algotutor -a rbt -i 75 -d red-black-tree.ps $(DATADIR)/countries.gr $(BINDIR)/algotutor -a graham $(DATADIR)/pts1.gr $(BINDIR)/algotutor -a dom $(DATADIR)/pts1.gr debian/patches/20algotutor.sh.patch0000644000000000000000000000032711414217566014442 0ustar Index: algotutor-0.8.6/algotutor.sh =================================================================== --- /dev/null +++ algotutor-0.8.6/algotutor.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +/usr/share/algotutor/algotutor $@ debian/patches/debian-changes-0.8.6-20000644000000000000000000000242011432010065014164 0ustar Description: Upstream changes introduced in version 0.8.6-2 This patch has been created by dpkg-source during the package build. Here's the last changelog entry, hopefully it gives details on why those changes were made: . algotutor (0.8.6-2) unstable; urgency=low . * updated cpyright data * simplified the patch system . The person named in the Author field signed this changelog entry. Author: Georges Khaznadar --- The information above should follow the Patch Tagging Guidelines, please checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here are templates for supplementary fields that you might want to add: Origin: , Bug: Bug-Debian: http://bugs.debian.org/ Forwarded: Reviewed-By: Last-Update: --- algotutor-0.8.6.orig/Makefile +++ algotutor-0.8.6/Makefile @@ -19,6 +19,7 @@ clean: install: dist install -m 755 algotutor.sh $(BINDIR)/algotutor + rm -f $(DSTDIR)/algotutor.sh mkdir -p $(DESTDIR)/usr/share/man/man1 for f in $(PODSRC); do \ gzip -c9 $(DSTDIR)/doc/$$f.1 > $(DESTDIR)/usr/share/man/man1/$$f.1.gz; \ debian/copyright0000644000000000000000000000105411414222442011115 0ustar This work was packaged for Debian by: Georges Khaznadar on Mon, 05 Jul 2010 01:11:35 +0200 It was downloaded from: http://people.ofset.org/~ckhung/dl/algotutor-0.8.6.tgz Upstream Author: Chao-Kuei HUNG Copyright: Copyright (C) 2002-2007 Chao-Kuei HUNG License: GPL version 3; see "/usr/share/common-licenses/GPL-3". The Debian packaging is: Copyright (C) 2010 Georges Khaznadar and is licensed under the GPL version 3, see "/usr/share/common-licenses/GPL-3". debian/rules0000755000000000000000000000067211414212451010246 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 %: dh $@ debian/docs0000644000000000000000000000001711414212451010032 0ustar dependency.txt