Package Details: rigsofrods-git 2022.12.r441.gbb73c5201-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.000023
First Submitted: 2015-04-19 22:35 (UTC)
Last Updated: 2024-10-17 11:34 (UTC)

Dependencies (4)

Required by (0)

Sources (3)

Latest Comments

1 2 3 4 5 Next › Last »

tritonas00 commented on 2018-10-14 13:15 (UTC) (edited on 2018-11-27 22:37 (UTC) by tritonas00)

No more need to compile dependencies and ror, there are precompiled binaries with bundled libs now: https://forum.rigsofrods.org/threads/ror-development-builds-for-0-4-8-for-windows-and-linux.696/

sp33dyx commented on 2017-12-24 14:03 (UTC)

Hello,

it works with this PKGBUILD file:

Maintainer: Jeanbon
Contributor: tritonas00 tritonas00@gmail.com

_pkgname=rigsofrods _gitname=rigs-of-rods

pkgname=$_pkgname-git pkgver=0.4.7.0.r285.gc37e6b5f pkgrel=1 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.9' 'caelum-ogre1.9' 'mygui-ogre1.9' 'ogre-1.9-pagedgeometry' 'angelscript' 'jsoncpp') 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' '45da7604f07357ee14724dae80c83bd0dc0166a1e8da342c168751ef142f0a6c5d20a14fcc89a90cf8a98b7fdc710dc475fd2d2aa82758cd1aeb8df88e8b216c' '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.9/lib/pkgconfig:/opt/MyGUI-OGRE1.9/lib/pkgconfig:/opt/Caelum-OGRE1.9/lib/pkgconfig:/opt/PagedGeometry-OGRE1.9/lib/pkgconfig:$PKG_CONFIG_PATH"
export LD_LIBRARY_PATH="/opt/OGRE-1.9/lib:/opt/MyGUI-OGRE1.9/lib:/opt/Caelum-OGRE1.9/lib:/opt/PagedGeometry-OGRE1.9/lib:$LD_LIBRARY_PATH"
export CMAKE_PREFIX_PATH="/opt/MyGUI-OGRE1.9/"
export LDFLAGS='-L/usr/lib/openssl-1.0/ -lssl -lcrypto'

# get a clean build dir
[[ -d build ]] && rm -rf build 
mkdir build && cd build

cmake .. \
-DROR_USE_OPENAL="TRUE" \
-DROR_USE_SOCKETW="FALSE" \
-DROR_USE_PAGED="TRUE" \
-DROR_USE_CAELUM="TRUE" \
-DROR_USE_ANGELSCRIPT="TRUE" \
-DCMAKE_BUILD_TYPE=RELEASE \
-DMyGUI_INCLUDE_DIR:PATH="/opt/MyGUI-OGRE1.9/include/MYGUI" \
-DMyGUI_LIBRARY:PATH="/opt/MyGUI-OGRE1.9/include/MYGUI" \
-DMyGUI_MyGUIEngine_LIBRARY_REL:FILEPATH="/opt/MyGUI-OGRE1.9/lib/libMyGUIEngine.so" \
-DMyGUI_OgrePlatform_LIBRARY_REL:FILEPATH="/opt/MyGUI-OGRE1.9/lib/libMyGUI.OgrePlatform.a" \
-DPagedGeometry_INCLUDE_DIR:PATH="/opt/PagedGeometry-OGRE1.9/include/PagedGeometry" \
-DPagedGeometry_LIBRARY:FILEPATH="/opt/PagedGeometry-OGRE1.9/lib/libPagedGeometry.a" \
-DCaelum_INCLUDE_DIR:PATH="/opt/Caelum-OGRE1.9/include/Caelum" \
-DCaelum_LIBRARY:FILEPATH="/opt/Caelum-OGRE1.9/lib/libCaelum.so"    
make

}

