summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2008-11-27 09:54:10 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2008-11-27 09:54:10 +0000
commit8fb0268001bacbc60d59e13f732a51ba2f2603f9 (patch)
tree5cea680eefaaf3a14f8af35fddf832079f8bd6ce /sci-astronomy
parentAdd missing it langpack, bug #248341 (diff)
downloadhistorical-8fb0268001bacbc60d59e13f732a51ba2f2603f9.tar.gz
historical-8fb0268001bacbc60d59e13f732a51ba2f2603f9.tar.bz2
historical-8fb0268001bacbc60d59e13f732a51ba2f2603f9.zip
Removed old version
Package-Manager: portage-2.2_rc16/cvs/Linux 2.6.25-gentoo-r7 x86_64
Diffstat (limited to 'sci-astronomy')
-rw-r--r--sci-astronomy/celestia/ChangeLog7
-rw-r--r--sci-astronomy/celestia/Manifest13
-rw-r--r--sci-astronomy/celestia/celestia-1.5.0.ebuild133
-rw-r--r--sci-astronomy/celestia/celestia-1.5.1.ebuild8
-rw-r--r--sci-astronomy/celestia/files/celestia-1.5.0-gcc43.patch1110
5 files changed, 17 insertions, 1254 deletions
diff --git a/sci-astronomy/celestia/ChangeLog b/sci-astronomy/celestia/ChangeLog
index fc205616cc2c..b9dc5a0184ff 100644
--- a/sci-astronomy/celestia/ChangeLog
+++ b/sci-astronomy/celestia/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sci-astronomy/celestia
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/celestia/ChangeLog,v 1.46 2008/11/08 14:07:30 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/celestia/ChangeLog,v 1.47 2008/11/27 09:54:10 bicatali Exp $
+
+ 27 Nov 2008; SĂ©bastien Fabbro <bicatali@gentoo.org>
+ -files/celestia-1.5.0-gcc43.patch, -celestia-1.5.0.ebuild,
+ celestia-1.5.1.ebuild:
+ Removed old version
08 Nov 2008; Markus Meier <maekke@gentoo.org> celestia-1.5.1.ebuild:
amd64/x86 stable, bug #245168
diff --git a/sci-astronomy/celestia/Manifest b/sci-astronomy/celestia/Manifest
index b7b77c49b64c..ca3f676e5f41 100644
--- a/sci-astronomy/celestia/Manifest
+++ b/sci-astronomy/celestia/Manifest
@@ -12,23 +12,20 @@ AUX celestia-1.4.1-locale.patch 7373 RMD160 1ca4a9d612b6c2d0f2bc2800ff3ed1b6b19d
AUX celestia-1.4.1-lua51.patch 2351 RMD160 8c16ce1594bb789521c07c8a14e3738676ca88a4 SHA1 6d49c3e0560e89480d09d431f9b65813f4c408c5 SHA256 4fef305ef77a1cd7f3044288e806914360ff77092bd29416a8ed06a48d1f91ac
AUX celestia-1.4.1-strictalias.patch 367 RMD160 b3f79ab12e78d742adb9e8e6f71d4df25b444404 SHA1 a0623106c9428522982429f281e844d9d7f5c98f SHA256 f38398fef7dd604669e84e46ffe1cbe6514ada92f581b5b30ac0965223d3db54
AUX celestia-1.5.0-desktop.patch 1594 RMD160 04ef01761f3aee6448ee60e06bb6ea508c0920e6 SHA1 5b739ac3b53bf5d8d3d74188b8ad650c6fdc165c SHA256 2f989391f775e3435f0e0e570f747e0d8f38b310ea8ad92ba75099c59203171d
-AUX celestia-1.5.0-gcc43.patch 35614 RMD160 9682b9f8649e03b6d03235fc16861c6be542ab09 SHA1 01ef7da008d2f1748f6aa76b12f087e3dca442ce SHA256 273e57141e3056da5b4a322c6506ef98f6794f7b6963594d5c5840efc2f9b7d1
AUX celestia-1.5.1-arts.patch 1806 RMD160 af88ff314193c55d56223489f53d46125ea5073d SHA1 d98a9f4b9d7c376922f93243c39fab4cbb5a1ac7 SHA256 ff4bdca96577babaf90df1c965bb67f5cf32dbde527ba2644431e8c29ae87ce3
AUX celestia-1.5.1-kde-3.5.patch 1018 RMD160 c39ded08b1fe0caf8eb4f1b2efe3366aeea61935 SHA1 564c5c91ca287382aff31c28a9e762f4e60bf28a SHA256 a4a7281747a9f493f3354f1f1b84f7159b49c1c89f6dd2bf669756c8e8e4ee8f
DIST celestia-1.4.1.tar.gz 23966886 RMD160 c66c2540e329613dace12e5b12b2dae2a4c679e0 SHA1 37863498c43d3078b41027706bfa033bccd949a9 SHA256 f9dc34dbc0d53e98534000545802b5ab4a471c3cb3fa08a9c958cbbbeb28d8b5
-DIST celestia-1.5.0.tar.gz 29116952 RMD160 fe187c8964eac7832982a268a3a7b765807e8005 SHA1 cb761270f048193ab01159cab14082f25113cdaa SHA256 a07834ee5b1bb4be76c29086b0b7faec8c3baafa21bace8ccd765bae632473e0
DIST celestia-1.5.1-acinclude.patch.bz2 37015 RMD160 dd4e2d538bf633bee691b6ece0a9381e5643bb2a SHA1 b11454a7d1c8bc8c472337c8a0728cf711d98f3c SHA256 b4ccd6a5c24e0074c698bc7d000e6193d182c3908a130a7da2d727a63d1d28b9
DIST celestia-1.5.1-gcc43.patch.bz2 4673 RMD160 8aafd3ea0e93965398ff5493865e2632b65d1fcd SHA1 5237b4799c133d44af0d44c14ad6a9a4b5066003 SHA256 070c812969562948314a784e549c423634fc4eece990e820313682417fdb1fc8
DIST celestia-1.5.1.tar.gz 34144780 RMD160 26f105acfc26a5edccb73fe29c33638804b0f370 SHA1 2d6a117daf6a400ab4c47a5a51c13f2ab601e6db SHA256 5a028dec634c2fd1b2097eb6717f8e6ca5d05052b7f63f5fc205d0cbf254888c
EBUILD celestia-1.4.1-r2.ebuild 3961 RMD160 ddaebb358e6be735c88c5fd3284824f5a695403b SHA1 5ac13316c202b92a403c4382ebbf5fabd5e1ba6c SHA256 6dea08a53a09f70422a8e72310bcfa63dd1f84f77e721abfa902021c6a5c67be
-EBUILD celestia-1.5.0.ebuild 3355 RMD160 ad92950230d7348aa778a727dbc36e3ae05c79c4 SHA1 11a5e3a6ef9f2024fff7a66fe5f34f0e86125cf0 SHA256 2dfa1c81c329b3a6083dca91a5b591fd6976c253f52a72b8c5a4ed5e16b2a6cd
-EBUILD celestia-1.5.1.ebuild 3942 RMD160 c6f7d8f4fcee5c36a1f535b5c6a6b3000e68c9f9 SHA1 b2941dc81461405f66080f8041915151b35967aa SHA256 4d72bd53eedf9e17279fc699e339f7810f06ce422b64fc511bfb1649421b192e
-MISC ChangeLog 12873 RMD160 f4aff1d5a1bfe1f646c04ec5ecda2fefbe141811 SHA1 a6c7eea49e7df3185e88719240f49e361246c9fc SHA256 f036f963702cfbdd4ec5458a38b5f1d451f2144d36bae9cb2910152f7150a565
+EBUILD celestia-1.5.1.ebuild 4118 RMD160 cc5501533f3da68ab4f3cc8ce3ec746222cf5def SHA1 eaecd6fe583b78819880d9f754d336c0c12f9998 SHA256 3dfe7cea5801f86b2dc6805e7bdf7307df7395c867a0b3ce6a926d8bc6f6d066
+MISC ChangeLog 13039 RMD160 a3304968823c85acef7056217f5ce4cb9c3c90df SHA1 9b814b941afd7f3b2797bf3d28153de92234a6e7 SHA256 b0ed972d73c18539a9b6db54ae3315ddfcf5346fbee51d352761bc9f76846ad5
MISC metadata.xml 693 RMD160 902eac97368b5aa5d76c277826e42c3d741e9f99 SHA1 d5e786e1754e130bf4c0ff6d6978fb99ccb5f516 SHA256 3081606dbc2705ae14a2e9a9be830925eefc64bf2426bfee13399cc938e588da
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
-iEYEARECAAYFAkkVnTsACgkQkKaRLQcq0GKTkwCbBx/y9q9EeuKu5Cnn2Ltcitfw
-x38Anj3p7BRcWiDSky1iD5vIVIZj6hKk
-=3zPe
+iEYEARECAAYFAkkubksACgkQ1ycZbhPLE2A2HgCfSRNGPz5tCfe2CeU91cmCSpb0
+q0EAni4mjGAm+FKcGRr7+2ICM2dmtzc+
+=j5u8
-----END PGP SIGNATURE-----
diff --git a/sci-astronomy/celestia/celestia-1.5.0.ebuild b/sci-astronomy/celestia/celestia-1.5.0.ebuild
deleted file mode 100644
index db9244e352c5..000000000000
--- a/sci-astronomy/celestia/celestia-1.5.0.ebuild
+++ /dev/null
@@ -1,133 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/celestia/celestia-1.5.0.ebuild,v 1.2 2008/04/15 15:52:53 bicatali Exp $
-
-inherit eutils flag-o-matic gnome2 kde-functions autotools
-
-DESCRIPTION="OpenGL 3D space simulator"
-HOMEPAGE="http://www.shatters.net/celestia/"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
-IUSE="arts cairo gnome gtk kde lua nls pch theora threads"
-
-RDEPEND="virtual/glu
- media-libs/jpeg
- media-libs/libpng
- gtk? ( !gnome? ( !kde? (
- >=x11-libs/gtk+-2.6
- >=x11-libs/gtkglext-1.0
- ) ) )
- gnome? ( !kde? (
- >=x11-libs/gtk+-2.6
- >=x11-libs/gtkglext-1.0
- >=gnome-base/libgnomeui-2.0
- ) )
- kde? ( !gnome? ( >=kde-base/kdelibs-3.0.5 ) )
- !gtk? ( !gnome? ( !kde? ( virtual/glut ) ) )
- arts? ( kde-base/arts )
- lua? ( >=dev-lang/lua-5.0 )
- cairo? ( x11-libs/cairo )
- theora? ( media-libs/libtheora )"
-
-DEPEND="${RDEPEND}
- dev-util/pkgconfig"
-
-pkg_setup() {
- # Check for one for the following use flags to be set.
-
- if ! use gnome && use kde; then
- einfo "USE=\"kde\" detected."
- CELESTIA_GUI="kde"
- elif ! use kde && use gnome; then
- einfo "USE=\"gnome\" detected."
- USE_DESTDIR="1"
- CELESTIA_GUI="gnome"
- elif ! use kde && ! use gnome && use gtk; then
- einfo "USE=\"gtk\" detected."
- CELESTIA_GUI="gtk"
- elif use kde && use gnome; then
- einfo "Both gnome and kde support requested. Defaulting to kde"
- CELESTIA_GUI="kde"
- else
- ewarn "If you want to use the full gui, set USE=\"{kde/gnome/gtk}\""
- ewarn "Defaulting to glut support (no GUI)."
- CELESTIA_GUI="glut"
- fi
-}
-
-src_unpack() {
-
- unpack ${A}
- cd "${S}"
- # make better desktop files
- epatch "${FILESDIR}"/${P}-desktop.patch
-
- # add a ~/.celestia for extra directories
- epatch "${FILESDIR}"/${PN}-1.4.1-cfg.patch
-
- # fix for as-needed (bug #130091)
- epatch "${FILESDIR}"/${PN}-1.4.1-as-needed.patch
-
- # fix for as-needed (bug #217758)
- epatch "${FILESDIR}"/${P}-gcc43.patch
-
- # remove flags to let the user decide
- for cf in -O2 -ffast-math \
- -fexpensive-optimizations \
- -fomit-frame-pointer; do
- sed -i \
- -e "s/${cf}//g" \
- configure.in || die "sed failed"
- done
-
- # remove an unused gconf macro killing autoconf when no gnome
- # (not needed without eautoreconf)
- if ! use gnome; then
- sed -i \
- -e '/AM_GCONF_SOURCE_2/d' \
- configure.in || die "sed failed"
- fi
-
- eautoreconf
-}
-
-src_compile() {
-
- if [[ ${CELESTIA_GUI} == kde ]]; then
- set-kdedir 3
- set-qtdir 3
- export kde_widgetdir="${KDEDIR}/lib/kde3/plugins/designer"
- fi
-
- filter-flags "-funroll-loops -frerun-loop-opt"
-
- econf \
- --with-${CELESTIA_GUI} \
- $(use_with arts) \
- $(use_with lua) \
- $(use_enable cairo) \
- $(use_enable threads threading) \
- $(use_enable nls) \
- $(use_enable pch) \
- $(use_enable theora) \
- || die "econf failed"
-
- emake || die "emake failed"
-}
-
-src_install() {
- if [[ ${CELESTIA_GUI} == gnome ]]; then
- gnome2_src_install
- else
- emake DESTDIR="${D}" install || die "emake install failed"
- for size in 16 22 32 48 ; do
- insinto /usr/share/icons/hicolor/${size}x${size}/apps
- newins "${S}"/src/celestia/kde/data/hi${size}-app-${PN}.png ${PN}.png
- done
- fi
- [[ ${CELESTIA_GUI} == glut ]] && domenu celestia.desktop
- dodoc AUTHORS README TODO TRANSLATORS *.txt || die
-}
diff --git a/sci-astronomy/celestia/celestia-1.5.1.ebuild b/sci-astronomy/celestia/celestia-1.5.1.ebuild
index 0bc8337882c2..a461d53fa469 100644
--- a/sci-astronomy/celestia/celestia-1.5.1.ebuild
+++ b/sci-astronomy/celestia/celestia-1.5.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/celestia/celestia-1.5.1.ebuild,v 1.6 2008/11/08 14:07:30 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/celestia/celestia-1.5.1.ebuild,v 1.7 2008/11/27 09:54:10 bicatali Exp $
inherit eutils flag-o-matic gnome2 kde-functions autotools
@@ -119,8 +119,12 @@ src_unpack() {
src_compile() {
if [[ ${CELESTIA_GUI} == kde ]]; then
+ REALHOME="${HOME}"
+ mkdir -p "${T}"/fakehome/.kde
+ mkdir -p "${T}"/fakehome/.qt
+ export HOME="${T}"/fakehome
+ [[ -d ${REALHOME}/.ccache ]] && ln -sf "${REALHOME}/.ccache" "${HOME}/"
set-kdedir 3
- set-qtdir 3
export kde_widgetdir="${KDEDIR}/lib/kde3/plugins/designer"
fi
diff --git a/sci-astronomy/celestia/files/celestia-1.5.0-gcc43.patch b/sci-astronomy/celestia/files/celestia-1.5.0-gcc43.patch
deleted file mode 100644
index 1f424319f357..000000000000
--- a/sci-astronomy/celestia/files/celestia-1.5.0-gcc43.patch
+++ /dev/null
@@ -1,1110 +0,0 @@
---- celestia-1.5.0-upstream/src/buildstardb.cpp 2008-03-01 12:51:20.000000000 +0100
-+++ celestia-1.5.0/src/buildstardb.cpp 2008-03-01 08:52:23.000000000 +0100
-@@ -17,5 +17,6 @@
- #include <assert.h>
- #include <unistd.h>
- #include "celengine/stardb.h"
-+#include <libintl.h>
-
- using namespace std;
---- celestia-1.5.0-upstream/src/celengine/asterism.cpp 2008-03-01 12:51:20.000000000 +0100
-+++ celestia-1.5.0/src/celengine/asterism.cpp 2008-03-01 09:23:23.000000000 +0100
-@@ -8,6 +8,7 @@
- // of the License, or (at your option) any later version.
-
- #include <algorithm>
-+#include <libintl.h>
-
- #ifndef _WIN32
- #ifndef TARGET_OS_MAC
---- celestia-1.5.0-upstream/src/celengine/astro.cpp 2008-03-01 12:51:20.000000000 +0100
-+++ celestia-1.5.0/src/celengine/astro.cpp 2008-03-01 09:14:33.000000000 +0100
-@@ -10,12 +10,14 @@
- #include <cmath>
- #include <iomanip>
- #include <cstdio>
-+#include <cstring>
- #include <time.h>
- #include <celutil/basictypes.h>
- #include <celmath/mathlib.h>
- #include "celestia.h"
- #include "astro.h"
- #include <celutil/util.h>
-+#include <libintl.h>
-
- using namespace std;
-
---- celestia-1.5.0-upstream/src/celengine/body.cpp 2008-03-01 12:51:20.000000000 +0100
-+++ celestia-1.5.0/src/celengine/body.cpp 2008-03-01 09:34:10.000000000 +0100
-@@ -14,6 +14,7 @@
- #include <celmath/mathlib.h>
- #include <celutil/util.h>
- #include <celutil/utf8.h>
-+#include <libintl.h>
- #include "mesh.h"
- #include "meshmanager.h"
- #include "body.h"
---- celestia-1.5.0-upstream/src/celengine/cmdparser.cpp 2008-03-01 12:51:20.000000000 +0100
-+++ celestia-1.5.0/src/celengine/cmdparser.cpp 2008-03-01 08:52:32.000000000 +0100
-@@ -30,6 +30,7 @@
- #include "astro.h"
- #include "cmdparser.h"
- #include "glcontext.h"
-+#include <libintl.h>
-
- using namespace std;
-
---- celestia-1.5.0-upstream/src/celengine/console.cpp 2008-03-01 12:51:20.000000000 +0100
-+++ celestia-1.5.0/src/celengine/console.cpp 2008-03-01 08:50:23.000000000 +0100
-@@ -10,6 +10,7 @@
- #include <cstdarg>
- #include <cstdio>
- #include <cassert>
-+#include <cstring>
- #include "celutil/utf8.h"
- #include "gl.h"
- #include "vecgl.h"
---- celestia-1.5.0-upstream/src/celengine/dds.cpp 2008-03-01 12:51:20.000000000 +0100
-+++ celestia-1.5.0/src/celengine/dds.cpp 2008-03-01 08:51:48.000000000 +0100
-@@ -15,6 +15,7 @@
- #include <celengine/gl.h>
- #include <celengine/glext.h>
- #include <celengine/image.h>
-+#include <libintl.h>
-
- using namespace std;
-
---- celestia-1.5.0-upstream/src/celengine/dsodb.cpp 2008-03-01 12:51:20.000000000 +0100
-+++ celestia-1.5.0/src/celengine/dsodb.cpp 2008-03-01 08:51:48.000000000 +0100
-@@ -32,6 +32,7 @@
- #include <celengine/galaxy.h>
- #include <celengine/opencluster.h>
- #include <celengine/nebula.h>
-+#include <libintl.h>
-
- using namespace std;
-
---- celestia-1.5.0-upstream/src/celengine/fragmentprog.cpp 2008-03-01 12:51:20.000000000 +0100
-+++ celestia-1.5.0/src/celengine/fragmentprog.cpp 2008-03-01 08:51:48.000000000 +0100
-@@ -13,6 +13,7 @@
- #include "gl.h"
- #include "glext.h"
- #include "fragmentprog.h"
-+#include <libintl.h>
-
- using namespace std;
-
---- celestia-1.5.0-upstream/src/celengine/galaxy.cpp 2008-03-01 12:51:20.000000000 +0100
-+++ celestia-1.5.0/src/celengine/galaxy.cpp 2008-03-01 11:52:10.000000000 +0100
-@@ -23,6 +23,8 @@
- #include "vecgl.h"
- #include "render.h"
- #include "texture.h"
-+#include <libintl.h>
-+#include <string.h>
-
- using namespace std;
-
---- celestia-1.5.0-upstream/src/celengine/glcontext.cpp 2008-03-01 12:51:20.000000000 +0100
-+++ celestia-1.5.0/src/celengine/glcontext.cpp 2008-03-01 08:51:48.000000000 +0100
-@@ -12,6 +12,7 @@
- #include "gl.h"
- #include "glext.h"
- #include "glcontext.h"
-+#include <libintl.h>
-
- using namespace std;
-
---- celestia-1.5.0-upstream/src/celengine/glext.cpp 2008-03-01 12:51:20.000000000 +0100
-+++ celestia-1.5.0/src/celengine/glext.cpp 2008-03-01 08:52:56.000000000 +0100
-@@ -8,6 +8,7 @@
- // of the License, or (at your option) any later version.
-
- #include <string.h>
-+#include <cstring>
- #include "gl.h"
-
- #ifndef _WIN32
-@@ -19,6 +20,7 @@
- #endif /* ! _WIN32 */
-
- #include "glext.h"
-+#include <libintl.h>
-
- // ARB_texture_compression
- glx::PFNGLCOMPRESSEDTEXIMAGE3DARBPROC glx::glCompressedTexImage3DARB;
---- celestia-1.5.0-upstream/src/celengine/image.cpp 2008-03-01 12:51:20.000000000 +0100
-+++ celestia-1.5.0/src/celengine/image.cpp 2008-03-01 08:51:48.000000000 +0100
-@@ -66,6 +66,7 @@
- #include <iostream>
- #include <algorithm>
- #include <cmath>
-+#include <libintl.h>
-
- using namespace std;
-
---- celestia-1.5.0-upstream/src/celengine/location.cpp 2008-03-01 12:51:20.000000000 +0100
-+++ celestia-1.5.0/src/celengine/location.cpp 2008-03-01 09:34:18.000000000 +0100
-@@ -11,6 +11,7 @@
- #include <celengine/location.h>
- #include <celengine/body.h>
- #include <celutil/util.h>
-+#include <libintl.h>
-
- using namespace std;
-
---- celestia-1.5.0-upstream/src/celengine/lodspheremesh.cpp 2008-03-01 12:51:20.000000000 +0100
-+++ celestia-1.5.0/src/celengine/lodspheremesh.cpp 2008-03-01 08:51:48.000000000 +0100
-@@ -17,6 +17,7 @@
- #include "glext.h"
- #include "vecgl.h"
- #include "lodspheremesh.h"
-+#include <libintl.h>
-
- using namespace std;
-
---- celestia-1.5.0-upstream/src/celengine/marker.cpp 2008-03-01 12:51:20.000000000 +0100
-+++ celestia-1.5.0/src/celengine/marker.cpp 2008-03-01 08:51:48.000000000 +0100
-@@ -9,6 +9,7 @@
-
- #include "marker.h"
- #include "gl.h"
-+#include <libintl.h>
-
-
- using namespace std;
---- celestia-1.5.0-upstream/src/celengine/mesh.cpp 2008-03-01 12:51:20.000000000 +0100
-+++ celestia-1.5.0/src/celengine/mesh.cpp 2008-03-01 08:51:48.000000000 +0100
-@@ -14,6 +14,7 @@
- #include <cassert>
- #include <iostream>
- #include <algorithm>
-+#include <libintl.h>
-
- using namespace std;
-
---- celestia-1.5.0-upstream/src/celengine/meshmanager.cpp 2008-03-01 12:51:20.000000000 +0100
-+++ celestia-1.5.0/src/celengine/meshmanager.cpp 2008-03-01 08:51:48.000000000 +0100
-@@ -26,6 +26,7 @@
- #include "spheremesh.h"
- #include "texmanager.h"
- #include "meshmanager.h"
-+#include <libintl.h>
-
- using namespace std;
-
---- celestia-1.5.0-upstream/src/celengine/modelfile.cpp 2008-03-01 12:51:20.000000000 +0100
-+++ celestia-1.5.0/src/celengine/modelfile.cpp 2008-03-01 11:52:21.000000000 +0100
-@@ -15,6 +15,8 @@
- #include <cassert>
- #include <cmath>
- #include <cstdio>
-+#include <libintl.h>
-+#include <string.h>
-
- using namespace std;
-
---- celestia-1.5.0-upstream/src/celengine/nebula.cpp 2008-03-01 12:51:20.000000000 +0100
-+++ celestia-1.5.0/src/celengine/nebula.cpp 2008-03-01 08:51:48.000000000 +0100
-@@ -21,6 +21,7 @@
- #include "glext.h"
- #include "vecgl.h"
- #include "render.h"
-+#include <libintl.h>
-
- using namespace std;
-
---- celestia-1.5.0-upstream/src/celengine/opencluster.cpp 2008-03-01 12:51:20.000000000 +0100
-+++ celestia-1.5.0/src/celengine/opencluster.cpp 2008-03-01 08:51:48.000000000 +0100
-@@ -19,6 +19,7 @@
- #include "gl.h"
- #include "vecgl.h"
- #include "render.h"
-+#include <libintl.h>
-
- using namespace std;
-
---- celestia-1.5.0-upstream/src/celengine/overlay.cpp 2008-03-01 12:51:20.000000000 +0100
-+++ celestia-1.5.0/src/celengine/overlay.cpp 2008-03-01 08:50:23.000000000 +0100
-@@ -9,6 +9,7 @@
-
- #include <cstdarg>
- #include <cstdio>
-+#include <cstring>
- #include <celutil/utf8.h>
- #include "gl.h"
- #include "vecgl.h"
---- celestia-1.5.0-upstream/src/celengine/parseobject.cpp 2008-03-01 12:51:20.000000000 +0100
-+++ celestia-1.5.0/src/celengine/parseobject.cpp 2008-03-01 08:51:48.000000000 +0100
-@@ -21,6 +21,7 @@
- #include "trajmanager.h"
- #include "rotationmanager.h"
- #include "universe.h"
-+#include <libintl.h>
-
- using namespace std;
-
---- celestia-1.5.0-upstream/src/celengine/render.cpp 2008-03-01 12:51:20.000000000 +0100
-+++ celestia-1.5.0/src/celengine/render.cpp 2008-03-01 08:53:29.000000000 +0100
-@@ -11,6 +11,7 @@
- #include <cstdio>
- #include <cstring>
- #include <cassert>
-+#include <libintl.h>
-
- #ifndef _WIN32
- #ifndef TARGET_OS_MAC
---- celestia-1.5.0-upstream/src/celengine/rotationmanager.cpp 2008-03-01 12:51:20.000000000 +0100
-+++ celestia-1.5.0/src/celengine/rotationmanager.cpp 2008-03-01 08:51:48.000000000 +0100
-@@ -14,6 +14,7 @@
- #include <celutil/debug.h>
- #include "samporient.h"
- #include "rotationmanager.h"
-+#include <libintl.h>
-
- using namespace std;
-
---- celestia-1.5.0-upstream/src/celengine/selection.cpp 2008-03-01 12:51:20.000000000 +0100
-+++ celestia-1.5.0/src/celengine/selection.cpp 2008-03-01 09:34:25.000000000 +0100
-@@ -8,6 +8,7 @@
- // of the License, or (at your option) any later version.
-
- #include <cstdio>
-+#include <libintl.h>
- #include "astro.h"
- #include "selection.h"
-
---- celestia-1.5.0-upstream/src/celengine/shadermanager.cpp 2008-03-01 12:51:20.000000000 +0100
-+++ celestia-1.5.0/src/celengine/shadermanager.cpp 2008-03-01 08:51:48.000000000 +0100
-@@ -15,6 +15,7 @@
- #include <iomanip>
- #include <cstdio>
- #include <cassert>
-+#include <libintl.h>
-
- using namespace std;
-
---- celestia-1.5.0-upstream/src/celengine/simulation.cpp 2008-03-01 12:51:20.000000000 +0100
-+++ celestia-1.5.0/src/celengine/simulation.cpp 2008-03-01 09:34:28.000000000 +0100
-@@ -11,6 +11,7 @@
- // of the License, or (at your option) any later version.
-
- #include <algorithm>
-+#include <libintl.h>
- #include "simulation.h"
-
- using namespace std;
---- celestia-1.5.0-upstream/src/celengine/solarsys.cpp 2008-03-01 12:51:20.000000000 +0100
-+++ celestia-1.5.0/src/celengine/solarsys.cpp 2008-03-01 08:51:48.000000000 +0100
-@@ -30,6 +30,7 @@
- #include "universe.h"
- #include "multitexture.h"
- #include "parseobject.h"
-+#include <libintl.h>
-
- using namespace std;
-
---- celestia-1.5.0-upstream/src/celengine/solarsysxml.cpp 2008-03-01 12:51:20.000000000 +0100
-+++ celestia-1.5.0/src/celengine/solarsysxml.cpp 2008-03-01 11:52:31.000000000 +0100
-@@ -8,6 +8,8 @@
- // of the License, or (at your option) any later version.
-
- #include <cassert>
-+#include <cstring>
-+#include <string.h>
-
- #include <libxml/parser.h>
- #include <libxml/parserInternals.h>
-@@ -20,6 +22,7 @@
- #include "texmanager.h"
- #include "meshmanager.h"
- #include "solarsysxml.h"
-+#include <libintl.h>
-
- using namespace std;
-
---- celestia-1.5.0-upstream/src/celengine/spiceinterface.cpp 2008-03-01 12:51:20.000000000 +0100
-+++ celestia-1.5.0/src/celengine/spiceinterface.cpp 2008-03-01 08:51:48.000000000 +0100
-@@ -11,6 +11,7 @@
-
- #include "SpiceUsr.h"
- #include "spiceinterface.h"
-+#include <libintl.h>
-
-
- bool
---- celestia-1.5.0-upstream/src/celengine/spiceorbit.cpp 2008-03-01 12:51:20.000000000 +0100
-+++ celestia-1.5.0/src/celengine/spiceorbit.cpp 2008-03-01 08:51:48.000000000 +0100
-@@ -14,6 +14,7 @@
- #include "SpiceUsr.h"
- #include "astro.h"
- #include "spiceorbit.h"
-+#include <libintl.h>
-
- using namespace std;
-
---- celestia-1.5.0-upstream/src/celengine/stardb.cpp 2008-03-01 12:51:20.000000000 +0100
-+++ celestia-1.5.0/src/celengine/stardb.cpp 2008-03-01 08:51:48.000000000 +0100
-@@ -10,6 +10,7 @@
- #include <cmath>
- #include <cstdlib>
- #include <cstdio>
-+#include <cstring>
- #include <cassert>
- #include <algorithm>
- #include <celmath/mathlib.h>
-@@ -24,6 +25,7 @@
- #include "multitexture.h"
- #include "meshmanager.h"
- #include <celutil/debug.h>
-+#include <libintl.h>
-
- using namespace std;
-
---- celestia-1.5.0-upstream/src/celengine/texmanager.cpp 2008-03-01 12:51:20.000000000 +0100
-+++ celestia-1.5.0/src/celengine/texmanager.cpp 2008-03-01 08:51:48.000000000 +0100
-@@ -13,6 +13,7 @@
- #include <fstream>
- #include "multitexture.h"
- #include "texmanager.h"
-+#include <libintl.h>
-
- using namespace std;
-
---- celestia-1.5.0-upstream/src/celengine/texture.cpp 2008-03-01 12:51:20.000000000 +0100
-+++ celestia-1.5.0/src/celengine/texture.cpp 2008-03-01 08:54:00.000000000 +0100
-@@ -28,6 +28,7 @@
- #include <cstdlib>
- #include <cstdio>
- #include <cassert>
-+#include <libintl.h>
-
- #ifndef _WIN32
- #ifndef TARGET_OS_MAC
---- celestia-1.5.0-upstream/src/celengine/tokenizer.cpp 2008-03-01 12:51:20.000000000 +0100
-+++ celestia-1.5.0/src/celengine/tokenizer.cpp 2008-03-01 08:51:48.000000000 +0100
-@@ -12,6 +12,7 @@
- #include <iomanip>
- #include <celutil/utf8.h>
- #include "tokenizer.h"
-+#include <libintl.h>
-
-
- static bool issep(char c)
---- celestia-1.5.0-upstream/src/celengine/trajmanager.cpp 2008-03-01 12:51:20.000000000 +0100
-+++ celestia-1.5.0/src/celengine/trajmanager.cpp 2008-03-01 08:51:48.000000000 +0100
-@@ -15,6 +15,7 @@
- #include <celutil/debug.h>
- #include "samporbit.h"
- #include "trajmanager.h"
-+#include <libintl.h>
-
- using namespace std;
-
---- celestia-1.5.0-upstream/src/celengine/universe.cpp 2008-03-01 12:51:20.000000000 +0100
-+++ celestia-1.5.0/src/celengine/universe.cpp 2008-03-01 09:34:33.000000000 +0100
-@@ -13,6 +13,7 @@
- #include <celmath/intersect.h>
- #include <celutil/utf8.h>
- #include <cassert>
-+#include <libintl.h>
- #include "astro.h"
- #include "3dsmesh.h"
- #include "meshmanager.h"
---- celestia-1.5.0-upstream/src/celengine/vertexprog.cpp 2008-03-01 12:51:20.000000000 +0100
-+++ celestia-1.5.0/src/celengine/vertexprog.cpp 2008-03-01 08:51:48.000000000 +0100
-@@ -14,6 +14,7 @@
- #include "gl.h"
- #include "glext.h"
- #include "vertexprog.h"
-+#include <libintl.h>
-
- using namespace std;
-
---- celestia-1.5.0-upstream/src/celengine/virtualtex.cpp 2008-03-01 12:51:20.000000000 +0100
-+++ celestia-1.5.0/src/celengine/virtualtex.cpp 2008-03-01 08:51:48.000000000 +0100
-@@ -19,6 +19,7 @@
- #include "virtualtex.h"
- #include "gl.h"
- #include "parser.h"
-+#include <libintl.h>
-
- using namespace std;
-
---- celestia-1.5.0-upstream/src/celestia/celestiacore.cpp 2008-03-01 12:51:20.000000000 +0100
-+++ celestia-1.5.0/src/celestia/celestiacore.cpp 2008-03-01 08:54:18.000000000 +0100
-@@ -43,6 +43,7 @@
- #include <celutil/debug.h>
- #include <celutil/utf8.h>
- #include "url.h"
-+#include <libintl.h>
-
- #ifdef CELX
- #include <celengine/scriptobject.h>
---- celestia-1.5.0-upstream/src/celestia/celx.cpp 2008-03-01 12:51:20.000000000 +0100
-+++ celestia-1.5.0/src/celestia/celx.cpp 2008-03-01 11:52:38.000000000 +0100
-@@ -11,7 +11,9 @@
-
- #include <cassert>
- #include <cstring>
-+#include <string.h>
- #include <cstdio>
-+#include <libintl.h>
- #include <map>
- #include <celengine/astro.h>
- #include <celengine/celestia.h>
---- celestia-1.5.0-upstream/src/celestia/configfile.cpp 2008-03-01 12:51:20.000000000 +0100
-+++ celestia-1.5.0/src/celestia/configfile.cpp 2008-03-01 08:51:48.000000000 +0100
-@@ -16,6 +16,7 @@
- #include <celengine/celestia.h>
- #include <celengine/texmanager.h>
- #include "configfile.h"
-+#include <libintl.h>
-
- using namespace std;
-
---- celestia-1.5.0-upstream/src/celestia/destination.cpp 2008-03-01 12:51:20.000000000 +0100
-+++ celestia-1.5.0/src/celestia/destination.cpp 2008-03-01 08:51:48.000000000 +0100
-@@ -14,6 +14,7 @@
- #include <celengine/astro.h>
- #include <celengine/parser.h>
- #include "destination.h"
-+#include <libintl.h>
-
- using namespace std;
-
---- celestia-1.5.0-upstream/src/celestia/eclipsefinder.cpp 2008-03-01 12:51:20.000000000 +0100
-+++ celestia-1.5.0/src/celestia/eclipsefinder.cpp 2008-03-01 09:14:53.000000000 +0100
-@@ -15,6 +15,7 @@
- #include <algorithm>
- #include <set>
- #include <cassert>
-+#include <cstring>
- #include "eclipsefinder.h"
- #include "celmath/mathlib.h"
- #include "celmath/ray.h"
---- celestia-1.5.0-upstream/src/celestia/glutmain.cpp 2008-03-01 12:51:20.000000000 +0100
-+++ celestia-1.5.0/src/celestia/glutmain.cpp 2008-03-01 08:55:18.000000000 +0100
-@@ -15,6 +15,7 @@
- #include <cstdlib>
- #include <cctype>
- #include <cstring>
-+#include <libintl.h>
- #include <time.h>
- #include <unistd.h>
- #include <celengine/gl.h>
---- celestia-1.5.0-upstream/src/celestia/gtk/actions.cpp 2008-03-01 12:51:20.000000000 +0100
-+++ celestia-1.5.0/src/celestia/gtk/actions.cpp 2008-03-01 08:55:33.000000000 +0100
-@@ -15,6 +15,7 @@
- #endif /* HAVE_CONFIG_H */
-
- #include <cstring>
-+#include <libintl.h>
- #include <fstream>
- #include <gtk/gtk.h>
-
---- celestia-1.5.0-upstream/src/celestia/gtk/common.cpp 2008-03-01 12:51:20.000000000 +0100
-+++ celestia-1.5.0/src/celestia/gtk/common.cpp 2008-03-01 08:51:48.000000000 +0100
-@@ -20,6 +20,7 @@
- #include <celestia/celestiacore.h>
-
- #include "common.h"
-+#include <libintl.h>
-
-
- /* Returns the offset of the timezone at date */
---- celestia-1.5.0-upstream/src/celestia/gtk/dialog-eclipse.cpp 2008-03-01 12:51:20.000000000 +0100
-+++ celestia-1.5.0/src/celestia/gtk/dialog-eclipse.cpp 2008-03-01 08:51:48.000000000 +0100
-@@ -18,6 +18,7 @@
-
- #include "dialog-eclipse.h"
- #include "common.h"
-+#include <libintl.h>
-
-
- /* Definitions: Callbacks */
---- celestia-1.5.0-upstream/src/celestia/gtk/dialog-goto.cpp 2008-03-01 12:51:20.000000000 +0100
-+++ celestia-1.5.0/src/celestia/gtk/dialog-goto.cpp 2008-03-01 08:51:49.000000000 +0100
-@@ -18,6 +18,7 @@
-
- #include "dialog-goto.h"
- #include "common.h"
-+#include <libintl.h>
-
-
- /* Declarations: Callbacks */
---- celestia-1.5.0-upstream/src/celestia/gtk/dialog-options.cpp 2008-03-01 12:51:20.000000000 +0100
-+++ celestia-1.5.0/src/celestia/gtk/dialog-options.cpp 2008-03-01 08:51:49.000000000 +0100
-@@ -17,6 +17,7 @@
- #include "dialog-options.h"
- #include "common.h"
- #include "ui.h"
-+#include <libintl.h>
-
-
- /* Definitions: Callbacks */
---- celestia-1.5.0-upstream/src/celestia/gtk/dialog-solar.cpp 2008-03-01 12:51:20.000000000 +0100
-+++ celestia-1.5.0/src/celestia/gtk/dialog-solar.cpp 2008-03-01 08:51:49.000000000 +0100
-@@ -22,6 +22,7 @@
- #include "dialog-solar.h"
- #include "actions.h"
- #include "common.h"
-+#include <libintl.h>
-
-
- /* Declarations: Callbacks */
---- celestia-1.5.0-upstream/src/celestia/gtk/dialog-star.cpp 2008-03-01 12:51:20.000000000 +0100
-+++ celestia-1.5.0/src/celestia/gtk/dialog-star.cpp 2008-03-01 08:51:49.000000000 +0100
-@@ -25,6 +25,7 @@
- #include "dialog-star.h"
- #include "actions.h"
- #include "common.h"
-+#include <libintl.h>
-
-
- /* Declarations: Callbacks */
---- celestia-1.5.0-upstream/src/celestia/gtk/dialog-time.cpp 2008-03-01 12:51:20.000000000 +0100
-+++ celestia-1.5.0/src/celestia/gtk/dialog-time.cpp 2008-03-01 08:51:49.000000000 +0100
-@@ -18,6 +18,7 @@
-
- #include "dialog-time.h"
- #include "common.h"
-+#include <libintl.h>
-
-
- /* Declarations: Callbacks */
---- celestia-1.5.0-upstream/src/celestia/gtk/dialog-tour.cpp 2008-03-01 12:51:20.000000000 +0100
-+++ celestia-1.5.0/src/celestia/gtk/dialog-tour.cpp 2008-03-01 08:51:49.000000000 +0100
-@@ -18,6 +18,7 @@
-
- #include "dialog-tour.h"
- #include "common.h"
-+#include <libintl.h>
-
-
- /* Declarations: Callbacks */
---- celestia-1.5.0-upstream/src/celestia/gtk/main.cpp 2008-03-01 12:51:20.000000000 +0100
-+++ celestia-1.5.0/src/celestia/gtk/main.cpp 2008-03-01 08:56:03.000000000 +0100
-@@ -19,6 +19,7 @@
- #include <cstdlib>
- #include <cctype>
- #include <cstring>
-+#include <libintl.h>
- #include <time.h>
-
- #ifdef WIN32
---- celestia-1.5.0-upstream/src/celestia/gtk/menu-context.cpp 2008-03-01 12:51:20.000000000 +0100
-+++ celestia-1.5.0/src/celestia/gtk/menu-context.cpp 2008-03-01 08:51:49.000000000 +0100
-@@ -20,6 +20,7 @@
- #include "menu-context.h"
- #include "actions.h"
- #include "common.h"
-+#include <libintl.h>
-
-
- /* Definitions: Callbacks */
---- celestia-1.5.0-upstream/src/celestia/gtk/settings-file.cpp 2008-03-01 12:51:20.000000000 +0100
-+++ celestia-1.5.0/src/celestia/gtk/settings-file.cpp 2008-03-01 09:34:40.000000000 +0100
-@@ -11,6 +11,7 @@
- */
-
- #include <gtk/gtk.h>
-+#include <libintl.h>
-
- #include <celengine/body.h>
- #include <celengine/galaxy.h>
---- celestia-1.5.0-upstream/src/celestia/gtk/settings-gconf.cpp 2008-03-01 12:51:20.000000000 +0100
-+++ celestia-1.5.0/src/celestia/gtk/settings-gconf.cpp 2008-03-01 09:34:44.000000000 +0100
-@@ -12,6 +12,7 @@
-
- #include <gtk/gtk.h>
- #include <gconf/gconf-client.h>
-+#include <libintl.h>
-
- #include <celengine/body.h>
- #include <celengine/galaxy.h>
---- celestia-1.5.0-upstream/src/celestia/gtk/splash.cpp 2008-03-01 12:51:20.000000000 +0100
-+++ celestia-1.5.0/src/celestia/gtk/splash.cpp 2008-03-01 08:51:49.000000000 +0100
-@@ -22,6 +22,7 @@
-
- #include "splash.h"
- #include "common.h"
-+#include <libintl.h>
-
-
- /* Declarations */
---- celestia-1.5.0-upstream/src/celestia/kde/celestialbrowser.cpp 2008-03-01 12:51:20.000000000 +0100
-+++ celestia-1.5.0/src/celestia/kde/celestialbrowser.cpp 2008-03-01 08:51:49.000000000 +0100
-@@ -16,6 +16,7 @@
- #include "cellistviewitem.h"
- #include "selectionpopup.h"
- #include "celutil/utf8.h"
-+#include <libintl.h>
-
- /*
- * Constructs a CelestialBrowser which is a child of 'parent', with the
---- celestia-1.5.0-upstream/src/celestia/kde/celsplashscreen.cpp 2008-03-01 12:51:20.000000000 +0100
-+++ celestia-1.5.0/src/celestia/kde/celsplashscreen.cpp 2008-03-01 08:51:49.000000000 +0100
-@@ -22,6 +22,7 @@
- #include <kglobalsettings.h>
- #include <celsplashscreen.h>
- #include <X11/Xlib.h>
-+#include <libintl.h>
-
- CelSplashScreen::CelSplashScreen(const QString& filename, QWidget* _parent):
- QWidget(0, 0, WStyle_Customize | WX11BypassWM),
---- celestia-1.5.0-upstream/src/celestia/kde/eclipsefinderdlg.cpp 2008-03-01 12:51:20.000000000 +0100
-+++ celestia-1.5.0/src/celestia/kde/eclipsefinderdlg.cpp 2008-03-01 08:51:49.000000000 +0100
-@@ -11,6 +11,7 @@
- #include "celestiacore.h"
- #include "celengine/astro.h"
- #include "eclipsefinder.h"
-+#include <libintl.h>
-
- /*
- * Constructs a EclipseFinder which is a child of 'parent', with the
---- celestia-1.5.0-upstream/src/celestia/kde/kcelbookmarkmanager.cpp 2008-03-01 12:51:20.000000000 +0100
-+++ celestia-1.5.0/src/celestia/kde/kcelbookmarkmanager.cpp 2008-03-01 08:51:49.000000000 +0100
-@@ -19,6 +19,7 @@
- #include <qdir.h>
- #include <kstandarddirs.h>
- #include "kcelbookmarkmanager.h"
-+#include <libintl.h>
-
- KBookmarkManager* KCelBookmarkManager::self() {
- if ( !s_bookmarkManager )
---- celestia-1.5.0-upstream/src/celestia/kde/kcelbookmarkmenu.cpp 2008-03-01 12:51:20.000000000 +0100
-+++ celestia-1.5.0/src/celestia/kde/kcelbookmarkmenu.cpp 2008-03-01 08:51:49.000000000 +0100
-@@ -45,6 +45,7 @@
- #include <kpopupmenu.h>
- #include <kstdaccel.h>
- #include <kstdaction.h>
-+#include <libintl.h>
-
- template class QPtrList<KCelBookmarkMenu>;
-
---- celestia-1.5.0-upstream/src/celestia/kde/kdeapp.cpp 2008-03-01 12:51:20.000000000 +0100
-+++ celestia-1.5.0/src/celestia/kde/kdeapp.cpp 2008-03-01 08:51:49.000000000 +0100
-@@ -87,6 +87,7 @@
- #endif
-
- #include "celengine/glext.h"
-+#include <libintl.h>
-
- #define MENUMAXSIZE 100
-
---- celestia-1.5.0-upstream/src/celestia/kde/kdeglwidget.cpp 2008-03-01 12:51:20.000000000 +0100
-+++ celestia-1.5.0/src/celestia/kde/kdeglwidget.cpp 2008-03-01 08:51:49.000000000 +0100
-@@ -48,6 +48,7 @@
-
- #include <math.h>
- #include <vector>
-+#include <libintl.h>
-
- KdeGlWidget::KdeGlWidget( QWidget* parent, const char* name, CelestiaCore* core)
- : QGLWidget( parent, name )
---- celestia-1.5.0-upstream/src/celestia/kde/kdemain.cpp 2008-03-01 12:51:20.000000000 +0100
-+++ celestia-1.5.0/src/celestia/kde/kdemain.cpp 2008-03-01 08:51:49.000000000 +0100
-@@ -20,6 +20,7 @@
- #include <klocale.h>
-
- #include "kdeuniquecelestia.h"
-+#include <libintl.h>
-
- static const char *description =
- I18N_NOOP("Celestia");
---- celestia-1.5.0-upstream/src/celestia/kde/kdepreferencesdialog.cpp 2008-03-01 12:51:20.000000000 +0100
-+++ celestia-1.5.0/src/celestia/kde/kdepreferencesdialog.cpp 2008-03-01 08:51:49.000000000 +0100
-@@ -40,6 +40,7 @@
- #include "celengine/render.h"
- #include "celengine/glcontext.h"
- #include "celengine/astro.h"
-+#include <libintl.h>
-
- static uint32 FilterOtherLocations = ~(Location::City |
- Location::Observatory |
---- celestia-1.5.0-upstream/src/celestia/kde/kdeuniquecelestia.cpp 2008-03-01 12:51:20.000000000 +0100
-+++ celestia-1.5.0/src/celestia/kde/kdeuniquecelestia.cpp 2008-03-01 08:51:49.000000000 +0100
-@@ -21,6 +21,7 @@
- #include <string>
- #include <vector>
- #include <klocale.h>
-+#include <libintl.h>
-
- KdeUniqueCelestia::KdeUniqueCelestia() {
-
---- celestia-1.5.0-upstream/src/celestia/kde/selectionpopup.cpp 2008-03-01 12:51:20.000000000 +0100
-+++ celestia-1.5.0/src/celestia/kde/selectionpopup.cpp 2008-03-01 08:51:49.000000000 +0100
-@@ -29,6 +29,7 @@
- #include <krun.h>
-
- #include "celutil/utf8.h"
-+#include <libintl.h>
-
- SelectionPopup::SelectionPopup(QWidget* parent, CelestiaCore* _appCore, Selection _sel):
- KPopupMenu(parent),
---- celestia-1.5.0-upstream/src/celestia/kde/videocapturedlg.cpp 2008-03-01 12:51:20.000000000 +0100
-+++ celestia-1.5.0/src/celestia/kde/videocapturedlg.cpp 2008-03-01 08:51:49.000000000 +0100
-@@ -36,6 +36,7 @@
- #include <kstatusbar.h>
- #include <kapp.h>
- #include "kdeapp.h"
-+#include <libintl.h>
-
- VideoCaptureDlg::VideoCaptureDlg(QWidget* p, const QString &dir):
- accepted(false)
---- celestia-1.5.0-upstream/src/celestia/oggtheoracapture.cpp 2008-03-01 12:51:20.000000000 +0100
-+++ celestia-1.5.0/src/celestia/oggtheoracapture.cpp 2008-03-01 09:15:02.000000000 +0100
-@@ -66,11 +66,13 @@
- #include <celutil/util.h>
- #include "../celengine/gl.h"
- #include <string>
-+#include <cstring>
- #include "theora/theora.h"
-
- using namespace std;
-
- #include "oggtheoracapture.h"
-+#include <libintl.h>
-
- // {"video-rate-target",required_argument,NULL,'V'},
- // {"video-quality",required_argument,NULL,'v'},
---- celestia-1.5.0-upstream/src/celestia/scriptmenu.cpp 2008-03-01 12:51:20.000000000 +0100
-+++ celestia-1.5.0/src/celestia/scriptmenu.cpp 2008-03-01 08:51:49.000000000 +0100
-@@ -13,6 +13,7 @@
- #include "celutil/directory.h"
- #include "celutil/filetype.h"
- #include <fstream>
-+#include <libintl.h>
-
- using namespace std;
-
---- celestia-1.5.0-upstream/src/celestia/url.cpp 2008-03-01 12:51:20.000000000 +0100
-+++ celestia-1.5.0/src/celestia/url.cpp 2008-03-01 11:52:48.000000000 +0100
-@@ -16,10 +16,12 @@
- ***************************************************************************/
-
- #include <string>
-+#include <string.h>
- #include <stdio.h>
- #include "celestiacore.h"
- #include "celengine/astro.h"
- #include "url.h"
-+#include <libintl.h>
-
- static const unsigned int CurrentCelestiaURLVersion = 2;
-
---- celestia-1.5.0-upstream/src/celestia/wglext.cpp 2008-03-01 12:51:20.000000000 +0100
-+++ celestia-1.5.0/src/celestia/wglext.cpp 2008-03-01 11:52:52.000000000 +0100
-@@ -14,7 +14,10 @@
- #include "wglext.h"
- #include <windows.h>
- #include <cstdio>
-+#include <cstring>
-+#include <string.h>
- #include <vector>
-+#include <libintl.h>
-
- using namespace std;
-
---- celestia-1.5.0-upstream/src/celestia/winbookmarks.cpp 2008-03-01 12:51:20.000000000 +0100
-+++ celestia-1.5.0/src/celestia/winbookmarks.cpp 2008-03-01 11:52:58.000000000 +0100
-@@ -13,6 +13,7 @@
- #include "res/resource.h"
- #include <celutil/winutil.h>
- #include <iostream>
-+#include <string.h>
-
- using namespace std;
-
---- celestia-1.5.0-upstream/src/celestia/windatepicker.cpp 2008-03-01 12:51:20.000000000 +0100
-+++ celestia-1.5.0/src/celestia/windatepicker.cpp 2008-03-01 08:51:49.000000000 +0100
-@@ -11,10 +11,12 @@
-
- #include <windows.h>
- #include <commctrl.h>
-+#include <cstring>
- #include "celutil/basictypes.h"
- #include "celengine/astro.h"
- #include "celutil/util.h"
- #include "celutil/winutil.h"
-+#include <libintl.h>
-
-
- // DatePicker is a Win32 control for setting the date. It replaces the
---- celestia-1.5.0-upstream/src/celestia/wineclipses.cpp 2008-03-01 12:51:20.000000000 +0100
-+++ celestia-1.5.0/src/celestia/wineclipses.cpp 2008-03-01 11:53:02.000000000 +0100
-@@ -10,6 +10,7 @@
-
- #include <string>
- #include <sstream>
-+#include <string.h>
- #include <algorithm>
- #include <set>
- #include <cassert>
-@@ -23,6 +24,7 @@
- #include "celmath/distance.h"
- #include "celutil/util.h"
- #include "celutil/winutil.h"
-+#include <libintl.h>
-
- using namespace std;
-
---- celestia-1.5.0-upstream/src/celestia/winhyperlinks.cpp 2008-03-01 12:51:20.000000000 +0100
-+++ celestia-1.5.0/src/celestia/winhyperlinks.cpp 2008-03-01 08:50:24.000000000 +0100
-@@ -9,6 +9,7 @@
- // as published by the Free Software Foundation; either version 2
- // of the License, or (at your option) any later version.
-
-+#include <cstring>
- #include "winhyperlinks.h"
- #include "res/resource.h"
-
---- celestia-1.5.0-upstream/src/celestia/winmain.cpp 2008-03-01 12:51:20.000000000 +0100
-+++ celestia-1.5.0/src/celestia/winmain.cpp 2008-03-01 11:53:07.000000000 +0100
-@@ -23,6 +23,7 @@
- #include <windows.h>
- #include <commctrl.h>
- #include <mmsystem.h>
-+#include <string.h>
-
- #include <celmath/vecmath.h>
- #include <celmath/quaternion.h>
-@@ -59,6 +60,7 @@
- #include "wglext.h"
-
- #include <locale.h>
-+#include <libintl.h>
-
- using namespace std;
-
---- celestia-1.5.0-upstream/src/celestia/winsplash.cpp 2008-03-01 12:51:20.000000000 +0100
-+++ celestia-1.5.0/src/celestia/winsplash.cpp 2008-03-01 08:51:49.000000000 +0100
-@@ -15,6 +15,7 @@
- #include <commctrl.h>
- #include "res/resource.h"
- #include <iostream>
-+#include <libintl.h>
-
- using namespace std;
-
---- celestia-1.5.0-upstream/src/celestia/winstarbrowser.cpp 2008-03-01 12:51:20.000000000 +0100
-+++ celestia-1.5.0/src/celestia/winstarbrowser.cpp 2008-03-01 11:53:13.000000000 +0100
-@@ -15,10 +15,12 @@
- #include <windows.h>
- #include <commctrl.h>
- #include <cstring>
-+#include <string.h>
- #include "winstarbrowser.h"
- #include "celutil/winutil.h"
-
- #include "res/resource.h"
-+#include <libintl.h>
-
- extern void SetMouseCursor(LPCTSTR lpCursor);
-
---- celestia-1.5.0-upstream/src/celestia/wintime.cpp 2008-03-01 12:51:20.000000000 +0100
-+++ celestia-1.5.0/src/celestia/wintime.cpp 2008-03-01 08:51:49.000000000 +0100
-@@ -18,6 +18,7 @@
- #include <celengine/astro.h>
- #include "celutil/util.h"
- #include "celutil/winutil.h"
-+#include <libintl.h>
-
-
-
---- celestia-1.5.0-upstream/src/celmath/quaternion.h 2008-03-01 12:51:20.000000000 +0100
-+++ celestia-1.5.0/src/celmath/quaternion.h 2008-03-01 12:30:07.000000000 +0100
-@@ -16,7 +16,6 @@
- #include <celmath/mathlib.h>
- #include <celmath/vecmath.h>
-
--
- template<class T> class Quaternion
- {
- public:
---- celestia-1.5.0-upstream/src/celutil/bigfix.cpp 2008-03-01 12:51:20.000000000 +0100
-+++ celestia-1.5.0/src/celutil/bigfix.cpp 2008-03-01 08:51:49.000000000 +0100
-@@ -10,6 +10,7 @@
- #include <math.h>
- #include <stdio.h>
- #include "bigfix.h"
-+#include <libintl.h>
-
-
- /*** Constructors ***/
---- celestia-1.5.0-upstream/src/celutil/color.cpp 2008-03-01 12:51:20.000000000 +0100
-+++ celestia-1.5.0/src/celutil/color.cpp 2008-03-01 11:53:16.000000000 +0100
-@@ -9,6 +9,7 @@
-
- #include <cstdio>
- #include <cstring>
-+#include <string.h>
- #include <cctype>
- #include "color.h"
-
---- celestia-1.5.0-upstream/src/celutil/directory.cpp 2008-03-01 12:51:20.000000000 +0100
-+++ celestia-1.5.0/src/celutil/directory.cpp 2008-03-01 08:51:49.000000000 +0100
-@@ -9,6 +9,7 @@
-
- #include <iostream>
- #include "directory.h"
-+#include <libintl.h>
-
- using namespace std;
-
---- celestia-1.5.0-upstream/src/celutil/filetype.cpp 2008-03-01 12:51:20.000000000 +0100
-+++ celestia-1.5.0/src/celutil/filetype.cpp 2008-03-01 08:51:49.000000000 +0100
-@@ -11,6 +11,7 @@
- #include <cstdlib>
- #include "util.h"
- #include "filetype.h"
-+#include <libintl.h>
-
- using namespace std;
-
---- celestia-1.5.0-upstream/src/celutil/formatnum.cpp 2008-03-01 12:51:20.000000000 +0100
-+++ celestia-1.5.0/src/celutil/formatnum.cpp 2008-03-01 08:50:23.000000000 +0100
-@@ -10,6 +10,8 @@
- #include <cmath>
- #include <cstdio>
- #include <string>
-+#include <cstring>
-+#include <limits.h>
- #include "formatnum.h"
-
- // HACK: MS Visual C++ has _snprintf declared in stdio.h but not snprintf
---- celestia-1.5.0-upstream/src/celutil/utf8.cpp 2008-03-01 12:51:20.000000000 +0100
-+++ celestia-1.5.0/src/celutil/utf8.cpp 2008-03-01 08:51:49.000000000 +0100
-@@ -9,7 +9,9 @@
-
- #include "utf8.h"
- #include <cctype>
-+#include <cstring>
- #include "util.h"
-+#include <libintl.h>
-
- unsigned int WGL4_Normalization_00[256] = {
- 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007,
---- celestia-1.5.0-upstream/src/celutil/util.cpp 2008-03-01 12:51:20.000000000 +0100
-+++ celestia-1.5.0/src/celutil/util.cpp 2008-03-01 08:51:49.000000000 +0100
-@@ -12,6 +12,7 @@
- #include "util.h"
- #include <sys/types.h>
- #include <sys/stat.h>
-+#include <libintl.h>
-
- using namespace std;
-
---- celestia-1.5.0-upstream/src/celutil/util.h 2008-03-01 12:51:20.000000000 +0100
-+++ celestia-1.5.0/src/celutil/util.h 2008-03-01 11:49:36.000000000 +0100
-@@ -22,11 +22,11 @@
- switch(0){case 0: case pred:;}
-
- #ifndef min
--#define min(a, b) ((a) < (b) ? (a) : (b))
-+template <typename T1, typename T2> bool min(T1 a, T2 b){ return a<(T1)b; }
- #endif
-
- #ifndef max
--#define max(a, b) ((a) < (b) ? (b) : (a))
-+template <typename T1, typename T2> bool max(T1 a, T2 b){ return a<(T1)b; }
- #endif
-
- #ifdef _WIN32
---- celestia-1.5.0-upstream/src/celutil/windirectory.cpp 2008-03-01 12:51:20.000000000 +0100
-+++ celestia-1.5.0/src/celutil/windirectory.cpp 2008-03-01 08:51:49.000000000 +0100
-@@ -10,6 +10,7 @@
- #include <iostream>
- #include <windows.h>
- #include "directory.h"
-+#include <libintl.h>
-
- using namespace std;
-
---- celestia-1.5.0-upstream/src/packdb.cpp 2008-03-01 12:51:20.000000000 +0100
-+++ celestia-1.5.0/src/packdb.cpp 2008-03-01 08:51:49.000000000 +0100
-@@ -10,6 +10,7 @@
- #include <stdlib.h>
- #include <stdio.h>
- #include <string.h>
-+#include <libintl.h>
-
- #define SPECTRAL_O 0
- #define SPECTRAL_B 1
---- celestia-1.5.0-upstream/src/tools/atmosphere/scattersim.cpp 2008-03-01 12:51:20.000000000 +0100
-+++ celestia-1.5.0/src/tools/atmosphere/scattersim.cpp 2008-03-01 11:53:23.000000000 +0100
-@@ -11,7 +11,9 @@
- #include <iostream>
- #include <fstream>
- #include <string>
-+#include <string.h>
- #include <cstdlib>
-+#include <libintl.h>
- #include <cmath>
- #include <algorithm>
- #include <map>
---- celestia-1.5.0-upstream/src/tools/buildstardb.cpp 2008-03-01 12:51:20.000000000 +0100
-+++ celestia-1.5.0/src/tools/buildstardb.cpp 2008-03-01 08:51:49.000000000 +0100
-@@ -16,6 +16,7 @@
- #include <cstdio>
- #include <assert.h>
- #include "stardb.h"
-+#include <libintl.h>
-
- using namespace std;
-
---- celestia-1.5.0-upstream/src/tools/cmod/cmodfix.cpp 2008-03-01 12:51:20.000000000 +0100
-+++ celestia-1.5.0/src/tools/cmod/cmodfix.cpp 2008-03-01 11:53:27.000000000 +0100
-@@ -18,6 +18,7 @@
- #include <cassert>
- #include <cmath>
- #include <cstdio>
-+#include <string.h>
- #include <algorithm>
- #include <vector>
- #ifdef TRISTRIP
---- celestia-1.5.0-upstream/src/tools/cmod/xtocmod.cpp 2008-03-01 12:51:20.000000000 +0100
-+++ celestia-1.5.0/src/tools/cmod/xtocmod.cpp 2008-03-01 11:53:31.000000000 +0100
-@@ -3,6 +3,7 @@
- #include <iomanip>
- #include <algorithm>
- #include <cstdio>
-+#include <string.h>
- #include <cassert>
- #include <cstring>
- #include <d3dx9.h>
---- celestia-1.5.0-upstream/src/tools/stardb/makestardb.cpp 2008-03-01 12:51:20.000000000 +0100
-+++ celestia-1.5.0/src/tools/stardb/makestardb.cpp 2008-03-01 11:53:34.000000000 +0100
-@@ -14,6 +14,7 @@
- #include <iomanip>
- #include <cctype>
- #include <cassert>
-+#include <string.h>
- #include <celutil/basictypes.h>
- #include <celutil/bytes.h>
- #include <celengine/astro.h>
---- celestia-1.5.0-upstream/src/tools/stardb/startextdump.cpp 2008-03-01 12:51:20.000000000 +0100
-+++ celestia-1.5.0/src/tools/stardb/startextdump.cpp 2008-03-01 11:53:40.000000000 +0100
-@@ -13,6 +13,7 @@
- #include <iostream>
- #include <fstream>
- #include <iomanip>
-+#include <string.h>
- #include <celutil/basictypes.h>
- #include <celutil/bytes.h>
- #include <celengine/astro.h>
---- celestia-1.5.0/src/celestia/oggtheoracapture.cpp.old 2008-04-15 07:51:06.000000000 +0200
-+++ celestia-1.5.0/src/celestia/oggtheoracapture.cpp 2008-04-15 07:51:24.000000000 +0200
-@@ -60,10 +60,11 @@
- #endif
-
- #include <cstdlib>
- #include <cstdio>
- #include <cmath>
-+#include <ctime>
- #include <celutil/debug.h>
- #include <celutil/util.h>
- #include "../celengine/gl.h"
- #include <string>
- #include <cstring>