From dcf719cd519699da0acee9f3dfd5a4d25358a6ee Mon Sep 17 00:00:00 2001 From: "Laurence J. Lane" Date: Sat, 17 Mar 2001 14:01:52 +0000 Subject: [PATCH] revert to horm's originals SVN revision: 4384 --- legacy/evas/debian/changelog | 8 ++-- legacy/evas/debian/control | 36 ++++++++-------- legacy/evas/debian/copyright | 7 ---- legacy/evas/debian/libevas0.postinst | 47 +++++++++++++++++++-- legacy/evas/debian/rules | 61 +++++++++------------------- 5 files changed, 84 insertions(+), 75 deletions(-) diff --git a/legacy/evas/debian/changelog b/legacy/evas/debian/changelog index 85296bc68d..177a63e41a 100644 --- a/legacy/evas/debian/changelog +++ b/legacy/evas/debian/changelog @@ -1,10 +1,10 @@ -evas (0.0.2-0.2001031601) unstable; urgency=low +evas (0.0.1-1) unstable; urgency=low - * a cvs release + * A CVS release. - -- Laurence J. Lane Sun, 24 Dec 2000 01:31:57 +0000 + -- Horms Sat, 26 Nov 2000 17:00:00 -0500 Local variables: mode: debian-changelog -add-log-mailing-address: "ljlane@debian.org" End: +eoch diff --git a/legacy/evas/debian/control b/legacy/evas/debian/control index ff54d493d2..dc88bec55c 100644 --- a/legacy/evas/debian/control +++ b/legacy/evas/debian/control @@ -1,26 +1,24 @@ Source: evas -Section: libs +Section: devel Priority: optional Maintainer: Horms -Standards-Version: 3.2.1.0 +Standards-Version: 3.1.1 -Package: libevas0 -Section: libs -Architecture: any -Depends: ${shlibs:Depends} -Description: evas description - Evas is an advanced canvas library, providing three backends for - rendering: X11 (without some features like alpha-blending), imlib2, or - OpenGL (hardware accelerated). Due to its simple API, evas can be - developed with rapidly, and cleanly. - Install evas if you want to develop applications against the only - hardware-accelerated canvas library, or if you want to try out the - applications under development. - -Package: libevas0-dev -Section: devel +Package: libevas-dev Architecture: any Depends: libevas0 (= ${Source-Version}), libc6-dev -Description: libevas0-dev description - Headers and static libraries required to develop against evas. +Description: + Headers and static libraries required to develop against evas. + +Package: libevas0 +Architecture: any +Depends: ${shlibs:Depends} +Description: + Evas is an advanced canvas library, providing three backends for + rendering: X11 (without some features like alpha-blending), imlib2, or + OpenGL (hardware accelerated). Due to its simple API, evas can be + developed with rapidly, and cleanly. + Install evas if you want to develop applications against the only + hardware-accelerated canvas library, or if you want to try out the + applications under development. diff --git a/legacy/evas/debian/copyright b/legacy/evas/debian/copyright index 9e842f8ebb..4adb902458 100644 --- a/legacy/evas/debian/copyright +++ b/legacy/evas/debian/copyright @@ -1,10 +1,3 @@ -This package was debianized by Laurence J. Lane on -Sat, 28 Oct 2000 17:56:46 -0400. - -The source code is from the e17/libs/evas module of the enlightenment CVS -tree. For more information, see: - - http://www.enlightenment.org/cvs.html Copyright (C) 2000 Carsten Haitzler and various contributors (see AUTHORS) diff --git a/legacy/evas/debian/libevas0.postinst b/legacy/evas/debian/libevas0.postinst index 0284698614..6ab652dd69 100644 --- a/legacy/evas/debian/libevas0.postinst +++ b/legacy/evas/debian/libevas0.postinst @@ -1,8 +1,47 @@ -#!/bin/sh -e +#! /bin/sh +# postinst script for edb +# +# see: dh_installdeb(1) -if test "$1" = "configure"; then - ldconfig -fi +set -e + +# summary of how this script can be called: +# * `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-deconfigure' `in-favour' +# `removing' +# +# for details, see /usr/doc/packaging-manual/ +# +# 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) + ldconfig + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 0 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. #DEBHELPER# +exit 0 + + diff --git a/legacy/evas/debian/rules b/legacy/evas/debian/rules index 153a340d07..d5ad73076e 100644 --- a/legacy/evas/debian/rules +++ b/legacy/evas/debian/rules @@ -1,77 +1,56 @@ #!/usr/bin/make -f -# Sample debian/rules that uses debhelper. -# GNU copyright 1997 by Joey Hess. -# -# This version is for a hypothetical package that builds an -# architecture-dependant package, as well as an architecture-independent -# package. +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. -# Uncomment this to turn on verbose mode. -#export DH_VERBOSE=1 - -# This is the debhelper compatability version to use. export DH_COMPAT=2 -# This has to be exported to make some magic below work. -export DH_OPTIONS +pwd:=$(shell pwd) +cfg:=--prefix=/usr -INSTALL=/usr/bin/install -package=libevas0 - -configure: configure-stamp -configure-stamp: - ./autogen.sh --prefix=/usr || ./configure --prefix=/usr - touch configure-stamp - -build: configure build-stamp +build: build-stamp build-stamp: dh_testdir - - $(MAKE) + test -x autogen.sh && ./autogen.sh $(cfg) || ./configure $(cfg) + + $(MAKE) touch build-stamp clean: dh_testdir - rm -f build-stamp configure-stamp + dh_testroot + rm -f build-stamp -$(MAKE) distclean - -rm -f configure-stamp build-stamp dh_clean -install: DH_OPTIONS= -install: build +install: build dh_testdir dh_testroot dh_clean -k dh_installdirs - $(MAKE) install DESTDIR=$(shell pwd)/debian/$(package)/ - - $(INSTALL) -d debian/$(package)-dev/usr/{lib,bin} - mv debian/$(package)/usr/include debian/$(package)-dev/usr - mv debian/$(package)/usr/lib/*.{so,la,a} debian/$(package)-dev/usr/lib/ - mv debian/$(package)/usr/bin/evas-config debian/$(package)-dev/usr/bin/ + $(MAKE) install DESTDIR=$(pwd)/debian/libevas0 -binary-indep: + dh_movefiles --source=debian/libevas0 + +binary-indep: build install -# Build architecture-dependent files here. -# Pass -a to all debhelper commands in this target to reduce clutter. -binary-arch: DH_OPTIONS=-a binary-arch: build install - # Need this version of debhelper for DH_OPTIONS to work. - dh_testversion 2 + dh_testversion 2.0 dh_testdir dh_testroot - dh_installdocs AUTHORS README + dh_installdocs dh_installchangelogs + dh_link dh_strip dh_compress dh_fixperms - dh_installdeb + dh_suidregister dh_makeshlibs + dh_installdeb dh_shlibdeps dh_gencontrol dh_md5sums