diff -Nru boxar-0.0.20091120/debian/changelog boxar-0.0.20100122/debian/changelog --- boxar-0.0.20091120/debian/changelog 2010-01-22 11:36:19.000000000 +0000 +++ boxar-0.0.20100122/debian/changelog 2010-01-22 11:36:20.000000000 +0000 @@ -1,8 +1,8 @@ -boxar (0.0.20091120-0ubuntu0~rzr0) karmic; urgency=low +boxar (0.0.20100122-0ubuntu0~rzr1) karmic; urgency=low * wip: http://rzr.online.fr/q/boxar - -- Philippe Coval Fri, 20 Nov 2009 19:50:21 +0100 + -- Philippe Coval Fri, 22 Jan 2010 12:31:02 +0100 boxar (0.0.0-0) UNRELEASED; urgency=low diff -Nru boxar-0.0.20091120/debian/control boxar-0.0.20100122/debian/control --- boxar-0.0.20091120/debian/control 2010-01-22 11:36:19.000000000 +0000 +++ boxar-0.0.20100122/debian/control 2010-01-22 11:36:20.000000000 +0000 @@ -1,12 +1,12 @@ Source: boxar Section: sound Priority: extra -Maintainer: Philippe Coval +Maintainer: Philippe Coval Build-Depends: debhelper (>= 5), libgtk2.0-dev, libesd0-dev | esound Standards-Version: 3.7.3 Homepage: https://garage.maemo.org/projects/boxar/ -Vcs-Svn: https://garage.maemo.org/svn/boxar/trunk -Vcs-Browser: https://garage.maemo.org/svn/boxar/trunk +Vcs-Svn: https://vcs.maemo.org/svn/boxar/trunk +Vcs-Browser: https://vcs.maemo.org/svn/boxar/trunk Package: boxar diff -Nru boxar-0.0.20091120/debian/copyright boxar-0.0.20100122/debian/copyright --- boxar-0.0.20091120/debian/copyright 2010-01-22 11:36:19.000000000 +0000 +++ boxar-0.0.20100122/debian/copyright 2010-01-22 11:36:20.000000000 +0000 @@ -1,12 +1,11 @@ This package was debianized by Philippe Coval on Sun, 30 Nov 2008 23:04:25 +0100. -It was downloaded from +It was downloaded from Upstream Author(s): - - + Sampath Jagannathan (jag) -- http://www.poojyum.com, jagernot@gmail.com Copyright: @@ -15,7 +14,13 @@ License: - + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. The Debian packaging is (C) 2008, Philippe Coval and is licensed under the GPL, see `/usr/share/common-licenses/GPL'. diff -Nru boxar-0.0.20091120/debian/README.Debian boxar-0.0.20100122/debian/README.Debian --- boxar-0.0.20091120/debian/README.Debian 2010-01-22 11:36:19.000000000 +0000 +++ boxar-0.0.20100122/debian/README.Debian 2010-01-22 11:36:20.000000000 +0000 @@ -1,6 +1,6 @@ boxar for Debian ---------------- - +This software was ported from maemo to debian based openmoko systems - -- Philippe Coval Sun, 30 Nov 2008 23:04:25 +0100 + -- Philippe Coval Sun, 30 Nov 2008 23:04:25 +0100 diff -Nru boxar-0.0.20091120/debian/.svn/all-wcprops boxar-0.0.20100122/debian/.svn/all-wcprops --- boxar-0.0.20091120/debian/.svn/all-wcprops 2010-01-22 11:36:19.000000000 +0000 +++ boxar-0.0.20100122/debian/.svn/all-wcprops 1970-01-01 01:00:00.000000000 +0100 @@ -1,83 +0,0 @@ -K 25 -svn:wc:ra_dav:version-url -V 35 -/svn/boxar/!svn/ver/36/trunk/debian -END -control -K 25 -svn:wc:ra_dav:version-url -V 43 -/svn/boxar/!svn/ver/36/trunk/debian/control -END -boxar.doc-base.EX -K 25 -svn:wc:ra_dav:version-url -V 53 -/svn/boxar/!svn/ver/23/trunk/debian/boxar.doc-base.EX -END -compat -K 25 -svn:wc:ra_dav:version-url -V 42 -/svn/boxar/!svn/ver/23/trunk/debian/compat -END -menu -K 25 -svn:wc:ra_dav:version-url -V 40 -/svn/boxar/!svn/ver/23/trunk/debian/menu -END -install -K 25 -svn:wc:ra_dav:version-url -V 43 -/svn/boxar/!svn/ver/23/trunk/debian/install -END -watch -K 25 -svn:wc:ra_dav:version-url -V 41 -/svn/boxar/!svn/ver/23/trunk/debian/watch -END -changelog -K 25 -svn:wc:ra_dav:version-url -V 45 -/svn/boxar/!svn/ver/31/trunk/debian/changelog -END -copyright -K 25 -svn:wc:ra_dav:version-url -V 45 -/svn/boxar/!svn/ver/23/trunk/debian/copyright -END -boxar.default.ex -K 25 -svn:wc:ra_dav:version-url -V 52 -/svn/boxar/!svn/ver/23/trunk/debian/boxar.default.ex -END -manpage.sgml -K 25 -svn:wc:ra_dav:version-url -V 48 -/svn/boxar/!svn/ver/23/trunk/debian/manpage.sgml -END -rules -K 25 -svn:wc:ra_dav:version-url -V 41 -/svn/boxar/!svn/ver/35/trunk/debian/rules -END -boxar.files -K 25 -svn:wc:ra_dav:version-url -V 47 -/svn/boxar/!svn/ver/23/trunk/debian/boxar.files -END -README.Debian -K 25 -svn:wc:ra_dav:version-url -V 49 -/svn/boxar/!svn/ver/23/trunk/debian/README.Debian -END diff -Nru boxar-0.0.20091120/debian/.svn/entries boxar-0.0.20100122/debian/.svn/entries --- boxar-0.0.20091120/debian/.svn/entries 2010-01-22 11:36:19.000000000 +0000 +++ boxar-0.0.20100122/debian/.svn/entries 1970-01-01 01:00:00.000000000 +0100 @@ -1,470 +0,0 @@ -10 - -dir -36 -https://garage.maemo.org/svn/boxar/trunk/debian -https://garage.maemo.org/svn/boxar - - - -2009-11-20T18:45:15.631648Z -36 -rzr - - - - - - - - - - - - - - -a7466f49-68ab-4010-aaa7-87577b3856b3 - -control -file - - - - -2009-11-20T18:50:20.000000Z -0b0bd0b3dc3172a04d290fa46beb7ed3 -2009-11-20T18:45:15.631648Z -36 -rzr -has-props - - - - - - - - - - - - - - - - - - - - -574 - -boxar.doc-base.EX -file - - - - -2009-11-20T18:50:20.000000Z -3ca440ccdcac17ce79e0097834797a17 -2009-06-05T10:33:44.956215Z -23 -rzr -has-props - - - - - - - - - - - - - - - - - - - - -495 - -compat -file - - - - -2009-11-20T18:50:20.000000Z -1dcca23355272056f04fe8bf20edfce0 -2009-06-05T10:33:44.956215Z -23 -rzr -has-props - - - - - - - - - - - - - - - - - - - - -2 - -menu -file - - - - -2009-11-20T18:50:20.000000Z -1e709dc2d91137fec7cb8ca877422e47 -2009-06-05T10:33:44.956215Z -23 -rzr - - - - - - - - - - - - - - - - - - - - - -189 - -install -file - - - - -2009-11-20T18:50:20.000000Z -7d6cedd3e13de92b36c56e439767a007 -2009-06-05T10:33:44.956215Z -23 -rzr -has-props - - - - - - - - - - - - - - - - - - - - -15 - -watch -file - - - - -2009-11-20T18:50:20.000000Z -9fcf7db71eaca40fd4afc1d7b2a80f51 -2009-06-05T10:33:44.956215Z -23 -rzr -has-props - - - - - - - - - - - - - - - - - - - - -282 - -changelog -file - - - - -2009-11-20T18:50:20.000000Z -1cf07adc55783b1149a726f7357a79b8 -2009-06-06T00:12:40.433958Z -31 -rzr -has-props - - - - - - - - - - - - - - - - - - - - -522 - -copyright -file - - - - -2009-11-20T18:50:20.000000Z -384642ffb63b7bfd125e2ddea673d9e1 -2009-06-05T10:33:44.956215Z -23 -rzr -has-props - - - - - - - - - - - - - - - - - - - - -664 - -boxar.default.ex -file - - - - -2009-11-20T18:50:20.000000Z -b28bdf1342299b01590cc75dc711f211 -2009-06-05T10:33:44.956215Z -23 -rzr -has-props - - - - - - - - - - - - - - - - - - - - -229 - -manpage.sgml -file - - - - -2009-11-20T18:50:20.000000Z -1ffc0c8cd94de7918403923bb7e6613b -2009-06-05T10:33:44.956215Z -23 -rzr - - - - - - - - - - - - - - - - - - - - - -4639 - -rules -file - - - - -2009-11-20T18:50:20.000000Z -e81acdef2ee807fd32e5f9f52da5edec -2009-06-12T19:20:40.565150Z -35 -rzr -has-props - - - - - - - - - - - - - - - - - - - - -2235 - -boxar.files -file - - - - -2009-11-20T18:50:20.000000Z -a4e0248e2353e23ec1d73eba1680c294 -2009-06-05T10:33:44.956215Z -23 -rzr - - - - - - - - - - - - - - - - - - - - - -79 - -README.Debian -file - - - - -2009-11-20T18:50:20.000000Z -1d5f1696f9fb176890d144d3b885d181 -2009-06-05T10:33:44.956215Z -23 -rzr -has-props - - - - - - - - - - - - - - - - - - - - -175 - diff -Nru boxar-0.0.20091120/debian/.svn/prop-base/boxar.default.ex.svn-base boxar-0.0.20100122/debian/.svn/prop-base/boxar.default.ex.svn-base --- boxar-0.0.20091120/debian/.svn/prop-base/boxar.default.ex.svn-base 2010-01-22 11:36:19.000000000 +0000 +++ boxar-0.0.20100122/debian/.svn/prop-base/boxar.default.ex.svn-base 1970-01-01 01:00:00.000000000 +0100 @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 1 -* -END diff -Nru boxar-0.0.20091120/debian/.svn/prop-base/boxar.doc-base.EX.svn-base boxar-0.0.20100122/debian/.svn/prop-base/boxar.doc-base.EX.svn-base --- boxar-0.0.20091120/debian/.svn/prop-base/boxar.doc-base.EX.svn-base 2010-01-22 11:36:19.000000000 +0000 +++ boxar-0.0.20100122/debian/.svn/prop-base/boxar.doc-base.EX.svn-base 1970-01-01 01:00:00.000000000 +0100 @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 1 -* -END diff -Nru boxar-0.0.20091120/debian/.svn/prop-base/changelog.svn-base boxar-0.0.20100122/debian/.svn/prop-base/changelog.svn-base --- boxar-0.0.20091120/debian/.svn/prop-base/changelog.svn-base 2010-01-22 11:36:19.000000000 +0000 +++ boxar-0.0.20100122/debian/.svn/prop-base/changelog.svn-base 1970-01-01 01:00:00.000000000 +0100 @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 1 -* -END diff -Nru boxar-0.0.20091120/debian/.svn/prop-base/compat.svn-base boxar-0.0.20100122/debian/.svn/prop-base/compat.svn-base --- boxar-0.0.20091120/debian/.svn/prop-base/compat.svn-base 2010-01-22 11:36:19.000000000 +0000 +++ boxar-0.0.20100122/debian/.svn/prop-base/compat.svn-base 1970-01-01 01:00:00.000000000 +0100 @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 1 -* -END diff -Nru boxar-0.0.20091120/debian/.svn/prop-base/control.svn-base boxar-0.0.20100122/debian/.svn/prop-base/control.svn-base --- boxar-0.0.20091120/debian/.svn/prop-base/control.svn-base 2010-01-22 11:36:19.000000000 +0000 +++ boxar-0.0.20100122/debian/.svn/prop-base/control.svn-base 1970-01-01 01:00:00.000000000 +0100 @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 1 -* -END diff -Nru boxar-0.0.20091120/debian/.svn/prop-base/copyright.svn-base boxar-0.0.20100122/debian/.svn/prop-base/copyright.svn-base --- boxar-0.0.20091120/debian/.svn/prop-base/copyright.svn-base 2010-01-22 11:36:19.000000000 +0000 +++ boxar-0.0.20100122/debian/.svn/prop-base/copyright.svn-base 1970-01-01 01:00:00.000000000 +0100 @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 1 -* -END diff -Nru boxar-0.0.20091120/debian/.svn/prop-base/install.svn-base boxar-0.0.20100122/debian/.svn/prop-base/install.svn-base --- boxar-0.0.20091120/debian/.svn/prop-base/install.svn-base 2010-01-22 11:36:19.000000000 +0000 +++ boxar-0.0.20100122/debian/.svn/prop-base/install.svn-base 1970-01-01 01:00:00.000000000 +0100 @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 1 -* -END diff -Nru boxar-0.0.20091120/debian/.svn/prop-base/README.Debian.svn-base boxar-0.0.20100122/debian/.svn/prop-base/README.Debian.svn-base --- boxar-0.0.20091120/debian/.svn/prop-base/README.Debian.svn-base 2010-01-22 11:36:19.000000000 +0000 +++ boxar-0.0.20100122/debian/.svn/prop-base/README.Debian.svn-base 1970-01-01 01:00:00.000000000 +0100 @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 1 -* -END diff -Nru boxar-0.0.20091120/debian/.svn/prop-base/rules.svn-base boxar-0.0.20100122/debian/.svn/prop-base/rules.svn-base --- boxar-0.0.20091120/debian/.svn/prop-base/rules.svn-base 2010-01-22 11:36:19.000000000 +0000 +++ boxar-0.0.20100122/debian/.svn/prop-base/rules.svn-base 1970-01-01 01:00:00.000000000 +0100 @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 1 -* -END diff -Nru boxar-0.0.20091120/debian/.svn/prop-base/watch.svn-base boxar-0.0.20100122/debian/.svn/prop-base/watch.svn-base --- boxar-0.0.20091120/debian/.svn/prop-base/watch.svn-base 2010-01-22 11:36:19.000000000 +0000 +++ boxar-0.0.20100122/debian/.svn/prop-base/watch.svn-base 1970-01-01 01:00:00.000000000 +0100 @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 1 -* -END diff -Nru boxar-0.0.20091120/debian/.svn/text-base/boxar.default.ex.svn-base boxar-0.0.20100122/debian/.svn/text-base/boxar.default.ex.svn-base --- boxar-0.0.20091120/debian/.svn/text-base/boxar.default.ex.svn-base 2010-01-22 11:36:19.000000000 +0000 +++ boxar-0.0.20100122/debian/.svn/text-base/boxar.default.ex.svn-base 1970-01-01 01:00:00.000000000 +0100 @@ -1,10 +0,0 @@ -# Defaults for boxar initscript -# sourced by /etc/init.d/boxar -# installed at /etc/default/boxar by the maintainer scripts - -# -# This is a POSIX shell fragment -# - -# Additional options that are passed to the Daemon. -DAEMON_OPTS="" diff -Nru boxar-0.0.20091120/debian/.svn/text-base/boxar.doc-base.EX.svn-base boxar-0.0.20100122/debian/.svn/text-base/boxar.doc-base.EX.svn-base --- boxar-0.0.20091120/debian/.svn/text-base/boxar.doc-base.EX.svn-base 2010-01-22 11:36:19.000000000 +0000 +++ boxar-0.0.20100122/debian/.svn/text-base/boxar.doc-base.EX.svn-base 1970-01-01 01:00:00.000000000 +0100 @@ -1,22 +0,0 @@ -Document: boxar -Title: Debian boxar Manual -Author: -Abstract: This manual describes what boxar is - and how it can be used to - manage online manuals on Debian systems. -Section: unknown - -Format: debiandoc-sgml -Files: /usr/share/doc/boxar/boxar.sgml.gz - -Format: postscript -Files: /usr/share/doc/boxar/boxar.ps.gz - -Format: text -Files: /usr/share/doc/boxar/boxar.text.gz - -Format: HTML -Index: /usr/share/doc/boxar/html/index.html -Files: /usr/share/doc/boxar/html/*.html - - diff -Nru boxar-0.0.20091120/debian/.svn/text-base/boxar.files.svn-base boxar-0.0.20100122/debian/.svn/text-base/boxar.files.svn-base --- boxar-0.0.20091120/debian/.svn/text-base/boxar.files.svn-base 2010-01-22 11:36:19.000000000 +0000 +++ boxar-0.0.20100122/debian/.svn/text-base/boxar.files.svn-base 1970-01-01 01:00:00.000000000 +0100 @@ -1,3 +0,0 @@ -usr/bin/boxar -usr/share/applications/boxar.desktop -usr/share/pixmaps/boxar.xpm diff -Nru boxar-0.0.20091120/debian/.svn/text-base/changelog.svn-base boxar-0.0.20100122/debian/.svn/text-base/changelog.svn-base --- boxar-0.0.20091120/debian/.svn/text-base/changelog.svn-base 2010-01-22 11:36:19.000000000 +0000 +++ boxar-0.0.20100122/debian/.svn/text-base/changelog.svn-base 1970-01-01 01:00:00.000000000 +0100 @@ -1,19 +0,0 @@ -boxar (0.0.0-0) UNRELEASED; urgency=low - - * TODO: upgdate this changelog if releasing - * http://rzr.online.fr/q/esd - - -- Philippe Coval Sat, 06 Jun 2009 02:07:39 +0200 - -boxar (0.0.20090605-0) unstable; urgency=low - - * Ported from meamo to debian : - http://rzr.online.fr/q/esd - - -- Philippe Coval Fri, 05 Jun 2009 18:55:41 +0200 - -boxar (0.0.20081130-0) UNRELEASED; urgency=low - - * wip: http://rzr.online.fr/q/fest - - -- Philippe Coval Sun, 30 Nov 2008 23:07:32 +0100 diff -Nru boxar-0.0.20091120/debian/.svn/text-base/compat.svn-base boxar-0.0.20100122/debian/.svn/text-base/compat.svn-base --- boxar-0.0.20091120/debian/.svn/text-base/compat.svn-base 2010-01-22 11:36:19.000000000 +0000 +++ boxar-0.0.20100122/debian/.svn/text-base/compat.svn-base 1970-01-01 01:00:00.000000000 +0100 @@ -1 +0,0 @@ -5 diff -Nru boxar-0.0.20091120/debian/.svn/text-base/control.svn-base boxar-0.0.20100122/debian/.svn/text-base/control.svn-base --- boxar-0.0.20091120/debian/.svn/text-base/control.svn-base 2010-01-22 11:36:19.000000000 +0000 +++ boxar-0.0.20100122/debian/.svn/text-base/control.svn-base 1970-01-01 01:00:00.000000000 +0100 @@ -1,17 +0,0 @@ -Source: boxar -Section: sound -Priority: extra -Maintainer: Philippe Coval -Build-Depends: debhelper (>= 5), libgtk2.0-dev, libesd0-dev | esound -Standards-Version: 3.7.3 -Homepage: https://garage.maemo.org/projects/boxar/ -Vcs-Svn: https://garage.maemo.org/svn/boxar/trunk -Vcs-Browser: https://garage.maemo.org/svn/boxar/trunk - - -Package: boxar -Architecture: any -Depends: ${shlibs:Depends}, ${misc:Depends} -Description: paint music on tiles - Boxes on the screen. Each has a note. Tap to play. - Or in other words : musical keyboard using touchscreen (or mouse) diff -Nru boxar-0.0.20091120/debian/.svn/text-base/copyright.svn-base boxar-0.0.20100122/debian/.svn/text-base/copyright.svn-base --- boxar-0.0.20091120/debian/.svn/text-base/copyright.svn-base 2010-01-22 11:36:19.000000000 +0000 +++ boxar-0.0.20100122/debian/.svn/text-base/copyright.svn-base 1970-01-01 01:00:00.000000000 +0100 @@ -1,24 +0,0 @@ -This package was debianized by Philippe Coval on -Sun, 30 Nov 2008 23:04:25 +0100. - -It was downloaded from - -Upstream Author(s): - - - - -Copyright: - - - - -License: - - - -The Debian packaging is (C) 2008, Philippe Coval and -is licensed under the GPL, see `/usr/share/common-licenses/GPL'. - -# Please also look if there are files or directories which have a -# different copyright/license attached and list them here. diff -Nru boxar-0.0.20091120/debian/.svn/text-base/install.svn-base boxar-0.0.20100122/debian/.svn/text-base/install.svn-base --- boxar-0.0.20091120/debian/.svn/text-base/install.svn-base 2010-01-22 11:36:19.000000000 +0000 +++ boxar-0.0.20100122/debian/.svn/text-base/install.svn-base 1970-01-01 01:00:00.000000000 +0100 @@ -1 +0,0 @@ -boxar usr/bin/ diff -Nru boxar-0.0.20091120/debian/.svn/text-base/manpage.sgml.svn-base boxar-0.0.20100122/debian/.svn/text-base/manpage.sgml.svn-base --- boxar-0.0.20091120/debian/.svn/text-base/manpage.sgml.svn-base 2010-01-22 11:36:19.000000000 +0000 +++ boxar-0.0.20100122/debian/.svn/text-base/manpage.sgml.svn-base 1970-01-01 01:00:00.000000000 +0100 @@ -1,156 +0,0 @@ - manpage.1'. You may view - the manual page with: `docbook-to-man manpage.sgml | nroff -man | - less'. A typical entry in a Makefile or Makefile.am is: - -manpage.1: manpage.sgml - docbook-to-man $< > $@ - - - The docbook-to-man binary is found in the docbook-to-man package. - Please remember that if you create the nroff version in one of the - debian/rules file targets (such as build), you will need to include - docbook-to-man in your Build-Depends control field. - - --> - - - FIRSTNAME"> - SURNAME"> - - November 30, 2008"> - - SECTION"> - rzr@users.sf.net"> - - BOXAR"> - - - Debian"> - GNU"> - GPL"> -]> - - - -
- &dhemail; -
- - &dhfirstname; - &dhsurname; - - - 2003 - &dhusername; - - &dhdate; -
- - &dhucpackage; - - &dhsection; - - - &dhpackage; - - program to do something - - - - &dhpackage; - - - - - - - - DESCRIPTION - - This manual page documents briefly the - &dhpackage; and bar - commands. - - This manual page was written for the &debian; distribution - because the original program does not have a manual page. - Instead, it has documentation in the &gnu; - Info format; see below. - - &dhpackage; is a program that... - - - - OPTIONS - - These programs follow the usual &gnu; command line syntax, - with long options starting with two dashes (`-'). A summary of - options is included below. For a complete description, see the - Info files. - - - - - - - - Show summary of options. - - - - - - - - Show version of program. - - - - - - SEE ALSO - - bar (1), baz (1). - - The programs are documented fully by The Rise and - Fall of a Fooish Bar available via the - Info system. - - - AUTHOR - - This manual page was written by &dhusername; &dhemail; for - the &debian; system (but may be used by others). Permission is - granted to copy, distribute and/or modify this document under - the terms of the &gnu; General Public License, Version 2 any - later version published by the Free Software Foundation. - - - On Debian systems, the complete text of the GNU General Public - License can be found in /usr/share/common-licenses/GPL. - - - -
- - - - diff -Nru boxar-0.0.20091120/debian/.svn/text-base/menu.svn-base boxar-0.0.20100122/debian/.svn/text-base/menu.svn-base --- boxar-0.0.20091120/debian/.svn/text-base/menu.svn-base 2010-01-22 11:36:19.000000000 +0000 +++ boxar-0.0.20100122/debian/.svn/text-base/menu.svn-base 1970-01-01 01:00:00.000000000 +0100 @@ -1,7 +0,0 @@ -?package(boxar):\ - needs="x11" \ - section="Applications/Multimedia"\ - title="boxar keyboard" \ - command="/usr/bin/boxar" \ - icon="/usr/share/pixmaps/boxar.xpm" \ - hints="piano" diff -Nru boxar-0.0.20091120/debian/.svn/text-base/README.Debian.svn-base boxar-0.0.20100122/debian/.svn/text-base/README.Debian.svn-base --- boxar-0.0.20091120/debian/.svn/text-base/README.Debian.svn-base 2010-01-22 11:36:19.000000000 +0000 +++ boxar-0.0.20100122/debian/.svn/text-base/README.Debian.svn-base 1970-01-01 01:00:00.000000000 +0100 @@ -1,6 +0,0 @@ -boxar for Debian ----------------- - - - - -- Philippe Coval Sun, 30 Nov 2008 23:04:25 +0100 diff -Nru boxar-0.0.20091120/debian/.svn/text-base/rules.svn-base boxar-0.0.20100122/debian/.svn/text-base/rules.svn-base --- boxar-0.0.20091120/debian/.svn/text-base/rules.svn-base 2010-01-22 11:36:19.000000000 +0000 +++ boxar-0.0.20100122/debian/.svn/text-base/rules.svn-base 1970-01-01 01:00:00.000000000 +0100 @@ -1,95 +0,0 @@ -#!/usr/bin/make -f -# -*- makefile -*- -# Sample debian/rules that uses debhelper. -# This file was originally written by Joey Hess and Craig Small. -# As a special exception, when this file is copied by dh-make into a -# dh-make output file, you may use that output file without restriction. -# This special exception was added by Craig Small in version 0.37 of dh-make. - -# Uncomment this to turn on verbose mode. -export DH_VERBOSE=1 -package?=$(shell [ -r debian/changelog ] && dpkg-parsechangelog \ - | sed -n 's/Source: \(.*\)/\1/p' || basename `pwd` || cut -f 1 -d-) - -configure: configure-stamp -configure-stamp: - dh_testdir - touch configure-stamp - - -build: build-stamp - -build-stamp: configure-stamp - dh_testdir - - # Add here commands to compile the package. - $(MAKE) ${package} - #docbook-to-man debian/${package}.sgml > ${package}.1 - touch $@ - -clean: - dh_testdir - dh_testroot - rm -f build-stamp configure-stamp - - # Add here commands to clean up after the build process. - -$(MAKE) clean - rm -f ${package} - dh_clean - -INSTALL_DIR?=$(CURDIR)/debian/tmp - -install: build - dh_testdir - dh_testroot - dh_clean -k - dh_installdirs - - # Add here commands to install the package into debian/${package}. -# $(MAKE) DESTDIR=$(CURDIR)/debian/${package} install - $(MAKE) DESTDIR=${INSTALL_DIR} install - install -d ${INSTALL_DIR}/usr/share/applications/hildon/ - ln -fs ../${package}.desktop ${INSTALL_DIR}/usr/share/applications/hildon/ -# 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_installchangelogs - dh_installdocs - dh_installexamples - dh_install - dh_installmenu - dh_desktop -# dh_installdebconf -# dh_installlogrotate -# dh_installemacsen -# dh_installpam -# dh_installmime -# dh_python -# dh_installinit -# dh_installcron -# dh_installinfo - dh_installman - dh_link - dh_strip - dh_compress - dh_fixperms -# dh_perl -# dh_makeshlibs - dh_installdeb - dh_shlibdeps - dh_gencontrol - dh_md5sums - dh_builddeb - -binary: binary-indep binary-arch -.PHONY: build clean binary-indep binary-arch binary install configure - - -download: - wget -O ${package}.c http://${package}.googlecode.com/svn/trunk/${package}.c -#eof diff -Nru boxar-0.0.20091120/debian/.svn/text-base/watch.svn-base boxar-0.0.20100122/debian/.svn/text-base/watch.svn-base --- boxar-0.0.20091120/debian/.svn/text-base/watch.svn-base 2010-01-22 11:36:19.000000000 +0000 +++ boxar-0.0.20100122/debian/.svn/text-base/watch.svn-base 1970-01-01 01:00:00.000000000 +0100 @@ -1,10 +0,0 @@ -# Example watch control file for uscan -# Rename this file to "watch" and then you can run the "uscan" command -# to check for upstream updates and more. -# See uscan(1) for format - -# Compulsory line, this is a version 3 file -version=3 - -http://code.google.com/p/boxar/ \ - boxar-(.*)\.* \ No newline at end of file diff -Nru boxar-0.0.20091120/debian/watch boxar-0.0.20100122/debian/watch --- boxar-0.0.20091120/debian/watch 2010-01-22 11:36:19.000000000 +0000 +++ boxar-0.0.20100122/debian/watch 2010-01-22 11:36:20.000000000 +0000 @@ -1,10 +1,5 @@ -# Example watch control file for uscan -# Rename this file to "watch" and then you can run the "uscan" command -# to check for upstream updates and more. -# See uscan(1) for format - # Compulsory line, this is a version 3 file version=3 http://code.google.com/p/boxar/ \ - boxar-(.*)\.* \ No newline at end of file + boxar-(.*)\.* diff -Nru boxar-0.0.20091120/opkg/.svn/all-wcprops boxar-0.0.20100122/opkg/.svn/all-wcprops --- boxar-0.0.20091120/opkg/.svn/all-wcprops 2009-11-20 18:50:20.000000000 +0000 +++ boxar-0.0.20100122/opkg/.svn/all-wcprops 1970-01-01 01:00:00.000000000 +0100 @@ -1,17 +0,0 @@ -K 25 -svn:wc:ra_dav:version-url -V 33 -/svn/boxar/!svn/ver/35/trunk/opkg -END -control -K 25 -svn:wc:ra_dav:version-url -V 41 -/svn/boxar/!svn/ver/31/trunk/opkg/control -END -rules -K 25 -svn:wc:ra_dav:version-url -V 39 -/svn/boxar/!svn/ver/35/trunk/opkg/rules -END diff -Nru boxar-0.0.20091120/opkg/.svn/entries boxar-0.0.20100122/opkg/.svn/entries --- boxar-0.0.20091120/opkg/.svn/entries 2009-11-20 18:50:20.000000000 +0000 +++ boxar-0.0.20100122/opkg/.svn/entries 1970-01-01 01:00:00.000000000 +0100 @@ -1,96 +0,0 @@ -10 - -dir -36 -https://garage.maemo.org/svn/boxar/trunk/opkg -https://garage.maemo.org/svn/boxar - - - -2009-06-12T19:20:40.565150Z -35 -rzr - - - - - - - - - - - - - - -a7466f49-68ab-4010-aaa7-87577b3856b3 - -control -file - - - - -2009-11-20T18:50:20.000000Z -fdd183ebbc6f3d572f8f52c7c14656b2 -2009-06-06T00:12:40.433958Z -31 -rzr -has-props - - - - - - - - - - - - - - - - - - - - -319 - -rules -file - - - - -2009-11-20T18:50:20.000000Z -a35a9373b3eff36a7c2394f4690f337c -2009-06-12T19:20:40.565150Z -35 -rzr -has-props - - - - - - - - - - - - - - - - - - - - -557 - diff -Nru boxar-0.0.20091120/opkg/.svn/prop-base/control.svn-base boxar-0.0.20100122/opkg/.svn/prop-base/control.svn-base --- boxar-0.0.20091120/opkg/.svn/prop-base/control.svn-base 2009-11-20 18:50:20.000000000 +0000 +++ boxar-0.0.20100122/opkg/.svn/prop-base/control.svn-base 1970-01-01 01:00:00.000000000 +0100 @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 1 -* -END diff -Nru boxar-0.0.20091120/opkg/.svn/prop-base/rules.svn-base boxar-0.0.20100122/opkg/.svn/prop-base/rules.svn-base --- boxar-0.0.20091120/opkg/.svn/prop-base/rules.svn-base 2009-11-20 18:50:20.000000000 +0000 +++ boxar-0.0.20100122/opkg/.svn/prop-base/rules.svn-base 1970-01-01 01:00:00.000000000 +0100 @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 1 -* -END diff -Nru boxar-0.0.20091120/opkg/.svn/text-base/control.svn-base boxar-0.0.20100122/opkg/.svn/text-base/control.svn-base --- boxar-0.0.20091120/opkg/.svn/text-base/control.svn-base 2009-11-20 18:50:20.000000000 +0000 +++ boxar-0.0.20100122/opkg/.svn/text-base/control.svn-base 1970-01-01 01:00:00.000000000 +0100 @@ -1,10 +0,0 @@ -Package: boxar -Version: 0.0.0-0 -Description: Paint music on the touchscreen sort of piano with scales -Section: openmoko/applications -Priority: optional -Maintainer: Philippe Coval -Architecture: armv4t -Homepage: https://rzr.online.fr/q/esd -Depends: gtk+ , libesd0 -Source: https://garage.maemo.org/svn/boxar diff -Nru boxar-0.0.20091120/opkg/.svn/text-base/rules.svn-base boxar-0.0.20100122/opkg/.svn/text-base/rules.svn-base --- boxar-0.0.20091120/opkg/.svn/text-base/rules.svn-base 2009-11-20 18:50:20.000000000 +0000 +++ boxar-0.0.20100122/opkg/.svn/text-base/rules.svn-base 1970-01-01 01:00:00.000000000 +0100 @@ -1,25 +0,0 @@ -#! /usr/bin/make -f -# -*- makefile -*- -# @author: Philippe Coval -- http://rzr.online.fr -default: rebuild - -DESKTOP_DIR?=${DESTDIR}/usr/share/applications/ -ENV_SCRIPT?=/usr/local/openmoko/arm/setup-env -BUILD_AREA?=../pool - --include Makefile - -env: - . ${ENV_SCRIPT} - @echo "opkg install libesd0 gtk+-dev libesd-dev " - -build: opkg/control - . ${ENV_SCRIPT} && om-make-ipkg . ${<} - -rebuild: clean build install clean - -install: - . ${ENV_SCRIPT} && ipkg-make-index . > Packages - mkdir -p ${BUILD_AREA} - mv -v Packages *.ipk Packages.filelist ${BUILD_AREA}/ -#eof diff -Nru boxar-0.0.20091120/.svn/all-wcprops boxar-0.0.20100122/.svn/all-wcprops --- boxar-0.0.20091120/.svn/all-wcprops 2009-11-20 18:50:20.000000000 +0000 +++ boxar-0.0.20100122/.svn/all-wcprops 1970-01-01 01:00:00.000000000 +0100 @@ -1,53 +0,0 @@ -K 25 -svn:wc:ra_dav:version-url -V 28 -/svn/boxar/!svn/ver/36/trunk -END -boxar.desktop -K 25 -svn:wc:ra_dav:version-url -V 42 -/svn/boxar/!svn/ver/32/trunk/boxar.desktop -END -boxar.spec -K 25 -svn:wc:ra_dav:version-url -V 39 -/svn/boxar/!svn/ver/33/trunk/boxar.spec -END -COPYING -K 25 -svn:wc:ra_dav:version-url -V 36 -/svn/boxar/!svn/ver/23/trunk/COPYING -END -boxar_0.0.0.bb -K 25 -svn:wc:ra_dav:version-url -V 43 -/svn/boxar/!svn/ver/35/trunk/boxar_0.0.0.bb -END -README.txt -K 25 -svn:wc:ra_dav:version-url -V 39 -/svn/boxar/!svn/ver/36/trunk/README.txt -END -boxar.c -K 25 -svn:wc:ra_dav:version-url -V 36 -/svn/boxar/!svn/ver/36/trunk/boxar.c -END -Makefile -K 25 -svn:wc:ra_dav:version-url -V 37 -/svn/boxar/!svn/ver/33/trunk/Makefile -END -boxar.xpm -K 25 -svn:wc:ra_dav:version-url -V 38 -/svn/boxar/!svn/ver/22/trunk/boxar.xpm -END diff -Nru boxar-0.0.20091120/.svn/entries boxar-0.0.20100122/.svn/entries --- boxar-0.0.20091120/.svn/entries 2009-11-20 18:50:20.000000000 +0000 +++ boxar-0.0.20100122/.svn/entries 1970-01-01 01:00:00.000000000 +0100 @@ -1,306 +0,0 @@ -10 - -dir -36 -https://garage.maemo.org/svn/boxar/trunk -https://garage.maemo.org/svn/boxar - - - -2009-11-20T18:45:15.631648Z -36 -rzr - - - - - - - - - - - - - - -a7466f49-68ab-4010-aaa7-87577b3856b3 - -opkg -dir - -debian -dir - -boxar.desktop -file - - - - -2009-11-20T18:50:20.000000Z -081987dce3f34eb4362b97c7054f0c25 -2009-06-06T00:36:33.647407Z -32 -rzr - - - - - - - - - - - - - - - - - - - - - -281 - -boxar.spec -file - - - - -2009-11-20T18:50:20.000000Z -24fad17a5ba0fca9adaf74c50db9bed4 -2009-06-07T13:14:57.468596Z -33 -rzr - - - - - - - - - - - - - - - - - - - - - -917 - -COPYING -file - - - - -2009-11-20T18:50:20.000000Z -751419260aa954499f7abaabaa882bbe -2009-06-05T10:33:44.956215Z -23 -rzr - - - - - - - - - - - - - - - - - - - - - -17987 - -boxar_0.0.0.bb -file - - - - -2009-11-20T18:50:20.000000Z -7c77262ab170b1f61ba4ddf00e3eec40 -2009-06-12T19:20:40.565150Z -35 -rzr - - - - - - - - - - - - - - - - - - - - - -397 - -README.txt -file - - - - -2009-11-20T18:50:20.000000Z -4dae2c6ec7220fea59d8211f9c764555 -2009-11-20T18:45:15.631648Z -36 -rzr -has-props - - - - - - - - - - - - - - - - - - - - -1382 - -boxar.c -file - - - - -2009-11-20T18:50:20.000000Z -dfb743815179373b82ef28a1c65e9493 -2009-11-20T18:45:15.631648Z -36 -rzr -has-props - - - - - - - - - - - - - - - - - - - - -22397 - -Makefile -file - - - - -2009-11-20T18:50:20.000000Z -eef354b9f7b95c482a1a6dc1694e9a07 -2009-06-07T13:14:57.468596Z -33 -rzr -has-props - - - - - - - - - - - - - - - - - - - - -851 - -boxar.xpm -file - - - - -2009-11-20T18:50:20.000000Z -adacc4e48876a7989cf3d2f4cacc12b7 -2009-06-05T10:23:49.888079Z -22 -rzr - - - - - - - - - - - - - - - - - - - - - -3989 - diff -Nru boxar-0.0.20091120/.svn/prop-base/boxar.c.svn-base boxar-0.0.20100122/.svn/prop-base/boxar.c.svn-base --- boxar-0.0.20091120/.svn/prop-base/boxar.c.svn-base 2009-11-20 18:50:20.000000000 +0000 +++ boxar-0.0.20100122/.svn/prop-base/boxar.c.svn-base 1970-01-01 01:00:00.000000000 +0100 @@ -1,5 +0,0 @@ -K 13 -svn:mergeinfo -V 0 - -END diff -Nru boxar-0.0.20091120/.svn/prop-base/Makefile.svn-base boxar-0.0.20100122/.svn/prop-base/Makefile.svn-base --- boxar-0.0.20091120/.svn/prop-base/Makefile.svn-base 2009-11-20 18:50:20.000000000 +0000 +++ boxar-0.0.20100122/.svn/prop-base/Makefile.svn-base 1970-01-01 01:00:00.000000000 +0100 @@ -1,5 +0,0 @@ -K 13 -svn:mergeinfo -V 0 - -END diff -Nru boxar-0.0.20091120/.svn/prop-base/README.txt.svn-base boxar-0.0.20100122/.svn/prop-base/README.txt.svn-base --- boxar-0.0.20091120/.svn/prop-base/README.txt.svn-base 2009-11-20 18:50:20.000000000 +0000 +++ boxar-0.0.20100122/.svn/prop-base/README.txt.svn-base 1970-01-01 01:00:00.000000000 +0100 @@ -1,5 +0,0 @@ -K 13 -svn:mergeinfo -V 0 - -END diff -Nru boxar-0.0.20091120/.svn/text-base/boxar_0.0.0.bb.svn-base boxar-0.0.20100122/.svn/text-base/boxar_0.0.0.bb.svn-base --- boxar-0.0.20091120/.svn/text-base/boxar_0.0.0.bb.svn-base 2009-11-20 18:50:20.000000000 +0000 +++ boxar-0.0.20100122/.svn/text-base/boxar_0.0.0.bb.svn-base 1970-01-01 01:00:00.000000000 +0100 @@ -1,15 +0,0 @@ -DESCRIPTION="boxar port for OE (TODO)" -HOMEPAGE="http://rzr.online.fr/q/esd" -LICENSE="GPL2" - -#SECTION -DEPENDS="gtk+ (>=2.0) esound" -#SRC_URI = "svn://garage.maemo.org/svn/boxar/trunk;module=.;proto=http" -SRC_URI="http://download.opensuse.org/repositories/home://rzrfreefr/Debian_5.0/boxar_${PV}.orig.tar.gz" - -inherit autotools pkgconfig - -PACKAGES="boxar" -FILES_boxar="${base_bindir}/boxar" - -#eof diff -Nru boxar-0.0.20091120/.svn/text-base/boxar.c.svn-base boxar-0.0.20100122/.svn/text-base/boxar.c.svn-base --- boxar-0.0.20091120/.svn/text-base/boxar.c.svn-base 2009-11-20 18:50:20.000000000 +0000 +++ boxar-0.0.20100122/.svn/text-base/boxar.c.svn-base 1970-01-01 01:00:00.000000000 +0100 @@ -1,970 +0,0 @@ -/* - * boxar - a musical instrument for nokia internet tablet (n810 & n800). - * Copyright (c) 2008 Sampath Jagannathan - * Distributed under the GPL 2.0 license. - * boxar is Free Software. - * Based on ideas initially developed in din (http://code.google.com/p/din) -*/ - -#include -#include -#include - -#include -#include -#include -#include -#include - -#define PACKAGE "boxar" -#define VERSION "0.0.0" - -// audio output -int speakers = 0; -pthread_t audio_thread; -int runme = 1; - -// audio params -int sample_rate = 44100; // cd quality -short* samples_buffer = 0; -int samples_buffer_size; -int num_samples = 32; -int num_channels = 2; // ie stereo - -double start_frequency = 65.4064; // deep C - pitch of box 0 @ left,bottom of screen - -double decay_time = 2.0; // decay time in seconds for each note -double delta_decay_time = 0.1; - -// will init these later -int noctaves = 0; -int ntones = 0; -int nboxes = 0; - -typedef unsigned short rhythm_pattern; -#define DEFAULT_RHYTHM_PATTERN 0xffff; -#define MASK 1 - -// stereo rhythms -struct stereo { - rhythm_pattern l, r; -} rhythm_pat, last_rhythm_pat, empty_pat, rhythm_bit; - -// pulse width modulation -int do_pwm = 0; -double pwm_depth = 0.30, max_depth = 1.0, delta_pwm_depth = 0.01; -int pwm_rate = 15, delta_pwm_rate = 1; // hz - -// bit shifts per sec => rhythms -struct bps_t { - int i; - double bps; - double delta_bps; - int nsam; - int nshift, maxshift; -} rhythm_bps; - - -// ui -GtkWidget *window, *vbox; -typedef void (*menu_callback)(gint*); -GtkWidget* menubar; -int show_menubar = 1; - -GtkWidget* statusbar; -char mesg [256]; -GtkLabel* statusbar_label; - -enum button_state { DOWN, UP}; -static int button_state_last = UP; - -struct win_props { // main window - int width, height; - int menubar_height; -} win; - -struct box_globs { // box globals - int left, bottom; - int width, height, gap; - int dksam; -} boxg; - - -#define MAX_OCTAVES 7 -#define NUM_SCALES 10 -#define MAX_TONES 8 -#define MAX_BOXES (MAX_TONES * MAX_OCTAVES) - -#define MAXAMP 32767 -#define SIMUL_NOTES 16 -#define DEFAULT_AMP (MAXAMP / SIMUL_NOTES) -#define DEFAULT_COLOR (DEFAULT_AMP << 2) -#define RED_SHIFT 5 // DEFAULT_AMP << ? = 65535 - -enum {SILENT, DECAY}; - -struct box_pos { - int x1, y1; - int x2, y2; - int wipe; -} boxpos [MAX_BOXES]; - -struct box_snd { - - int err, cerr; - int run, shift; - - short amp; - int sign; - - int npuls[3], puls_id, puls_min; - int pw_sam, pw_nsam, pws; - - int dkid; - int state; - -} boxsnd [MAX_BOXES]; - -int last_box = 0; - -int iscale = 0; // current scale - -struct scale { // musical scale - - int ntones; - int noctaves; - char* name; - double intervals [MAX_TONES]; - -} scales [NUM_SCALES] = { - {7, 6, "The Blues", 1, 1.18, 1.33333, 1.40625, 1.5, 1.80, 2}, // C Eb F F# G Bb C' - {6, 6, "Chinese - Guzheng", 1, 1.125, 1.265625, 1.5, 1.66667, 2}, // C D E G A C' - {6, 6, "Chinese - Guqin", 1, 1.125, 1.3333, 1.5, 1.66667, 2}, // C D F G A C' - {7, 6, "Native American - 6 Hole Flute", 1, 1.20, 1.3333, 1.5, 1.60, 1.80, 2}, // C Eb F G Ab Bb B C' - {6, 6, "Native American - 5 Hole Flute", 1, 1.20, 1.3333, 1.5, 1.80, 2}, // C Eb F G Bb C' - {6, 6, "Indian - Raga Hamsadhwani", 1, 1.125, 1.265625, 1.5, 1.875, 2}, // C D E G B C' - {6, 6, "Indian - Raga Shivaranjani", 1, 1.125, 1.20, 1.5, 1.66667, 2}, // C D Eb G A C' - {6, 6, "Indian - Raga Malkauns", 1, 1.20, 1.3333, 1.60, 1.80, 2}, // C Eb F Ab Bb C' - {8, 6, "Indian - Raga Bhairav", 1, 1.0667, 1.265625, 1.3333, 1.5, 1.60, 1.875, 2}, // C Db E F G Ab B C' - {4, 6, "Tonic 4th 5th Octave", 1, 1.3333, 1.5, 2}, // C F G C' -}; - -#define ERROR_LIMIT 100 - - -void calc_decay () { - boxg.dksam = decay_time * sample_rate * 1./ DEFAULT_AMP + 0.5; - sprintf (mesg, " Decay time = %2.2f secs", decay_time); - gtk_label_set_text (statusbar_label, mesg); -} - -void* audio_wanted (void* arg) { - - int i, j, k, p; - - short amp; - - while (runme) { - - i = j = 0; - - for (;i < num_samples; ++i, j+=2) { - amp = 0; - for (p = 0; p < nboxes; ++p) { - struct box_snd b = boxsnd [p]; - if (b.state != SILENT) { - if (b.run >= b.shift) { - - if (do_pwm) { - if (++b.pw_sam >= b.pw_nsam) { // modulate now - b.pw_sam = 0; - b.npuls[0] += b.pws; - b.npuls[1] -= b.pws; - if (b.pws == 1) k = 1; else k = 0; - if (b.npuls[k] <= b.puls_min) { - b.npuls[k] = b.puls_min; - b.pws = -b.pws; - } - } - } - - b.puls_id = !b.puls_id; - b.cerr += b.err; - if (b.cerr >= ERROR_LIMIT) { - b.cerr -= ERROR_LIMIT; - b.shift = b.npuls[b.puls_id] + 1; - } else b.shift = b.npuls[b.puls_id]; - - b.run = 0; - b.sign = -b.sign; - - } - - ++b.run; - amp += (b.sign * b.amp); - boxsnd [p] = b; - - } - - - } - - samples_buffer [j] = rhythm_bit.l * amp; - samples_buffer [j+1] = rhythm_bit.r * amp; - - } - - // decay - for (i = 0; i < nboxes; ++i) { - struct box_snd b = boxsnd [i]; - if (b.state != SILENT) { - b.dkid += num_samples; - while (b.dkid >= boxg.dksam) { - b.dkid -= boxg.dksam; - if (--b.amp < 0) { - b.npuls[0] = b.npuls[1] = b.npuls[2]; - b.run = 0; - b.shift = b.npuls[0]; - b.cerr = b.err; - b.pw_sam = 0; - b.pws = 1; - b.amp = 0; - b.state = SILENT; - b.dkid = 0; - boxpos[i].wipe = 1; - break; - } - } - } - boxsnd [i] = b; - } - - // stereo rhythm - rhythm_bps.i += num_samples; - if (rhythm_bps.i >= rhythm_bps.nsam) { - rhythm_bps.i -= rhythm_bps.nsam; - rhythm_bit.l = (rhythm_pat.l >> rhythm_bps.nshift) & MASK; - rhythm_bit.r = (rhythm_pat.r >> rhythm_bps.nshift) & MASK; - if (++rhythm_bps.nshift > rhythm_bps.maxshift) rhythm_bps.nshift = 0; - } - - write (speakers, (int *) samples_buffer, samples_buffer_size); - - } - - return (void *) 0; - -} - -static int start_esd () -{ - - esd_format_t format = ESD_BITS16 | ESD_STEREO | ESD_STREAM | ESD_PLAY; - speakers = esd_play_stream_fallback(format, ESD_DEFAULT_RATE, NULL, "boxar_speakers"); - - if (speakers <= 0) { - printf ("couldnt output to speakers\n"); - return -1; - } else { - samples_buffer_size = num_samples * num_channels * sizeof (short); - samples_buffer = (short* ) malloc (samples_buffer_size); - pthread_create (&audio_thread, 0, audio_wanted, 0); - } - - return 0; -} - -static int stop_esd () { - runme = 0; - pthread_join (audio_thread, 0); - close(speakers); - // if (samples_buffer) free (samples_buffer); //TODO: Invalid free() -} - -void get_frequency_params (double f, int* npuls, int* err) { - double dpuls = (sample_rate / (2 * f)); - npuls[0] = (int) dpuls; - npuls[1] = npuls[0]; - npuls[2] = npuls[0]; - *err = (dpuls - npuls[0]) * ERROR_LIMIT; -} - -void init_box_globals (int _ntones, int _noctaves) { - - boxg.gap = 3; - boxg.left = boxg.gap; - boxg.bottom = win.height; - boxg.width = (win.width - boxg.gap) / _ntones - boxg.gap; - boxg.height = (win.height - win.menubar_height) / _noctaves - boxg.gap; - nboxes = _ntones * _noctaves; - calc_decay (); - -} - -void init_boxes () { - - int i, j, k = 0; - int x = 0, y = win.height; - double f = start_frequency, g = 0; - - for (i = 0; i < noctaves; ++i) { - - x = boxg.gap; - - for (j = 0; j < ntones; ++j, ++k) { - - struct box_snd b = boxsnd [k]; - struct box_pos bp = boxpos [k]; - - bp.x1 = x; bp.x2 = x + boxg.width; - bp.y2 = y; bp.y1 = y - boxg.height; - bp.wipe = 0; - - g = f * scales[iscale].intervals[j]; - get_frequency_params (g, b.npuls, &b.err); - - b.puls_id = 0; - b.run = 0; - b.shift = b.npuls[b.puls_id]; - b.cerr = b.err; - b.puls_min = pwm_depth * b.npuls[2]; - - b.pw_sam = 0; - b.pw_nsam = (int)(2 * g / pwm_rate); - b.pws = 1; - - b.sign = 1; - b.amp = 0; - - b.state = SILENT; - b.dkid = 0; - - boxsnd [k] = b; - boxpos [k] = bp; - - x = x + boxg.width + boxg.gap; - - } - y = y - boxg.height - boxg.gap; - f = g; - - } - -} - -void set_scale (int i) { - iscale = i; - ntones = scales [iscale].ntones; - noctaves = scales[iscale].noctaves; - init_box_globals (ntones, noctaves); - init_boxes (); - - sprintf (mesg, " Loaded: %s", scales[iscale].name); - gtk_label_set_text (statusbar_label, mesg); - -} - -int skip_draw = -1; - -gboolean refresh_boxes (gpointer data) { - - GdkGC* gc = window->style->black_gc; - GdkColor c; c.red = 0; c.green = DEFAULT_COLOR; c.blue = c.green; - int i; - - for (i = 0; i < nboxes; ++i) { - if (boxsnd [i].state != SILENT) { - if (skip_draw != i) { - c.red = boxsnd [i].amp << RED_SHIFT; - gdk_gc_set_rgb_fg_color (gc, &c); - gdk_draw_rectangle (window->window, gc, 1, boxpos[i].x1, boxpos[i].y1, boxg.width, boxg.height); - } else skip_draw = -1; - } else if (boxpos[i].wipe) { - boxpos[i].wipe = 0; - c.red = 0; - gdk_gc_set_rgb_fg_color (gc, &c); - gdk_draw_rectangle (window->window, gc, 1, boxpos[i].x1, boxpos[i].y1, boxg.width, boxg.height); - } - } - - return 1; - -} - -void draw_empty_boxes () { - - GdkGC* gc = window->style->black_gc; - GdkColor color; color.red = color.green = color.blue = 0; - int i; - - gdk_gc_set_rgb_fg_color (gc, &color); - gdk_draw_rectangle (window->window, gc, TRUE, 0, 0, win.width, win.height); - - color.red = 0; color.green = DEFAULT_COLOR; color.blue = color.green; - gdk_gc_set_rgb_fg_color (gc, &color); - for (i = 0; i < nboxes; ++i) { - gdk_draw_rectangle (window->window, gc, 1, boxpos[i].x1, boxpos[i].y1, boxg.width, boxg.height); - } - -} - -void select_boxes (double x, double y, double pressure) { - - int i; - GdkGC* gc; - GdkColor c; - - i = last_box; - if ( (x >= boxpos[i].x1 && x <= boxpos[i].x2) && (y >= boxpos[i].y1 && y <= boxpos[i].y2) ) { - boxsnd[i].amp = DEFAULT_AMP; - boxsnd[i].state = DECAY; - return; - } - - for (i = 0; i < nboxes; ++i) { - if (i != last_box) { - if ( (x >= boxpos[i].x1 && x <= boxpos[i].x2) && (y >= boxpos[i].y1 && y <= boxpos[i].y2) ) { - boxsnd[i].amp = DEFAULT_AMP; - boxsnd[i].state = DECAY; - last_box = i; - skip_draw = i; - - // draw now for quick feedback. do not wait for refresh - gc = window->style->black_gc; - c.red = boxsnd[i].amp << RED_SHIFT; c.green = DEFAULT_COLOR; c.blue = c.green; - gdk_gc_set_rgb_fg_color (gc, &c); - gdk_draw_rectangle (window->window, gc, 1, boxpos[i].x1, boxpos[i].y1, boxg.width, boxg.height); - - return; - } - } - } - -} - -rhythm_pattern rnd1, rnd2, rnd; - -void init_rand () { - rnd1 = clock (); - rnd2 = clock (); -} - -rhythm_pattern get_rand () { - /* - * simple random number generator - * fibonacci summation - * used in elite game on the amiga - */ - rnd = rnd1 + rnd2; - rnd1 = rnd2; - rnd2 = rnd; - return rnd; -} - -static gboolean expose_event (GtkWidget *widget, GdkEventExpose *event) { - draw_empty_boxes (); - return TRUE; -} - -static gboolean button_press_event (GtkWidget *widget, GdkEventButton *event) -{ - button_state_last=DOWN; - static gdouble px = -1, py = -1; - if ((event->x == px) && (event->x == py)) return TRUE; else {px = event->x; py = event->y;} - gdouble pressure; - gdk_event_get_axis ((GdkEvent *)event, GDK_AXIS_PRESSURE, &pressure); - select_boxes (event->x, event->y, pressure); - return TRUE; -} - - -static gboolean button_release_event (GtkWidget *widget, GdkEventButton *event) -{ - button_state_last=UP; - return TRUE; -} - -static gboolean motion_notify_event (GtkWidget *widget, GdkEventMotion *event) { - gdouble x, y; - gdouble pressure; - GdkModifierType state; - if ( button_state_last == UP ) return TRUE; - - if (event->is_hint) - { - gdk_device_get_state (event->device, event->window, NULL, &state); - gdk_event_get_axis ((GdkEvent *)event, GDK_AXIS_X, &x); - gdk_event_get_axis ((GdkEvent *)event, GDK_AXIS_Y, &y); - gdk_event_get_axis ((GdkEvent *)event, GDK_AXIS_PRESSURE, &pressure); - }else - { - x = event->x; - y = event->y; - gdk_event_get_axis ((GdkEvent *)event, GDK_AXIS_PRESSURE, &pressure); - state = event->state; - } - select_boxes (x, y, pressure); - return TRUE; -} - -void on_toggle_menu () { - show_menubar = !show_menubar; - if (show_menubar) gtk_widget_show (menubar); else gtk_widget_hide (menubar); -} - -static gboolean on_toggle_fullscreen() -{ - toggle_fullscreen( (GtkWindow*) window); -} - -static void on_quit() -{ - stop_esd(); // check - gtk_main_quit(); -} - - -/// Note this do not resize widget's contents -/// @return : full screen state after set -/// @author: philippe coval -- http://rzr.online.fr/contact.htm -gboolean toggle_fullscreen(GtkWindow* window) -{ - assert(window); - assert(window->screen); - gint w=0, h=0; - gtk_window_get_size(GTK_WINDOW(window), &w, &h); - if( ( w== gdk_screen_get_width(window->screen) ) - && ( h == gdk_screen_get_height(window->screen) ) ) { - gtk_window_unfullscreen(window); - return FALSE; - } else { - gtk_window_fullscreen(window); - return TRUE; - } -} - - -void change_bps (struct bps_t* bps, int d) { - bps->bps += (d * bps->delta_bps); - if (bps->bps < 0) bps->bps = bps->delta_bps; - bps->nsam = sample_rate / bps->bps; - sprintf (mesg, " Throb speed = %.2f", bps->bps); - gtk_label_set_text (statusbar_label, mesg); -} - -void change_rhythm (gint* i) { - - rhythm_pat.l = get_rand (); - rhythm_pat.r = get_rand (); - sprintf (mesg, " Throb L, R : %04X, %04X", rhythm_pat.l, rhythm_pat.r); - gtk_label_set_text (statusbar_label, mesg); - -} - -void toggle_rhythm (gint* i) { - - if ((rhythm_pat.l == empty_pat.l) && (rhythm_pat.r == empty_pat.r)) { - rhythm_pat = last_rhythm_pat; - sprintf (mesg, " Throb L, R: %04X, %04X", rhythm_pat.l, rhythm_pat.r); - } else { - last_rhythm_pat = rhythm_pat; - rhythm_pat = empty_pat; - sprintf (mesg, " Stopped throbbing"); - } - gtk_label_set_text (statusbar_label, mesg); - -} - -void inc_rhythm_bps (gint* i) { - change_bps (&rhythm_bps, +1); -} - -void dec_rhythm_bps (gint* i) { - change_bps (&rhythm_bps, -1); -} - -void toggle_pwm (gint* i) { - do_pwm = !do_pwm; - char* str[] = {"Off", "On"}; - sprintf (mesg, " Sway is %s", str[do_pwm]); - gtk_label_set_text (statusbar_label, mesg); -} - -void calc_pwm () { - int i, j, k = 0; - double f = start_frequency, g = 0; - for (i = 0; i < noctaves; ++i) { - for (j = 0; j < ntones; ++j, ++k) { - struct box_snd b = boxsnd [k]; - g = f * scales[iscale].intervals[j]; - b.pw_nsam = (int)(2 * g / pwm_rate); - boxsnd [k] = b; - } - f = g; - } - sprintf (mesg, " Sway rate = %d Hz", pwm_rate); - gtk_label_set_text (statusbar_label, mesg); - - -} - -void inc_rate (gint* p) { - pwm_rate += delta_pwm_rate; - calc_pwm (); -} - -void dec_rate (gint* p) { - if (pwm_rate <= delta_pwm_rate) return; - pwm_rate -= delta_pwm_rate; - calc_pwm (); -} - -void calc_depth () { - int i; - for (i = 0; i < nboxes; ++i) boxsnd[i].puls_min = pwm_depth * boxsnd[i].npuls[2]; - sprintf (mesg, " Sway = %d %%", (int)((1 - pwm_depth) * 100)); - gtk_label_set_text (statusbar_label, mesg); -} - -void inc_depth (gint* p) { - - pwm_depth += delta_pwm_depth; - if (pwm_depth > max_depth) pwm_depth = max_depth; - calc_depth (); - -} - -void dec_depth (gint* p) { - - if (pwm_depth <= 0) pwm_depth = 0; else pwm_depth -= delta_pwm_depth; - calc_depth (); - -} - -void dec_decay (gint* p) { - decay_time -= delta_decay_time; - if (decay_time <= 0) decay_time = delta_decay_time; - calc_decay (); -} - -void inc_decay (gint* p) { - decay_time += delta_decay_time; - calc_decay (); -} - -static gboolean key_press_event (GtkWidget * widget, GdkEventKey * event, void* ptr) -{ - - switch (event->keyval) { - - case GDK_F7: - inc_rhythm_bps (0); - break; - - case GDK_F8: - dec_rhythm_bps (0); - break; - - case GDK_Escape: - change_rhythm (0); - break; - - case GDK_F6: - toggle_rhythm (0); - break; - - case GDK_Return: - toggle_pwm (0); - break; - - case GDK_Up: - inc_rate (0); - break; - - case GDK_Down: - dec_rate (0); - break; - - case GDK_Left: - inc_depth (0); - break; - - case GDK_Right: - dec_depth (0); - break; - - #define COMMA 44 - #define FULLSTOP 46 - #define LESS_THAN 60 - #define GREATER_THAN 62 - - case COMMA: - case LESS_THAN: - dec_decay (0); - break; - - case FULLSTOP: - case GREATER_THAN: - inc_decay (0); - break; - - case GDK_q: - case GDK_Q: - case GDK_x: - case GDK_X: - on_quit(); - break; - case GDK_F11: - case GDK_f: - case GDK_F: - on_toggle_fullscreen(); - break; - - case GDK_F4: - case GDK_m: - case GDK_M: - default: - on_toggle_menu (); - break; - } - - return TRUE; -} - -void scale_changed ( gint* i) -{ - set_scale ((int)i); - draw_empty_boxes (); -} - -void no_rhythm () { - empty_pat.l = DEFAULT_RHYTHM_PATTERN; - empty_pat.r = DEFAULT_RHYTHM_PATTERN; - rhythm_pat = empty_pat; - last_rhythm_pat = rhythm_pat; -} - -void init_bps () { - rhythm_bps.bps = 32; - rhythm_bps.delta_bps = 1; - rhythm_bps.i = 0; - rhythm_bps.nshift = 0; - rhythm_bps.maxshift = 8 * sizeof (rhythm_pattern) - 1; - rhythm_bps.nsam = sample_rate / rhythm_bps.bps; -} - -#define REFRESH_MSECS 100 - -int main (int argc, char *argv[]) -{ - - int tid; - int i; - - GtkWidget *menu; - GtkWidget *item_boxar, *item_scale, *item_rhythm, *dummy; - GtkWidget* item; - GSList* melgrp = 0; - - char* str; - - char* about [] = { - "Menu hide/show", - "Fullscreen toggle", - "Quit", - "-", - PACKAGE "-" VERSION, - "Copyright (c) 2008 S Jagannathan", - "Distributed under GPL 2.0 license", - "E-mail me: jagernot@gmail.com", - "My website: www.poojyum.com" - }; - - menu_callback about_cb [] = { - on_toggle_menu, - on_toggle_fullscreen, - on_quit, - }; - - char* rhythm_items [] = { - "New Throb [ESC]", - "Throb faster (+)", - "Throb slower (-)", - "Toggle throbbing [F6]", - "-", - "Toggle Sway [Select]", - "Sway faster (Up)", - "Sway slower (Down)", - "Sway less (Left)", - "Sway more (Right)", - "-", - "Increase decay (< or ,)", - "Decrease decay (> or .)" - }; - - menu_callback rhythm_cb [] = { - change_rhythm, - inc_rhythm_bps, - dec_rhythm_bps, - toggle_rhythm, - 0, - toggle_pwm, - inc_rate, - dec_rate, - inc_depth, - dec_depth, - 0, - inc_decay, - dec_decay - }; - - gtk_init (&argc, &argv); - - window = gtk_window_new (GTK_WINDOW_TOPLEVEL); - gtk_window_set_title (window, PACKAGE "-" VERSION); - - menu = gtk_menu_new (); - item_boxar = gtk_menu_item_new_with_label ("Boxar"); - gtk_widget_show (item_boxar); - gtk_menu_item_set_submenu (GTK_MENU_ITEM (item_boxar), menu); - for (i = 0; i < 8+1; ++i) { - str = about[i]; - if (strcmp (str, "-") == 0) { - item = gtk_separator_menu_item_new (); - gtk_menu_shell_append (GTK_MENU_SHELL (menu), item); - gtk_widget_show (item); - } else { - item = gtk_menu_item_new_with_label (about[i]); - gtk_menu_shell_append (GTK_MENU_SHELL (menu), item); - gtk_widget_show (item); - if (i < 3) { - g_signal_connect_swapped (G_OBJECT (item), "activate", G_CALLBACK (about_cb[i]), 0); - } - - } - - } - - menu = gtk_menu_new (); - item_scale = gtk_menu_item_new_with_label ("Melody"); - gtk_widget_show (item_scale); - - for (i = 0; i < NUM_SCALES; ++i) { - item = gtk_radio_menu_item_new_with_label (melgrp, scales[i].name); - melgrp = gtk_radio_menu_item_get_group (item); - gtk_menu_shell_append (GTK_MENU_SHELL (menu), item); - gtk_widget_show (item); - g_signal_connect_swapped (G_OBJECT (item), "activate", - G_CALLBACK (scale_changed), - i); - } - gtk_menu_item_set_submenu (GTK_MENU_ITEM (item_scale), menu); - - menu = gtk_menu_new (); - item_rhythm = gtk_menu_item_new_with_label ("Rhythm"); - gtk_widget_show (item_rhythm); - gtk_menu_item_set_submenu (GTK_MENU_ITEM (item_rhythm), menu); - - for (i = 0; i < 13; ++i) { - if (strcmp (rhythm_items[i], "-") == 0) { - item = gtk_separator_menu_item_new (); - gtk_menu_shell_append (GTK_MENU_SHELL (menu), item); - gtk_widget_show (item); - } else { - item = gtk_menu_item_new_with_label (rhythm_items [i]); - gtk_menu_shell_append (GTK_MENU_SHELL (menu), item); - gtk_widget_show (item); - g_signal_connect_swapped (G_OBJECT (item), "activate", G_CALLBACK (rhythm_cb[i]), i); - } - } - - - - menu = gtk_menu_new (); - statusbar = gtk_menu_item_new_with_label (""); - gtk_widget_show (statusbar); - - item = gtk_tearoff_menu_item_new (); - gtk_menu_shell_append (GTK_MENU_SHELL (menu), item); - - - gtk_menu_item_set_submenu (GTK_MENU_ITEM(statusbar), menu); - statusbar_label = GTK_LABEL( gtk_bin_get_child (GTK_BIN (statusbar)) ); - - - vbox = gtk_vbox_new (FALSE, 0); - gtk_container_add (GTK_CONTAINER (window), vbox); - gtk_widget_show (vbox); - - menubar = gtk_menu_bar_new (); - gtk_box_pack_start (GTK_BOX (vbox), menubar, FALSE, FALSE, 2); - gtk_menu_bar_append (GTK_MENU_BAR (menubar), item_boxar); - gtk_menu_bar_append (GTK_MENU_BAR (menubar), item_scale); - gtk_menu_bar_append (GTK_MENU_BAR (menubar), item_rhythm); - gtk_menu_bar_append (GTK_MENU_BAR (menubar), statusbar); - - - gtk_widget_show (menubar); - - // hardcode for maemo / n810 tablet. - win.width = 800; - win.height = 480; - win.menubar_height = 0; - -#ifndef WANT_WVGA //#~rzr{ default: full screen - GdkScreen* screen = NULL; - screen = gtk_window_get_screen(GTK_WINDOW(window)); - win.width = gdk_screen_get_width(screen); - win.height = gdk_screen_get_height(screen); - if ( win.width = 0 ) win.width = 200; // workaround for qtmoko - if ( win.height = 0 ) win.height = win.width; -#endif //#~rzr} - - gtk_window_fullscreen( (GtkWindow*) window); - - init_rand (); - no_rhythm (); - init_bps (); - set_scale (0); - - g_signal_connect (G_OBJECT (window), "destroy", - G_CALLBACK (gtk_main_quit), NULL); - - - g_signal_connect (G_OBJECT (window), "expose_event", - G_CALLBACK (expose_event), NULL); - - g_signal_connect (G_OBJECT (window), "button_press_event", - G_CALLBACK (button_press_event), NULL); - - g_signal_connect (G_OBJECT (window), "button_release_event", - G_CALLBACK (button_release_event), NULL); - - g_signal_connect (G_OBJECT (window), "motion_notify_event", - G_CALLBACK (motion_notify_event), NULL); - - - g_signal_connect (G_OBJECT (window), "key_press_event", G_CALLBACK (key_press_event), NULL); - - gtk_widget_set_events (window, GDK_EXPOSURE_MASK - | GDK_LEAVE_NOTIFY_MASK - | GDK_KEY_PRESS_MASK - | GDK_BUTTON_PRESS_MASK - | GDK_BUTTON_RELEASE_MASK - | GDK_POINTER_MOTION_MASK - | GDK_POINTER_MOTION_HINT_MASK); - - gtk_widget_set_extension_events (window, GDK_EXTENSION_EVENTS_CURSOR); - - gtk_widget_show_all (window); - - start_esd (); - tid = g_timeout_add (REFRESH_MSECS, refresh_boxes, 0); - gtk_main (); - g_source_remove (tid); - stop_esd (); - - - - return 0; -} diff -Nru boxar-0.0.20091120/.svn/text-base/boxar.desktop.svn-base boxar-0.0.20100122/.svn/text-base/boxar.desktop.svn-base --- boxar-0.0.20091120/.svn/text-base/boxar.desktop.svn-base 2009-11-20 18:50:20.000000000 +0000 +++ boxar-0.0.20100122/.svn/text-base/boxar.desktop.svn-base 1970-01-01 01:00:00.000000000 +0100 @@ -1,14 +0,0 @@ -[Desktop Entry] -Name=boxar -GenericName=Paint music on tiles -GenericName[fr]=Dessine de la musique sur des cases -Comment=boxar piano -Categories=AudioVideo;Audio; -Exec=boxar -Icon=boxar -Terminal=false -StartupNotify=true -Encoding=UTF-8 -Version=1.0 -Type=Application -SingleInstance=true diff -Nru boxar-0.0.20091120/.svn/text-base/boxar.spec.svn-base boxar-0.0.20100122/.svn/text-base/boxar.spec.svn-base --- boxar-0.0.20091120/.svn/text-base/boxar.spec.svn-base 2009-11-20 18:50:20.000000000 +0000 +++ boxar-0.0.20100122/.svn/text-base/boxar.spec.svn-base 1970-01-01 01:00:00.000000000 +0100 @@ -1,51 +0,0 @@ -# @author: philippe coval -- http://rzr.online.fr/contact.htm - -%if %{defined mandriva_version} - -%if 0%{mandriva_version} >= 2009 - Substitute: libesound-devel esound-devel -%endif - -%else - -%if %{defined standard_version} -#TODO: nothing provides java-preinit -%endif -%else %{defined suse_version} -#%suse_update_desktop_file -n -%endif - -BuildRequires: gcc, gtk2-devel, esound-devel - -Name: boxar -License: GNU General Public License (GPL) - all versions -URL: http://rzr.online.fr/q/esd -Group: Applications/Sound -Version: 0.0.0 -Release: 0 -Summary: Paint music on tiles -Packager: Philippe Coval -Source: %{name}_%{version}.orig.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-build - -%description -Kind of multiscale piano originally for handled devices - -%prep -%setup -q - -%build -make - -%install -make DESTDIR=%{buildroot} install - -%clean -make clean -rm -rf $RPM_BUILD_ROOT - -%files -%defattr(-,root,root) -/* - -#eof diff -Nru boxar-0.0.20091120/.svn/text-base/boxar.xpm.svn-base boxar-0.0.20100122/.svn/text-base/boxar.xpm.svn-base --- boxar-0.0.20091120/.svn/text-base/boxar.xpm.svn-base 2009-11-20 18:50:20.000000000 +0000 +++ boxar-0.0.20100122/.svn/text-base/boxar.xpm.svn-base 1970-01-01 01:00:00.000000000 +0100 @@ -1,145 +0,0 @@ -/* XPM */ -static char * boxar_xpm[] = { -"32 32 110 2", -" c None", -". c #AAADAC", -"+ c #A6A9A8", -"@ c #B7BABA", -"# c #B6B9B9", -"$ c #C2B9B8", -"% c #D6B9B9", -"& c #D5B9B9", -"* c #D7BAB9", -"= c #BFB9B9", -"- c #B6B9B8", -"; c #001313", -"> c #001515", -", c #001212", -"' c #581414", -") c #FF1515", -"! c #FC1414", -"~ c #3F1212", -"{ c #001111", -"] c #001D1D", -"^ c #001F1F", -"/ c #001C1C", -"( c #5E1D1D", -"_ c #FF1F1F", -": c #FB1E1E", -"< c #461C1C", -"[ c #001B1B", -"} c #451C1C", -"| c #001919", -"1 c #531A1A", -"2 c #E61B1B", -"3 c #E21B1B", -"4 c #DF1B1B", -"5 c #E91B1B", -"6 c #741818", -"7 c #561B1B", -"8 c #321919", -"9 c #001717", -"0 c #601D1D", -"a c #FF1E1E", -"b c #EC1C1C", -"c c #8E1C1C", -"d c #E71C1C", -"e c #8B1C1C", -"f c #0D1C1C", -"g c #0E1E1E", -"h c #0D1B1B", -"i c #601C1C", -"j c #EC1E1E", -"k c #E91E1E", -"l c #E81D1D", -"m c #F51D1D", -"n c #F81E1E", -"o c #E11B1B", -"p c #F71E1E", -"q c #8B1B1B", -"r c #001E1E", -"s c #001A1A", -"t c #E51A1A", -"u c #F41C1C", -"v c #F71D1D", -"w c #E11A1A", -"x c #F31C1C", -"y c #EB1C1C", -"z c #EE1D1D", -"A c #D61A1A", -"B c #841A1A", -"C c #001818", -"D c #ED1D1D", -"E c #E81C1C", -"F c #941D1D", -"G c #F01D1D", -"H c #EA1C1C", -"I c #901D1D", -"J c #EE1C1C", -"K c #901C1C", -"L c #D21919", -"M c #E31B1B", -"N c #CF1919", -"O c #C51A1A", -"P c #B41B1B", -"Q c #B31B1B", -"R c #B01B1B", -"S c #E01B1B", -"T c #E81B1B", -"U c #5E1818", -"V c #361B1B", -"W c #1F1919", -"X c #F41D1D", -"Y c #FC1E1E", -"Z c #FD1E1E", -"` c #471C1C", -" . c #F21D1D", -".. c #EF1D1D", -"+. c #E91C1C", -"@. c #F31D1D", -"#. c #D51A1A", -"$. c #E51C1C", -"%. c #A31919", -"&. c #9E1C1C", -"*. c #961A1A", -"=. c #9F1C1C", -"-. c #9C1C1C", -";. c #A41C1C", -">. c #2B1919", -",. c #ED1C1C", -"'. c #FE1E1E", -"). c #421C1C", -"!. c #FA1C1C", -"~. c #431A1A", -". + @ # # # # # # # $ % & & & & & & & & * = # # # # # # # # # - ", -"; > > > > , > > > > ' ) ) ) ) ! ! ) ) ) ) ~ > > > > , > > > > { ", -"] ^ ^ ^ ^ / ^ ^ ^ ^ ( _ _ _ _ : : _ _ _ _ < ^ ^ ^ ^ / ^ ^ ^ ^ [ ", -"] ^ ^ ^ ^ / ^ ^ ^ ^ ( _ _ _ _ : : _ _ _ _ < ^ ^ ^ ^ / ^ ^ ^ ^ [ ", -"] ^ ^ ^ ^ / ^ ^ ^ ^ ( _ _ _ _ : : _ _ _ _ } ^ ^ ^ ^ / ^ ^ ^ ^ [ ", -"| [ [ [ [ | [ [ [ [ 1 2 3 3 3 4 4 3 3 3 5 6 7 7 7 7 8 [ [ [ [ 9 ", -"] ^ ^ ^ ^ / ^ ^ ^ ^ 0 _ _ _ _ a a _ _ _ _ b _ _ _ _ c ^ ^ ^ ^ [ ", -"] ^ ^ ^ ^ / ^ ^ ^ ^ ( _ _ _ _ : : _ _ _ _ d _ _ _ _ e ^ ^ ^ ^ [ ", -"] ^ ^ ^ ^ / ^ ^ ^ ^ ( _ _ _ _ : : _ _ _ _ d _ _ _ _ e ^ ^ ^ ^ [ ", -"] ^ ^ ^ ^ / ^ ^ ^ ^ ( _ _ _ _ : : _ _ _ _ d _ _ _ _ e ^ ^ ^ ^ [ ", -"f g g g g h g g g g i j k k k l m n n n : o n n n p q r r r r s ", -"t u u u v w u u u u q ] / / / / x y y y z A y y y y B ] / / / C ", -"D _ _ _ _ E _ _ _ _ F ^ ^ ^ ^ r a _ _ _ _ d _ _ _ _ e ^ ^ ^ ^ [ ", -"z _ _ _ _ E _ _ _ _ F ^ ^ ^ ^ r a _ _ _ _ d _ _ _ _ e ^ ^ ^ ^ [ ", -"z _ _ _ _ E _ _ _ _ F ^ ^ ^ ^ r a _ _ _ _ d _ _ _ _ e ^ ^ ^ ^ [ ", -"G _ _ _ _ H _ _ _ _ I ^ ^ ^ ^ r a _ _ _ _ J _ _ _ _ K ^ ^ ^ ^ [ ", -"L o o o M N o o o o O P Q Q Q R S o o o T U V V V V W [ [ [ [ 9 ", -"G _ _ _ _ H _ _ _ _ X _ _ _ _ Y Z _ _ _ _ ` ^ ^ ^ ^ / ^ ^ ^ ^ [ ", -"z _ _ _ _ E _ _ _ _ ._ _ _ _ : : _ _ _ _ < ^ ^ ^ ^ / ^ ^ ^ ^ [ ", -"z _ _ _ _ E _ _ _ _ ._ _ _ _ : : _ _ _ _ < ^ ^ ^ ^ / ^ ^ ^ ^ [ ", -".._ _ _ _ +._ _ _ _ @._ _ _ _ Y Y _ _ _ _ < ^ ^ ^ ^ / ^ ^ ^ ^ [ ", -"#.$.$.$.+.%.&.&.&.&.*.=.&.&.&.-.-.&.&.&.;.>./ / / / | / / / / C ", -",.'.'.'.a ).r r r r ] r r r r r r r r r ^ / r r r r / r r r r s ", -"z _ _ _ _ } ^ ^ ^ ^ ] ^ ^ ^ ^ r r ^ ^ ^ ^ / ^ ^ ^ ^ / ^ ^ ^ ^ [ ", -"z _ _ _ _ } ^ ^ ^ ^ ] ^ ^ ^ ^ r r ^ ^ ^ ^ / ^ ^ ^ ^ / ^ ^ ^ ^ [ ", -"D _ _ _ _ } ^ ^ ^ ^ ] ^ ^ ^ ^ r r ^ ^ ^ ^ / ^ ^ ^ ^ / ^ ^ ^ ^ [ ", -"t u u u !.~./ / / / s / / / / [ [ / / / / | / / / / s / / / / C ", -"/ r r r ^ / r r r r ] r r r r r r r r r ^ [ r r r r / ^ r r r s ", -"] ^ ^ ^ ^ / ^ ^ ^ ^ ] ^ ^ ^ ^ r r ^ ^ ^ ^ / ^ ^ ^ ^ / ^ ^ ^ ^ [ ", -"] ^ ^ ^ ^ / ^ ^ ^ ^ ] ^ ^ ^ ^ r r ^ ^ ^ ^ / ^ ^ ^ ^ / ^ ^ ^ ^ [ ", -"] ^ ^ ^ ^ / ^ ^ ^ ^ ] ^ ^ ^ ^ r r ^ ^ ^ ^ / ^ ^ ^ ^ / ^ ^ ^ ^ [ ", -"/ ^ ^ ^ ^ / ^ ^ ^ ^ ] ^ ^ ^ ^ r r ^ ^ ^ ^ / ^ ^ ^ ^ / ^ ^ ^ ^ s "}; diff -Nru boxar-0.0.20091120/.svn/text-base/COPYING.svn-base boxar-0.0.20100122/.svn/text-base/COPYING.svn-base --- boxar-0.0.20091120/.svn/text-base/COPYING.svn-base 2009-11-20 18:50:20.000000000 +0000 +++ boxar-0.0.20100122/.svn/text-base/COPYING.svn-base 1970-01-01 01:00:00.000000000 +0100 @@ -1,339 +0,0 @@ - GNU GENERAL PUBLIC LICENSE - Version 2, June 1991 - - Copyright (C) 1989, 1991 Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The licenses for most software are designed to take away your -freedom to share and change it. By contrast, the GNU General Public -License is intended to guarantee your freedom to share and change free -software--to make sure the software is free for all its users. This -General Public License applies to most of the Free Software -Foundation's software and to any other program whose authors commit to -using it. (Some other Free Software Foundation software is covered by -the GNU Lesser General Public License instead.) You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -this service if you wish), that you receive source code or can get it -if you want it, that you can change the software or use pieces of it -in new free programs; and that you know you can do these things. - - To protect your rights, we need to make restrictions that forbid -anyone to deny you these rights or to ask you to surrender the rights. -These restrictions translate to certain responsibilities for you if you -distribute copies of the software, or if you modify it. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must give the recipients all the rights that -you have. You must make sure that they, too, receive or can get the -source code. And you must show them these terms so they know their -rights. - - We protect your rights with two steps: (1) copyright the software, and -(2) offer you this license which gives you legal permission to copy, -distribute and/or modify the software. - - Also, for each author's protection and ours, we want to make certain -that everyone understands that there is no warranty for this free -software. If the software is modified by someone else and passed on, we -want its recipients to know that what they have is not the original, so -that any problems introduced by others will not reflect on the original -authors' reputations. - - Finally, any free program is threatened constantly by software -patents. We wish to avoid the danger that redistributors of a free -program will individually obtain patent licenses, in effect making the -program proprietary. To prevent this, we have made it clear that any -patent must be licensed for everyone's free use or not licensed at all. - - The precise terms and conditions for copying, distribution and -modification follow. - - GNU GENERAL PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. This License applies to any program or other work which contains -a notice placed by the copyright holder saying it may be distributed -under the terms of this General Public License. The "Program", below, -refers to any such program or work, and a "work based on the Program" -means either the Program or any derivative work under copyright law: -that is to say, a work containing the Program or a portion of it, -either verbatim or with modifications and/or translated into another -language. (Hereinafter, translation is included without limitation in -the term "modification".) Each licensee is addressed as "you". - -Activities other than copying, distribution and modification are not -covered by this License; they are outside its scope. The act of -running the Program is not restricted, and the output from the Program -is covered only if its contents constitute a work based on the -Program (independent of having been made by running the Program). -Whether that is true depends on what the Program does. - - 1. You may copy and distribute verbatim copies of the Program's -source code as you receive it, in any medium, provided that you -conspicuously and appropriately publish on each copy an appropriate -copyright notice and disclaimer of warranty; keep intact all the -notices that refer to this License and to the absence of any warranty; -and give any other recipients of the Program a copy of this License -along with the Program. - -You may charge a fee for the physical act of transferring a copy, and -you may at your option offer warranty protection in exchange for a fee. - - 2. You may modify your copy or copies of the Program or any portion -of it, thus forming a work based on the Program, and copy and -distribute such modifications or work under the terms of Section 1 -above, provided that you also meet all of these conditions: - - a) You must cause the modified files to carry prominent notices - stating that you changed the files and the date of any change. - - b) You must cause any work that you distribute or publish, that in - whole or in part contains or is derived from the Program or any - part thereof, to be licensed as a whole at no charge to all third - parties under the terms of this License. - - c) If the modified program normally reads commands interactively - when run, you must cause it, when started running for such - interactive use in the most ordinary way, to print or display an - announcement including an appropriate copyright notice and a - notice that there is no warranty (or else, saying that you provide - a warranty) and that users may redistribute the program under - these conditions, and telling the user how to view a copy of this - License. (Exception: if the Program itself is interactive but - does not normally print such an announcement, your work based on - the Program is not required to print an announcement.) - -These requirements apply to the modified work as a whole. If -identifiable sections of that work are not derived from the Program, -and can be reasonably considered independent and separate works in -themselves, then this License, and its terms, do not apply to those -sections when you distribute them as separate works. But when you -distribute the same sections as part of a whole which is a work based -on the Program, the distribution of the whole must be on the terms of -this License, whose permissions for other licensees extend to the -entire whole, and thus to each and every part regardless of who wrote it. - -Thus, it is not the intent of this section to claim rights or contest -your rights to work written entirely by you; rather, the intent is to -exercise the right to control the distribution of derivative or -collective works based on the Program. - -In addition, mere aggregation of another work not based on the Program -with the Program (or with a work based on the Program) on a volume of -a storage or distribution medium does not bring the other work under -the scope of this License. - - 3. You may copy and distribute the Program (or a work based on it, -under Section 2) in object code or executable form under the terms of -Sections 1 and 2 above provided that you also do one of the following: - - a) Accompany it with the complete corresponding machine-readable - source code, which must be distributed under the terms of Sections - 1 and 2 above on a medium customarily used for software interchange; or, - - b) Accompany it with a written offer, valid for at least three - years, to give any third party, for a charge no more than your - cost of physically performing source distribution, a complete - machine-readable copy of the corresponding source code, to be - distributed under the terms of Sections 1 and 2 above on a medium - customarily used for software interchange; or, - - c) Accompany it with the information you received as to the offer - to distribute corresponding source code. (This alternative is - allowed only for noncommercial distribution and only if you - received the program in object code or executable form with such - an offer, in accord with Subsection b above.) - -The source code for a work means the preferred form of the work for -making modifications to it. For an executable work, complete source -code means all the source code for all modules it contains, plus any -associated interface definition files, plus the scripts used to -control compilation and installation of the executable. However, as a -special exception, the source code distributed need not include -anything that is normally distributed (in either source or binary -form) with the major components (compiler, kernel, and so on) of the -operating system on which the executable runs, unless that component -itself accompanies the executable. - -If distribution of executable or object code is made by offering -access to copy from a designated place, then offering equivalent -access to copy the source code from the same place counts as -distribution of the source code, even though third parties are not -compelled to copy the source along with the object code. - - 4. You may not copy, modify, sublicense, or distribute the Program -except as expressly provided under this License. Any attempt -otherwise to copy, modify, sublicense or distribute the Program is -void, and will automatically terminate your rights under this License. -However, parties who have received copies, or rights, from you under -this License will not have their licenses terminated so long as such -parties remain in full compliance. - - 5. You are not required to accept this License, since you have not -signed it. However, nothing else grants you permission to modify or -distribute the Program or its derivative works. These actions are -prohibited by law if you do not accept this License. Therefore, by -modifying or distributing the Program (or any work based on the -Program), you indicate your acceptance of this License to do so, and -all its terms and conditions for copying, distributing or modifying -the Program or works based on it. - - 6. Each time you redistribute the Program (or any work based on the -Program), the recipient automatically receives a license from the -original licensor to copy, distribute or modify the Program subject to -these terms and conditions. You may not impose any further -restrictions on the recipients' exercise of the rights granted herein. -You are not responsible for enforcing compliance by third parties to -this License. - - 7. If, as a consequence of a court judgment or allegation of patent -infringement or for any other reason (not limited to patent issues), -conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot -distribute so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you -may not distribute the Program at all. For example, if a patent -license would not permit royalty-free redistribution of the Program by -all those who receive copies directly or indirectly through you, then -the only way you could satisfy both it and this License would be to -refrain entirely from distribution of the Program. - -If any portion of this section is held invalid or unenforceable under -any particular circumstance, the balance of the section is intended to -apply and the section as a whole is intended to apply in other -circumstances. - -It is not the purpose of this section to induce you to infringe any -patents or other property right claims or to contest validity of any -such claims; this section has the sole purpose of protecting the -integrity of the free software distribution system, which is -implemented by public license practices. Many people have made -generous contributions to the wide range of software distributed -through that system in reliance on consistent application of that -system; it is up to the author/donor to decide if he or she is willing -to distribute software through any other system and a licensee cannot -impose that choice. - -This section is intended to make thoroughly clear what is believed to -be a consequence of the rest of this License. - - 8. If the distribution and/or use of the Program is restricted in -certain countries either by patents or by copyrighted interfaces, the -original copyright holder who places the Program under this License -may add an explicit geographical distribution limitation excluding -those countries, so that distribution is permitted only in or among -countries not thus excluded. In such case, this License incorporates -the limitation as if written in the body of this License. - - 9. The Free Software Foundation may publish revised and/or new versions -of the General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - -Each version is given a distinguishing version number. If the Program -specifies a version number of this License which applies to it and "any -later version", you have the option of following the terms and conditions -either of that version or of any later version published by the Free -Software Foundation. If the Program does not specify a version number of -this License, you may choose any version ever published by the Free Software -Foundation. - - 10. If you wish to incorporate parts of the Program into other free -programs whose distribution conditions are different, write to the author -to ask for permission. For software which is copyrighted by the Free -Software Foundation, write to the Free Software Foundation; we sometimes -make exceptions for this. Our decision will be guided by the two goals -of preserving the free status of all derivatives of our free software and -of promoting the sharing and reuse of software generally. - - NO WARRANTY - - 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY -FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN -OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES -PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED -OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS -TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE -PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, -REPAIR OR CORRECTION. - - 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR -REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, -INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING -OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED -TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY -YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER -PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE -POSSIBILITY OF SUCH DAMAGES. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -convey the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - - Copyright (C) - - 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 Street, Fifth Floor, Boston, MA 02110-1301 USA. - -Also add information on how to contact you by electronic and paper mail. - -If the program is interactive, make it output a short notice like this -when it starts in an interactive mode: - - Gnomovision version 69, Copyright (C) year name of author - Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, the commands you use may -be called something other than `show w' and `show c'; they could even be -mouse-clicks or menu items--whatever suits your program. - -You should also get your employer (if you work as a programmer) or your -school, if any, to sign a "copyright disclaimer" for the program, if -necessary. Here is a sample; alter the names: - - Yoyodyne, Inc., hereby disclaims all copyright interest in the program - `Gnomovision' (which makes passes at compilers) written by James Hacker. - - , 1 April 1989 - Ty Coon, President of Vice - -This General Public License does not permit incorporating your program into -proprietary programs. If your program is a subroutine library, you may -consider it more useful to permit linking proprietary applications with the -library. If this is what you want to do, use the GNU Lesser General -Public License instead of this License. diff -Nru boxar-0.0.20091120/.svn/text-base/Makefile.svn-base boxar-0.0.20100122/.svn/text-base/Makefile.svn-base --- boxar-0.0.20091120/.svn/text-base/Makefile.svn-base 2009-11-20 18:50:20.000000000 +0000 +++ boxar-0.0.20100122/.svn/text-base/Makefile.svn-base 1970-01-01 01:00:00.000000000 +0100 @@ -1,43 +0,0 @@ -#! /usr/bin/make -f -# -*- makefile -*- -default: all - -package?=boxar - -CFLAGS+=`pkg-config --cflags gtk+-2.0` -#CFLAGS+=-DWANT_WVGA -CFLAGS+=-g - -LDFLAGS+=\ - `pkg-config --libs gtk+-2.0 ` \ - `pkg-config --libs esound` \ - -lpthread \ - #}LDFLAGS - -all: ${package} - -${package}: ${package}.o - -clean: - rm -f *.o ${package} *~ *.ipk *.deb - -# maemo check: -# DESKTOP_DIR?=${DESTDIR}/usr/share/applications/hildon/ -DESKTOP_DIR?=${DESTDIR}/usr/share/applications/ - -install: ${package} - install -d "${DESTDIR}/usr/bin" - install "$<" ${DESTDIR}/usr/bin/ - install -d "${DESTDIR}/usr/share/applications" - install -d "${DESKTOP_DIR}" - install "${package}.desktop" ${DESKTOP_DIR}/ - install -d "${DESTDIR}/usr/share/pixmaps/" - install "${package}.xpm" "${DESTDIR}/usr/share/pixmaps/" - -run: ${package} - ${EXEC} ${