Plugin for VDR (Video Disk Recorder): is a iteractive karaoke. It uses file's similar to SingStar/UltraStar. This is is my 1st ebuild ... I hope this could be usefull and not a mess ;-) zulio (zulurossa) Reproducible: Always
Created attachment 136960 [details] the new ebuild
some technical issues, - remove RESTIRCT - remove all comments - change use-flags libsoundfile libvorbis for this we have use-flags always present ( sound , vorbis ) - remove dodoc , this is handled by vdr-plugin.eclass newins ${FILESDIR}/examples/karaokesources.conf.example ??? plz atache the karaokesources.conf.example sed -e 's/#WITHOUT_LIBSNDFILE=1/WITHOUT_LIBSNDFILE=1/..... ??? what should the line do ? better is ( example ) use vorbis && sed -e "s:WITHOUT_LIBVORBISFILE=1:#WITHOUT_LIBVORBISFILE=1:" -i Makefile We change allways the config DIR to /etc/vdr/plugin/${PLUGIN_NAME} we do this by a presented config parameter, in this case we dont have a parameter for this. yust create a diff , grep in sources for ConfigDirectory , change there the path to the new DIR, you will find examples in most vdr-${PLUGIN}/files/*-gentoo.diff :)
Created attachment 138018 [details] ebuild rebuilded
Created attachment 138020 [details] confd
Created attachment 138022 [details] Sources files like mplayer plugin
Created attachment 138024 [details] diff
Created attachment 138026 [details] rc-addon.sh
I made changes as requested. It compiles without errors. Need some checks in rc-addon.sh Plugins starts ad works but it always crash ... I think is a plugin problem and not an ebuild one. Regards :-) zulio (zulurossa) P.S: I used 'repoman' but I'm not sure about some warnings. How can I view vdr command line used to start it? (plugin command line) Something like 'cat /proc/'.... or 'ps'
I noticed that I uses the word "always" ... it was a mistake. Plugin crashes OFTEN, but not always! :-) It works, play music and show words and tones-tracks ... sometimes, when you press "menu button" it does not close and crash. Zulurossa
small test about this requested plugin with the latest available version from 2009 =vdr-karaoke-0.0.4 setup-karaoke.c:116:1: error: narrowing conversion of ‘4012720986’ from ‘unsigned int’ to ‘int’ [-Wnarrowing] 116 | }; | ^ setup-karaoke.c:116:1: error: narrowing conversion of ‘4014042775’ from ‘unsigned int’ to ‘int’ [-Wnarrowing] setup-karaoke.c:116:1: error: narrowing conversion of ‘4291721984’ from ‘unsigned int’ to ‘int’ [-Wnarrowing] setup-karaoke.c:116:1: error: narrowing conversion of ‘4288395991’ from ‘unsigned int’ to ‘int’ [-Wnarrowing] setup-karaoke.c:116:1: error: narrowing conversion of ‘4280692794’ from ‘unsigned int’ to ‘int’ [-Wnarrowing] setup-karaoke.c:116:1: error: narrowing conversion of ‘4288395991’ from ‘unsigned int’ to ‘int’ [-Wnarrowing] setup-karaoke.c:116:1: error: narrowing conversion of ‘4023286528’ from ‘unsigned int’ to ‘int’ [-Wnarrowing] setup-karaoke.c:116:1: error: narrowing conversion of ‘3741319168’ from ‘unsigned int’ to ‘int’ [-Wnarrowing] setup-karaoke.c:116:1: error: narrowing conversion of ‘4281156442’ from ‘unsigned int’ to ‘int’ [-Wnarrowing] setup-karaoke.c:116:1: error: narrowing conversion of ‘4282478231’ from ‘unsigned int’ to ‘int’ [-Wnarrowing] setup-karaoke.c:116:1: error: narrowing conversion of ‘4291721984’ from ‘unsigned int’ to ‘int’ [-Wnarrowing] setup-karaoke.c:116:1: error: narrowing conversion of ‘4288395991’ from ‘unsigned int’ to ‘int’ [-Wnarrowing] setup-karaoke.c:116:1: error: narrowing conversion of ‘4280692794’ from ‘unsigned int’ to ‘int’ [-Wnarrowing] setup-karaoke.c:116:1: error: narrowing conversion of ‘4288395991’ from ‘unsigned int’ to ‘int’ [-Wnarrowing] setup-karaoke.c:116:1: error: narrowing conversion of ‘4291721984’ from ‘unsigned int’ to ‘int’ [-Wnarrowing] setup-karaoke.c:116:1: error: narrowing conversion of ‘4278190080’ from ‘unsigned int’ to ‘int’ [-Wnarrowing] setup-karaoke.c:116:1: error: narrowing conversion of ‘3157082970’ from ‘unsigned int’ to ‘int’ [-Wnarrowing] setup-karaoke.c:116:1: error: narrowing conversion of ‘3158404759’ from ‘unsigned int’ to ‘int’ [-Wnarrowing] setup-karaoke.c:116:1: error: narrowing conversion of ‘3167648512’ from ‘unsigned int’ to ‘int’ [-Wnarrowing] setup-karaoke.c:116:1: error: narrowing conversion of ‘3164322519’ from ‘unsigned int’ to ‘int’ [-Wnarrowing] setup-karaoke.c:116:1: error: narrowing conversion of ‘3156619322’ from ‘unsigned int’ to ‘int’ [-Wnarrowing] setup-karaoke.c:116:1: error: narrowing conversion of ‘3164322519’ from ‘unsigned int’ to ‘int’ [-Wnarrowing] setup-karaoke.c:116:1: error: narrowing conversion of ‘3167648512’ from ‘unsigned int’ to ‘int’ [-Wnarrowing] ... * ERROR: media-plugins/vdr-karaoke-0.0.4::server-overlay failed (compile phase): * emake failed requested plugin is give up by upstream ~2009 anyway, thanks zulio for your support...