Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 39688 - can't play certain ogg files with orpheus-1.4
Summary: can't play certain ogg files with orpheus-1.4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-28 11:57 UTC by Qanii
Modified: 2004-06-06 22:08 UTC (History)
0 users

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


Attachments
patch for the problem (ogg_patch.diff,511 bytes, patch)
2004-01-28 11:59 UTC, Qanii
Details | Diff
ebuild (orpheus-1.4-r1.ebuild,1.31 KB, text/plain)
2004-01-28 12:02 UTC, Qanii
Details
euc-kr implementation for orpheus (orpheus_patch,35.35 KB, patch)
2004-06-06 22:08 UTC, Qanii
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Qanii 2004-01-28 11:57:31 UTC
orpheus version 1.4 was released.
It seems that orpheus can't play ogg files which include a quote (') in
it's name or in it's files path.
for example " it's_an_sample.ogg " file or an ogg file which is in
directory name like "/tmp/bad_name's_directory/" etc...


Reproducible: Always
Steps to Reproduce:
1. launch orpheus
2. play ogg file(s) which include a quote in it's name or path


Actual Results:  
don't play ogg files

Expected Results:  
play ogg files
Comment 1 Qanii 2004-01-28 11:59:28 UTC
Created attachment 24556 [details, diff]
patch for the problem

it's the patch for the bug
Comment 2 Qanii 2004-01-28 12:02:25 UTC
Created attachment 24557 [details]
ebuild

ebuild
Comment 3 Qanii 2004-01-28 12:05:42 UTC
Comment on attachment 24557 [details]
ebuild

# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /home/cvsroot/gentoo-x86/media-sound/orpheus/orpheus-1.4.ebuild,v
1.1 2003/12/19 9:10:11 ciaranm Exp $

DESCRIPTION="Command line MP3 player."
HOMEPAGE="http://konst.org.ua/en/orpheus"
SRC_URI="http://konst.org.ua/download/${P}.tar.gz"

SLOT="0"
KEYWORDS="~x86 ~sparc"
LICENSE="GPL-2"
IUSE="oggvorbis"

DEPEND=">=sys-libs/ncurses-5.2
	oggvorbis? ( >=media-libs/libvorbis-1.0_beta1 )
	media-sound/mpg123
	media-sound/vorbis-tools
	gnome-base/libghttp"
#	nas? ( >=media-libs/nas-1.4.1 )

src_unpack() {
	unpack ${A}

	#if [ "`use nas`" ]; then
	#	cd src
	#	sed -e "s:^INCLUDES =:INCLUDES = -I/usr/X11R6/include:" \
	#		-e "s:^splay_LDADD =:splay_LDADD = \$(NAS_LIBS):" \
	#		Makefile | cat > Makefile
	#fi
	cd ${S}
	epatch ${FILESDIR}/ogg_patch
}

src_compile() {
	local myconf
	### Looks like NAS support is broken, at least with NAS 1.5 and
	### mp3player 3.1.1 (Aug 13, agenkin@thpoon.com)
	#use nas && myconf="${myconf} --with-nas"
	#use nas || myconf="${myconf} --disable-nas"
	myconf="${myconf}"

	econf ${myconf} || die
	make CC="gcc ${CFLAGS}" CXX="c++ ${CXXFLAGS}" || die
}

src_install() {
	make DESTDIR=${D} install || die
	dodoc ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL NEWS README TODO
}
Comment 4 Qanii 2004-01-28 12:46:42 UTC
Oops~!
Sorry for the 3rd comment.
It's my first in bugzilla,
and I don't know how to erase the 3rd comment...^^;

I hv made a little patch file, and an ebuild file for the patch.
It seems to work in my box. And I got the sound~! :)
Comment 5 Qanii 2004-06-06 22:08:21 UTC
Created attachment 32830 [details, diff]
euc-kr implementation for orpheus

An implementation patch for Korean charset.
maybe it can work for CJK. I hvn't tested for it ;)