Tiny Core Linux
Tiny Core Extensions => TCE Talk => Topic started by: H.Lunke on January 27, 2012, 09:04:00 AM
-
Hi,
i'm new to TC, find it very interesting so first of all thanks for all the work..
I plan to use TC on a home pc music server, using the existing MPD (Music Player Daemon) extension. For controlling the server locally i installed MPC just to notice that this is not the "minimalist mpd client" that i expected but a library for complex numbers arithmetics.
So i built an extension "mpc-tc", leaving the binary as "mpc" as it is a dependency for other MPD clients out there. Shall i submit the extension that way, or should the naming be changed somehow?
[edit: added (mpc) to subject line for clarification]
-
This has been discussed before.
http://forum.tinycorelinux.net/index.php/topic,12129.msg64869.html#msg64869 (http://forum.tinycorelinux.net/index.php/topic,12129.msg64869.html#msg64869)
-
So the problem has been heard of, but what is the solution?
Installing mpc from 3.x might lead to problems with installed mpc from 4.x, maybe when it comes to removal/dependency checking of some other component.. am i wrong?
I think the math-thing should be renamed to 'libmpc' and the repository should be updated accordingly.
-
Hi H.Lunke
I think the math-thing should be renamed to 'libmpc' and the repository should be updated accordingly
Personally I agree. The files in that extension are all named libmpc and the extension should be
named likewise. Not to mention that the new name breaks what seems to be a tradition of library
extension names beginning lib. That said, it's really juanitos choice as it's his extension, though
the submitqc would have flagged that as problem had the original mpc.tcz already been in the
repository, which it wasn't.
-
I've always thought an extension should be named after the source package and the source for mpc is named mpc.
Maybe we could name MPC, mpc_music or similar?
-
Just to repeat what I wrote only a few weeks ago (http://forum.tinycorelinux.net/index.php/topic,12129.msg64869.html#msg64869): Please do not use case to differentiate extension names!!!
Why was it necessary to change the name of the extension for the library from 'libmpc.tcz' to 'mpc.tcz' (when comparing the repositories of TC 3.x and 4.x)?? A quick check with a "bloated cousin" (i.e. Ubuntu) shows that they use pretty much the naming as we had in TC 3.x.
I'd therefore like to suggest to go back to the previous use of extension names (and hence change 'mpc.tcz' and 'mpc-dev.tcz' in TC 4.x back to 'libmpc.tcz' and 'libmpc-dev.tcz') to stay consistent with our own history (and broadly in sync which what users might be expecting).
-
A quick check with a "bloated cousin" (i.e. Ubuntu) shows that they use pretty much the naming as we had in TC 3.x.
Not just Ubuntu
http://www.multiprecision.org/index.php?prog=mpc&page=packages (http://www.multiprecision.org/index.php?prog=mpc&page=packages)
-
I don't agree with it, but mpc renamed libmpc (and mpc-dev renamed libmpc-dev)
-
Hi Juanito
Thank you for that, and for all your effort and hard work.
-
That's good news, thanks Juanito.
I have asked the maintainers of the 3.x-mpc if they are going to build the current version for 4.x, otherwise i can do.
[edit: mpc V0.21 (and mpc-doc) are now in the 4.x repository]