Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 25880 - zinf-2.2.4.ebuild (update)
Summary: zinf-2.2.4.ebuild (update)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-04 08:56 UTC by Robert Davis
Modified: 2003-08-15 23:35 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
zinf-2.2.4.ebuild (update) (zinf-2.2.4.ebuild,2.43 KB, text/plain)
2003-08-05 07:13 UTC, Robert Davis
Details
zinf-2.2.4.ebuild (Update) (zinf-2.2.4.ebuild,2.02 KB, text/plain)
2003-08-13 07:54 UTC, Robert Davis
Details
patch for zinf-2.2.4.ebuild (zinf-2.2.4-pref.patch,482 bytes, patch)
2003-08-13 07:55 UTC, Robert Davis
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Davis 2003-08-04 08:56:41 UTC
Attached is zinf-2.2.4.tgz with ebuild and digest.  This is an update to 2.2.4
with some minor fixes for the new install.  

Needs testing with arts and/or alsa since I didn't change any of that part but
it looks fine.  Let me know if anyone has troubles.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 J. Ellis (RETIRED) gentoo-dev 2003-08-05 02:17:38 UTC
You forgot to attach. And when you do, please attach just the ebuild as plain text.

Thanks.
Comment 2 Robert Davis 2003-08-05 07:13:34 UTC
Created attachment 15540 [details]
zinf-2.2.4.ebuild (update)
Comment 3 Robert Davis 2003-08-05 07:17:05 UTC
Hah!  Was doing the easy step method and forgot. :)

Notes:
Had a problem with my old ~/.zinf/preferences file and had to delete.  When you first run without a preferences it gripes about not finding a plugin but just run again and is fine.
Comment 4 Robert Davis 2003-08-06 08:35:56 UTC
Have a patch for the pref file problem and a new ebuild but I am getting some segfaults starting zinf. (Not because of the patch).  Let me get with the devs and make sure it isn't a bug before adding into portage.
Comment 5 Martin Holzer (RETIRED) gentoo-dev 2003-08-10 13:40:03 UTC
Comment on attachment 15540 [details]
zinf-2.2.4.ebuild (update)

