You are not logged in.
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
]
#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
hello!
nice! but its so slowwww! my machine is very slow when linuxdcpp is in use. +-90mb of memory in use!
cvs version ?
Offline
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
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/linuxdcpphope that helps
Offline
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.
:: / my web presence
Offline
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
I will try and update this pkgbuild as soon as possible ![]()
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
the pkgbuild is now updated ![]()
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
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
isn't this program depending on something? gtk2?
arch + gentoo + initng + python = enlisy
Offline
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
, 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
now that's better,
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
yes you are quite right, i am swede too..(i saw you are from malmö)...i am from gotland
*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
yeah, the weather is alright,
but now the bloody algae got there breeding season and the water get all f***ed up, ![]()
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
yeah, you are right ![]()
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
Doesn't work, missing directory or something. Too lazy to play around with it.
Offline
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
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
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
Same here.
Offline
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
It is once again working ![]()
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
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
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
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, ![]()
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, ![]()
arch + gentoo + initng + python = enlisy
Offline
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