celestia-gtk: remove package

* gtk2, conflicts with celestia-glut, master has a gtk3 version, but
  it's not in a release yet
This commit is contained in:
Michal Vasilek 2022-10-21 02:50:45 +02:00
parent df37efc1f7
commit a0e505865b
8 changed files with 1 additions and 94 deletions

View file

@ -1,10 +0,0 @@
--- a/src/celengine/frametree.h 2014-04-26 16:08:47.217900392 +0200
+++ b/src/celengine/frametree.h 2014-04-26 16:09:09.601899991 +0200
@@ -13,6 +13,7 @@
#ifndef _CELENGINE_FRAMETREE_H_
#define _CELENGINE_FRAMETREE_H_
+#include <unistd.h>
#include <vector>
class Star;

View file

@ -1,12 +0,0 @@
--- a/src/celestia/imagecapture.cpp 2014-04-26 16:15:37.185893050 +0200
+++ b/src/celestia/imagecapture.cpp 2014-04-26 16:16:56.697891627 +0200
@@ -31,6 +31,9 @@
#include "png.h"
#endif
+// Z_BEST_COMPRESSION
+#include <zlib.h>
+
// Define png_jmpbuf() in case we are using a pre-1.0.6 version of libpng
#ifndef png_jmpbuf
#define png_jmpbuf(png_ptr) png_ptr->jmpbuf

View file

@ -1,12 +0,0 @@
--- a/src/celutil/basictypes.h 2011-06-05 18:11:15.000000000 +0200
+++ b/src/celutil/basictypes.h 2016-09-02 17:41:33.335187908 +0200
@@ -31,7 +31,9 @@
#include <limits>
typedef int64_t int64;
typedef uint64_t uint64;
+#ifndef INT64_MAX
#define INT64_MAX 9223372036854775807LL
+#endif
#ifndef UINT64_MAX
#define UINT64_MAX 0xffffffffffffffffULL
#endif

View file

@ -1,21 +0,0 @@
--- a/src/celengine/image.cpp 2014-04-26 14:41:56.359993709 +0200
+++ b/src/celengine/image.cpp 2014-04-26 14:42:16.886993341 +0200
@@ -42,6 +42,7 @@
#include "jpeglib.h"
#else
#include <cstdio>
+#include <string.h>
#include <jpeglib.h>
#endif
}
--- a/src/celengine/texture.cpp 2014-04-26 15:54:19.937915924 +0200
+++ b/src/celengine/texture.cpp 2014-04-26 15:54:46.992915439 +0200
@@ -28,6 +28,7 @@
#include <cstdlib>
#include <cstdio>
#include <cassert>
+#include <string.h>
#ifndef _WIN32
#ifndef TARGET_OS_MAC

View file

@ -1,11 +0,0 @@
--- a/src/celmath/intersect.h 2014-04-26 15:57:58.793912004 +0200
+++ b/src/celmath/intersect.h 2014-04-26 16:00:49.024908956 +0200
@@ -15,7 +15,7 @@
#include "ray.h"
#include "sphere.h"
#include "ellipsoid.h"
-
+#include "mathlib.h"
template<class T> bool testIntersection(const Ray3<T>& ray,
const Sphere<T>& sphere,

View file

@ -1,26 +0,0 @@
# Template file for 'celestia-gtk'
pkgname=celestia-gtk
version=1.6.1
revision=5
wrksrc="celestia-${version}"
build_style=gnu-configure
configure_args="--with-gtk --with-lua --enable-theora --disable-static"
hostmakedepends="pkg-config"
makedepends="gtkglext-devel zlib-devel lua51-devel glu-devel gtk+-devel
libjpeg-turbo-devel libpng-devel libtheora-devel"
short_desc="Free space simulation using GTK"
maintainer="Martin Riese <grauehaare@gmx.de>"
license="GPL-2.0-only"
homepage="https://celestia.space"
distfiles="${SOURCEFORGE_SITE}/celestia/celestia-${version}.tar.gz"
checksum="d35570ccb9440fc0bd3e73eb9b4c3e8a4c25f3ae444a13d1175053fa16dc34c4"
provides="celestia-${version}_${revision}"
replaces="celestia>=0"
do_configure() {
local _gtk_libs=$(pkg-config --libs gtkglext-x11-1.0)
CC="$CC" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" \
LIBS="-lpng -ljpeg -llua5.1 ${_gtk_libs} -logg -ltheora -lz -ldl" \
./configure ${configure_args}
}

View file

@ -1,2 +0,0 @@
pkgname="celestia"
ignore="103 104 107"

View file

@ -47,6 +47,7 @@ replaces="
cegui07-devel<=0.7.9_8
cegui07-doc<=0.7.9_8
cegui07<=0.7.9_8
celestia-gtk<=1.6.1_5
cgminer<=4.11.1_1
clamz<=0.5_4
couchdb<=1.7.1_2