Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 514450 - media-video/bomi - Qt5 multimedia player with bundled mpv
Summary: media-video/bomi - Qt5 multimedia player with bundled mpv
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement with 3 votes (vote)
Assignee: Default Assignee for New Packages
URL: http://bomi-player.github.io/
Whiteboard:
Keywords:
Depends on: 514914 qt5-porting
Blocks:
  Show dependency tree
 
Reported: 2014-06-22 13:02 UTC by José Romildo Malaquias
Modified: 2017-11-05 17:00 UTC (History)
9 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
cmplayer-0.8.16.ebuild (cmplayer-0.8.16.ebuild,1.21 KB, text/plain)
2014-06-24 12:48 UTC, José Romildo Malaquias
Details
patch for the ebuild to pull in libbluray dep and epatch line for stdafx.hpp (cmplayer-0.8.16-working_ebuild.patch,706 bytes, text/plain)
2014-08-05 18:21 UTC, salamanderrake
Details
simple patch to add a space between "" and _b (cmplayer-0.8.16-missing_space.patch,529 bytes, text/plain)
2014-08-05 18:22 UTC, salamanderrake
Details
build.log (build.log,194.06 KB, text/x-log)
2014-08-28 09:21 UTC, Egor Y. Egorov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description José Romildo Malaquias 2014-06-22 13:02:45 UTC
Please add cmplayer to portage.

CMPlayer is a multimedia player. It is aimed for easy usage but also provides various powerful features and convenience functions.

Key Features

Enhanced Subtitle Handling
    CMPlayer can display multiple subtitle files at once. Also, CMPlayer handles .smi subtitle properly, e.g., multi-language, tag-based format. 
Stays on Top
    You can choice a stays-on-top mode: always, playing, or never. For instance, with playing mode, CMPlayer stays on top only for while playing a media. 
A-B Repeat
    CMPlayer supports A-B repeat. A and B points are selected easily with shortcut. It is also possible to specify repetition interval by subtitle. 
Customizable Shortcut
    CMPlayer provides handy default shortcuts. Pushed wrong shortcut accidentally? Don't worry. You can undo and redo it! Do you think they are not handy? Just change them to what you want. 

CMPlayer also has so many features which are not addressed here. For more details, see Feature List.
Comment 1 A. Person 2014-06-23 17:45:07 UTC
I'd like to see this too.  It uses mpv as its backend which means it should work to play YouTube videos on ARM.
Comment 2 José Romildo Malaquias 2014-06-24 12:48:49 UTC
Created attachment 379578 [details]
cmplayer-0.8.16.ebuild

My ebuild for cmplayer.
Comment 3 salamanderrake 2014-08-05 16:39:17 UTC
would also need to add dev-libs/libchardet to portage.
Comment 4 salamanderrake 2014-08-05 18:20:03 UTC
It is also dependent on libbluray. there is a small 'typo' in a header that needs fixing. here is a bt for a SIGSEGV Segmentation fault when quitting.

'''
Program received signal SIGSEGV, Segmentation fault.
0x00007fffee5b01b1 in QHashData::free_helper(void (*)(QHashData::Node*)) () from /usr/lib64/libQt5Core.so.5
(gdb) bt
#0  0x00007fffee5b01b1 in QHashData::free_helper(void (*)(QHashData::Node*)) () from /usr/lib64/libQt5Core.so.5
#1  0x00007fffeec511ba in QGuiApplicationPrivate::~QGuiApplicationPrivate() () from /usr/lib64/libQt5Gui.so.5
#2  0x00007fffefe1cc61 in QApplicationPrivate::~QApplicationPrivate() () from /usr/lib64/libQt5Widgets.so.5
#3  0x00007fffee75f6cb in QObject::~QObject() () from /usr/lib64/libQt5Core.so.5
#4  0x00007fffefe1e3fa in QApplication::~QApplication() () from /usr/lib64/libQt5Widgets.so.5
#5  0x00000000005cc2e3 in App::~App() ()
#6  0x000000000044cd2b in main ()

'''

