leycec / raiagent

Third-party Gentoo overlay. Ride the Lagrangian point between awesomeness and volatile compounds.
31 stars 14 forks source link

Make powerline-symbols unconditional dependency #2

Closed ZyX-I closed 10 years ago

ZyX-I commented 10 years ago

Reasoning was described in Lokaltog/powerline#719.


By the way, do you know why

  1. there are no Manifest files and
  2. ebuild refuses to create them with the following log:

    (zyx-desktop:zyx:tmp/image/raiagent) 1 % ebuild app-misc/powerline/powerline-9999.ebuild manifest
    !!! Repository 'mv' is missing masters attribute in '/var/lib/layman/mv/metadata/layout.conf'
    !!! Set 'masters = gentoo' in this file for future compatibility                                                                                                                                                                               
    !!! Repository 'enlightenment' is missing masters attribute in '/var/lib/layman/enlightenment/metadata/layout.conf'                                                                                                                            
    !!! Set 'masters = gentoo' in this file for future compatibility                                                                                                                                                                               
    Appending /home/zyx/tmp/image/raiagent to PORTDIR_OVERLAY...
    !!! Repository 'mv' is missing masters attribute in '/var/lib/layman/mv/metadata/layout.conf'
    !!! Set 'masters = gentoo' in this file for future compatibility                                                                                                                                                                               
    !!! Repository 'enlightenment' is missing masters attribute in '/var/lib/layman/enlightenment/metadata/layout.conf'                                                                                                                            
    !!! Set 'masters = gentoo' in this file for future compatibility                                                                                                                                                                               
    >>> Creating Manifest for /home/zyx/tmp/image/raiagent/app-misc/powerline

    which looks like if it actually created Manifest.

leycec commented 10 years ago

Make powerline-symbols unconditional dependency

Done. Unfortunately, I discovered this pull request after responding to Lokaltog/powerline#719 and substantially revising the ebuild. I'm afraid I had to commit your changes manually.

Sorry about that, ZyX – and thanks for responding so promptly. You rock! :smile_cat:

By the way, do you know why there are no Manifest files...

Why, yes; I do.

<pontificating_speech> raiagent's overlay layout sets "thin-manifests = true". Enabling thin Manifests forces Portage to checksum only remotely downloaded distfiles (rather than checksumming both local overlay files and remotely downloaded distfiles, the Portage default). Since git already checksums local overlay files, it'd be a bit silly to have both git and Portage checksum these files. Thin Manifests are usually a good thing for github-managed overlays. </pontificating_speech>

As you noticed, the output of ebuild ... manifest is not helpful for overlays enabling thin Manifests. Someone should probably fix that.