forked from e16/e16
1
0
Fork 0

synched witht the current release version again

removed tar path lenght kludge, requires updated dpkg
http://www.debian.org/~ljlane/downloads/dpkg_1.4.1.17.deb
(there at least until the mirror pushes catch up)
added Ganymede again, and I hope cK puts a descriptin in debian/control
see debian/changelog for the rest


SVN revision: 939
This commit is contained in:
Laurence J. Lane 1999-10-21 17:56:12 +00:00
parent 10505e6fb4
commit b95cc99950
5 changed files with 167 additions and 183 deletions

37
debian/README.debian vendored
View File

@ -1,17 +1,34 @@
Enlightenment for Debian/GNU Linux
----------------------------------
This is the Debian package of the release version of Enlightenment
0.16.0. It's designed for the latest "unstable" Debian Potato.
Visit http://www.debian.org or your favorite Debian mirror site
for the latest Debian binary and source packaging of E 0.16.0.
This is Debian Potato package build system for CVS and release
version of Enlightenment 0.16.x.
Thanks Sean, Brian, Carsten, Geoff, Adam, Dale, Rasheen, and all
who helped me with this project. Thanks #E and everyone helping
Debian, Enlightenment, and Linux to thrive.
To build the packages, change to Enlightenment's top directory,
the directory that contains debian/, and run one of the following
commands:
CVS releases will continue. Visit http://www.debian.org/~ljlane/
for details.
chmod +x debian/rules; fakeroot debian/rules binary
Laurence J. Lane <ljlane@debian.org>, Sun, 10 Oct 1999 22:50:24 -0400
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 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>, Thu, 21 Oct 1999 09:54:23 -0400

32
debian/changelog vendored
View File

@ -1,27 +1,15 @@
enlightenment (0.16.0-4.01) unstable; urgency=low
enlightenment (0.16.0-6) unstable; urgency=low
* YACVSR
* deprecated enlightenment-{sound,nosound,dox,dox,theme-brushedmetal}
* menu-method update, Closes:#47497
* removed tar path length kludge (dpkg 1.14.1.17 or higher required!),
and theme update alternative system, also re-integrated
BrushedMetal-Tigert, Closes:#47495
* disabled automatic updates (ghttp support), by request
* added enlightenment-theme-ganymede
* added enlightenment.1 man page
-- Laurence J. Lane <ljlane@debian.org> Sun, 17 Oct 1999 20:36:39 -0400
enlightenment (0.16.0-4) unstable; urgency=low
* more corrections for the path length kludge
* addition work to synch cvs and official debs
-- Laurence J. Lane <ljlane@debian.org> Sun, 17 Oct 1999 18:03:17 -0400
enlightenment (0.16.0-3) unstable; urgency=low
* removed alternative theme system, Closes:#47495
* erroneous esound dependency in enlightenment-nosound
* removed delimeters around $command in menu-method's
text() function , Closes:#47497
* disabled ghttp support, requested
* deprecated enlightenment-dox, enlightenment-docs and
enlightenment-theme-brushedmetal
-- Laurence J. Lane <ljlane@debian.org> Sat, 16 Oct 1999 06:50:25 -0400
-- Laurence J. Lane <ljlane@debian.org> Thu, 21 Oct 1999 11:33:43 -0400
enlightenment (0.16.0-2) unstable; urgency=low

48
debian/control vendored
View File

