You are not logged in.

#1 2005-01-11 21:52:13

Thereidos
Member
From: Sochaczew, Poland
Registered: 2005-01-08
Posts: 16
Website

valknut/dclib

Hi 'all.

I have prepared a dclib and valknut packages for 0.3.5 (latest) version. Unfortunately I have no webspace now, but if anyone would be interested in these packages or would like to check how I have built them let me know.


It's human? He's got a face like a join-the-dots puzzle!

Offline

#2 2005-01-11 21:59:10

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: valknut/dclib

post the PKGBUILD here... that works fine for the most part

Offline

#3 2005-01-12 00:21:38

qwerty
Member
Registered: 2004-12-17
Posts: 183

Re: valknut/dclib

Hey, i've tryed to build it, it compile fine, but every time i tryed to run valknut it gave me a segmentation fault error... have you patched anything???

Offline

#4 2005-01-13 08:54:28

Thereidos
Member
From: Sochaczew, Poland
Registered: 2005-01-08
Posts: 16
Website

Re: valknut/dclib

qwerty wrote:

Hey, i've tryed to build it, it compile fine, but every time i tryed to run valknut it gave me a segmentation fault error... have you patched anything???

Nope. No patch, no nothing. Somehow I never had any problem compiling and running valknut/dclib since 0.2.x version.

As for the PKGBUILD these are taken from ABS: extra/network... I'm still confused of your releasing system (those official sites, TURs, etc.). Ain't sure if this is what you wanted but there it goes:
DCLIB:

# $Id: PKGBUILD,v 1.4 2004/08/25 02:05:06 roberto Exp $
# Maintainer: Roberto Carvajal <roberto@archlinux.org>
# Contributor: thereidos <thereidos@gmail.com>

