You are not logged in.

#1 2004-05-04 18:02:12

flex_strongo
Member
Registered: 2003-12-02
Posts: 55

Madman

Ever since I upgraded my system a day ago, madman keeps segfaulting.  I think it might have something to do with the new qt, but I don't know.  I've tried recompiling but I can't get it to even compile now.  Anyone have this working?  I saw a TUR with the current version and the new RC2 but both of them have the same segfault issue.

Offline

#2 2004-05-09 07:48:48

kpiche
Forum Fellow
From: Ottawa, ON, Canada
Registered: 2004-03-30
Posts: 246
Website

Re: Madman

I did the PKGBUILDS for the stable and RC versions.  Had trouble compiling under the new picky gcc 3.4.0.  I have a one line patch that allows it to compile but I'm no C++ expert so I don't know if the fix is correct.  The PKGBUILD:

# Contributor: K. Piche <kpiche@rogers.com>
pkgname=madman
pkgver=0.93rc2
pkgrel=2
pkgdesc="A QT based digital music archive manager for XMMS"
url="http://madman.sourceforge.net"
makedepends=('python')
depends=('glib' 'libid3tag' 'libvorbis' 'qt' 'xmms')
source=(http://unc.dl.sourceforge.net/sourceforge/madman/madman-$pkgver.tar.gz
http://madman.sourceforge.net/christian-madman-logo.png madman.desktop
madman-0.93rc2-gcc340.patch)
md5sums=('12dc29fe134d6e7f279f122564060349' '582db2bbd2c2cb16773c9a923547eba3'
         '87ced1b57a17be3bb6476c888257c6d3' '1eea7f8b91ff2a3e11155f49fb19b5be')
 
build() {
  cd $startdir/src/$pkgname-$pkgver
  patch -Np0 -i ../madman-0.93rc2-gcc340.patch
 
  #  copy of scons (ugh) provided.
  tar --use-compress-program=gzip -xf scons-local-0.95.tar.gz
  #  Scon configs, builds, and installs.
  ./scons.py qt_directory=/opt/qt prefix=$startdir/pkg/usr install || return 1
  find $startdir/pkg/usr -name .sconsign -exec rm {} ;
 
  #  Icon & menu entry.
  mkdir -p $startdir/pkg/opt/gnome/share/pixmaps
  mkdir -p $startdir/pkg/opt/gnome/share/applications
  cp ../christian-madman-logo.png $startdir/pkg/opt/gnome/share/pixmaps
  cp ../madman.desktop $startdir/pkg/opt/gnome/share/applications
}

The patch madman-0.93rc2-gcc340.patch:

--- utility/refcnt_ptr.h        2004-03-28 11:22:30.000000000 -0500
+++ utility/refcnt_ptr.h.new    2004-05-09 03:19:38.000000000 -0400
@@ -109,7 +109,7 @@
     refcnt_ptr(const refcnt_ptr<T2>& rhs) throw()
        {
        object = rhs.object;
-       refcnt = rhs.refCnt;
+       this->refcnt = rhs.refCnt;
        increaseCount();
        }

The GNOME menu entry madman.desktop:

[Desktop Entry]
Name=Madman
Comment=Digital music archive manager for XMMS
Exec=madman
Icon=christian-madman-logo.png
Type=Application
Categories=Application;AudioVideo;

Also ensure you're running XMMS 1.2.10.  Apparently 1.2.9 causes random crashes in Madman.
Good luck.

Offline

Board footer

Powered by FluxBB