[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Process to build standalone Emacs + deps in Windows
From: |
Juan José García-Ripoll |
Subject: |
Re: Process to build standalone Emacs + deps in Windows |
Date: |
Wed, 25 Mar 2020 18:22:47 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (windows-nt) |
Eli Zaretskii <address@hidden> 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
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
- Re: Process to build standalone Emacs + deps in Windows, (continued)
- Re: Process to build standalone Emacs + deps in Windows, Juan José García-Ripoll, 2020/03/25
- Re: Process to build standalone Emacs + deps in Windows, Juan José García-Ripoll, 2020/03/25
- Re: Process to build standalone Emacs + deps in Windows, Juan José García-Ripoll, 2020/03/25
- Re: Process to build standalone Emacs + deps in Windows, Eli Zaretskii, 2020/03/25
- Re: Process to build standalone Emacs + deps in Windows, Juan José García-Ripoll, 2020/03/25
- Re: Process to build standalone Emacs + deps in Windows, Eli Zaretskii, 2020/03/25
- Re: Process to build standalone Emacs + deps in Windows,
Juan José García-Ripoll <=
- Re: Process to build standalone Emacs + deps in Windows, Eli Zaretskii, 2020/03/25
- Re: Process to build standalone Emacs + deps in Windows, Phillip Lord, 2020/03/25
- Re: Process to build standalone Emacs + deps in Windows, Juan José García-Ripoll, 2020/03/26
- Re: Process to build standalone Emacs + deps in Windows, Eli Zaretskii, 2020/03/26
- Re: Process to build standalone Emacs + deps in Windows, Phillip Lord, 2020/03/26
- Re: Process to build standalone Emacs + deps in Windows, Phillip Lord, 2020/03/25
- Re: Process to build standalone Emacs + deps in Windows, Stefan Monnier, 2020/03/25
- Re: Process to build standalone Emacs + deps in Windows, Juan José García-Ripoll, 2020/03/26
- Re: Process to build standalone Emacs + deps in Windows, Phillip Lord, 2020/03/26
- Re: Process to build standalone Emacs + deps in Windows, Juan José García-Ripoll, 2020/03/26