--- /dev/null
+repacking upstream sources
+--------------------------
+
+The originall tarball has been repacked to remove files with unfriendly
+licences. These files are related to VST plugins and Windows.
+The Debian package is built without VST support.
+
+Upstream also bundles the 'JUCE' framework which is available as a Debian
+package (and only used for VST support). Therefore it has been stripped away as
+well.
+
+Upstream also bundles a slightly modified version ofo RtAudio.
+Since upstream relies on their modifications, we are using the bundled version
+(rather than the system provided package!)
+
+Files stripped away are enumerated in the Files-Excluded stanza in
+debian/copyright.
+
+
+git-tuneclone.sh
+----------------
+
+This package comes with a script 'debian/git-tuneclone.sh'.
+Running it after a fresh clone of the packaging repository
+will fine-tune your local copy, namely:
+- make git ignore any .pc/ directory (created by quilt)
+- enable the "-follow-tags" when running 'git-push', so it's harder
+ to forget to push packaging tags along with the branches.
+- do an initial checkout of the 3 packaging branches (master, pristine-tar,
+ upstream)
+The script only needs to run once (though running it multiple times shouldn't
+matter).
+You are of course free to *not* run the script, if you prefer.
+
+ -- IOhannes m zmölnig (Debian/GNU) <umlaeute@debian.org> Tue, 11 Nov 2015 11:11:03 +0100
+
--- /dev/null
+giada (0.13.2~dfsg1-1) unstable; urgency=medium
+
+ * Remove more files on repack.
+ * New upstream version 0.13.2~dfsg1
+ * Patches deleted/refreshed.
+ * Clean up rules file.
+ * Remove B-D dh_autoreconf.
+ * Update copyright file.
+ * Sign tags.
+ * Install only svg icon.
+
+ -- Jaromír Mikeš <mira.mikes@seznam.cz> Sun, 15 Jan 2017 18:51:32 +0100
+
+giada (0.13.1~dfsg1-1) unstable; urgency=medium
+
+ * New upstream version 0.13.1~dfsg1
+ * Patch refreshed.
+ * Set dh/compat 10.
+ * Add patch to fix FTBFS.
+
+ -- Jaromír Mikeš <mira.mikes@seznam.cz> Mon, 21 Nov 2016 09:32:55 +0100
+
+giada (0.13.0~dfsg1-1) unstable; urgency=medium
+
+ * New upstream version 0.13.0~dfsg1
+ * Refresh patch.
+ * Drop patches applied upstream.
+
+ -- Jaromír Mikeš <mira.mikes@seznam.cz> Fri, 02 Sep 2016 01:35:02 +0200
+
+giada (0.12.2~dfsg1-3) unstable; urgency=medium
+
+ * Add patch to build with gcc6 (Closes: ##831183).
+ * Numbering patches.
+ * Tune .gitignore file.
+
+ -- Jaromír Mikeš <mira.mikes@seznam.cz> Mon, 25 Jul 2016 01:09:36 +0200
+
+giada (0.12.2~dfsg1-2) unstable; urgency=medium
+
+ * Add patch to build with new rtmidi lib. (Closes: #828955)
+ Thanks to James Cowgill <jcowgill@debian.org>
+
+ -- Jaromír Mikeš <mira.mikes@seznam.cz> Mon, 04 Jul 2016 16:03:13 +0200
+
+giada (0.12.2~dfsg1-1) unstable; urgency=medium
+
+ * Imported Upstream version 0.12.2~dfsg1
+ * Patch refreshed.
+ * Update copyright file.
+ * Fix hardening.
+ * Add overrides file.
+
+ -- Jaromír Mikeš <mira.mikes@seznam.cz> Wed, 22 Jun 2016 14:41:40 +0200
+
+giada (0.12.1~dfsg1-1) unstable; urgency=medium
+
+ * Imported Upstream version 0.12.1~dfsg1
+ * Dropped embedded copy of non-free ASIO SDK in rtaudio-mod
+ that had accidentally crept in with 0.11.0 (Closes: #823318)
+ * Dropped patches applied upstream.
+ * Dropped references to JUCE
+ * Bumped to standards version 3.9.8
+
+ -- IOhannes m zmölnig (Debian/GNU) <umlaeute@debian.org> Tue, 17 May 2016 15:54:31 +0200
+
+giada (0.11.2~dfsg-1) unstable; urgency=medium
+
+ * Imported Upstream version 0.11.2~dfsg
+
+ * File-Exclude bundled libraries
+ * Explain repacking in detail
+ * Simplified get-orig-source rule
+ * Added repack-suffix to debian/watch
+ * Refreshed patches
+ * Skip tests that require missing files
+ * Clean up in rtaudio-mod directory
+ * Use https:// in Vcs-Git stanza
+ * Bumped standards to 3.9.7
+
+ -- IOhannes m zmölnig (Debian/GNU) <umlaeute@debian.org> Tue, 16 Feb 2016 15:39:16 +0100
+
+giada (0.11.0~dfsg1-1) unstable; urgency=medium
+
+ * Imported Upstream version 0.11.0~dfsg1
+ * Patch applied upstream.
+ * Add libjansson-dev as build dep.
+
+ -- Jaromír Mikeš <mira.mikes@seznam.cz> Wed, 02 Dec 2015 09:45:41 +0100
+
+giada (0.10.2~dfsg1-2) unstable; urgency=medium
+
+ * unit-tests
+ * Made tests failing more verbosely
+ * Set ${HOME} to /tmp
+ * debian/README.source
+ * Documented git-tuneclone.sh
+ * Fixed typos
+
+ -- IOhannes m zmölnig (Debian/GNU) <umlaeute@debian.org> Mon, 23 Nov 2015 00:15:05 +0100
+
+giada (0.10.2~dfsg1-1) unstable; urgency=medium
+
+ [ Jaromír Mikeš ]
+ * Imported Upstream version 0.10.2~dfsg1
+
+ [ IOhannes m zmölnig ]
+ * Enable C++11 to prevent FTBFS in tests
+ * Made build reproducible
+ * Patch to allow setting of DATE in about-dialog
+ * Set BUILD_DATE to date from debian/changelog
+ * Removed giada.menu
+ (in response to the tech-ctte decision on #741573)
+ * Updated debian/copyright
+ * Updated Vcs-Browser stanza
+ * Added debian/git-tuneclone.sh script
+
+ -- IOhannes m zmölnig (Debian/GNU) <umlaeute@debian.org> Fri, 06 Nov 2015 22:28:02 +0100
+
+giada (0.10.1~dfsg1-1) unstable; urgency=medium
+
+ * Imported Upstream version 0.10.1~dfsg1
+ * Remove patch - apllied upstream.
+ * Refresh patch.
+ * Upstream build changed - tune rules file accordingly.
+ * Update copyright file.
+
+ -- Jaromír Mikeš <mira.mikes@seznam.cz> Thu, 03 Sep 2015 03:43:59 +0200
+
+giada (0.10.0~dfsg1-1) unstable; urgency=medium
+
+ * Imported Upstream version 0.10.0~dfsg1
+ * Patches refreshed.
+ * Added spelling patch.
+
+ -- Jaromír Mikeš <mira.mikes@seznam.cz> Tue, 07 Jul 2015 14:40:16 +0200
+
+giada (0.9.6~dfsg1-3) unstable; urgency=medium
+
+ * Fixed FTBFS due to parenthesization (Closes: #791544)
+
+ -- IOhannes m zmölnig (Debian/GNU) <umlaeute@debian.org> Tue, 07 Jul 2015 11:20:10 +0200
+
+giada (0.9.6~dfsg1-2) unstable; urgency=medium
+
+ * Attempt to fix build on arm64 and ppc64el.
+
+ -- Jaromír Mikeš <mira.mikes@seznam.cz> Thu, 18 Jun 2015 09:58:19 +0200
+
+giada (0.9.6~dfsg1-1) unstable; urgency=medium
+
+ * Initial release. (Closes: Bug#786610)
+
+ -- Jaromír Mikeš <mira.mikes@seznam.cz> Wed, 08 Apr 2015 14:59:44 +0200
--- /dev/null
+Source: giada
+Section: sound
+Priority: optional
+Maintainer: Debian Multimedia Maintainers <pkg-multimedia-maintainers@lists.alioth.debian.org>
+Uploaders:
+ Jaromír Mikeš <mira.mikes@seznam.cz>,
+ IOhannes m zmölnig (Debian/GNU) <umlaeute@debian.org>
+Build-Depends:
+ debhelper (>= 10),
+ autotools-dev,
+ libsndfile1-dev (>= 1.0.25),
+ libsamplerate0-dev (>= 0.1.8),
+ libasound2 (>= 1.0.16),
+ libjack-dev,
+ libpulse-dev,
+ libxft2-dev,
+ libxpm-dev,
+ libxext-dev,
+ libfltk1.3-dev,
+ librtmidi-dev (>= 2.1.0~ds0),
+ libjansson-dev
+Standards-Version: 3.9.8
+Vcs-Git: https://anonscm.debian.org/git/pkg-multimedia/giada.git
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-multimedia/giada.git
+Homepage: http://www.giadamusic.com
+
+Package: giada
+Architecture: any
+Depends:
+ ${shlibs:Depends},
+ ${misc:Depends}
+Recommends:
+ jackd
+Description: Hardcore Loop Machine
+ free, minimal, hardcore audio tool for DJs,
+ live performers and electronic musicians.
+ Pick up your channel, fill it with samples or MIDI events
+ and start the show by using this tiny piece of software
+ as a loop machine, drum machine, sequencer,
+ live sampler or yet as a plugin/effect host.
+ .
+ Giada aims to be a compact and portable virtual device
+ for production use and live sets.
--- /dev/null
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: Giada
+Upstream-Contact: Giovanni A. Zuliani | Monocasual <giadaloopmachine@gmail.com>
+Source: http://www.giadamusic.com
+Files-Excluded:
+ src/deps/vst/*
+ src/deps/juce/*
+ src/deps/rtaudio-mod/include/*
+ .git*
+ .travis.yml
+
+Files: *
+Copyright:
+ 2010-2015 Giovanni A. Zuliani | Monocasual
+License: GPL-3+
+
+Files: tests/catch.hpp
+Copyright: 2012, Two Blue Cubes Ltd.
+License: Boost
+
+Files: debian/*
+Copyright:
+ 2015-2017 Jaromír Mikeš <mira.mikes@seznam.cz>
+ 2015-2016 IOhannes m zmölnig <umlaeute@debian.org>
+License: GPL-3+
+
+Files: src/deps/rtaudio-mod/RtAudio.h
+ src/deps/rtaudio-mod/RtAudio.cpp
+Copyright:
+ 2001-2014 Gary P. Scavone
+License: MIT
+
+License: GPL-3+
+ This program 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 3 of the License, or
+ (at your option) any later version.
+ .
+ This program 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.
+Comment: You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License can be found in `/usr/share/common-licenses/GPL-3'.
+
+License: MIT
+ 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 or substantial portions of the Software.
+ .
+ Any person wishing to distribute modifications to the Software is
+ asked to send the modifications to the original developer so that
+ they can be incorporated into the canonical version. This is,
+ however, not a binding provision of this license.
+ .
+ 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 OR COPYRIGHT HOLDERS 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.
+
+License: Boost
+ Boost Software License - Version 1.0 - August 17th, 2003
+ .
+ Permission is hereby granted, free of charge, to any person or organization
+ obtaining a copy of the software and accompanying documentation covered by
+ this license (the "Software") to use, reproduce, display, distribute,
+ execute, and transmit the Software, and to prepare derivative works of the
+ Software, and to permit third-parties to whom the Software is furnished to
+ do so, all subject to the following:
+ .
+ The copyright notices in the Software and this entire statement, including
+ the above license grant, this restriction and the following disclaimer,
+ must be included in all copies of the Software, in whole or in part, and
+ all derivative works of the Software, unless such copies or derivative
+ works are solely in the form of machine-executable object code generated by
+ a source language processor.
+ .
+ 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, TITLE AND NON-INFRINGEMENT. IN NO EVENT
+ SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
+ FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
+ ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ DEALINGS IN THE SOFTWARE.
--- /dev/null
+[DEFAULT]
+pristine-tar = True
+sign-tags = True
--- /dev/null
+.\" 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 GIADA 1 "May 23, 2015"
+.\" 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)
+.IX Title "GIADA 1"
+.TH giada 1
+.SH "NAME"
+giada \- Hardcore Loop Machine.
+.SH "SYNOPSIS"
+.IX Header "SYNOPSIS"
+giada
+.SH "DESCRIPTION"
+.IX Header "DESCRIPTION"
+Free, minimal, hardcore audio tool for DJs, live performers and electronic musicians.
+Pick up your channel, fill it with samples or MIDI events and start the show by using
+this tiny piece of software as a loop machine, drum machine, sequencer,
+live sampler or yet as a plugin/effect host.
+.LP
+Giada aims to be a compact and portable virtual device for production use and live sets.
+.SH AUTHOR
+This manual page was written by Jaromír Mikeš <mira.mikes@seznam.cz>,
+for the Debian project (but may be used by others).
--- /dev/null
+[Desktop Entry]
+Name=Giada
+Name[es]=Giada
+GenericName=Drum machine and loop sequencer
+GenericName[es]=Caja de ritmos y secuenciador de loops
+Icon=giada
+Type=Application
+Exec=giada
+Terminal=false
+Categories=AudioVideo;Audio;X-Digital_Processing;X-Jack;X-MIDI;Midi;
+Keywords=midi;jackd;alsa;pulse;audio;sound;loop;
--- /dev/null
+#
+giada [any] binary: spelling-error-in-copyright Boost Boost (duplicate word) Boost
--- /dev/null
+debian/giada.1
--- /dev/null
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
+ "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
+<svg width="48" height="48">
+ <image id="image0" width="48" height="48" x="0" y="0"
+ xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAQAAAD9CzEMAAAABGdBTUEAALGPC/xhBQAAACBjSFJN
+AAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6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/sh
+
+## script to initialize a cloned repository
+## with per (local) repository settings.
+
+# - ignore quilt's .pc/ directory
+# - enable the "--follow-tags" mode for pushing
+
+error() {
+ echo "$@" 1>&2
+}
+
+NAME=$(dpkg-parsechangelog -S Source)
+
+if [ "x${NAME}" = "x" ]; then
+ error "unable to determine package name"
+ error "make sure you run this script within a source package dir"
+ exit 1
+fi
+
+if [ ! -d ".git" ]; then
+ error "it seems like this source package is not under git control"
+ exit 1
+fi
+
+echo "tuning git-repository for ${NAME}"
+git config push.followTags true && echo "enabled push.followTags"
+
+GITEXCLUDE=".git/info/exclude"
+egrep "^/?\.pc/?$" "${GITEXCLUDE}" >/dev/null 2>&1 \
+ || (echo "/.pc/" >> "${GITEXCLUDE}" && echo "ignoring /.pc/")
+
+for branch in pristine-tar upstream master; do
+ git checkout "${branch}"
+done
--- /dev/null
+debian/giada.desktop usr/share/applications
+debian/giada.svg usr/share/icons/hicolor/scalable/apps
--- /dev/null
+Description: build with new rtmidi lib.
+Author: James Cowgill <jcowgill@debian.org>
+Forwarded: <giadaloopmachine@gmail.com>
+
+Index: giada/Makefile.am
+===================================================================
+--- giada.orig/Makefile.am
++++ giada/Makefile.am
+@@ -211,9 +211,9 @@ giada_SOURCES += src/deps/rtaudio-mod/Rt
+ # -Wno-error=vla: mute rtAudio error on variable length array
+ # -Wno-error=misleading-indentation: mute JUCE warnings on GCC6
+ giada_CXXFLAGS += -Wno-error=vla -Wno-error=misleading-indentation
+-giada_CPPFLAGS += -D__LINUX_ALSA__ -D__LINUX_PULSE__ -D__UNIX_JACK__
++giada_CPPFLAGS += $(RTMIDI_CFLAGS)
+ giada_LDADD = -lsndfile -lfltk -lXext -lX11 -lXft -lXpm -lm -ljack -lasound \
+- -lpthread -ldl -lpulse-simple -lpulse -lsamplerate -lrtmidi -ljansson \
++ -lpthread -ldl -lpulse-simple -lpulse -lsamplerate $(RTMIDI_LIBS) -ljansson \
+ -lfreetype
+ endif
+
+@@ -303,7 +303,7 @@ src/deps/juce/modules/juce_gui_extra/juc
+ endif
+
+ giada_tests_LDADD = -ljansson -lsndfile -lsamplerate -lfltk -lXext -lX11 -lXft \
+- -lXpm -lm -ljack -lasound -lpthread -ldl -lpulse-simple -lpulse -lrtmidi \
++ -lXpm -lm -ljack -lasound -lpthread -ldl -lpulse-simple -lpulse $(RTMIDI_LIBS) \
+ -lfreetype
+
+ giada_tests_CXXFLAGS = -std=c++11
+Index: giada/configure.ac
+===================================================================
+--- giada.orig/configure.ac
++++ giada/configure.ac
+@@ -106,13 +106,7 @@ AC_CHECK_HEADER(
+ )
+ AC_LANG_POP
+
+-AC_LANG_PUSH([C++])
+-AC_CHECK_HEADER(
+- [RtMidi.h],
+- [],
+- [AC_MSG_ERROR([library 'rtMidi' not found!])]
+-)
+-AC_LANG_POP
++PKG_CHECK_MODULES([RTMIDI], [rtmidi])
+
+ AC_LANG_PUSH([C++])
+ AC_CHECK_HEADER(
--- /dev/null
+02-rtmidi-pkgconfig.patch
--- /dev/null
+#!/usr/bin/make -f
+
+DATE := $(shell date -u -d "$$(dpkg-parsechangelog -SDate)" +"%Y/%m/%d")
+
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+
+export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
+
+CPPFLAGS+=-DBUILD_DATE='"$(DATE)"'
+CXXFLAGS+=-std=c++11
+
+%:
+ dh $@
+
+override_dh_autoreconf:
+ ./autogen.sh
+ dh_autoreconf
+
+override_dh_auto_configure:
+ dh_auto_configure -- --target=linux
+
+override_dh_auto_test:
+ @echo home: $(HOME)
+ HOME=/tmp dh_auto_test -a || (grep . test-suite.log giada_test.log; false)
+
+override_dh_auto_clean:
+ dh_auto_clean
+ test -e src/deps/rtaudio-mode/Makefile && make -C src/deps/rtaudio-mod/ distclean || true
+
+## all the file-exclusion magic is handled by debian/copyright
+get-orig-source:
+ uscan --download
--- /dev/null
+3.0 (quilt)
--- /dev/null
+version=3
+opts=repacksuffix=~dfsg1,filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/giada-$1\.tar\.gz/,uversionmangle=s/-rc/~rc/,dversionmangle=s/~dfsg.*// \
+ https://github.com/monocasual/giada/tags .*/v?(\d\S*)\.tar\.gz