On Sun, Jan 04, 2009 at 02:05:35AM +0100, Stefan Sperling wrote:
> Hey Robert,
>
> the DESCR of xplanet says "An image that the user can rotate interactively
> can be popped up in a window using OpenGL or Mesa."
>
> This is wrong.
>
> The documentation does not explain how to do this.
>
> The binary isn't linked with libGL:
> $ ldd /usr/local/bin/xplanet | grep GL
> $
>
> And this is from http://xplanet.sourceforge.net/FAQ.php:
>
> The -animate option doesn't work any more.
> Will it be back in a future version?
>
> No. Getting this to work on multiple platforms was difficult. It
> generated a lot of complaints and I didn't like it much anyway. If you
> want this capability, Celestia is a much better OpenGL planet viewer
> than Xplanet ever was.
>
> See diff below.
>
> Thanks,
> Stefan
hi,
i've updated the diff a bit with some minor cleanups, ok?
cheers,
jasper
--
"Intelligence should guide our actions, but in harmony with the
texture of the situation at hand"
-- Francisco Varela
Index: Makefile
===================================================================
RCS file: /cvs/ports/x11/xplanet/Makefile,v
retrieving revision 1.42
diff -u -r1.42 Makefile
--- Makefile 25 Jul 2008 14:12:56 -0000 1.42
+++ Makefile 5 Jan 2009 23:29:21 -0000
@@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.42 2008/07/25 14:12:56 martynas Exp $
-COMMENT= Draw pictures of the earth textured by an image
+COMMENT= draw pictures of the earth textured by an image
DISTNAME= xplanet-1.2.0
-PKGNAME= ${DISTNAME}p0
+PKGNAME= ${DISTNAME}p1
CATEGORIES= astro geo x11
MAINTAINER= Robert Nagy <[email protected]>
@@ -11,14 +11,14 @@
HOMEPAGE= http://xplanet.sourceforge.net/
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=xplanet/}
-# GPL
+# GPLv2+
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
-WANTLIB= c charset expat fontconfig freetype glib-2.0 \
- gmodule-2.0 gobject-2.0 iconv intl jpeg m png \
- stdc++ z X11
+
+WANTLIB= X11 c charset expat fontconfig freetype glib-2.0 gmodule-2.0 \
+ gobject-2.0 iconv intl m stdc++ z
LIB_DEPENDS= pango-1.0.>=399.1,pangoft2-1.0.>=399.1::devel/pango \
gif.>=5::graphics/libungif \
Index: pkg/DESCR
===================================================================
RCS file: /cvs/ports/x11/xplanet/pkg/DESCR,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 DESCR
--- pkg/DESCR 24 May 2005 19:15:53 -0000 1.1.1.1
+++ pkg/DESCR 5 Jan 2009 23:29:21 -0000
@@ -1,5 +1,4 @@
-Xplanet was inspired by Xearth, which renders an image of the earth into the X
-root window. Xplanet uses the Imlib library to read user supplied maps of the
-earth (or another planet). Orthographic and mercator projections can be
-rendered to the root window or saved to a file. An image that the user can
-rotate interactively can be popped up in a window using OpenGL or Mesa.
+Xplanet was inspired by Xearth, which renders an image of the earth into
+the X root window. Xplanet uses the Imlib library to read user supplied
+maps of the earth (or another planet). Orthographic and mercator
+projections can be rendered to the root window or saved to a file.
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/x11/xplanet/pkg/PLIST,v
retrieving revision 1.5
diff -u -r1.5 PLIST
--- pkg/PLIST 19 May 2007 09:06:49 -0000 1.5
+++ pkg/PLIST 5 Jan 2009 23:29:21 -0000
@@ -1,5 +1,5 @@
@comment $OpenBSD: PLIST,v 1.5 2007/05/19 09:06:49 kili Exp $
-bin/xplanet
+...@bin bin/xplanet
@man man/man1/xplanet.1
share/xplanet/
share/xplanet/arcs/