From 35c650dfa5b41b8e61f7eb6d28acef350bcf6621 Mon Sep 17 00:00:00 2001 From: Danny Rawlins Date: Fri, 26 Jun 2009 01:01:32 +1000 Subject: [PATCH] xplanet: 1.2.0 -> 1.2.1 --- xplanet/.md5sum | 3 +- xplanet/Pkgfile | 17 ++-- xplanet/xplanet-1.2.0-gcc43.patch | 135 ------------------------------ 3 files changed, 10 insertions(+), 145 deletions(-) delete mode 100644 xplanet/xplanet-1.2.0-gcc43.patch diff --git a/xplanet/.md5sum b/xplanet/.md5sum index 5d446a91c..42e6bcc0d 100644 --- a/xplanet/.md5sum +++ b/xplanet/.md5sum @@ -1,2 +1 @@ -90a6d71a4893d828fd433b4269ce0fb1 xplanet-1.2.0-gcc43.patch -87d62fcdf43ad1beec677bfb6e299ac1 xplanet-1.2.0.tar.gz +5dca0369ca64fa3c006b616b72b5e1cf xplanet-1.2.1.tar.gz diff --git a/xplanet/Pkgfile b/xplanet/Pkgfile index c34590478..b817f3285 100644 --- a/xplanet/Pkgfile +++ b/xplanet/Pkgfile @@ -5,17 +5,18 @@ # Depends on: xorg libtiff libpng libungif name=xplanet -version=1.2.0 -release=2 -source=(http://dl.sourceforge.net/sourceforge/xplanet/xplanet-$version.tar.gz - xplanet-1.2.0-gcc43.patch) +version=1.2.1 +release=1 +source=(http://dl.sourceforge.net/sourceforge/$name/$name-$version.tar.gz) build() { - cd xplanet-$version - patch -p 1 -i $SRC/xplanet-1.2.0-gcc43.patch - ./configure --prefix=/usr + cd $name-$version + + ./configure \ + --prefix=/usr \ + --mandir=/usr/man + make make DESTDIR=$PKG install find $PKG -name "README" -type f -delete } - diff --git a/xplanet/xplanet-1.2.0-gcc43.patch b/xplanet/xplanet-1.2.0-gcc43.patch deleted file mode 100644 index 210c8a638..000000000 --- a/xplanet/xplanet-1.2.0-gcc43.patch +++ /dev/null @@ -1,135 +0,0 @@ -diff -ur xplanet-1.2.0.orig/src/buildPlanetMap.cpp xplanet-1.2.0/src/buildPlanetMap.cpp ---- xplanet-1.2.0.orig/src/buildPlanetMap.cpp 2004-04-20 23:47:21.000000000 +0200 -+++ xplanet-1.2.0/src/buildPlanetMap.cpp 2008-03-20 15:48:24.000000000 +0100 -@@ -1,5 +1,6 @@ - #include - #include -+#include - #include - using namespace std; - -diff -ur xplanet-1.2.0.orig/src/libannotate/addArcs.cpp xplanet-1.2.0/src/libannotate/addArcs.cpp ---- xplanet-1.2.0.orig/src/libannotate/addArcs.cpp 2005-03-15 19:27:13.000000000 +0100 -+++ xplanet-1.2.0/src/libannotate/addArcs.cpp 2008-03-20 15:44:58.000000000 +0100 -@@ -3,7 +3,7 @@ - #include - #include - #include --#include -+#include - #include - using namespace std; - -diff -ur xplanet-1.2.0.orig/src/libannotate/addMarkers.cpp xplanet-1.2.0/src/libannotate/addMarkers.cpp ---- xplanet-1.2.0.orig/src/libannotate/addMarkers.cpp 2004-08-29 22:41:58.000000000 +0200 -+++ xplanet-1.2.0/src/libannotate/addMarkers.cpp 2008-03-20 15:45:11.000000000 +0100 -@@ -5,7 +5,7 @@ - #include - #include - #include --#include -+#include - #include - using namespace std; - -diff -ur xplanet-1.2.0.orig/src/libannotate/addSatellites.cpp xplanet-1.2.0/src/libannotate/addSatellites.cpp ---- xplanet-1.2.0.orig/src/libannotate/addSatellites.cpp 2004-07-23 02:46:20.000000000 +0200 -+++ xplanet-1.2.0/src/libannotate/addSatellites.cpp 2008-03-20 15:45:23.000000000 +0100 -@@ -4,7 +4,7 @@ - #include - #include - #include --#include -+#include - #include - using namespace std; - -diff -ur xplanet-1.2.0.orig/src/libannotate/Icon.cpp xplanet-1.2.0/src/libannotate/Icon.cpp ---- xplanet-1.2.0.orig/src/libannotate/Icon.cpp 2004-02-16 19:36:42.000000000 +0100 -+++ xplanet-1.2.0/src/libannotate/Icon.cpp 2008-03-20 15:45:58.000000000 +0100 -@@ -1,4 +1,5 @@ - #include -+#include - using namespace std; - - #include "findFile.h" -diff -ur xplanet-1.2.0.orig/src/libplanet/Planet.cpp xplanet-1.2.0/src/libplanet/Planet.cpp ---- xplanet-1.2.0.orig/src/libplanet/Planet.cpp 2005-06-14 20:04:05.000000000 +0200 -+++ xplanet-1.2.0/src/libplanet/Planet.cpp 2008-03-20 15:46:53.000000000 +0100 -@@ -2,7 +2,7 @@ - #include - #include - #include --#include -+#include - using namespace std; - - #include "findFile.h" -diff -ur xplanet-1.2.0.orig/src/libprojection/getProjection.cpp xplanet-1.2.0/src/libprojection/getProjection.cpp ---- xplanet-1.2.0.orig/src/libprojection/getProjection.cpp 2005-06-13 17:13:11.000000000 +0200 -+++ xplanet-1.2.0/src/libprojection/getProjection.cpp 2008-03-20 15:47:34.000000000 +0100 -@@ -1,5 +1,6 @@ - #include - #include -+#include - #include - #include - using namespace std; -diff -ur xplanet-1.2.0.orig/src/Map.cpp xplanet-1.2.0/src/Map.cpp ---- xplanet-1.2.0.orig/src/Map.cpp 2005-06-15 01:40:46.000000000 +0200 -+++ xplanet-1.2.0/src/Map.cpp 2008-03-20 15:48:01.000000000 +0100 -@@ -1,5 +1,6 @@ - #include - #include -+#include - #include - using namespace std; - -diff -ur xplanet-1.2.0.orig/src/parseColor.cpp xplanet-1.2.0/src/parseColor.cpp ---- xplanet-1.2.0.orig/src/parseColor.cpp 2004-11-23 18:49:48.000000000 +0100 -+++ xplanet-1.2.0/src/parseColor.cpp 2008-03-20 15:49:23.000000000 +0100 -@@ -2,7 +2,8 @@ - #include - #include - #include --#include -+#include -+#include - using namespace std; - - #include "findFile.h" -diff -ur xplanet-1.2.0.orig/src/PlanetProperties.h xplanet-1.2.0/src/PlanetProperties.h ---- xplanet-1.2.0.orig/src/PlanetProperties.h 2005-04-02 02:43:06.000000000 +0200 -+++ xplanet-1.2.0/src/PlanetProperties.h 2008-03-20 15:46:16.000000000 +0100 -@@ -1,7 +1,7 @@ - #ifndef PLANETPROPERTIES_H - #define PLANETPROPERTIES_H - --#include -+#include - #include - - #include "body.h" -diff -ur xplanet-1.2.0.orig/src/xplanet.cpp xplanet-1.2.0/src/xplanet.cpp ---- xplanet-1.2.0.orig/src/xplanet.cpp 2004-09-09 17:46:05.000000000 +0200 -+++ xplanet-1.2.0/src/xplanet.cpp 2008-03-20 15:50:21.000000000 +0100 -@@ -1,5 +1,6 @@ - #include - #include -+#include - #include - #include - #include -diff -ur xplanet-1.2.0.orig/src/xpUtil.cpp xplanet-1.2.0/src/xpUtil.cpp ---- xplanet-1.2.0.orig/src/xpUtil.cpp 2005-04-02 02:22:51.000000000 +0200 -+++ xplanet-1.2.0/src/xpUtil.cpp 2008-03-20 15:50:06.000000000 +0100 -@@ -5,7 +5,8 @@ - #include - #include - #include --#include -+#include -+#include - using namespace std; - - #include