Bug 2402 - mediainfo
Summary: mediainfo
Status: RESOLVED WORKSFORME
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: Mageia 1
Assignee: Jani Välimaa
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-10 06:45 CEST by John Valsamopoulos
Modified: 2011-08-27 12:08 CEST (History)
0 users

See Also:
Source RPM:
CVE:
Status comment:


Attachments
Service Menus (2.74 KB, application/octet-stream)
2011-08-10 06:45 CEST, John Valsamopoulos
Details

Description John Valsamopoulos 2011-08-10 06:45:13 CEST
Created attachment 714 [details]
Service Menus

First of all, "mediainfo" with gui works correctly, launched from menu or konsole and then
open (or drug 'n' drop) a media file. The media information are correct, tested with audio
& video files, in Mageia Cauldron (x86_64, KDE). Both GUIs (qt & wx-based).

Notes, Questions & Problems:

1. The package libzen0 is in the repos (only in i586), but it is not installed as a dependency.
It is not required any more?
I tried mediainfo with & without libzen0 installed. Didn't experienced any difference.
I couldn't find any detailed information about it, only that it's required for libmediainfo0
& mediainfo (-gui or -cli) packages. I decided to leave it installed in my system.
Is it correct?

2. In the menu "View", when selecting "Sheet", the program crashes, without any information.
Through Konsole, it outputs only: Segmentation fault.
This is reproducable always, when "Sheet View" is selected.
In Options > Preferences > Setup > Default View > Sheet, too.
Also, when selecting it from the toolbar.
I don't know what's the use of "Sheet View", but I think I should report the problem.

3. In menu "Options", in "Preferences" some selections don't work, changes are not saved: 
 a. "Language" selection.There's only English.
    French is misspelled (Français instead of Français).
 b. "Shell extension" (the most important feature, in my opinion).
    If I am correct, is this something like a Service Menu?
 c. "Shell info tip".

