Updated Eterm debian stuff.

SVN revision: 7441
This commit is contained in:
swielinga 2003-09-11 13:26:56 +00:00 committed by swielinga
parent 2918d31c09
commit ec69920a42
16 changed files with 213 additions and 109 deletions

12
debian/README.debian vendored
View File

@ -1,12 +0,0 @@
eterm for DEBIAN
----------------------
Sources can be found at www.eterm.org. Would like again to thank all of
#E on EFNet and #Debian on openprojects.net.
This is a CVS PRERELEASE DEB _ONLY_! DO NOT FILE BUGS AGAINST IT!
If you run into problems, please contact Brian Almeida <bma@debian.org>
No changes made from the original.
Brian M. Almeida <bma@debian.org>, Sun, 27 Sep 1998 20:18:11 -0400

12
debian/changelog vendored
View File

@ -1,11 +1,5 @@
eterm (0.9.2-0.2003080201) unstable; urgency=low eterm (0.9.3-0cvs20030911) unstable; urgency=low
* a cvs release * a CVS release
-- Laurence J. Lane <ljlane@debian.org> Mon, 13 Nov 2000 10:58:37 -0500 -- Sytse Wielinga <s.b.wielinga@student.utwente.nl> Thu, 11 Sep 2003 15:21:22 +0200
Local variables:
mode: debian-changelog
add-log-mailing-address: "ljlane@debian.org"
End:
eoch

28
debian/control vendored
View File

@ -1,19 +1,21 @@
Source: eterm Source: eterm
Section: x11 Section: x11
Priority: optional Priority: optional
Maintainer: Laurence J. Lane <ljlane@debian.org> Maintainer: Sytse Wielinga <s.b.wielinga@student.utwente.nl>
Standards-Version: 3.1.1 Standards-Version: 3.6.1.0
Build-Depends: imlib-dev, libc6-dev, libjpeg62-dev, libpng2-dev, libtiff3g-dev, libungif3g-dev | giflib3g-dev, zlib1g-dev, debhelper, xlib6g-dev Build-Depends: libimlib2-dev, libast2-dev (>=0.6), libpcre3-dev, libttf-dev, debhelper (>> 4.0)
Package: eterm Package: eterm
Architecture: any Architecture: any
Depends: ${shlibs:Depends} Depends: ncurses-term, ${shlibs:Depends}
Provides: x-terminal-emulator Provides: x-terminal-emulator, eterm-backgrounds
Conflicts: eterm-backgrounds (<< 1.1-5) Conflicts: eterm-backgrounds, eterm-ml
Description: Enlightened Terminal Emulator (ala xterm) with Imlib support Replaces: eterm-ml, eterm-backgrounds
A terminal emulator in the spirit of xterm or rxvt. However this one differs Description: Enlightened Terminal Emulator
in that it uses an Enlightenment style config file, as well as themes. The A terminal emulator in the spirit of xterm or rxvt, eterm uses an
Imlib graphics engine is used to render images. This version supports Enlightenment style config file, as well as themes. The Imlib graphics
background images, pixmapped scrollbars, and the pseudo-transparency. engine is used to render images. This version supports background images,
Eterm also now uses libpthreads. pixmapped scrollbars, pseudo-transparency, POSIX threads, and unicode
support.
.
This is a CVS version.

29
debian/copyright vendored
View File

@ -1,13 +1,30 @@
This package was debianized by Sean E. Perry shaleh@debian.org on This package was debianized by Sean E. Perry shaleh@debian.org on
Sun, 27 Sep 1998 20:18:11 -0400. Sun, 27 Sep 1998 20:18:11 -0400.
The source for this package was obtained from: It was downloaded by CVS from:
:pserver:anonymous@cvs.sourceforge.net:/cvsroot/enlightenment
ftp://eterm.sourceforge.net/pub/eterm/Eterm-0.9.tar.gz Upstream Author: Michael Jennings <mej@eterm.org>
Copyright: Copyright:
Eterm is released under the GNU Public License. Debian systems should have Copyright (C) 1997-2003, Michael Jennings
a copy located at:
Permission is hereby granted, free of charge, to any person obtaining a copy
/usr/share/common-licenses/GPL. 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 of the Software, its documentation and marketing & publicity
materials, and acknowledgment shall be given in the documentation, materials
and software packages that this Software was used.
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 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.

10
debian/doc-base.faq vendored
View File

@ -1,10 +0,0 @@
Document: eterm-faq
Title: Eterm Frequently Asked Questions
Author: Michael Jennings
Abstract: Frequently Asked Questions about the Enlightened Terminal.
.
Section: Apps/Terminals
Format: HTML
Index: /usr/doc/eterm/FAQ.html
Files: /usr/doc/eterm/FAQ.html

