initial cleanup for upcoming 0.16.4 release

resync with official packages
two seconds of fame
Is Ganymede in for this round?


SVN revision: 2409
This commit is contained in:
Laurence J. Lane 2000-04-03 03:45:01 +00:00
parent e3b51b77aa
commit a0f5cbca83
10 changed files with 134 additions and 416 deletions

View File

@ -190,5 +190,8 @@ ITANI Eiichiro <emu@ceres.dti.ne.jp>
Masahiko Mori <masa@cthulhu.engr.sgi.com>
much i18n stuff
Laurence J. Lane <ljlane@debian.org>
minor stuff no one ever notices
And others whose names we probably forgot to add (email us and we'll put you
in here)

View File

@ -18,10 +18,8 @@ e.rh.spec \
configure \
configure.in \
econfig.h.in \
debian/README.debian \
debian/changelog \
debian/README.THIS \
debian/dh.tar.gz \
debian/control \
debian/copyright \
debian/ehrc \
debian/rules \
ABOUT-NLS

23
debian/READ.THIS vendored Normal file
View File

@ -0,0 +1,23 @@
This debian/ directory will allow you to build Debian packages right
out of the CVS tree or from a released tarball. The latest Debian
diff against the source tarball can be found in the Debian archives.
You'll need a number of packages to build. Here's a list, which may
not be complete or correctly catagorized:
Debian specific:
devscripts fakeroot
CVS specific:
autoconf automake libtool gettext
Graphic libs:
libjpeg62-dev libjpeg62-dev libpng2-dev libtiff3g-dev
Miscellaneous:
libaudiofile-dev libesd0-dev zlib1g-dev imlib-dev
Here's a sample build:
cd e; fakeroot debuild binary

34
debian/README.debian vendored
View File

@ -1,34 +0,0 @@
Enlightenment for Debian/GNU Linux
----------------------------------
This is Debian Potato package build system for CVS and release
version of Enlightenment 0.16.x.
To build the packages, change to Enlightenment's top directory,
the directory that contains debian/, and run one of the following
commands:
chmod +x debian/rules; fakeroot debian/rules binary
debuild debian/rules binary
The CVS version will require a number of software tools (libtool,
automake, autoconf, autoheader, etc.) and m4 macros to build the GNU
configure script. The release and CVS versions depend on many
libraries (imlib, fnlib, freetype, jpeg, gif or ungif, png, esound,
xlib6, et cetera) and header files. I'm working on source
dependencies to alleviate the need to manually install all the libs
and tools.
Visit http://www.debian.org for the latest official Debian binary
packages and source code diffs.
Visit http://www.debian.org/~ljlane/ for the latest bug tracking,
news, and pre/experimental package releases of Enlightenment for
Debian.
Visit http://www.enlightenment.org/ for the latest enlightenment news
and source code.
Laurence J. Lane <ljlane@debian.org>, Thu, 21 Oct 1999 09:54:23 -0400

10
debian/changelog vendored
View File

@ -1,10 +0,0 @@
enlightenment (0.16.3-0cvs0d) unstable; urgency=low
* Yet Another CVS Release
-- Laurence J. Lane <ljlane@debian.org> Sun, 10 Oct 1999 23:15:37 -0400
Local variables:
mode: debian-changelog
add-log-mailing-address: "ljlane@debian.org"
End:

47
debian/control vendored
View File

