Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 104975 - moc 2.4.0 ~arch marking
Summary: moc 2.4.0 ~arch marking
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Chris White (RETIRED)
URL:
Whiteboard:
Keywords:
: 103963 107336 119046 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-09-05 21:41 UTC by nile
Modified: 2006-04-19 17:55 UTC (History)
5 users (show)

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


Attachments
moc-2.3.1.ebuild (moc-2.3.1.ebuild,1.79 KB, text/plain)
2005-09-06 10:20 UTC, Chris White (RETIRED)
Details
moc-2.3.1-alsa.patch (moc-2.3.1-alsa.patch,992 bytes, patch)
2005-09-06 10:21 UTC, Chris White (RETIRED)
Details | Diff
moc-2.3.1.ebuild (moc-2.3.1.ebuild,1.83 KB, text/plain)
2005-10-02 23:31 UTC, Chris White (RETIRED)
Details
moc-2.3.1-configure.patch (moc-2.3.1-configure.patch,2.99 KB, patch)
2005-10-02 23:32 UTC, Chris White (RETIRED)
Details | Diff
caruso.au (caruso.au,816.90 KB, application/octet-stream)
2006-01-17 22:02 UTC, Chris White (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nile 2005-09-05 21:41:41 UTC
Version 2.3.1 of moc (music on console) was released on 2005-08-02. Here's a
link to the changelog: http://moc.daper.net/changelog.shtml

An update would rule :)

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Chris White (RETIRED) gentoo-dev 2005-09-05 21:44:42 UTC
Oh why not, I'll take this (to actually be done somewhat later).  Btw, brownie 
points for a direct link to the changelog :). 
Comment 2 Chris White (RETIRED) gentoo-dev 2005-09-05 21:45:13 UTC
CC-ing the herd would be nice too... 
Comment 3 nile 2005-09-05 22:17:34 UTC
Thanks for picking this up so quick!

I'll be cashing those points later, btw! =P
Comment 4 Chris White (RETIRED) gentoo-dev 2005-09-06 04:19:45 UTC
Ok, I'm working on it right now, looks like the ebuild syntax is a little 
quirky. 
Comment 5 Chris White (RETIRED) gentoo-dev 2005-09-06 10:20:14 UTC
Created attachment 67748 [details]
moc-2.3.1.ebuild

Here's the ebuild, I had to revamp a lot of stuff so it will need to be
retested again.  It works on ppc.
Comment 6 Chris White (RETIRED) gentoo-dev 2005-09-06 10:21:22 UTC
Created attachment 67749 [details, diff]
moc-2.3.1-alsa.patch

The alsa autotools patch.
Comment 7 Chris White (RETIRED) gentoo-dev 2005-09-06 13:52:31 UTC
KEYWORDS="~amd64 ~ppc ~sparc ~x86"    
    
Hi guys,    
    
It appears that the moc (music on console) ebuild had some pretty big issues    
with depends and general syntax.  That said, it's got enough changes that I'd    
like arch teams to verify that it works ok still.  Currently I've already taken    
care of verifying ~ppc and ~x86, so all that remains is amd64 and sparc.    
    
eradicator seems to have done marking for amd64 and sparc, but I'll leave that    
up to the arch team to decide.    
   
Once both arch teams have verified it looks ok, I'll go ahead and commit it to   
the tree.   
   
Things to look at for specifically:   
   
-IUSE="flac mad oss vorbis"  
+IUSE="flac mad oss vorbis jack debug alsa speex libsamplerate curl sndfile"  
  
