You are not logged in.

#1 2005-01-03 21:47:05

Krzysiek_W
Member
From: Poland, Bialystok - tam gdzie
Registered: 2004-12-08
Posts: 45
Website

xmms-musepack & libmusepack (from subversion)

Hi,
this is development version of libmusepack and xmms-musepack. Stable version doesn't work with new glib and causes xmms crash. I've added .1 to latest stable version number of libmusepack and xmms-musepack.

libmusepack:

pkgname=libmusepack
pkgver=1.0.3.1
pkgrel=1
pkgdesc="Musepack decoding library"
depends=('gcc')
source=(http://www.wkw.w.tkb.pl/files/$pkgname-$pkgver.tar.bz2)
url="http://musepack.net/"
md5sums=('8393cdc7922113b7e1c296e6d492993f')

build() {
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/usr

make || return 1
mkdir -p $startdir/pkg/usr/lib

sed -i 's|libmusepack.so.?.?.?|libmusepack.so.$pkgver|g' Makefile
sed -i 's|/sbin/ldconfig ${libdir}/libmusepack.so.$pkgver||g' Makefile
sed -i 's|ln -sf ${libdir}/libmusepack.so.1 ${libdir}/libmusepack.so|ln -sf /usr/lib/libmusepack.so.1 ${libdir}/libmusepack.so|g' Makefile

make prefix=$startdir/pkg/usr install

# what a mess of a building system
}


xmms-musepack:

pkgname=xmms-musepack
pkgver=1.1.1
origver=1.1.1
pkgrel=1
pkgdesc="A XMMS plugin for playing sounds in Musepack (MPC) format"
depends=('xmms' 'libmusepack>=1.0.3')
groups=('xmms-plugins' 'xmms-io-plugins')
url="http://musepack.net/"
source=(http://www.wkw.w.tkb.pl/files/xmms-musepack-$origver.tar.bz2)
md5sums=('6a75da1b4681f84e672f00f5150f9fe3')

build() {
   cd $startdir/src/$pkgname-$origver
   ./configure --prefix=/usr
   make || return 1
   make DESTDIR=$startdir/pkg install
}

Greetings
Krzysiek Wojszko

Offline

#2 2005-01-04 00:23:34

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,378
Website

Re: xmms-musepack & libmusepack (from subversion)

thanx

i'm going to update them in the repo

please report trouble directly to

http://bugs.archlinux.org/index.php?do=details&id=1937


The impossible missions are the only ones which succeed.

Offline

#3 2005-01-04 16:39:38

Lefungus
Member
Registered: 2004-03-28
Posts: 26

Re: xmms-musepack & libmusepack (from subversion)

Updated on musepack.net too, for xmms-musepack only, with the C++ lib.

<rant>
I notice the comment "#what a mess of a building system" ...
As I am responsible for this , I'd like at least an explanation, and how to fix it if the complaint is valid.

I discourage building directly from the svn source since compatibility will break soon and chaos will ensure ( We will go from a C++ lib to C ).

And lastly, if everyone is in a hurry and create its own version number of libmusepack, I let you guess what will happen soon...
</rant>

Offline

#4 2005-01-04 17:59:49

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,378
Website

Re: xmms-musepack & libmusepack (from subversion)

Lefungus wrote:

I notice the comment "#what a mess of a building system" ...
As I am responsible for this , I'd like at least an explanation, and how to fix it if the complaint is valid.

now it's ok ... this comment is mine and was from the PKGBUILD for building  1.0.1 and 1.0.2 ... these both needed manipulation of the Makefile and the rename of the so.1.0.1 to so.1.0.2 in the 1.0.2 version and there were minor trouble in the Makefile there

since 1.0.3 it works fine now, and this comment can be removed ... also the sed lines can be removed, i think (as the Makefile looks good now too)

i'll clean up the pkg in the next release --- thanx for making it clean now!


The impossible missions are the only ones which succeed.

Offline

#5 2005-01-04 18:21:40

Lefungus
Member
Registered: 2004-03-28
Posts: 26

Re: xmms-musepack & libmusepack (from subversion)

Ok, I overreacted with this

Offline

#6 2005-01-04 22:09:15

Krzysiek_W
Member
From: Poland, Bialystok - tam gdzie
Registered: 2004-12-08
Posts: 45
Website

Re: xmms-musepack & libmusepack (from subversion)

Thanks for updaing, now standart PKGBUILD scripts works fine,
libmusepack:

pkgname=libmusepack
pkgver=1.0.3
pkgrel=1
pkgdesc="Musepack decoding library"
url="http://musepack.net/"
license="GNU LPGL"
depends=('gcc')
source=(http://www.saunalahti.fi/grimmel/musepack.net/source/$pkgname-$pkgver.tar.bz2)
md5sums=('01a0b1f338244e6a7d95f826c382f70b')

build() {
  cd $startdir/src/$pkgname-$pkgver
  ./autogen.sh
  ./configure --prefix=/usr
  make || return 1
  make DESTDIR=$startdir/pkg install
}

and xmms-musepack

pkgname=xmms-musepack
pkgver=1.1.1
pkgrel=2
pkgdesc="A XMMS plugin for playing sounds in Musepack (MPC) format"
url="http://musepack.net/"
license="GNU LGPL"
depends=('xmms' 'libmusepack>=1.0.3')
groups=('xmms-plugins' 'xmms-io-plugins')
source=(http://www.saunalahti.fi/grimmel/musepack.net/linux/plugins/$pkgname-$pkgver.tar.bz2)
md5sums=('f7643e5fb31a6910bcf42e6d593c1c81')

build() {
  cd $startdir/src/$pkgname-$pkgver
  ./autogen.sh
  ./configure --prefix=/usr
  make || return 1
  make DESTDIR=$startdir/pkg install
}

Greetings
Krzysiek Wojszko

Offline

#7 2005-01-05 20:33:54

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,378
Website

Re: xmms-musepack & libmusepack (from subversion)

Krzysiek_W wrote:

Thanks for updaing, now standart PKGBUILD scripts works fine,
libmusepack:

pkgname=libmusepack
pkgver=1.0.3
pkgrel=1
pkgdesc="Musepack decoding library"
url="http://musepack.net/"
license="GNU LPGL"
depends=('gcc')
source=(http://www.saunalahti.fi/grimmel/musepack.net/source/$pkgname-$pkgver.tar.bz2)
md5sums=('01a0b1f338244e6a7d95f826c382f70b')

build() {
  cd $startdir/src/$pkgname-$pkgver
  ./autogen.sh
  ./configure --prefix=/usr
  make || return 1
  make DESTDIR=$startdir/pkg install
}

why didn't the version number change?
if there were changes on the code to fix the glib bug, then the version number must change! if not, this is called messing around


The impossible missions are the only ones which succeed.

Offline

#8 2005-01-06 00:47:19

Krzysiek_W
Member
From: Poland, Bialystok - tam gdzie
Registered: 2004-12-08
Posts: 45
Website

Re: xmms-musepack & libmusepack (from subversion)

the change is in xmms-musepack plugin only (I think), but the version from subversion didn't compile with libmusepack 1.0.3,  the stable relase of xmms-musepack-1.1.1 compile fine with libmusepack-1.0.3.


Greetings
Krzysiek Wojszko

Offline

#9 2005-01-06 01:37:11

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,378
Website

Re: xmms-musepack & libmusepack (from subversion)

Krzysiek_W wrote:

the change is in xmms-musepack plugin only (I think), but the version from subversion didn't compile with libmusepack 1.0.3,  the stable relase of xmms-musepack-1.1.1 compile fine with libmusepack-1.0.3.

i mean the 1.0.3 -> 1.0.3.1 -> 1.0.3


The impossible missions are the only ones which succeed.

Offline

#10 2005-01-06 01:57:53

Krzysiek_W
Member
From: Poland, Bialystok - tam gdzie
Registered: 2004-12-08
Posts: 45
Website

Re: xmms-musepack & libmusepack (from subversion)

Sorry for 'messing around', musepack.net haven't relase v 1.0.3.1. I've make tarballs from subversion, and as I wrote in 1st post
 

I've added .1 to latest stable version number of libmusepack and xmms-musepack.

Instead I should make 1.0.3-2 (2nd build).

I had to grab libmusepack from subversion, 'cos I can't build xmms-musepack with stable libmusepack, so I thought that libmusepack will also be chaned.
After all musepack.net released new xmms-musepack, but not libmusepack.
Sorry my mistake.


Greetings
Krzysiek Wojszko

Offline

#11 2005-01-06 08:04:24

JGC
Developer
Registered: 2003-12-03
Posts: 1,664

Re: xmms-musepack & libmusepack (from subversion)

I got problems with the new release. It's a complete rewrite and is far from done. It's not backwards compatible since half of the headers are missing.

xmms-musepack compiles fine with the old libmusepack 1.0.3, but you need to do one sed expression because of a weird error in the Makefile.in:

sed -i -e 's/@GLIB_2_0_CFLAGS@//g' src/Makefile.in

This removes the last piece of glib 2.x stuff out of xmms-musepack.

Offline

#12 2005-01-06 08:35:55

Krzysiek_W
Member
From: Poland, Bialystok - tam gdzie
Registered: 2004-12-08
Posts: 45
Website

Re: xmms-musepack & libmusepack (from subversion)

Yes, I've got this error too, but when I run ./autogen.sh before ./configure  xmms-musepack builds without error.


Greetings
Krzysiek Wojszko

Offline

#13 2005-01-06 12:03:37

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,378
Website

Re: xmms-musepack & libmusepack (from subversion)

pkgdb2: updating xmms-musepack (1.1.1-1 ==> 1.1.1-2)
pkgdb2: updating libmusepack (1.0.3.1-1 ==> 1.0.3.1-2)

ok, libmusepack is back to 1.0.3 ... but as i wanted to prevent going back in versionnumber it is called now 1.0.3.1-2 instead of 1.0.3-2 ... xmms-musepack is compiled against 1.0.3.1-2


The impossible missions are the only ones which succeed.

Offline

#14 2005-01-09 15:28:32

Lefungus
Member
Registered: 2004-03-28
Posts: 26

Re: xmms-musepack & libmusepack (from subversion)

JGC wrote:

xmms-musepack compiles fine with the old libmusepack 1.0.3, but you need to do one sed expression because of a weird error in the Makefile.in:

sed -i -e 's/@GLIB_2_0_CFLAGS@//g' src/Makefile.in

This removes the last piece of glib 2.x stuff out of xmms-musepack.

Dumb error from me, I fixed it.

Offline

Board footer

Powered by FluxBB