-----BEGIN PGP SIGNED MESSAGE-----
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?id=403929

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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJPPLtqAAoJEJwwOFaNFkYcSxMIAIB+pxzrSVubsdZ9teXH8BZ6
hzLYGAWxtDmvBTPMkb58xdjTkR33t1prQ+fnDbFHZ2BuGKCZfKnTknfhAxEoFA7n
HQ/gR8Ad633P/A6wIsy3yWWEVac6GxzUfATVq1GPEJVlVbSItUASEEeq8wRgplWq
A7jIDiveIhkQuGkSsZ0NuC0+V+YEeulWWNQLz/zZsfAqX9YyidALZYQLWE2n6GhM
XJZiyF+QnOfPzwSyobdjwQD7W1QpmTshH1mvEF6QeA+HSk9a7HD5ElJVx+AKoFYs
p3TE56IHgwuyQioApCl7YBQxFixYxrdo0EIbg00JOpU2vohv3G7/E5HHMimp7Ns=
=1cAv
-----END PGP SIGNATURE-----

Reply via email to