From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Fabrice Popineau Newsgroups: gmane.emacs.bugs Subject: bug#22959: Emacs on Windows depends on libwinpthreads Date: Sun, 17 Apr 2016 21:31:31 +0200 Message-ID: References: <87egbj4sbh.fsf@russet.org.uk> <837ffwb8st.fsf@gnu.org> <83shyk9ofg.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a1141bfd2ae5ffd0530b34b09 X-Trace: ger.gmane.org 1460921543 17664 80.91.229.3 (17 Apr 2016 19:32:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 17 Apr 2016 19:32:23 +0000 (UTC) Cc: 22959@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Apr 17 21:32:15 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1arsQW-0002us-Rx for geb-bug-gnu-emacs@m.gmane.org; Sun, 17 Apr 2016 21:32:13 +0200 Original-Received: from localhost ([::1]:50918 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1arsQW-0003Iw-74 for geb-bug-gnu-emacs@m.gmane.org; Sun, 17 Apr 2016 15:32:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34745) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1arsQR-0003F5-5P for bug-gnu-emacs@gnu.org; Sun, 17 Apr 2016 15:32:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1arsQM-0002Nt-58 for bug-gnu-emacs@gnu.org; Sun, 17 Apr 2016 15:32:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:54544) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1arsQM-0002Np-2G for bug-gnu-emacs@gnu.org; Sun, 17 Apr 2016 15:32:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1arsQL-0007gT-RZ for bug-gnu-emacs@gnu.org; Sun, 17 Apr 2016 15:32:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Fabrice Popineau Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 17 Apr 2016 19:32:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22959 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 22959-submit@debbugs.gnu.org id=B22959.146092151829528 (code B ref 22959); Sun, 17 Apr 2016 19:32:01 +0000 Original-Received: (at 22959) by debbugs.gnu.org; 17 Apr 2016 19:31:58 +0000 Original-Received: from localhost ([127.0.0.1]:38648 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1arsQI-0007gC-Fh for submit@debbugs.gnu.org; Sun, 17 Apr 2016 15:31:58 -0400 Original-Received: from mail-oi0-f51.google.com ([209.85.218.51]:36704) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1arsQG-0007fw-DF for 22959@debbugs.gnu.org; Sun, 17 Apr 2016 15:31:56 -0400 Original-Received: by mail-oi0-f51.google.com with SMTP id x201so8050290oif.3 for <22959@debbugs.gnu.org>; Sun, 17 Apr 2016 12:31:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=FILQXxEh1d3QnJcisVcy10UDAphiLRum5fCMv+i76So=; b=kc221rRIuXOnaZvo1hLazqqGz1qUKV0AyinswbOBBCnt8gtY4uU4DdUad6ytg2EaU6 iuXJEn9NRE9CRCLzT0lgyLRzQoJGfxrp8I9es7kyJoJ7AVAqDzD9Byh3ChzQtbHEww8Z YIMIpQIbjww6jGjofG0dyaK6+KfZ9evF6FNT0GPbeKqS/RlKVPdCniwQNTHxSOytHXa9 PjuJxFcJUgjK+L4PEWXClEVV2VoZTtrHnPMfob896uu/PwBOTvsz4RbzyP3UKu3aKaAL lM0JILT35YBMKQsVVTQGJJATCN95k89gvLrMinJ96RmJcbbe5Xdla5TU9F8Y5Z1v/kNh Q/KQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=FILQXxEh1d3QnJcisVcy10UDAphiLRum5fCMv+i76So=; b=jnn4HxLeXY4T6GmVk7YiGXJ4Mi0EV44qkn1Eqr593hGvBBU9VTLNgdZfvzqKE77d6r aSR4XTftnPT7vPY9PW/mVWZssfN/bXyE8sdPuzfnPJ2gXPOC9Ttq1i9JwUJQKinJYR16 39JxxbPQ5J4TEBSvum5EtvvVebWaSgmIiXAHk9I/9IpM29R6kJChVxl5mtSUje5KBHBq Zm78ZTzkJ4sB6NvqL5pzukbnDOGG97kyxEzCCYXCl0b/xYnd6FW0m0G72pwqBFtsTXpj eElrkX+4qy7E8IwgOxYPtXlKJ5IT3GETMII+YGYmuF0YL9Dcad25lY3+ZzUecVYuxpNL lYpw== X-Gm-Message-State: AOPr4FWOi09U/+P+TZtY1VM9TzxqSa/7OYxZWwq/R6i1fhXpftPmWGDkSSrATR9Xse8pjW7PYBRpOGKKWI8Xnw== X-Received: by 10.157.31.35 with SMTP id x32mr14238890otd.145.1460921510549; Sun, 17 Apr 2016 12:31:50 -0700 (PDT) Original-Received: by 10.202.63.70 with HTTP; Sun, 17 Apr 2016 12:31:31 -0700 (PDT) In-Reply-To: <83shyk9ofg.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:116574 Archived-At: --001a1141bfd2ae5ffd0530b34b09 Content-Type: text/plain; charset=UTF-8 I know you have been doing an amazing job at providing carefully configured binary packages for MinGW, but the situation is little bit more messy with MSys2/MingW64. And I don't have time to go the same way you did. Let's do some cleaning then. > > and the dll list is: > > > > /c/Local/Emacs/bin/libasprintf-0.dll* > > Shouldn't be needed. > Agreed, after checking. > > > /c/Local/Emacs/bin/libp11-kit-0.dll* > > You should tell whoever build that GnuTLS to omit libp11-kit, it's > generally useless on Windows, certainly with Emacs. Ok. > > > /c/Local/Emacs/bin/libgnutlsxx-28.dll* > > Shouldn't be required, as long as Emacs is not a C++ program. > Agreed. > /c/Local/Emacs/bin/libcharset-1.dll* > > Agreed > Shouldn't be required. > > > /c/Local/Emacs/bin/libpangoft2-1.0-0.dll* > > /c/Local/Emacs/bin/libgraphite2.dll* > > /c/Local/Emacs/bin/libfontconfig-1.dll* > > /c/Local/Emacs/bin/libfreetype-6.dll* > > Whoever built Cairo didn't take care of disabling features unneeded on > Windows for librsvg. The result is a very fat build of Cairo, for no > good reason. > I have no insight on this. I think cairo is built independently > > > /c/Local/Emacs/bin/libpcre-1.dll* > is required by glib, itself required by cairo-gobject, croco, gdk_pixbuf, gio, gmodule, gobject. > > /c/Local/Emacs/bin/libexpat-1.dll* > Required by fontconfig. > > /c/Local/Emacs/bin/libharfbuzz-0.dll* > Is required by libfreetype-6.dll Which itself is required by libcairo-2.dll > > Are these also from librsvg dependencies? If so, they are just > ballast, AFAIK. > > > /c/Local/Emacs/bin/libfftw3-3.dll* > > Which library needs this one? > > MagickCore > > /c/Local/Emacs/bin/libidn-11.dll* > > Which library needs this one? > > GnuTLS > > /c/Local/Emacs/bin/libstdc++-6.dll* > > Required by graphite > > /c/Local/Emacs/bin/libgcc_s_seh-1.dll* > > Is required by libcairo-2.dll and its dependencies : libfontconfig-1.dll, libpixman-1-0.dll > > /c/Local/Emacs/bin/liblcms2-2.dll* > > Which library needs this? > MagickCore > > /c/Local/Emacs/bin/libtiffxx-5.dll* > > This is for C++ program, AFAIK. > > Agreed, removed. > > /c/Local/Emacs/bin/libgettextpo-0.dll* > > Shouldn't be needed. > > Agreed, removed. > > /c/Local/Emacs/bin/liblqr-1-0.dll* > > What is this library? > > MagickCore > > /c/Local/Emacs/bin/libltdl-7.dll* > > Which library needs this one? > MagickCore Fabrice --001a1141bfd2ae5ffd0530b34b09 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

