debian/0000755000000000000000000000000012145754173007177 5ustar debian/control0000644000000000000000000000450412145753647010612 0ustar Source: mana Section: games Priority: optional Homepage: http://www.manasource.org/ Maintainer: Patrick Matthäi Build-Depends: debhelper (>= 9), cmake, libsdl-gfx1.2-dev, libcurl4-gnutls-dev, libxml2-dev, libphysfs-dev, libguichan-dev, libsdl-mixer1.2-dev, libsdl-net1.2-dev, libsdl-ttf2.0-dev, hardening-wrapper Standards-Version: 3.9.4 Package: mana Architecture: any Pre-Depends: dpkg (>= 1.15.6~) Depends: ${shlibs:Depends}, ${misc:Depends}, mana-data (= ${source:Version}) Description: opensource 2D MMORPG platform client The Mana client is developed as part of The Mana Project, which aims to build a complete 2D MMORPG platform. This includes a client, server and web component, as well as a library of free content that you can use under the terms of the GPL. . This version of the client can connect to a specific version of the eAthena server known as tmwAthena, a version with adaptations made as part of The Mana World project. Package: mana-dbg Section: debug Architecture: any Priority: extra Pre-Depends: dpkg (>= 1.15.6~) Depends: ${misc:Depends}, mana (= ${binary:Version}) Description: opensource 2D MMORPG platform client (debugging symbols) The Mana client is developed as part of The Mana Project, which aims to build a complete 2D MMORPG platform. This includes a client, server and web component, as well as a library of free content that you can use under the terms of the GPL. . This version of the client can connect to a specific version of the eAthena server known as tmwAthena, a version with adaptations made as part of The Mana World project. . This package provides debugging symbols for the mana package. Package: mana-data Architecture: all Pre-Depends: dpkg (>= 1.15.6~) Depends: ${misc:Depends}, ttf-dejavu-core Recommends: mana Description: opensource 2D MMORPG platform client (data files) The Mana client is developed as part of The Mana Project, which aims to build a complete 2D MMORPG platform. This includes a client, server and web component, as well as a library of free content that you can use under the terms of the GPL. . This version of the client can connect to a specific version of the eAthena server known as tmwAthena, a version with adaptations made as part of The Mana World project. . This package contains the data files for the mana package. debian/changelog0000644000000000000000000000522212145753647011057 0ustar mana (0.6.1-4) unstable; urgency=low * Update debian/watch to new file location. * Migrate to minimal debhelper. * Bump debian/compat to level 9. * Uploading to unstable. -- Patrick Matthäi Sat, 18 May 2013 21:16:41 +0200 mana (0.6.1-3) experimental; urgency=low * Fix debian/watch to only check for releases with dots and decimals. * Bump Standards-Version to 3.9.4 (no changes needed). * Switch to xz compression and add a Pre-Depends on dpkg. * Add lintian override for false positive hardening-no-fortify-functions warning. -- Patrick Matthäi Wed, 12 Dec 2012 11:27:39 +0100 mana (0.6.1-2) unstable; urgency=high * Add upstream patch 01-gcc47-ftbfs to fix a FTBFS with GCC 4.7. Closes: #672823 * Deactivate C++0x compilation since the linker will fail on guichan with GCC 4.7. -- Patrick Matthäi Mon, 14 May 2012 18:57:35 +0200 mana (0.6.1-1) unstable; urgency=low * New upstream release. * Bump Standards-Version to 3.9.3 (no changes needed). * Wrap all debian/control fields. -- Patrick Matthäi Tue, 03 Apr 2012 12:45:59 +0200 mana (0.6.0-2) unstable; urgency=low * Install missing link on DejaVuSansMono.ttf, without it tmw can not start. Closes: #660065 -- Patrick Matthäi Thu, 16 Feb 2012 11:14:08 +0100 mana (0.6.0-1) unstable; urgency=low * New upstream release. -- Patrick Matthäi Mon, 13 Feb 2012 18:13:54 +0100 mana (0.5.3-2) unstable; urgency=low * Only honor 0.x releases in debian/watch. * Remove unused lintian overrides. -- Patrick Matthäi Sat, 28 Jan 2012 16:32:20 +0100 mana (0.5.3-1) unstable; urgency=low * New upstream release. - Remove merged patch 01-format-security-error. * Add missing build-arch and build-indep targets. * Override false positive lintian warnings about broken symlinks. -- Patrick Matthäi Sun, 18 Sep 2011 15:50:58 +0200 mana (0.5.2-2) unstable; urgency=low * Install missing mana desktop icon. -- Patrick Matthäi Sun, 29 May 2011 10:25:00 +0200 mana (0.5.2-1) unstable; urgency=low * New upstream release. * Bump Standards-Version to 3.9.2 (no changes needed). * Build with hardening-wrapper. * Add patch 01-format-security-error.diff, to prevent a FTBFS with enabled hardening-wrapper. -- Patrick Matthäi Sat, 30 Apr 2011 18:16:10 +0200 mana (0.5.1-1) unstable; urgency=low * Initial release. Closes: #611752 -- Patrick Matthäi Sun, 20 Mar 2011 10:20:19 +0100 debian/mana-data.install0000644000000000000000000000011412145753647012413 0ustar debian/tmp/usr/share/mana usr/share/ debian/tmp/usr/share/locale usr/share/ debian/copyright0000644000000000000000000001632412145753647011145 0ustar This package was debianized by Patrick Matthäi on Tue, 01 Feb 2011 18:20:56 +0100 It was downloaded from . Upstream Author: The Mana Developers Copyright: © 2004-2009 The Mana World Development Team © 2009-2010 The Mana Developers License (libs/enet/): 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 (src/gui/sdlinput.{cpp,h}): Copyright (c) 2004, 2005, 2006, 2007 Olof Naessén and Per Larsson Copyright (C) 2007-2010 The Mana World Development Team Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. 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. 3. Neither the name of the project 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 PROJECT 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 PROJECT 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. License (tools/tmxcopy/base64.{cpp,h}, src/utils/base64.{cpp,h}): Copyright (c) 1997-2000 PHP Development Team (See Credits file) This program is free software; you can redistribute it and/or modify it under the terms of one of the following licenses: A) 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. B) the PHP License as published by the PHP Development Team and included in the distribution in the file: LICENSE 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 On Debian systems, the complete text of the GNU General Public License can be found in the /usr/share/common-licenses/GPL-2 file. License (src/utils/sha256.cpp): Copyright (C) 2008-2009 The Mana World Development Team Copyright (C) 2009-2010 The Mana Developers This file has been slighly modified as part of The Mana Client. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2, as published by the Free Software Foundation. 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. Copyright (C) 2005 Olivier Gay All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. 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. 3. Neither the name of the project 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 PROJECT 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 PROJECT OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. On Debian systems, the complete text of the GNU General Public License version 2 can be found in the /usr/share/common-licenses/GPL-2 file. License (everything else): 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 program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA On Debian systems, the complete text of the GNU General Public License can be found in the /usr/share/common-licenses/GPL-2 file. The Debian packaging is © 2011, Patrick Matthäi and is licensed under the GPL-2, see above. debian/mana.lintian-overrides0000644000000000000000000000006412145753647013500 0ustar mana: hardening-no-fortify-functions usr/games/mana debian/mana.manpages0000644000000000000000000000001412145753647011630 0ustar docs/mana.6 debian/watch0000644000000000000000000000007512145753647010237 0ustar version=3 http://files.manasource.org/mana-([\d.]+)\.tar\.gz debian/rules0000755000000000000000000000124012145753647010261 0ustar #!/usr/bin/make -f export DEB_BUILD_HARDENING=1 DEB_BUILD_EXTRA_FLAGS := \ -D ENABLE_CPP0X=OFF \ -D CMAKE_BUILD_TYPE=Debug \ -D CMAKE_INSTALL_PREFIX=/usr %: dh $@ override_dh_auto_configure: [ -d build ] || mkdir build cd build && cmake $(DEB_BUILD_EXTRA_FLAGS) .. override_dh_auto_build: cd build && $(MAKE) override_dh_auto_install: cd build && $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp override_dh_auto_clean: rm -rf $(CURDIR)/debian/tmp rm -rf $(CURDIR)/build override_dh_install: rm -rf $(CURDIR)/debian/tmp/usr/share/mana/data/fonts/ dh_install override_dh_strip: dh_strip --dbg-package=mana-dbg override_dh_builddeb: dh_builddeb -- -Zxz debian/mana.install0000644000000000000000000000021312145753647011504 0ustar debian/tmp/usr/bin/mana usr/games/ debian/tmp/usr/share/applications usr/share/ data/icons/mana.svg usr/share/icons/hicolor/scalable/apps/ debian/patches/0000755000000000000000000000000012145753647010633 5ustar debian/patches/series0000644000000000000000000000002412145753647012044 0ustar 01-gcc47-ftbfs.diff debian/patches/01-gcc47-ftbfs.diff0000644000000000000000000000427712145753647013726 0ustar # Fix FTBFS with GCC 4.7. # Closes: #672823 diff -Naur mana-0.6.1.orig/src/cpp0x_compat/cstdint mana-0.6.1/src/cpp0x_compat/cstdint --- mana-0.6.1.orig/src/cpp0x_compat/cstdint 2012-04-02 20:24:42.000000000 +0200 +++ mana-0.6.1/src/cpp0x_compat/cstdint 2012-05-14 18:36:14.763617436 +0200 @@ -5,3 +5,7 @@ * compiles Mana fine so it apparently understands types like uint16_t by * default. */ + +typedef unsigned char uint8_t; +typedef unsigned short uint16_t; +typedef unsigned int uint32_t; diff -Naur mana-0.6.1.orig/src/gui/widgets/tabbedarea.h mana-0.6.1/src/gui/widgets/tabbedarea.h --- mana-0.6.1.orig/src/gui/widgets/tabbedarea.h 2012-04-02 20:24:42.000000000 +0200 +++ mana-0.6.1/src/gui/widgets/tabbedarea.h 2012-05-14 18:37:21.614229306 +0200 @@ -98,7 +98,8 @@ int getContainerHeight() const { return mWidgetContainer->getHeight(); } - using gcn::TabbedArea::setSelectedTab; + void setSelectedTab(unsigned int index) + { gcn::TabbedArea::setSelectedTab(index); } void setSelectedTab(gcn::Tab *tab); diff -Naur mana-0.6.1.orig/src/gui/widgets/textfield.h mana-0.6.1/src/gui/widgets/textfield.h --- mana-0.6.1.orig/src/gui/widgets/textfield.h 2012-04-02 20:24:42.000000000 +0200 +++ mana-0.6.1/src/gui/widgets/textfield.h 2012-05-14 18:37:51.397606351 +0200 @@ -63,6 +63,7 @@ class AutoCompleteLister { public: + virtual ~AutoCompleteLister() {} virtual void getAutoCompleteList(std::vector&) const {} }; diff -Naur mana-0.6.1.orig/src/net/download.h mana-0.6.1/src/net/download.h --- mana-0.6.1.orig/src/net/download.h 2012-04-02 20:24:42.000000000 +0200 +++ mana-0.6.1/src/net/download.h 2012-05-14 18:38:19.257021318 +0200 @@ -18,6 +18,7 @@ * along with this program. If not, see . */ +#include #include #include diff -Naur mana-0.6.1.orig/src/resources/itemdb.h mana-0.6.1/src/resources/itemdb.h --- mana-0.6.1.orig/src/resources/itemdb.h 2012-04-02 20:24:42.000000000 +0200 +++ mana-0.6.1/src/resources/itemdb.h 2012-05-14 18:38:46.304451305 +0200 @@ -78,7 +78,7 @@ mLoaded(false) {} - ~ItemDB() + virtual ~ItemDB() {} /** debian/source/0000755000000000000000000000000012145753647010504 5ustar debian/source/format0000644000000000000000000000001412145753647011712 0ustar 3.0 (quilt) debian/mana-data.links0000644000000000000000000000044712145753647012076 0ustar usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf usr/share/mana/data/fonts/dejavusans.ttf usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Bold.ttf usr/share/mana/data/fonts/dejavusans-bold.ttf usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono.ttf usr/share/mana/data/fonts/dejavusans-mono.ttf debian/compat0000644000000000000000000000000212145753647010402 0ustar 9