forked from e16/e16
1
0
Fork 0

moved debhelper support files into debhelper2.sh

removed old cvs files


SVN revision: 601
This commit is contained in:
Laurence J. Lane 1999-10-03 12:04:43 +00:00
parent 476f39ff59
commit 877b29defe
23 changed files with 233 additions and 191 deletions

4
debian/copyright vendored
View File

@ -1,6 +1,6 @@
This is the Debian GNU/Linux prepackaged presentation of the Enlightenment
window manager. This package was originally Debianized and Sean E. Perry
<shaleh@debian.org>.
window manager. This package was originally Debianized by Sean E. Perry
<shaleh@debian.org> and refined further by Brian M. Almeida <bma@debian.org>.
This package was assembled from source code obtained from the enligthenment
CVS repository.

218
debian/debhelper2.sh vendored Executable file
View File

@ -0,0 +1,218 @@
#!/bin/sh
# debhelper2.sh - creates e's debhelper support files
cat > "./enlightenment-nosound.conffiles" <<- "END"
/etc/menu-methods/enlightenment-nosound
END
cat > "./enlightenment-nosound.menu" <<- "END"
?package(enlightenment-nosound):needs="wm" section="WindowManagers"\
title="Enlightenment" command="/usr/X11R6/bin/enlightenment"
END
cat > "./enlightenment-nosound.menu-method" <<- "END"
#!/usr/sbin/install-menu
compat="menu-1"
genmenu=replacewith(parent($section), "/", "_") ".menu"
rootprefix="/etc/X11/enlightenment/menus"
treewalk="cm"
rootsection="Debian"
# Limit usage to root for now until we figure out how to convince the
# E menu to ignore the system menus if user menus exist
onlyrunasroot=true
function quote($target)= "\"" $target "\""
function tick($target)= "\'" $target "\'"
# choose your term here, uncomment one
function term()="Eterm -T"
#function term()="xterm -T"
#function term()="rxvt -title"
function menu()= quote(prefix() "/" replacewith($section , "/", "_") ".menu")
function icon_select()=ifelse($icon32x32, $icon32x32, \
ifelse($icon16x16, $icon16x16, $icon))
function icon()= quote(ifelse(icon_select(),icon_select(),"NULL"))
function title()= quote(esc($title,"\""))
function x11()= quote($command)
function text()= quote(term() " " tick(esc($title,"\"")) " -e " tick($command))
function wm()= quote("eesh -e " tick("restart_wm " $command))
function menu_entry($name,$icon,$action,$parameters)=\
firstentry(quote(basename($section)) "\n")\
print($name " " $icon " " $action " " $parameters "\n")
supported
x11= menu_entry( title(), icon(), quote("exec"), x11())
text= menu_entry( title(), icon(), quote("exec"), text())
wm= menu_entry( title(), icon(), quote("exec"), wm())
endsupported
submenutitle= menu_entry( title(), icon(), quote("menu"), menu())
# this stuff is unused, but has proven to be a pain if not defined
preoutput=""
postoutput=""
startmenu=""
endmenu=""
END
cat > "./enlightenment-nosound.prerm" <<- "END"
#/bin/sh -e
find /etc/X11/enlightenment/menus -type f -name Debian_*.menu | xargs rm -rf
#DEBHELPER#
END
cat > "./enlightenment-theme-brushedmetal.postinst" <<- "END"
#!/bin/sh
set -e
update-alternatives --install /usr/share/enlightenment/themes/DEFAULT \
enlightenment-theme-default \
/usr/share/enlightenment/themes/BrushedMetal 50
END
cat > "./enlightenment-theme-brushedmetal.prerm" <<- "END"
#!/bin/sh
set -e
update-alternatives --remove enlightenment-theme-default \
/usr/share/enlightenment/themes/BrushedMetal
END
cat > "./enlightenment-theme-ganymede.postinst" <<- "END"
#!/bin/sh
set -e
update-alternatives --install /usr/share/enlightenment/themes/DEFAULT \
enlightenment-theme-default \
/usr/share/enlightenment/themes/Ganymede 30
END
cat > "./enlightenment-theme-ganymede.prerm" <<- "END"
#!/bin/sh
set -e
update-alternatives --remove enlightenment-theme-default \
/usr/share/enlightenment/themes/Ganymede
END
cat > "./enlightenment-theme-shinymetal.postinst" <<- "END"
#!/bin/sh
set -e
update-alternatives --install /usr/share/enlightenment/themes/DEFAULT \
enlightenment-theme-default \
/usr/share/enlightenment/themes/ShinyMetal 40
END
cat > "./enlightenment-theme-shinymetal.prerm" <<- "END"
#!/bin/sh
set -e
update-alternatives --remove enlightenment-theme-default \
/usr/share/enlightenment/themes/ShinyMetal
END
cat > "./enlightenment.conffiles" <<- "END"
/etc/menu-methods/enlightenment
END
cat > "./enlightenment.menu" <<- "END"
?package(enlightenment):needs="wm" section="WindowManagers"\
title="Enlightenment" command="/usr/X11R6/bin/enlightenment"
END
cat > "./enlightenment.menu-method" <<- "END"
#!/usr/sbin/install-menu
compat="menu-1"
genmenu=replacewith(parent($section), "/", "_") ".menu"
rootprefix="/etc/X11/enlightenment/menus"
treewalk="cm"
rootsection="Debian"
# Limit usage to root for now until we figure out how to convince the
# E menu to ignore the system menus if user menus exist
onlyrunasroot=true
function quote($target)= "\"" $target "\""
function tick($target)= "\'" $target "\'"
# choose your term here, uncomment one
function term()="Eterm -T"
#function term()="xterm -T"
#function term()="rxvt -title"
function menu()= quote(prefix() "/" replacewith($section , "/", "_") ".menu")
function icon_select()=ifelse($icon32x32, $icon32x32, \
ifelse($icon16x16, $icon16x16, $icon))
function icon()= quote(ifelse(icon_select(),icon_select(),"NULL"))
function title()= quote(esc($title,"\""))
function x11()= quote($command)
function text()= quote(term() " " tick(esc($title,"\"")) " -e " tick($command))
function wm()= quote("eesh -e " tick("restart_wm " $command))
function menu_entry($name,$icon,$action,$parameters)=\
firstentry(quote(basename($section)) "\n")\
print($name " " $icon " " $action " " $parameters "\n")
supported
x11= menu_entry( title(), icon(), quote("exec"), x11())
text= menu_entry( title(), icon(), quote("exec"), text())
wm= menu_entry( title(), icon(), quote("exec"), wm())
endsupported
submenutitle= menu_entry( title(), icon(), quote("menu"), menu())
# this stuff is unused, but has proven to be a pain if not defined
preoutput=""
postoutput=""
startmenu=""
endmenu=""
END
cat > "./enlightenment.prerm" <<- "END"
#/bin/sh -e
find /etc/X11/enlightenment/menus -type f -name Debian_*.menu | xargs rm -rf
#DEBHELPER#
END

