[Dev] Ryzom: packaging problems...
Jorge Araya Navarro
jorgean at lavabit.com
Mon Jul 16 04:49:17 GMT 2012
Hello people!! o/
I assign myself as Ryzom game maintainer (because I reported few bugs to
the project and I stay around #ryzom on freenode) for Parabola and I
have few problems regarding to packaging the game. It uses cmake to...
make the source code(?), glol. Just like blender-libre (I checked the
blender's PKGBUILD)... Here is the output of
»ryzom-nel-2275-1-x86_64-package_ryzom-nel.log«
CMake Error: The source directory "/build/src/ryzom/code/ryzom-nel/ " does not exist.
Specify --help for usage, or press the help button on the CMake GUI.
==> ERROR: A failure occurred in package_ryzom-nel().
Aborting...
This error never happened to me before. I can build the package through
bash (without chroot, libremakepkg and that stuffs) successfully. This
could be an error on CMakeLists.txt, but I'm not sure, I already talk
with Kervala, one of the 4 guys developing Ryzom, for help, but we
couldn't fix this. If you want to check or try to fix this issue, the
PKGBUILD is attached in this email.
cheers!
--
Jorge Araya Navarro
Universitario, idealista y pseudo-activista del Software Libre.
Siquirres, Limón, Costa Rica.
http://swt.encyclomundi.net
Diaspora*: http://diasp.org/u/shackra
identi.ca: http://parlementum.net/sweet
Jabber: shackra at jabberes.org
Skype: ¡De ninguna manera, tras de privativo, te espían!.
el software privativo en GNU/Linux, al igual que en Windows o en MacOs,
te hace un ser no-libre. Deja de engañarte,
¡¡despierta ahora!!:
http://www.gnu.org/distros/free-distros.html
http://replicant.us/about/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.parabola.nu/pipermail/dev/attachments/20120715/01238100/attachment.htm>
-------------- next part --------------
# Maintainer: Jorge Araya Navarro <jorgean at lavabit.com>
pkgname=('ryzom-nel'
'ryzom-client'
#'ryzom-server'
#'ryzom-tools'
)
pkgver=2272
pkgrel=1
arch=('x86_64' 'i686')
url="http://ryzom.com"
license=('AGPL')
depends=('kervala_libsquish-hg'
'curl'
'freetype2'
'libx11'
'mesa'
'libxxf86vm'
'openal'
'freealut'
'libogg'
'libvorbis'
'libxml2'
'libpng'
'libjpeg'
'rrdtool'
'libwww'
'boost')
makedepends=('cmake' 'bison' 'mercurial')
_hgroot=http://ryzom.hg.sourceforge.net:8000/hgroot/ryzom
_hgrepo=ryzom
build() {
cd "$srcdir"
msg "Connecting to Ryzom Mercurial server...."
if [[ -d "$_hgrepo" ]]; then
cd "$_hgrepo"
hg pull -u
msg "The Ryzom files are updated."
else
hg clone "$_hgroot/$_hgrepo"
fi
msg "Ryzom Mercurial checkout done or server timeout"
}
package_ryzom-nel() {
options=(!strip)
pkgdesc="The Ryzom game engine"
if [[ -d "$srcdir/$_hgrepo/code/ryzom-nel" ]]; then
rm -rf "$srcdir/$_hgrepo/code/ryzom-nel"
mkdir -p "$srcdir/$_hgrepo/code/ryzom-nel"
else
mkdir -p "$srcdir/$_hgrepo/code/ryzom-nel"
fi
cd "$srcdir/$_hgrepo/code/ryzom-nel"
echo "pwd = $(pwd)" >> /tmp/log.txt
cmake .. \
-Wno-dev \
-DCMAKE_BUILD_TYPE=Release \
-DWITH_RYZOM=OFF \
-DWITH_NEL_TESTS=OFF \
-DWITH_NEL=ON \
-DCMAKE_INSTALL_PREFIX=/usr \
-DNL_ETC_PREFIX=/etc/nel \
-DNL_DRIVER_PREFIX=/usr/lib/nel \
-DNL_SHARE_PREFIX=/usr/share/nel \
-DNL_BIN_PREFIX=/usr/bin \
-DNL_SBIN_PREFIX=/usr/sbin \
-DNL_LIB_PREFIX=/usr/lib/nel \
-DNL_DRIVER_PREFIX=/usr/lib/nel
-DRYZOM_ETC_PREFIX=/etc/ryzom \
-DRYZOM_SHARE_PREFIX=/usr/share/ryzom \
-DRYZOM_BIN_PREFIX=/usr/bin
make -j3
make DESTDIR="$pkgdir" install
}
package_ryzom-client() {
# options and directives overrides
# cpptest is only needed if WITH_NEL_TESTS is ON
pkgdesc="An awesome free software 3D MMORPG game"
source=("http://hg.kervala.net/packaging/file/tip/ryzom/debian/client_default.cfg")
depends=('ryzom-nel' 'ryzom-data')
cd "$srcdir/$_hgrepo-build/code"
if [[ -d "ryzom-client" ]]; then
rm -rf ryzom-client
mkdir ryzom-client
else
mkdir ryzom-client
fi
cd "$srcdir/$_hgrepo-build/code/ryzom-client"
cmake .. \
-DWITH_RYZOM_CLIENT=ON -DWITH_LUA51=ON \
-DWITH_RYZOM_SERVER=OFF \
-DWITH_RYZOM_TOOLS=OFF \
-DWITH_LIBWWW_STATIC=ON \
-DWITH_NEL_TESTS=OFF \
-DWITH_NEL=OFF \
-DCMAKE_INSTALL_PREFIX=/usr \
-DRYZOM_ETC_PREFIX=/etc/ryzom \
-DRYZOM_SHARE_PREFIX=/usr/share/ryzom \
-DRYZOM_BIN_PREFIX=/usr/bin
make -j3
make install
}
More information about the Dev
mailing list