@ -1,47 +0,0 @@
Source: enlightenment
Section: x11
Priority: optional
Maintainer: Laurence J. Lane <ljlane@debian.org>
Standards-Version: 3.0.1.0
Package: enlightenment
Architecture: any
Depends: ${shlibs:Depends}
Replaces: enlightenment-nosound, enlightenment-sound, enlightenment-theme-brushedmetal, enlightenment-dox
Recommends: enlightenment-theme, esound
Conflicts: dox, enlightenment-dox, enlightenment-docs, enlightenment-theme (<< 0.16.1-0)
Suggests: eterm, menu (>> 2.0)
Description: The Enlightenment Window Manager
Enlightenment - the window manager that dares to do what others don't.
It features KDE and GNOME integration, multi-program sound support,
iconification, sliding desktops, docking, epplets, and much more.
Enlightenment takes the concepts of themes to another level - everything
can be changed. The visual components of themes are a rich set of graphical
images in a variety of formats. Theme makers can unleash their artistic
talents without bounds. Themes are not limited to just different colors
and background images on the same old desktop.
.
Enlightenment features the BrushedMetal theme, designed by gimp legend,
tigert. It is predominately grey with the subtle texture of - you guessed
it - brushed metal. The menus in particular look superb.
Package: enlightenment-theme-shinymetal
Architecture: all
Recommends: enlightenment
Provides: enlightenment-theme
Suggests: enlightenment
Description: Raster's ShinyMetal Theme for E
This is the theme formerly known as 'E15 default'. It is fairly simple,
by raster's standards, and attractive. The motif used is shiny metal
borders, with translucent dark orange highlights. It includes some nice
background pictures.
Package: enlightenment-theme-bluesteel
Architecture: all
Recommends: enlightenment
Provides: enlightenment-theme
Suggests: enlightenment
Description: Hunchback's BlueSteel theme for E
This theme really shows off what you can do with enlightenment. It's by
Daniel Erat, and shows off anti-aliased text, extensively shaped windows, and
is compliant with the 0.16.0 theme spec.

31
debian/copyright vendored
View File

@ -1,31 +0,0 @@
This is the Debian GNU/Linux prepackaged presentation of the Enlightenment
window manager. This package was originally Debianized by Sean E. Perry
<shaleh@debian.org> and refined further Brian M. Almeida <bma@debian.org>.
This package was assembled from the 0.16.1 release. Source archives can
be retrieved from ftp://ftp.enlightenment.org. For more information on
Enlightenment, please go to http://www.enlightenment.org.
Copyright Information:
Copyright (C) 1999 Carsten Haitzler, Geoff Harrison and various contributors
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 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.

BIN
debian/dh.tar.gz vendored Normal file

Binary file not shown.

241
debian/ehrc vendored
View File

