From f75403c6756e00afebd68832a7ab9d57119c7eb8 Mon Sep 17 00:00:00 2001 From: Eugenio Favalli Date: Thu, 24 Jul 2008 17:04:42 +0000 Subject: Added Windows NSIS installer scripts --- packaging/windows/setup.nsi | 237 ++++++++++++++++++++++++++++++++++++ packaging/windows/setup_finish.bmp | Bin 0 -> 154542 bytes packaging/windows/setup_welcome.bmp | Bin 0 -> 154542 bytes 3 files changed, 237 insertions(+) create mode 100644 packaging/windows/setup.nsi create mode 100644 packaging/windows/setup_finish.bmp create mode 100644 packaging/windows/setup_welcome.bmp (limited to 'packaging') diff --git a/packaging/windows/setup.nsi b/packaging/windows/setup.nsi new file mode 100644 index 00000000..f6dfa798 --- /dev/null +++ b/packaging/windows/setup.nsi @@ -0,0 +1,237 @@ +CRCCheck on +SetCompress off +SetCompressor /SOLID lzma + +;--- (and without !defines ) --- +!System "%ProgramFiles%\upx\upx.exe --best --crp-ms=999999 --compress-icons=0 --nrv2d tmw.exe" + +; HM NIS Edit helper defines +!define PRODUCT_NAME "The Mana World" +!define PRODUCT_VERSION "0.0.26" +!define PRODUCT_PUBLISHER "The Mana World Development Team" +!define PRODUCT_WEB_SITE "http://themanaworld.org" +!define PRODUCT_DIR_REGKEY "Software\Microsoft\Windows\CurrentVersion\App Paths\tmw.exe" +!define PRODUCT_UNINST_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_NAME}" +!define PRODUCT_UNINST_ROOT_KEY "HKLM" + +; MUI 1.67 compatible ------ +!include "MUI.nsh" + +; MUI Settings +!define MUI_ABORTWARNING +;!define MUI_ICON "${NSISDIR}\Contrib\Graphics\Icons\win-install.ico" +!define MUI_ICON "data\icons\tmw.ico" +;!define MUI_UNICON "${NSISDIR}\Contrib\Graphics\Icons\win-uninstall.ico" +!define MUI_UNICON "data\icons\tmw.ico" + +;Language Selection Dialog Settings +;Remember the installer language +!define MUI_LANGDLL_REGISTRY_ROOT "HKCU" +!define MUI_LANGDLL_REGISTRY_KEY "Software\The Mana World" +!define MUI_LANGDLL_REGISTRY_VALUENAME "Installer Language" + +!define MUI_WELCOMEFINISHPAGE_BITMAP "setup_welcome.bmp" +!define MUI_UNWELCOMEFINISHPAGE_BITMAP "setup_welcome.bmp" + +; Welcome page + +!define MUI_WELCOMEPAGE_TITLE_3LINES +!insertmacro MUI_PAGE_WELCOME +; License page +!insertmacro MUI_PAGE_LICENSE "COPYING" +; Directory page +!insertmacro MUI_PAGE_DIRECTORY +; Instfiles page +!insertmacro MUI_PAGE_INSTFILES +; Finish page +!define MUI_FINISHPAGE_RUN +!define MUI_FINISHPAGE_RUN_FUNCTION RunTMW +!define MUI_FINISHPAGE_SHOWREADME 'notepad.exe "$\"$INSTDIR\README$\""' +!define MUI_PAGE_CUSTOMFUNCTION_PRE changeFinishBmp +!define MUI_FINISHPAGE_LINK "Visit TMW website for the latest news, FAQs and support" +!define MUI_FINISHPAGE_LINK_LOCATION "http://themanaworld.org" +!insertmacro MUI_PAGE_FINISH + +Function RunTMW +SetOutPath $INSTDIR +Exec "$INSTDIR\tmw.exe" +FunctionEnd + +Function changeFinishBmp +!insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 1" "Text" "$PLUGINSDIR\setup_finish.bmp" +FunctionEnd + +; Uninstaller pages + +!insertmacro MUI_UNPAGE_CONFIRM +!insertmacro MUI_UNPAGE_INSTFILES +!define MUI_FINISHPAGE_TITLE_3LINES +!insertmacro MUI_UNPAGE_FINISH + +;Languages +!insertmacro MUI_LANGUAGE "English" # first language is the default language +!insertmacro MUI_LANGUAGE "French" +!insertmacro MUI_LANGUAGE "German" +!insertmacro MUI_LANGUAGE "Spanish" +!insertmacro MUI_LANGUAGE "SimpChinese" +!insertmacro MUI_LANGUAGE "TradChinese" +!insertmacro MUI_LANGUAGE "Japanese" +!insertmacro MUI_LANGUAGE "Korean" +!insertmacro MUI_LANGUAGE "Italian" +!insertmacro MUI_LANGUAGE "Dutch" +!insertmacro MUI_LANGUAGE "Danish" +!insertmacro MUI_LANGUAGE "Swedish" +!insertmacro MUI_LANGUAGE "Norwegian" +!insertmacro MUI_LANGUAGE "Finnish" +!insertmacro MUI_LANGUAGE "Greek" +!insertmacro MUI_LANGUAGE "Russian" +!insertmacro MUI_LANGUAGE "Portuguese" +!insertmacro MUI_LANGUAGE "PortugueseBR" +!insertmacro MUI_LANGUAGE "Polish" +!insertmacro MUI_LANGUAGE "Ukrainian" +!insertmacro MUI_LANGUAGE "Czech" +!insertmacro MUI_LANGUAGE "Slovak" +!insertmacro MUI_LANGUAGE "Croatian" +!insertmacro MUI_LANGUAGE "Bulgarian" +!insertmacro MUI_LANGUAGE "Hungarian" +!insertmacro MUI_LANGUAGE "Thai" +!insertmacro MUI_LANGUAGE "Romanian" +!insertmacro MUI_LANGUAGE "Latvian" +!insertmacro MUI_LANGUAGE "Macedonian" +!insertmacro MUI_LANGUAGE "Estonian" +!insertmacro MUI_LANGUAGE "Turkish" +!insertmacro MUI_LANGUAGE "Lithuanian" +!insertmacro MUI_LANGUAGE "Catalan" +!insertmacro MUI_LANGUAGE "Slovenian" +!insertmacro MUI_LANGUAGE "Serbian" +!insertmacro MUI_LANGUAGE "SerbianLatin" +!insertmacro MUI_LANGUAGE "Arabic" +!insertmacro MUI_LANGUAGE "Farsi" +!insertmacro MUI_LANGUAGE "Hebrew" +!insertmacro MUI_LANGUAGE "Indonesian" +!insertmacro MUI_LANGUAGE "Mongolian" +!insertmacro MUI_LANGUAGE "Luxembourgish" +!insertmacro MUI_LANGUAGE "Albanian" +!insertmacro MUI_LANGUAGE "Breton" +!insertmacro MUI_LANGUAGE "Belarusian" +!insertmacro MUI_LANGUAGE "Icelandic" +!insertmacro MUI_LANGUAGE "Malay" +!insertmacro MUI_LANGUAGE "Bosnian" +!insertmacro MUI_LANGUAGE "Kurdish" + +!insertmacro MUI_RESERVEFILE_LANGDLL + +ReserveFile "setup_finish.bmp" + +; MUI end ------ + +Name "${PRODUCT_NAME} ${PRODUCT_VERSION}" +OutFile "tmw-${PRODUCT_VERSION}-win32.exe" +InstallDir "$PROGRAMFILES\The Mana World" +InstallDirRegKey HKLM "${PRODUCT_DIR_REGKEY}" "" +ShowInstDetails show +ShowUnInstDetails show + +Function .onInit + !insertmacro MUI_LANGDLL_DISPLAY + InitPluginsDir + File /oname=$PLUGINSDIR\setup_finish.bmp "setup_finish.bmp" +FunctionEnd + +Section "Core files (required)" SecCore + SectionIn RO + SetOutPath "$INSTDIR" + SetOverwrite ifnewer + CreateDirectory "$SMPROGRAMS\The Mana World" + CreateShortCut "$SMPROGRAMS\The Mana World\The Mana World.lnk" "$INSTDIR\tmw.exe" + CreateShortCut "$DESKTOP\The Mana World.lnk" "$INSTDIR\tmw.exe" + CreateDirectory "$INSTDIR\data" + CreateDirectory "$INSTDIR\data\graphics" + CreateDirectory "$INSTDIR\data\help" + CreateDirectory "$INSTDIR\data\icons" + CreateDirectory "$INSTDIR\data\maps" + CreateDirectory "$INSTDIR\data\music" + CreateDirectory "$INSTDIR\data\sfx" + CreateDirectory "$INSTDIR\data\graphics\gui" + CreateDirectory "$INSTDIR\data\graphics\images" + CreateDirectory "$INSTDIR\data\graphics\items" + CreateDirectory "$INSTDIR\data\graphics\tiles" + CreateDirectory "$INSTDIR\data\graphics\images\ambient" + CreateDirectory "$INSTDIR\docs" + + SetOverwrite ifnewer + SetOutPath "$INSTDIR" + + File "tmw.exe" + File "*.dll" + File "AUTHORS" + File "ChangeLog" + File "COPYING" + File "NEWS" + File "README" + SetOutPath "$INSTDIR\data\graphics\gui" + File "data\graphics\gui\*.png" + SetOutPath "$INSTDIR\data\graphics\images\ambient" + File /nonfatal "data\graphics\images\ambient\*.png" + SetOutPath "$INSTDIR\data\graphics\images" + File /x minimap_*.png data\graphics\images\*.png + SetOutPath "$INSTDIR\data\graphics\sprites" + File /nonfatal /x monster-*.png data\graphics\sprites\*.png + SetOutPath "$INSTDIR\data\graphics\tiles" + File /nonfatal "data\graphics\tiles\*.png" + SetOutPath "$INSTDIR\data\help" + File "data\help\*.txt" + SetOutPath "$INSTDIR\data\icons\" + File "data\icons\tmw.ico" + SetOutPath "$INSTDIR\data\music" + File /nonfatal "data\music\*.ogg" + SetOutPath "$INSTDIR\docs" + File "docs\FAQ.txt" +SectionEnd + +Section -AdditionalIcons + WriteIniStr "$INSTDIR\${PRODUCT_NAME}.url" "InternetShortcut" "URL" "${PRODUCT_WEB_SITE}" + CreateShortCut "$SMPROGRAMS\The Mana World\Website.lnk" "$INSTDIR\${PRODUCT_NAME}.url" + CreateShortCut "$SMPROGRAMS\The Mana World\Readme.lnk" "notepad.exe" "$INSTDIR\README" + CreateShortCut "$SMPROGRAMS\The Mana World\FAQ.lnk" "$INSTDIR\docs\FAQ.txt" + CreateShortCut "$SMPROGRAMS\The Mana World\Uninstall.lnk" "$INSTDIR\uninst.exe" +SectionEnd + +Section -Post + WriteUninstaller "$INSTDIR\uninst.exe" + WriteRegStr HKLM "${PRODUCT_DIR_REGKEY}" "" "$INSTDIR\tmw.exe" + WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayName" "$(^Name)" + WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "UninstallString" "$INSTDIR\uninst.exe" + WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayIcon" "$INSTDIR\tmw.exe" + WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayVersion" "${PRODUCT_VERSION}" + WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "URLInfoAbout" "${PRODUCT_WEB_SITE}" + WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "Publisher" "${PRODUCT_PUBLISHER}" +SectionEnd + +Function un.onInit + !insertmacro MUI_UNGETLANGUAGE +FunctionEnd + +Section Uninstall + DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\The Mana World" + + Delete "$INSTDIR\*.*" + + Delete "$SMPROGRAMS\The Mana World\Uninstall.lnk" + Delete "$DESKTOP\The Mana World.lnk" + Delete "$SMPROGRAMS\The Mana World\The Mana World.lnk" + Delete "$SMPROGRAMS\The Mana World\Website.lnk" + Delete "$SMPROGRAMS\The Mana World\Readme.lnk" + Delete "$SMPROGRAMS\The Mana World\FAQ.lnk" + + RMDir "$SMPROGRAMS\The Mana World" + + RMDir /r "$INSTDIR\data" + RMDir /r "$INSTDIR\docs" + RMDir /r "$INSTDIR\updates" + RMDir "$INSTDIR" + + DeleteRegKey ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" + DeleteRegKey HKLM "${PRODUCT_DIR_REGKEY}" + SetAutoClose true +SectionEnd \ No newline at end of file diff --git a/packaging/windows/setup_finish.bmp b/packaging/windows/setup_finish.bmp new file mode 100644 index 00000000..76b57da6 Binary files /dev/null and b/packaging/windows/setup_finish.bmp differ diff --git a/packaging/windows/setup_welcome.bmp b/packaging/windows/setup_welcome.bmp new file mode 100644 index 00000000..3894b91b Binary files /dev/null and b/packaging/windows/setup_welcome.bmp differ -- cgit v1.2.3-60-g2f50 From 393d5d4eb2e2187e8029b7a10c16de23c98bb7b1 Mon Sep 17 00:00:00 2001 From: Ira Rice Date: Fri, 26 Dec 2008 23:35:25 -0700 Subject: Moved debian packaging scripts to packaging directory Conflicts: debian/aethyra.docs debian/aethyra.sgml debian/tmw.docs debian/tmw.sgml packaging/debian/tmw.docs packaging/debian/tmw.sgml Signed-off-by: Ira Rice --- debian/changelog | 77 --------- debian/compat | 1 - debian/control | 43 ----- debian/copyright | 49 ------ debian/patches/00list | 0 debian/rules | 69 -------- packaging/debian/aethyra-data.install | 6 + packaging/debian/aethyra.desktop | 11 ++ packaging/debian/aethyra.docs | 6 + packaging/debian/aethyra.install | 5 + packaging/debian/aethyra.menu | 4 + packaging/debian/aethyra.sgml | 149 ++++++++++++++++ packaging/debian/aethyra.xpm | 312 ++++++++++++++++++++++++++++++++++ packaging/debian/changelog | 77 +++++++++ packaging/debian/compat | 1 + packaging/debian/control | 43 +++++ packaging/debian/copyright | 49 ++++++ packaging/debian/patches/00list | 0 packaging/debian/rules | 69 ++++++++ packaging/debian/watch | 2 + packaging/windows/setup.nsi | 72 ++++---- 21 files changed, 770 insertions(+), 275 deletions(-) delete mode 100644 debian/changelog delete mode 100644 debian/compat delete mode 100644 debian/control delete mode 100644 debian/copyright delete mode 100644 debian/patches/00list delete mode 100755 debian/rules create mode 100644 packaging/debian/aethyra-data.install create mode 100644 packaging/debian/aethyra.desktop create mode 100644 packaging/debian/aethyra.docs create mode 100644 packaging/debian/aethyra.install create mode 100644 packaging/debian/aethyra.menu create mode 100644 packaging/debian/aethyra.sgml create mode 100644 packaging/debian/aethyra.xpm create mode 100644 packaging/debian/changelog create mode 100644 packaging/debian/compat create mode 100644 packaging/debian/control create mode 100644 packaging/debian/copyright create mode 100644 packaging/debian/patches/00list create mode 100644 packaging/debian/rules create mode 100644 packaging/debian/watch (limited to 'packaging') diff --git a/debian/changelog b/debian/changelog deleted file mode 100644 index bc5b7579..00000000 --- a/debian/changelog +++ /dev/null @@ -1,77 +0,0 @@ -tmw (0.0.24-1) unstable; urgency=low - - * New upstream release. - * Wrapped configure script options line to a more human readable - format. - * Bumped Standards-Version to 3.7.3. - * Changed description in debian/tmw.menu, it is now called as an - adventure instead of an arcade game. - * Removed the ugly hyphen in the description of debian/tmw.desktop. - * Removed debian/tmw.6 manpage, because it is in upstream now. - * Removed 01-set-gl-texture-zero and 02-guichan_0.7 patches, - because they are fixed in the current upstream release. - * Removed now useless calls of dh_link and dh_installman in - debian/rules. - * Removed debian/tmw-data.docs, because the NEWS and AUTHORS file - is already in the tmw package. - * Removed deprecated encoding flag from debian/tmw.desktop. - * Added debian/watch file. - * Added homepage field to debian/control and removed the one from - the long descriptions. - * Added a break to the long description of tmw-data. It looks now - realy better. - * Added the tmw-dbg package, which provides the debugging symbols. - - -- Patrick Matthäi Mon, 24 Dec 2007 17:10:00 +0100 - -tmw (0.0.23-3) unstable; urgency=low - - * Added missing files data/graphics/images/ambient/*.png to - release. - Closes: #439861 - * Added guichan_0.7 patch to build tmw against guichan 0.7.1. - * debian/control: Changed guichan version to libguichan2 and - changed build dependencie from libcurl3-dev to libcurl4-gnutls-dev. - * debian/tmw.menu: Corrected menu entry categorie to Games/Adventure. - Thanks lintian. - * Fixed clean rule. Thanks lintian. - - -- Patrick Matthäi Thu, 6 Sep 2007 18:36:00 +0100 - -tmw (0.0.23-2) unstable; urgency=low - - * Added set-gl-texture-zero patch to set GL texture index - to zero when an image uses the SDL backend. - Closes: #427915 - * debian/control: Removed dependencie of tmw-data to tmw. - Closes: #427920 - * debian/control: Set tmw as recommends to tmw-data. - * debian/control: Added dpatch to the build dependencies. - * debian/control: Changed guichan version to libguichan1. - Closes: #435065 - * debian/tmw.docs: Added upstream ChangeLog to package. - * debian/rules: Removed now unneeded '--with-opengl' - configure flag. - - -- Patrick Matthäi Wed, 20 Jun 2007 08:55:12 +0100 - -tmw (0.0.23-1) unstable; urgency=low - - * Uploaded tmw to unstable. - Closes: #418725, #423275 - * New upstream release. - * debian/rules: No longer needed the tmw-icon rename - hack. Upstream renamed the icon files. - * debian/tmw.xpm: Added xpm icon file, because upstream - has forgotten it in the newest release. - - -- Patrick Matthäi Mon, 5 Jun 2007 21:05:36 +0100 - -tmw (0.0.22.2-1) experimental; urgency=low - - * Initial release. - * Uploading to experimental because we need libguichan0-dev (>= 0.6.1). - * src/main.cpp: - Moved tmw-icon.png to /usr/share/icons/tmw.png. - - -- Patrick Matthäi Tue, 6 Mar 2007 09:08:21 +0100 diff --git a/debian/compat b/debian/compat deleted file mode 100644 index 7ed6ff82..00000000 --- a/debian/compat +++ /dev/null @@ -1 +0,0 @@ -5 diff --git a/debian/control b/debian/control deleted file mode 100644 index 0d94b4fd..00000000 --- a/debian/control +++ /dev/null @@ -1,43 +0,0 @@ -Source: aethyra -Section: games -Priority: optional -Homepage: http://www.aethyra.org/ -Maintainer: Aethyra Project -Build-Depends: debhelper (>= 5), dpkg-dev (>= 1.13.19), dpatch, autotools-dev, libcurl4-gnutls-dev, libgl1-mesa-dev, libguichan-dev (>= 0.8.1-3), libsdl1.2-dev, libsdl-image1.2-dev, libsdl-net1.2-dev, libsdl-mixer1.2-dev, libphysfs-dev, libpng12-dev, libxml2-dev, zlib1g-dev -Standards-Version: 3.7.3 - -Package: aethyra -Architecture: any -Depends: ${shlibs:Depends}, ${misc:Depends}, aethyra-data (= ${source:Version}) -Recommends: aethyra-music -Description: Aethyra is a community driven experiment that utilizes eAthena at its core with the end goal of - getting its players as involved in the process as much as possible. It's originally forked from - The Mana World when its developers came up with the idea of "Why should we have to wait for an - MMORPG game in development when we've already got a great server setup here that does everything - we've been promised and more?" As such, we are trying to implement as many functions of eAthena - as possible while creating our own in the process based on what our players want to see. - -Package: aethyra-dbg -Architecture: any -Priority: extra -Depends: aethyra (= ${binary:Version}) -Description: Aethyra is a community driven experiment that utilizes eAthena at its core with the end goal of - getting its players as involved in the process as much as possible. It's originally forked from - The Mana World when its developers came up with the idea of "Why should we have to wait for an - MMORPG game in development when we've already got a great server setup here that does everything - we've been promised and more?" As such, we are trying to implement as many functions of eAthena - as possible while creating our own in the process based on what our players want to see. - . - This package provides debugging symbols for the aethyra package. - -Package: aethyra-data -Architecture: all -Recommends: aethyra, aethyra-music -Description: Aethyra is a community driven experiment that utilizes eAthena at its core with the end goal of - getting its players as involved in the process as much as possible. It's originally forked from - The Mana World when its developers came up with the idea of "Why should we have to wait for an - MMORPG game in development when we've already got a great server setup here that does everything - we've been promised and more?" As such, we are trying to implement as many functions of eAthena - as possible while creating our own in the process based on what our players want to see. - . - This package contains the data files. diff --git a/debian/copyright b/debian/copyright deleted file mode 100644 index a6a2b687..00000000 --- a/debian/copyright +++ /dev/null @@ -1,49 +0,0 @@ -This package was debianized by Patrick Matthäi on -Wed, 6 Feb 2007 09:16:23 +0100. - -It was downloaded from . - -Upstream Author: Eugenio Favalli - -License (src/utils/base64.h, src/utils/base64.cpp): - - Copyright (C) 1997-1998 PHP Development Team - - 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 /usr/share/common-licenses/GPL file. - -License (everything else): - - Copyright (C) 2004-2007 The The Mana World Development Team - - 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 /usr/share/common-licenses/GPL file. diff --git a/debian/patches/00list b/debian/patches/00list deleted file mode 100644 index e69de29b..00000000 diff --git a/debian/rules b/debian/rules deleted file mode 100755 index 6ee08a3b..00000000 --- a/debian/rules +++ /dev/null @@ -1,69 +0,0 @@ -#!/usr/bin/make -f - -# Uncomment this to turn on verbose mode. -#export DH_VERBOSE=1 - -include /usr/share/dpatch/dpatch.make - -# These are used for cross-compiling and for saving the configure script -# from having to guess our platform (since we know it already) -DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) -DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) - -config.status: patch - dh_testdir - CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) \ - --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr \ - --datadir=/usr/share/games --bindir=/usr/games --mandir=/usr/share/man - -build: build-stamp -build-stamp: config.status - dh_testdir - $(MAKE) - touch build-stamp - -clean: unpatch - dh_testdir - dh_testroot - rm -f build-stamp - [ ! -f Makefile ] || $(MAKE) distclean - dh_clean - -install: build - dh_testdir - dh_testroot - dh_clean -k - dh_installdirs - -binary-indep: build install - dh_testdir -i - dh_testroot -i - dh_installchangelogs -i ChangeLog - dh_installdocs -i - dh_install -i - dh_compress -i - dh_fixperms -i - dh_installdeb -i - dh_gencontrol -i - dh_md5sums -i - dh_builddeb -i - -binary-arch: build install - dh_testdir -a - dh_testroot -a - dh_installchangelogs -a ChangeLog - dh_installdocs -a - dh_install -a - dh_desktop -a - dh_installmenu -a - dh_strip -a --dbg-package=aethyra-dbg - dh_compress -a - dh_fixperms -a - dh_installdeb -a - dh_shlibdeps -a - dh_gencontrol -a - dh_md5sums -a - dh_builddeb -a - -binary: binary-indep binary-arch -.PHONY: build clean binary-indep binary-arch binary install configure diff --git a/packaging/debian/aethyra-data.install b/packaging/debian/aethyra-data.install new file mode 100644 index 00000000..c652dff3 --- /dev/null +++ b/packaging/debian/aethyra-data.install @@ -0,0 +1,6 @@ +data/graphics/gui/*.png usr/share/games/aethyra/data/graphics/gui +data/graphics/gui/*.xml usr/share/games/aethyra/data/graphics/gui +data/graphics/images/*.png usr/share/games/aethyra/data/graphics/images +data/graphics/images/ambient/*.png usr/share/games/aethyra/data/graphics/images/ambient +data/graphics/tiles/*.png usr/share/games/aethyra/data/graphics/tiles +data/help/*.txt usr/share/games/aethyra/data/help diff --git a/packaging/debian/aethyra.desktop b/packaging/debian/aethyra.desktop new file mode 100644 index 00000000..221d2258 --- /dev/null +++ b/packaging/debian/aethyra.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Version=1.0 +Encoding=UTF-8 +Name=Aethyra +Comment=Aethyra is a 2D MMORPG using eAthena. +Exec=aethyra +StartupNotify=false +Terminal=false +Type=Game +Icon=aethyra.png +Categories=Game diff --git a/packaging/debian/aethyra.docs b/packaging/debian/aethyra.docs new file mode 100644 index 00000000..d622a527 --- /dev/null +++ b/packaging/debian/aethyra.docs @@ -0,0 +1,6 @@ +AUTHORS +NEWS +README +ChangeLog +docs/progression.txt +docs/FAQ.txt diff --git a/packaging/debian/aethyra.install b/packaging/debian/aethyra.install new file mode 100644 index 00000000..66ba5126 --- /dev/null +++ b/packaging/debian/aethyra.install @@ -0,0 +1,5 @@ +debian/aethyra.desktop usr/share/applications +debian/aethyra.xpm usr/share/pixmaps +data/icons/aethyra.png usr/share/icons +docs/aethyra.6 usr/share/man/man6 +src/aethyra usr/games diff --git a/packaging/debian/aethyra.menu b/packaging/debian/aethyra.menu new file mode 100644 index 00000000..42035107 --- /dev/null +++ b/packaging/debian/aethyra.menu @@ -0,0 +1,4 @@ +?package(aethyra):needs="X11" section="Games/Adventure"\ + title="Aethyra"\ + description="Aethyra is a 2D MMORPG using eAthena."\ + command="/usr/games/aethyra" icon="/usr/share/pixmaps/aethyra.xpm" diff --git a/packaging/debian/aethyra.sgml b/packaging/debian/aethyra.sgml new file mode 100644 index 00000000..0ed18199 --- /dev/null +++ b/packaging/debian/aethyra.sgml @@ -0,0 +1,149 @@ + manpage.1'. You may view + the manual page with: `docbook-to-man manpage.sgml | nroff -man | + less'. A typical entry in a Makefile or Makefile.am is: + +manpage.1: manpage.sgml + docbook-to-man $< > $@ + + + The docbook-to-man binary is found in the docbook-to-man package. + Please remember that if you create the nroff version in one of the + debian/rules file targets (such as build), you will need to include + docbook-to-man in your Build-Depends control field. + + --> + + + FERREIRA"> + Yohann"> + + avril 13, 2005"> + + 6"> + bertram@cegetel.net"> + + TMW"> + + + Debian"> + GNU"> + GPL"> +]> + + + +
+ &dhemail; +
+ + &dhfirstname; + &dhsurname; + + + 2003 + &dhusername; + + &dhdate; +
+ + &dhucpackage; + + &dhsection; + + + &dhpackage; + + tmw is the abreviation of The Mana World : A Fantasy Online Game + + + + &dhpackage; + + + + DESCRIPTION + + This manual page documents briefly the + &dhpackage; ingame + commands. + &dhpackage; 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. + + + + COMMON KEYS + + Arrow Keys, Key Pad Keys (Diagonals Supported). +Move your character around. + +Left Ctrl : +Make your character attack. + +G : +Get Items on the ground or in a chest. + +Alt + 1...9 : +Shows an Emoticon above your character. + +Alt + I : +Shows / Hide Inventory Window. + +Alt + K : +Shows / Hide Skills Window. + +Alt + E : +Shows / Hide Equipment Window. + +Alt + C : +Shows Configuration Window. + + + + + SEE ALSO + + libguichan (2). + + The program is documented fully by The Mana World Team available via the + website http://www.manaworld.org/ + + + AUTHOR + + This manual page was written by &dhusername; &dhemail; for + the &debian; system (but may be used by others). Permission is + granted to copy, distribute and/or modify this document under + the terms of the &gnu; General Public License, Version 2 any + later version published by the Free Software Foundation. + + + On Debian systems, the complete text of the GNU General Public + License can be found in /usr/share/common-licenses/GPL. + + + +
+ + + + diff --git a/packaging/debian/aethyra.xpm b/packaging/debian/aethyra.xpm new file mode 100644 index 00000000..515be72e --- /dev/null +++ b/packaging/debian/aethyra.xpm @@ -0,0 +1,312 @@ +/* XPM */ +static char * Aethyra_xpm[] = { +"32 32 277 2", +" c None", +". c #840000", +"+ c #7E0000", +"@ c #4F0000", +"# c #810000", +"$ c #830000", +"% c #7B0000", +"& c #460000", +"* c #4C0000", +"= c #4B0000", +"- c #750000", +"; c #860000", +"> c #850000", +", c #5D0000", +"' c #490000", +") c #450000", +"! c #4A0000", +"~ c #440000", +"{ c #6A0000", +"] c #7A0000", +"^ c #8B0000", +"/ c #990000", +"( c #960000", +"_ c #720000", +": c #6E0000", +"< c #740000", +"[ c #6B0202", +"} c #550505", +"| c #420404", +"1 c #440101", +"2 c #4D0000", +"3 c #4E0000", +"4 c #480000", +"5 c #9D0000", +"6 c #9B0000", +"7 c #6F0000", +"8 c #710000", +"9 c #760000", +"0 c #680404", +"a c #4B0C0C", +"b c #3C0909", +"c c #470202", +"d c #450101", +"e c #500000", +"f c #510000", +"g c #790000", +"h c #890000", +"i c #920000", +"j c #710706", +"k c #7D381F", +"l c #934A1A", +"m c #7B1A09", +"n c #6B1609", +"o c #521E13", +"p c #4F2517", +"q c #5D230F", +"r c #4D0F04", +"s c #350A0A", +"t c #360909", +"u c #470303", +"v c #930000", +"w c #840202", +"x c #712C1C", +"y c #A58248", +"z c #866621", +"A c #835819", +"B c #98681F", +"C c #845C1D", +"D c #BB964A", +"E c #856225", +"F c #3D1B0B", +"G c #241818", +"H c #251717", +"I c #360A0A", +"J c #430000", +"K c #6C0000", +"L c #800000", +"M c #730404", +"N c #6A431E", +"O c #473C1C", +"P c #534420", +"Q c #806125", +"R c #53290B", +"S c #461C09", +"T c #BB9432", +"U c #65490F", +"V c #1F1110", +"W c #1A2323", +"X c #1A2222", +"Y c #261212", +"Z c #440202", +"` c #7F0000", +" . c #870000", +".. c #6D0505", +"+. c #422522", +"@. c #454434", +"#. c #A18744", +"$. c #8F7237", +"%. c #A37F48", +"&. c #AD8847", +"*. c #C6A657", +"=. c #644C14", +"-. c #211615", +";. c #1C2626", +">. c #1B2323", +",. c #231313", +"'. c #420202", +"). c #6C0404", +"!. c #532D23", +"~. c #A8915B", +"{. c #967C37", +"]. c #6E5926", +"^. c #453512", +"/. c #473713", +"(. c #A4832A", +"_. c #594310", +":. c #241F1E", +"<. c #232828", +"[. c #1C2020", +"}. c #241111", +"|. c #430202", +"1. c #7C5030", +"2. c #967C3D", +"3. c #3E3318", +"4. c #3D3930", +"5. c #454442", +"6. c #524D44", +"7. c #C09E45", +"8. c #654F17", +"9. c #262524", +"0. c #252929", +"a. c #410202", +"b. c #6B0302", +"c. c #A78041", +"d. c #6A5621", +"e. c #414543", +"f. c #696B6B", +"g. c #747676", +"h. c #7B7566", +"i. c #C9A84F", +"j. c #665017", +"k. c #282725", +"l. c #252A2A", +"m. c #1B2222", +"n. c #3D0202", +"o. c #750802", +"p. c #B48E41", +"q. c #564418", +"r. c #4A4B4B", +"s. c #6D6F6F", +"t. c #797A7A", +"u. c #867C62", +"v. c #AE9040", +"w. c #664F12", +"x. c #2D2A25", +"y. c #242828", +"z. c #1E1E1E", +"A. c #291010", +"B. c #400202", +"C. c #860B02", +"D. c #B78C32", +"E. c #594013", +"F. c #433E3E", +"G. c #606464", +"H. c #74736C", +"I. c #7C6D44", +"J. c #433719", +"K. c #413311", +"L. c #322F1E", +"M. c #1C2121", +"N. c #271212", +"O. c #3C0606", +"P. c #8C0200", +"Q. c #B5771D", +"R. c #765513", +"S. c #3F3636", +"T. c #555B5B", +"U. c #686969", +"V. c #5A5957", +"W. c #3C3832", +"X. c #403826", +"Y. c #2F3023", +"Z. c #1C1F1D", +"`. c #2E0A0A", +" + c #460101", +".+ c #8F0101", +"++ c #A03F0C", +"@+ c #AC7E19", +"#+ c #4B3625", +"$+ c #474747", +"%+ c #5B5C5A", +"&+ c #83775A", +"*+ c #8C7539", +"=+ c #67541F", +"-+ c #6B551C", +";+ c #8C6D24", +">+ c #4E1C09", +",+ c #4A0101", +"'+ c #8A0606", +")+ c #8D1203", +"!+ c #A76713", +"~+ c #87611B", +"{+ c #453A32", +"]+ c #52554E", +"^+ c #A38A45", +"/+ c #715818", +"(+ c #7A6424", +"_+ c #443212", +":+ c #947026", +"<+ c #7D4E11", +"[+ c #490400", +"}+ c #420000", +"|+ c #7F0808", +"1+ c #8B0101", +"2+ c #800F01", +"3+ c #915E11", +"4+ c #504F40", +"5+ c #4E4834", +"6+ c #5A4715", +"7+ c #5B4814", +"8+ c #382813", +"9+ c #917035", +"0+ c #533209", +"a+ c #3F0400", +"b+ c #8E0101", +"c+ c #8A0000", +"d+ c #671104", +"e+ c #663D12", +"f+ c #786023", +"g+ c #74612B", +"h+ c #665320", +"i+ c #675321", +"j+ c #785C24", +"k+ c #684718", +"l+ c #380B00", +"m+ c #400000", +"n+ c #8C0303", +"o+ c #8D0000", +"p+ c #780101", +"q+ c #510808", +"r+ c #291A16", +"s+ c #26291C", +"t+ c #2D2B18", +"u+ c #321F0E", +"v+ c #370A02", +"w+ c #3E0100", +"x+ c #850202", +"y+ c #600202", +"z+ c #331313", +"A+ c #1E2121", +"B+ c #1A1E1E", +"C+ c #270D0D", +"D+ c #470000", +"E+ c #7B0404", +"F+ c #720101", +"G+ c #4B0D0D", +"H+ c #2D1717", +"I+ c #261414", +"J+ c #380808", +"K+ c #7E0202", +"L+ c #5D0606", +"M+ c #3B0E0E", +"N+ c #300C0C", +"O+ c #430303", +"P+ c #7A0505", +"Q+ c #7C0000", +"R+ c #640404", +"S+ c #430D0D", +"T+ c #460202", +"U+ c #610505", +"V+ c #440E0E", +"W+ c #390B0B", +"X+ c #560202", +"Y+ c #480707", +"Z+ c #410505", +"`+ c #4B0101", +" @ c #480101", +" ", +" ", +" ", +" . + @ ", +" # $ % & * @ = ", +" - # ; > $ , ' ) ! @ * ~ ", +" { ] ^ / ( $ _ : < [ } | 1 ) ~ ' 2 2 3 3 4 ", +" ] ^ 5 6 . 7 8 9 0 a b c * d 4 e f @ 3 4 ", +" g h / i j k l m n o p q r s t u e 3 2 4 ", +" 8 > v w x y z A B C D E F G H I = @ ' J ", +" K L ^ M N O P Q R S T U V W X Y Z e ) ", +" ` ...+.@.#.$.%.&.*.=.-.;.>.,.'.e & ", +" ` . ).!.~.{.].^./.(._.:.<.[.}.|.@ 4 ", +" # [ 1.2.3.4.5.6.7.8.9.0.[.}.a.= ", +" ` b.c.d.e.f.g.h.i.j.k.l.m.,.n.) ", +" L o.p.q.r.s.t.u.v.w.x.y.z.A.B.~ ", +" ; C.D.E.F.G.H.I.J.K.L.M.N.O.4 ", +" P.Q.R.S.T.U.V.W.X.Y.Z.`. +2 ", +" .+++@+#+$+%+&+*+=+-+;+>+,+= ", +" '+)+!+~+{+]+^+/+(+_+:+<+[+}+ ", +" |+1+2+3+z 4+5+6+7+8+9+0+a+ ", +" b+c+d+e+f+g+h+i+j+k+l+m+ ", +" n+o+p+q+r+s+t+u+v+w+) ) ", +" x+` y+z+A+B+C+1 e D+ ", +" E+# F+G+H+I+J+3 @ ~ ", +" K+% L+M+N+O+e ' ", +" P+Q+R+S+I T+@ ) ", +" 9 U+V+W+u 2 ", +" X+Y+Z+ + ", +" * `+ @ ", +" ", +" "}; diff --git a/packaging/debian/changelog b/packaging/debian/changelog new file mode 100644 index 00000000..bc5b7579 --- /dev/null +++ b/packaging/debian/changelog @@ -0,0 +1,77 @@ +tmw (0.0.24-1) unstable; urgency=low + + * New upstream release. + * Wrapped configure script options line to a more human readable + format. + * Bumped Standards-Version to 3.7.3. + * Changed description in debian/tmw.menu, it is now called as an + adventure instead of an arcade game. + * Removed the ugly hyphen in the description of debian/tmw.desktop. + * Removed debian/tmw.6 manpage, because it is in upstream now. + * Removed 01-set-gl-texture-zero and 02-guichan_0.7 patches, + because they are fixed in the current upstream release. + * Removed now useless calls of dh_link and dh_installman in + debian/rules. + * Removed debian/tmw-data.docs, because the NEWS and AUTHORS file + is already in the tmw package. + * Removed deprecated encoding flag from debian/tmw.desktop. + * Added debian/watch file. + * Added homepage field to debian/control and removed the one from + the long descriptions. + * Added a break to the long description of tmw-data. It looks now + realy better. + * Added the tmw-dbg package, which provides the debugging symbols. + + -- Patrick Matthäi Mon, 24 Dec 2007 17:10:00 +0100 + +tmw (0.0.23-3) unstable; urgency=low + + * Added missing files data/graphics/images/ambient/*.png to + release. + Closes: #439861 + * Added guichan_0.7 patch to build tmw against guichan 0.7.1. + * debian/control: Changed guichan version to libguichan2 and + changed build dependencie from libcurl3-dev to libcurl4-gnutls-dev. + * debian/tmw.menu: Corrected menu entry categorie to Games/Adventure. + Thanks lintian. + * Fixed clean rule. Thanks lintian. + + -- Patrick Matthäi Thu, 6 Sep 2007 18:36:00 +0100 + +tmw (0.0.23-2) unstable; urgency=low + + * Added set-gl-texture-zero patch to set GL texture index + to zero when an image uses the SDL backend. + Closes: #427915 + * debian/control: Removed dependencie of tmw-data to tmw. + Closes: #427920 + * debian/control: Set tmw as recommends to tmw-data. + * debian/control: Added dpatch to the build dependencies. + * debian/control: Changed guichan version to libguichan1. + Closes: #435065 + * debian/tmw.docs: Added upstream ChangeLog to package. + * debian/rules: Removed now unneeded '--with-opengl' + configure flag. + + -- Patrick Matthäi Wed, 20 Jun 2007 08:55:12 +0100 + +tmw (0.0.23-1) unstable; urgency=low + + * Uploaded tmw to unstable. + Closes: #418725, #423275 + * New upstream release. + * debian/rules: No longer needed the tmw-icon rename + hack. Upstream renamed the icon files. + * debian/tmw.xpm: Added xpm icon file, because upstream + has forgotten it in the newest release. + + -- Patrick Matthäi Mon, 5 Jun 2007 21:05:36 +0100 + +tmw (0.0.22.2-1) experimental; urgency=low + + * Initial release. + * Uploading to experimental because we need libguichan0-dev (>= 0.6.1). + * src/main.cpp: + Moved tmw-icon.png to /usr/share/icons/tmw.png. + + -- Patrick Matthäi Tue, 6 Mar 2007 09:08:21 +0100 diff --git a/packaging/debian/compat b/packaging/debian/compat new file mode 100644 index 00000000..7ed6ff82 --- /dev/null +++ b/packaging/debian/compat @@ -0,0 +1 @@ +5 diff --git a/packaging/debian/control b/packaging/debian/control new file mode 100644 index 00000000..0d94b4fd --- /dev/null +++ b/packaging/debian/control @@ -0,0 +1,43 @@ +Source: aethyra +Section: games +Priority: optional +Homepage: http://www.aethyra.org/ +Maintainer: Aethyra Project +Build-Depends: debhelper (>= 5), dpkg-dev (>= 1.13.19), dpatch, autotools-dev, libcurl4-gnutls-dev, libgl1-mesa-dev, libguichan-dev (>= 0.8.1-3), libsdl1.2-dev, libsdl-image1.2-dev, libsdl-net1.2-dev, libsdl-mixer1.2-dev, libphysfs-dev, libpng12-dev, libxml2-dev, zlib1g-dev +Standards-Version: 3.7.3 + +Package: aethyra +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, aethyra-data (= ${source:Version}) +Recommends: aethyra-music +Description: Aethyra is a community driven experiment that utilizes eAthena at its core with the end goal of + getting its players as involved in the process as much as possible. It's originally forked from + The Mana World when its developers came up with the idea of "Why should we have to wait for an + MMORPG game in development when we've already got a great server setup here that does everything + we've been promised and more?" As such, we are trying to implement as many functions of eAthena + as possible while creating our own in the process based on what our players want to see. + +Package: aethyra-dbg +Architecture: any +Priority: extra +Depends: aethyra (= ${binary:Version}) +Description: Aethyra is a community driven experiment that utilizes eAthena at its core with the end goal of + getting its players as involved in the process as much as possible. It's originally forked from + The Mana World when its developers came up with the idea of "Why should we have to wait for an + MMORPG game in development when we've already got a great server setup here that does everything + we've been promised and more?" As such, we are trying to implement as many functions of eAthena + as possible while creating our own in the process based on what our players want to see. + . + This package provides debugging symbols for the aethyra package. + +Package: aethyra-data +Architecture: all +Recommends: aethyra, aethyra-music +Description: Aethyra is a community driven experiment that utilizes eAthena at its core with the end goal of + getting its players as involved in the process as much as possible. It's originally forked from + The Mana World when its developers came up with the idea of "Why should we have to wait for an + MMORPG game in development when we've already got a great server setup here that does everything + we've been promised and more?" As such, we are trying to implement as many functions of eAthena + as possible while creating our own in the process based on what our players want to see. + . + This package contains the data files. diff --git a/packaging/debian/copyright b/packaging/debian/copyright new file mode 100644 index 00000000..a6a2b687 --- /dev/null +++ b/packaging/debian/copyright @@ -0,0 +1,49 @@ +This package was debianized by Patrick Matthäi on +Wed, 6 Feb 2007 09:16:23 +0100. + +It was downloaded from . + +Upstream Author: Eugenio Favalli + +License (src/utils/base64.h, src/utils/base64.cpp): + + Copyright (C) 1997-1998 PHP Development Team + + 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 /usr/share/common-licenses/GPL file. + +License (everything else): + + Copyright (C) 2004-2007 The The Mana World Development Team + + 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 /usr/share/common-licenses/GPL file. diff --git a/packaging/debian/patches/00list b/packaging/debian/patches/00list new file mode 100644 index 00000000..e69de29b diff --git a/packaging/debian/rules b/packaging/debian/rules new file mode 100644 index 00000000..6ee08a3b --- /dev/null +++ b/packaging/debian/rules @@ -0,0 +1,69 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +include /usr/share/dpatch/dpatch.make + +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + +config.status: patch + dh_testdir + CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) \ + --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr \ + --datadir=/usr/share/games --bindir=/usr/games --mandir=/usr/share/man + +build: build-stamp +build-stamp: config.status + dh_testdir + $(MAKE) + touch build-stamp + +clean: unpatch + dh_testdir + dh_testroot + rm -f build-stamp + [ ! -f Makefile ] || $(MAKE) distclean + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + +binary-indep: build install + dh_testdir -i + dh_testroot -i + dh_installchangelogs -i ChangeLog + dh_installdocs -i + dh_install -i + dh_compress -i + dh_fixperms -i + dh_installdeb -i + dh_gencontrol -i + dh_md5sums -i + dh_builddeb -i + +binary-arch: build install + dh_testdir -a + dh_testroot -a + dh_installchangelogs -a ChangeLog + dh_installdocs -a + dh_install -a + dh_desktop -a + dh_installmenu -a + dh_strip -a --dbg-package=aethyra-dbg + dh_compress -a + dh_fixperms -a + dh_installdeb -a + dh_shlibdeps -a + dh_gencontrol -a + dh_md5sums -a + dh_builddeb -a + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure diff --git a/packaging/debian/watch b/packaging/debian/watch new file mode 100644 index 00000000..5fd35272 --- /dev/null +++ b/packaging/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://aethyra.org/downloads/aethyra-(.*)\.tar\.gz diff --git a/packaging/windows/setup.nsi b/packaging/windows/setup.nsi index f6dfa798..71a75346 100644 --- a/packaging/windows/setup.nsi +++ b/packaging/windows/setup.nsi @@ -3,14 +3,14 @@ SetCompress off SetCompressor /SOLID lzma ;--- (and without !defines ) --- -!System "%ProgramFiles%\upx\upx.exe --best --crp-ms=999999 --compress-icons=0 --nrv2d tmw.exe" +!System "%ProgramFiles%\upx\upx.exe --best --crp-ms=999999 --compress-icons=0 --nrv2d aethyra.exe" ; HM NIS Edit helper defines -!define PRODUCT_NAME "The Mana World" -!define PRODUCT_VERSION "0.0.26" -!define PRODUCT_PUBLISHER "The Mana World Development Team" -!define PRODUCT_WEB_SITE "http://themanaworld.org" -!define PRODUCT_DIR_REGKEY "Software\Microsoft\Windows\CurrentVersion\App Paths\tmw.exe" +!define PRODUCT_NAME "Aethyra" +!define PRODUCT_VERSION "0.0.27" +!define PRODUCT_PUBLISHER "Aethyra Development Team" +!define PRODUCT_WEB_SITE "http://aethyra.org" +!define PRODUCT_DIR_REGKEY "Software\Microsoft\Windows\CurrentVersion\App Paths\aethyra.exe" !define PRODUCT_UNINST_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_NAME}" !define PRODUCT_UNINST_ROOT_KEY "HKLM" @@ -20,14 +20,14 @@ SetCompressor /SOLID lzma ; MUI Settings !define MUI_ABORTWARNING ;!define MUI_ICON "${NSISDIR}\Contrib\Graphics\Icons\win-install.ico" -!define MUI_ICON "data\icons\tmw.ico" +!define MUI_ICON "data\icons\aethyra.ico" ;!define MUI_UNICON "${NSISDIR}\Contrib\Graphics\Icons\win-uninstall.ico" -!define MUI_UNICON "data\icons\tmw.ico" +!define MUI_UNICON "data\icons\aethyra.ico" ;Language Selection Dialog Settings ;Remember the installer language !define MUI_LANGDLL_REGISTRY_ROOT "HKCU" -!define MUI_LANGDLL_REGISTRY_KEY "Software\The Mana World" +!define MUI_LANGDLL_REGISTRY_KEY "Software\Aethyra" !define MUI_LANGDLL_REGISTRY_VALUENAME "Installer Language" !define MUI_WELCOMEFINISHPAGE_BITMAP "setup_welcome.bmp" @@ -45,16 +45,16 @@ SetCompressor /SOLID lzma !insertmacro MUI_PAGE_INSTFILES ; Finish page !define MUI_FINISHPAGE_RUN -!define MUI_FINISHPAGE_RUN_FUNCTION RunTMW +!define MUI_FINISHPAGE_RUN_FUNCTION Runaethyra !define MUI_FINISHPAGE_SHOWREADME 'notepad.exe "$\"$INSTDIR\README$\""' !define MUI_PAGE_CUSTOMFUNCTION_PRE changeFinishBmp -!define MUI_FINISHPAGE_LINK "Visit TMW website for the latest news, FAQs and support" -!define MUI_FINISHPAGE_LINK_LOCATION "http://themanaworld.org" +!define MUI_FINISHPAGE_LINK "Visit the Aethyra website for the latest news, FAQs and support" +!define MUI_FINISHPAGE_LINK_LOCATION "http://aethyra.org" !insertmacro MUI_PAGE_FINISH -Function RunTMW +Function Runaethyra SetOutPath $INSTDIR -Exec "$INSTDIR\tmw.exe" +Exec "$INSTDIR\aethyra.exe" FunctionEnd Function changeFinishBmp @@ -126,8 +126,8 @@ ReserveFile "setup_finish.bmp" ; MUI end ------ Name "${PRODUCT_NAME} ${PRODUCT_VERSION}" -OutFile "tmw-${PRODUCT_VERSION}-win32.exe" -InstallDir "$PROGRAMFILES\The Mana World" +OutFile "aethyra-${PRODUCT_VERSION}-win32.exe" +InstallDir "$PROGRAMFILES\Aethyra" InstallDirRegKey HKLM "${PRODUCT_DIR_REGKEY}" "" ShowInstDetails show ShowUnInstDetails show @@ -142,9 +142,9 @@ Section "Core files (required)" SecCore SectionIn RO SetOutPath "$INSTDIR" SetOverwrite ifnewer - CreateDirectory "$SMPROGRAMS\The Mana World" - CreateShortCut "$SMPROGRAMS\The Mana World\The Mana World.lnk" "$INSTDIR\tmw.exe" - CreateShortCut "$DESKTOP\The Mana World.lnk" "$INSTDIR\tmw.exe" + CreateDirectory "$SMPROGRAMS\Aethyra" + CreateShortCut "$SMPROGRAMS\Aethyra\Aethyra.lnk" "$INSTDIR\aethyra.exe" + CreateShortCut "$DESKTOP\Aethyra.lnk" "$INSTDIR\aethyra.exe" CreateDirectory "$INSTDIR\data" CreateDirectory "$INSTDIR\data\graphics" CreateDirectory "$INSTDIR\data\help" @@ -162,7 +162,7 @@ Section "Core files (required)" SecCore SetOverwrite ifnewer SetOutPath "$INSTDIR" - File "tmw.exe" + File "aethyra.exe" File "*.dll" File "AUTHORS" File "ChangeLog" @@ -182,7 +182,7 @@ Section "Core files (required)" SecCore SetOutPath "$INSTDIR\data\help" File "data\help\*.txt" SetOutPath "$INSTDIR\data\icons\" - File "data\icons\tmw.ico" + File "data\icons\aethyra.ico" SetOutPath "$INSTDIR\data\music" File /nonfatal "data\music\*.ogg" SetOutPath "$INSTDIR\docs" @@ -191,18 +191,18 @@ SectionEnd Section -AdditionalIcons WriteIniStr "$INSTDIR\${PRODUCT_NAME}.url" "InternetShortcut" "URL" "${PRODUCT_WEB_SITE}" - CreateShortCut "$SMPROGRAMS\The Mana World\Website.lnk" "$INSTDIR\${PRODUCT_NAME}.url" - CreateShortCut "$SMPROGRAMS\The Mana World\Readme.lnk" "notepad.exe" "$INSTDIR\README" - CreateShortCut "$SMPROGRAMS\The Mana World\FAQ.lnk" "$INSTDIR\docs\FAQ.txt" - CreateShortCut "$SMPROGRAMS\The Mana World\Uninstall.lnk" "$INSTDIR\uninst.exe" + CreateShortCut "$SMPROGRAMS\Aethyra\Website.lnk" "$INSTDIR\${PRODUCT_NAME}.url" + CreateShortCut "$SMPROGRAMS\Aethyra\Readme.lnk" "notepad.exe" "$INSTDIR\README" + CreateShortCut "$SMPROGRAMS\Aethyra\FAQ.lnk" "$INSTDIR\docs\FAQ.txt" + CreateShortCut "$SMPROGRAMS\Aethyra\Uninstall.lnk" "$INSTDIR\uninst.exe" SectionEnd Section -Post WriteUninstaller "$INSTDIR\uninst.exe" - WriteRegStr HKLM "${PRODUCT_DIR_REGKEY}" "" "$INSTDIR\tmw.exe" + WriteRegStr HKLM "${PRODUCT_DIR_REGKEY}" "" "$INSTDIR\aethyra.exe" WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayName" "$(^Name)" WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "UninstallString" "$INSTDIR\uninst.exe" - WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayIcon" "$INSTDIR\tmw.exe" + WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayIcon" "$INSTDIR\aethyra.exe" WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayVersion" "${PRODUCT_VERSION}" WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "URLInfoAbout" "${PRODUCT_WEB_SITE}" WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "Publisher" "${PRODUCT_PUBLISHER}" @@ -213,18 +213,18 @@ Function un.onInit FunctionEnd Section Uninstall - DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\The Mana World" + DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Aethyra" Delete "$INSTDIR\*.*" - Delete "$SMPROGRAMS\The Mana World\Uninstall.lnk" - Delete "$DESKTOP\The Mana World.lnk" - Delete "$SMPROGRAMS\The Mana World\The Mana World.lnk" - Delete "$SMPROGRAMS\The Mana World\Website.lnk" - Delete "$SMPROGRAMS\The Mana World\Readme.lnk" - Delete "$SMPROGRAMS\The Mana World\FAQ.lnk" + Delete "$SMPROGRAMS\Aethyra\Uninstall.lnk" + Delete "$DESKTOP\Aethyra.lnk" + Delete "$SMPROGRAMS\Aethyra\Aethyra.lnk" + Delete "$SMPROGRAMS\Aethyra\Website.lnk" + Delete "$SMPROGRAMS\Aethyra\Readme.lnk" + Delete "$SMPROGRAMS\Aethyra\FAQ.lnk" - RMDir "$SMPROGRAMS\The Mana World" + RMDir "$SMPROGRAMS\Aethyra" RMDir /r "$INSTDIR\data" RMDir /r "$INSTDIR\docs" @@ -234,4 +234,4 @@ Section Uninstall DeleteRegKey ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" DeleteRegKey HKLM "${PRODUCT_DIR_REGKEY}" SetAutoClose true -SectionEnd \ No newline at end of file +SectionEnd -- cgit v1.2.3-60-g2f50 From 689dcee2ceabc28cedc4fbe582f48a197111c705 Mon Sep 17 00:00:00 2001 From: Ira Rice Date: Sat, 27 Dec 2008 00:18:20 -0700 Subject: Adapted setup.nsi to 0.0.27 and added instructions readme.txt explains a bit about how to build the Windows installer. Conflicts: packaging/windows/setup.nsi Signed-off-by: Ira Rice --- AethyraLin2WinXcompile.cbp | 6 +++++ packaging/windows/readme.txt | 15 ++++++++++++ packaging/windows/setup.nsi | 54 ++++++++++++++++++-------------------------- 3 files changed, 43 insertions(+), 32 deletions(-) create mode 100644 packaging/windows/readme.txt (limited to 'packaging') diff --git a/AethyraLin2WinXcompile.cbp b/AethyraLin2WinXcompile.cbp index e7164f0f..75b86127 100644 --- a/AethyraLin2WinXcompile.cbp +++ b/AethyraLin2WinXcompile.cbp @@ -88,6 +88,10 @@ + + + @@ -309,6 +313,8 @@ + + diff --git a/packaging/windows/readme.txt b/packaging/windows/readme.txt new file mode 100644 index 00000000..03a5717e --- /dev/null +++ b/packaging/windows/readme.txt @@ -0,0 +1,15 @@ +HOW TO BUILD THE INSTALLER + +First time setup + +* Install NSIS (http://nsis.sourceforge.net) +* Install UPX (http://upx.sourceforge.net/) + (the script expects upx to be in a "upx" subdirectory right here) + +Building the installer + +* Make sure TMW is compiled at the right version +* Make sure the correct DLLs are in place +* Make sure the latest music files are in place +* Make sure setup.nsi mentions the right TMW version +* Right-click setup.nsi and select "Compile NSIS Script" diff --git a/packaging/windows/setup.nsi b/packaging/windows/setup.nsi index 71a75346..cd01486d 100644 --- a/packaging/windows/setup.nsi +++ b/packaging/windows/setup.nsi @@ -2,8 +2,10 @@ CRCCheck on SetCompress off SetCompressor /SOLID lzma +!define AETHYRAROOT "..\.." + ;--- (and without !defines ) --- -!System "%ProgramFiles%\upx\upx.exe --best --crp-ms=999999 --compress-icons=0 --nrv2d aethyra.exe" +!System "upx\upx.exe --best --crp-ms=999999 --compress-icons=0 --nrv2d ${AETHYRAROOT}\aethyra.exe" ; HM NIS Edit helper defines !define PRODUCT_NAME "Aethyra" @@ -20,9 +22,9 @@ SetCompressor /SOLID lzma ; MUI Settings !define MUI_ABORTWARNING ;!define MUI_ICON "${NSISDIR}\Contrib\Graphics\Icons\win-install.ico" -!define MUI_ICON "data\icons\aethyra.ico" +!define MUI_ICON "${AETHYRAROOT}\data\icons\aethyra.ico" ;!define MUI_UNICON "${NSISDIR}\Contrib\Graphics\Icons\win-uninstall.ico" -!define MUI_UNICON "data\icons\aethyra.ico" +!define MUI_UNICON "${AETHYRAROOT}\data\icons\aethyra.ico" ;Language Selection Dialog Settings ;Remember the installer language @@ -38,7 +40,7 @@ SetCompressor /SOLID lzma !define MUI_WELCOMEPAGE_TITLE_3LINES !insertmacro MUI_PAGE_WELCOME ; License page -!insertmacro MUI_PAGE_LICENSE "COPYING" +!insertmacro MUI_PAGE_LICENSE "${AETHYRAROOT}\COPYING" ; Directory page !insertmacro MUI_PAGE_DIRECTORY ; Instfiles page @@ -47,7 +49,7 @@ SetCompressor /SOLID lzma !define MUI_FINISHPAGE_RUN !define MUI_FINISHPAGE_RUN_FUNCTION Runaethyra !define MUI_FINISHPAGE_SHOWREADME 'notepad.exe "$\"$INSTDIR\README$\""' -!define MUI_PAGE_CUSTOMFUNCTION_PRE changeFinishBmp +!define MUI_PAGE_CUSTOMFUNCTION_PRE changeFinishImage !define MUI_FINISHPAGE_LINK "Visit the Aethyra website for the latest news, FAQs and support" !define MUI_FINISHPAGE_LINK_LOCATION "http://aethyra.org" !insertmacro MUI_PAGE_FINISH @@ -57,7 +59,7 @@ SetOutPath $INSTDIR Exec "$INSTDIR\aethyra.exe" FunctionEnd -Function changeFinishBmp +Function changeFinishImage !insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 1" "Text" "$PLUGINSDIR\setup_finish.bmp" FunctionEnd @@ -149,44 +151,33 @@ Section "Core files (required)" SecCore CreateDirectory "$INSTDIR\data\graphics" CreateDirectory "$INSTDIR\data\help" CreateDirectory "$INSTDIR\data\icons" - CreateDirectory "$INSTDIR\data\maps" CreateDirectory "$INSTDIR\data\music" - CreateDirectory "$INSTDIR\data\sfx" CreateDirectory "$INSTDIR\data\graphics\gui" CreateDirectory "$INSTDIR\data\graphics\images" - CreateDirectory "$INSTDIR\data\graphics\items" - CreateDirectory "$INSTDIR\data\graphics\tiles" - CreateDirectory "$INSTDIR\data\graphics\images\ambient" CreateDirectory "$INSTDIR\docs" SetOverwrite ifnewer SetOutPath "$INSTDIR" - - File "aethyra.exe" - File "*.dll" - File "AUTHORS" - File "ChangeLog" - File "COPYING" - File "NEWS" - File "README" + + File "${AETHYRAROOT}\aethyra.exe" + File "${AETHYRAROOT}\*.dll" + File "${AETHYRAROOT}\AUTHORS" + File "${AETHYRAROOT}\COPYING" + File "${AETHYRAROOT}\NEWS" + File "${AETHYRAROOT}\README" SetOutPath "$INSTDIR\data\graphics\gui" - File "data\graphics\gui\*.png" - SetOutPath "$INSTDIR\data\graphics\images\ambient" - File /nonfatal "data\graphics\images\ambient\*.png" + File "${AETHYRAROOT}\data\graphics\gui\*.png" + File "${AETHYRAROOT}\data\graphics\gui\*.xml" SetOutPath "$INSTDIR\data\graphics\images" - File /x minimap_*.png data\graphics\images\*.png - SetOutPath "$INSTDIR\data\graphics\sprites" - File /nonfatal /x monster-*.png data\graphics\sprites\*.png - SetOutPath "$INSTDIR\data\graphics\tiles" - File /nonfatal "data\graphics\tiles\*.png" + File /x minimap_*.png ${AETHYRAROOT}\data\graphics\images\*.png SetOutPath "$INSTDIR\data\help" - File "data\help\*.txt" + File "${AETHYRAROOT}\data\help\*.txt" SetOutPath "$INSTDIR\data\icons\" - File "data\icons\aethyra.ico" + File "${AETHYRAROOT}\data\icons\aethyra.ico" SetOutPath "$INSTDIR\data\music" - File /nonfatal "data\music\*.ogg" + File /nonfatal "${AETHYRAROOT}\data\music\*.ogg" SetOutPath "$INSTDIR\docs" - File "docs\FAQ.txt" + File "${AETHYRAROOT}\docs\FAQ.txt" SectionEnd Section -AdditionalIcons @@ -225,7 +216,6 @@ Section Uninstall Delete "$SMPROGRAMS\Aethyra\FAQ.lnk" RMDir "$SMPROGRAMS\Aethyra" - RMDir /r "$INSTDIR\data" RMDir /r "$INSTDIR\docs" RMDir /r "$INSTDIR\updates" -- cgit v1.2.3-60-g2f50 From 6cf01b1bd92cfb9bb3b074b6a4976cbe99f965c2 Mon Sep 17 00:00:00 2001 From: Ira Rice Date: Mon, 5 Jan 2009 22:55:51 -0700 Subject: Removed a redundant directory, as well as got rid of Windows type newlines. Signed-off-by: Ira Rice --- debian/aethyra-data.install | 6 - debian/aethyra.docs | 6 - debian/aethyra.install | 5 - debian/aethyra.menu | 4 - debian/aethyra.sgml | 149 ----------- debian/aethyra.xpm | 312 ---------------------- packaging/debian/aethyra.xpm | 622 +++++++++++++++++++++---------------------- src/particle.h | 590 ++++++++++++++++++++-------------------- src/particleemitter.cpp | 6 +- 9 files changed, 609 insertions(+), 1091 deletions(-) delete mode 100644 debian/aethyra-data.install delete mode 100644 debian/aethyra.docs delete mode 100644 debian/aethyra.install delete mode 100644 debian/aethyra.menu delete mode 100644 debian/aethyra.sgml delete mode 100644 debian/aethyra.xpm (limited to 'packaging') diff --git a/debian/aethyra-data.install b/debian/aethyra-data.install deleted file mode 100644 index c652dff3..00000000 --- a/debian/aethyra-data.install +++ /dev/null @@ -1,6 +0,0 @@ -data/graphics/gui/*.png usr/share/games/aethyra/data/graphics/gui -data/graphics/gui/*.xml usr/share/games/aethyra/data/graphics/gui -data/graphics/images/*.png usr/share/games/aethyra/data/graphics/images -data/graphics/images/ambient/*.png usr/share/games/aethyra/data/graphics/images/ambient -data/graphics/tiles/*.png usr/share/games/aethyra/data/graphics/tiles -data/help/*.txt usr/share/games/aethyra/data/help diff --git a/debian/aethyra.docs b/debian/aethyra.docs deleted file mode 100644 index d622a527..00000000 --- a/debian/aethyra.docs +++ /dev/null @@ -1,6 +0,0 @@ -AUTHORS -NEWS -README -ChangeLog -docs/progression.txt -docs/FAQ.txt diff --git a/debian/aethyra.install b/debian/aethyra.install deleted file mode 100644 index 66ba5126..00000000 --- a/debian/aethyra.install +++ /dev/null @@ -1,5 +0,0 @@ -debian/aethyra.desktop usr/share/applications -debian/aethyra.xpm usr/share/pixmaps -data/icons/aethyra.png usr/share/icons -docs/aethyra.6 usr/share/man/man6 -src/aethyra usr/games diff --git a/debian/aethyra.menu b/debian/aethyra.menu deleted file mode 100644 index 42035107..00000000 --- a/debian/aethyra.menu +++ /dev/null @@ -1,4 +0,0 @@ -?package(aethyra):needs="X11" section="Games/Adventure"\ - title="Aethyra"\ - description="Aethyra is a 2D MMORPG using eAthena."\ - command="/usr/games/aethyra" icon="/usr/share/pixmaps/aethyra.xpm" diff --git a/debian/aethyra.sgml b/debian/aethyra.sgml deleted file mode 100644 index 0ed18199..00000000 --- a/debian/aethyra.sgml +++ /dev/null @@ -1,149 +0,0 @@ - manpage.1'. You may view - the manual page with: `docbook-to-man manpage.sgml | nroff -man | - less'. A typical entry in a Makefile or Makefile.am is: - -manpage.1: manpage.sgml - docbook-to-man $< > $@ - - - The docbook-to-man binary is found in the docbook-to-man package. - Please remember that if you create the nroff version in one of the - debian/rules file targets (such as build), you will need to include - docbook-to-man in your Build-Depends control field. - - --> - - - FERREIRA"> - Yohann"> - - avril 13, 2005"> - - 6"> - bertram@cegetel.net"> - - TMW"> - - - Debian"> - GNU"> - GPL"> -]> - - - -
- &dhemail; -
- - &dhfirstname; - &dhsurname; - - - 2003 - &dhusername; - - &dhdate; -
- - &dhucpackage; - - &dhsection; - - - &dhpackage; - - tmw is the abreviation of The Mana World : A Fantasy Online Game - - - - &dhpackage; - - - - DESCRIPTION - - This manual page documents briefly the - &dhpackage; ingame - commands. - &dhpackage; 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. - - - - COMMON KEYS - - Arrow Keys, Key Pad Keys (Diagonals Supported). -Move your character around. - -Left Ctrl : -Make your character attack. - -G : -Get Items on the ground or in a chest. - -Alt + 1...9 : -Shows an Emoticon above your character. - -Alt + I : -Shows / Hide Inventory Window. - -Alt + K : -Shows / Hide Skills Window. - -Alt + E : -Shows / Hide Equipment Window. - -Alt + C : -Shows Configuration Window. - - - - - SEE ALSO - - libguichan (2). - - The program is documented fully by The Mana World Team available via the - website http://www.manaworld.org/ - - - AUTHOR - - This manual page was written by &dhusername; &dhemail; for - the &debian; system (but may be used by others). Permission is - granted to copy, distribute and/or modify this document under - the terms of the &gnu; General Public License, Version 2 any - later version published by the Free Software Foundation. - - - On Debian systems, the complete text of the GNU General Public - License can be found in /usr/share/common-licenses/GPL. - - - -
- - - - diff --git a/debian/aethyra.xpm b/debian/aethyra.xpm deleted file mode 100644 index 515be72e..00000000 --- a/debian/aethyra.xpm +++ /dev/null @@ -1,312 +0,0 @@ -/* XPM */ -static char * Aethyra_xpm[] = { -"32 32 277 2", -" c None", -". c #840000", -"+ c #7E0000", -"@ c #4F0000", -"# c #810000", -"$ c #830000", -"% c #7B0000", -"& c #460000", -"* c #4C0000", -"= c #4B0000", -"- c #750000", -"; c #860000", -"> c #850000", -", c #5D0000", -"' c #490000", -") c #450000", -"! c #4A0000", -"~ c #440000", -"{ c #6A0000", -"] c #7A0000", -"^ c #8B0000", -"/ c #990000", -"( c #960000", -"_ c #720000", -": c #6E0000", -"< c #740000", -"[ c #6B0202", -"} c #550505", -"| c #420404", -"1 c #440101", -"2 c #4D0000", -"3 c #4E0000", -"4 c #480000", -"5 c #9D0000", -"6 c #9B0000", -"7 c #6F0000", -"8 c #710000", -"9 c #760000", -"0 c #680404", -"a c #4B0C0C", -"b c #3C0909", -"c c #470202", -"d c #450101", -"e c #500000", -"f c #510000", -"g c #790000", -"h c #890000", -"i c #920000", -"j c #710706", -"k c #7D381F", -"l c #934A1A", -"m c #7B1A09", -"n c #6B1609", -"o c #521E13", -"p c #4F2517", -"q c #5D230F", -"r c #4D0F04", -"s c #350A0A", -"t c #360909", -"u c #470303", -"v c #930000", -"w c #840202", -"x c #712C1C", -"y c #A58248", -"z c #866621", -"A c #835819", -"B c #98681F", -"C c #845C1D", -"D c #BB964A", -"E c #856225", -"F c #3D1B0B", -"G c #241818", -"H c #251717", -"I c #360A0A", -"J c #430000", -"K c #6C0000", -"L c #800000", -"M c #730404", -"N c #6A431E", -"O c #473C1C", -"P c #534420", -"Q c #806125", -"R c #53290B", -"S c #461C09", -"T c #BB9432", -"U c #65490F", -"V c #1F1110", -"W c #1A2323", -"X c #1A2222", -"Y c #261212", -"Z c #440202", -"` c #7F0000", -" . c #870000", -".. c #6D0505", -"+. c #422522", -"@. c #454434", -"#. c #A18744", -"$. c #8F7237", -"%. c #A37F48", -"&. c #AD8847", -"*. c #C6A657", -"=. c #644C14", -"-. c #211615", -";. c #1C2626", -">. c #1B2323", -",. c #231313", -"'. c #420202", -"). c #6C0404", -"!. c #532D23", -"~. c #A8915B", -"{. c #967C37", -"]. c #6E5926", -"^. c #453512", -"/. c #473713", -"(. c #A4832A", -"_. c #594310", -":. c #241F1E", -"<. c #232828", -"[. c #1C2020", -"}. c #241111", -"|. c #430202", -"1. c #7C5030", -"2. c #967C3D", -"3. c #3E3318", -"4. c #3D3930", -"5. c #454442", -"6. c #524D44", -"7. c #C09E45", -"8. c #654F17", -"9. c #262524", -"0. c #252929", -"a. c #410202", -"b. c #6B0302", -"c. c #A78041", -"d. c #6A5621", -"e. c #414543", -"f. c #696B6B", -"g. c #747676", -"h. c #7B7566", -"i. c #C9A84F", -"j. c #665017", -"k. c #282725", -"l. c #252A2A", -"m. c #1B2222", -"n. c #3D0202", -"o. c #750802", -"p. c #B48E41", -"q. c #564418", -"r. c #4A4B4B", -"s. c #6D6F6F", -"t. c #797A7A", -"u. c #867C62", -"v. c #AE9040", -"w. c #664F12", -"x. c #2D2A25", -"y. c #242828", -"z. c #1E1E1E", -"A. c #291010", -"B. c #400202", -"C. c #860B02", -"D. c #B78C32", -"E. c #594013", -"F. c #433E3E", -"G. c #606464", -"H. c #74736C", -"I. c #7C6D44", -"J. c #433719", -"K. c #413311", -"L. c #322F1E", -"M. c #1C2121", -"N. c #271212", -"O. c #3C0606", -"P. c #8C0200", -"Q. c #B5771D", -"R. c #765513", -"S. c #3F3636", -"T. c #555B5B", -"U. c #686969", -"V. c #5A5957", -"W. c #3C3832", -"X. c #403826", -"Y. c #2F3023", -"Z. c #1C1F1D", -"`. c #2E0A0A", -" + c #460101", -".+ c #8F0101", -"++ c #A03F0C", -"@+ c #AC7E19", -"#+ c #4B3625", -"$+ c #474747", -"%+ c #5B5C5A", -"&+ c #83775A", -"*+ c #8C7539", -"=+ c #67541F", -"-+ c #6B551C", -";+ c #8C6D24", -">+ c #4E1C09", -",+ c #4A0101", -"'+ c #8A0606", -")+ c #8D1203", -"!+ c #A76713", -"~+ c #87611B", -"{+ c #453A32", -"]+ c #52554E", -"^+ c #A38A45", -"/+ c #715818", -"(+ c #7A6424", -"_+ c #443212", -":+ c #947026", -"<+ c #7D4E11", -"[+ c #490400", -"}+ c #420000", -"|+ c #7F0808", -"1+ c #8B0101", -"2+ c #800F01", -"3+ c #915E11", -"4+ c #504F40", -"5+ c #4E4834", -"6+ c #5A4715", -"7+ c #5B4814", -"8+ c #382813", -"9+ c #917035", -"0+ c #533209", -"a+ c #3F0400", -"b+ c #8E0101", -"c+ c #8A0000", -"d+ c #671104", -"e+ c #663D12", -"f+ c #786023", -"g+ c #74612B", -"h+ c #665320", -"i+ c #675321", -"j+ c #785C24", -"k+ c #684718", -"l+ c #380B00", -"m+ c #400000", -"n+ c #8C0303", -"o+ c #8D0000", -"p+ c #780101", -"q+ c #510808", -"r+ c #291A16", -"s+ c #26291C", -"t+ c #2D2B18", -"u+ c #321F0E", -"v+ c #370A02", -"w+ c #3E0100", -"x+ c #850202", -"y+ c #600202", -"z+ c #331313", -"A+ c #1E2121", -"B+ c #1A1E1E", -"C+ c #270D0D", -"D+ c #470000", -"E+ c #7B0404", -"F+ c #720101", -"G+ c #4B0D0D", -"H+ c #2D1717", -"I+ c #261414", -"J+ c #380808", -"K+ c #7E0202", -"L+ c #5D0606", -"M+ c #3B0E0E", -"N+ c #300C0C", -"O+ c #430303", -"P+ c #7A0505", -"Q+ c #7C0000", -"R+ c #640404", -"S+ c #430D0D", -"T+ c #460202", -"U+ c #610505", -"V+ c #440E0E", -"W+ c #390B0B", -"X+ c #560202", -"Y+ c #480707", -"Z+ c #410505", -"`+ c #4B0101", -" @ c #480101", -" ", -" ", -" ", -" . + @ ", -" # $ % & * @ = ", -" - # ; > $ , ' ) ! @ * ~ ", -" { ] ^ / ( $ _ : < [ } | 1 ) ~ ' 2 2 3 3 4 ", -" ] ^ 5 6 . 7 8 9 0 a b c * d 4 e f @ 3 4 ", -" g h / i j k l m n o p q r s t u e 3 2 4 ", -" 8 > v w x y z A B C D E F G H I = @ ' J ", -" K L ^ M N O P Q R S T U V W X Y Z e ) ", -" ` ...+.@.#.$.%.&.*.=.-.;.>.,.'.e & ", -" ` . ).!.~.{.].^./.(._.:.<.[.}.|.@ 4 ", -" # [ 1.2.3.4.5.6.7.8.9.0.[.}.a.= ", -" ` b.c.d.e.f.g.h.i.j.k.l.m.,.n.) ", -" L o.p.q.r.s.t.u.v.w.x.y.z.A.B.~ ", -" ; C.D.E.F.G.H.I.J.K.L.M.N.O.4 ", -" P.Q.R.S.T.U.V.W.X.Y.Z.`. +2 ", -" .+++@+#+$+%+&+*+=+-+;+>+,+= ", -" '+)+!+~+{+]+^+/+(+_+:+<+[+}+ ", -" |+1+2+3+z 4+5+6+7+8+9+0+a+ ", -" b+c+d+e+f+g+h+i+j+k+l+m+ ", -" n+o+p+q+r+s+t+u+v+w+) ) ", -" x+` y+z+A+B+C+1 e D+ ", -" E+# F+G+H+I+J+3 @ ~ ", -" K+% L+M+N+O+e ' ", -" P+Q+R+S+I T+@ ) ", -" 9 U+V+W+u 2 ", -" X+Y+Z+ + ", -" * `+ @ ", -" ", -" "}; diff --git a/packaging/debian/aethyra.xpm b/packaging/debian/aethyra.xpm index 515be72e..25d3dc73 100644 --- a/packaging/debian/aethyra.xpm +++ b/packaging/debian/aethyra.xpm @@ -1,312 +1,312 @@ -/* XPM */ -static char * Aethyra_xpm[] = { -"32 32 277 2", -" c None", -". c #840000", -"+ c #7E0000", -"@ c #4F0000", -"# c #810000", -"$ c #830000", -"% c #7B0000", -"& c #460000", -"* c #4C0000", -"= c #4B0000", -"- c #750000", -"; c #860000", -"> c #850000", -", c #5D0000", -"' c #490000", -") c #450000", -"! c #4A0000", -"~ c #440000", -"{ c #6A0000", -"] c #7A0000", -"^ c #8B0000", -"/ c #990000", -"( c #960000", -"_ c #720000", -": c #6E0000", -"< c #740000", -"[ c #6B0202", -"} c #550505", -"| c #420404", -"1 c #440101", -"2 c #4D0000", -"3 c #4E0000", -"4 c #480000", -"5 c #9D0000", -"6 c #9B0000", -"7 c #6F0000", -"8 c #710000", -"9 c #760000", -"0 c #680404", -"a c #4B0C0C", -"b c #3C0909", -"c c #470202", -"d c #450101", -"e c #500000", -"f c #510000", -"g c #790000", -"h c #890000", -"i c #920000", -"j c #710706", -"k c #7D381F", -"l c #934A1A", -"m c #7B1A09", -"n c #6B1609", -"o c #521E13", -"p c #4F2517", -"q c #5D230F", -"r c #4D0F04", -"s c #350A0A", -"t c #360909", -"u c #470303", -"v c #930000", -"w c #840202", -"x c #712C1C", -"y c #A58248", -"z c #866621", -"A c #835819", -"B c #98681F", -"C c #845C1D", -"D c #BB964A", -"E c #856225", -"F c #3D1B0B", -"G c #241818", -"H c #251717", -"I c #360A0A", -"J c #430000", -"K c #6C0000", -"L c #800000", -"M c #730404", -"N c #6A431E", -"O c #473C1C", -"P c #534420", -"Q c #806125", -"R c #53290B", -"S c #461C09", -"T c #BB9432", -"U c #65490F", -"V c #1F1110", -"W c #1A2323", -"X c #1A2222", -"Y c #261212", -"Z c #440202", -"` c #7F0000", -" . c #870000", -".. c #6D0505", -"+. c #422522", -"@. c #454434", -"#. c #A18744", -"$. c #8F7237", -"%. c #A37F48", -"&. c #AD8847", -"*. c #C6A657", -"=. c #644C14", -"-. c #211615", -";. c #1C2626", -">. c #1B2323", -",. c #231313", -"'. c #420202", -"). c #6C0404", -"!. c #532D23", -"~. c #A8915B", -"{. c #967C37", -"]. c #6E5926", -"^. c #453512", -"/. c #473713", -"(. c #A4832A", -"_. c #594310", -":. c #241F1E", -"<. c #232828", -"[. c #1C2020", -"}. c #241111", -"|. c #430202", -"1. c #7C5030", -"2. c #967C3D", -"3. c #3E3318", -"4. c #3D3930", -"5. c #454442", -"6. c #524D44", -"7. c #C09E45", -"8. c #654F17", -"9. c #262524", -"0. c #252929", -"a. c #410202", -"b. c #6B0302", -"c. c #A78041", -"d. c #6A5621", -"e. c #414543", -"f. c #696B6B", -"g. c #747676", -"h. c #7B7566", -"i. c #C9A84F", -"j. c #665017", -"k. c #282725", -"l. c #252A2A", -"m. c #1B2222", -"n. c #3D0202", -"o. c #750802", -"p. c #B48E41", -"q. c #564418", -"r. c #4A4B4B", -"s. c #6D6F6F", -"t. c #797A7A", -"u. c #867C62", -"v. c #AE9040", -"w. c #664F12", -"x. c #2D2A25", -"y. c #242828", -"z. c #1E1E1E", -"A. c #291010", -"B. c #400202", -"C. c #860B02", -"D. c #B78C32", -"E. c #594013", -"F. c #433E3E", -"G. c #606464", -"H. c #74736C", -"I. c #7C6D44", -"J. c #433719", -"K. c #413311", -"L. c #322F1E", -"M. c #1C2121", -"N. c #271212", -"O. c #3C0606", -"P. c #8C0200", -"Q. c #B5771D", -"R. c #765513", -"S. c #3F3636", -"T. c #555B5B", -"U. c #686969", -"V. c #5A5957", -"W. c #3C3832", -"X. c #403826", -"Y. c #2F3023", -"Z. c #1C1F1D", -"`. c #2E0A0A", -" + c #460101", -".+ c #8F0101", -"++ c #A03F0C", -"@+ c #AC7E19", -"#+ c #4B3625", -"$+ c #474747", -"%+ c #5B5C5A", -"&+ c #83775A", -"*+ c #8C7539", -"=+ c #67541F", -"-+ c #6B551C", -";+ c #8C6D24", -">+ c #4E1C09", -",+ c #4A0101", -"'+ c #8A0606", -")+ c #8D1203", -"!+ c #A76713", -"~+ c #87611B", -"{+ c #453A32", -"]+ c #52554E", -"^+ c #A38A45", -"/+ c #715818", -"(+ c #7A6424", -"_+ c #443212", -":+ c #947026", -"<+ c #7D4E11", -"[+ c #490400", -"}+ c #420000", -"|+ c #7F0808", -"1+ c #8B0101", -"2+ c #800F01", -"3+ c #915E11", -"4+ c #504F40", -"5+ c #4E4834", -"6+ c #5A4715", -"7+ c #5B4814", -"8+ c #382813", -"9+ c #917035", -"0+ c #533209", -"a+ c #3F0400", -"b+ c #8E0101", -"c+ c #8A0000", -"d+ c #671104", -"e+ c #663D12", -"f+ c #786023", -"g+ c #74612B", -"h+ c #665320", -"i+ c #675321", -"j+ c #785C24", -"k+ c #684718", -"l+ c #380B00", -"m+ c #400000", -"n+ c #8C0303", -"o+ c #8D0000", -"p+ c #780101", -"q+ c #510808", -"r+ c #291A16", -"s+ c #26291C", -"t+ c #2D2B18", -"u+ c #321F0E", -"v+ c #370A02", -"w+ c #3E0100", -"x+ c #850202", -"y+ c #600202", -"z+ c #331313", -"A+ c #1E2121", -"B+ c #1A1E1E", -"C+ c #270D0D", -"D+ c #470000", -"E+ c #7B0404", -"F+ c #720101", -"G+ c #4B0D0D", -"H+ c #2D1717", -"I+ c #261414", -"J+ c #380808", -"K+ c #7E0202", -"L+ c #5D0606", -"M+ c #3B0E0E", -"N+ c #300C0C", -"O+ c #430303", -"P+ c #7A0505", -"Q+ c #7C0000", -"R+ c #640404", -"S+ c #430D0D", -"T+ c #460202", -"U+ c #610505", -"V+ c #440E0E", -"W+ c #390B0B", -"X+ c #560202", -"Y+ c #480707", -"Z+ c #410505", -"`+ c #4B0101", -" @ c #480101", -" ", -" ", -" ", -" . + @ ", -" # $ % & * @ = ", -" - # ; > $ , ' ) ! @ * ~ ", -" { ] ^ / ( $ _ : < [ } | 1 ) ~ ' 2 2 3 3 4 ", -" ] ^ 5 6 . 7 8 9 0 a b c * d 4 e f @ 3 4 ", -" g h / i j k l m n o p q r s t u e 3 2 4 ", -" 8 > v w x y z A B C D E F G H I = @ ' J ", -" K L ^ M N O P Q R S T U V W X Y Z e ) ", -" ` ...+.@.#.$.%.&.*.=.-.;.>.,.'.e & ", -" ` . ).!.~.{.].^./.(._.:.<.[.}.|.@ 4 ", -" # [ 1.2.3.4.5.6.7.8.9.0.[.}.a.= ", -" ` b.c.d.e.f.g.h.i.j.k.l.m.,.n.) ", -" L o.p.q.r.s.t.u.v.w.x.y.z.A.B.~ ", -" ; C.D.E.F.G.H.I.J.K.L.M.N.O.4 ", -" P.Q.R.S.T.U.V.W.X.Y.Z.`. +2 ", -" .+++@+#+$+%+&+*+=+-+;+>+,+= ", -" '+)+!+~+{+]+^+/+(+_+:+<+[+}+ ", -" |+1+2+3+z 4+5+6+7+8+9+0+a+ ", -" b+c+d+e+f+g+h+i+j+k+l+m+ ", -" n+o+p+q+r+s+t+u+v+w+) ) ", -" x+` y+z+A+B+C+1 e D+ ", -" E+# F+G+H+I+J+3 @ ~ ", -" K+% L+M+N+O+e ' ", -" P+Q+R+S+I T+@ ) ", -" 9 U+V+W+u 2 ", -" X+Y+Z+ + ", -" * `+ @ ", -" ", +/* XPM */ +static char * Aethyra_xpm[] = { +"32 32 277 2", +" c None", +". c #840000", +"+ c #7E0000", +"@ c #4F0000", +"# c #810000", +"$ c #830000", +"% c #7B0000", +"& c #460000", +"* c #4C0000", +"= c #4B0000", +"- c #750000", +"; c #860000", +"> c #850000", +", c #5D0000", +"' c #490000", +") c #450000", +"! c #4A0000", +"~ c #440000", +"{ c #6A0000", +"] c #7A0000", +"^ c #8B0000", +"/ c #990000", +"( c #960000", +"_ c #720000", +": c #6E0000", +"< c #740000", +"[ c #6B0202", +"} c #550505", +"| c #420404", +"1 c #440101", +"2 c #4D0000", +"3 c #4E0000", +"4 c #480000", +"5 c #9D0000", +"6 c #9B0000", +"7 c #6F0000", +"8 c #710000", +"9 c #760000", +"0 c #680404", +"a c #4B0C0C", +"b c #3C0909", +"c c #470202", +"d c #450101", +"e c #500000", +"f c #510000", +"g c #790000", +"h c #890000", +"i c #920000", +"j c #710706", +"k c #7D381F", +"l c #934A1A", +"m c #7B1A09", +"n c #6B1609", +"o c #521E13", +"p c #4F2517", +"q c #5D230F", +"r c #4D0F04", +"s c #350A0A", +"t c #360909", +"u c #470303", +"v c #930000", +"w c #840202", +"x c #712C1C", +"y c #A58248", +"z c #866621", +"A c #835819", +"B c #98681F", +"C c #845C1D", +"D c #BB964A", +"E c #856225", +"F c #3D1B0B", +"G c #241818", +"H c #251717", +"I c #360A0A", +"J c #430000", +"K c #6C0000", +"L c #800000", +"M c #730404", +"N c #6A431E", +"O c #473C1C", +"P c #534420", +"Q c #806125", +"R c #53290B", +"S c #461C09", +"T c #BB9432", +"U c #65490F", +"V c #1F1110", +"W c #1A2323", +"X c #1A2222", +"Y c #261212", +"Z c #440202", +"` c #7F0000", +" . c #870000", +".. c #6D0505", +"+. c #422522", +"@. c #454434", +"#. c #A18744", +"$. c #8F7237", +"%. c #A37F48", +"&. c #AD8847", +"*. c #C6A657", +"=. c #644C14", +"-. c #211615", +";. c #1C2626", +">. c #1B2323", +",. c #231313", +"'. c #420202", +"). c #6C0404", +"!. c #532D23", +"~. c #A8915B", +"{. c #967C37", +"]. c #6E5926", +"^. c #453512", +"/. c #473713", +"(. c #A4832A", +"_. c #594310", +":. c #241F1E", +"<. c #232828", +"[. c #1C2020", +"}. c #241111", +"|. c #430202", +"1. c #7C5030", +"2. c #967C3D", +"3. c #3E3318", +"4. c #3D3930", +"5. c #454442", +"6. c #524D44", +"7. c #C09E45", +"8. c #654F17", +"9. c #262524", +"0. c #252929", +"a. c #410202", +"b. c #6B0302", +"c. c #A78041", +"d. c #6A5621", +"e. c #414543", +"f. c #696B6B", +"g. c #747676", +"h. c #7B7566", +"i. c #C9A84F", +"j. c #665017", +"k. c #282725", +"l. c #252A2A", +"m. c #1B2222", +"n. c #3D0202", +"o. c #750802", +"p. c #B48E41", +"q. c #564418", +"r. c #4A4B4B", +"s. c #6D6F6F", +"t. c #797A7A", +"u. c #867C62", +"v. c #AE9040", +"w. c #664F12", +"x. c #2D2A25", +"y. c #242828", +"z. c #1E1E1E", +"A. c #291010", +"B. c #400202", +"C. c #860B02", +"D. c #B78C32", +"E. c #594013", +"F. c #433E3E", +"G. c #606464", +"H. c #74736C", +"I. c #7C6D44", +"J. c #433719", +"K. c #413311", +"L. c #322F1E", +"M. c #1C2121", +"N. c #271212", +"O. c #3C0606", +"P. c #8C0200", +"Q. c #B5771D", +"R. c #765513", +"S. c #3F3636", +"T. c #555B5B", +"U. c #686969", +"V. c #5A5957", +"W. c #3C3832", +"X. c #403826", +"Y. c #2F3023", +"Z. c #1C1F1D", +"`. c #2E0A0A", +" + c #460101", +".+ c #8F0101", +"++ c #A03F0C", +"@+ c #AC7E19", +"#+ c #4B3625", +"$+ c #474747", +"%+ c #5B5C5A", +"&+ c #83775A", +"*+ c #8C7539", +"=+ c #67541F", +"-+ c #6B551C", +";+ c #8C6D24", +">+ c #4E1C09", +",+ c #4A0101", +"'+ c #8A0606", +")+ c #8D1203", +"!+ c #A76713", +"~+ c #87611B", +"{+ c #453A32", +"]+ c #52554E", +"^+ c #A38A45", +"/+ c #715818", +"(+ c #7A6424", +"_+ c #443212", +":+ c #947026", +"<+ c #7D4E11", +"[+ c #490400", +"}+ c #420000", +"|+ c #7F0808", +"1+ c #8B0101", +"2+ c #800F01", +"3+ c #915E11", +"4+ c #504F40", +"5+ c #4E4834", +"6+ c #5A4715", +"7+ c #5B4814", +"8+ c #382813", +"9+ c #917035", +"0+ c #533209", +"a+ c #3F0400", +"b+ c #8E0101", +"c+ c #8A0000", +"d+ c #671104", +"e+ c #663D12", +"f+ c #786023", +"g+ c #74612B", +"h+ c #665320", +"i+ c #675321", +"j+ c #785C24", +"k+ c #684718", +"l+ c #380B00", +"m+ c #400000", +"n+ c #8C0303", +"o+ c #8D0000", +"p+ c #780101", +"q+ c #510808", +"r+ c #291A16", +"s+ c #26291C", +"t+ c #2D2B18", +"u+ c #321F0E", +"v+ c #370A02", +"w+ c #3E0100", +"x+ c #850202", +"y+ c #600202", +"z+ c #331313", +"A+ c #1E2121", +"B+ c #1A1E1E", +"C+ c #270D0D", +"D+ c #470000", +"E+ c #7B0404", +"F+ c #720101", +"G+ c #4B0D0D", +"H+ c #2D1717", +"I+ c #261414", +"J+ c #380808", +"K+ c #7E0202", +"L+ c #5D0606", +"M+ c #3B0E0E", +"N+ c #300C0C", +"O+ c #430303", +"P+ c #7A0505", +"Q+ c #7C0000", +"R+ c #640404", +"S+ c #430D0D", +"T+ c #460202", +"U+ c #610505", +"V+ c #440E0E", +"W+ c #390B0B", +"X+ c #560202", +"Y+ c #480707", +"Z+ c #410505", +"`+ c #4B0101", +" @ c #480101", +" ", +" ", +" ", +" . + @ ", +" # $ % & * @ = ", +" - # ; > $ , ' ) ! @ * ~ ", +" { ] ^ / ( $ _ : < [ } | 1 ) ~ ' 2 2 3 3 4 ", +" ] ^ 5 6 . 7 8 9 0 a b c * d 4 e f @ 3 4 ", +" g h / i j k l m n o p q r s t u e 3 2 4 ", +" 8 > v w x y z A B C D E F G H I = @ ' J ", +" K L ^ M N O P Q R S T U V W X Y Z e ) ", +" ` ...+.@.#.$.%.&.*.=.-.;.>.,.'.e & ", +" ` . ).!.~.{.].^./.(._.:.<.[.}.|.@ 4 ", +" # [ 1.2.3.4.5.6.7.8.9.0.[.}.a.= ", +" ` b.c.d.e.f.g.h.i.j.k.l.m.,.n.) ", +" L o.p.q.r.s.t.u.v.w.x.y.z.A.B.~ ", +" ; C.D.E.F.G.H.I.J.K.L.M.N.O.4 ", +" P.Q.R.S.T.U.V.W.X.Y.Z.`. +2 ", +" .+++@+#+$+%+&+*+=+-+;+>+,+= ", +" '+)+!+~+{+]+^+/+(+_+:+<+[+}+ ", +" |+1+2+3+z 4+5+6+7+8+9+0+a+ ", +" b+c+d+e+f+g+h+i+j+k+l+m+ ", +" n+o+p+q+r+s+t+u+v+w+) ) ", +" x+` y+z+A+B+C+1 e D+ ", +" E+# F+G+H+I+J+3 @ ~ ", +" K+% L+M+N+O+e ' ", +" P+Q+R+S+I T+@ ) ", +" 9 U+V+W+u 2 ", +" X+Y+Z+ + ", +" * `+ @ ", +" ", " "}; diff --git a/src/particle.h b/src/particle.h index 41d7df97..e1ea92d9 100644 --- a/src/particle.h +++ b/src/particle.h @@ -1,296 +1,296 @@ -/* - * The Mana World - * Copyright 2006 The Mana World Development Team - * - * This file is part of The Mana World. - * - * The Mana World 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 - * any later version. - * - * The Mana World 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 The Mana World; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -#ifndef _PARTICLE_H -#define _PARTICLE_H - -#include -#include - -#include - -#include "guichanfwd.h" -#include "sprite.h" -#include "vector.h" - -class Map; -class Particle; -class ParticleEmitter; - -typedef std::list Particles; -typedef Particles::iterator ParticleIterator; -typedef std::list Emitters; -typedef Emitters::iterator EmitterIterator; - -/** - * A particle spawned by a ParticleEmitter. - */ -class Particle : public Sprite -{ - public: - static const float PARTICLE_SKY; /**< Maximum Z position of particles */ - static int fastPhysics; /**< Mode of squareroot calculation */ - static int particleCount; /**< Current number of particles */ - static int maxCount; /**< Maximum number of particles */ - static int emitterSkip; /**< Duration of pause between two emitter updates in ticks */ - - /** - * Constructor. - * - * @param map the map this particle will add itself to, may be NULL - */ - Particle(Map *map); - - /** - * Destructor. - */ - ~Particle(); - - /** - * Deletes all child particles and emitters. - */ - void clear(); - - /** - * Gives a particle the properties of an engine root particle and loads - * the particle-related config settings. - */ - void setupEngine(); - - /** - * Updates particle position, returns false when the particle should - * be deleted. - */ - virtual bool update(); - - /** - * Draws the particle image. - */ - virtual void draw(Graphics *graphics, int offsetX, int offsetY) const; - - /** - * Necessary for sorting with the other sprites. - */ - virtual int getPixelY() const - { return (int) (mPos.y + mPos.z) - 64; } - - /** - * Sets the map the particle is on. - */ - void setMap(Map *map); - - /** - * Creates a child particle that hosts some emitters described in the - * particleEffectFile. - */ - Particle *addEffect(const std::string &particleEffectFile, - int pixelX, int pixelY, int rotation = 0); - - /** - * Creates a standalone text particle. - */ - Particle *addTextSplashEffect(const std::string &text, - int colorR, int colorG, int colorB, - gcn::Font *font, int x, int y); - - /** - * Creates a standalone text particle. - */ - Particle *addTextRiseFadeOutEffect(const std::string &text, - gcn::Font *font, - int x, int y); - - /** - * Adds an emitter to the particle. - */ - void addEmitter (ParticleEmitter* emitter) - { mChildEmitters.push_back(emitter); } - - /** - * Sets the position in 3 dimensional space in pixels relative to map. - */ - void moveTo(const Vector &pos) - { moveBy (pos - mPos);} - - /** - * Sets the position in 2 dimensional space in pixels relative to map. - */ - void moveTo(float x, float y); - - /** - * Returns the particle position. - */ - const Vector& getPosition() const - { return mPos; } - - /** - * Changes the particle position relative - */ - void moveBy (const Vector &change); - - /** - * Sets the time in game ticks until the particle is destroyed. - */ - void setLifetime(int lifetime) - { mLifetimeLeft = lifetime; mLifetimePast = 0; } - - /** - * Sets the age of the pixel in game ticks where the particle has - * faded in completely. - */ - void setFadeOut(int fadeOut) - { mFadeOut = fadeOut; } - - /** - * Sets the remaining particle lifetime where the particle starts to - * fade out. - */ - void setFadeIn(int fadeIn) - { mFadeIn = fadeIn; } - - /** - * Sets the alpha value of the particle - */ - void setAlpha(float alpha) - { mAlpha = alpha; } - - /** - * Sets the sprite iterator of the particle on the current map to make - * it easier to remove the particle from the map when it is destroyed. - */ - void setSpriteIterator(std::list::iterator spriteIterator) - { mSpriteIterator = spriteIterator; } - - /** - * Gets the sprite iterator of the particle on the current map. - */ - std::list::iterator - getSpriteIterator() const - { return mSpriteIterator; } - - /** - * Sets the current velocity in 3 dimensional space. - */ - void setVelocity(float x, float y, float z) - { mVelocity.x = x; mVelocity.y = y; mVelocity.z = z; } - - /** - * Sets the downward acceleration. - */ - void setGravity(float gravity) - { mGravity = gravity; } - - /** - * Sets the ammount of random vector changes - */ - void setRandomness(int r) - { mRandomness = r; } - - /** - * Sets the ammount of velocity particles retain after - * hitting the ground. - */ - void setBounce(float bouncieness) - { mBounce = bouncieness; } - - /** - * Sets the flag if the particle is supposed to be moved by its parent - */ - void setFollow(bool follow) - { mFollow = follow; } - - /** - * Gets the flag if the particle is supposed to be moved by its parent - */ - bool doesFollow() - { return mFollow; } - - /** - * Makes the particle move toward another particle with a - * given acceleration and momentum - */ - void setDestination(Particle *target, float accel, float moment) - { mTarget = target; mAcceleration = accel; mMomentum = moment; } - - /** - * Sets the distance in pixel the particle can come near the target - * particle before it is destroyed. Does only make sense after a target - * particle has been set using setDestination. - */ - void setDieDistance(float dist) - { mInvDieDistance = 1.0f / dist; } - - bool isAlive() - { return mAlive; } - - /** - * Determines whether the particle and its children are all dead - */ - bool isExtinct() - { return !isAlive() && mChildParticles.empty(); } - - /** - * Manually marks the particle for deletion. - */ - void kill() - { mAlive = false; mAutoDelete = true; } - - /** - * After calling this function the particle will only request - * deletion when kill() is called - */ - void disableAutoDelete() - { mAutoDelete = false; } - - protected: - bool mAlive; /**< Is the particle supposed to be drawn and updated?*/ - Vector mPos; /**< Position in pixels relative to map. */ - int mLifetimeLeft; /**< Lifetime left in game ticks*/ - int mLifetimePast; /**< Age of the particle in game ticks*/ - int mFadeOut; /**< Lifetime in game ticks left where fading out begins*/ - int mFadeIn; /**< Age in game ticks where fading in is finished*/ - float mAlpha; /**< Opacity of the graphical representation of the particle */ - - private: - // generic properties - bool mAutoDelete; /**< May the particle request its deletion by the parent particle? */ - Map *mMap; /**< Map the particle is on. */ - std::list::iterator mSpriteIterator; /**< iterator of the particle on the current map */ - Emitters mChildEmitters; /**< List of child emitters. */ - Particles mChildParticles; /**< List of particles controlled by this particle */ - - // dynamic particle - Vector mVelocity; /**< Speed in pixels per game-tick. */ - float mGravity; /**< Downward acceleration in pixels per game-tick. */ - int mRandomness; /**< Ammount of random vector change */ - float mBounce; /**< How much the particle bounces off when hitting the ground */ - bool mFollow; /**< is this particle moved when its parent particle moves? */ - - // follow-point particles - Particle *mTarget; /**< The particle that attracts this particle*/ - float mAcceleration; /**< Acceleration towards the target particle in pixels per game-tick²*/ - float mInvDieDistance; /**< Distance in pixels from the target particle that causes the destruction of the particle*/ - float mMomentum; /**< How much speed the particle retains after each game tick*/ -}; - -extern Particle *particleEngine; - +/* + * The Mana World + * Copyright 2006 The Mana World Development Team + * + * This file is part of The Mana World. + * + * The Mana World 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 + * any later version. + * + * The Mana World 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 The Mana World; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + +#ifndef _PARTICLE_H +#define _PARTICLE_H + +#include +#include + +#include + +#include "guichanfwd.h" +#include "sprite.h" +#include "vector.h" + +class Map; +class Particle; +class ParticleEmitter; + +typedef std::list Particles; +typedef Particles::iterator ParticleIterator; +typedef std::list Emitters; +typedef Emitters::iterator EmitterIterator; + +/** + * A particle spawned by a ParticleEmitter. + */ +class Particle : public Sprite +{ + public: + static const float PARTICLE_SKY; /**< Maximum Z position of particles */ + static int fastPhysics; /**< Mode of squareroot calculation */ + static int particleCount; /**< Current number of particles */ + static int maxCount; /**< Maximum number of particles */ + static int emitterSkip; /**< Duration of pause between two emitter updates in ticks */ + + /** + * Constructor. + * + * @param map the map this particle will add itself to, may be NULL + */ + Particle(Map *map); + + /** + * Destructor. + */ + ~Particle(); + + /** + * Deletes all child particles and emitters. + */ + void clear(); + + /** + * Gives a particle the properties of an engine root particle and loads + * the particle-related config settings. + */ + void setupEngine(); + + /** + * Updates particle position, returns false when the particle should + * be deleted. + */ + virtual bool update(); + + /** + * Draws the particle image. + */ + virtual void draw(Graphics *graphics, int offsetX, int offsetY) const; + + /** + * Necessary for sorting with the other sprites. + */ + virtual int getPixelY() const + { return (int) (mPos.y + mPos.z) - 64; } + + /** + * Sets the map the particle is on. + */ + void setMap(Map *map); + + /** + * Creates a child particle that hosts some emitters described in the + * particleEffectFile. + */ + Particle *addEffect(const std::string &particleEffectFile, + int pixelX, int pixelY, int rotation = 0); + + /** + * Creates a standalone text particle. + */ + Particle *addTextSplashEffect(const std::string &text, + int colorR, int colorG, int colorB, + gcn::Font *font, int x, int y); + + /** + * Creates a standalone text particle. + */ + Particle *addTextRiseFadeOutEffect(const std::string &text, + gcn::Font *font, + int x, int y); + + /** + * Adds an emitter to the particle. + */ + void addEmitter (ParticleEmitter* emitter) + { mChildEmitters.push_back(emitter); } + + /** + * Sets the position in 3 dimensional space in pixels relative to map. + */ + void moveTo(const Vector &pos) + { moveBy (pos - mPos);} + + /** + * Sets the position in 2 dimensional space in pixels relative to map. + */ + void moveTo(float x, float y); + + /** + * Returns the particle position. + */ + const Vector& getPosition() const + { return mPos; } + + /** + * Changes the particle position relative + */ + void moveBy (const Vector &change); + + /** + * Sets the time in game ticks until the particle is destroyed. + */ + void setLifetime(int lifetime) + { mLifetimeLeft = lifetime; mLifetimePast = 0; } + + /** + * Sets the age of the pixel in game ticks where the particle has + * faded in completely. + */ + void setFadeOut(int fadeOut) + { mFadeOut = fadeOut; } + + /** + * Sets the remaining particle lifetime where the particle starts to + * fade out. + */ + void setFadeIn(int fadeIn) + { mFadeIn = fadeIn; } + + /** + * Sets the alpha value of the particle + */ + void setAlpha(float alpha) + { mAlpha = alpha; } + + /** + * Sets the sprite iterator of the particle on the current map to make + * it easier to remove the particle from the map when it is destroyed. + */ + void setSpriteIterator(std::list::iterator spriteIterator) + { mSpriteIterator = spriteIterator; } + + /** + * Gets the sprite iterator of the particle on the current map. + */ + std::list::iterator + getSpriteIterator() const + { return mSpriteIterator; } + + /** + * Sets the current velocity in 3 dimensional space. + */ + void setVelocity(float x, float y, float z) + { mVelocity.x = x; mVelocity.y = y; mVelocity.z = z; } + + /** + * Sets the downward acceleration. + */ + void setGravity(float gravity) + { mGravity = gravity; } + + /** + * Sets the ammount of random vector changes + */ + void setRandomness(int r) + { mRandomness = r; } + + /** + * Sets the ammount of velocity particles retain after + * hitting the ground. + */ + void setBounce(float bouncieness) + { mBounce = bouncieness; } + + /** + * Sets the flag if the particle is supposed to be moved by its parent + */ + void setFollow(bool follow) + { mFollow = follow; } + + /** + * Gets the flag if the particle is supposed to be moved by its parent + */ + bool doesFollow() + { return mFollow; } + + /** + * Makes the particle move toward another particle with a + * given acceleration and momentum + */ + void setDestination(Particle *target, float accel, float moment) + { mTarget = target; mAcceleration = accel; mMomentum = moment; } + + /** + * Sets the distance in pixel the particle can come near the target + * particle before it is destroyed. Does only make sense after a target + * particle has been set using setDestination. + */ + void setDieDistance(float dist) + { mInvDieDistance = 1.0f / dist; } + + bool isAlive() + { return mAlive; } + + /** + * Determines whether the particle and its children are all dead + */ + bool isExtinct() + { return !isAlive() && mChildParticles.empty(); } + + /** + * Manually marks the particle for deletion. + */ + void kill() + { mAlive = false; mAutoDelete = true; } + + /** + * After calling this function the particle will only request + * deletion when kill() is called + */ + void disableAutoDelete() + { mAutoDelete = false; } + + protected: + bool mAlive; /**< Is the particle supposed to be drawn and updated?*/ + Vector mPos; /**< Position in pixels relative to map. */ + int mLifetimeLeft; /**< Lifetime left in game ticks*/ + int mLifetimePast; /**< Age of the particle in game ticks*/ + int mFadeOut; /**< Lifetime in game ticks left where fading out begins*/ + int mFadeIn; /**< Age in game ticks where fading in is finished*/ + float mAlpha; /**< Opacity of the graphical representation of the particle */ + + private: + // generic properties + bool mAutoDelete; /**< May the particle request its deletion by the parent particle? */ + Map *mMap; /**< Map the particle is on. */ + std::list::iterator mSpriteIterator; /**< iterator of the particle on the current map */ + Emitters mChildEmitters; /**< List of child emitters. */ + Particles mChildParticles; /**< List of particles controlled by this particle */ + + // dynamic particle + Vector mVelocity; /**< Speed in pixels per game-tick. */ + float mGravity; /**< Downward acceleration in pixels per game-tick. */ + int mRandomness; /**< Ammount of random vector change */ + float mBounce; /**< How much the particle bounces off when hitting the ground */ + bool mFollow; /**< is this particle moved when its parent particle moves? */ + + // follow-point particles + Particle *mTarget; /**< The particle that attracts this particle*/ + float mAcceleration; /**< Acceleration towards the target particle in pixels per game-tick²*/ + float mInvDieDistance; /**< Distance in pixels from the target particle that causes the destruction of the particle*/ + float mMomentum; /**< How much speed the particle retains after each game tick*/ +}; + +extern Particle *particleEngine; + #endif diff --git a/src/particleemitter.cpp b/src/particleemitter.cpp index 2a4e4c8a..bdfaa5ba 100644 --- a/src/particleemitter.cpp +++ b/src/particleemitter.cpp @@ -360,9 +360,9 @@ ParticleEmitter::createParticles(int tick) { newParticle = new Particle(mMap); } - - Vector position(mParticlePosX.value(tick), - mParticlePosY.value(tick), + + Vector position(mParticlePosX.value(tick), + mParticlePosY.value(tick), mParticlePosZ.value(tick)); newParticle->moveTo(position); -- cgit v1.2.3-60-g2f50 From 6ee1046233bfa2218eff1ffa45e31821b3559ea0 Mon Sep 17 00:00:00 2001 From: Ira Rice Date: Tue, 6 Jan 2009 12:36:59 -0700 Subject: Removed a windows newline. Signed-off-by: Ira Rice --- packaging/debian/aethyra.xpm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packaging') diff --git a/packaging/debian/aethyra.xpm b/packaging/debian/aethyra.xpm index 25d3dc73..8d8550bd 100644 --- a/packaging/debian/aethyra.xpm +++ b/packaging/debian/aethyra.xpm @@ -309,4 +309,4 @@ static char * Aethyra_xpm[] = { " X+Y+Z+ + ", " * `+ @ ", " ", -" "}; +" "}; -- cgit v1.2.3-60-g2f50 From 9fe5ab08903ba9902725b500f588afd9ed58f2da Mon Sep 17 00:00:00 2001 From: Ira Rice Date: Fri, 16 Jan 2009 16:22:58 -0700 Subject: Added po files to the windows install script. Signed-off-by: Ira Rice --- packaging/windows/setup.nsi | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'packaging') diff --git a/packaging/windows/setup.nsi b/packaging/windows/setup.nsi index cd01486d..d37a5cce 100644 --- a/packaging/windows/setup.nsi +++ b/packaging/windows/setup.nsi @@ -9,7 +9,7 @@ SetCompressor /SOLID lzma ; HM NIS Edit helper defines !define PRODUCT_NAME "Aethyra" -!define PRODUCT_VERSION "0.0.27" +!define PRODUCT_VERSION "0.0.27.1" !define PRODUCT_PUBLISHER "Aethyra Development Team" !define PRODUCT_WEB_SITE "http://aethyra.org" !define PRODUCT_DIR_REGKEY "Software\Microsoft\Windows\CurrentVersion\App Paths\aethyra.exe" @@ -155,6 +155,7 @@ Section "Core files (required)" SecCore CreateDirectory "$INSTDIR\data\graphics\gui" CreateDirectory "$INSTDIR\data\graphics\images" CreateDirectory "$INSTDIR\docs" + CreateDirectory "$INSTDIR\po" SetOverwrite ifnewer SetOutPath "$INSTDIR" @@ -178,6 +179,10 @@ Section "Core files (required)" SecCore File /nonfatal "${AETHYRAROOT}\data\music\*.ogg" SetOutPath "$INSTDIR\docs" File "${AETHYRAROOT}\docs\FAQ.txt" + SetOutPath "$INSTDIR\po" + File "${AETHYRAROOT}\po\aethyra.pot" + File "${AETHYRAROOT}\po\LINGUAS" + File "${AETHYRAROOT}\po\*.po" SectionEnd Section -AdditionalIcons -- cgit v1.2.3-60-g2f50 From 1ac350cb425249f37961206a04427e084d2fa833 Mon Sep 17 00:00:00 2001 From: Ira Rice Date: Fri, 16 Jan 2009 16:46:32 -0700 Subject: Fixed the installing of the dejavu ttf file (previous commit forgot it) Signed-off-by: Ira Rice --- packaging/windows/setup.nsi | 3 +++ 1 file changed, 3 insertions(+) (limited to 'packaging') diff --git a/packaging/windows/setup.nsi b/packaging/windows/setup.nsi index d37a5cce..c380e7b7 100644 --- a/packaging/windows/setup.nsi +++ b/packaging/windows/setup.nsi @@ -148,6 +148,7 @@ Section "Core files (required)" SecCore CreateShortCut "$SMPROGRAMS\Aethyra\Aethyra.lnk" "$INSTDIR\aethyra.exe" CreateShortCut "$DESKTOP\Aethyra.lnk" "$INSTDIR\aethyra.exe" CreateDirectory "$INSTDIR\data" + CreateDirectory "$INSTDIR\data\fonts" CreateDirectory "$INSTDIR\data\graphics" CreateDirectory "$INSTDIR\data\help" CreateDirectory "$INSTDIR\data\icons" @@ -166,6 +167,8 @@ Section "Core files (required)" SecCore File "${AETHYRAROOT}\COPYING" File "${AETHYRAROOT}\NEWS" File "${AETHYRAROOT}\README" + SetOutPath "$INSTDIR\data\fonts" + File "${AETHYRAROOT}\data\fonts\*.ttf" SetOutPath "$INSTDIR\data\graphics\gui" File "${AETHYRAROOT}\data\graphics\gui\*.png" File "${AETHYRAROOT}\data\graphics\gui\*.xml" -- cgit v1.2.3-60-g2f50 From 36e7572e2c395161594287768ed86a92f0291fda Mon Sep 17 00:00:00 2001 From: Ira Rice Date: Mon, 19 Jan 2009 14:38:06 -0700 Subject: Fixed the uninstallation portion of the nsi script while it's still on my mind. Signed-off-by: Ira Rice --- packaging/windows/setup.nsi | 1 + 1 file changed, 1 insertion(+) (limited to 'packaging') diff --git a/packaging/windows/setup.nsi b/packaging/windows/setup.nsi index c380e7b7..a151e3cd 100644 --- a/packaging/windows/setup.nsi +++ b/packaging/windows/setup.nsi @@ -226,6 +226,7 @@ Section Uninstall RMDir "$SMPROGRAMS\Aethyra" RMDir /r "$INSTDIR\data" RMDir /r "$INSTDIR\docs" + RMDir /r "$INSTDIR\po" RMDir /r "$INSTDIR\updates" RMDir "$INSTDIR" -- cgit v1.2.3-60-g2f50 From 2805d11b7fa5cfc8a6e1dc739cf40f1aacef2232 Mon Sep 17 00:00:00 2001 From: Ira Rice Date: Tue, 20 Jan 2009 12:54:46 -0700 Subject: Changed name of AETHYRAROOT to SRCDIR Signed-off-by: Ira Rice --- packaging/windows/setup.nsi | 44 ++++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 22 deletions(-) (limited to 'packaging') diff --git a/packaging/windows/setup.nsi b/packaging/windows/setup.nsi index a151e3cd..629bcf85 100644 --- a/packaging/windows/setup.nsi +++ b/packaging/windows/setup.nsi @@ -2,10 +2,10 @@ CRCCheck on SetCompress off SetCompressor /SOLID lzma -!define AETHYRAROOT "..\.." +!define SRCDIR "..\.." ;--- (and without !defines ) --- -!System "upx\upx.exe --best --crp-ms=999999 --compress-icons=0 --nrv2d ${AETHYRAROOT}\aethyra.exe" +!System "upx\upx.exe --best --crp-ms=999999 --compress-icons=0 --nrv2d ${SRCDIR}\aethyra.exe" ; HM NIS Edit helper defines !define PRODUCT_NAME "Aethyra" @@ -22,9 +22,9 @@ SetCompressor /SOLID lzma ; MUI Settings !define MUI_ABORTWARNING ;!define MUI_ICON "${NSISDIR}\Contrib\Graphics\Icons\win-install.ico" -!define MUI_ICON "${AETHYRAROOT}\data\icons\aethyra.ico" +!define MUI_ICON "${SRCDIR}\data\icons\aethyra.ico" ;!define MUI_UNICON "${NSISDIR}\Contrib\Graphics\Icons\win-uninstall.ico" -!define MUI_UNICON "${AETHYRAROOT}\data\icons\aethyra.ico" +!define MUI_UNICON "${SRCDIR}\data\icons\aethyra.ico" ;Language Selection Dialog Settings ;Remember the installer language @@ -40,7 +40,7 @@ SetCompressor /SOLID lzma !define MUI_WELCOMEPAGE_TITLE_3LINES !insertmacro MUI_PAGE_WELCOME ; License page -!insertmacro MUI_PAGE_LICENSE "${AETHYRAROOT}\COPYING" +!insertmacro MUI_PAGE_LICENSE "${SRCDIR}\COPYING" ; Directory page !insertmacro MUI_PAGE_DIRECTORY ; Instfiles page @@ -161,31 +161,31 @@ Section "Core files (required)" SecCore SetOverwrite ifnewer SetOutPath "$INSTDIR" - File "${AETHYRAROOT}\aethyra.exe" - File "${AETHYRAROOT}\*.dll" - File "${AETHYRAROOT}\AUTHORS" - File "${AETHYRAROOT}\COPYING" - File "${AETHYRAROOT}\NEWS" - File "${AETHYRAROOT}\README" + File "${SRCDIR}\aethyra.exe" + File "${SRCDIR}\*.dll" + File "${SRCDIR}\AUTHORS" + File "${SRCDIR}\COPYING" + File "${SRCDIR}\NEWS" + File "${SRCDIR}\README" SetOutPath "$INSTDIR\data\fonts" - File "${AETHYRAROOT}\data\fonts\*.ttf" + File "${SRCDIR}\data\fonts\*.ttf" SetOutPath "$INSTDIR\data\graphics\gui" - File "${AETHYRAROOT}\data\graphics\gui\*.png" - File "${AETHYRAROOT}\data\graphics\gui\*.xml" + File "${SRCDIR}\data\graphics\gui\*.png" + File "${SRCDIR}\data\graphics\gui\*.xml" SetOutPath "$INSTDIR\data\graphics\images" - File /x minimap_*.png ${AETHYRAROOT}\data\graphics\images\*.png + File /x minimap_*.png ${SRCDIR}\data\graphics\images\*.png SetOutPath "$INSTDIR\data\help" - File "${AETHYRAROOT}\data\help\*.txt" + File "${SRCDIR}\data\help\*.txt" SetOutPath "$INSTDIR\data\icons\" - File "${AETHYRAROOT}\data\icons\aethyra.ico" + File "${SRCDIR}\data\icons\aethyra.ico" SetOutPath "$INSTDIR\data\music" - File /nonfatal "${AETHYRAROOT}\data\music\*.ogg" + File /nonfatal "${SRCDIR}\data\music\*.ogg" SetOutPath "$INSTDIR\docs" - File "${AETHYRAROOT}\docs\FAQ.txt" + File "${SRCDIR}\docs\FAQ.txt" SetOutPath "$INSTDIR\po" - File "${AETHYRAROOT}\po\aethyra.pot" - File "${AETHYRAROOT}\po\LINGUAS" - File "${AETHYRAROOT}\po\*.po" + File "${SRCDIR}\po\aethyra.pot" + File "${SRCDIR}\po\LINGUAS" + File "${SRCDIR}\po\*.po" SectionEnd Section -AdditionalIcons -- cgit v1.2.3-60-g2f50