You are not logged in.

#1 2008-04-13 18:16:40

Locri
Member
From: Ontario, Canada
Registered: 2005-02-22
Posts: 55

uShare and MediaTomb

I've been trying to get some sort of UPnP video/audio streaming set up on my computer and have been having a lot of issues.  The two that seem the best are uShare and MediaTomb, but I can't get either of them to work and am hoping someone might be able to help me out.

MediaTomb (the one I'd prefer to run) won't compile out of AUR.  Both packages are out of date (I've left a note and at least on of them is flagged out of date) and error on something while compiling.  It looks like it's the id3lib, but I can't be sure.  I've modified the PKGBUILD files to use either the latest SVN build or the recently released 0.11.0 version, but that doesn't seem to work either.  Has anyone tried this recently with success?

uShare compiles and finishes makepkg, however when I install it the binary to run it is nowhere to be found on my system.  It's possibly it's just not in my path and installed in some sort of weird directory, but I am having trouble finding it.

I'd greatly appreciate help with either of these issues, or if you know a better AV Streamer to set up, I'd be open to that too.

Thanks!

Offline

#2 2008-04-13 22:33:47

ighea
Member
From: Finland
Registered: 2007-10-20
Posts: 118

Re: uShare and MediaTomb

Thanks to you, and the thing I really should have done my school stuff instead, I made a patch to fix the issues with this package.

The PKGBUILD is below, I think I'll post it to AUR too, so  the maintainer can upgrade it too.

# Orginal Contributor: William Rea <sillywilly@gmail.com>
# Contributor: Nikhil Bysani <nikron@gmail.com>
# Contributor: Mika Hynnä <igheax@gmail.com>
pkgname=mediatomb
pkgver=0.11.0
pkgrel=1
pkgdesc="A UPnP mediaserver"
arch=('i686')
url="http://mediatomb.sourceforge.net"
license=('GPL')
depends=('libexif' 'id3lib' 'sqlite3')
source=(http://mesh.dl.sourceforge.net/sourceforge/mediatomb/mediatomb-$pkgver.tar.gz \
http://kapsi.fi/~ighea/arch/mediatomb-gcc-4.3.patch)
md5sums=('661f08933830d920de21436fe122fb15' 'eda28d01e035b3237566da5b1aad7712')

build() 
{
    cd $startdir/src/mediatomb-$pkgver 
    patch -Np1 < ../mediatomb-gcc-4.3.patch || return 1
    ./configure --prefix=/usr --enable-mysql=no --enable-libmagic=yes --enable-id3lib=yes || return 1
    make || return 1
    make DESTDIR=$startdir/pkg install || return 1
}

There's some minor problems with the ushare's PKGBUILD and I'll see what I can do about it.


(╯°□°)╯~ ┻━┻

Offline

#3 2008-04-13 23:12:52

Locri
Member
From: Ontario, Canada
Registered: 2005-02-22
Posts: 55

Re: uShare and MediaTomb

Wow, that's awesome... thanks so much!  So the main part it was missing was a patch for GCC?

Anyways, thanks again.

Offline

#4 2008-04-13 23:18:38

ighea
Member
From: Finland
Registered: 2007-10-20
Posts: 118

Re: uShare and MediaTomb

Locri wrote:

Wow, that's awesome... thanks so much!  So the main part it was missing was a patch for GCC?

Anyways, thanks again.

Yeah, one missing header and function parameter, thanks to stricter new gcc. smile
Sadly, the package still lacks rc-script part.

Edit:
Well, here is minor update with some kind of rc-script. Have fun.
http://kapsi.fi/~ighea/arch/mediatomb-0.11.0-2.tar.gz

Last edited by ighea (2008-04-14 13:39:05)


(╯°□°)╯~ ┻━┻

Offline

Board footer

Powered by FluxBB