--- waf-1.5.10+dfsg.orig/debian/copyright +++ waf-1.5.10+dfsg/debian/copyright @@ -0,0 +1,339 @@ +This package was debianized by Devid Antonio Filoni on +Sun, 19 Jul 2009 16:23:56 +0200 + +It was downloaded from http://code.google.com/p/waf/ + +Upstream Author: + + Thomas Nagy + +Copyright: + + Copyright © 2005-2009, Thomas Nagy + Copyright © 2008-2009, Yinon Ehrlich + Copyright © 2005, Scott Newton + Copyright © 2003-2005, Peter Astrand + Copyright © 2006, Ralf Habacker + Copyright © 2006, John O'Meara + Copyright © 2008, Ruediger Sonderfeld + Copyright © 2008, Bjoern Michaelsen + Copyright © 2008, Luca Fossati + Copyright © 2007-2008, Matthias Jahn + Copyright © 2006-2007, Carlos Rafael Giani + Copyright © 2007, Ali Sabil + Copyright © 2008, Stian Selnes + Copyright © 2008, Sebastian Schlingmann + Copyright © 2007, Tamas Pal + Copyright © 2009, Nicolas Mercier + Copyright © 2007, Anders Waldenborg + Copyright © 2007, Gustavo Carneiro + Copyright © 2007, Brant Young + +License: + + Redistribution and use in source and binary forms, with or without + modification, are permitted under the terms of the BSD License. + + THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + +On Debian systems, the complete text of the BSD License can be +found in `/usr/share/common-licenses/BSD'. + + +The Debian packaging is copyright 2009, Devid Antonio Filoni and +is licensed under the GPL-2, see `/usr/share/common-licenses/GPL-2'. + + +License of wafadmin/pproc.py: + + Licensed to PSF under a Contributor Agreement and distributed under the + Python License. + + A. HISTORY OF THE SOFTWARE + ========================== + + Python was created in the early 1990s by Guido van Rossum at Stichting + Mathematisch Centrum (CWI, see http://www.cwi.nl) in the Netherlands + as a successor of a language called ABC. Guido remains Python's + principal author, although it includes many contributions from others. + + In 1995, Guido continued his work on Python at the Corporation for + National Research Initiatives (CNRI, see http://www.cnri.reston.va.us) + in Reston, Virginia where he released several versions of the + software. + + In May 2000, Guido and the Python core development team moved to + BeOpen.com to form the BeOpen PythonLabs team. In October of the same + year, the PythonLabs team moved to Digital Creations (now Zope + Corporation, see http://www.zope.com). In 2001, the Python Software + Foundation (PSF, see http://www.python.org/psf/) was formed, a + non-profit organization created specifically to own Python-related + Intellectual Property. Zope Corporation is a sponsoring member of + the PSF. + + All Python releases are Open Source (see http://www.opensource.org for + the Open Source Definition). Historically, most, but not all, Python + releases have also been GPL-compatible; the table below summarizes + the various releases. + + Release Derived Year Owner GPL- + from compatible? (1) + + 0.9.0 thru 1.2 1991-1995 CWI yes + 1.3 thru 1.5.2 1.2 1995-1999 CNRI yes + 1.6 1.5.2 2000 CNRI no + 2.0 1.6 2000 BeOpen.com no + 1.6.1 1.6 2001 CNRI yes (2) + 2.1 2.0+1.6.1 2001 PSF no + 2.0.1 2.0+1.6.1 2001 PSF yes + 2.1.1 2.1+2.0.1 2001 PSF yes + 2.2 2.1.1 2001 PSF yes + 2.1.2 2.1.1 2002 PSF yes + 2.1.3 2.1.2 2002 PSF yes + 2.2.1 2.2 2002 PSF yes + 2.2.2 2.2.1 2002 PSF yes + 2.2.3 2.2.2 2003 PSF yes + 2.3 2.2.2 2002-2003 PSF yes + 2.3.1 2.3 2002-2003 PSF yes + 2.3.2 2.3.1 2002-2003 PSF yes + 2.3.3 2.3.2 2002-2003 PSF yes + 2.3.4 2.3.3 2004 PSF yes + 2.3.5 2.3.4 2005 PSF yes + 2.4 2.3 2004 PSF yes + 2.4.1 2.4 2005 PSF yes + 2.4.2 2.4.1 2005 PSF yes + 2.4.3 2.4.2 2006 PSF yes + 2.5 2.4 2006 PSF yes + + Footnotes: + + (1) GPL-compatible doesn't mean that we're distributing Python under + the GPL. All Python licenses, unlike the GPL, let you distribute + a modified version without making your changes open source. The + GPL-compatible licenses make it possible to combine Python with + other software that is released under the GPL; the others don't. + + (2) According to Richard Stallman, 1.6.1 is not GPL-compatible, + because its license has a choice of law clause. According to + CNRI, however, Stallman's lawyer has told CNRI's lawyer that 1.6.1 + is "not incompatible" with the GPL. + + Thanks to the many outside volunteers who have worked under Guido's + direction to make these releases possible. + + + B. TERMS AND CONDITIONS FOR ACCESSING OR OTHERWISE USING PYTHON + =============================================================== + + PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2 + -------------------------------------------- + + 1. This LICENSE AGREEMENT is between the Python Software Foundation + ("PSF"), and the Individual or Organization ("Licensee") accessing and + otherwise using this software ("Python") in source or binary form and + its associated documentation. + + 2. Subject to the terms and conditions of this License Agreement, PSF + hereby grants Licensee a nonexclusive, royalty-free, world-wide + license to reproduce, analyze, test, perform and/or display publicly, + prepare derivative works, distribute, and otherwise use Python + alone or in any derivative version, provided, however, that PSF's + License Agreement and PSF's notice of copyright, i.e., "Copyright (c) + 2001, 2002, 2003, 2004, 2005, 2006 Python Software Foundation; All Rights + Reserved" are retained in Python alone or in any derivative version + prepared by Licensee. + + 3. In the event Licensee prepares a derivative work that is based on + or incorporates Python or any part thereof, and wants to make + the derivative work available to others as provided herein, then + Licensee hereby agrees to include in any such work a brief summary of + the changes made to Python. + + 4. PSF is making Python available to Licensee on an "AS IS" + basis. PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR + IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND + DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS + FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON WILL NOT + INFRINGE ANY THIRD PARTY RIGHTS. + + 5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON + FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS + A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON, + OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. + + 6. This License Agreement will automatically terminate upon a material + breach of its terms and conditions. + + 7. Nothing in this License Agreement shall be deemed to create any + relationship of agency, partnership, or joint venture between PSF and + Licensee. This License Agreement does not grant permission to use PSF + trademarks or trade name in a trademark sense to endorse or promote + products or services of Licensee, or any third party. + + 8. By copying, installing or otherwise using Python, Licensee + agrees to be bound by the terms and conditions of this License + Agreement. + + + BEOPEN.COM LICENSE AGREEMENT FOR PYTHON 2.0 + ------------------------------------------- + + BEOPEN PYTHON OPEN SOURCE LICENSE AGREEMENT VERSION 1 + + 1. This LICENSE AGREEMENT is between BeOpen.com ("BeOpen"), having an + office at 160 Saratoga Avenue, Santa Clara, CA 95051, and the + Individual or Organization ("Licensee") accessing and otherwise using + this software in source or binary form and its associated + documentation ("the Software"). + + 2. Subject to the terms and conditions of this BeOpen Python License + Agreement, BeOpen hereby grants Licensee a non-exclusive, + royalty-free, world-wide license to reproduce, analyze, test, perform + and/or display publicly, prepare derivative works, distribute, and + otherwise use the Software alone or in any derivative version, + provided, however, that the BeOpen Python License is retained in the + Software, alone or in any derivative version prepared by Licensee. + + 3. BeOpen is making the Software available to Licensee on an "AS IS" + basis. BEOPEN MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR + IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, BEOPEN MAKES NO AND + DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS + FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE WILL NOT + INFRINGE ANY THIRD PARTY RIGHTS. + + 4. BEOPEN SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF THE + SOFTWARE FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS + AS A RESULT OF USING, MODIFYING OR DISTRIBUTING THE SOFTWARE, OR ANY + DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. + + 5. This License Agreement will automatically terminate upon a material + breach of its terms and conditions. + + 6. This License Agreement shall be governed by and interpreted in all + respects by the law of the State of California, excluding conflict of + law provisions. Nothing in this License Agreement shall be deemed to + create any relationship of agency, partnership, or joint venture + between BeOpen and Licensee. This License Agreement does not grant + permission to use BeOpen trademarks or trade names in a trademark + sense to endorse or promote products or services of Licensee, or any + third party. As an exception, the "BeOpen Python" logos available at + http://www.pythonlabs.com/logos.html may be used according to the + permissions granted on that web page. + + 7. By copying, installing or otherwise using the software, Licensee + agrees to be bound by the terms and conditions of this License + Agreement. + + + CNRI LICENSE AGREEMENT FOR PYTHON 1.6.1 + --------------------------------------- + + 1. This LICENSE AGREEMENT is between the Corporation for National + Research Initiatives, having an office at 1895 Preston White Drive, + Reston, VA 20191 ("CNRI"), and the Individual or Organization + ("Licensee") accessing and otherwise using Python 1.6.1 software in + source or binary form and its associated documentation. + + 2. Subject to the terms and conditions of this License Agreement, CNRI + hereby grants Licensee a nonexclusive, royalty-free, world-wide + license to reproduce, analyze, test, perform and/or display publicly, + prepare derivative works, distribute, and otherwise use Python 1.6.1 + alone or in any derivative version, provided, however, that CNRI's + License Agreement and CNRI's notice of copyright, i.e., "Copyright (c) + 1995-2001 Corporation for National Research Initiatives; All Rights + Reserved" are retained in Python 1.6.1 alone or in any derivative + version prepared by Licensee. Alternately, in lieu of CNRI's License + Agreement, Licensee may substitute the following text (omitting the + quotes): "Python 1.6.1 is made available subject to the terms and + conditions in CNRI's License Agreement. This Agreement together with + Python 1.6.1 may be located on the Internet using the following + unique, persistent identifier (known as a handle): 1895.22/1013. This + Agreement may also be obtained from a proxy server on the Internet + using the following URL: http://hdl.handle.net/1895.22/1013". + + 3. In the event Licensee prepares a derivative work that is based on + or incorporates Python 1.6.1 or any part thereof, and wants to make + the derivative work available to others as provided herein, then + Licensee hereby agrees to include in any such work a brief summary of + the changes made to Python 1.6.1. + + 4. CNRI is making Python 1.6.1 available to Licensee on an "AS IS" + basis. CNRI MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR + IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, CNRI MAKES NO AND + DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS + FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON 1.6.1 WILL NOT + INFRINGE ANY THIRD PARTY RIGHTS. + + 5. CNRI SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON + 1.6.1 FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS + A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON 1.6.1, + OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. + + 6. This License Agreement will automatically terminate upon a material + breach of its terms and conditions. + + 7. This License Agreement shall be governed by the federal + intellectual property law of the United States, including without + limitation the federal copyright law, and, to the extent such + U.S. federal law does not apply, by the law of the Commonwealth of + Virginia, excluding Virginia's conflict of law provisions. + Notwithstanding the foregoing, with regard to derivative works based + on Python 1.6.1 that incorporate non-separable material that was + previously distributed under the GNU General Public License (GPL), the + law of the Commonwealth of Virginia shall govern this License + Agreement only as to issues arising under or with respect to + Paragraphs 4, 5, and 7 of this License Agreement. Nothing in this + License Agreement shall be deemed to create any relationship of + agency, partnership, or joint venture between CNRI and Licensee. This + License Agreement does not grant permission to use CNRI trademarks or + trade name in a trademark sense to endorse or promote products or + services of Licensee, or any third party. + + 8. By clicking on the "ACCEPT" button where indicated, or by copying, + installing or otherwise using Python 1.6.1, Licensee agrees to be + bound by the terms and conditions of this License Agreement. + + ACCEPT + + + CWI LICENSE AGREEMENT FOR PYTHON 0.9.0 THROUGH 1.2 + -------------------------------------------------- + + Copyright (c) 1991 - 1995, Stichting Mathematisch Centrum Amsterdam, + The Netherlands. All rights reserved. + + 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 Stichting Mathematisch + Centrum or CWI not be used in advertising or publicity pertaining to + distribution of the software without specific, written prior + permission. + + STICHTING MATHEMATISCH CENTRUM DISCLAIMS ALL WARRANTIES WITH REGARD TO + THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND + FITNESS, IN NO EVENT SHALL STICHTING MATHEMATISCH CENTRUM 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. + + +About the Debian packaging: + + Some files in the original tarball are licensed under several licenses + (QPL, GFDL, etc...), they may have distribution problems (for example: + QPL is not compatible with GPL and GFDL files shoudn't have invariant + sections) and they are also useless so they are removed from the tarball, + please use the provided get-orig-source target to generate the tarball. --- waf-1.5.10+dfsg.orig/debian/compat +++ waf-1.5.10+dfsg/debian/compat @@ -0,0 +1 @@ +7 --- waf-1.5.10+dfsg.orig/debian/changelog +++ waf-1.5.10+dfsg/debian/changelog @@ -0,0 +1,44 @@ +waf (1.5.10+dfsg-1) unstable; urgency=low + + * New upstream release. + - Fix FTBFS if build process is run twice in a row (Closes: #548525). + * debian/patches/bld.install_files.patch: + - Removed, applied upstream. + + -- Luca Falavigna Wed, 18 Nov 2009 20:52:18 +0100 + +waf (1.5.9+dfsg-2) unstable; urgency=low + + * debian/patches/bld.install_files.patch: + - Allow single nodes in bld.install_files (Closes: #548329). + * debian/patches/fun_check.patch: + - Implement a no-op check target for compatibility issues, let wscript + shutdown() method to provide UnitTest routines (Closes: #544792). + + -- Luca Falavigna Sat, 26 Sep 2009 19:25:26 +0200 + +waf (1.5.9+dfsg-1) unstable; urgency=low + + * New upstream release. + * Update my e-mail address. + * Bump Standards-Version to 3.8.3, no changes required. + + -- Luca Falavigna Wed, 02 Sep 2009 12:44:55 +0000 + +waf (1.5.8+dfsg-2) unstable; urgency=low + + [ Luca Falavigna ] + * debian/patches/intltool.patch: + - Intltool backward compatibility fix to allow build with older wscripts. + + [ Devid Antonio Filoni ] + * debian/copyright: add the full text of Python License and add a note about + Debian packaging. + + -- Devid Antonio Filoni Tue, 28 Jul 2009 20:51:32 +0200 + +waf (1.5.8+dfsg-1) unstable; urgency=low + + * Initial release (Closes: #466304). + + -- Devid Antonio Filoni Sun, 19 Jul 2009 16:23:56 +0200 --- waf-1.5.10+dfsg.orig/debian/links +++ waf-1.5.10+dfsg/debian/links @@ -0,0 +1 @@ +usr/share/waf/waf-light usr/bin/waf --- waf-1.5.10+dfsg.orig/debian/waf-doc.docs +++ waf-1.5.10+dfsg/debian/waf-doc.docs @@ -0,0 +1 @@ +doc/book/build/default/* --- waf-1.5.10+dfsg.orig/debian/waf-doc.doc-base +++ waf-1.5.10+dfsg/debian/waf-doc.doc-base @@ -0,0 +1,10 @@ +Document: waf +Title: The Waf Book +Author: Thomas Nagy +Abstract: This manual describes what waf is + and how it can be used to build an application. +Section: Help/Books + +Format: HTML +Index: /usr/share/doc/waf-doc/index.html +Files: /usr/share/doc/waf-doc/*.html --- waf-1.5.10+dfsg.orig/debian/waf.1 +++ waf-1.5.10+dfsg/debian/waf.1 @@ -0,0 +1,53 @@ +.TH WAF 1 "Jul 19, 2009" +.SH NAME +waf \- a Python-based build system +.SH SYNOPSIS +.B waf +.RI [ options ] +.SH DESCRIPTION +This manual page documents briefly the +.B waf +commands. +.PP +\fBWaf\fP is a Python-based framework for configuring, compiling and +installing applications. It derives from the concepts of other build tools +such as SCons, Autotools, CMake or Ant. +.SH 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. +.TP +.B \-h, \-\-help +Show summary of options. +.TP +.B \-\-version +Show version of program. +.TP +.B \-j JOBS, \-\-jobs=JOBS +Amount of parallel jobs (1). +.TP +.B \-k, \-\-keep +Keep running happily on independent task groups. +.TP +.B \-v, \-\-verbose +Verbosity level \-v \-vv or \-vvv [default: 0]. +.TP +.B \-\-nocache +Ignore the WAFCACHE (if set). +.TP +.B \-\-zones=ZONES +Debugging zones (task_gen, deps, tasks, etc...). +.TP +.B \-p, \-\-progress +\-p: progress bar; \-pp: ide output. +.TP +.B \-\-targets=COMPILE_TARGETS +Build given task generators, e.g. "target1, target2". +.TP +This man may be incomplete. Run "waf \-\-help" for a complete list of options. +.SH AUTHOR +waf was written by Thomas Nagy . +.PP +This manual page was written by Devid Antonio Filoni , +for the Debian project (and may be used by others). --- waf-1.5.10+dfsg.orig/debian/install +++ waf-1.5.10+dfsg/debian/install @@ -0,0 +1,2 @@ +waf-light usr/share/waf +wafadmin usr/share/waf --- waf-1.5.10+dfsg.orig/debian/control +++ waf-1.5.10+dfsg/debian/control @@ -0,0 +1,43 @@ +Source: waf +Section: devel +Priority: optional +Maintainer: Devid Antonio Filoni +Uploaders: Python Applications Packaging Team , + Luca Falavigna +Build-Depends: debhelper (>= 7.2.6), quilt (>= 0.46-7) +Build-Depends-Indep: python (>= 2.4), python-support (>= 0.5.3), xsltproc, + docbook-xsl +XS-Python-Version: >= 2.4 +Standards-Version: 3.8.3 +Homepage: http://code.google.com/p/waf/ +Vcs-Svn: svn://svn.debian.org/python-apps/packages/waf/trunk/ +Vcs-Browser: http://svn.debian.org/viewsvn/python-apps/packages/waf/trunk/ + +Package: waf +Architecture: all +Depends: ${python:Depends}, ${misc:Depends} +Suggests: waf-doc +Description: Python-based build system + Waf is a Python-based framework for configuring, compiling and installing + applications. It derives from the concepts of other build tools such as + SCons, Autotools, CMake or Ant. + . + Waf is now used in many open-source and proprietary projects. Here are a few + reasons: + * It supports build phases (Autotools, Maven-like) + * It encourages reliable builds + * It features excellent performance and scalability + * It is designed to be flexible + * It is very easy to use and to deploy + +Package: waf-doc +Section: doc +Architecture: all +Depends: ${misc:Depends} +Suggests: waf +Description: documentation for waf + Waf is a Python-based framework for configuring, compiling and installing + applications. It derives from the concepts of other build tools such as + SCons, Autotools, CMake or Ant. + . + This package provides documentation for Waf. --- waf-1.5.10+dfsg.orig/debian/docs +++ waf-1.5.10+dfsg/debian/docs @@ -0,0 +1 @@ +README --- waf-1.5.10+dfsg.orig/debian/README.source +++ waf-1.5.10+dfsg/debian/README.source @@ -0,0 +1,66 @@ + * Some files in the original tarball are licensed under several licenses + (QPL, GFDL, etc...), they may have distribution problems (for example: + QPL is not compatible with GPL and GFDL files shoudn't have invariant + sections) and they are also useless so they are removed from the tarball, + please use the provided get-orig-source target to generate the tarball. + + -- Devid Antonio Filoni Sun, 19 Jul 2009 16:23:56 +0200 + + +This package uses quilt to manage all modifications to the upstream +source. Changes are stored in the source package as diffs in +debian/patches and applied during the build. + +To configure quilt to use debian/patches instead of patches, you want +either to export QUILT_PATCHES=debian/patches in your environment +or use this snippet in your ~/.quiltrc: + + for where in ./ ../ ../../ ../../../ ../../../../ ../../../../../; do + if [ -e ${where}debian/rules -a -d ${where}debian/patches ]; then + export QUILT_PATCHES=debian/patches + fi + done + +To get the fully patched source after unpacking the source package, cd to +the root level of the source package and run: + + quilt push -a + +The last patch listed in debian/patches/series will become the current +patch. + +To add a new set of changes, first run quilt push -a, and then run: + + quilt new + +where is a descriptive name for the patch, used as the filename in +debian/patches. Then, for every file that will be modified by this patch, +run: + + quilt add + +before editing those files. You must tell quilt with quilt add what files +will be part of the patch before making changes or quilt will not work +properly. After editing the files, run: + + quilt refresh + +to save the results as a patch. + +Alternately, if you already have an external patch and you just want to +add it to the build system, run quilt push -a and then: + + quilt import -P /path/to/patch + quilt push -a + +(add -p 0 to quilt import if needed). as above is the filename to +use in debian/patches. The last quilt push -a will apply the patch to +make sure it works properly. + +To remove an existing patch from the list of patches that will be applied, +run: + + quilt delete + +You may need to run quilt pop -a to unapply patches first before running +this command. --- waf-1.5.10+dfsg.orig/debian/manpages +++ waf-1.5.10+dfsg/debian/manpages @@ -0,0 +1 @@ +debian/waf.1 --- waf-1.5.10+dfsg.orig/debian/rules +++ waf-1.5.10+dfsg/debian/rules @@ -0,0 +1,33 @@ +#!/usr/bin/make -f + +VERSION=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^-+]+).*,\1,p') + +export DEB_BUILD_OPTIONS := nocheck + +%: + dh --with quilt $@ + +override_dh_auto_clean: + find -name "*.lock-wscript" -delete + find -name "*.pyc" -delete + rm -fr doc/book/build doc/book/wafadmin doc/book/waf-light + +override_dh_auto_configure: + +override_dh_auto_build: + cd doc/book && cp -r $(CURDIR)/waf* . && \ + sed -i 's|test(base)|test(os.getcwd())|' waf-light && \ + python waf-light configure && python waf-light build + +get-orig-source: + cd $(CURDIR); \ + wget http://waf.googlecode.com/files/waf-$(VERSION).tar.bz2; \ + tar fjx waf-$(VERSION).tar.bz2; \ + rm waf-$(VERSION).tar.bz2; \ + mv waf-$(VERSION) waf-$(VERSION)+dfsg; \ + tar --exclude=waf-$(VERSION)+dfsg/demos --exclude=waf-$(VERSION)+dfsg/playground \ + --exclude=waf-$(VERSION)+dfsg/test --exclude=waf-$(VERSION)+dfsg/utils \ + -cf ../waf_$(VERSION)+dfsg.orig.tar waf-$(VERSION)+dfsg; \ + rm -rf waf-$(VERSION)+dfsg; \ + cd ..; \ + gzip -9nf waf_$(VERSION)+dfsg.orig.tar --- waf-1.5.10+dfsg.orig/debian/watch +++ waf-1.5.10+dfsg/debian/watch @@ -0,0 +1,4 @@ +version=3 +opts=dversionmangle=s/\+dfsg// \ + http://code.google.com/p/waf/downloads/list \ + http://waf.googlecode.com/files/waf-(.*)\.tar\.bz2 --- waf-1.5.10+dfsg.orig/debian/patches/waf_stylesheet.patch +++ waf-1.5.10+dfsg/debian/patches/waf_stylesheet.patch @@ -0,0 +1,19 @@ +Description: Adjust path to the stylesheet file to match Debian packaging +Origin: Debian +Forwarded: not-needed + +Index: waf-1.5.8/doc/book/wscript +=================================================================== +--- waf-1.5.8.orig/doc/book/wscript 2009-07-19 15:26:47.000000000 +0200 ++++ waf-1.5.8/doc/book/wscript 2009-07-19 15:27:01.000000000 +0200 +@@ -87,8 +87,8 @@ + obj.source = 'waf.xml' + + obj.type = 'html' +- obj.stylesheet='/usr/share/xml/docbook/stylesheet/nwalsh/current/html/chunk.xsl' +- obj.stylesheet='/home/waf/Escritorio/docbook/docbook-xsl-snapshot/html/chunk.xsl' ++ obj.stylesheet='/usr/share/xml/docbook/stylesheet/docbook-xsl/html/chunk.xsl' ++ #obj.stylesheet='/home/waf/Escritorio/docbook/docbook-xsl-snapshot/html/chunk.xsl' + #obj.stylesheet='/usr/share/sgml/docbook/xsl-stylesheets/html/chunk.xsl' + #obj.stylesheet = '/home/tnagy/docbook-xsl-snapshot/html/chunk.xsl' + --- waf-1.5.10+dfsg.orig/debian/patches/fun_check.patch +++ waf-1.5.10+dfsg/debian/patches/fun_check.patch @@ -0,0 +1,18 @@ +Description: Implement a no-op check target for compatibility issues. +Origin: Debian +Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=544792 +Forwarded: not-needed + +Index: waf-1.5.9+dfsg/wafadmin/Scripting.py +=================================================================== +--- waf-1.5.9+dfsg.orig/wafadmin/Scripting.py 2009-09-26 19:15:16.992772248 +0200 ++++ waf-1.5.9+dfsg/wafadmin/Scripting.py 2009-09-26 19:15:41.512773034 +0200 +@@ -167,6 +167,8 @@ + fun = configure + elif x == 'build': + fun = build ++ elif x == 'check': ++ fun = Utils.nada + else: + fun = getattr(Utils.g_module, x, None) + --- waf-1.5.10+dfsg.orig/debian/patches/series +++ waf-1.5.10+dfsg/debian/patches/series @@ -0,0 +1,5 @@ +WAFDIR.patch +waf_stylesheet.patch +unpack_in_cwd.patch +intltool.patch +fun_check.patch --- waf-1.5.10+dfsg.orig/debian/patches/intltool.patch +++ waf-1.5.10+dfsg/debian/patches/intltool.patch @@ -0,0 +1,26 @@ +Description: Intltool backward compatibility fix to allow build with older wscrips +Origin: Debian +Forwarded: not-needed + +Index: waf-1.5.8+dfsg/wafadmin/Tools/intltool.py +=================================================================== +--- waf-1.5.8+dfsg.orig/wafadmin/Tools/intltool.py 2009-07-27 15:47:19.000000000 +0000 ++++ waf-1.5.8+dfsg/wafadmin/Tools/intltool.py 2009-07-27 15:47:59.000000000 +0000 +@@ -40,7 +40,7 @@ + cache = getattr(self, 'intlcache', '.intlcache') + self.env['INTLCACHE'] = os.path.join(self.path.bldpath(self.env), podir, cache) + self.env['INTLPODIR'] = podirnode.srcpath(self.env) +- self.env['INTLFLAGS'] = getattr(self, 'flags', ['-q', '-u', '-c']) ++ self.env['INTLFLAGS'] = getattr(self, 'flags', None) + + task = self.create_task('intltool') + task.set_inputs(node) +@@ -96,7 +96,7 @@ + + Task.simple_task_type('po', '${POCOM} -o ${TGT} ${SRC}', color='BLUE', shell=False) + Task.simple_task_type('intltool', +- '${INTLTOOL} ${INTLFLAGS} ${INTLCACHE} ${INTLPODIR} ${SRC} ${TGT}', ++ '${INTLTOOL} ${INTLFLAGS} -q -u -c ${INTLCACHE} ${INTLPODIR} ${SRC} ${TGT}', + color='BLUE', after="cc_link cxx_link", shell=False) + + def detect(conf): --- waf-1.5.10+dfsg.orig/debian/patches/WAFDIR.patch +++ waf-1.5.10+dfsg/debian/patches/WAFDIR.patch @@ -0,0 +1,17 @@ +Description: Look for wafadmin into /usr/share/waf +Origin: Debian +Forwarded: not-needed + +Index: waf-1.5.8+dfsg/waf-light +=================================================================== +--- waf-1.5.8+dfsg.orig/waf-light 2009-07-25 19:17:44.000000000 +0200 ++++ waf-1.5.8+dfsg/waf-light 2009-07-25 19:18:13.000000000 +0200 +@@ -114,7 +114,7 @@ + base = os.path.dirname(os.path.abspath(name)) + + #devs use $WAFDIR +- w=test(os.environ.get('WAFDIR', '')) ++ w=test('/usr/share/waf') + if w: return w + + #waf-light --- waf-1.5.10+dfsg.orig/debian/patches/unpack_in_cwd.patch +++ waf-1.5.10+dfsg/debian/patches/unpack_in_cwd.patch @@ -0,0 +1,17 @@ +Description: Always unpack Waf lib directory in the current working directory +Origin: Debian +Forwarded: not-needed + +Index: waf-1.5.8/waf-light +=================================================================== +--- waf-1.5.8.orig/waf-light 2009-07-19 16:45:26.000000000 +0200 ++++ waf-1.5.8/waf-light 2009-07-19 16:46:10.000000000 +0200 +@@ -111,7 +111,7 @@ + + def find_lib(): + name = sys.argv[0] +- base = os.path.dirname(os.path.abspath(name)) ++ base = os.path.dirname(os.getcwd()) + + #devs use $WAFDIR + w=test('/usr/share/waf')