Sébastien Helleu
244ba50841
core: fix test of Debian patches when there are no patches
2024-09-08 09:26:04 +02:00
Sébastien Helleu
ccfe1f2263
core: fix detection of libgcrypt ≥ 1.11 (debian #1071960 )
...
Use pkg-config to detect libgcrypt, since command `libgcrypt-config` is not
available any more.
Remove patches for Debian/Raspbian Buster and Ubuntu Bionic: detection of
libgcrypt don't work any more with version 1.8.4 on Debian Buster and 1.8.1 on
Ubuntu Bionic (both versions don't provide the file `libgcrypt.pc`).
2024-09-08 09:09:53 +02:00
Sébastien Helleu
e0f096abe6
debian: add symbolic link weechat_raspbian_buster.patch pointing to Debian Buster patch
2023-01-06 13:12:59 +01:00
Sébastien Helleu
3c65bc6831
core: rename script build-test.sh to build_test.sh
2023-01-05 08:05:04 +01:00
Sébastien Helleu
db81c07e1f
core: rename script build-debian.sh to build_debian.sh
2023-01-05 08:03:12 +01:00
Sébastien Helleu
30ad9ca62d
core: rename script git-version.sh to set_git_version.sh
2023-01-05 08:01:48 +01:00
Sébastien Helleu
c7f5cd462f
core: add message after checking Curl symbols: "all good" or number of errors
2023-01-05 07:48:08 +01:00
Sébastien Helleu
bcba2d4d7c
core: add example with Curl repository cloned locally
2023-01-05 07:43:01 +01:00
Sébastien Helleu
f43efe5a65
core: add script check_scripts.sh
...
This script is now used in CI to check all shell scripts (*.sh) and Python
scripts (*.py) that are in git repository.
Tools used:
- shell scripts: shellcheck
- Python scripts: flake8 + pylint + bandit
2023-01-04 22:45:00 +01:00
Sébastien Helleu
8da3884afc
core: add script check_curl_symbols.py
...
This script is used to check Curl symbols defined in WeeChat vs exposed Curl
symbols.
Usage:
curl https://raw.githubusercontent.com/curl/curl/master/docs/libcurl/symbols-in-versions | ./tools/check_curl_symbols.py
2023-01-04 22:44:14 +01:00
Sébastien Helleu
c52d630f82
core: remove useless "exit 0"
...
This fixes the following shellcheck error:
SC2317 (info): Command appears to be unreachable. Check usage (or ignore if
invoked indirectly).
2023-01-04 22:23:33 +01:00
Sébastien Helleu
356028ee87
core: double quote $JOBS
...
This fixes the following shellcheck error:
SC2086 (info): Double quote to prevent globbing and word splitting.
2023-01-04 22:23:33 +01:00
Sébastien Helleu
9dd85507d0
core: don't use eval to run commands in scripts
...
This fixes the following shellcheck error:
SC2294 (warning): eval negates the benefit of arrays. Drop eval to preserve
whitespace/symbols (or eval as string).
2023-01-04 22:20:51 +01:00
Sébastien Helleu
33bba784c3
core: update copyright dates
2023-01-01 14:54:35 +01:00
Sébastien Helleu
ea9c3b2218
debian: change dependency guile-2.2-dev to guile-3.0-dev
2022-11-19 19:05:25 +01:00
Sébastien Helleu
b978de5f84
debian: remove ubuntu/xenial patch (distro not supported any more)
...
As zstd is too old in ubuntu/xenial (0.5.1 while min version is 0.8.1), this
distro is not supported any more.
2022-09-29 16:04:58 +02:00
Sébastien Helleu
fe62d93dd0
build: update version of Debian/Ubuntu distros in examples
2022-09-18 14:39:36 +02:00
Sébastien Helleu
d5c285f0a6
build: remove patches for Debian/Raspbian Stretch
2022-09-18 14:39:02 +02:00
Sébastien Helleu
89f49040f3
debian: add dependency on ruby-pygments.rb
2022-03-29 21:02:42 +02:00
Sébastien Helleu
e0db08c782
debian: change dependency libargon2-0-dev to libargon2-dev (debian bug #1005703 )
2022-02-19 10:18:38 +01:00
Sébastien Helleu
c44b79dce7
core: update copyright dates
2022-01-17 18:41:06 +01:00
Sébastien Helleu
498194f6fc
relay: add zstd compression in weechat protocol
...
Option relay.network.compression_level is renamed to relay.network.compression
and is now a percentage between 0 (no compression) to 100 (best compression,
slowest).
Compression is now disabled by default in weechat protocol and must be enabled
via the `handshake` command (option `compression` has been removed from `init`
command).
2021-12-24 16:45:57 +01:00
Sébastien Helleu
46f3bee2ff
core: add build of zst archive in make dist
2021-12-13 21:10:06 +01:00
Sébastien Helleu
792739ee42
core: add build with CMake and Ninja in CI
2021-11-20 19:02:53 +01:00
Sébastien Helleu
28d013b704
build: add targets "changelog" and "rn" to build HTML version of ChangeLog and release notes (CMake build only)
2021-11-20 17:23:59 +01:00
Sébastien Helleu
5fffaf89e4
build: improve error management in build of tarballs
2021-11-20 15:32:06 +01:00
Sébastien Helleu
fb1bf569a9
debian: bump Standards-Version to 4.6.0.1
2021-09-18 10:32:39 +02:00
Sébastien Helleu
bcddb06094
core: do not force build of JavaScript plugin in CI
2021-03-19 09:14:59 +01:00
Sébastien Helleu
5311c103d5
debian: update debian/ubuntu patches with new Standards-Version
2021-03-08 20:48:06 +01:00
Sébastien Helleu
efc7a588d6
core: update copyright dates
2021-01-02 21:34:16 +01:00
Sébastien Helleu
340d6646a6
javascript: disable build by default and remove Debian packaging of JavaScript plugin (issue #360 )
2020-06-13 14:34:13 +02:00
Sébastien Helleu
c4832737e9
core: add CI with GitHub Actions, move codecov.io upload to GitHub Actions
2020-05-22 19:04:12 +02:00
Sébastien Helleu
6f22b82a7c
debian: add patch to build on Ubuntu Groovy
2020-04-26 23:16:53 +02:00
Sébastien Helleu
feb6258910
core: update copyright dates
2020-01-04 10:41:26 +01:00
Sébastien Helleu
ee52c8ceae
debian: fix debian/wheezy and ubuntu/trusty patches
2019-12-08 09:13:46 +01:00
Sébastien Helleu
c947d1575f
core: exit makedist.sh script if command "cd" failed
2019-11-28 21:28:07 +01:00
Sébastien Helleu
d876ec49fc
core: replace "! -z" by "-n" in build-debian.sh
2019-11-28 21:27:43 +01:00
Sébastien Helleu
d2300e62af
core: replace "-o" by "||" in tools scripts
2019-11-28 21:26:45 +01:00
Sébastien Helleu
a727516e0d
core: run command and check return code on same line in tools scripts
2019-11-28 21:25:47 +01:00
Sébastien Helleu
c0e48b0370
core: double quote variables in tools scripts
2019-11-28 21:23:59 +01:00
Sébastien Helleu
a36e17abf9
debian: disable javascript plugin on Debian Sid and Ubuntu Eoan
2019-11-11 08:38:05 +01:00
Sébastien Helleu
f85f097c25
debian: disable javascript plugin on Ubuntu Focal
2019-10-20 21:27:21 +02:00
Sébastien Helleu
8ab6422520
debian: switch to Guile 2.2 in Debian build
...
Guile 2.2 is now used by default in Debian/Ubuntu builds, except on these old
distribution versions where only Guile 2.0 is available:
- Debian Stretch
- Debian Jessie
- Debian Wheezy
- Ubuntu Xenial
- Ubuntu Trusty
2019-09-25 20:58:22 +02:00
Sébastien Helleu
ea0bdbab1b
debian: fix build of packages on Debian Jessie (issue #916 , issue #956 )
...
With the new errors on missing libraries in CMake, the PHP plugin must be
explicitly disabled.
2019-09-16 08:46:00 +02:00
Sébastien Helleu
e56c7e8c9b
debian: disable Javascript plugin on Debian Buster/Bullseye ( closes #1374 )
2019-07-08 18:29:50 +02:00
Sébastien Helleu
5e9efeb2e3
debian: switch from Lua 5.1 to 5.3 in Debian build
2019-07-07 14:14:37 +02:00
Sébastien Helleu
ab81128a7a
core: compile with Python 3 by default
...
The CMake option ENABLE_PYTHON3 is renamed to ENABLE_PYTHON2, to use Python 2
first then fallback on Python 3.
In the same way, the configure option --enable-python3 is renamed to
--enable-python2, to use Python 2 first then fallback on Python 3.
2019-07-01 21:28:33 +02:00
Sébastien Helleu
d91954490f
core: move coverage.info in parent directory
2019-03-29 23:01:27 +01:00
Sébastien Helleu
56d6b510e6
core: move upload of code coverage from build-test.sh to .travis.yml
2019-03-29 22:53:26 +01:00
Sébastien Helleu
33cefb7daa
core: fix upload of code coverage to codecov.io
2019-03-29 22:46:13 +01:00