Package Details: solarus 1.6.5-1

Git Clone URL: https://aur.archlinux.org/solarus.git (read-only, click to copy)
Package Base: solarus
Description: A lightweight, free and open-source game engine for Action-RPGs
Upstream URL: http://www.solarus-games.org/
Licenses: GPL3
Conflicts: solarus-git, solarus-run
Submitter: BenObiWan
Maintainer: MCMic
Last Packager: MCMic
Votes: 43
Popularity: 0.000000
First Submitted: 2011-12-17 11:58 (UTC)
Last Updated: 2021-04-26 07:58 (UTC)

Latest Comments

1 2 3 Next › Last »

kleintux commented on 2024-03-06 07:00 (UTC) (edited on 2024-03-06 07:02 (UTC) by kleintux)

have the same error glm changed the version to 1. some weeks ago https://gitlab.archlinux.org/archlinux/packaging/packages/glm/-/commits/main


/usr/include/glm/gtx/matrix_transform_2d.hpp:21:9: error: #error "GLM: GLM_GTX_matrix_transform_2d is an e
xperimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including i
t, if you really want to use it."
   21 | #       error "GLM: GLM_GTX_matrix_transform_2d is an experimental extension and may change in the
 future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
      |         ^~~~~
[ 44%] Building CXX object CMakeFiles/solarus.dir/src/graphics/sdlrenderer/SDLRenderer.cpp.o
make[2]: *** [CMakeFiles/solarus.dir/build.make:1476: CMakeFiles/solarus.dir/src/graphics/glrenderer/GlTex
ture.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [CMakeFiles/solarus.dir/build.make:1448: CMakeFiles/solarus.dir/src/graphics/glrenderer/GlRen
derer.cpp.o] Error 1
make[2]: *** [CMakeFiles/solarus.dir/build.make:1462: CMakeFiles/solarus.dir/src/graphics/glrenderer/GlSha
der.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:109: CMakeFiles/solarus.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
make: Leaving directory '/var/ab/.cache/paru/clone/solarus/src/solarus-v1.6.5'
==> ERROR: A failure occurred in build().
    Aborting...

djadala commented on 2024-02-19 01:39 (UTC)

Hi, fail to build:

[ 42%] Building CXX object CMakeFiles/solarus.dir/src/graphics/Hq3xFilter.cpp.o In file included from /home/jambo/.cache/yay/solarus/src/solarus-v1.6.5/src/graphics/glrenderer/GlRenderer.cpp:12: /usr/include/glm/gtx/matrix_transform_2d.hpp:21:9: error: #error "GLM: GLM_GTX_matrix_transform_2d is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it." 21 | # error "GLM: GLM_GTX_matrix_transform_2d is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it." | ^ [ 43%] Building CXX object CMakeFiles/solarus.dir/src/graphics/Hq4xFilter.cpp.o [ 43%] Building CXX object CMakeFiles/solarus.dir/src/graphics/Renderer.cpp.o In file included from /home/jambo/.cache/yay/solarus/src/solarus-v1.6.5/src/graphics/glrenderer/GlShader.cpp:32: /usr/include/glm/gtx/transform.hpp:23:9: error: #error "GLM: GLM_GTX_transform is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it." 23 | # error "GLM: GLM_GTX_transform is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it." | ^ In file included from /home/jambo/.cache/yay/solarus/src/solarus-v1.6.5/src/graphics/glrenderer/GlShader.cpp:33: /usr/include/glm/gtx/matrix_transform_2d.hpp:21:9: error: #error "GLM: GLM_GTX_matrix_transform_2d is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it." 21 | # error "GLM: GLM_GTX_matrix_transform_2d is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it." | ^ In file included from /home/jambo/.cache/yay/solarus/src/solarus-v1.6.5/src/graphics/glrenderer/GlTexture.cpp:6: /usr/include/glm/gtx/matrix_transform_2d.hpp:21:9: error: #error "GLM: GLM_GTX_matrix_transform_2d is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it." 21 | # error "GLM: GLM_GTX_matrix_transform_2d is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it." | ^ [ 44%] Building CXX object CMakeFiles/solarus.dir/src/graphics/Scale2xFilter.cpp.o [ 44%] Building CXX object CMakeFiles/solarus.dir/src/graphics/sdlrenderer/SDLRenderer.cpp.o [ 45%] Building CXX object CMakeFiles/solarus.dir/src/graphics/sdlrenderer/SDLShader.cpp.o [ 45%] Building CXX object CMakeFiles/solarus.dir/src/graphics/sdlrenderer/SDLSurfaceImpl.cpp.o In file included from /home/jambo/.cache/yay/solarus/src/solarus-v1.6.5/src/graphics/sdlrenderer/SDLShader.cpp:32: /usr/include/glm/gtx/transform.hpp:23:9: error: #error "GLM: GLM_GTX_transform is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it." 23 | # error "GLM: GLM_GTX_transform is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it." | ^ In file included from /home/jambo/.cache/yay/solarus/src/solarus-v1.6.5/src/graphics/sdlrenderer/SDLShader.cpp:33: /usr/include/glm/gtx/matrix_transform_2d.hpp:21:9: error: #error "GLM: GLM_GTX_matrix_transform_2d is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it." 21 | # error "GLM: GLM_GTX_matrix_transform_2d is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it." | ^ make[2]: *** [CMakeFiles/solarus.dir/build.make:1448: CMakeFiles/solarus.dir/src/graphics/glrenderer/GlRenderer.cpp.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: *** [CMakeFiles/solarus.dir/build.make:1476: CMakeFiles/solarus.dir/src/graphics/glrenderer/GlTexture.cpp.o] Error 1 make[2]: *** [CMakeFiles/solarus.dir/build.make:1462: CMakeFiles/solarus.dir/src/graphics/glrenderer/GlShader.cpp.o] Error 1 make[2]: *** [CMakeFiles/solarus.dir/build.make:1574: CMakeFiles/solarus.dir/src/graphics/sdlrenderer/SDLShader.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:109: CMakeFiles/solarus.dir/all] Error 2 make: *** [Makefile:136: all] Error 2 make: Leaving directory '/home/jambo/.cache/yay/solarus/src/solarus-v1.6.5' ==> ERROR: A failure occurred in build(). Aborting... -> error making: solarus-exit status 4

MCMic commented on 2020-08-26 08:18 (UTC)

@matth Thanks, fixed.

matth commented on 2020-08-25 16:12 (UTC)

Since the latest update I get this.

CMake Error at gui/cmake/AddDependencies.cmake:5 (find_package):
  By not providing "FindQt5LinguistTools.cmake" in CMAKE_MODULE_PATH this
  project has asked CMake to find a package configuration file provided by
  "Qt5LinguistTools", but CMake did not find one.

  Could not find a package configuration file provided by "Qt5LinguistTools"
  (requested version 5.7) with any of the following names:

    Qt5LinguistToolsConfig.cmake
    qt5linguisttools-config.cmake

  Add the installation prefix of "Qt5LinguistTools" to CMAKE_PREFIX_PATH or
  set "Qt5LinguistTools_DIR" to a directory containing one of the above
  files.  If "Qt5LinguistTools" provides a separate development package or
  SDK, be sure it has been installed.
Call Stack (most recent call first):
  gui/CMakeLists.txt:8 (include)

It seems the qt5-tools dependency that was removed is still needed. Builds fine after adding that back in.

MCMic commented on 2020-08-20 21:59 (UTC)

@franck.stauffer Thanks, pushed.

qontinuum commented on 2020-08-13 21:51 (UTC) (edited on 2020-08-15 11:07 (UTC) by qontinuum)

Here is an updated PKGBUILD with some improvements/modifications:

pkgname=solarus
pkgver=1.6.4
pkgrel=1
pkgdesc="A lightweight, free and open-source game engine for Action-RPGs"
arch=('i686' 'x86_64')
url="http://www.solarus-games.org/"
license=('GPL3')
depends=('glm'
         'hicolor-icon-theme'
         'libmodplug>=0.8.8.4'
         'libvorbis'
         'luajit>=2.0'
         'openal'
         'physfs'
         'qt5-base'
         'sdl2>=2.0.6'
         'sdl2_image'
         'sdl2_ttf')
makedepends=('cmake')
conflicts=('solarus-git' 'solarus-run')
source=("https://gitlab.com/solarus-games/${pkgname}/-/archive/v${pkgver}/${pkgname}-v${pkgver}.tar.gz")
b2sums=('fdf9b6703af8424b4731b25b307dcc7a0966cbf89a0bf043bcfb6745d0c6e8aa1fee026f206a41ebf6c8d54b23a9a3816a6c2d7ae004c9db7c436425a94aa7d3')

prepare() {
  cd "$pkgname-v$pkgver"
  cmake -Wno-dev -DSOLARUS_TESTS=OFF -DCMAKE_INSTALL_PREFIX="/usr" -DCMAKE_C_FLAGS="${CFLAGS} ${CPPFLAGS}" -DCMAKE_CXX_FLAGS="${CXXFLAGS} ${CPPFLAGS}" -DCMAKE_EXE_LINKER_FLAGS="${LDFLAGS}" .
}

build() {
  make -C "$pkgname-v$pkgver" ${MAKEFLAGS}
}

package() {
  make -C "$pkgname-v$pkgver" DESTDIR="${pkgdir}/" install
}

ShalokShalom commented on 2017-01-11 20:35 (UTC)

There is no desktop starter for the new launcher GUI

skull-y commented on 2016-08-20 22:08 (UTC)

Thanks, now it works.