debian/0000775000000000000000000000000012275514043007173 5ustar debian/patches/0000775000000000000000000000000012275513614010625 5ustar debian/patches/grammyVM.c.diff0000664000000000000000000000041112271705440013427 0ustar --- a/grammyVM.c +++ b/grammyVM.c @@ -1552,5 +1552,5 @@ Mf_writetrack=write_player_track; mfwrite(0, playerCount, global_resolution, midi); if(!debugOption) - printf("midi file succesfully generated!\n"); + printf("midi file successfully generated!\n"); } debian/patches/series0000664000000000000000000000006012271705370012034 0ustar Makefile.diff GRAMophone.y.diff grammyVM.c.diff debian/patches/Makefile.diff0000664000000000000000000000254412275514755013210 0ustar Description: The included Makefile for unix has some problems: It adds -lm to the CFLAGS. -lm is a linker option and as such has no place in CFLAGS (which are used for compiler flags). Due to this, -lm appears on the command line way before any object files. This leads to it being discarded when the linker flag --as-needed is set. An example failure can be observed under Ubuntu: /«PKGBUILDDIR»/grammyVM.c:1498: undefined reference to `log10' Forwarded: yes, https://sourceforge.net/p/gramophone2/bugs/3/attachment/Makefile Bug: https://sourceforge.net/p/gramophone2/bugs/3/ Bug-Ubuntu: https://bugs.launchpad.net/bugs/1277954 Index: gramophone2-0.8.13a/Makefile =================================================================== --- gramophone2-0.8.13a.orig/Makefile 2014-02-08 21:45:36.087812116 +0100 +++ gramophone2-0.8.13a/Makefile 2014-02-08 21:46:00.875811707 +0100 @@ -1,15 +1,16 @@ CC=gcc #CFLAGS+=-O2 #Decomment this line if you use Linux: -CFLAGS+=-O2 -lm +CFLAGS+=-O2 +LDLIBS+=-lm DESTDIR=/usr/local default: GRAMophone.tab.c - $(CC) $(CFLAGS) -o gramophone2 GRAMophone.c\ + $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o gramophone2 GRAMophone.c\ grammyVM.c init.c midicode.c\ midifile.c expcode.c debug.c errors.c\ - hash.c GRAMophone.tab.c + hash.c GRAMophone.tab.c $(LDLIBS) GRAMophone.tab.c: lex.yy.c bison -d GRAMophone.y debian/patches/GRAMophone.y.diff0000664000000000000000000000024612271703476013672 0ustar --- a/GRAMophone.y +++ b/GRAMophone.y @@ -105,7 +105,7 @@ } |MINUS expression %prec UMINUS { - $$=-$2 + $$=-$2; } |expression MULT expression { debian/control0000664000000000000000000000225112275513767010612 0ustar Source: gramophone2 Section: sound Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Francesco Namuri Build-Depends: debhelper (>= 5), cdbs, bison, flex, dpkg-dev (>= 1.16.1~), quilt Standards-Version: 3.9.5 Homepage: http://gramophone2.sourceforge.net/ Package: gramophone2 Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: GRAMophone II is an algorithmic music generator GRAMophone is partly based on an idea of Jon McCormack’s, who invented the idea of a virtual player (virtual musician). The player in question is associated with a MIDI track, and interprets instructions telling it what to do. Generally, they say play notes (send MIDI messages). GRAMophone’s players together make up an orchestra, which plays a composition. Any number of players can play a composition, but in practice the hardware used might impose an upper limit. In general every player plays an instrument and each has a different set of grammar rules. An individual player is characterised by a set of parameters which are shared by the whole orchestra and/or a personal parameter set. debian/source/0000775000000000000000000000000012272025661010473 5ustar debian/source/format0000664000000000000000000000001412272025661011701 0ustar 3.0 (quilt) debian/docs0000664000000000000000000000001112272025661010036 0ustar FAQ TODO debian/rules0000775000000000000000000000051712272027161010253 0ustar #!/usr/bin/make -f include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/makefile.mk include /usr/share/cdbs/1/rules/patchsys-quilt.mk DPKG_EXPORT_BUILDFLAGS = 1 include /usr/share/dpkg/buildflags.mk DEB_MAKE_INSTALL_TARGET = install DESTDIR=$(CURDIR)/debian/tmp/ DEB_MAKE_INVOKE := make -C $(DEB_BUILDDIR) debian/compat0000664000000000000000000000000212272025661010371 0ustar 5 debian/gramophone2.install0000664000000000000000000000007212272025661013003 0ustar debian/tmp/bin/* /usr/bin/ debian/tmp/share/* /usr/share/ debian/changelog0000664000000000000000000000504612275514776011067 0ustar gramophone2 (0.8.13a-3ubuntu1) trusty; urgency=medium * Update debian/patches/makefile.diff to put "-lm" into LDLIBS instead of CFLAGS. The position of this parameter matters because Ubuntu uses --as- needed as a default compiler flag and libs need to come after objects on the command line. (LP: #1277954) -- Andreas Moog Sat, 08 Feb 2014 21:46:09 +0100 gramophone2 (0.8.13a-3) unstable; urgency=medium * switched to quilt patch system, migrated all the existing patches. * addes GRAMophone.y patch to fix a compilation issue. (Closes: #733354) * debian/control: Standards-Version updated to 3.9.5, no changes needed. * debian/rules: Added madro needed by quilt. * debian/control: updated maintainer entry, changed to my debian email. -- Francesco Namuri Tue, 28 Jan 2014 23:28:11 +0100 gramophone2 (0.8.13a-2) unstable; urgency=low * debian/watch: fixed. (Closes: #673379) * Switch to dpkg-source 3.0 (quilt) format * debian/control: added dep on dpkg-dev (>= 1.16.1~) * added makefile.patch to corectly handle LDFLAGS on Makefile. * added typoCorrection.patch to fix a typo on source file. -- Francesco Namuri Sun, 12 Aug 2012 19:38:49 +0200 gramophone2 (0.8.13a-1) unstable; urgency=low * New upstream release * debian/control: Standards-Version updated to 3.8.0, no changes needed. * debian/watch: updated to solve problems with sourceforge hosted projects. -- Francesco Namuri Sat, 12 Jul 2008 21:25:34 +0200 gramophone2 (0.7.29a-1) unstable; urgency=low * New upstream release * debian/control: Standards-Version updated to 3.7.3, no modifications needed. * debian/control: moved homepage from description pseudo-header to the correct header. -- Francesco Namuri Sat, 08 Mar 2008 17:22:51 +0100 gramophone2 (0.5.13a-1) unstable; urgency=low * New upstream release. -- Francesco Namuri Sun, 02 Dec 2007 18:05:23 +0100 gramophone2 (0.5.1a-1) unstable; urgency=low * New upstream release * debian/rules: fixed DESTDIR variable. * added debian/gramophone2.install. * debian/rules: fixed DEB_MAKE_INSTALL_TARGET, to fit with new source Makefile. * debian/copyright: updated the path of GPL-2 license on debian systems. -- Francesco Namuri Sun, 26 Aug 2007 19:34:04 +0200 gramophone2 (0.4.8a-1) unstable; urgency=low * Initial release (Closes: #423008) -- Francesco Namuri Wed, 27 Jun 2007 14:30:34 +0200 debian/watch0000664000000000000000000000007612272025661010227 0ustar version=3 http://sf.net/gramophone2/gramophone2_(.*)\.tar\.gz debian/copyright0000664000000000000000000000215112272025661011125 0ustar This package was debianized by Francesco Namuri on Sun, 20 May 2007 15:55:04 +0200. It was downloaded from http://gramophone2.sourceforge.net/ Upstream Author: Giovanni Ferranti Copyright: Copyright (C) 2007 Giovanni Ferranti License: Gramophone2 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 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 Library General Public License for more details. On Debian systems, the complete text of the GNU General Public License, version 2, can be found in /usr/share/common-licenses/GPL-2. The Debian packaging is (C) 2007, Francesco Namuri and is licensed under the GPL, see `/usr/share/common-licenses/GPL'.