From 2bc0a6214ff8c03c8d5cf466e464b4e0df25f5c6 Mon Sep 17 00:00:00 2001 From: Kevin Rosenberg Date: Sun, 2 Aug 2009 04:24:43 -0600 Subject: [PATCH] Updates for new debian standards --- debian/README.Debian | 4 +++- debian/changelog | 11 +++++++++++ debian/compat | 2 +- debian/control | 10 ++++++---- debian/postinst | 28 +--------------------------- debian/prerm | 24 ++---------------------- debian/rules | 24 +----------------------- debian/watch | 3 +++ 8 files changed, 28 insertions(+), 78 deletions(-) create mode 100644 debian/watch diff --git a/debian/README.Debian b/debian/README.Debian index 12bb47a..eba5eff 100644 --- a/debian/README.Debian +++ b/debian/README.Debian @@ -1,6 +1,8 @@ Installing hyperobject into your CL implementation that uses Debian's Common Lisp Controller is easy. Just enter -(require 'hyperobject) +(clc:require 'hyperobject) and a precompiled version of hyperobject should be loaded. + + -- Kevin M. Rosenberg , Sun, 2 Aug 2009 04:24:17 -0600 diff --git a/debian/changelog b/debian/changelog index edf9821..257bb28 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,14 @@ +cl-hyperobject (2.11.0-2) unstable; urgency=low + + * debian/watch: New file + * debian/control: Require debhelper 7. Change to new lisp section. + Add Vcs-Git and Homepage fields. + * debian/compat: Update to version 7 + * debian/rules: Update for debhelper 7, architecture-independent build + * debian/{prerm,postrm}: Remove path from binary function + + -- Kevin M. Rosenberg Sun, 02 Aug 2009 04:24:10 -0600 + cl-hyperobject (2.11.0-1) unstable; urgency=low * Major reworking of MOP layer to add support for current versions of OpenMCL. diff --git a/debian/compat b/debian/compat index b8626c4..7f8f011 100644 --- a/debian/compat +++ b/debian/compat @@ -1 +1 @@ -4 +7 diff --git a/debian/control b/debian/control index 79aea9e..c197a4a 100644 --- a/debian/control +++ b/debian/control @@ -1,13 +1,15 @@ Source: cl-hyperobject -Section: devel +Section: lisp Priority: optional Maintainer: Kevin M. Rosenberg -Build-Depends: debhelper (>= 4.0.0) -Standards-Version: 3.7.2.2 +Build-Depends: debhelper (>= 7.0.0) +Standards-Version: 3.8.2.0 +Homepage: http://hyperobject.b9.com/ +Vcs-Git: git://git.b9.com/hyperobject.git Package: cl-hyperobject Architecture: all -Depends: ${shlibs:Depends}, common-lisp-controller, cl-kmrcl, cl-rt +Depends: common-lisp-controller, cl-kmrcl, cl-rt Description: Common Lisp library for hyperobjects This package contains a library for creating and display hyperobjects. Hyperobjects contain references to subobjects as well as to linked diff --git a/debian/postinst b/debian/postinst index 06ba81a..ee936c9 100755 --- a/debian/postinst +++ b/debian/postinst @@ -1,34 +1,11 @@ #! /bin/sh -# postinst script for cl-hyperobject -# -# see: dh_installdeb(1) - set -e -# package name according to lisp LISP_PKG=hyperobject -# summary of how this script can be called: -# * `configure' -# * `abort-upgrade' -# * `abort-remove' `in-favour' -# -# * `abort-deconfigure' `in-favour' -# `removing' -# -# for details, see http://www.debian.org/doc/debian-policy/ or -# the debian-policy package -# -# quoting from the policy: -# Any necessary prompting should almost always be confined to the -# post-installation script, and should be protected with a conditional -# so that unnecessary prompting doesn't happen if a package's -# installation fails and the `postinst' is called with `abort-upgrade', -# `abort-remove' or `abort-deconfigure'. - case "$1" in configure) - /usr/sbin/register-common-lisp-source ${LISP_PKG} + register-common-lisp-source ${LISP_PKG} ;; abort-upgrade|abort-remove|abort-deconfigure) ;; @@ -38,9 +15,6 @@ case "$1" in ;; esac -# dh_installdeb will replace this with shell code automatically -# generated by other debhelper scripts. - #DEBHELPER# exit 0 diff --git a/debian/prerm b/debian/prerm index 663c479..5dab061 100755 --- a/debian/prerm +++ b/debian/prerm @@ -1,40 +1,20 @@ #! /bin/sh -# prerm script for cl-hyperobject -# -# see: dh_installdeb(1) - set -e -# package name according to lisp LISP_PKG=hyperobject -# summary of how this script can be called: -# * `remove' -# * `upgrade' -# * `failed-upgrade' -# * `remove' `in-favour' -# * `deconfigure' `in-favour' -# `removing' -# -# for details, see http://www.debian.org/doc/debian-policy/ or -# the debian-policy package - - case "$1" in remove|upgrade|deconfigure) - /usr/sbin/unregister-common-lisp-source ${LISP_PKG} + unregister-common-lisp-source ${LISP_PKG} ;; 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 diff --git a/debian/rules b/debian/rules index 94018bf..0757650 100755 --- a/debian/rules +++ b/debian/rules @@ -16,67 +16,45 @@ source-files := $(filter-out $(tests-files),$(wildcard *.lisp)) configure: configure-stamp configure-stamp: dh_testdir - # Add here commands to configure the package. - touch configure-stamp - build: build-stamp build-stamp: configure-stamp dh_testdir - # Add here commands to compile the package. touch build-stamp clean: dh_testdir dh_testroot rm -f build-stamp configure-stamp - # Add here commands to clean up after the build process. rm -f debian/$(debpkg).postinst.* debian/$(debpkg).prerm.* dh_clean install: build dh_testdir dh_testroot - dh_clean -k - # Add here commands to install the package into debian/hyperobject. + dh_prep dh_installdirs $(clc-systems) $(clc-files) $(doc-dir) $(clc-tests) dh_install $(pkg).asd $(source-files) $(clc-files) dh_link $(clc-files)/$(pkg).asd $(clc-systems)/$(pkg).asd dh_install $(pkg-tests).asd $(tests-files) $(clc-tests) dh_link $(clc-tests)/$(pkg-tests).asd $(clc-systems)/$(pkg-tests).asd -# Build architecture-independent files here. binary-indep: build install dh_testdir -i dh_testroot -i -# dh_installdebconf dh_installdocs -i dh_installexamples -i $(wilcard examples/*.lisp) -# dh_installmenu -# dh_installlogrotate -# dh_installemacsen -# dh_installpam -# dh_installmime -# dh_installinit -# dh_installcron -# dh_installman -# dh_installinfo -# dh_undocumented dh_installchangelogs -i dh_strip -i dh_compress -i dh_fixperms -i -# dh_makeshlibs dh_installdeb -i -# dh_perl - dh_shlibdeps -i dh_gencontrol -i dh_md5sums -i dh_builddeb -i -# Build architecture-dependent files here. binary-arch: build install binary: binary-indep binary-arch diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..ab664b7 --- /dev/null +++ b/debian/watch @@ -0,0 +1,3 @@ +version=3 +http://files.b9.com/hyperobject/hyperobject-([\d\.]*)\.tar\.gz + -- 2.34.1