diff options
author | Yohann Ferreira <bertram@cegetel.net> | 2005-03-27 01:22:39 +0000 |
---|---|---|
committer | Yohann Ferreira <bertram@cegetel.net> | 2005-03-27 01:22:39 +0000 |
commit | 4c831dc330fb9ac8f6b5f05f77d2f72b5b1f32c2 (patch) | |
tree | 6f5588de14745cde1fcfd39b989c9fefab61e7c7 /dist | |
parent | 66563a3822b15fe542981b0dbd2042cfc7d475d8 (diff) | |
download | mana-4c831dc330fb9ac8f6b5f05f77d2f72b5b1f32c2.tar.gz mana-4c831dc330fb9ac8f6b5f05f77d2f72b5b1f32c2.tar.bz2 mana-4c831dc330fb9ac8f6b5f05f77d2f72b5b1f32c2.tar.xz mana-4c831dc330fb9ac8f6b5f05f77d2f72b5b1f32c2.zip |
tmw debian repository initialized
Diffstat (limited to 'dist')
-rwxr-xr-x | dist/debian/MakePackages | 11 | ||||
-rwxr-xr-x | dist/debian/PrepareFiles | 62 | ||||
-rw-r--r-- | dist/debian/debianfile.list | 55 | ||||
-rw-r--r-- | dist/debian/makefile | 27 | ||||
-rw-r--r-- | dist/debian/manaworld.6 | 79 |
5 files changed, 234 insertions, 0 deletions
diff --git a/dist/debian/MakePackages b/dist/debian/MakePackages new file mode 100755 index 00000000..aece091b --- /dev/null +++ b/dist/debian/MakePackages @@ -0,0 +1,11 @@ +#!/bin/sh +echo "Packages Creation"; +echo "Warning : This script should be used only by debian maintainers." +echo ""; +TMW_VERSION=`cat ./manaworld_X.Y.Z-R_i386/DEBIAN/control | grep "Version" | cut -d' ' -f2` + +dpkg --build manaworld_X.Y.Z-R_i386; +dpkg --build manaworld-data_X.Y.Z-R_i386; +mv "manaworld_X.Y.Z-R_i386.deb" "manaworld_"$TMW_VERSION"_i386.deb"; +mv "manaworld-data_X.Y.Z-R_i386.deb" "manaworld-data_"$TMW_VERSION"_i386.deb"; + diff --git a/dist/debian/PrepareFiles b/dist/debian/PrepareFiles new file mode 100755 index 00000000..2868ddb2 --- /dev/null +++ b/dist/debian/PrepareFiles @@ -0,0 +1,62 @@ +#!/bin/sh +echo "---------------------------------------------------------------------------"; +echo "* Warning : Script to be used by maintainers only... *"; +echo "* There is no warranty that script will do something good on your system. *"; +echo "---------------------------------------------------------------------------"; +echo ""; +echo "Cleaning possible previous cached version..."; +rm -f ./manaworld_X.Y.Z-R_i386/usr/share/games/manaworld/tmw; +rm -rf ./manaworld-data_X.Y.Z-R_i386/usr/share/games/manaworld/*; + +echo "Making stripped version of tmw."; +make clean; +make; + +echo "Copying files to their good locations..."; +echo ""; +echo "Executable"; +cp ../../tmw ./manaworld_X.Y.Z-R_i386/usr/share/games/manaworld; + +echo "Datas"; +cp -r ../../data ./manaworld-data_X.Y.Z-R_i386/usr/share/games/manaworld; +echo "Removing CVS folders and automaked makefiles if some exist."; +rm -r `find ./manaworld-data_X.Y.Z-R_i386/usr/share/games/manaworld/data -name CVS -type d`; +rm -r `find ./manaworld-data_X.Y.Z-R_i386/usr/share/games/manaworld/data -name Makefile.am -type f`; +rm -r `find ./manaworld-data_X.Y.Z-R_i386/usr/share/games/manaworld/data -name Makefile.in -type f`; +rm -r `find ./manaworld-data_X.Y.Z-R_i386/usr/share/games/manaworld/data -name .cvsignore -type f`; + +echo "Copying README and changelog file to their location and format."; +cp ../../README ./manaworld_X.Y.Z-R_i386/usr/share/doc/manaworld; +gzip --best -c ../../ChangeLog > ./manaworld_X.Y.Z-R_i386/usr/share/doc/manaworld/changelog.gz + +echo "Applying the good rights to all files :"; +echo "Setting files user and group."; +chown -R root:root ./manaworld_X.Y.Z-R_i386/*; +chown -R root:root ./manaworld-data_X.Y.Z-R_i386/*; +chown -R root:games ./manaworld_X.Y.Z-R_i386/usr/share/games/manaworld; +chown -R root:games ./manaworld-data_X.Y.Z-R_i386/usr/share/games/manaworld; +echo "Setting mod to files"; +chmod -R 755 ./manaworld_X.Y.Z-R_i386/usr; +chmod 2755 ./manaworld_X.Y.Z-R_i386/usr/share/games/manaworld/tmw; +chmod 644 ./manaworld_X.Y.Z-R_i386/usr/share/games/manaworld/manaworld-icon.png; +chmod 644 ./manaworld_X.Y.Z-R_i386/usr/share/pixmaps/manaworld-icon.xpm; +chmod 644 ./manaworld_X.Y.Z-R_i386/usr/share/man/man6/manaworld.6.gz; +chmod -R 755 ./manaworld-data_X.Y.Z-R_i386/usr; +chmod 644 `find ./manaworld-data_X.Y.Z-R_i386/usr/share/games/manaworld -type f`; +echo "To Menu permissions"; +chmod 644 ./manaworld_X.Y.Z-R_i386/usr/share/applications/*; +chmod 644 ./manaworld_X.Y.Z-R_i386/usr/lib/menu/*; +echo "And the rights on the control files."; +chmod -R 755 ./manaworld_X.Y.Z-R_i386/DEBIAN; +chmod -R 755 ./manaworld-data_X.Y.Z-R_i386/DEBIAN; +chown -R root:root ./manaworld_X.Y.Z-R_i386/DEBIAN; +chown -R root:root ./manaworld-data_X.Y.Z-R_i386/DEBIAN; +#chmod 644 ./manaworld_X.Y.Z-R_i386/DEBIAN/md5sums; +#chmod 644 ./manaworld-data_X.Y.Z-R_i386/DEBIAN/md5sums; +echo "The rights of the documentation"; +chmod 644 ./manaworld-data_X.Y.Z-R_i386/usr/share/doc/manaworld/data/*; +chmod -R 644 ./manaworld_X.Y.Z-R_i386/usr/share/doc/manaworld/*; + +echo "Don't forget to check the control files version."; +echo "Also the changelog.Debian.gz file and Man documentation has to be changed manually."; +echo "When you're done, you can launch MakePackages."; diff --git a/dist/debian/debianfile.list b/dist/debian/debianfile.list new file mode 100644 index 00000000..76580253 --- /dev/null +++ b/dist/debian/debianfile.list @@ -0,0 +1,55 @@ +MODULES = ../../src/sound.cpp \ + ../../src/graphic/spriteset.cpp \ + ../../src/gui/button.cpp \ + ../../src/gui/buy.cpp \ + ../../src/gui/buysell.cpp \ + ../../src/gui/chargedialog.cpp \ + ../../src/gui/char_server.cpp \ + ../../src/gui/char_select.cpp \ + ../../src/gui/chat.cpp \ + ../../src/gui/checkbox.cpp \ + ../../src/gui/confirm_dialog.cpp \ + ../../src/gui/equipment.cpp \ + ../../src/gui/gui.cpp \ + ../../src/gui/inventory.cpp \ + ../../src/gui/itemcontainer.cpp \ + ../../src/gui/item_amount.cpp \ + ../../src/gui/listbox.cpp \ + ../../src/gui/login.cpp \ + ../../src/gui/minimap.cpp \ + ../../src/gui/newskill.cpp \ + ../../src/gui/npc.cpp \ + ../../src/gui/npc_text.cpp \ + ../../src/gui/ok_dialog.cpp \ + ../../src/gui/passwordfield.cpp \ + ../../src/gui/playerbox.cpp \ + ../../src/gui/progressbar.cpp \ + ../../src/gui/radiobutton.cpp \ + ../../src/gui/scrollarea.cpp \ + ../../src/gui/sell.cpp \ + ../../src/gui/setup.cpp \ + ../../src/gui/shop.cpp \ + ../../src/gui/skill.cpp \ + ../../src/gui/slider.cpp \ + ../../src/gui/stats.cpp \ + ../../src/gui/status.cpp \ + ../../src/gui/textbox.cpp \ + ../../src/gui/textfield.cpp \ + ../../src/gui/window.cpp \ + ../../src/gui/windowcontainer.cpp \ + ../../src/net/network.cpp \ + ../../src/net/protocol.cpp \ + ../../src/resources/image.cpp \ + ../../src/resources/mapreader.cpp \ + ../../src/resources/resource.cpp \ + ../../src/resources/resourcemanager.cpp \ + ../../src/configuration.cpp \ + ../../src/base64.cpp \ + ../../src/being.cpp \ + ../../src/engine.cpp \ + ../../src/floor_item.cpp \ + ../../src/game.cpp \ + ../../src/graphics.cpp \ + ../../src/main.cpp \ + ../../src/map.cpp \ + ../../src/log.cpp diff --git a/dist/debian/makefile b/dist/debian/makefile new file mode 100644 index 00000000..ab0fd099 --- /dev/null +++ b/dist/debian/makefile @@ -0,0 +1,27 @@ +CXX = g++ +# optimizations +CXXFLAGS = -Wall -O3 -fexpensive-optimizations -pipe -fomit-frame-pointer -funroll-loops -fexceptions +CXXFLAGS += `sdl-config --cflags` -fexceptions `pkg-config --cflags libxml-2.0` + +LIBS := `sdl-config --libs` -lguichan_sdl -lguichan -lSDL_mixer -lSDL_image \ + `pkg-config --libs libxml-2.0` -lphysfs + +include debianfile.list + +OBJS := $(patsubst src%, obj%, $(patsubst %.cpp, %.o, $(MODULES))) + +tmw: $(OBJS) + @echo $(OBJS) + $(CXX) -o ../../tmw $(OBJS) $(LIBS) + +clean: + - rm -fv ../../obj/*.o + - rm -fv ../../obj/net/*.o + - rm -fv ../../obj/gui/*.o + - rm -fv ../../obj/sound/*.o + - rm -fv ../../obj/graphic/*.o + - rm -fv ../../obj/resources/*.o + - rm -fv ../../tmw + +obj/%.o: src/%.cpp + $(CXX) $(CXXFLAGS) -c $< -o $@ diff --git a/dist/debian/manaworld.6 b/dist/debian/manaworld.6 new file mode 100644 index 00000000..c29768eb --- /dev/null +++ b/dist/debian/manaworld.6 @@ -0,0 +1,79 @@ +.\" 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +.\" + +.TH MANAWORLD 6 "March 27, 2005" "Mana World" "The Mana World" + +.SH NAME +the mana world \- online action game + +.SH SYNOPSIS +.B manaworld + +.SH DESCRIPTION +The Mana +.B World +is an On-Line Action Game. + +The Mana World is a Great Online Game based upon the Seiken Densetsu Serie. +It has its own universe, and and its own character management system, which will +give you the opportunity to play in a 2D heroic-fantasy world forever. + +.SH COMMON KEYS + +.TP +.BR Arrow Keys, Key Pad Keys (Diagonals Supported). +Move your character around. + +.TP +.BR Left Ctrl +Make your character attack. + +.TP +.BR G +Get Items on the ground or in a chest. + +.TP +.BR Alt + 1...9 +Shows an Emoticon above your character. + +.TP +.BR Alt + I +Shows / Hide Inventory Window. + +.TP +.BR Alt + K +Shows / Hide Skills Window. + +.TP +.BR Alt + E +Shows / Hide Equipment Window. + +.TP +.BR Alt + C +Shows Configuration Window. + +.TP +.BR Ctrl + F +Toggles Fullscreen. + +.SH AUTHOR +Written by FERREIRA Yohann <bertram@cegetel.net>. +.br +Visit the official homepage: http://themanaworld.sourceforge.net/ + +.SH COPYRIGHT +.br +This is Free Software; this software is licensed under the GPL version 2, as published by the Free Software Foundation. +There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |