head 1.2; access; symbols pkgsrc-2026Q1:1.2.0.26 pkgsrc-2026Q1-base:1.2 pkgsrc-2025Q4:1.2.0.24 pkgsrc-2025Q4-base:1.2 pkgsrc-2025Q3:1.2.0.22 pkgsrc-2025Q3-base:1.2 pkgsrc-2025Q2:1.2.0.20 pkgsrc-2025Q2-base:1.2 pkgsrc-2025Q1:1.2.0.18 pkgsrc-2025Q1-base:1.2 pkgsrc-2024Q4:1.2.0.16 pkgsrc-2024Q4-base:1.2 pkgsrc-2024Q3:1.2.0.14 pkgsrc-2024Q3-base:1.2 pkgsrc-2024Q2:1.2.0.12 pkgsrc-2024Q2-base:1.2 pkgsrc-2024Q1:1.2.0.10 pkgsrc-2024Q1-base:1.2 pkgsrc-2023Q4:1.2.0.8 pkgsrc-2023Q4-base:1.2 pkgsrc-2023Q3:1.2.0.6 pkgsrc-2023Q3-base:1.2 pkgsrc-2023Q2:1.2.0.4 pkgsrc-2023Q2-base:1.2 pkgsrc-2023Q1:1.2.0.2 pkgsrc-2023Q1-base:1.2 pkgsrc-2022Q4:1.1.0.74 pkgsrc-2022Q4-base:1.1 pkgsrc-2022Q3:1.1.0.72 pkgsrc-2022Q3-base:1.1 pkgsrc-2022Q2:1.1.0.70 pkgsrc-2022Q2-base:1.1 pkgsrc-2022Q1:1.1.0.68 pkgsrc-2022Q1-base:1.1 pkgsrc-2021Q4:1.1.0.66 pkgsrc-2021Q4-base:1.1 pkgsrc-2021Q3:1.1.0.64 pkgsrc-2021Q3-base:1.1 pkgsrc-2021Q2:1.1.0.62 pkgsrc-2021Q2-base:1.1 pkgsrc-2021Q1:1.1.0.60 pkgsrc-2021Q1-base:1.1 pkgsrc-2020Q4:1.1.0.58 pkgsrc-2020Q4-base:1.1 pkgsrc-2020Q3:1.1.0.56 pkgsrc-2020Q3-base:1.1 pkgsrc-2020Q2:1.1.0.52 pkgsrc-2020Q2-base:1.1 pkgsrc-2020Q1:1.1.0.32 pkgsrc-2020Q1-base:1.1 pkgsrc-2019Q4:1.1.0.54 pkgsrc-2019Q4-base:1.1 pkgsrc-2019Q3:1.1.0.50 pkgsrc-2019Q3-base:1.1 pkgsrc-2019Q2:1.1.0.48 pkgsrc-2019Q2-base:1.1 pkgsrc-2019Q1:1.1.0.46 pkgsrc-2019Q1-base:1.1 pkgsrc-2018Q4:1.1.0.44 pkgsrc-2018Q4-base:1.1 pkgsrc-2018Q3:1.1.0.42 pkgsrc-2018Q3-base:1.1 pkgsrc-2018Q2:1.1.0.40 pkgsrc-2018Q2-base:1.1 pkgsrc-2018Q1:1.1.0.38 pkgsrc-2018Q1-base:1.1 pkgsrc-2017Q4:1.1.0.36 pkgsrc-2017Q4-base:1.1 pkgsrc-2017Q3:1.1.0.34 pkgsrc-2017Q3-base:1.1 pkgsrc-2017Q2:1.1.0.30 pkgsrc-2017Q2-base:1.1 pkgsrc-2017Q1:1.1.0.28 pkgsrc-2017Q1-base:1.1 pkgsrc-2016Q4:1.1.0.26 pkgsrc-2016Q4-base:1.1 pkgsrc-2016Q3:1.1.0.24 pkgsrc-2016Q3-base:1.1 pkgsrc-2016Q2:1.1.0.22 pkgsrc-2016Q2-base:1.1 pkgsrc-2016Q1:1.1.0.20 pkgsrc-2016Q1-base:1.1 pkgsrc-2015Q4:1.1.0.18 pkgsrc-2015Q4-base:1.1 pkgsrc-2015Q3:1.1.0.16 pkgsrc-2015Q3-base:1.1 pkgsrc-2015Q2:1.1.0.14 pkgsrc-2015Q2-base:1.1 pkgsrc-2015Q1:1.1.0.12 pkgsrc-2015Q1-base:1.1 pkgsrc-2014Q4:1.1.0.10 pkgsrc-2014Q4-base:1.1 pkgsrc-2014Q3:1.1.0.8 pkgsrc-2014Q3-base:1.1 pkgsrc-2014Q2:1.1.0.6 pkgsrc-2014Q2-base:1.1 pkgsrc-2014Q1:1.1.0.4 pkgsrc-2014Q1-base:1.1 pkgsrc-2013Q4:1.1.0.2 pkgsrc-2013Q4-base:1.1; locks; strict; comment @// @; 1.2 date 2023.01.16.03.07.39; author dholland; state Exp; branches; next 1.1; commitid kszsW0rTOVcNjI9E; 1.1 date 2013.10.27.21.21.26; author dholland; state Exp; branches; next ; commitid lyZqbsIMqmZ6DYax; desc @@ 1.2 log @misc/celestia: regen patch pkglint doesn't like. No functional change @ text @$NetBSD: patch-src_celengine_command.cpp,v 1.1 2013/10/27 21:21:26 dholland Exp $ Fix build with lua switched off. (This is probably not the right place to switch it off, but it does build this way.) --- src/celengine/command.cpp.orig 2011-06-05 16:11:09.000000000 +0000 +++ src/celengine/command.cpp @@@@ -11,7 +11,9 @@@@ #include #include #include +#ifdef CELX #include +#endif #include "astro.h" #include "command.h" #include "execution.h" @@@@ -773,6 +775,7 @@@@ CommandSplitView::CommandSplitView(unsig void CommandSplitView::process(ExecutionEnvironment& env) { +#ifdef CELX vector observer_list; getObservers(env.getCelestiaCore(), observer_list); @@@@ -783,6 +786,7 @@@@ void CommandSplitView::process(Execution View::Type type = (compareIgnoringCase(splitType, "h") == 0) ? View::HorizontalSplit : View::VerticalSplit; env.getCelestiaCore()->splitView(type, view, (float)splitPos); } +#endif } @@@@ -796,6 +800,7 @@@@ CommandDeleteView::CommandDeleteView(uns void CommandDeleteView::process(ExecutionEnvironment& env) { +#ifdef CELX vector observer_list; getObservers(env.getCelestiaCore(), observer_list); @@@@ -805,6 +810,7 @@@@ void CommandDeleteView::process(Executio View* view = getViewByObserver(env.getCelestiaCore(), obs); env.getCelestiaCore()->deleteView(view); } +#endif } @@@@ -817,8 +823,10 @@@@ CommandSingleView::CommandSingleView() void CommandSingleView::process(ExecutionEnvironment& env) { +#ifdef CELX View* view = getViewByObserver(env.getCelestiaCore(), env.getSimulation()->getActiveObserver()); env.getCelestiaCore()->singleView(view); +#endif } @@@@ -832,6 +840,7 @@@@ CommandSetActiveView::CommandSetActiveVi void CommandSetActiveView::process(ExecutionEnvironment& env) { +#ifdef CELX vector observer_list; getObservers(env.getCelestiaCore(), observer_list); @@@@ -841,6 +850,7 @@@@ void CommandSetActiveView::process(Execu View* view = getViewByObserver(env.getCelestiaCore(), obs); env.getCelestiaCore()->setActiveView(view); } +#endif } @@@@ -890,6 +900,7 @@@@ CommandSetLineColor::CommandSetLineColor void CommandSetLineColor::process(ExecutionEnvironment& /* env */) { +#ifdef CELX if (CelxLua::LineColorMap.count(item) == 0) { cerr << "Unknown line style: " << item << "\n"; @@@@ -898,6 +909,7 @@@@ void CommandSetLineColor::process(Execut { *CelxLua::LineColorMap[item] = color; } +#endif } @@@@ -912,6 +924,7 @@@@ CommandSetLabelColor::CommandSetLabelCol void CommandSetLabelColor::process(ExecutionEnvironment& /* env */) { +#ifdef CELX if (CelxLua::LabelColorMap.count(item) == 0) { cerr << "Unknown label style: " << item << "\n"; @@@@ -920,6 +933,7 @@@@ void CommandSetLabelColor::process(Execu { *CelxLua::LabelColorMap[item] = color; } +#endif } @ 1.1 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 @d1 1 a1 1 $NetBSD$ d7 1 a7 1 --- src/celengine/command.cpp~ 2013-10-27 20:32:16.000000000 +0000 d27 1 a27 1 @@@@ -785,6 +786,7 @@@@ void CommandSplitView::process(Execution d43 1 a43 1 @@@@ -807,6 +810,7 @@@@ void CommandDeleteView::process(Executio d62 1 a62 1 @@@@ -834,6 +840,7 @@@@ CommandSetActiveView::CommandSetActiveVi d70 1 a70 1 @@@@ -843,6 +850,7 @@@@ void CommandSetActiveView::process(Execu d78 1 a78 1 @@@@ -892,6 +900,7 @@@@ CommandSetLineColor::CommandSetLineColor d86 1 a86 1 @@@@ -900,6 +909,7 @@@@ void CommandSetLineColor::process(Execut d94 1 a94 1 @@@@ -914,6 +924,7 @@@@ CommandSetLabelColor::CommandSetLabelCol d102 1 a102 1 @@@@ -922,6 +933,7 @@@@ void CommandSetLabelColor::process(Execu @