Nice bunch of USE flags there.  To test alsa, jack, and oss can be tested by  
running mocp (renamed to prevent conflicts with qt's moc) with the -R option  
like so:  
  
mocp -R [alsa,oss,jack] foobar.mp3  
  
once that's done, the audio formats themselves need to be tested.  
  
To do that, simply grab the audio_samples.tar.bz2 file I'm about to attach to  
the bug, `cd audio_samples` and run mocp.  Navigate through and press enter on  
all the audio formats you see.  Note that this requires all USE flags to be  
triggered (save debug). 
 
Let me know if everything works. 
Comment 8 Chris White (RETIRED) gentoo-dev 2005-09-06 14:08:02 UTC
Audio samples avaliable here: 
 
http://dev.gentoo.org/~chriswhite/audio_samples.tar.bz2 
Comment 9 Chris White (RETIRED) gentoo-dev 2005-09-07 00:04:57 UTC
jack USE flag is being removed because it's too variable in workings. 
Comment 10 Jim Laflin 2005-09-07 04:27:46 UTC
Chris, not including jack, it all works perfectly here (thanks for the help on
irc :P)

Jim

Portage 2.0.51.22-r2 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r1,
2.6.12-gentoo-r10 x86_64)
=================================================================
System uname: 2.6.12-gentoo-r10 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=athlon64 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon64 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks multilib-strict sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.blueyonder.co.uk http://mirror.gentoo.gr.jp
http://ftp.gentoo.or.kr/ ftp://mirror.nutsmaas.nl/gentoo/"
LINGUAS="en_GB"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac alsa amarok amd64 apache2 avi berkdb bitmap-fonts browserplugin cdb
cdr crypt cups curl directfb dvd dvdr dvdread eds encode esd fam flac foomaticdb
fortran freetype gdbm gif gphoto2 gpm gstreamer gtk gtk2 guile hal imagemagick
imlib ipv6 jack java jpeg junit kde kdeenablefinal libwww lzw lzw-tiff mad
mikmod mp3 mpeg mplayer msn ncurses nls nocd nvidia ogg oggvorbis opengl oss pam
pdflib perl pic png python qt quicktime readline real ruby samba sdl speex spell
ssl symlink tcltk tcpd tetex theora tiff truetype truetype-fonts type1-fonts usb
userlocales v4l vcd vorbis xine xml2 xpm xv zlib linguas_en_GB userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 11 Mike Cvet 2005-09-07 08:31:55 UTC
Works great here with oss and alsa, but had lots of problems with Jack as
discussed last night.

