diff options
Diffstat (limited to 'debian')
-rw-r--r-- | debian/changelog | 47 | ||||
-rw-r--r-- | debian/control | 19 | ||||
-rw-r--r-- | debian/dirs | 1 | ||||
-rw-r--r-- | debian/files | 1 | ||||
-rw-r--r-- | debian/ivycpy.3 | 52 | ||||
-rw-r--r-- | debian/ivycpy.doc-base | 10 | ||||
-rw-r--r-- | debian/ivycpy.docs | 2 | ||||
-rw-r--r-- | debian/postinst | 59 | ||||
-rw-r--r-- | debian/postinst.debhelper | 12 | ||||
-rw-r--r-- | debian/postrm | 40 | ||||
-rw-r--r-- | debian/prerm | 39 | ||||
-rw-r--r-- | debian/prerm.debhelper | 11 | ||||
-rwxr-xr-x | debian/rules | 78 | ||||
-rw-r--r-- | debian/substvars | 1 |
14 files changed, 372 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..ff28c71 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,47 @@ +ivycpy (0.5-1) stable; urgency=low + + * first version stored in ivy/cvs repository + + -- Didier Pavet <pavet@cena.fr> Thu, 9 Sep 2004 00:00:00 +0100 + +** ivycpy (0.3 - 0.4) unstable; urgency=low +** temporary version +** Didier Pavet <pavet@cena.fr> + +ivycpy (0.2-2-213sa) unstable; urgency=low + + * copyright, docs, + * demos respects Ivy standard -b otpions but remain "unclear" + + -- Didier Pavet <pavet@cena.fr> Mon, 3 Mar 2003 13:00:00 +0100 + +ivycpy (0.2-1-213sa) unstable; urgency=low + + * First version for Debian 3.0 (Python 213) + + -- Didier Pavet <pavet@cena.fr> Sun, 9 Feb 2003 01:00:00 +0100 + +ivycpy (0.1-3) unstable; urgency=low + + * correction on env variable when building the packahe to be "neat" + + -- Didier Pavet <pavet@cena.fr> Wed, 11 Dec 2002 15:45:14 +0100 + +ivycpy (0.1-2) unstable; urgency=low + + * correction on doc-base file + * attempt to clean the package and solve the problem of configuration + + -- Didier Pavet <pavet@cena.fr> Tue, 16 Jul 2002 17:07:39 +0200 + +ivycpy (0.1-1) unstable; urgency=low + + * Initial Release. + * First delivery of the ivycpy library; this version is made to test + * compatability with tkinter, thread, corba and so on + + -- Didier Pavet <pavet@cena.fr> Wed, 10 Jul 2002 17:32:59 +0200 + +Local variables: +mode: debian-changelog +End: diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..9d1502c --- /dev/null +++ b/debian/control @@ -0,0 +1,19 @@ +Source: ivycpy +Version: ivycpy213sa +Section: devel +Priority: optional +Maintainer: Didier Pavet <pavet@cena.fr> +Standards-Version: 3.0.1 +Build-Depends: debhelper + +Package: ivycpy +Section: devel +Architecture: i386 +Depends: ${shlibs:Depends}, libc6-dev, python-tk (=2.1.3-3.2) +Description: Ivy stub for Python (wrapper above ivyc). + Ivycpy is a wrapper above ivyc library (3.4) and procures functions + to plug a Python application onto the Ivy Bus; + This version is a very early release (ivycpy213sa stands for ivycpy for + Python 213 Stand Alone) which embodies ivy object modules, + and procures its own tkinter shared library . Further release should + just rely on dynamic linking with both libivy.so and native _tkinter.so diff --git a/debian/dirs b/debian/dirs new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/debian/dirs @@ -0,0 +1 @@ + diff --git a/debian/files b/debian/files new file mode 100644 index 0000000..abe1668 --- /dev/null +++ b/debian/files @@ -0,0 +1 @@ +ivycpy_0.2-2-213sa_i386.deb devel optional diff --git a/debian/ivycpy.3 b/debian/ivycpy.3 new file mode 100644 index 0000000..059d4d7 --- /dev/null +++ b/debian/ivycpy.3 @@ -0,0 +1,52 @@ +.\" Hey, EMACS: -*- nroff -*- +.\" First parameter, NAME, should be all caps +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection +.\" other parameters are allowed: see man(7), man(1) +.TH IVYCPY 3 "Feb, 2003" "ivycpy" "Python library for accessing Ivy Bus" +.\" Please adjust this date whenever revising the manpage. +.\" +.\" Some roff macros, for reference: +.\" .nh disable hyphenation +.\" .hy enable hyphenation +.\" .ad l left justify +.\" .ad b justify to both left and right margins +.\" .nf disable filling +.\" .fi enable filling +.\" .br insert line break +.\" .sp <n> insert n+1 empty lines +.\" for manpage-specific macros, see man(7) +.SH NAME +ivycpy \- a Python library for accessing Ivy Bus +.SH SYNOPSIS +.B # importing ivycpy + +.B from ivycpy import * + +.SH DESCRIPTION +This manual page documents briefly the +.B ivycpy library. + +This Python library (actually C wrapper around ivy-c library) allow +to use Ivy bus using Python. This library is a wrapper above ivyc library (3.4) +and procures functions to plug a Python application onto the Ivy Bus. +This version is a very early release (ivycpy213sa stands for ivycpy for +Python 213 - Stand Alone) which embodies ivy object modules, +and procures its own tkinter shared library . Further release should +just rely on dynamic linking with both libivy.so and native _tkinter.so, but +some details stuff required to hack both ivy-c and tkinter themselves, so. +.PP +Ivycpy is developped using SWIG (Simplified Wrapper and Interface Generator), +see http://www.swig.org for further inforation on SWIG. + +.\" TeX users may be more comfortable with the \fB<whatever>\fP and +.\" \fI<whatever>\fP escape sequences to invode bold face and italics, +.\" respectively. +.SH EXAMPLES +Some examples of Python scripts are provided in +/usr/share/doc/ivycpy directory . +.SH SEE ALSO +For further information about Ivy, visit the Ivy web site : +http://www.tls.cena.fr/products/ivy/ +.SH AUTHOR +This manual page was written by Didier Pavet <pavet@cena.fr>, +for the Debian GNU/Linux system. diff --git a/debian/ivycpy.doc-base b/debian/ivycpy.doc-base new file mode 100644 index 0000000..20204f1 --- /dev/null +++ b/debian/ivycpy.doc-base @@ -0,0 +1,10 @@ +Document: ivycpy +Title: Debian ivycpy Manual +Author: Didier Pavet +Abstract: This manual describes what ivycpy is. +Section: Devel + +Format: HTML +Index: /usr/share/doc/ivycpy/html/index.html +Files: /usr/share/doc/ivycpy/html/*.html + diff --git a/debian/ivycpy.docs b/debian/ivycpy.docs new file mode 100644 index 0000000..0a6cc9a --- /dev/null +++ b/debian/ivycpy.docs @@ -0,0 +1,2 @@ +docs/examples +docs/html diff --git a/debian/postinst b/debian/postinst new file mode 100644 index 0000000..bcbd460 --- /dev/null +++ b/debian/postinst @@ -0,0 +1,59 @@ +#! /bin/sh +# postinst script for ivycpy +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * <postinst> `configure' <most-recently-configured-version> +# * <old-postinst> `abort-upgrade' <new version> +# * <conflictor's-postinst> `abort-remove' `in-favour' <package> +# <new-version> +# * <deconfigured's-postinst> `abort-deconfigure' `in-favour' +# <failed-install-package> <version> `removing' +# <conflicting-package> <version> +# 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'. + +TKINTERDIR="/usr/lib/python2.1/lib-dynload" +EXAMPLEDIR="/usr/share/doc/ivycpy/examples" + +case "$1" in + configure) + #touch $TKINTERDIR/ivycpy.touch + if [ -f $TKINTERDIR/_tkinter.so ] + then + mv $TKINTERDIR/_tkinter.so $TKINTERDIR/_tkinter.so.orig + ln -s $TKINTERDIR/_tkinter.so.ivycpy $TKINTERDIR/_tkinter.so + fi + for i in $EXAMPLEDIR ; do + python -O /usr/lib/python2.1/compileall.py -q $i + python /usr/lib/python2.1/compileall.py -q $i + done + ;; + + 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/debian/postinst.debhelper b/debian/postinst.debhelper new file mode 100644 index 0000000..43c3446 --- /dev/null +++ b/debian/postinst.debhelper @@ -0,0 +1,12 @@ +# Automatically added by dh_installdocs +if [ "$1" = "configure" ]; then + if [ -d /usr/doc -a ! -e /usr/doc/ivycpy -a -d /usr/share/doc/ivycpy ]; then + ln -sf ../share/doc/ivycpy /usr/doc/ivycpy + fi +fi +# End automatically added section +# Automatically added by dh_installdocs +if [ "$1" = configure ] && command -v install-docs >/dev/null 2>&1; then + install-docs -i /usr/share/doc-base/ivycpy +fi +# End automatically added section diff --git a/debian/postrm b/debian/postrm new file mode 100644 index 0000000..f5979ce --- /dev/null +++ b/debian/postrm @@ -0,0 +1,40 @@ +#! /bin/sh +# postrm script for ivycpy +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * <postrm> `remove' +# * <postrm> `purge' +# * <old-postrm> `upgrade' <new-version> +# * <new-postrm> `failed-upgrade' <old-version> +# * <new-postrm> `abort-install' +# * <new-postrm> `abort-install' <old-version> +# * <new-postrm> `abort-upgrade' <old-version> +# * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version> +# for details, see /usr/doc/packaging-manual/ + +TKINTERDIR="/usr/lib/python2.1/lib-dynload" + +case "$1" in + purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + if [ -f $TKINTERDIR/_tkinter.so.orig ] + then + mv -f $TKINTERDIR/_tkinter.so.orig $TKINTERDIR/_tkinter.so + fi + ;; + + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 0 + +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + + diff --git a/debian/prerm b/debian/prerm new file mode 100644 index 0000000..6c5dae3 --- /dev/null +++ b/debian/prerm @@ -0,0 +1,39 @@ +#! /bin/sh +# see: dh_installdeb(1) + +set -e +# +EXAMPLEDIR="/usr/share/doc/ivycpy/examples" + +# 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 /usr/doc/packaging-manual/ + +case "$1" in + remove|upgrade|deconfigure) +# install-info --quiet --remove /usr/info/ivycpy.info.gz +# removing example file + rm $EXAMPLEDIR/*.* + ;; + failed-upgrade) + ;; + *) + echo "prerm 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/debian/prerm.debhelper b/debian/prerm.debhelper new file mode 100644 index 0000000..3c636ee --- /dev/null +++ b/debian/prerm.debhelper @@ -0,0 +1,11 @@ +# Automatically added by dh_installdocs +if [ \( "$1" = "upgrade" -o "$1" = "remove" \) -a -L /usr/doc/ivycpy ]; then + rm -f /usr/doc/ivycpy +fi +# End automatically added section +# Automatically added by dh_installdocs +if [ "$1" = remove -o "$1" = upgrade ] && \ + command -v install-docs >/dev/null 2>&1; then + install-docs -r ivycpy +fi +# End automatically added section diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..b443946 --- /dev/null +++ b/debian/rules @@ -0,0 +1,78 @@ +#!/usr/bin/make -f +# 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=1 + +build: build-stamp +build-stamp: + dh_testdir + + ./configure --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info + # Add here commands to compile the package. + #$(MAKE) + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + + # Add here commands to clean up after the build process. + -$(MAKE) distclean + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/tmp. + $(MAKE) install prefix=`pwd`/debian/tmp + + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install +# dh_testversion + dh_testdir + dh_testroot +# dh_installdebconf + dh_installdocs +# dh_installexamples examples/* _dp + dh_installmenu +# dh_installemacsen +# dh_installpam +# dh_installinit + dh_installcron + dh_installmanpages + dh_installinfo +# dh_undocumented + dh_installchangelogs + dh_link + dh_strip +# compression sauf des .py (exemples python) + dh_compress -X.py + dh_fixperms + # You may want to make some executables suid here. + dh_suidregister +# dh_makeshlibs + dh_installdeb +# dh_perl + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install diff --git a/debian/substvars b/debian/substvars new file mode 100644 index 0000000..56f0f5f --- /dev/null +++ b/debian/substvars @@ -0,0 +1 @@ +shlibs:Depends=libc6 (>= 2.2.4-4), tcl8.3 (>= 8.3.0), tk8.3 (>= 8.3.0), xlibs (>> 4.1.0) |