all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Óscar Fuentes" <ofv@wanadoo.es>
To: help-gnu-emacs@gnu.org
Subject: Re: Emacs for Windows
Date: Sat, 11 Oct 2014 21:40:23 +0200	[thread overview]
Message-ID: <87ppdyl7iw.fsf@wanadoo.es> (raw)
In-Reply-To: 83mw928sd0.fsf@gnu.org

Eli Zaretskii <eliz@gnu.org> writes:

>> AFAIK, they provide sources for those packages that belong to them (i.e.
>> MSYS2 proper). For the rest, the sources are retrieved from their
>> official sites (i.e. gcc) and then local pactches are applied, if any
>> exists. This is automated by the Arch Build System (abs for short, that
>> was ported to MSYS2.) Any user can retrieve a package's source code by
>> using certain abs commands. The local patches are readily available from
>> GitHub. If you wish to build the package instead of intalling the
>> binaries, then retrieving the sources, applying the local paches,
>> building and installing is nicely automated by abs.
>
> Fhew!  And where does one learn about this procedure?

Somewhere on the Arch documentation about abs/pacman/etc. I don't know
how good it is, but I'll investigate it because I'll like to contribute
some packages. Seeing how many people is contributing, it must not be
that hard to learn. You can use the PKGBUILD (the build recipe used by
abs) of a similar package as a template too.

> Btw, I reviewed a few patches they have in github for a couple of
> packages with which I'm familiar, and either the patches available
> through github are not all the story (e.g., perhaps they use some
> additional non-default replacements for standard library functions),
> or their ports are crippled.  Examples include Guile (which needs to
> be heavily patched to work on Windows) and Hunspell (likewise, and one
> of the bugs affects Unix as well).

Guile is not available as a native package. It depends on the MSYS2
Posix layer. The PKGBUILD and patches are here:

https://github.com/Alexpux/MSYS2-packages/tree/master/guile

Hunspell es available as a native package:

$ pacman -Ss hunspe
mingw32/mingw-w64-i686-hunspell 1.3.3-2
    Spell checker and morphological analyzer library and program (mingw-w64)
mingw64/mingw-w64-x86_64-hunspell 1.3.3-2
    Spell checker and morphological analyzer library and program (mingw-w64)

but there are some reports about crashes on the bug tracker. Maybe they
are just discovering the issues you mention.

> I really wonder whether they run the test suite for each package
> before they release it.  Guile, for example, fails the tests miserably
> on Windows if not patched.
>
> In addition, at least one package -- Bison 3.0.2 -- has no patches at
> all, and no source distro under "Sources", so either it is buggy, or
> the patches used to build the binaries were not posted.

bison is available as a MSYS2 package and as a MinGW-w64 package (the
"native" counterpart.) For the later, the recipe and patches are here:

https://github.com/Alexpux/MINGW-packages/tree/master/mingw-w64-bison

>> AFAIU this violates the requirement of obtaining the source code from
>> the binary code distributor.
>
> Indeed.
>
> Btw, strangely enough, they don't have some very important packages,
> like Gawk, Flex, and m4, to name just a few.  Strange collection.

m4 is available as MSYS2 and MinGW-w64 packages:

$ pacman -Ss m4
mingw32/mingw-w64-i686-m4 1.4.17-1
    The GNU macro processor (mingw-w64)
mingw64/mingw-w64-x86_64-m4 1.4.17-1
    The GNU macro processor (mingw-w64)
msys/m4 1.4.17-2 (base-devel) [instalado]
    The GNU macro processor

Gawk as a MSYS2 package:

$ pacman -Ss gawk
msys/gawk 4.1.1-1 (base base-devel) [instalado]
    GNU version of awk

Same for flex.

Please note that the project is a just months old and there is no
central authority for ensuring that the submitted build recipes are
sound. If it builds, it is accepted and then they wait for bug reports.
If the package is too broken, it is retracted until someone fixes it.




  reply	other threads:[~2014-10-11 19:40 UTC|newest]

