muc (music on console) 2.5.2 (or 2.5.1 if unavailable for i586)

If you are looking for a specific 32-bit package and you can't find it in any of the 32-bit repos, please post a request for it here.
User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

muc (music on console) 2.5.2 (or 2.5.1 if unavailable for i586)

Post#1 by Rava » 09 Nov 2021, 03:46

Since we have a x86-64 bundle for muc 2.5.2 for x86-64 - http://mirrors.dotsrc.org/porteus/x86_6 ... penbox.xzm - I wanted to create one for i586 4.0 XFCE Porteus also. Sadly to no prevail.

What did I try:
search for muc via:
pkgs.org
https://packages.slackware.com/
https://slackbuilds.org/result/?search=muc&sv=14.2

http://moc.daper.net/download itself lists Linux distro package info via https://repology.org/ and https://repology.org/project/moc/versions claims there is 2.5.1 for slackware-current and 2.5.2 for slackware-14.2

But https://repology.org/projects/?search=m ... es_newest= gives no results. :(


Who did create moc-2.5.2-x86_64-openbox.xzm back in 2019-06-29 ? Maybe he could hint me towards how he did it.
Maybe just downloading the source, activating 05-devel and ./configure ?

Added in 17 minutes 33 seconds:
Update
trying to download the source via http://moc.daper.net/download fails - http://ftp.daper.net/pub/soft/moc/stabl ... .2.tar.bz2
Not even downloading the most probably small md5sum text file fails - http://ftp.daper.net/pub/soft/moc/stabl ... bz2.md5sum
What the site maintainer writes on http://moc.daper.net/download is the understatement of the year
You can download MOC sources from the official ftp site (could be slow)
(highlighting by me)

wget sais this:

Code: Select all

Connecting to ftp.daper.net (ftp.daper.net)|188.165.19.194|:80... failed: Connection timed out.
Retrying.
Added in 1 minute 17 seconds:
Is anyone able to download the source and the source's md5sum text file?
Cheers!
Yours Rava

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 3924
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

muc (music on console) 2.5.2 (or 2.5.1 if unavailable for i586)

Post#2 by ncmprhnsbl » 09 Nov 2021, 06:28

Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

beny
Full of knowledge
Full of knowledge
Posts: 2086
Joined: 02 Jan 2011, 11:33
Location: italy

muc (music on console) 2.5.2 (or 2.5.1 if unavailable for i586)

Post#3 by beny » 09 Nov 2021, 13:35

# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description. Line
# up the first '|' above the ':' following the base package name, and the '|'
# on the right side marks the last column you can put a character in. You must
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':'.

|-----handy-ruler-------------------------------------------------------|
moc: moc (console audio player)
moc:
moc: MOC is a console audio player with a simple ncurses interface.
moc: It supports OGG, FLAC, WAV, and MP3 formats. Just run mocp, go to some
moc: directory using the menu, select a file, and press enter to play it.
moc: MOC will continue playing the rest of the files in the directory.
moc:
moc: MOC was written by Damian Pietras.
moc:
moc: Homepage: http://moc.daper.net
moc:
the link are dead seem or you have to register first

User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

muc (music on console) 2.5.2 (or 2.5.1 if unavailable for i586)

Post#4 by Rava » 10 Nov 2021, 02:37

Indeed that was a typo I not even realized. :wall: up to eleven



Anyhow, made a module out the above, activated it but…

Code: Select all

guest@porteus:/6/Porteus_modules/4.0i586$ mocp 
mocp: /lib/libc.so.6: version `GLIBC_2.33' not found (required by mocp)
mocp: /lib/libc.so.6: version `GLIBC_2.28' not found (required by mocp)
How on earth should one be able to simultaneously have /lib/libc.so.6: version `GLIBC_2.28' and `GLIBC_2.33' in the same system? :(

Seems Porteus 4.0i586 ships with V2.27:

Code: Select all

root@porteus:/mnt/live/memory/images# find .|grep -i GLIBC-2
./001-core.xzm/var/log/packages/glibc-2.27-i586-1
Usually trying to upgrade GLIBC means breaking most of the existing programs in the system. Either I have to settle with an older version of moc … or I try hacking the source code of moc looking if it would compile and run okay when hacked to accept GLIBC 2.27 (which I very much doubt) and I would have to get the source code first which is not possible via the home page. But since I deem it very unlikely to succeed hacking moc's 2.5.2 source trying an older version (e.g. muc 2.5.1) seems to be the way better option.
beny wrote:
09 Nov 2021, 13:35
the link are dead seem or you have to register first
It not says anything about the need to register on the project's homepage… or did I miss that as well like I missed my typo muc vs. moc?

Added in 26 minutes 33 seconds:
Update
got a partly running i586 moc via

Code: Select all

wget --no-check-certificate https://slackware.uk/slackware/slackware-14.2/slackware/ap/moc-2.5.1-i586-1.txz
and as you can imagine, "partly running" has a huge but in it:

Code: Select all

guest@porteus:/6/Porteus_modules/4.0i586$ mocp 
Can't load plugin libmp3_decoder: file not found
Running the server...
Trying ALSA...
Not even being able to handle the most basic of sound file formats - mp3 - by default is quite a let-down. Image
Cheers!
Yours Rava

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 3924
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