View File

@ -1,3 +0,0 @@
usr/X11R6/bin/dox
usr/share/enlightenment/E-docs

View File

@ -1,2 +0,0 @@
usr/doc/enlightenment-cvs-docs

View File

@ -1,3 +0,0 @@
usr/share/enlightenment/config
usr/share/enlightenment/themes

View File

@ -1,3 +0,0 @@
usr/X11R6/bin/enlightenment
usr/X11R6/bin/eesh
usr/X11R6/bin/epp

View File

@ -1,2 +0,0 @@
?package(enlightenment):needs="wm" section="WindowManagers"\
title="Enlightenment" command="/usr/X11R6/bin/enlightenment"

View File

@ -1 +0,0 @@
/etc/menu-methods/enlightenment-nosound

View File

@ -1,2 +0,0 @@
?package(enlightenment-nosound):needs="wm" section="WindowManagers"\
title="Enlightenment" command="/usr/X11R6/bin/enlightenment"

View File

@ -1,51 +0,0 @@
#!/usr/sbin/install-menu
compat="menu-1"
genmenu=replacewith(parent($section), "/", "_") ".menu"
rootprefix="/etc/X11/enlightenment/menus"
treewalk="cm"
rootsection="Debian"
# Limit usage to root for now until we figure out how to convince the
# E menu to ignore the system menus if user menus exist
onlyrunasroot=true
function quote($target)= "\"" $target "\""
function tick($target)= "\'" $target "\'"
# choose your term here, uncomment one
function term()="Eterm -T"
#function term()="xterm -T"
#function term()="rxvt -title"
function menu()= quote(prefix() "/" replacewith($section , "/", "_") ".menu")
function icon_select()=ifelse($icon32x32, $icon32x32, \
ifelse($icon16x16, $icon16x16, $icon))
function icon()= quote(ifelse(icon_select(),icon_select(),"NULL"))
function title()= quote(esc($title,"\""))
function x11()= quote($command)
function text()= quote(term() " " tick(esc($title,"\"")) " -e " tick($command))
function wm()= quote("eesh -e " tick("restart_wm " $command))
function menu_entry($name,$icon,$action,$parameters)=\
firstentry(quote(basename($section)) "\n")\
print($name " " $icon " " $action " " $parameters "\n")
supported
x11= menu_entry( title(), icon(), quote("exec"), x11())
text= menu_entry( title(), icon(), quote("exec"), text())
wm= menu_entry( title(), icon(), quote("exec"), wm())
endsupported
submenutitle= menu_entry( title(), icon(), quote("menu"), menu())
# this stuff is unused, but has proven to be a pain if not defined
preoutput=""
postoutput=""
startmenu=""
endmenu=""