I know you have been doing an amazing job at providing care= fully configured binary packages
for MinGW, but the situation is = little bit more messy with MSys2/MingW64. And I don't have time
to go the same way you did.

Let's do some c= leaning then.
=C2=A0
> and the dll list is:
>
> /c/Local/Emacs/bin/libasprintf-0.dll*

Shouldn't be needed.

Agreed,= after checking.
=C2=A0

> /c/Local/Emacs/bin/libp11-kit-0.dll*

You should tell whoever build that GnuTLS to omit libp11-kit, it's
generally useless on Windows, certainly with Emacs.

Ok.
=C2=A0
=C2=A0
> /c/Local/Emacs/bin/libgnutlsxx-28.dll*

Shouldn't be required, as long as Emacs is not a C++ program.
=C2=A0
Agreed.=C2=A0

> /c/Local/Emacs/bin/libcharset-1.dll*


Agreed
=C2=A0
Shouldn't be required.

>=C2=A0 /c/Local/Emacs/bin/libpangoft2-1.0-0.dll*
> /c/Local/Emacs/bin/libgraphite2.dll*
> /c/Local/Emacs/bin/libfontconfig-1.dll*
> /c/Local/Emacs/bin/libfreetype-6.dll*

Whoever built Cairo didn't take care of disabling features unneeded on<= br> Windows for librsvg.=C2=A0 The result is a very fat build of Cairo, for no<= br> good reason.

I have no insight on this.= I think cairo is built independently=C2=A0

> /c/Local/Emacs/bin/libpcre-1.dll*

= is required by glib, itself required by cairo-gobject, croco, gdk_pixbuf, g= io, gmodule, gobject.

=C2=A0
> /c/Local/Emacs/bin/libexpat-1.dll*

Required by fontconfig.
=C2=A0
> /c/Local/Emacs/bin/libharfbuzz-0.dll*

<= div>Is required by libfreetype-6.dll
Which itself is required by = libcairo-2.dll
=C2=A0

Are these also from librsvg dependencies?=C2=A0 If so, they are just
ballast, AFAIK.

> /c/Local/Emacs/bin/libfftw3-3.dll*

Which library needs this one?

MagickCore
=C2=A0
>=C2=A0 /c/Local/Emacs/bin/libidn-11.dll*

Which library needs this one?

GnuTLS
=C2=A0
>=C2=A0 /c/Local/Emacs/bin/libstdc++-6.dll*

=C2=A0
Required by graphite
=C2= =A0
> /c/Local/Emacs/bin/libgcc_s_seh-1.dll*

Is required by libcairo-2.dll and its dependencies : = libfontconfig-1.dll, libpixman-1-0.dll

=C2=A0
>=C2=A0 /c/Local/Emacs/bin/liblcms2-2.dll*

Which library needs this?

MagickCore
=C2=A0
> /c/Local/Emacs/bin/libtiffxx-5.dll*

This is for C++ program, AFAIK.

Agreed, removed.
=C2=A0
> /c/Local/Emacs/bin/libgettextpo-0.dll*

Shouldn't be needed.

Agreed, removed.
=C2=A0
> /c/Local/Emacs/bin/liblqr-1-0.dll*

What is this library?


MagickCore
=C2=A0
> /c/Local/Emacs/bin/libltdl-7.dll*

Which library needs this one?

MagickCore

Fabrice
<= /div> --001a1141bfd2ae5ffd0530b34b09--