From a03b5d82f21d51c0b368a192201630b165b46a31 Mon Sep 17 00:00:00 2001
From: Hans-Christoph Steiner <eighthave@users.sourceforge.net>
Date: Mon, 1 Aug 2011 21:36:15 +0000
Subject: debianized

svn path=/trunk/externals/unauthorized/; revision=15190
---
 README.txt                               |  6 ++--
 debian/changelog                         |  5 +++
 debian/compat                            |  1 +
 debian/control                           | 53 ++++++++++++++++++++++++++++
 debian/copyright                         | 59 ++++++++++++++++++++++++++++++++
 debian/gbp.conf                          |  7 ++++
 debian/links                             |  3 ++
 debian/pd-unauthorized.lintian-overrides |  7 ++++
 debian/rules                             | 17 +++++++++
 debian/source/format                     |  1 +
 debian/watch                             |  2 ++
 11 files changed, 158 insertions(+), 3 deletions(-)
 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 100644 debian/pd-unauthorized.lintian-overrides
 create mode 100755 debian/rules
 create mode 100644 debian/source/format
 create mode 100644 debian/watch

diff --git a/README.txt b/README.txt
index c35e06e..1791a33 100644
--- a/README.txt
+++ b/README.txt
@@ -1,6 +1,6 @@
 
-unauthorized is a library of GUI objects and a handful of objects for
-working with streaming and mp3s.  Its home page is here:
+unauthorized is a library of GUI objects and a handful of objects for working
+with streaming and mp3s.  The home page for the GPL version is here:
 
 http://puredata.info/community/projects/software/unauthorized
 
@@ -15,7 +15,7 @@ To get the new non-free version, download it from its new CVS repository:
  cvs co pidip
  cvs co unauthorized
 
