From 5640ac0a90ce93e05a31572f1397425907d65332 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Thu, 4 Oct 2012 15:56:19 +0000 Subject: first stab at debianizing, will need to sort out zexy and moocow dependencies, since they are not libdirs in pd-zexy and pd-pdstring svn path=/trunk/externals/pduino/; revision=16327 --- debian/changelog | 5 +++++ debian/compat | 1 + debian/control | 31 +++++++++++++++++++++++++++++++ debian/copyright | 23 +++++++++++++++++++++++ debian/gbp.conf | 7 +++++++ debian/links | 3 +++ debian/rules | 17 +++++++++++++++++ debian/source/format | 1 + debian/source/local-options | 2 ++ debian/watch | 2 ++ 10 files changed, 92 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/gbp.conf create mode 100644 debian/links create mode 100755 debian/rules create mode 100644 debian/source/format create mode 100644 debian/source/local-options create mode 100644 debian/watch diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..86c8f8d --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +pd-arduino (0.5.1-1) unstable; urgency=low + + * Initial release (Closes: #nnnn) + + -- Hans-Christoph Steiner Thu, 04 Oct 2012 11:45:42 -0400 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..7f8f011 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +7 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..d7af0bc --- /dev/null +++ b/debian/control @@ -0,0 +1,31 @@ +Source: pd-arduino +Section: sound +Priority: optional +Maintainer: Debian Multimedia Maintainers +Uploaders: Hans-Christoph Steiner +Build-Depends: debhelper (>= 7.0.50~), + puredata-dev | puredata (<< 0.43) +Standards-Version: 3.9.3 +Homepage: http://firmata.org +Vcs-Git: git://anonscm.debian.org/pkg-multimedia/pd-arduino.git +Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-multimedia/pd-arduino.git;a=summary + +Package: pd-arduino +Architecture: any +Depends: ${shlibs:Depends}, + puredata-core | pd, + pd-comport, + pd-cyclone, + pd-mapping, + pd-moocow, + pd-pddp, + pd-zexy, + ${misc:Depends} +Suggests: arduino +Description: Pd object for Firmata communications with Arduinos + This package includes a Pd object and a matching Arduino firmware. It allows + you to control the Arduino board from Pd without having to program in + Arduino's C++. It is an implementation of the Firmata protocol. Firmata is a + generic protocol for communicating with microcontrollers from software on a + host computer. It is intended to work with any host computer software + package. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..2a48317 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,23 @@ +Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?rev=135 +Name: arduino +Maintainer: +Source: http://sourceforge.net/projects/pure-data/files/libraries/arduino/ + +Files: * +Copyright: 2001-2003, Free Software Foundation +License: GPL-2+ + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + . + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +X-Comment: On Debian systems, the complete text of the GNU General + Public License can be found in `/usr/share/common-licenses/GPL-2'. diff --git a/debian/gbp.conf b/debian/gbp.conf new file mode 100644 index 0000000..ae1dc36 --- /dev/null +++ b/debian/gbp.conf @@ -0,0 +1,7 @@ +[DEFAULT] +upstream-branch = upstream +debian-branch = master +upstream-tag = upstream/%(version)s +debian-tag = debian/%(version)s +pristine-tar = True +sign-tags = True diff --git a/debian/links b/debian/links new file mode 100644 index 0000000..2702674 --- /dev/null +++ b/debian/links @@ -0,0 +1,3 @@ +usr/lib/pd/extra/arduino/README.txt usr/share/doc/pd-arduino/README +usr/lib/pd/extra/arduino/examples usr/share/doc/pd-arduino/examples +usr/share/common-licenses/GPL-2 usr/lib/pd/extra/arduino/LICENSE.txt diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..899d6fe --- /dev/null +++ b/debian/rules @@ -0,0 +1,17 @@ +#!/usr/bin/make -f + +LIBRARY_NAME = arduino +PACKAGE = pd-$(LIBRARY_NAME) +pkglibdir = /usr/lib/pd/extra + +%: + dh $@ --buildsystem=makefile + +override_dh_auto_install: + dh_auto_install -- prefix=/usr pkglibdir=$(pkglibdir) +# replace license file with link to the Debian license file + rm -f -- $(CURDIR)/debian/$(PACKAGE)/$(pkglibdir)/$(LIBRARY_NAME)/LICENSE.txt + +override_dh_shlibdeps: + dpkg-shlibdeps $(CURDIR)/debian/$(PACKAGE)$(pkglibdir)/$(LIBRARY_NAME)/*.pd_linux \ + -T$(CURDIR)/debian/$(PACKAGE).substvars 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/local-options b/debian/source/local-options new file mode 100644 index 0000000..9cdfca9 --- /dev/null +++ b/debian/source/local-options @@ -0,0 +1,2 @@ +unapply-patches +abort-on-upstream-changes diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..d75e23e --- /dev/null +++ b/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://sf.net/pure-data/pduino-(.*)\.tar\.gz -- cgit v1.2.1