[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd] 141/156: contrib/make-dist.sh: added use of zopfli if av
From: |
gnunet |
Subject: |
[libmicrohttpd] 141/156: contrib/make-dist.sh: added use of zopfli if available |
Date: |
Sun, 28 May 2023 17:53:14 +0200 |
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to tag v0.9.77
in repository libmicrohttpd.
commit 5566a632cb9fbb3c43d08802ac364e939675b914
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Wed May 24 21:01:39 2023 +0300
contrib/make-dist.sh: added use of zopfli if available
---
contrib/make-dist.sh | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/contrib/make-dist.sh b/contrib/make-dist.sh
index 41918973..91a20ab9 100755
--- a/contrib/make-dist.sh
+++ b/contrib/make-dist.sh
@@ -84,11 +84,22 @@ echo '** Patched build system ready.'
echo ''
# Build the configure and the related files with patches
+
+have_command()
+{
+ command -v "$1" >/dev/null 2>&1
+}
+
echo ''
echo '*** Building dist tarball...'
echo ''
./configure || exit 7
-make dist || exit 7
+if have_command zopfli; then
+ make dist-custm2 'ARC_CMD=zopfli -v --gzip --i15' 'ARC_EXT=tar.gz' || exit
7
+else
+ make dist || exit 7
+ echo '* zopfli is not installed, tarball size is suboptimal.'
+fi
echo ''
echo '** Dist tarball ready.'
echo ''
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [libmicrohttpd] 138/156: Fixed compiler warning on x32, (continued)
- [libmicrohttpd] 138/156: Fixed compiler warning on x32, gnunet, 2023/05/28
- [libmicrohttpd] 78/156: Added tests with single and double folded header, gnunet, 2023/05/28
- [libmicrohttpd] 110/156: digest auth: fixed parallel access to the hash table, gnunet, 2023/05/28
- [libmicrohttpd] 114/156: examples/largepost.c: fixed code style, gnunet, 2023/05/28
- [libmicrohttpd] 125/156: .gitignore: force include all *.{c,h} files, gnunet, 2023/05/28
- [libmicrohttpd] 113/156: examples/largepost.c: fixed caseless method match, gnunet, 2023/05/28
- [libmicrohttpd] 129/156: Detect sysctl() symbols in configure, gnunet, 2023/05/28
- [libmicrohttpd] 98/156: .gitignore: added universal patter to ignore test binaries, gnunet, 2023/05/28
- [libmicrohttpd] 140/156: Added support for custom command for tarball compression, gnunet, 2023/05/28
- [libmicrohttpd] 143/156: Fixed compiler warning when built without poll() support, gnunet, 2023/05/28
- [libmicrohttpd] 141/156: contrib/make-dist.sh: added use of zopfli if available,
gnunet <=
- [libmicrohttpd] 142/156: daemon.c: redesigned code for clarity and formatting, gnunet, 2023/05/28
- [libmicrohttpd] 144/156: Avoided potential compiler warnings, gnunet, 2023/05/28
- [libmicrohttpd] 149/156: Removed Public Domain base64 decoding files, gnunet, 2023/05/28
- [libmicrohttpd] 151/156: ChangeLog: updated, gnunet, 2023/05/28
- [libmicrohttpd] 152/156: W32 VS project: reverted to standard arches names, gnunet, 2023/05/28
- [libmicrohttpd] 147/156: Added macro for base64 decoded size, gnunet, 2023/05/28
- [libmicrohttpd] 156/156: Released GNU libmicrohttpd 0.9.77, gnunet, 2023/05/28
- [libmicrohttpd] 146/156: test_str_base64: added test for base64 decoding, gnunet, 2023/05/28
- [libmicrohttpd] 150/156: test_basicauth: added new test, gnunet, 2023/05/28
- [libmicrohttpd] 154/156: autoinit_funcs.h: fixed warning on MSVC, gnunet, 2023/05/28