debian/0000755000000000000000000000000012051447276007176 5ustar debian/mustang-plug.lintian-overrides0000644000000000000000000000006012051445314015164 0ustar mustang-plug: using-first-person-in-description debian/compat0000644000000000000000000000000212051445314010363 0ustar 7 debian/patches/0000755000000000000000000000000012051446366010624 5ustar debian/patches/series0000644000000000000000000000004612051445744012040 0ustar 1001-firmware_mustange_III_to_V.patch debian/patches/1001-firmware_mustange_III_to_V.patch0000644000000000000000000000451412051446501017417 0ustar Description: Fix firmware update for Mustang III, IV and V. Origin: upstream, https://bitbucket.org/piorekf/plug/changeset/15dba9c8 --- plug/mainwindow.cpp | 2 +- plug/mustang.cpp | 10 +++++++--- plug/mustang.h | 3 ++- 3 files changed, 10 insertions(+), 5 deletions(-) --- mustang-plug.orig/plug/mainwindow.cpp +++ mustang-plug/plug/mainwindow.cpp @@ -664,7 +664,7 @@ void MainWindow::update_firmware() QString filename; int ret = 0; - QMessageBox::information(this, "Prepare", "Please power off the amplifier, then power it back on while holding \"Save\" button.
After pressing \"OK\" choose firmware file and then update will begin.
It will take about one minute. You will be notified when it's finished."); + QMessageBox::information(this, "Prepare", "Please power off the amplifier, then power it back on while holding down:After pressing \"OK\" choose firmware file and then update will begin.It will take about one minute. You will be notified when it's finished."); filename = QFileDialog::getOpenFileName(this, tr("Open..."), QDir::homePath(), tr("Mustang firmware (*.upd)")); if(filename.isEmpty()) --- mustang-plug.orig/plug/mustang.cpp +++ mustang-plug/plug/mustang.cpp @@ -1286,11 +1286,15 @@ int Mustang::update(char *filename) return ret; // get handle for the device - amp_hand = libusb_open_device_with_vid_pid(NULL, USB_UPDATE_VID, USB_UPDATE_PID); + amp_hand = libusb_open_device_with_vid_pid(NULL, USB_UPDATE_VID, OLD_USB_UPDATE_PID); if(amp_hand == NULL) { - libusb_exit(NULL); - return -100; + amp_hand = libusb_open_device_with_vid_pid(NULL, USB_UPDATE_VID, NEW_USB_UPDATE_PID); + if(amp_hand == NULL) + { + libusb_exit(NULL); + return -100; + } } // detach kernel driver --- mustang-plug.orig/plug/mustang.h +++ mustang-plug/plug/mustang.h @@ -17,7 +17,8 @@ // amp's VID and PID while in update mode #define USB_UPDATE_VID 0x1ed8 -#define USB_UPDATE_PID 0x0006 +#define OLD_USB_UPDATE_PID 0x0006 //Mustang I and II +#define NEW_USB_UPDATE_PID 0x0007 //Mustang III, IV, V // for USB communication #define TMOUT 500 debian/rules0000755000000000000000000000031612051445314010245 0ustar #!/usr/bin/make -f %: dh $@ --parallel -Dplug override_dh_auto_configure: dh_auto_configure -- target.path=/usr/bin override_dh_installudev: dh_installudev -pmustang-plug --name=mustang --priority=50 debian/control0000644000000000000000000000152612051445314010574 0ustar Source: mustang-plug Section: sound Priority: optional Maintainer: Debian Multimedia Maintainers Uploaders: Alessio Treglia Build-Depends: debhelper (>= 7.0.50~), libqt4-dev, libusb-1.0-0-dev Standards-Version: 3.9.3 Homepage: http://piorekf.org/plug/ Vcs-Git: git://anonscm.debian.org/pkg-multimedia/mustang-plug.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-multimedia/mustang-plug.git Package: mustang-plug Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends} Description: control Fender Mustang amplifiers PLUG was originally created as a Linux replacement for Fender FUSE software for Fender Mustang guitar amplifier. Its Qt4-based graphical interface allows one to control the amplifier and effect stages of all Mustang amplifiers from I to V. debian/changelog0000644000000000000000000000142012051447276011045 0ustar mustang-plug (1.1-2) unstable; urgency=low * Fix firmware update for Mustang III, IV and V. Patch taken from upstream VCS. * Also update debian/mustang-plug.mustang.udev. -- Alessio Treglia Fri, 16 Nov 2012 14:33:29 +0000 mustang-plug (1.1-1) unstable; urgency=low * New upstream release: - Brightness switch in amplifier settings. - USB gain knob in advanced controls. - Other small fixes. * Set source directory to plug by passing -D to dh sequencer. * Fix Vcs tags. -- Alessio Treglia Sat, 19 May 2012 19:48:57 +0200 mustang-plug (1.0+20120415.hg107342376977~ds0-1) unstable; urgency=low * Initial release. (Closes: #670397) -- Alessio Treglia Wed, 25 Apr 2012 10:42:30 +0200 debian/gbp.conf0000644000000000000000000000006212051445314010602 0ustar [DEFAULT] pristine-tar = True compression = bzip2 debian/copyright0000644000000000000000000000213212051445314011116 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: PLUG Upstream-Contact: piorekf@gmail.com Source: http://piorekf.org/plug/download/ Files: * Copyright: 2010 piorekf License: GPL-3+ Files: debian/* Copyright: 2012 Alessio Treglia License: GPL-3+ 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: On Debian systems, the complete text of the GNU General Public License version 3 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/0000755000000000000000000000000012051445314010465 5ustar debian/source/format0000644000000000000000000000001412051445314011673 0ustar 3.0 (quilt) debian/mustang-plug.mustang.udev0000644000000000000000000000070412051447236014160 0ustar SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTRS{idVendor}=="1ed8", ATTRS{idProduct}=="0004", GROUP="plugdev" SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTRS{idVendor}=="1ed8", ATTRS{idProduct}=="0005", GROUP="plugdev" SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTRS{idVendor}=="1ed8", ATTRS{idProduct}=="0006", GROUP="plugdev" SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTRS{idVendor}=="1ed8", ATTRS{idProduct}=="0007", GROUP="plugdev" debian/watch0000644000000000000000000000020312051445314010211 0ustar version=3 opts=dversionmangle=s/~ds[0-9]// \ https://bitbucket.org/piorekf/plug/downloads \ /piorekf/plug/get/v([0-9.]+)\.tar\.bz2