Package Details: flightgear 2019.1.1-1

Git Clone URL: https://aur.archlinux.org/flightgear.git (read-only)
Package Base: flightgear
Description: An open-source, multi-platform flight simulator
Upstream URL: http://www.flightgear.org/
Licenses: GPL
Submitter: Barthalion
Maintainer: tim.hellhake
Last Packager: tim.hellhake
Votes: 28
Popularity: 3.734224
First Submitted: 2018-01-05 16:04
Last Updated: 2019-10-15 23:18

Latest Comments

1 2 3 4 Next › Last »

opt12 commented on 2019-10-18 09:58

In my case, I had to adjust the CMakeLists.txt for the fgviewer utility by adding

GL

into the target_link_libraries.

(inserted one line after https://github.com/FlightGear/flightgear/blob/22de9d30b518646894ac190cc6b04371daa6d5c2/utils/fgviewer/CMakeLists.txt#L49

Otherwise, fgviewer would not link.

I'll try to inform the flighgear team on github about this issue as well.

Tio commented on 2019-10-17 02:13

Error:

  The following configuration files were considered but not accepted:

    /usr/lib64/cmake/SimGear/SimGearConfig.cmake, version: 2018.3.2
    /usr/lib/cmake/SimGear/SimGearConfig.cmake, version: 2018.3.2
    /lib64/cmake/SimGear/SimGearConfig.cmake, version: 2018.3.2
    /lib/cmake/SimGear/SimGearConfig.cmake, version: 2018.3.2



-- Configuring incomplete, errors occurred!
See also "/var/tmp/pamac-build-tio/flightgear/src/flightgear-2019.1.1/CMakeFiles/CMakeOutput.log".
See also "/var/tmp/pamac-build-tio/flightgear/src/flightgear-2019.1.1/CMakeFiles/CMakeError.log".
==> ERROR: A failure occurred in build().
    Aborting...

polylux commented on 2019-10-15 21:56

Thanks for the update, FredBezies! Unfortunately I am stuck with building simgear. Using your update there, it apparently fails to create a "config.h" which is required in the udns module. I'll investigate.

What's the reason for FG to degrade from a [community] package to a poorly maintained AUR one anyway? (No offense to the current maintainers) :)

FredBezies commented on 2019-10-13 20:43

Updated PKGBUILD:

# Maintainer: Deon Spengler <deon at spengler dot co dot za>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: William Rea <sillywilly@gmail.com>
# Contributor: Hans Janssen <hans@janserv.xs4all.nl>

pkgname=flightgear
pkgver=2019.1.1
_pkgver=${pkgver%.*}
pkgrel=1
pkgdesc="An open-source, multi-platform flight simulator"
arch=(x86_64)
depends=('libxmu' 'libxi' 'zlib' 'openscenegraph34' 'libxrandr' 'glu' 'openal')
makedepends=('boost' 'cmake' 'mesa' 'sharutils' 'simgear' 'qt5-base' 'qt5-declarative' 'qt5-svg')
optdepends=('qt5-base: fgfs --launcher'
        'qt5-declarative: fgfs --launcher'
            'flightgear-data')
license=("GPL")
url="http://www.flightgear.org/"
options=('makeflags')
source=("http://downloads.sourceforge.net/project/flightgear/release-${_pkgver}/${pkgname}-${pkgver}.tar.bz2")
sha256sums=('d1dff396b9ee96d454dbce8e9ab1aedee9829ced5fd57bcaf999a68b00553ca1')

build() {
  cd "$srcdir"/flightgear-$pkgver
  cmake \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DCMAKE_INSTALL_LIBDIR=lib \
    -DFG_DATA_DIR:STRING="/usr/share/flightgear/data" \
    -DCMAKE_BUILD_TYPE=Release \
    -DFG_BUILD_TYPE=Release .
  make
  sed -i 's|Exec=.*|Exec=fgfs --fg-root=/usr/share/flightgear/data|' package/org.flightgear.FlightGear.desktop
}

package() {
  cd "$srcdir"/flightgear-$pkgver
  make DESTDIR="$pkgdir" install

  install -Dm0644 package/flightgear.ico "$pkgdir"/usr/share/icons/flightgear.ico
  install -Dm0644 scripts/completion/fg-completion.bash "$pkgdir"/usr/share/bash-completion/completions/fgfs
  install -Dm0644 scripts/completion/fg-completion.zsh "$pkgdir"/usr/share/zsh/site-functions/_fgfs
  ln -sf flightgear "$pkgdir"/usr/share/FlightGear
}

opt12 commented on 2019-10-11 14:43

Unfortnately, I get this weird error regarding the installation of simgear:

"-- Found Boost: /usr/lib64/cmake/Boost-1.71.0/BoostConfig.cmake (found version "1.71.0")
CMake Error at CMakeModules/BoostTestTargets.cmake:55 (message): NOTE: boost::test-based targets and tests cannot be added: boost >= 1.34.0 required but not found. (found: '1.71.0' want >=103400) You may disable ENABLE_TESTS to continue without the tests. Call Stack (most recent call first): CMakeLists.txt:220 (include)

-- Configuring incomplete, errors occurred! See also "/home/felix/.cache/yay/simgear/src/sgbuild/CMakeFiles/CMakeOutput.log". See also "/home/felix/.cache/yay/simgear/src/sgbuild/CMakeFiles/CMakeError.log". ==> ERROR: A failure occurred in build(). "

Any ideas how to resolve this? thanks a lot!

UPDATE: I was able to install Simgear with boost 1.71 by passing the option -ENABLE_TESTS=FALSE to the cmake command.

papakilo commented on 2019-10-06 12:48

Flightgear 2018.3.4 is outdated.

Newer Flightgear 2019.1.1 has been released since 2019-03-14!!!

AWhetter commented on 2019-09-24 18:34

@tim.hellhake I've just added you as a co-maintainer on flightgear and flightgear-data so that you can test and update all three packages at once.

tim.hellhake commented on 2019-09-20 21:50

Flightgear depends on simgear.

https://aur.archlinux.org/packages/simgear needs to be updated first.

papakilo commented on 2019-08-25 09:18

Hi Barthalion, tim.hellhake, FredBezies. Are you still going to maintain this package?

FredBezies commented on 2019-04-16 20:37

@dwheeler: added qt5-svg to makedepends(). Hope it helps!