debian/0000755000000000000000000000000012215112567007170 5ustar debian/control0000644000000000000000000000124312215112436010566 0ustar Source: xball Section: games Priority: optional Maintainer: Stephen Birch Build-Depends: debhelper (>= 7.1), libmotif-dev, xutils-dev, libxmu-dev, libxt-dev, autotools-dev Standards-Version: 3.8.4 Package: xball Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends} Description: Simulate bouncing balls in a window A simple educational game that simulates bouncing balls in a window. Gravity, elasticity, and ability to collide can all be adjusted. . Young children enjoy watching the balls bounce around the screen and are fascinated by the program. This is an ideal program for teaching rudimentary mouse skills to very young children. debian/xball.xpm0000644000000000000000000001030510727346222011022 0ustar /* XPM */ static char * xball_xpm[] = { "32 32 129 2", " c None", ". c #000000", "+ c #565658", "@ c #DBDBDB", "# c #D5D5D5", "$ c #CDCDCD", "% c #C4C4C4", "& c #C9C9C9", "* c #EFEFEF", "= c #FAFAFA", "- c #F6F6F6", "; c #E1E1E1", "> c #D4D4D4", ", c #D8D8D8", "' c #BFBFBF", ") c #727474", "! c #131313", "~ c #080808", "{ c #FFFFFF", "] c #ABABAB", "^ c #9B9B9B", "/ c #E6E6E6", "( c #C0C0C0", "_ c #F2F2F2", ": c #CBCBCB", "< c #B3B3B3", "[ c #C8C8C8", "} c #F0F0F0", "| c #A0A09F", "1 c #7F7F7F", "2 c #A0A0A0", "3 c #707070", "4 c #777777", "5 c #FDFDFD", "6 c #F1F1F1", "7 c #A7A7A7", "8 c #656565", "9 c #525252", "0 c #5D5D5D", "a c #A2A2A2", "b c #E5E5E5", "c c #9E9E9E", "d c #333333", "e c #343434", "f c #797979", "g c #E3E3E3", "h c #8C8F90", "i c #EDEDED", "j c #868686", "k c #2E2E2E", "l c #232323", "m c #404040", "n c #8B8B8C", "o c #DEDEDE", "p c #717171", "q c #3E3E3E", "r c #595959", "s c #AEAEAE", "t c #939393", "u c #AFAFAF", "v c #DDDDDD", "w c #939798", "x c #CFCFCF", "y c #E8E8E8", "z c #8D9192", "A c #EAEAEA", "B c #969696", "C c #7A7A7A", "D c #A9A9A9", "E c #F7F7F7", "F c #E7E7E7", "G c #6C6C6C", "H c #515151", "I c #767676", "J c #F9F9F9", "K c #D1D1D1", "L c #555555", "M c #A1A1A1", "N c #434343", "O c #DADADA", "P c #B0B0B0", "Q c #1F1F1F", "R c #494949", "S c #5C5C5C", "T c #141414", "U c #191919", "V c #757575", "W c #C5C5C5", "X c #292929", "Y c #161616", "Z c #3B3B3B", "` c #F8F8F8", " . c #373737", ".. c #3C3C3C", "+. c #545454", "@. c #101010", "#. c #0F0F0F", "$. c #585858", "%. c #C6C6C6", "&. c #696969", "*. c #BABABA", "=. c #919191", "-. c #4D4D4D", ";. c #BCBCBC", ">. c #6E6E6E", ",. c #6F6F6F", "'. c #929292", "). c #414141", "!. c #3F3F3F", "~. c #7E7E7E", "{. c #9F9F9F", "]. c #B2B2B2", "^. c #505050", "/. c #B1B1B1", "(. c #616161", "_. c #646464", ":. c #AAAAAA", "<. c #CECECE", "[. c #EBEBEB", "}. c #D6D6D6", "|. c #8B8B8B", "1. c #F5F5F5", "2. c #D2D2D2", "3. c #B4B4B4", "4. c #CCCCCC", "5. c #898989", "6. c #E2E2E2", "7. c #535353", "8. c #070808", " . . . . . . . . . . . . . . . . . . . . . . . . ", " . . . . . . . . . . . . . . . . . . . . . . . . . . . ", " . . + @ @ # $ % & @ * = - ; > , , , , , > & ' ) ! ~ . . ", " . . ' { { { { { { { { { { { { { { { { { { { { { { { . . . ", " . . ] { { { { { { { { { { { { { { { { { { { { { { { . . . ", " . . ^ { { { { { / ( ( / { { { { { { _ : < [ } { { { . . . ", " . . | { { { { { ( 1 1 ( { { { { { { / 2 3 4 ( 5 { { . . . ", " . . | { { { { { ( 1 1 ( { { { { { { 6 7 8 9 0 a b { . . . ", " . . ^ { { { { { / ( ( / { { { { { { { / c 9 d e f g . . . ", " . . h { { { { { { { { { { { { { { { { { i j k l m < . . . ", " . . n { { { { { { { { { { { { { { { { { { o p q r s . . . ", " . . t { { { { { { { { { { { { { { { { { { { g < u v . . . ", " . . ^ { { { { { { { { { { { { { { { { { { { { { { { . . . ", " . . w { { { { { { { { { { { { { { { = o x y { { { { . . . ", " . . z { { { { { { { { { { { { { { { A B C D { { { { . . . ", " . . z { { { { { { { { E F F E { { { F G H I J { { { . . . ", " . . z { { { { { { { { K 3 L M { { { - p N 0 O { { { . . . ", " . . z { { { { { { { { P k Q R { { { { S T U V { { { . . . ", " . . z { { { { { { { { W X Y Z ` { { { .~ ~ ..{ { { . . . ", " . . z { { { { { { { { 6 r d H ; { { { +.@.#.$.{ { { . . . ", " . . h { { { %.3 &.*.{ { =.-.&.$ { { { ;.>.,.' { { { . . . ", " . . h { { { '.).!.~.{ { {.0 0 *.{ { { { { { { { { { . . . ", " . . h { { { ].L ^.a { { /.(._.:.{ { { { { { { { { { . . . ", " . . h { { { * <.: [.{ { }.=.|.' { { { { { { { { { { . . . ", " . . n { { { { { { { { { 1.O 2.[.{ { { { { O 3.4.1.{ . . . ", " . . n { { { { { { { { { { { { { { { { { { {.4 5.6.{ . . . ", " . . ) { { { { { { { { { { { { { { { { { { {.4 5.6.{ . . . ", " . . 7.{ { { { { { { { { { { { { { { { { { O 3.4.1.{ . . . ", " . . . . . . . . . . . . . . . . . . . . . . . . ! 8.. . . ", " . . . . . . . . . . . . . . . . . . . . . . . . . . . . ", " . . . . . . . . . . . . . . . . . . . . . . . . . . . ", " . . . . . . . . . . . . . . . . . . . . . . . . . "}; debian/source/0000755000000000000000000000000011371337145010473 5ustar debian/source/format0000644000000000000000000000001411371337173011702 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000001351012215112567011042 0ustar xball (3.0.1-1.2) unstable; urgency=low * Non-maintainer upload. * Drop dependency on menu (Closes: #647387, #624857). * Transition from lesstif2 to motif (Closes: #714673). -- Luk Claes Sat, 14 Sep 2013 18:56:07 +0200 xball (3.0.1-1.1) unstable; urgency=low [ Jari Aalto ] * Non-maintainer upload. - Move to packaging format "3.0 (quilt)". * debian/compat - Update to 7. * debian/control - (Build-Depends): update obsolete xutils to xutils-dev (important; Closes: #578967). Update to debhelper 7.1. Add autotools-dev. - (Depends): add ${misc:Depends}. - (Standards-Version): Update to 3.8.4. - (xball::Section): Remove duplicate section. * debian/patches - (Number 10): Fix spelling errors. * debian/rules - (configure-stamp): use newest config.* files. - (install): Change dh_clean to dh_prep. * debian/source/format - New file -- Jari Aalto Sat, 08 May 2010 22:50:10 +0300 xball (3.0.1-1) unstable; urgency=low * New upstream release, consolidates all 3.0 patches - Change debhelper compat from 4 to 5 - Change standards version to 3.7.3 - Change to three part numbering, new version is 3.0.1 - Get xball version number from changelog, see rules file for details - Cleanup some of the old pre-autoconf cruft - Fix rules, Lintian was giving debian-rules-ignores-make-clean-error * upload sponsored by Branden Robinson -- Stephen Birch Sun, 9 Dec 2007 22:01:23 +0000 xball (3.0-18) unstable; urgency=low * Remove strange vi file from debian directory, :visual -- Stephen Birch Wed, 21 Nov 2007 22:34:23 +0000 xball (3.0-17) unstable; urgency=low * Apply NMU patch, merge with upstream * Change standards version to 3.7.2 -- Stephen Birch Tue, 20 Nov 2007 00:37:52 +0000 xball (3.0-16.1) unstable; urgency=low * NMU to fix RGB_TXT and all other references to point to /etc/X11/rgb.txt, as it is in x11-common. (Closes: #377652). * Added the demo files to the documentation. -- Margarita Manterola Thu, 13 Jul 2006 19:32:23 -0300 xball (3.0-16) unstable; urgency=high * Update to add patch in "NMU" 3.0-15.1 (closes: #303337) -- Stephen Birch Thu, 14 Apr 2005 11:38:18 +0100 xball (3.0-15.1) unstable; urgency=low * NMU - Thanks Paul for the patch! (SGB) * Adds 'rm -rf .deps' to debian/rules clean (closes: #303337) -- Paul Brossier Wed, 13 Apr 2005 03:09:43 +0100 xball (3.0-15) unstable; urgency=low * Add libxt-dev to build-depends to arm can build -- Stephen Birch Wed, 23 Mar 2005 14:38:15 +0000 xball (3.0-14) unstable; urgency=low * Make demo_start() static declaration (closes: #288656) * Added config.guess and config.sub from automake1.4 * Added content to NEWS and ChaneLog so patch creates them -- Stephen Birch Wed, 23 Feb 2005 08:51:33 +0000 xball (3.0-13) unstable; urgency=low * Use gettimeofday() to compute consistant delay -- Stephen Birch Tue, 21 Dec 2004 15:06:29 +0000 xball (3.0-12) unstable; urgency=low * chmod +x missing to rules (closes: #283269) * Run 'make distclean' from clean target in rules -- Stephen Birch Sun, 28 Nov 2004 08:28:49 -0500 xball (3.0-11) unstable; urgency=low * Fix more automake problems (NEWS and ChangeLog files) -- Stephen Birch Sun, 28 Nov 2004 08:26:19 -0500 xball (3.0-10) unstable; urgency=low * Make configure executable in rules file -- Stephen Birch Thu, 25 Nov 2004 12:48:31 +0000 xball (3.0-9) unstable; urgency=low * More minor changes to makefile system -- Stephen Birch Mon, 22 Nov 2004 17:34:48 +0000 xball (3.0-8) unstable; urgency=low * Run autoconf prior to uploading to debian * Remove automake, autoconf1.9 dependency -- Stephen Birch Mon, 22 Nov 2004 17:09:48 +0000 xball (3.0-7) unstable; urgency=low * hard code automake to automake1.9 (closes: #272239) -- Stephen Birch Mon, 1 Nov 2004 04:41:45 -0500 xball (3.0-6) unstable; urgency=low * Compile againt lesstif2 instead of lesstif (closes: #269285) * Change automaken dependancy to automake -- Stephen Birch Fri, 3 Sep 2004 11:29:57 +0100 xball (3.0-5) unstable; urgency=low * Remove postinst and preinst file, not required * Update rules file to be policy complient * Closes: #244289: Package includes non-free source code. * Closes: #256422: Missing Build-Depends -- Stephen Birch Sun, 27 Jun 2004 11:06:34 +0100 xball (3.0-4) unstable; urgency=low * Change bootstrap to make '/xball-3.0/missing' executable * Add automaken to the list of compile dependencies -- Stephen Birch Sun, 28 Mar 2004 14:27:22 -0500 xball (3.0-3) unstable; urgency=low * Add comment to README telling user where to find program (usr/games) * Re-release with correct orig.tar.gz, removing .svn directories -- Stephen Birch Fri, 26 Mar 2004 11:49:14 -0500 xball (3.0-2) unstable; urgency=low * Move xball binary to /usr/games per 11.11 of policy * Quote all sections of xball.menu to help lintian -- Stephen Birch Fri, 19 Mar 2004 15:31:52 +0000 xball (3.0-1) unstable; urgency=low * Initial Release (closes: 230942) * Define scale_set_value in scrollbar.c to prevent compiler warning * Removed gcc from Build-Depends * Spell checked and improved descriptions * Converted from Imake to GNU automake/autoconf * Remove Makefile and configure from debian sources * Add menu system -- Stephen Birch Sat, 31 Jan 2004 10:55:51 +0000 debian/install0000644000000000000000000000012310727346222010560 0ustar demo[0-9]* *.xbm run_demos /usr/share/xball/ debian/xball.xpm /usr/share/pixmaps/ debian/patches/0000755000000000000000000000000011371341546010622 5ustar debian/patches/20-xball.man.patch0000644000000000000000000000317411371341546013743 0ustar From a2df291bafedaf7f5b99677ef3e3b827f5843e32 Mon Sep 17 00:00:00 2001 From: Jari Aalto Date: Sat, 8 May 2010 23:00:54 +0300 Subject: [PATCH] xball.man: Misc fixes Organization: Private Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Signed-off-by: Jari Aalto --- xball.man | 18 +++++++++--------- 1 files changed, 9 insertions(+), 9 deletions(-) diff --git a/xball.man b/xball.man index 0dea7eb..866c4b6 100644 --- a/xball.man +++ b/xball.man @@ -3,19 +3,19 @@ xball \- bounce balls on the screen .SH SYNOPSIS .B xball -[ -help -delay +[ \-help \-delay .I delay --gravity +\-gravity .I percent-gravity --elasticity +\-elasticity .I percent-elasticity --itemWidth +\-itemWidth .I ball-width --itemHeight +\-itemHeight .I ball-height --collide -perpetual -haltSim -demoFile +\-collide \-perpetual \-haltSim \-demoFile .I demo-file --rgbTxt +\-rgbTxt .I rgb.txt-file ] [XToolkit options] @@ -28,12 +28,12 @@ run demo which create and manipulate the balls in various ways. Documentation is included on-line via the Help menu and is not reproduced here. .SH OPTIONS -Run xball -help for a decription of the command line options +Run xball \-help for a decription of the command line options .SH DEMOS Several demo files are included with the distribution. To run all the demos, run 'run_demos'. .SH RESOURCES -Most resources are avaliable for user modification. See the XBall +Most resources are available for user modification. See the XBall app-defaults file for a complete listing of widgets, .sp Following is a list of the most useful resources: -- 1.7.0 debian/patches/series0000644000000000000000000000005111371341544012031 0ustar 10-fix-spelling.patch 20-xball.man.patch debian/patches/10-fix-spelling.patch0000644000000000000000000000663311371341075014467 0ustar From 2dcce9520511cdecc93dec2566b8b2152c09eb9c Mon Sep 17 00:00:00 2001 From: Jari Aalto Date: Sat, 8 May 2010 22:56:08 +0300 Subject: [PATCH] Fix spelling Organization: Private Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Signed-off-by: Jari Aalto --- XBall.ad | 2 +- fallback.h | 4 ++-- item.c | 2 +- menu.c | 4 ++-- xball_sys.c | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/XBall.ad b/XBall.ad index 9f94518..6f15368 100644 --- a/XBall.ad +++ b/XBall.ad @@ -390,7 +390,7 @@ provided \"as is\" without express or implied warranty. \ ! ToggleButton - Push it and toggle the state ! Separator - A line in the menu ! -! Avaliable menuCallbackNames avaliable (none take optional parameters): +! Avaliable menuCallbackNames available (none take optional parameters): ! runDemo - Lets user select a demo and run the demo ! loadBitmap - Lets user load a bitmap file ! quit - quits xball program diff --git a/fallback.h b/fallback.h index 0865792..dc68590 100644 --- a/fallback.h +++ b/fallback.h @@ -385,12 +385,12 @@ provided \"as is\" without express or implied warranty. \ "! Note that the pulldownName of 'help' is automatically used as the help ", "! pulldown.", "!", -"! Avaliable WidgetClasses are:", +"! Available WidgetClasses are:", "! PushButton - push it and cause the action", "! ToggleButton - Push it and toggle the state", "! Separator - A line in the menu", "!", -"! Avaliable menuCallbackNames avaliable (none take optional parameters):", +"! Available menuCallbackNames available (none take optional parameters):", "! runDemo - Lets user select a demo and run the demo", "! loadBitmap - Lets user load a bitmap file", "! quit - quits xball program", diff --git a/item.c b/item.c index 07125c9..c721e52 100644 --- a/item.c +++ b/item.c @@ -98,7 +98,7 @@ int y_vel; item->display = static_data->display; item->window = static_data->window; - /* Draw with the next avaliable pixmap image (color) */ + /* Draw with the next available pixmap image (color) */ static_data->curr_pixmap = (static_data->curr_pixmap + 1) % static_data->num_colors; diff --git a/menu.c b/menu.c index 996159d..b1f66f6 100644 --- a/menu.c +++ b/menu.c @@ -132,7 +132,7 @@ menu_type menu; } -/* Registers an avaliable callback. This callback can then be +/* Registers an available callback. This callback can then be referenced by the menu definition resource. If the callback is referenced, the menuCallbackProc is invoked. */ void menu__add_callback( menu, action_name, menu_callback_proc, user_data) @@ -141,7 +141,7 @@ char *action_name; menuCallbackProc menu_callback_proc; caddr_t user_data; { - /* Store avaliable callback into table */ + /* Store available callback into table */ menuCallback *menu_node = XtNew( menuCallback); diff --git a/xball_sys.c b/xball_sys.c index 70fd1ae..ee2e4a4 100644 --- a/xball_sys.c +++ b/xball_sys.c @@ -128,7 +128,7 @@ Widget w; scrollbar__set_value( xball_system->elasticity_bar, res_data.elasticity); - /* Register avaliable menu callbacks */ + /* Register available menu callbacks */ menu__add_callback(menu, "runDemo", demo__run_mcb, demo); menu__add_callback(menu, "stopDemo", demo__stop_mcb, demo); -- 1.7.0 debian/rules0000755000000000000000000000250511370005005010237 0ustar #!/usr/bin/make -f # Get xball version number from changelog VERSION = $(shell head -1 debian/changelog | sed -e 's/.*(//' | sed -e 's/).*//') CFLAGS = -g ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) CFLAGS += -O0 else CFLAGS += -O2 endif configure: configure-stamp configure-stamp: dh_testdir chmod +x configure chmod +x missing ./configure \ --prefix=$(CURDIR)/debian/xball \ --exec-prefix=$(CURDIR)/debian/xball/usr touch configure-stamp build: configure-stamp build-stamp build-stamp: dh_testdir $(MAKE) VERSION=$(VERSION) touch build-stamp clean: dh_testdir dh_testroot rm -f build-stamp configure-stamp dh_clean [ ! -f Makefile ] || $(MAKE) distclean rm -rf .deps install: build dh_testdir dh_testroot dh_prep dh_installdirs $(MAKE) install cd debian && mv xball/usr/bin xball/usr/games # 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_install dh_installdocs dh_installmenu dh_installman xball.man dh_installchangelogs dh_link dh_strip dh_compress dh_fixperms 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 debian/docs0000644000000000000000000000000710727346222010043 0ustar README debian/README0000644000000000000000000000053510727346222010056 0ustar xball for DEBIAN and Ubuntu --------------------------- Per Debian policy recommendations the program is installed in /usr/games (not /usr/bin). That means it is not in the normal PATH. The program can be started either from the window manager menu structure or with the following command: $ /usr/games/xball Stephen Birch debian/copyright0000644000000000000000000000431010727346222011124 0ustar This package was debianized by Stephen Birch on Thu, 29 Apr 2004 10:59:00 +0100. The original source was taken from a source rpm distributed with SuSE 8.0 (http://www.suse.com). xball is licensed using the following licenses: Upstream Author: David Nedde Copyright 1993 David Nedde Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is granted provided that the above copyright notice appears in all copies. It is provided "as is" without express or implied warranty. One file has additional copying policies: filemenu.c Copyright 1989 The University of Texas at Austin Copyright 1990 Microelectronics and Computer Technology Corporation Author: Po Cheung Copyright 1989 The University of Texas at Austin Copyright 1990 Microelectronics and Computer Technology Corporation Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation, and that the name of The University of Texas and Microelectronics and Computer Technology Corporation (MCC) not be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission. The University of Texas and MCC makes no representations about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty. THE UNIVERSITY OF TEXAS AND MCC DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL THE UNIVERSITY OF TEXAS OR MCC BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. Author: Po Cheung Created: March 10, 1989 debian/xball.menu0000644000000000000000000000025110727346222011161 0ustar ?package(xball):needs="X11" \ section="Games/Toys" \ title="Xball simulation" \ command="/usr/games/xball" \ icon="/usr/share/pixmaps/xball.xpm" debian/compat0000644000000000000000000000000211370004676010370 0ustar 7