diff options
-rw-r--r-- | .travis.yml | 6 | ||||
-rw-r--r-- | debian/changelog | 5 | ||||
-rw-r--r-- | debian/colobot-common.install | 2 | ||||
-rw-r--r-- | debian/colobot-dev-doc.doc-base | 10 | ||||
-rw-r--r-- | debian/colobot-dev-doc.install | 1 | ||||
-rw-r--r-- | debian/colobot-dev-doc.links | 1 | ||||
-rw-r--r-- | debian/colobot.install | 9 | ||||
-rw-r--r-- | debian/compat | 1 | ||||
-rw-r--r-- | debian/control | 83 | ||||
-rw-r--r-- | debian/copyright | 88 | ||||
-rwxr-xr-x | debian/rules | 25 | ||||
-rw-r--r-- | debian/source/format | 1 |
12 files changed, 230 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml index 038e4c2..71720b2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,11 +2,13 @@ language: cpp compiler: - gcc - clang -script: mkdir build; cd build; cmake .. -DCMAKE_VERBOSE_MAKEFILE=ON -DOPENAL_SOUND=0 -DTESTS=1 && make all doc test && DESTDIR=. make install +script: debuild -b -us -uc --lintian-opts "-ivI" before_install: - git submodule update --init --recursive - sudo add-apt-repository ppa:mapnik/boost -y - sudo apt-get update -qq - - sudo apt-get install -qq --no-install-recommends libgl1-mesa-dev libsdl1.2-dev libsdl-image1.2-dev libsdl-ttf2.0-dev libpng12-dev libglew-dev libboost-dev libboost-system-dev libboost-filesystem-dev libboost-regex-dev google-mock libgtest-dev doxygen graphviz po4a librsvg2-bin libsndfile-dev + - sudo apt-get install -qq --no-install-recommends devscripts dpkg-dev lintian equivs + - mk-build-deps --root-cmd sudo --tool "apt-get -qq --no-install-recommends" --install --remove + - dch -b -v 0.1.0~git$(date +%Y%m%d%H%M)00-1~travis0 -m "Automated test-build." notifications: email: false diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..96ea0f6 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +colobot (0.1.0-1) UNRELEASED; urgency=low + + * Colobot Gold 0.1.0 alpha initial Debian release. (Closes: #695829) + + -- Didier Raboud <odyx@debian.org> Tue, 25 Jun 2013 09:35:17 +0200 diff --git a/debian/colobot-common.install b/debian/colobot-common.install new file mode 100644 index 0000000..f050885 --- /dev/null +++ b/debian/colobot-common.install @@ -0,0 +1,2 @@ +usr/share/locale/*/LC_MESSAGES/colobot.mo +usr/share/games/colobot/ diff --git a/debian/colobot-dev-doc.doc-base b/debian/colobot-dev-doc.doc-base new file mode 100644 index 0000000..4f04362 --- /dev/null +++ b/debian/colobot-dev-doc.doc-base @@ -0,0 +1,10 @@ +Document: colobot-source-doc +Title: Colobot source code documentation +Author: Polish Portal of Colobot +Abstract: This is the Doxygen-generated documentation of the Colobot + source code. +Section: Programming + +Format: HTML +Index: /usr/share/doc/colobot/html/index.html +Files: /usr/share/doc/colobot/html/*.html diff --git a/debian/colobot-dev-doc.install b/debian/colobot-dev-doc.install new file mode 100644 index 0000000..4ae8eb0 --- /dev/null +++ b/debian/colobot-dev-doc.install @@ -0,0 +1 @@ +usr/share/doc/colobot/html diff --git a/debian/colobot-dev-doc.links b/debian/colobot-dev-doc.links new file mode 100644 index 0000000..76bf4e0 --- /dev/null +++ b/debian/colobot-dev-doc.links @@ -0,0 +1 @@ +usr/share/javascript/jquery/jquery.js usr/share/doc/colobot/html/jquery.js diff --git a/debian/colobot.install b/debian/colobot.install new file mode 100644 index 0000000..d1bedf6 --- /dev/null +++ b/debian/colobot.install @@ -0,0 +1,9 @@ +usr/lib/colobot/libCBot.so +usr/games/colobot +usr/share/applications/colobot.desktop +usr/share/icons/hicolor/scalable/apps/colobot.svg +usr/share/icons/hicolor/48x48/apps/colobot.png +usr/share/icons/hicolor/32x32/apps/colobot.png +usr/share/icons/hicolor/16x16/apps/colobot.png +usr/share/man/man6/colobot.6 +usr/share/man/*/man6/colobot.6 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +9 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..3da5a55 --- /dev/null +++ b/debian/control @@ -0,0 +1,83 @@ +Source: colobot +Section: games +Priority: optional +Maintainer: Debian Games Team <pkg-games-devel@lists.alioth.debian.org> +Uploaders: Didier Raboud <odyx@debian.org> +Build-Depends: + debhelper (>= 9), + cmake, + libgl1-mesa-dev | libgl-dev, + libglew-dev, + libsdl1.2-dev (>= 1.2.10), + libsdl-image1.2-dev, + libsdl-ttf2.0-dev, + libpng12-dev (>= 1.2), + libboost-dev, + libboost-system-dev, + libboost-filesystem-dev, + libboost-regex-dev, + libopenal-dev, + libsndfile-dev, + librsvg2-bin, + po4a, + perl, + google-mock, + libgtest-dev +Build-Depends-Indep: doxygen, graphviz +Standards-Version: 3.9.4 +Homepage: http://colobot.info + +Package: colobot +Architecture: any +Depends: ${shlibs:Depends}, + ${misc:Depends}, + colobot-common (>= ${source:Version}) +Description: educational programming strategy game + Colobot (Colonize with Bots) is an educational game aiming to teach + programming through entertainment. You are playing as an astronaut on a + journey with robot helpers to find a planet for colonization. It features 3D + real-time graphics and a C++ and Java-like, object-oriented language, CBOT, + which can be used to program the robots available in the game. + +Package: colobot-common +Architecture: all +Depends: ${misc:Depends} +Recommends: colobot (>= ${source:Version}) +Description: educational programming strategy game - data + Colobot (Colonize with Bots) is an educational game aiming to teach + programming through entertainment. You are playing as an astronaut on a + journey with robot helpers to find a planet for colonization. It features 3D + real-time graphics and a C++ and Java-like, object-oriented language, CBOT, + which can be used to program the robots available in the game. + . + This package contains the architecture-independent game data. + +Package: colobot-dbg +Architecture: any +Section: debug +Priority: extra +Depends: ${misc:Depends}, ${shlibs:Depends}, + colobot (= ${binary:Version}) +Description: educational programming strategy game - debug symbols + Colobot (Colonize with Bots) is an educational game aiming to teach + programming through entertainment. You are playing as an astronaut on a + journey with robot helpers to find a planet for colonization. It features 3D + real-time graphics and a C++ and Java-like, object-oriented language, CBOT, + which can be used to program the robots available in the game. + . + This package contains the debugging symbols. + +Package: colobot-dev-doc +Architecture: all +Section: doc +Depends: ${misc:Depends}, + libjs-jquery +Recommends: colobot (>= ${source:Version}) +Description: educational programming strategy game - source doc + Colobot (Colonize with Bots) is an educational game aiming to teach + programming through entertainment. You are playing as an astronaut on a + journey with robot helpers to find a planet for colonization. It features 3D + real-time graphics and a C++ and Java-like, object-oriented language, CBOT, + which can be used to program the robots available in the game. + . + This package contains the doxygen documentation for the colobot source code. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..8168858 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,88 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: Colobot +Source: http://github.com/colobot/colobot + +Files: * +Copyright: 2001-2008, Daniel ROUX & EPSITEC SA, http://www.epsitec.ch + 2012-2013, Polish Portal of Colobot (PPC) + 2006 Angelo "Encelo" Theodorou +License: GPL-3+ + +Files: lib/clipboard/src/* +Copyright: 2008, Freddie Witherden + 2008-2009, Warzone Resurrection Project +License: GPL-2+ + +Files: debian/* +Copyright: Copyright 2013 Didier Raboud <odyx@debian.org> +License: GPL-2+ + +Files: lib/clipboard/* +Copyright: 1992-2007, Trolltech ASA + 1999-2004, Eidos Interactive + 2007, Giel van Schijndel + 2007-2009, Warzone Resurrection Project + 2008, Freddie Witherden +License: GPL-2+ + +Files: lib/gtest/* +Copyright: 2003-2009, Google Inc +License: BSD-3-clause + +License: GPL-3+ + This package 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. + . + On Debian systems, the complete text of the GNU General Public License + version 3 can be found in file "/usr/share/common-licenses/GPL-3". + +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: BSD-3-Clause + 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 Google Inc. nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written 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 DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..5cb315b --- /dev/null +++ b/debian/rules @@ -0,0 +1,25 @@ +#!/usr/bin/make -f + +%: + dh $@ \ + --buildsystem=cmake \ + --parallel \ + --dbg-package=colobot-dbg + +override_dh_auto_configure: + dh_auto_configure -- -DCMAKE_BUILD_TYPE:STRING="RelWithDebInfo" \ + -DINSTALL_DOCS:BOOL=True \ + -DOPENAL_SOUND:BOOL=True + +override_dh_auto_build: + dh_auto_build -a + dh_auto_build -i -- doc + +merge-dev: + set -e; \ + DEV_COMMIT=$$(git describe --tags dev | sed -e 's/^colobot-gold-pre_alpha-//g'); \ + git merge --no-commit dev; \ + dch -b -v 0.1.0~pre-alpha-git-dev~r$${DEV_COMMIT}-1~OdyX0 "New snapshot of dev branch ($${DEV_COMMIT})"; \ + sed -e "/New snapshot of dev branch ($${DEV_COMMIT})/d" -i debian/changelog ; \ + git add debian/changelog; \ + git commit -m "New snapshot of dev branch ($${DEV_COMMIT})" diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) |