Changeset 6686

Show
Ignore:
Timestamp:
09/04/05 15:51:05 (3 years ago)
Author:
rafl
Message:

Debian Package:
* Added license of examples/hop6 to debian/copyright.
* Install some more manpages into the pugs package.
* Added ability to build optimized or unoptimized base on DEB_BUILD_OPTIONS.
* Fixed syntax error when running tests.
* Run smome-all by default when running tests.
* Added ability to change the tests being run with the TESTS environment

variable.

* Added ability to send the generated smoke htmls to the smokeserv. This can be

disabled by setting DONT_SEND_SMOKE to something true.

* Install lintian overrides for pugs-modules to prevent "unusual interpreter"

warnings.

* Don't generate a pugs.1 manpage. Link to pugs::run instead.
* Remove extra license file for hop6.
* Remove empty files in the pugs-doc package.

Location:
debian
Files:
2 added
3 modified

Legend:

Unmodified
Added
Removed
  • debian/copyright

    r5248 r6686  
    141141an infinite duration of infinite punishments and (2) exacts said punishments 
    142142upon all parties (related or non-related). 
     143 
     144 
     145The code in examples/hop6/ (installed to usr/share/doc/pugs-doc/hop6) is 
     146Copyright 2005 Elsevier Inc. 
     147 
     148The full license test follows. 
     149 
     150About the Software 
     151 
     152All Software (code listings) presented in the book can be found on the 
     153companion website for the book (http://perl.plover.com/hop/) and is 
     154subject to the License agreements below. 
     155 
     156 
     157ELSEVIER SOFTWARE LICENSE AGREEMENT 
     158 
     159Please read the following agreement carefully before using this 
     160Software. This Software is licensed under the terms contained in this 
     161Software license agreement ("agreement"). By using this Software 
     162product, you, an individual, or entity including employees, agents and 
     163representatives ("you" or "your"), acknowledge that you have read this 
     164agreement, that you understand it, and that you agree to be bound by 
     165the terms and conditions of this agreement. Elsevier inc. ("Elsevier") 
     166expressly does not agree to license this Software product to you 
     167unless you assent to this agreement. If you do not agree with any of 
     168the following terms, do not use the Software. 
     169 
     170LIMITED WARRANTY AND LIMITATION OF LIABILITY 
     171 
     172YOUR USE OF THIS SOFTWARE IS AT YOUR OWN RISK. NEITHER ELSEVIER NOR 
     173ITS LICENSORS REPRESENT OR WARRANT THAT THE SOFTWARE PRODUCT WILL MEET 
     174YOUR REQUIREMENTS OR THAT ITS OPERATION WILL BE UNINTERRUPTED OR 
     175ERROR-FREE. WE EXCLUDE AND EXPRESSLY DISCLAIM ALL EXPRESS AND IMPLIED 
     176WARRANTIES NOT STATED HEREIN, INCLUDING THE IMPLIED WARRANTIES OF 
     177MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN ADDITION, 
     178NEITHER ELSEVIER NOR ITS LICENSORS MAKE ANY REPRESENTATIONS OR 
     179WARRANTIES, EITHER EXPRESS OR IMPLIED, REGARDING THE PERFORMANCE OF 
     180YOUR NETWORK OR COMPUTER SYSTEM WHEN USED IN CONJUNCTION WITH THE 
     181SOFTWARE PRODUCT. WE SHALL NOT BE LIABLE FOR ANY DAMAGE OR LOSS OF ANY 
     182KIND ARISING OUT OF OR RESULTING FROM YOUR POSSESSION OR USE OF THE 
     183SOFTWARE PRODUCT CAUSED BY ERRORS OR OMISSIONS, DATA LOSS OR 
     184CORRUPTION, ERRORS OR OMISSIONS IN THE PROPRIETARY MATERIAL, 
     185REGARDLESS OF WHETHER SUCH LIABILITY IS BASED IN TORT, CONTRACT OR 
     186OTHERWISE AND INCLUDING, BUT NOT LIMITED TO, ACTUAL, SPECIAL, 
     187INDIRECT, INCIDENTAL OR CONSEQUENTIAL DAMAGES. IF THE FOREGOING 
     188LIMITATION IS HELD TO BE UNENFORCEABLE, OUR MAXIMUM LIABILITY TO YOU 
     189SHALL NOT EXCEED THE AMOUNT OF THE PURCHASE PRICE PAID BY YOU FOR THE 
     190SOFTWARE PRODUCT. THE REMEDIES AVAILABLE TO YOU AGAINST US AND THE 
     191LICENSORS OF MATERIALS INCLUDED IN THE SOFTWARE PRODUCT ARE EXCLUSIVE. 
     192 
     193YOU UNDERSTAND THAT ELSEVIER, ITS AFFILIATES, LICENSORS, SUPPLIERS AND 
     194AGENTS, MAKE NO WARRANTIES, EXPRESSED OR IMPLIED, WITH RESPECT TO THE 
     195SOFTWARE PRODUCT, INCLUDING, WITHOUT LIMITATION THE PROPRIETARY 
     196MATERIAL, AND SPECIFICALLY DISCLAIM ANY WARRANTY OF MERCHANTABILITY OR 
     197FITNESS FOR A PARTICULAR PURPOSE. 
     198 
     199IN NO EVENT WILL ELSEVIER, ITS AFFILIATES, LICENSORS, SUPPLIERS OR 
     200AGENTS, BE LIABLE TO YOU FOR ANY DAMAGES, INCLUDING, WITHOUT 
     201LIMITATION, ANY LOST PROFITS, LOST SAVINGS OR OTHER INCIDENTAL OR 
     202CONSEQUENTIAL DAMAGES, ARISING OUT OF YOUR USE OR INABILITY TO USE THE 
     203SOFTWARE PRODUCT REGARDLESS OF WHETHER SUCH DAMAGES ARE FORESEEABLE OR 
     204WHETHER SUCH DAMAGES ARE DEEMED TO RESULT FROM THE FAILURE OR 
     205INADEQUACY OF ANY EXCLUSIVE OR OTHER REMEDY. 
     206 
     207Software License Agreement 
     208 
     209This Software License Agreement is a legal agreement between the 
     210Author and any person or legal entity using or accepting any Software 
     211governed by this Agreement. The Software is available on the companion 
     212website (http://perl.plover.com/hop/) for the Book, Higher-Order Perl, 
     213which is published by Morgan Kaufmann Publishers. "The Software" is 
     214comprised of all code (fragments and pseudocode) presented in the 
     215book. 
     216 
     217By installing, copying, or otherwise using the Software, you agree to 
     218be bound by the terms of this Agreement. 
     219 
     220The parties agree as follows: 
     221 
     2221. Grant of License. We grant you a nonexclusive license to use the 
     223   Software for any purpose, commercial or non-commercial, as long as 
     224   the following credit is included identifying the original source of 
     225   the Software: "from Higher-Order Perl by Mark Dominus, published by 
     226   Morgan Kaufmann Publishers, Copyright 2005 by Elsevier Inc". 
     227 
     2282. Disclaimer of Warranty. We make no warranties at all. The Software 
     229   is transferred to you on an "as is" basis. You use the Software at 
     230   your own peril. You assume all risk of loss for all claims or 
     231   controversies, now existing or hereafter, arising out of use of the 
     232   Software. We shall have no liability based on a claim that your use 
     233   or combination of the Software with products or data not supplied 
     234   by us infringes any patent, copyright, or proprietary right. All 
     235   other warranties, expressed or implied, including, without 
     236   limitation, any warranty of merchantability or fitness for a 
     237   particular purpose are hereby excluded. 
     238 
     2393. Limitation of Liability. We will have no liability for special, 
     240   incidental, or consequential damages even if advised of the 
     241   possibility of such damages. We will not be liable for any other 
     242   damages or loss in any way connected with the Software. 
  • debian/pugs.install

    r5587 r6686  
    11usr/share/vim/* 
     2usr/share/man/* 
    23usr/lib/perl6/* 
    34usr/bin/* 
  • debian/rules

    r6598 r6686  
    11#!/usr/bin/make -f 
    22 
    3 CFLAGS = -Wall -g 
     3ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) 
     4        CFLAGS = optimized 
     5else 
     6        CFLAGS = unoptimized 
     7endif 
    48 
    5 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) 
    6         CFLAGS += -O0 
    7 else 
    8         CFLAGS += -O2 
    9 endif 
     9TESTS='smoke-all' 
    1010 
    1111configure: configure-stamp 
     
    1919build-arch: build-arch-stamp 
    2020build-arch-stamp: configure-stamp  
    21         $(MAKE) optimized 
    22         -test ($$SKIP_TESTS) || $(MAKE) test 
    23         pod2man --section=1 --release="Debian Project" --center="Debian GNU/Linux manual" $(CURDIR)/lib/pugs/run.pod $(CURDIR)/debian/pugs.1 
     21        $(MAKE) $(CFLAGS) 
     22        -test $$SKIP_TESTS || $(MAKE) $(TESTS) 
     23        -if [ ! $$DONT_SEND_SMOKE ]; then \ 
     24                for html in $(CURDIR)/*smoke.html; do \ 
     25                        ./util/smokeserv/smokeserv-client.pl $$html; \ 
     26                done; \ 
     27        fi 
    2428        pod2man --section=1 --release="Debian Project" --center="Debian GNU/Linux manual" $(CURDIR)/script/pugscc $(CURDIR)/debian/pugscc.1 
    2529        touch build-arch-stamp 
     
    4145        dh_testroot 
    4246        dh_installdirs 
    43         dh_install -i --sourcedir=$(CURDIR)/debian/tmp 
     47        dh_install -i --sourcedir=$(CURDIR)/debian/tmp --list-missing 
    4448        cp -r $(CURDIR)/docs/* $(CURDIR)/debian/pugs-doc/usr/share/doc/pugs-doc/ 
     49        cp $(CURDIR)/debian/pugs-modules.lintian-overrides $(CURDIR)/debian/pugs-modules/usr/share/lintian/overrides/pugs-modules 
    4550        rm -f $(CURDIR)/debian/pugs-doc/usr/share/doc/pugs-doc/SEEALSO 
    46         find $(CURDIR)/debian/pugs-doc/ -type f -size 0 -exec rm -f {} \; 
    4751 
    4852install-arch: 
     
    5256        $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp 
    5357        cp util/perl6.vim $(CURDIR)/debian/pugs/usr/share/vim/vim63/syntax/ 
    54         dh_install -s --sourcedir=$(CURDIR)/debian/tmp 
     58        dh_install -s --sourcedir=$(CURDIR)/debian/tmp --list-missing 
    5559        rm -f $(CURDIR)/debian/pugs/usr/lib/perl6/5.8/CORE/pugs/gen_prelude \ 
    5660        $(CURDIR)/debian/pugs/usr/lib/perl6/5.8/CORE/pugs/Pugs/Rule/LICENSE \ 
     
    6670        dh_installdocs -i 
    6771        dh_installexamples -i examples/* 
     72        rm -f $(CURDIR)/debian/pugs-doc/usr/share/doc/pugs-doc/examples/hop6/LICENSE.txt 
     73        find $(CURDIR)/debian/pugs-doc/ -type f -size 0 -exec rm -f {} \; 
    6874        dh_installman -i 
    6975        dh_link -i 
     
    8490        dh_installchangelogs -a ChangeLog 
    8591        dh_installdocs -a 
    86         dh_installman -a debian/pugs.1 debian/pugscc.1 
     92        dh_installman -a debian/pugscc.1 
    8793        dh_link -a 
    8894        dh_compress  -a