Package Details: rgain 1.3.4-2

Git Clone URL: (read-only, click to copy)
Package Base: rgain
Description: Modules to read, write and calculate Replay Gain
Upstream URL:
Licenses: GPL
Submitter: CelestialWalrus
Maintainer: maxi_jac
Last Packager: maxi_jac
Votes: 6
Popularity: 0.000000
First Submitted: 2015-08-21 16:26
Last Updated: 2019-11-19 19:52

Pinned Comments

maxi_jac commented on 2020-04-14 16:16

New forked project supporting python3 :

Latest Comments

maxi_jac commented on 2020-04-14 16:16

New forked project supporting python3 :

cubethethird commented on 2020-04-11 19:33

I agree option 1 is preferable. I have published the fork under rgain3.

maxi_jac commented on 2020-04-11 19:16

Thanks for the heads up about the fork.

Two options:

  1. Since it is a fork and not the official package, maybe we can have a separate pkg for it (proposed name : rgain3?) cubethethird is the maintainer. This one becomes "obsolete" and I may delete it after some time or at least pin a notice. Make those 2 packages conflict each other.
  2. Replace this one with the updated fork and I let cubethethird adopt it if he wants to

I'm more in favor of the first option, for the main reason that it is an official fork and not the initial project.

cubethethird commented on 2020-04-11 18:49

I've managed to get it building and working with the p3thon 3 fork. The only thing I'm uncertain about is how future package versions should be handled, since upstream it's 1.0.0. I would be OK becoming a maintainer of this package to update it if necessary. The following is the PKGBUILD:

pkgdesc="Modules to read, write and calculate Replay Gain"
#Actually we get a traceback when gst-plugins-good is not installed
depends=('python-mutagen' 'gst-python' 'gst-plugins-good')
makedepends=('python-docutils' 'python-setuptools')
optdepends=('gst-plugins-bad' 'gst-plugins-ugly')

prepare() {
  cd "$srcdir/${pkgname}-${pkgver}"
  find . -name \*.py -exec sed -i 's/[^ ]*extern\.//' {} \;

build() {
  cd "$srcdir/${pkgname}-${pkgver}"
  python build

package() {
  cd "$srcdir/${pkgname}-${pkgver}"
  python install --root="$pkgdir/" --optimize=1 --skip-build
  install -m755 -d "${pkgdir}/usr/share/man/man1"
  install -m644 build/man/collectiongain.1 "${pkgdir}/usr/share/man/man1/"
  install -m644 build/man/replaygain.1 "${pkgdir}/usr/share/man/man1/"

Varakh commented on 2020-04-09 06:40

I'd also vote for trying to keep it as it is a life saver for me. :-)

cubethethird commented on 2020-04-09 01:02

So it seems the rgain3 fork has done a full 1.0.0 release. I briefly attempted to update this PKGBUILD to use it, but have issues since I'm not experienced packaging python modules and suck. I understand that there isn't much interest in maintaining this package, but we probably should try and update it since python 2 is losing support.

maxi_jac commented on 2019-11-20 18:29

TBH I don't use it that much and for the rare times I do, this is sufficient for me. I just adopted it to update the PKGBUILD it since the mutagen upgrade broke the depends.

If you want to maintain I'll gladly hand it to you.

raith commented on 2019-11-20 08:25

Since current upstream has not been very active for quite some time, someone forked rgain to and ported it to python3. Though there hasn't been a release yet.

btw: Thanks for adopting this package.

kuroneko commented on 2015-10-13 08:17

This depends on gst-python2-git.