Update of /cvsroot/fink/dists/10.3/unstable/main/finkinfo/sci
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21648

Modified Files:
        stellarium.info stellarium.patch 
Log Message:
New upstream version.

Index: stellarium.patch
===================================================================
RCS file: /cvsroot/fink/dists/10.3/unstable/main/finkinfo/sci/stellarium.patch,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- stellarium.patch    13 Oct 2004 03:52:03 -0000      1.4
+++ stellarium.patch    24 Oct 2004 19:04:02 -0000      1.5
@@ -1,7 +1,8 @@
-diff -ru stellarium-0.6.0.orig/configure stellarium-0.6.0/configure
---- stellarium-0.6.0.orig/configure    Mon May 31 11:05:08 2004
-+++ stellarium-0.6.0/configure Mon Oct 11 23:23:25 2004
-@@ -3331,8 +3331,8 @@
+Binary files stellarium-0.6.1.orig/.DS_Store and stellarium-0.6.1/.DS_Store differ
+diff -ru stellarium-0.6.1.orig/configure stellarium-0.6.1/configure
+--- stellarium-0.6.1.orig/configure    Sun Oct 17 08:12:27 2004
++++ stellarium-0.6.1/configure Sat Oct 23 23:50:08 2004
+@@ -3341,8 +3341,8 @@
  
  
  
@@ -12,7 +13,25 @@
  
  ac_ext=c
  ac_cpp='$CPP $CPPFLAGS'
-@@ -6389,7 +6389,7 @@
+@@ -5653,7 +5653,7 @@
+ CFLAGS="$CFLAGS $X_CFLAGS"
+ 
+ case "$host" in
+-*-*-darwin*)
++*-*-skip*)
+ SDL_VERSION=1.2.0
+ ;;
+ 
+@@ -6359,7 +6359,7 @@
+ 
+ 
+ case "$host" in
+-*-*-darwin*)
++*-*-skip*)
+ PKGDATADIR="Stellarium.app/Contents/Resources"
+ ;;
+ *)
+@@ -6384,7 +6384,7 @@
  #define MACOSX 1
  _ACEOF
  
@@ -21,9 +40,9 @@
        LIBS="$LIBS -framework OpenGL -lobjc "
  ;;
  
-diff -ru stellarium-0.6.0.orig/src/main.cpp stellarium-0.6.0/src/main.cpp
---- stellarium-0.6.0.orig/src/main.cpp Fri Apr 30 04:16:56 2004
-+++ stellarium-0.6.0/src/main.cpp      Mon Oct 11 23:23:25 2004
+diff -ru stellarium-0.6.1.orig/src/main.cpp stellarium-0.6.1/src/main.cpp
+--- stellarium-0.6.1.orig/src/main.cpp Fri Oct  8 20:14:04 2004
++++ stellarium-0.6.1/src/main.cpp      Sat Oct 23 22:51:37 2004
 @@ -142,7 +142,7 @@
  
        // If the system is non unix (windows) or if it's macosx the config file is in 
the
@@ -33,30 +52,22 @@
        CDIR = DATA_ROOT + "/config/";
  
        if ((tempFile = fopen((CDIR + "config.ini").c_str(),"r")))
-diff -ru stellarium-0.6.0.orig/src/observator.cpp stellarium-0.6.0/src/observator.cpp
---- stellarium-0.6.0.orig/src/observator.cpp   Mon May 31 10:33:10 2004
-+++ stellarium-0.6.0/src/observator.cpp        Mon Oct 11 23:23:25 2004
-@@ -166,7 +166,16 @@
- // Fixed 31-05-2004 Now use the extern variables set by tzset()
- float Observator::get_GMT_shift_from_system(double JD) const
- {
-+#ifdef MACOSX 
-+      time_t rawtime = get_time_t_from_julian(JD);
-+
-+      struct tm * timeinfo;
-+      timeinfo = localtime(&rawtime);
-+      
+diff -ru stellarium-0.6.1.orig/src/observator.cpp stellarium-0.6.1/src/observator.cpp
+--- stellarium-0.6.1.orig/src/observator.cpp   Fri Oct  8 20:14:04 2004
++++ stellarium-0.6.1/src/observator.cpp        Sun Oct 24 00:01:56 2004
+@@ -170,7 +170,7 @@
+       struct tm *timeinfo;
+       time_t rawtime; time(&rawtime);
+       timeinfo = localtime(&rawtime);
+-      return (float)timeinfo->tm_gmtoff/3600 + (timeinfo->tm_isdst!=0);
 +      return (float)timeinfo->tm_gmtoff/3600;
-+#else
+ #else
        return -(float)timezone/3600 + (daylight!=0);
-+#endif
  
-       
- /*    time_t rawtime = get_time_t_from_julian(JD);
-diff -ru stellarium-0.6.0.orig/src/stel_sdl.cpp stellarium-0.6.0/src/stel_sdl.cpp
---- stellarium-0.6.0.orig/src/stel_sdl.cpp     Wed May  5 16:49:20 2004
-+++ stellarium-0.6.0/src/stel_sdl.cpp  Tue Oct 12 23:27:05 2004
-@@ -121,15 +121,36 @@
+diff -ru stellarium-0.6.1.orig/src/stel_sdl.cpp stellarium-0.6.1/src/stel_sdl.cpp
+--- stellarium-0.6.1.orig/src/stel_sdl.cpp     Mon Oct 11 18:37:27 2004
++++ stellarium-0.6.1/src/stel_sdl.cpp  Sat Oct 23 22:59:35 2004
+@@ -219,15 +219,36 @@
                                        break;
  
                                case SDL_MOUSEMOTION:

Index: stellarium.info
===================================================================
RCS file: /cvsroot/fink/dists/10.3/unstable/main/finkinfo/sci/stellarium.info,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- stellarium.info     13 Oct 2004 03:52:03 -0000      1.5
+++ stellarium.info     24 Oct 2004 19:04:02 -0000      1.6
@@ -1,10 +1,10 @@
 Package: stellarium
-Version: 0.6.0
-Revision: 4
+Version: 0.6.1
+Revision: 1
 Description: Real time 3D sky renderer
 Maintainer: Daniel Johnson <[EMAIL PROTECTED]>
 Source: mirror:sourceforge:stellarium/stellarium-%v.tar.gz
-Source-MD5: 820a9246cb8c17c1ef6361100984ccbe
+Source-MD5: 1065f8ba5a47c7b91997e8bf78d7549e
 Patch: %n.patch
 ConfigureParams: --mandir=%p/share/man --with-sdl-prefix=%p
 BuildDepends: sdl
@@ -40,10 +40,10 @@
 DescPort: <<
   Patched configure to link with libmx.dylib, needed for some math functions.
   Removed "-s" flag from linking as this can cause crashing when built with
-  Xcode before 1.5. MacOS X doesn't have daylight or timezone variables, so
-  had to change timezone code. Patched main.cpp to save configuration file
-  in ~/.stellarium/config.ini instead of %p/share/stellarium/config/config.ini
-  and patched stel_sdl.cpp to flip y coordinate when in windowed mode.
+  Xcode before 1.5 and made some patches to recognize SDL. Patched main.cpp
+  to save configuration file in ~/.stellarium/config.ini instead of
+  /sw/share/stellarium/config/config.ini and patched stel_sdl.cpp to flip
+  y coordinate when in windowed mode.
 <<
 DescUsage: <<
   User interface uses SDL and OpenGL; X11 is NOT used. Can be run from
@@ -55,6 +55,6 @@
   "fullscreen = true" to "fullscreen = false" in your ~/.stellarium/config.ini
   and make your screen_h and screen_w smaller than your screen size.
 <<
-DocFiles: AUTHORS COPYING INSTALL NEWS README TODO doc/developer_guide.tex
+DocFiles: AUTHORS ChangeLog COPYING INSTALL NEWS README TODO doc/developer_guide.tex
 License: GPL
 Homepage: http://stellarium.free.fr/
\ No newline at end of file



-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Fink-commits mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to