WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Request Normalize-Audio  (Read 16848 times)

Offline SamK

  • Hero Member
  • *****
  • Posts: 713
Request Normalize-Audio
« on: June 08, 2012, 02:49:10 AM »

Offline SamK

  • Hero Member
  • *****
  • Posts: 713
Re: Request Normalize-Audio
« Reply #1 on: February 08, 2013, 06:53:15 AM »
Refreshing this request in the hope it might be more attractive to package as SCM now.

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: Request Normalize-Audio
« Reply #2 on: February 08, 2013, 07:41:57 AM »
I see the deps for it are ones that I already have build scripts for.  I will aim for it in the near future.

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: Request Normalize-Audio
« Reply #3 on: February 10, 2013, 12:44:48 AM »
normalize.scm uploaded.  Please test and report any bugs.

Offline SamK

  • Hero Member
  • *****
  • Posts: 713
Re: Request Normalize-Audio
« Reply #4 on: February 10, 2013, 02:46:12 AM »
normalize.scm uploaded.  Please test and report any bugs.
Got it - thanks.  Will test and report as requested.

Offline SamK

  • Hero Member
  • *****
  • Posts: 713
Re: Request Normalize-Audio
« Reply #5 on: February 10, 2013, 04:00:15 AM »
Will test and report as requested.
There is a naming issue.
Code: [Select]
which mc ; which lame ; which sox ; which normalize ; which normalize-audio
/apps/bin/mc
/apps/bin/lame
/apps/bin/sox
/apps/bin/normalize

The SCM package has been created with the name and executable as, normalize.  This differs from the TCZ and Debian versions which both adopt, normalize-audio.

To maintain consistency with the others, and inter-operability of scripts, it will be preferrable for the SCM package and executable to also be normalize-audio.

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: Request Normalize-Audio
« Reply #6 on: February 10, 2013, 11:19:21 AM »
Slackware, Arch, FreeBSD, NetBSD, Lunar, Crux, Gentoo, and LFS use the name normalize for this package, and we also almost always stay with the name the upstream authors chose.  As well as normally leaving the executable name alone, except for when we add a version number to one so it will not conflict with another package, like gqview1 or gqview2.  Most of the TC repo is that way.  And the SCM repo is independent from the TCZ one anyway, there are differently named packages in it depending on the package's features.  This allows room for more than one version of a package, like xine-xvesa-i486 and xine-xvesa-i686. 

I guess the larger question is to we want to impose the Debian naming convention on the repos here that are built from source.  And do we want the SCM area to have to have the same package names as the TCZ one for those packages in the TCZ area that follow either Debian or another naming convention besides what the upstream author chose.  We do have the import tool making use of Debian packages, and I am not against Debian in any way.  But I think as for our own source built repo most folks would prefer the freedom to use the upstream package names or other names like we always have done in the past.

I will think more on it, and I would like to hear what others say on this subject.


Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: Request Normalize-Audio
« Reply #7 on: February 10, 2013, 02:00:34 PM »
If Debian doesn't respect the upstream name, then any scripts written against Debian's name are broken, really.

My opinion is that it's better to follow upstream.
The only barriers that can stop you are the ones you create yourself.

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: Request Normalize-Audio
« Reply #8 on: February 10, 2013, 07:42:06 PM »
Here's a quick test from an account on a FreeBSD server which upon commands not found in path would suggest packages to install in home:
Code: [Select]
$ normalize-audio
sh: normalize-audio: not found
$ normalize

normalize is not installed, but is available in the following package(s):

Package:        dna-qc
Description:    A quality control algorithm for DNA sequencing projects

Package:        normalize
Description:    A tool for adjusting the volume of wave/MP3 files to a standard level

Use the following command to install a package in your home directory:

installhome <package>

Died at /usr/local/packages/bin/normalize line 18.
$
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline SamK

  • Hero Member
  • *****
  • Posts: 713
Re: Request Normalize-Audio
« Reply #9 on: February 11, 2013, 02:16:39 AM »
If Debian doesn't respect the upstream name, then any scripts written against Debian's name are broken, really.

My opinion is that it's better to follow upstream.
The natural extrapolation of this is that as the TCZ doesn't respect the upstream name, then scripts written against the current TinyCore offering are also broken.

It will be incongruous to have TC offer essentially the same application (albeit from a different repo) under different names.



Edit:
I have sent a PM to the TCZ maintainer inviting an opinion.
« Last Edit: February 11, 2013, 02:39:14 AM by SamK »

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: Request Normalize-Audio
« Reply #10 on: February 11, 2013, 02:57:49 AM »
True, but so far I don't think we have many renamed binaries. In fact the opposite, base binaries have been renamed to prevent conflicts with external ones (ab).

edit: I see the TCZ version has it changed, curious.
The only barriers that can stop you are the ones you create yourself.

Offline SamK

  • Hero Member
  • *****
  • Posts: 713
Re: Request Normalize-Audio
« Reply #11 on: February 11, 2013, 06:14:31 AM »
edit: I see the TCZ version has it changed, curious.
Perhaps the difference wasn't described clearly enough in reply #5 above.  To help clarify it:

TCZ and Debian
  • Extension/package name=normalize-audio
  • Executable name=normalize-audio
SCM
  • Extension/package name=normalize
  • Executable name=normalize

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: Request Normalize-Audio
« Reply #12 on: February 11, 2013, 08:34:45 AM »
I remember reading in the Debian mailing list on the normalize issue, and what was brought up was that someone thought that the name normalize was too generic.  All I can find that would conflict with the normalize binary is the dna-qc package, an app from 1993 which is only available for FreeBSD.  In my opinion, that is a very obscure app, and if it was in Debian then perhaps it should have been the one to have it's binary renamed.

Those who use Debian/Ubuntu are going to expect normalize-audio, everyone else will be expecting normalize.  Are we going to rename firefox to iceweasel?  Or rename seamonkey to iceape?  Scripts that use those Debian browsers will also work no where else.

Like the other distros I mentioned earlier, I by far prefer to use the upstream package and binary name, preferably using lower case letters.   I definitely think we should at least be free to use the upstream name. 

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: Request Normalize-Audio
« Reply #13 on: February 11, 2013, 08:41:21 AM »
But I see your point about the scm and tcz repo using different naming conventions.  In this case, perhaps those packages that do not use the upstream package name should be encouraged to use the upstream package name that most distros use.  Mose distros use upstream names in all lower case, the lower case making it easy to remember and type out, and that is also my preference.



Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Request Normalize-Audio
« Reply #14 on: February 11, 2013, 10:36:16 AM »
Why not just add a symlink and forget it?