Update of /cvsroot/fink/dists/10.3/stable/main/finkinfo/sci In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29497
Modified Files: stellarium.info stellarium.patch Log Message: Moved from unstable. Index: stellarium.patch =================================================================== RCS file: /cvsroot/fink/dists/10.3/stable/main/finkinfo/sci/stellarium.patch,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- stellarium.patch 6 Feb 2005 15:20:26 -0000 1.4 +++ stellarium.patch 29 May 2005 23:47:42 -0000 1.5 @@ -40,46 +40,3 @@ CDIR = DATA_ROOT + "/config/"; if ((tempFile = fopen((CDIR + "config.ini").c_str(),"r"))) -diff -ru stellarium-0.6.2.orig/src/stel_sdl.cpp stellarium-0.6.2/src/stel_sdl.cpp ---- stellarium-0.6.2.orig/src/stel_sdl.cpp 2004-10-11 18:37:27.000000000 -0400 -+++ stellarium-0.6.2/src/stel_sdl.cpp 2004-11-26 08:57:48.000000000 -0500 -@@ -219,15 +219,36 @@ - break; - - case SDL_MOUSEMOTION: -- core->handle_move(E.motion.x,E.motion.y); -+ if (core->get_Fullscreen()) -+ { -+ core->handle_move(E.motion.x,E.motion.y); -+ } -+ else -+ { -+ core->handle_move(E.motion.x,(core->get_screen_H()-E.motion.y)); -+ } - break; - - case SDL_MOUSEBUTTONDOWN: -- core->handle_clic(E.button.x,E.button.y,E.button.button,E.button.state); -+ if (core->get_Fullscreen()) -+ { -+ core->handle_clic(E.button.x,E.button.y,E.button.button,E.button.state); -+ } -+ else -+ { -+ core->handle_clic(E.button.x,(core->get_screen_H()-E.motion.y),E.button.button,E.button.state); -+ } - break; - - case SDL_MOUSEBUTTONUP: -- core->handle_clic(E.button.x,E.button.y,E.button.button,E.button.state); -+ if (core->get_Fullscreen()) -+ { -+ core->handle_clic(E.button.x,E.button.y,E.button.button,E.button.state); -+ } -+ else -+ { -+ core->handle_clic(E.button.x,(core->get_screen_H()-E.motion.y),E.button.button,E.button.state); -+ } - break; - - case SDL_KEYDOWN: Index: stellarium.info =================================================================== RCS file: /cvsroot/fink/dists/10.3/stable/main/finkinfo/sci/stellarium.info,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- stellarium.info 6 Mar 2005 04:04:46 -0000 1.5 +++ stellarium.info 29 May 2005 23:47:42 -0000 1.6 @@ -1,14 +1,14 @@ Package: stellarium Version: 0.6.2 -Revision: 3 +Revision: 4 Description: Real time 3D sky renderer Maintainer: Daniel Johnson <[EMAIL PROTECTED]> Source: mirror:sourceforge:stellarium/stellarium-%v.tar.gz Source-MD5: f00e99b88f53273419683cf18905e39c Patch: %n.patch -ConfigureParams: --mandir=%p/share/man --with-sdl-prefix=%p CC=gcc-3.3 CXX=g++-3.3 -BuildDepends: sdl (<< 1.2.8-1), macosx (>= 10.3.0-1), gcc3.3 -Depends: sdl-shlibs (<< 1.2.8-1), macosx (>= 10.3.0-1) +ConfigureParams: --mandir=%p/share/man --with-sdl-prefix=%p --disable-dependency-tracking --disable-sdltest CC=gcc-3.3 CXX=g++-3.3 +BuildDepends: sdl (>= 1.2.8-1), macosx (>= 10.3.0-1), gcc3.3 +Depends: sdl-shlibs (>= 1.2.8-1), macosx (>= 10.3.0-1) GCC: 3.3 DescDetail: << Stellarium renders a real time, photorealistic 3D image of the sky using @@ -39,11 +39,9 @@ << 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 and made some patches to recognize SDL. Patched main.cpp + 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. + /sw/share/stellarium/config/config.ini. << DescUsage: << User interface uses SDL and OpenGL; X11 is NOT used. Can be run from ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ Fink-commits mailing list Fink-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-commits