debian/0000775000000000000000000000000012323360151007164 5ustar debian/rules0000775000000000000000000001016612263521524010256 0ustar #!/usr/bin/make -f # upstream version version=$(shell uscan --report-status | head -2 | tail -1 | cut -d' ' -f7 | cut -d, -f1) tmpdir:=$(shell mktemp -d) wrkdir:=$(shell pwd) # build-hardening flags export DEB_BUILD_MAINT_OPTIONS="hardening=+all" # file names sources=$(shell find . -name *.cpp) headers=$(shell find . -name *.h) dfsgremovals=Makefile.bak \ .gitattributes \ .hg_archival \ .hg_archival.txt \ .hgignore \ .hgtags \ fontlucida.png \ sqlite \ json \ lua # jthread # upstream patched that lib, which seem dead upstream itself, so use minetest's version even if I don't like it. cleanremovals= bin \ CMakeFiles \ src/CMakeFiles \ CMakeCache.txt \ CPackConfig.cmake \ CPackSourceConfig.cmake \ Makefile \ cmake_install.cmake \ src/Makefile \ src/cmake_config.h \ src/cmake_install.cmake \ locale \ install_manifest.txt \ minetest.xpm \ minetest.svg \ minetest.png \ src/cguittfont/CMakeFiles/ \ src/cguittfont/Makefile \ src/cguittfont/cmake_install.cmake \ src/cguittfont/libcguittfont.a override_dh_clean: dh_clean --exclude old/Makefile.old override_dh_auto_clean: dh_clean --exclude old/Makefile.old rm -rf ${cleanremovals} override_dh_auto_configure: CFLAGS="${CFLAGS}" \ LDFLAGS="${LDFLAGS}" \ CXXFLAGS="${CXXFLAGS} ${CPPFLAGS}" \ cmake -DRUN_IN_PLACE=0 \ -DENABLE_GETTEXT=1 \ -DENABLE_FREETYPE=1 \ -DFREETYPE_INCLUDE_DIRS=/usr/include/freetype2 \ -DFREETYPE_INCLUDE_DIR_ft2build=/usr/include \ -DCUSTOM_LOCALEDIR=/usr/share/locale \ -DCUSTOM_SHAREDIR=/usr/share/games/minetest \ -DCMAKE_INSTALL_PREFIX=/usr . override_dh_auto_build: dh_auto_build --parallel override_dh_install: dh_install --list-missing -X.gitignore for bpkg in minetest minetest-data minetest-dbg minetest-server ; do \ mkdir -p debian/$${bpkg}/usr/share/doc/$${bpkg} ; \ cp debian/changelog.upstream debian/$${bpkg}/usr/share/doc/$${bpkg}/changelog ; \ done # copy the logo mkdir -p debian/minetest/usr/share/icons/hicolor/24x24/apps/ cp misc/minetest-icon-24x24.png debian/minetest/usr/share/icons/hicolor/24x24/apps/minetest.png convert debian/minetest/usr/share/icons/hicolor/24x24/apps/minetest.png \ debian/minetest/usr/share/icons/hicolor/24x24/apps/minetest.xpm mkdir -p debian/minetest/usr/share/icons/hicolor/scalable/apps/ cp misc/minetest-icon.svg debian/minetest/usr/share/icons/hicolor/scalable/apps/minetest.svg # take care of the fonts we need mkdir -p debian/minetest-data/usr/share/games/minetest/fonts/ ln -s /usr/share/fonts/truetype/liberation/LiberationMono-Regular.ttf \ debian/minetest-data/usr/share/games/minetest/fonts/liberationmono.ttf ln -s /usr/share/fonts/truetype/liberation/LiberationSans-Regular.ttf \ debian/minetest-data/usr/share/games/minetest/fonts/liberationsans.ttf # Install the mapper script mkdir -p debian/minetest-data/usr/games cp util/minetestmapper.py debian/minetest-data/usr/games/minetest-mapper cp util/colors.txt debian/minetest-data/usr/share/games/minetest/minetestmapper-colors.txt override_dh_strip: dh_strip --dbg-package=minetest-dbg get-orig-source: rm -f ${wrkdir}/../minetest_${version}+repack.orig.tar.gz uscan --verbose --force-download && mv ../${version}.tar.gz ${tmpdir} || true set +ex; cd ${tmpdir} && \ tar xf ${version}.tar.gz && rm -f ${version}.tar.gz && \ cd minetest-${version}/games && \ for game in minetest_game ; do \ wget --no-verbose https://github.com/minetest/$${game}/archive/${version}.tar.gz -O - | tar xfz - ; \ mv $${game}-${version} $${game} ; \ done && \ cd .. ; \ for file in ${dfsgremovals}; do \ find . -name $$file -execdir rm -rf {} \; 2>/dev/null || true; \ done && \ tar cf ${wrkdir}/../minetest_${version}+repack.orig.tar * ; \ gzip --best ${wrkdir}/../minetest_${version}+repack.orig.tar rm -rf ${tmpdir} @echo "successfully created new tarball: ${wrkdir}/../minetest_${version}+repack.orig.tar.gz" %: dh ${@} debian/watch0000664000000000000000000000020112263521524010214 0ustar version=3 opts=dversionmangle=s/\+(repack|dfsg|ds|deb)\d*$// \ https://github.com/minetest/minetest/tags .*/(\d[\d\.]+)\.tar\.gz debian/changelog0000664000000000000000000002112212323360136011037 0ustar minetest (0.4.9+repack-4ubuntu1) trusty; urgency=medium * Add ppc64el to architecture list for liblua5.1-dev. -- Logan Rosen Tue, 15 Apr 2014 21:43:44 -0400 minetest (0.4.9+repack-4) unstable; urgency=medium * luajit is available on powerpcspe, too (Closes: #734730). * Use lua on all other debian-port strange architectures where luajit is not avail. I don't really like to hardcode this list of architectures this way: if luajit is ported, I will not notice it. -- Martin Quinson Thu, 09 Jan 2014 14:22:20 +0100 minetest (0.4.9+repack-3) unstable; urgency=medium * Mipsel don't have luajit either, actually. Bummer. -- Martin Quinson Thu, 09 Jan 2014 02:40:17 +0100 minetest (0.4.9+repack-2) unstable; urgency=medium * Do not try to use luajit on architectures that don't provide it. Fallback on lua on those architectures. (Closes: #734461) -- Martin Quinson Thu, 09 Jan 2014 00:41:18 +0100 minetest (0.4.9+repack-1) unstable; urgency=medium * New upstream release. - drop d/p/blinking_furnaces that were picked from upstream. * Bump Standards-Version to 3.9.5 (no change needed) -- Martin Quinson Sat, 04 Jan 2014 20:52:19 +0100 minetest (0.4.8+repack2-3) unstable; urgency=low * get upstream patch to fix a bug with furnaces that are blinking -- Martin Quinson Mon, 09 Dec 2013 01:10:58 +0100 minetest (0.4.8+repack2-2) unstable; urgency=low * Also look under /usr/share/games/minetest for mods, so that minetest-mod-* packages actually work. -- Martin Quinson Wed, 04 Dec 2013 23:38:26 +0100 minetest (0.4.8+repack2-1) unstable; urgency=low * New upstream release (closes: #730554). - Upstream changes to their embeeded jthread library become intractable with our system-wide version. So switch to their version, even if it's a bad habit to embeed other libraries. - Refresh our patches (no big change beside of jthread). * Suggests the existing mod packages: moreblocks, moreores, pipeworks. -- Martin Quinson Thu, 28 Nov 2013 23:20:35 +0100 minetest (0.4.7+repack-3) unstable; urgency=low * d/p/desktop-file-fix-icon: fix the icon name in minetest.desktop (Closes: #713808) -- Martin Quinson Sun, 18 Aug 2013 02:34:11 +0200 minetest (0.4.7+repack-2) unstable; urgency=low * Fix the package description (the game is LGPL, not GPL) -- Martin Quinson Fri, 21 Jun 2013 01:54:04 +0200 minetest (0.4.7+repack-1) unstable; urgency=low * New upstream release (LP: #1191519) - all mods but 'minetest_game' mods were dropped upstream. We still need to repack to integrate the remaining mod, though. * Refresh our patches accordingly * Build-depend on luajit as it is now the used library for lua * d/control: bump standard version to 3.9.4 (no change needed) -- Martin Quinson Fri, 21 Jun 2013 01:13:36 +0200 minetest (0.4.6+repack-6) unstable; urgency=low * Reupload to unstable so that it gets rebuilt against irrlicht 1.8. We could have asked a binNMU to the release team for the transition, but minetest is the only package build-depending on irrlicht. -- Martin Quinson Mon, 06 May 2013 11:36:12 +0200 minetest (0.4.6+repack-5) unstable; urgency=low * include minetest-mapper into the minetest-data package * don't install in-package fonts, but use system-wide ones * Actually install the upstream changelog -- oops -- Martin Quinson Wed, 01 May 2013 18:59:48 +0200 minetest (0.4.6+repack-4) unstable; urgency=low * Team upload. [Matthew Bekkema] * Fix build on big endian architectures. [Martin Quinson] * minetest Suggests minetest-server (Closes: #674121) * Conflicts with unofficial minetestc55 (LP: #1162551) -- Martin Quinson Fri, 19 Apr 2013 10:06:45 +0200 minetest (0.4.6+repack-3) unstable; urgency=low * Team upload. [Matthew Bekkema] * Fix build on kfreebsd, and hopefully on sparc * Further source repacking to remove unused embeedded libraries from tarball. [Martin Quinson] * d/control: update upstream's URL -- Martin Quinson Thu, 18 Apr 2013 09:41:54 +0200 minetest (0.4.6+repack-2) unstable; urgency=low * Add an upstream changelog found online * Ease the upgrade from previous minetest versions -- sorry. -- Martin Quinson Wed, 17 Apr 2013 22:09:29 +0200 minetest (0.4.6+repack-1) unstable; urgency=low * Team upload. * New upstream release (Closes: #677517) (LP: #1045322) - Player cannot spawn within the rock now (Closes: #693264) - Builds with irrlicht 1.8 (Closes: #693277) * Repack upstream tarball to re-include the elements that were separated "to keep the git repository reasonably sized" [Matthew Bekkema] * Update existing patches. * Use upstream manpages and drop Debian ones. * d/rules: various fixes: - update the way to get new tarballs - copy the icons from the right location * d/p/event.patch: new patch to make it compile despite upstream editing their included jmutex.h while we use the system-wide one. * Be more picky about what should get installed in minetest-common to avoid conflicts with minetest. * d/copyright: various fixes - fix a lintian warning about a duplicated entry - upstream switched to LGPL v2 for most files - add some missing files * d/p/useless-depends.patch: drop useless dependencies reported during build by dpkg-shlibdeps * d/control: adapt build-deps to drop these dependencies [Martin Quinson] * d/control: Add myself to the uploaders. * d/control: rename the minetest-common pkg to minetest-data, as an external source package should/will provide minetest. * build with cURL, gettext and freetype * d/p/i18n: search for translations in the default path * Use system-wide fonts, to avoid a warning about not found fonts * Use /usr/share/games/minetest instead of /usr/share/minetest * Use upstream desktop file and drop Debian one. -- Martin Quinson Sun, 14 Apr 2013 20:58:27 +0200 minetest (0.3.1+dfsg-4) unstable; urgency=low * add a breaks minetest << 0.3.1+dfsg-3 to appropriately handle upgrades after the package split (closes: #670208) -- Michael Gilbert Wed, 25 Apr 2012 16:04:01 -0400 minetest (0.3.1+dfsg-3) unstable; urgency=low * use debhelper 9 and simplify build hardening * update my email address * bump standards to 3.9.3 * build-depend on libpng-dev instead of libpng12-dev (closes: #662432) * fix gcc 4.7 build failure (closes: #667280) * split the server into its own package (closes: #668004) * move binaries to /usr/games in install files -- Michael Gilbert Sat, 21 Apr 2012 15:52:14 -0400 minetest (0.3.1+dfsg-2) unstable; urgency=low * Fix freedesktop menu "Type" entry. * Use "uscan --force-download" in get-orig-source rule. * Update homepage location in watch file. * Add missing libsqlite3-dev build-dep -- Michael Gilbert Tue, 29 Nov 2011 18:42:07 -0500 minetest (0.3.1+dfsg-1) unstable; urgency=low * Update homepage. * Build against jthread 1.3.1. * Implement get-orig-source to generate dfsg-free upstream tarball. * Build using dfsg-free tarball. * Install freedesktop menu and icons. * Fix watch file for dfsg name. * Install to /usr/games. * Add a debug package. -- Michael Gilbert Sat, 26 Nov 2011 22:27:53 -0500 minetest (0.3.1-1) unstable; urgency=low * New upstream release: - Refresh patches. * Dynamically link to irrlicht. -- Michael Gilbert Sat, 26 Nov 2011 20:08:08 -0500 minetest (0.2.20110922.3-1) UNRELEASED; urgency=low * New upstream release. * Disable DM-Upload-Allowed. * Add some more copyright info. * Remove embedded sqlite code copy. * Enable all build-hardening flags. * Use system jthread library. * Fix dep5 url format. -- Michael Gilbert Mon, 21 Nov 2011 00:42:06 -0500 minetest (0.2.20110731.3-2) UNRELEASED; urgency=low * Update watch file. * Add permanent manpages. * Support parallel builds. * Remove vcs files in clean rule. -- Michael Gilbert Fri, 28 Oct 2011 19:46:35 -0400 minetest (0.2.20110731.3-1) UNRELEASED; urgency=low * Initial release (Closes: #636293). -- Michael Gilbert Mon, 12 Sep 2011 23:43:55 -0400 debian/compat0000664000000000000000000000000212263521524010370 0ustar 9 debian/README.source0000664000000000000000000000302312263521524011347 0ustar TL;DR ***** We don't use the original upstream tarball, but a repacked version. It can be easily regenerated by typing: make -f debian/rules get-orig-source Long version ************ I hate fiddeling with upstream's tarballs, but it seems to be what upstream expects of us here, so let's do it. I was about creating separate debian packages (at source level) for each parts, but since other distros were merging them, I went to upstream IRC channel to discuss on their motivation to split the source package. emptty: celeron55: why did you guys separate common and the games from the main tree? celeron55: emptty: common and the games are separated from the engine tree to keep the repositories reasonably sized celeron55: common and games contain textures, sounds and 3D models which aren't wanted in the engine repo emptty: Is there any possibility that they get versioned differently? Like a 0.4.6.1 release of minetest_game while the other remain at 0.4.6 or so. celeron55: It is intended that they are identically versioned via git tags. If so, I see this split as a convinience for the developers, but I think that it is expected that we merge the elements back into the source package in Debian. I diregarded the creation of several upstream tarballs as it breaks git-buildpackage. I think that a team-managed package must be as much automatized as possible. git-buildpackage makes it impossible to have dissemblable compilation environment among team members.debian/minetest.install0000664000000000000000000000014312263521524012410 0ustar usr/bin/minetest /usr/games usr/share/applications/minetest.desktop /usr/share/applications debian/minetest.menu0000664000000000000000000000042112263521524011705 0ustar ?package(minetest):\ needs="x11" \ section="Games/Adventure" \ command="/usr/games/minetest" \ title="Minetest" \ icon="/usr/share/icons/hicolor/24x24/apps/minetest.xpm" \ longtitle="Multiplayer infinite-world block sandbox" debian/copyright0000664000000000000000000003037612263521524011136 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: minetest-c55 Source: http://c55.me/minetest Files: * Copyright: 2010-2012 celeron55, Perttu Ahola 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 Lesser General Public License for more details. . You should have received a copy of the GNU Lesser General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. . On Debian systems, the complete text of the GNU Lesser General Public License version 2 can be found in "/usr/share/common-licenses/LGPL-2.1". Files: src/sha1.cpp src/sha1.h Copyright: Copyright (c) 2005 Michael D. Leonhard (http://tamale.net) 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. Files: /src/shader.cpp /src/shader.h Copyright: 2012, Kahrl 2012, celeron55, Perttu Ahola License: GPL-2+ 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 2 of the License, or (at your option) any later version. . This package 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 . On Debian systems, the complete text of the GNU General Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". Files: /src/guiPasswordChange.cpp /src/guiPasswordChange.h Copyright: 2010-2011 celeron55, Perttu Ahola 2011, Ciaran Gultnieks License: ISC Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. . THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. Files: /src/guiKeyChangeMenu.cpp /src/guiKeyChangeMenu.h Copyright: 2010-11 celeron55, Perttu Ahola 2011, Ciaran Gultnieks 2011, teddydestodes 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 Lesser General Public License for more details. . You should have received a copy of the GNU Lesser General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. . On Debian systems, the complete text of the GNU Lesser General Public License version 2 can be found in "/usr/share/common-licenses/LGPL-2.1". Files: /src/filecache.cpp /src/filecache.h Copyright: 2010, celeron55, Perttu Ahola 2012, Jonathan Neuschäfer 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 Lesser General Public License for more details. . You should have received a copy of the GNU Lesser General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. . On Debian systems, the complete text of the GNU Lesser General Public License version 2 can be found in "/usr/share/common-licenses/LGPL-2.1". Files: /src/itemdef.cpp /src/itemdef.h Copyright: 2010-2011, celeron55, Perttu Ahola 2011, Kahrl 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 Lesser General Public License for more details. . You should have received a copy of the GNU Lesser General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. . On Debian systems, the complete text of the GNU Lesser General Public License version 2 can be found in "/usr/share/common-licenses/LGPL-2.1". Files: /src/sound_openal.cpp Copyright: 2011, Cyriaque 'Cisoun' Skrapits 2011, Giuseppe Bilotta 2011, Sebastian 'Bahamada' Rühl 2012, celeron55, Perttu Ahola 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 Lesser General Public License for more details. . You should have received a copy of the GNU Lesser General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. . On Debian systems, the complete text of the GNU Lesser General Public License version 2 can be found in "/usr/share/common-licenses/LGPL-2.1". Files: /src/hex.h Copyright: 2012, Jonathan Neuschäfer 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 Lesser General Public License for more details. . You should have received a copy of the GNU Lesser General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. . On Debian systems, the complete text of the GNU Lesser General Public License version 2 can be found in "/usr/share/common-licenses/LGPL-2.1". Files: /src/base64.cpp Copyright: 2004-2008, Renà Nyffenegger Nyffenegger rene.nyffenegger@adp-gmbh.ch License: This source code is provided 'as-is', without any express or implied warranty. In no event will the author be held liable for any damages arising from the use of this software. . Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: . 1. The origin of this source code must not be misrepresented; you must not claim that you wrote the original source code. If you use this source code in a product, an acknowledgment in the product documentation would be appreciated but is not required. . 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original source code. . 3. This notice may not be removed or altered from any source distribution. Files: util/minetestmapper.py Copyright: Copyright (C) 2011 celeron55, Perttu Ahola Copyright (C) 2011 j0gge License: WTFPL Everyone is permitted to copy and distribute verbatim or modified copies of this license document, and changing it is allowed as long as the name is changed. . DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION . 0. You just DO WHAT THE FUCK YOU WANT TO. Files: src/cguittfont/* Copyright: 2009-2010 John Norman License: zlib This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. . Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: . 1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. . 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. . 3. This notice may not be removed or altered from any source distribution. Files: debian/* Copyright: 2011 Michael Gilbert License: GPL-2+ 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 2 of the License, or (at your option) any later version. . This package 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 . On Debian systems, the complete text of the GNU General Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". debian/source/0000775000000000000000000000000012263521524010472 5ustar debian/source/format0000664000000000000000000000001412263521524011700 0ustar 3.0 (quilt) debian/minetest-data.install0000664000000000000000000000113312263521524013317 0ustar usr/share/doc/minetest/mapformat.txt usr/share/doc/minetest-data usr/share/doc/minetest/lua_api.txt usr/share/doc/minetest-data usr/share/doc/minetest/README.txt usr/share/doc/minetest-data usr/share/doc/minetest/minetest.conf.example usr/share/doc/minetest-data usr/share/games/minetest/builtin/* usr/share/games/minetest/builtin usr/share/games/minetest/textures/* usr/share/games/minetest/textures usr/share/games/minetest/games/* usr/share/games/minetest/games usr/share/games/minetest/client/* usr/share/games/minetest/client usr/share/locale/* usr/share/locale debian/TODO0000664000000000000000000000023612263521524007663 0ustar - The server should be automatically started using an init.d script - Ideally, the server configuration should be through a /etc/default/minetest-server file debian/minetest-server.install0000664000000000000000000000004112263521524013711 0ustar usr/bin/minetestserver usr/games debian/changelog.upstream0000664000000000000000000006245012263521524012712 0ustar minetest (version 0.4.9 -- January 1, 2014) =========================================== New Features: * Logistic changes - SQLite rollback (Mario Barrera & ShadowNinja) - Implement HTTPFetch (kahrl) - Replace SimpleThread with JThread (sapier) * Visual changes - Shaders rework (RealBadAngel) - Add configurable font shadow (xyz) - Directional fog + horizon colors (Taoki) * Other things - Implement modstore search tab and version picker (sapier) Bug Fixes: - Fix line_of_sight() (sapier) - Fix modstore/favourites hang by adding asynchronous Lua (sapier) - Fix LevelDB maps (sfan5) - Fix Lua mapgen override param handling (kwolekr) - Fix leak and possible segfault in minetest.set_mapgen_params (kwolekr) - Fix segfault in indev cave generation due to uninitialized variable (kwolekr) - Check if width, height or start index of a list[] is negative (PilzAdam) - Fix single character formspec field labels (BlockMen) - Handle Lua errors in on_generate callbacks instead of throwing SIGABRT (kwolekr) - Update mapgen params in ServerMap after Mapgen init (kwolekr) Modding-related Changes: - Add area parameters back to calc_lighting() and set_lighting() (kwolekr) - Add get_light_data() and set_light_data() to LuaVoxelManip (kwolekr) - Add minetest.swap_node (Novatux) - Assume a selection box for fences (0gb.us) - Decoration: Add schematic Y-slice probability support (kwolekr) - Add sneak and sneak_glitch in set_physics_override() (PilzAdam) - Use a table in set_physics_override() (PilzAdam) - Add 'on_prejoinplayer' callback (kaeza) - Make line_of_sight return blocking node position (stujones11) - Remove support for optdepends.txt (ShadowNinja) - Add map feature generation notify Lua API (kwolekr) minetest (version 0.4.8 -- November 24, 2013) ============================================= New Features: * Big gameplay changes: - Added drowning (PilzAdam, RealBadAngel, BlockMen) - Added weather support (proller) * Smaller gameplay tweaks: - Added new sounds (someone who can't decide if he wants to be called mitori or mito551) - Don't predict placing and removing nodes if interact privilege is missing (PilzAdam) * Logistic changes: - Clean up rendering code a bit (increases FPS by 5 to 10) (Exio) - Added support for IPv6 (matttpt) - Don't write player files all the time if they are not modified (PilzAdam) - Made the main menu Lua based (sapier, kahrl) - Change static ContentFeatures array into a vector (rathgit, kahrl) - Allow multiple singleplayer games at the same time (PilzAdam) - Added texture pack selection to main menu (Novatux) - Don't write files directly but rather write to a temporary file that gets renamed after succesfully written; fixes many causes of corrupted files (PilzAdam) - Adjust the Lua API structure and improve header inclusion to decrease compile time (kahrl) - Database abstraction, LevelDB support (sfan5, wieszak, xyz) * Visual changes: - Added support for bumpmapping (RealBadAngel) - Added diagonal liquid animation (kahrl) - Damage updates and effects are now sent to other players (PilzAdam) * Other things: - Play player_damage.ogg when recieving damage and player_falling_damage.ogg on falling damage (PilzAdam) - Added basic unicode support to the console in Linux (Exio) - Added a setting for max loop count per step in liquid update (PilzAdam) - Added math mapgen with fractal based worlds (proller) - Disallow the name 'singleplayer' in a multiplayer server (PilzAdam) - Added max_objects_per_block to minetest.conf to control the maximum number of static objects per block (Novatux) - Removed broken farmesh (kahrl) - Added language setting to minetest.conf which forces Minetest to use specified translation (xyz) * Bug Fixes - Fixed print(nil) crashing the server (kahrl) - Fixed output of profiler (F6) when using freetype (kahrl) - Fixed bug where wrong item is selected when dropping something in the inventory on another stack (kahrl) - Fixed lighting bug caused by disappearing lava (PilzAdam) - Fixed /unban command crashing the server (kahrl) - Fixed lighting bug with 6d facedir (RealBadAngel) - Fixed and improved view range tuner (celeron55) - Fixed and improved anticheat (celeron55) - Fixed server getting completely choked up on even a little of DoS (celeron55) - Fixed crack overlay for animated textures (kahrl) - Added fallback font for Chinese, Japanese and Korean languages, the translations in those languages can now be displayed (xyz) - Fixed most object duplication bugs (celeron55) * Modding-related Changes - Added ingame modstore to download mods from mmdb (sapier) - Added minetest.register_decoration() (kwolekr) - Added schematic support; new functions minetest.place_schematic() and minetest.create_schematic() (kwolekr) - Seperated formspecs of furnace and chests to provide override by mods (BlockMen) - Added Lua VoxelManip (kwolekr) http://forum.minetest.net/viewtopic.php?id=6396 - Added vector helpers (ShadowNinja) - Added range to item definition (PilzAdam) - Added after_use to item definition (Novatux) - Added liquid_range to node definition (PilzAdam) - Added collide_with_objects to entitiy definition, to disable object <-> object collision (PilzAdam) - Added minetest.facedir_to_dir() and 6d facedir support for minetest.dir_to_facedir() (hdastwb) - Added gettext for image_button (BlockMen) - Added stepheight to entity definition (sapier) - Added support for multiple wherein nodes in minetest.register_ore() (PilzAdam) - Added minetest.register_on_cheat() (celeron55) - Added automatic_face_movement_dir to entity definition (sapier) - Added player:hud_set_hotbar_image() and player:hud_set_hotbar_selected_image() (PilzAdam, BlockMen) - Added percent scaling for HUD images (BlockMen, kahrl) - Added minetest.get_gametime() (Novatux) - Moved tree growing and grass growing ABMs to Lua (Novatux) - Added minetest.register_on_craft() and minetest.register_craft_predict() (Novatux) * Formspec Additions/Changes: - pwdfield, vertlabel, tabheader, dropdown and checkbox (sapier) - ;; options for image_button (sapier, BlockMen) - textlist and box with color support (sapier, sfan5) - listcolors and bgcolor (BlockMen, kahrl) - option for background images (BlockMen) - Added support for a callback on formspec close (Novatux) minetest (version 0.4.7 -- June 06, 2013) ========================================= New Features: * Big gameplay changes: - Added snow, snow block, ice and dirt with snow (PilzAdam) - Added sandstone bricks and desert stone bricks (PilzAdam & VanessaE) - Added coal block, crafted out of 9 coal lumps (Zeg9) - Added flowers to craft dyes; flowers and grass grow now on dirt_with_grass (0gb.us, PilzAdam, VanessaE, ironzorg) - Added farming mod; wheat can be used to bake bread and cotton can be used to craft wool (PilzAdam) http://forum.minetest.net/viewtopic.php?id=6067 * Smaller gameplay tweaks: - Added a little delay for falling nodes to update so that the objects don't spawn all at once (PilzAdam) - Added private messaging with /msg (ShadowNinja) - Added copper block (RealBadAngel) - Swing the camera down when the player lands on the ground; disabled by default; fall_bobbing_amount in minetest.conf (Taoki) - Node placement prediction now accounts for "wallmounted", "facedir" and "attached_node" nodes and only replaces "buildable_to" nodes (kahrl, ShadowNinja & PilzAdam) - Added disable_fire setting to disable fire burning (ShadowNinja) - Added damage to the hand in creative mode (PilzAdam) - Added a little animation when changing the wielded item (PilzAdam & blue42u) - Apples now fall when the tree decays (PilzAdam) * Logistic changes: - Added mapgen v7; not usable currently (kwolekr) - Added support for LuaJIT, makes mod execution much faster (RealBadAngel) - Move cave generation to cavegen.cpp and restructure it into a class (kwolekr) - Added icons to select games in menu; menu/menu_.png of selected game is used in the main menu (TP can use _menu_.png) (celeron55) - Added --videomodes option to show available video modes (kahrl) - Added ability to play main_menu.ogg (main_menu.<1-9>.ogg are supported too; they are choosen randomly if present) in main menu (RealBadAngel) - Drop common mods system, Survival and Build game; minetest_game includes all common mods and the bones mod from Survival now (PilzAdam) http://forum.minetest.net/viewtopic.php?id=6034 - Changed mod system a bit: All user mods are installed in $path_user/mods/ now; they can be enabled per world in the configure world window or in world.mt with load_mod_ (PilzAdam) http://forum.minetest.net/viewtopic.php?id=6066 - Split init.lua of the default mod into several files (PilzAdam) - Moved scriptapi to a subfolder (sapier, celeron55 & kahrl) * Visual changes: - Changed "unknown block" texture to "unknown node" (khonkhortisan) - Changed textures of sand, desert sand and desert stone (VanessaE) - crosshair.png is used instead of the normal crosshair if present (dannydark & Exio4) - Added progress bar and clouds to loading screen (Zeg9) - Added new textures for all metal and diamond blocks (Zeg9) - Added new Minetest header (BlockMen) * Other things - Added mouse_sensitivity option (Exio4) * Bug Fixes - Check if the address field is empty when hitting enter on the multiplayer tab (ShadowNinja) - Limit speed in collisionMoveResult for avoiding hangs (Exio4) - Fixed camera "jumping" when attached and the parent goes too fast (Zeg9) - Fixed nick completion in chat console with the tab key (PilzAdam) - Do not always move fast in water and ladders when aux1_descend it true (Taoki) - Fixed a lot memory leaks (sapier, PilzAdam, kahrl, kwolekr) - Fixed import of older maps (kwolekr) - Fixed black trees (kwolekr) - Fixed small objects colliding with themselves (sapier) - Fixed get_craft_recipe() and get_all_craft_recipes() (RealBadAnge) - Fixed spawning too high above ground (kwolekr) - Fixed object -> player collision (sapier) - Fixed favorite server list in globally installed versions of Minetest (RUN_IN_PLACE=0) (Zeg9) - Fixed favorite server list on windows (sfan5) - Fixed handling of mods in games in the configure world GUI (kahrl) - Fixed static data of objects not beeing stored correctly on deactivation (sapier) - Removed Meshbuffer ran out of indices limitation (kahrl) - Fixed isBlockInSight() for higher FOV (Warr1024) - Don't teleport back when a player is detached or turns free move off and holds shift (PilzAdam) - Fixed bug where you need to move the mouse after closing a menu (kahrl) - Reduced /clearobjects memory consumption; max_clearobjects_extra_loaded_blocks in minetest.conf (kahrl) - Corrected segfault when registering new biomes (sweetbomber) - Reduced video memory consumption by not generating unnecessary [forcesingle textures (kahrl) - Close console when it loses focus but it is still on screen (Exio4) * Modding-related Changes - Added player:set_physics_override() to set per-player physics (Taoki & PilzAdam) - Use node_box for selection_box if drawtype = "nodebox" and selection_box = nil (kaeza) - Added minetest.env:line_of_sight() and minetest.env:find_path() (sapier) - Added API functions to add elements to the HUD of players (blue42u, kwolekr & kaeza) - Added option to not prepend "Server -!- " to messages sent with minetest.chat_send_player() (ShadowNinja) - Added minetest.get_player_ip() (ShadowNinja) - Added use_texture_alpha in node definition to use alpha channel of node texture (kwolekr) - Added glasslike_framed node drawtype (RealBadAngel) - Added optional dependencies and different mod name conflict handling (kahrl) - Use group soil for nodes where saplings can grow on (ShadowNinja) - Nodes with drawtype raillike connect to all other nodes with the same drawtype if they are in the connect_to_raillike group (Jeija) - Env functions are now in the global minetest table; that means they are called via minetest. instead of minetest.env: (sapier, celeron55 & kahrl) - Added obj:set_hotbar_itemcount() (kahrl) minetest (version 0.4.6 -- April 03, 2013) ========================================== New Features: * Big gameplay changes: - Added lavacooling near water; lava source turns into obsidian, flowing lava turns into stone [PilzAdam] - Added junglewood (with stairs and slabs), jungleleaves and junglesaplings [PilzAdam] - Added obsidian, obsidian shards and obsidian glass [PilzAdam & jojoa1997] - Added grass (5 different heights) [PilzAdam] - Added growing for papyrus (on dirt and grass near water) and cactus (on sand) [PilzAdam] - Added stonebricks crafted from 4 stones [PilzAdam] - Added gold [PilzAdam] - Added diamonds and diamond tools, wich are slightly faster and wear out slower than mese tools [PilzAdam] - Added mese axe, shovel and sword; mese pick is not the ultimate tool anymore [PilzAdam] - Added copper, bronze and bronze tools; bronze can be crafted with copper ingot and steel ingot; bronze tools have same digging times but more uses than steel tools [PilzAdam] * Smaller gameplay tweaks: - 3 nodes now give 6 slabs instead of 3 [PilzAdam] - Wooden stairs and slabs are now flammable [PilzAdam] - Lava is not renewable anymore [PilzAdam] - It is not possible anymore to place non-fuel items in the fuel slot or any item in the output slots of the furnace [PilzAdam] - Falling nodes now destroy solid buildable_to nodes [Splizard] - Added ability for buckets to pick up flowing water when liquid_finite is enabled [ShadowNinja] - Use right click to place liquids with buckets; added description for buckets [PilzAdam & ShadowNinja] - Fixed furnace infotext saying "Furnace out of fuel" when placing a fuel but no item to cook into it [PilzAdam] - Made Mese ores a bit more rare; made Mese blocks very rare [PilzAdam] * Map generation changes: - Readded dungeons (disabled by default, enable with "dungeons" flag in "mg_flags" setting) [kwolekr] - Speed up lighting a lot [kwolekr] - Readded jungles (disabled by default, enable with "jungles" flag in "mg_flags" setting) [kwolekr] - Generate apple trees [kwolekr] - Moved ore generation back to core; improved ore generation speed [kwolekr] - Added singlenode mapgen [celeron55] - Added a new map generator called indev (float islands at 500+, rare HUGE caves, near edges: higher mountains, larger biomes) [proller] * Visual changes: - Changed textures of cobblestone and mossy cobblestone [PilzAdam] * Logistic changes: - Split scriptapi.cpp into more files [sapier] - Migrate to STL containers/algorithms [xyz] - Added the pseudo game ''common'' with ''bucket'', ''default'', ''stairs'', ''doors'' and ''fire'' mods included; deleted those mods from minetest_game [celeron55 & PilzAdam] - Added a checkbox for finite liquids to settings menu [proller] * Other things: - Use moving clouds as background for the main menu [Krisi & ShadowNinja] - minetest.env:find_nodes_near() optimized to be 11.65x faster, ServerEnvironment step CPU consumption cut in half [kwolekr] Bug Fixes: - Fixed build with ogles2 driver [proller] - Fixed new_style_water (shaders are not used for this anymore) [PilzAdam] - Fixed backface_culling in tiledef; both sides of flowing liquids are now visible [doserj] - Hopefully fix node replacement bug (where the node that is pointed at is replaced) [0gb.us] Modding-related Changes: - Added minetest.get_all_craft_recipes(output) [RealBadAngel] - Allow any character in formspec strings with escape characters [kwolekr] - Added ability to pass multiple parameters to minetest.after() [Jeija] - Added player:set_look_yaw() and player:set_look_pitch() [RealBadAngel] - Added ability to load mods from the pseudo game ''common'' via common_mods in game.conf [celeron55] - Added support for a minetest.conf file in games, wich override the default values [celeron55] - Added 6d facedir to rotate nodes with ''facedir'' drawtype [RealBadAngel] - Added minetest.add_particle(), minetest.add_particlespawner() and minetest.delete_particlespawner() [Jeija] - Added minetest.register_ore() to let the engine generate the ores; default.generate_ore() is now deprecated [kwolekr] - New damage system added [PilzAdam & celeron55] - Added place field to sound table of tools [PilzAdam] minetest (version 0.4.5 -- March 04, 2013) ========================================== New Features: * Big gameplay changes: - Added Mese crystals and Mese crystal fragments (crafted from 1 Mese crystal); Mese blocks can be crafted with 9 Mese crystals; Mese pickaxes are now crafted using Mese crystals; old Mese equals the new Mese block and is still generated at altitudes -1024 and below [VanessaE & PilzAdam] - Doors must now be right clicked to be opened [PilzAdam] - Flying through walls now requires the "noclip" privilege and noclip mode must be enabled by pressing H [PilzAdam] - Added a list of servers to the "Multiplayer" tab of the main menu [Jeija] - Added a mod selection menu [doserj] - Jungle grass now spawns naturally again [PilzAdam] - Added finite liquid support, experimental and disabled by default [proller] * Smaller gameplay tweaks: - Locked chest contents are now only shown to their owner [PilzAdam] - Added ability to write several lines on a sign [PilzAdam] - When sneaking, the current node/item will always be used when right clicking even if pointing a chest or a furnace [Jeija] - In creative mode, hand now breaks everything nearly instantly and nodes/items are infinite [PilzAdam] - Player physics are now tweakable by server admin [Taoki] - Fast mode can now be used in liquids and in climbable nodes [kwolekr] - Fire is now "buildable to" [Casimir] - To fly at "fast" speed, the "use" key must now be held if using shift to descend [PilzAdam] - Added upside down stairs and slabs [PilzAdam] - Added ability to switch to fly_mode when double-tapping space bar, disabled by default; can be enabled in the key change menu [PilzAdam] - Tweaked damage and punch times of weapons, tools and hand [Calinou] - Added repeated right clicking when holding the right mouse button, see "repeat_rightclick_time" setting in minetest.conf [Jeija] * Map generation changes: - Added L-system tree generation [RealBadAngel & dannydark] - Map generation is now slightly faster and can be tweaked in minetest.conf [kwolekr] - Added optional flat map generation, with and without trees [kwolekr] * Visual changes: - Mese pickaxe now has a new texture, which is more yellow [Jordach] - Tweaked dirt texture so that it tiles better; improved lump and ingot textures; added fake shading to the default player texture [Iqualfragile & GloopMaster & Jordach] - Added particles when digging blocks [Jeija & PilzAdam] - The selection box of stairs now fits the stairs [PilzAdam] - If damage is disabled, damage screen is disabled and health is not shown on the HUD [PilzAdam] - Damage screen is now red fade instead of constant red; camera now tilts when receiving damage [Jeija & PilzAdam] - Added "selectionbox_color", "crosshair_color" and "crosshair_alpha" minetest.conf settings for changing selection outline color, crosshair color and crosshair opacity respectively [Exio4] * Logistic changes: - Minetest-c55 is now named Minetest - Less stuff is now put in debug.txt by default, change with debug_log_level, default is 2 - Texture atlas is now disabled by default [kwolekr] - Added and updated language translations; French, German, Portuguese, Polish and Spanish translations are 100% complete [Calinou, kaeza, PilzAdam, sfan5, xyz, kotolegokot, pandaro, Mito551, Shen Zheyu, sub reptice, elagin, KikaRz and socramazibi] - Added support for downloading media from a server using cURL which is faster, disabled by default [Ilya Zhuravlev] Bug Fixes: - Walking on stairs, slabs and glass now makes sounds [PilzAdam & dannydark] - Fixed and cleaned EmergeThread around a bit [kwolekr] - Punching entities and players with shovels and pickaxes now deals damage [Calinou] - Fixed some caves having too many dead ends [unknown] - Fixed the looks of some plantlike nodes by using two long planes instead of four shorter planes [doserj] - Grass no longer turns into dirt below unloaded blocks [PilzAdam] - Fixed a crash when clicking "Configure" when no world is selected in Singleplayer menu [doserj] - Fixed dropped item collision with nodeboxes [jordan4ibanez] - Fixed a glitch where the player gets liquids in his inventory when a server lags [PilzAdam] Modding-related changes: - Added ability to change the itemstack in placenode callbacks [PilzAdam] - Added ability to create multi-line textfields in formspecs [Jeija] - Add on_rightclick(pos, node, clicker) callback for nodes [PilzAdam] - Added minetest.show_fromspec(playername, formspec) to show formspecs via Lua [sapier] minetest (version 0.4.4 -- December 06, 2012) ============================================= New Features: - Added animated 3D player and a new default skin, the default model also supports Minecraft skins [Taoki, skin by Jordach] - Added shaders support (can be disabled in Settings menu), makes water a bit smaller than a full block, makes lighting look prettier [kahrl and celeron55] - New default doors mod: doors have a 3D look, ability to create "double doors" added, added locked steel doors (only the owner of the door can open/close it) [PilzAdam] - Improve map generation speed a lot [hmmmm] - Day-night transitions are now smoother [celeron55] - Water textures are now animated [RealBadAngel (textures) and PilzAdam] - Added on-demand item previews (reduces load time/RAM usage), disabled by default [celeron55] - Added 3D anaglyph support (red-cyan glasses) [xyz] - Fire is now animated and causes damage to players [PilzAdam, Muadtralk (textures)] - Tweaked some textures: apple, nyan cat, bricks, papyrus, steel sword [Calinou, VanessaE] - Tweaked digging animation (no more mining with the tip of your pickaxe!) [jordan4ibanez] - Changed apple, sapling and papyrus selection box size to be smaller [VanessaE] - Players who do not move no longer send their positions to save bandwidth [Taoki] - Make steel block and brick drop themselves when dug and make them craftable back into their materials [PilzAdam] - Glass now makes a sound when broken [PilzAdam] - Dead players are now visible [Taoki] - Changed default server tick to 0.1 second, decreasing server CPU usage [celeron55] - Clients now send their position every 0.1 second too, making other player movement look smoother [celeron55] - Use of /grant and /revoke commands is now logged [dannydark] - Added ability for server to tweak amount of bandwidth used to upload mods to clients [celeron55] Bug Fixes: - Fixed falling sand and gravel sometimes incorrectly landing [PilzAdam] - Fixed empty bucket being named "emtpy bucket" [khonkhortisan and PilzAdam) - Fixed slab to full block transformation [PilzAdam] - Fixed smooth lighting between MapBlocks [celeron55] - Prevent some blocks (leaves, falling sand and gravel) from giving air when dug when they disappear as you mine them [PilzAdam] - Fixed papyruses and cacti growing inside trees [PilzAdam] - Fixed flowing liquid animation direction calculation [celeron55] - Fixed wielditem entity drawtype brightness control [celeron55] - Fixed ObjectRef:punch() [celeron55] - Fixed a rare bug in leaf decay [PilzAdam] - Fixed trees growing into any type of node [xyz] - Fixed server crashing when "/clearpassword" is typed without an argument [Uberi] - Head no longer shifts downwards when you are inside transparent blocks such as glass or nodeboxes [Calinou] - Directories beginning with a "." are now ignored when searching for mods on Windows [matttpt] - Fixed the automagic render distance tuner [celeron55] Modding-related Changes: - Added 3D model support for entities [Taoki] - Added attachment support (so that entities can "ride" other entities) [Taoki] - Backgrounds and images can now be used in formspecs [RealBadAngel] - Liquids can now be made non-renewable [xyz] - Added nodedef.on_blast() to lua_api.txt in order to support chained explosions of any explosives [celeron55] - Allow transparent image buttons [khonkhortisan] - Added shutdown hook interface to Lua API [matttpt] - Added "attached_node" group to make nodes which are not attached to any other walkable node drop [PilzAdam] This changelog was retrieved from http://dev.minetest.net/Changelog and manually edited afterward. debian/minetest-server.manpages0000664000000000000000000000002512263521524014040 0ustar doc/minetestserver.6 debian/control0000664000000000000000000000612212323360146010574 0ustar Source: minetest Section: games Priority: extra Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Debian Games Team Uploaders: Michael Gilbert , Martin Quinson Build-Depends: debhelper (>= 9), cmake, gettext, imagemagick, libcurl4-gnutls-dev, libfreetype6-dev, libirrlicht-dev (>= 1.7.0), libluajit-5.1-dev [i386 amd64 kfreebsd-i386 armel armhf powerpc powerpcspe mips], liblua5.1-dev [hurd-i386 ia64 kfreebsd-amd64 mipsel s390x sparc alpha arm64 hppa m68k ppc64 sh4 sparc64 x32 ppc64el], zlib1g-dev, libsqlite3-dev, libogg-dev, libvorbis-dev, libopenal-dev, libjsoncpp-dev, Standards-Version: 3.9.5 Homepage: http://minetest.net/ Vcs-Git: git://git.debian.org/git/pkg-games/minetest-v04x.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-games/minetest-v04x.git Package: minetest Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, minetest-data (= ${source:Version}), Conflicts: minetestc55, Suggests: minetest-server, minetest-mod-moreblocks, minetest-mod-moreores, minetest-mod-pipeworks, Description: Multiplayer infinite-world block sandbox Minetest is a minecraft-inspired game written from scratch and licensed under the LGPL (version 2.1 or later). It supports both survival and creative modes along with multiplayer support, dynamic lighting, and an "infinite" map generator. Package: minetest-dbg Architecture: any Section: debug Depends: ${misc:Depends}, minetest (= ${binary:Version}), minetest-server (= ${binary:Version}), Description: Multiplayer infinite-world block sandbox (debugging symbols) Minetest is a minecraft-inspired game written from scratch and licensed under the LGPL (version 2.1 or later). It supports both survival and creative modes along with multiplayer support, dynamic lighting, and an "infinite" map generator. . These are the debugging symbols in case something goes wrong. Package: minetest-server Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, minetest-data (= ${source:Version}), Description: Multiplayer infinite-world block sandbox (server) Minetest is a minecraft-inspired game written from scratch and licensed under the LGPL (version 2.1 or later). It supports both survival and creative modes along with multiplayer support, dynamic lighting, and an "infinite" map generator. . This is the minetest server package. Package: minetest-data Architecture: all Depends: ${misc:Depends}, fonts-liberation, python, python-imaging, Breaks: minetest (<< 0.3.1+dfsg-3), minetest-common Conflicts: minetest-common Replaces: minetest-common Description: Multiplayer infinite-world block sandbox (data files) Minetest is a minecraft-inspired game written from scratch and licensed under the LGPL (version 2.1 or later). It supports both survival and creative modes along with multiplayer support, dynamic lighting, and an "infinite" map generator. . These are the files used by both client and server packages, such as the textures and other graphical files and the standard mods. debian/minetest.manpages0000664000000000000000000000001712263521524012535 0ustar doc/minetest.6 debian/patches/0000775000000000000000000000000012263521524010621 5ustar debian/patches/jthread-changed.patch0000664000000000000000000000272512263521524014660 0ustar Description: Adapt to upstream modification of jmutex.h Upstream modified their dependency jthread, in a way that we cannot fix when using a system-wide jthread. SO THIS PATCH IS DISABLED FOR NOW mutex so we need to re-add these things another way. Two changes so far: . - They added a class "Event" to their jmutex.h, so we add it to event.h instead. - They added a method IsSameThread() Author: Matthew Bekkema Date: Sun Mar 24 19:15:54 2013 +1100 --- src/emerge.h | 1 + src/event.h | 22 ++++++++++++++++++++++ 2 files changed, 23 insertions(+) Index: b/src/emerge.h =================================================================== --- a/src/emerge.h +++ b/src/emerge.h @@ -24,6 +24,7 @@ #include "irr_v3d.h" #include "util/container.h" #include "map.h" // for ManualMapVoxelManipulator +#include "event.h" #define MGPARAMS_SET_MGNAME 1 #define MGPARAMS_SET_SEED 2 Index: b/src/event.h =================================================================== --- a/src/event.h +++ b/src/event.h @@ -19,6 +19,7 @@ #ifndef EVENT_HEADER #define EVENT_HEADER +#include class MtEvent { @@ -68,5 +69,26 @@ virtual void dereg(MtEventReceiver *r, const char *type) = 0; }; +class Event { + sem_t sem; + +public: + Event() { + sem_init(&sem, 0, 0); + } + + ~Event() { + sem_destroy(&sem); + } + + void wait() { + sem_wait(&sem); + } + + void signal() { + sem_post(&sem); + } +}; + #endif debian/patches/debianization.patch0000664000000000000000000000115212263521524014461 0ustar Description: install binaries to /usr/games and don't install changelog twice Author: Michael Gilbert --- cmake/Modules/FindIrrlicht.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: b/cmake/Modules/FindIrrlicht.cmake =================================================================== --- a/cmake/Modules/FindIrrlicht.cmake +++ b/cmake/Modules/FindIrrlicht.cmake @@ -50,7 +50,7 @@ /usr/include/irrlicht ) - FIND_LIBRARY(IRRLICHT_LIBRARY NAMES libIrrlicht.a Irrlicht + FIND_LIBRARY(IRRLICHT_LIBRARY NAMES libIrrlicht.so PATHS /usr/local/lib /usr/lib debian/patches/shared_mods0000664000000000000000000000100412263521524013027 0ustar Also look under /usr/share/games/minetest for mods, so that minetest-mod-* packages actually work --- builtin/modmgr.lua | 1 + 1 file changed, 1 insertion(+) Index: b/builtin/modmgr.lua =================================================================== --- a/builtin/modmgr.lua +++ b/builtin/modmgr.lua @@ -900,6 +900,7 @@ modpath ~= "" then get_mods(modpath,global_mods) end + get_mods("/usr/share/games/minetest/mods",global_mods) for i=1,#global_mods,1 do global_mods[i].typ = "global_mod" debian/patches/powerpc.patch0000664000000000000000000001040412263521524013320 0ustar Description: Fix the build on powerpc Author: Matthew Bekkema --- src/cguittfont/irrUString.h | 33 +++++++++++++++++---------------- 1 file changed, 17 insertions(+), 16 deletions(-) Index: b/src/cguittfont/irrUString.h =================================================================== --- a/src/cguittfont/irrUString.h +++ b/src/cguittfont/irrUString.h @@ -41,6 +41,7 @@ #include #include #include +#include #ifdef USTRING_CPP0X # include @@ -806,7 +807,7 @@ ustring16() : array(0), allocated(1), used(0) { -#if __BIG_ENDIAN__ +#if __BYTE_ORDER == __BIG_ENDIAN encoding = unicode::EUTFE_UTF16_BE; #else encoding = unicode::EUTFE_UTF16_LE; @@ -820,7 +821,7 @@ ustring16(const ustring16& other) : array(0), allocated(0), used(0) { -#if __BIG_ENDIAN__ +#if __BYTE_ORDER == __BIG_ENDIAN encoding = unicode::EUTFE_UTF16_BE; #else encoding = unicode::EUTFE_UTF16_LE; @@ -834,7 +835,7 @@ ustring16(const string& other) : array(0), allocated(0), used(0) { -#if __BIG_ENDIAN__ +#if __BYTE_ORDER == __BIG_ENDIAN encoding = unicode::EUTFE_UTF16_BE; #else encoding = unicode::EUTFE_UTF16_LE; @@ -849,7 +850,7 @@ ustring16(const std::basic_string& other) : array(0), allocated(0), used(0) { -#if __BIG_ENDIAN__ +#if __BYTE_ORDER == __BIG_ENDIAN encoding = unicode::EUTFE_UTF16_BE; #else encoding = unicode::EUTFE_UTF16_LE; @@ -863,7 +864,7 @@ ustring16(Itr first, Itr last) : array(0), allocated(0), used(0) { -#if __BIG_ENDIAN__ +#if __BYTE_ORDER == __BIG_ENDIAN encoding = unicode::EUTFE_UTF16_BE; #else encoding = unicode::EUTFE_UTF16_LE; @@ -882,7 +883,7 @@ ustring16(const char* const c) : array(0), allocated(0), used(0) { -#if __BIG_ENDIAN__ +#if __BYTE_ORDER == __BIG_ENDIAN encoding = unicode::EUTFE_UTF16_BE; #else encoding = unicode::EUTFE_UTF16_LE; @@ -897,7 +898,7 @@ ustring16(const char* const c, u32 length) : array(0), allocated(0), used(0) { -#if __BIG_ENDIAN__ +#if __BYTE_ORDER == __BIG_ENDIAN encoding = unicode::EUTFE_UTF16_BE; #else encoding = unicode::EUTFE_UTF16_LE; @@ -912,7 +913,7 @@ ustring16(const uchar8_t* const c) : array(0), allocated(0), used(0) { -#if __BIG_ENDIAN__ +#if __BYTE_ORDER == __BIG_ENDIAN encoding = unicode::EUTFE_UTF16_BE; #else encoding = unicode::EUTFE_UTF16_LE; @@ -926,7 +927,7 @@ ustring16(const char c) : array(0), allocated(0), used(0) { -#if __BIG_ENDIAN__ +#if __BYTE_ORDER == __BIG_ENDIAN encoding = unicode::EUTFE_UTF16_BE; #else encoding = unicode::EUTFE_UTF16_LE; @@ -940,7 +941,7 @@ ustring16(const uchar8_t* const c, u32 length) : array(0), allocated(0), used(0) { -#if __BIG_ENDIAN__ +#if __BYTE_ORDER == __BIG_ENDIAN encoding = unicode::EUTFE_UTF16_BE; #else encoding = unicode::EUTFE_UTF16_LE; @@ -954,7 +955,7 @@ ustring16(const uchar16_t* const c) : array(0), allocated(0), used(0) { -#if __BIG_ENDIAN__ +#if __BYTE_ORDER == __BIG_ENDIAN encoding = unicode::EUTFE_UTF16_BE; #else encoding = unicode::EUTFE_UTF16_LE; @@ -968,7 +969,7 @@ ustring16(const uchar16_t* const c, u32 length) : array(0), allocated(0), used(0) { -#if __BIG_ENDIAN__ +#if __BYTE_ORDER == __BIG_ENDIAN encoding = unicode::EUTFE_UTF16_BE; #else encoding = unicode::EUTFE_UTF16_LE; @@ -982,7 +983,7 @@ ustring16(const uchar32_t* const c) : array(0), allocated(0), used(0) { -#if __BIG_ENDIAN__ +#if __BYTE_ORDER == __BIG_ENDIAN encoding = unicode::EUTFE_UTF16_BE; #else encoding = unicode::EUTFE_UTF16_LE; @@ -996,7 +997,7 @@ ustring16(const uchar32_t* const c, u32 length) : array(0), allocated(0), used(0) { -#if __BIG_ENDIAN__ +#if __BYTE_ORDER == __BIG_ENDIAN encoding = unicode::EUTFE_UTF16_BE; #else encoding = unicode::EUTFE_UTF16_LE; @@ -1010,7 +1011,7 @@ ustring16(const wchar_t* const c) : array(0), allocated(0), used(0) { -#if __BIG_ENDIAN__ +#if __BYTE_ORDER == __BIG_ENDIAN encoding = unicode::EUTFE_UTF16_BE; #else encoding = unicode::EUTFE_UTF16_LE; @@ -1029,7 +1030,7 @@ ustring16(const wchar_t* const c, u32 length) : array(0), allocated(0), used(0) { -#if __BIG_ENDIAN__ +#if __BYTE_ORDER == __BIG_ENDIAN encoding = unicode::EUTFE_UTF16_BE; #else encoding = unicode::EUTFE_UTF16_LE; debian/patches/i18n.patch0000664000000000000000000000142312263521524012421 0ustar Description: Search for translation in the default path Author: Martin Quinson Forwarded: upstream won't take it as they install to non-standard paths --- src/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Index: b/src/main.cpp =================================================================== --- a/src/main.cpp +++ b/src/main.cpp @@ -1006,9 +1006,9 @@ run_tests(); } #ifdef _MSC_VER - init_gettext((porting::path_share + DIR_DELIM + "locale").c_str(),g_settings->get("language"),argc,argv); + init_gettext("/usr/share/locale",g_settings->get("language"),argc,argv); #else - init_gettext((porting::path_share + DIR_DELIM + "locale").c_str(),g_settings->get("language")); + init_gettext("/usr/share/locale",g_settings->get("language")); #endif /* debian/patches/series0000664000000000000000000000030712263521524012036 0ustar desktop-file-fix-icon powerpc.patch kfreebsd-gettext.patch i18n.patch # jthread-changed.patch useless-depends.patch dynamic-link.patch debianization.patch gcc47.patch mapper.patch shared_mods rawlua debian/patches/dynamic-link.patch0000664000000000000000000000417612263521524014231 0ustar Description: Changes the static linking of external libraries to dynamic link Author: Matthew Bekkema --- cmake/Modules/FindJson.cmake | 24 +++++++++++------------- src/CMakeLists.txt | 3 --- 2 files changed, 11 insertions(+), 16 deletions(-) Index: b/src/CMakeLists.txt =================================================================== --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -189,7 +189,6 @@ message (STATUS "LuaJIT not found, using bundled Lua.") set(LUA_INCLUDE_DIR "${PROJECT_SOURCE_DIR}/lua/src") set(LUA_LIBRARY "lua") - add_subdirectory(lua) endif(LUA_LIBRARY AND LUA_INCLUDE_DIR) mark_as_advanced(LUA_LIBRARY) @@ -633,7 +632,6 @@ if (SQLITE3_FOUND) else (SQLITE3_FOUND) - add_subdirectory(sqlite) endif (SQLITE3_FOUND) if (BUILD_CLIENT AND USE_FREETYPE) @@ -642,7 +640,6 @@ if (JSON_FOUND) else (JSON_FOUND) - add_subdirectory(json) endif (JSON_FOUND) #end Index: b/cmake/Modules/FindJson.cmake =================================================================== --- a/cmake/Modules/FindJson.cmake +++ b/cmake/Modules/FindJson.cmake @@ -1,18 +1,16 @@ # Look for json, use our own if not found -#FIND_PATH(JSON_INCLUDE_DIR json.h) +FIND_PATH(JSON_INCLUDE_DIR json/json.h /usr/include/jsoncpp) -#FIND_LIBRARY(JSON_LIBRARY NAMES jsoncpp) +FIND_LIBRARY(JSON_LIBRARY NAMES jsoncpp) -#IF(JSON_LIBRARY AND JSON_INCLUDE_DIR) -# SET( JSON_FOUND TRUE ) -#ENDIF(JSON_LIBRARY AND JSON_INCLUDE_DIR) +IF(JSON_LIBRARY AND JSON_INCLUDE_DIR) + SET( JSON_FOUND TRUE ) +ENDIF(JSON_LIBRARY AND JSON_INCLUDE_DIR) -#IF(JSON_FOUND) -# MESSAGE(STATUS "Found system jsoncpp header file in ${JSON_INCLUDE_DIR}") -# MESSAGE(STATUS "Found system jsoncpp library ${JSON_LIBRARY}") -#ELSE(JSON_FOUND) - SET(JSON_INCLUDE_DIR ${PROJECT_SOURCE_DIR}/json) - SET(JSON_LIBRARY jsoncpp) - MESSAGE(STATUS "Using project jsoncpp library") -#ENDIF(JSON_FOUND) +IF(JSON_FOUND) + MESSAGE(STATUS "Found system jsoncpp header file in ${JSON_INCLUDE_DIR}") + MESSAGE(STATUS "Found system jsoncpp library ${JSON_LIBRARY}") +ELSE(JSON_FOUND) + MESSAGE(FAIL "Cannot find system-wide jsoncpp library") +ENDIF(JSON_FOUND) debian/patches/gcc47.patch0000664000000000000000000000102112263521524012543 0ustar Description: Fix FTBFS with gcc-4.7 Fix missing inclusion of in src/filesys.cpp. Author: "P. J. McDermott" Bug-Debian: http://bugs.debian.org/667280 Last-Update: 2012-04-19 --- src/filesys.cpp | 1 + 1 file changed, 1 insertion(+) Index: b/src/filesys.cpp =================================================================== --- a/src/filesys.cpp +++ b/src/filesys.cpp @@ -231,6 +231,7 @@ #else // POSIX +#include #include #include #include debian/patches/kfreebsd-gettext.patch0000664000000000000000000000076712263521524015123 0ustar Description: Fix the build on kFreeBSD as it uses glibc Author: Matthew Bekkema --- a/cmake/Modules/FindGettextLib.cmake +++ b/cmake/Modules/FindGettextLib.cmake @@ -49,8 +49,8 @@ ENDIF() ELSE(WIN32) # *BSD variants require special linkage as they don't use glibc + # DEBIAN CHANGE: kFreeBSD still uses glibc IF(${CMAKE_SYSTEM_NAME} MATCHES "BSD") - SET(GETTEXT_LIBRARY "intl") ENDIF(${CMAKE_SYSTEM_NAME} MATCHES "BSD") SET(GETTEXT_FOUND TRUE) ENDIF(WIN32) debian/patches/desktop-file-fix-icon0000664000000000000000000000100412263521524014637 0ustar In the upstream desktop file, use the icon name of what we install (Closes: #713808). --- misc/minetest.desktop | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: b/misc/minetest.desktop =================================================================== --- a/misc/minetest.desktop +++ b/misc/minetest.desktop @@ -3,7 +3,7 @@ GenericName=Minetest Comment=Multiplayer infinite-world block sandbox Exec=minetest -Icon=minetest-icon +Icon=minetest Terminal=false Type=Application Categories=Game; debian/patches/rawlua0000664000000000000000000000224412263521524012041 0ustar Description: use the right version of lua when not using luajit When available, we use the luajit for performance. But when this is not available (as on hurd mipsel and other architecture), we fallback to the raw lua implementation. . Upstream embeeds its own copy of lua implementation for that case, but we prune it and prefer the system version of lua. . This patch is here to use the correct name of the lua library in that case. Author: Martin Quinson Upstream-status: not appliable --- src/CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Index: b/src/CMakeLists.txt =================================================================== --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -186,9 +186,9 @@ message (STATUS "LuaJIT found.") set(USE_LUAJIT 1) else(LUA_LIBRARY AND LUA_INCLUDE_DIR) - message (STATUS "LuaJIT not found, using bundled Lua.") - set(LUA_INCLUDE_DIR "${PROJECT_SOURCE_DIR}/lua/src") - set(LUA_LIBRARY "lua") + message (STATUS "LuaJIT not found, using raw Lua.") + set(LUA_INCLUDE_DIR "/usr/include/lua5.1/") + set(LUA_LIBRARY "lua5.1") endif(LUA_LIBRARY AND LUA_INCLUDE_DIR) mark_as_advanced(LUA_LIBRARY) debian/patches/useless-depends.patch0000664000000000000000000000212612263521524014746 0ustar Description: Removes the useless dependancies This was reported by dpkg-shlibs, that warned that our binary was marked as depending on various libs without any reason as no symbol were used. Author: Matthew Bekkema Forwarded: no (we should do it) --- src/CMakeLists.txt | 6 ------ 1 file changed, 6 deletions(-) Index: b/src/CMakeLists.txt =================================================================== --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -142,11 +142,6 @@ else() # Unix probably if(BUILD_CLIENT) - find_package(X11 REQUIRED) - find_package(OpenGL REQUIRED) - find_package(JPEG REQUIRED) - find_package(BZip2 REQUIRED) - find_package(PNG REQUIRED) if(APPLE) FIND_LIBRARY(CARBON_LIB Carbon) FIND_LIBRARY(COCOA_LIB Cocoa) @@ -163,7 +158,6 @@ set(PLATFORM_LIBS -lpthread -lrt ${CMAKE_DL_LIBS}) #set(CLIENT_PLATFORM_LIBS -lXxf86vm) # This way Xxf86vm is found on OpenBSD too - find_library(XXF86VM_LIBRARY Xxf86vm) mark_as_advanced(XXF86VM_LIBRARY) set(CLIENT_PLATFORM_LIBS ${CLIENT_PLATFORM_LIBS} ${XXF86VM_LIBRARY}) endif() debian/patches/mapper.patch0000664000000000000000000000075512263521524013135 0ustar --- a/util/minetestmapper.py +++ b/util/minetestmapper.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#! /usr/bin/python # -*- coding: utf-8 -*- # This program is free software. It comes without any warranty, to @@ -203,7 +203,7 @@ # Load color information for the blocks. colors = {} try: - f = file("colors.txt") + f = file("/usr/share/games/minetest/minetestmapper-colors.txt") except IOError: f = file(os.path.join(os.path.dirname(__file__), "colors.txt")) for line in f: