[packages/FlightGear] - updated to 2016.2.1

bszx bszx at pld-linux.org
Sat Jul 23 22:20:09 CEST 2016


commit 28a4c32053ab56c1d21905ffaf81339f8a92b109
Author: Bartek Szady <bszx at pld-linux.org>
Date:   Sat Jul 23 22:17:30 2016 +0200

    - updated to 2016.2.1

 FlightGear.spec            | 19 +++++++------------
 OpenSceneGraph-3.3.2.patch | 44 --------------------------------------------
 flightgear-cmake.patch     | 11 +++++++++++
 rtti-fix.patch             | 18 ------------------
 4 files changed, 18 insertions(+), 74 deletions(-)
---
diff --git a/FlightGear.spec b/FlightGear.spec
index 609a168..de2369d 100644
--- a/FlightGear.spec
+++ b/FlightGear.spec
@@ -9,19 +9,15 @@
 Summary:	Free Flight Simulator
 Summary(pl.UTF-8):	darmowy symulator lotu
 Name:		FlightGear
-Version:	3.2.0
-Release:	3
+Version:	2016.2.1
+Release:	1
 License:	GPL
 Group:		X11/Applications/Games
-Source0:	ftp://mirrors.ibiblio.org/pub/mirrors/flightgear/ftp/Source/flightgear-%{version}.tar.bz2
-# Source0-md5:	0a16920cc22ea070f8bb345e76c55e05
-Source1:	ftp://mirrors.ibiblio.org/pub/mirrors/flightgear/ftp/Shared/%{name}-data-%{version}.tar.bz2
-# Source1-md5:	24774fae7199bcbc5e23672f4a586884
-#Source2:	ftp://ftp.flightgear.org/pub/fgfs/Everything-0.7/Base-Packages/fgfs-docs-0.7.7.tar.gz
-## Source2-md5:	31f35d3e63e522565e8990ead99e7507
+Source0:	http://downloads.sourceforge.net/project/flightgear/release-2016.2/flightgear-%{version}.tar.bz2
+# Source0-md5:	04b4817ba9d8953013c43f5f201b495f
+Source1:	http://downloads.sourceforge.net/project/flightgear/release-2016.2//%{name}-%{version}-data.tar.bz2
+# Source1-md5:	f118026487513e16d0aad185d3818f7b
 Patch0:		flightgear-cmake.patch
-Patch1:		OpenSceneGraph-3.3.2.patch
-Patch2:		rtti-fix.patch
 URL:		http://www.flightgear.org/
 BuildRequires:	OpenAL-devel
 BuildRequires:	OpenGL-devel
@@ -44,6 +40,7 @@ Requires:	plib >= 1.8.4
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define		_noautoreqdep	libGL.so.1 libGLU.so.1 libGLcore.so.1
+%define		filterout	-flto
 
 %description
 The Flight Gear project is working to create a sophisticated flight
@@ -70,8 +67,6 @@ installed
 %prep
 %setup -q -n flightgear-%{version} %{?with_data:-a 1}
 %patch0 -p1
-%patch1 -p1
-%patch2 -p1
 
 cat > runfgfs <<'EOF'
 #!/bin/sh
diff --git a/OpenSceneGraph-3.3.2.patch b/OpenSceneGraph-3.3.2.patch
deleted file mode 100644
index e84b8b7..0000000
--- a/OpenSceneGraph-3.3.2.patch
+++ /dev/null
@@ -1,44 +0,0 @@
---- flightgear-3.2.0/src/Model/panelnode.cxx.orig	2014-08-17 15:40:24.000000000 +0200
-+++ flightgear-3.2.0/src/Model/panelnode.cxx	2014-11-02 12:27:29.031193511 +0100
-@@ -10,6 +10,7 @@
- #include <osg/Geode>
- #include <osg/Switch>
- #include <osg/BlendFunc>
-+#include <osg/Version>
- 
- #include <simgear/compiler.h>
- #include <simgear/structure/exception.hxx>
-@@ -315,7 +316,11 @@
- }
- 
- osg::BoundingBox
-+#if OSG_VERSION_LESS_THAN(3,3,2)
- FGPanelNode::computeBound() const
-+#else
-+FGPanelNode::computeBoundingBox() const
-+#endif
- {
- 
-   osg::Vec3 coords[3];
---- flightgear-3.2.0/src/Model/panelnode.hxx.orig	2014-08-17 15:40:24.000000000 +0200
-+++ flightgear-3.2.0/src/Model/panelnode.hxx	2014-11-02 12:27:11.551194127 +0100
-@@ -4,6 +4,7 @@
- #include <osg/Vec3>
- #include <osg/Matrix>
- #include <osg/Drawable>
-+#include <osg/Version>
- 
- #include <memory>
- #include <simgear/structure/SGSharedPtr.hxx>
-@@ -30,7 +31,11 @@
-     { drawImplementation(*renderInfo.getState()); }
-   
-     void drawImplementation(osg::State& state) const;
-+#if OSG_VERSION_LESS_THAN(3,3,2)
-     virtual osg::BoundingBox computeBound() const;
-+#else
-+    virtual osg::BoundingBox computeBoundingBox() const;
-+#endif
- 
-     /** Return true, FGPanelNode does support accept(PrimitiveFunctor&). */
-     virtual bool supports(const osg::PrimitiveFunctor&) const { return true; }
diff --git a/flightgear-cmake.patch b/flightgear-cmake.patch
index 5d84cb8..aa854cf 100644
--- a/flightgear-cmake.patch
+++ b/flightgear-cmake.patch
@@ -7,3 +7,14 @@
  
  add_executable(fgadmin fgadmin_funcs.cxx main.cxx untarka.c)
  add_dependencies(fgadmin FGAdminUI)
+--- flightgear-2016.2.1/src/GUI/CMakeLists.txt.orig	2016-05-17 10:36:25.000000000 +0200
++++ flightgear-2016.2.1/src/GUI/CMakeLists.txt	2016-07-23 14:46:33.380230285 +0200
+@@ -80,7 +80,7 @@
+     qt5_add_resources(qrc_sources resources.qrc)
+ 
+ 
+-    add_library(fglauncher QtLauncher.cxx
++    add_library(fglauncher STATIC QtLauncher.cxx
+                             QtLauncher.hxx
+                             QtLauncher_private.hxx
+                             BaseDiagram.cxx
diff --git a/rtti-fix.patch b/rtti-fix.patch
deleted file mode 100644
index 0dfb4b8..0000000
--- a/rtti-fix.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-commit 4f91a31f05adb9b5a3c4d044c96837f853e13497
-Author: Torsten Dreyer <Torsten at t3r.de>
-Date:   Sun Aug 17 22:36:19 2014 +0200
-
-    Quick and dirty repair of linux build with RTI enabled
-
-diff --git a/utils/fgai/AIBVHPager.cxx b/utils/fgai/AIBVHPager.cxx
-index a5cc139..9aee79d 100644
---- a/utils/fgai/AIBVHPager.cxx
-+++ b/utils/fgai/AIBVHPager.cxx
-@@ -18,6 +18,7 @@
- #ifdef HAVE_CONFIG_H
- #include <config.h>
- #endif
-+#include <osg/Referenced>
- 
- #include "AIBVHPager.hxx"
- 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/FlightGear.git/commitdiff/28a4c32053ab56c1d21905ffaf81339f8a92b109



More information about the pld-cvs-commit mailing list