Package Details: flightgear 2020.3.19-2

Git Clone URL: https://aur.archlinux.org/flightgear.git (read-only, click to copy)
Package Base: flightgear
Description: An open-source, multi-platform flight simulator
Upstream URL: http://www.flightgear.org/
Licenses: GPL
Submitter: Barthalion
Maintainer: alesar1 (acxz)
Last Packager: acxz
Votes: 48
Popularity: 0.004086
First Submitted: 2018-01-05 16:04 (UTC)
Last Updated: 2023-12-31 02:54 (UTC)

Pinned Comments

acxz commented on 2022-09-07 14:47 (UTC)

Development is on Github: https://github.com/acxz/flightgear-arch Please open issues and PRs there instead of commenting.

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 Next › Last »

tunaja commented on 2019-12-11 00:32 (UTC) (edited on 2019-12-11 00:33 (UTC) by tunaja)

Has anyone gotten this to work? I tried to install via AUR and then compiling from the source, and when I run fgfs, it takes me to the cessna 172p and it's out in the middle of the water.

I read as much as I could from flightgear forums and wikis, and arch wiki

dixi_minga commented on 2019-11-25 03:34 (UTC)

in PKGBUILD it should be

pkgrel=2

tim.hellhake commented on 2019-11-24 22:06 (UTC)

@iggyvolz I replaced it. Thanks for the hint.

iggyvolz commented on 2019-11-24 21:48 (UTC)

Depends on openscenegraph34 - moved to openscenegraph

opt12 commented on 2019-10-18 09:58 (UTC)

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 (UTC)

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 (UTC) (edited on 2019-10-15 22:20 (UTC) by polylux)

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 (UTC)

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 (UTC) (edited on 2019-10-18 08:29 (UTC) by opt12)

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.