Bug 13530

Summary: Miam Player - an all new MP3 player
Product: Mageia Reporter: Pavel Fric <pavelfric>
Component: New RPM package requestAssignee: Rémi Verschelde <rverschelde>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: bachelier.matthieu, rverschelde
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
URL: http://miam-player.org/
Whiteboard:
Source RPM: miamplayer CVE:
Status comment:

Description Pavel Fric 2014-06-17 07:56:01 CEST
I had/have problem with compiling Miam Player from sources via Qt Creator, because of missing some devel package - probably. Something with qtmultimedia. Could anyone take a look on that issue or create the package?
    Read .mp3, .m4a (MP4), .flac, .ogg, .oga (OGG Vorbis), .asf, .ape (Monkey Audio)
    Read and Edit lots of Tags using Taglib
    Customize everything: User Interface, Covers, Shortcuts, Buttons, Themes
    Fast and reliable



http://mbach.github.io/Miam-Player/

https://github.com/MBach/Miam-Player
Pavel Fric 2014-06-17 08:22:51 CEST

URL: (none) => http://mbach.github.io/Miam-Player/
Source RPM: (none) => miamplayer

Comment 1 Pavel Fric 2014-08-17 22:14:12 CEST
Hi,

could anyone say, that he is able to compile Miam Player in Mageia? The dump of the command line with error message follows:

[pavel@localhost code (master)]$ make
cd MiamCore/ && make -f Makefile 
make[1]: Vstupuje se do adresáÅe â/home/pavel/Stažené/Miam-Player/code/MiamCoreâ
g++ -c -pipe -std=c++11 -O2 -Wall -W -D_REENTRANT -fPIC -DMIAM_PLUGIN -DQT_NO_DEBUG -DQT_MULTIMEDIA_LIB -DQT_SQL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/QtSql -I/usr/include/QtMultimedia -I/usr/include -I. -I3rdparty -I. -o librarysqlmodel.o model/librarysqlmodel.cpp
In file included from model/librarysqlmodel.cpp:2:0:
./filehelper.h:4:38: fatal error: QtMultimedia/QMediaContent: AdresáŠnebo soubor neexistuje
 #include <QtMultimedia/QMediaContent>
                                      ^
compilation terminated.
Makefile:319: návod pro cíl âlibrarysqlmodel.oâ selhal
make[1]: *** [librarysqlmodel.o] Chyba 1
make[1]: OpouÅ¡tí se adresáŠâ/home/pavel/Stažené/Miam-Player/code/MiamCoreâ
Makefile:41: návod pro cíl âsub-MiamCore-make_default-orderedâ selhal
make: *** [sub-MiamCore-make_default-ordered] Chyba 2
Comment 2 Rémi Verschelde 2014-09-24 22:33:21 CEST
I'm on it :-)

CC: (none) => remi
Assignee: bugsquad => remi

Comment 3 Rémi Verschelde 2014-09-24 22:35:19 CEST
Note that to build it yourself you would need at least the following libraries:
BuildRequires:  pkgconfig(libvlc-qt)
BuildRequires:  pkgconfig(libvlc-qt-widgets)
BuildRequires:  pkgconfig(Qt5Core)
BuildRequires:  pkgconfig(Qt5Multimedia)
BuildRequires:  pkgconfig(Qt5Sql)
BuildRequires:  pkgconfig(Qt5Widgets)
BuildRequires:  pkgconfig(taglib)

You can install them with:
# urpmi "pkgconfig(libvlc-qt) pkgconfig(libvlc-qt-widgets) pkgconfig(Qt5Core) pkgconfig(Qt5Multimedia) pkgconfig(Qt5Sql) pkgconfig(Qt5Widgets) pkgconfig(taglib)"

But then some files need to be patched so that it builds properly (on Cauldron at least). I'll work with upstream to make the process hopefully either.
Comment 4 Rémi Verschelde 2014-12-24 00:18:46 CET
I have a working package for Miam-Player, but sadly the binary crashes because libvlc-qt tries to load the Qt4 version of QtGui instead of loading Qt5 libraries: https://github.com/MBach/Miam-Player/issues/9
Comment 5 Rémi Verschelde 2015-02-18 22:20:09 CET
The bogus libqt4_plugin.so loading by VLC has been fixed by Christiaan Welvaart and David Walser in bug 15311, so now Miam Player is working :-)

I'll import my package in Cauldron.
Comment 6 Rémi Verschelde 2015-02-18 22:24:59 CET
Done: http://svnweb.mageia.org/packages?view=revision&revision=815741

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

Comment 7 Matthieu Bachelier 2015-02-22 12:53:20 CET
Hi,
It seems that the QSQLite driver wasn't included in the RPM. I have installed a fresh "vanilla" Mageia 5 Cauldron and when I am starting miam-player on my virtual machine, I can see:

QSqlDatabase: QSQLITE driver not loaded
QSqlDatabase: available drivers:
<empty list>

It's required in order to create a cache and remember settings. You can still play some MP3, but it's like a safe-mode :(

Status: RESOLVED => REOPENED
CC: (none) => bachelier.matthieu
Resolution: FIXED => (none)

Matthieu Bachelier 2015-02-22 12:53:52 CET

URL: http://mbach.github.io/Miam-Player/ => http://miam-player.org/

Comment 8 Rémi Verschelde 2015-02-22 12:57:58 CET
Thanks Matthieu, I'll check that. I suppose the qtbase5-database-plugin-sqlite RPM should be added as a dependency.
Comment 9 Rémi Verschelde 2015-02-22 12:58:27 CET
Can you try miam-player-0.7.0-2.mga5 once it reaches your mirrors?
Comment 10 Matthieu Bachelier 2015-02-22 16:42:56 CET
It's working, thanks!

Status: REOPENED => RESOLVED
Resolution: (none) => FIXED

Comment 11 Rémi Verschelde 2015-02-22 16:47:19 CET
Thank you for installing Mageia 5 to check :-)