Page 1 of 1

MP3gain for Xenial 32bits

Posted: Thu Feb 11, 2021 5:21 pm
by gilles

Hello,
I am looking for MP3gain. I found MP3gain-1.5.2r2-i686.pet but it doesn't work.
Somebody knows where I could find one, working with xenial 32 ?
Thank you


Re: MP3gain for Xenial 32bits

Posted: Fri Feb 12, 2021 4:29 am
by OscarTalks

Do you just want to run the executable mp3gain from command line?
It requires libmpg123 so you will need to install that via PPM if you have not already done so.
Then the one you have might work. I grabbed the source of mp3gain-1.6.2 from sourceforge and that compiled quite easily in my Wheezy.
If you want a GUI there is easymp3gain for GTK2. The pre-compiled executable downloaded from sourceforge works OK in Wheezy.
https://sourceforge.net/projects/mp3gain/files/
https://sourceforge.net/projects/easymp3gain/


Re: MP3gain for Xenial 32bits

Posted: Fri Feb 12, 2021 6:12 am
by amethyst
OscarTalks wrote: Fri Feb 12, 2021 4:29 am

Do you just want to run the executable mp3gain from command line?
It requires libmpg123 so you will need to install that via PPM if you have not already done so.
Then the one you have might work. I grabbed the source of mp3gain-1.6.2 from sourceforge and that compiled quite easily in my Wheezy.
If you want a GUI there is easymp3gain for GTK2. The pre-compiled executable downloaded from sourceforge works OK in Wheezy.
https://sourceforge.net/projects/mp3gain/files/
https://sourceforge.net/projects/easymp3gain/

Can't get the pre-compiled version to work for me in Bionic. Get error when loading the files. This is a great utility when it works. Been using the windows version for a long time on my windows machine.


Re: MP3gain for Xenial 32bits

Posted: Fri Feb 12, 2021 11:15 am
by gilles

Hello,

OscarTalks a écrit : ↑ven. févr. 12, 2021 5:29 am
Do you just want to run the executable mp3gain from command line?
It requires libmpg123 so you will need to install that via PPM if you have not already done so.
Then the one you have might work. I grabbed the source of mp3gain-1.6.2 from sourceforge and that compiled quite easily in my Wheezy.
If you want a GUI there is easymp3gain for GTK2. The pre-compiled executable downloaded from sourceforge works OK in Wheezy.
https://sourceforge.net/projects/mp3gain/files/
https://sourceforge.net/projects/easymp3gain/

I don't know how I could compile the mp3gain files... and don't know, too, how I could use it from command line. I have been using MP3gain many years with windows. I like it. easymp3gain-gtk2_0.5.0-2_i386.deb
I already tried easymp3gain-gtk2_0.5.0-2_i386.deb . I installed it. I have it on the desk, but when I want to use it, I have an error message, down in the GUI. And same thing with easymp3gain-gtk_0.5.0+snv135-6_i386.deb


Re: MP3gain for Xenial 32bits

Posted: Fri Feb 12, 2021 11:38 am
by mikewalsh

Also needs the libmpg123-dev package if you're going to compile in Xenial - this adds an '.h' file into /usr/include, a '.pc' file into /usr/lib/pkgconfig, and an '.so' sym-link to libmpg123. Which seems to make all the difference.

As Oscar says, this one compiles easily. Same in Xenial itself.

Here's a .pet for it; contains the easymp3gain-gtk2 package, and mp3gain compiled under Xenial:-

http://www.mediafire.com/file/do1usc7sw ... 6.pet/file

Don't forget to make sure you have libmpg123 installed. Won't run otherwise....

Mike. ;)


Re: MP3gain for Xenial 32bits

Posted: Fri Feb 12, 2021 4:59 pm
by gilles

Hello,
Thank you Mikewalsh.
I installed, with the PPM, libmpg123-0_1.22.4
I downloaded, and installed, your easymp3gain-gtk2 package.
I see it in my menu. But, when I click on it to open it, it happens nothing...
Any idea ?


Re: MP3gain for Xenial 32bits

Posted: Fri Feb 12, 2021 7:24 pm
by mikewalsh

@gilles :-

Mm-hm. Okay.

What happens when you try to run it from the terminal? Open a terminal, type in

Code: Select all

easymp3gain

....then hit 'Enter'. Can you let us have the readout, please?