47
debian/eterm-utils.1 vendored Normal file
View File

@ -0,0 +1,47 @@
.TH ETERM-UTILS 1
.SH NAME
eterm-utils \- Eterm accessory programs
.SH SYNOPSIS
.B Esetroot
.I "[-display display] [-scale] pixmap"
.br
.B kEsetroot
.I pixmap
.br
.B Etbg
.I "pixmap"
.br
.B Ettable
.br
.B Etcolors
.br
.B Etsearch
.I string
.br
.B Etbg_update_list
.SH "DESCRIPTION"
.PP
.B Esetroot
set the Eterm background for transparency with window managers other than enlightenment.
.B kEsetroot
is provided for KDE.
.br
.B Etbg
set the Eterm background image
.br
.B Ettable
display the current font character set
.br
.B Etcolors
display a table of the current color map
.br
.B Etsearch
search the scroll back buffer, it's secksie
.br
.B Etbg_update_list
update pixmap lists for the menus
.SH "SEE ALSO"
.IR "eterm(1)" ,
.SH AUTHOR
This manual page was written by Laurence J. Lane <ljlane@debian.org>,
for the Debian GNU/Linux system (but may be used by others).

8
debian/eterm.docs vendored Normal file
View File

@ -0,0 +1,8 @@
README
CVS-README
ReleaseNotes
ReleaseNotes.1
doc/README.Escreen
doc/Eterm_reference.html
doc/Eterm.ti
doc/Eterm.tcap

17
debian/eterm.files vendored Normal file
View File

