You are not logged in.
I have created PKGBUILD for QtCumber, but I can't build it.
PKGBUILD:
pkgname=qtcumber
_pkgname=QtCumber
pkgver=1.0
pkgrel=1
pkgdesc="QtCumber is a free software to transfer files over a peer to peer connection."
arch=('i686' 'x86_64')
url="http://qtcumber.de.vu/"
license=('GPL')
depends=('qt')
source=("http://neroniuos.bplaced.net/qtcumber/download/sourcecode.tar.gz")
md5sums=('a3919139091000c3896908a733fdc849')
build() {
if [[ -d "${srcdir}/build" ]]; then
msg "Cleaning the previous build directory..."
rm -rf "${srcdir}/build"
fi
mkdir "${srcdir}/build"
cd "${srcdir}/build"
qmake ${srcdir}/${pkgver}/${_pkgname}.pro
make
}
package() {
cd "${srcdir}/${pkgver}"
make INSTALL_ROOT=${pkgdir} install
}
---
qt 4.7.3-3
gcc 4.6.1-2
Last edited by unikum (2011-08-04 16:19:04)
Offline
There appears to be an error in the file simplenetwork.cpp, in these lines:
out << block.size() - sizeof(int);
'out' is a QDataStream and has overloading for the '<<' operator, but that requires a certain data type on the right.
g++ can't seem to convert the right part to anything that makes sense. A workaround could be to change all these lines into:
out << (quint64)(block.size() - sizeof(int));
saying explicitly what to convert it to, but that might be clumsy and error-prone.
I guess you should contact the developer(s) to report this, this isn't anything arch-related.
Last edited by steabert (2011-08-04 20:42:54)
Offline