pkgname=dclib
pkgver=0.3.5
pkgrel=1
pkgdesc="Libraries for the Direct Connect 4 Linux (valknut) File Sharing program."
url="http://dcgui.berlios.de/"
depends=(gcc openssl bzip2 libxml2)
source=(http://download.berlios.de/dcgui/$pkgname-$pkgver.tar.bz2)
md5sums=('7112028c84f40c5f2719a969bf55a6c8')

build() {
  cd $startdir/src/$pkgname-$pkgver
  ./configure --prefix=/usr
  make || return 1
  make prefix=$startdir/pkg/usr install
}

VALKNUT:

# $Id: PKGBUILD,v 1.1 2004/08/25 02:03:58 roberto Exp $
# Maintainer: Roberto Carvajal <roberto@archlinux.org>
# Contributor: thereidos <thereidos@gmail.com>

pkgname=valknut
pkgver=0.3.5
pkgrel=1
pkgdesc="Direct Connect 4 Linux File Sharing program."
url="http://dcgui.berlios.de/"
depends=(qt dclib xorg)
replaces=(dcgui-qt)
source=(http://download.berlios.de/dcgui/$pkgname-$pkgver.tar.bz2)
md5sums=('88bad0a307ed6791a4c9f521186a8bb6')

build() {
  cd $startdir/src/$pkgname-$pkgver
  ./configure --prefix=/usr --with-qt-dir=/opt/qt
  make || return 1
  make prefix=$startdir/pkg/usr install
}

It's human? He's got a face like a join-the-dots puzzle!

Offline

#5 2005-01-15 23:46:50

Thereidos
Member
From: Sochaczew, Poland
Registered: 2005-01-08
Posts: 16
Website

Re: valknut/dclib

For the lazy ones I should mention that I've got a compiled packages that can be found at http://thereidos.freefronthost.com/pkgs/ (along with corresponding PKGBUILDs) under dclib and valknut directories.


It's human? He's got a face like a join-the-dots puzzle!

Offline

#6 2005-03-06 03:05:03

Cotton
Member
From: Cornwall, UK
Registered: 2004-09-17
Posts: 568

Re: valknut/dclib

Thereidos, have you successfully built valkut 0.3.7?

Your repository (http://thereidos.freefronthost.com/pkgs/) appears to have it, but the link to the package is dead.

Using the PKGBUILD in the repository, I get an error compiling.  Judging by the comments on the Valknut forum (http://dcgui.berlios.de/forum/viewtopic.php?t=2824), this is qt library related, though I don't know how to fix it. I've tried changing the configure option --with-qt-dir=/opt/qt to --with-qt-dir=/opt/qt/lib but to no avail.

Any suggestions?  The package is already flagged as out of date.

Offline

#7 2005-03-06 13:54:48

Thereidos
Member
From: Sochaczew, Poland
Registered: 2005-01-08
Posts: 16
Website

Re: valknut/dclib

Cotton wrote:

Thereidos, have you successfully built valkut 0.3.7?

Yes I did. In fact I'm running it now without a hitch.

Your repository (http://thereidos.freefronthost.com/pkgs/) appears to have it, but the link to the package is dead.

Yes, I see this too. This is strange - I suppose it must be something with the adds scripts added by host. I'll try to work it out as soon as possible.

Using the PKGBUILD in the repository, I get an error compiling.  Judging by the comments on the Valknut forum (http://dcgui.berlios.de/forum/viewtopic.php?t=2824), this is qt library related, though I don't know how to fix it. I've tried changing the configure option --with-qt-dir=/opt/qt to --with-qt-dir=/opt/qt/lib but to no avail.

Any suggestions?  The package is already flagged as out of date.

Probably I'm the one who flagged this package smile
As for th error compiling you could post it here (or is it exactly the same as on the valknut forum?). Have you managed to succesfuly compile dclib? If you wish I can send the packages in mail (653K dclib and 905K valknut).
The PKGBUILDs I used:

# $Id: PKGBUILD,v 1.4 2004/08/25 02:05:06 roberto Exp $
# Maintainer: Roberto Carvajal <roberto@archlinux.org>
# Contributor: thereidos <thereidos@gmail.com>

pkgname=dclib
pkgver=0.3.7
pkgrel=1
pkgdesc="Libraries for the Direct Connect 4 Linux (valknut) File Sharing program."
url="http://dcgui.berlios.de/"
depends=(gcc openssl bzip2 libxml2)
source=(http://download.berlios.de/dcgui/$pkgname-$pkgver.tar.bz2)
md5sums=('d35833414534bcac8ce2c8a62ce903a4')

build() {
  cd $startdir/src/$pkgname-$pkgver
  ./configure --prefix=/usr
  make || return 1
  make prefix=$startdir/pkg/usr install
}
# end of file #
# $Id: PKGBUILD,v 1.1 2004/08/25 02:03:58 roberto Exp $
# Maintainer: Roberto Carvajal <roberto@archlinux.org>
# Contributor: thereidos <thereidos@gmail.com>

pkgname=valknut
pkgver=0.3.7
pkgrel=1
pkgdesc="Direct Connect 4 Linux File Sharing program."
url="http://dcgui.berlios.de/"
depends=(qt dclib xorg)
replaces=(dcgui-qt)
source=(http://download.berlios.de/dcgui/$pkgname-$pkgver.tar.bz2)
md5sums=('848f9b3f25af15c3f1837133ac4b9415')

build() {
  cd $startdir/src/$pkgname-$pkgver
  ./configure --prefix=/usr --with-qt-dir=/opt/qt
  make || return 1
  make prefix=$startdir/pkg/usr install
}
# end of file #

It's human? He's got a face like a join-the-dots puzzle!

Offline

#8 2005-03-06 19:34:27

Cotton
Member
From: Cornwall, UK
Registered: 2004-09-17
Posts: 568

Re: valknut/dclib

The last few lines of the build are:

fi
dcchat.cpp: In member function `void DCChat::InitDocument()':
dcchat.cpp:123: warning: unused variable 'i'
dcchat.cpp: In member function `void DCChat::AddMessage(CString, CString, bool, bool)':
dcchat.cpp:1087: warning: comparison between signed and unsigned integer expressions
dcchat.cpp: In member function `bool DCChat::CheckForCommand()':
dcchat.cpp:1559: error: 'class CListenManager' has no member named 'GetSocketErrorMsg'
dcchat.cpp:1905: warning: comparison between signed and unsigned integer expressions
make[3]: *** [dcchat.o] Error 1
make[3]: Leaving directory `/var/abs/extra/network/valknut/src/valknut-0.3.7/valknut'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/abs/extra/network/valknut/src/valknut-0.3.7/valknut'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/abs/extra/network/valknut/src/valknut-0.3.7'
make: *** [all] Error 2
==> ERROR: Build Failed.  Aborting...

dclib compiles and installs no problem.

Perhaps you could send the package to see if it runs here.

Thanks.

Offline

Board footer

Powered by FluxBB