zsh-workers
 help / color / mirror / code / Atom feed
* Zpython inclusion
@ 2015-02-02 19:34 ZyX
  2015-02-03 12:56 ` Axel Beckert
  0 siblings, 1 reply; 5+ messages in thread
From: ZyX @ 2015-02-02 19:34 UTC (permalink / raw)
  To: Peter Stephenson, zsh-workers

02.02.2015, 20:34, "Peter Stephenson" <p.stephenson@samsung.com>:
> On Mon, 2 Feb 2015 08:18:29 +0300
> ZyX <kp-pav@yandex.ru> wrote:
>>  if you want to consider merging https://bitbucket.org/ZyX_I/zpython I
>>  can convert it back to a patch it used to be once. I introduced it to
>>  a list, but it did not get much attention.
>
> It's clearly a useful addition but I think it would be better to keep it
> out of the main source to avoid making that depend (even optionally) on
> Python; this is potentially complex for people who don't need it and
> subject to change in ways not necessarily tied to changes in zsh, and we
> have enough maintenance headaches in the main code that it's nice to
> have something that actually does work as an add-on :-)

The big problem with zpython is that nobody is actually providing the necessary headers. I only saw [zsh-dev][1] package in debian-based distribution, but I failed to find any deb-src package which depends on it. The issue with this package is that it installs copied zsh headers, but `zsh.h` is quite useless without defines from `config.h`; I wanted to see how they cope with the problem.

I can live with a custom zsh ebuild. I can probably push changes to the Gentoo upstream (have not actually tried, but I guess I need to). But I can’t fix all the other distributions. Currently zpython provides an option to build itself using zsh built in its own repository which should be convenient enough for packaging (in any case zsh needs to be built first) in binary distributions, but not for users willing to compile it themselves (no usable headers out there) or source-based distributions.

Using separate repository just for zpython was chosen because I neither like constant rebasing nor constant merging with upstream; I used to perform the former prior to that.

[1]: https://packages.debian.org/search?keywords=zsh-dev&searchon=names&exact=1&suite=all&section=all

>
> It would be sensible to provide pointers in the main distribution,
> though.
>
> pws


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Zpython inclusion
  2015-02-02 19:34 Zpython inclusion ZyX
@ 2015-02-03 12:56 ` Axel Beckert
  2015-02-03 16:24   ` ZyX
  0 siblings, 1 reply; 5+ messages in thread
From: Axel Beckert @ 2015-02-03 12:56 UTC (permalink / raw)
  To: zsh-workers

Hi,

On Mon, Feb 02, 2015 at 10:34:15PM +0300, ZyX wrote:
> The big problem with zpython is that nobody is actually providing
> the necessary headers. I only saw [zsh-dev][1] package in
> debian-based distribution, but I failed to find any deb-src package
> which depends on it.

Indeed. There are only two packages which build-depend on zsh in
Debian, but they build-depend on the package "zsh", not on
"zsh-dev" (found with "ara build-depends:/zsh/"):

draai - Command-line music player for MPD
zshdb - debugger for Z-Shell scripts

I assume it's rather their test suite which depends on
zsh than a compile-time dependency.

> The issue with this package is that it installs copied zsh headers,
> but `zsh.h` is quite useless without defines from `config.h`;

I wasn't aware that such an issue exists. I'd be happy if you could
write a Debian bug report about that (maybe with a little bit more
details about what you expect). That way we don't bother this list
with Debian-specific packaging issues and keeping track of that issue
will be easier in Debian. (If you're not familiar with Debian's bug
reporting, I'm happy to create the bug report for you.)

	Regards, Axel (with his Debian Zsh Team hat on :-)
-- 
 ,''`.  |  Axel Beckert <abe@debian.org>, http://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5
  `-    |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Zpython inclusion
  2015-02-03 12:56 ` Axel Beckert
@ 2015-02-03 16:24   ` ZyX
  2015-02-03 16:28     ` ZyX
  2015-02-03 16:36     ` Axel Beckert
  0 siblings, 2 replies; 5+ messages in thread
From: ZyX @ 2015-02-03 16:24 UTC (permalink / raw)
  To: Axel Beckert, zsh-workers

03.02.2015, 16:04, "Axel Beckert" <abe@debian.org>:
> Hi,
>
> On Mon, Feb 02, 2015 at 10:34:15PM +0300, ZyX wrote:
>>  The big problem with zpython is that nobody is actually providing
>>  the necessary headers. I only saw [zsh-dev][1] package in
>>  debian-based distribution, but I failed to find any deb-src package
>>  which depends on it.
>
> Indeed. There are only two packages which build-depend on zsh in
> Debian, but they build-depend on the package "zsh", not on
> "zsh-dev" (found with "ara build-depends:/zsh/"):
>
> draai - Command-line music player for MPD
> zshdb - debugger for Z-Shell scripts
>
> I assume it's rather their test suite which depends on
> zsh than a compile-time dependency.
>>  The issue with this package is that it installs copied zsh headers,
>>  but `zsh.h` is quite useless without defines from `config.h`;
>
> I wasn't aware that such an issue exists. I'd be happy if you could
> write a Debian bug report about that (maybe with a little bit more
> details about what you expect). That way we don't bother this list
> with Debian-specific packaging issues and keeping track of that issue
> will be easier in Debian. (If you're not familiar with Debian's bug
> reporting, I'm happy to create the bug report for you.)

I have written a bug report and added you in X-Debbugs-CC (and in CC just in case) in message body. Hope did not mess anything up, Web interface would be easier to use.

>
>         Regards, Axel (with his Debian Zsh Team hat on :-)
> --
>  ,''`.  |  Axel Beckert <abe@debian.org>, http://people.debian.org/~abe/
> : :' :  |  Debian Developer, ftp.ch.debian.org Admin
> `. `'   |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5
>   `-    |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Zpython inclusion
  2015-02-03 16:24   ` ZyX