muc (music on console) 2.5.2 (or 2.5.1 if unavailable for i586)

Post#5 by ncmprhnsbl » 10 Nov 2021, 08:40

ah, sorry, i missed that your target was porteus 4.0 ..
you can get the source archive (and slackbuild and patch) here: http://ftp.slackware.com/pub/slackware/ ... ce/ap/moc/
patch may or may not be needed .. i forget what version of ffmpeg 4.0 has...
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

muc (music on console) 2.5.2 (or 2.5.1 if unavailable for i586)

Post#6 by Rava » 10 Nov 2021, 12:02

ncmprhnsbl wrote:
10 Nov 2021, 08:40
ah, sorry, i missed that your target was porteus 4.0 ..
you can get the source archive (and slackbuild and patch) here: http://ftp.slackware.com/pub/slackware/ ... ce/ap/moc/
patch may or may not be needed .. i forget what version of ffmpeg 4.0 has...
activated 05-devel via

Code: Select all

activate $PORTDIR/optional/05-devel-i586-Porteus4.0.xzm
usually I rename my 05-devel, so that I know which one the correct 05-devel is, even when it sits in $PORTDIR/optional/. Better safe than confused.

Sadly, compiling fails. Here the error messages only:

Code: Select all

gcc: error: /usr/lib/libldap.so: No such file or directory
gcc: error: /usr/lib/liblber.so: No such file or directory
make[2]: *** [Makefile:576: mocp] Error 1
make[2]: Leaving directory '/tmp/moc-2.5.2'
make[1]: *** [Makefile:719: all-recursive] Error 1
make[1]: Leaving directory '/tmp/moc-2.5.2'
make: *** [Makefile:474: all] Error 2
[…]
gcc: error: /usr/lib/libldap.so: No such file or directory
gcc: error: /usr/lib/liblber.so: No such file or directory
make[2]: *** [Makefile:576: mocp] Error 1
make[2]: Leaving directory '/tmp/moc-2.5.2'
make[1]: *** [Makefile:719: all-recursive] Error 1
make[1]: Leaving directory '/tmp/moc-2.5.2'
make: *** [Makefile:474: all] Error 2
No clue why error messages get repeated, I think that's how ./moc.SlackBuild is coded to handle things.

I presume I have to get /usr/lib/libldap.so and /usr/lib/liblber.so and try again.
I look if maybe both of these are part of the already downloaded and converted from txz into moc-2.5.2-i586-8.xzm or moc-2.5.1-i586-1.xzm . :)

If fails I try USM.

If that also fails, I try slackware searches.

If that also fails, I try pkgs.org…

But for now I have no more time left to play with gcc and whatnot, RL calls me back into its sunny day and RL chores. I will be back and report on my progress. Thanks a bunch for now.
Cheers!
Yours Rava

beny
Full of knowledge
Full of knowledge
Posts: 2086
Joined: 02 Jan 2011, 11:33
Location: italy

muc (music on console) 2.5.2 (or 2.5.1 if unavailable for i586)

Post#7 by beny » 10 Nov 2021, 12:24

hi rava :https://www.linuxquestions.org/question ... nd-414141/ the 64 bit of moc version on porteus stock work without add software.

Rapha_
Shogun
Shogun
Posts: 238
Joined: 12 Jun 2021, 21:59
Distribution: Xfce 4.12 - 5.rc3 - x86_64
Location: France

muc (music on console) 2.5.2 (or 2.5.1 if unavailable for i586)

Post#8 by Rapha_ » 10 Nov 2021, 14:12

Rava wrote:
10 Nov 2021, 03:04

Code: Select all

guest@porteus:/6/Porteus_modules/4.0i586$ mocp 
Can't load plugin libmp3_decoder: file not found
Running the server...
Trying ALSA...
Not even being able to handle the most basic of sound file formats - mp3 - by default is quite a let-down.
I have the same problem with moc-2.5.1-x86_64....(even with added links)


inside : /usr/lib64/moc/decoder_plugins/

Code: Select all

libmp3_decoder.la:     libtool library file, ASCII text
libmp3_decoder.so:     ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, stripped

What I see in libmp3_decoder.la (ASCII text) :

Code: Select all

# libmp3_decoder.la - a libtool library file
# Generated by ltmain.sh (GNU libtool) 2.2.6b
#
# Please DO NOT delete this file!
# It is necessary for linking the library.

# The name that we can dlopen(3).
dlname='libmp3_decoder.so'

# Names of this library.
library_names='libmp3_decoder.so libmp3_decoder.so libmp3_decoder.so'

# The name of the static archive.
old_library=''

# Linker flags that can not go in dependency_libs.
inherited_linker_flags=' -pthread'

# Libraries that this one depends upon.
dependency_libs=' /usr/lib64/libmad.la /usr/lib64/libid3tag.la -lz -lm -ldl'

# Names of additional weak libraries provided by this library
weak_library_names=''

# Version information for libmp3_decoder.
current=0
age=0
revision=0

# Is this an already installed library?
installed=yes

# Should we warn about portability when linking against -modules?
shouldnotlink=yes

# Files to dlopen/dlpreopen
dlopen=''
dlpreopen=''

# Directory that this library needs to be installed in:
libdir='/usr/lib64/moc/decoder_plugins'

But libmad.la and libid3tag.la are not installed !

Post Reply