[expeyes] 02/02: Add packaging as it was done by Georges for 3.1.6-2
Andreas Tille
tille at debian.org
Sat Mar 8 20:31:24 UTC 2014
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository expeyes.
commit c2dced1068925cd53512905ca613161e8c21ef3e
Author: Andreas Tille <tille at debian.org>
Date: Sat Mar 8 21:19:21 2014 +0100
Add packaging as it was done by Georges for 3.1.6-2
---
debian/README.source | 27 ++
debian/changelog | 387 ++++++++++++++++++++++++++
debian/compat | 1 +
debian/control | 188 +++++++++++++
debian/copyright | 59 ++++
debian/expeyes-clib.install | 9 +
debian/expeyes-doc-common.install | 9 +
debian/expeyes-doc-en.install | 1 +
debian/expeyes-doc-fr.install | 1 +
debian/expeyes-firmware-dev.dirs | 1 +
debian/expeyes-firmware-dev.install | 1 +
debian/expeyes.dirs | 6 +
debian/expeyes.install | 11 +
debian/expeyes.menu | 4 +
debian/get-newest-source.sh | 36 +++
debian/libej-dev.install | 3 +
debian/libej0.install | 1 +
debian/microhope.dirs | 4 +
debian/microhope.install | 10 +
debian/microhope.manpages | 4 +
debian/patches/docMakefiles.patch | 76 +++++
debian/patches/keep-pdf.patch | 6 +
debian/patches/microhope-doc-makefile.patch | 11 +
debian/patches/microhope-docfile-en-lyx.patch | 101 +++++++
debian/patches/series | 3 +
debian/python-expeyes.dirs | 2 +
debian/python-expeyes.install | 2 +
debian/python-expeyes.postinst | 50 ++++
debian/python-expeyes.postrm | 39 +++
debian/rules | 16 ++
debian/source/format | 1 +
debian/source/include-binaries | 16 ++
debian/watch | 6 +
33 files changed, 1092 insertions(+)
diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 0000000..5643425
--- /dev/null
+++ b/debian/README.source
@@ -0,0 +1,27 @@
+expeyes for Debian
+------------------
+
+The source package was taken from
+http://expeyes.in/sites/default/files/debs/expeyes-2.0.0.tgz
+
+As it unfolds into a directory EYES, this directory has been renamed to
+exepeyes-2.0.0
+
+Then files *.pyc in this directory have been erased.
+
+The directory doc/ has been added, to contain the source of the User
+Manual, in .lyx format; this file has been received by a private e-mail
+from its author. From the version 1.0.2, the source of the manual is
+available at http://expeyes.in/sites/default/files/eyedocs.tgz, so this
+tarball has been uncompressed in doc/en/, and the file eyes-v2.lyx has been
+renamed to its original filename eyes.lyx
+
+The source and the images of the French user manual were harvested from
+http://scideralle-hosting.citic74.net/uici/index.php/ExpEYES with the
+help of the program uicilibris (a Debian package is available), and
+reshaped slightly for their compilation by pdflatex.
+
+Other modifications are managed with quilt, see the file
+/usr/share/doc/quilt/README.source about the usage of quilt.
+
+ -- Georges Khaznadar <georgesk at ofset.org>, Sun, 6 Nov 2011 16:47:09 +0100
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..42a9075
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,387 @@
+expeyes (3.1.6-2) unstable; urgency=medium
+
+ * given the management of /etc/udev/rules.d to dpkg. Closes: #739788
+
+ -- Georges Khaznadar <georgesk at debian.org> Mon, 24 Feb 2014 13:40:16 +0100
+
+expeyes (3.1.6-1) unstable; urgency=medium
+
+ * updated to the newest upstream version.
+
+ -- Georges Khaznadar <georgesk at debian.org> Fri, 14 Feb 2014 17:56:04 +0100
+
+expeyes (3.1.5-3) unstable; urgency=medium
+
+ * removed the dependency on udev, replaced by a Recommends: clause;
+ changed the postinstallation routine to make if succeed even if udev
+ is not there. Closes: #737864.
+
+ -- Georges Khaznadar <georgesk at debian.org> Sun, 09 Feb 2014 16:03:46 +0100
+
+expeyes (3.1.5-2) unstable; urgency=medium
+
+ * added latest Ambar's improvements : some status will be displaied in
+ the widow's title.
+ * created a new mechanism to build PDF files once only : if a file
+ keep-expeyes-pdf exists in the top dir, the are not erased between two
+ builds. So I need to do one debuild, register binary files in
+ d/sources/include-binaries and run pdebuild. Closes: #736118
+ .
+ This can be considered as a workaround: the build on i386 architecture
+ with the same source package fails in Debian's compile farm and succeeds
+ in Ubuntu's one.
+
+ -- Georges Khaznadar <georgesk at debian.org> Fri, 24 Jan 2014 22:56:26 +0100
+
+expeyes (3.1.5-1) unstable; urgency=medium
+
+ * upgraded to the new upstream release. This adds features to support
+ ASM examples.
+
+ -- Georges Khaznadar <georgesk at debian.org> Sat, 18 Jan 2014 09:16:08 +0100
+
+expeyes (3.1.4-2) unstable; urgency=medium
+
+ * moved the examples of microhope and tuned create-microhope-env
+ accordingly
+
+ -- Georges Khaznadar <georgesk at debian.org> Fri, 17 Jan 2014 19:29:26 +0100
+
+expeyes (3.1.4-1) unstable; urgency=medium
+
+ * upgraded to the new upstream release
+
+ -- Georges Khaznadar <georgesk at debian.org> Mon, 13 Jan 2014 20:47:07 +0100
+
+expeyes (3.1.2-1) unstable; urgency=medium
+
+ * upgraded to the latest upstream release, which adds:
+ - Ambar Chatterjee's uhope.c program,
+ - a manpage for the program uhope
+ * changed the target for the package microhope: it must be "any" ; modified
+ the dependencies.
+ * added a build-dependency on hardening-wrapper, and "hardened" the Makefile
+ for uhope
+ * adjusted the file d/copyright
+ * replaced microhope by uhope as the primary IDE.
+ * replaced deprecated constructs for AVR-gcc
+ * added build-dependencies on pkg-config and libgtk2.0-dev
+
+ -- Georges Khaznadar <georgesk at debian.org> Sat, 11 Jan 2014 23:53:40 +0100
+
+expeyes (3.1.1-2) unstable; urgency=medium
+
+ * applied some fixes made available by Ajith Kumar to the User Manual
+ for MicroHope.
+
+ -- Georges Khaznadar <georgesk at debian.org> Mon, 06 Jan 2014 11:35:52 +0100
+
+expeyes (3.1.1-1) unstable; urgency=medium
+
+ * Upgraded to the newest upstream version. This fixes many issues like
+ errors in one source files and sourceless binaries coming with the
+ package.
+ * Simplified the postinst/postrm scripts
+
+ -- Georges Khaznadar <georgesk at debian.org> Sat, 04 Jan 2014 17:12:25 +0100
+
+expeyes (3.1.0-1) unstable; urgency=medium
+
+ * upgraded to the newest upstream version. This provides a new set of
+ commands, for the program "microhope"
+ * added the binary package "microhope" to the list of packages defined
+ in debian/control. Microhope depends on the package "expeyes", due to
+ the necessary configuration for udev, which expeyes provides upon
+ post-installation.
+ * added a command "create-microhope-env" which provides microhope example
+ files and libraries to the end user in her own space, and its manpage.
+ * added a command "microhope" to launch the IDE, and its manpage.
+ * added a command "microhope-doc" to browse the documentation, and
+ its manpage.
+ * updated the desktop files to take in account the new commands
+ * upgraded Standards-Version to 3.9.5
+ * internationalized and localized the IDE for French language.
+ * added an "About" section in the IDE's menus
+ * added a logo file mh-logo.svg and its export to a pixmap, adjusted the file
+ debian/source/include-binaries to mention the pixmap
+ * added a build-dependency: texlive-generic-recommended
+
+ -- Georges Khaznadar <georgesk at debian.org> Fri, 03 Jan 2014 12:03:23 +0100
+
+expeyes (3.0.5-2) unstable; urgency=low
+
+ * checked that the package can be built in a fresh Sid chroot, with the
+ utility pdebuild. Closes: #728635
+ * fixed errors in an application used to monitor a pendulum's dynamic.
+ * improved this application, so it autodetects the begin of launching
+ of a pendulum and autostarts.
+ * fixed an error in eyesmath.py which prevented sometimes a fit of
+ a damped sinusoide to succeed.
+ * added an option in the fit_dsine function to allow time data to be
+ in seconds rather than in milliseconds.
+
+ -- Georges Khaznadar <georgesk at debian.org> Mon, 18 Nov 2013 14:54:51 +0100
+
+expeyes (3.0.5-1) unstable; urgency=low
+
+ * Upgraded to the newest version, which provides programmer's manual
+ * Changed the watch file to stick to github's data, added a script
+ debian/get-newest-source.sh to automate updates (just use uscan)
+ * Upgraded Standards-Version to 3.9.4
+
+ -- Georges Khaznadar <georgesk at debian.org> Sat, 26 Oct 2013 15:10:17 +0200
+
+expeyes (3.0.4-1) unstable; urgency=low
+
+ * merged abdul's contribution at github; this adds a compatibility
+ with MAC OSX.
+
+ -- Georges Khaznadar <georgesk at debian.org> Wed, 06 Feb 2013 18:03:17 +0100
+
+expeyes (3.0.3-1) unstable; urgency=low
+
+ * added a new device description to input into rules.d for udev, by the
+ means of debian/postinst
+ * fixed a few double translations in python source files.
+ * included updates from Ajith Kumar in eyes/explore.py,
+ eyes-junior/ac-circuit.py, eyes-junior/calibrate.py,
+ eyes-junior/croplus.py, eyes-junior/transistor.py
+ * added the file nuclear-icon.png given by Ajith Kumar and mofified the
+ install script accordingly
+ * added the desktop file Phoenix-ASM.desktop and updated the install script
+ accordingly
+
+ -- Georges Khaznadar <georgesk at debian.org> Thu, 13 Dec 2012 14:05:47 +0100
+
+expeyes (3.0.2-1) unstable; urgency=low
+
+ * included new upstream code.
+
+ -- Georges Khaznadar <georgesk at ofset.org> Sat, 10 Nov 2012 19:19:22 +0100
+
+expeyes (3.0.1-2) unstable; urgency=low
+
+ * added verifications of the existence of /etc/ini.d/udev in postinst
+ and postrm scripts. Closes: #691123
+ * moved a few build-dependencies out of build-depends-indep.
+ Closes: #691045
+
+ -- Georges Khaznadar <georgesk at ofset.org> Tue, 23 Oct 2012 12:13:03 +0200
+
+expeyes (3.0.1-1) unstable; urgency=low
+
+ * removed the creation of $(DESTDIR) from Makefile. Either we use
+ Debian/ubuntu, and this line is useless, or we do not use them,
+ and this line is useless too, since $(DESTDIR) is a void string.
+ * made libej-dev arch:any since it contains the architecture-specific
+ file libej.a. Thank you Luca Flavigna for the explanation.
+ * upgraded to the new upstream version. This removes one useless line
+ from Makefile, and adds a new feature for users: easy measurement of
+ resistances.
+
+ -- Georges Khaznadar <georgesk at ofset.org> Sun, 23 Sep 2012 14:54:34 +0200
+
+expeyes (3.0.0-2) unstable; urgency=low
+
+ * fixed a small issue with the input capacitance, following a hint from
+ Ajith Kumar. The modification is in the file expeyes/eyesj.py
+
+ -- Georges Khaznadar <georgesk at ofset.org> Thu, 20 Sep 2012 19:14:00 +0200
+
+expeyes (3.0.0-1) unstable; urgency=low
+
+ * fixed packaging issues: assigned the static library to the -dev
+ package and removed the .la file.
+
+ -- Georges Khaznadar <georgesk at ofset.org> Sat, 08 Sep 2012 11:30:54 +0200
+
+expeyes (2.9.1-1) unstable; urgency=low
+
+ * changed a few pics, which were sent by Ajith Kumar
+ * integrated all previous patches in the source package, synced with
+ github's repository
+
+ -- Georges Khaznadar <georgesk at ofset.org> Thu, 06 Sep 2012 19:39:00 +0200
+
+expeyes (2.9.0-3) unstable; urgency=low
+
+ * put desktop files and icons in the right binary package for documentation,
+ which implies the creation of the package expeyes-doc-common as a
+ dependency for every package providing expeyes-doc
+ * created a command and its manpage to launch the viewer with user manuals
+ * fixed a bug which precluded the installation of fr-eyesj.pdf
+ * modified X-Python-Version: downgraded it to Python 2.5 as every Python
+ source should be valid for Python2.5
+
+ -- Georges Khaznadar <georgesk at ofset.org> Tue, 28 Aug 2012 09:28:01 +0200
+
+expeyes (2.9.0-2) unstable; urgency=low
+
+ * added desktop files and icons for the documentation
+ * added Ajith Kumar's fix for a divide by zero error in eyesj.py
+ * modified the Makefile to let it run even if the doc directory is missing
+ * fixed the Makefile to let it compile files differently for Python in
+ debian and non-debian environments
+
+ -- Georges Khaznadar <georgesk at ofset.org> Mon, 20 Aug 2012 16:34:45 +0200
+
+expeyes (2.9.0-1) unstable; urgency=low
+
+ * upgraded to the newest upstream version. This adds support for
+ expeyes-junior boxes, in Python and C language.
+ * defined new binary packages: expeyes-clib, a collection of short
+ programs written in C language based on libej0; libej0, a C library
+ to drive expeyes-junior, and libej-dev which provides development
+ files.
+
+ -- Georges Khaznadar <georgesk at ofset.org> Sun, 05 Aug 2012 19:49:52 +0200
+
+expeyes (2.0.0-5) unstable; urgency=low
+
+ * modified postrm to purge the file /etc/udev/rules.d/99-phoenix.rules
+ Closes: #681754
+ * updated Standards-Version, and debhelper version dependency
+ * added one more file to delete for the clean target in rules
+
+ -- Georges Khaznadar <georgesk at ofset.org> Tue, 17 Jul 2012 13:50:10 +0200
+
+expeyes (2.0.0-4) unstable; urgency=low
+
+ * Modified postinst to fix a problem with permissions, thanks to
+ Ajith Kumar's e-mail.
+
+ -- Georges Khaznadar <georgesk at ofset.org> Fri, 13 Jul 2012 19:47:50 +0200
+
+expeyes (2.0.0-3) unstable; urgency=low
+
+ * Made the modification kindly suggested by Johann Felix Soden,
+ Closes: #669264
+ * modified slightly fr.po
+
+ -- Georges Khaznadar <georgesk at ofset.org> Wed, 18 Apr 2012 17:22:57 +0000
+
+expeyes (2.0.0-2) unstable; urgency=low
+
+ * fixed the problem with restarting udev. Closes: #659779
+
+ -- Georges Khaznadar <georgesk at ofset.org> Tue, 14 Feb 2012 19:16:58 +0000
+
+expeyes (2.0.0-1) unstable; urgency=low
+
+ * upgraded to the newest upstream version
+ * refreshed the i18n patch
+ * internationalized two new files.
+ * imported the new French user manual from
+ http://scideralle-hosting.citic74.net/uici/index.php/ExpEYES
+ with the halp of uicilibris; modified the Makefile for its processing.
+
+ -- Georges Khaznadar <georgesk at ofset.org> Sun, 06 Nov 2011 17:23:28 +0100
+
+expeyes (1.0.3-6) unstable; urgency=low
+
+ * applied Matthias Klose's patch. Closes: #641962
+ the details of this patch are:
+ - Do not build-depend on python-all when not building for all python
+ versions. LP: #831395.
+ - Do not hard-code python2.6
+ - Call dh --with python2 (already fixed in 1.0.3-5)
+
+ -- Georges Khaznadar <georgesk at ofset.org> Sun, 18 Sep 2011 14:03:22 +0200
+
+expeyes (1.0.3-5) unstable; urgency=low
+
+ * rescaled pics/eyes.png and fixed its encoding: it was a JPEG file
+ * use --with python2 in debian/rules
+
+ -- Georges Khaznadar <georgesk at ofset.org> Sat, 10 Sep 2011 23:46:17 +0200
+
+expeyes (1.0.3-4) unstable; urgency=low
+
+ * added dependencies: python-serial, python-usb, tix and a few recommends:
+ * forced the install of python files in /usr, to fix the bug with
+ dh_usrlocal. Closes: #633550
+
+ -- Georges Khaznadar <georgesk at ofset.org> Fri, 15 Jul 2011 15:22:43 +0200
+
+expeyes (1.0.3-3) unstable; urgency=low
+
+ * fixed inconsistent links to images in the French doc.
+
+ -- Georges Khaznadar <georgesk at ofset.org> Thu, 12 May 2011 23:23:52 +0200
+
+expeyes (1.0.3-2) unstable; urgency=low
+
+ * added expeyes-doc (<< 1.0.3) in Conflicts:, in order to make
+ expeyes-doc-xx installable.
+ Closes: #625472, #625271
+ * made imagemagick a build-dependency.
+ Closes: #625185
+
+ -- Georges Khaznadar <georgesk at ofset.org> Wed, 04 May 2011 07:22:18 +0200
+
+expeyes (1.0.3-1) unstable; urgency=low
+
+ * upgraded the English user manual from the new source version at
+ http://expeyes.in/sites/default/files/eyedocs.tgz
+ * updated the French version of the manual.
+ * fixed some typos in the English version of the manual
+
+ -- Georges Khaznadar <georgesk at ofset.org> Mon, 02 May 2011 01:26:19 +0200
+
+expeyes (1.0.2-1) unstable; urgency=low
+
+ * upgraded to new upstream contents: downloaded
+ http://expeyes.in/sites/default/files/debs/expeyes-1.0.2.tgz
+ and moved the directory EYES into expeyes-1.0.2; also merged
+ the source of the English manual into the upstream source.
+ The binary file firmware/eyes.hex has been removed from the source package,
+ it is rebuilt at compile time.
+ * added the build-dependencies for firmware/eyes.hex
+ * targetted a new binary package to contain the firmware development stuff
+ * added clean, build and install rules for the subdirectory firmware/
+ * split the document manuals into different localized packages, each one
+ providing expeyes-doc
+ * made the Makefiles less verbose during the compilation of user manuals.
+ * fixed a few phrases in the French user manual
+ * updated the build-dependencies for the user manuals
+ * fixed the watch file
+ * upgraded the English user manual from the new source version at
+ http://expeyes.in/sites/default/files/eyedocs.tgz
+ * updated the French version of the manual.
+
+ -- Georges Khaznadar <georgesk at ofset.org> Sun, 01 May 2011 20:04:28 +0200
+
+expeyes (1.0.1-2) unstable; urgency=low
+
+ * modified the manual source to enforce the usage of lmodern fonts
+
+ -- Georges Khaznadar <georgesk at ofset.org> Wed, 20 Apr 2011 01:26:38 +0200
+
+expeyes (1.0.1-1) unstable; urgency=low
+
+ * Upgraded to the new upstream release which has been communicated
+ by a private e-mail
+ * removed the files *grace* from the upstream package since they should
+ belong to the package python-pygrace, which is already part of Debian.
+ * added the support for i18n
+ * localized the programs for French
+ * created a script to localize the documentation in synchronisation
+ with the programs
+
+ -- Georges Khaznadar <georgesk at ofset.org> Tue, 19 Apr 2011 23:12:22 +0200
+
+expeyes (1.0.0-1) unstable; urgency=low
+
+ * Initial release (Closes: #623022)
+ * stripped out *.pyc files from the source archive, renamed the main
+ directory of this archive to exepeyes-1.0.0, removed files which are
+ part of the package python-pygrace
+ * modified most of the python files, to use a common python library
+ named expeyes and its submodules eyes, eyemath, eyeplot
+ * added a command to launch the explorer, with the name "expeyes", and
+ a short manpage for it.
+ * scheduled the creation of the file /lib/udev/rules.d/99-phoenix.rules
+ * added an icon and a desktop entry
+ * translated the user manual to French
+
+ -- Georges Khaznadar <georgesk at ofset.org> Tue, 19 Apr 2011 02:25:09 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..c2b7b1a
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,188 @@
+Source: expeyes
+Section: science
+Priority: extra
+Maintainer: Georges Khaznadar <georgesk at debian.org>
+Build-Depends: debhelper (>= 9.0.0), quilt, python (>=2.6.6-3 ),
+ lyx, texlive-latex-base, texlive-latex-extra, texlive-generic-recommended,
+ lmodern, imagemagick, gcc-avr, binutils-avr, avr-libc, hardening-wrapper,
+ pkg-config, libgtk2.0-dev
+X-Python-Version: >= 2.5
+Standards-Version: 3.9.5
+Homepage: http://expeyes.in/
+
+Package: expeyes
+Architecture: all
+Depends: ${python:Depends}, ${misc:Depends}, python-expeyes, python-imaging-tk,
+ tix, python-tk
+Recommends: python-numpy, python-scipy
+Description: hardware & software framework for developing science experiments
+ This package provides high level interfaces for making science experiments
+ with an ExpEYES box.
+ .
+ ExpEYES is from the PHOENIX project of Inter-University Accelerator
+ Centre, New Delhi. It is a hardware & software framework for
+ developing science experiments, demonstrations and projects and learn
+ science and engineering by exploration. Capable of doing real time
+ measurements and analysing the data in different ways. Analog
+ voltages are measured with 0.025% resolution and time intervals with
+ one microsecond. This project is based on Free and Open Source
+ software, mostly written in Python programming language. The hardware
+ design is also open.
+
+Package: libej0
+Architecture: any
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Recommends: expeyes
+Description: hardware & software framework for developing science experiments
+ This package provides a library usable to drive an expEYES box, and is
+ necessary to run clib-based software which addresses this box.
+ .
+ ExpEYES is from the PHOENIX project of Inter-University Accelerator
+ Centre, New Delhi. It is a hardware & software framework for
+ developing science experiments, demonstrations and projects and learn
+ science and engineering by exploration.
+
+Package: libej-dev
+Architecture: any
+Depends: ${misc:Depends},
+ libej0 (>= ${source:Version}), libej0 (<< ${source:Version}.1~)
+Section: libdevel
+Description: hardware & software framework for developing science experiments
+ This package provides headers and links to develop software in C language
+ addressing an expEYES box.
+ .
+ ExpEYES is from the PHOENIX project of Inter-University Accelerator
+ Centre, New Delhi. It is a hardware & software framework for
+ developing science experiments, demonstrations and projects and learn
+ science and engineering by exploration.
+
+Package: expeyes-clib
+Architecture: any
+Depends: ${misc:Depends}, ${shlibs:Depends}, libej0
+Recommends: expeyes
+Description: hardware & software framework for developing science experiments
+ This package provides interfaces written in C language for making
+ science experiments with an ExpEYES box.
+ .
+ ExpEYES is from the PHOENIX project of Inter-University Accelerator
+ Centre, New Delhi. It is a hardware & software framework for
+ developing science experiments, demonstrations and projects and learn
+ science and engineering by exploration. This package provides approximately
+ the same features than the package expeyes, but its sources are in C language.
+
+Package: expeyes-firmware-dev
+Architecture: all
+Section: devel
+Depends: ${misc:Depends}
+Recommends: gcc-avr, binutils-avr, uisp
+Description: hardware & software framework for developing science experiments
+ This package provides high level interfaces for making science experiments
+ with an ExpEYES box.
+ .
+ ExpEYES is from the PHOENIX project of Inter-University Accelerator
+ Centre, New Delhi. It is a hardware & software framework for
+ developing science experiments, demonstrations and projects and learn
+ science and engineering by exploration. Capable of doing real time
+ measurements and analysing the data in different ways. Analog
+ voltages are measured with 0.025% resolution and time intervals with
+ one microsecond. This project is based on Free and Open Source
+ software, mostly written in Python programming language. The hardware
+ design is also open.
+
+
+Package: python-expeyes
+Section: python
+Architecture: all
+Depends: ${python:Depends}, ${misc:Depends}, python-scipy, python-pygrace,
+ python-serial, python-usb
+Recommends: udev, expeyes-doc-en|expeyes-doc
+Description: Python library for expeyes
+ This package provides low level interfaces for making science experiments
+ with an ExpEYES box. The library allows one to develop new programs easily
+ .
+ ExpEYES is from the PHOENIX project of Inter-University Accelerator
+ Centre, New Delhi. It is a hardware & software framework for
+ developing science experiments, demonstrations and projects and learn
+ science and engineering by exploration. Capable of doing real time
+ measurements and analysing the data in different ways. Analog
+ voltages are measured with 0.025% resolution and time intervals with
+ one microsecond. This project is based on Free and Open Source
+ software, mostly written in Python programming language. The hardware
+ design is also open.
+
+Package: expeyes-doc-en
+Section: doc
+Architecture: all
+Depends: ${misc:Depends}, expeyes-doc-common
+Provides: expeyes-doc
+Replaces: expeyes-doc (<< 1.0.3)
+Description: User manual for expeyes library, in English language
+ This package provides a full documentation to use the library python-expeyes,
+ which enables to program new experiments using an ExpEYES box.
+ .
+ ExpEYES is from the PHOENIX project of Inter-University Accelerator
+ Centre, New Delhi. It is a hardware & software framework for
+ developing science experiments, demonstrations and projects and learn
+ science and engineering by exploration. Capable of doing real time
+ measurements and analysing the data in different ways. Analog
+ voltages are measured with 0.025% resolution and time intervals with
+ one microsecond. This project is based on Free and Open Source
+ software, mostly written in Python programming language. The hardware
+ design is also open.
+
+
+Package: expeyes-doc-fr
+Section: doc
+Architecture: all
+Depends: ${misc:Depends}, expeyes-doc-common
+Provides: expeyes-doc
+Replaces: expeyes-doc (<< 1.0.3)
+Description: User manual for expeyes library, French translation
+ This package provides a full documentation to use the library python-expeyes,
+ which enables to program new experiments using an ExpEYES box.
+ .
+ ExpEYES is from the PHOENIX project of Inter-University Accelerator
+ Centre, New Delhi. It is a hardware & software framework for
+ developing science experiments, demonstrations and projects and learn
+ science and engineering by exploration. Capable of doing real time
+ measurements and analysing the data in different ways. Analog
+ voltages are measured with 0.025% resolution and time intervals with
+ one microsecond. This project is based on Free and Open Source
+ software, mostly written in Python programming language. The hardware
+ design is also open.
+
+Package: expeyes-doc-common
+Section: doc
+Architecture: all
+Depends: ${python:Depends}, ${misc:Depends}, evince
+Description: Common files related to the User manual for expeyes library
+ This package provides icons and desktop entries to launch a viewer with
+ the documentation for expEYES.
+ .
+ ExpEYES is from the PHOENIX project of Inter-University Accelerator
+ Centre, New Delhi. It is a hardware & software framework for
+ developing science experiments, demonstrations and projects and learn
+ science and engineering by exploration. Capable of doing real time
+ measurements and analysing the data in different ways. Analog
+ voltages are measured with 0.025% resolution and time intervals with
+ one microsecond. This project is based on Free and Open Source
+ software, mostly written in Python programming language. The hardware
+ design is also open.
+
+Package: microhope
+Architecture: any
+Depends: ${python:Depends}, ${misc:Depends}, ${shlibs:Depends},
+ expeyes, python-tk, avr-libc, avrdude
+Description: hardware & software framework to learn microcontrollers
+ This package provides a set of example programs to drive an ATmega32
+ microcontroller, together with a tutorial explaining how to compile
+ them, upload them to the microcontroller, and how to make simple and
+ more complicated modifications. It is meant to be used with the
+ "microhope" board which makes it easy to upload code to the microcontroller
+ through a USB link.
+ .
+ In addition to examples there is a library to drive all of the peripherals
+ available on the "microhope" board: LED, LCD display, ADC connected to
+ sensors.
+ .
+ A Graphic User Interface is provided too.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..3dd7717
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,59 @@
+This work was packaged for Debian by:
+
+ Georges Khaznadar <georgesk at ofset.org> on Sat, 16 Apr 2011 17:37:18 +0200
+
+It was downloaded from:
+
+ http://expeyes.in/sites/default/files/debs/expeyes-1.0.0.tgz
+
+Upstream Author:
+
+ Ajith Kumar B.P <bpajith at gmail.com>
+
+Copyright:
+
+ Copyright (C) 2010-2011 Ajith Kumar B.P
+
+License:
+
+ GPL version 3, see "/usr/share/common-licenses/GPL-3"
+
+The file janagana.py is authored by Jithin B.P. <jithinbp at gmail.com>
+and is licensed under GPL version 3, see "/usr/share/common-licenses/GPL-3"
+
+The file microhope/uhope.c is (c) 2014 Ambar Chatterjee <drambar at gmail.com>
+and is licensed under GPL version 3, see "/usr/share/common-licenses/GPL-3"
+
+The files microhope/firmware/* are (c) 2003, Jason P. Kyle
+and is licensed under GPL version 2 or later,
+see "/usr/share/common-licenses/GPL-2"
+
+User Manual:
+
+The User Manual has been received by a private e-mail from the author, as
+a .lyx file.
+
+Copyright:
+
+ Copyright (C) 2010-2011 Ajith Kumar B.P
+
+Its license is:
+ GFDL 1.3, without invariant sections.
+ see "/usr/share/common-licenses/GFDL-1.3"
+
+The French translation of the manual is:
+
+ Copyright (c) 2011 Georges Khaznadar <georgesk at ofset.org>
+
+and is licensed under the GFDL 1.3, without invariant sections.
+see "/usr/share/common-licenses/GFDL-1.3"
+
+see the file README.source about the process used to make the translation.
+
+The Debian packaging is:
+
+ Copyright (C) 2011 Georges Khaznadar <georgesk at ofset.org>
+
+and is licensed under the GPL version 3,
+see "/usr/share/common-licenses/GPL-3".
+
diff --git a/debian/expeyes-clib.install b/debian/expeyes-clib.install
new file mode 100644
index 0000000..55a9617
--- /dev/null
+++ b/debian/expeyes-clib.install
@@ -0,0 +1,9 @@
+usr/bin/basic-io usr/lib/expeyes
+usr/bin/capdemo1 usr/lib/expeyes
+usr/bin/capdemo3 usr/lib/expeyes
+usr/bin/capdemo-hr usr/lib/expeyes
+usr/bin/capdemo usr/lib/expeyes
+usr/bin/capdemo2 usr/lib/expeyes
+usr/bin/capdemo4 usr/lib/expeyes
+usr/bin/ccs-cap usr/lib/expeyes
+usr/share/expeyes/clib
diff --git a/debian/expeyes-doc-common.install b/debian/expeyes-doc-common.install
new file mode 100644
index 0000000..04c4794
--- /dev/null
+++ b/debian/expeyes-doc-common.install
@@ -0,0 +1,9 @@
+usr/share/applications/*doc.desktop
+usr/share/icons/*doc.png
+usr/share/icons/*doc.svg
+usr/bin/expeyes-doc
+usr/bin/expeyes-junior-doc
+usr/bin/expeyes-progman-jr-doc
+usr/share/man/man1/expeyes-doc.1.gz
+usr/share/man/man1/expeyes-junior-doc.1.gz
+usr/share/man/man1/expeyes-progman-jr-doc.1.gz
diff --git a/debian/expeyes-doc-en.install b/debian/expeyes-doc-en.install
new file mode 100644
index 0000000..238161b
--- /dev/null
+++ b/debian/expeyes-doc-en.install
@@ -0,0 +1 @@
+usr/share/expeyes/doc/en-*.pdf
diff --git a/debian/expeyes-doc-fr.install b/debian/expeyes-doc-fr.install
new file mode 100644
index 0000000..ef138f6
--- /dev/null
+++ b/debian/expeyes-doc-fr.install
@@ -0,0 +1 @@
+usr/share/expeyes/doc/fr-*.pdf
diff --git a/debian/expeyes-firmware-dev.dirs b/debian/expeyes-firmware-dev.dirs
new file mode 100644
index 0000000..817a922
--- /dev/null
+++ b/debian/expeyes-firmware-dev.dirs
@@ -0,0 +1 @@
+usr/share/expeyes/firmware
diff --git a/debian/expeyes-firmware-dev.install b/debian/expeyes-firmware-dev.install
new file mode 100644
index 0000000..817a922
--- /dev/null
+++ b/debian/expeyes-firmware-dev.install
@@ -0,0 +1 @@
+usr/share/expeyes/firmware
diff --git a/debian/expeyes.dirs b/debian/expeyes.dirs
new file mode 100644
index 0000000..10cd199
--- /dev/null
+++ b/debian/expeyes.dirs
@@ -0,0 +1,6 @@
+usr/share/expeyes/pics
+usr/share/expeyes/expeyes-junior/pics
+usr/share/expeyes/lang
+usr/share/icons
+usr/share/applications
+usr/bin
diff --git a/debian/expeyes.install b/debian/expeyes.install
new file mode 100644
index 0000000..72f7552
--- /dev/null
+++ b/debian/expeyes.install
@@ -0,0 +1,11 @@
+usr/bin/expeyes
+usr/bin/expeyes-junior
+usr/share/expeyes/eyes-junior
+usr/share/expeyes/eyes
+usr/share/applications/expeyes.desktop
+usr/share/applications/expeyes-junior.desktop
+usr/share/icons/expeyes.png
+usr/share/icons/expeyes-junior-icon.png
+usr/share/locale
+usr/share/man/man1/expeyes.1.gz
+usr/share/man/man1/expeyes-junior.1.gz
diff --git a/debian/expeyes.menu b/debian/expeyes.menu
new file mode 100644
index 0000000..78f9f05
--- /dev/null
+++ b/debian/expeyes.menu
@@ -0,0 +1,4 @@
+?package(expeyes):needs="X11" section="Applications/Science/Physics"\
+ title="expeyes" command="/usr/bin/expeyes"
+?package(expeyes):needs="X11" section="Applications/Science/Physics"\
+ title="expeyes-junior" command="/usr/bin/expeyes-junior"
diff --git a/debian/get-newest-source.sh b/debian/get-newest-source.sh
new file mode 100644
index 0000000..bf38caf
--- /dev/null
+++ b/debian/get-newest-source.sh
@@ -0,0 +1,36 @@
+#!/bin/sh
+
+version=$2
+orig_tgz=$(basename $3)
+newdir=$(echo $orig_tgz | sed -e 's/.orig.tar.gz//' -e 's/_/-/')
+
+wd=$(pwd)
+
+cd ..
+tar xzf $orig_tgz
+mv expeyes-programs-$version $newdir
+cd $newdir
+# remove symlinks pointing outside the source tree
+# fix for a lintian error.
+for f in $(find . -type l); do
+ if echo $(readlink $f)| grep -Eq '^/'; then
+ rm $f
+ fi
+done
+mkdir doc
+cd doc
+wget https://github.com/expeyes/expeyes-doc/archive/master.zip
+echo "unzipping ..."
+unzip master.zip > /dev/null 2>&1
+mv expeyes-doc-master/* .
+rm master.zip
+rmdir expeyes-doc-master
+
+cd ../..
+
+rm $orig_tgz v${version}.tar.gz
+
+tar czf $orig_tgz $newdir
+rm -rf $newdir
+
+echo "Created ../$orig_tgz"
diff --git a/debian/libej-dev.install b/debian/libej-dev.install
new file mode 100644
index 0000000..0482f68
--- /dev/null
+++ b/debian/libej-dev.install
@@ -0,0 +1,3 @@
+usr/lib/libej.a
+usr/lib/libej.so
+clib/expeyes-clib/src/ejlib.h usr/include/ejlib.h
diff --git a/debian/libej0.install b/debian/libej0.install
new file mode 100644
index 0000000..a71a4c6
--- /dev/null
+++ b/debian/libej0.install
@@ -0,0 +1 @@
+usr/lib/libej.so.*
diff --git a/debian/microhope.dirs b/debian/microhope.dirs
new file mode 100644
index 0000000..2498a8f
--- /dev/null
+++ b/debian/microhope.dirs
@@ -0,0 +1,4 @@
+usr/share/microhope/doc
+usr/share/applications
+usr/share/pixmaps
+usr/bin
diff --git a/debian/microhope.install b/debian/microhope.install
new file mode 100644
index 0000000..3cbbc77
--- /dev/null
+++ b/debian/microhope.install
@@ -0,0 +1,10 @@
+microhope/mh-ide.py usr/share/microhope
+microhope/src/microhope usr/share/microhope
+microhope/firmware usr/share/microhope
+microhope/desktop/*.desktop usr/share/applications
+microhope/pixmaps/*.png usr/share/pixmaps
+microhope/microhope-doc/microhope-??.pdf usr/share/microhope/doc
+microhope/create-microhope-env usr/bin
+microhope/microhope usr/bin
+microhope/microhope-doc/microhope-doc usr/bin
+usr/bin/uhope usr/bin
diff --git a/debian/microhope.manpages b/debian/microhope.manpages
new file mode 100644
index 0000000..1fe27d6
--- /dev/null
+++ b/debian/microhope.manpages
@@ -0,0 +1,4 @@
+microhope/create-microhope-env.1
+microhope/microhope.1
+microhope/uhope.1
+microhope/microhope-doc/microhope-doc.1
diff --git a/debian/patches/docMakefiles.patch b/debian/patches/docMakefiles.patch
new file mode 100644
index 0000000..7f77d6f
--- /dev/null
+++ b/debian/patches/docMakefiles.patch
@@ -0,0 +1,76 @@
+Modified Makefiles for documents.
+To inhibit deletion of TEX and PDF files, you just need to create
+respectively files keep-expeyes-tex and keep-expeyes-pdf in the
+top directory
+--- a/doc/en/Docs-jr/Makefile
++++ b/doc/en/Docs-jr/Makefile
+@@ -29,4 +29,5 @@
+
+ clean:
+ rm -f *~ *.aux *.log *.toc *.lof
+- [ -f /tmp/keep-expeyes-docs ] || rm -f $(PDFS) $(TEXS)
++ [ -f ../../../keep-expeyes-pdf ] || rm -f $(PDFS)
++ [ -f ../../../keep-expeyes-tex ] || rm -f $(TEXS)
+--- a/doc/en/Docs/Makefile
++++ b/doc/en/Docs/Makefile
+@@ -29,4 +29,5 @@
+
+ clean:
+ rm -f *~ *.aux *.log *.toc *.lof
+- [ -f /tmp/keep-expeyes-docs ] || rm -f $(PDFS) $(TEXS)
++ [ -f ../../../keep-expeyes-pdf ] || rm -f $(PDFS)
++ [ -f ../../../keep-expeyes-tex ] || rm -f $(TEXS)
+--- a/doc/en/Progman-jr/Makefile
++++ b/doc/en/Progman-jr/Makefile
+@@ -29,4 +29,5 @@
+
+ clean:
+ rm -f *~ *.aux *.log *.toc *.lof
+- [ -f /tmp/keep-expeyes-docs ] || rm -f $(PDFS) $(TEXS)
++ [ -f ../../../keep-expeyes-pdf ] || rm -f $(PDFS)
++ [ -f ../../../keep-expeyes-tex ] || rm -f $(TEXS)
+--- a/doc/fr/Docs-jr/Makefile
++++ b/doc/fr/Docs-jr/Makefile
+@@ -33,4 +33,6 @@
+
+ clean:
+ rm -f *~ *.aux *.log *.toc *.lof $(TEXS)
+- [ -f /tmp/keep-expeyes-docs ] || rm -f $(PDFS) $(TEXS)
++ [ -f ../../../keep-expeyes-pdf ] || rm -f $(PDFS)
++ [ -f ../../../keep-expeyes-tex ] || rm -f $(TEXS)
++
+--- a/doc/fr/Docs/Makefile
++++ b/doc/fr/Docs/Makefile
+@@ -23,4 +23,5 @@
+
+ clean:
+ rm -f *~ *.aux *.log *.toc *.lof
+- [ -f /tmp/keep-expeyes-docs ] || rm -f $(PDFS)
++ [ -f ../../../keep-expeyes-pdf ] || rm -f $(PDFS)
++ [ -f ../../../keep-expeyes-tex ] || rm -f $(TEXS)
+--- a/doc/fr/Progman-jr/Makefile
++++ b/doc/fr/Progman-jr/Makefile
+@@ -31,4 +31,6 @@
+
+ clean:
+ rm -f *~ *.aux *.log *.toc *.lof *.out $(TEXS)
+- [ -f /tmp/keep-expeyes-docs ] || rm -f $(PDFS) $(TEXS)
++ [ -f ../../../keep-expeyes-pdf ] || rm -f $(PDFS)
++ [ -f ../../../keep-expeyes-tex ] || rm -f $(TEXS)
++
+--- a/microhope/microhope-doc/Makefile
++++ b/microhope/microhope-doc/Makefile
+@@ -47,9 +47,11 @@
+ @echo Done.
+
+ clean:
+- rm -f *~ *.aux *.log *.toc *.lof *.tex
++ rm -f *~ *.aux *.log *.toc *.lof
++ [ -f ../../keep-expeyes-tex ] || rm -f *.tex
+
+ distclean: clean
+- rm -f $(PDFS) microhope-*.pdf pics/*.eps
++ rm -f pics/*.eps
++ [ -f ../../keep-expeyes-pdf ] || rm -f $(PDFS) microhope-*.pdf
+
+ .PHONY: clean distclean all manpages install
diff --git a/debian/patches/keep-pdf.patch b/debian/patches/keep-pdf.patch
new file mode 100644
index 0000000..714f846
--- /dev/null
+++ b/debian/patches/keep-pdf.patch
@@ -0,0 +1,6 @@
+Description: a file to inhibit deletion of PDF files
+
+--- /dev/null
++++ expeyes-3.1.5/keep-expeyes-pdf
+@@ -0,0 +1 @@
++dummy
diff --git a/debian/patches/microhope-doc-makefile.patch b/debian/patches/microhope-doc-makefile.patch
new file mode 100644
index 0000000..76409fd
--- /dev/null
+++ b/debian/patches/microhope-doc-makefile.patch
@@ -0,0 +1,11 @@
+--- a/microhope/microhope-doc/Makefile
++++ b/microhope/microhope-doc/Makefile
+@@ -24,7 +24,7 @@
+ $(XP) $(DB2MAN) $<
+
+ microhope-en.pdf: $(PDFS)
+- cp microhope-proofread-gk.pdf $@
++ cp microhope.pdf $@
+
+ install: all
+ install -m 644 microhope-en.pdf $(DESTDIR)
diff --git a/debian/patches/microhope-docfile-en-lyx.patch b/debian/patches/microhope-docfile-en-lyx.patch
new file mode 100644
index 0000000..1fd9a99
--- /dev/null
+++ b/debian/patches/microhope-docfile-en-lyx.patch
@@ -0,0 +1,101 @@
+This is a patch to modify the standard English documentation for
+microhope in the context of the official Debian Distribution. Every
+explanations about package management can be simplified, since the
+dependency resolution does the work. Also, a specific command has
+been added to deploy the user files for microhope's IDE.
+
+--- a/microhope/microhope-doc/microhope-proofread-gk.lyx
++++ b/microhope/microhope-doc/microhope-proofread-gk.lyx
+@@ -405,30 +405,24 @@
+ \begin_layout Standard
+ An Integrated Development Environment (IDE) is available for writing, compiling
+ and uploading programs.
+- It is available in .deb format, microhope-2.0.0.deb.
+- To install it, under Debian/Ubuntu, open a Terminal and follow the steps
+- given below:
++ To install it, under Debian/Ubuntu, just install the package
++\family typewriter
++ microhope
++\family default
++, with your favorite package management application.
+ \end_layout
+
+-\begin_layout LyX-Code
+-$ sudo -s
+-\end_layout
+-
+-\begin_layout LyX-Code
+-# apt-get install gdebi
+-\end_layout
+-
+-\begin_layout LyX-Code
+-# gdebi microhope-2.0.0.deb
++\begin_layout Standard
++After installing the package, launch the command
++\family typewriter
++ create-microhope-env
++\family default
++: this one will create a copy of the development environment necessary for
++ microhope.
+ \end_layout
+
+ \begin_layout Standard
+-After installing the package, drag the directory
+-\series bold
+-/etc/skel/microhope
+-\series default
+- to your home directory.
+- The program can be started by choosing Science->microHOPE from the Applications
++The program can be started by choosing Science->microHOPE from the Applications
+ menu.
+ A screen shot of the microhope IDE is shown in figure
+ \begin_inset CommandInset ref
+@@ -506,27 +500,16 @@
+
+ \begin_layout Standard
+ These packages are available under GNU/Linux.
+- For Debian/Ubuntu distributions they can be installed from the repository
+- using the commands:
+-\end_layout
+-
+-\begin_layout LyX-Code
+-# apt-get install avr-libc
+-\end_layout
+-
+-\begin_layout LyX-Code
+-# apt-get install avrdude
+-\end_layout
+-
+-\begin_layout LyX-Code
+-# chmod u+s avrdude
++ They are automatically installed as dependencies when you install the package
++
++\series bold
++microhope
++\series default
++ from Debian/Ubuntu official repositories.
+ \end_layout
+
+ \begin_layout Standard
+-Installing avr-libc, automatically installs gcc-avr and other required packages.
+- The last command will enable non-root users to use avrdude.
+- The installed programs can be invoked from the command line.
+- Use a text editor to create your source program, for example
++Use a text editor to create your source program, for example
+ \series bold
+ blink.c
+ \series default
+@@ -720,8 +703,11 @@
+ \end_layout
+
+ \begin_layout Standard
+-After installing the Debian package, you must have copied the directory
+- /etc/skel/microhope to you home directory.
++After installing the Debian package, you must have launched the command
++\family typewriter
++ create-microhope-env
++\family default
++ which provides you a directory with a necessary set of files.
+ Start the microHOPE IDE from the menu Applications->Science.
+ Choosing File->Open from the menubar will display all the C files inside
+ the
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..61daf38
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,3 @@
+docMakefiles.patch
+keep-pdf.patch
+microhope-doc-makefile.patch
diff --git a/debian/python-expeyes.dirs b/debian/python-expeyes.dirs
new file mode 100644
index 0000000..af7e7ec
--- /dev/null
+++ b/debian/python-expeyes.dirs
@@ -0,0 +1,2 @@
+lib/udev/rules.d
+etc/udev/rules.d
diff --git a/debian/python-expeyes.install b/debian/python-expeyes.install
new file mode 100644
index 0000000..23865eb
--- /dev/null
+++ b/debian/python-expeyes.install
@@ -0,0 +1,2 @@
+usr/lib/python2.7/dist-packages
+lib/udev/rules.d
diff --git a/debian/python-expeyes.postinst b/debian/python-expeyes.postinst
new file mode 100644
index 0000000..ec2948c
--- /dev/null
+++ b/debian/python-expeyes.postinst
@@ -0,0 +1,50 @@
+#!/bin/sh
+# postinst script for expeyes
+#
+# 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>
+# * <postinst> `abort-remove'
+# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
+# <failed-install-package> <version> `removing'
+# <conflicting-package> <version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+
+case "$1" in
+ configure)
+ echo "Setting User Permissions for USB port for EXPEYES: AVR, FT232 and MCP2200"
+
+ echo "SUBSYSTEM==\"usb\",ATTRS{idVendor}==\"03eb\", ATTRS{idProduct}==\"21ff\", MODE=\"666\"" > /etc/udev/rules.d/99-phoenix.rules
+ echo "SUBSYSTEM==\"tty\",ATTRS{idVendor}==\"0403\", ATTRS{idProduct}==\"6001\", MODE=\"666\"" >> /etc/udev/rules.d/99-phoenix.rules
+ echo "SUBSYSTEM==\"tty\",ATTRS{idVendor}==\"04d8\", ATTRS{idProduct}==\"00df\", MODE=\"666\"" >> /etc/udev/rules.d/99-phoenix.rules
+
+
+ echo "ATTRS{idVendor}==\"03eb\", ATTRS{idProduct}==\"21ff\", ENV{ID_MM_DEVICE_IGNORE}=\"1\"" >> /etc/udev/rules.d/99-phoenix.rules
+ echo "ATTRS{idVendor}==\"0403\", ATTRS{idProduct}==\"6001\", ENV{ID_MM_DEVICE_IGNORE}=\"1\"" >> /etc/udev/rules.d/99-phoenix.rules
+ echo "ATTRS{idVendor}==\"04d8\", ATTRS{idProduct}==\"00df\", ENV{ID_MM_DEVICE_IGNORE}=\"1\"" >> /etc/udev/rules.d/99-phoenix.rules
+ [ ! -f /etc/init.d/udev ] || invoke-rc.d udev restart
+ ;;
+
+ abort-upgrade|abort-remove|abort-deconfigure)
+ ;;
+
+ *)
+ echo "postinst 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/python-expeyes.postrm b/debian/python-expeyes.postrm
new file mode 100644
index 0000000..a393ff0
--- /dev/null
+++ b/debian/python-expeyes.postrm
@@ -0,0 +1,39 @@
+#!/bin/sh
+# postrm script for expeyes
+#
+# 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' <overwriter>
+# <overwriter-version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+
+case "$1" in
+ purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+ rm -f /etc/udev/rules.d/99-phoenix.rules
+ [ ! -f /etc/init.d/udev ] || invoke-rc.d udev restart
+ ;;
+
+ *)
+ echo "postrm 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
new file mode 100755
index 0000000..944ce9a
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,16 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+LD_LIBRARY_PATH += debian/libexpeyes1/usr/lib
+export DEB_BUILD_HARDENING=1
+
+%:
+ dh $@ --with python2
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/source/include-binaries b/debian/source/include-binaries
new file mode 100644
index 0000000..4e48d3c
--- /dev/null
+++ b/debian/source/include-binaries
@@ -0,0 +1,16 @@
+# those files do not come from upstream package,
+# they are built during a first run of debuild and not deleted
+# when the file keep-expeyes-pdf exists in the top dir
+
+doc/en/Docs-jr/eyesj.pdf
+doc/en/Progman-jr/eyesj-progman.pdf
+doc/en/Docs/eyes.pdf
+doc/fr/Docs-jr/eyesj.pdf
+doc/fr/Progman-jr/eyesj-progman.pdf
+doc/fr/Docs/eyes.pdf
+microhope/microhope-doc/microhope-en.pdf
+microhope/microhope-doc/microhope.pdf
+microhope/microhope-doc/pics/minimum_circuit-eps-converted-to.pdf
+
+# that file is an illustration provided privately by Ambar
+microhope/pixmaps/mh-logo.png
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..e6c5cfe
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,6 @@
+version=3
+
+opts=dversionmangle=s/expeyes-/v/ \
+https://github.com/expeyes/expeyes-programs/tags \
+ /expeyes/expeyes-programs/archive/[Vv](.*)\.tar\.gz \
+ debian /bin/sh debian/get-newest-source.sh
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/expeyes.git
More information about the debian-science-commits
mailing list