(EDIT:- I do have quite a number of non-standard dependencies in my system, so.....hopefully, it will only be a 'lib-chase'. Let us have that terminal readout, please, and we'll see what's what.)

Mike. ;)


Re: MP3gain for Xenial 32bits

Posted: Fri Feb 12, 2021 8:43 pm
by bigpup

Just in case you do not know how to copy and paste from the terminal to the post in the forum.
viewtopic.php?f=160&t=1604


Re: MP3gain for Xenial 32bits

Posted: Sat Feb 13, 2021 10:18 am
by gilles

Hello Mikewalsh an bigpup
Thank you very much
If I write easymp3gain in the console, easymp3gain opens on my desk, and works perfectly well !
If I shut down the console, in the same time, it shut down the window easymp3gain.
In the console, as soon as I put a song in easymp3gain, and select it, I have :

DRAWABLE (drawable)' failed

(easymp3gain:19717): Gdk-CRITICAL **: IA__gdk_drawable_get_size: assertion 'GDK_IS_DRAWABLE (drawable)' failed

(easymp3gain:19717): Gdk-CRITICAL **: IA__gdk_drawable_get_size: assertion 'GDK_IS_DRAWABLE (drawable)' failed

(easymp3gain:19717): Gdk-CRITICAL **: IA__gdk_drawable_get_size: assertion 'GDK_IS_DRAWABLE (drawable)' failed

(easymp3gain:19717): Gdk-CRITICAL **: IA__gdk_drawable_get_size: assertion 'GDK_IS_DRAWABLE (drawable)' failed

(easymp3gain:19717): Gdk-CRITICAL **: IA__gdk_drawable_get_size: assertion 'GDK_IS_DRAWABLE (drawable)' failed

(easymp3gain:19717): Gdk-CRITICAL **: IA__gdk_drawable_get_size: assertion 'GDK_IS_DRAWABLE (drawable)' failed

(easymp3gain:19717): Gdk-CRITICAL **: IA__gdk_drawable_get_size: assertion 'GDK_IS_DRAWABLE (drawable)' failed

(easymp3gain:19717): Gdk-CRITICAL **: IA__gdk_drawable_get_size: assertion 'GDK_IS_DRAWABLE (drawable)' failed

(easymp3gain:19717): Gdk-CRITICAL **: IA__gdk_drawable_get_size: assertion 'GDK_IS_DRAWABLE (drawable)' failed

but it works.

So, the problem, now, is only to know what to do to open easymp3gain directly from the menu.

If I go to /usr/share/applications and clic on easymp3gain, I have a message (in french, which is my language) "l'exécution du processus fils "user/bin/easymp3gain" a échoué (no such file or directory)"

Thank you for your help


Re: MP3gain for Xenial 32bits

Posted: Sun Feb 14, 2021 1:00 am
by OscarTalks

Looks like there is a typo in the .desktop file
The line should read:-
Exec=/usr/bin/easymp3gain
(The slash is missing before usr)
Or you can just use:-
Exec=easymp3gain
(Since easymp3gain is in /usr/bin which is in PATH)
Either way, after you manually edit the .desktop file, you will need to run in terminal:-
fixmenus
and then
jwm -reload
In order for the menu item to open the program


Re: MP3gain for Xenial 32bits

Posted: Sun Feb 14, 2021 12:29 pm
by mikewalsh

@OscarTalks :-

Good catch, Oscar. Cheers!

I've repaired, re-packed, re-uploaded. Yes, I know I don't need to bother with 'absolute paths'; as long as the item is IN the $PATH where Puppy searches, it'll find it. It's just habit, I'm afraid.....and habits die hard, the older you get.

I get so used to running things from non-standard locations with all the 'portable' items I use, that custom MenuEntries for those need the full $PATH to function. Technically, you should symlink executables into /usr/bin - if they're not already there, of course - followed by only then needing to use the executable's name on the .desktop file's 'Exec=' line. But I NEVER do things the "correct" way, do I?? :D

(*shrug*)

Mike. ;)


Re: MP3gain for Xenial 32bits

Posted: Sun Feb 14, 2021 3:02 pm
by gilles

Hello,
Thank you. Now it works perfectly well.


Re: MP3gain for Xenial 32bits

Posted: Sun Feb 14, 2021 8:47 pm
by mikewalsh
gilles wrote: Sun Feb 14, 2021 3:02 pm

Hello,
Thank you. Now it works perfectly well.

Good, good. Glad to hear it....

:thumbup: :thumbup: :D

Mike. ;)