You are not logged in.
Offline
Well, I tried.
I used Zinf for a while in Windows but nowadays even the Linux version is rotten. I guess one might be able to build it successfully (hint: FreeBSD) but you're probably better off with BMP/Audacious. Even Debian dumped Zinf a while ago; same for Gentoo.
1000
Offline
Hmmm... this is my first pkgbuild so it might not be fantastic but it compiles & builds!
BUT, when I try to run it, I get this error (even though I disabled my composite extension):
(<unknown>:9207): Gdk-CRITICAL **: gdk_window_set_back_pixmap: assertion `pixmap == NULL || gdk_drawable_get_depth (window) == gdk_drawable_get_depth (pixmap)' failed
Maybe it is only me so... tell me if it works!
Content of the PKGBUILD :
# Contributor: FizDev <fizdev@gmail.com>
pkgname=zinf
pkgver=2.2.5
pkgrel=1
pkgdesc="The Zinf audio player is a simple, but powerful audio player for Linux and Win32."
arch=('i686')
url="http://www.zinf.org"
license=('unknown')
depends=('zlib' 'glib' 'musicbrainz' 'gdbm' 'alsa-lib' 'freetype1' 'ncurses')
makedepends=('nasm')
source=(http://superb-west.dl.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=(140436516d46b3ef440dc1886810510d)
build() {
cp "$startdir/fix.patch" "$startdir/src/$pkgname-$pkgver"
cd "$startdir/src/$pkgname-$pkgver"
patch -p1 < fix.patch
./configure --enable-cmdline --prefix=/usr
make || return 1
make DESTDIR="$startdir/pkg" install
}
And the content of the fix.patch (which solved errors I had) :
# HG changeset patch
# User kgk@arno.ece.ucsb.edu
# Date 1160509582 25200
# Node ID 1681c6720f689a9e60a9f6ef4d7fb44aabd8ca10
# Parent fc2c47748002c7a6faa17803d6b59d620dcf06f1
Changes for g++ 4.1 errors
--- a/base/include/event.h Sat Apr 22 00:34:35 2006 +0000
+++ b/base/include/event.h Tue Oct 10 12:46:22 2006 -0700
@@ -40,6 +40,7 @@ protected:
class EventQueue {
public:
+ virtual ~EventQueue() {}
virtual Error AcceptEvent(Event *) = 0;
};
--- a/base/include/player.h Sat Apr 22 00:34:35 2006 +0000
+++ b/base/include/player.h Tue Oct 10 12:46:22 2006 -0700
@@ -156,13 +156,13 @@ class ZINF_EXPORT Player : public EventQ
#define _EQUALIZER_ENABLE_
#ifdef _EQUALIZER_ENABLE_
- void Player::SetEQData(Event *pEvent);
+ void SetEQData(Event *pEvent);
#endif // _EQUALIZER_ENABLE_
#undef _EQUALIZER_ENABLE_
#define _VISUAL_ENABLE_
#ifdef _VISUAL_ENABLE_
- void Player::SendVisBuf(Event *pEvent);
+ void SendVisBuf(Event *pEvent);
#endif // _VISUAL_ENABLE_
#undef _VISUAL_ENABLE_
--- a/base/include/properties.h Sat Apr 22 00:34:35 2006 +0000
+++ b/base/include/properties.h Tue Oct 10 12:46:22 2006 -0700
@@ -64,6 +64,7 @@ class Int32PropValue : public PropValue
class PropertyWatcher {
public:
+ virtual ~PropertyWatcher() {}
virtual Error PropertyChange(const std::string& prop, PropValue *) = 0;
};
--- a/base/include/queue.h Sat Apr 22 00:34:35 2006 +0000
+++ b/base/include/queue.h Tue Oct 10 12:46:22 2006 -0700
@@ -26,6 +26,7 @@ ________________________________________
#include "config.h"
#include "mutex.h"
+#include <assert.h>
template<class T>
class Queue {
Offline