unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Juan José García-Ripoll" <juanjose.garciaripoll@gmail.com>
To: emacs-devel@gnu.org
Subject: Re: Process to build standalone Emacs + deps in Windows
Date: Wed, 25 Mar 2020 18:22:47 +0100	[thread overview]
Message-ID: <86sghw8i3c.fsf@csic.es> (raw)
In-Reply-To: 83imis9xjb.fsf@gnu.org

[-- Attachment #1: Type: text/plain, Size: 1025 bytes --]

Eli Zaretskii <eliz@gnu.org> writes:
>> Thanks. So far I have been using emacs-27 w/o them. But maybe it is
>> because I built emacs before HarfBuzz was added to build-dep*.py? In any
>> case, I can remove it.
>
> It could be that librsvg uses Fontconfig, I don't know.  (In my builds
> of optional libraries, I've succeeded to avoid Fontconfig being
> compiled in, but MSYS2 generally compile in everything, whether needed
> or not.)

The new script shows the implicit dependencies
  rsvg -> Pango
     Pango -> Cairo and Fontconfig
     Cairo -> Fontconfig

It seems therefore a very much confined dependency that can be tested. TBH, I
have not had a look at SVG files in a few weeks, so it may well be that I broke
something by removing fc-*.exe locally (not in the python script). I will
check.

Incidentally, here goes a patch to allow build-zips.sh just build zips (with
build-zips.sh -z) and avoid building the installer.

Cheers

-- 
Juan José García Ripoll
http://juanjose.garciaripoll.com
http://quinfog.hbar.es


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: build-zips.diff --]
[-- Type: text/x-patch, Size: 1331 bytes --]

diff --git a/admin/nt/dist-build/build-zips.sh b/admin/nt/dist-build/build-zips.sh
index 8eaa3a9..1342604 100755
--- a/admin/nt/dist-build/build-zips.sh
+++ b/admin/nt/dist-build/build-zips.sh
@@ -102,6 +102,7 @@
 SNAPSHOT=
 CACHE=

+INSTALLER=1
 BUILD=1
 BUILD_32=1
 BUILD_64=1
@@ -110,7 +111,7 @@ CONFIG=
 CFLAGS="-O2 -static"
 INSTALL_TARGET="install-strip"

-while getopts "36gb:hnsiV:" opt; do
+while getopts "36gb:hnsizV:" opt; do
   case $opt in
     3)
         BUILD_32=1
@@ -152,8 +153,12 @@ INSTALL_TARGET=
         echo "  -6 64 bit build only"
         echo "  -g git update and worktree only"
         echo "  -i build installer only"
+        echo "  -z only build zip files"
         exit 0
         ;;
+    z)
+        INSTALLER=0
+        ;;
     \?)
         echo "Invalid option: -$OPTARG" >&2
         ;;
@@ -223,7 +228,10 @@ OF_VERSION=
     then
         build_zip x86_64 /mingw64/lib/pkgconfig x86_64-w64-mingw32
     fi
-    build_installer x86_64
+    if (($INSTALLER))
+    then
+        build_installer x86_64
+    fi
 fi

 ## Do the 64 bit build first, because we reset some environment
@@ -234,5 +242,8 @@ OF_VERSION=
     then
         build_zip i686 /mingw32/lib/pkgconfig i686-w64-mingw32
     fi
-    build_installer i686
+    if (($INSTALLER))
+    then
+        build_installer i686
+    fi
 fi

  reply	other threads:[~2020-03-25 17:22 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-22 13:03 Process to build standalone Emacs + deps in Windows Juan José García Ripoll
2020-03-22 13:59 ` Eli Zaretskii
2020-03-22 14:38   ` Juan José García-Ripoll
2020-03-22 17:25     ` Eli Zaretskii
2020-03-22 18:54     ` Phillip Lord
2020-03-22 19:35       ` Eli Zaretskii
2020-03-22 21:02         ` Phillip Lord
2020-03-23  3:23           ` Eli Zaretskii
2020-03-23 23:36             ` Phillip Lord
2020-03-24  3:27               ` Eli Zaretskii
2020-03-24 18:21                 ` Phillip Lord
2020-03-25 12:50       ` Juan José García-Ripoll
2020-03-25 14:43         ` Juan José García-Ripoll
2020-03-25 14:54           ` Juan José García-Ripoll
2020-03-25 15:33             ` Eli Zaretskii
2020-03-25 16:41               ` Juan José García-Ripoll
2020-03-25 17:03                 ` Eli Zaretskii
2020-03-25 17:22                   ` Juan José García-Ripoll [this message]
2020-03-25 17:34                     ` Eli Zaretskii
2020-03-25 22:40                     ` Phillip Lord
2020-03-26 13:16                       ` Juan José García-Ripoll
2020-03-26 14:32                         ` Eli Zaretskii
2020-03-26 22:20                         ` Phillip Lord
2020-03-25 22:34             ` Phillip Lord
2020-03-26  3:49               ` Stefan Monnier
2020-03-26 13:19                 ` Juan José García-Ripoll
2020-03-26 22:16                 ` Phillip Lord
2020-03-26 13:24               ` Juan José García-Ripoll
2020-03-26 14:37                 ` Eli Zaretskii
2020-03-28 16:01                   ` Juan José García-Ripoll
2020-03-28 16:23                     ` Eli Zaretskii
2020-03-28 19:36                     ` Phillip Lord
2020-03-28 19:41                       ` Eli Zaretskii
2020-03-26 22:28                 ` Phillip Lord
2020-03-25 15:25           ` Eli Zaretskii
2020-03-22 18:58     ` Phillip Lord
2020-03-22 18:32 ` phillip.lord

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=86sghw8i3c.fsf@csic.es \
    --to=juanjose.garciaripoll@gmail.com \
    --cc=emacs-devel@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 public inbox

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

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 read-only IMAP folder(s) and NNTP newsgroup(s).