4. This is related with 3b, above.
Mageia's rpms are different from these at http://mediainfo.sourceforge.net/en/Download/Mandriva
The main difference is these 2 files (from Mandriva's mediainfo-gui.rpm):
/usr/share/apps/konqueror/servicemenus/mediainfo-gui.desktop
â/usr/share/kde4/services/ServiceMenus/mediainfo-gui.desktop
They are not present in Mageia's rpm (mediainfo-gui-qt rpm & mediainfo-gui-wx).
So there's no Service Menu for mediainfo.

What I did:
Copied the above 2 Service Menus from my Mageia 1 (KDE, x86_64) installation.
They are almost the same, so I used the 2nd one.
I replaced the line No12: Exec=mediainfo-gui %u, with: Exec=mediainfo-qt %u
Copied the mediainfo-gui.desktop and pasted it, testing it,
each time in one of the following directories:

~/.kde/share/kde4/services/
/usr/share/apps/konqueror/servicemenus/
â/usr/share/kde4/services
â/usr/share/kde4/services/ServiceMenus/

Unexpectedly, they didn't work. There was no entry, in right-clik menu, for "mediainfo".
Finally, changed the line No12, in: Exec=kdialog -msgbox "$(mediainfo-qt %u)"
I took the idea from the Service Menu: getMediaInfo 
http://kde-look.org/content/show.php/getMediaInfo?content=141946
 
I pasted the "new" mediainfo-gui.desktop file in:
â/usr/share/kde4/services/ServiceMenus/ directory and worked OK!

Do you think, this file is correct?
Could the mageia rpms include this service menu file?
Or, maybe, should be a different rpm, only for this service menu?

I will install the rpms for mediainfo (from Cauldron) in my Mageia 1 installations (KDE, Gnome, LXDE).
I'll report any "problems", although I don't expect any (except the above).
Comment 1 Jani Välimaa 2011-08-10 09:44:15 CEST
(In reply to comment #0)
> 
> Notes, Questions & Problems:
> 
> 1. The package libzen0 is in the repos (only in i586), but it is not installed
> as a dependency.
> It is not required any more?
> I tried mediainfo with & without libzen0 installed. Didn't experienced any
> difference.
> I couldn't find any detailed information about it, only that it's required for
> libmediainfo0
> & mediainfo (-gui or -cli) packages. I decided to leave it installed in my
> system.
> Is it correct?

The 64 bit version is called lib64zen0. All three packages (CLI and 2 x GUI) requires libzen.so.0 (which is provided by libzen0/lib64zen0) so the correct packages is pulled when you install any of those three packages. Normally you can't even install mediainfo packages without getting libzen.

You propably have tried run 64 bit mediainfo with and without 32 bit libzen. Try to remove lib64zen0 and you see that also the mediainfo gets removed as one of its reqs is removed.
Comment 2 Jani Välimaa 2011-08-10 09:51:30 CEST
(In reply to comment #0)
> 2. In the menu "View", when selecting "Sheet", the program crashes, without any
> information.
> Through Konsole, it outputs only: Segmentation fault.
> This is reproducable always, when "Sheet View" is selected.
> In Options > Preferences > Setup > Default View > Sheet, too.
> Also, when selecting it from the toolbar.
> I don't know what's the use of "Sheet View", but I think I should report the
> problem.
> 
> 3. In menu "Options", in "Preferences" some selections don't work, changes are
> not saved: 
>  a. "Language" selection.There's only English.
>     French is misspelled (Français instead of Français).
>  b. "Shell extension" (the most important feature, in my opinion).
>     If I am correct, is this something like a Service Menu?
>  c. "Shell info tip".
> 

I'm not sure if those are (all except 3b) bugs in our package but bugs in upstream. Could you try the packages from upstream?
Comment 3 Jani Välimaa 2011-08-10 09:58:23 CEST
(In reply to comment #0)
> 4. This is related with 3b, above.
> Mageia's rpms are different from these at
> http://mediainfo.sourceforge.net/en/Download/Mandriva
> The main difference is these 2 files (from Mandriva's mediainfo-gui.rpm):
> /usr/share/apps/konqueror/servicemenus/mediainfo-gui.desktop
> â/usr/share/kde4/services/ServiceMenus/mediainfo-gui.desktop
> They are not present in Mageia's rpm (mediainfo-gui-qt rpm & mediainfo-gui-wx).
> So there's no Service Menu for mediainfo.
> 
> What I did:
> Copied the above 2 Service Menus from my Mageia 1 (KDE, x86_64) installation.
> They are almost the same, so I used the 2nd one.
> I replaced the line No12: Exec=mediainfo-gui %u, with: Exec=mediainfo-qt %u
> Copied the mediainfo-gui.desktop and pasted it, testing it,
> each time in one of the following directories:
> 
> ~/.kde/share/kde4/services/
> /usr/share/apps/konqueror/servicemenus/
> â/usr/share/kde4/services
> â/usr/share/kde4/services/ServiceMenus/
> 
> Unexpectedly, they didn't work. There was no entry, in right-clik menu, for
> "mediainfo".
> Finally, changed the line No12, in: Exec=kdialog -msgbox "$(mediainfo-qt %u)"
> I took the idea from the Service Menu: getMediaInfo 
> http://kde-look.org/content/show.php/getMediaInfo?content=141946
> 
> I pasted the "new" mediainfo-gui.desktop file in:
> â/usr/share/kde4/services/ServiceMenus/ directory and worked OK!
> 
> Do you think, this file is correct?
> Could the mageia rpms include this service menu file?
> Or, maybe, should be a different rpm, only for this service menu?
> 
> I will install the rpms for mediainfo (from Cauldron) in my Mageia 1
> installations (KDE, Gnome, LXDE).
> I'll report any "problems", although I don't expect any (except the above).

I don't use KDE, but I'll check if we could include your service menu file in our package.
Comment 4 Jani Välimaa 2011-08-10 19:45:51 CEST
Added the service menu entry for KDE4, -3.mga2 should be available soon.

Also, I can't reproduce the crash with "Sheet View", tried with x86_64 and i586 machines. Dunno if the crash is caused by using cauldron packages in mga 1..
Comment 5 John Valsamopoulos 2011-08-12 14:16:23 CEST
You were right about libzen0 & lib64zen0.
My mistake (a big fat one).

About "Sheet View" crash: I noticed that it happens when mediainfo is showing information for a media file. Not when it is just launched from the menu and you haven't selected yet a media file. I think that this "Sheet View" is a customized
view (from the user), so maybe it's not important to spend your time about that.
I'll try to gather more information about it.

About 3b (in my post): I couldn't find an upstream rpm, that includes the qt gui
of mediainfo. They all use the wx-based gui and that one does not have an "Option"
dialog or a "Shell extension" selection. So it seems that "Shell extension" is a Qt & KDE option (although it doesn't work).

Well, finally, I'm afraid that my bug report was not much of a help.
Probably I wasted your time. Sorry for that.

Keep up the good work.
More "new package requests" are coming...
Comment 6 Jani Välimaa 2011-08-12 14:55:51 CEST
Don't worry about "wasting" my time, I don't count hours spent with Mageia and/or bugs.
Comment 7 Jani Välimaa 2011-08-27 12:08:41 CEST
I'm closing this bus as WORKSFORME, please reopen or add a new one if needed.

Status: NEW => RESOLVED
Resolution: (none) => WORKSFORME


Note You need to log in before you can comment on or make changes to this bug.