Hello community, here is the log from the commit of package FlightGear for openSUSE:Factory checked in at 2017-12-13 11:58:42 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/FlightGear (Old) and /work/SRC/openSUSE:Factory/.FlightGear.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "FlightGear" Wed Dec 13 11:58:42 2017 rev:4 rq:556011 version:2017.3.1 Changes: -------- --- /work/SRC/openSUSE:Factory/FlightGear/FlightGear.changes 2017-10-06 11:03:23.601860863 +0200 +++ /work/SRC/openSUSE:Factory/.FlightGear.new/FlightGear.changes 2017-12-13 11:58:49.855338854 +0100 @@ -1,0 +2,17 @@ +Tue Dec 5 13:08:14 UTC 2017 - [email protected] + +- BuildRequire: plib-devel, it is no longer pulled in by SimGear-devel + +------------------------------------------------------------------- +Thu Nov 30 04:45:08 UTC 2017 - [email protected] + +- Remove CMAKE_BUILD_TYPE (already set by %cmake macro) +- Standardize mixed tabs/spaces in spec file + +------------------------------------------------------------------- +Tue Nov 23 20:42:03 UTC 2017 - [email protected] + +- Enabled the Qt launcher interface +- Removed explicitely-link-with-libX11.patch + +------------------------------------------------------------------- Old: ---- explicitely-link-with-libX11.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ FlightGear.spec ++++++ --- /var/tmp/diff_new_pack.vTc5u1/_old 2017-12-13 11:58:50.703297920 +0100 +++ /var/tmp/diff_new_pack.vTc5u1/_new 2017-12-13 11:58:50.703297920 +0100 @@ -26,13 +26,20 @@ Url: http://www.flightgear.org/ Source0: https://sourceforge.net/projects/flightgear/files/release-%{main_version}/flightgear-%{version}.tar.bz2 Source1: %{name}.desktop -Patch0: explicitely-link-with-libX11.patch + BuildRequires: SimGear-devel = %{version} BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: hicolor-icon-theme +BuildRequires: plib-devel BuildRequires: sqlite3-devel BuildRequires: update-desktop-files + +# Additional dependencies to enable FlightGear's new Qt launcher interface +BuildRequires: libQt5Network-devel +BuildRequires: libQt5Widgets-devel +BuildRequires: libqt5-qtdeclarative-devel + Requires: FlightGear-data = %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -44,7 +51,6 @@ %prep %setup -q -n flightgear-%{version} -#%%patch0 -p1 # remove some unneeded doc files for ext in Cygwin IRIX Joystick Linux MSVC MSVC8 MacOS SimGear Unix Win32-X autoconf mingw plib src xmlsyntax; do @@ -57,11 +63,21 @@ TIME="\"$(date -d "${modified}" "+%%R")\"" sed -i -e "s@__DATE__@$DATE@g" -e "s@__TIME__@$TIME@g" utils/fgcom/fgcom.cxx src/FDM/JSBSim/FGJSBBase.cpp +# remove FlightGear's default .desktop file (we ship our own) +rm package/org.flightgear.FlightGear.desktop +echo "# .desktop file removed for openSUSE" > package/CMakeLists.txt + %cmake \ - -DSIMGEAR_SHARED:BOOL=ON \ -DFG_DATA_DIR:STRING="%{_datadir}/flightgear" \ - -DJPEG_FACTORY:BOOL=ON \ - -DSYSTEM_SQLITE:BOOL=ON + -DSYSTEM_SQLITE:BOOL=ON \ + -DBUILD_SHARED_LIBS:BOOL=OFF \ + -DBUILD_TESTING:BOOL=OFF \ + -DENABLE_TESTS:BOOL=OFF \ + -DENABLE_JS_DEMO:BOOL=OFF \ + -DENABLE_GPSSMOOTH:BOOL=OFF \ + -DENABLE_FGVIEWER:BOOL=OFF \ + -DENABLE_FGELEV:BOOL=OFF \ + -DENABLE_METAR:BOOL=OFF make %{?_smp_mflags} %install @@ -74,7 +90,7 @@ # install desktop file %suse_update_desktop_file -i %{name} # remove obsolete utilities -cd %{buildroot}%{_bindir} && rm GPSsmooth MIDGsmooth UGsmooth metar yasim +cd %{buildroot}%{_bindir} && rm -f GPSsmooth MIDGsmooth UGsmooth metar yasim yasim-proptest %files %defattr(-,root,root,-) ++++++ FlightGear.desktop ++++++ --- /var/tmp/diff_new_pack.vTc5u1/_old 2017-12-13 11:58:50.735296375 +0100 +++ /var/tmp/diff_new_pack.vTc5u1/_new 2017-12-13 11:58:50.735296375 +0100 @@ -3,8 +3,19 @@ Name=FlightGear GenericName=Flight Simulator Comment=Open source and multi-platform flight simulator -Exec=fgfs +Exec=fgfs --launcher Icon=flightgear Terminal=false Type=Application Categories=Game;Simulation; +GenericName[ca]=Simulador de vol +GenericName[de]=Flugsimulator +GenericName[es]=Simulador de vuelo +GenericName[fr]=Simulateur de vol +GenericName[it]=Simulatore di volo +GenericName[lt]=Skrydžių simuliatorius +GenericName[nl]=Vluchtsimulator +GenericName[pt]=Simulador de Voo +GenericName[ro]=Simulator de zbor +GenericName[zh]=模拟飞行 +