@ -1,241 +0,0 @@
#!/bin/sh
# Don't waste your time making this bash/ash/sh rc
# file executable or trying to create debian menus
# with it. The hashbang at the top is for syntax
# highlighting.
# convenience variables
e='enlightenment'
eh_installdir ( ) {
eh_echo "creating dir(s) $@"
/usr/bin/install -g root -o root -d -m 755 "$@"
}
eh_echo ( ) {
echo "ehelper: $@..."
}
# consolidate debhelper files into debian/ehrc
nospoon ( ) {
sed '/^#ehrc#/,$ d' ehrc > data
echo -e "#ehrc# This is a regex target that begins the data section.\n" >> data
(for i in enl*; do echo "#file:$i"; sed 's/^/\#/' $i; echo -e "\n"; done | cat -s) >> data
mv ehrc ehrc.old; mv data ehrc
}
spoon ( ) {
eh_echo "unpacking debhelper files"
perl -we 'undef $/; while(<>) { while( /^#file:(.*?)^(.*?)^$/smg ) { $file=$1; $data=$2; $data =~ s/^#//smg; open FILE,">$file" || die "$file !?"; print FILE "$data" || die "$file !?"; close FILE || die "$file !?"; } }' ehrc
}
# place Debian menu stubs in menus.cfg
eh_menufilter ( ) {
eh_echo "adding Debian menu stub to menus.cfg"
perl -lwne '/^__E_CFG_VERSION 0$/ and print("$_\n\n", qw@BEGIN_NEW_FILE_MENU("DEBIAN_MENU", "ROOT", "/etc/enlightenment/menus/debian.menu")@, "\nEND_MENU") or /^ADD_MENU_SUBMENU_TEXT_ITEM.*APPS_SUBMENU/ and print("$_\n", qw@ADD_MENU_SUBMENU_TEXT_ITEM("Debian", "DEBIAN_MENU")@) or print;' src/themes/configs/menus.cfg > debian/$e/usr/share/$e/config/menus.cfg
eh_installdir debian/$e/etc/$e/menus
}
# IF this is a CVS source tree, expand debhelper files
# and run ./autogen.sh. ELSE, just run ./configure.
eh_configure ( ) {
(cd debian; spoon)
test -f config.cache && eh_echo "removing config.cache" && rm config.cache
test -f autogen.sh && ./autogen.sh "$@" || ./configure "$@"
}
eh_unpacktheme ( ) {
local themedir="debian/$1/usr/share/enlightenment/themes/$2"
local srcdir="src/themes"
eh_installdir $themedir
eh_echo "unpacking $2.etheme to $themedir"
tar zxpf "$srcdir/$2.etheme" -C $themedir
}
eh_installthemes ( ) {
eh_unpacktheme "$e-theme-bluesteel" "BlueSteel"
eh_unpacktheme "$e-theme-shinymetal" "ShinyMetal"
eh_unpacktheme "$e" "BrushedMetal-Tigert"
}
eh_makfilefilter ( ) {
eh_echo "disabling src/themes/Makefile's theme unpacking routine"
perl -ni'.old' -lwe '/^install-data-local:$/ .. /^$/ or print' src/themes/Makefile
}
eh_undocumented ( ) {
eh_echo "adding undocumented man page links"
local needdocs=$(cd debian/$e/usr/bin ; ls | sed '/^enlightenment$/d; s#$#.1#' | xargs)
eh_echo "$needdocs"
dh_undocumented -p $e $needdocs
eh_installdir debian/$e/usr/share/doc/$e
cp src/ChangeLog debian/$e/usr/share/doc/$e/changelog
}
eh_clean ( ) {
rm -f core `find . \( -name '*.orig' -o -name '*.rej' -o -name '*~' \
-o -name '*.bak' -o -name '#*#' -o -name '.*.orig' \
-o -name '.*.rej' -o -name '.SUMS' -o -name '*.old' \) -print`
}
# install meta function
eh_install ( ) {
eh_menufilter
eh_installthemes
eh_undocumented
perl -pi -lwe 's/^EBIN=.*/EBIN=\/usr\/bin/' debian/$e/usr/bin/$e.install
eh_clean
}
#ehrc# This is a regex target that begins the data section.
#file:enlightenment-theme-bluesteel.README.Debian
#See the enlightenment package's /usr/share/doc/enlightenment/
#for additional information.
#file:enlightenment-theme-shinymetal.README.Debian
#See the enlightenment package's /usr/share/doc/enlightenment/
#for additional information.
#file:enlightenment.README.Debian
#Enlightenment for Debian/GNU Linux
#----------------------------------
#
#NOTES for users of KDE/GNOME and those not using KDE/GNOME:
# There are a number of config files with pretty obvious names
# in /usr/share/enlightenment/config. You can go there and
# copy or the appropriate files to the normal names. As an
# example:
#
# cp keybindings.gmc.cfg keybindings.cfg
#
# This can also be accomplished by copying the appropriate
# files to $HOME/.enlightenment/
#
#Visit http://www.debian.org for the latest official Debian binary and
#source code enlightenment packages.
#
#Visit http://www.debian.org/~ljlane/ for the latest bug tracking,
#news, and pre/experimental package releases of Enlightenment for
#Debian.
#
#Visit http://www.enlightenment.org/ for the latest enlightenment news
#and source code.
#
#
#Laurence J. Lane <ljlane@debian.org>, Fri, 5 Nov 1999 20:33:57 -0500
#file:enlightenment.conffiles
#/etc/menu-methods/enlightenment
#file:enlightenment.docs
#NEWS README INSTALL AUTHORS
#file:enlightenment.menu
#?package(enlightenment):needs="wm" section="WindowManagers"\
# title="Enlightenment" command="/usr/bin/enlightenment"
#file:enlightenment.menu-method
##!/usr/sbin/install-menu
#
#compat="menu-1";
#!include menu.h
#
#compat="menu-2";
#
## choose a terminal program here:
# function term_prog()="Eterm";
# #function term_prog()="rxvt";
# #function term_prog()="xterm";
#
#treewalk=c(m);
#rootprefix="/etc/enlightenment/menus/";
#userprefix="$HOME/.enlightenment/menus_debian/";
#mainmenutitle="Debian Menu";
#
#function menu_sh() = prefix() "debian_menu_sh";
#prerun="set -e; rm -f " prefix() "debian*menu/" menu_sh();
#postrun="set -e; cat " menu_sh() "| sed 's/_debian/debian/g' | sh; rm -f " menu_sh();
#
#function quote($text)= "\"" $text "\"";
#function tick($text)= "\'" $text "\'";
#
#function space()= " ";
#function newline()="\n";
#
#function entry($com)= quote(esc(title(),"\"")) space()
# quote(ifelse(icon(),icon(),"NULL")) space()
# quote("exec") space()
# $com;
#
#function term($com)= term_prog() " -T " tick(title()) " -e " $com;
#
#supported;
# wm= entry(quote("eesh -e restart_wm " $command) newline());
# x11= entry(quote($command) newline());
# text= entry(quote(term($command)) newline());
#endsupported;
#
#function etitle()= tolower(replacewith($section,"/","_") ".menu");
#
#startmenu= "cat > " prefix() etitle() " << END" newline() quote(title()) newline();
#
#endmenu= "END" newline() newline();
#
#submenutitle="\""title()"\" NULL menu \"" prefix() etitle() "\"\n";
#
#genmenu="debian_menu_sh";
#file:enlightenment.postinst
##!/bin/sh -e
#
#if test -x /usr/sbin/register-window-manager >/dev/null 2>&1; then
# /usr/sbin/register-window-manager --add /usr/bin/enlightenment
#fi
#
##DEBHELPER#
#
#exit 0
#file:enlightenment.postrm
##!/bin/sh -e
#
#if test "$1" = "purge" -a -x /usr/sbin/register-window-manager; then
# /usr/sbin/register-window-manager --remove /usr/bin/enlightenment
#fi
#
##DEBHELPER#
#
#exit 0
#
#file:enlightenment.preinst
##!/bin/sh -e
#
#dpkg --assert-long-filenames 2>&1 > /dev/null || { echo "requires dpkg (>= 1.4.17)"; exit 1; }
#
#theme_dir='/usr/share/enlightenment/themes'
#
#if test -f "$themedir/BrushedMetal-Tigert"; then
# local date=$(date -R | tr ' ' '_')
# echo "warning: attempting to move $themedir/BrushedMetal-Tigert to $themedir/BrushedMetal-Tigert.$date"
# mv -v "$themedir/BrushedMetal-Tigert" "$themedir/BrushedMetal-Tigert.$date"
# echo "You should probably remove $themedir/BrushedMetal-Tigert.$date"
#fi
#
##DEBHELPER#
#
#exit 0
#file:enlightenment.prerm
##!/bin/sh -e
#
#find /etc/enlightenment/menus/ -type f -name 'debian*.menu' -print0 | xargs -0r rm -f
#
##DEBHELPER#
#
#exit 0

