aboutsummaryrefslogtreecommitdiff
path: root/academic
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@liwjatan.at>2011-09-01 11:44:37 -0300
committerNiels Horn <niels.horn@slackbuilds.org>2011-09-01 11:44:37 -0300
commit135b7bcb2825788a020a90c04880aa006a0c44cb (patch)
tree106c158f40196513191695ededdc4b808400cf37 /academic
parent6b139e5d363ba5f59e8a6c077048ea490b2aea91 (diff)
academic/celestia: Updated for version 1.6.1.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'academic')
-rw-r--r--academic/celestia/celestia-1.6.0-gcc45.patch51
-rw-r--r--academic/celestia/celestia-1.6.0-libpng14.patch14
-rw-r--r--academic/celestia/celestia.SlackBuild10
-rw-r--r--academic/celestia/celestia.info8
-rw-r--r--academic/celestia/slack-desc2
5 files changed, 7 insertions, 78 deletions
diff --git a/academic/celestia/celestia-1.6.0-gcc45.patch b/academic/celestia/celestia-1.6.0-gcc45.patch
deleted file mode 100644
index 8ee9adb2aa8a5..0000000000000
--- a/academic/celestia/celestia-1.6.0-gcc45.patch
+++ /dev/null
@@ -1,51 +0,0 @@
-Fixing build with GCC-4.5
-
-http://bugs.gentoo.org/show_bug.cgi?id=317507
-
-Patch written by Philipp <sefi@s-e-f-i.de>
---- src/celengine/overlay.h
-+++ src/celengine/overlay.h
-@@ -12,6 +12,7 @@
-
- #include <string>
- #include <iostream>
-+#include <cstdio>
- #include <celtxf/texturefont.h>
-
-
---- src/celmath/mathlib.h
-+++ src/celmath/mathlib.h
-@@ -44,11 +44,6 @@
- template<class T> T radToDeg(T r)
- return r * 180 / static_cast<T>(PI);
- }
-
--template<class T> T abs(T x)
--{
-- return (x < 0) ? -x : x;
--}
--
- template<class T> T square(T x)
- {
- return x * x;
---- src/celengine/star.cpp
-+++ src/celengine/star.cpp
-@@ -10,6 +10,7 @@
- #include <celmath/mathlib.h>
- #include <cstring>
- #include <cassert>
-+#include <cstdio>
- #include "celestia.h"
- #include "astro.h"
- #include "orbit.h"
---- src/celestia/celx_object.cpp
-+++ src/celestia/celx_object.cpp
-@@ -773,7 +773,7 @@ static int object_mark(lua_State* l)
- markAlpha = 1.0f;
-
- Color markColorAlpha(0.0f, 1.0f, 0.0f, 0.9f);
-- markColorAlpha = Color::Color(markColor, markAlpha);
-+ markColorAlpha = Color(markColor, markAlpha);
-
- const char* markLabel = celx.safeGetString(6, WrongType, "Fifth argument to object:mark must be a string");
- if (markLabel == NULL)
diff --git a/academic/celestia/celestia-1.6.0-libpng14.patch b/academic/celestia/celestia-1.6.0-libpng14.patch
deleted file mode 100644
index ac6f07aeac0d6..0000000000000
--- a/academic/celestia/celestia-1.6.0-libpng14.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-http://bugs.gentoo.org/show_bug.cgi?id=307429
-http://repos.archlinux.org/wsvn/packages/celestia/trunk/libpng14.patch
-
---- src/celengine/image.cpp
-+++ src/celengine/image.cpp
-@@ -737,7 +737,7 @@
-
- if (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8)
- {
-- png_set_gray_1_2_4_to_8(png_ptr);
-+ png_set_expand_gray_1_2_4_to_8(png_ptr);
- }
-
- if (png_get_valid(png_ptr, info_ptr, PNG_INFO_tRNS))
diff --git a/academic/celestia/celestia.SlackBuild b/academic/celestia/celestia.SlackBuild
index 96a7b5bd724d7..4c804df18b2ad 100644
--- a/academic/celestia/celestia.SlackBuild
+++ b/academic/celestia/celestia.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for celestia
-# Copyright 2008-2009 Heinz Wiesinger <pprkut@liwjatan.at>
+# Copyright 2008-2011 Heinz Wiesinger <pprkut@liwjatan.at>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=celestia
-VERSION=1.6.0
+VERSION=1.6.1
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -72,12 +72,6 @@ find . \
# Note that the kde frontend will only build with kde3
FRONTEND=${FRONTEND:-gtk}
-# Fix detecting libpng 1.4
-patch -p0 -i $CWD/celestia-1.6.0-libpng14.patch
-
-# Fix build errors for gcc 4.5
-patch -p0 -i $CWD/celestia-1.6.0-gcc45.patch
-
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
diff --git a/academic/celestia/celestia.info b/academic/celestia/celestia.info
index 6dfd5d7a37594..a03cc3919b53d 100644
--- a/academic/celestia/celestia.info
+++ b/academic/celestia/celestia.info
@@ -1,10 +1,10 @@
PRGNAM="celestia"
-VERSION="1.6.0"
+VERSION="1.6.1"
HOMEPAGE="http://www.shatters.net/celestia/"
-DOWNLOAD="http://downloads.sourceforge.net/celestia/celestia-1.6.0.tar.gz"
+DOWNLOAD="http://downloads.sourceforge.net/celestia/celestia-1.6.1.tar.gz"
+MD5SUM="02208982a431b984502fac909bf380f4"
DOWNLOAD_x86_64=""
-MD5SUM="9b96a8e7666ab5a26f032b9d605e023d"
MD5SUM_x86_64=""
MAINTAINER="Heinz Wiesinger"
EMAIL="pprkut@liwjatan.at"
-APPROVED="dsomero"
+APPROVED="Niels Horn"
diff --git a/academic/celestia/slack-desc b/academic/celestia/slack-desc
index cf5907eecf3ec..d019861f2f7a9 100644
--- a/academic/celestia/slack-desc
+++ b/academic/celestia/slack-desc
@@ -5,7 +5,7 @@
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':'.
- |-----handy-ruler----------------------------------------------------|
+ |-----handy-ruler------------------------------------------------------|
celestia: celestia (Realtime Space Simulation)
celestia:
celestia: A real-time space simulation that lets you experience our universe