From deb3a7cc06752b6a8f03966f2cca5705339ef083 Mon Sep 17 00:00:00 2001 From: "Laurence J. Lane" Date: Sun, 24 Dec 2000 15:40:05 +0000 Subject: [PATCH] assimilation and.. what was that? SVN revision: 4030 --- legacy/evas/debian/changelog | 8 ++-- legacy/evas/debian/control | 36 ++++++++------- legacy/evas/debian/copyright | 7 +++ legacy/evas/debian/libevas-dev.dirs | 3 -- legacy/evas/debian/libevas-dev.files | 3 -- legacy/evas/debian/libevas-sample.dirs | 0 legacy/evas/debian/libevas-sample.files | 0 legacy/evas/debian/libevas.dirs | 0 legacy/evas/debian/libevas.files | 0 legacy/evas/debian/libevas0.postinst | 47 ++----------------- legacy/evas/debian/rules | 61 +++++++++++++++++-------- 11 files changed, 75 insertions(+), 90 deletions(-) delete mode 100644 legacy/evas/debian/libevas-dev.dirs delete mode 100644 legacy/evas/debian/libevas-dev.files delete mode 100644 legacy/evas/debian/libevas-sample.dirs delete mode 100644 legacy/evas/debian/libevas-sample.files delete mode 100644 legacy/evas/debian/libevas.dirs delete mode 100644 legacy/evas/debian/libevas.files diff --git a/legacy/evas/debian/changelog b/legacy/evas/debian/changelog index 177a63e41a..58936ca507 100644 --- a/legacy/evas/debian/changelog +++ b/legacy/evas/debian/changelog @@ -1,10 +1,10 @@ -evas (0.0.1-1) unstable; urgency=low +libevas0 (0.0.2-0.2000122401) unstable; urgency=low - * A CVS release. + * a cvs release - -- Horms Sat, 26 Nov 2000 17:00:00 -0500 + -- Laurence J. Lane Sun, 24 Dec 2000 01:31:57 +0000 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 dc88bec55c..f955d62162 100644 --- a/legacy/evas/debian/control +++ b/legacy/evas/debian/control @@ -1,24 +1,26 @@ -Source: evas -Section: devel +Source: libevas0 +Section: libs Priority: optional Maintainer: Horms -Standards-Version: 3.1.1 - -Package: libevas-dev -Architecture: any -Depends: libevas0 (= ${Source-Version}), libc6-dev -Description: - Headers and static libraries required to develop against evas. +Standards-Version: 3.2.1.0 Package: libevas0 +Section: libs 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. +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 +Architecture: any +Depends: libevas0 (= ${Source-Version}), libc6-dev +Description: libevas0-dev description + Headers and static libraries required to develop against evas. diff --git a/legacy/evas/debian/copyright b/legacy/evas/debian/copyright index 4adb902458..9e842f8ebb 100644 --- a/legacy/evas/debian/copyright +++ b/legacy/evas/debian/copyright @@ -1,3 +1,10 @@ +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/libevas-dev.dirs b/legacy/evas/debian/libevas-dev.dirs deleted file mode 100644 index 0a84bc79c1..0000000000 --- a/legacy/evas/debian/libevas-dev.dirs +++ /dev/null @@ -1,3 +0,0 @@ -usr/include/ -usr/lib/ -usr/share/doc/libevas-dev/ diff --git a/legacy/evas/debian/libevas-dev.files b/legacy/evas/debian/libevas-dev.files deleted file mode 100644 index cb0783d15b..0000000000 --- a/legacy/evas/debian/libevas-dev.files +++ /dev/null @@ -1,3 +0,0 @@ -usr/include/Evas.h -usr/lib/libevas.a -usr/lib/libevas.la diff --git a/legacy/evas/debian/libevas-sample.dirs b/legacy/evas/debian/libevas-sample.dirs deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/legacy/evas/debian/libevas-sample.files b/legacy/evas/debian/libevas-sample.files deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/legacy/evas/debian/libevas.dirs b/legacy/evas/debian/libevas.dirs deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/legacy/evas/debian/libevas.files b/legacy/evas/debian/libevas.files deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/legacy/evas/debian/libevas0.postinst b/legacy/evas/debian/libevas0.postinst index 6ab652dd69..0284698614 100644 --- a/legacy/evas/debian/libevas0.postinst +++ b/legacy/evas/debian/libevas0.postinst @@ -1,47 +1,8 @@ -#! /bin/sh -# postinst script for edb -# -# see: dh_installdeb(1) +#!/bin/sh -e -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. +if test "$1" = "configure"; then + ldconfig +fi #DEBHELPER# -exit 0 - - diff --git a/legacy/evas/debian/rules b/legacy/evas/debian/rules index d5ad73076e..153a340d07 100644 --- a/legacy/evas/debian/rules +++ b/legacy/evas/debian/rules @@ -1,56 +1,77 @@ #!/usr/bin/make -f -# Sample debian/rules that uses debhelper. -# GNU copyright 1997 to 1999 by Joey Hess. +# 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. +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# This is the debhelper compatability version to use. export DH_COMPAT=2 -pwd:=$(shell pwd) -cfg:=--prefix=/usr +# This has to be exported to make some magic below work. +export DH_OPTIONS -build: build-stamp +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-stamp: dh_testdir - test -x autogen.sh && ./autogen.sh $(cfg) || ./configure $(cfg) - - $(MAKE) + + $(MAKE) touch build-stamp clean: dh_testdir - dh_testroot - rm -f build-stamp + rm -f build-stamp configure-stamp -$(MAKE) distclean + -rm -f configure-stamp build-stamp dh_clean -install: build +install: DH_OPTIONS= +install: build dh_testdir dh_testroot dh_clean -k dh_installdirs - $(MAKE) install DESTDIR=$(pwd)/debian/libevas0 + $(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/ - dh_movefiles --source=debian/libevas0 - -binary-indep: build install +binary-indep: +# 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 - dh_testversion 2.0 + # Need this version of debhelper for DH_OPTIONS to work. + dh_testversion 2 dh_testdir dh_testroot - dh_installdocs + dh_installdocs AUTHORS README dh_installchangelogs - dh_link dh_strip dh_compress dh_fixperms - dh_suidregister - dh_makeshlibs dh_installdeb + dh_makeshlibs dh_shlibdeps dh_gencontrol dh_md5sums