1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA1 |
3 |
|
4 |
On 16.02.2012 08:58, Raffaele BELARDI wrote: |
5 |
> After yesterday's sync I found mythtv's overlay not able to build |
6 |
> anymore due to missing dependency: media-tv/linuxtv-dvb-headers is |
7 |
> no longer present in the tree. A quick search shows that it has now |
8 |
> become virtual/linuxtv-dvb-headers [1]. |
9 |
> |
10 |
> I suppose that my only options for rebuilding mythtv are to wait |
11 |
> for upstream to update the ebuild or to update it myself. How |
12 |
> difficult would the latter be? |
13 |
> |
14 |
> raf |
15 |
> |
16 |
> [1] https://bugs.gentoo.org/show_bug.cgi?id=403929 |
17 |
|
18 |
If the package just moved from media-tv to virtual it's easy: |
19 |
|
20 |
You should make a private overlay and copy the ebuild with the |
21 |
dependency there: |
22 |
|
23 |
mkdir /var/lib/layman/myoverlay/ |
24 |
mkdir /var/lib/layman/myoverlay/profile |
25 |
echo "myoverlay" > /var/lib/layman/myoverlay/profile/repo_name |
26 |
# Overlay is ready |
27 |
# add /var/lib/layman/myoverlay/ to /var/lib/layman/make.conf (using |
28 |
you favorite editor. If you make it the last entry it'll override |
29 |
other overlays. |
30 |
|
31 |
mkdir /var/lib/layman/myoverlay/<package-category> |
32 |
#e.g. media-video for package-category |
33 |
cp -r <upstream-overlay/<package-category>/<package> |
34 |
/var/lib/layman/myoverlay/<package-category> |
35 |
# e.g. cp -r /var/lib/layman/mythtv/media-video/mythtv |
36 |
/var/lib/layman/myoverlay/media-video |
37 |
|
38 |
Afterwards edit the ebuild with your favourite editor an replace the |
39 |
media-tv/linuxtv-dvb-headers with virtual/linuxtv-dvb-headers |
40 |
|
41 |
Then do (inside the directory of the package inside you own overlay): |
42 |
ebuild <package-name> manifest |
43 |
|
44 |
then emerge and you're ready. |
45 |
You could send your modified ebuild to the mythtv-overlay |
46 |
maintainer/owner. |
47 |
|
48 |
|
49 |
Some explanations: I would recommend creating an own overlay so you |
50 |
don't get problems on sync. If multiple packages are concerned you'll |
51 |
have to repeat the procedure (except the overlay creation) for each of |
52 |
them. |
53 |
If the package was'nt moved, but really changed, it may not be enough |
54 |
to get everything working... |
55 |
|
56 |
Hope that helps! |
57 |
|
58 |
Kind regards, |
59 |
|
60 |
Hinnerk |
61 |
-----BEGIN PGP SIGNATURE----- |
62 |
Version: GnuPG v2.0.18 (GNU/Linux) |
63 |
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ |
64 |
|
65 |
iQEcBAEBAgAGBQJPPLtqAAoJEJwwOFaNFkYcSxMIAIB+pxzrSVubsdZ9teXH8BZ6 |
66 |
hzLYGAWxtDmvBTPMkb58xdjTkR33t1prQ+fnDbFHZ2BuGKCZfKnTknfhAxEoFA7n |
67 |
HQ/gR8Ad633P/A6wIsy3yWWEVac6GxzUfATVq1GPEJVlVbSItUASEEeq8wRgplWq |
68 |
A7jIDiveIhkQuGkSsZ0NuC0+V+YEeulWWNQLz/zZsfAqX9YyidALZYQLWE2n6GhM |
69 |
XJZiyF+QnOfPzwSyobdjwQD7W1QpmTshH1mvEF6QeA+HSk9a7HD5ElJVx+AKoFYs |
70 |
p3TE56IHgwuyQioApCl7YBQxFixYxrdo0EIbg00JOpU2vohv3G7/E5HHMimp7Ns= |
71 |
=1cAv |
72 |
-----END PGP SIGNATURE----- |