@ 2015-02-03 16:28     ` ZyX
  2015-02-03 16:36     ` Axel Beckert
  1 sibling, 0 replies; 5+ messages in thread
From: ZyX @ 2015-02-03 16:28 UTC (permalink / raw)
  To: Axel Beckert, zsh-workers

03.02.2015, 19:24, "ZyX" <kp-pav@yandex.ru>:
> 03.02.2015, 16:04, "Axel Beckert" <abe@debian.org>:
>>  Hi,
>>
>>  On Mon, Feb 02, 2015 at 10:34:15PM +0300, ZyX wrote:
>>>   The big problem with zpython is that nobody is actually providing
>>>   the necessary headers. I only saw [zsh-dev][1] package in
>>>   debian-based distribution, but I failed to find any deb-src package
>>>   which depends on it.
>>  Indeed. There are only two packages which build-depend on zsh in
>>  Debian, but they build-depend on the package "zsh", not on
>>  "zsh-dev" (found with "ara build-depends:/zsh/"):
>>
>>  draai - Command-line music player for MPD
>>  zshdb - debugger for Z-Shell scripts
>>
>>  I assume it's rather their test suite which depends on
>>  zsh than a compile-time dependency.
>>>   The issue with this package is that it installs copied zsh headers,
>>>   but `zsh.h` is quite useless without defines from `config.h`;
>>  I wasn't aware that such an issue exists. I'd be happy if you could
>>  write a Debian bug report about that (maybe with a little bit more
>>  details about what you expect). That way we don't bother this list
>>  with Debian-specific packaging issues and keeping track of that issue
>>  will be easier in Debian. (If you're not familiar with Debian's bug
>>  reporting, I'm happy to create the bug report for you.)
>
> I have written a bug report and added you in X-Debbugs-CC (and in CC just in case) in message body. Hope did not mess anything up, Web interface would be easier to use.

Also https://bugs.gentoo.org/show_bug.cgi?id=538684.

>>          Regards, Axel (with his Debian Zsh Team hat on :-)
>>  --
>>   ,''`.  |  Axel Beckert <abe@debian.org>, http://people.debian.org/~abe/
>>  : :' :  |  Debian Developer, ftp.ch.debian.org Admin
>>  `. `'   |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5
>>    `-    |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Zpython inclusion
  2015-02-03 16:24   ` ZyX
  2015-02-03 16:28     ` ZyX
@ 2015-02-03 16:36     ` Axel Beckert
  1 sibling, 0 replies; 5+ messages in thread
From: Axel Beckert @ 2015-02-03 16:36 UTC (permalink / raw)
  To: ZyX; +Cc: zsh-workers

Hi,

On Tue, Feb 03, 2015 at 07:24:06PM +0300, ZyX wrote:
> 03.02.2015, 16:04, "Axel Beckert" <abe@debian.org>:
> > > The issue with this package is that it installs copied zsh headers,
> > > but `zsh.h` is quite useless without defines from `config.h`;
> >
> > I wasn't aware that such an issue exists. I'd be happy if you could
> > write a Debian bug report about that (maybe with a little bit more
> > details about what you expect). That way we don't bother this list
> > with Debian-specific packaging issues and keeping track of that issue
> > will be easier in Debian. (If you're not familiar with Debian's bug
> > reporting, I'm happy to create the bug report for you.)
> 
> I have written a bug report

Thanks! Much appreciated.

> and added you in X-Debbugs-CC (and in CC just in case) in message
> body. Hope did not mess anything up,

Worked fine: https://bugs.debian.org/776964

> Web interface would be easier to use.

I definitely prefer mail for such things. But that's probably a matter
of taste. :-)

		Kind regards, Axel
-- 
/~\  Plain Text Ribbon Campaign                   | Axel Beckert
\ /  Say No to HTML in E-Mail and News            | abe@deuxchevaux.org  (Mail)
 X   See http://www.nonhtmlmail.org/campaign.html | abe@noone.org (Mail+Jabber)
/ \  I love long mails: http://email.is-not-s.ms/ | http://abe.noone.org/ (Web)


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-02-03 16:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-02 19:34 Zpython inclusion ZyX
2015-02-03 12:56 ` Axel Beckert
2015-02-03 16:24   ` ZyX
2015-02-03 16:28     ` ZyX
2015-02-03 16:36     ` Axel Beckert

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).