--- solfege-3.4.0.orig/debian/dirs +++ solfege-3.4.0/debian/dirs @@ -0,0 +1,2 @@ +usr/bin +usr/sbin --- solfege-3.4.0.orig/debian/docs +++ solfege-3.4.0/debian/docs @@ -0,0 +1,3 @@ +INSTALL +changelog +README --- solfege-3.4.0.orig/debian/control +++ solfege-3.4.0/debian/control @@ -0,0 +1,25 @@ +Source: solfege +Section: gnome +Priority: optional +Maintainer: Tom Cato Amundsen +Build-Depends: swig, gettext, python-dev, debhelper (>=5.0.37.2), m4, texinfo, python-gnome2 (>=1.99.11), python-gnome2-extras-dev (>=2.10.0), python-gnome2-extras (>=2.10.0), python-gtk2 (>=1.99.11), python-gtk2-dev (>=2.6.1), python-gnome2-dev (>=2.10.0), librsvg2-bin, txt2man, pkg-config, libglib2.0-dev (>= 2.8.0), python-support (>=0.3) +Standards-Version: 3.7.2.0 + +Package: solfege +Architecture: any +Depends: python-gnome2 (>=1.99.11), python-gnome2-extras (>= 2.10.0), python-gtk2 (>= 1.99.11), ${shlibs:Depends}, ${python:Depends} +Suggests: doc-base +XS-Python-Version: current +XB-Python-Version: ${python:Versions} +Description: Ear training program for GNOME2 + GNU Solfege is an ear training program for X Window written in python, + using the GTK+ 2.0 and GNOME2 libraries. You can practice harmonic and + melodic intervals, chords, scales and rhythms, and you can add new + exercises using a simple plain text file format. + . + Ear training is a big subject with many connections to music theory + and performance of music, so I won't even try to make "a complete + computer-based ear training course". But I hope someone find this + software useful. + . + Homepage: http://www.solfege.org --- solfege-3.4.0.orig/debian/Makefile +++ solfege-3.4.0/debian/Makefile @@ -0,0 +1,41 @@ +# vim: set noexpandtab: +# +# GNU Solfege - ear training for GNOME +# Copyright (C) 2000, 2001, 2002, 2003, 2004, 2006 Tom Cato Amundsen +# +# 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 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin ST, Fifth Floor, Boston, MA 02110-1301 USA + + +dist_files += debian-dir/Makefile \ + debian-dir/changelog \ + debian-dir/control \ + debian-dir/copyright \ + debian-dir/dirs \ + debian-dir/docs\ + debian-dir/solfege.postinst \ + debian-dir/solfege.postrm \ + debian-dir/solfege.prerm \ + debian-dir/rules \ + debian-dir/solfege.menu\ + debian-dir/solfege.doc-base \ + debian-dir/README.debian-dir \ + debian-dir/pycompat \ + debian-dir/pyversions + +distclean-files += debian-dir/solfege \ + $(wildcard debian-dir/*.debhelper) \ + debian-dir/files \ + debian-dir/solfege.substvars + --- solfege-3.4.0.orig/debian/solfege.postrm +++ solfege-3.4.0/debian/solfege.postrm @@ -0,0 +1,17 @@ +#!/bin/sh + +set -e + +case "$1" in + purge) + rm -f /etc/solfege1.3 +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + --- solfege-3.4.0.orig/debian/rules +++ solfege-3.4.0/debian/rules @@ -0,0 +1,87 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Sometimes I have to run pdebuild with "-e DISPLAY" to build... +# +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# This is the debhelper compatability version to use. +export DH_COMPAT=5 + +build: build-stamp +build-stamp: + dh_testdir + ./configure --sysconfdir=/etc --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --disable-tuner --with-gnome --with-gtkhtml --with-local-xmlcatalog + # Add here commands to compile the package. + $(MAKE) + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + rm -rf share + + # Add here commands to clean up after the build process. + -$(MAKE) distclean + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/solfege. + $(MAKE) install VERSION="" nopycompile=YES prefix=`pwd`/debian/solfege/usr sysconfdir=`pwd`/debian/solfege/etc datadir=`pwd`/debian/solfege/usr/share + cp debian-solfege.py debian/solfege/usr/bin/solfege + sed s/solfege_version\ \=\ .*/solfege_version\ =\ \"\"/ lessonfile_editor.py > debian/solfege/usr/bin/lessonfile_editor + mkdir -p debian/solfege/usr/share/pixmaps + #used by debian menu system + cp graphics/solfege.xpm debian/solfege/usr/share/pixmaps/solfege.xpm + # Remove these since they are only devel tools + rm debian/solfege/usr/share/solfege/mpd/testsetup.py + rm debian/solfege/usr/share/solfege/src/testsetup.py + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot +# dh_installdebconf + dh_installdocs + rm debian/solfege/usr/share/doc/solfege/INSTALL +# dh_installexamples + dh_installmenu +# dh_installemacsen +# dh_installpam +# dh_installinit +# dh_installcron + dh_installman +# dh_installinfo +# dh_undocumented + dh_pysupport + dh_python + cat ChangeLog >chlog.tmp + cat changelog >> chlog.tmp + dh_installchangelogs chlog.tmp + rm chlog.tmp + dh_link /usr/share/solfege/help /usr/share/doc/solfege/help + dh_strip + dh_compress + dh_fixperms + dh_installdeb +# dh_perl + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- solfege-3.4.0.orig/debian/changelog +++ solfege-3.4.0/debian/changelog @@ -0,0 +1,552 @@ +solfege (3.4.0-2) unstable; urgency=low + + * Added XS-Python-Version: current + * Added XB-Python-Version: ${python:Versions} + + -- Tom Cato Amundsen Thu, 29 Jun 2006 22:23:49 +0200 + +solfege (3.4.0-1) unstable; urgency=low + + * New upstream release. + * Use dh_pysupport + * Use dh_installman instead of dh_installmanpages + * Rename /etc/solfege2.0 to /etc/solfege in preinst if it exists. + * Adjusted debian/solfege.doc-base to find the new user manual + * Join the old and the new changelog file into + /usr/share/solfege/changelog.gz, not only the old. + + -- Tom Cato Amundsen Thu, 29 Jun 2006 20:44:21 +0200 + +solfege (3.0.3-1) unstable; urgency=low + + * New upstream release. + + -- Tom Cato Amundsen Fri, 14 Oct 2005 23:13:05 +0200 + +solfege (3.0.2-1) unstable; urgency=low + + * New upstream release. + * soundcard/Makefile fix (closes: #331218) + * german PO file update (closes: #313904) + + -- Tom Cato Amundsen Mon, 3 Oct 2005 13:52:10 +0200 + +solfege (3.0.1-1) unstable; urgency=low + + * New upstream release. (closes: #300447) + * Depend on python-gnome2-extras (closes: #330478) + + -- Tom Cato Amundsen Fri, 30 Sep 2005 18:20:19 +0200 + +solfege (2.1.9-1) experimental; urgency=low + + * New upstream release. + * Don't call update_gui_after_lessonfile_change for exercises + that are not lesson file based (closes: #283285) + + -- Tom Cato Amundsen Fri, 10 Dec 2004 22:09:24 +0100 + +solfege (2.1.8-1) experimental; urgency=low + + * Test package of the latest devel release + * Handle the rename of /etc/solfegeX.Y => /etc/solfege + * Added build-depends on lilypond, gs-gpl and librsvg2-bin + + -- Tom Cato Amundsen Mon, 25 Oct 2004 23:28:36 +0200 + +solfege (2.1.7-1) unstable; urgency=low + + * Test package of the latest devel release + + -- Tom Cato Amundsen Mon, 4 Oct 2004 23:52:47 +0200 + +solfege (2.0.4-2) unstable; urgency=low + + * Closes: #225332: missing dependancy on python2.2 + * Build gpl-appendix.html and fdl-appendix.html without net access. + + -- Tom Cato Amundsen Mon, 29 Dec 2003 17:15:04 +0100 + +solfege (2.0.4-1) unstable; urgency=low + + * New upstream release. This release silently replaces characters + with bad encoding. (closes: #222428) + + -- Tom Cato Amundsen Sat, 27 Dec 2003 17:35:04 +0100 + +solfege (2.0.1-1) unstable; urgency=low + + * New upstream release. + + -- Tom Cato Amundsen Tue, 9 Sep 2003 16:01:07 +0200 + +solfege (2.0.0-1) unstable; urgency=low + + * New upstream release. + * Added build-depends on python-gtk2-dev + + -- Tom Cato Amundsen Sun, 1 Sept 2003 10:02:43 +0200 + +solfege (1.9.11-1) unstable; urgency=low + + * New upstream release. + * Fix broken Build-Depends. (closes: #201228) + * Change menu placement to Apps/Education. + * Standards-Version: 3.6.0 + + -- Tom Cato Amundsen Thu, 17 Jul 2003 22:25:09 +0200 + +solfege (1.9.99-1) unstable; urgency=low + + * New upstream release. + + -- Tom Cato Amundsen Fri, 1 Aug 2003 00:53:17 +0200 + +solfege (1.9.9-2) unstable; urgency=low + + * Change to Section: gnome + + -- Tom Cato Amundsen Mon, 24 Mar 2003 22:19:40 +0100 + +solfege (1.9.9-1) unstable; urgency=low + + * New upstream release. + + -- Tom Cato Amundsen Mon, 24 Mar 2003 22:19:40 +0100 + +solfege (1.9.8-1) unstable; urgency=low + + * New devel release. + + -- Tom Cato Amundsen Mon, 3 Feb 2003 14:10:22 +0100 + +solfege (1.9.7-3) unstable; urgency=low + + * Build depend on docbook-xml since we try to avoid getting the DTD + from the net. + + -- Tom Cato Amundsen Fri, 10 Jan 2003 16:28:22 +0100 + +solfege (1.9.7-2) unstable; urgency=low + + * online-docs/es_MX/solfege.py: don't refer to the dtd using + file:///path/to/file, use http://www.oasis-open.org etc... + * configure using --with-local-xmlcatalog. + + -- Tom Cato Amundsen Thu, 9 Jan 2003 23:12:30 +0100 + +solfege (1.9.7-1) unstable; urgency=low + + * New devel release. + + -- Tom Cato Amundsen Wed, 8 Jan 2003 22:48:54 +0100 + +solfege (1.9.6-1) unstable; urgency=low + + * New devel release. + + -- Tom Cato Amundsen Sat, 28 Dec 2002 18:41:40 +0100 + +solfege (1.9.5-3) unstable; urgency=low + + * Online docs: get docbook dtd from the net. + + -- Tom Cato Amundsen Sun, 22 Dec 2002 22:32:52 +0100 + +solfege (1.9.5-2) unstable; urgency=low + + * New libgtkhtml-2 test. + + -- Tom Cato Amundsen Sun, 22 Dec 2002 19:39:40 +0100 + +solfege (1.9.5-1) unstable; urgency=low + + * New devel release. First 1.9.x upload to debian. + + -- Tom Cato Amundsen Fri, 20 Dec 2002 18:55:44 +0100 + +solfege (1.9.2-2) unstable; urgency=low + + * New devel release. + + -- Tom Cato Amundsen Sun, 18 Aug 2002 22:18:18 +0200 + +solfege (1.5.0-1) unstable; urgency=low + + * New upstream development release. + + -- Tom Cato Amundsen Thu, 7 Feb 2002 23:54:53 +0100 + +solfege (1.4.0-1) unstable; urgency=low + + * New upstream release. + * Fix spelling error in package description. (closes: #125371) + + -- Tom Cato Amundsen Sat, 22 Dec 2001 18:58:45 +0100 + +solfege (1.2.2-1) unstable; urgency=low + * Build depend on new libgtkhtml20 (closes: #124023). Use gtkhtml + instead of xmhtml as html widget. + * New stable release. + * Added solfege.doc-base + + -- Tom Cato Amundsen Fri, 14 Dec 2001 23:24:53 +0100 + +solfege (1.2.1-2) unstable; urgency=low + + * Updated to new python policy. (closes: #118522) + * make /etc/gnome/config/solfege1.2 a conffile + * Added build-depends on python since the configure script use the + python interpreter. + + -- Tom Cato Amundsen Wed, 7 Nov 2001 19:01:16 +0100 + +solfege (1.2.1-1) unstable; urgency=low + + * New stable release. + + -- Tom Cato Amundsen Sun, 9 Sep 2001 09:37:18 +0200 + +solfege (1.1.5-1) unstable; urgency=low + + * New development release. This is release candidate 2, and a + new stable release will be out soon. + * Added support for tuplets. (closes: #101261) + * Added some build-depends. + * Depends and Build-Depends on python 1.5.2. Solfege works with + python 2.x, but we need a GPL compatible python. + + -- Tom Cato Amundsen Sat, 11 Aug 2001 00:20:17 +0200 + +solfege (1.0.4-1) unstable; urgency=low + + * Fixes screwed up debian/rules. (closes: #96785) Since I am both + debian developer and upstream I give it a new upstream version + and does this upload the proper way with a diff.gz so I can fix + packaging errors without uploading a new tarball. + + -- Tom Cato Amundsen Thu, 10 May 2001 00:16:16 +0200 + +solfege (1.0.3-1) unstable; urgency=low + + * New upstream release. Bugfixes to sound init code and added + dutch translations. Bugfix to random_transpose. + + -- Tom Cato Amundsen Sun, 29 Apr 2001 13:44:10 +0200 + +solfege (1.0.1-1) unstable; urgency=medium + + * New upstream release. Bugfixes only. + * This release will try to treat m68k as the other arches to see + if it will build with OSS sound support. + + -- Tom Cato Amundsen Thu, 12 Apr 2001 21:15:03 +0200 + +solfege (1.0.0-1) unstable; urgency=low + + * New upstream release. + + -- Tom Cato Amundsen Sun, 1 Apr 2001 15:25:26 +0200 + +solfege (0.7.38-1) unstable; urgency=low + + * New upstream release. + + -- Tom Cato Amundsen Thu, 15 Mar 2001 23:15:08 +0100 + +solfege (0.7.35-1) unstable; urgency=low + + * New upstream release. + * Debian package for m68k is configure with --disable-oss-sound + until the binutils bugs are fixed. + + -- Tom Cato Amundsen Mon, 5 Mar 2001 18:02:48 +0100 + +solfege (0.7.33-1) unstable; urgency=medium + + * New upstream release. Bugfixes. + + -- Tom Cato Amundsen Wed, 28 Feb 2001 12:25:08 +0100 + +solfege (0.7.32-1) unstable; urgency=low + + * New upstream release. + + -- Tom Cato Amundsen Mon, 26 Feb 2001 00:26:51 +0100 + +solfege (0.7.31-1) unstable; urgency=low + + * New upstream release. Mostly bugfixes. + * Standards-Version: 3.5.1.0 + + -- Tom Cato Amundsen Fri, 23 Feb 2001 19:21:58 +0100 + +solfege (0.7.30-1) unstable; urgency=low + + * New upstream release. + + -- Tom Cato Amundsen Tue, 20 Feb 2001 22:41:53 +0100 + +solfege (0.7.29-1) unstable; urgency=low + + * New upstream release + + -- Tom Cato Amundsen Fri, 2 Feb 2001 22:51:24 +0100 + +solfege (0.7.28-2) unstable; urgency=low + + * Added python-gnome to build-depends (closes: #84367) + + -- Tom Cato Amundsen Thu, 1 Feb 2001 21:04:53 +0100 + +solfege (0.7.28-1) unstable; urgency=low + + * New upstream release + + -- Tom Cato Amundsen Sun, 21 Jan 2001 22:21:29 +0100 + +solfege (0.7.27-1) unstable; urgency=low + + * New upsteam release + + -- Tom Cato Amundsen Sat, 9 Dec 2000 18:05:42 +0100 + +solfege (0.7.26-2) unstable; urgency=low + + * Don't import gtkhtml unless the user want to use it (closes: #77306) + + -- Tom Cato Amundsen Sat, 18 Nov 2000 02:49:48 +0100 + +solfege (0.7.26-1) unstable; urgency=low + + * New development release + + -- Tom Cato Amundsen Fri, 10 Nov 2000 22:39:35 +0100 + +solfege (0.7.25-1) unstable; urgency=low + + * New development release + + -- Tom Cato Amundsen Wed, 8 Nov 2000 22:14:32 +0100 + +solfege (0.7.24-1) unstable; urgency=low + + * New development release, only minor fixes. + + -- Tom Cato Amundsen Sat, 14 Oct 2000 00:33:58 +0200 + +solfege (0.7.23-1) unstable; urgency=low + + * New development release, only minor fixes. + + -- Tom Cato Amundsen Thu, 28 Sep 2000 21:51:20 +0200 + +solfege (0.7.22-1) unstable; urgency=low + + * New development release, fixing problem with music displayer + when using gtk-themes. + + -- Tom Cato Amundsen Wed, 27 Sep 2000 23:59:01 +0200 + +solfege (0.7.21-1) unstable; urgency=low + + * New development release + + -- Tom Cato Amundsen Sun, 10 Sep 2000 16:45:17 +0200 + +solfege (0.7.20-1) unstable; urgency=low + + * New development release + + -- Tom Cato Amundsen Fri, 25 Aug 2000 01:44:05 +0200 + +solfege (0.7.19-1) unstable; urgency=low + + * New development release + + -- Tom Cato Amundsen Mon, 21 Aug 2000 21:30:16 +0200 + +solfege (0.7.18-1) unstable; urgency=low + + * Small update to 0.7.17 + + -- Tom Cato Amundsen Sat, 5 Aug 2000 15:12:17 +0200 + +solfege (0.7.17-1) unstable; urgency=low + + * New development release + + -- Tom Cato Amundsen Fri, 4 Aug 2000 17:33:55 +0200 + +solfege (0.7.16-1) unstable; urgency=low + + * New development release + + -- Tom Cato Amundsen Tue, 25 Jul 2000 00:11:58 +0200 + +solfege (0.7.15-1) unstable; urgency=low + + * New development release + + -- Tom Cato Amundsen Sat, 1 Jul 2000 15:48:17 +0200 + +solfege (0.7.10-2.1) unstable; urgency=low + + * NMU with consent by maintainer Tom Cato Amundsen because his sponser is + currently abroad. + * Added build dependency on python-dev (closes: #65870). + + -- Roman Hodek Tue, 27 Jun 2000 11:43:12 +0200 + +solfege (0.7.14-1) unstable; urgency=low + + * New development release + * Added Build-Depends: python-dev. This was included in a source NMU + to 0.7.10 to close #65870 + + -- Tom Cato Amundsen Mon, 26 Jun 2000 22:58:48 +0200 + +solfege (0.7.13-1) unstable; urgency=low + + * New development release + + -- Tom Cato Amundsen Sun, 4 Jun 2000 17:24:09 +0200 + +solfege (0.7.12-1) unstable; urgency=low + + * Sorry, 0.7.11 was useless + + -- Tom Cato Amundsen Mon, 29 May 2000 23:44:14 +0200 + +solfege (0.7.11-1) unstable; urgency=low + + * New development release + * No longer Depend on debconf since it is not used any more + + -- Tom Cato Amundsen Mon, 29 May 2000 22:39:35 +0200 + +solfege (0.7.10-1) unstable; urgency=low + + * New development release + + -- Tom Cato Amundsen Thu, 4 May 2000 22:12:22 +0200 + +solfege (0.7.9-1) unstable; urgency=low + + * New development release + + -- Tom Cato Amundsen Sat, 29 Apr 2000 12:14:38 +0200 + +solfege (0.7.8-1) unstable; urgency=low + + * New development release + + -- Tom Cato Amundsen Sun, 9 Apr 2000 21:15:12 +0200 + +solfege (0.7.7-1) unstable; urgency=low + + * New development release + + -- Tom Cato Amundsen Fri, 7 Apr 2000 15:19:01 +0200 + +solfege (0.7.6-1) unstable; urgency=low + + * New development release + + -- Tom Cato Amundsen Sun, 26 Mar 2000 20:40:51 +0200 + +solfege (0.7.5-1) unstable; urgency=low + + * New development release. + + -- Tom Cato Amundsen Fri, 17 Mar 2000 00:36:33 +0100 + +solfege (0.7.4) unstable; urgency=low + + * New development release + + -- Tom Cato Amundsen Sun, 5 Mar 2000 23:34:50 +0100 + +solfege (0.7.3-1) unstable; urgency=low + + * Fix broken upload of 0.7.3 + + -- Tom Cato Amundsen Wed, 23 Feb 2000 23:04:36 +0100 + +solfege (0.7.3) unstable; urgency=low + + * New development release + + -- Tom Cato Amundsen Wed, 23 Feb 2000 23:03:37 +0100 + +solfege (0.7.2) unstable; urgency=low + + * New development release + + -- Tom Cato Amundsen Mon, 14 Feb 2000 12:14:39 +0100 + +solfege (0.7.1pre2) unstable; urgency=low + + * Testrelease + + -- Tom Cato Amundsen Mon, 14 Feb 2000 12:11:43 +0100 + +solfege (0.5.6-1) unstable; urgency=low + + * New release + + -- Tom Cato Amundsen Mon, 24 Jan 2000 00:48:42 +0100 + +solfege (0.5.5-2) unstable; urgency=low + + * Same as 0.5.5-1, need a new filename to please the server. + + -- Tom Cato Amundsen Fri, 21 Jan 2000 20:20:12 +0100 + +solfege (0.5.5-1) unstable; urgency=low + + * New release + + -- Tom Cato Amundsen Fri, 21 Jan 2000 18:50:53 +0100 + +solfege (0.5.4-1) unstable; urgency=low + + * New release + + -- Tom Cato Amundsen Tue, 18 Jan 2000 08:15:35 +0100 + +solfege (0.5.3-1) unstable; urgency=low + + * New release + + -- Tom Cato Amundsen Mon, 17 Jan 2000 20:39:28 +0100 + +solfege (0.5.2-1) unstable; urgency=low + + * New release + + -- Tom Cato Amundsen Sun, 16 Jan 2000 16:27:31 +0100 + +solfege (0.5.1-1) unstable; urgency=low + + * New release + + -- Tom Cato Amundsen Fri, 14 Jan 2000 16:55:44 +0100 + +solfege (0.5-1) unstable; urgency=low + + * New release + + -- Tom Cato Amundsen Wed, 12 Jan 2000 00:02:08 +0100 + +solfege (0.4.2-1) unstable; urgency=low + + * Initial release of debian package. not yet part of the debian distro. + + -- Tom Cato Amundsen Mon, 10 Jan 2000 15:33:46 +0100 + +Local variables: +mode: debian-changelog +End: + + --- solfege-3.4.0.orig/debian/solfege.doc-base +++ solfege-3.4.0/debian/solfege.doc-base @@ -0,0 +1,10 @@ +Document: solfege +Title: GNU Solfege, computer aided air training +Author: Various +Abstract: GNU Solfege is a program that let you use your + computer to do ear training. +Section: Apps/Music + +Format: HTML +Index: /usr/share/doc/solfege/help/C/index.html +Files: /usr/share/doc/solfege/help/C/* --- solfege-3.4.0.orig/debian/solfege.prerm +++ solfege-3.4.0/debian/solfege.prerm @@ -0,0 +1,21 @@ +#! /bin/sh +# prerm script for solfege +# +# see: dh_installdeb(1) + +set -e + +PACKAGE=`basename $0 | sed -e 's/\.[^.]*$//'` + +dpkg --listfiles $PACKAGE | + awk '$0~/\.py$/ {print $0"c\n" $0"o"}' | + xargs rm -f >&2 + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + --- solfege-3.4.0.orig/debian/pyversions +++ solfege-3.4.0/debian/pyversions @@ -0,0 +1 @@ +2.3- --- solfege-3.4.0.orig/debian/solfege.menu +++ solfege-3.4.0/debian/solfege.menu @@ -0,0 +1,6 @@ +?package(solfege):\ + needs="X11"\ + section="Apps/Sound"\ + title="GNU Solfege"\ + command="/usr/bin/solfege"\ + icon="/usr/share/pixmaps/solfege.xpm" --- solfege-3.4.0.orig/debian/pycompat +++ solfege-3.4.0/debian/pycompat @@ -0,0 +1 @@ +2 --- solfege-3.4.0.orig/debian/copyright +++ solfege-3.4.0/debian/copyright @@ -0,0 +1,24 @@ +This package was debianized by Tom Cato Amundsen on +Sat, 18 Dec 1999 17:02:50 +0100. + +It was downloaded from http://download.sourceforge.net/solfege +Solfege has a homepage at http://www.solfege.org + +Upstream Author: Tom Cato Amundsen + +This software is copyright (c) 2000-2004 Tom Cato Amundsen. + + 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. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian GNU/Linux systems, the complete text of the GNU General Public +License can be found in /usr/share/common-licenses/GPL. + + + --- solfege-3.4.0.orig/debian/solfege.postinst +++ solfege-3.4.0/debian/solfege.postinst @@ -0,0 +1,31 @@ +#! /bin/sh +# +# cannabalized (by tca@gnu.org) debian prerm script for +# Python x.y hierarchical modules +# Written by Gregor Hoffleit +# Extended by Matthias Klose +# + +set -e + +# Fix for old mistakes before 1.2.1-2 +rm -f /etc/gnome/config/solfege0.7 +rm -f /etc/gnome/config/solfege1.0 +rm -f /etc/gnome/config/solfege1.1 +# end old mistakes + +# Converting rc file from 1.2 is not supported +rm -f /etc/gnome/config/solfege1.2 +# end Convert + +case "$1" in + configure|abort-upgrade|abort-remove|abort-deconfigure) + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# --- solfege-3.4.0.orig/debian/README.debian-dir +++ solfege-3.4.0/debian/README.debian-dir @@ -0,0 +1,6 @@ +Rename debian-dir/ to debian/ if you want to build a debian package. + +I do this because I want the whole debian dir to be included in +the .diff.gz when uploading the package to Debian. + +Tom Cato --- solfege-3.4.0.orig/autopackage/default.apspec +++ solfege-3.4.0/autopackage/default.apspec @@ -0,0 +1,59 @@ +# -*-shell-script-*- + +[Meta] +RootName: @solfege.org/solfege:$SOFTWAREVERSION +DisplayName: GNU Solfege 3.4.0 +ShortName: solfege +Maintainer: Tom Cato Amundsen +Packager: Tom Cato Amundsen + +URL: http://www.solfege.org/ +License: GNU General Public License, Version 2, or later +SoftwareVersion: 3.4.0 +AutopackageTarget: 1.0 + +# Only uncomment InterfaceVersion if your package exposes interfaces to other software, +# for instance if it includes DSOs or python/perl modules. See the developer guide for more info, +# or ask on autopackage-dev if you don't understand interface versioning in autopackage. +# +# InterfaceVersion: 0.0 + +[Description] +Description of GNU Solfege. Ear training program + +[BuildPrepare] +prepareBuild + +[BuildUnprepare] +unprepareBuild + +[Imports] +echo '*' | import + +[Prepare] +# Dependency checking +require @gtk.org/gtk 2.4 +require @python.org/python 2.3 +require @gnome.org/pygtk 2.4 + +[Install] +# Put your installation script here +installExe bin/* +installMan 1 man/man1/* +installIcon share/pixmaps/solfege.png +#FIXME section +installDesktop "Education" share/applications/solfege.desktop +installLocale share/locale +copyFiles lib/solfege/* "$PREFIX/lib/solfege" +installData share/* + +[Uninstall] +#rm -f $PREFIX/share/solfege/src/*.pyc +#rm -f $PREFIX/share/solfege/src/*.pyo +#rm -f $PREFIX/share/solfege/mpd/*.pyc +#rm -f $PREFIX/share/solfege/mpd/*.pyo +#rm -f $PREFIX/share/solfege/soundcard/*.pyc +#rm -f $PREFIX/share/solfege/soundcard/*.pyo +#uninstallFromLog +# uninstallFromLog and installLocale is a bad combination +rm -rf $PREFIX/share/solfege