You are not logged in.

#26 2010-07-17 12:01:02

dmz
Member
From: Sweden
Registered: 2008-08-27
Posts: 881
Website

Re: pimpd - Perl Interface for the Music Player Daemon

itsbrad212 wrote:

You have been gifted with magical perl skills tongue

This will most likely replace ncmpcpp as my music player. And by the way, I saw you like Eminem...+10 respect points from me smile

Thanks for all the kind words. smile

I've started working on pimpd-ng... smile

Offline

#27 2010-07-19 22:21:34

Sigi
Member
From: Thurgau, Switzerland
Registered: 2005-09-22
Posts: 1,131

Re: pimpd - Perl Interface for the Music Player Daemon

watsonalgas wrote:

How bout a PKGBUILD? ...

Falstaff wrote:

Yeah, a AUR release would be great.

and

Sigi wrote:

I've just tried out pimpd for the very first time, good work! Since I also like my apps managed by pacman I might create a PKGBUILD for pimpd, but don't expect one in the next two weeks or so :-)

Well, here you go:
http://aur.archlinux.org/packages.php?ID=39028

Best regards, Chris


Haven't been here in a while. Still rocking Arch. smile

Offline

#28 2010-07-20 04:11:49

dmz
Member
From: Sweden
Registered: 2008-08-27
Posts: 881
Website

Re: pimpd - Perl Interface for the Music Player Daemon

Thank you Sigi! Much appreciated.

Offline

#29 2010-07-21 05:21:45

Sigi
Member
From: Thurgau, Switzerland
Registered: 2005-09-22
Posts: 1,131

Re: pimpd - Perl Interface for the Music Player Daemon


Haven't been here in a while. Still rocking Arch. smile

Offline

#30 2010-07-21 08:09:02

dmz
Member
From: Sweden
Registered: 2008-08-27
Posts: 881
Website

Re: pimpd - Perl Interface for the Music Player Daemon

Hm... I'm not sure what you did there.

--- PKGBUILD    2010-07-21 07:15:24.000000000 +0200
+++ PKGBUILD-t    2010-07-21 10:05:43.671097484 +0200
@@ -2,19 +2,17 @@
 pkgname=pimpd-ng-git
 pkgver=20100721
 pkgrel=1
-pkgdesc="Perl Interface for the Music Player Daemon (MPD)"
+pkgdesc="Next generation pimpd"
 arch=('any')
-url="http://github.com/trapd00r/pimpd"
+url="http://github.com/trapd00r/pimpd-ng"
 license=('GPLv3')
-depends=('perl-html-tokeparser-simple' 'perl-audio-mpd' \
-    'perl-libwww' 'perl-text-autoformat')
+depends=('perl-audio-mpd')
 makedepends=('git')
-conflicts=('pimpd-git')
-backup=('etc/pimpd.conf')
+backup=('etc/pimpd-ng.conf')
 source=()
 md5sums=() 
 
-_gitroot="git://github.com/trapd00r/pimpd.git"
+_gitroot="git://github.com/trapd00r/pimpd-ng.git"
 _gitname="pimpd-ng"
 
 build() {

But it ain't very usable right now so I wouldn't recommend anyone using it.

Offline

#31 2010-07-21 22:18:42

Sigi
Member
From: Thurgau, Switzerland
Registered: 2005-09-22
Posts: 1,131

Re: pimpd - Perl Interface for the Music Player Daemon

dmz wrote:

Hm... I'm not sure what you did there.

Crap. I should have known that creating and uploading a PKGBUILD during the time I'm eating my breakfast is a bad idea... Sorry.

I fixed the worst mistakes but its still in a bad shape atm.


Haven't been here in a while. Still rocking Arch. smile

Offline

#32 2010-08-05 01:48:58

sonkei
Member
From: Detroit,MI
Registered: 2009-04-06
Posts: 27

Re: pimpd - Perl Interface for the Music Player Daemon

sigh broke when i upgrade perl... /sadface

Offline

#33 2010-08-05 02:56:40

dmz
Member
From: Sweden
Registered: 2008-08-27
Posts: 881
Website

Re: pimpd - Perl Interface for the Music Player Daemon

Offline

#34 2010-08-05 03:00:57

sonkei
Member
From: Detroit,MI
Registered: 2009-04-06
Posts: 27

Re: pimpd - Perl Interface for the Music Player Daemon

sad

Offline

#35 2010-09-17 08:26:59

dmz
Member
From: Sweden
Registered: 2008-08-27
Posts: 881
Website

Re: pimpd - Perl Interface for the Music Player Daemon

Sigi: Do you mind updating the PKGBUILD? I've finally started rewriting this and throwed all dependencies (except Audio::MPD) in the trash.
This should work:

# Contributor: Christoph Siegenthaler <csi@gmx.ch>
pkgname=pimpd-git
pkgver=20100917
pkgrel=1
pkgdesc="Perl Interface for the Music Player Daemon (MPD)"
arch=('any')
url="http://github.com/trapd00r/pimpd"
license=('GPLv2')
depends=('perl-audio-mpd')
makedepends=('git')
backup=('etc/pimpd.conf')
source=()
md5sums=() 

_gitroot="git://github.com/trapd00r/pimpd.git"
_gitname="pimpd"

build() {
  cd "$srcdir"
  msg "Connecting to GIT server...."

  if [ -d $_gitname ] ; then
    cd $_gitname && git pull origin
    msg "The local files are updated."
  else
    git clone $_gitroot $_gitname
  fi

  msg "GIT checkout done or server timeout"
  msg "Starting make..."

  rm -rf "$srcdir/$_gitname-build"
  git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
  cd "$srcdir/$_gitname-build"
  
  mkdir -p $pkgdir/{etc,/usr/bin}
  install pimpd $pkgdir/usr/bin
  install pimpd.conf $pkgdir/etc
} 

Offline

#36 2010-09-18 08:57:37

dmz
Member
From: Sweden
Registered: 2008-08-27
Posts: 881
Website

Re: pimpd - Perl Interface for the Music Player Daemon

Also...

I'd like to make the installation by using the provided makefile instead.
This way the manpage will be generated and installed as well.
The configuration file installation could be done like it is now though.

Something like this.

  export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps \
    PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \
    PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
    MODULEBUILDRC=/dev/null

  { perl Makefile.PL &&
    make &&
    make install; } || return 1

  install -D -m644 $srcdir/pimpd/pimpd.conf \
    $pkgdir/etc/pimpd.conf

Thank you.

Offline

#37 2010-09-21 12:02:14

dmz
Member
From: Sweden
Registered: 2008-08-27
Posts: 881
Website

Re: pimpd - Perl Interface for the Music Player Daemon

pimpd is now completely rewritten and will rock your socks off!
The PKGBUILD is updated and the only dependency is Audio::MPD.

Please check it out and tell me what you think!
Cheers.

Offline

Board footer

Powered by FluxBB