Portage 2.0.51.22-r2 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r1,
2.6.13-gentoo x86_64)
=================================================================
System uname: 2.6.13-gentoo x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.6.13
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -pipe -ftracer -funit-at-a-time"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=k8 -pipe -ftracer -funit-at-a-time"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks multilib-strict sandbox sfperms strict"
GENTOO_MIRRORS="http://mirrors.acm.cs.rpi.edu/gentoo/
http:://gentoo.mirrors.pair.com/ http://mirror.datapipe.net/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X aalib adns alsa avi berkdb bitmap-fonts cdr crypt cups curl eds
encode esd fam flac foomaticdb fortran gd gdbm gif gpm gstreamer gtk gtk2 guile
imagemagick imlib ipv6 jack jpeg junit ldap libwww lzw lzw-tiff mad motif
mozilla mp3 mpeg nas ncurses nls nptl ogg opengl pam pdflib perl png postgres
python qt quicktime readline sdl slang snmp speex spell sqlite ssl tcltk tcpd
tetex tiff truetype-fonts type1-fonts usb userlocales vorbis xine xml xml2 xmms
xpm xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 12 Jason Wever (RETIRED) gentoo-dev 2005-09-11 11:42:17 UTC
Looks to be working well on SPARC (note our current default profile has alsa
masked so this wasn't tested).
Comment 13 Chris White (RETIRED) gentoo-dev 2005-10-02 23:31:58 UTC
Created attachment 69767 [details]
moc-2.3.1.ebuild
Comment 14 Chris White (RETIRED) gentoo-dev 2005-10-02 23:32:53 UTC
Created attachment 69768 [details, diff]
moc-2.3.1-configure.patch

Alright, try again please for all you arches.  Looks like there was autotools
hell to deal with, and the patch seems to fix most of the freaky crap.	Jack
might work now too.
Comment 15 Jason Wever (RETIRED) gentoo-dev 2005-10-03 13:26:14 UTC
Now seeing all of the supported file types.  However two of the samples have
problems playing.

- male_speex_4.wav appears to be a corrupted wave file
- Kathryn.au cuts out after about half a second but keeps playing for the full
time duration
Comment 16 Chris White (RETIRED) gentoo-dev 2005-10-20 12:19:30 UTC
Hrmm.. seems 2.3.2 is out now.. I'll have some updates later... 
 
Weeve: 
 
is speex enabled?  That's the speex audio sample right there.  If so I'll have 
to find another and see if it works, if the other one doesn't work, I'll 
request the speex USE get masked.  As for the .au file, I found it's actually 
supposed to do that, just needs to play audio, so that works as intended. 
Comment 17 Chris White (RETIRED) gentoo-dev 2005-10-20 12:20:07 UTC
*** Bug 103963 has been marked as a duplicate of this bug. ***
Comment 18 Chris White (RETIRED) gentoo-dev 2005-10-20 12:20:40 UTC
*** Bug 107336 has been marked as a duplicate of this bug. ***
Comment 19 GregS 2005-11-21 16:04:24 UTC
Since moc 2.3.2 is available you can change name from moc-2.3.1-ebuild to
moc-2.3.2.ebuild and moc-2.3.1-configure.patch to moc-2.3.2-configure.patch.
Then you need to download moc-2.3.2.tar.bz2 manually. It will allow you to play
Mousepack (MPC) files with mocp. The previous version 2.3.0 <> 2.3.1 had bug in
.configure which cause not compiling MPC support.
Comment 20 Chris White (RETIRED) gentoo-dev 2006-01-01 01:28:31 UTC
I added 2.3.2 to the tree with -* ~x86 keywords.  Can amd64 please test and mark for ~arch, and sparc, the audio clip that said "anime" then nothing for a while was made that way, but I still need to know about speex acting up.
Comment 21 Jason Wever (RETIRED) gentoo-dev 2006-01-15 14:15:23 UTC
speex sample works now but Kathryn.au still only spits out "anime" before going silent for the duration of the clip.
Comment 22 Chris White (RETIRED) gentoo-dev 2006-01-17 21:58:27 UTC
*** Bug 119046 has been marked as a duplicate of this bug. ***
Comment 23 Chris White (RETIRED) gentoo-dev 2006-01-17 22:01:21 UTC
Heads up, 2.3.3 is in the tree now.

Weeve,

looks like it probably was the audio sample, try the attached one here.
Comment 24 Chris White (RETIRED) gentoo-dev 2006-01-17 22:02:44 UTC
Created attachment 77393 [details]
caruso.au

A better .au sample.
Comment 25 Jason Wever (RETIRED) gentoo-dev 2006-02-04 10:57:55 UTC
New audio sample works much better, thanks.
Comment 26 Luká Polívka 2006-02-13 09:42:30 UTC
According to the SF.net project page (http://sourceforge.net/project/showfiles.php?group_id=68338), 2.4.0 was released as stable. Unfortunately moc.daper.net seems to be down.

IIRC there should be ffmpeg support, Unicode console support and some other features.
Comment 27 Luká Polívka 2006-02-16 01:55:56 UTC
We need to add to 2.4.0 ebuild is ffmpeg support (works OK for me). And probably optional UTF-8 support? The ./configure script uses ncursesw automaticaly if present (I'm OK with that).

There is upstream patch (fixing some endian, MPC and sndfile issues) available on moc.daper.net

Also I think SRC_URI should be changed to "mirror://sourceforge/moc/{P}.tar.bz2"
Comment 28 Chris White (RETIRED) gentoo-dev 2006-02-19 16:42:04 UTC
Alright so...

amd64, sparc, and now ppc since my box is down atm:

please add your ~arch keywords to 2.3.3 now that we have a working target.

Luk
Comment 29 Chris White (RETIRED) gentoo-dev 2006-02-19 16:42:04 UTC
Alright so...

amd64, sparc, and now ppc since my box is down atm:

please add your ~arch keywords to 2.3.3 now that we have a working target.

Luká&#353; Polívka:

open a seperate bug for 2.4 please, this deals with arch marking now, thanks!
Comment 30 Patrick McLean gentoo-dev 2006-02-23 21:44:23 UTC
Version 2.4.0 now in tree has ~amd64 keyword, but needs ~ppc and ~sparc.
Comment 31 Jason Wever (RETIRED) gentoo-dev 2006-02-26 17:24:34 UTC
~sparc'd
Comment 32 nixnut (RETIRED) gentoo-dev 2006-03-11 08:56:57 UTC
Added ~ppc
Comment 33 Chris White (RETIRED) gentoo-dev 2006-04-19 17:55:16 UTC
Marched on all arches, closing