debian/0000755000000000000000000000000011625225203007164 5ustar debian/compat0000644000000000000000000000000211623670646010377 0ustar 8 debian/bam.manpages0000644000000000000000000000001511623670646011451 0ustar debian/bam.1 debian/bam.install0000644000000000000000000000001411623670646011323 0ustar bam usr/bin debian/control0000644000000000000000000000137611623670646010613 0ustar Source: bam Section: devel Priority: optional Maintainer: Debian Games Team Uploaders: Felix Geyer Build-Depends: debhelper (>= 8), python, liblua5.1-0-dev, pkg-config Standards-Version: 3.9.2 Homepage: http://matricks.github.com/bam/ Vcs-Git: git://git.debian.org/pkg-games/bam.git Vcs-Browser: http://git.debian.org/?p=pkg-games/bam.git Package: bam Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: fast and flexible build system Bam uses Lua to describe the build process. It's takes its inspiration for the script files from scons. While scons focuses on being 100% correct when building, bam makes a few sacrifices to acquire fast full and incremental build times. debian/bam.docs0000644000000000000000000000004011623670646010604 0ustar docs/bam.html docs/bam_logo.png debian/changelog0000644000000000000000000000406111625223232011037 0ustar bam (0.4.0-3) unstable; urgency=low * use-debian-liblua.diff: don't hardcode lua5.1 pkg-config file path. (Closes: #639052; LP: #831166) -- Felix Geyer Wed, 24 Aug 2011 18:28:07 +0200 bam (0.4.0-2) unstable; urgency=low * Fix FTBFS on GNU/kFreeBSD, mips and armhf. - Add fix-ftbfs-kfreebsd.diff (Closes: #626726) - Add fix-ftbfs-tests-fpic.diff (Closes: #626749) * Only install useful doc files. * Remove Gonéri Le Bouder from Uploaders on his request. * Remove the test_output folder in clean target. (Closes: #626750) -- Felix Geyer Wed, 18 May 2011 09:33:59 +0200 bam (0.4.0-1) unstable; urgency=low * New upstream release. * Add myself to uploaders. * Drop bus-error-on-SPARC.diff and GNU_Hurd.diff, fixed upstream. * Refresh use-debian-liblua.diff for new upstream version. * Switch to source format 3.0 (quilt). * Use dh7 tiny rules file. * Switch to compat level 8. * Bump Standards-Version to 3.9.2, no changes needed. * Update watch file and homepage field. * Enable test suite. - Add test-error-exit-code.diff to make it exit with an error on test failure. * Update man page. -- Felix Geyer Mon, 09 May 2011 14:25:15 +0200 bam (0.2.0-4) unstable; urgency=low * Apply Barry GNU/Hurd patch (Closes: #532794) * Standards-Version: 3.8.2, no change -- Gonéri Le Bouder Mon, 27 Jul 2009 23:29:12 +0200 bam (0.2.0-3) unstable; urgency=low * Add fixes/bus-error-SPARC (Closes: #522571) * Standard Version 3.8.1, no change * Clean the .pc directory -- Gonéri Le Bouder Sun, 05 Apr 2009 01:46:19 +0200 bam (0.2.0-2) unstable; urgency=low * Builddepends on liblua5.1-0-dev, don't use the embedded lua directory anymore * Builddeps on quilt and pkg-config -- Gonéri Le Bouder Sat, 24 Jan 2009 12:24:18 +0100 bam (0.2.0-1) unstable; urgency=low * Initial release (Closes: #512806) -- Gonéri Le Bouder Fri, 23 Jan 2009 23:57:33 +0100 debian/bam.10000644000000000000000000000302211623670646010017 0ustar .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.38.4. .TH BAM "1" "May 2011" "bam" "User Commands" .SH NAME bam \- fast and flexible build system .SH SYNOPSIS .B bam [\fIOPTION\fR]... [\fIVARIABLE=VALUE\fR]... [\fITARGET\fR]... .SH DESCRIPTION Builds applications using the bam build system. .IP Execution: .TP \fB\-a\fR abort on error .TP \fB\-c\fR clean targets .TP \fB\-d\fR build targets that is dependent given targets .TP \fB\-\-dry\fR dry run, don't run any jobs .TP \fB\-j\fR sets the number of threads to use (default: 0, disabled) .TP \fB\-s\fR bam file to use (default: bam.lua) .IP Lua: .TP \fB\-l\fR print local variables in backtrace .TP \fB\-t\fR print backtrace when an error occurs .IP Output: .TP \fB\-r\fR build progress report format (default: s) b = progress bar c = use ansi colors s = build steps .TP \fB\-v\fR be verbose .IP Other: .TP \fB\-n\fR don't use cache .TP \fB\-h\fR, \fB\-\-help\fR prints this help .IP Debug: .TP \fB\-\-debug\-nodes\fR prints all the nodes with dependencies .TP \fB\-\-debug\-detail\fR prints all the nodes with dependencies and details .TP \fB\-\-debug\-jobs\fR prints all the jobs that exist .TP \fB\-\-debug\-dot\fR prints all nodes as a graphviz dot file .TP \fB\-\-debug\-jobs\-dot\fR prints all jobs as a graphviz dot file .TP \fB\-\-debug\-trace\-vm\fR prints a line for every instruction the vm makes .TP \fB\-\-debug\-dump\-int\fR prints the internals scripts to stdout .TP \fB\-\-debug\-no\-int\fR don't load internal scripts .PP bam by Magnus Auvinen (magnus.auvinen@gmail.com) debian/copyright0000644000000000000000000000503611623670646011140 0ustar This package was debianized by Gonéri Le Bouder on Fri, 23 Jan 2009 23:51:55 +0100 It was downloaded from http://teeworlds.com/trac/bam/wiki/WikiStart Copyright: Copyright (c) 2009 Magnus Auvinen License: This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: 1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. 3. This notice may not be removed or altered from any source distribution. src/lua is a copy of lua: Lua License ----------- Lua is licensed under the terms of the MIT license reproduced below. This means that Lua is free software and can be used for both academic and commercial purposes at absolutely no cost. For details and rationale, see http://www.lua.org/license.html . =============================================================================== Copyright (C) 1994-2008 Lua.org, PUC-Rio. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. debian/patches/0000755000000000000000000000000011623670646010630 5ustar debian/patches/fix-ftbfs-tests-fpic.diff0000644000000000000000000000062711623670646015436 0ustar Description: Fix FTBFS on mips and armhf. Author: Felix Geyer diff --git a/tests/sharedlib/bam.lua b/tests/sharedlib/bam.lua --- a/tests/sharedlib/bam.lua +++ b/tests/sharedlib/bam.lua @@ -1,8 +1,6 @@ settings = NewSettings() -if arch == "amd64" then - settings.cc.flags:Add("-fPIC") -end +settings.cc.flags:Add("-fPIC") src = Collect("*.cpp") objs = Compile(settings, src) debian/patches/use-debian-liblua.diff0000644000000000000000000000153011623670715014740 0ustar From: Gonéri Le Bouder Subject: [PATCH] debian/use-debian-liblua Use Debian liblua Signed-off-by: Gonéri Le Bouder --- make_unix.sh | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/make_unix.sh b/make_unix.sh index 5ad0868..a3d2961 100755 --- a/make_unix.sh +++ b/make_unix.sh @@ -1,4 +1,4 @@ #!/bin/sh -gcc -Wall -ansi -pedantic src/tools/txt2c.c -o src/tools/txt2c +gcc -Wall -ansi -pedantic src/tools/txt2c.c `pkg-config --cflags lua5.1` -o src/tools/txt2c src/tools/txt2c src/base.lua src/tools.lua src/driver_gcc.lua src/driver_cl.lua > src/internal_base.h -gcc -Wall -ansi -pedantic src/*.c src/lua/*.c -o bam -I src/lua -lm -lpthread -ldl -O2 -rdynamic $* +gcc -Wall -ansi -pedantic src/*.c -o bam `pkg-config --cflags --libs lua5.1` -lm -lpthread -ldl -O2 -rdynamic $* debian/patches/series0000644000000000000000000000014311623670646012043 0ustar use-debian-liblua.diff test-error-exit-code.diff fix-ftbfs-kfreebsd.diff fix-ftbfs-tests-fpic.diff debian/patches/test-error-exit-code.diff0000644000000000000000000000060311623670646015446 0ustar Description: test.py doesn't with error code on test failure Author: Felix Geyer Bug: https://github.com/matricks/bam/issues/29 --- bam-0.4.0.orig/scripts/test.py +++ bam-0.4.0/scripts/test.py @@ -246,6 +246,8 @@ if len(failed_tests): print "FAILED TESTS:" for t in failed_tests: print "\t"+t + sys.exit(1) else: print "ALL TESTS PASSED!" + sys.exit(0) debian/patches/fix-ftbfs-kfreebsd.diff0000644000000000000000000000060711623670646015140 0ustar Description: Fix FTBFS on GNU/kFreeBSD. Author: Felix Geyer diff --git a/src/platform.h b/src/platform.h --- a/src/platform.h +++ b/src/platform.h @@ -20,7 +20,7 @@ #endif /* unix family */ -#if defined(__FreeBSD__) +#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) #define BAM_FAMILY_UNIX #define BAM_FAMILY_STRING "unix" #define BAM_PLATFORM_FREEBSD debian/source/0000755000000000000000000000000011623670646010501 5ustar debian/source/options0000644000000000000000000000007611623670646012122 0ustar extend-diff-ignore="^(src/tools/txt2c|src/internal_base\.h)$" debian/source/format0000644000000000000000000000001411623670646011707 0ustar 3.0 (quilt) debian/rules0000755000000000000000000000043311623670646010261 0ustar #!/usr/bin/make -f %: dh $@ override_dh_auto_configure: # nothing to do override_dh_auto_build: sh -e -v make_unix.sh python scripts/gendocs.py override_dh_auto_test: python scripts/test.py override_dh_auto_clean: rm -f bam docs/bam.html scripts/*.pyc rm -rf test_output debian/gbp.conf0000644000000000000000000000003611623670646010617 0ustar [DEFAULT] pristine-tar = True debian/README.source0000644000000000000000000000040111623670646011353 0ustar Updating the manpage ==================== help2man --section=1 --name="fast and flexible build system" --version-string="VERSION_STRING" --no-info bam | sed -r 's/( VERSION_STRING| version [0-9]\.[0-9]\.[0-9]\. built .+ using Lua [0-9]\.[0-9])//g' > bam.1 debian/watch0000644000000000000000000000014211623670646010227 0ustar version=3 http://github.com/matricks/bam/downloads /downloads/matricks/bam/bam-([\d\.]+)\.tar\.gz