155
debian/rules vendored
View File

@ -1,68 +1,102 @@
#!/usr/bin/make -f
#!/usr/bin/make -f
# Sample debian/rules that uses debhelper.
# This file is public domain software, originally written by Joey Hess.
#
# This version is for a multibinary package. It also allows you to build any
# of the binary packages independantly, via binary-<package> targets.
# heavily modified debian/rules based on the
# sample debian/rules that uses debhelper.
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
# original copyright info:
# GNU copyright 1997 by Joey Hess.
# This is the debhelper compatability version to use.
export DH_COMPAT=2
#sh = DH_COMPAT=2 DH_VERBOSE=1 /bin/ash -ex
#sh = DH_COMPAT=2 /bin/ash -e
sh = DH_COMPAT=2 /bin/sh -e
# This has to be exported to make some magic below work.
export DH_OPTIONS
SHELL := $(sh)
ESHELL = . debian/ehrc;
vpath install debian
vpath build debian
e = enlightenment
# Other Stuff
pwd:=$(shell pwd)
cfg=--prefix=/usr --enable-upgrade=no --enable-fsstd=yes --mandir=/usr/share/man
INSTALL=/usr/bin/install -o root -g root
configure_options = --prefix=/usr --enable-upgrade=no --enable-fsstd=yes --mandir=/usr/share/man
build:
build: build-stamp
build-stamp:
test -f debian/dh.tar.gz && tar zxvf debian/dh.tar.gz -C debian
dh_testdir
$(ESHELL) eh_configure $(configure_options)
$(ESHELL) eh_makfilefilter
$(MAKE) CFLAGS+=-I/usr/include/freetype
touch debian/$@
test -x autogen.sh && ./autogen.sh $(cfg) || ./configure $(cfg)
$(MAKE)
touch build-stamp
clean:
dh_testdir
dh_testroot
-$(MAKE) clean distclean
dh_clean *.old debian/{install,build}
rm -f build-stamp
install: SHELL = DH_OPTIONS="-A" $(sh)
# Add here commands to clean up after the build process.
#-$(MAKE) clean
#-$(MAKE) distclean
rm -rf build-stamp
dh_clean
install: DH_OPTIONS=
install: build
dh_testdir
dh_testroot
dh_clean -k
$(MAKE) install DESTDIR=$(shell pwd)/debian/${e}
$(ESHELL) eh_install
touch debian/$@
dh_installdirs
binary-indep: SHELL = DH_OPTIONS="-i" $(sh)
binary-indep: build install
#dh_testversion 2 2
$(MAKE) install DESTDIR=$(pwd)/debian/enlightenment-data
# The lucida font doesn't exist on Debian boxes or something *shrug*
# Changed to "fixed" in all themes
find debian/enlightenment-data/usr/share/enlightenment/themes/ -type f \
-name '*.cfg' -exec grep -l lucida {} \; | \
xargs perl -i -pwe 's#".*?lucida.*?"#"fixed"#'
# Move files to sub-packages and remove empty directories
# Remove Ganymede too, who knows if it will make the cut this time
dh_movefiles --sourcedir=debian/enlightenment-data
rm -rf debian/enlightenment-data/usr/bin \
debian/enlightenment-data/usr/share/enlightenment/themes/BlueSteel \
debian/enlightenment-data/usr/share/enlightenment/themes/ShinyMetal \
debian/enlightenment-data/usr/share/enlightenment/themes/Ganymede \
debian/enlightenment-data/usr/share/man
# Populate /usr/share/doc/enlightenment with interesting looking stuff
$(INSTALL) -m 644 ABOUT-NLS INSTALL FAQ README AUTHORS NEWS \
debian/enlightenment/usr/share/doc/enlightenment/
$(INSTALL) -m 644 src/ChangeLog \
debian/enlightenment/usr/share/doc/enlightenment/changelog-src
$(INSTALL) -m 755 sample-scripts/*.{pl,sh} \
debian/enlightenment/usr/share/doc/enlightenment/examples
# Add stub to menus.cfg for Debian menus
perl -pw debian/menumangler.pl src/themes/configs/menus.cfg > \
debian/enlightenment-data/usr/share/enlightenment/config/menus.cfg
# Something is stuffed with EBIN in the install script, so hardcode it
perl -pi -lwe 's/^EBIN=.*/EBIN=\/usr\/bin/' \
debian/enlightenment/usr/bin/enlightenment.install
# This single target is used to build all the packages, all at once, or
# one at a time. So keep in mind: any options passed to commands here will
# affect _all_ packages. Anything you want to only affect one package
# should be put in another target, such as the install target.
binary-common:
# Need this version of debhelper for DH_OPTIONS to work.
dh_testversion 2.0
dh_testdir
dh_testroot
dh_installdocs -v
dh_installchangelogs
dh_compress
dh_fixperms
dh_installdeb
dh_gencontrol
dh_md5sums
dh_builddeb
binary-arch: SHELL = DH_OPTIONS="-a" $(sh)
binary-arch: build install
#dh_testversion 2 2
dh_testdir
dh_testroot
dh_installdocs -v
dh_installchangelogs
dh_compress
dh_installdocs
dh_installmenu
dh_strip
dh_installchangelogs
dh_link
dh_compress
dh_fixperms
dh_installdeb
dh_shlibdeps
@ -70,5 +104,28 @@ binary-arch: build install
dh_md5sums
dh_builddeb
binary: binary-indep binary-arch
.PHONY: clean binary-indep binary-arch binary
# Build architecture independant packages using the common target.
binary-indep:
$(MAKE) -f debian/rules DH_OPTIONS=-i binary-common
# Build architecture dependant packages using the common target.
binary-arch:
$(MAKE) -f debian/rules DH_OPTIONS=-a binary-common
# Any other binary targets build just one binary package at a time.
binary-%: build install
make -f debian/rules binary-common DH_OPTIONS=-p$*
manpage:
pod2man debian/e-utilities.pod \
--center="Debian GNU/Linux" \
--release="woody" > debian/e-utilities.1
pack:
cd debian; tar cvzf dh.tar.gz e* R* changelog copyright menumangler.pl control --remove
unpack:
cd debian; tar xzvf dh.tar.gz
binary: install binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install