@ -4,27 +4,18 @@ Priority: optional
Maintainer: Laurence J. Lane <ljlane@debian.org>
Standards-Version: 3.0.1.0
Package: enlightenment-nosound
Architecture: any
Depends: ${shlibs:Depends}, enlightenment (= 0.16.0-4)
Recommends: enlightenment-theme
Conflicts: enlightenment-sound
Replaces: enlightenment-sound
Description: Enlightenment binary without sound support.
The Enlightenment Window manager binary compiled without sound support.
Package: enlightenment-sound
Architecture: any
Depends: ${shlibs:Depends}, enlightenment (= 0.16.0-4)
Recommends: esound, enlightenment-theme
Conflicts: enlightenment-nosound
Replaces: enlightenment-nosound, enlightenment (<= 0.16.0-2)
Description: Enlightenment binary without sound support.
The Enlightenment Window manager binary compiled with sound support.
Package: enlightenment-theme-ganymede
Architecture: all
Recommends: enlightenment
Provides: enlightenment-theme
Description: cK's Ganymede theme for E
This is cK's Ganymede theme. He's gonna add a really spiffy description
right here. <smile>
Package: enlightenment-theme-shinymetal
Architecture: all
Depends: enlightenment
Recommends: enlightenment
Provides: enlightenment-theme
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
@ -33,22 +24,27 @@ Description: Raster's ShinyMetal Theme for E
Package: enlightenment-theme-bluesteel
Architecture: all
Depends: enlightenment
Description: The BlueSteel theme for E
Recommends: enlightenment
Provides: enlightenment-theme
Description: Hunchback's BlueSteel theme for E
This theme really shows off what you can do with enlightenmnet. It's by
Daniel Erat, and shows off antialiased text, extensively shaped windows, and
is compliant with the 0.16.0 theme spec.
Package: enlightenment
Architecture: any
Depends: ${shlibs:Depends}, enlightenment-sound (= 0.16.0-4) | enlightenment-nosound (= 0.16.0-4)
Recommends: enlightenment-theme
Replaces: enlightenment-docs, enlightenment-dox, dox, enlightenment-theme-brushedmetal
Conflicts: enlightenment, enlightenment-theme-brushedmetal
Depends: ${shlibs:Depends}
Replaces: enlightenment-nosound, enlightenment-sound, enlightenment-theme-brushedmetal, enlightenment-dox
Recommends: enlightenment-theme-shinymetal (>= 0.16.0-6)
Conflicts: dox, enlightenment-dox, enlightenment-docs, enlightenment-theme
Suggests: esound
Description: The Enlightenment Window Manager
The Enlightenment Window Manager (Developer Release), or "E", whose motto
is "Time to rethink everything". It allows complete user control of almost
every possible setting. This is accomplished through its use of themes.
It now includes support for root menus, iconification, docking, GNOME and
KDE integration, and much more. It features the Brushed Metal theme, created
by gimp legend, Tigert.
KDE integration, and much more.
.
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.

200
debian/ehrc vendored
View File

