From 41c72f3b847f6d45e536cc940d773a3c228282fa Mon Sep 17 00:00:00 2001 From: Horms Date: Sun, 26 Nov 2000 17:21:17 +0000 Subject: [PATCH] added debian stuff maaaaaaaaaaaaaaate SVN revision: 3924 --- legacy/evas/Makefile.am | 2 +- legacy/evas/configure.in | 2 +- legacy/evas/debian/.cvsignore | 2 + legacy/evas/debian/Makefile.am | 13 ++++++ legacy/evas/debian/changelog | 10 +++++ legacy/evas/debian/control | 24 +++++++++++ legacy/evas/debian/copyright | 21 ++++++++++ legacy/evas/debian/libevas-dev.dirs | 3 ++ legacy/evas/debian/libevas-dev.files | 3 ++ legacy/evas/debian/libevas0.postinst | 47 ++++++++++++++++++++++ legacy/evas/debian/rules | 60 ++++++++++++++++++++++++++++ 11 files changed, 185 insertions(+), 2 deletions(-) create mode 100644 legacy/evas/debian/.cvsignore create mode 100644 legacy/evas/debian/Makefile.am create mode 100644 legacy/evas/debian/changelog create mode 100644 legacy/evas/debian/control create mode 100644 legacy/evas/debian/copyright create mode 100644 legacy/evas/debian/libevas-dev.dirs create mode 100644 legacy/evas/debian/libevas-dev.files create mode 100644 legacy/evas/debian/libevas0.postinst create mode 100644 legacy/evas/debian/rules diff --git a/legacy/evas/Makefile.am b/legacy/evas/Makefile.am index 7572df3a8f..96bc09b7ca 100644 --- a/legacy/evas/Makefile.am +++ b/legacy/evas/Makefile.am @@ -9,7 +9,7 @@ MAINTAINERCLEANFILES = INSTALL Makefile.in aclocal.m4 config.guess \ ltconfig ltmain.sh missing mkinstalldirs \ stamp-h.in -SUBDIRS = src test doc +SUBDIRS = src test doc debian bin_SCRIPTS = evas-config diff --git a/legacy/evas/configure.in b/legacy/evas/configure.in index 1ddd58e149..a3633d50eb 100644 --- a/legacy/evas/configure.in +++ b/legacy/evas/configure.in @@ -177,7 +177,7 @@ AC_SUBST(ttf_includes) AC_SUBST(ttf_libs) AC_OUTPUT([ -Makefile src/Makefile test/Makefile test/img/Makefile test/fnt/Makefile evas-config doc/Makefile +Makefile src/Makefile test/Makefile test/img/Makefile test/fnt/Makefile evas-config doc/Makefile debian/Makefile ], [ chmod +x evas-config ]) diff --git a/legacy/evas/debian/.cvsignore b/legacy/evas/debian/.cvsignore new file mode 100644 index 0000000000..282522db03 --- /dev/null +++ b/legacy/evas/debian/.cvsignore @@ -0,0 +1,2 @@ +Makefile +Makefile.in diff --git a/legacy/evas/debian/Makefile.am b/legacy/evas/debian/Makefile.am new file mode 100644 index 0000000000..2156e29c83 --- /dev/null +++ b/legacy/evas/debian/Makefile.am @@ -0,0 +1,13 @@ +EXTRA_DIST = \ +changelog \ +control \ +copyright \ +libevas-dev.dirs \ +libevas-dev.files \ +libevas-sample.dirs \ +libevas-sample.files \ +libevas.dirs \ +libevas.files \ +libevas0.postinst + +m4datadir = $(datadir)/aclocal diff --git a/legacy/evas/debian/changelog b/legacy/evas/debian/changelog new file mode 100644 index 0000000000..177a63e41a --- /dev/null +++ b/legacy/evas/debian/changelog @@ -0,0 +1,10 @@ +evas (0.0.1-1) unstable; urgency=low + + * A CVS release. + + -- Horms Sat, 26 Nov 2000 17:00:00 -0500 + +Local variables: +mode: debian-changelog +End: +eoch diff --git a/legacy/evas/debian/control b/legacy/evas/debian/control new file mode 100644 index 0000000000..dc88bec55c --- /dev/null +++ b/legacy/evas/debian/control @@ -0,0 +1,24 @@ +Source: evas +Section: devel +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. + +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 new file mode 100644 index 0000000000..4adb902458 --- /dev/null +++ b/legacy/evas/debian/copyright @@ -0,0 +1,21 @@ + +Copyright (C) 2000 Carsten Haitzler and various contributors (see AUTHORS) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to +deal in the Software without restriction, including without limitation the +rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +sell copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies of the Software, its documentation and marketing & publicity +materials, and acknowledgment shall be given in the documentation, materials +and software packages that this Software was used. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL +THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/legacy/evas/debian/libevas-dev.dirs b/legacy/evas/debian/libevas-dev.dirs new file mode 100644 index 0000000000..0a84bc79c1 --- /dev/null +++ b/legacy/evas/debian/libevas-dev.dirs @@ -0,0 +1,3 @@ +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 new file mode 100644 index 0000000000..cb0783d15b --- /dev/null +++ b/legacy/evas/debian/libevas-dev.files @@ -0,0 +1,3 @@ +usr/include/Evas.h +usr/lib/libevas.a +usr/lib/libevas.la diff --git a/legacy/evas/debian/libevas0.postinst b/legacy/evas/debian/libevas0.postinst new file mode 100644 index 0000000000..6ab652dd69 --- /dev/null +++ b/legacy/evas/debian/libevas0.postinst @@ -0,0 +1,47 @@ +#! /bin/sh +# postinst script for edb +# +# see: dh_installdeb(1) + +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 new file mode 100644 index 0000000000..d5ad73076e --- /dev/null +++ b/legacy/evas/debian/rules @@ -0,0 +1,60 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +export DH_COMPAT=2 + +pwd:=$(shell pwd) +cfg:=--prefix=/usr + +build: build-stamp +build-stamp: + dh_testdir + + test -x autogen.sh && ./autogen.sh $(cfg) || ./configure $(cfg) + + $(MAKE) + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + + -$(MAKE) distclean + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + $(MAKE) install DESTDIR=$(pwd)/debian/libevas0 + + dh_movefiles --source=debian/libevas0 + +binary-indep: build install + +binary-arch: build install + dh_testversion 2.0 + dh_testdir + dh_testroot + dh_installdocs + dh_installchangelogs + dh_link + dh_strip + dh_compress + dh_fixperms + dh_suidregister + dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install