head 1.4; access; symbols pkgsrc-2026Q1:1.4.0.100 pkgsrc-2026Q1-base:1.4 pkgsrc-2025Q4:1.4.0.98 pkgsrc-2025Q4-base:1.4 pkgsrc-2025Q3:1.4.0.96 pkgsrc-2025Q3-base:1.4 pkgsrc-2025Q2:1.4.0.94 pkgsrc-2025Q2-base:1.4 pkgsrc-2025Q1:1.4.0.92 pkgsrc-2025Q1-base:1.4 pkgsrc-2024Q4:1.4.0.90 pkgsrc-2024Q4-base:1.4 pkgsrc-2024Q3:1.4.0.88 pkgsrc-2024Q3-base:1.4 pkgsrc-2024Q2:1.4.0.86 pkgsrc-2024Q2-base:1.4 pkgsrc-2024Q1:1.4.0.84 pkgsrc-2024Q1-base:1.4 pkgsrc-2023Q4:1.4.0.82 pkgsrc-2023Q4-base:1.4 pkgsrc-2023Q3:1.4.0.80 pkgsrc-2023Q3-base:1.4 pkgsrc-2023Q2:1.4.0.78 pkgsrc-2023Q2-base:1.4 pkgsrc-2023Q1:1.4.0.76 pkgsrc-2023Q1-base:1.4 pkgsrc-2022Q4:1.4.0.74 pkgsrc-2022Q4-base:1.4 pkgsrc-2022Q3:1.4.0.72 pkgsrc-2022Q3-base:1.4 pkgsrc-2022Q2:1.4.0.70 pkgsrc-2022Q2-base:1.4 pkgsrc-2022Q1:1.4.0.68 pkgsrc-2022Q1-base:1.4 pkgsrc-2021Q4:1.4.0.66 pkgsrc-2021Q4-base:1.4 pkgsrc-2021Q3:1.4.0.64 pkgsrc-2021Q3-base:1.4 pkgsrc-2021Q2:1.4.0.62 pkgsrc-2021Q2-base:1.4 pkgsrc-2021Q1:1.4.0.60 pkgsrc-2021Q1-base:1.4 pkgsrc-2020Q4:1.4.0.58 pkgsrc-2020Q4-base:1.4 pkgsrc-2020Q3:1.4.0.56 pkgsrc-2020Q3-base:1.4 pkgsrc-2020Q2:1.4.0.52 pkgsrc-2020Q2-base:1.4 pkgsrc-2020Q1:1.4.0.32 pkgsrc-2020Q1-base:1.4 pkgsrc-2019Q4:1.4.0.54 pkgsrc-2019Q4-base:1.4 pkgsrc-2019Q3:1.4.0.50 pkgsrc-2019Q3-base:1.4 pkgsrc-2019Q2:1.4.0.48 pkgsrc-2019Q2-base:1.4 pkgsrc-2019Q1:1.4.0.46 pkgsrc-2019Q1-base:1.4 pkgsrc-2018Q4:1.4.0.44 pkgsrc-2018Q4-base:1.4 pkgsrc-2018Q3:1.4.0.42 pkgsrc-2018Q3-base:1.4 pkgsrc-2018Q2:1.4.0.40 pkgsrc-2018Q2-base:1.4 pkgsrc-2018Q1:1.4.0.38 pkgsrc-2018Q1-base:1.4 pkgsrc-2017Q4:1.4.0.36 pkgsrc-2017Q4-base:1.4 pkgsrc-2017Q3:1.4.0.34 pkgsrc-2017Q3-base:1.4 pkgsrc-2017Q2:1.4.0.30 pkgsrc-2017Q2-base:1.4 pkgsrc-2017Q1:1.4.0.28 pkgsrc-2017Q1-base:1.4 pkgsrc-2016Q4:1.4.0.26 pkgsrc-2016Q4-base:1.4 pkgsrc-2016Q3:1.4.0.24 pkgsrc-2016Q3-base:1.4 pkgsrc-2016Q2:1.4.0.22 pkgsrc-2016Q2-base:1.4 pkgsrc-2016Q1:1.4.0.20 pkgsrc-2016Q1-base:1.4 pkgsrc-2015Q4:1.4.0.18 pkgsrc-2015Q4-base:1.4 pkgsrc-2015Q3:1.4.0.16 pkgsrc-2015Q3-base:1.4 pkgsrc-2015Q2:1.4.0.14 pkgsrc-2015Q2-base:1.4 pkgsrc-2015Q1:1.4.0.12 pkgsrc-2015Q1-base:1.4 pkgsrc-2014Q4:1.4.0.10 pkgsrc-2014Q4-base:1.4 pkgsrc-2014Q3:1.4.0.8 pkgsrc-2014Q3-base:1.4 pkgsrc-2014Q2:1.4.0.6 pkgsrc-2014Q2-base:1.4 pkgsrc-2014Q1:1.4.0.4 pkgsrc-2014Q1-base:1.4 pkgsrc-2013Q4:1.4.0.2 pkgsrc-2013Q4-base:1.4 pkgsrc-2013Q3:1.3.0.62 pkgsrc-2013Q3-base:1.3 pkgsrc-2013Q2:1.3.0.60 pkgsrc-2013Q2-base:1.3 pkgsrc-2013Q1:1.3.0.58 pkgsrc-2013Q1-base:1.3 pkgsrc-2012Q4:1.3.0.56 pkgsrc-2012Q4-base:1.3 pkgsrc-2012Q3:1.3.0.54 pkgsrc-2012Q3-base:1.3 pkgsrc-2012Q2:1.3.0.52 pkgsrc-2012Q2-base:1.3 pkgsrc-2012Q1:1.3.0.50 pkgsrc-2012Q1-base:1.3 pkgsrc-2011Q4:1.3.0.48 pkgsrc-2011Q4-base:1.3 pkgsrc-2011Q3:1.3.0.46 pkgsrc-2011Q3-base:1.3 pkgsrc-2011Q2:1.3.0.44 pkgsrc-2011Q2-base:1.3 pkgsrc-2011Q1:1.3.0.42 pkgsrc-2011Q1-base:1.3 pkgsrc-2010Q4:1.3.0.40 pkgsrc-2010Q4-base:1.3 pkgsrc-2010Q3:1.3.0.38 pkgsrc-2010Q3-base:1.3 pkgsrc-2010Q2:1.3.0.36 pkgsrc-2010Q2-base:1.3 pkgsrc-2010Q1:1.3.0.34 pkgsrc-2010Q1-base:1.3 pkgsrc-2009Q4:1.3.0.32 pkgsrc-2009Q4-base:1.3 pkgsrc-2009Q3:1.3.0.30 pkgsrc-2009Q3-base:1.3 pkgsrc-2009Q2:1.3.0.28 pkgsrc-2009Q2-base:1.3 pkgsrc-2009Q1:1.3.0.26 pkgsrc-2009Q1-base:1.3 pkgsrc-2008Q4:1.3.0.24 pkgsrc-2008Q4-base:1.3 pkgsrc-2008Q3:1.3.0.22 pkgsrc-2008Q3-base:1.3 cube-native-xorg:1.3.0.20 cube-native-xorg-base:1.3 pkgsrc-2008Q2:1.3.0.18 pkgsrc-2008Q2-base:1.3 cwrapper:1.3.0.16 pkgsrc-2008Q1:1.3.0.14 pkgsrc-2008Q1-base:1.3 pkgsrc-2007Q4:1.3.0.12 pkgsrc-2007Q4-base:1.3 pkgsrc-2007Q3:1.3.0.10 pkgsrc-2007Q3-base:1.3 pkgsrc-2007Q2:1.3.0.8 pkgsrc-2007Q2-base:1.3 pkgsrc-2007Q1:1.3.0.6 pkgsrc-2007Q1-base:1.3 pkgsrc-2006Q4:1.3.0.4 pkgsrc-2006Q4-base:1.3 pkgsrc-2006Q3:1.3.0.2 pkgsrc-2006Q3-base:1.3 pkgsrc-2006Q2:1.2.0.4 pkgsrc-2006Q2-base:1.2 pkgsrc-2006Q1:1.2.0.2 pkgsrc-2006Q1-base:1.2; locks; strict; comment @# @; 1.4 date 2013.10.27.21.21.26; author dholland; state Exp; branches; next 1.3; commitid lyZqbsIMqmZ6DYax; 1.3 date 2006.08.14.22.43.08; author wiz; state Exp; branches; next 1.2; 1.2 date 2006.02.17.23.46.40; author adam; state dead; branches; next 1.1; 1.1 date 2006.01.20.03.09.17; author joerg; state Exp; branches; next ; desc @@ 1.4 log @Update to 1.6.1. Reset PKGREVISION from 38 (!). Upstream changes: 5+ years of development; try these links: http://www.shatters.net/celestia/161changes.txt http://www.shatters.net/celestia/features/160-features.html http://www.shatters.net/celestia/151changes.txt http://www.shatters.net/celestia/150-feature-summary.html Restrictions: 1. The Lua support still does not build, and given that I had to patch it to compile at all with Lua disabled it may not work all that well this way. 2. The optional KDE (kde3) build is almost certainly broken; I will get to this in a few days if nobody beats me to it. @ text @$NetBSD: patch-ai,v 1.3 2006/08/14 22:43:08 wiz Exp $ --- src/celestia/celx.cpp.orig 2011-06-05 16:11:13.000000000 +0000 +++ src/celestia/celx.cpp @@@@ -492,6 +492,18 @@@@ static CelestiaCore* getAppCore(lua_Stat return appCore; } +static void *l_alloc (void *ud, void *ptr, size_t osize, size_t nsize) { + (void)ud; /* not used */ + (void)osize; /* not used */ + if (nsize == 0) { + free(ptr); /* ANSI requires that free(NULL) has no effect */ + return NULL; + } + else + /* ANSI requires that realloc(NULL, size) == malloc(size) */ + return realloc(ptr, nsize); +} + LuaState::LuaState() : timeout(MaxTimeslice), @@@@ -503,7 +515,7 @@@@ LuaState::LuaState() : ioMode(NoIO), eventHandlerEnabled(false) { - state = lua_open(); + state = lua_newstate(l_alloc, NULL); timer = CreateTimer(); screenshotCount = 0; } @ 1.3 log @Adapt to lua-5.1.1. While here, fix build with gcc4, and add missing xdg-dirs to USE_DIRS. Bump PKGREVISION. @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- src/celestia/celx.cpp.orig 2006-01-07 00:01:51.000000000 +0000 d5 1 a5 1 @@@@ -368,6 +368,18 @@@@ static CelestiaCore* getAppCore(lua_Stat d24 3 a26 3 @@@@ -378,7 +390,7 @@@@ LuaState::LuaState() : scriptAwakenTime(0.1), ioMode(NoIO) a32 32 @@@@ -472,6 +484,7 @@@@ void LuaState::cleanup() } + bool LuaState::createThread() { // Initialize the coroutine which wraps the script @@@@ -598,7 +611,7 @@@@ bool LuaState::charEntered(const char* c int stackTop = lua_gettop(costate); if (strcmp(c_p, "y") == 0) { - lua_iolibopen(costate); + luaopen_io(costate); ioMode = IOAllowed; } else @@@@ -4577,10 +4590,10 @@@@ bool LuaState::init(CelestiaCore* appCor initMaps(); // Import the base and math libraries - lua_baselibopen(state); - lua_mathlibopen(state); - lua_tablibopen(state); - lua_strlibopen(state); + luaopen_base(state); + luaopen_math(state); + luaopen_table(state); + luaopen_string(state); // Add an easy to use wait function, so that script writers can // live in ignorance of coroutines. There will probably be a significant @ 1.2 log @Changes 1.4.0 * New stars.dat format with HD catalog numbers and parallax errors omitted * Added catalog cross indexes for HD and SAO catalogs * Fixed bugs in parsing catalog numbers * Added white dwarf temperatures and spectral types DA, DB, DC, DO, DQ, and DZ * Added handling for partial spectral types where one or both of the subclass and luminosity class are unknown * Permit extended star attributes in .stc files: mesh, texture, rotation elements, semiaxes * Support multiple star systems of any complexity with orbits and barycenters * Changed .stc loader so that a star definition with a duplicate catalog number replaces the previous definition * Made catalog numbers optional in .stc files; stars can be defined without having to create fake catalog numbers * Star colors now chosen based on temperature; either 'classic' and black body colors may be selected * Bound % key to toggle between star color tables * Fixed black holes: infinite radius bug gone, rendered just as a plain black sphere * Added comprehensive catalog of all knows stars within 25 light years of the Sun, including orbits for multiple star systems [More] Changes 1.4.1 * Changed maximum number of eclipse shadows in OpenGL 2.0 path from two to three; if max is exceeded, clamp to three rather than not rendering the shadows at all. * Corrected a bad calculation in ring shadow shaders that caused ring shadows to be drawn in the wrong place. * Windows: Fixed the minimum feature size slider in the locations dialog so it updates in response to all the standard controls. * Added a correct InfoURL for the Moon * Windows: added splash screen with a progress indicator * Corrected a local flashing of the Milky Way brightness. * Now the distance to the galaxy center is displayed, if the observer is located inside the galaxy (Milky Way...). * Eliminated various incorrect Hubble type acronyms in deepsky.dsc that had penetrated the PERL filter. * Updated Titan and Iapetus textures in lores directory * Added lunar elevation map, using Clementine laser altimeter data, merged in the polar regions, with topographic data from Clementine 750 nm oblique and nadir images. * Updated/added Tethys textures in lores, medres and hires directories. * Added locations on Phoebe in satmoons2.ssc, as extracted from USGS/IAU official data. * Added Mesh for Phoebe texture. * Updated Iapetus texture. * Moved locations files from extras into data directory for inclusion in standard package. * Fixed bug where displayed time scale differed from actual time scale after clicking a cel URL. [More] Pkgsrc: * Use options.mk framework to build GLUT, GTK, GNOME, or KDE user interface. @ text @d1 1 a1 1 $NetBSD: patch-ai,v 1.1 2006/01/20 03:09:17 joerg Exp $ d3 41 a43 3 --- src/celutil/resmanager.h.orig 2006-01-20 02:31:51.000000000 +0000 +++ src/celutil/resmanager.h @@@@ -72,7 +72,7 @@@@ template class ResourceManager d45 3 a47 5 ResourceHandle h = handles.size(); resources.insert(resources.end(), info); - handles.insert(ResourceHandleMap::value_type(info, h)); + handles.insert(typename ResourceHandleMap::value_type(info, h)); return h; d49 16 a64 10 } @@@@ -105,7 +105,7 @@@@ template class ResourceManager else { resources[h].state = ResourceLoaded; - loadedResources.insert(NameMap::value_type(resources[h].resolvedName, resources[h].resource)); + loadedResources.insert(typename NameMap::value_type(resources[h].resolvedName, resources[h].resource)); } } } @ 1.1 log @Add some explicit typename keywords to apeace GCC 3.4+. Use OS X style localtime handling for DragonFly as well. @ text @d1 1 a1 1 $NetBSD$ @