changes to build..

This commit is contained in:
Dana Jansens 2007-05-13 00:16:11 +00:00
parent 1801e11a81
commit d676c11881
13 changed files with 13 additions and 168 deletions

View file

@ -383,9 +383,7 @@ data/xsession/openbox-kde-session: Makefile data \
@chmod +x $@
dist_gnomewmfiles_DATA = \
data/gnome-wm-properties/openbox.desktop \
data/gnome-wm-properties/openbox-gnome.desktop \
data/gnome-wm-properties/openbox-kde.desktop
data/gnome-wm-properties/openbox.desktop
dist_xsessions_DATA = \
data/xsession/openbox.desktop \
@ -397,15 +395,10 @@ dist_noinst_DATA = \
debian/compat \
debian/control \
debian/copyright \
debian/menu.ex \
debian/openbox-default.ex \
debian/openbox.doc-base.EX \
debian/postinst.ex \
debian/postrm.ex \
debian/preinst.ex \
debian/prerm.ex \
debian/menu \
debian/postinst \
debian/postrm \
debian/rules \
debian/watch.ex \
version.h.in \
data/rc.xsd \
data/menu.xsd \

View file

@ -1,9 +0,0 @@
[Desktop Entry]
Name=Openbox/GNOME
Exec=openbox-gnome
# name we put on the WM spec check window
X-GNOME-WMName=openbox-gnome
# our config tool
ConfigExec=obconf

View file

@ -1,10 +0,0 @@
[Desktop Entry]
Name=Openbox/GNOME
Exec=openbox-kde
# name we put on the WM spec check window
X-GNOME-WMName=openbox-kde
# our config tool
ConfigExec=obconf

View file

View file

@ -1,10 +0,0 @@
# Defaults for openbox initscript
# sourced by /etc/init.d/openbox
# installed at /etc/default/openbox by the maintainer scripts
#
# This is a POSIX shell fragment
#
# Additional options that are passed to the Daemon.
DAEMON_OPTS=""

View file

@ -1,22 +0,0 @@
Document: openbox
Title: Debian openbox Manual
Author: <insert document author here>
Abstract: This manual describes what openbox is
and how it can be used to
manage online manuals on Debian systems.
Section: unknown
Format: debiandoc-sgml
Files: /usr/share/doc/openbox/openbox.sgml.gz
Format: postscript
Files: /usr/share/doc/openbox/openbox.ps.gz
Format: text
Files: /usr/share/doc/openbox/openbox.text.gz
Format: HTML
Index: /usr/share/doc/openbox/html/index.html
Files: /usr/share/doc/openbox/html/*.html

View file

37
debian/preinst.ex vendored
View file

@ -1,37 +0,0 @@
#!/bin/sh
# preinst script for openbox
#
# see: dh_installdeb(1)
set -e
# summary of how this script can be called:
# * <new-preinst> `install'
# * <new-preinst> `install' <old-version>
# * <new-preinst> `upgrade' <old-version>
# * <old-preinst> `abort-upgrade' <new-version>
# for details, see http://www.debian.org/doc/debian-policy/ or
# the debian-policy package
case "$1" in
install|upgrade)
;;
abort-upgrade)
;;
*)
echo "preinst called with unknown argument \`$1'" >&2
exit 1
;;
esac
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
#DEBHELPER#
exit 0

40
debian/prerm.ex vendored
View file

@ -1,40 +0,0 @@
#!/bin/sh
# prerm script for openbox
#
# see: dh_installdeb(1)
set -e
# summary of how this script can be called:
# * <prerm> `remove'
# * <old-prerm> `upgrade' <new-version>
# * <new-prerm> `failed-upgrade' <old-version>
# * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
# * <deconfigured's-prerm> `deconfigure' `in-favour'
# <package-being-installed> <version> `removing'
# <conflicting-package> <version>
# for details, see http://www.debian.org/doc/debian-policy/ or
# the debian-policy package
case "$1" in
remove|upgrade|deconfigure)
;;
failed-upgrade)
;;
*)
echo "prerm called with unknown argument \`$1'" >&2
exit 1
;;
esac
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
#DEBHELPER#
exit 0

10
debian/rules vendored
View file

@ -16,7 +16,7 @@ DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
CFLAGS = -Wall -g
CFLAGS = -g
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
CFLAGS += -O0
@ -77,10 +77,10 @@ binary-arch: build install
dh_testdir
dh_testroot
dh_installchangelogs CHANGELOG
dh_installdocs
dh_installexamples
# dh_installdocs
# dh_installexamples
# dh_install
# dh_installmenu
dh_installmenu
# dh_installdebconf
# dh_installlogrotate
# dh_installemacsen
@ -90,7 +90,7 @@ binary-arch: build install
# dh_installinit
# dh_installcron
# dh_installinfo
dh_installman
# dh_installman
dh_link
dh_strip
dh_compress

22
debian/watch.ex vendored
View file

@ -1,22 +0,0 @@
# Example watch control file for uscan
# Rename this file to "watch" and then you can run the "uscan" command
# to check for upstream updates and more.
# See uscan(1) for format
# Compulsory line, this is a version 3 file
version=3
# Uncomment to examine a Webpage
# <Webpage URL> <string match>
#http://www.example.com/downloads.php openbox-(.*)\.tar\.gz
# Uncomment to examine a Webserver directory
#http://www.example.com/pub/openbox-(.*)\.tar\.gz
# Uncommment to examine a FTP server
#ftp://ftp.example.com/pub/openbox-(.*)\.tar\.gz debian uupdate
# Uncomment to find new files on sourceforge, for debscripts >= 2.9
# http://sf.net/openbox/openbox-(.*)\.tar\.gz

View file

@ -3,7 +3,9 @@
# get the version from configure.ac
VERSION=$(grep AC_INIT\(\\\[openbox\\] configure.ac|cut -d [ -f 3-|cut -d ] -f 1)
echo
echo "Building deb for openbox-$VERSION"
echo
TIME="$(date '+%a, %d %B %Y %T %z')"
@ -11,10 +13,10 @@ IN=debian/changelog.in
OUT=debian/changelog
# make sure configure gets run with the right parameters
make distclean >/dev/null || rm -f config.status
make distclean > /dev/null || rm -f config.status
rm -f $OUT
sed -e "s!@time@!$TIME!" -e "s!@version@!$VERSION!" $IN >$OUT && \
fakeroot debian/rules binary && \
make distclean >/dev/null
make distclean > /dev/null