commit:     7b8b0cc55d8d1a659078cbd3552afd15ea03db3a
Author:     Maciej Mrozowski <reavertm <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 25 20:35:46 2021 +0000
Commit:     Maciej Mrozowski <reavertm <AT> gentoo <DOT> org>
CommitDate: Mon Jan 25 20:42:04 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b8b0cc5

games-simulation/flightgear: version bump, remove old

Signed-off-by: Maciej Mrozowski <reavertm <AT> gentoo.org>

 dev-games/simgear/Manifest                         |  2 +-
 .../simgear/files/simgear-2020.1.2-boost.patch     | 11 --------
 ...ear-2020.1.2.ebuild => simgear-2020.3.5.ebuild} |  9 +-----
 dev-games/simgear/simgear-9999.ebuild              |  9 ++----
 games-simulation/flightgear-data/Manifest          |  2 +-
 ....1.2.ebuild => flightgear-data-2020.3.5.ebuild} |  0
 games-simulation/flightgear/Manifest               |  2 +-
 .../files/flightgear-2020.1.2-boost.patch          | 11 --------
 ...cmake.patch => flightgear-2020.3.5-cmake.patch} | 32 +++++++++++-----------
 ...-2020.1.2.ebuild => flightgear-2020.3.5.ebuild} |  8 ++----
 games-simulation/flightgear/flightgear-9999.ebuild |  7 ++---
 11 files changed, 26 insertions(+), 67 deletions(-)

diff --git a/dev-games/simgear/Manifest b/dev-games/simgear/Manifest
index 5662c13e156..10404d80732 100644
--- a/dev-games/simgear/Manifest
+++ b/dev-games/simgear/Manifest
@@ -1 +1 @@
-DIST simgear-2020.1.2.tar.bz2 1393059 BLAKE2B 
62fa15d88368177e23cf52edf51e8c56252399d8f2661e518911c1093a0d7f9f11069da8d65b479f2d4b45792dcd011194e57fa99ac3991f749e8196aaff9552
 SHA512 
c2e835de471f374a6c33cfd1769b7079d178ee66075bfe87cc9eb1f06dc2648db93c31f62f0ac7a664703406817cb1e909a531812cb76c99cd8751eb7e6782e7
+DIST simgear-2020.3.5.tar.bz2 1408888 BLAKE2B 
8775d0ed869a64dd8fe353ce3b9412fc069ca62c619a3d2e25bf8732779f663dc1235f952d3698b1544cd1280256d0f1723152c0d933fac09ef22c7696bbaf5c
 SHA512 
208a2ac38c9b2403624412c23949b73ae1a880f6423c431fe7ab56e8e2544478cefca2e4a0b77de2870f74f77f37da0ff2d9d37a1e7c476e65b63b053c3c1dad

diff --git a/dev-games/simgear/files/simgear-2020.1.2-boost.patch 
b/dev-games/simgear/files/simgear-2020.1.2-boost.patch
deleted file mode 100644
index d28853cb381..00000000000
--- a/dev-games/simgear/files/simgear-2020.1.2-boost.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -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 --git a/dev-games/simgear/simgear-2020.1.2.ebuild 
b/dev-games/simgear/simgear-2020.3.5.ebuild
similarity index 88%
rename from dev-games/simgear/simgear-2020.1.2.ebuild
rename to dev-games/simgear/simgear-2020.3.5.ebuild
index c8ea38b80be..27e64f9ebd3 100644
--- a/dev-games/simgear/simgear-2020.1.2.ebuild
+++ b/dev-games/simgear/simgear-2020.3.5.ebuild
@@ -35,7 +35,6 @@ RDEPEND="${COMMON_DEPEND}
 
 PATCHES=(
        "${FILESDIR}/${PN}-2019.1.1-gdal3.patch"
-       "${FILESDIR}/${P}-boost.patch"
        "${FILESDIR}/${PN}-2020.1.2-do-not-assume-libc++-clang.patch"
 )
 
@@ -54,8 +53,7 @@ src_configure() {
                -DENABLE_OPENMP=$(usex openmp)
                -DENABLE_PKGUTIL=ON
                -DENABLE_RTI=OFF
-               -DENABLE_SIMD=OFF # see CPU_FLAGS
-               -DENABLE_SIMD_CODE=$(usex cpu_flags_x86_sse2)
+               -DENABLE_SIMD=$(usex cpu_flags_x86_sse2)
                -DENABLE_SOUND=ON
                -DENABLE_TESTS=$(usex test)
                -DSIMGEAR_HEADLESS=OFF
@@ -65,10 +63,5 @@ src_configure() {
                -DUSE_AEONWAVE=OFF
                -DOSG_FSTREAM_EXPORT_FIXED=OFF # TODO perhaps track it
        )
-
-       if use cpu_flags_x86_sse2; then
-               append-flags -msse2 -mfpmath=sse
-       fi
-
        cmake_src_configure
 }

