--- aee-2.2.15b.orig/debian/copyright +++ aee-2.2.15b/debian/copyright @@ -0,0 +1,22 @@ +This package was debianized first by Ramakrishnan on +Sun, 18 Mar 2001 10:36:13 +0530 + +It was downloaded from + +Copyright Holder: Hugh Mahon + Hewlett-Packard Company + +License: + + Copyright (C) 1986-2002 Hugh Mahon + + This program is free software; you can redistribute it and/or modify it + under the terms of the "Artistic License" which comes with Debian. + + THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED + WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES + OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. + +On Debian systems, the complete text of the Artistic License +can be found in `/usr/share/common-licenses/Artistic'. + --- aee-2.2.15b.orig/debian/rules +++ aee-2.2.15b/debian/rules @@ -0,0 +1,60 @@ +#!/usr/bin/make -f + +#export DH_VERBOSE=1 + +include /usr/share/dpatch/dpatch.make + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +configure: configure-stamp +configure-stamp: patch + +build: build-stamp + +build-stamp: configure-stamp + dh_testdir + $(MAKE) both + touch build-stamp + +clean: unpatch + dh_testdir + dh_testroot + rm -f build-stamp + -$(MAKE) clean + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + $(MAKE) install DESTDIR=$(CURDIR)/debian/aee + +binary-indep: build install + +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_installmenu debian/aee.menu debian/xae.menu + dh_install debian/xae.desktop /usr/share/applications + dh_desktop + dh_installman + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- aee-2.2.15b.orig/debian/compat +++ aee-2.2.15b/debian/compat @@ -0,0 +1 @@ +4 --- aee-2.2.15b.orig/debian/docs +++ aee-2.2.15b/debian/docs @@ -0,0 +1 @@ +README.aee --- aee-2.2.15b.orig/debian/changelog +++ aee-2.2.15b/debian/changelog @@ -0,0 +1,70 @@ +aee (2.2.15b-3) unstable; urgency=low + + * New Maintainer (Closes: #347736) + * Policy-Update (3.6.2) + * Complete new debian/rules + * debian/copyright changed + * Introduced dpatch (and a patch for building, 01-build) + * Added a menu-file for xae + * Added a desktop-file for xae + * Removed debian/README.Debian (no important informations) + * Added homepage to debian/control + + -- Mario Iseli Thu, 14 Jan 2006 21:13:09 +0100 + +aee (2.2.15b-2) unstable; urgency=low + + * Changed maintainer to Debian QA Group. + * Aknowledge NMU (Closes: #346612, #332300). + + -- Luk Claes Thu, 12 Jan 2006 11:58:07 +0100 + +aee (2.2.15b-1.1) unstable; urgency=high + + * Non-maintainer upload. + * Split xlibs-dev build-dep (Closes: #346612). + * Install menu entry in /usr/share/menu (Closes: #332300). + + -- Luk Claes Thu, 12 Jan 2006 00:10:06 +0100 + +aee (2.2.15b-1) unstable; urgency=low + + * Adopting the package (closes: #216271). + * Removed xlib6g-dev from Build-Depends, this package is no longer available + in the archive. + * Removed debhelper from Build-Depends. + * New upstream version (closes: #217666). + + -- Javier Linares Sat, 07 Feb 2004 17:31:37 +0100 + +aee (2.2.15a-2) unstable; urgency=low + + * Orphaning the package. + + -- Ramakrishnan Muthukrishnan Fri, 17 Oct 2003 22:27:54 +0530 + +aee (2.2.15a-1) unstable; urgency=low + + * New upstream + + * Closes: bug#153818 + + -- Ramakrishnan M Sat, 5 Oct 2002 22:35:38 -0400 + +aee (2.2.7-2) unstable; urgency=low + + * Build-Depends added for xlibs-dev + Closes: bug#111871 + + * Help file location problem solved. + Closes: bug#111860 + + * Package Description and punctuation changed. + Closes: bug#111812 + + * Initial Release. + Closes: bug#87827 + + -- Ramakrishnan M Sat, 28 Sep 2001 10:36:13 +0530 + + --- aee-2.2.15b.orig/debian/control +++ aee-2.2.15b/debian/control @@ -0,0 +1,18 @@ +Source: aee +Section: editors +Priority: optional +Maintainer: Mario Iseli +Build-Depends: debhelper (>= 4.0.0), dpatch, libx11-dev, x-dev +Standards-Version: 3.6.2 + +Package: aee +Architecture: any +Provides: editor +Depends: ${shlibs:Depends} +Description: An easy to use screen-based editor + aee (advanced easy editor) is intended to be an easy to use screen-based + editor that requires no instruction to use. Its interface is highlighted + by simple pop-up menus, which makes it easy for the users to carry out + tasks without remembering the commands. + . + Homepage: http://mahon.cwx.net/sources/ --- aee-2.2.15b.orig/debian/patches/01-build.dpatch +++ aee-2.2.15b/debian/patches/01-build.dpatch @@ -0,0 +1,95 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 01-build.dpatch by Mario Iseli +## +## DP: Fixes the paths in the Makefiles and puts everything to the right +## DP: place (Debian-style). + +@DPATCH@ + +diff -Naur aee-2.2.15b.old/install-sh aee-2.2.15b.new/install-sh +--- aee-2.2.15b.old/install-sh 1999-02-01 05:26:15.000000000 +0100 ++++ aee-2.2.15b.new/install-sh 1970-01-01 01:00:00.000000000 +0100 +@@ -1,52 +0,0 @@ +-#/bin/sh +- +-set -x +- +-rm -f /usr/local/bin/aee +-rm -f /usr/local/bin/rae +-rm -f /usr/local/bin/xae +-rm -f /usr/local/bin/rxae +-rm -f /usr/local/man/man1/aee.1 +-rm -f /usr/local/lib/help.ae +- +-if [ ! -d /usr/local/bin ] +-then +- mkdir /usr/local +- mkdir /usr/local/bin +-fi +- +-if [ ! -d /usr/local/man/man1 ] +-then +- mkdir /usr/local/man +- mkdir /usr/local/man/man1 +-fi +- +-if [ ! -d /usr/local/aee ] +-then +- mkdir /usr/local/aee +-fi +- +-if [ -x aee ] +-then +- install aee /usr/local/bin +-fi +- +-if [ -x xae ] +-then +- install xae /usr/local/bin +-fi +- +-install aee.1 /usr/local/man/man1 +-install help.ae /usr/local/aee +- +-cd /usr/local/bin +-if [ -x aee ] +-then +- ln aee rae +-fi +- +-if [ -x xae ] +-then +- ln xae rxae +-fi +- +diff -Naur aee-2.2.15b.old/localize.c aee-2.2.15b.new/localize.c +--- aee-2.2.15b.old/localize.c 2002-07-06 07:02:21.000000000 +0200 ++++ aee-2.2.15b.new/localize.c 2006-01-14 20:27:14.000000000 +0100 +@@ -64,7 +64,7 @@ + catalog = catopen("aee", 0); + #endif /* NO_CATGETS */ + +- ae_help_file = catgetlocal( 1, "/usr/local/lib/help.ae"); ++ ae_help_file = catgetlocal( 1, "/usr/lib/help.ae"); + main_buffer_name = catgetlocal( 2, "main"); + + +diff -Naur aee-2.2.15b.old/Makefile aee-2.2.15b.new/Makefile +--- aee-2.2.15b.old/Makefile 2001-04-22 06:46:45.000000000 +0200 ++++ aee-2.2.15b.new/Makefile 2006-01-14 20:39:23.000000000 +0100 +@@ -36,7 +36,14 @@ + @./create.mk.xae + + install : +- @./install-sh ++ mkdir -p $(DESTDIR)/usr/bin ++ mkdir -p $(DESTDIR)/usr/share/man/man1 ++ gzip -c -9 aee.1 > aee.1.gz ++ install -s aee $(DESTDIR)/usr/bin ++ install -s xae $(DESTDIR)/usr/bin ++ install aee.1.gz $(DESTDIR)/usr/share/man/man1/aee.1.gz ++ install aee.1.gz $(DESTDIR)/usr/share/man/man1/xae.1.gz ++ rm aee.1.gz + + clean : + rm -f *.o aee xae xae_dir/*.o --- aee-2.2.15b.orig/debian/patches/00list +++ aee-2.2.15b/debian/patches/00list @@ -0,0 +1 @@ +01-build --- aee-2.2.15b.orig/debian/aee.menu +++ aee-2.2.15b/debian/aee.menu @@ -0,0 +1,2 @@ +?package(aee):needs="text" section="Apps/Editors"\ + title="aee" command="/usr/bin/aee" --- aee-2.2.15b.orig/debian/xae.menu +++ aee-2.2.15b/debian/xae.menu @@ -0,0 +1,2 @@ +?package(aee):needs="X11" section="Apps/Editors"\ + title="xae" command="/usr/bin/xae" --- aee-2.2.15b.orig/debian/xae.desktop +++ aee-2.2.15b/debian/xae.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Encoding=UTF-8 +Version=1 +Name=xae +Exec=/usr/bin/xae +Type=Application +Categories=TextEditor +Terminal=0 +Comment=Small text editor +Comment[de]=Einfacher Text-Editor +Comment[fr]=Simple editeur de texte --- aee-2.2.15b.orig/make.aee +++ aee-2.2.15b/make.aee @@ -0,0 +1,38 @@ +DEFINES = -DSYS5 -DBSD_SELECT -DNCURSE + +CFLAGS = -DHAS_UNISTD -DHAS_STDLIB -DHAS_CTYPE -DHAS_SYS_IOCTL -DHAS_SYS_WAIT -s -DSLCT_HDR + + +all : aee + +OBJS = aee.o control.o format.o localize.o srch_rep.o delete.o mark.o motion.o keys.o help.o windows.o journal.o file.o + +.c.o: + cc $(DEFINES) -c $*.c $(CFLAGS) + +curses : $(OBJS) + cc -o aee $(OBJS) $(CFLAGS) -lcurses + +aee : $(OBJS) new_curse.o + cc -o aee $(OBJS) new_curse.o $(CFLAGS) + +new_curse.o : new_curse.c new_curse.h + cc new_curse.c -c $(DEFINES) $(CFLAGS) + + +aee.o: aee.c aee.h new_curse.h +control.o: control.c aee.h new_curse.h +delete.o: delete.c aee.h new_curse.h +format.o: format.c aee.h new_curse.h +help.o: help.c aee.h new_curse.h +journal.o: journal.c aee.h new_curse.h +windows.o: windows.c aee.h new_curse.h +file.o: file.c aee.h new_curse.h +keys.o: keys.c aee.h new_curse.h +localize.o: localize.c aee.h new_curse.h +mark.o: mark.c aee.h new_curse.h +motion.o: motion.c aee.h new_curse.h +new_curse.o: new_curse.c aee.h new_curse.h +srch_rep.o: srch_rep.c aee.h new_curse.h +xif.o: xif.c aee.h new_curse.h +new_curse.o: new_curse.c new_curse.h --- aee-2.2.15b.orig/xae_dir/make.xae +++ aee-2.2.15b/xae_dir/make.xae @@ -0,0 +1,48 @@ +DEFINES = -DXAE -Dxae11 + +CFLAGS = -DHAS_UNISTD -DHAS_STDLIB -DHAS_CTYPE -DHAS_SYS_IOCTL -DHAS_SYS_WAIT -I/usr/X11R6/include -L/usr/X11R6/lib -s + + +all : xae + +CC_CMD = cc $(DEFINES) -I.. -c $(CFLAGS) + +OBJS = aee.o control.o format.o localize.o srch_rep.o delete.o mark.o motion.o keys.o help.o windows.o journal.o file.o + +xae : $(OBJS) Xcurse.o xif.o + cc -o ../xae $(OBJS) Xcurse.o xif.o $(CFLAGS) -lX11 + + + +Xcurse.o: ../Xcurse.c ../aee.h ../Xcurse.h + ${CC_CMD} ../Xcurse.c +aee.o: ../aee.c ../aee.h ../Xcurse.h + ${CC_CMD} ../aee.c +control.o: ../control.c ../aee.h ../Xcurse.h + ${CC_CMD} ../control.c +delete.o: ../delete.c ../aee.h ../Xcurse.h + ${CC_CMD} ../delete.c +format.o: ../format.c ../aee.h ../Xcurse.h + ${CC_CMD} ../format.c +help.o: ../help.c ../aee.h ../Xcurse.h + ${CC_CMD} ../help.c +journal.o: ../journal.c ../aee.h ../Xcurse.h + ${CC_CMD} ../journal.c +file.o: ../file.c ../aee.h ../Xcurse.h + ${CC_CMD} ../file.c +keys.o: ../keys.c ../aee.h ../Xcurse.h + ${CC_CMD} ../keys.c +localize.o: ../localize.c ../aee.h ../Xcurse.h + ${CC_CMD} ../localize.c +mark.o: ../mark.c ../aee.h ../Xcurse.h + ${CC_CMD} ../mark.c +motion.o: ../motion.c ../aee.h ../Xcurse.h + ${CC_CMD} ../motion.c +new_curse.o: ../new_curse.c ../aee.h ../Xcurse.h + ${CC_CMD} ../new_curse.c +srch_rep.o: ../srch_rep.c ../aee.h ../Xcurse.h + ${CC_CMD} ../srch_rep.c +windows.o: ../windows.c ../aee.h ../Xcurse.h + ${CC_CMD} ../windows.c +xif.o: ../xif.c ../aee.h ../Xcurse.h + ${CC_CMD} ../xif.c