You are not logged in.

#1 2005-06-06 12:22:48

CyberTron
Member
From: Gotland ,Sweden
Registered: 2005-03-17
Posts: 645
Website

[new] Linux DC++

Hi!

I have made a new package, this time for Linux DC++ (a linux version of the famous dc++ for windows)

it is made from cvs, and I have tested this at 2 computers in my apartment..
please try it out...

[UPDATE: It is now a single PKGBUILD file thanks to father and IceRaM for helping me big_smile ]

#Maintainer: CyberTron micke@linuxportalen.com
pkgname=linuxdcpp
pkgver=cvs
pkgrel=2
pkgdesc="Linux dc++ from CVS"
url="http://linuxdcpp.berlios.de"
license="GPL"
depends=()
makedepends=('scons' 'cvs' 'wget')
source=()

build() {
    cd $startdir/src        
        cvs -d:pserver:anonymous@cvs.linuxdcpp.berlios.de:/cvsroot/linuxdcpp login 
        cvs -z3 -d:pserver:anonymous@cvs.linuxdcpp.berlios.de:/cvsroot/linuxdcpp co linuxdcpp 
        cd $startdir/src/linuxdcpp
        scons
    mkdir -p $startdir/pkg/usr/bin
    mkdir -p $startdir/pkg/usr/share
    mkdir -p $startdir/pkg/usr/share/linuxdcpp
    mv $startdir/src/linuxdcpp/dcpp $startdir/src/linuxdcpp/linuxdcpp
    mv $startdir/src/linuxdcpp/pixmaps $startdir/pkg/usr/share/linuxdcpp
    mv $startdir/src/linuxdcpp/glade $startdir/pkg/usr/share/linuxdcpp
    cp $startdir/src/linuxdcpp/linuxdcpp $startdir/pkg/usr/share/linuxdcpp/
        echo "#!/bin/bash" > $startdir/pkg/usr/bin/linuxdcpp
    echo "/usr/share/linuxdcpp/linuxdcpp" >> $startdir/pkg/usr/bin/linuxdcpp 
    }

Have fun


http://www.linuxportalen.com  -> Linux Help portal for Linux and ArchLinux (in swedish)

Dell Inspiron 8500
Kernel 2.6.14-archck1  (selfcompiled)
Enlightenment 17

Offline

#2 2005-06-09 15:41:22

pwe
Member
From: Poland
Registered: 2005-02-15
Posts: 41

Re: [new] Linux DC++

hello!
nice! but its so slowwww! my machine is very slow when linuxdcpp is in use. +-90mb of memory in use!
cvs version ?

Offline

#3 2005-06-09 16:56:36

CyberTron
Member
From: Gotland ,Sweden
Registered: 2005-03-17
Posts: 645
Website

Re: [new] Linux DC++

it might be slow when it is hashing
and depending on how fast computer or how much you have shared it might take a while to hash it (since that function is far from done)

