xplanet: dropped unmaintained port
This commit is contained in:
parent
f0bd9ba73a
commit
3f1151ca45
@ -1,55 +0,0 @@
|
||||
drwxr-xr-x root/root usr/
|
||||
drwxr-xr-x root/root usr/bin/
|
||||
-rwxr-xr-x root/root usr/bin/xplanet
|
||||
drwxr-xr-x root/root usr/share/
|
||||
drwxr-xr-x root/root usr/share/man/
|
||||
drwxr-xr-x root/root usr/share/man/man1/
|
||||
-rw-r--r-- root/root usr/share/man/man1/xplanet.1.gz
|
||||
drwxr-xr-x root/root usr/share/xplanet/
|
||||
drwxr-xr-x root/root usr/share/xplanet/arcs/
|
||||
-rw-r--r-- root/root usr/share/xplanet/arcs/constellations
|
||||
drwxr-xr-x root/root usr/share/xplanet/config/
|
||||
-rw-r--r-- root/root usr/share/xplanet/config/default
|
||||
-rw-r--r-- root/root usr/share/xplanet/config/earth_markers
|
||||
-rw-r--r-- root/root usr/share/xplanet/config/moon_orbit
|
||||
-rw-r--r-- root/root usr/share/xplanet/config/overlay_clouds
|
||||
drwxr-xr-x root/root usr/share/xplanet/ephemeris/
|
||||
drwxr-xr-x root/root usr/share/xplanet/fonts/
|
||||
-rw-r--r-- root/root usr/share/xplanet/fonts/FreeMonoBold.ttf
|
||||
drwxr-xr-x root/root usr/share/xplanet/images/
|
||||
-rw-r--r-- root/root usr/share/xplanet/images/earth.jpg
|
||||
-rw-r--r-- root/root usr/share/xplanet/images/hubble.png
|
||||
-rw-r--r-- root/root usr/share/xplanet/images/iss.png
|
||||
-rw-r--r-- root/root usr/share/xplanet/images/mgs.png
|
||||
-rw-r--r-- root/root usr/share/xplanet/images/night.jpg
|
||||
-rw-r--r-- root/root usr/share/xplanet/images/odyssey.png
|
||||
-rw-r--r-- root/root usr/share/xplanet/images/shuttle.png
|
||||
-rw-r--r-- root/root usr/share/xplanet/images/smile.png
|
||||
-rw-r--r-- root/root usr/share/xplanet/images/sublunar.png
|
||||
-rw-r--r-- root/root usr/share/xplanet/images/subsolar.png
|
||||
-rw-r--r-- root/root usr/share/xplanet/images/sun.jpg
|
||||
drwxr-xr-x root/root usr/share/xplanet/markers/
|
||||
-rw-r--r-- root/root usr/share/xplanet/markers/brightStars
|
||||
-rw-r--r-- root/root usr/share/xplanet/markers/earth
|
||||
-rw-r--r-- root/root usr/share/xplanet/markers/mars
|
||||
-rw-r--r-- root/root usr/share/xplanet/markers/moon
|
||||
drwxr-xr-x root/root usr/share/xplanet/origin/
|
||||
-rw-r--r-- root/root usr/share/xplanet/origin/cassini
|
||||
-rw-r--r-- root/root usr/share/xplanet/origin/galileo
|
||||
-rw-r--r-- root/root usr/share/xplanet/rgb.txt
|
||||
drwxr-xr-x root/root usr/share/xplanet/satellites/
|
||||
-rw-r--r-- root/root usr/share/xplanet/satellites/iss
|
||||
-rw-r--r-- root/root usr/share/xplanet/satellites/iss.tle
|
||||
drwxr-xr-x root/root usr/share/xplanet/scattering/
|
||||
-rw-r--r-- root/root usr/share/xplanet/scattering/earthRayleigh
|
||||
drwxr-xr-x root/root usr/share/xplanet/spice/
|
||||
-rw-r--r-- root/root usr/share/xplanet/spice/asteroids
|
||||
-rw-r--r-- root/root usr/share/xplanet/spice/asteroids.krn
|
||||
-rw-r--r-- root/root usr/share/xplanet/spice/cassini
|
||||
-rw-r--r-- root/root usr/share/xplanet/spice/cassini.krn
|
||||
-rw-r--r-- root/root usr/share/xplanet/spice/mgs
|
||||
-rw-r--r-- root/root usr/share/xplanet/spice/mgs.krn
|
||||
-rw-r--r-- root/root usr/share/xplanet/spice/voyager
|
||||
-rw-r--r-- root/root usr/share/xplanet/spice/voyager.krn
|
||||
drwxr-xr-x root/root usr/share/xplanet/stars/
|
||||
-rw-r--r-- root/root usr/share/xplanet/stars/BSC
|
@ -1,7 +0,0 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF34PAdR/JP6VvP18taRyJqEOYC2dd8OT1ef7/QMn+22vaVD5u9t4wY6hWLEnYSPqBWCnCPV8Y3uRAMVdV4FB/nw0=
|
||||
SHA256 (Pkgfile) = d67656586884f4c083429bae4de74269df4563472f68d8a7cb4ed664fa4c9c68
|
||||
SHA256 (.footprint) = 9bf2944747899fa8014a9b57dfffbb39175e76a40989a68cc154b235c000cfcc
|
||||
SHA256 (xplanet-1.3.1.tar.gz) = 4380d570a8bf27b81fb629c97a636c1673407f4ac4989ce931720078a90aece7
|
||||
SHA256 (giflib6.patch) = b42e3438e969713bcba6188669507bb23fde004598c070c4196a554ed5787be4
|
||||
SHA256 (xplanet-c++11.patch) = e651c7081c43ea48090186580b5a2a5d5039ab3ffbf34f7dd970037a16081454
|
@ -1,28 +0,0 @@
|
||||
# Description: Renders an image of the earth into the X root window.
|
||||
# URL: http://xplanet.sourceforge.net/
|
||||
# Maintainer: unmaintained
|
||||
# Depends on: pango giflib libtiff xorg-libxscrnsaver
|
||||
|
||||
name=xplanet
|
||||
version=1.3.1
|
||||
release=1
|
||||
source=(https://downloads.sourceforge.net/project/$name/$name/$version/$name-$version.tar.gz
|
||||
giflib6.patch
|
||||
xplanet-c++11.patch)
|
||||
|
||||
build() {
|
||||
cd $name-$version
|
||||
|
||||
patch -p1 -i $SRC/giflib6.patch
|
||||
patch -p1 -i $SRC/xplanet-c++11.patch
|
||||
sed -e 's|freetype-config|pkg-config freetype2|g' -i acinclude.m4
|
||||
autoreconf -vif
|
||||
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--with-freetype
|
||||
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
find $PKG -name "README" -type f -delete
|
||||
}
|
@ -1,30 +0,0 @@
|
||||
diff -wbBur xplanet-1.3.1/src/libimage/gif.c xplanet-1.3.1.q/src/libimage/gif.c
|
||||
--- xplanet-1.3.1/src/libimage/gif.c 2013-02-16 23:37:47.000000000 +0400
|
||||
+++ xplanet-1.3.1.q/src/libimage/gif.c 2016-03-14 17:41:14.244144734 +0300
|
||||
@@ -179,7 +179,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
- if (DGifCloseFile(GifFile) == GIF_ERROR) {
|
||||
+ if (DGifCloseFile(GifFile, NULL) == GIF_ERROR) {
|
||||
return(0);
|
||||
}
|
||||
|
||||
@@ -493,7 +493,7 @@
|
||||
static void QuitGifError(GifFileType *GifFile)
|
||||
{
|
||||
fprintf(stderr, "Error writing GIF file\n");
|
||||
- if (GifFile != NULL) EGifCloseFile(GifFile);
|
||||
+ if (GifFile != NULL) EGifCloseFile(GifFile, NULL);
|
||||
}
|
||||
|
||||
int
|
||||
@@ -589,7 +589,7 @@
|
||||
Ptr += width;
|
||||
}
|
||||
|
||||
- if (EGifCloseFile(GifFile) == GIF_ERROR)
|
||||
+ if (EGifCloseFile(GifFile, NULL) == GIF_ERROR)
|
||||
|
||||
{
|
||||
QuitGifError(GifFile);
|
@ -1,157 +0,0 @@
|
||||
Index: src/libannotate/addArcs.cpp
|
||||
===================================================================
|
||||
diff --git a/src/libannotate/addArcs.cpp b/src/libannotate/addArcs.cpp
|
||||
--- a/src/libannotate/addArcs.cpp (revision 206)
|
||||
+++ b/src/libannotate/addArcs.cpp (revision 207)
|
||||
@@ -258,7 +258,7 @@
|
||||
{
|
||||
ifstream inFile(arcFile.c_str());
|
||||
char *line = new char[MAX_LINE_LENGTH];
|
||||
- while (inFile.getline (line, MAX_LINE_LENGTH, '\n') != NULL)
|
||||
+ while (inFile.getline (line, MAX_LINE_LENGTH, '\n'))
|
||||
readArcFile(line, planet, view, projection,
|
||||
planetProperties, annotationMap);
|
||||
|
||||
@@ -292,7 +292,7 @@
|
||||
{
|
||||
ifstream inFile(arcFile.c_str());
|
||||
char *line = new char[256];
|
||||
- while (inFile.getline (line, 256, '\n') != NULL)
|
||||
+ while (inFile.getline (line, 256, '\n'))
|
||||
readArcFile(line, NULL, view, NULL, NULL, annotationMap);
|
||||
|
||||
inFile.close();
|
||||
Index: src/libannotate/addMarkers.cpp
|
||||
===================================================================
|
||||
diff --git a/src/libannotate/addMarkers.cpp b/src/libannotate/addMarkers.cpp
|
||||
--- a/src/libannotate/addMarkers.cpp (revision 206)
|
||||
+++ b/src/libannotate/addMarkers.cpp (revision 207)
|
||||
@@ -429,7 +429,7 @@
|
||||
{
|
||||
ifstream inFile(markerFile.c_str());
|
||||
char *line = new char[MAX_LINE_LENGTH];
|
||||
- while (inFile.getline (line, MAX_LINE_LENGTH, '\n') != NULL)
|
||||
+ while (inFile.getline (line, MAX_LINE_LENGTH, '\n'))
|
||||
{
|
||||
unsigned char color[3];
|
||||
memcpy(color, planetProperties->MarkerColor(), 3);
|
||||
@@ -475,7 +475,7 @@
|
||||
{
|
||||
ifstream inFile(markerFile.c_str());
|
||||
char *line = new char[MAX_LINE_LENGTH];
|
||||
- while (inFile.getline (line, MAX_LINE_LENGTH, '\n') != NULL)
|
||||
+ while (inFile.getline (line, MAX_LINE_LENGTH, '\n'))
|
||||
{
|
||||
unsigned char color[3];
|
||||
memcpy(color, options->Color(), 3);
|
||||
Index: src/libannotate/addSatellites.cpp
|
||||
===================================================================
|
||||
diff --git a/src/libannotate/addSatellites.cpp b/src/libannotate/addSatellites.cpp
|
||||
--- a/src/libannotate/addSatellites.cpp (revision 206)
|
||||
+++ b/src/libannotate/addSatellites.cpp (revision 207)
|
||||
@@ -488,10 +488,10 @@
|
||||
{
|
||||
ifstream inFile(tleFile.c_str());
|
||||
char lines[3][80];
|
||||
- while (inFile.getline(lines[0], 80) != NULL)
|
||||
+ while (inFile.getline(lines[0], 80))
|
||||
{
|
||||
- if ((inFile.getline(lines[1], 80) == NULL)
|
||||
- || (inFile.getline(lines[2], 80) == NULL))
|
||||
+ if ((!inFile.getline(lines[1], 80))
|
||||
+ || (!inFile.getline(lines[2], 80)))
|
||||
{
|
||||
ostringstream errStr;
|
||||
errStr << "Malformed TLE file (" << tleFile << ")?\n";
|
||||
@@ -542,7 +542,7 @@
|
||||
{
|
||||
ifstream inFile(satFile.c_str());
|
||||
char *line = new char[MAX_LINE_LENGTH];
|
||||
- while (inFile.getline (line, MAX_LINE_LENGTH, '\n') != NULL)
|
||||
+ while (inFile.getline (line, MAX_LINE_LENGTH, '\n'))
|
||||
readSatelliteFile(line, planet, view, projection,
|
||||
planetProperties, annotationMap);
|
||||
|
||||
Index: src/libannotate/addSpiceObjects.cpp
|
||||
===================================================================
|
||||
diff --git a/src/libannotate/addSpiceObjects.cpp b/src/libannotate/addSpiceObjects.cpp
|
||||
--- a/src/libannotate/addSpiceObjects.cpp (revision 206)
|
||||
+++ b/src/libannotate/addSpiceObjects.cpp (revision 207)
|
||||
@@ -524,7 +524,7 @@
|
||||
{
|
||||
ifstream inFile(kernelFile.c_str());
|
||||
char *line = new char[MAX_LINE_LENGTH];
|
||||
- while (inFile.getline(line, MAX_LINE_LENGTH, '\n') != NULL)
|
||||
+ while (inFile.getline(line, MAX_LINE_LENGTH, '\n'))
|
||||
{
|
||||
int ii = 0;
|
||||
while (isDelimiter(line[ii]))
|
||||
@@ -576,7 +576,7 @@
|
||||
{
|
||||
ifstream inFile(spiceFile.c_str());
|
||||
char *line = new char[MAX_LINE_LENGTH];
|
||||
- while (inFile.getline(line, MAX_LINE_LENGTH, '\n') != NULL)
|
||||
+ while (inFile.getline(line, MAX_LINE_LENGTH, '\n'))
|
||||
readSpiceFile(line, planetsFromSunMap, view, projection,
|
||||
annotationMap);
|
||||
inFile.close();
|
||||
Index: src/libmultiple/RayleighScattering.cpp
|
||||
===================================================================
|
||||
diff --git a/src/libmultiple/RayleighScattering.cpp b/src/libmultiple/RayleighScattering.cpp
|
||||
--- a/src/libmultiple/RayleighScattering.cpp (revision 206)
|
||||
+++ b/src/libmultiple/RayleighScattering.cpp (revision 207)
|
||||
@@ -369,7 +369,7 @@
|
||||
|
||||
diskTemplate_.clear();
|
||||
limbTemplate_.clear();
|
||||
- while (inFile.getline(line, MAX_LINE_LENGTH, '\n') != NULL)
|
||||
+ while (inFile.getline(line, MAX_LINE_LENGTH, '\n'))
|
||||
{
|
||||
int i = 0;
|
||||
while (isDelimiter(line[i]))
|
||||
@@ -439,7 +439,7 @@
|
||||
values.clear();
|
||||
|
||||
char line[MAX_LINE_LENGTH];
|
||||
- while (inFile.getline(line, MAX_LINE_LENGTH, '\n') != NULL)
|
||||
+ while (inFile.getline(line, MAX_LINE_LENGTH, '\n'))
|
||||
{
|
||||
int i = 0;
|
||||
while (isDelimiter(line[i]))
|
||||
@@ -470,7 +470,7 @@
|
||||
double &value)
|
||||
{
|
||||
char line[MAX_LINE_LENGTH];
|
||||
- while (inFile.getline(line, MAX_LINE_LENGTH, '\n') != NULL)
|
||||
+ while (inFile.getline(line, MAX_LINE_LENGTH, '\n'))
|
||||
{
|
||||
int i = 0;
|
||||
while (isDelimiter(line[i]))
|
||||
Index: src/libmultiple/drawStars.cpp
|
||||
===================================================================
|
||||
diff --git a/src/libmultiple/drawStars.cpp b/src/libmultiple/drawStars.cpp
|
||||
--- a/src/libmultiple/drawStars.cpp (revision 206)
|
||||
+++ b/src/libmultiple/drawStars.cpp (revision 207)
|
||||
@@ -41,7 +41,7 @@
|
||||
ifstream inFile(starMap.c_str());
|
||||
|
||||
char line[MAX_LINE_LENGTH];
|
||||
- while (inFile.getline(line, MAX_LINE_LENGTH, '\n') != NULL)
|
||||
+ while (inFile.getline(line, MAX_LINE_LENGTH, '\n'))
|
||||
{
|
||||
if (line[0] == '#') continue;
|
||||
|
||||
Index: src/readConfig.cpp
|
||||
===================================================================
|
||||
diff --git a/src/readConfig.cpp b/src/readConfig.cpp
|
||||
--- a/src/readConfig.cpp (revision 206)
|
||||
+++ b/src/readConfig.cpp (revision 207)
|
||||
@@ -550,7 +550,7 @@
|
||||
|
||||
ifstream inFile(configFile.c_str());
|
||||
char *line = new char[256];
|
||||
- while (inFile.getline(line, 256, '\n') != NULL)
|
||||
+ while (inFile.getline(line, 256, '\n'))
|
||||
readConfig(line, planetProperties);
|
||||
|
||||
// This condition will only be true if [default] is the only
|
Loading…
x
Reference in New Issue
Block a user