@ -7,130 +7,108 @@
# convenience variables
cfgopts='--prefix=/usr --disable-updates --enable-fsstd'
e='enlightenment'
programs="$e-sound $e-nosound"
themes="$e-theme-shinymetal $e-theme-bluesteel"
docs='NEWS INSTALL README'
install='/usr/bin/install'
# convenience functions
eh_installdir ( ) {
$install -d -m 755 -o root -g root "$@"
}
eh_installdata ( ) {
$install -m 644 -o root -g root "$@"
}
eh_installexe ( ) {
$install -m 755 -o root -g root "$@"
}
eh_make ( ) {
/usr/bin/make "$@"
eh_installdir ( ) {
/usr/bin/install -g root -o root -d -m 755 "$@"
}
eh_echo ( ) {
echo "ehelper: $@..."
}
# consolidate debhelper files in debian/ehrc
# consolidate debhelper files into debian/ehrc
nospoon ( ) {
(for i in enl*; do echo "#file:$i"; sed 's/^/\#/' $i; echo -e "\n"; done | cat -s) > data
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 ( ) {
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
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 ( ) {
perl -lwne '/^__E_CFG_VERSION 0$/ and print("$_\n\n", qw@BEGIN_NEW_FILE_MENU("DEBIAN_MENU", "ROOT", "/etc/X11/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_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
}
# IF this is CVS source tree, expand debhelper files
# IF this is a CVS source tree, expand debhelper files
# and run ./autogen.sh. ELSE, just run ./configure.
# Modify make generated files afterwards.
eh_configure ( ) {
if [ -d CVS ];
then (cd debian; spoon); ./autogen.sh $cfgopts;
else ./configure $cfgopts;
eh_configure ( ) {
if [ -d CVS ]; then
eh_echo "CVS/ detected, assuming a CVS build"; (cd debian; spoon)
test -f config.cache && eh_echo "removing config.cache" && rm config.cache
eh_echo "executing autogen.sh"; ./autogen.sh "$@"
else
eh_echo "no CVS/ detected, assuming a normal build"
test -f config.cache && eh_echo "removing config.cache" && rm config.cache
eh_echo "executing the GNU configure script"; ./configure "$@"
fi
# do not install themes, handled elsewhere
perl -ni'.old' -we '/^install-data-local:$/ .. /^$/ or print' \
src/themes/Makefile
# remove HAVE_LIBESD from econfig.h, we
# need control of it dh_buildsound()
perl -ni'.old' -we 's@^(.*ESD.*)$@/* $1 */@ or print' econfig.h
}
# Debian specific documentation requirements
eh_undocumented ( ) {
cd debian/$e/usr/bin; find -type f | sed 's@$@.1@'
}
eh_installdocs ( ) {
dh_installdocs
for i in $programs $themes;
do (cd debian/$i/usr/share/doc; rm -rf $i; ln -vs $e $i)
done
eh_installdata src/ChangeLog debian/$e/usr/share/doc/$e/changelog
eh_installdata $docs debian/$e/usr/share/doc/$e/
eh_installdir debian/$e/usr/share/doc/$e/examples
eh_installexe $(find sample-scripts/ -maxdepth 1 -type f) debian/$e/usr/share/doc/$e/examples
dh_undocumented -p$e $(eh_undocumented)
dh_undocumented -p$e-sound ${e}.1
dh_undocumented -p$e-nosound ${e}.1
dh_installchangelogs -p$e
dh_compress -p$e
}
# build a the enlightenment executable with and without
# sound support
eh_buildsound ( ) {
rm -fv src/sound.o src/$e
eh_make sound.o $e -C src CFLAGS+="-DHAVE_LIBESD" SUBDIRS=""
eh_installdir debian/$e-sound/usr/bin
eh_installexe src/$e debian/$e-sound/usr/bin
rm -fv src/sound.o src/$e
eh_make sound.o $e -C src ESD_LIBS="" SUBDIRS=""
eh_installdir debian/$e-nosound/usr/bin
eh_installexe src/$e debian/$e-nosound/usr/bin
}
# unarchive themes into respective packages
eh_unpacktheme ( ) {
eh_installdir $2
tar zxpf src/themes/$1 -C $2
}
eh_unpackthemes ( ) {
eh_unpacktheme BrushedMetal-Tigert.etheme \
debian/$e/usr/share/$e/themes/bmt
eh_unpacktheme ShinyMetal.etheme \
debian/$e-theme-shinymetal/usr/share/$e/themes/ShinyMetal
eh_unpacktheme BlueSteel.etheme \
debian/$e-theme-bluesteel/usr/share/$e/theme/BlueSteel
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-theme-ganymede" "Ganymede"
eh_unpacktheme "$e" "BrushedMetal-Tigert"
}
# install target meta function
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/enlightenment/usr/bin ; ls | sed '/^enlightenment$/d;s/$/.1/' | xargs)
eh_echo "$needdocs"
dh_undocumented -p $e $needdocs
}
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' \) -print`
}
# install meta function
eh_install ( ) {
set -x
rm -fv debian/$e/usr/bin/$e
eh_menufilter
eh_buildsound
eh_unpackthemes
eh_installdocs
dh_installwm -p$e $e
eh_menufilter
eh_installthemes
eh_undocumented
eh_clean
}
# debhelper files follow
#ehrc# This is a regex target that begins the data section.
#file:enlightenment-theme-bluesteel.README.debian
#See /usr/share/doc/enlightenment/ for additional information.
#file:enlightenment-theme-ganymede.README.debian
#See /usr/share/doc/enlightenment/ for additional information.
#file:enlightenment-theme-shinymetal.README.debian
#See /usr/share/doc/enlightenment/ for additional information.
#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"
@ -141,7 +119,7 @@ eh_install ( ) {
#compat="menu-1"
#
#genmenu=replacewith(parent($section), "/", "_") ".menu"
#rootprefix="/etc/X11/enlightenment/menus"
#rootprefix="/etc/enlightenment/menus"
#treewalk="cm"
#rootsection="Debian"
#
@ -188,19 +166,22 @@ eh_install ( ) {
#endmenu=""
#
#file:enlightenment.postinst
#file:enlightenment.preinst
##!/bin/sh
#set -e
#
#theme_dir='/usr/share/enlightenment/themes'
#themedir='/usr/share/enlightenment/themes'
#
#if [ -d "${theme_dir}/bmt" ]; then
# if [ -d "${theme_dir}/BrushedMetal-Tigert" ]; then
# echo "WARNING: Moving old BrushedMetal-Tigert to BrushedMetal-Tigert-OLD"
# mv -v "${theme_dir}/BrushedMetal-Tigert" "${theme_dir}/BrushedMetal-Tigert-OLD"
# fi
# echo "Correcting theme name..."
# mv -v "${theme_dir}/bmt" "${theme_dir}/BrushedMetal-Tigert"
#if [ -L "$themedir/BrushedMetal-Tigert" ]; then
# echo "WARNING: removing $themedir/BrushedMetal-Tigert symlink"
# rm -v "$themedir/BrushedMetal-Tigert"
#fi
#
#if [ -d "$theme_dir/BrushedMetal" ]; then
# echo "WARNING: It is recommended to remove them \"$themedir/BrushedMetal\" dir."
#fi
#
#if [ -d "$themedir/bmt" ]; then
# echo "WARNING: It is recommended to remove the \"$themedir/bmt\" dir."
#fi
#
##DEBHELPER#
@ -211,17 +192,10 @@ eh_install ( ) {
##!/bin/sh
#set -e
#
#theme_dir='/usr/share/enlightenment/themes'
#if [ -d "${theme_dir}/BrushedMetal-Tigert" ]; then
# mv -v "${theme_dir}/BrushedMetal-Tigert" "${theme_dir}/bmt"
#fi
#
#menu_dir='/etc/X11/enlightenment/menus'
#menu_dir='/etc/enlightenment/menus'
#find "${menu_dir}" -type f -name 'Debian_*.menu' -print0 | xargs -0r rm -f
#
#
##DEBHELPER#
#
#
#exit 0

33
debian/rules vendored
View File

@ -8,32 +8,35 @@
#sh = DH_COMPAT=2 DH_VERBOSE=1 /bin/ash -ex
#sh = DH_COMPAT=2 /bin/ash -e
sh = DH_COMPAT=2 /bin/sh -e
SHELL := $(sh)
sh = DH_COMPAT=2 /bin/sh -e
VPATH = debian
pwd := $(shell pwd)
export DH_OPTIONS=
SHELL := $(sh)
ESHELL = . debian/ehrc;
vpath install debian
vpath build debian
e = enlightenment
configure_options = --prefix=/usr --enable-upgrade=no --enable-fsstd=yes --mandir=/usr/share/man
build:
dh_testdir
source debian/ehrc; eh_configure
$(ESHELL) eh_configure $(configure_options)
$(ESHELL) eh_makfilefilter
$(MAKE)
touch debian/$@
clean:
dh_testdir
dh_testroot
if [ -f Makefile ]; then $(MAKE) clean; fi
dh_clean debian/build debian/install src/themes/Makefile.old econfig.h econfig.h.old
test -f Makefile && $(MAKE) clean
dh_clean *.old
install: SHELL = DH_OPTIONS="-A" $(sh)
install: build
dh_testdir
dh_testroot
dh_clean
$(MAKE) install DESTDIR=$(pwd)/debian/${e}
source debian/ehrc; eh_install
$(MAKE) install DESTDIR=$(shell pwd)/debian/${e}
$(ESHELL) eh_install
touch debian/$@
binary-indep: SHELL = DH_OPTIONS="-i" $(sh)
@ -41,6 +44,9 @@ binary-indep: build install
dh_testversion 2
dh_testdir
dh_testroot
dh_installdocs
dh_installchangelogs
dh_compress
dh_fixperms
dh_installdeb
dh_gencontrol
@ -52,6 +58,9 @@ binary-arch: build install
dh_testversion 2
dh_testdir
dh_testroot
dh_installdocs
dh_installchangelogs
dh_compress
dh_installmenu
dh_strip
dh_fixperms
@ -62,4 +71,4 @@ binary-arch: build install
dh_builddeb
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install
.PHONY: clean binary-indep binary-arch binary