Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bugzilla DB migration completed. Please report issues to Infra team via email via infra@gentoo.org or IRC

Bug 423687

Summary: media-tv/linuxtv-dvb-apps - Please enable building of alevt
Product: Gentoo Linux Reporter: Tobias Leupold <tobias.leupold>
Component: New packagesAssignee: Television related Applications in Gentoo's Portage <media-tv>
Status: RESOLVED TEST-REQUEST    
Severity: normal CC: xmw
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: 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 (1.1.1.20100223) 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) gentoo-dev 2013-06-02 17:54:32 UTC
no conditional patching, pls. but looks fine.
Comment 6 Michael Weber (RETIRED) gentoo-dev 2013-06-02 18:40:14 UTC
+*linuxtv-dvb-apps-1.1.1.20100223-r1 (02 Jun 2013)
+
+  02 Jun 2013; Michael Weber <xmw@gentoo.org>
+  +files/linuxtv-dvb-apps-1.1.1.20100223-alevt.patch,
+  +files/linuxtv-dvb-apps-1.1.1.20100223-ldflags.patch,
+  +linuxtv-dvb-apps-1.1.1.20100223-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).
+