--- stymulator-0.21a~dfsg.orig/debian/changelog +++ stymulator-0.21a~dfsg/debian/changelog @@ -0,0 +1,18 @@ +stymulator (0.21a~dfsg-1build2) xenial; urgency=medium + + * No-change rebuild for ncurses6 transition. + + -- Matthias Klose Sun, 07 Feb 2016 09:46:13 +0000 + +stymulator (0.21a~dfsg-1build1) precise; urgency=low + + * No-change rebuild to drop spurious libsfgcc1 dependency on armhf. + + -- Adam Conrad Fri, 02 Dec 2011 21:24:49 -0700 + +stymulator (0.21a~dfsg-1) unstable; urgency=low + + * Initial release (Closes: #415676). + * Upstream sources repacked to remove YM example files (unspecified license). + + -- Adam Cécile (Le_Vert) Sun, 18 Mar 2007 16:21:28 +0100 --- stymulator-0.21a~dfsg.orig/debian/compat +++ stymulator-0.21a~dfsg/debian/compat @@ -0,0 +1 @@ +5 --- stymulator-0.21a~dfsg.orig/debian/control +++ stymulator-0.21a~dfsg/debian/control @@ -0,0 +1,27 @@ +Source: stymulator +Section: sound +Priority: extra +Maintainer: Adam Cécile (Le_Vert) +Build-Depends: debhelper (>= 5), dpatch, libncurses5-dev, libasound2-dev +Standards-Version: 3.7.2 + +Package: stymulator +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Curses based player and converter for the YM chiptune format + STYMulator is an Open Source (GPL License) player which plays music files + in the YM chiptune format. In particular the YM files are Yamaha YM2149 + soundchip music datas (registers) dumped from the ATARI 16-bit computers. + . + The YM chiptune 'standard' has been introduced in the middle of 90's by + Arnaud Carré aka Leonard/OXG. His sensational ST-Sound player has been + released for Windows only. Ten years after the first ST-Sound creation he + released ST-Sound library under GPL license. + . + STYMulator has a very simple terminal GUI. It has been written in pure + ANSI C code with ncurses library. Sounds are generated through ALSA. + . + This package contains both ymplayer (curse based player) and ym2wav, + a console YM to Wave converter. + . + Homepage: http://atariarea.krap.pl/stymulator/ --- stymulator-0.21a~dfsg.orig/debian/copyright +++ stymulator-0.21a~dfsg/debian/copyright @@ -0,0 +1,43 @@ +This package was debianized by Adam Cécile (Le_Vert) on +Sun, 18 Mar 2007 16:21:28 +0100. + +It was downloaded from http://atariarea.krap.pl/stymulator/ + +Upstream Author: Grzegorz Tomasz Stanczyk + +Copyright: (C) 2005-2007 Grzegorz Tomasz Stanczyk + +License: + + 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 + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. + +StSoundLibaray ("src/stsoundlib/") is (C) 1995-1999 Arnaud Carré. +GNU/Linux port is (C) 2005-2006 Grzegorz Tomasz Stanczyk + +"src/ym2wav.cpp" is (C) 1995-1999 Arnaud Carré. + +Lzh depacking library ("src/stsoundlib/lzh/") is (C) 1991 Haruhiko Okumura, +(C) 1996 Kerwin F. Medina and (C) 1995-1999 Arnaud Carré. + +The Debian packaging is (C) 2007, Adam Cécile (Le_Vert) +and is licensed under the GPL, see above. + +Note about upstream sources repacking: +Upstream contains a "media/music/*" directory whith some YM music files +examples with unspecified license. +This is the reason why I have repacked upstream source tarball for Debian. --- stymulator-0.21a~dfsg.orig/debian/docs +++ stymulator-0.21a~dfsg/debian/docs @@ -0,0 +1,3 @@ +README +readme.html +revision.txt --- stymulator-0.21a~dfsg.orig/debian/man/ym2wav.1 +++ stymulator-0.21a~dfsg/debian/man/ym2wav.1 @@ -0,0 +1,41 @@ +.TH YM2WAV "1" "March 2007" "0.21" "User Commands" + +.SH NAME +.B ym2wav +- a commandline YM to WAV audio converter. + +.SH DESCRIPTION +STYMulator is an Open Source (GPL License) player which plays music files in the YM chiptune format. +.br +In particular the YM files are Yamaha YM2149 soundchip music datas (registers) dumped from the ATARI 16-bit computers. +.PP +.B ym2wav +(part of STYMulator) is a command line YM to WAV audio converter. + +.SH SYNOPSIS +.B ym2wav + + +.SH OPTIONS +.B ym2wav +has no options. +.PP +However it requires two arguments: +.TP +.I +Relative or absolute filename path of the input YM file. +.TP +.I +Relative or absolute filename path of the output WAV file. + +.SH SEE ALSO +ymplayer(1) +.br +Homepage: http://atariarea.krap.pl/stymulator/ + +.SH AUTHOR +This manual page was written by Adam Cecile for the Debian system (but may be used by others). +.br +Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 or any later version published by the Free Software Foundation. +.br +On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL. --- stymulator-0.21a~dfsg.orig/debian/man/ymplayer.1 +++ stymulator-0.21a~dfsg/debian/man/ymplayer.1 @@ -0,0 +1,37 @@ +.TH YMPLAYER "1" "March 2007" "0.21" "User Commands" + +.SH NAME +.B ymplayer +- a curses based player for the YM chiptune format. + +.SH DESCRIPTION +STYMulator is an Open Source (GPL License) player which plays music files in the YM chiptune format. +.br +In particular the YM files are Yamaha YM2149 soundchip music datas (registers) dumped from the ATARI 16-bit computers. +.PP +.B ymplayer +(part of STYMulator) is a console based player for this format. It use ALSA for sound rendering and ncurses library for its user interface. + +.SH SYNOPSIS +.B ymplayer + + +.SH OPTIONS +.B ymplayer +has no options. +.PP +However it requires a argument which is a relative or absolute path to +.I one +YM music file. + +.SH SEE ALSO +ym2wav(1) +.br +Homepage: http://atariarea.krap.pl/stymulator/ + +.SH AUTHOR +This manual page was written by Adam Cecile for the Debian system (but may be used by others). +.br +Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 or any later version published by the Free Software Foundation. +.br +On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL. --- stymulator-0.21a~dfsg.orig/debian/manpages +++ stymulator-0.21a~dfsg/debian/manpages @@ -0,0 +1 @@ +debian/man/* --- stymulator-0.21a~dfsg.orig/debian/patches/000-Liblzh_Makefile.dpatch +++ stymulator-0.21a~dfsg/debian/patches/000-Liblzh_Makefile.dpatch @@ -0,0 +1,30 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 000-Liblzh_Makefile.dpatch by Adam Cécile (Le_Vert) +## +## DP: Fix Liblzh Makefile to handle CXXFLAGS var. + +@DPATCH@ + +diff -u stymulator-0.21.dfsg/src/stsoundlib/lzh/Makefile stymulator-0.21.dfsg/src/stsoundlib/lzh/Makefile.new +--- stymulator-0.21.dfsg/src/stsoundlib/lzh/Makefile 2006-07-11 18:20:42.000000000 +0200 ++++ stymulator-0.21.dfsg/src/stsoundlib/lzh/Makefile.new 2007-03-18 16:32:26.000000000 +0100 +@@ -1,14 +1,14 @@ +-CC = gcc +-AR = ar cr +-RM = rm -f ++CXX = g++ ++AR = ar cr ++RM = rm -f + +-CFLAGS = -Wall ++CXXFLAGS = -Wall + + liblzh.a: lzhlib.o + $(AR) liblzh.a lzhlib.o + + lzhlib.o: lzhlib.cpp lzh.h +- $(CC) -c lzhlib.cpp ++ $(CXX) $(CXXFLAGS) -c lzhlib.cpp + + clean: + $(RM) *~ *.o *.a --- stymulator-0.21a~dfsg.orig/debian/patches/001-Stsoundlib_Makefile.dpatch +++ stymulator-0.21a~dfsg/debian/patches/001-Stsoundlib_Makefile.dpatch @@ -0,0 +1,49 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 001-Stsoundlib_Makefile.dpatch by Adam Cécile (Le_Vert) +## +## DP: Fix StSoundLib Makefile to handle CXXFLAGS var. + +@DPATCH@ + +diff -u stymulator-0.21.dfsg/src/stsoundlib/Makefile stymulator-0.21.dfsg/src/stsoundlib/Makefile.new +--- stymulator-0.21.dfsg/src/stsoundlib/Makefile 2006-07-11 18:34:22.000000000 +0200 ++++ stymulator-0.21.dfsg/src/stsoundlib/Makefile.new 2007-03-18 17:01:45.000000000 +0100 +@@ -1,28 +1,27 @@ +-CC = g++ +-AR = ar cr +-RM = rm -f ++CXX = g++ ++AR = ar cr ++RM = rm -f + +-LIB = digidrum.o Ymload.o Ym2149Ex.o YmMusic.o YmUserInterface.o +- +-CFLAGS = -Wall ++CXXFLAGS = -Wall ++LIB = digidrum.o Ymload.o Ym2149Ex.o YmMusic.o YmUserInterface.o + + libym.a: $(LIB) + $(AR) libym.a $(LIB) + + digidrum.o: digidrum.cpp YmTypes.h +- $(CC) -c digidrum.cpp ++ $(CXX) $(CXXFLAGS) -c digidrum.cpp + + Ym2149Ex.o: Ym2149Ex.cpp Ym2149Ex.h YmTypes.h +- $(CC) -c Ym2149Ex.cpp ++ $(CXX) $(CXXFLAGS) -c Ym2149Ex.cpp + + Ymload.o: Ymload.cpp YmMusic.h lzh/lzh.h +- $(CC) -c Ymload.cpp ++ $(CXX) $(CXXFLAGS) -c Ymload.cpp + + YmMusic.o: YmMusic.cpp YmMusic.h +- $(CC) -c YmMusic.cpp ++ $(CXX) $(CXXFLAGS) -c YmMusic.cpp + + YmUserInterface.o: YmUserInterface.cpp StSoundLibrary.h YmMusic.h +- $(CC) -c YmUserInterface.cpp ++ $(CXX) $(CXXFLAGS) -c YmUserInterface.cpp + + clean: + $(RM) *~ *.o *.a --- stymulator-0.21a~dfsg.orig/debian/patches/002-Stymulator_Makefile.dpatch +++ stymulator-0.21a~dfsg/debian/patches/002-Stymulator_Makefile.dpatch @@ -0,0 +1,84 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 002-Stymulator_Makefile.dpatch by Adam Cécile (Le_Vert) +## +## DP: Fix Stymulator Makefile to handle CXXFLAGS and CXX var. +## DP: Handle DESTDIR and PREFIX too. +## DP: Pass variables to stsoundlib and liblzh Makefiles. + +@DPATCH@ + +diff -u stymulator-0.21.dfsg/src/Makefile stymulator-0.21.dfsg/src/Makefile.new +--- stymulator-0.21.dfsg/src/Makefile 2006-07-11 18:36:39.000000000 +0200 ++++ stymulator-0.21.dfsg/src/Makefile.new 2007-03-18 16:55:47.000000000 +0100 +@@ -1,48 +1,49 @@ +-RM = rm -f +-CC = g++ +-CFLAGS = -Wall +- +-LZH = stsoundlib/lzh +-STLIB = stsoundlib +- +-INCLUDE = -L$(LZH) -L$(STLIB) +- +-INSTALL = /usr/bin/install -c ++RM = rm -f ++CXX = g++ ++MAKE = make ++INSTALL = /usr/bin/install -c ++ ++DESTDIR = ++PREFIX = /usr/local ++BINDIR = $(PREFIX)/bin ++CXXFLAGS = -Wall ++LZH = stsoundlib/lzh ++STLIB = stsoundlib ++INCLUDE = -L$(LZH) -L$(STLIB) + + all: libs ymplayer ym2wav + + libs: + @for subdir in $(STLIB) $(LZH); do \ +- (cd $$subdir && make) || exit 1; \ ++ (cd $$subdir && $(MAKE) CXX="$(CXX)" CXXFLAGS="$(CXXFLAGS)") || exit 1; \ + done + + ymplayer: ymplayer.o sound.o ui.o +- $(CC) -o ymplayer $(INCLUDE) ymplayer.o sound.o ui.o -lasound -lym -llzh -lncurses ++ $(CXX) $(CXXFLAGS) -o ymplayer $(INCLUDE) ymplayer.o sound.o ui.o -lasound -lym -llzh -lncurses + + ym2wav: ym2wav.o +- $(CC) -o ym2wav $(INCLUDE) ym2wav.o -lym -llzh ++ $(CXX) $(CXXFLAGS) -o ym2wav $(INCLUDE) ym2wav.o -lym -llzh + + ymplayer.o: ymplayer.cpp $(STLIB)/StSoundLibrary.h ui.h sound.h +- $(CC) $(INLCUDE) -c ymplayer.cpp ++ $(CXX) $(CXXFLAGS) $(INLCUDE) -c ymplayer.cpp + + ym2wav.o: ym2wav.cpp $(STLIB)/StSoundLibrary.h +- $(CC) $(INCLUDE) -c ym2wav.cpp ++ $(CXX) $(CXXFLAGS) $(INCLUDE) -c ym2wav.cpp + + sound.o: sound.cpp sound.h +- $(CC) -c sound.cpp ++ $(CXX) $(CXXFLAGS) -c sound.cpp + + ui.o: ui.c ui.h $(STLIB)/StSoundLibrary.h +- $(CC) -c ui.c ++ $(CXX) $(CXXFLAGS) -c ui.c + + install: all +- $(INSTALL) ymplayer /usr/bin +- $(INSTALL) ym2wav /usr/bin ++ $(INSTALL) -d $(DESTDIR)/$(BINDIR) ++ $(INSTALL) ymplayer $(DESTDIR)/$(BINDIR) ++ $(INSTALL) ym2wav $(DESTDIR)/$(BINDIR) + + clean: + + @for subdir in $(LZH) $(STLIB); do \ +- (cd $$subdir && make $@) || exit 1; \ ++ (cd $$subdir && $(MAKE) $@) || exit 1; \ + done +- + $(RM) *.o ymplayer ym2wav *~ +- --- stymulator-0.21a~dfsg.orig/debian/patches/00list +++ stymulator-0.21a~dfsg/debian/patches/00list @@ -0,0 +1,3 @@ +000-Liblzh_Makefile.dpatch +001-Stsoundlib_Makefile.dpatch +002-Stymulator_Makefile.dpatch --- stymulator-0.21a~dfsg.orig/debian/rules +++ stymulator-0.21a~dfsg/debian/rules @@ -0,0 +1,53 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +include /usr/share/dpatch/dpatch.make + +CXXFLAGS = -Wall -g +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CXXFLAGS += -O0 +else + CXXFLAGS += -O2 +endif + +build: build-stamp +build-stamp: patch-stamp + dh_testdir + $(MAKE) CXXFLAGS="$(CXXFLAGS)" CXX="g++" -C src/ + touch $@ + +clean: unpatch + dh_testdir + dh_testroot + rm -f build-stamp + $(MAKE) clean -C src/ + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + $(MAKE) DESTDIR=$(CURDIR)/debian/stymulator PREFIX=/usr install -C src/ + +binary-indep: +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs ChangeLog + dh_installdocs + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- stymulator-0.21a~dfsg.orig/debian/watch +++ stymulator-0.21a~dfsg/debian/watch @@ -0,0 +1,3 @@ +version=3 +opts=dversionmangle=s/\.dfsg$// \ +http://atariarea.krap.pl/stymulator/ files/STYMulator-(.*)\.tar\.gz