You are not logged in.
http://www.gnu.org/software/gnupod/
If i knew how to make pkgbuild i would, but im still learning. would be great if someone could make one for gnupod.
thanks.
Offline
I can make it for you.
But why GNUpod and not GTKPod?
Arch - It's something refreshing
Offline
Her you go: http://aur.archlinux.org/packages.php?d … s=0&SeB=nd
I have not tested it, so just PM or e-mail me if anything is not working.
Arch - It's something refreshing
Offline
I've added some comments in the AUR, whargoul. Let me know what you think.
Offline
I really don't now what you mean in your last message.
Arch - It's something refreshing
Offline
Well ... you've responded to my comments in the AUR.
What exactly don't you understand?
Offline
Allright this is a lot harder than I thought. There is no variable to change were gnupod should place it modules. So I need to change the Makefile directly.
The Makefile looks like this:
# Makefile for GNUpod
#
prefix = /var/abs/local/gnupod/pkg/usr
exec_prefix = ${prefix}
bindir = ${exec_prefix}/bin
infodir = ${prefix}/info
mandir = ${prefix}/man
perlbinary = /usr/bin/perl
pkgver = 0.98.3
pkgfname = gnupod-0.98.3
pkgdir = gnupod-0.98.3-noarch-1au
----
I need to change 'perlbinary' to /var/abs/local/gnupod/pkg/usr/lib/perl5 (or something like that). This has to be done with 'sed', witch I can't figure out how to use. So maby one here could provide the right command.
Arch - It's something refreshing
Offline
Thanks for all the help guys, I want to use gnupod instead of gtkpod because it works from the command line. Looks like theres some problems with it, If its too much work whargoul dont worry about it.
Offline
I need to change 'perlbinary' to /var/abs/local/gnupod/pkg/usr/lib/perl5 (or something like that).
I don't think that would work. The perlbinary variable is used to identify the location of perl, in this case /usr/bin/perl, and it is used further down in the Makefile to run a perl install script called gnupod_install.pl. If you change it as you suggest, that script will no longer run.
As you may have gathered, I've been looking at this too, and having seen what gnupod_install.pl does, and bearing in mind that these are scripts, and therefore don't need compiling, I've come up with a PKGBUILD that ignores the install script altogether - it just installs stuff in the right places, and then tidies up a bit. See what you think:
# Contributor: Tom K <tomk@runbox.com>
pkgname=gnupod
pkgver=0.98.3
pkgrel=1
pkgdesc="a collection of Perl-Scripts which allow you to use your iPod under GNU/Linux "
depends=('mp3-info' 'perl-unicode-string' 'perlxml')
source=(http://blinkenlights.ch/$pkgname-dist/stable/$pkgname-$pkgver.tgz)
md5sums=('a2db678aa2098a5b019fc3e4dc380afc')
url="http://www.gnu.org/software/gnupod/"
build() {
cd $startdir/src/$pkgname-$pkgver
#Create pkg dirs
mkdir -p $startdir/pkg/usr/bin $startdir/pkg/usr/man/man1
$startdir/pkg/usr/lib/perl5/current/i686-linux-thread-multi/GNUpod
#Ignore brain-dead install script, and do the Arch thing
install -m 755 src/*.pl $startdir/pkg/usr/bin
install -m 644 man/* $startdir/pkg/usr/man/man1
install -m 444 src/ext/* $startdir/pkg/usr/lib/perl5/current/i686-linux-thread-multi/GNUpod
#Tidy up after ignoring brain-dead install script :P
cd /$startdir/pkg/usr/bin
for i in `ls` ;
do sed -i "s:##__PERLBIN__###:!/usr/bin/perl:;s:###__VERSION__###:$pkgver:" $i ;
done
}
I can't test this fully, because I don't have an iPod (I did it to try to learn a bit more, that's all), but I have installed it, and I'm getting sane-looking responses.
Try it out, and if you think it's rubbish, that's OK - just tell me about it.
Offline
I've come up with a PKGBUILD that ignores the install script altogether - it just installs stuff in the right places, and then tidies up a bit. See what you think:
Yup, that's totally valid - I've had to do that a handful of times... remove an install script and just do a handful of 'cp's or 'install's
Offline
That looks quite good. I think I just remove my PKGBUILD.
I have an iPod, but after 1½ years, it behave stranges sometimes, so I am a little afraid that GNUpod will screw it.
Arch - It's something refreshing
Offline
OK - I understand your concern. If I had an iPod, I'd think twice about messing with it too.
sputnik - how do you feel about testing my PKGBUILD? I'd like to put it in the AUR, but only if it works, of course.
Offline
OK - I understand your concern. If I had an iPod, I'd think twice about messing with it too.
sputnik - how do you feel about testing my PKGBUILD? I'd like to put it in the AUR, but only if it works, of course.
sorry been a bit busy, i will test it out tonight. thanks a lot.
i will let you know.
Offline
tomk wrote:OK - I understand your concern. If I had an iPod, I'd think twice about messing with it too.
sputnik - how do you feel about testing my PKGBUILD? I'd like to put it in the AUR, but only if it works, of course.
sorry been a bit busy, i will test it out tonight. thanks a lot.
i will let you know.
So did it work?
Arch - It's something refreshing
Offline
Sorry, i forgot... It works!
Just make sure you run:
gnupod_INIT.pl -m /mnt/ipod
before you start adding songs.
Offline
Thanks sputnik - it's now in the AUR.
Offline
Thanks tomk! I *MUCH* prefer gnupod to gtkpod. Much. I imagined it would be a royal pita to manage music via the command line, but it's actually not at all. It's brilliant. I was looking at installing it myself but found this in the AUR.
Unthinking respect for authority is the greatest enemy of truth.
-Albert Einstein
Offline
One better, I put it in community (mainly because I needed to use it too
tomk, if you want the package back when you get your TU, lemme know.
iphitus
Offline
Snarkout - my pleasure. I'm glad you like it.
iphitus - nah, that's cool. I don't use it myself, so it would make more sense for someone that does to maintain it.
Offline
iph - gnupod is now showing as an orphan. It's that adoption "feature" again, isn't it? Adopt, move to [community], adopt again - or something like that.......
Offline
Yes. Each time a package is moved from unsupported to community, it gets orphaned. So you must remember to readopt it. I don't know why we have that behavior. Could be because of the way unsupported and community interact between each other.
Offline
Yeah, I didnt re-adopt it in case tomk wanted it. I'll adopt it tonight....
Offline
One better, I put it in community (mainly because I needed to use it too
tomk, if you want the package back when you get your TU, lemme know.
iphitus
Awesome - that rocks! It's amazing that command line management could be so easy -- being able to manage my music w/o having an X session kicks ass. All that's really missing from gnupod is a recursive option and an ignore option for the addsong command.
Unthinking respect for authority is the greatest enemy of truth.
-Albert Einstein
Offline
Drop a mail to the dev with those ideas - as he says on the website:
If you have any cool ideas or other things to tell me, please use pab at blinkenlights.ch to get in contact.
Offline
Has anyone gotten gnupod to make the special ipod podcast playlist? I would really like to have my podcasts bookmarked, and I can't quite seem to make it work right
Offline