Skip to content
Permalink
Browse files

bump to 0.5p2. The master_site is now set to the site distributing th…

…e OpenBSD

patched version of xglobe, since the changes have not been included upstream yet.
This now actually displays the markers now on Darwin too.

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@4131 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Felix Kronlage
Felix Kronlage committed Dec 6, 2003
1 parent 59a44ff commit 3346ab4df10f0b5770c9899564c2a22cc2da3840
Showing with 30 additions and 8 deletions.
  1. +9 −8 x11/xglobe/Portfile
  2. +21 −0 x11/xglobe/files/patch-renderer_cpp
@@ -1,9 +1,8 @@
# $Id: Portfile,v 1.5 2003/08/11 23:48:18 fkr Exp $
# $Id: Portfile,v 1.6 2003/12/06 12:26:10 fkr Exp $

PortSystem 1.0
name xglobe
version 0.5
revision 1
name xglobe
version 0.5p2
categories x11
maintainers fkr@opendarwin.org
description XGlobe displays the earth as seen from space on your X desktop.
@@ -13,13 +12,15 @@ long_description XGlobe displays the earth as seen from space on your X desktop,
XGlobe uses a world map image which is mapped to the globe. \
With a good map this can look very nice. \
It is possible to mark locations on the globe. \
This port includes a map with markers for the OpenDarwin developers.
This port includes the work done by Mark Espie from OpenBSD, that has not \
yet be included upstream. Also there is a markerfile with the positions of \
the OpenDarwin developers.
homepage http://www.cs.unc.edu/~scheuerm/xglobe/
platforms darwin
master_sites ${homepage}
checksums md5 87caf7803f1d71a0b024188e3a2c759c
master_sites ftp://quatramaran.ens.fr/pub/espie/
checksums md5 068520cc8e835338e90ecc6e42f7d77b
depends_lib lib:libqt-mt.3.1:qt3 lib:libX11.6:XFree86
patchfiles patch-Makefile
patchfiles patch-Makefile patch-renderer_cpp
configure { reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/Makefile
reinplace "s|@@X11PREFIX@@|${x11prefix}|g" ${worksrcpath}/Makefile }
destroot.args DESTDIR=${destroot}
@@ -0,0 +1,21 @@
$OpenBSD: patch-renderer_cpp,v 1.5 2002/11/23 15:45:19 espie Exp $
--- renderer.cpp.orig Sat Nov 23 16:34:35 2002
+++ renderer.cpp Sat Nov 23 16:34:49 2002
@@ -91,6 +91,8 @@ Renderer::Renderer(const QSize &size, co
mapcloud = NULL;
track_clouds = NULL;

+ map = loadImage(mapfile ? mapfile : "map.bmp");
+
renderedImage = new QImage(size, 32);
if(!renderedImage)
{
@@ -98,8 +100,6 @@ Renderer::Renderer(const QSize &size, co
::exit(1);
}

- map = loadImage(mapfile ? mapfile : "map.bmp");
-
// fprintf(stderr, "Map size: %dx%d\n", map->width(), map->height());

this->radius = 1000.;

0 comments on commit 3346ab4

Please sign in to comment.
You can’t perform that action at this time.