Package Details: rigsofrods-git 2022.12.r117.gb0fc91954-1

Git Clone URL: https://aur.archlinux.org/rigsofrods-git.git (read-only, click to copy)
Package Base: rigsofrods-git
Description: An open source vehicle simulator based on soft-body physics
Upstream URL: http://rigsofrods.org
Licenses: GPL
Conflicts: rigsofrods, rigsofrods-hg, rigsofrods-noangelscript-git
Provides: rigsofrods
Submitter: vorot93
Maintainer: AnotherFoxGuy
Last Packager: AnotherFoxGuy
Votes: 5
Popularity: 0.003212
First Submitted: 2015-04-19 22:35 (UTC)
Last Updated: 2023-05-24 13:30 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 Next › Last »

Megameneer commented on 2016-07-21 19:48 (UTC) (edited on 2016-08-28 19:03 (UTC) by Megameneer)

The two scripts are useful when running rigsofrods from the command line. If you run the command "rigsofrods" when rigsofrods.sh is installed, Rigs of Rods will be started. Otherwise, you would need to run "/opt/rigsofrods/RoR" from the command line. It's the same with rigsofrods-config.sh: running rigsofrods-config instead of RoRConfig. This is the content of rigsofrods.sh: #! /bin/sh cd /opt/rigsofrods ./RoR This is the content of rigsofrods-config.sh: #! /bin/sh cd /opt/rigsofrods ./RoRConfig

Jeanbon commented on 2016-07-13 00:54 (UTC) (edited on 2016-07-13 00:55 (UTC) by Jeanbon)

Thanks for your help Megameneer I'll try it ASAP! What's the two sh scripts rigsofrods.sh and risofrods-config.sh ?

Megameneer commented on 2016-07-12 20:09 (UTC)

I have made a new PKGBUILD for this package: # Maintainer: Artem Vorotnikov <artem@vorotnikov.me> # Contributor: tritonas00 <tritonas00@gmail.com> _pkgname=rigsofrods _gitname=rigs-of-rods pkgname=$_pkgname-git pkgver=0.4.5.1.r1049.g5fb089e pkgrel=2 pkgdesc="An open source vehicle simulator based on soft-body physics" arch=('i686' 'x86_64') url="http://rigsofrods.org" license=('GPL') depends=('openal' 'wxgtk' 'ogre>=1.8.0' 'ogre<2.0.0' 'caelum-git' 'mygui' 'ogre-pagedgeometry-git' 'socketw' 'angelscript') optdepends=('sh: for being able to run the commands rigsofrods and rigsofrods-config instead of /opt/rigsofrods/RoR and /opt/rigsofrods/RoRConfig') makedepends=('cmake' 'git') conflicts=('rigsofrods' 'rigsofrods-hg' 'rigsofrods-noangelscript-git') provides=('rigsofrods') source=("git+https://github.com/RigsOfRods/$_gitname.git" "plugins.cfg" "rigsofrods.png" "RoRConfig.desktop" "RoR.desktop" "rigsofrods.sh" "rigsofrods-config.sh") sha512sums=('SKIP' 'aaf465b9afa2acde5300c5721d46147e54a25d74ca42efc560e47fd2e1197717904a33deef3bedcf4a94103228c25129b77f200d386567424a5c1f96fb55b339' '8280ddec6dba37e66c323e469c1894bacc3b592b6ea1f7fd3876bc9e7253b14b4949c3c51d7dd47ad7bd78e085fbe51aad83b1e8d0b0755deda426129e4a6710' '40a000061d72245265d53d7c2ce0c4acc81eb3dddb6f6beda4b693a154e34922b8eb5c8400062b58c5f43a74be6cdaab938c1cd6427aebfc691d1fa52517fe2d' 'b0c04df93fa622d27ba485df1253ee786ebe42acb2c7b2f5d9657f22623503ee995845905f782c7b550625a4db0dbfdd924e4757b2daf21f84bb9cb3f6d683af' '83796e24bda42ed9f744cfd12af7eaf4ce576a4f784f3b10c360a6038fc921f47f42b90e205c933b89f0e837a65d446f101063fc9bac22591963747ed45fdfb6' 'fe76e153ff532f1e88dd57889f6347c598517024681e0f899a878d3c57e2ef6a400c391bfc0a1860975138dc8dc814df268d0c419d919757e59389a307b0f71d') pkgver() { cd "$srcdir/$_gitname" git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' } build() { cd "$srcdir/$_gitname" # export PKG_CONFIG_PATH="/opt/OGRE-1.8/lib/pkgconfig:/opt/MyGUI-OGRE1.8/lib/pkgconfig:/opt/Caelum-OGRE1.8/lib/pkgconfig:/opt/PagedGeometry-OGRE1.8/lib/pkgconfig:$PKG_CONFIG_PATH" # export LD_LIBRARY_PATH="/opt/OGRE-1.8/lib:/opt/MyGUI-OGRE1.8/lib:/opt/Caelum-OGRE1.8/lib:/opt/PagedGeometry-OGRE1.8/lib:$LD_LIBRARY_PATH" # get a clean build dir [[ -d build ]] && rm -rf build && find ./bin -type f -maxdepth 1 ! -name resources -delete mkdir build && cd build cmake .. \ -DROR_USE_MYGUI="TRUE" \ -DROR_USE_OPENAL="TRUE" \ -DROR_USE_SOCKETW="TRUE" \ -DROR_USE_PAGED="TRUE" \ -DROR_USE_CAELUM="TRUE" \ -DROR_USE_ANGELSCRIPT="TRUE" \ -DCMAKE_BUILD_TYPE=RELEASE make } package() { cd $srcdir mkdir -p "$pkgdir/opt/$_pkgname" cp -r $srcdir/$_gitname/bin/* "$pkgdir/opt/$_pkgname/" cp $srcdir/$_gitname/build/bin/RoR "$pkgdir/opt/$_pkgname/" cp $srcdir/$_gitname/build/bin/RoRConfig "$pkgdir/opt/$_pkgname/" install -Dm755 ../rigsofrods.png "$pkgdir/usr/share/pixmaps/rigsofrods.png" install -Dm755 ../RoR.desktop "$pkgdir/usr/share/applications/RoR.desktop" install -Dm755 ../RoRConfig.desktop "$pkgdir/usr/share/applications/RoRConfig.desktop" install -Dm755 ../plugins.cfg "$pkgdir/opt/$_pkgname/plugins.cfg" install -Dm755 ../rigsofrods.sh "$pkgdir/usr/bin/rigsofrods" install -Dm755 ../rigsofrods-config.sh "$pkgdir/usr/bin/rigsofrods-config" }