Thread overview: 82+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-09  9:43 Emacs for Windows Alexander Shukaev
2014-10-09 18:07 ` H. Dieter Wilhelm
2014-10-09 22:37 ` E Sabof
2014-10-10  1:07   ` Pascal J. Bourguignon
2014-10-10  2:49     ` E Sabof
2014-10-10  3:13       ` John Mastro
2014-10-10  3:32       ` Glenn Morris
2014-10-10  6:36     ` Eli Zaretskii
2014-10-10  6:24   ` Eli Zaretskii
2014-10-10 12:36     ` Stefan Monnier
2014-10-10 12:49       ` Eli Zaretskii
2014-10-10 13:48         ` Stefan Monnier
2014-10-10 14:16           ` David Engster
2014-10-10 15:47             ` Eli Zaretskii
2014-10-10 16:04               ` David Engster
2014-10-10 16:12                 ` Eli Zaretskii
2014-10-10 16:20                   ` David Engster
2014-10-10 16:23                     ` David Engster
2014-10-10 18:09                       ` Eli Zaretskii
2014-10-10 19:13                         ` David Engster
2014-10-10 20:01                           ` Eli Zaretskii
2014-10-19 16:40                 ` Noam Postavsky
2014-10-11 15:46               ` Robert Thorpe
2014-10-11 16:02                 ` Eli Zaretskii
2014-10-11 16:22                   ` Óscar Fuentes
2014-10-11 20:14                     ` Robert Thorpe
2014-10-10 15:07           ` Eli Zaretskii
2014-10-10 17:33             ` Stefan Monnier
2014-10-10 18:22               ` Eli Zaretskii
2014-10-10 18:34                 ` Stefan Monnier
2014-10-10 19:56                   ` Eli Zaretskii
2014-10-11 13:26                     ` Stefan Monnier
2014-10-11 14:18                       ` Eli Zaretskii
2014-10-11 14:44                         ` David Engster
2014-10-11 15:59                           ` Eli Zaretskii
2014-10-11 16:25                             ` David Engster
2014-10-11 16:41                               ` Óscar Fuentes
2014-10-11 16:50                               ` Eli Zaretskii
2014-10-11 17:19                                 ` David Engster
2014-10-11 17:38                                   ` David Engster
2014-10-11 17:49                                     ` Eli Zaretskii
2014-10-11 17:47                                   ` Eli Zaretskii
2014-10-11 17:58                                     ` David Engster
2014-10-10 15:44           ` Glenn Morris
2014-10-10 15:54             ` Eli Zaretskii
2014-10-10 18:34             ` Grant Rettke
2014-10-10 18:46             ` H. Dieter Wilhelm
2014-10-11 15:38           ` Óscar Fuentes
2014-10-11 15:53             ` Eli Zaretskii
2014-10-11 16:00               ` Óscar Fuentes
2014-10-11 16:04                 ` Eli Zaretskii
2014-10-11 16:18                   ` Óscar Fuentes
2014-10-11 16:48                     ` Eli Zaretskii
2014-10-11 19:40                       ` Óscar Fuentes [this message]
2014-10-12  6:11                         ` Eli Zaretskii
2014-10-12 11:53                           ` Óscar Fuentes
2014-10-12  9:09                         ` Eli Zaretskii
2014-10-12 12:13                           ` Óscar Fuentes
2014-10-12 13:41                             ` Eli Zaretskii
2014-10-10 20:38     ` E Sabof
2014-10-10 23:57       ` John Mastro
2014-10-11  2:05         ` E Sabof
2014-10-11  6:43       ` Eli Zaretskii
2014-10-12  9:09         ` E Sabof
     [not found]     ` <mailman.10884.1412944630.1147.help-gnu-emacs@gnu.org>
2014-10-11 14:55       ` Mirko
2014-10-10  2:08 ` Grant Rettke
2014-10-21 19:38 ` H. Dieter Wilhelm
     [not found] <mailman.10793.1412858774.1147.help-gnu-emacs@gnu.org>
2014-10-15  4:52 ` Bug Dout
2014-10-15 13:23 ` tux-
     [not found]   ` <CAKu-7Wzt6kD83or9xcSgSXi3Lqsc81fpvjq6RLUGZri4oZPT1Q@mail.gmail.com>
2014-10-15 15:23     ` Alexander Shukaev
2014-10-15 15:50       ` Thien-Thi Nguyen
2014-10-15 15:52         ` Alexander Shukaev
2014-10-15 21:54       ` John Mastro
     [not found]     ` <mailman.11194.1413386616.1147.help-gnu-emacs@gnu.org>
2014-10-21 16:26       ` Jason Rumney
2014-10-21 17:58         ` John Mastro
2014-11-05 23:57           ` Nikolay Kudryavtsev
2014-11-06  1:32             ` John Mastro
2014-11-06  1:36               ` John Mastro
2014-11-20  5:30                 ` Nikolay Kudryavtsev
     [not found]                 ` <mailman.14138.1416461463.1147.help-gnu-emacs@gnu.org>
2014-11-30 17:27                   ` Bug Dout
2014-11-30 20:38                     ` Eli Zaretskii
2014-11-06  1:56               ` Sampath Weerasinghe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ppdyl7iw.fsf@wanadoo.es \
    --to=ofv@wanadoo.es \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.