summaryrefslogtreecommitdiff
path: root/misc/celestia
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2004-11-16 14:34:39 +0000
committeradam <adam@pkgsrc.org>2004-11-16 14:34:39 +0000
commit794234fae7142c2d1635768030cb824b912a3cc0 (patch)
tree0170da681754e82e4228f8f5f1ed066b1c5a3081 /misc/celestia
parent5842da126fd9bb5f7176086907efdf40fe3e6dd7 (diff)
downloadpkgsrc-794234fae7142c2d1635768030cb824b912a3cc0.tar.gz
Fix for KDE frontend
Diffstat (limited to 'misc/celestia')
-rw-r--r--misc/celestia/Makefile.common3
-rw-r--r--misc/celestia/distinfo5
-rw-r--r--misc/celestia/patches/patch-ac31
3 files changed, 36 insertions, 3 deletions
diff --git a/misc/celestia/Makefile.common b/misc/celestia/Makefile.common
index 3656268e10b..1878147bb08 100644
--- a/misc/celestia/Makefile.common
+++ b/misc/celestia/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.9 2004/11/12 15:12:00 jlam Exp $
+# $NetBSD: Makefile.common,v 1.10 2004/11/16 14:34:39 adam Exp $
DISTNAME= celestia-${CELESTIA_VERS}
CATEGORIES= misc x11
@@ -17,7 +17,6 @@ USE_GNU_TOOLS+= make
USE_LIBTOOL= yes
USE_X11= yes
GNU_CONFIGURE= yes
-#CONFIGURE_ARGS+= --includedir=${PREFIX}/include
CONFIGURE_ARGS+= --with-lua --with-glut
CXXFLAGS+= -DPKG_SYSCONFDIR=\"\\\"${PKG_SYSCONFDIR}\\\"\"
diff --git a/misc/celestia/distinfo b/misc/celestia/distinfo
index 262e128c94b..5a498565389 100644
--- a/misc/celestia/distinfo
+++ b/misc/celestia/distinfo
@@ -1,10 +1,13 @@
-$NetBSD: distinfo,v 1.4 2004/11/10 16:38:27 adam Exp $
+$NetBSD: distinfo,v 1.5 2004/11/16 14:34:39 adam Exp $
SHA1 (celestia-1.3.2.tar.gz) = 3407610f3844cd8aaf4f079e1ec5b0c236d3d547
Size (celestia-1.3.2.tar.gz) = 18091458 bytes
SHA1 (patch-aa) = ec2d90e1a6211acf02e5fd89dcf0f7a100394fa0
SHA1 (patch-ab) = 40c925ad12cc52b3034bcd15720b3c6483e2fdc1
+SHA1 (patch-ac) = 269d67d161cb9fb3e3832c2176b6f7bd9de34da0
SHA1 (patch-ad) = a0567e08ab982bff12bda44233938e6f98904025
SHA1 (patch-ae) = 09923dc44ed2c16193f634360f49c9fd12bab353
SHA1 (patch-af) = df2dae0d054a475ee98286281780037f088f07bc
SHA1 (patch-ag) = 16a8ae890c82bf1fa4f89953a5ebfc1c07ec1491
+SHA1 (patch-ah) = d7476c54346a30b0c00dbcec8fe4cdbce0e44c4f
+SHA1 (patch-ai) = 78a39852216eedb527ca4e48036527bc7b7fbfad
diff --git a/misc/celestia/patches/patch-ac b/misc/celestia/patches/patch-ac
new file mode 100644
index 00000000000..0f33db57dbb
--- /dev/null
+++ b/misc/celestia/patches/patch-ac
@@ -0,0 +1,31 @@
+$NetBSD: patch-ac,v 1.3 2004/11/16 14:34:39 adam Exp $
+
+--- src/celestia/kde/celestialbrowser.cpp.orig 2004-11-15 17:03:29.000000000 +0000
++++ src/celestia/kde/celestialbrowser.cpp
+@@ -138,7 +138,7 @@ void CelestialBrowser::slotRefresh()
+ QString starClass(buf);
+
+ CelListViewItem *starItem = new CelListViewItem(listStars, QString(name),
+- QString::fromUtf8(ReplaceGreekLetterAbbr(name).c_str()), dist, appMag, absMag, starClass);
++ QString(name), dist, appMag, absMag, starClass);
+
+ SolarSystemCatalog::iterator iter = solarSystemCatalog->find(star->getCatalogNumber());
+ if (iter != solarSystemCatalog->end())
+@@ -156,7 +156,7 @@ void CelestialBrowser::slotRefresh()
+ sprintf(buf, " %.2f au", starBodyDist / KM_PER_AU);
+ QString distStarBody(buf);
+
+- CelListViewItem *planetItem = new CelListViewItem(starItem, QString(body->getName()),
++ CelListViewItem *planetItem = new CelListViewItem(starItem, QString(body->getName().c_str()),
+ QString::fromUtf8(body->getName().c_str()),
+ distStarBody, "", "", getClassification(body->getClassification()));
+
+@@ -173,7 +173,7 @@ void CelestialBrowser::slotRefresh()
+ sprintf(buf, " %.0f km", bodySatDist);
+ QString distBodySat(buf);
+
+- new CelListViewItem(planetItem, QString(sat->getName()),
++ new CelListViewItem(planetItem, QString(sat->getName().c_str()),
+ QString::fromUtf8(sat->getName().c_str()),
+ distBodySat, "", "", getClassification(sat->getClassification()));
+