Megameneer commented on 2016-07-06 08:12 (UTC)

I probably found the solution; you have to copy both ${srcdir}/${_gitname}/bin/* , ${srcdir}/${_gitname}/build/bin/RoR and ${srcdir}/${_gitname}/build/bin/RoRConfig to ${pkgdir}/opt/rigsofrods . Also, the upstream URL is not correct anymore; it is rigsofrods.org .

Megameneer commented on 2016-07-05 18:12 (UTC)

I just discovered that my solution on that does not work. The problem lies elsewhere. I am checking it out. But you could remove ogre-git from the list of dependencies anyway, since the version number of ogre.git (2.2.0) is too high for Rigs of Rods (max. 1.9). Also, after compiling with Yaourt, the working directory has changed to /opt/rigsofrods or so. I will check where the problem lies, but my first guess is that there has to be cd'ed to ${srcdir} at the start of package()

Jeanbon commented on 2016-07-05 16:30 (UTC)

OK thanks you, I'll try this today and post it if it works :)

Megameneer commented on 2016-07-05 15:52 (UTC)

I found the problem today. The PKGBUILD looks for ${srcdir}/rigs-of/rods/bin/* , but the files are in ${srcdir}/rigs-of/rods/build/bin/* . Please fix this.

wimbabwe commented on 2016-06-29 18:31 (UTC)

@megameneer your solution is better. Because i had some terrible performance. But with your solution to copy the files from rigs-of-rods/build/bin the gameperformance is much better. first i used pamac to build the package(manjaro) so i could'nt find rigs-of-rods/build/bin.

Megameneer commented on 2016-06-27 16:27 (UTC) (edited on 2016-06-28 17:05 (UTC) by Megameneer)

I can confirm what wimbabwe says. But for me, the files were just in ${srcdir}/rigs-of-rods/build/bin, so I used these. Above that, ogre.git is not a valid dependency anymore; Rigs of Rods must be able to use OGRE 1.8.x or 1.9.x according to their Git page, and ogre.git is already on 2.2.0. OGRE from the repos is still a valid package; it is version 1.9.0.

wimbabwe commented on 2016-06-16 10:05 (UTC) (edited on 2016-06-16 10:07 (UTC) by wimbabwe)

after compiling RoR en RoRconfig are missing in /opt/rigsofrods/ For me the solution was to compile Rigs from Github and copy these 2 files to /opt/rigsofrods/