Package Details: solarus-quest-editor 1.6.5-2

Git Clone URL: https://aur.archlinux.org/solarus-quest-editor.git (read-only, click to copy)
Package Base: solarus-quest-editor
Description: A graphical user interface to create and modify quests for the Solarus engine.
Upstream URL: https://www.solarus-games.org/
Keywords: editor engine game gui quest solarus
Licenses: GPL, custom
Submitter: Maxs
Maintainer: jrd
Last Packager: jrd
Votes: 5
Popularity: 0.000001
First Submitted: 2015-07-10 05:22 (UTC)
Last Updated: 2023-01-29 20:27 (UTC)

Latest Comments

1 2 Next › Last »

jrd commented on 2023-01-29 20:34 (UTC)

I adopted and patched the package.

jrd commented on 2023-01-28 16:39 (UTC)

My patch to PKGBUILD, to allow it to run without a crash:

source=(
    "https://gitlab.com/solarus-games/$pkgname/-/archive/v$pkgver/$pkgname-v$pkgver.tar.gz"
    "https://gitlab.com/solarus-games/solarus-quest-editor/-/commit/baed9f61e7a9c7eeed1064f254032cb5f3344ffe.patch"
)
sha256sums=(
    'c2e292bf34696968dfb0fe56fb21af8566b7a4001b84535c39e30ae7a3d9bb6e'
    'a7e86920bd04a2d580d3da3df7ceb231205229798be5bdd0b6ee18f71c89d9a8'
)

prepare() {
  cd "$srcdir/$pkgname-v$pkgver"
  patch -p1 -i "$srcdir/baed9f61e7a9c7eeed1064f254032cb5f3344ffe.patch"
}

Based on what I found here: https://gitlab.com/solarus-games/solarus-quest-editor/-/merge_requests/434

qontinuum commented on 2020-09-29 13:25 (UTC)

Yes so it is a preparation command, not a build command. It is just a way of viewing packaging, since it works it's cool ^^

xiretza commented on 2020-09-29 13:23 (UTC)

No, `The typical usage consists of running the cmake command and after that execute the building command.'

Uhm, yes, that's exactly what the PKGBUILD is doing. It first runs cmake, then it runs make. Otherwise it wouldn't even work.

qontinuum commented on 2020-09-29 13:21 (UTC)

No, `The typical usage consists of running the cmake command and after that execute the building command.'

xiretza commented on 2020-09-29 13:19 (UTC)

Nope, according to https://wiki.archlinux.org/index.php/CMake_package_guidelines, it goes in build().

qontinuum commented on 2020-09-29 13:18 (UTC) (edited on 2020-09-29 13:18 (UTC) by qontinuum)

Can you just put the cmake part in the prepare function?

xiretza commented on 2020-09-29 12:51 (UTC)

Updated to 1.6.4 and fixed a few bugs along the way.

qontinuum commented on 2020-09-29 12:23 (UTC)

I tried to upload the package (not the package function) but I keep getting errors. Here is what I've done:

pkgname="solarus-quest-editor"
pkgver="1.6.4"
pkgrel="1"
pkgdesc="A graphical user interface to create and modify quests for the Solarus engine."
arch=("i686" "x86_64")
url="http://www.solarus-games.org/"
license=("GPL" "custom")
depends=("solarus" "qt5-base" "qt5-tools" "glm")
makedepends=("cmake" "zip")
source=("$pkgname-$pkgver.tar.gz::https://gitlab.com/solarus-games/solarus-quest-editor/-/archive/v$pkgver/solarus-quest-editor-v$pkgver.tar.gz")
md5sums=('3eebb8c607e6c212b1aaf29478c3958d')

prepare() {
  cd "$pkgname-v$pkgver"
  cmake -Wno-dev -DSOLARUS_INCLUDE=/usr/include/solarus -DSOLARUS_GUI_INCLUDE=/usr/include/solarus -DSOLARUS_LIBRARY=/usr/lib/libsolarus.so -DSOLARUS_GUI_LIBRARY=/usr/lib/libsolarus-gui.so -DCMAKE_INSTALL_PREFIX="/usr" .
}

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

package() {
  cd "$srcdir/$pkgname-v$pkgver-$commit"

  make DESTDIR="${pkgdir}/" install
  install -Dm644 "license.txt" "$pkgdir/usr/share/licences/$pkgname/license.txt"
  install -Dm644 "images/logo/sqe-logo.png" "$pkgdir/usr/share/pixmaps/sqe-logo.png"
  install -Dm644 "resources/$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
}

willWallace77 commented on 2020-08-15 06:04 (UTC)

Ran into trouble with some issues with building the the package. It looks like the newer versions of qt require

include <QPainterPath> 

line in src/entities/jumper.cpp in order to build properly. It has been fixed upstream on git but the newest release 1.6.4 doesn't have it. To fix it I created a patch for the build, included the patch the source array, updated the sums and patched in a prepare() block. Looked like this:

prepare() {
  cd "$srcdir/$pkgname-v$pkgver-$commit"
  patch --forward --strip=1 --input="$srcdir/package.patch"
}

Also a heads up the 1.6.4 also has rearranged and possibly redone logos. so the line

  install -Dm644 "images/logo/sqe-logo.png" "$pkgdir/usr/share/pixmaps/sqe-     logo.png"

in the package() block should be replaced I think with "logo.png" right in the root of the source directory. I don't know what it should be named in the pixmaps directory though.