Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 538684 - app-shells/zsh should install header files
Summary: app-shells/zsh should install header files
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Tim Harder
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2015-02-03 16:21 UTC by ZyX
Modified: 2015-06-21 05:08 UTC (History)
1 user (show)

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


Attachments
zsh-5.0.7-r2.ebuild.diff (zsh-5.0.7-r2.ebuild.diff,740 bytes, patch)
2015-02-03 16:21 UTC, ZyX
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description ZyX 2015-02-03 16:21:42 UTC
Created attachment 395458 [details, diff]
zsh-5.0.7-r2.ebuild.diff

When zsh package is being installed it lacks headers that are necessary for compiling zsh third-party modules (I currently know only of one: my zpython). This patch adds necessary headers, putting them into /usr/include/zsh. It is assumed that they will be inluded using

    #define MODULE
    #include <zsh/zsh.mdh>

in place where module present in zsh distribution will use

    #include "{module_name}.mdh"

. Additionally it installs makepro.awk script to /usr/share/zsh and aczshoot.m4 to /usr/share/aclocal. I have actually no idea what can they be useful for (zpython builds fine without both), but in Debian zsh-dev maintainers install them.

I hope this patch and a fix to debian zsh-dev package will attract more developers to writing zsh third-party modules.
Comment 1 Tim Harder gentoo-dev 2015-06-21 05:08:24 UTC
Headers are now installed in 5.0.8, makepro.awk and the m4 file aren't as they seem somewhat pointless to install since most external modules using autotools would probably just bundle them if they used them.