Hello community,
here is the log from the commit of package SimGear for openSUSE:Factory checked in at 2020-06-30 21:57:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/SimGear (Old)
and /work/SRC/openSUSE:Factory/.SimGear.new.3060 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "SimGear"
Tue Jun 30 21:57:59 2020 rev:16 rq:817777 version:2020.1.3
Changes:
--------
--- /work/SRC/openSUSE:Factory/SimGear/SimGear.changes 2020-06-14 18:35:25.178563101 +0200
+++ /work/SRC/openSUSE:Factory/.SimGear.new.3060/SimGear.changes 2020-06-30 21:58:43.307177911 +0200
@@ -1,0 +2,6 @@
+Sat Jun 27 16:58:53 UTC 2020 - Stefan Brüns
+
+- Update to 2020.1.3
+ * http://wiki.flightgear.org/Changelog_2020.1#2020.1.3_point_release
+
+-------------------------------------------------------------------
Old:
----
simgear-2020.1.2.tar.bz2
New:
----
simgear-2020.1.3.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ SimGear.spec ++++++
--- /var/tmp/diff_new_pack.7SL2gq/_old 2020-06-30 21:58:46.675188335 +0200
+++ /var/tmp/diff_new_pack.7SL2gq/_new 2020-06-30 21:58:46.679188348 +0200
@@ -20,10 +20,10 @@
# in our requirements, i.e. the same version we have built against
%define openscenegraph_version %(rpm -qa --nosignature --nodigest libOpenSceneGraph\*-devel | sed 's/.*-devel-\\(.*\\)-.*/\\1/')
-%define libname libSimGearCore-2020_1_2
+%define libname libSimGearCore-2020_1_3
%define main_version 2020.1
Name: SimGear
-Version: %{main_version}.2
+Version: %{main_version}.3
Release: 0
Summary: Simulator Construction Gear
# https://sourceforge.net/p/flightgear/codetickets/1940/
++++++ simgear-2020.1.2.tar.bz2 -> simgear-2020.1.3.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/simgear-2020.1.2/CMakeLists.txt new/simgear-2020.1.3/CMakeLists.txt
--- old/simgear-2020.1.2/CMakeLists.txt 2020-05-24 17:13:35.000000000 +0200
+++ new/simgear-2020.1.3/CMakeLists.txt 2020-06-26 00:07:33.000000000 +0200
@@ -227,7 +227,7 @@
endif()
find_package(Boost REQUIRED)
-set (BOOST_CXX_FLAGS "-DBOOST_BIMAP_DISABLE_SERIALIZATION")
+set (BOOST_CXX_FLAGS "-DBOOST_BIMAP_DISABLE_SERIALIZATION -DBOOST_NO_STDLIB_CONFIG")
include(BoostTestTargets)
if(SIMGEAR_HEADLESS)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/simgear-2020.1.2/simgear/scene/model/SGPickAnimation.cxx new/simgear-2020.1.3/simgear/scene/model/SGPickAnimation.cxx
--- old/simgear-2020.1.2/simgear/scene/model/SGPickAnimation.cxx 2020-05-24 17:13:36.000000000 +0200
+++ new/simgear-2020.1.3/simgear/scene/model/SGPickAnimation.cxx 2020-06-26 00:07:33.000000000 +0200
@@ -136,11 +136,19 @@
virtual void update(double dt, int keyModState)
{
- if (!_condition || _condition->test()) {
- SG_UNUSED(keyModState);
- if (!_repeatable)
- return;
+ SG_UNUSED(keyModState);
+ if (_condition && !_condition->test()) {
+ return;
+ }
+ if (!_repeatable)
+ return;
+
+ const bool zeroInterval = (_repeatInterval <= 0.0);
+ if (zeroInterval) {
+ // fire once per frame
+ fireBindingList(_bindingsDown);
+ } else {
_repeatTime += dt;
while (_repeatInterval < _repeatTime) {
_repeatTime -= _repeatInterval;
@@ -678,12 +686,18 @@
if (_hasDragged) {
return;
}
-
- _repeatTime += dt;
- while (_repeatInterval < _repeatTime) {
- _repeatTime -= _repeatInterval;
+
+ const bool zeroInterval = (_repeatInterval <= 0.0);
+ if (zeroInterval) {
+ // fire once per frame
fire(keyModState & osgGA::GUIEventAdapter::MODKEY_SHIFT, _direction);
- } // of repeat iteration
+ } else {
+ _repeatTime += dt;
+ while (_repeatInterval < _repeatTime) {
+ _repeatTime -= _repeatInterval;
+ fire(keyModState & osgGA::GUIEventAdapter::MODKEY_SHIFT, _direction);
+ } // of repeat iteration
+ }
}
bool hover( const osg::Vec2d& windowPos, const Info& ) override
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/simgear-2020.1.2/version new/simgear-2020.1.3/version
--- old/simgear-2020.1.2/version 2020-05-24 17:13:36.000000000 +0200
+++ new/simgear-2020.1.3/version 2020-06-26 00:07:33.000000000 +0200
@@ -1 +1 @@
-2020.1.2
+2020.1.3