example: on my p2 450mhz with 140gb shared it took roughly a day too hash, (when the computer took around 90-100% of the processor time..after that, it does not take so much memory/computer time..

but to answer your question, it is cvs, and it is downloading the latest availible  version


http://www.linuxportalen.com  -> Linux Help portal for Linux and ArchLinux (in swedish)

Dell Inspiron 8500
Kernel 2.6.14-archck1  (selfcompiled)
Enlightenment 17

Offline

#4 2005-06-10 15:17:20

Father
Member
From: Australia
Registered: 2004-06-01
Posts: 209

Re: [new] Linux DC++

with regards to the linuxdcpp.install file

the functions, by default, return true.. this means that you only need to include the function that actually does something different

so your .install file could look like this

post_install()
{
  echo "Making a symbolic link to Linux dc++ in /usr/bin"
  ln -s /usr/share/linuxdcpp/linuxdcpp /usr/bin
} 

op=$1
shift
$op $* 

or if you want to just have a PKGBUILD, do this

echo "#!/bin/bash" > $startdir/pkg/usr/bin/linuxdcpp
echo "/usr/share/linuxdcpp/linuxdcpp" >> $startdir/pkg/usr/bin/linuxdcpp

hope that helps

Offline

#5 2005-06-10 16:11:04

IceRAM
Member
From: Bucharest, Romania
Registered: 2004-03-04
Posts: 772
Website

Re: [new] Linux DC++

I'd go for the PKGBUILD version.

Every action performed in the install functions must be undo in the uninstall functions (unlike the way it is done in the original files - you'll see that uninstalling the package would leave a lost link).

Besides this, any files which are properly placed within the PKGBUILD can be later identified using "pacman -Qo filename". This is how I like to keep my system clean. IMO, the install file should only be used to update configs and so on, not for creating files.

Offline

#6 2005-06-10 20:09:28

CyberTron
Member
From: Gotland ,Sweden
Registered: 2005-03-17
Posts: 645
Website

Re: [new] Linux DC++

Oh great info!

I have tried to create files inside of the pkgbuild (since i wanted a symbolic link) and thanks to "Father" I will do it the pkgbuild way big_smile

I will try and update this pkgbuild as soon as possible big_smile


http://www.linuxportalen.com  -> Linux Help portal for Linux and ArchLinux (in swedish)

Dell Inspiron 8500
Kernel 2.6.14-archck1  (selfcompiled)
Enlightenment 17

Offline

#7 2005-06-10 20:28:44

CyberTron
Member
From: Gotland ,Sweden
Registered: 2005-03-17
Posts: 645
Website

Re: [new] Linux DC++

the pkgbuild is now updated big_smile


http://www.linuxportalen.com  -> Linux Help portal for Linux and ArchLinux (in swedish)

Dell Inspiron 8500
Kernel 2.6.14-archck1  (selfcompiled)
Enlightenment 17

Offline

#8 2005-06-18 22:01:21

CyberTron
Member
From: Gotland ,Sweden
Registered: 2005-03-17
Posts: 645
Website

Re: [new] Linux DC++

The PKGBUILD is now in the AUR


http://www.linuxportalen.com  -> Linux Help portal for Linux and ArchLinux (in swedish)

Dell Inspiron 8500
Kernel 2.6.14-archck1  (selfcompiled)
Enlightenment 17

Offline

#9 2005-06-18 22:42:51

xerxes2
Member
From: Malmoe, Sweden
Registered: 2004-04-23
Posts: 1,249
Website

Re: [new] Linux DC++

isn't this program depending on something? gtk2?


arch + gentoo + initng + python = enlisy

Offline

#10 2005-06-19 06:43:18

CyberTron
Member
From: Gotland ,Sweden
Registered: 2005-03-17
Posts: 645
Website

Re: [new] Linux DC++

I haven't find any documentation on that,
but there are some makedepends, (like cvs, wget,scons) other than that i don not now

UPDATE: If I just looked hard enough big_smile, sorry for the mistake

here are the new pkgbuild.

#Maintainer: CyberTron packages@linuxportalen.com
pkgname=linuxdcpp
pkgver=cvs
pkgrel=3
pkgdesc="Linux dc++ from CVS"
url="http://linuxdcpp.berlios.de"
license="GPL"
depends=('gtk2' 'libglade' 'zlib' 'gcc')
makedepends=('scons' 'cvs' 'wget')
source=()
md5sums=()

build() {
    cd $startdir/src        
        cvs -d:pserver:anonymous@cvs.linuxdcpp.berlios.de:/cvsroot/linuxdcpp login 
        cvs -z3 -d:pserver:anonymous@cvs.linuxdcpp.berlios.de:/cvsroot/linuxdcpp co linuxdcpp 
        cd $startdir/src/linuxdcpp
        scons
    mkdir -p $startdir/pkg/usr/bin
    mkdir -p $startdir/pkg/usr/share
    mkdir -p $startdir/pkg/usr/share/linuxdcpp
    mv $startdir/src/linuxdcpp/dcpp $startdir/src/linuxdcpp/linuxdcpp
    mv $startdir/src/linuxdcpp/pixmaps $startdir/pkg/usr/share/linuxdcpp
    mv $startdir/src/linuxdcpp/glade $startdir/pkg/usr/share/linuxdcpp
    cp $startdir/src/linuxdcpp/linuxdcpp $startdir/pkg/usr/share/linuxdcpp/
        echo "#!/bin/bash" > $startdir/pkg/usr/bin/linuxdcpp
    echo "/usr/share/linuxdcpp/linuxdcpp" >> $startdir/pkg/usr/bin/linuxdcpp 
    }

http://www.linuxportalen.com  -> Linux Help portal for Linux and ArchLinux (in swedish)

Dell Inspiron 8500
Kernel 2.6.14-archck1  (selfcompiled)
Enlightenment 17

Offline

#11 2005-06-19 11:40:38

xerxes2
Member
From: Malmoe, Sweden
Registered: 2004-04-23
Posts: 1,249
Website

Re: [new] Linux DC++

now that's better, smile

i remember reading about this program on a swedish site and it was using gtk2, it's swedes developing it,


arch + gentoo + initng + python = enlisy

Offline

#12 2005-06-19 17:47:32

CyberTron
Member
From: Gotland ,Sweden
Registered: 2005-03-17
Posts: 645
Website

Re: [new] Linux DC++

yes you are quite right, i am swede too..(i saw you are from malmö)...i am from gotland big_smile *nice weather*


http://www.linuxportalen.com  -> Linux Help portal for Linux and ArchLinux (in swedish)

Dell Inspiron 8500
Kernel 2.6.14-archck1  (selfcompiled)
Enlightenment 17

Offline

#13 2005-06-19 19:29:49

xerxes2
Member
From: Malmoe, Sweden
Registered: 2004-04-23
Posts: 1,249
Website

Re: [new] Linux DC++

yeah, the weather is alright,
but now the bloody algae got there breeding season and the water get all f***ed up, sad

i used to be diving in the summers but i've almost given up on it, maybe i move to sinai or something,


arch + gentoo + initng + python = enlisy

Offline

#14 2005-06-19 19:53:53

CyberTron
Member
From: Gotland ,Sweden
Registered: 2005-03-17
Posts: 645
Website

Re: [new] Linux DC++

yeah, you are right big_smile

the algaes is not nice at all...

good to live on Gotland, I live by the sea but if the algaes is bad on *my* shore, I can easily go to the other side on the island and swim without algaes...:D

but, hey...this thread is not about this *smile*

see ya around


http://www.linuxportalen.com  -> Linux Help portal for Linux and ArchLinux (in swedish)

Dell Inspiron 8500
Kernel 2.6.14-archck1  (selfcompiled)
Enlightenment 17

Offline

#15 2005-07-15 15:27:17

Lowe
Member
Registered: 2005-07-11
Posts: 89

Re: [new] Linux DC++

Doesn't work, missing directory or something. Too lazy to play around with it.

Offline

#16 2005-07-15 16:07:54

CyberTron
Member
From: Gotland ,Sweden
Registered: 2005-03-17
Posts: 645
Website

Re: [new] Linux DC++

ok, thanx fo the update, havent rebuiltit for a while so it might be that the people doing the dc++ haschanged somethng


http://www.linuxportalen.com  -> Linux Help portal for Linux and ArchLinux (in swedish)

Dell Inspiron 8500
Kernel 2.6.14-archck1  (selfcompiled)
Enlightenment 17

Offline

#17 2005-07-15 16:18:31

CyberTron
Member
From: Gotland ,Sweden
Registered: 2005-03-17
Posts: 645
Website

Re: [new] Linux DC++

I believe the problem is that it can not find gtk that is bigger than 2.4 (even though I have it...must look intpo this some more


http://www.linuxportalen.com  -> Linux Help portal for Linux and ArchLinux (in swedish)

Dell Inspiron 8500
Kernel 2.6.14-archck1  (selfcompiled)
Enlightenment 17

Offline

#18 2005-07-15 16:32:55

Lowe
Member
Registered: 2005-07-11
Posts: 89

Re: [new] Linux DC++

CyberTron wrote:

I believe the problem is that it can not find gtk that is bigger than 2.4 (even though I have it...must look intpo this some more

Yeah, i tried to build it from source aswell, couldn't find gtk.

Offline

#19 2005-07-16 14:48:31

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

Re: [new] Linux DC++

Same here.

Offline

#20 2005-07-16 15:08:32

CyberTron
Member
From: Gotland ,Sweden
Registered: 2005-03-17
Posts: 645
Website

Re: [new] Linux DC++

I believe that there is a problem with the sconstruct file (similar to configure), I read in the bugzilla for dcpp that there has been a problem around juli 10, guess we just have to wait and see...


sorry for this


http://www.linuxportalen.com  -> Linux Help portal for Linux and ArchLinux (in swedish)

Dell Inspiron 8500
Kernel 2.6.14-archck1  (selfcompiled)
Enlightenment 17

Offline

#21 2005-07-23 16:34:34

CyberTron
Member
From: Gotland ,Sweden
Registered: 2005-03-17
Posts: 645
Website

Re: [new] Linux DC++

It is once again working big_smile


http://www.linuxportalen.com  -> Linux Help portal for Linux and ArchLinux (in swedish)

Dell Inspiron 8500
Kernel 2.6.14-archck1  (selfcompiled)
Enlightenment 17

Offline

#22 2005-07-24 14:38:23

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

Re: [new] Linux DC++

Although the AUR PKGBUILD creates a link in /usr/bin, it is not executable.  Fixed with a chmod 755 /usr/bin/linuxdcpp

Any chance of modifying the PKGBUILD to rectify this?

TIA

Offline

#23 2005-07-24 16:21:15

CyberTron
Member
From: Gotland ,Sweden
Registered: 2005-03-17
Posts: 645
Website

Re: [new] Linux DC++

yes, sorry, i forgot that one...(was mentioned before)

I will upload it as soon as I can...although It might take a couple of days (will be out of town)


http://www.linuxportalen.com  -> Linux Help portal for Linux and ArchLinux (in swedish)

Dell Inspiron 8500
Kernel 2.6.14-archck1  (selfcompiled)
Enlightenment 17

Offline

#24 2005-07-25 17:23:24

xerxes2
Member
From: Malmoe, Sweden
Registered: 2004-04-23
Posts: 1,249
Website

Re: [new] Linux DC++

i added this to community as 'linuxdcpp-cvs' , all i did with cybertrons pkgbuild was to add a chmod line so if you got complains i redirect them to him, tongue

you start it with 'linuxdcpp' , i haven't used dc for almost a year so i haven't tried it myself yet but hopefully it works, smile


arch + gentoo + initng + python = enlisy

Offline

#25 2005-07-25 18:25:20

CyberTron
Member
From: Gotland ,Sweden
Registered: 2005-03-17
Posts: 645
Website

Re: [new] Linux DC++

thanx xerxes2, this is very good news


http://www.linuxportalen.com  -> Linux Help portal for Linux and ArchLinux (in swedish)

Dell Inspiron 8500
Kernel 2.6.14-archck1  (selfcompiled)
Enlightenment 17

Offline

Board footer

Powered by FluxBB