Thanks, it should build properly now.
Search Criteria
Package Details: performous-git 0.6.1_951_g37983fb-1
Package Actions
| Package Base: | performous-git |
|---|---|
| Description: | Karaoke game |
| Upstream URL: | http://performous.org |
| Category: | games |
| Licenses: | |
| Conflicts: | |
| Provides: | |
| Submitter: | dawn |
| Maintainer: | dawn |
| Last Packager: | dawn |
| Votes: | 12 |
| First Submitted: | 2009-06-27 19:28 |
| Last Updated: | 2014-06-03 18:47 |
Dependencies (15)
- boost
- cairo>=1.2
- ffmpeg-compat
- glew
- imagemagick
- librsvg
- libxml++
- portaudio
- sdl2
- cmake>=2.4 (make)
- git (make)
- help2man (make)
- opencv (optional) – webcam support
- portmidi (optional) – MIDI drum support
- ttf-ms-fonts (optional) – Microsoft core fonts
Required by (0)
Sources
Latest Comments
Comment by dawn
Comment by tobby
build fails due to missing sdl2, works with installed sdl.
please add it to the dependencies.
Comment by ajs124
The package doesn't build currently.
My proposal for a updated PKGBUILD: https://gist.github.com/ajs124/7759989
The version number is kind of odd, but it build for me.
Comment by dawn
Thanks, updated!
Comment by acerix
It looks like the libMagick libs were renamed, I was able to build it with this:
cmake -DCMAKE_INSTALL_PREFIX=/usr -DMagick++_LIBRARY=/usr/lib/libMagick++-6.Q16.so -DMagick_LIBRARY=/usr/lib/libMagickCore-6.Q16.so "${srcdir}/${_gitname}" || return 1
By the way, thanks for maintaining this package!
I couldn't get the sound working properly in 0.7.0 (audio would play at the wrong speed, with lots of "static" noise), but it works great with this version.
Comment by dawn
Sorry, I guess I forgot to upload the PKGBUILD with the github source. Thanks Profpatsch, I updated to your improved PKGBUILD.
Comment by Profpatsch
Updated the package to github, improved the cmake line to find ImageMagick.
https://gist.github.com/Profpatsch/4976612
Comment by sonic414
Repository Moved to GitHub. Please Update -
git://github.com/performous/performous.git
Comment by Cravix
@ki4sss:
same error here...
Anonymous comment
[ 75%] Building CXX object game/CMakeFiles/performous.dir/songparser.cc.o
[ 76%] Building CXX object game/CMakeFiles/performous.dir/engine.cc.o
Linking CXX executable performous
CMakeFiles/performous.dir/webcam.cc.o: In function `Webcam::Webcam(int)':
***/performous-git/src/performous/game/webcam.cc:24: undefined reference to `cv::VideoCapture::VideoCapture(int)'
***/performous-git/src/performous/game/webcam.cc:28: undefined reference to `cv::VideoCapture::VideoCapture(int)'
CMakeFiles/performous.dir/webcam.cc.o: In function `~Mat':
/usr/include/opencv2/core/mat.hpp:278: undefined reference to `cv::fastFree(void*)'
/usr/include/opencv2/core/mat.hpp:364: undefined reference to `cv::Mat::deallocate()'
CMakeFiles/performous.dir/webcam.cc.o: In function `cv::Mat::release()':
/usr/include/opencv2/core/mat.hpp:364: undefined reference to `cv::Mat::deallocate()'
CMakeFiles/performous.dir/webcam.cc.o: In function `~Mat':
/usr/include/opencv2/core/mat.hpp:278: undefined reference to `cv::fastFree(void*)'
collect2: error: ld returned 1 exit status
make[2]: *** [game/performous] Errore 1
make[1]: *** [game/CMakeFiles/performous.dir/all] Errore 2
make: *** [all] Errore 2
==> ERRORE: Si è verificato un errore in build().
L'operazione sta per essere interrotta...
Dawn Your linker error is it likewise this? I've already installed opencv and i can't to remove it
Comment by dawn
graysky,
The newly updated PKGBUILD should solve both problems you had. Unfortunately I still get a linker error related to opencv that I haven't figured out how to fix. It builds fine without webcam support (that is with no opencv installed).
Comment by graysky
Linking C executable gh_fsb_decrypt
[ 36%] Built target gh_fsb_decrypt
[ 37%] Building CXX object tools/CMakeFiles/ss_extract.dir/pak.cpp.o
[ 38%] Building CXX object tools/CMakeFiles/ss_pak_extract.dir/pak.cpp.o
[ 39%] Building CXX object tools/CMakeFiles/ss_extract.dir/ipu_conv.cpp.o
[ 40%] Building CXX object game/CMakeFiles/performous.dir/video.cc.o
[ 42%] Building CXX object tools/CMakeFiles/ss_extract.dir/ss_cover.cpp.o
Linking CXX executable ss_pak_extract
[ 42%] Built target ss_pak_extract
[ 43%] Building CXX object game/CMakeFiles/performous.dir/unicode.cc.o
In file included from /scratch/performous-git/src/performous/game/unicode.cc:6:0:
/usr/include/glib-2.0/glib/gconvert.h:28:2: error: #error "Only <glib.h> can be included directly."
make[2]: *** [game/CMakeFiles/performous.dir/unicode.cc.o] Error 1
make[2]: *** Waiting for unfinished jobs....
Linking CXX executable ss_extract
[ 43%] Built target ss_extract
make[1]: *** [game/CMakeFiles/performous.dir/all] Error 2
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
Comment by graysky
$ makepkg -srci
==> ERROR: Invalid syntax for optdepend : 'opencv: for webcam support'
Comment by dawn
I'll look into it.
Comment by av6
Alright, it's broken now.
boost-libs package has been switched to a new layout so there's no "libboost_filesystem-mt.so" (which is used by performous-git), but only "libboost_filesystem.so".
boost-libs PKGBUILD says "--layout=system no longer adds the -mt suffix for multi-threaded libs." so I suppose libboost_filesystem.so is multithreaded and I've symlinked it. It doesn't work:
In file included from /var/abs/local/yaourtbuild/performous-git/src/performous/tools/ss_extract.cpp:20:0:
/var/abs/local/yaourtbuild/performous-git/src/performous/tools/ss_helpers.hh: In function 'std::string filename(const boost::filesystem3::path&)':
/var/abs/local/yaourtbuild/performous-git/src/performous/tools/ss_helpers.hh:13:74: error: conversion from 'const boost::filesystem3::path' to non-scalar type 'std::string' requested
/var/abs/local/yaourtbuild/performous-git/src/performous/tools/ss_helpers.hh:13:77: warning: control reaches end of non-void function
I give up, can you fix it?
PS: rm -rf "$srcdir/$_gitname-build" is obligatory, see /usr/share/pacman/PKGBUILD-git.proto for example.
Comment by av6
Audio engine has been rewritten and requires PortAudio now, and alsa-lib is not required anymore.
Comment by av6
Please use `git pull` instead of `git-pull`. The latter is obsolete for years.