Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 503028 - media-tv/dtv-scan-tables - Digital TV scan tables
Summary: media-tv/dtv-scan-tables - Digital TV scan tables
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: James Le Cuirot
URL: https://git.linuxtv.org/dtv-scan-tabl...
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2014-02-28 10:32 UTC by BT
Modified: 2017-11-26 22:53 UTC (History)
2 users (show)

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


Attachments
dtv-scan-tables-9999.ebuild (dtv-scan-tables-9999.ebuild,739 bytes, text/plain)
2014-02-28 10:32 UTC, BT
Details
dtv-scan-tables-9999.ebuild (dtv-scan-tables-9999.ebuild,541 bytes, text/plain)
2014-03-26 13:49 UTC, BT
Details
dtv-scan-tables-20140309.ebuild (dtv-scan-tables-20140309.ebuild,623 bytes, text/plain)
2014-03-27 02:13 UTC, BT
Details
dtv-scan-tables-9999.ebuild (dtv-scan-tables-9999.ebuild,629 bytes, text/plain)
2014-11-15 07:07 UTC, BT
Details
dtv-scan-tables-9999.ebuild (dtv-scan-tables-9999.ebuild,649 bytes, text/plain)
2014-11-15 23:56 UTC, BT
Details
dtv-scan-tables ebuild (dtv-scan-tables-20160709.ebuild,2.09 KB, text/plain)
2016-07-31 12:10 UTC, Chris Mayo
Details
dtv-scan-tables-9999.ebuild (dtv-scan-tables-9999.ebuild,666 bytes, text/plain)
2017-09-22 14:15 UTC, BT
Details

Note You need to log in before you can comment on or make changes to this bug.
Description BT 2014-02-28 10:32:45 UTC
Created attachment 371420 [details]
dtv-scan-tables-9999.ebuild

dtv-scan-tables provides initial scan codes for digital tv. Gentoo currently relies on the unmaintained media-tv/linuxtv-dvb-apps for scan codes. dtv-scan-tables was split from linuxtv-dvb-apps and moved into its own repository.

Please consider adding dtv-scan-tables to the Portage tree because applications such as media-tv/tvheadend no longer support the old scan codes provided by linuxtv-dvb-apps.

For now I have only provided a live ebuild. There are tarball releases[1] of dtv-scan-tables but they are not versioned.

[1] http://linuxtv.org/downloads/dtv-scan-tables/
Comment 1 Olliver Schinagl 2014-02-28 14:55:33 UTC
the dvb-apps ARE maintained, albeit very 'slowly'.

Tarballs are automatically created after each commit, their 'hash' versioned ;)

Oliver, dtv-scan-tables maintainer
Comment 2 BT 2014-02-28 15:31:25 UTC
(In reply to Oliver Schinagl from comment #1)
> the dvb-apps ARE maintained, albeit very 'slowly'.
> 
> Tarballs are automatically created after each commit, their 'hash' versioned
> ;)
> 
> Oliver, dtv-scan-tables maintainer

Any chance we could have the creation date appended to the tarball name?
Comment 3 BT 2014-03-26 13:49:03 UTC
Created attachment 373576 [details]
dtv-scan-tables-9999.ebuild

Clean up src_install
Comment 4 BT 2014-03-27 02:13:13 UTC
Created attachment 373614 [details]
dtv-scan-tables-20140309.ebuild

Add snapshot
Comment 5 BT 2014-03-27 02:23:47 UTC
@Oliver

What is the correct license for the scan tables? I see that Fedora has chosen public domain but the source ships with GPL-2 & LGPL-2.1 license files.
Comment 6 Olliver Schinagl 2014-03-27 13:41:12 UTC
The tarballs where supposed to be dated; but something bad happened and it didn't work out just right. They should be generated daily, if there are changes.

As for the license, this was discussed a little before, but it was decided to keep whatever license was on the dvb-apps.

http://www.spinics.net/lists/linux-media/msg58594.html
Comment 7 BT 2014-06-03 07:53:45 UTC
A new tarball with modified date '2014-06-02' has the date and commit hash '2014-03-26-cfc2975' for it's filename. However upon extraction the tarball is actually git head, so the date  and commit hash should be '2014-05-12-1246b27'.

We really need to have the tarball creation issue sorted as it makes packaging releases impossible.
Comment 8 BT 2014-11-15 07:07:40 UTC
Created attachment 389354 [details]
dtv-scan-tables-9999.ebuild

- Add media-tv/v4l-utils dependency
- Use Makefile to install files. Default install location is /usr/share/dvbv3 for legacy format and /usr/share/dvbv5 for new format. I'm not sure if this will break some applications. We might need to install at /usr/share/dvb/{dvbv3,dvbv5}.
Comment 9 BT 2014-11-15 23:56:55 UTC
Created attachment 389466 [details]
dtv-scan-tables-9999.ebuild

- Move media-tv/v4l-utils dependency to DEPEND
Comment 10 Chris Mayo 2016-07-31 12:10:45 UTC
Created attachment 442066 [details]
dtv-scan-tables ebuild

My take on a non-live ebuild (v5 only).

The full archive contains 1800 files therefore this has some potential USE_EXPAND flags, dtv_delivery_systems and dtv_countries. Clearly these would need documenting in profiles/desc/.

It downloads a snapshot from the cgit interface. As noted the file naming in:
http://linuxtv.org/downloads/dtv-scan-tables/
is a bit off. (the log page in cgit seems to miss the latest entries too, the summary is OK).
Comment 11 BT 2017-09-22 14:15:11 UTC
Created attachment 495976 [details]
dtv-scan-tables-9999.ebuild

- Bump for EAPI 6
Comment 12 Larry the Git Cow gentoo-dev 2017-11-26 22:50:59 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb84f08c04519b2273a8d6729039e783b70eafc1

commit eb84f08c04519b2273a8d6729039e783b70eafc1
Author:     James Le Cuirot <chewi@gentoo.org>
AuthorDate: 2017-11-26 22:49:59 +0000
Commit:     James Le Cuirot <chewi@gentoo.org>
CommitDate: 2017-11-26 22:50:39 +0000

    media-tv/dtv-scan-tables: New package to supersede linuxtv-dvb-apps
    
    This doesn't need to block linuxtv-dvb-apps as they install the tables
    into different directories.
    
    Closes: https://bugs.gentoo.org/503028
    Package-Manager: Portage-2.3.16, Repoman-2.3.6

 media-tv/dtv-scan-tables/Manifest                  |  1 +
 .../dtv-scan-tables-0_p20171003.ebuild             | 32 ++++++++++++++++++++++
 .../dtv-scan-tables/dtv-scan-tables-9999.ebuild    | 32 ++++++++++++++++++++++
 media-tv/dtv-scan-tables/metadata.xml              |  8 ++++++
 4 files changed, 73 insertions(+)
Comment 13 James Le Cuirot gentoo-dev 2017-11-26 22:53:27 UTC
Thanks for the contribution here, it helped me to come up with the final ebuild. USE_EXPAND could be worthwhile but I'll revisit this later.