View File

@ -1,7 +0,0 @@
#!/bin/sh
set -e
find /etc/X11/enlightenment/menus -type f -name 'Debian_*.menu' | xargs rm -rf
#DEBHELPER#

View File

@ -1,9 +0,0 @@
#!/bin/sh
set -e
update-alternatives --install /usr/share/enlightenment/themes/DEFAULT \
enlightenment-theme-default \
/usr/share/enlightenment/themes/BrushedMetal 50
#DEBHELPER#

View File

@ -1,8 +0,0 @@
#!/bin/sh
set -e
update-alternatives --remove enlightenment-theme-default \
/usr/share/enlightenment/themes/BrushedMetal
#DEBHELPER#

View File

@ -1,9 +0,0 @@
#!/bin/sh
set -e
update-alternatives --install /usr/share/enlightenment/themes/DEFAULT \
enlightenment-theme-default \
/usr/share/enlightenment/themes/Ganymede 30
#DEBHELPER#

View File

@ -1,8 +0,0 @@
#!/bin/sh
set -e
update-alternatives --remove enlightenment-theme-default \
/usr/share/enlightenment/themes/Ganymede
#DEBHELPER#

View File

@ -1,9 +0,0 @@
#!/bin/sh
set -e
update-alternatives --install /usr/share/enlightenment/themes/DEFAULT \
enlightenment-theme-default \
/usr/share/enlightenment/themes/ShinyMetal 40
#DEBHELPER#

View File

@ -1,8 +0,0 @@
#!/bin/sh
set -e
update-alternatives --remove enlightenment-theme-default \
/usr/share/enlightenment/themes/ShinyMetal
#DEBHELPER#

View File

@ -1 +0,0 @@
/etc/menu-methods/enlightenment

View File

@ -1,2 +0,0 @@
?package(enlightenment):needs="wm" section="WindowManagers"\
title="Enlightenment" command="/usr/X11R6/bin/enlightenment"

View File

