pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/misc/celestia Fix for KDE frontend



details:   https://anonhg.NetBSD.org/pkgsrc/rev/13b79383d04e
branches:  trunk
changeset: 483636:13b79383d04e
user:      adam <adam%pkgsrc.org@localhost>
date:      Tue Nov 16 14:34:39 2004 +0000

description:
Fix for KDE frontend

diffstat:

 misc/celestia/Makefile.common  |   3 +--
 misc/celestia/distinfo         |   5 ++++-
 misc/celestia/patches/patch-ac |  31 +++++++++++++++++++++++++++++++
 3 files changed, 36 insertions(+), 3 deletions(-)

diffs (70 lines):

diff -r de4058f8b63f -r 13b79383d04e misc/celestia/Makefile.common
--- a/misc/celestia/Makefile.common     Tue Nov 16 14:34:10 2004 +0000
+++ b/misc/celestia/Makefile.common     Tue Nov 16 14:34:39 2004 +0000
@@ -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_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 -r de4058f8b63f -r 13b79383d04e misc/celestia/distinfo
--- a/misc/celestia/distinfo    Tue Nov 16 14:34:10 2004 +0000
+++ b/misc/celestia/distinfo    Tue Nov 16 14:34:39 2004 +0000
@@ -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 -r de4058f8b63f -r 13b79383d04e misc/celestia/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/celestia/patches/patch-ac    Tue Nov 16 14:34:39 2004 +0000
@@ -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()));
+ 



Home | Main Index | Thread Index | Old Index