package() { cd $srcdir

mkdir -p "$pkgdir/opt/$_pkgname"
cp -r $srcdir/$_gitname/build/bin/* "$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"

}

Merry christmas!

gdm413229 commented on 2017-12-07 06:02 (UTC) (edited on 2017-12-11 05:10 (UTC) by gdm413229)

Tried building this package, all dependencies built successfully and socketw is built using osvein's PKGBUILD rather than the one provided by the AUR.

Building is terminated by a linker error, shown below this line. [encountered when attempting to link Rigs of Rods, compiles fine, bundled launcher successfully built]

/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../lib/libSocketW.so: undefined reference to `X509_set_notBefore'

/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../lib/libSocketW.so: undefined reference to `X509_set_notAfter'

/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../lib/libSocketW.so: undefined reference to `SSLv23_method'

/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../lib/libSocketW.so: undefined reference to `SSL_load_error_strings'

/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../lib/libSocketW.so: undefined reference to `SSL_library_init'

If you encounter the same build-time problem as me, feel free to give me some tips on how to take this linking barrier down.

EDIT: Filed a new issue in GitHub : https://github.com/RigsOfRods/rigs-of-rods/issues/1420

tritonas00 commented on 2017-12-06 06:09 (UTC) (edited on 2017-12-06 06:10 (UTC) by tritonas00)

@jeanbon

those exports and custom paths in the build function are no longer needed, just set CMAKE_PREFIX_PATH, see https://github.com/RigsOfRods/rigs-of-rods/pull/1328

also mygui will be dropped soon https://github.com/RigsOfRods/rigs-of-rods/pull/1414

sp33dyx commented on 2017-12-02 18:21 (UTC)

Hello, i think the failure is in the FindMyGui.cmake near the line 60. # set include directories and libraries set(MyGUI_INCLUDE_DIRS ${MyGUI_INCLUDE_DIR}) set(MyGUI_LIBRARIES) i tried to change to # set include directories and libraries set(MyGUI_INCLUDE_DIRS ${MyGUI_INCLUDE_DIR}) set(MyGUI_LIBRARIES ${MyGUI_LIBRARIES}) and passed through the PKGBUILD the variable with -DMyGUI_LIBRARIES:PATH="/opt/MyGUI-OGRE1.9/include/MYGUI" \ but with the command makepkg the FindMyGui.cmake file will be overwritten. Has anyone a idea? regards sp33dyx

wimbabwe commented on 2017-12-01 23:20 (UTC)

i've got the same problem as sp33dyx. Still hoping for a solution. Rigs is a very nice game :-(

sp33dyx commented on 2017-11-19 12:04 (UTC)

Hello, i reinstalled the package without success. Here are my libs folder. [oliver@archbox rigsofrods-git]$ ls -l /opt/MyGUI-OGRE1.9/lib/ insgesamt 2608 lrwxrwxrwx 1 root root 19 19. Nov 12:55 libMyGUIEngine.so -> libMyGUIEngine.so.3 lrwxrwxrwx 1 root root 23 19. Nov 12:55 libMyGUIEngine.so.3 -> libMyGUIEngine.so.3.2.2 -rwxr-xr-x 1 root root 2332952 19. Nov 12:55 libMyGUIEngine.so.3.2.2 -rw-r--r-- 1 root root 326934 19. Nov 12:55 libMyGUI.OgrePlatform.a drwxr-xr-x 1 root root 16 19. Nov 12:56 pkgconfig pkg-config found the module after exporting the folder. [oliver@archbox rigsofrods-git]$ export PKG_CONFIG_PATH="/opt/MyGUI-OGRE1.9/lib/pkgconfig" [oliver@archbox rigsofrods-git]$ pkg-config --libs MYGUI -L/opt/MyGUI-OGRE1.9/lib -lMyGUIEngine [oliver@archbox rigsofrods-git]$ pkg-config --modversion MYGUI 3.2.2 So i think about the message and comes to the result that something is wrong with the variable (missing: MyGUI_LIBRARIES). As i browsed thru the files i have seen that in the file FindMyGUI.cmake on line 51 the variable MyGUI_LIBRARIES is set, but it seems to me that the variable gets no value. Maybe thats the problem? I am not so familiar with cmake and programming in c++. set(MyGUI_LIBRARIES) Many thanks.

Jeanbon commented on 2017-11-18 21:36 (UTC)

Curious... Thans for the hash I forgot to update it! Do you have all the libraries in /opt/MyGUI-OGRE1.9/lib ? Try to reinstall mygui-ogre1.9. I managed to reinstall the package with all the depedencies.

sp33dyx commented on 2017-11-18 16:11 (UTC)

Unfortunately not. MyGUI does not found... but it is installed, as you can see at the end of the comment. Before that problem i had to replace the checksum for the plugin.cfg in the PKGBULD. Many thanks in advance. [oliver@archbox rigsofrods-git]$ makepkg ==> Erstelle Paket: rigsofrods-git 0.4.7.0.r235.g2e4eebef-2 (Sa 18. Nov 17:06:10 CET 2017) ==> Prüfe Laufzeit-Abhängigkeiten... ==> Prüfe Buildtime-Abhängigkeiten... ==> Empfange Quellen... -> Aktualisiere das rigs-of-rods git Repo... Fordere an von origin -> plugins.cfg gefunden -> rigsofrods.png gefunden -> RoRConfig.desktop gefunden -> RoR.desktop gefunden -> rigsofrods.sh gefunden -> rigsofrods-config.sh gefunden ==> Überprüfe source Dateien mit sha512sums... rigs-of-rods ... Übersprungen plugins.cfg ... Durchgelaufen rigsofrods.png ... Durchgelaufen RoRConfig.desktop ... Durchgelaufen RoR.desktop ... Durchgelaufen rigsofrods.sh ... Durchgelaufen rigsofrods-config.sh ... Durchgelaufen ==> Entpacke Quellen... -> Erstelle Arbeitskopie des rigs-of-rods git Repos... Setze Branch 'makepkg' neu ==> Beginne pkgver()... ==> Entferne existierendes $pkgdir/ Verzeichnis... ==> Beginne build()... -- Found PythonInterp: /usr/bin/python3 (found suitable version "3.6.3", minimum required is "3.0") -- The C compiler identification is GNU 7.2.0 -- The CXX compiler identification is GNU 7.2.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2") -- Checking for module 'gtk+-2.0' -- Found gtk+-2.0, version 2.24.31 -- Checking for module 'gdk-pixbuf-2.0' -- Found gdk-pixbuf-2.0, version 2.36.10 -- Found Git: /usr/bin/git (found version "2.15.0") -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Looking for OGRE... -- OGRE_PREFIX_WATCH changed. -- Checking for module 'OGRE' -- Found OGRE, version 1.9.0 -- Found Ogre Ghadamon (1.9.0) -- Found OGRE: /opt/OGRE-1.9/lib/libOgreMain.so -- Looking for OGRE_Paging... -- Found OGRE_Paging: /opt/OGRE-1.9/lib/libOgrePaging.so -- Looking for OGRE_Terrain... -- Found OGRE_Terrain: /opt/OGRE-1.9/lib/libOgreTerrain.so -- Looking for OGRE_Property... -- Found OGRE_Property: /opt/OGRE-1.9/lib/libOgreProperty.so -- Looking for OGRE_RTShaderSystem... -- Found OGRE_RTShaderSystem: /opt/OGRE-1.9/lib/libOgreRTShaderSystem.so -- Looking for OGRE_Volume... -- Found OGRE_Volume: /opt/OGRE-1.9/lib/libOgreVolume.so -- Looking for OGRE_Overlay... -- Found OGRE_Overlay: /opt/OGRE-1.9/lib/libOgreOverlay.so -- Looking for OIS... -- OIS_PREFIX_PATH changed. -- Checking for module 'OIS' -- Found OIS, version 1.3.0 -- Found OIS: /usr/lib/libOIS.so -- Could NOT find MyGUI (missing: MyGUI_LIBRARIES) CMake Warning at source/main/CMakeLists.txt:432 (message): Building RoR without MyGUI. Some functionality may be missing. -- Found OpenAL: /usr/lib/libopenal.so -- Found SocketW: /usr/include -- Found AngelScript: /usr/include -- Found CURL: /usr/lib/libcurl.so (found version "7.56.1") -- Found Caelum: /opt/Caelum-OGRE1.9/include/Caelum -- Found PagedGeometry: /opt/PagedGeometry-OGRE1.9/include/PagedGeometry -- Found wxWidgets: -pthread;;;-lwx_baseu-3.0;-lwx_gtk2u_core-3.0;-lwx_gtk2u_html-3.0;-lwx_baseu_net-3.0;-lwx_gtk2u_adv-3.0 (found version "3.0.3") -- Looking for OGRE... -- Checking for module 'OGRE' -- Found OGRE, version 1.9.0 -- Found Ogre Ghadamon (1.9.0) -- Found OGRE: /opt/OGRE-1.9/lib/libOgreMain.so -- Looking for OGRE_Paging... -- Found OGRE_Paging: /opt/OGRE-1.9/lib/libOgrePaging.so -- Looking for OGRE_Terrain... -- Found OGRE_Terrain: /opt/OGRE-1.9/lib/libOgreTerrain.so -- Looking for OGRE_Property... -- Found OGRE_Property: /opt/OGRE-1.9/lib/libOgreProperty.so -- Looking for OGRE_RTShaderSystem... -- Found OGRE_RTShaderSystem: /opt/OGRE-1.9/lib/libOgreRTShaderSystem.so -- Looking for OGRE_Volume... -- Found OGRE_Volume: /opt/OGRE-1.9/lib/libOgreVolume.so -- Looking for OGRE_Overlay... -- Found OGRE_Overlay: /opt/OGRE-1.9/lib/libOgreOverlay.so -- Looking for OIS... -- Checking for module 'OIS' -- Found OIS, version 1.3.0 -- Found OIS: /usr/lib/libOIS.so CMake Error at /usr/share/cmake-3.9/Modules/FindPackageHandleStandardArgs.cmake:137 (message): Could NOT find MyGUI (missing: MyGUI_LIBRARIES) Call Stack (most recent call first): /usr/share/cmake-3.9/Modules/FindPackageHandleStandardArgs.cmake:377 (_FPHSA_FAILURE_MESSAGE) cmake/FindMyGUI.cmake:60 (find_package_handle_standard_args) source/configurator/CMakeLists.txt:81 (find_package) -- Configuring incomplete, errors occurred! See also "/home/oliver/.AUR/rigsofrods-git/src/rigs-of-rods/build/CMakeFiles/CMakeOutput.log". See also "/home/oliver/.AUR/rigsofrods-git/src/rigs-of-rods/build/CMakeFiles/CMakeError.log". ==> FEHLER: Ein Fehler geschah in build(). Breche ab... [oliver@archbox rigsofrods-git]$ ls -l /opt/ insgesamt 0 drwxr-xr-x 1 root root 20 10. Nov 18:47 Caelum-OGRE1.8 drwxr-xr-x 1 root root 26 18. Nov 16:22 Caelum-OGRE1.9 drwxr-xr-x 1 root root 20 11. Nov 15:39 MyGUI-OGRE1.8 drwxr-xr-x 1 root root 20 18. Nov 16:30 MyGUI-OGRE1.9 drwxr-xr-x 1 root root 14 22. Okt 15:06 OGRE drwxr-xr-x 1 root root 36 22. Okt 16:56 OGRE-1.8 drwxr-xr-x 1 root root 36 18. Nov 16:20 OGRE-1.9 drwxr-xr-x 1 root root 30 11. Nov 13:59 PagedGeometry-OGRE1.8 drwxr-xr-x 1 root root 26 18. Nov 16:25 PagedGeometry-OGRE1.9

Jeanbon commented on 2017-11-18 01:25 (UTC)

Should work now ;)