-original sources available from http://ydegoyon.free.fr
+original sources available from http://ydegoyon.free.fr/software.html
 
 Installing
 ----------
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..f416dec
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+pd-unauthorized (0.1-1) UNRELEASED; urgency=low
+
+  * Initial release (Closes: #636273)
+
+ -- Hans-Christoph Steiner <hans@eds.org>  Mon, 01 Aug 2011 17:31:03 -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..5747d8d
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,53 @@
+Source: pd-unauthorized
+Section: sound
+Priority: optional
+Maintainer: Debian Multimedia Maintainers <pkg-multimedia-maintainers@lists.alioth.debian.org>
+DM-Upload-Allowed: yes
+Uploaders: Hans-Christoph Steiner <hans@eds.org>
+Build-Depends: debhelper (>= 7.0.50~),
+               puredata-dev | puredata (<< 0.43)
+Standards-Version: 3.9.2
+Homepage: http://ydegoyon.free.fr/software.html
+Vcs-Git: git://git.debian.org/pkg-multimedia/pd-unauthorized.git
+Vcs-Browser: http://git.debian.org/?p=pkg-multimedia/pd-unauthorized.git;a=summary
+
+Package: pd-unauthorized
+Architecture: any
+Depends: ${shlibs:Depends},
+         pd,
+         pd-libdir,
+         ${misc:Depends}
+Recommends: pd-import,
+            pd-zexy
+Description: library of Pd objects for streaming and GUI control
+ unauthorized is a Pure Data library of GUI objects and a handful of objects
+ for working with streaming and mp3s.
+ .
+ audience~: 2-dimensional audience simulation
+ beatify~: modulate amplitude of a sound
+ blinkenlight: a blinken lights films player ( but also a pixel grid )
+ compressor~: a compressor of audio signals
+ cooled: a micro sound editor
+ disto~: a kind of effect used in pop music, use it elsewhere
+ exciter: a bang-events sequencer
+ filterbank~: outputs frequency response for a range of filters
+ formant~ is a formant synthesis generator external for pd
+ grid: 2-dimensional control object, ala "kaospad"
+ mp3amp~ is a MPEG I Layer III (mp3) icecast/shoutcast client
+ mp3cast~ is a MPEG I Layer III (mp3) streaming external
+ mp3streamout~: peer-to-peer mp3 streaming out
+ mp3fileout~: peer-to-peer mp3 streaming to a file
+ mp3streamin~: peer-to-peer mp3 stream receiving
+ mp3write~ is a MPEG I Layer III (mp3) file writer.
+ pianoroll: a graphical sequencer controller
+ playlist: choose a file in 1 click with space, numeric, characters
+ probalizer: outputs integer values according to a drawn probability curve
+ samplebox~: an opaque box to record and playback a sound
+ scratcher~: records a sound and lets you scratch it with your mouse
+ scrolllist: displays and scrolls a text in  a patch window
+ sonogram~: displays, plays back and lets you modify a recorded sonogram.
+ speexin~: a voice quality stream receiver using Speex library
+ speexout~: a voice quality streamer using Speex library
+ spigot~: a signal router.
+ wahwah~: a kind of effect used in psychedelic music, use it elsewhere
+
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..77b468f
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,59 @@
+Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?rev=135
+Name: unauthorized
+Maintainer: Hans-Christoph Steiner <hans@eds.org>
+Source: http://sourceforge.net/projects/pure-data/files/libraries/unauthorized/
+
+Files: *
+Copyright: 2001-2003, Yves Degoyon
+License: GPL-2+
+
+Files: disto~.c wahwah~.c
+Copyright: 2001, Alexei Smoli
+License: GPL-2+
+
+Files: mpg123.h mpglib.h
+Copyright: 1995-2006 by the mpg123 project (Michael Hipp,
+           Oliver Fromme, Thomas Orgis, Nicholas J Humfrey,
+		   and contributors)
+License: LGPL-2.1+
+
+Files: grid.c pianoroll.c
+Copyright: 1997-1999 Miller Puckette.
+License: Pd License
+
+License: GPL-2+
+ On Debian systems, the complete text of the GNU General
+ Public License can be found in `/usr/share/common-licenses/GPL-2'.
+
+License: LGPL-2.1+
+ On Debian systems, the complete text of the GNU Lesser General
+ Public License can be found in `/usr/share/common-licenses/LGPL-2.1'.
+
+License: Pd License
+ The authors hereby grant permission to use, copy, modify, distribute,
+ and license this software and its documentation for any purpose, provided
+ that existing copyright notices are retained in all copies and that this
+ notice is included verbatim in any distributions. No written agreement,
+ license, or royalty fee is required for any of the authorized uses.
+ Modifications to this software may be copyrighted by their authors
+ and need not follow the licensing terms described here, provided that
+ the new terms are clearly indicated on the first page of each file where
+ they apply.
+
+ IN NO EVENT SHALL THE AUTHORS OR DISTRIBUTORS BE LIABLE TO ANY PARTY
+ FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
+ ARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY
+ DERIVATIVES THEREOF, EVEN IF THE AUTHORS HAVE BEEN ADVISED OF THE
+ POSSIBILITY OF SUCH DAMAGE.
+
+ THE AUTHORS AND DISTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES,
+ INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT.  THIS SOFTWARE
+ IS PROVIDED ON AN "AS IS" BASIS, AND THE AUTHORS AND DISTRIBUTORS HAVE
+ NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR
+ MODIFICATIONS.
+
+ RESTRICTED RIGHTS: Use, duplication or disclosure by the government
+ is subject to the restrictions as set forth in subparagraph (c) (1) (ii)
+ of the Rights in Technical Data and Computer Software Clause as DFARS
+ 252.227-7013 and FAR 52.227-19.
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..4c7ca94
--- /dev/null
+++ b/debian/links
@@ -0,0 +1,3 @@
+usr/lib/pd/extra/unauthorized/README.txt        usr/share/doc/pd-unauthorized/README
+usr/lib/pd/extra/unauthorized/examples          usr/share/doc/pd-unauthorized/examples
+usr/share/common-licenses/GPL-2             usr/lib/pd/extra/unauthorized/LICENSE.txt
diff --git a/debian/pd-unauthorized.lintian-overrides b/debian/pd-unauthorized.lintian-overrides
new file mode 100644
index 0000000..ae0e294
--- /dev/null
+++ b/debian/pd-unauthorized.lintian-overrides
@@ -0,0 +1,7 @@
+# the upstream library format includes an 'examples' directory where example
+# scripts are kept.  This directory needs to be part of the library itself so
+# that the documentation browser, aka the "Help Browser" can find and display
+# the examples.  Sometimes the example scripts include image files to
+# manipulate.
+pd-unauthorized: image-file-in-usr-lib usr/lib/pd/extra/unauthorized/examples/speaker.gif
+pd-unauthorized: image-file-in-usr-lib usr/lib/pd/extra/unauthorized/examples/wanderer.gif
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..c79df03
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,17 @@
+#!/usr/bin/make -f
+
+LIBRARY_NAME = unauthorized
+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/watch b/debian/watch
new file mode 100644
index 0000000..a73eb58
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://sf.net/pure-data/unauthorized-(.*)\.tar\.gz
-- 
cgit v1.2.1