diff --git a/dev-games/simgear/simgear-9999.ebuild 
b/dev-games/simgear/simgear-9999.ebuild
index e4fa4059f41..edb882cd32f 100644
--- a/dev-games/simgear/simgear-9999.ebuild
+++ b/dev-games/simgear/simgear-9999.ebuild
@@ -37,6 +37,7 @@ RDEPEND="${COMMON_DEPEND}
 
 PATCHES=(
        "${FILESDIR}/${PN}-2019.1.1-gdal3.patch"
+       "${FILESDIR}/${PN}-2020.1.2-do-not-assume-libc++-clang.patch"
 )
 
 pkg_pretend() {
@@ -54,8 +55,7 @@ src_configure() {
                -DENABLE_OPENMP=$(usex openmp)
                -DENABLE_PKGUTIL=ON
                -DENABLE_RTI=OFF
-               -DENABLE_SIMD=OFF # see CPU_FLAGS
-               -DENABLE_SIMD_CODE=$(usex cpu_flags_x86_sse2)
+               -DENABLE_SIMD=$(usex cpu_flags_x86_sse2)
                -DENABLE_SOUND=ON
                -DENABLE_TESTS=$(usex test)
                -DSIMGEAR_HEADLESS=OFF
@@ -65,10 +65,5 @@ src_configure() {
                -DUSE_AEONWAVE=OFF
                -DOSG_FSTREAM_EXPORT_FIXED=OFF # TODO perhaps track it
        )
-
-       if use cpu_flags_x86_sse2; then
-               append-flags -msse2 -mfpmath=sse
-       fi
-
        cmake_src_configure
 }

diff --git a/games-simulation/flightgear-data/Manifest 
b/games-simulation/flightgear-data/Manifest
index 35816de847b..a5298674f72 100644
--- a/games-simulation/flightgear-data/Manifest
+++ b/games-simulation/flightgear-data/Manifest
@@ -1 +1 @@
-DIST FlightGear-2020.1.2-data.tar.bz2 1954932485 BLAKE2B 
e3f06ed6a36d2cfc6518f4a1cac4aaf28df2b7e1fb4720488dd38f3df7dfccb1cc9b48e0f216fa79db5fc3b380dcdd1161325ba0195cc14aadbc2d79fab39031
 SHA512 
16329d230f8cfd35dbd60aad0afc66225134e5c2f98abb89ca271837f04917f6aa876fc35868783a3a3d56c4ba1d25f429436de516a8086f4b7e296a0d352e03
+DIST FlightGear-2020.3.5-data.tar.bz2 1991750471 BLAKE2B 
5a31009dc0a3b4053613e81649e6e31ad8f93a678e94563ac613c8f7be4865bff47fb21be2279ef327bc33df52e225a4a9047ba21475a63317bacd6bfb06be1c
 SHA512 
2e48e2213cdf5b379673033c5abe93de0d0b61020a2e37a812b4ee21f1eadab80653b0fab08c1b3b3e2b68e980a9c8403365e66c105a4634c057165674a54269

diff --git a/games-simulation/flightgear-data/flightgear-data-2020.1.2.ebuild 
b/games-simulation/flightgear-data/flightgear-data-2020.3.5.ebuild
similarity index 100%
rename from games-simulation/flightgear-data/flightgear-data-2020.1.2.ebuild
rename to games-simulation/flightgear-data/flightgear-data-2020.3.5.ebuild

diff --git a/games-simulation/flightgear/Manifest 
b/games-simulation/flightgear/Manifest
index 2977ffa6f2d..9b7fce3145a 100644
--- a/games-simulation/flightgear/Manifest
+++ b/games-simulation/flightgear/Manifest
@@ -1 +1 @@
-DIST flightgear-2020.1.2.tar.bz2 8504580 BLAKE2B 
699db9490e27b3de82bcf2903321c7ee24784e6a96285784bb449eb05fb23f3a0417d015ea10a55992c3783c0e42a2cda7e591d998532145213d1941811b1725
 SHA512 
a27897a1e23fe78c64717df1a86ef37dba047a1942af1dd2e4e3f3da05975bb5c524ee03444c8067551966d6a1bbfe36866f2617fa6fe1f6b957d5769c31058c
+DIST flightgear-2020.3.5.tar.bz2 8831096 BLAKE2B 
6648c52947642ee6d6d11d8bcb72cfc24ab3484e038d0136e1707936ab7db38a167ab221a67eaba47d3e507ce0c82612a47c574c37c17e2cbd8787fad46edb97
 SHA512 
7bd807daea330bf0e12fd0b797c54895dc9ceda98a67dbf36377bf6a4ab74c0e3cff218c4e9796c87fcac886436f1810848e0f4a8ab272fc516178f6d2d6fd0f

diff --git a/games-simulation/flightgear/files/flightgear-2020.1.2-boost.patch 
b/games-simulation/flightgear/files/flightgear-2020.1.2-boost.patch
deleted file mode 100644
index 43e2a7d0cb1..00000000000
--- a/games-simulation/flightgear/files/flightgear-2020.1.2-boost.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -515,7 +515,7 @@
-     set(NOMINMAX 1)
- endif(WIN32)
-
--set (BOOST_CXX_FLAGS "-DBOOST_BIMAP_DISABLE_SERIALIZATION")
-+set (BOOST_CXX_FLAGS "-DBOOST_BIMAP_DISABLE_SERIALIZATION 
-DBOOST_NO_STDLIB_CONFIG")
-
- # append the SIMD flags if requested
- if (ENABLE_SIMD)

diff --git a/games-simulation/flightgear/files/flightgear-2020.1.2-cmake.patch 
b/games-simulation/flightgear/files/flightgear-2020.3.5-cmake.patch
similarity index 54%
rename from games-simulation/flightgear/files/flightgear-2020.1.2-cmake.patch
rename to games-simulation/flightgear/files/flightgear-2020.3.5-cmake.patch
index f463c458b5a..0af961beacd 100644
--- a/games-simulation/flightgear/files/flightgear-2020.1.2-cmake.patch
+++ b/games-simulation/flightgear/files/flightgear-2020.3.5-cmake.patch
@@ -1,18 +1,18 @@
-diff -ruN flightgear-2020.1.2/CMakeLists.txt fgfs-my/CMakeLists.txt
---- flightgear-2020.1.2/CMakeLists.txt 2020-05-24 17:14:48.000000000 +0200
-+++ fgfs-my/CMakeLists.txt     2020-05-31 13:56:41.745941586 +0200
-@@ -367,7 +367,7 @@
+diff -ruN flightgear-2020.3.5/CMakeLists.txt fgfs-my/CMakeLists.txt
+--- flightgear-2020.3.5/CMakeLists.txt 2020-12-18 12:43:09.000000000 +0100
++++ fgfs-my/CMakeLists.txt     2021-01-24 01:36:57.547695230 +0100
+@@ -373,7 +373,7 @@
  ## Qt5 setup setup
  if (ENABLE_QT)
      message(STATUS "Qt launcher enabled, checking for Qt >= 5.4 / qmake")
--    find_package(Qt5 5.4 COMPONENTS Widgets Network Qml Quick Svg)
-+    find_package(Qt5 5.4 COMPONENTS Widgets Network Qml Quick)
+-    find_package(Qt5 5.4 COMPONENTS Widgets Gui Network Qml Quick Svg)
++    find_package(Qt5 5.4 COMPONENTS Widgets Gui Network Qml Quick)
      if (Qt5Widgets_FOUND)
          message(STATUS "Will enable Qt launcher GUI")
          set(HAVE_QT 1)
-diff -ruN flightgear-2020.1.2/CMakeModules/SetupFGFSLibraries.cmake 
fgfs-my/CMakeModules/SetupFGFSLibraries.cmake
---- flightgear-2020.1.2/CMakeModules/SetupFGFSLibraries.cmake  2020-05-24 
17:14:48.000000000 +0200
-+++ fgfs-my/CMakeModules/SetupFGFSLibraries.cmake      2020-05-31 
13:55:33.484421108 +0200
+diff -ruN flightgear-2020.3.5/CMakeModules/SetupFGFSLibraries.cmake 
fgfs-my/CMakeModules/SetupFGFSLibraries.cmake
+--- flightgear-2020.3.5/CMakeModules/SetupFGFSLibraries.cmake  2020-12-18 
12:43:09.000000000 +0100
++++ fgfs-my/CMakeModules/SetupFGFSLibraries.cmake      2021-01-24 
01:35:31.298263659 +0100
 @@ -33,15 +33,8 @@
  
      # PkgConfig::DBUS target
@@ -31,15 +31,15 @@ diff -ruN 
flightgear-2020.1.2/CMakeModules/SetupFGFSLibraries.cmake fgfs-my/CMak
      endif()
  
      if(FG_HAVE_GPERFTOOLS)
-diff -ruN flightgear-2020.1.2/src/GUI/CMakeLists.txt 
fgfs-my/src/GUI/CMakeLists.txt
---- flightgear-2020.1.2/src/GUI/CMakeLists.txt 2020-05-24 17:14:48.000000000 
+0200
-+++ fgfs-my/src/GUI/CMakeLists.txt     2020-05-31 13:56:41.745941586 +0200
-@@ -137,7 +137,7 @@
-                             ${qml_sources})
+diff -ruN flightgear-2020.3.5/src/GUI/CMakeLists.txt 
fgfs-my/src/GUI/CMakeLists.txt
+--- flightgear-2020.3.5/src/GUI/CMakeLists.txt 2020-12-18 12:43:09.000000000 
+0100
++++ fgfs-my/src/GUI/CMakeLists.txt     2021-01-24 01:40:02.008618256 +0100
+@@ -142,7 +142,7 @@
  
      set_property(TARGET fglauncher PROPERTY AUTOMOC ON)
+     target_include_directories(fglauncher PRIVATE 
${PROJECT_BINARY_DIR}/src/GUI)
 -    target_link_libraries(fglauncher Qt5::Core Qt5::Widgets Qt5::Network 
Qt5::Qml Qt5::Quick Qt5::Svg SimGearCore)
 +    target_link_libraries(fglauncher Qt5::Core Qt5::Widgets Qt5::Network 
Qt5::Qml Qt5::Quick SimGearCore)
-     target_include_directories(fglauncher PRIVATE 
${PROJECT_BINARY_DIR}/src/GUI)
  
-     add_library(fgqmlui QQuickDrawable.cxx
+     if (ENABLE_QQ_UI)
+       set(QQUI_SOURCES 

diff --git a/games-simulation/flightgear/flightgear-2020.1.2.ebuild 
b/games-simulation/flightgear/flightgear-2020.3.5.ebuild
similarity index 95%
rename from games-simulation/flightgear/flightgear-2020.1.2.ebuild
rename to games-simulation/flightgear/flightgear-2020.3.5.ebuild
index c472dcc0fa5..23f6c894ed3 100644
--- a/games-simulation/flightgear/flightgear-2020.1.2.ebuild
+++ b/games-simulation/flightgear/flightgear-2020.3.5.ebuild
@@ -64,8 +64,7 @@ RDEPEND="${COMMON_DEPEND}
 "
 
 PATCHES=(
-       "${FILESDIR}/${PN}-2020.1.2-cmake.patch"
-       "${FILESDIR}/${P}-boost.patch"
+       "${FILESDIR}/${PN}-2020.3.5-cmake.patch"
 )
 
 DOCS=(AUTHORS ChangeLog NEWS README Thanks)
@@ -95,7 +94,7 @@ src_configure() {
                -DENABLE_PROFILE=OFF
                -DENABLE_QT=$(usex qt5)
                -DENABLE_RTI=OFF
-               -DENABLE_SIMD=OFF # see CPU_FLAGS
+               -DENABLE_SIMD=$(usex cpu_flags_x86_sse2)
                -DENABLE_STGMERGE=ON
                -DENABLE_SWIFT=OFF # swift pilot client not packaged yet
                -DENABLE_TERRASYNC=$(usex utils)
@@ -118,9 +117,6 @@ src_configure() {
                -DUSE_DBUS=$(usex dbus)
                -DWITH_FGPANEL=$(usex utils)
        )
-       if use cpu_flags_x86_sse2; then
-               append-flags -msse2 -mfpmath=sse
-       fi
        if use gdal && use utils; then
                mycmakeargs+=(-DENABLE_DEMCONVERT=ON)
        else

diff --git a/games-simulation/flightgear/flightgear-9999.ebuild 
b/games-simulation/flightgear/flightgear-9999.ebuild
index 2eea53f95a8..551102d90c5 100644
--- a/games-simulation/flightgear/flightgear-9999.ebuild
+++ b/games-simulation/flightgear/flightgear-9999.ebuild
@@ -66,7 +66,7 @@ RDEPEND="${COMMON_DEPEND}
 "
 
 PATCHES=(
-#      "${FILESDIR}/${PN}-2020.1.2-cmake.patch"
+       "${FILESDIR}/${PN}-2020.3.5-cmake.patch"
 )
 
 DOCS=(AUTHORS ChangeLog NEWS README Thanks)
@@ -96,7 +96,7 @@ src_configure() {
                -DENABLE_PROFILE=OFF
                -DENABLE_QT=$(usex qt5)
                -DENABLE_RTI=OFF
-               -DENABLE_SIMD=OFF # see CPU_FLAGS
+               -DENABLE_SIMD=$(usex cpu_flags_x86_sse2)
                -DENABLE_STGMERGE=ON
                -DENABLE_SWIFT=OFF # swift pilot client not packaged yet
                -DENABLE_TERRASYNC=$(usex utils)
@@ -119,9 +119,6 @@ src_configure() {
                -DUSE_DBUS=$(usex dbus)
                -DWITH_FGPANEL=$(usex utils)
        )
-       if use cpu_flags_x86_sse2; then
-               append-flags -msse2 -mfpmath=sse
-       fi
        if use gdal && use utils; then
                mycmakeargs+=(-DENABLE_DEMCONVERT=ON)
        else

Reply via email to