|Summary:||media-tv/linuxtv-dvb-apps - Please enable building of alevt|
|Product:||Gentoo Linux||Reporter:||Tobias Leupold <tobias.leupold>|
|Component:||New packages||Assignee:||Television related Applications in Gentoo's Portage <media-tv>|
|Package list:||Runtime testing required:||---|
Patch for util/alevt/exp-gfx.c to make compilation work
patch for alevt's exp-gfx.c
patch for alevt's Makefile
ebuild with USE flag "alevt" added
Description Tobias Leupold 2012-06-26 18:04:53 UTC
Created attachment 316351 [details, diff] Patch for util/alevt/exp-gfx.c to make compilation work The latest linuxtv-dvb-apps ebuild (22.214.171.12400223) does not build alevt, although an DVB capable version is included in the sources. I suppose to add a USE-Flag (e. g. "alevt" or "videotext" or so) that enables building it. The code resides in util/alevt. I had to install media-libs/zvbi with USE="v4l" and patch exp-gfx.c (see attached patch), but after that, it built just fine (by simply starting make) and works! Would be really cool if this was included in the official ebuild as there's no really good program to view videotext from DVB(-T) other than alevt, and media-video/alevt-1.6.2 does not include Support for DVB.
Comment 1 Tobias Leupold 2012-06-27 13:51:56 UTC
Created attachment 316443 [details, diff] patch for alevt's exp-gfx.c
Comment 2 Tobias Leupold 2012-06-27 13:52:17 UTC
Created attachment 316445 [details, diff] patch for alevt's Makefile
Comment 3 Tobias Leupold 2012-06-27 13:53:57 UTC
Created attachment 316447 [details] ebuild with USE flag "alevt" added Here's a modified ebuild that does have an "alevt" USE flag. When set, it builds and installs alevt. I'm really not sure if this is a clean or good way to do it. Please review the ebuild! At least, it works ;-)
Comment 4 Tobias Leupold 2012-06-27 14:05:27 UTC
Ps: Of course, if this ebuild makes it's way in the tree, it should block media-video/alevt when installes with USE="alevt". I Forgot to add this.
Comment 5 Michael Weber (RETIRED) 2013-06-02 17:54:32 UTC
no conditional patching, pls. but looks fine.
Comment 6 Michael Weber (RETIRED) 2013-06-02 18:40:14 UTC
+*linuxtv-dvb-apps-126.96.36.19900223-r1 (02 Jun 2013) + + 02 Jun 2013; Michael Weber <firstname.lastname@example.org> + +files/linuxtv-dvb-apps-188.8.131.5200223-alevt.patch, + +files/linuxtv-dvb-apps-184.108.40.20600223-ldflags.patch, + +linuxtv-dvb-apps-220.127.116.1100223-r1.ebuild, metadata.xml: + Add alevt videotext decoder support (bug 423687, thanks Tobias Leupold), add + perl DEPEND (bug 433155, thanks bay), rename scan to scan-dvb (bug 348371, + thanks Bill Prendergast), support LDFLAGS (bug 331095, thanks Olivier Huber + and thomasg). +