Update to 1.2.0. From Rolf Sommerhalder.
ok robert@ (MAINTAINER)
This commit is contained in:
parent
d2c0e48e09
commit
70f8d9dbb9
@ -1,9 +1,8 @@
|
||||
# $OpenBSD: Makefile,v 1.39 2006/12/01 16:50:38 espie Exp $
|
||||
# $OpenBSD: Makefile,v 1.40 2007/05/19 09:06:49 kili Exp $
|
||||
|
||||
COMMENT= "Draw pictures of the earth textured by an image"
|
||||
|
||||
DISTNAME= xplanet-1.1.2
|
||||
PKGNAME= ${DISTNAME}p33
|
||||
DISTNAME= xplanet-1.2.0
|
||||
CATEGORIES= astro geo x11
|
||||
|
||||
MAINTAINER= Robert Nagy <robert@openbsd.org>
|
||||
@ -16,8 +15,9 @@ PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
WANTLIB= c charset fontconfig freetype glib-2.0 gmodule-2.0 \
|
||||
gobject-2.0 iconv intl jpeg m png stdc++ z X11
|
||||
WANTLIB= c charset expat fontconfig freetype glib-2.0 \
|
||||
gmodule-2.0 gobject-2.0 iconv intl jpeg m png \
|
||||
stdc++ z X11
|
||||
|
||||
LIB_DEPENDS= pango-1.0.>=399.1,pangoft2-1.0.>=399.1::devel/pango \
|
||||
gif.>=5::graphics/libungif \
|
||||
@ -35,7 +35,7 @@ CONFIGURE_ARGS= --without-xscreensaver \
|
||||
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include \
|
||||
-I${LOCALBASE}/include/libpng" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib"
|
||||
LDFLAGS="-L${X11BASE}/lib -L${LOCALBASE}/lib"
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA} ${FILESDIR}/openbsd_markers \
|
||||
|
@ -1,5 +1,5 @@
|
||||
MD5 (xplanet-1.1.2.tar.gz) = +pr1/CPahTIXLkeal1ZJuQ==
|
||||
RMD160 (xplanet-1.1.2.tar.gz) = CJp7IcClewNepb8+Cj8gYDeO2mc=
|
||||
SHA1 (xplanet-1.1.2.tar.gz) = FeaMf5/416Gg4+ZN500fr6KRees=
|
||||
SHA256 (xplanet-1.1.2.tar.gz) = rGAXNdAMA7+lEcrWPCx2qbQq9CLUrxFR4vmWNyiqCl8=
|
||||
SIZE (xplanet-1.1.2.tar.gz) = 1185949
|
||||
MD5 (xplanet-1.2.0.tar.gz) = h9YvzfQ60b7sZ3v7bimawQ==
|
||||
RMD160 (xplanet-1.2.0.tar.gz) = aAeWKeghlPSDyqDAbXNnJUTvvLs=
|
||||
SHA1 (xplanet-1.2.0.tar.gz) = 4AJxH5D1AlZWE6sXonMXXMA1tSw=
|
||||
SHA256 (xplanet-1.2.0.tar.gz) = KOs2VB2sQKE/Sw3LoxDsqoJSh/ZAdMUXXSYTaNgpBpU=
|
||||
SIZE (xplanet-1.2.0.tar.gz) = 1196496
|
||||
|
11
x11/xplanet/patches/patch-ProjectionIcosagnomonic_cpp
Normal file
11
x11/xplanet/patches/patch-ProjectionIcosagnomonic_cpp
Normal file
@ -0,0 +1,11 @@
|
||||
--- src/libprojection/ProjectionIcosagnomonic.cpp.orig Tue Jun 14 20:10:36 2005
|
||||
+++ src/libprojection/ProjectionIcosagnomonic.cpp Thu May 3 14:49:44 2007
|
||||
@@ -102,7 +102,7 @@ ProjectionIcosagnomonic::PointLL::sameSide(const Point
|
||||
double dp1 = PointXYZ::dotP(cp, p1);
|
||||
double dp2 = PointXYZ::dotP(cp, p2);
|
||||
|
||||
- return (signbit(dp1) == signbit(dp2) || fabs(dp1) < 1e-10);
|
||||
+ return ((dp1 < 0.0) == (dp2 < 0.0) || fabs(dp1) < 1e-10);
|
||||
}
|
||||
|
||||
bool
|
@ -1,7 +1,7 @@
|
||||
$OpenBSD: patch-src_Options_cpp,v 1.1.1.1 2005/05/24 19:15:53 robert Exp $
|
||||
--- src/Options.cpp.orig Wed Apr 13 13:46:38 2005
|
||||
+++ src/Options.cpp Wed Apr 13 13:47:05 2005
|
||||
@@ -100,7 +100,7 @@
|
||||
$OpenBSD: patch-src_Options_cpp,v 1.2 2007/05/19 09:06:49 kili Exp $
|
||||
--- src/Options.cpp.orig Tue Jun 14 19:36:45 2005
|
||||
+++ src/Options.cpp Sat Apr 28 16:42:07 2007
|
||||
@@ -104,7 +104,7 @@ Options::Options() :
|
||||
oX_(0),
|
||||
oY_(0),
|
||||
oZ_(0),
|
||||
|
@ -1,4 +1,4 @@
|
||||
@comment $OpenBSD: PLIST,v 1.4 2006/12/01 16:50:38 espie Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.5 2007/05/19 09:06:49 kili Exp $
|
||||
bin/xplanet
|
||||
@man man/man1/xplanet.1
|
||||
share/xplanet/
|
||||
@ -29,6 +29,7 @@ share/xplanet/images/shuttle.png
|
||||
share/xplanet/images/smile.png
|
||||
share/xplanet/images/sublunar.png
|
||||
share/xplanet/images/subsolar.png
|
||||
share/xplanet/images/sun.jpg
|
||||
share/xplanet/markers/
|
||||
share/xplanet/markers/README
|
||||
share/xplanet/markers/brightStars
|
||||
|
Loading…
Reference in New Issue
Block a user