># Copyright 1999-2003 Gentoo Technologies, Inc.
># Distributed under the terms of the GNU General Public License v2
># $Header: /home/cvsroot/gentoo-x86/media-sound/zinf/zinf-2.2.3.ebuild,v 1.6 2003/05/16 19:56:36 danarmak Exp $
>
>IUSE="esd X gtk oggvorbis gnome arts"
>
>inherit kde-functions 
>
>S=${WORKDIR}/${P}
>DESCRIPTION="An extremely full-featured mp3/vorbis/cd player with ALSA support, previously called FreeAmp"
>SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
>HOMEPAGE="http://www.zinf.org/"
>
>RDEPEND="=dev-libs/glib-1.2*
>	=x11-libs/gtk+-1.2*
>	sys-libs/zlib
>	>=sys-libs/ncurses-5.2
>	=media-libs/freetype-1* 
>	>=media-libs/musicbrainz-1.0.1
>	>=media-libs/id3lib-3.8.0
>	X? ( virtual/x11 ) 
>	esd? ( media-sound/esound ) 
>	gtk? ( >=media-libs/gdk-pixbuf-0.8 )
>	gnome? ( gnome-base/ORBit )
>	oggvorbis? ( media-libs/libvorbis )
>	arts? ( kde-base/arts )" # doesn't work anymore? see bug #9675
>	#alsa? ( media-libs/alsa-lib ) # it only supports alsa 0.5.x, so support disabled
>
>DEPEND="$RDEPEND x86? ( dev-lang/nasm ) 
>	media-libs/id3lib
>	dev-lang/perl"
>
>SLOT="0"
>LICENSE="GPL-2"
>KEYWORDS="~x86"
>
># Unfortunately you can't selectively build a lot of the features. Therefore
># this whole package is essentially a judgement call. However, I've made the
># DEPEND in a strategic manner to ensure that your USE variable is respected
># when the knobs are *set*.
>
>src_unpack() {
>
>    unpack ${A}
>    
>#    if [ "`use arts`" ]; then
>#	cd ${S}/io/arts/src
>#	cp artspmo.cpp 1
>#	sed -e 's:artsc/artsc.h:artsc.h:g' -e 's:artspmo.h:../include/artspmo.h:g' 1 > artspmo.cpp
>#    fi
>
>}
>
>src_compile() {
>
>	set-kdedir 3
>
>	local myconf
>	#use alsa || 
>	myconf="${myconf} --disable-alsa"
>	use esd  || myconf="${myconf} --disable-esd"
>	
>	if [ -n "`use arts`" ]; then
>	    export ARTSCCONFIG="$KDEDIR/bin/artsc-config"
>	    myconf="${myconf} --enable-arts"
>	else
>	    myconf="$myconf --disable-arts"
>	fi
>
>	./configure --prefix=/usr --host=${CHOST} --enable-cmdline ${myconf} || die
>	make || die
>	
>	if [ -n "`use arts`" ]; then
>	    export CPATH="${CPATH}:${KDEDIR}/include/artsc:${S}/io/arts/include"
>	    cp Makefile.header 1
>	    sed -e "s:ARTS_LIBS =:ARTS_LIBS = -lartsc -L${KDEDIR}/lib:" 1 > Makefile.header
>	    make -f Makefile-plugins plugins/arts.pmo || die
>	fi
>
>}
>
>src_install() {
>
>	into /usr ; dobin base/zinf
>	exeinto /usr/lib/zinf/plugins  ; doexe plugins/*
>	insinto /usr/share/zinf/themes ; doins themes/*
>	#dodir /usr/share/zinf/fonts
>
>	dodoc AUTHORS COPYING NEWS README
>
>}
Comment 6 Martin Holzer (RETIRED) gentoo-dev 2003-08-10 14:02:12 UTC
seems there's a gcc 2.95 bug in 2.2.4
Comment 7 Martin Holzer (RETIRED) gentoo-dev 2003-08-10 14:02:47 UTC
on gcc 3.x

make[1]: Leaving directory `/var/tmp/portage/zinf-2.2.4/work/zinf-2.2.4'
cp: cannot stat `Makefile.header': No such file or directory
sed: can't read 1: No such file or directory
make: Makefile-plugins: No such file or directory
make: *** No rule to make target `Makefile-plugins'.  Stop.

!!! ERROR: media-sound/zinf-2.2.4 failed.
!!! Function src_compile, Line 76, Exitcode 2
!!! (no error message)
Comment 8 Robert Davis 2003-08-11 07:53:19 UTC
The Makefile.header is because of trying to compile with Arts.  Got my machine at home back up and it has KDE so I will fix that.  Unfortunatly I updated my Gcc 2.95 machine to Gentoo 1.4.  What error did you get with 2.95?  Was it the same as with 3.x (Arts error)?
Comment 9 Robert Davis 2003-08-13 07:54:06 UTC
Created attachment 16046 [details]
zinf-2.2.4.ebuild (Update)

This fixes the arts compile problem and adds the preferences patch for first
time users getting errors on startup.
Comment 10 Robert Davis 2003-08-13 07:55:22 UTC
Created attachment 16047 [details, diff]
patch for zinf-2.2.4.ebuild

This goes in the media-soun/zinf/files directory.
Comment 11 Robert Davis 2003-08-13 07:57:44 UTC
I am still getting a segfault when starting zinf AFTER I have populated MyMusic database.  Please let me know if you do or don't have the problem.  A fix for it is to change "WatchThisDirTimeout" to "0" in ~/.zinf/preferences.
Comment 12 J. Ellis (RETIRED) gentoo-dev 2003-08-15 23:35:06 UTC
Commited ~x86 masked. Let me know if there are any issues - i imagine there will be.

Thanks for the submission!