@ -0,0 +1,17 @@
usr/bin/*
usr/lib/*.so
usr/lib/*.la
usr/share/man/man1/*.1
usr/share/Eterm/pix/tile/*.jpg
usr/share/Eterm/pix/scale/*.jpg
usr/share/Eterm/pix/*.png
usr/share/Eterm/pix/pixmaps.list
usr/share/Eterm/gdb.scr
usr/share/Eterm/themes/auto/*.cfg
usr/share/Eterm/themes/auto/pixmaps.list
usr/share/Eterm/themes/Eterm/*.cfg
usr/share/Eterm/themes/Eterm/pixmaps.list
usr/share/Eterm/themes/trans/*.cfg
usr/share/Eterm/themes/trans/pixmaps.list
usr/share/Eterm/themes/Escreen/*.cfg
usr/share/Eterm/themes/Escreen/pixmaps.list

7
debian/eterm.links vendored Normal file
View File

@ -0,0 +1,7 @@
usr/share/man/man1/eterm-utils.1.gz usr/share/man/man1/Etcolors.1.gz
usr/share/man/man1/eterm-utils.1.gz usr/share/man/man1/Etbg.1.gz
usr/share/man/man1/eterm-utils.1.gz usr/share/man/man1/Ettable.1.gz
usr/share/man/man1/eterm-utils.1.gz usr/share/man/man1/Esetroot.1.gz
usr/share/man/man1/eterm-utils.1.gz usr/share/man/man1/kEsetroot.1.gz
usr/share/man/man1/eterm-utils.1.gz usr/share/man/man1/Etsearch.1.gz
usr/share/man/man1/eterm-utils.1.gz usr/share/man/man1/Etbg_update_list.1.gz

View File

20
debian/eterm.postinst vendored Normal file
View File

@ -0,0 +1,20 @@
#!/bin/sh
set -e
if [ "$1" = configure ]; then
xte='x-terminal-emulator'
binary='/usr/bin/Eterm'
xtebinary="/usr/bin/$xte"
xteman="/usr/share/man/man1/$xte.1.gz"
man='/usr/share/man/man1/Eterm.1.gz'
chown root.utmp $binary
chmod 2755 $binary
update-alternatives \
--install $xtebinary $xte $binary 10 \
--slave $xteman $xte.1.gz $man
fi
#DEBHELPER#

9
debian/eterm.prerm vendored Normal file
View File

@ -0,0 +1,9 @@
#!/bin/sh -e
if [ "$1" = remove -o "$1" = upgrade ]; then
xte='x-terminal-emulator'
xtebinary="/usr/bin/$xte"
update-alternatives --remove $xte $xtebinary
fi
#DEBHELPER#

20
debian/postinst vendored
View File

@ -1,20 +0,0 @@
#!/bin/sh -e
BIN=/usr/bin/Eterm
if [ "$1" = configure ]; then
ldconfig
if test -x /usr/bin/update-menus; then update-menus; fi
if test -e /etc/suid.conf -a -x /usr/sbin/suidregister; then
#cleanup old "Eterm" mess
if test -x /usr/sbin/suidunregister; then
grep -q "Eterm $BIN" /etc/suid.conf && /usr/sbin/suidunregister -s Eterm $BIN
fi
suidregister -s eterm /usr/bin/Eterm root utmp 2755
else
chown root.utmp $BIN
chmod 2755 $BIN
fi
fi
#DEBHELPER#

7
debian/postrm vendored
View File

@ -1,7 +0,0 @@
#!/bin/sh -e
if [ "$1" = remove ]; then
if test -x /usr/bin/update-menus; then update-menus; fi
fi
#DEBHELPER#

96
debian/rules vendored
View File

@ -3,42 +3,75 @@
# GNU copyright 1997 to 1999 by Joey Hess. # GNU copyright 1997 to 1999 by Joey Hess.
# Uncomment this to turn on verbose mode. # Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
export DH_COMPAT=1
pwd:=$(shell pwd)
cfg = --mandir=/usr/share/man --enable-fsstd \ # This is the debhelper compatability version to use.
--enable-xim --with-backspace=del --with-delete=execute \ export DH_COMPAT=4
--with-home=linux --with-end=linux
build: build-stamp
CFLAGS ?= -Wall -g
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
CFLAGS += -O0
else
CFLAGS += -O2
endif
ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
INSTALL_PROGRAM += -s
endif
ifneq (,$(findstring mmx,$(DEB_BUILD_OPTIONS)))
ENABLE_MMX = yes
else
ENABLE_MMX = no
endif
# These are used for cross-compiling and for saving the configure script
# from having to guess our platform (since we know it already)
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
INSTALL=/usr/bin/install -p
CONFIGUREOPTS = --prefix=/usr --build=$(DEB_BUILD_GNU_TYPE) --host=$(DEB_HOST_GNU_TYPE) \
--mandir=/usr/share/man \
--enable-xim \
--with-backspace=del \
--with-delete=execute \
--with-home=xterm \
--with-end=xterm \
--enable-share=yes \
--enable-static=no \
--enable-mmx=$(ENABLE_MMX) \
--enable-multi-charset=unicode \
--enable-escreen \
--without-sense-of-humor \
--with-pty-group=tty
configure: configure-stamp
configure-stamp:
dh_testdir
# we don't like rpath
perl -pi -e 's/^(Eterm|Esetroot)_LDFLAGS =.*$$//' \
$$(find . -name Makefile.am -o -name Makefile.in)
test -x autogen.sh && ./autogen.sh $(CONFIGUREOPTS) || ./configure $(CONFIGUREOPTS)
touch configure-stamp
build: configure build-stamp
build-stamp: build-stamp:
dh_testdir dh_testdir
./autogen.sh ${cfg}
install -d debian/pmt/
# because glibc 2.1's utmpx.h is incompatible on sparc
sed 's/#define HAVE_UTMPX_H 1/\/* #undef HAVE_UTMPX_H *\//' config.h > debian/pmt/config.h
cp debian/pmt/config.h config.h
# fix rpath issues
cp libtool debian/pmt/libtool
sed \
-e 's/^hardcode_libdir_flag_spec.*$$/hardcode_libdir_flag_spec="-D__LIBTOOL_IS_A_FOOL__ "/' \
-e '/^archive_cmds="/s/"$$/ \\$$deplibs"/' debian/pmt/libtool > libtool
$(MAKE) $(MAKE)
touch debian/pmt/$@
touch build-stamp
clean: clean:
dh_testdir dh_testdir
dh_testroot rm -f build-stamp configure-stamp
rm -f build-stamp config.cache
# Add here commands to clean up after the build process. -$(MAKE) distclean
-$(MAKE) clean
-rm -rf debian/pmt/
dh_clean dh_clean
@ -47,12 +80,8 @@ install: build
dh_testroot dh_testroot
dh_clean -k dh_clean -k
dh_installdirs dh_installdirs
# Add here commands to install the package into debian/tmp. $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
$(MAKE) install DESTDIR=$(pwd)/debian/tmp
install -d $(pwd)/debian/tmp/usr/share/doc/eterm
install $(pwd)/ChangeLog $(pwd)/debian/tmp/usr/share/doc/eterm
binary-indep: build install binary-indep: build install
@ -61,11 +90,14 @@ binary-arch: build install
dh_testroot dh_testroot
dh_installdocs dh_installdocs
dh_installmenu dh_installmenu
dh_installman debian/eterm-utils.1
dh_installchangelogs dh_installchangelogs
dh_movefiles
dh_link dh_link
dh_strip dh_strip
dh_compress dh_compress
dh_fixperms dh_fixperms
dh_makeshlibs
dh_installdeb dh_installdeb
dh_shlibdeps dh_shlibdeps
dh_gencontrol dh_gencontrol
@ -73,4 +105,4 @@ binary-arch: build install
dh_builddeb dh_builddeb
binary: binary-indep binary-arch binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install .PHONY: build clean binary-indep binary-arch binary install configure