patches for it to compile will follow shortly.
Comment 5 salamanderrake 2014-08-05 18:21:45 UTC
Created attachment 382348 [details]
patch for the ebuild to pull in libbluray dep and epatch line for stdafx.hpp
Comment 6 salamanderrake 2014-08-05 18:22:47 UTC
Created attachment 382350 [details]
simple patch to add a space between "" and _b
Comment 7 salamanderrake 2014-08-05 18:33:31 UTC
454132
Comment 8 salamanderrake 2014-08-05 18:34:09 UTC
(In reply to salamanderrake from comment #7)
> 454132

I was trying to say this bug depends on 454132
https://bugs.gentoo.org/show_bug.cgi?id=qt5
Comment 9 salamanderrake 2014-08-09 03:39:35 UTC
Right now I am having an issue where everytime I pause and restart a video it enables the "Keep above others" option.
Comment 10 Egor Y. Egorov 2014-08-28 09:21:29 UTC
Build failed in my case
Comment 11 Egor Y. Egorov 2014-08-28 09:21:54 UTC
Created attachment 383826 [details]
build.log
Comment 12 Michael 2014-09-11 14:34:17 UTC
There's a missing dep, it depends on libva.
Comment 13 Michael 2014-09-11 14:42:59 UTC
also missing dep qtdbus and qtsql
Comment 14 Egor Y. Egorov 2014-09-24 01:27:14 UTC
# emerge -pv qtdbus qtsql libva

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   #] dev-qt/qtdbus-5.3.2:5  USE="-debug {-test}" 0 KiB
[ebuild   R   #] dev-qt/qtsql-5.3.2:5  USE="freetds mysql odbc postgres sqlite -debug -oci8 {-test}" 0 KiB
[ebuild   R    ] x11-libs/libva-1.3.1  USE="X drm egl opengl vdpau wayland" ABI_X86="32 (64) (-x32)" VIDEO_CARDS="intel -dummy -fglrx -nvidia" 0 KiB

Total: 3 packages (3 reinstalls), Size of downloads: 0 KiB


But still failed to build with same build.log
Comment 15 Michael 2014-09-25 12:58:05 UTC
(In reply to Egor Y. Egorov from comment #14)

> But still failed to build with same build.log

Your build failures are probably due to some mesa issues.
Comment 16 Tamas Jantvik 2014-12-17 15:18:49 UTC
I get the same errors, with the git version. Seems it doesn't find stuff, looking at the make output.
Comment 17 Tamas Jantvik 2014-12-18 15:22:25 UTC
I got it to build. But I haven't had time to run it. My ebuild can be found at https://raw.githubusercontent.com/tsjk/gentoo-ebuilds/master/media-video/cmplayer/cmplayer-9999.ebuild
Comment 18 Ben de Groot (RETIRED) gentoo-dev 2015-02-02 15:33:52 UTC
Upstream renamed to bomi
Comment 19 Ben de Groot (RETIRED) gentoo-dev 2015-03-21 06:35:48 UTC
Actually, it builds a bundled copy of mpv. Don't expect this package to be added to the official repo unless upstream makes building against system mpv an option.

In the meantime I have added baka-mplayer as Qt5 frontend to libmpv.
Comment 20 Franz Trischberger 2015-03-24 11:23:28 UTC
(In reply to Ben de Groot from comment #19)
> Actually, it builds a bundled copy of mpv. Don't expect this package to be
> added to the official repo unless upstream makes building against system mpv
> an option.

The main dev writes extensively about that issue
https://github.com/xylosper/bomi/wiki/bomi-is-not-a-front-end
In short: It's technically impossible, as he needs internal API upstream libmpv will not expose. He also works with upstream (see his pull requests) so there MIGHT be a day where bomi plays nice with system mpv.

IMHO if this is a nice addition one could add it to the tree nevertheless. There are already so many packages around that bundle third-party libs (blender, chromium, webkit, ...).