From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#42844: 27.1; Emacs 27.1: SVG file not rendered as image Date: Wed, 19 Aug 2020 21:52:12 +0300 Message-ID: <83mu2qcvtv.fsf@gnu.org> References: <72cb318c-0bc9-eb79-c999-8100c3038c66@gmail.com> <83o8ncjiqn.fsf@gnu.org> <878seao7qa.fsf@killashandra.ballybran.fr> <4ded3731fdfd2acb93c1dce7a83f6410@russet.org.uk> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16228"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 42844@debbugs.gnu.org, gbiotti@gmail.com, pierre.techoueyres@free.fr To: phillip.lord@russet.org.uk Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Aug 19 20:53:10 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k8TCw-00047p-Cw for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 19 Aug 2020 20:53:10 +0200 Original-Received: from localhost ([::1]:53932 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k8TCv-0000Hg-FP for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 19 Aug 2020 14:53:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37692) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k8TCo-0000Gr-Ee for bug-gnu-emacs@gnu.org; Wed, 19 Aug 2020 14:53:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57682) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k8TCo-0004st-5m for bug-gnu-emacs@gnu.org; Wed, 19 Aug 2020 14:53:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k8TCo-00024m-2L for bug-gnu-emacs@gnu.org; Wed, 19 Aug 2020 14:53:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 19 Aug 2020 18:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42844 X-GNU-PR-Package: emacs Original-Received: via spool by 42844-submit@debbugs.gnu.org id=B42844.15978631527943 (code B ref 42844); Wed, 19 Aug 2020 18:53:02 +0000 Original-Received: (at 42844) by debbugs.gnu.org; 19 Aug 2020 18:52:32 +0000 Original-Received: from localhost ([127.0.0.1]:40995 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k8TCK-000243-Hs for submit@debbugs.gnu.org; Wed, 19 Aug 2020 14:52:32 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:55472) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k8TCH-00023p-KY for 42844@debbugs.gnu.org; Wed, 19 Aug 2020 14:52:30 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:54707) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k8TCB-0004p7-EA; Wed, 19 Aug 2020 14:52:23 -0400 Original-Received: from [176.228.60.248] (port=4770 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1k8TCA-0007Sa-Qh; Wed, 19 Aug 2020 14:52:23 -0400 In-Reply-To: <4ded3731fdfd2acb93c1dce7a83f6410@russet.org.uk> (phillip.lord@russet.org.uk) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:185650 Archived-At: > Date: Wed, 19 Aug 2020 19:33:26 +0100 > From: phillip.lord@russet.org.uk > Cc: Eli Zaretskii , 42844@debbugs.gnu.org, gbiotti@gmail.com > > Pretty sure all of this stems from 61c2183a440. I dropped using pactree > and used pacman directly to determine dependencies. I also exclude glib2 > as a dependency hence the problem. If I include this, we go back to > getting python and half the of msys2 included in the download bundle. Too bad MSYS2 use such a "maximalistic" approach to dependencies. > I guess for Emacs-27 I should just include glib2 and be exclude so of > its dependencies (gettext and python probably). Something like that, yes. > The question is whether to do this for Emacs-27.1 or 27.2. I'd prefer 27.1, of course, if you can afford working on this soon enough. Because 27.2 is at least a couple of months away. > For Emacs-28, I think I need a better dependency mechanism than looking > at msys2, perhaps based around the shell script that was sent earlier, > or an automated (or horror manual) use of dependency walker. If you have Binutils installed (which you must, since you build Emacs), you can find dependencies by recursive application of objdump. E.g., the following command will show all the DLLs of all the binaries in a directory: objdump -p *.exe *.dll | fgrep "DLL Name:" | gawk " {print $3, $4, $5}" | sort -u You need to rerun this each time you add one or more DLLs to the soup, until all the DLLs you see in the list are present in the directory.