It sounds like you might need to install flightgear-data?
Search Criteria
Package Details: flightgear 2020.3.19-2
Package Actions
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: | None |
Last Packager: | acxz |
Votes: | 49 |
Popularity: | 0.178267 |
First Submitted: | 2018-01-05 16:04 (UTC) |
Last Updated: | 2023-12-31 02:54 (UTC) |
Dependencies (18)
- glu (glu-gitAUR)
- libxi (libxi-gitAUR)
- libxmu
- libxrandr (libxrandr-gitAUR)
- openal (openal-gitAUR)
- openscenegraph (openscenegraph-gitAUR, openscenegraph-openmw-gitAUR)
- zlib (zlib-ng-compat-gitAUR, zlib-gitAUR, zlib-ng-compat)
- boost (boost-gitAUR) (make)
- cmake (cmake-gitAUR, cmake3AUR) (make)
- mesa (mesa-wsl2-gitAUR, mesa-amd-bc250AUR, amdonly-gaming-mesa-gitAUR, mesa-gitAUR, mesa-minimal-gitAUR, mesa-amber) (make)
- qt5-base (qt5-base-gitAUR, qt5-base-headlessAUR) (make)
- qt5-declarative (qt5-declarative-gitAUR) (make)
- qt5-svg (qt5-svg-gitAUR) (make)
- sharutils (make)
- simgearAUR (simgear-gitAUR) (make)
- flightgear-dataAUR (flightgear-data-gitAUR) (optional)
- qt5-base (qt5-base-gitAUR, qt5-base-headlessAUR) (optional) – fgfs --launcher
- qt5-declarative (qt5-declarative-gitAUR) (optional) – fgfs --launcher
Required by (4)
- ffgo
- ffgo-git
- flightgear-photoscenery-creatorscripts-git (optional)
- terrafs-git (optional)
Sources (1)
Latest Comments
« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 Next › Last »
AWhetter commented on 2019-12-11 00:48 (UTC)
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
}
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.