debian/0000755000000000000000000000000012150551067007170 5ustar debian/compat0000644000000000000000000000000212074337153010371 0ustar 9 debian/patches/0000755000000000000000000000000012074561346010625 5ustar debian/patches/11-dont_install_desktop_file.patch0000644000000000000000000000116612074561452017311 0ustar Description: Don't install the launcher to avoid depending on desktop-file-utils. Author: Alessio Treglia Forwarded: not-needed --- misc/Makefile.am | 4 ---- 1 file changed, 4 deletions(-) --- phasex.orig/misc/Makefile.am +++ phasex/misc/Makefile.am @@ -19,10 +19,6 @@ desktop_extra = X-Jack X-MIDI X-Synthesi install-data-local: @$(NORMAL_INSTALL) $(mkinstalldirs) $(DESTDIR)$(datadir)/applications - desktop-file-install \ - --dir $(DESTDIR)$(datadir)/applications \ - `for c in $(desktop_base) $(desktop_extra); do echo "--add-category $$c "; done` \ - $(desktop_files) uninstall-hook: debian/patches/series0000644000000000000000000000014012074561305012030 0ustar 02-gcc_flags.patch 03-binutils_gold.patch 04-hardening.patch 11-dont_install_desktop_file.patch debian/patches/03-binutils_gold.patch0000644000000000000000000000107712074341544014725 0ustar From: https://bugs.launchpad.net/ubuntu/+source/phasex/+bug/677501/comments/1 Description: Correct linking order to fix FTBFS with binutils-gold. Bug-Ubuntu: https://launchpad.net/bugs/677501 Forwarded: yes --- src/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- phasex.orig/src/Makefile.am +++ phasex/src/Makefile.am @@ -52,7 +52,7 @@ endif AM_CFLAGS = @PHASEX_CFLAGS@ AM_CPPFLAGS = $(EXTRA_CPPFLAGS) @PHASEX_CPPFLAGS@ -phasex_LDADD = $(INTLLIBS) @PHASEX_LIBS@ +phasex_LDADD = $(INTLLIBS) @PHASEX_LIBS@ -lX11 clean-local: debian/patches/02-gcc_flags.patch0000644000000000000000000000413312074341374013773 0ustar Description: Disable optimization to fix FTBFS on several architectures. Author: Alessio Treglia Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=590273 Forwarded: not-needed --- configure.ac | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) --- phasex.orig/configure.ac +++ phasex/configure.ac @@ -352,13 +352,13 @@ case "$OPT_ARCH" in "none"|"generic") CPU_POWER_LEVEL=2 if test "x$gccver" \< "x4.2.0"; then - ARCH_OPT_CFLAGS="-mtune=i686 -march=i386" + ARCH_OPT_CFLAGS="" WARNING=`echo "*" && \ echo "* WARNING: No arch specific optimization has been specified." && \ echo "* Defaulting to i686 tuning for i386 CPU !!!" && \ echo "*"` else - ARCH_OPT_CFLAGS="-mtune=generic" + ARCH_OPT_CFLAGS="" WARNING=`echo "*" && \ echo "* WARNING: No arch specific optimization has been specified." && \ echo "* Try --enable-arch=native !!!" && \ @@ -610,7 +610,7 @@ case "$OPT_ARCH" in *) CPU_POWER_LEVEL=2 - ARCH_OPT_CFLAGS="-mtune=$OPT_ARCH -march=$OPT_ARCH" + ARCH_OPT_CFLAGS="" ARCH_MATH_CFLAGS="" ;; esac @@ -646,15 +646,15 @@ fi case "$DEBUG_CFLAGS" in "none") DEBUG_CFLAGS="" - OPT_CFLAGS="-pipe -Wall $ARCH_OPT_CFLAGS -m$ARCH_BITS $ARCH_MATH_CFLAGS -O3 -ffast-math -fomit-frame-pointer -fsingle-precision-constant" + OPT_CFLAGS="-pipe -Wall $ARCH_OPT_CFLAGS $ARCH_MATH_CFLAGS -O3 -ffast-math -fomit-frame-pointer -fsingle-precision-constant" ;; "yes") DEBUG_CFLAGS="-g" - OPT_CFLAGS="-pipe -Wall -Wcast-align -Wconversion -Wextra $ARCH_OPT_CFLAGS -m$ARCH_BITS $ARCH_MATH_CFLAGS -O2 -ffast-math -fsingle-precision-constant" + OPT_CFLAGS="-pipe -Wall -Wcast-align -Wconversion -Wextra $ARCH_OPT_CFLAGS $ARCH_MATH_CFLAGS -O2 -ffast-math -fsingle-precision-constant" ;; *) DEBUG_CFLAGS="-g" - OPT_CFLAGS="-pipe -Wall -Wcast-align -Wconversion -Wextra $ARCH_OPT_CFLAGS -m$ARCH_BITS $ARCH_MATH_CFLAGS -fsingle-precision-constant" + OPT_CFLAGS="-pipe -Wall -Wcast-align -Wconversion -Wextra $ARCH_OPT_CFLAGS $ARCH_MATH_CFLAGS -fsingle-precision-constant" ;; esac debian/patches/04-hardening.patch0000644000000000000000000000267112074562513014031 0ustar Description: Prevent FTBFS with -Werror=format-security flag enabled. Author: Alessio Treglia Forwarded: https://github.com/williamweston/phasex/issues/3 Applied-Upstream: https://github.com/williamweston/phasex/commit/c6a1fca516 --- src/alsa_seq.c | 2 +- src/debug.c | 2 +- src/phasex.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) --- phasex.orig/src/alsa_seq.c +++ phasex/src/alsa_seq.c @@ -65,7 +65,7 @@ alsa_error_handler(const char *file, int { PHASEX_ERROR("Unhandled ALSA error %d in function %s from file %s line %d:\n", err, func, file, line); - PHASEX_ERROR(fmt); + PHASEX_ERROR("%s", fmt); } --- phasex.orig/src/debug.c +++ phasex/src/debug.c @@ -92,7 +92,7 @@ phasex_debug_thread(void *UNUSED(arg)) usleep(16000 >> PHASEX_CPU_POWER); while (main_debug_queue.read_index != g_atomic_int_get(& (main_debug_queue.write_index))) { - fprintf(stderr, (char *)(main_debug_queue.msgs + fprintf(stderr, "%s", (char *)(main_debug_queue.msgs [main_debug_queue.read_index].msg)); main_debug_queue.read_index = (main_debug_queue.read_index + 1) & DEBUG_BUFFER_MASK; --- phasex.orig/src/phasex.c +++ phasex/src/phasex.c @@ -391,7 +391,7 @@ phasex_shutdown(const char *msg) { /* output message from caller */ if (msg != NULL) { - fprintf(stderr, msg); + fprintf(stderr, "%s", msg); } /* keep current midi port settings. */ debian/rules0000755000000000000000000000124012074565636010261 0ustar #!/usr/bin/make -f DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH) ifneq (,$(findstring amd64,$(DEB_BUILD_ARCH))) DEB_CONFIGURE_FLAGS_EXTRA=--enable-arch=amd64 endif LDFLAGS+=-Wl,--as-needed %: dh $@ --parallel --with=autoreconf override_dh_auto_configure: dh_auto_configure -- $(DEB_CONFIGURE_FLAGS_EXTRA) override_dh_auto_install: dh_auto_install cd $(CURDIR)/debian/tmp/usr/share/phasex && \ rm compile depcomp install-sh missing version-sh cd $(CURDIR)/debian/tmp/usr/share/doc/phasex && \ rm LICENSE ChangeLog # disable dh_auto_test, no test suite is provided override_dh_auto_test: override_dh_strip: dh_strip --dbg-package=phasex-dbg debian/docs0000644000000000000000000000002312074334517010042 0ustar doc/ROADMAP README debian/control0000644000000000000000000000307712074564742010613 0ustar Source: phasex Section: sound Priority: optional Maintainer: Debian Multimedia Maintainers Uploaders: Alessio Treglia Build-Depends: debhelper (>= 9~), dh-autoreconf, libasound2-dev [linux-any], libgtk2.0-dev, libjack-dev, libsamplerate0-dev Standards-Version: 3.9.4 Homepage: http://github.com/williamweston/phasex Vcs-Git: git://anonscm.debian.org/pkg-multimedia/phasex.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-multimedia/phasex.git Package: phasex Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends} Recommends: jackd Suggests: jack-keyboard | vkeybd Description: Phase Harmonic Advanced Synthesis EXperiment PHASEX is an experimental JACK audio / ALSA MIDI softsynth for Linux with a synth engine built around flexible phase modulation and flexible oscillator/LFO sourcing. . Modulations include AM, FM, offset PM, and wave select. PHASEX comes equipped with a 12db/octave filter with two distortion curves, a stereo crossover delay and chorus with phaser, ADSR envelopes for amplifier and filter, realtime audio input processing capabilities, velocity/aftertouch sensitivity, and more. Package: phasex-dbg Architecture: any Section: debug Priority: extra Depends: phasex (= ${binary:Version}), ${misc:Depends} Description: Debugging symbols for PHASEX PHASEX is an experimental JACK audio / ALSA MIDI softsynth for Linux with a synth engine built around flexible phase modulation and flexible oscillator/LFO sourcing. . This package contains the debugging symbols. debian/phasex.dirs0000644000000000000000000000005112074334517011343 0ustar usr/share/applications usr/share/pixmaps debian/phasex.xpm0000644000000000000000000000234412074334517011215 0ustar /* XPM */ static char * phasex_xpm[] = { "32 32 3 1", " c #000000", ". c #008000", "+ c #800080", " ", " ", " ", " ", " ", " ", " .. ", " . . ", " . . ", " . . ", " . . . ", " . . . . ", " . . . . ", " . . . . ", ". . . . . ", ". . . . . . ", ".++++++++.+++++++++.++++.++.++..", " . . . . .", " . . .. ", " . . .. ", " . . ", " . . ", " . . ", " . . ", " . . ", " . . ", " . . ", " . ", " ", " ", " ", " "}; debian/changelog0000644000000000000000000001306112150550636011044 0ustar phasex (0.14.97-2) unstable; urgency=low * Upload to unstable. -- Alessio Treglia Mon, 27 May 2013 05:23:04 +0200 phasex (0.14.97-1) experimental; urgency=low * New upstream release. * New upstream maintainer, update references. * debian/patches/11-dont_install_desktop_file.patch: - Patch misc/Makefile to avoid it relies on desktop-file-utils to handle the installtion of the launcher, we already install it with dh_install. * Add patch to prevent FTBFS in hardened builds. * Refresh 02-gcc_flags.patch, 03-binutils_gold.patch patches. * Remove 12-drop_lash.patch, applied upstream. * Enable optimizations on amd64. * Set debian/compat to 9. * Bump up debhelper requirements. * Enable parallel builds. * Update debian/copyright. * Fix Vcs fields. * Bump Standards. -- Alessio Treglia Sat, 12 Jan 2013 20:03:58 +0000 phasex (0.12.0+m1-6) unstable; urgency=low * Replace hardcoded list of non-linux archs with linux-any (Closes: #634723). * Drop LASH support. -- Alessio Treglia Mon, 02 Jan 2012 11:47:38 +0100 phasex (0.12.0+m1-5) unstable; urgency=low * Upload to unstable. -- Alessio Treglia Tue, 31 May 2011 15:57:12 +0200 phasex (0.12.0+m1-4) experimental; urgency=low * Drop qjackctl from Recommends, add jackd on it. * Build against liblash-compat. * Bump Standards. -- Alessio Treglia Sun, 24 Apr 2011 11:35:02 +0200 phasex (0.12.0+m1-3) unstable; urgency=low * Fixed portamento calculation with Osc's 'off' state and in 'MonoRetrig' mode. -- Alessio Treglia Mon, 28 Feb 2011 12:21:32 +0100 phasex (0.12.0+m1-2) unstable; urgency=low * Upload to unstable. * Suggests on jack-keyboard | vkeybd. * Suggests on lashd. * Correct linking order to fix the build failure with the newest toolchain; thanks to Michael Bienia for the patch (LP: #677501). * Refresh 02-gcc_flags.patch patch. -- Alessio Treglia Thu, 10 Feb 2011 12:40:37 +0100 phasex (0.12.0+m1-1) experimental; urgency=low * New upstream release: [ Anton Kormakov ] - Milestone 1: + Added LASH support. + Added sustain pedal support. + Fixed behavior of NOTE_OFF in attack. + Fixed system GTK theme. + Added 'Panic' button. + Fixed behavior of polyphony limit. + Fixed ADSR calculation. + Fixed chorus interpolation. + 'Feedback' chorus and delay setting renamed to 'Feedback Mix' + Added DC blocking filter. + Fixed MIDI learn for BPM parameter. + Changed naming scheme of multiple instances. + Added -n (--name) option to set name of PHASEX instance. [ William Weston ] - 0.12.0: + Rebuilt configure.ac (now uses autoconf and automake properly). + Added --enable-32bit and --enable-cpu-power= options to configure. + Enabled gcc version checking for selecting optimization flags. + Updated phasex.desktop file and removed extra copy in phasex root. + Updated phasex.spec.in to work with new changes. + Added GTK engine detection and separated engine def from themes. + Adjusted themes and table layouts to allow one-page on 1024x768. + Added missing extern to variable prototypes in param.h. + Re-Added patch menu and added bank mem mode to it. + Moved MIDI channel from general section to patch box. + Moved patch->midi_channel to setting_midi_channel. + Added MIDI channel to command line options. + Fixed all GTK errors and warnings in file dialogs. + Added amp velocity control (yes, it's finally here). + Fixed smoothing algorithm for aftertouch sensitivity. + Changed default rt priorities for midi and engine to 89 and 88. + Added realtime sched policy setting (choice of SCHED_FIFO or SCHED_RR). + Fixed long-time-lurking patch name corruption bug. + Added hidden maximize setting (remember window state). + Fixed all phasex_shutdown() related segfaults. + Increased buffer periods from 1 to 2 (hardwired). + Fixed ringbuffer read in process_buffer() !!! + Added extra child logic to widget_set_custom_font(). + Added extra child logic to widget_set_backing_store(). + Fixed layout of controller update window and settings window. + Added support for patch names and program numbers on command line. + Included full text of GPLv2 in licensing screen. + Removed more depracated code bits. + Cleaned up comments/style/whitespace all over. * debian/control: - Build-Depends on liblash-dev to add LASH support. - Update Homepage field. * Update debian/watch file to point to the new download location. * Update debian/copyright file, new upstream's maintainer. -- Alessio Treglia Fri, 19 Nov 2010 14:42:57 +0100 phasex (0.12.0~pre1-3) unstable; urgency=low * Drop --enable-arch=native, it tries to set -march=native flag. * Add patch to fix FTBFS on several architectures (Closes: #590273). * Use dh-autoreconf instead of autotools_dev add-on. -- Alessio Treglia Tue, 27 Jul 2010 17:43:20 +0200 phasex (0.12.0~pre1-2) unstable; urgency=low * Pass --enable-arch=native to configure; attempt to fix #590273. * Bump Standards. -- Alessio Treglia Mon, 26 Jul 2010 12:32:01 +0200 phasex (0.12.0~pre1-1) unstable; urgency=low * Initial release. (Closes: #520231). -- Alessio Treglia Thu, 22 Jul 2010 11:20:05 +0200 debian/phasex.links0000644000000000000000000000011412074334517011522 0ustar usr/share/phasex/pixmaps/phasex-icon.png usr/share/pixmaps/phasex-icon.png debian/gbp.conf0000644000000000000000000000005712074334517010615 0ustar [DEFAULT] pristine-tar = True sign-tags = True debian/phasex.install0000644000000000000000000000012512074564100012043 0ustar debian/phasex.xpm usr/share/pixmaps debian/phasex.desktop usr/share/applications usr debian/copyright0000644000000000000000000000241512074340054011122 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Phase Harmonic Advanced Synthesis EXperiment Upstream-Contact: William Weston Source: https://github.com/williamweston/phasex Files: * Copyright: 1999-2013 William Weston 2010 Anton Kormakov 1999 Tony Garnock-Jones 2004 Sean Bolton, 2007 Pete Shorthose License: GPL-3+ Files: debian/* Copyright: 2010-2013 Alessio Treglia License: GPL-3+ License: GPL-3+ 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 3 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. . On Debian systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-3'. . You should have received a copy of the GNU General Public License along with this program. If not, see . debian/source/0000755000000000000000000000000012074334517010474 5ustar debian/source/format0000644000000000000000000000001412074334517011702 0ustar 3.0 (quilt) debian/phasex.desktop0000644000000000000000000000034112074340562012052 0ustar [Desktop Entry] Version=1.0 Type=Application Name=PHASEX Comment=Phase Harmonic Advanced Synthesis EXperiment Icon=phasex Exec=phasex Terminal=false Categories=AudioVideo;Audio;X-MIDI;X-Synthesis;X-JACK;X-Digital_Processing; debian/watch0000644000000000000000000000012312074334700010213 0ustar version=3 http://githubredir.debian.net/github/williamweston/phasex/ (.*)\.tar\.gz debian/menu0000644000000000000000000000031112074334517010056 0ustar ?package(phasex):needs="X11" section="Applications/Sound"\ title="PHASEX"\ longtitle="Phase Harmonic Advanced Synthesis EXperiment"\ command="/usr/bin/phasex"\ icon="/usr/share/pixmaps/phasex.xpm"