[gentoo-user] linuxtv-dvb-headers gone virtual blocks mythtv overlay

February 16th, 2012 - 03:10 am ET by Raffaele BELARDI | Report spam
After yesterday's sync I found mythtv's overlay not able to build
anymore due to missing dependency: media-tv/linuxtv-dvb-headers is no
longer present in the tree. A quick search shows that it has now become
virtual/linuxtv-dvb-headers [1].

I suppose that my only options for rebuilding mythtv are to wait for
upstream to update the ebuild or to update it myself. How difficult
would the latter be?

raf

[1] https://bugs.gentoo.org/show_bug.cgi?id@3929=
email Follow the discussionReplies 11 repliesReplies Make a reply

Replies

#1 Hinnerk van Bruinehsen
February 16th, 2012 - 03:20 am ET | Report spam
Hash: SHA1

On 16.02.2012 08:58, Raffaele BELARDI wrote:
After yesterday's sync I found mythtv's overlay not able to build
anymore due to missing dependency: media-tv/linuxtv-dvb-headers is
no longer present in the tree. A quick search shows that it has now
become virtual/linuxtv-dvb-headers [1].

I suppose that my only options for rebuilding mythtv are to wait
for upstream to update the ebuild or to update it myself. How
difficult would the latter be?

raf

[1] https://bugs.gentoo.org/show_bug.cgi?



If the package just moved from media-tv to virtual it's easy:

You should make a private overlay and copy the ebuild with the
dependency there:

mkdir /var/lib/layman/myoverlay/
mkdir /var/lib/layman/myoverlay/profile
echo "myoverlay" > /var/lib/layman/myoverlay/profile/repo_name
# Overlay is ready
# add /var/lib/layman/myoverlay/ to /var/lib/layman/make.conf (using
you favorite editor. If you make it the last entry it'll override
other overlays.

mkdir /var/lib/layman/myoverlay/<package-category>
#e.g. media-video for package-category
cp -r <upstream-overlay/<package-category>/<package>
/var/lib/layman/myoverlay/<package-category>
# e.g. cp -r /var/lib/layman/mythtv/media-video/mythtv
/var/lib/layman/myoverlay/media-video

Afterwards edit the ebuild with your favourite editor an replace the
media-tv/linuxtv-dvb-headers with virtual/linuxtv-dvb-headers

Then do (inside the directory of the package inside you own overlay):
ebuild <package-name> manifest

then emerge and you're ready.
You could send your modified ebuild to the mythtv-overlay
maintainer/owner.


Some explanations: I would recommend creating an own overlay so you
don't get problems on sync. If multiple packages are concerned you'll
have to repeat the procedure (except the overlay creation) for each of
them.
If the package was'nt moved, but really changed, it may not be enough
to get everything working...

Hope that helps!

Kind regards,

Hinnerk

Similar topics