@ -1,51 +0,0 @@
#!/usr/sbin/install-menu
compat="menu-1"
genmenu=replacewith(parent($section), "/", "_") ".menu"
rootprefix="/etc/X11/enlightenment/menus"
treewalk="cm"
rootsection="Debian"
# Limit usage to root for now until we figure out how to convince the
# E menu to ignore the system menus if user menus exist
onlyrunasroot=true
function quote($target)= "\"" $target "\""
function tick($target)= "\'" $target "\'"
# choose your term here, uncomment one
function term()="Eterm -T"
#function term()="xterm -T"
#function term()="rxvt -title"
function menu()= quote(prefix() "/" replacewith($section , "/", "_") ".menu")
function icon_select()=ifelse($icon32x32, $icon32x32, \
ifelse($icon16x16, $icon16x16, $icon))
function icon()= quote(ifelse(icon_select(),icon_select(),"NULL"))
function title()= quote(esc($title,"\""))
function x11()= quote($command)
function text()= quote(term() " " tick(esc($title,"\"")) " -e " tick($command))
function wm()= quote("eesh -e " tick("restart_wm " $command))
function menu_entry($name,$icon,$action,$parameters)=\
firstentry(quote(basename($section)) "\n")\
print($name " " $icon " " $action " " $parameters "\n")
supported
x11= menu_entry( title(), icon(), quote("exec"), x11())
text= menu_entry( title(), icon(), quote("exec"), text())
wm= menu_entry( title(), icon(), quote("exec"), wm())
endsupported
submenutitle= menu_entry( title(), icon(), quote("menu"), menu())
# this stuff is unused, but has proven to be a pain if not defined
preoutput=""
postoutput=""
startmenu=""
endmenu=""

View File

@ -1,7 +0,0 @@
#!/bin/sh
set -e
find /etc/X11/enlightenment/menus -type f -name 'Debian_*.menu' | xargs rm -rf
#DEBHELPER#

View File

@ -1 +0,0 @@
shlibs:Depends=freetype2, imlib1, libc6, libesd0, libfnlib0, libjpeg62, libpng2, libtiff3g, libungif3g (>= 3.0-2) | giflib3g (>= 3.0-5.2), xlib6g (>= 3.3-5), zlib1g (>= 1:1.1.3)

15
debian/rules vendored
View File

@ -20,6 +20,7 @@ build_deb = @set -ex; for i in fixperms installdeb gencontrol md5sums builddeb;
bin-list = $(shell for i in $(wildcard debian/$@/usr/X11R6/bin/*); do echo -n "$$(basename $$i).1x "; done)
$(programs): build
$(programs) $(docs) $(themes): dh-stamp
$(programs) $(docs) $(themes): SHELL = DH_OPTIONS=-p$@ /bin/sh -e
build: build-stamp
@ -28,11 +29,15 @@ build-stamp:
dh_testroot
./autogen.sh $(configure_options) || ./configure $(configure_options)
mv econfig.h econfig.h.old
sed 's@^#define HAVE_LIBESD 1$$@\/* \0 *\/@' econfig.h.old > econfig.h
sed -e '^#define HAVE_LIBESD 1$$@//* \0 */@' econfig.h.old > econfig.h
cp src/themes/configs/menus.cfg menus.cfg.old
$(MAKE)
touch $@
dh-stamp:
cd debian; $(SHELL) debhelper2.sh
touch $@
clean:
dh_testdir
dh_testroot
@ -113,7 +118,13 @@ enlightenment-theme-shinymetal:
$(link_docs)
$(build_deb)
test:
commit: squash
cvs commit
squash:
set -e; cd debian; files=$$(find -maxdepth 1 -type f -name enlightenment\*); \
echo -e "#!/bin/sh\n\n# debhelper2.sh - creates e\'s debhelper support files\n\n" > debhelper2.sh; \
(for i in $$files; do echo "cat > \"$$i\" <<- \"END\""; cat $$i; echo -e "END\n\n"; done) >> debhelper2.sh
binary-arch: build $(programs)