WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: PiCore - no Music Player Daemon MPD in repos... can I compile it? And how?  (Read 521 times)

Offline MyPiCoreMusic

  • Newbie
  • *
  • Posts: 2
Hi everybody,

My project is to build a music player on PiCore, similar to the PiCorePlayer, however, with MPD, though.
Now I stuck on the missing mpd package in the repos... (more info below)

Question to you all:
a) Is MPD in the repos at all and PiCore cannot find it?
b) If MPD needs to be compiled, is there a general 'recipe' for compiling packages I can follow? Eg this would included all the packages I need for compiling. Thank you

What I have done so far:

1. Hardware:
Raspberry Pi 4 with 8GB RAM
External USB harddrive attached to RPI
DragonFly Black USB DAC attached to RPI

2. Software
PiCore 14.01 written to SD-Card
SD-Card expanded to 32GB
able to ssh in remotely
installed alsa alsa-utils, nano, mc

Now I stuck on the missing mpd package in the repos...

My background: I am using Linux since 2003, mostly now with pre-build distros which made me lazy because they just work and do not need much attention.
I am familiar with the command line, though, have compiled programs, and even a LineageOS build for my Android phone at some point.

Tiny Core Linux is still a bit unfamiliar due to things which are done differently.

Anyway, thanks for your ideas in advance.
Christian

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11590
Hi MyPiCoreMusic
Welcome to the forum.

I see some MPD related source directories/files here:
Code: [Select]
http://tinycorelinux.net/11.x/x86/tcz/src/
drwxrwxr-x 2 root staff 4096 Jan 13  2021 libmpd/
-rw-rw-r-- 1 root staff 365015 Jan 13  2021 libmpd-11.8.17.tar.gz
-rw-rw-r-- 1 root staff    416 Jan  9  2021 libmpd.tcz.build-dep

drwxrwxr-x 2 root staff 4096 Jan 13  2021 libmpdclient/
-rw-rw-r-- 1 root staff 69144 Jan 13  2021 libmpdclient-2.19.tar.xz
-rw-rw-r-- 1 root staff   361 Jan  9  2021 libmpdclient.tcz.build-dep

drwxrwxr-x 2 root staff 4096 Jan 13  2021 mpd/
-rw-rw-r-- 1 root staff 726356 Jan 13  2021 mpd-0.22.3.tar.xz
-rw-rw-r-- 1 root staff    760 Jan  9  2021 mpd-minimal.tcz.build-dep
The build notes are for x86, so you would need to adjust some compilation flags.
Examining build notes found here should help with compilation flags:
http://tinycorelinux.net/15.x/aarch64/tcz/src/

The most recent MPD activity for ARMv6 and 7 was for libmpdclient.tcz in 2017.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14799
As a temporary music player fix there's xmms in the piCore repos.

Offline MyPiCoreMusic

  • Newbie
  • *
  • Posts: 2
Thanks Rich and Juanito to chip in.

The XMMS is unfortunately not what I am looking for as I would like to stream from a headless RPI to my external DAC and using a webclient on another computer.

To the compiling editing the build sripts: This might be a bit out of my league, but I will have a closer look in the coming days how it could be done.

Thank you again and kind regards
Chris