debian/0000755000000000000000000000000012254367672007204 5ustar debian/control0000644000000000000000000000645212254357606010612 0ustar Source: oolite Section: games Priority: optional Maintainer: Nicolas Boulenguez Standards-Version: 3.9.5 Build-Depends: dpkg-dev (>= 1.16.1), debhelper (>= 9), libsdl1.2-dev, libsdl-mixer1.2-dev, libgnustep-base-dev, gnustep-core-devel, libnspr4-dev, libmozjs185-dev, libpng-dev, mesa-common-dev, gobjc, pkg-config Build-Depends-Indep: libreoffice-writer, fonts-liberation, fonts-dejavu, fonts-opensymbol Homepage: http://www.oolite.org Vcs-Git: git://anonscm.debian.org/pkg-games/oolite.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-games/oolite.git Package: oolite Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, oolite-data (= ${source:Version}) Replaces: oolite-data (<< 1.76.1-3) Breaks: oolite-data (<< 1.76.1-3) Recommends: oolite-doc (= ${source:Version}), oolite-data-sounds (= ${source:Version}) Description: space sim game, inspired by Elite Oolite is a space sim game, inspired by Elite, powered by Objective-C and OpenGL, and designed as a small game that is easy for users to pick up, modify and expand upon. Almost every aspect of the game can be changed by using simple, free graphics packages and text-editors. . The purpose of the game is to fly from planet to planet, buying and selling goods, shooting pirates or committing acts of piracy. Package: oolite-doc Section: doc Architecture: all Depends: ${misc:Depends} Replaces: oolite (<<1.74.2-2), oolite-data (<< 1.74.2-2) Breaks: oolite (<<1.74.2-2), oolite-data (<< 1.74.2-2) Suggests: oolite Description: space sim game, inspired by Elite (documentation) Oolite is a space sim game, inspired by Elite, powered by Objective-C and OpenGL, and designed as a small game that is easy for users to pick up, modify and expand upon. Almost every aspect of the game can be changed by using simple, free graphics packages and text-editors. . The purpose of the game is to fly from planet to planet, buying and selling goods, shooting pirates or committing acts of piracy. . This package contains the documentation. Package: oolite-data Architecture: all Depends: ${misc:Depends} Replaces: oolite (<<1.74.2-2) Breaks: oolite (<<1.74.2-2) Description: space sim game, inspired by Elite (data files) Oolite is a space sim game, inspired by Elite, powered by Objective-C and OpenGL, and designed as a small game that is easy for users to pick up, modify and expand upon. Almost every aspect of the game can be changed by using simple, free graphics packages and text-editors. . The purpose of the game is to fly from planet to planet, buying and selling goods, shooting pirates or committing acts of piracy. . This package contains the data files for the game. Package: oolite-data-sounds Architecture: all Depends: ${misc:Depends} Replaces: oolite-data (<< 1.74.2-2) Breaks: oolite-data (<< 1.74.2-2) Description: space sim game, inspired by Elite (sounds) Oolite is a space sim game, inspired by Elite, powered by Objective-C and OpenGL, and designed as a small game that is easy for users to pick up, modify and expand upon. Almost every aspect of the game can be changed by using simple, free graphics packages and text-editors. . The purpose of the game is to fly from planet to planet, buying and selling goods, shooting pirates or committing acts of piracy. . This package contains the sounds. debian/launcher/0000755000000000000000000000000012236276515011000 5ustar debian/launcher/oolite0000755000000000000000000000004012236276515012213 0ustar #!/bin/sh openapp oolite "$@" & debian/oolite-data.install0000644000000000000000000000160112254356115012762 0ustar oolite.app/Resources/AIs usr/share/oolite oolite.app/Resources/Config usr/share/oolite oolite.app/Resources/Images usr/share/oolite oolite.app/Resources/Info-gnustep.plist usr/share/oolite oolite.app/Resources/InfoPlist.strings usr/share/oolite oolite.app/Resources/Models usr/share/oolite oolite.app/Resources/oolite-document.icns usr/share/oolite oolite.app/Resources/oolite-expansion-document.icns usr/share/oolite oolite.app/Resources/oolite-icon.icns usr/share/oolite oolite.app/Resources/Schemata usr/share/oolite oolite.app/Resources/Scripts usr/share/oolite oolite.app/Resources/Shaders usr/share/oolite oolite.app/Resources/Textures usr/share/oolite debian/oolite.install0000644000000000000000000000051712254356115012060 0ustar oolite.app/oolite usr/lib/GNUstep/Applications/oolite.app installers/FreeDesktop/oolite.desktop usr/share/applications installers/FreeDesktop/oolite-icon.png usr/share/icons debian/launcher/oolite usr/games # Needed by debian/oolite.menu debian/oolite-logo1.xpm usr/share/pixmaps debian/copyright0000644000000000000000000013615212254357606011143 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Oolite Upstream-Contact: http://www.oolite.org Source: http://www.oolite.org. These files are removed from the upstream archive (by running debian/dfsg_cleaner): . *.xcodeproj: Xcode proprietary IDE creates large subdirectories with *hash blobs. . * "Asset Source": auxiliary files for texture design (14Mo). Ideally, some should be regenerated. . * debian/:: this subdirectory would be removed by dpkg-source anyways, but it is convenient not to see it in git. . * compiled binaries or binary sound files, replaced by packaged version: deps/Cocoa-deps deps/Cross-platform-deps deps/Linux-deps/x86 deps/Linux-deps/x86_64 deps/Windows-x86-deps . * regenerated from source. Doc/OoliteReadMe.pdf Doc/OoliteRS.pdf src/Core/OOPlanetData.[ch] (1.3Mo, hard to compress). Comment: Many headers mention the MIT license, but may be ignored since Oolite was relicensed in 2007. See the public announcement at http://www.aegidian.org/bb/viewtopic.php?f=1&t=3072 or the Doc/LICENSE file. Files: * Copyright: 2004-2013 Giles C Williams and contributors 2007-2013 the Oolite project License: GPL-2+ Files: Resources/* Schemata/* installers/*.bmp installers/*.ico installers/*.png Copyright: 2004-2013 Giles C Williams and contributors 2007-2013 the Oolite project License: GPL-2+ or CC-BY-NC-SA-3.0 Files: debian/* Copyright: 2006-2009 Eddy Petrişor 2009 Darren Salt 2009 Michael Werle 2007-2009 Chris Crowther 2010-2013 Nicolas Boulenguez License: GPL-3+ Files: DebugOXP/Source/RBSplitView* Copyright: 2004-2006 Rainer Brockerhoff License: CCA-2.5 or MIT Files: deps/Cocoa-deps/libjs/jsutil.cpp Copyright: 1998 Netscape Communications Corporation 1998 IBM Corp. License: MPL-1.1 or GPL-2+ or LGPL-2.1+ Comment: Alternatively, the contents of this file may be used under the terms of either of the GNU General Public License Version 2 or later (the "GPL"), or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), in which case the provisions of the GPL or the LGPL are applicable instead of those above. If you wish to allow use of your version of this file only under the terms of either the GPL or the LGPL, and not to allow others to use your version of this file under the terms of the MPL, indicate your decision by deleting the provisions above and replace them with the notice and other provisions required by the GPL or the LGPL. If you do not delete the provisions above, a recipient may use your version of this file under the terms of any one of the MPL, the GPL or the LGPL. Files: deps/Cross-platform-deps/DTDs/plist-0_9.dtd Copyright: 2005 Free Software Foundation, Inc. License: GPL-3+ Files: deps/Linux-deps/include/espeak/speak_lib.h Copyright: 2005-2010 Jonathan Duddington License: GPL-3+ Files: deps/Linux-deps/include/SDL_mixer.h Copyright: 1997-2009 Sam Lantinga License: GPL-2+ Files: src/Cocoa/VirtualRingBuffer.[hm] Copyright: 2002 Kurt Revis License: variant of Apache 1.0 Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. . * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or \ other materials provided with the distribution. . * Neither the name of Snoize nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior w\ ritten permission. . THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS 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 COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DI RECT, 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. Files: deps/Linux-deps/include/pngconf.h deps/Linux-deps/include/png.h Copyright: 1998-2011 Glenn Randers-Pehrson 1996-1997 Andreas Dilger 1995-1996 Guy Eric Schalnat, Group 42, Inc. License: PNG License If you modify libpng you may insert additional notices immediately following this sentence. . libpng versions 1.2.6, August 15, 2004, through 1.2.26, April 2, 2008, are Copyright (c) 2004, 2006-2008 Glenn Randers-Pehrson, and are distributed according to the same disclaimer and license as libpng-1.2.5 with the following individual added to the list of Contributing Authors: . Cosmin Truta . libpng versions 1.0.7, July 1, 2000, through 1.2.5, October 3, 2002, are Copyright (c) 2000-2002 Glenn Randers-Pehrson, and are distributed according to the same disclaimer and license as libpng-1.0.6 with the following individuals added to the list of Contributing Authors: . Simon-Pierre Cadieux Eric S. Raymond Gilles Vollant . and with the following additions to the disclaimer: . There is no warranty against interference with your enjoyment of the library or against infringement. There is no warranty that our efforts or the library will fulfill any of your particular purposes or needs. This library is provided with all faults, and the entire risk of satisfactory quality, performance, accuracy, and effort is with the user. . libpng versions 0.97, January 1998, through 1.0.6, March 20, 2000, are Copyright (c) 1998, 1999, 2000 Glenn Randers-Pehrson, and are distributed according to the same disclaimer and license as libpng-0.96, with the following individuals added to the list of Contributing Authors: . Tom Lane Glenn Randers-Pehrson Willem van Schaik . libpng versions 0.89, June 1996, through 0.96, May 1997, are Copyright (c) 1996, 1997 Andreas Dilger Distributed according to the same disclaimer and license as libpng-0.88, with the following individuals added to the list of Contributing Authors: . John Bowler Kevin Bracey Sam Bushell Magnus Holmgren Greg Roelofs Tom Tanner . libpng versions 0.5, May 1995, through 0.88, January 1996, are Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc. . For the purposes of this copyright and license, "Contributing Authors" is defined as the following set of individuals: . Andreas Dilger Dave Martindale Guy Eric Schalnat Paul Schmidt Tim Wegner . The PNG Reference Library is supplied "AS IS". The Contributing Authors and Group 42, Inc. disclaim all warranties, expressed or implied, including, without limitation, the warranties of merchantability and of fitness for any purpose. The Contributing Authors and Group 42, Inc. assume no liability for direct, indirect, incidental, special, exemplary, or consequential damages, which may result from the use of the PNG Reference Library, even if advised of the possibility of such damage. . Permission is hereby granted to use, copy, modify, and distribute this source code, or portions hereof, for any purpose, without fee, subject to the following restrictions: . 1. The origin of this source code must not be misrepresented. . 2. Altered versions must be plainly marked as such and must not be misrepresented as being the original source. . 3. This Copyright notice may not be removed or altered from any source or altered source distribution. . The Contributing Authors and Group 42, Inc. specifically permit, without fee, and encourage the use of this source code as a component to supporting the PNG file format in commercial products. If you use this source code in a product, acknowledgment is not required but would be appreciated. License: GPL-2+ 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 package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA . On Debian systems, the full text of the GNU General Public License version 2 can be found in the file `/usr/share/common-licenses/GPL-2'. License: GPL-3+ 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 3 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 package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA . On Debian systems, the full text of the GNU General Public License version 3 can be found in the file `/usr/share/common-licenses/GPL-3'. License: LGPL-2.1+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 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 Lesser General Public License along with this package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA . On Debian systems, the full text of the GNU Lesser General Public License version 2.1 can be found in the file `/usr/share/common-licenses/LGPL-2.1'. License: CC-BY-NC-SA-3.0 To view a copy of Attribution-NonCommercial-ShareAlike license, visit http://creativecommons.org/licenses/by-nc-sa/3.0/ or send a letter to Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA. . You are free: • to Share — to copy, distribute and transmit the work • to Remix — to adapt the work . Under the following conditions: • Attribution. You must attribute the work in the manner specified by the author or licensor (but not in any way that suggests that they endorse you or your use of the work). • Noncommercial. You may not use this work for commercial purposes. • Share Alike. If you alter, transform, or build upon this work, you may distribute the resulting work only under the same or similar license to this one. . For any reuse or distribution, you must make clear to others the license terms of this work. Any of the above conditions can be waived if you get permission from the copyright holder. Apart from the remix rights granted under this license, nothing in this license impairs or restricts the author’s moral rights. . Your fair dealing and other rights are in no way affected by the above. This is a human-readable summary of the Legal Code (the full license). License: MIT 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. License: CCA-2.5 THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED. . BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE. THE LICENSOR GRANTS YOU THE RIGHTS CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND CONDITIONS. . 1. Definitions . "Collective Work" means a work, such as a periodical issue, anthology or encyclopedia, in which the Work in its entirety in unmodified form, along with a number of other contributions, constituting separate and independent works in themselves, are assembled into a collective whole. A work that constitutes a Collective Work will not be considered a Derivative Work (as defined below) for the purposes of this License. . "Derivative Work" means a work based upon the Work or upon the Work and other pre-existing works, such as a translation, musical arrangement, dramatization, fictionalization, motion picture version, sound recording, art reproduction, abridgment, condensation, or any other form in which the Work may be recast, transformed, or adapted, except that a work that constitutes a Collective Work will not be considered a Derivative Work for the purpose of this License. For the avoidance of doubt, where the Work is a musical composition or sound recording, the synchronization of the Work in timed-relation with a moving image ("synching") will be considered a Derivative Work for the purpose of this License. . "Licensor" means the individual or entity that offers the Work under the terms of this License. . "Original Author" means the individual or entity who created the Work. . "Work" means the copyrightable work of authorship offered under the terms of this License. . "You" means an individual or entity exercising rights under this License who has not previously violated the terms of this License with respect to the Work, or who has received express permission from the Licensor to exercise rights under this License despite a previous violation. . "License Elements" means the following high-level license attributes as selected by Licensor and indicated in the title of this License: Attribution, ShareAlike. . 2. Fair Use Rights. Nothing in this license is intended to reduce, limit, or restrict any rights arising from fair use, first sale or other limitations on the exclusive rights of the copyright owner under copyright law or other applicable laws. . 3. License Grant. Subject to the terms and conditions of this License, Licensor hereby grants You a worldwide, royalty-free, non-exclusive, perpetual (for the duration of the applicable copyright) license to exercise the rights in the Work as stated below: . to reproduce the Work, to incorporate the Work into one or more Collective Works, and to reproduce the Work as incorporated in the Collective Works; . to create and reproduce Derivative Works; . to distribute copies or phonorecords of, display publicly, perform publicly, and perform publicly by means of a digital audio transmission the Work including as incorporated in Collective Works; . to distribute copies or phonorecords of, display publicly, perform publicly, and perform publicly by means of a digital audio transmission Derivative Works. . For the avoidance of doubt, where the work is a musical composition: . Performance Royalties Under Blanket Licenses. Licensor waives the exclusive right to collect, whether individually or via a performance rights society (e.g. ASCAP, BMI, SESAC), royalties for the public performance or public digital performance (e.g. webcast) of the Work. . Mechanical Rights and Statutory Royalties. Licensor waives the exclusive right to collect, whether individually or via a music rights society or designated agent (e.g. Harry Fox Agency), royalties for any phonorecord You create from the Work ("cover version") and distribute, subject to the compulsory license created by 17 USC Section 115 of the US Copyright Act (or the equivalent in other jurisdictions). . Webcasting Rights and Statutory Royalties. For the avoidance of doubt, where the Work is a sound recording, Licensor waives the exclusive right to collect, whether individually or via a performance-rights society (e.g. SoundExchange), royalties for the public digital performance (e.g. webcast) of the Work, subject to the compulsory license created by 17 USC Section 114 of the US Copyright Act (or the equivalent in other jurisdictions). . The above rights may be exercised in all media and formats whether now known or hereafter devised. The above rights include the right to make such modifications as are technically necessary to exercise the rights in other media and formats. All rights not expressly granted by Licensor are hereby reserved. . 4. Restrictions.The license granted in Section 3 above is expressly made subject to and limited by the following restrictions: . You may distribute, publicly display, publicly perform, or publicly digitally perform the Work only under the terms of this License, and You must include a copy of, or the Uniform Resource Identifier for, this License with every copy or phonorecord of the Work You distribute, publicly display, publicly perform, or publicly digitally perform. You may not offer or impose any terms on the Work that alter or restrict the terms of this License or the recipients' exercise of the rights granted hereunder. You may not sublicense the Work. You must keep intact all notices that refer to this License and to the disclaimer of warranties. You may not distribute, publicly display, publicly perform, or publicly digitally perform the Work with any technological measures that control access or use of the Work in a manner inconsistent with the terms of this License Agreement. The above applies to the Work as incorporated in a Collective Work, but this does not require the Collective Work apart from the Work itself to be made subject to the terms of this License. If You create a Collective Work, upon notice from any Licensor You must, to the extent practicable, remove from the Collective Work any credit as required by clause 4(c), as requested. If You create a Derivative Work, upon notice from any Licensor You must, to the extent practicable, remove from the Derivative Work any credit as required by clause 4(c), as requested. . You may distribute, publicly display, publicly perform, or publicly digitally perform a Derivative Work only under the terms of this License, a later version of this License with the same License Elements as this License, or a Creative Commons iCommons license that contains the same License Elements as this License (e.g. Attribution-ShareAlike 2.5 Japan). You must include a copy of, or the Uniform Resource Identifier for, this License or other license specified in the previous sentence with every copy or phonorecord of each Derivative Work You distribute, publicly display, publicly perform, or publicly digitally perform. You may not offer or impose any terms on the Derivative Works that alter or restrict the terms of this License or the recipients' exercise of the rights granted hereunder, and You must keep intact all notices that refer to this License and to the disclaimer of warranties. You may not distribute, publicly display, publicly perform, or publicly digitally perform the Derivative Work with any technological measures that control access or use of the Work in a manner inconsistent with the terms of this License Agreement. The above applies to the Derivative Work as incorporated in a Collective Work, but this does not require the Collective Work apart from the Derivative Work itself to be made subject to the terms of this License. . If you distribute, publicly display, publicly perform, or publicly digitally perform the Work or any Derivative Works or Collective Works, You must keep intact all copyright notices for the Work and provide, reasonable to the medium or means You are utilizing: (i) the name of the Original Author (or pseudonym, if applicable) if supplied, and/or (ii) if the Original Author and/or Licensor designate another party or parties (e.g. a sponsor institute, publishing entity, journal) for attribution in Licensor's copyright notice, terms of service or by other reasonable means, the name of such party or parties; the title of the Work if supplied; to the extent reasonably practicable, the Uniform Resource Identifier, if any, that Licensor specifies to be associated with the Work, unless such URI does not refer to the copyright notice or licensing information for the Work; and in the case of a Derivative Work, a credit identifying the use of the Work in the Derivative Work (e.g., "French translation of the Work by Original Author," or "Screenplay based on original Work by Original Author"). Such credit may be implemented in any reasonable manner; provided, however, that in the case of a Derivative Work or Collective Work, at a minimum such credit will appear where any other comparable authorship credit appears and in a manner at least as prominent as such other comparable authorship credit. . 5. Representations, Warranties and Disclaimer . UNLESS OTHERWISE AGREED TO BY THE PARTIES IN WRITING, LICENSOR OFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND CONCERNING THE MATERIALS, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE, INCLUDING, WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY, FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF LATENT OR OTHER DEFECTS, ACCURACY, OR THE PRESENCE OF ABSENCE OF ERRORS, WHETHER OR NOT DISCOVERABLE. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF IMPLIED WARRANTIES, SO SUCH EXCLUSION MAY NOT APPLY TO YOU. . 6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE LAW, IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY LEGAL THEORY FOR ANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR EXEMPLARY DAMAGES ARISING OUT OF THIS LICENSE OR THE USE OF THE WORK, EVEN IF LICENSOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. . 7. Termination . This License and the rights granted hereunder will terminate automatically upon any breach by You of the terms of this License. Individuals or entities who have received Derivative Works or Collective Works from You under this License, however, will not have their licenses terminated provided such individuals or entities remain in full compliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will survive any termination of this License. . Subject to the above terms and conditions, the license granted here is perpetual (for the duration of the applicable copyright in the Work). Notwithstanding the above, Licensor reserves the right to release the Work under different license terms or to stop distributing the Work at any time; provided, however that any such election will not serve to withdraw this License (or any other license that has been, or is required to be, granted under the terms of this License), and this License will continue in full force and effect unless terminated as stated above. . 8. Miscellaneous . Each time You distribute or publicly digitally perform the Work or a Collective Work, the Licensor offers to the recipient a license to the Work on the same terms and conditions as the license granted to You under this License. . Each time You distribute or publicly digitally perform a Derivative Work, Licensor offers to the recipient a license to the original Work on the same terms and conditions as the license granted to You under this License. . If any provision of this License is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this License, and without further action by the parties to this agreement, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable. . No term or provision of this License shall be deemed waived and no breach consented to unless such waiver or consent shall be in writing and signed by the party to be charged with such waiver or consent. . This License constitutes the entire agreement between the parties with respect to the Work licensed here. There are no understandings, agreements or representations with respect to the Work not specified here. Licensor shall not be bound by any additional provisions that may appear in any communication from You. This License may not be modified without the mutual written agreement of the Licensor and You. License: MPL-1.1 Mozilla Public License Version 1.1 . 1. Definitions. . 1.0.1. "Commercial Use" means distribution or otherwise making the Covered Code available to a third party. . 1.1. "Contributor" means each entity that creates or contributes to the creation of Modifications. . 1.2. "Contributor Version" means the combination of the Original Code, prior Modifications used by a Contributor, and the Modifications made by that particular Contributor. . 1.3. "Covered Code" means the Original Code or Modifications or the combination of the Original Code and Modifications, in each case including portions thereof. . 1.4. "Electronic Distribution Mechanism" means a mechanism generally accepted in the software development community for the electronic transfer of data. . 1.5. "Executable" means Covered Code in any form other than Source Code. . 1.6. "Initial Developer" means the individual or entity identified as the Initial Developer in the Source Code notice required by Exhibit A. . 1.7. "Larger Work" means a work which combines Covered Code or portions thereof with code not governed by the terms of this License. . 1.8. "License" means this document. . 1.8.1. "Licensable" means having the right to grant, to the maximum extent possible, whether at the time of the initial grant or subsequently acquired, any and all of the rights conveyed herein. . 1.9. "Modifications" means any addition to or deletion from the substance or structure of either the Original Code or any previous Modifications. When Covered Code is released as a series of files, a Modification is: . Any addition to or deletion from the contents of a file containing Original Code or previous Modifications. . Any new file that contains any part of the Original Code or previous Modifications. . 1.10. "Original Code" means Source Code of computer software code which is described in the Source Code notice required by Exhibit A as Original Code, and which, at the time of its release under this License is not already Covered Code governed by this License. . 1.10.1. "Patent Claims" means any patent claim(s), now owned or hereafter acquired, including without limitation, method, process, and apparatus claims, in any patent Licensable by grantor. . 1.11. "Source Code" means the preferred form of the Covered Code for making modifications to it, including all modules it contains, plus any associated interface definition files, scripts used to control compilation and installation of an Executable, or source code differential comparisons against either the Original Code or another well known, available Covered Code of the Contributor's choice. The Source Code can be in a compressed or archival form, provided the appropriate decompression or de-archiving software is widely available for no charge. . 1.12. "You" (or "Your") means an individual or a legal entity exercising rights under, and complying with all of the terms of, this License or a future version of this License issued under Section 6.1. For legal entities, "You" includes any entity which controls, is controlled by, or is under common control with You. For purposes of this definition, "control" means (a) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (b) ownership of more than fifty percent (50%) of the outstanding shares or beneficial ownership of such entity. . 2. Source Code License. . 2.1. The Initial Developer Grant. . The Initial Developer hereby grants You a world-wide, royalty-free, non-exclusive license, subject to third party intellectual property claims: . under intellectual property rights (other than patent or trademark) Licensable by Initial Developer to use, reproduce, modify, display, perform, sublicense and distribute the Original Code (or portions thereof) with or without Modifications, and/or as part of a Larger Work; and . under Patents Claims infringed by the making, using or selling of Original Code, to make, have made, use, practice, sell, and offer for sale, and/or otherwise dispose of the Original Code (or portions thereof). . the licenses granted in this Section 2.1 (a) and (b) are effective on the date Initial Developer first distributes Original Code under the terms of this License. . Notwithstanding Section 2.1 (b) above, no patent license is granted: 1) for code that You delete from the Original Code; 2) separate from the Original Code; or 3) for infringements caused by: i) the modification of the Original Code or ii) the combination of the Original Code with other software or devices. . 2.2. Contributor Grant. . Subject to third party intellectual property claims, each Contributor hereby grants You a world-wide, royalty-free, non-exclusive license . under intellectual property rights (other than patent or trademark) Licensable by Contributor, to use, reproduce, modify, display, perform, sublicense and distribute the Modifications created by such Contributor (or portions thereof) either on an unmodified basis, with other Modifications, as Covered Code and/or as part of a Larger Work; and . under Patent Claims infringed by the making, using, or selling of Modifications made by that Contributor either alone and/or in combination with its Contributor Version (or portions of such combination), to make, use, sell, offer for sale, have made, and/or otherwise dispose of: 1) Modifications made by that Contributor (or portions thereof); and 2) the combination of Modifications made by that Contributor with its Contributor Version (or portions of such combination). . the licenses granted in Sections 2.2 (a) and 2.2 (b) are effective on the date Contributor first makes Commercial Use of the Covered Code. . Notwithstanding Section 2.2 (b) above, no patent license is granted: 1) for any code that Contributor has deleted from the Contributor Version; 2) separate from the Contributor Version; 3) for infringements caused by: i) third party modifications of Contributor Version or ii) the combination of Modifications made by that Contributor with other software (except as part of the Contributor Version) or other devices; or 4) under Patent Claims infringed by Covered Code in the absence of Modifications made by that Contributor. . 3. Distribution Obligations. . 3.1. Application of License. . The Modifications which You create or to which You contribute are governed by the terms of this License, including without limitation Section 2.2. The Source Code version of Covered Code may be distributed only under the terms of this License or a future version of this License released under Section 6.1, and You must include a copy of this License with every copy of the Source Code You distribute. You may not offer or impose any terms on any Source Code version that alters or restricts the applicable version of this License or the recipients' rights hereunder. However, You may include an additional document offering the additional rights described in Section 3.5. . 3.2. Availability of Source Code. . Any Modification which You create or to which You contribute must be made available in Source Code form under the terms of this License either on the same media as an Executable version or via an accepted Electronic Distribution Mechanism to anyone to whom you made an Executable version available; and if made available via Electronic Distribution Mechanism, must remain available for at least twelve (12) months after the date it initially became available, or at least six (6) months after a subsequent version of that particular Modification has been made available to such recipients. You are responsible for ensuring that the Source Code version remains available even if the Electronic Distribution Mechanism is maintained by a third party. . 3.3. Description of Modifications. . You must cause all Covered Code to which You contribute to contain a file documenting the changes You made to create that Covered Code and the date of any change. You must include a prominent statement that the Modification is derived, directly or indirectly, from Original Code provided by the Initial Developer and including the name of the Initial Developer in (a) the Source Code, and (b) in any notice in an Executable version or related documentation in which You describe the origin or ownership of the Covered Code. . 3.4. Intellectual Property Matters . (a) Third Party Claims . If Contributor has knowledge that a license under a third party's intellectual property rights is required to exercise the rights granted by such Contributor under Sections 2.1 or 2.2, Contributor must include a text file with the Source Code distribution titled "LEGAL" which describes the claim and the party making the claim in sufficient detail that a recipient will know whom to contact. If Contributor obtains such knowledge after the Modification is made available as described in Section 3.2, Contributor shall promptly modify the LEGAL file in all copies Contributor makes available thereafter and shall take other steps (such as notifying appropriate mailing lists or newsgroups) reasonably calculated to inform those who received the Covered Code that new knowledge has been obtained. . (b) Contributor APIs . If Contributor's Modifications include an application programming interface and Contributor has knowledge of patent licenses which are reasonably necessary to implement that API, Contributor must also include this information in the legal file. . (c) Representations. . Contributor represents that, except as disclosed pursuant to Section 3.4 (a) above, Contributor believes that Contributor's Modifications are Contributor's original creation(s) and/or Contributor has sufficient rights to grant the rights conveyed by this License. . 3.5. Required Notices. . You must duplicate the notice in Exhibit A in each file of the Source Code. If it is not possible to put such notice in a particular Source Code file due to its structure, then You must include such notice in a location (such as a relevant directory) where a user would be likely to look for such a notice. If You created one or more Modification(s) You may add your name as a Contributor to the notice described in Exhibit A. You must also duplicate this License in any documentation for the Source Code where You describe recipients' rights or ownership rights relating to Covered Code. You may choose to offer, and to charge a fee for, warranty, support, indemnity or liability obligations to one or more recipients of Covered Code. However, You may do so only on Your own behalf, and not on behalf of the Initial Developer or any Contributor. You must make it absolutely clear than any such warranty, support, indemnity or liability obligation is offered by You alone, and You hereby agree to indemnify the Initial Developer and every Contributor for any liability incurred by the Initial Developer or such Contributor as a result of warranty, support, indemnity or liability terms You offer. . 3.6. Distribution of Executable Versions. . You may distribute Covered Code in Executable form only if the requirements of Sections 3.1, 3.2, 3.3, 3.4 and 3.5 have been met for that Covered Code, and if You include a notice stating that the Source Code version of the Covered Code is available under the terms of this License, including a description of how and where You have fulfilled the obligations of Section 3.2. The notice must be conspicuously included in any notice in an Executable version, related documentation or collateral in which You describe recipients' rights relating to the Covered Code. You may distribute the Executable version of Covered Code or ownership rights under a license of Your choice, which may contain terms different from this License, provided that You are in compliance with the terms of this License and that the license for the Executable version does not attempt to limit or alter the recipient's rights in the Source Code version from the rights set forth in this License. If You distribute the Executable version under a different license You must make it absolutely clear that any terms which differ from this License are offered by You alone, not by the Initial Developer or any Contributor. You hereby agree to indemnify the Initial Developer and every Contributor for any liability incurred by the Initial Developer or such Contributor as a result of any such terms You offer. . 3.7. Larger Works. . You may create a Larger Work by combining Covered Code with other code not governed by the terms of this License and distribute the Larger Work as a single product. In such a case, You must make sure the requirements of this License are fulfilled for the Covered Code. . 4. Inability to Comply Due to Statute or Regulation. . If it is impossible for You to comply with any of the terms of this License with respect to some or all of the Covered Code due to statute, judicial order, or regulation then You must: (a) comply with the terms of this License to the maximum extent possible; and (b) describe the limitations and the code they affect. Such description must be included in the legal file described in Section 3.4 and must be included with all distributions of the Source Code. Except to the extent prohibited by statute or regulation, such description must be sufficiently detailed for a recipient of ordinary skill to be able to understand it. . 5. Application of this License. . This License applies to code to which the Initial Developer has attached the notice in Exhibit A and to related Covered Code. 6. Versions of the License. . 6.1. New Versions . Netscape Communications Corporation ("Netscape") may publish revised and/or new versions of the License from time to time. Each version will be given a distinguishing version number. . 6.2. Effect of New Versions . Once Covered Code has been published under a particular version of the License, You may always continue to use it under the terms of that version. You may also choose to use such Covered Code under the terms of any subsequent version of the License published by Netscape. No one other than Netscape has the right to modify the terms applicable to Covered Code created under this License. . 6.3. Derivative Works . If You create or use a modified version of this License (which you may only do in order to apply it to code which is not already Covered Code governed by this License), You must (a) rename Your license so that the phrases "Mozilla", "MOZILLAPL", "MOZPL", "Netscape", "MPL", "NPL" or any confusingly similar phrase do not appear in your license (except to note that your license differs from this License) and (b) otherwise make it clear that Your version of the license contains terms which differ from the Mozilla Public License and Netscape Public License. (Filling in the name of the Initial Developer, Original Code or Contributor in the notice described in Exhibit A shall not of themselves be deemed to be modifications of this License.) . 7. Disclaimer of warranty . Covered code is provided under this license on an "as is" basis, without warranty of any kind, either expressed or implied, including, without limitation, warranties that the covered code is free of defects, merchantable, fit for a particular purpose or non-infringing. The entire risk as to the quality and performance of the covered code is with you. Should any covered code prove defective in any respect, you (not the initial developer or any other contributor) assume the cost of any necessary servicing, repair or correction. This disclaimer of warranty constitutes an essential part of this license. No use of any covered code is authorized hereunder except under this disclaimer. . 8. Termination . 8.1. This License and the rights granted hereunder will terminate automatically if You fail to comply with terms herein and fail to cure such breach within 30 days of becoming aware of the breach. All sublicenses to the Covered Code which are properly granted shall survive any termination of this License. Provisions which, by their nature, must remain in effect beyond the termination of this License shall survive. . 8.2. If You initiate litigation by asserting a patent infringement claim (excluding declatory judgment actions) against Initial Developer or a Contributor (the Initial Developer or Contributor against whom You file such action is referred to as "Participant") alleging that: . within 60 days after receipt of notice You either: (i) agree in writing to pay Participant a mutually agreeable reasonable royalty for Your past and future use of Modifications made by such Participant, or (ii) withdraw Your litigation claim with respect to the Contributor Version against such Participant. If within 60 days of notice, a reasonable royalty and payment arrangement are not mutually agreed upon in writing by the parties or the litigation claim is not withdrawn, the rights granted by Participant to You under Sections 2.1 and/or 2.2 automatically terminate at the expiration of the 60 day notice period specified above. . any software, hardware, or device, other than such Participant's Contributor Version, directly or indirectly infringes any patent, then any rights granted to You by such Participant under Sections 2.1(b) and 2.2(b) are revoked effective as of the date You first made, used, sold, distributed, or had made, Modifications made by that Participant. . 8.3. If You assert a patent infringement claim against Participant alleging that such Participant's Contributor Version directly or indirectly infringes any patent where such claim is resolved (such as by license or settlement) prior to the initiation of patent infringement litigation, then the reasonable value of the licenses granted by such Participant under Sections 2.1 or 2.2 shall be taken into account in determining the amount or value of any payment or license. . 8.4. In the event of termination under Sections 8.1 or 8.2 above, all end user license agreements (excluding distributors and resellers) which have been validly granted by You or any distributor hereunder prior to termination shall survive termination. . 9. Limitation of liability . Under no circumstances and under no legal theory, whether tort (including negligence), contract, or otherwise, shall you, the initial developer, any other contributor, or any distributor of covered code, or any supplier of any of such parties, be liable to any person for any indirect, special, incidental, or consequential damages of any character including, without limitation, damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses, even if such party shall have been informed of the possibility of such damages. This limitation of liability shall not apply to liability for death or personal injury resulting from such party's negligence to the extent applicable law prohibits such limitation. Some jurisdictions do not allow the exclusion or limitation of incidental or consequential damages, so this exclusion and limitation may not apply to you. . 10. U.S. government end users . The Covered Code is a "commercial item," as that term is defined in 48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer software" and "commercial computer software documentation," as such terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48 C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995), all U.S. Government End Users acquire Covered Code with only those rights set forth herein. . 11. Miscellaneous . This License represents the complete agreement concerning subject matter hereof. If any provision of this License is held to be unenforceable, such provision shall be reformed only to the extent necessary to make it enforceable. This License shall be governed by California law provisions (except to the extent applicable law, if any, provides otherwise), excluding its conflict-of-law provisions. With respect to disputes in which at least one party is a citizen of, or an entity chartered or registered to do business in the United States of America, any litigation relating to this License shall be subject to the jurisdiction of the Federal Courts of the Northern District of California, with venue lying in Santa Clara County, California, with the losing party responsible for costs, including without limitation, court costs and reasonable attorneys' fees and expenses. The application of the United Nations Convention on Contracts for the International Sale of Goods is expressly excluded. Any law or regulation which provides that the language of a contract shall be construed against the drafter shall not apply to this License. . 12. Responsibility for claims . As between Initial Developer and the Contributors, each party is responsible for claims and damages arising, directly or indirectly, out of its utilization of rights under this License and You agree to work with Initial Developer and Contributors to distribute such responsibility on an equitable basis. Nothing herein is intended or shall be deemed to constitute any admission of liability. . 13. Multiple-licensed code . Initial Developer may designate portions of the Covered Code as "Multiple-Licensed". "Multiple-Licensed" means that the Initial Developer permits you to utilize portions of the Covered Code under Your choice of the MPL or the alternative licenses, if any, specified by the Initial Developer in the file described in Exhibit A. debian/source/0000755000000000000000000000000012254356115010472 5ustar debian/source/format0000644000000000000000000000001412236276515011705 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000003232512254365355011057 0ustar oolite (1.77.1-3) unstable; urgency=medium * Avoid patches/gnustep_app_builder.diff. Closes: #732377. -- Nicolas Boulenguez Wed, 18 Dec 2013 19:35:21 +0100 oolite (1.77.1-2) unstable; urgency=low * The symlink in oolite described below replaces a directory in oolite-data<<1.76.1-3, Break+Replace accordingly. Closes: #729219. -- Nicolas Boulenguez Mon, 11 Nov 2013 12:51:22 +0100 oolite (1.77.1-1) unstable; urgency=low * New upstream snapshot. One patch refreshed. * rules, Build-Depends-Indep: generate some PDF from odt sources. * copyright, dfsg_cleaner: reduce differences between upstream and DFSG tarballs. Document the newly embedded licenses. * patches/generate_planet_data: generate 14Mo at build time. * Standards-Version: 3.9.5 (no changes). * oolite.preinst: symlink mentioned in 1.76.1-3 stanza may replace an existing directory, even if dpkg refuses to do so. Closes: #728790. -- Nicolas Boulenguez Wed, 06 Nov 2013 00:54:49 +0100 oolite (1.76.1-3) unstable; urgency=low * Updated patches/debian_version_of_libmozjs. New patches/add_keywords_to_desktop_file, gnustep_app_builder.diff. * control (Build-Depends): removed work-around for #678859. * README.Debian, source/options, DM-Upload-Allowed: removed. * README.source, Vcs-*: canonical URL for git repository. * *.install, .links: replace arch-indep data in usr/lib with a symlink. * doc-base support for OoliteReadMe.pdf. * Standards-Version: 3.9.4. Split build-[arch|indep] targets. -- Nicolas Boulenguez Mon, 12 Aug 2013 21:21:14 +0200 oolite (1.76.1-2) unstable; urgency=low * control (Build-Depend), rules, patches/debian_version_of_libmozjs.diff: use quite stable libmozjs185-dev instead of libmozjs-dev, that tracks firefox's latest API. * rules: clarified which settings may be modified in a Debian build. CPPFLAGS, CFLAGS, noopt, nostrip -> GNUSTEP. parallel=n -> Make. -- Nicolas Boulenguez Mon, 25 Jun 2012 19:55:39 +0200 oolite (1.76.1-1) unstable; urgency=low * New upstream release. -- Nicolas Boulenguez Tue, 29 May 2012 21:16:33 +0200 oolite (1.76dfsg-1) unstable; urgency=low * Fake upstream release to correct 1.76.orig.tgz content. It did contain the full upstream branch instead of the dfsg_clean branch. Adapted watch file with dversionmangle. * patches/debian_version_of_libmozjs: refreshed. * patches/timer_allocation_bug: backported from upstream VCS, should close #665839. * Debhelper 9, Standards-Version 3.9.3 (no changes). * rules: use all available processors if DEB_BUILD_OPTIONS does not specify parallel=n. * README.Debian: remove obsolete part. * README.source: updated, dpkg-source removes patches automatically. * copyright: stand-alone detailed paragraph, updated copyrights. * rules: updated copyrights -- Nicolas Boulenguez Sat, 12 May 2012 21:52:34 +0200 oolite (1.76-1) unstable; urgency=low * New upstream. * watch: scan upstream stable releases instead of dev snapshots. * control: use default gobjc instead of explicit 4.6. * rules: use dpkg-dev build flags. -- Nicolas Boulenguez Thu, 22 Dec 2011 00:22:39 +0100 oolite (1.75.3-4) unstable; urgency=low * control (Build-Depends): not g++ (was needed for libmozjs) dpkg (>= 1.16.1) to set build flags gobjc-4.6 to get an explicit FTBFS on next gnustep-dev upgrade * copyright: (cosmetic) versioned DEP-3 format. * patches/debian_version_of_libmozjs.path: work-around two backward incompatibilities introduced by libmozjs-dev (Closes: #643972) -- Nicolas Boulenguez Thu, 06 Oct 2011 13:31:41 +0200 oolite (1.75.3-3) unstable; urgency=low * rules: compiles with gobjc-4.6, as current gnustep runtime. * patches: respect DEP-3 * copyright: respects DEP-5 -- Nicolas Boulenguez Mon, 19 Sep 2011 18:42:30 +0200 oolite (1.75.3-2) unstable; urgency=low * patches: use debian mozjs v6 (Closes: #639075). * gbp.conf: handle new git-buildpackage option for dfsg tarballs. * rules: --as-needed linker option to remove dpkg-shlibdeps warning. -- Nicolas Boulenguez Thu, 25 Aug 2011 20:39:06 +0200 oolite (1.75.3-1) unstable; urgency=low * New upstream release. * gbp.conf, source/local-options: clarified git-buildpackage configuration. * compat, control: switched to debhelper 8. * patches/libmojs5_not_4.diff: upstream uses mozjs v4, debian v5. * control: made dh targets more generic. * Upload to unstable with libmozjs>=4 (Closes: #614277). -- Nicolas Boulenguez Sat, 16 Jul 2011 14:57:16 +0200 oolite (1.75.2-2) experimental; urgency=low * Recompiled with gobjc-4.5, compatible with the current gnustep runtime, allthough gobjc-4.6 is now the default compiler in unstable. -- Nicolas Boulenguez Sun, 15 May 2011 23:17:45 +0200 oolite (1.75.2-1) experimental; urgency=low * New upstream beta release. * control: Standards-Version 3.9.2 (no changes) * patches: src/Core/OOCPUInfo.h to consult sys/param.h instead of an explicit list of architectures to configure endianness. Should help #614277. * Updated manpage from upstream debian/ subdir. * Removed libespeak support because of #591717. -- Nicolas Boulenguez Tue, 10 May 2011 01:04:17 +0200 oolite (1.75.1-20110315-1) experimental; urgency=low * New upstream release. Huge diff because of CRLF elimination. * Use system libmozjs-dev instead of embedded one which caused some FTBS. (control:Build-Depends, copyright, mozjs.LICENSE, mozjs.LEGAL, rules) * Break circular dependency between binary packages (Closes: #616001) (control:Depends, rules). * Now builds with gcc-4.5 (Closes: #565101). * Allowed date component in upstream version number (watch). -- Nicolas Boulenguez Fri, 25 Mar 2011 21:59:04 +0100 oolite (1.75-1) unstable; urgency=low * New upstream release. * DFSG compliant tarball and twice smaller. It embeds the source of mozilla javascript library (aka spidermonkey). Oolite needs the version shipped with iceweasel 4.0, not yet in libmozjs-dev debian package. Upstream downloads it at compile-time, wich is worst. * Renamed README->README.Debian so that it is embedded. * README.source documenting use of git-buildpackage for debian packaging. * control: four binary packages: oolite, -doc, -data and -data-sounds. (Uploaders, Maintainers) Removed Eddy and Debian Games Team. (Breaks, Replaces) to handle the split of -data (Closes: #614185). (Vcs-*) point to alioth git repository instead of old svn. (Build-Depends) libnspr4-dev, zip, python for embedded mozjs. -- Nicolas Boulenguez Sat, 26 Feb 2011 01:18:27 +0100 oolite (1.74.2-1) unstable; urgency=low * New upstream release (closes: #506809). * Merged oolite and oolite-data old packaging to share same source. * control(Build-Depends): oolite needs its own version of libmozjs. * copyright: upstream is now released under the GPL. -- Nicolas Boulenguez Thu, 05 Aug 2010 00:49:00 +0200 oolite (1.65-7) unstable; urgency=low [ Eddy Petrișor ] * properly install the lintian override * override the emty-dir lintian warning since we actually need and empty dir [ Nicolas Boulenguez ] * Switch to dpkg-source 3.0 (quilt) format * rules: used debhelper overrides * moved non patch files from debian/patches to debian * renamed debhelper files (foo->oolite.foo) to comply to recent guidelines and prepare sharing source with oolite-data * removed dirs debhelper files, no more needed * control: added Homepage, Standards-Version 3.9.0, added myself to uploaders * copyright: added explicit copyright dates, broken very long lines. * doc-base: registered reference sheet * Closes: 578310 by recompilating with current headers -- Nicolas Boulenguez Thu, 08 Jul 2010 16:16:52 +0200 oolite (1.65-6) unstable; urgency=low [ Cyril Brulebois ] * Added Vcs-Svn and Vcs-Browser fields in the control file. [ Eddy Petrișor ] * changes (closes: #449101, #447465) according to http://lists.alioth.debian.org/pipermail/pkg-games-devel/2007-July/004000.html - use gs_make instead of sourcing /usr/lib/GNUstep/System/Makefiles/GNUstep.sh and running $(MAKE) - bumped versioned build depends on libgnustep-base-dev to (>= 1.14.0) - added a Build-Depends on quilt since we needed a patch to obtain this * install the .desktop file; patch thanks to Mario Bonino from Ubuntu [ Gerfried Fuchs ] * Removed leading The from the synopsis. [ Eddy Petrișor ] * bump debhelper compatibiliy to 5; updated builddep on debhelper accordingly * removed no longer needed XS-Autobuild [ Jon Dowland ] * add Homepage: control field to source stanza -- Jon Dowland Mon, 03 Dec 2007 17:46:28 +0000 oolite (1.65-5) unstable; urgency=low * remove debian/svn-deblayout from the source since it holds 0 value for the actual source package * the game was relicensed by upstream with the dual license model (GNU GPL and CC-NC-SA) - this was acknowledged to be done also retroactively for the current stable release of the game. Here is a quote from upstream's announce on its forum: The current official release, 1.65, may be considered to be dual-licensed; that is, it may be distributed under its current license (the Creative Commons Attribution-NonCommercial-ShareAlike 2.0 license, herafter known as CC-by-nc-sa-2) or the GPL. * change section from non-free/games to games as a consequence of the former * remove the justification from copyright for autobuilding this package since will be autobuild in main from now on * update TODO to remember to update the copyright info when the new release will be done -- Eddy Petrișor Wed, 7 Mar 2007 01:06:03 +0200 oolite (1.65-4) unstable; urgency=low * changed XS-X-VCS-SVN into XS-VCS-SVN after the discussion on debian devel * also ship the TXT.rtf file which is actually a replacement for PLAYING.txt * added two more files with pointers to online documentation about the game: advanced_instructions.readme and first_flight.readme * remove "Application" from the categories list in the desktop file since is not a valid category * added the "XS-Autobuild: yes" line in the control file and added reasons in the copyright file (after Andi white-listed the package) Done as requested in: http://lists.debian.org/debian-devel-announce/2006/11/msg00012.html * install the Oolite reference sheet which was hidden in installers/win32/OoliteRS.pdf * fix the mail format in README.Debian * no longer install README_LINUX.TXT since is useless to Debian users * added a PLAYING.TXT with pointers about the contents of the installed documentation -- Eddy Petrișor Fri, 22 Dec 2006 17:26:39 +0200 oolite (1.65-3) unstable; urgency=low * build depend on non-versioned libgnustep-base-dev instead of the versioned variant because of the GNUstep transition (Closes: #389855) * added the xs-x-vcs-svn header to the control file * changed the locale language code for Romanian in the desktop file from ro to ro_RO since the short form is the last to be tested (marginal speed optimisation) * updated package TODO file (nothing to do :-) -- Eddy Petrișor Wed, 27 Sep 2006 21:11:23 +0300 oolite (1.65-2) unstable; urgency=low * added versioned dependency on oolite-data, since it crashes with older data sets -- Eddy Petrișor Wed, 26 Jul 2006 11:50:59 +0300 oolite (1.65-1) unstable; urgency=low * new upstream release (closes: #378875) * changed the watch file as upstream has changed the naming convention * removed dependency on sdl-gfx and gnustep-gui since upstream managed to remove them. * it is no longer needed to have Info-Oolite.plist in the debian part of the package, it is now in the source tarball * go all the way using debhelper and install the lintian override using it * some files changed their location in the upstream source, synced the package -- Eddy Petrișor Wed, 26 Jul 2006 10:47:52 +0300 oolite (1.62-5-3) unstable; urgency=low * Make the Homepage: "field" match the regexp from Debian Develper's Reference, best packaging practices, chapter "6.2.4 Upstream home page" -- Eddy Petrişor Mon, 29 May 2006 02:07:10 +0300 oolite (1.62-5-2) unstable; urgency=low * Added a .desktop file * "The fix was already there" fix: typo in debian/control is now visible; wrong build was uploaded * removed commented call to dh_makeshlibs in debian/rules * bump standards version (nothing to do) - 3.7.2 * fix watch file -- Eddy Petrișor Sun, 16 Apr 2006 19:41:25 +0300 oolite (1.62-5-1) unstable; urgency=low * Initial release Closes: #361704 -- Eddy Petrișor Sun, 9 Apr 2006 21:56:57 +0300 debian/oolite.preinst0000644000000000000000000000137312254357606012105 0ustar #!/bin/sh set -e RESOURCES=/usr/lib/GNUstep/Applications/oolite.app/Resources # The content of this directory is arch-independant, so it has been # moved to the /usr/share directory of the oolite-data package and # replaced with a symbolic link (1.76.1-3 in unstable, 1.77.1-1 in # experimental). But dpkg does not replace directories with symlinks # or vice versa, so we need to remove the previous directory. See # https://wiki.debian.org/MissingCopyrightFile and #728790. case "$1" in install|upgrade) if test -d $RESOURCES -a ! -h $RESOURCES ; then rm -rf $RESOURCES || true fi ;; abort-upgrade) ;; *) echo "preinst called with unknown argument '$1'" >&2 exit 1 ;; esac #DEBHELPER# exit 0 debian/rules0000755000000000000000000001052712254366606010265 0ustar #!/usr/bin/make -f # Ubuntu/Debian build rules file for OOlite # Copyright (c) 2007-2009 Chris Crowther # Copyright (c) 2009 Darren Salt # Copyright (c) 2009 Michael Werle # Copyright (c) 2010-2013 Nicolas Boulenguez # 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 3 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, see . # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 POLICY_TARGETS := binary binary-arch binary-indep build build-arch \ build-indep clean .PHONY: $(POLICY_TARGETS) $(POLICY_TARGETS): dh $@ # Debhelper, please, do not run make -f GNUmakefile without me. override_dh_auto_configure: override_dh_auto_build-arch: override_dh_auto_build-indep: override_dh_auto_test: override_dh_auto_install: override_dh_auto_clean:: # We will never call the install upstream target, as GNUstep stores # arch-dep and arch-indep files together. Installing to debian/tmp and # splitting afterwards is much more complex than moving them once. ###################################################################### # We use the magic of the MAKE variable instead of gs_make so that # useful options like -n are transmitted to submakes. include /usr/share/GNUstep/debian/config.mk GSMAKE += GNUSTEP_MAKEFILES=$(GS_MAKE_DIR) GSMAKE += messages=yes # Display compilation flags to log checkers. # Usually, "debug=yes strip=no" would be enough, but upstream uses # "debug" to toggle many unrelated settings, for example libmozjs # debugging and stripping of the binary. GSMAKE += STRIP=/bin/true # Use Debian default build options. include /usr/share/dpkg/buildflags.mk GSMAKE += CFLAGS="$(CFLAGS)" GSMAKE += CPPFLAGS="$(CPPFLAGS)" # Fail now if order of linked libraries is wrong. GSMAKE += LDFLAGS="-Wl,-z,defs -Wl,--as-needed $(LDFLAGS)" GSMAKE += OBJCFLAGS="$(CFLAGS)" # Ignore GNUSTEP optimization setting, noopt is handled by CFLAGS. GSMAKE += OPTFLAG="" # Use all processors unless parallel is set in DEB_BUILD_OPTIONS. # http://www.debian.org/doc/debian-policy/ch-source.html#s-debianrules-options NUMJOBS := $(filter parallel=%,$(DEB_BUILD_OPTIONS)) ifneq (,$(NUMJOBS)) GSMAKE += --jobs=$(subst parallel=,,$(NUMJOBS)) else GSMAKE += --jobs=$(shell getconf _NPROCESSORS_ONLN) endif ###################################################################### OOLITE_APP := oolite.app OOLITE_OPTS += ESPEAK=no # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=591717 OOLITE_OPTS += OO_JAVASCRIPT_TRACE=no # Forced by libmozjs185 settings OOLITE_OPTS += DEPLOYMENT_RELEASE_CONFIGURATION=yes override_dh_auto_build-arch: $(OOLITE_APP) override_dh_auto_build-indep: $(OOLITE_APP) $(OOLITE_APP): $(MAKE) $(GSMAKE) $(OOLITE_OPTS) override_dh_auto_clean:: $(MAKE) $(GSMAKE) $(OOLITE_OPTS) distclean clean rm -rf $(OOLITE_APP) ###################################################################### PLANET_DATA := src/Core/OOPlanetData ICOSMESH_DIR := tools/icosmesh ICOSMESH_EXE := $(ICOSMESH_DIR)/obj/icosmesh $(OOLITE_APP): $(PLANET_DATA).c $(PLANET_DATA).c: $(ICOSMESH_EXE) cd src/Core && ../../$< override_dh_auto_clean:: rm -f $(PLANET_DATA).[ch] $(ICOSMESH_EXE): $(MAKE) $(GSMAKE) -C $(ICOSMESH_DIR) override_dh_auto_clean:: $(MAKE) $(GSMAKE) -C $(ICOSMESH_DIR) clean ###################################################################### # For AdviceForNewCommanders.doc, unoconv covers parts of the text # with embedded images, so we do not regenerate it. PDF_FROM_ODT := \ Doc/OoliteReadMe.pdf \ Doc/OoliteRS.pdf override_dh_auto_build-indep: $(PDF_FROM_ODT) $(PDF_FROM_ODT): %.pdf: %.odt libreoffice --headless --convert-to pdf --outdir $(dir $@) $< override_dh_auto_clean:: rm -f $(PDF_FROM_ODT) ###################################################################### override_dh_installchangelogs: dh_installchangelogs --all Doc/CHANGELOG.TXT debian/oolite-doc.doc-base.oolite-readme0000644000000000000000000000034312254356115015354 0ustar Document: oolite-readme Title: Oolite Readme Author: Giles Williams Abstract: Short introduction to keyboard shortcuts in the Oolite game. Section: Games/Simulation Format: PDF Files: /usr/share/doc/oolite/OoliteReadMe.pdf.gz debian/oolite-doc.install0000644000000000000000000000106712254356115012624 0ustar # We want all documentation in one place, but no circular dependency # between packages, so we avoid dh_installdocs. Doc/AdviceForNewCommanders.pdf usr/share/doc/oolite Doc/contributors.txt usr/share/doc/oolite Doc/ExternalLibrariesSourceCodeChanges.txt usr/share/doc/oolite Doc/FAQ.TXT usr/share/doc/oolite Doc/OoliteReadMe.pdf usr/share/doc/oolite Doc/OoliteRS.pdf usr/share/doc/oolite deps/Linux-deps/README.TXT usr/share/doc/oolite debian/oolite.60000644000000000000000000000612112236276515010561 0ustar .\" Hey, EMACS: -*- nroff -*- .\" First parameter, NAME, should be all caps .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection .\" other parameters are allowed: see man(7), man(1) .TH OOLITE 6 "March 6th, 2011" .\" Please adjust this date whenever revising the manpage. .\" .\" Some roff macros, for reference: .\" .nh disable hyphenation .\" .hy enable hyphenation .\" .ad l left justify .\" .ad b justify to both left and right margins .\" .nf disable filling .\" .fi enable filling .\" .br insert line break .\" .sp insert n+1 empty lines .\" for manpage-specific macros, see man(7) .de URL \\$2 \(laURL: \\$1 \(ra\\$3 .. .if \n[.g] .mso www.tmac .SH NAME Oolite \- a space-sim game .SH SYNOPSIS .B oolite .br .SH DESCRIPTION This manual page briefly documents \fBOolite\fP. .PP \fBOolite\fP is a reinterpretation of the 8-bit classic space shooter/trading game \fBElite\fP, which was written by Ian Bell and David Braben. .br 2 .SH FAQ .PP .B What is the purpose of the game? .br To fly from planet to planet, buying and selling goods, shooting pirates or committing acts of piracy. There's no goal other than perhaps to achieve the rank of \fBELITE\fP. .br .PP .B How do I quit? .br While docked, use the 'F2' key. When in flight, use the 'p' key. .br .PP .B I'm still confused, how do I play? .br Documentation can be found in the \fI/usr/share/doc/oolite\fP directory. You should start with \fBREADME.TXT.gz\fP for window settings. Then, the \fBPLAYING.TXT.gz\fP document gives a basic overview of the controls. .br For a full description of all controls, please see the "Oolite Reference Sheet" (\fBOoliteRS.pdf\fP) which is suitable for printing out. .br .PP .B Where can I find more information? .br For the nostalgic, Ian Bell's "Space Traders Flight Training Manual" for the original BBC Elite is still a very good introduction to the game and can be found .URL http://home.clara.net/iancgbell/elite/manual.htm "online" "." .br A large amount of additional information, including advice for newcomers, \fBO\fPolite E\fBx\fPpansion \fBP\fPacks (OXP), the Elite/Oolite wiki, and the Oolite Bulletin Board is linked from .URL http://www.oolite.org/ "the Oolite home page" "." .PP .TP .B What do the various colors represent on the radar? .br \(bu White - unpowered items that can't mass-lock the in-system drive. .br \(bu Green/Yellow - navigation buoys. .br \(bu Yellow - powered craft. .br \(bu Red - powered craft identified as hostile. .br \(bu Green - space stations. .br \(bu Green/Red - thargoids .br \(bu Purple - police .br \(bu Blue/Red - police on intercept .br \(bu Red/Yellow - active mine (about to detonate) .br .mso www.tmac .SH AUTHOR Oolite was written by Giles Williams and others, and it was ported to the GNU/Linux operating system by the Oolite Linux project. The original version can be found at .URL http://www.oolite.org/ "the Oolite home page" "." .PP This manual page was written by Eddy Petrisor , for the Debian project and updated by various maintainers, (but may be used by others). debian/README.source0000644000000000000000000000200412254356115011345 0ustar This package uses the default "3.0 (quilt)" source format. Read the rest of this file only if you need the latest debian packaging from the version control system. The Debian packaging is maintained in a git repository. The "upstream" branch contains the files distributed by upstream tarballs. The "dfsg_clean" branch removes binaries and Mac/Windows specific stuff. The debian orig.tar.gz archive will have the same content. The "master" branch adds the Debian packaging. You will need the "git-buildpackage" debian package. Its usage is described in http://wiki.debian.org/PackagingWithGit, with a link to the full manual. Pristine-tar and patch-queue are not used. In brief: # Clone the whole repository. gbp-clone --all git://anonscm.debian.org/pkg-games/oolite.git # Enter the directory containing the local copy. cd oolite # Build the package. git buildpackage # Clean the tree. debuild clean Launching "gitk --all &" may help a lot. -- Nicolas Boulenguez , Sun, 11 Aug 2013 04:48:44 +0200 debian/oolite.menu0000644000000000000000000000033112236276515011355 0ustar ?package(oolite):needs="X11" section="Games/Simulation" \ longtitle="Oolite - space-sim game" \ title="Oolite" command="/usr/games/oolite" \ icon="/usr/share/pixmaps/oolite-logo1.xpm" \ hints="Flight,GNUstep" debian/dfsg_cleaner0000755000000000000000000000110112254357606011533 0ustar #!/bin/sh set -C -e -f -u -v # debian/dfsg_cleaner: remove parts of pristine upstream tarball not # embedded in the DFSG tarball. This script is used when merging a new # upstream version into the dfsg_clean git branch. # See debian/copyright for the motivation of these removals. git rm --force -r --ignore-unmatch -- \ `find . -name "*.xcodeproj"` \ "Asset Source" \ Doc/OoliteReadMe.pdf \ Doc/OoliteRS.pdf \ debian \ deps/Cocoa-deps \ deps/Cross-platform-deps \ deps/Linux-deps/x86 \ deps/Linux-deps/x86_64 \ deps/Windows-x86-deps \ src/Core/OOPlanetData.[ch] debian/patches/0000755000000000000000000000000012254365265010627 5ustar debian/patches/gnustep_app_builder.diff0000644000000000000000000000722712254365175015524 0ustar Author: Nicolas Boulenguez Description: use GNUstep application builder This cosmetic patch is commented in patches/series as long as it triggers 732377: save menu inoperant, log contains dataCache.cantWrite and NSInvalidArgumentException. . Quoting /usr/share/GNUstep/Makefiles/objc.make, "objc.make is deprecated". Moreover, application.make provides support for - resource embedding via the xxx_RESOURCE_FILE variable, allowing to simplify a lot GNUmakefile.postamble. - on-the-fly creation of Resources/Info-gnustep.plist and Resources/oolite.desktop. . The generated desktop file does not compare to a hand-written one, but the info plist merges the content of ooliteInfo.plist if present in the top directory. Moving or linking src/Cocoa/Info-Oolite.plist to ooliteInfo.plist will allow to remove more lines from GNUmakefile.postamble. . Even if these changes are refused, please consider replacing "ifeq ($(debug),no) $(STRIP)..." with "ifneq ($(debug),yes) $(STRIP)..." as an unset debug variable means no. Or even better by "ifeq ($(strip),yes) $(STRIP)..." to conform to the GNUstep conventions and allow selecting independently the stripping policy and the debug level. Forwarded: Michael Werle --- a/GNUmakefile +++ b/GNUmakefile @@ -128,7 +128,18 @@ ADDITIONAL_OBJCFLAGS += -DSNAPSHOT_BUILD -DOOLITE_SNAPSHOT_VERSION=\"$(VERSION_STRING)\" endif -OBJC_PROGRAM_NAME = oolite +APP_NAME = oolite + +oolite_RESOURCE_FILES := \ + $(wildcard Resources/*) \ + Schemata +ifeq ($(ESPEAK),yes) + ifeq ($(GNUSTEP_HOST_OS),mingw32) + oolite_RESOURCE_FILES += deps/Cross-platform-deps/espeak-data + else ifeq ($(use_deps),yes) + oolite_RESOURCE_FILES += deps/Cross-platform-deps/espeak-data + endif +endif oolite_C_FILES = \ legacy_random.c \ @@ -385,5 +396,5 @@ $(OO_UTILITY_FILES) \ $(OOLITE_MISC_FILES) -include $(GNUSTEP_MAKEFILES)/objc.make +include $(GNUSTEP_MAKEFILES)/application.make include GNUmakefile.postamble --- a/GNUmakefile.postamble +++ b/GNUmakefile.postamble @@ -5,10 +5,6 @@ # CP_FLAGS = -rf -ifeq ($(debug),yes) - EXT =.dbg -endif - ifeq ($(findstring -gnu,$(GNUSTEP_HOST_OS)),-gnu) CP_FLAGS += -u endif @@ -18,29 +14,17 @@ CP_FLAGS += -u endif -SRC_BIN = $(OBJC_PROGRAM_NAME)$(OS_EXT) -DEST_BIN = $(OBJC_PROGRAM_NAME)$(EXT)$(OS_EXT) - -PROGDIR=$(OBJC_PROGRAM_NAME).app +PROGDIR=$(APP_NAME).app after-all:: - $(MKDIRS) $(PROGDIR) - $(MKDIRS) $(PROGDIR)/Resources - $(CP) $(CP_FLAGS) Resources $(PROGDIR) - $(CP) $(CP_FLAGS) Schemata $(PROGDIR)/Resources -ifeq ($(ESPEAK),yes) - ifeq ($(GNUSTEP_HOST_OS),mingw32) - $(CP) $(CP_FLAGS) deps/Cross-platform-deps/espeak-data $(PROGDIR)/Resources - else - ifeq ($(use_deps),yes) - $(CP) $(CP_FLAGS) deps/Cross-platform-deps/espeak-data $(PROGDIR)/Resources - endif - endif -endif + # Replace some poorly generated files with hand-crafted ones. + $(CP) $(CP_FLAGS) installers/FreeDesktop/oolite.desktop $(PROGDIR)/Resources/oolite.desktop $(CP) $(CP_FLAGS) src/Cocoa/Info-Oolite.plist $(PROGDIR)/Resources/Info-gnustep.plist - $(CP) $(CP_FLAGS) $(GNUSTEP_OBJ_DIR_NAME)/$(SRC_BIN) $(PROGDIR)/$(DEST_BIN) +ifeq ($(debug),yes) + mv $(PROGDIR)/$(APP_NAME)$(OS_EXT) $(PROGDIR)/$(APP_NAME).dbg$(OS_EXT) +endif ifeq ($(debug),no) - $(STRIP) $(PROGDIR)/$(DEST_BIN) + $(STRIP) $(PROGDIR)/$(APP_NAME)$(OS_EXT) endif ifeq ($(GNUSTEP_HOST_OS),mingw32) $(CP) $(CP_FLAGS) deps/Windows-x86-deps/DLLs/*.dll $(PROGDIR) debian/patches/debian_version_of_libmozjs.diff0000644000000000000000000001774412254357606017062 0ustar Description: use Debian/unstable version of libmozjs Upstream downloads libmozjs v4 from a private URL at build time. . We adapt the source to the packaged libmozjs185-dev. This part of the work has been forwarded upstream but changes have been necessary since. . JSOPTION_ANONFUNFIX has been removed in mozjs, see https://bugzilla.mozilla.org/show_bug.cgi?id=665835 . The main API difference is that older JSScript memory allocation is hidden inside the associated JSObject. . The libmozjs-dev package, from mozilla sources, does not offer an alternative as it drops C/ObjectiveC support in favor of pure C++ constructs. . Anyway, pkg-config simplifies a bit the dependencies. Author: Nicolas Boulenguez Forwarded: Michael Werle --- a/src/Core/Scripting/OOJSScript.m +++ b/src/Core/Scripting/OOJSScript.m @@ -58,11 +58,11 @@ static void AddStackToArrayReversed(NSMutableArray *array, RunningStack *stack); -static JSScript *LoadScriptWithName(JSContext *context, NSString *path, JSObject *object, JSObject **outScriptObject, NSString **outErrorMessage); +static JSObject *LoadScriptWithName(JSContext *context, NSString *path, JSObject *object, NSString **outErrorMessage); #if OO_CACHE_JS_SCRIPTS -static NSData *CompiledScriptData(JSContext *context, JSScript *script); -static JSScript *ScriptWithCompiledData(JSContext *context, NSData *data); +static NSData *CompiledScriptData(JSContext *context, JSObject *script); +static JSObject *ScriptWithCompiledData(JSContext *context, NSData *data); #endif static NSString *StrippedName(NSString *string); @@ -114,8 +114,7 @@ { JSContext *context = NULL; NSString *problem = nil; // Acts as error flag. - JSScript *script = NULL; - JSObject *scriptObject = NULL; + JSObject *script = NULL; jsval returnValue = JSVAL_VOID; NSEnumerator *keyEnum = nil; NSString *key = nil; @@ -145,7 +144,7 @@ problem = @"could not add JavaScript root object"; } - if (!problem && !OOJSAddGCObjectRoot(context, &scriptObject, "Script GC holder")) + if (!problem && !OOJSAddGCObjectRoot(context, &script, "Script GC holder")) { problem = @"could not add JavaScript root object"; } @@ -171,7 +170,7 @@ if (!problem) { OOLog(@"script.javaScript.willLoad", @"About to load JavaScript %@", path); - script = LoadScriptWithName(context, path, _jsSelf, &scriptObject, &problem); + script = LoadScriptWithName(context, path, _jsSelf, &problem); } OOLogIndentIf(@"script.javaScript.willLoad"); @@ -208,10 +207,9 @@ OOJSStopTimeLimiter(); // We don't need the script any more - the event handlers hang around as long as the JS object exists. - JS_DestroyScript(context, script); } - JS_RemoveObjectRoot(context, &scriptObject); + JS_RemoveObjectRoot(context, &script); sRunningStack = stackElement.back; @@ -638,16 +636,16 @@ } -static JSScript *LoadScriptWithName(JSContext *context, NSString *path, JSObject *object, JSObject **outScriptObject, NSString **outErrorMessage) +static JSObject *LoadScriptWithName(JSContext *context, NSString *path, JSObject *object, NSString **outErrorMessage) { #if OO_CACHE_JS_SCRIPTS OOCacheManager *cache = nil; #endif NSString *fileContents = nil; NSData *data = nil; - JSScript *script = NULL; + JSObject *script = NULL; - NSCParameterAssert(outScriptObject != NULL && outErrorMessage != NULL); + NSCParameterAssert(outErrorMessage != NULL); *outErrorMessage = nil; #if OO_CACHE_JS_SCRIPTS @@ -668,8 +666,7 @@ else { script = JS_CompileUCScript(context, object, [data bytes], [data length] / sizeof(unichar), [path UTF8String], 1); - if (script != NULL) *outScriptObject = JS_NewScriptObject(context, script); - else *outErrorMessage = @"compilation failed"; + if (script == NULL) *outErrorMessage = @"compilation failed"; } #if OO_CACHE_JS_SCRIPTS @@ -687,7 +684,7 @@ #if OO_CACHE_JS_SCRIPTS -static NSData *CompiledScriptData(JSContext *context, JSScript *script) +static NSData *CompiledScriptData(JSContext *context, JSObject *script) { JSXDRState *xdr = NULL; NSData *result = nil; @@ -697,7 +694,7 @@ xdr = JS_XDRNewMem(context, JSXDR_ENCODE); if (xdr != NULL) { - if (JS_XDRScript(xdr, &script)) + if (JS_XDRScriptObject(xdr, &script)) { bytes = JS_XDRMemGetData(xdr, &length); if (bytes != NULL) @@ -712,10 +709,10 @@ } -static JSScript *ScriptWithCompiledData(JSContext *context, NSData *data) +static JSObject *ScriptWithCompiledData(JSContext *context, NSData *data) { JSXDRState *xdr = NULL; - JSScript *result = NULL; + JSObject *result = NULL; if (data == nil) return NULL; @@ -726,7 +723,7 @@ if (EXPECT_NOT(length > UINT32_MAX)) return NULL; JS_XDRMemSetData(xdr, (void *)[data bytes], (uint32_t)length); - if (!JS_XDRScript(xdr, &result)) result = NULL; + if (!JS_XDRScriptObject(xdr, &result)) result = NULL; JS_XDRMemSetData(xdr, NULL, 0); // Don't let it be freed by XDRDestroy JS_XDRDestroy(xdr); --- a/src/Core/Scripting/OOJavaScriptEngine.m +++ b/src/Core/Scripting/OOJavaScriptEngine.m @@ -79,7 +79,7 @@ #else #define JIT_OPTIONS JSOPTION_JIT | JSOPTION_METHODJIT | JSOPTION_PROFILING #endif -#define OOJSENGINE_CONTEXT_OPTIONS JSOPTION_VAROBJFIX | JSOPTION_RELIMIT | JSOPTION_ANONFUNFIX | JIT_OPTIONS +#define OOJSENGINE_CONTEXT_OPTIONS JSOPTION_VAROBJFIX | JSOPTION_RELIMIT | JIT_OPTIONS #define OOJS_STACK_SIZE 8192 --- a/GNUmakefile +++ b/GNUmakefile @@ -31,27 +31,17 @@ GNUSTEP_OBJ_DIR_NAME := $(GNUSTEP_OBJ_DIR_NAME).spk endif else - ifeq ($(debug),yes) - LIBJS_ROOT = deps/Cross-platform-deps/mozilla/js/src/build-debug - else - LIBJS_ROOT = deps/Cross-platform-deps/mozilla/js/src/build-release - endif - LIBJS_INC_DIR = $(LIBJS_ROOT)/dist/include - LIBJS_LIB_DIR = $(LIBJS_ROOT)/dist/lib - LIBJS = js_static - - ADDITIONAL_INCLUDE_DIRS = -I$(LIBJS_INC_DIR) -Isrc/SDL -Isrc/Core -Isrc/BSDCompat -Isrc/Core/Scripting -Isrc/Core/Materials -Isrc/Core/Entities -Isrc/Core/OXPVerifier -Isrc/Core/Debug -Isrc/Core/Tables - ADDITIONAL_OBJC_LIBS = -lGLU -lGL -lX11 -lSDL -lSDL_mixer -lgnustep-base -l$(LIBJS) `nspr-config --libs` -lstdc++ - ADDITIONAL_CFLAGS = -Wall -DLINUX -DNEED_STRLCPY `sdl-config --cflags` `nspr-config --cflags` - ADDITIONAL_OBJCFLAGS = -Wall -std=c99 -DLOADSAVEGUI -DLINUX -DXP_UNIX -Wno-import `sdl-config --cflags` `nspr-config --cflags` - oolite_LIB_DIRS += -L/usr/X11R6/lib/ -L$(LIBJS_LIB_DIR) - + ADDITIONAL_INCLUDE_DIRS = -Isrc/SDL -Isrc/Core -Isrc/BSDCompat -Isrc/Core/Scripting -Isrc/Core/Materials -Isrc/Core/Entities -Isrc/Core/OXPVerifier -Isrc/Core/Debug -Isrc/Core/Tables + ADDITIONAL_OBJC_LIBS = -lgnustep-base -lstdc++ + ADDITIONAL_CFLAGS = -Wall -DLINUX -DNEED_STRLCPY + ADDITIONAL_OBJCFLAGS = -Wall -std=c99 -DLOADSAVEGUI -DLINUX -DXP_UNIX -Wno-import + oolite_LIB_DIRS += -L/usr/X11R6/lib/ ifeq ($(use_deps),yes) oolite_LIB_DIRS += -Ldeps/Linux-deps/$(HOST_ARCH)/lib_linker ADDITIONAL_OBJC_LIBS += -lpng14 ADDITIONAL_INCLUDE_DIRS += -Ideps/Linux-deps/include else - ADDITIONAL_OBJC_LIBS += -lpng + PKG_CONFIG_LIBRARIES += libpng endif ifeq ($(ESPEAK),yes) ADDITIONAL_OBJC_LIBS += -lespeak @@ -61,6 +51,12 @@ ifeq ($(OO_JAVASCRIPT_TRACE),yes) ADDITIONAL_OBJCFLAGS += -DMOZ_TRACE_JSCALLS=1 endif + PKG_CONFIG_LIBRARIES += glu gl x11 sdl SDL_mixer mozjs185 nspr + PKG_CONFIG_CFLAGS := `pkg-config --cflags $(PKG_CONFIG_LIBRARIES)` + PKG_CONFIG_LDLIBS := `pkg-config --libs $(PKG_CONFIG_LIBRARIES)` + ADDITIONAL_OBJC_LIBS += $(PKG_CONFIG_LDLIBS) + ADDITIONAL_CFLAGS += $(PKG_CONFIG_CFLAGS) + ADDITIONAL_OBJCFLAGS += $(PKG_CONFIG_CFLAGS) endif ifeq ($(profile),yes) debian/patches/add_keywords_to_desktop_file.diff0000644000000000000000000000137612254356115017373 0ustar Author: Nicolas Boulenguez Description: new Keywords field in desktop file. Desktop specification version 1.0 allows specifying Keywords that improves the ability to find apps by typing in related words. GNOME Shell, Unity, and Software Center currently support Keywords. Also, GNOME Shell 3.6 no longer uses the "Comment" field for searching so the discoverability since GNOME 3.4 will likely regress a bit until developers add keywords to their .desktop files. Forwarded: Michael Werle --- a/installers/FreeDesktop/oolite.desktop +++ b/installers/FreeDesktop/oolite.desktop @@ -6,3 +6,5 @@ Terminal=false Type=Application Categories=Game;Simulation; +Version=1.0 +Keywords=Elite;space;3d;trade;fight;OpenGL; debian/patches/use_byte_order_of_sys_param.patch0000644000000000000000000000227312254357606017430 0ustar Description: find endianness on every Debian architecture src/Core/OOCPUInfo.h maintains a hand-made list of architectures of each endianness. It uses environment variables when available, I guess this is used when hardware supports both. This build process fails for unknown architectures (alpha ia64 s390). . Some systems provide sys/param.h, and among them some define __BYTE_ORDER. Upstream avoids this solution as-is since it fails on some of their systems. Bug-debian: http://bugs.debian.org/614277 Author: Michael Werle Author: Nicolas Boulenguez Forwarded: Michael Werle --- a/src/Core/OOCPUInfo.h +++ b/src/Core/OOCPUInfo.h @@ -82,6 +82,17 @@ #define OOLITE_LITTLE_ENDIAN 0 #endif +#if (! OOLITE_BIG_ENDIAN) && (! OOLITE_LITTLE_ENDIAN) +# include +# if defined(__BYTE_ORDER) +# if __BYTE_ORDER == __BIG_ENDIAN +# define OOLITE_BIG_ENDIAN 1 +# endif +# if __BYTE_ORDER == __LITTLE_ENDIAN +# define OOLITE_LITTLE_ENDIAN 1 +# endif +# endif +#endif #if !OOLITE_BIG_ENDIAN && !OOLITE_LITTLE_ENDIAN #error Neither OOLITE_BIG_ENDIAN nor OOLITE_LITTLE_ENDIAN is defined as nonzero! debian/patches/series0000644000000000000000000000027012254365215012036 0ustar use_byte_order_of_sys_param.patch debian_version_of_libmozjs.diff generate_planet_data.diff add_keywords_to_desktop_file.diff # gnustep_app_builder.diff let_gnustep_handle_cflags.diff debian/patches/let_gnustep_handle_cflags.diff0000644000000000000000000000116412254365265016646 0ustar Description: force GNUstep to handle CFLAGS Circumvent #719622: GNUstep ignores CFLAGS on the command-line. . Upstream uses ADDITIONAL_CFLAGS for the rare C sources, and the bug is in GNUstep, so forwarding does not make much sense. Author: Nicolas Boulenguez Forwarded: not-needed --- a/GNUmakefile +++ b/GNUmakefile @@ -128,6 +128,9 @@ ADDITIONAL_OBJCFLAGS += -DSNAPSHOT_BUILD -DOOLITE_SNAPSHOT_VERSION=\"$(VERSION_STRING)\" endif +# Circumvent #719622 (GNUstep ignores CFLAGS on the command-line). +ADDITIONAL_CFLAGS += $(CFLAGS) + OBJC_PROGRAM_NAME = oolite oolite_C_FILES = \ debian/patches/generate_planet_data.diff0000644000000000000000000000260512254357606015612 0ustar Description: GNUmakefile compiling tools/icosmesh GNUstep Makefile building icosmesh executable. . Whatever the locale, use a dot as decimal separator in the produced C code. Author: Nicolas Boulenguez Forwarded: Michael Werle --- /dev/null +++ b/tools/icosmesh/GNUmakefile @@ -0,0 +1,17 @@ +# Build the icosmesh executable. + +# Icosmesh generates two C sources named COOPlanetData.[ch], +# containing roughly 14Mo of precomputed data, +# and intended to be installed into src/Core/ among Oolite sources. + +include $(GNUSTEP_MAKEFILES)/common.make + +TOOL_NAME := icosmesh + +icosmesh_OBJC_FILES := \ + JAIcosMesh.m \ + JAIcosTriangle.m \ + JAVertexSet.m \ + main.m \ + +include $(GNUSTEP_MAKEFILES)/tool.make --- a/tools/icosmesh/main.m +++ b/tools/icosmesh/main.m @@ -3,6 +3,7 @@ Tool to generate subdivided icosahedron mesh data. */ +#import #import #import "icosmesh.h" #import "JAIcosTriangle.h" @@ -79,6 +80,14 @@ */ (void)[NSAutoreleasePool new]; + /* Let printf ignore local number formatting conventions. */ + /* For example, use a dot as decimal separator. */ + if (setlocale (LC_NUMERIC, "C") == NULL) + { + fprintf(stderr, "Failed to set locale.\n"); + return EXIT_FAILURE; + } + FILE *header = fopen(kFileName ".h", "w"); FILE *source = fopen(kFileName ".c", "w"); if (header == NULL || source == NULL) debian/oolite-doc.doc-base.oolite-advice_for_new_commander0000644000000000000000000000046412236276515021127 0ustar Document: oolite-advice-for-new-commander Title: Oolite, Advice for new commander Author: Disembodied and the oolite team Abstract: An introduction to the Oolite game, with links to the internet documentation. Section: Games/Simulation Format: PDF Files: /usr/share/doc/oolite/AdviceForNewCommanders.pdf.gz debian/oolite.manpages0000644000000000000000000000002012236276515012177 0ustar debian/oolite.6 debian/oolite-doc.doc-base.oolite-reference-sheet0000644000000000000000000000040512236276515017167 0ustar Document: oolite-reference-sheet Title: Oolite Reference Sheet Author: Giles Williams Abstract: A quick reference to all commands, prices, materials, ships in the Oolite game. Section: Games/Simulation Format: PDF Files: /usr/share/doc/oolite/OoliteRS.pdf.gz debian/gbp.conf0000644000000000000000000000055412236276515010622 0ustar # debian/gbp.conf: options for git-buildpackage. # This file is ignored by dpkg-source because it is mentioned in # debian/source/local-options. [DEFAULT] compression = bz2 pristine-tar = False [git-buildpackage] debian-branch = master upstream-branch = dfsg_clean upstream-tree = branch [git-import-orig] debian-branch = dfsg_clean upstream-branch = upstream debian/compat0000644000000000000000000000000212236276515010375 0ustar 9 debian/oolite-logo1.xpm0000644000000000000000000001207712236276515012246 0ustar /* XPM */ static char *oolite-logo1[] = { /* columns rows colors chars-per-pixel */ "32 32 181 2", " c #000000", ". c #050609", "X c #030906", "o c #050A09", "O c #0A070F", "+ c #080E0A", "@ c #080A17", "# c #0B0A1C", "$ c #0A110B", "% c #0A1213", "& c #0B111A", "* c #0D1B13", "= c #0A1A1B", "- c #1F1F1F", "; c #0F0920", ": c #0C1C20", "> c #121120", ", c #181735", "< c #18183F", "1 c #0D2016", "2 c #112517", "3 c #133317", "4 c #15351F", "5 c #0E2A23", "6 c #0D2B29", "7 c #102027", "8 c #112B25", "9 c #16292B", "0 c #162134", "q c #162C35", "w c #1D3B28", "e c #153331", "r c #123935", "t c #193140", "y c #271B4A", "u c #252D5A", "i c #31245A", "p c #3E2C73", "a c #343F7E", "s c #1D4B2A", "d c #1F4D35", "f c #204C25", "g c #21482D", "h c #245B2C", "j c #21543A", "k c #28622F", "l c #256034", "z c #2B6936", "x c #2C6C3B", "c c #2F7335", "v c #1F4B4E", "b c #1F4451", "n c #224D4F", "m c #25435A", "M c #205446", "N c #255E4B", "B c #245557", "V c #245E56", "C c #234466", "Z c #284C63", "A c #2B4074", "S c #335D7F", "D c #286645", "F c #2C604A", "G c #2A6A47", "H c #2A6B4A", "J c #29695E", "K c #2D7341", "L c #326352", "P c #326B56", "I c #376E5B", "U c #307943", "Y c #307B54", "T c #39725F", "R c #276F68", "E c #2C6272", "W c #2D6F73", "Q c #3D7C67", "! c #347877", "~ c #33787C", "^ c #397E7E", "/ c #412E7B", "( c #3F5FAA", ") c #37699B", "_ c #41488E", "` c #4942A6", "' c #4E59B1", "] c #467C9D", "[ c #4263A5", "{ c #4469A2", "} c #476CA8", "| c #564EC2", " . c #5B50C4", ".. c #4D73C2", "X. c #5565D8", "o. c #5969E2", "O. c #675BDE", "+. c #35833B", "@. c #368A3D", "#. c #368441", "$. c #32844E", "%. c #3D9A44", "&. c #3D9C58", "*. c #36886C", "=. c #3F8868", "-. c #399060", ";. c #3C9D6C", ":. c #3FA05B", ">. c #3FA860", ",. c #438B5C", "<. c #409F4C", "1. c #47935F", "2. c #48945F", "3. c #418F74", "4. c #479361", "5. c #489460", "6. c #47967A", "7. c #48967A", "8. c #41A249", "9. c #46A85D", "0. c #4ABC67", "q. c #4ABC7E", "w. c #4DC165", "e. c #4EC268", "r. c #4FD077", "t. c #56D669", "y. c #56D861", "u. c #55D777", "i. c #53D27A", "p. c #57D975", "a. c #59E37E", "s. c #3C849A", "d. c #3A9586", "f. c #399488", "g. c #3C9196", "h. c #418F9A", "j. c #499E80", "k. c #428AA5", "l. c #4C84A6", "z. c #4B85A8", "x. c #41A281", "c. c #42A598", "v. c #4AB681", "b. c #4AB495", "n. c #53B291", "m. c #48A6AD", "M. c #4CADBA", "N. c #5598D7", "B. c #5A86E5", "V. c #599FE2", "C. c #4DA1C2", "Z. c #5BB1D6", "A. c #5BA1E6", "S. c #5BBCE5", "D. c #4EC98A", "F. c #55D891", "G. c #57DD98", "H. c #5BD899", "J. c #4DC1B3", "K. c #54CBA7", "L. c #53D3AD", "P. c #5DDEA2", "I. c #52DAB5", "U. c #5AE483", "Y. c #58E097", "T. c #5BE69C", "R. c #5BE5A2", "E. c #5AE5BC", "W. c #65DFB4", "Q. c #66E2B5", "!. c #68E6B9", "~. c #55CCD7", "^. c #53DACE", "/. c #5AD7E4", "(. c #5BD8E6", "). c #5AE5D6", "_. c #5AE5D8", "`. c #DFDFDF", "'. c #E3E3E3", "]. c gray100", "[. c None", /* pixels */ "[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.", "[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.", "[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.", "- [.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[. ", "- p . [.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[. i ; ", "- .| , [.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[. # ` O.# ", "- . _ o.a . [.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[. u X.' & ", "[. A B...0 [.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[. & [ B.[ [.", "[.[.[.C A.A.V._ X [.[.[.[.[.[.[.[.[.[.[.[. m N.A.A.) [.[.", "[.[. q Z.S.S.S.M.e [.[.[. [.[.[. = k.S.S.S.S.Z [.[.", "[.[.[. % h.(.(.(./.~ . [.X g.m.= [. B ~.(.(.(.M.9 [.[.", "[.[.[.[. ^._.).).).J.e r ).).R = c._._._._._.6 [.[.[.[.", "[.[.[.[.[. I.E.E.E.E.E.M o b.K.5 8 L.E.E.E.E.E.5 [.[.[.[.[.", "[.[.[.[.[. N P.R.R.R.D.X * * X ;.R.R.R.R.=.X [.[.[.[.[.", "[.[.[.[.[.[. 2 ,.5.5.5.g >.r.+ 2 5.5.4.4.w [.[.[.[.[.", "[.[.[.[. $ $ $ $ $ $ $ $ $ 3 h $ $ $ $ $ $ $ $ $ + [.[.[.[.", "[.[.[. x w.w.z x t.8.z #.8.%.@.y.c k f #.h x x u.9.4 [.[.", "[.[.[. X $.G U.i.K G U.&.h 0.a.u.U a.x U.s &.&.U.8 X [.[.", "[.[.[. d H.G G.D.Y H T.&.D q.T.F.Y Y.G T.j v.v.R.v.* [.[.", "[.[.[.[. * 3.T Q W.n.I 7.x.N D *.6.Q.7.!.L P L P [.[.[.[.", "[.[.[.[.[.[. X X X V f.R f.X . X [.[.[.[.[.", "[.[.[.[.[.[.[.[. : n v v ^ W g.! n v v e [.[.[.[.[.[.[.[.", "[.[.[.[.[.[.[.[.[. . O 7 s.E b . o [.[.[.[.[.[.[.[.[.", "[.[.[.[.[.[.[.[.[.[.[. : ] z.Z S ] l.q [.[.[.[.[.[.[.[.[.[.", "[.[.[.[.[.[.[.[.[.[.[.[. } { & [.[.[.[.[.[.[.[.[.[.[.[.", "[.[.[.[.[.[.[.[.[.[.[.[.[. @ [.[.[.[.[.[.[.[.[.[.[.[.[.", "[.[.[.[.[.[.[.[.[.[.[.[.[.[. # < [.[.[.[.[.[.[.[.[.[.[.[.[.[.", "[.[.[.[.[.[.[.[.[.[.[.[.[.[. y / [.[.[.[.[.[.[.[.[.[.[.[.[.[.", "[.[.[.[.[.[.[.[.[.[.[.[.[.[. O > [.[.[.[.[.[.[.[.[.[.[.[.[.[.", "[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.`.`.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.", "[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.", "[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[.[." }; debian/oolite-data-sounds.install0000644000000000000000000000013212254356115014271 0ustar oolite.app/Resources/Music usr/share/oolite oolite.app/Resources/Sounds usr/share/oolite debian/oolite.docs0000644000000000000000000000002512236276515011341 0ustar debian/README.source debian/oolite.links0000644000000000000000000000010312254356115011521 0ustar usr/share/oolite usr/lib/GNUstep/Applications/oolite.app/Resources debian/watch0000644000000000000000000000034312236276515010230 0ustar version=3 opts=downloadurlmangle=s/prdownload/download/,dversionmangle=s/dfsg// \ http://developer.berlios.de/project/showfiles.php?group_id=3577 \ http://prdownload.berlios.de/oolite-linux/oolite-source-([\d\.-]*).tar.bz2