mirror of
https://github.com/weechat/weechat.git
synced 2026-06-27 13:26:38 +02:00
Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 90bd688643 | |||
| e04047be68 | |||
| 710247891c | |||
| 2e1d16b7e5 |
+2
-1
@@ -3,5 +3,6 @@
|
|||||||
.git* export-ignore
|
.git* export-ignore
|
||||||
debian-devel export-ignore
|
debian-devel export-ignore
|
||||||
debian-stable export-ignore
|
debian-stable export-ignore
|
||||||
|
weechat.spec export-ignore
|
||||||
.mailmap export-ignore
|
.mailmap export-ignore
|
||||||
tools/build_debian.sh export-ignore
|
tools/build-debian.sh export-ignore
|
||||||
|
|||||||
@@ -0,0 +1,43 @@
|
|||||||
|
---
|
||||||
|
name: Bug report
|
||||||
|
about: Create a bug report (please do not report security issues here)
|
||||||
|
labels: bug
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
<!-- Please do not report any security issue here, see file Contributing.adoc -->
|
||||||
|
|
||||||
|
## Bug summary
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
## Steps to reproduce
|
||||||
|
|
||||||
|
1.
|
||||||
|
2.
|
||||||
|
3.
|
||||||
|
|
||||||
|
## Current behavior
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
## Expected behavior
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
## Suggested solutions
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
## Additional information
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
<!-- MANDATORY INFO: -->
|
||||||
|
|
||||||
|
- WeeChat version:
|
||||||
|
- OS, distribution and version:
|
||||||
|
- Terminal:
|
||||||
|
- Terminal multiplexer (screen/tmux/…/none):
|
||||||
@@ -1,110 +0,0 @@
|
|||||||
name: Bug report
|
|
||||||
description: Create a bug report
|
|
||||||
labels: ["bug"]
|
|
||||||
|
|
||||||
body:
|
|
||||||
- type: markdown
|
|
||||||
attributes:
|
|
||||||
value: |
|
|
||||||
Before submitting a bug, please check that it has not already been reported by searching in [open and closed bugs](https://github.com/weechat/weechat/issues?q=is%3Aissue+label%3Abug).
|
|
||||||
If you don't use the latest version, please try if possible with the latest stable release to be sure the issue is still present and report the issue on this version.
|
|
||||||
|
|
||||||
**IMPORTANT**: please do not report any security issue here, see [CONTRIBUTING.md](https://github.com/weechat/weechat/blob/main/CONTRIBUTING.md#security-reports).
|
|
||||||
|
|
||||||
- type: textarea
|
|
||||||
id: bug-description
|
|
||||||
attributes:
|
|
||||||
label: Describe the bug
|
|
||||||
description: A clear and concise description of what the bug is.
|
|
||||||
validations:
|
|
||||||
required: true
|
|
||||||
|
|
||||||
- type: textarea
|
|
||||||
id: steps-to-reproduce
|
|
||||||
attributes:
|
|
||||||
label: Steps to reproduce
|
|
||||||
description: |
|
|
||||||
Steps to reproduce the issue.
|
|
||||||
If possible, please try to reproduce with a default configuration and no scripts loaded (`weechat -t`). If the issue is related to a script, please mention the list of all scripts loaded.
|
|
||||||
placeholder: |
|
|
||||||
|
|
||||||
1.
|
|
||||||
2.
|
|
||||||
3.
|
|
||||||
validations:
|
|
||||||
required: true
|
|
||||||
|
|
||||||
- type: textarea
|
|
||||||
id: current-behavior
|
|
||||||
attributes:
|
|
||||||
label: Current behavior
|
|
||||||
description: |
|
|
||||||
What currently happens.
|
|
||||||
validations:
|
|
||||||
required: true
|
|
||||||
|
|
||||||
- type: textarea
|
|
||||||
id: expected-behavior
|
|
||||||
attributes:
|
|
||||||
label: Expected behavior
|
|
||||||
description: What is actually supposed to happen.
|
|
||||||
validations:
|
|
||||||
required: true
|
|
||||||
|
|
||||||
- type: textarea
|
|
||||||
id: suggested-solutions
|
|
||||||
attributes:
|
|
||||||
label: Suggested solutions
|
|
||||||
description: How you think this issue can be resolved.
|
|
||||||
validations:
|
|
||||||
required: false
|
|
||||||
|
|
||||||
- type: textarea
|
|
||||||
id: additional-information
|
|
||||||
attributes:
|
|
||||||
label: Additional information
|
|
||||||
description: |
|
|
||||||
For a crash, please include a backtrace from gdb, see the [User's guide](https://weechat.org/doc/weechat/user/#report_crashes).
|
|
||||||
For a display issue, please add a screenshot if it makes sense.
|
|
||||||
Please mention if other versions are affected as well and if some versions are not affected (regression?).
|
|
||||||
And any additional information you deem relevant.
|
|
||||||
validations:
|
|
||||||
required: false
|
|
||||||
|
|
||||||
- type: input
|
|
||||||
id: weechat-version
|
|
||||||
attributes:
|
|
||||||
label: WeeChat version
|
|
||||||
description: |
|
|
||||||
For a stable release: output of `weechat --version`.
|
|
||||||
For the development version: output of command `/v` in WeeChat.
|
|
||||||
placeholder: "4.1.1"
|
|
||||||
validations:
|
|
||||||
required: true
|
|
||||||
|
|
||||||
- type: input
|
|
||||||
id: os-version
|
|
||||||
attributes:
|
|
||||||
label: What OS/distribution are you using?
|
|
||||||
description: Name of the operating system and its version.
|
|
||||||
placeholder: Debian 12, Ubuntu 24.04, MacOS 14, ...
|
|
||||||
validations:
|
|
||||||
required: true
|
|
||||||
|
|
||||||
- type: input
|
|
||||||
id: terminal
|
|
||||||
attributes:
|
|
||||||
label: On which terminal are you running WeeChat?
|
|
||||||
description: The name of terminal if you think it can be related to the issue (mainly for display issues).
|
|
||||||
placeholder: Terminator, Xterm, GNOME Terminal, Urxvt, ...
|
|
||||||
validations:
|
|
||||||
required: false
|
|
||||||
|
|
||||||
- type: input
|
|
||||||
id: terminal-multiplexer
|
|
||||||
attributes:
|
|
||||||
label: Which terminal multiplexer are you using?
|
|
||||||
description: The name of the terminal multiplexer if you think it can be related to the issue (mainly for display issues).
|
|
||||||
placeholder: none, tmux, screen, ...
|
|
||||||
validations:
|
|
||||||
required: false
|
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
---
|
||||||
|
name: Feature request
|
||||||
|
about: Request a new feature / enhancement
|
||||||
|
labels: feature
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Feature description
|
||||||
@@ -1,17 +0,0 @@
|
|||||||
name: Feature request
|
|
||||||
description: Request a new feature / enhancement
|
|
||||||
labels: ["feature"]
|
|
||||||
|
|
||||||
body:
|
|
||||||
- type: markdown
|
|
||||||
attributes:
|
|
||||||
value: |
|
|
||||||
Before submitting a feature request, please check that it has not already been reported by searching in [open and closed feature requests](https://github.com/weechat/weechat/issues?q=is%3Aissue+label%3Afeature).
|
|
||||||
|
|
||||||
- type: textarea
|
|
||||||
id: feature
|
|
||||||
attributes:
|
|
||||||
label: Feature description
|
|
||||||
description: A description of the feature you would like.
|
|
||||||
validations:
|
|
||||||
required: true
|
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
---
|
||||||
|
name: Question
|
||||||
|
about: Ask a question (please read first FAQ and docs)
|
||||||
|
labels: question
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Question
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
- WeeChat version:
|
||||||
|
- OS, distribution and version:
|
||||||
@@ -1,19 +0,0 @@
|
|||||||
name: Question
|
|
||||||
description: Ask a question
|
|
||||||
labels: ["question"]
|
|
||||||
|
|
||||||
body:
|
|
||||||
- type: markdown
|
|
||||||
attributes:
|
|
||||||
value: |
|
|
||||||
Before opening an issue with a question:
|
|
||||||
- please read the [FAQ](https://weechat.org/doc/weechat/faq) and [documentation](https://weechat.org/doc/weechat/)
|
|
||||||
- please ask on #weechat channel (on server irc.libera.chat).
|
|
||||||
|
|
||||||
- type: textarea
|
|
||||||
id: question
|
|
||||||
attributes:
|
|
||||||
label: Question
|
|
||||||
description: Your question.
|
|
||||||
validations:
|
|
||||||
required: true
|
|
||||||
+45
-185
@@ -1,66 +1,29 @@
|
|||||||
name: CI
|
name: CI
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
- push
|
||||||
pull_request:
|
- pull_request
|
||||||
schedule:
|
|
||||||
- cron: '22 9 * * 2'
|
|
||||||
|
|
||||||
env:
|
|
||||||
WEECHAT_DEPENDENCIES: >-
|
|
||||||
asciidoctor
|
|
||||||
cmake
|
|
||||||
curl
|
|
||||||
devscripts
|
|
||||||
equivs
|
|
||||||
flake8
|
|
||||||
gem2deb
|
|
||||||
guile-3.0-dev
|
|
||||||
lcov
|
|
||||||
libargon2-dev
|
|
||||||
libaspell-dev
|
|
||||||
libcjson-dev
|
|
||||||
libcpputest-dev
|
|
||||||
libcurl4-gnutls-dev
|
|
||||||
libgcrypt20-dev
|
|
||||||
libgnutls28-dev
|
|
||||||
liblua5.3-dev
|
|
||||||
libncurses-dev
|
|
||||||
libperl-dev
|
|
||||||
libphp-embed
|
|
||||||
libsodium-dev
|
|
||||||
libv8-dev
|
|
||||||
libzstd-dev
|
|
||||||
ninja-build
|
|
||||||
php-dev
|
|
||||||
pkgconf
|
|
||||||
pylint
|
|
||||||
python3-bandit
|
|
||||||
python3-dev
|
|
||||||
python3-pip
|
|
||||||
ruby-pygments.rb
|
|
||||||
shellcheck
|
|
||||||
tcl8.6-dev
|
|
||||||
zlib1g-dev
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
tests_linux:
|
build_linux:
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
os:
|
os:
|
||||||
- ubuntu-22.04
|
- ubuntu-20.04
|
||||||
config:
|
config:
|
||||||
- { name: "gcc", cc: "gcc", cxx: "g++", buildargs: "" }
|
- { name: "cmake_gcc", cc: "gcc", cxx: "g++", tool: "cmake", args: "" }
|
||||||
- { name: "gcc_ninja", cc: "gcc", cxx: "g++", buildargs: "-G Ninja" }
|
- { name: "cmake_gcc_ninja", cc: "gcc", cxx: "g++", tool: "cmake", args: "-G Ninja" }
|
||||||
- { name: "gcc_no_nls", cc: "gcc", cxx: "g++", buildargs: "-DENABLE_NLS=OFF -DENABLE_DOC=OFF" }
|
- { name: "cmake_gcc_no_nls", cc: "gcc", cxx: "g++", tool: "cmake", args: "-DENABLE_NLS=OFF" }
|
||||||
- { name: "gcc_no_zstd", cc: "gcc", cxx: "g++", buildargs: "-DENABLE_ZSTD=OFF -DENABLE_DOC=OFF" }
|
- { name: "cmake_gcc_py2", cc: "gcc", cxx: "g++", tool: "cmake", args: "-DENABLE_PYTHON2=ON" }
|
||||||
- { name: "gcc_no_cjson", cc: "gcc", cxx: "g++", buildargs: "-DENABLE_CJSON=OFF -DENABLE_DOC=OFF" }
|
- { name: "cmake_gcc_coverage", cc: "gcc", cxx: "g++", tool: "cmake", args: "-DENABLE_CODE_COVERAGE=ON" }
|
||||||
- { name: "gcc_coverage", cc: "gcc", cxx: "g++", buildargs: "-DENABLE_CODE_COVERAGE=ON" }
|
- { name: "cmake_clang", cc: "clang", cxx: "clang++", tool: "cmake", args: "" }
|
||||||
- { name: "clang", cc: "clang", cxx: "clang++", buildargs: "" }
|
- { name: "autotools_gcc", cc: "gcc", cxx: "g++", tool: "autotools", args: "" }
|
||||||
|
- { name: "autotools_clang", cc: "clang", cxx: "clang++", tool: "autotools", args: "" }
|
||||||
|
|
||||||
name: "Tests: ${{ matrix.config.name }} on ${{ matrix.os }}"
|
name: ${{ matrix.config.name }} on ${{ matrix.os }}
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
@@ -69,30 +32,36 @@ jobs:
|
|||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
|
sudo apt-add-repository --yes ppa:ondrej/php
|
||||||
sudo apt-get update -qq
|
sudo apt-get update -qq
|
||||||
sudo apt-get --yes --no-install-recommends install ${{ env.WEECHAT_DEPENDENCIES }}
|
sudo apt-get --yes purge php8.1-dev
|
||||||
# uninstall php imagick as is causes a crash when loading php plugin (see #2009)
|
sudo apt-get --yes --no-install-recommends install devscripts equivs python3-pip libenchant-dev autopoint cmake ninja-build lcov pkg-config libncursesw5-dev gem2deb libperl-dev python2-dev python3-dev libaspell-dev liblua5.3-dev tcl8.6-dev guile-2.0-dev libv8-dev libcurl4-gnutls-dev libgcrypt20-dev libgnutls28-dev zlib1g-dev curl libcpputest-dev php8.0-dev libphp8.0-embed libargon2-0-dev libsodium-dev pylint python3-bandit asciidoctor
|
||||||
sudo apt-get --yes purge php8.1-imagick
|
|
||||||
sudo -H pip3 install --ignore-installed msgcheck
|
sudo -H pip3 install --ignore-installed msgcheck
|
||||||
|
|
||||||
|
- name: Test patches
|
||||||
|
run: ./tools/build-debian.sh test-patches
|
||||||
|
|
||||||
- name: Check gettext files
|
- name: Check gettext files
|
||||||
run: msgcheck po/*.po
|
run: msgcheck po/*.po
|
||||||
|
|
||||||
- name: Check shell and Python scripts
|
- name: Check Python scripts
|
||||||
run: ./tools/check_scripts.sh
|
run: |
|
||||||
|
pylint --additional-builtins=_ doc/docgen.py
|
||||||
|
pylint doc/python_stub.py
|
||||||
|
pylint tests/scripts/python/testapigen.py tests/scripts/python/testapi.py tests/scripts/python/unparse.py
|
||||||
|
bandit doc/docgen.py doc/python_stub.py
|
||||||
|
bandit tests/scripts/python/testapigen.py tests/scripts/python/testapi.py tests/scripts/python/unparse.py
|
||||||
|
|
||||||
- name: Check Python stub file
|
- name: Check Python stub file
|
||||||
run: ./tools/generate_python_stub.py | diff src/plugins/python/weechat.pyi -
|
run: ./doc/python_stub.py | diff src/plugins/python/weechat.pyi -
|
||||||
|
|
||||||
- name: Check Curl symbols
|
|
||||||
run: curl --silent --show-error --fail --retry 10 https://raw.githubusercontent.com/curl/curl/master/docs/libcurl/symbols-in-versions | ./tools/check_curl_symbols.py
|
|
||||||
|
|
||||||
- name: Build and run tests
|
- name: Build and run tests
|
||||||
env:
|
env:
|
||||||
CC: ${{ matrix.config.cc }}
|
CC: ${{ matrix.config.cc }}
|
||||||
CXX: ${{ matrix.config.cxx }}
|
CXX: ${{ matrix.config.cxx }}
|
||||||
BUILDARGS: ${{ matrix.config.buildargs }}
|
BUILDTOOL: ${{ matrix.config.tool }}
|
||||||
run: ./tools/build_test.sh
|
BUILDARGS: ${{ matrix.config.args }}
|
||||||
|
run: ./tools/build-test.sh
|
||||||
|
|
||||||
- name: Run WeeChat
|
- name: Run WeeChat
|
||||||
env:
|
env:
|
||||||
@@ -100,30 +69,13 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
weechat --help
|
weechat --help
|
||||||
weechat-curses --help
|
weechat-curses --help
|
||||||
weechat --version
|
|
||||||
weechat --build-info
|
|
||||||
weechat --colors
|
weechat --colors
|
||||||
weechat --license
|
weechat --license
|
||||||
weechat --run-command "/debug dirs;/debug libs" --run-command "/quit"
|
weechat --version
|
||||||
|
weechat --temp-dir --run-command "/debug dirs;/debug libs" --run-command "/quit"
|
||||||
- name: Test Relay OpenAPI
|
|
||||||
if: ${{ matrix.config.name == 'gcc' }}
|
|
||||||
env:
|
|
||||||
RELAY_PASSWORD: test
|
|
||||||
run: |
|
|
||||||
sudo -H pip3 install --ignore-installed schemathesis
|
|
||||||
weechat-headless \
|
|
||||||
--dir /tmp/weechat-test-api \
|
|
||||||
--run-command '/set relay.network.password "${{ env.RELAY_PASSWORD }}"' \
|
|
||||||
--run-command '/relay add api 9000' \
|
|
||||||
--daemon \
|
|
||||||
;
|
|
||||||
sleep 5
|
|
||||||
./tools/test_relay_api.sh http://localhost:9000
|
|
||||||
echo '*/quit' >/tmp/weechat-test-api/weechat_fifo_*
|
|
||||||
|
|
||||||
- name: Code coverage
|
- name: Code coverage
|
||||||
if: ${{ matrix.config.name == 'gcc_coverage' }}
|
if: ${{ matrix.config.name == 'cmake_gcc_coverage' }}
|
||||||
env:
|
env:
|
||||||
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
@@ -133,46 +85,29 @@ jobs:
|
|||||||
lcov --list coverage.info
|
lcov --list coverage.info
|
||||||
bash <(curl -s https://codecov.io/bash) -f coverage.info || echo 'Codecov error'
|
bash <(curl -s https://codecov.io/bash) -f coverage.info || echo 'Codecov error'
|
||||||
|
|
||||||
tests_macos:
|
build_macos:
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
os:
|
os:
|
||||||
- macos-14
|
- macos-11
|
||||||
|
- macos-10.15
|
||||||
config:
|
config:
|
||||||
- { name: "gcc", cc: "gcc", cxx: "g++" }
|
- { name: "cmake_gcc", cc: "gcc", cxx: "g++" }
|
||||||
- { name: "clang", cc: "clang", cxx: "clang++" }
|
- { name: "cmake_clang", cc: "clang", cxx: "clang++" }
|
||||||
|
|
||||||
name: "Tests: ${{ matrix.config.name }} on ${{ matrix.os }}"
|
name: ${{ matrix.config.name }} on ${{ matrix.os }}
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Setup Homebrew
|
- uses: actions/checkout@v2
|
||||||
id: setup-homebrew
|
|
||||||
uses: Homebrew/actions/setup-homebrew@master
|
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
brew update
|
brew update
|
||||||
# temporary fix, see: https://github.com/actions/setup-python/issues/577
|
brew install asciidoctor lua ruby
|
||||||
rm -f \
|
|
||||||
/usr/local/bin/2to3 \
|
|
||||||
/usr/local/bin/idle3 \
|
|
||||||
/usr/local/bin/pydoc3 \
|
|
||||||
/usr/local/bin/python3 \
|
|
||||||
/usr/local/bin/python3-config \
|
|
||||||
/usr/local/bin/2to3-3.11 \
|
|
||||||
/usr/local/bin/idle3.11 \
|
|
||||||
/usr/local/bin/pydoc3.11 \
|
|
||||||
/usr/local/bin/python3.11 \
|
|
||||||
/usr/local/bin/python3.11-config \
|
|
||||||
;
|
|
||||||
# workaround for https://github.com/actions/runner-images/issues/10984
|
|
||||||
brew uninstall --ignore-dependencies --force pkg-config@0.29.2
|
|
||||||
brew install asciidoctor aspell cjson guile lua ruby
|
|
||||||
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
env:
|
env:
|
||||||
@@ -180,7 +115,7 @@ jobs:
|
|||||||
CXX: ${{ matrix.config.cxx }}
|
CXX: ${{ matrix.config.cxx }}
|
||||||
run: |
|
run: |
|
||||||
mkdir build-tmp && cd build-tmp
|
mkdir build-tmp && cd build-tmp
|
||||||
cmake .. -DENABLE_MAN=ON -DENABLE_DOC=ON -DENABLE_DOC_INCOMPLETE=ON -DENABLE_PHP=OFF
|
cmake .. -DENABLE_MAN=ON -DENABLE_DOC=ON -DENABLE_PHP=OFF
|
||||||
make VERBOSE=1 -j2
|
make VERBOSE=1 -j2
|
||||||
sudo make install
|
sudo make install
|
||||||
|
|
||||||
@@ -190,82 +125,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
weechat --help
|
weechat --help
|
||||||
weechat-curses --help
|
weechat-curses --help
|
||||||
weechat --version
|
|
||||||
weechat --build-info
|
|
||||||
weechat --colors
|
weechat --colors
|
||||||
weechat --license
|
weechat --license
|
||||||
weechat --run-command "/debug dirs;/debug libs" --run-command "/quit"
|
|
||||||
|
|
||||||
build_debian:
|
|
||||||
|
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
os:
|
|
||||||
- ubuntu-22.04
|
|
||||||
|
|
||||||
name: "Build Debian on ${{ matrix.os }}"
|
|
||||||
runs-on: ${{ matrix.os }}
|
|
||||||
|
|
||||||
steps:
|
|
||||||
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
|
|
||||||
- name: Install dependencies
|
|
||||||
run: |
|
|
||||||
sudo apt-get update -qq
|
|
||||||
sudo apt-get --yes --no-install-recommends install ${{ env.WEECHAT_DEPENDENCIES }}
|
|
||||||
|
|
||||||
- name: Test Debian patches
|
|
||||||
run: ./tools/build_debian.sh test-patches
|
|
||||||
|
|
||||||
- name: Build Debian packages
|
|
||||||
run: ./tools/build_debian.sh devel ubuntu/jammy
|
|
||||||
|
|
||||||
- name: Install Debian packages
|
|
||||||
run: sudo dpkg -i ../weechat-devel*.deb
|
|
||||||
|
|
||||||
- name: Run WeeChat
|
|
||||||
env:
|
|
||||||
TERM: xterm-256color
|
|
||||||
run: |
|
|
||||||
weechat --help
|
|
||||||
weechat-curses --help
|
|
||||||
weechat --version
|
weechat --version
|
||||||
weechat --build-info
|
weechat --temp-dir --run-command "/debug dirs;/debug libs" --run-command "/quit"
|
||||||
weechat --run-command "/debug dirs;/debug libs" --run-command "/quit"
|
|
||||||
|
|
||||||
codeql-analysis:
|
|
||||||
|
|
||||||
name: CodeQL
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
permissions:
|
|
||||||
actions: read
|
|
||||||
contents: read
|
|
||||||
security-events: write
|
|
||||||
|
|
||||||
steps:
|
|
||||||
|
|
||||||
- name: Checkout repository
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
|
|
||||||
- name: Install dependencies
|
|
||||||
run: |
|
|
||||||
sudo apt-get update -qq
|
|
||||||
sudo apt-get --yes --no-install-recommends install ${{ env.WEECHAT_DEPENDENCIES }}
|
|
||||||
# uninstall php imagick as is causes a crash when loading php plugin (see #2009)
|
|
||||||
sudo apt-get --yes purge php8.1-imagick
|
|
||||||
sudo -H pip3 install --ignore-installed msgcheck
|
|
||||||
|
|
||||||
- name: Initialize CodeQL
|
|
||||||
uses: github/codeql-action/init@v3
|
|
||||||
with:
|
|
||||||
languages: cpp
|
|
||||||
|
|
||||||
- name: Autobuild
|
|
||||||
uses: github/codeql-action/autobuild@v3
|
|
||||||
|
|
||||||
- name: Perform CodeQL Analysis
|
|
||||||
uses: github/codeql-action/analyze@v3
|
|
||||||
with:
|
|
||||||
category: "/language:cpp"
|
|
||||||
|
|||||||
+55
-9
@@ -1,11 +1,57 @@
|
|||||||
# ignored files for Git
|
# ignored files for Git
|
||||||
|
|
||||||
/build
|
*.a
|
||||||
/builddir
|
*.gmo
|
||||||
/debian
|
*.la
|
||||||
/debian-devel/changelog
|
*.lai
|
||||||
/debian-devel/*.log
|
*.lo
|
||||||
/debian-devel/*-stamp
|
*.m4
|
||||||
/debian-stable/*.log
|
*.o
|
||||||
/debian-stable/*-stamp
|
*.Plo
|
||||||
/release
|
*.Po
|
||||||
|
*.so
|
||||||
|
*.so.0
|
||||||
|
*.so.0.0.0
|
||||||
|
*.1
|
||||||
|
|
||||||
|
ABOUT-NLS
|
||||||
|
autom4te*
|
||||||
|
build/*
|
||||||
|
builddir/*
|
||||||
|
compile
|
||||||
|
config.guess
|
||||||
|
config.h
|
||||||
|
config.h.in*
|
||||||
|
config-git.h
|
||||||
|
config.log
|
||||||
|
config.rpath
|
||||||
|
config.status
|
||||||
|
config.sub
|
||||||
|
configure
|
||||||
|
debian
|
||||||
|
!tools/debian
|
||||||
|
debian-devel/changelog
|
||||||
|
debian-devel/*.log
|
||||||
|
debian-stable/*.log
|
||||||
|
depcomp
|
||||||
|
insert-header.sin
|
||||||
|
install-sh
|
||||||
|
intl/*
|
||||||
|
libtool
|
||||||
|
ltmain.sh
|
||||||
|
Makefile
|
||||||
|
Makefile.in*
|
||||||
|
Makevars.template
|
||||||
|
missing
|
||||||
|
po/*quot*
|
||||||
|
POTFILES
|
||||||
|
remove-potcdate.sed
|
||||||
|
Rules-quot
|
||||||
|
weechat.pc
|
||||||
|
weechat-*.cygport
|
||||||
|
|
||||||
|
*stamp
|
||||||
|
stamp*
|
||||||
|
|
||||||
|
src/gui/curses/weechat
|
||||||
|
src/gui/curses/weechat-curses
|
||||||
|
|||||||
@@ -11,9 +11,7 @@ Sébastien Helleu <flashcode@flashtux.org> <flashcode>
|
|||||||
Sébastien Helleu <flashcode@flashtux.org> <uid67137>
|
Sébastien Helleu <flashcode@flashtux.org> <uid67137>
|
||||||
Nils Görs <weechatter@arcor.de>
|
Nils Görs <weechatter@arcor.de>
|
||||||
Ryuunosuke Ayanokouzi <i38w7i3@yahoo.co.jp>
|
Ryuunosuke Ayanokouzi <i38w7i3@yahoo.co.jp>
|
||||||
Krzysztof Korościk <soltys@soltys.info>
|
Krzysztof Korościk <soltys1@gmail.com> <soltys@szluug.org> <soltys@soltys.info>
|
||||||
Krzysztof Korościk <soltys@soltys.info> <soltys1@gmail.com>
|
|
||||||
Krzysztof Korościk <soltys@soltys.info> <soltys@szluug.org>
|
|
||||||
Marco Paolone <marcopaolone@gmail.com>
|
Marco Paolone <marcopaolone@gmail.com>
|
||||||
<marcopaolone@gmail.com> <marco@DrB4tch.sitecomwl601>
|
<marcopaolone@gmail.com> <marco@DrB4tch.sitecomwl601>
|
||||||
<mikaela.suomalainen@outlook.com> <mkaysi@outlook.com>
|
<mikaela.suomalainen@outlook.com> <mkaysi@outlook.com>
|
||||||
|
|||||||
+46
@@ -0,0 +1,46 @@
|
|||||||
|
dist: bionic
|
||||||
|
sudo: required
|
||||||
|
language: c
|
||||||
|
|
||||||
|
env:
|
||||||
|
- CC="gcc" CXX="g++" BUILDTOOL="cmake" BUILDARGS=""
|
||||||
|
- CC="gcc" CXX="g++" BUILDTOOL="cmake" BUILDARGS="-DENABLE_PYTHON2=ON"
|
||||||
|
# - CC="gcc" CXX="g++" BUILDTOOL="cmake" BUILDARGS="-DENABLE_CODE_COVERAGE=ON" CODECOVERAGE="1"
|
||||||
|
- CC="gcc" CXX="g++" BUILDTOOL="autotools" BUILDARGS=""
|
||||||
|
- CC="gcc" CXX="g++" BUILDTOOL="autotools" BUILDARGS="--enable-python2"
|
||||||
|
- CC="clang" CXX="clang++" BUILDTOOL="cmake" BUILDARGS=""
|
||||||
|
- CC="clang" CXX="clang++" BUILDTOOL="cmake" BUILDARGS="-DENABLE_PYTHON2=ON"
|
||||||
|
- CC="clang" CXX="clang++" BUILDTOOL="autotools" BUILDARGS=""
|
||||||
|
- CC="clang" CXX="clang++" BUILDTOOL="autotools" BUILDARGS="--enable-python2"
|
||||||
|
|
||||||
|
matrix:
|
||||||
|
fast_finish: true
|
||||||
|
|
||||||
|
before_script:
|
||||||
|
- echo 'APT::Install-Recommends "false";' | sudo tee -a /etc/apt/apt.conf
|
||||||
|
- travis_retry sudo apt-get update -qq
|
||||||
|
- travis_retry sudo apt-get -y install devscripts equivs python-pip libenchant-dev autopoint cmake lcov pkg-config libncursesw5-dev gem2deb libperl-dev python-dev python3-dev libaspell-dev liblua5.3-dev tcl8.6-dev guile-2.0-dev libv8-dev libcurl4-gnutls-dev libgcrypt20-dev libgnutls28-dev zlib1g-dev curl libcpputest-dev php7.2-dev libphp7.2-embed libargon2-0-dev libsodium-dev pylint3
|
||||||
|
- travis_retry sudo gem install asciidoctor
|
||||||
|
- travis_retry sudo -H pip install --ignore-installed msgcheck
|
||||||
|
- phpenv local system
|
||||||
|
# work around broken travis environment variables, see https://github.com/travis-ci/travis-ci/issues/5301
|
||||||
|
- unset PYTHON_CFLAGS
|
||||||
|
|
||||||
|
script:
|
||||||
|
- ./tools/build-test.sh
|
||||||
|
- msgcheck po/*.po
|
||||||
|
- pylint3 --version
|
||||||
|
- pylint3 --additional-builtins=_ doc/docgen.py
|
||||||
|
- pylint3 tests/scripts/python/testapigen.py
|
||||||
|
- pylint3 tests/scripts/python/testapi.py
|
||||||
|
- pylint3 tests/scripts/python/unparse.py
|
||||||
|
- ./tools/build-debian.sh test-patches
|
||||||
|
|
||||||
|
after_success:
|
||||||
|
- weechat --help
|
||||||
|
- weechat-curses --help
|
||||||
|
- weechat --colors
|
||||||
|
- weechat --license
|
||||||
|
- weechat --version
|
||||||
|
- weechat --temp-dir --run-command "/debug dirs;/debug libs" --run-command "/quit"
|
||||||
|
# - if [ "$CODECOVERAGE" = "1" ]; then bash <(curl -s https://codecov.io/bash) -f coverage.info || echo "Codecov error"; fi
|
||||||
+159
@@ -0,0 +1,159 @@
|
|||||||
|
= WeeChat Authors
|
||||||
|
:author: Sébastien Helleu
|
||||||
|
:email: flashcode@flashtux.org
|
||||||
|
:lang: en
|
||||||
|
|
||||||
|
|
||||||
|
== Developers
|
||||||
|
|
||||||
|
* General code
|
||||||
|
** Sébastien Helleu (FlashCode) <flashcode@flashtux.org>
|
||||||
|
* Scripts plugins, debian packager
|
||||||
|
** Emmanuel Bouthenot (kolter) <kolter@openics.org>
|
||||||
|
|
||||||
|
== Contributors
|
||||||
|
|
||||||
|
Alphabetically:
|
||||||
|
|
||||||
|
* Adam Saponara (adsr)
|
||||||
|
* Adrian Bjugård
|
||||||
|
* Ailin Nemui (Nei)
|
||||||
|
* Aleksey V Zapparov
|
||||||
|
* Alex Tarkovsky
|
||||||
|
* Anders Bergh
|
||||||
|
* Andrew Potter (talisein)
|
||||||
|
* Antoine Pietri (seirl)
|
||||||
|
* Arvydas Sidorenko
|
||||||
|
* Asakura
|
||||||
|
* Bazerka
|
||||||
|
* Benoit Papillault (benoit)
|
||||||
|
* Chris Hills
|
||||||
|
* Christian Duerr
|
||||||
|
* Christian Heinz
|
||||||
|
* Christopher O'Neill (deltafire)
|
||||||
|
* coypoop
|
||||||
|
* Danilo Spinella
|
||||||
|
* David Flatz
|
||||||
|
* Dmitry Kobylin
|
||||||
|
* Dominik Honnef
|
||||||
|
* Dominique Martinet
|
||||||
|
* dotflac
|
||||||
|
* Eduardo Elias
|
||||||
|
* Eli Schwartz
|
||||||
|
* Elizabeth Myers (Elizacat)
|
||||||
|
* Elián Hanisch (m4v)
|
||||||
|
* Emanuele Giaquinta
|
||||||
|
* Emir Sarı
|
||||||
|
* emk
|
||||||
|
* Érico Nogueira
|
||||||
|
* Esteban I. Ruiz Moreno (Exio)
|
||||||
|
* Evgeny Shmarnev
|
||||||
|
* Felix Eckhofer
|
||||||
|
* Frank Zacharias
|
||||||
|
* Fredrik Fornwall
|
||||||
|
* Grant Wu
|
||||||
|
* Gu1ll4um3r0m41n
|
||||||
|
* Guido Berhoerster
|
||||||
|
* Gwenn
|
||||||
|
* Hasan Kiran (turgay)
|
||||||
|
* Ivan Pešić
|
||||||
|
* Ivan Sichmann Freitas
|
||||||
|
* Jakub Jirutka
|
||||||
|
* Jan Palus
|
||||||
|
* Jason A. Donenfeld (zx2c4)
|
||||||
|
* JD Horelick (jdhore)
|
||||||
|
* jesopo
|
||||||
|
* Jim Ramsay (lack)
|
||||||
|
* Jiri Golembiovsky (GolemJ)
|
||||||
|
* Joey Pabalinas (alyptik)
|
||||||
|
* Johan Rylander
|
||||||
|
* Joram Schrijver
|
||||||
|
* Jos Ahrens
|
||||||
|
* Joseph Kichline
|
||||||
|
* Juan Francisco Cantero Hurtado
|
||||||
|
* Julien Louis (ptitlouis)
|
||||||
|
* Karthik K
|
||||||
|
* Koka El Kiwi (KiwiDash)
|
||||||
|
* Krzysztof Koroscik (soltys)
|
||||||
|
* Kyle Fuller (kylef)
|
||||||
|
* Kyle Sabo
|
||||||
|
* Leonid Evdokimov
|
||||||
|
* Lázaro A.
|
||||||
|
* Linus Heckemann
|
||||||
|
* Maarten de Vries
|
||||||
|
* Mantas Mikulėnas (grawity)
|
||||||
|
* Marco Paolone
|
||||||
|
* Marco Sirabella
|
||||||
|
* Mateusz Poszwa
|
||||||
|
* Matt Robinson
|
||||||
|
* Matthew Horan
|
||||||
|
* Matthew Martin
|
||||||
|
* Matti Virkkunen
|
||||||
|
* Max Anton Teufel
|
||||||
|
* Maxim Baz
|
||||||
|
* Michael Siegel
|
||||||
|
* Miroslav Koskar
|
||||||
|
* Murilo Opsfelder Araujo
|
||||||
|
* Neui
|
||||||
|
* Nick (SolitaryCipher)
|
||||||
|
* Nicolas Cavigneaux
|
||||||
|
* Nils Görs (nils_2)
|
||||||
|
* nyuszika7h
|
||||||
|
* Odin
|
||||||
|
* Ondřej Súkup
|
||||||
|
* Patrick Steinhardt
|
||||||
|
* Patrik Janoušek
|
||||||
|
* Paul Komkoff
|
||||||
|
* Pavel Shevchuk (Stalwart)
|
||||||
|
* Peter Boström (pbos)
|
||||||
|
* Phillip Sz
|
||||||
|
* Pierre Carru
|
||||||
|
* Piotr Szymaniak
|
||||||
|
* Pistos
|
||||||
|
* Quentin Glidic (SardemFF7)
|
||||||
|
* Quentin Pradet
|
||||||
|
* Quico Noizeux
|
||||||
|
* rafasc
|
||||||
|
* Raghavendra Prabhu
|
||||||
|
* raspbeguy
|
||||||
|
* Rettub
|
||||||
|
* Rob Campbell
|
||||||
|
* Romero B. de S. Malaquias
|
||||||
|
* Rudolf Polzer (divVerent)
|
||||||
|
* Ruslan Bekenev
|
||||||
|
* Ryan Farley
|
||||||
|
* Ryuunosuke Ayanokouzi
|
||||||
|
* scumjr
|
||||||
|
* Sergio Durigan Junior
|
||||||
|
* Shane McCarron
|
||||||
|
* Shawn Smith
|
||||||
|
* Shun Sakai
|
||||||
|
* Simmo Saan (sim642)
|
||||||
|
* Simon Arlott
|
||||||
|
* Simon Kuhnle
|
||||||
|
* Simon Ser
|
||||||
|
* Stefano Pigozzi
|
||||||
|
* Stfn
|
||||||
|
* Sven Knurr (Cthulhux)
|
||||||
|
* Tim D. Smith
|
||||||
|
* Tim Harder
|
||||||
|
* Tobias Stoeckmann
|
||||||
|
* Tom Alsberg
|
||||||
|
* Tom Fitzhenry
|
||||||
|
* Tomoe Mami
|
||||||
|
* Tor Hveem (xt)
|
||||||
|
* Trevor Bergeron
|
||||||
|
* Valentin Lorentz (progval)
|
||||||
|
* Vasco Almeida
|
||||||
|
* Victorhck
|
||||||
|
* Voroskoi
|
||||||
|
* Wojciech Kwolek
|
||||||
|
* W. Trevor King
|
||||||
|
* Yannick Palanque
|
||||||
|
* ZethJack
|
||||||
|
* Ørjan Malde
|
||||||
|
|
||||||
|
== Contact
|
||||||
|
|
||||||
|
See https://weechat.org/files/doc/devel/weechat_user.en.html#support[user's guide]
|
||||||
|
or https://weechat.org/about/support
|
||||||
-161
@@ -1,161 +0,0 @@
|
|||||||
# WeeChat Authors
|
|
||||||
|
|
||||||
## Developers
|
|
||||||
|
|
||||||
- General code
|
|
||||||
- [Sébastien Helleu](https://github.com/flashcode) (FlashCode)
|
|
||||||
- Scripts plugins, debian packager
|
|
||||||
- [Emmanuel Bouthenot](https://github.com/k0lter) (kolter)
|
|
||||||
|
|
||||||
## Contributors
|
|
||||||
|
|
||||||
Alphabetically:
|
|
||||||
|
|
||||||
- Adam Saponara (adsr)
|
|
||||||
- Adrian Bjugård
|
|
||||||
- Ailin Nemui (Nei)
|
|
||||||
- Aleksey V Zapparov
|
|
||||||
- Alex Tarkovsky
|
|
||||||
- Anders Bergh
|
|
||||||
- Andrew Potter (talisein)
|
|
||||||
- Antoine Pietri (seirl)
|
|
||||||
- Arvydas Sidorenko
|
|
||||||
- Asakura
|
|
||||||
- Bazerka
|
|
||||||
- Benoit Papillault (benoit)
|
|
||||||
- Chris Hills
|
|
||||||
- Christian Duerr
|
|
||||||
- Christian Heinz
|
|
||||||
- Christopher O'Neill (deltafire)
|
|
||||||
- coypoop
|
|
||||||
- Danilo Spinella
|
|
||||||
- David Flatz
|
|
||||||
- Dmitry Kobylin
|
|
||||||
- Dominik Honnef
|
|
||||||
- Dominique Martinet
|
|
||||||
- dotflac
|
|
||||||
- Eduardo Elias
|
|
||||||
- Eli Schwartz
|
|
||||||
- Elizabeth Myers (Elizacat)
|
|
||||||
- Elián Hanisch (m4v)
|
|
||||||
- Emanuele Giaquinta
|
|
||||||
- Emir Sarı
|
|
||||||
- emk
|
|
||||||
- Érico Nogueira
|
|
||||||
- Esteban I. Ruiz Moreno (Exio)
|
|
||||||
- Evgeny Shmarnev
|
|
||||||
- Felix Eckhofer
|
|
||||||
- Frank Zacharias
|
|
||||||
- Fredrik Fornwall
|
|
||||||
- Grant Wu
|
|
||||||
- Gu1ll4um3r0m41n
|
|
||||||
- Guido Berhoerster
|
|
||||||
- Gwenn
|
|
||||||
- Hasan Kiran (turgay)
|
|
||||||
- Ivan Pešić
|
|
||||||
- Ivan Sichmann Freitas
|
|
||||||
- Jakub Jirutka
|
|
||||||
- Jan Palus
|
|
||||||
- Jason A. Donenfeld (zx2c4)
|
|
||||||
- JD Horelick (jdhore)
|
|
||||||
- jesopo
|
|
||||||
- Jim Ramsay (lack)
|
|
||||||
- Jiri Golembiovsky (GolemJ)
|
|
||||||
- Joey Pabalinas (alyptik)
|
|
||||||
- Johan Rylander
|
|
||||||
- Johannes Kuhn
|
|
||||||
- Joram Schrijver
|
|
||||||
- Jos Ahrens
|
|
||||||
- Joseph Kichline
|
|
||||||
- Juan Francisco Cantero Hurtado
|
|
||||||
- Julien Louis (ptitlouis)
|
|
||||||
- Karthik K
|
|
||||||
- Koka El Kiwi (KiwiDash)
|
|
||||||
- Krzysztof Koroscik (soltys)
|
|
||||||
- Kyle Fuller (kylef)
|
|
||||||
- Kyle Sabo
|
|
||||||
- Latchezar Tzvetkoff
|
|
||||||
- Lázaro A.
|
|
||||||
- Leonid Evdokimov
|
|
||||||
- Linus Heckemann
|
|
||||||
- LuK1337
|
|
||||||
- Maarten de Vries
|
|
||||||
- Mantas Mikulėnas (grawity)
|
|
||||||
- Marco Paolone
|
|
||||||
- Marco Sirabella
|
|
||||||
- Mario Campos
|
|
||||||
- Mateusz Poszwa
|
|
||||||
- Matt Robinson
|
|
||||||
- Matthew Horan
|
|
||||||
- Matthew Martin
|
|
||||||
- Matti Virkkunen
|
|
||||||
- Max Anton Teufel
|
|
||||||
- Maxim Baz
|
|
||||||
- Michael Siegel
|
|
||||||
- Miko
|
|
||||||
- Miroslav Koskar
|
|
||||||
- Murilo Opsfelder Araujo
|
|
||||||
- Neui
|
|
||||||
- Nick (SolitaryCipher)
|
|
||||||
- Nicolas Cavigneaux
|
|
||||||
- Nils Görs (nils_2)
|
|
||||||
- nyuszika7h
|
|
||||||
- Odin
|
|
||||||
- Ondřej Súkup
|
|
||||||
- Patrick Steinhardt
|
|
||||||
- Patrik Janoušek
|
|
||||||
- Paul Komkoff
|
|
||||||
- Pavel Shevchuk (Stalwart)
|
|
||||||
- Peter Boström (pbos)
|
|
||||||
- Phillip Sz
|
|
||||||
- Pierre Carru
|
|
||||||
- Piotr Szymaniak
|
|
||||||
- Pistos
|
|
||||||
- Quentin Glidic (SardemFF7)
|
|
||||||
- Quentin Pradet
|
|
||||||
- Quico Noizeux
|
|
||||||
- rafasc
|
|
||||||
- Raghavendra Prabhu
|
|
||||||
- raspbeguy
|
|
||||||
- Rettub
|
|
||||||
- Rob Campbell
|
|
||||||
- Romero B. de S. Malaquias
|
|
||||||
- Rudolf Polzer (divVerent)
|
|
||||||
- Ruslan Bekenev
|
|
||||||
- Ryan Farley
|
|
||||||
- Ryan Qian
|
|
||||||
- Ryuunosuke Ayanokouzi
|
|
||||||
- scumjr
|
|
||||||
- Sergio Durigan Junior
|
|
||||||
- Shane McCarron
|
|
||||||
- Shawn Smith
|
|
||||||
- Shun Sakai
|
|
||||||
- Simmo Saan (sim642)
|
|
||||||
- Simon Arlott
|
|
||||||
- Simon Kuhnle
|
|
||||||
- Simon Ser
|
|
||||||
- Stefano Pigozzi
|
|
||||||
- Stfn
|
|
||||||
- Sven Knurr (Cthulhux)
|
|
||||||
- Tim D. Smith
|
|
||||||
- Tim Harder
|
|
||||||
- Tobias Stoeckmann
|
|
||||||
- Tom Alsberg
|
|
||||||
- Tom Fitzhenry
|
|
||||||
- Tomoe Mami
|
|
||||||
- Tor Hveem (xt)
|
|
||||||
- Trevor Bergeron
|
|
||||||
- Valentin Lorentz (progval)
|
|
||||||
- Vasco Almeida
|
|
||||||
- Victorhck
|
|
||||||
- Voroskoi
|
|
||||||
- wfrsk
|
|
||||||
- Wojciech Kwolek
|
|
||||||
- W. Trevor King
|
|
||||||
- Yannick Palanque
|
|
||||||
- ZethJack
|
|
||||||
- Ørjan Malde
|
|
||||||
|
|
||||||
## Contact
|
|
||||||
|
|
||||||
See the [support page](https://weechat.org/about/support/).
|
|
||||||
-4277
File diff suppressed because it is too large
Load Diff
+108
-122
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2003-2024 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2003-2021 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
# Copyright (C) 2007-2008 Julien Louis <ptitlouis@sysif.net>
|
# Copyright (C) 2007-2008 Julien Louis <ptitlouis@sysif.net>
|
||||||
# Copyright (C) 2008-2009 Emmanuel Bouthenot <kolter@openics.org>
|
# Copyright (C) 2008-2009 Emmanuel Bouthenot <kolter@openics.org>
|
||||||
#
|
#
|
||||||
@@ -19,35 +19,28 @@
|
|||||||
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||||
#
|
#
|
||||||
|
|
||||||
cmake_minimum_required(VERSION 3.18)
|
cmake_minimum_required(VERSION 3.0)
|
||||||
|
|
||||||
project(weechat C)
|
project(weechat C)
|
||||||
|
|
||||||
# CMake options
|
# CMake options
|
||||||
set(CMAKE_VERBOSE_MAKEFILE OFF)
|
set(CMAKE_VERBOSE_MAKEFILE OFF)
|
||||||
set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake" "${CMAKE_MODULE_PATH}")
|
set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake ${CMAKE_MODULE_PATH})
|
||||||
set(CMAKE_SKIP_RPATH ON)
|
set(CMAKE_SKIP_RPATH ON)
|
||||||
|
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fsigned-char -fms-extensions -Wall -Wextra -Werror-implicit-function-declaration")
|
||||||
# compiler options
|
|
||||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fsigned-char -fms-extensions -Wall -Wextra -Werror-implicit-function-declaration -Wformat -Werror=format-security")
|
|
||||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fsigned-char -fms-extensions -Wall -Wextra")
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fsigned-char -fms-extensions -Wall -Wextra")
|
||||||
if (CMAKE_C_COMPILER_ID STREQUAL "GNU")
|
|
||||||
# extra options specific to gcc/g++
|
|
||||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wformat-overflow=2 -Wformat-truncation=2")
|
|
||||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wformat-overflow=2 -Wformat-truncation=2")
|
|
||||||
endif()
|
|
||||||
|
|
||||||
# version
|
# version
|
||||||
execute_process(COMMAND "${CMAKE_SOURCE_DIR}/version.sh" devel-major OUTPUT_VARIABLE VERSION_MAJOR)
|
execute_process(COMMAND ${CMAKE_SOURCE_DIR}/version.sh devel-major OUTPUT_VARIABLE VERSION_MAJOR)
|
||||||
execute_process(COMMAND "${CMAKE_SOURCE_DIR}/version.sh" devel-minor OUTPUT_VARIABLE VERSION_MINOR)
|
execute_process(COMMAND ${CMAKE_SOURCE_DIR}/version.sh devel-minor OUTPUT_VARIABLE VERSION_MINOR)
|
||||||
execute_process(COMMAND "${CMAKE_SOURCE_DIR}/version.sh" devel-patch OUTPUT_VARIABLE VERSION_PATCH)
|
execute_process(COMMAND ${CMAKE_SOURCE_DIR}/version.sh devel-patch OUTPUT_VARIABLE VERSION_PATCH)
|
||||||
string(REGEX REPLACE "\n" "" VERSION_MAJOR "${VERSION_MAJOR}")
|
string(REGEX REPLACE "\n" "" VERSION_MAJOR "${VERSION_MAJOR}")
|
||||||
string(REGEX REPLACE "\n" "" VERSION_MINOR "${VERSION_MINOR}")
|
string(REGEX REPLACE "\n" "" VERSION_MINOR "${VERSION_MINOR}")
|
||||||
string(REGEX REPLACE "\n" "" VERSION_PATCH "${VERSION_PATCH}")
|
string(REGEX REPLACE "\n" "" VERSION_PATCH "${VERSION_PATCH}")
|
||||||
if(VERSION_PATCH STREQUAL "")
|
if(VERSION_PATCH STREQUAL "")
|
||||||
set(VERSION "${VERSION_MAJOR}.${VERSION_MINOR}")
|
set(VERSION ${VERSION_MAJOR}.${VERSION_MINOR})
|
||||||
else()
|
else()
|
||||||
set(VERSION "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}")
|
set(VERSION ${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH})
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# license
|
# license
|
||||||
@@ -66,70 +59,68 @@ set(PKG_STRING "${PROJECT_NAME} ${VERSION}")
|
|||||||
string(REPLACE "\";\"" "\ " PKG_STRING ${PKG_STRING})
|
string(REPLACE "\";\"" "\ " PKG_STRING ${PKG_STRING})
|
||||||
|
|
||||||
if(NOT DEFINED LIBDIR)
|
if(NOT DEFINED LIBDIR)
|
||||||
set(LIBDIR "${CMAKE_INSTALL_PREFIX}/lib")
|
set(LIBDIR ${CMAKE_INSTALL_PREFIX}/lib)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(NOT DEFINED WEECHAT_LIBDIR)
|
if(NOT DEFINED WEECHAT_LIBDIR)
|
||||||
set(WEECHAT_LIBDIR "${LIBDIR}/${PROJECT_NAME}")
|
set(WEECHAT_LIBDIR ${LIBDIR}/${PROJECT_NAME})
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(NOT DEFINED DATAROOTDIR)
|
if(NOT DEFINED DATAROOTDIR)
|
||||||
set(DATAROOTDIR "${CMAKE_INSTALL_PREFIX}/share")
|
set(DATAROOTDIR ${CMAKE_INSTALL_PREFIX}/share)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(NOT DEFINED WEECHAT_SHAREDIR)
|
if(NOT DEFINED WEECHAT_SHAREDIR)
|
||||||
set(WEECHAT_SHAREDIR "${DATAROOTDIR}/weechat")
|
set(WEECHAT_SHAREDIR ${DATAROOTDIR}/weechat)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(NOT DEFINED MANDIR)
|
if(NOT DEFINED MANDIR)
|
||||||
set(MANDIR "${DATAROOTDIR}/man")
|
set(MANDIR ${DATAROOTDIR}/man)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(NOT DEFINED LOCALEDIR)
|
if(NOT DEFINED LOCALEDIR)
|
||||||
set(LOCALEDIR "${DATAROOTDIR}/locale")
|
set(LOCALEDIR ${DATAROOTDIR}/locale)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(DEFINED INCLUDEDIR)
|
if(DEFINED INCLUDEDIR)
|
||||||
set(INCLUDEDIR "${INCLUDEDIR}/${PROJECT_NAME}")
|
set(INCLUDEDIR ${INCLUDEDIR}/${PROJECT_NAME})
|
||||||
else()
|
else()
|
||||||
set(INCLUDEDIR "${CMAKE_INSTALL_PREFIX}/include/${PROJECT_NAME}")
|
set(INCLUDEDIR ${CMAKE_INSTALL_PREFIX}/include/${PROJECT_NAME})
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
option(ENABLE_NCURSES "Compile the Ncurses interface" ON)
|
option(ENABLE_NCURSES "Compile the Ncurses interface" ON)
|
||||||
option(ENABLE_HEADLESS "Compile the headless binary" ON)
|
option(ENABLE_HEADLESS "Compile the headless binary (required for tests)" ON)
|
||||||
option(ENABLE_NLS "Enable Native Language Support" ON)
|
option(ENABLE_NLS "Enable Native Language Support" ON)
|
||||||
option(ENABLE_LARGEFILE "Enable Large File Support" ON)
|
option(ENABLE_LARGEFILE "Enable Large File Support" ON)
|
||||||
option(ENABLE_ZSTD "Enable Zstandard compression" ON)
|
option(ENABLE_ALIAS "Enable Alias plugin" ON)
|
||||||
option(ENABLE_CJSON "Enable cJSON support" ON)
|
option(ENABLE_BUFLIST "Enable Buflist plugin" ON)
|
||||||
option(ENABLE_ALIAS "Enable Alias plugin" ON)
|
option(ENABLE_CHARSET "Enable Charset plugin" ON)
|
||||||
option(ENABLE_BUFLIST "Enable Buflist plugin" ON)
|
option(ENABLE_EXEC "Enable Exec plugin" ON)
|
||||||
option(ENABLE_CHARSET "Enable Charset plugin" ON)
|
option(ENABLE_FIFO "Enable FIFO plugin" ON)
|
||||||
option(ENABLE_EXEC "Enable Exec plugin" ON)
|
option(ENABLE_FSET "Enable Fast Set plugin" ON)
|
||||||
option(ENABLE_FIFO "Enable FIFO plugin" ON)
|
option(ENABLE_IRC "Enable IRC plugin" ON)
|
||||||
option(ENABLE_FSET "Enable Fast Set plugin" ON)
|
option(ENABLE_LOGGER "Enable Logger plugin" ON)
|
||||||
option(ENABLE_IRC "Enable IRC plugin" ON)
|
option(ENABLE_RELAY "Enable Relay plugin" ON)
|
||||||
option(ENABLE_LOGGER "Enable Logger plugin" ON)
|
option(ENABLE_SCRIPT "Enable Script plugin (script manager)" ON)
|
||||||
option(ENABLE_RELAY "Enable Relay plugin" ON)
|
option(ENABLE_SCRIPTS "Enable script plugins (perl, python, ...)" ON)
|
||||||
option(ENABLE_SCRIPT "Enable Script plugin (script manager)" ON)
|
option(ENABLE_PERL "Enable Perl scripting language" ON)
|
||||||
option(ENABLE_SCRIPTS "Enable script plugins (perl, python, …)" ON)
|
option(ENABLE_PYTHON "Enable Python scripting language" ON)
|
||||||
option(ENABLE_PERL "Enable Perl scripting language" ON)
|
option(ENABLE_PYTHON2 "Use Python 2 instead of Python 3" OFF)
|
||||||
option(ENABLE_PYTHON "Enable Python scripting language" ON)
|
option(ENABLE_RUBY "Enable Ruby scripting language" ON)
|
||||||
option(ENABLE_RUBY "Enable Ruby scripting language" ON)
|
option(ENABLE_LUA "Enable Lua scripting language" ON)
|
||||||
option(ENABLE_LUA "Enable Lua scripting language" ON)
|
option(ENABLE_TCL "Enable Tcl scripting language" ON)
|
||||||
option(ENABLE_TCL "Enable Tcl scripting language" ON)
|
option(ENABLE_GUILE "Enable Scheme (guile) scripting language" ON)
|
||||||
option(ENABLE_GUILE "Enable Scheme (guile) scripting language" ON)
|
option(ENABLE_JAVASCRIPT "Enable JavaScript scripting language" OFF)
|
||||||
option(ENABLE_JAVASCRIPT "Enable JavaScript scripting language" OFF)
|
option(ENABLE_PHP "Enable PHP scripting language" ON)
|
||||||
option(ENABLE_PHP "Enable PHP scripting language" ON)
|
option(ENABLE_SPELL "Enable Spell checker plugin" ON)
|
||||||
option(ENABLE_SPELL "Enable Spell checker plugin" ON)
|
option(ENABLE_ENCHANT "Enable Enchant lib for Spell checker plugin" OFF)
|
||||||
option(ENABLE_ENCHANT "Use Enchant lib in Spell checker plugin" OFF)
|
option(ENABLE_TRIGGER "Enable Trigger plugin" ON)
|
||||||
option(ENABLE_TRIGGER "Enable Trigger plugin" ON)
|
option(ENABLE_TYPING "Enable Typing plugin" ON)
|
||||||
option(ENABLE_TYPING "Enable Typing plugin" ON)
|
option(ENABLE_XFER "Enable Xfer plugin" ON)
|
||||||
option(ENABLE_XFER "Enable Xfer plugin" ON)
|
option(ENABLE_MAN "Enable build of man page" OFF)
|
||||||
option(ENABLE_MAN "Enable build of man page" OFF)
|
option(ENABLE_DOC "Enable build of documentation" OFF)
|
||||||
option(ENABLE_DOC "Enable build of documentation" OFF)
|
option(ENABLE_TESTS "Enable tests" OFF)
|
||||||
option(ENABLE_DOC_INCOMPLETE "Enable incomplete doc" OFF)
|
option(ENABLE_CODE_COVERAGE "Enable code coverage" OFF)
|
||||||
option(ENABLE_TESTS "Enable tests" OFF)
|
|
||||||
option(ENABLE_CODE_COVERAGE "Enable code coverage" OFF)
|
|
||||||
|
|
||||||
# code coverage
|
# code coverage
|
||||||
add_library(coverage_config INTERFACE)
|
add_library(coverage_config INTERFACE)
|
||||||
@@ -138,29 +129,6 @@ if(ENABLE_CODE_COVERAGE)
|
|||||||
target_link_libraries(coverage_config INTERFACE --coverage)
|
target_link_libraries(coverage_config INTERFACE --coverage)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# headless mode is required for documentation
|
|
||||||
if(ENABLE_DOC AND NOT ENABLE_HEADLESS)
|
|
||||||
message(FATAL_ERROR "Headless mode is required to build documentation.")
|
|
||||||
endif()
|
|
||||||
|
|
||||||
# all plugins (except javascript) are required for documentation
|
|
||||||
if(ENABLE_DOC AND NOT ENABLE_DOC_INCOMPLETE
|
|
||||||
AND (NOT ENABLE_NLS OR NOT ENABLE_ALIAS OR NOT ENABLE_BUFLIST
|
|
||||||
OR NOT ENABLE_CHARSET OR NOT ENABLE_EXEC OR NOT ENABLE_FIFO
|
|
||||||
OR NOT ENABLE_FSET OR NOT ENABLE_IRC OR NOT ENABLE_LOGGER
|
|
||||||
OR NOT ENABLE_RELAY OR NOT ENABLE_SCRIPT OR NOT ENABLE_SCRIPTS
|
|
||||||
OR NOT ENABLE_PERL OR NOT ENABLE_PYTHON OR NOT ENABLE_RUBY
|
|
||||||
OR NOT ENABLE_LUA OR NOT ENABLE_TCL OR NOT ENABLE_GUILE
|
|
||||||
OR NOT ENABLE_PHP OR NOT ENABLE_SPELL OR NOT ENABLE_TRIGGER
|
|
||||||
OR NOT ENABLE_TYPING OR NOT ENABLE_XFER))
|
|
||||||
message(
|
|
||||||
FATAL_ERROR
|
|
||||||
" All plugins are required to build documentation.\n"
|
|
||||||
" If you really want to build incomplete docs, enable this option:\n"
|
|
||||||
" -DENABLE_DOC_INCOMPLETE=ON"
|
|
||||||
)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
# headless mode is required for tests
|
# headless mode is required for tests
|
||||||
if(ENABLE_TESTS AND NOT ENABLE_HEADLESS)
|
if(ENABLE_TESTS AND NOT ENABLE_HEADLESS)
|
||||||
message(FATAL_ERROR "Headless mode is required for tests.")
|
message(FATAL_ERROR "Headless mode is required for tests.")
|
||||||
@@ -183,8 +151,6 @@ endif()
|
|||||||
|
|
||||||
add_definitions(-DHAVE_CONFIG_H)
|
add_definitions(-DHAVE_CONFIG_H)
|
||||||
|
|
||||||
include(FindPkgConfig)
|
|
||||||
|
|
||||||
include(CheckIncludeFiles)
|
include(CheckIncludeFiles)
|
||||||
include(CheckFunctionExists)
|
include(CheckFunctionExists)
|
||||||
include(CheckSymbolExists)
|
include(CheckSymbolExists)
|
||||||
@@ -192,9 +158,6 @@ include(CheckSymbolExists)
|
|||||||
check_include_files("langinfo.h" HAVE_LANGINFO_CODESET)
|
check_include_files("langinfo.h" HAVE_LANGINFO_CODESET)
|
||||||
check_include_files("sys/resource.h" HAVE_SYS_RESOURCE_H)
|
check_include_files("sys/resource.h" HAVE_SYS_RESOURCE_H)
|
||||||
|
|
||||||
check_include_files("malloc.h" HAVE_MALLOC_H)
|
|
||||||
check_symbol_exists("malloc_trim" "malloc.h" HAVE_MALLOC_TRIM)
|
|
||||||
|
|
||||||
check_function_exists(mallinfo HAVE_MALLINFO)
|
check_function_exists(mallinfo HAVE_MALLINFO)
|
||||||
check_function_exists(mallinfo2 HAVE_MALLINFO2)
|
check_function_exists(mallinfo2 HAVE_MALLINFO2)
|
||||||
|
|
||||||
@@ -205,11 +168,24 @@ if(ENABLE_LARGEFILE)
|
|||||||
add_definitions(-D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_LARGE_FILES)
|
add_definitions(-D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_LARGE_FILES)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
# Check for Gettext
|
||||||
|
if(ENABLE_NLS)
|
||||||
|
find_package(Gettext)
|
||||||
|
if(GETTEXT_FOUND)
|
||||||
|
add_definitions(-DENABLE_NLS)
|
||||||
|
find_package(Intl)
|
||||||
|
if(Intl_FOUND)
|
||||||
|
list(APPEND EXTRA_LIBS "${Intl_LIBRARIES}")
|
||||||
|
endif()
|
||||||
|
else()
|
||||||
|
message(SEND_ERROR "Gettext not found")
|
||||||
|
endif()
|
||||||
|
endif()
|
||||||
|
|
||||||
# Check for libgcrypt
|
# Check for libgcrypt
|
||||||
pkg_check_modules(LIBGCRYPT REQUIRED libgcrypt)
|
find_package(GCRYPT REQUIRED)
|
||||||
add_definitions(-DHAVE_GCRYPT)
|
add_definitions(-DHAVE_GCRYPT)
|
||||||
include_directories(${LIBGCRYPT_INCLUDE_DIRS})
|
list(APPEND EXTRA_LIBS ${GCRYPT_LDFLAGS})
|
||||||
list(APPEND EXTRA_LIBS ${LIBGCRYPT_LDFLAGS})
|
|
||||||
|
|
||||||
# Check for GnuTLS
|
# Check for GnuTLS
|
||||||
find_package(GnuTLS REQUIRED)
|
find_package(GnuTLS REQUIRED)
|
||||||
@@ -220,18 +196,7 @@ list(APPEND EXTRA_LIBS gnutls)
|
|||||||
|
|
||||||
# Check for zlib
|
# Check for zlib
|
||||||
find_package(ZLIB REQUIRED)
|
find_package(ZLIB REQUIRED)
|
||||||
|
add_definitions(-DHAVE_ZLIB)
|
||||||
# Check for zstd
|
|
||||||
if(ENABLE_ZSTD)
|
|
||||||
pkg_check_modules(LIBZSTD REQUIRED libzstd)
|
|
||||||
add_definitions(-DHAVE_ZSTD)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
# Check for cJSON
|
|
||||||
if(ENABLE_CJSON)
|
|
||||||
pkg_check_modules(LIBCJSON REQUIRED libcjson)
|
|
||||||
add_definitions(-DHAVE_CJSON)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
# Check for iconv
|
# Check for iconv
|
||||||
find_package(Iconv)
|
find_package(Iconv)
|
||||||
@@ -259,12 +224,7 @@ endif()
|
|||||||
add_subdirectory(icons)
|
add_subdirectory(icons)
|
||||||
|
|
||||||
if(ENABLE_NLS)
|
if(ENABLE_NLS)
|
||||||
find_package(Gettext REQUIRED)
|
|
||||||
find_package(Intl REQUIRED)
|
|
||||||
list(APPEND EXTRA_LIBS "${Intl_LIBRARIES}")
|
|
||||||
add_subdirectory(po)
|
add_subdirectory(po)
|
||||||
else()
|
|
||||||
add_custom_target(translations COMMAND true)
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
add_subdirectory(src)
|
add_subdirectory(src)
|
||||||
@@ -278,16 +238,13 @@ if(ENABLE_TESTS)
|
|||||||
else()
|
else()
|
||||||
message(SEND_ERROR "CppUTest not found")
|
message(SEND_ERROR "CppUTest not found")
|
||||||
endif()
|
endif()
|
||||||
else()
|
|
||||||
enable_testing()
|
|
||||||
add_test(NAME notests COMMAND true)
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
configure_file(config.h.cmake config.h @ONLY)
|
configure_file(config.h.cmake config.h @ONLY)
|
||||||
|
|
||||||
# set the git version in "config-git.h"
|
# set the git version in "config-git.h"
|
||||||
add_custom_target(version_git ALL
|
add_custom_target(version_git ALL
|
||||||
COMMAND "${CMAKE_CURRENT_SOURCE_DIR}/tools/set_git_version.sh" "${CMAKE_CURRENT_SOURCE_DIR}" "${VERSION}" "config-git.h"
|
COMMAND "${CMAKE_CURRENT_SOURCE_DIR}/tools/git-version.sh" "${CMAKE_CURRENT_SOURCE_DIR}" "${VERSION}" "config-git.h"
|
||||||
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
|
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -303,7 +260,7 @@ add_custom_target(uninstall
|
|||||||
|
|
||||||
add_custom_target(dist
|
add_custom_target(dist
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/tools/makedist.sh" "${VERSION}" "HEAD" "${CMAKE_CURRENT_BINARY_DIR}"
|
"${CMAKE_CURRENT_SOURCE_DIR}/tools/makedist.sh" "${VERSION}" "HEAD" "${CMAKE_CURRENT_BINARY_DIR}"
|
||||||
WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}"
|
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
)
|
)
|
||||||
|
|
||||||
# pkgconfig file
|
# pkgconfig file
|
||||||
@@ -312,23 +269,52 @@ set(prefix "${CMAKE_INSTALL_PREFIX}")
|
|||||||
set(exec_prefix "\${prefix}")
|
set(exec_prefix "\${prefix}")
|
||||||
string(REPLACE "${CMAKE_INSTALL_PREFIX}" "\${prefix}" libdir "${LIBDIR}")
|
string(REPLACE "${CMAKE_INSTALL_PREFIX}" "\${prefix}" libdir "${LIBDIR}")
|
||||||
set(includedir "\${prefix}/include")
|
set(includedir "\${prefix}/include")
|
||||||
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/weechat.pc.in" "${CMAKE_CURRENT_BINARY_DIR}/weechat.pc" @ONLY)
|
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/weechat.pc.in ${CMAKE_CURRENT_BINARY_DIR}/weechat.pc @ONLY)
|
||||||
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/weechat.pc" DESTINATION "${LIBDIR}/pkgconfig")
|
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat.pc DESTINATION ${LIBDIR}/pkgconfig)
|
||||||
|
|
||||||
# cygport file (used to build Cygwin packages)
|
# cygport file (used to build Cygwin packages)
|
||||||
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/weechat.cygport.in" "${CMAKE_CURRENT_BINARY_DIR}/weechat-${VERSION}-1.cygport" @ONLY)
|
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/weechat.cygport.in ${CMAKE_CURRENT_BINARY_DIR}/weechat-${VERSION}-1.cygport @ONLY)
|
||||||
|
|
||||||
# install some files (only on Cygwin)
|
# install some files (only on Cygwin)
|
||||||
if(CYGWIN)
|
if(CYGWIN)
|
||||||
install(FILES
|
install(FILES
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/AUTHORS.md"
|
${CMAKE_CURRENT_SOURCE_DIR}/AUTHORS.adoc
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/CHANGELOG.md"
|
${CMAKE_CURRENT_SOURCE_DIR}/ChangeLog.adoc
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/CONTRIBUTING.md"
|
${CMAKE_CURRENT_SOURCE_DIR}/Contributing.adoc
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/README.md"
|
${CMAKE_CURRENT_SOURCE_DIR}/README.adoc
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/UPGRADING.md"
|
${CMAKE_CURRENT_SOURCE_DIR}/ReleaseNotes.adoc
|
||||||
DESTINATION "${DATAROOTDIR}/doc/${PROJECT_NAME}"
|
DESTINATION ${DATAROOTDIR}/doc/${PROJECT_NAME}
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# desktop file
|
# desktop file
|
||||||
install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/weechat.desktop" DESTINATION "${DATAROOTDIR}/applications")
|
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/weechat.desktop DESTINATION ${DATAROOTDIR}/applications)
|
||||||
|
|
||||||
|
# packages
|
||||||
|
set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Fast, light and extensible chat client")
|
||||||
|
set(CPACK_PACKAGE_VENDOR "Sébastien Helleu")
|
||||||
|
set(CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_CURRENT_SOURCE_DIR}/README.adoc")
|
||||||
|
set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/COPYING")
|
||||||
|
set(CPACK_PACKAGE_VERSION_MAJOR ${VERSION_MAJOR})
|
||||||
|
set(CPACK_PACKAGE_VERSION_MINOR ${VERSION_MINOR})
|
||||||
|
set(CPACK_PACKAGE_VERSION_PATCH ${VERSION_PATCH})
|
||||||
|
|
||||||
|
# binary package
|
||||||
|
set(CPACK_GENERATOR "STGZ;TGZ;TBZ2")
|
||||||
|
set(CPACK_PACKAGE_FILE_NAME weechat-binary-${VERSION})
|
||||||
|
|
||||||
|
# source package
|
||||||
|
set(CPACK_SOURCE_GENERATOR "TGZ;TBZ2")
|
||||||
|
set(CPACK_SOURCE_PACKAGE_FILE_NAME weechat-${VERSION})
|
||||||
|
set(CPACK_SOURCE_IGNORE_FILES
|
||||||
|
"/\\\\.git" "/build/" "/m4/"
|
||||||
|
"/autom4te\\\\.cache/" "/ABOUT-NLS$" "/config\\\\.guess$" "/config\\\\.h$"
|
||||||
|
"/config\\\\.h.in$" "/config\\\\.log$" "/config\\\\.rpath$"
|
||||||
|
"/config\\\\.status$" "/config\\\\.sub$" "/configure$" "/depcomp$"
|
||||||
|
"/install-sh$" "/missing$" "/intl/" "/libtool$" "/\\\\.libs/"
|
||||||
|
"/ltmain\\\\.sh$" "/\\\\.deps/" "/html/" "/html1/" "/Makefile$"
|
||||||
|
"/Makefile\\\\.in$" "stamp" "/po/.*\\\\.header$" "\\\\.gmo$" "~$" "\\\\.o$"
|
||||||
|
"\\\\.lo$" "\\\\.a$" "\\\\.la$" "\\\\.lai$" "\\\\.Plo$" "/weechat$"
|
||||||
|
)
|
||||||
|
|
||||||
|
include(CPack)
|
||||||
|
|||||||
-109
@@ -1,109 +0,0 @@
|
|||||||
# Contributing to WeeChat
|
|
||||||
|
|
||||||
## Reporting bugs
|
|
||||||
|
|
||||||
First, some basic things:
|
|
||||||
|
|
||||||
- Use only English to communicate with developers.
|
|
||||||
- Search in issues if the same problem or feature request has already been
|
|
||||||
reported (a duplicate is waste of time for you and the developers!).
|
|
||||||
- If you can, please check if the problem has been fixed in development version
|
|
||||||
(if you are using a stable release or old version).
|
|
||||||
- Report only one bug or feature request per issue.
|
|
||||||
|
|
||||||
### Security reports
|
|
||||||
|
|
||||||
Please **DO NOT** file a GitHub issue for security related problems, but send an
|
|
||||||
email to [security@weechat.org](mailto:security@weechat.org) instead.
|
|
||||||
|
|
||||||
### Required info
|
|
||||||
|
|
||||||
When reporting [issues](https://github.com/weechat/weechat/issues) on GitHub,
|
|
||||||
please include:
|
|
||||||
|
|
||||||
- Your **WeeChat version**: the output of `/v` in WeeChat, for example:
|
|
||||||
`WeeChat 1.7-dev (git: v1.6-6-g997f47f)`.\
|
|
||||||
If WeeChat does not start at all, please include the version displayed by
|
|
||||||
`weechat --help` (or the version installed with your package manager).
|
|
||||||
- Your **operating system**: its name and version (examples: Linux Debian Bookworm,
|
|
||||||
FreeBSD 13.0, Windows/Cygwin 64-bit, Windows/Ubuntu 64-bit…).
|
|
||||||
- The **steps to reproduce**: if possible, please include a reproducible example:
|
|
||||||
explain the steps which led you to the problem.\
|
|
||||||
It's even better if you can reproduce the problem with a new config (and no
|
|
||||||
scripts loaded): try `weechat --dir /tmp/weechat` and check if you have the
|
|
||||||
problem here.
|
|
||||||
- The **gdb's backtrace** (only for a crash): if you can reproduce the crash
|
|
||||||
(or if you have a core file), please include the backtrace from gdb (look at
|
|
||||||
[User's guide](https://weechat.org/doc/weechat/user/#report_crashes) for more info).
|
|
||||||
- The **actual result**.
|
|
||||||
- The **expected result**: the correct result you are expecting.
|
|
||||||
|
|
||||||
> [!IMPORTANT]
|
|
||||||
> Most of times, the WeeChat crash log file (_weechat_crash_YYYYMMDD_xxx.log_)
|
|
||||||
is **NOT USEFUL** to fix the bug, so please report this file **ONLY** if a developer
|
|
||||||
asked you to send it (and be extremely careful, this file can contain personal
|
|
||||||
data like passwords and contents of your chats).
|
|
||||||
|
|
||||||
### Scripts related issues
|
|
||||||
|
|
||||||
If you are using scripts, they can cause problems/crashes. To check if the
|
|
||||||
problem is related to one script, try to unload them one by one (using
|
|
||||||
command `/script unload <name>`).
|
|
||||||
|
|
||||||
Many issues reported are in fact related to bugs in scripts, so please first
|
|
||||||
check that before reporting any issue on WeeChat itself.
|
|
||||||
|
|
||||||
If you think the problem comes from a specific script, please report the issue
|
|
||||||
in the [scripts git repository](https://github.com/weechat/scripts/issues) instead.
|
|
||||||
|
|
||||||
## Translations
|
|
||||||
|
|
||||||
Pull requests on GitHub for fixes or new translations are welcome at any
|
|
||||||
time, for [WeeChat](https://github.com/weechat/weechat) and the website
|
|
||||||
[weechat.org](https://github.com/weechat/weechat.org).
|
|
||||||
|
|
||||||
To start a translation in a new language (not yet supported), please look at
|
|
||||||
[translations](https://weechat.org/doc/weechat/dev/#translations)
|
|
||||||
in Developer's guide.
|
|
||||||
|
|
||||||
## Feature requests
|
|
||||||
|
|
||||||
WeeChat is under active development, so your idea may already have been
|
|
||||||
implemented, or scheduled for a future version (you can check in
|
|
||||||
[roadmap](https://weechat.org/dev/) or
|
|
||||||
[milestones](https://github.com/weechat/weechat/milestones) on GitHub.
|
|
||||||
|
|
||||||
Pull requests on GitHub are welcome for minor new features.
|
|
||||||
|
|
||||||
For major new features, it's better to discuss about it in IRC
|
|
||||||
(server: `irc.libera.chat`, channel `#weechat`).
|
|
||||||
|
|
||||||
Before submitting any pull request, be sure you have read the
|
|
||||||
[coding rules](https://weechat.org/doc/weechat/dev/#coding_rules)
|
|
||||||
in Developer's guide, which contains info about styles used, naming convention
|
|
||||||
and other useful info.
|
|
||||||
|
|
||||||
## Semantic versioning
|
|
||||||
|
|
||||||
Since version 4.0.0, WeeChat is following a "practical" semantic versioning.
|
|
||||||
|
|
||||||
It is based on [Semantic Versioning](https://semver.org/) but in a less strict way:
|
|
||||||
breaking changes in API with low user impact don't bump the major version.
|
|
||||||
|
|
||||||
The version number is on three digits `X.Y.Z`, where:
|
|
||||||
|
|
||||||
- `X` is the major version
|
|
||||||
- `Y` is the minor version
|
|
||||||
- `Z` is the patch version.
|
|
||||||
|
|
||||||
Rules to increment the version number:
|
|
||||||
|
|
||||||
- the **major version** number (`X`) is incremented only when intentional breaking changes
|
|
||||||
target feature areas that are actively consumed by users, scripts or C plugin API
|
|
||||||
- the **minor version** number (`Y`) is incremented for any new release of WeeChat
|
|
||||||
that includes new features and bug fixes, possibly breaking API with low impact on users
|
|
||||||
- the **patch version** number (`Z`) is reserved for releases that address severe bugs
|
|
||||||
or security issues found after the release.
|
|
||||||
|
|
||||||
For more information, see the
|
|
||||||
[specification](https://specs.weechat.org/specs/2023-003-practical-semantic-versioning.html).
|
|
||||||
+3335
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,90 @@
|
|||||||
|
= Contributing to WeeChat
|
||||||
|
:author: Sébastien Helleu
|
||||||
|
:email: flashcode@flashtux.org
|
||||||
|
:lang: en
|
||||||
|
|
||||||
|
|
||||||
|
== Reporting bugs
|
||||||
|
|
||||||
|
First, some basic things:
|
||||||
|
|
||||||
|
* Use only English to communicate with developers.
|
||||||
|
* Search in issues if the same problem or feature request has already been
|
||||||
|
reported (a duplicate is waste of time for you and the developers!).
|
||||||
|
* If you can, please check if the problem has been fixed in development version
|
||||||
|
(if you are using a stable release or old version).
|
||||||
|
* Report only one bug or feature request per issue.
|
||||||
|
|
||||||
|
=== Security reports
|
||||||
|
|
||||||
|
Please *DO NOT* file a GitHub issue for security related problems, but send an
|
||||||
|
email to <security@weechat.org> instead.
|
||||||
|
|
||||||
|
=== Required info
|
||||||
|
|
||||||
|
When reporting https://github.com/weechat/weechat/issues[issues] on GitHub,
|
||||||
|
please include:
|
||||||
|
|
||||||
|
* Your *WeeChat version*: the output of `/v` in WeeChat, for example:
|
||||||
|
_WeeChat 1.7-dev (git: v1.6-6-g997f47f)_. +
|
||||||
|
If WeeChat does not start at all, please include the version displayed by
|
||||||
|
`weechat --help` (or the version installed with your package manager).
|
||||||
|
* Your *operating system*: its name and version (examples: Linux Debian Wheezy,
|
||||||
|
FreeBSD 10.0, Windows/Cygwin 64-bit, Windows/Ubuntu 64-bit...).
|
||||||
|
* The *steps to reproduce*: if possible, please include a reproducible example:
|
||||||
|
explain the steps which led you to the problem. +
|
||||||
|
It's even better if you can reproduce the problem with a new config (and no
|
||||||
|
scripts loaded): try `weechat --dir /tmp/weechat` and check if you have the
|
||||||
|
problem here.
|
||||||
|
* The *gdb's backtrace* (only for a crash): if you can reproduce the crash
|
||||||
|
(or if you have a core file), please include the backtrace from gdb (look at
|
||||||
|
https://weechat.org/files/doc/devel/weechat_user.en.html#report_crashes[User's guide]
|
||||||
|
for more info).
|
||||||
|
* The *actual result*.
|
||||||
|
* The *expected result*: the correct result you are expecting.
|
||||||
|
|
||||||
|
[IMPORTANT]
|
||||||
|
Most of times, the WeeChat crash log file (_weechat_crash_YYYYMMDD_xxx.log_) is
|
||||||
|
*NOT USEFUL* to fix the bug, so please report this file *ONLY* if a developer
|
||||||
|
asked you to send it (and be extremely careful, this file can contain personal
|
||||||
|
data like passwords and contents of your chats).
|
||||||
|
|
||||||
|
=== Scripts related issues
|
||||||
|
|
||||||
|
If you are using scripts, they can cause problems/crashes. To check if the
|
||||||
|
problem is related to one script, try to unload them one by one (using
|
||||||
|
command `/script unload <name>`).
|
||||||
|
|
||||||
|
Many issues reported are in fact related to bugs in scripts, so please first
|
||||||
|
check that before reporting any issue on WeeChat itself.
|
||||||
|
|
||||||
|
If you think the problem comes from a specific script, please report the issue
|
||||||
|
in the https://github.com/weechat/scripts/issues[scripts git repository]
|
||||||
|
instead.
|
||||||
|
|
||||||
|
== Translations
|
||||||
|
|
||||||
|
Pull requests on GitHub for fixes or new translations are welcome at any
|
||||||
|
time, for https://github.com/weechat/weechat[WeeChat] and the website
|
||||||
|
https://github.com/weechat/weechat.org[weechat.org].
|
||||||
|
|
||||||
|
To start a translation in a new language (not yet supported), please look at
|
||||||
|
https://weechat.org/files/doc/devel/weechat_dev.en.html#translations[translations]
|
||||||
|
in Developer's guide.
|
||||||
|
|
||||||
|
== Feature requests
|
||||||
|
|
||||||
|
WeeChat is under active development, so your idea may already have been
|
||||||
|
implemented, or scheduled for a future version (you can check in
|
||||||
|
https://weechat.org/dev[roadmap] or
|
||||||
|
https://github.com/weechat/weechat/milestones[milestones] on GitHub.
|
||||||
|
|
||||||
|
Pull requests on GitHub are welcome for minor new features.
|
||||||
|
|
||||||
|
For major new features, it's better to discuss about it in IRC
|
||||||
|
(server: _irc.libera.chat_, channel _#weechat_).
|
||||||
|
|
||||||
|
Before submitting any pull request, be sure you have read the
|
||||||
|
https://weechat.org/files/doc/devel/weechat_dev.en.html#coding_rules[coding rules]
|
||||||
|
in Developer's guide, which contains info about styles used, naming convention
|
||||||
|
and other useful info.
|
||||||
+80
@@ -0,0 +1,80 @@
|
|||||||
|
#
|
||||||
|
# Copyright (C) 2003-2021 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
|
# Copyright (C) 2005 Julien Louis <ptitlouis@sysif.net>
|
||||||
|
# Copyright (C) 2006-2009 Emmanuel Bouthenot <kolter@openics.org>
|
||||||
|
#
|
||||||
|
# This file is part of WeeChat, the extensible chat client.
|
||||||
|
#
|
||||||
|
# WeeChat is free software; you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
# the Free Software Foundation; either version 3 of the License, or
|
||||||
|
# (at your option) any later version.
|
||||||
|
#
|
||||||
|
# WeeChat is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
#
|
||||||
|
|
||||||
|
# This target will update file config-git.h with output of command "git describe"
|
||||||
|
# (if needed, and only for a devel/rc version).
|
||||||
|
BUILT_SOURCES = build-config-git.h
|
||||||
|
build-config-git.h:
|
||||||
|
-$(abs_top_srcdir)/tools/git-version.sh "$(abs_top_srcdir)" "$(VERSION)" config-git.h
|
||||||
|
|
||||||
|
if TESTS
|
||||||
|
tests_dir = tests
|
||||||
|
endif
|
||||||
|
|
||||||
|
SUBDIRS = icons po doc intl src $(tests_dir)
|
||||||
|
|
||||||
|
EXTRA_DIST = AUTHORS.adoc \
|
||||||
|
ChangeLog.adoc \
|
||||||
|
Contributing.adoc \
|
||||||
|
README.adoc \
|
||||||
|
ReleaseNotes.adoc \
|
||||||
|
CMakeLists.txt \
|
||||||
|
config.rpath \
|
||||||
|
config.h.cmake \
|
||||||
|
cmake/CMakeParseArguments.cmake \
|
||||||
|
cmake/FindAsciidoctor.cmake \
|
||||||
|
cmake/FindAspell.cmake \
|
||||||
|
cmake/FindCppUTest.cmake \
|
||||||
|
cmake/FindENCHANT.cmake \
|
||||||
|
cmake/FindGCRYPT.cmake \
|
||||||
|
cmake/FindGettext.cmake \
|
||||||
|
cmake/FindGnuTLS.cmake \
|
||||||
|
cmake/FindGuile.cmake \
|
||||||
|
cmake/FindIconv.cmake \
|
||||||
|
cmake/FindLua.cmake \
|
||||||
|
cmake/FindNcurses.cmake \
|
||||||
|
cmake/FindPerl.cmake \
|
||||||
|
cmake/FindPkgConfig.cmake \
|
||||||
|
cmake/FindPython.cmake \
|
||||||
|
cmake/FindRuby.cmake \
|
||||||
|
cmake/FindV8.cmake \
|
||||||
|
cmake/FindZLIB.cmake \
|
||||||
|
cmake/cmake_uninstall.cmake.in \
|
||||||
|
po/CMakeLists.txt \
|
||||||
|
po/srcfiles.cmake \
|
||||||
|
tools/build-test.sh \
|
||||||
|
tools/git-version.sh \
|
||||||
|
tools/makedist.sh \
|
||||||
|
version.sh \
|
||||||
|
weechat.desktop \
|
||||||
|
weechat.pc.in \
|
||||||
|
weechat.cygport.in
|
||||||
|
|
||||||
|
ACLOCAL_AMFLAGS = -I m4
|
||||||
|
|
||||||
|
pkgconfigdir = $(libdir)/pkgconfig
|
||||||
|
pkgconfig_DATA = weechat.pc
|
||||||
|
|
||||||
|
desktopdir = $(datadir)/applications
|
||||||
|
desktop_DATA = weechat.desktop
|
||||||
|
|
||||||
|
clean-local:
|
||||||
|
$(RM) config-git.h
|
||||||
+65
@@ -0,0 +1,65 @@
|
|||||||
|
:author: Sébastien Helleu
|
||||||
|
:email: flashcode@flashtux.org
|
||||||
|
:lang: en
|
||||||
|
|
||||||
|
|
||||||
|
pass:[<p align="center">] image:https://weechat.org/media/images/weechat_logo_large.png[align="center"] pass:[</p>]
|
||||||
|
|
||||||
|
image:https://img.shields.io/badge/diaspora*-follow-blue.svg["Diaspora*", link="https://diasp.eu/u/weechat"]
|
||||||
|
image:https://img.shields.io/badge/mastodon-follow-blue.svg["Mastodon", link="https://hostux.social/@weechat"]
|
||||||
|
image:https://img.shields.io/badge/twitter-follow-blue.svg["Twitter", link="https://twitter.com/WeeChatClient"]
|
||||||
|
image:https://img.shields.io/badge/devel%20blog-follow-blue.svg["Devel blog", link="https://blog.weechat.org/"]
|
||||||
|
image:https://img.shields.io/badge/slant-recommend-28acad.svg["Slant", link="https://www.slant.co/topics/1323/~best-irc-clients-for-linux"]
|
||||||
|
image:https://img.shields.io/badge/help-donate%20%E2%9D%A4-ff69b4.svg["Donate", link="https://weechat.org/donate/"]
|
||||||
|
|
||||||
|
image:https://github.com/weechat/weechat/workflows/CI/badge.svg["CI", link="https://github.com/weechat/weechat/actions"]
|
||||||
|
image:https://codecov.io/gh/weechat/weechat/branch/master/graph/badge.svg["Code coverage", link="https://codecov.io/gh/weechat/weechat"]
|
||||||
|
|
||||||
|
*WeeChat* (Wee Enhanced Environment for Chat) is a free chat client, fast and
|
||||||
|
light, designed for many operating systems.
|
||||||
|
It is highly customizable and extensible with scripts.
|
||||||
|
|
||||||
|
Homepage: https://weechat.org/
|
||||||
|
|
||||||
|
== Features
|
||||||
|
|
||||||
|
* *Modular chat client*: WeeChat has a lightweight core and optional https://weechat.org/files/doc/stable/weechat_user.en.html#plugins[plugins]. All plugins (including https://weechat.org/files/doc/stable/weechat_user.en.html#irc_plugin[IRC]) are independent and can be unloaded.
|
||||||
|
* *Multi-platform*: WeeChat runs on GNU/Linux, *BSD, GNU/Hurd, Haiku, macOS and Windows (Bash/Ubuntu and Cygwin).
|
||||||
|
* *Multi-protocols*: WeeChat is designed to support multiple protocols by plugins, like IRC.
|
||||||
|
* *Standards-compliant*: the IRC plugin is compliant with RFCs https://tools.ietf.org/html/rfc1459[1459], https://tools.ietf.org/html/rfc2810[2810], https://tools.ietf.org/html/rfc2811[2811], https://tools.ietf.org/html/rfc2812[2812], and https://tools.ietf.org/html/rfc2813[2813].
|
||||||
|
* *Small, fast, and very light*: the core is and should stay as light and fast as possible.
|
||||||
|
* *Customizable and extensible*: there are a lot of options to customize WeeChat, and it is extensible with C plugins and https://weechat.org/scripts/[scripts] (https://weechat.org/scripts/language/perl/[Perl], https://weechat.org/scripts/language/python/[Python], https://weechat.org/scripts/language/ruby[Ruby], https://weechat.org/scripts/language/lua/[Lua], https://weechat.org/scripts/language/tcl/[Tcl], https://weechat.org/scripts/language/guile/[Scheme], https://weechat.org/scripts/language/javascript/[JavaScript] and https://weechat.org/scripts/language/php/[PHP]).
|
||||||
|
* *Fully documented*: there is comprehensive https://weechat.org/doc/[documentation], which is https://weechat.org/files/doc/stable/weechat_dev.en.html#translations[translated] into several languages.
|
||||||
|
* *Developed from scratch*: WeeChat was built from scratch and is not based on any other client.
|
||||||
|
* *Free software*: WeeChat is released under https://www.gnu.org/licenses/gpl-3.0.html[GPLv3].
|
||||||
|
|
||||||
|
pass:[<p align="center">] image:https://weechat.org/media/images/screenshots/weechat/medium/weechat_2013-04-27_phlux_shadow.png[align="center"] pass:[</p>]
|
||||||
|
|
||||||
|
On WeeChat's website you can find https://weechat.org/about/screenshots/[more screenshots].
|
||||||
|
|
||||||
|
== Installation
|
||||||
|
|
||||||
|
WeeChat can be installed using your favorite package manager (recommended)
|
||||||
|
or by compiling it yourself.
|
||||||
|
|
||||||
|
For detailed instructions, please check the
|
||||||
|
https://weechat.org/files/doc/stable/weechat_user.en.html#install[WeeChat user's guide].
|
||||||
|
|
||||||
|
== Copyright
|
||||||
|
|
||||||
|
Copyright (C) 2003-2021 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
|
|
||||||
|
This file is part of WeeChat, the extensible chat client.
|
||||||
|
|
||||||
|
WeeChat is free software; you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation; either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
WeeChat is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||||
@@ -1,66 +0,0 @@
|
|||||||
# WeeChat
|
|
||||||
|
|
||||||
<p align="center">
|
|
||||||
<img src="https://weechat.org/media/images/weechat_logo_large.png" alt="WeeChat" />
|
|
||||||
</p>
|
|
||||||
|
|
||||||
[](https://hostux.social/@weechat)
|
|
||||||
[](https://diasp.eu/u/weechat)
|
|
||||||
[](https://x.com/WeeChatClient)
|
|
||||||
[](https://blog.weechat.org/)
|
|
||||||
[](https://www.slant.co/topics/1323/~best-irc-clients-for-linux)
|
|
||||||
[](https://weechat.org/donate/)
|
|
||||||
|
|
||||||
[](https://github.com/weechat/weechat/actions)
|
|
||||||
[](https://codecov.io/gh/weechat/weechat)
|
|
||||||
|
|
||||||
**WeeChat** (Wee Enhanced Environment for Chat) is a free chat client, fast and light, designed for many operating systems.\
|
|
||||||
It is highly customizable and extensible with scripts.
|
|
||||||
|
|
||||||
Homepage: [https://weechat.org/](https://weechat.org/)
|
|
||||||
|
|
||||||
## Features
|
|
||||||
|
|
||||||
- **Modular chat client**: WeeChat has a lightweight core and optional [plugins](https://weechat.org/doc/weechat/user/#plugins). All plugins (including [IRC](https://weechat.org/doc/weechat/user/#irc)) are independent and can be unloaded.
|
|
||||||
- **Multi-platform**: WeeChat runs on GNU/Linux, *BSD, GNU/Hurd, Haiku, macOS and Windows (Bash/Ubuntu and Cygwin).
|
|
||||||
- **Multi-protocols**: WeeChat is designed to support multiple protocols by plugins, like IRC.
|
|
||||||
- **Standards-compliant**: the IRC plugin is compliant with RFCs [1459](https://datatracker.ietf.org/doc/html/rfc1459), [2810](https://datatracker.ietf.org/doc/html/rfc2810), [2811](https://datatracker.ietf.org/doc/html/rfc2811), [2812](https://datatracker.ietf.org/doc/html/rfc2812), [2813](https://datatracker.ietf.org/doc/html/rfc2813) and [7194](https://datatracker.ietf.org/doc/html/rfc7194).
|
|
||||||
- **Small, fast, and very light**: the core is and should stay as light and fast as possible.
|
|
||||||
- **Customizable and extensible**: there are a lot of options to customize WeeChat, and it is extensible with C plugins and [scripts](https://weechat.org/scripts/) ([Perl](https://weechat.org/scripts/language/perl/), [Python](https://weechat.org/scripts/language/python/), [Ruby](https://weechat.org/scripts/language/ruby), [Lua](https://weechat.org/scripts/language/lua/), [Tcl](https://weechat.org/scripts/language/tcl/), [Scheme](https://weechat.org/scripts/language/guile/), [JavaScript](https://weechat.org/scripts/language/javascript/) and [PHP](https://weechat.org/scripts/language/php/)).
|
|
||||||
- **Fully documented**: there is comprehensive [documentation](https://weechat.org/doc/weechat/), which is [translated](https://weechat.org/doc/weechat/dev/#translations) into several languages.
|
|
||||||
- **Developed from scratch**: WeeChat was built from scratch and is not based on any other client.
|
|
||||||
- **Free software**: WeeChat is released under [GPLv3](https://www.gnu.org/licenses/gpl-3.0.html).
|
|
||||||
|
|
||||||
<p align="center">
|
|
||||||
<img src="https://weechat.org/media/images/screenshots/weechat/medium/weechat_2013-04-27_phlux_shadow.png" alt="WeeChat" />
|
|
||||||
</p>
|
|
||||||
|
|
||||||
On WeeChat's website you can find [more screenshots](https://weechat.org/about/screenshots/).
|
|
||||||
|
|
||||||
## Installation
|
|
||||||
|
|
||||||
WeeChat can be installed using your favorite package manager (recommended) or by compiling it yourself.\
|
|
||||||
For detailed instructions, please check the [WeeChat user's guide](https://weechat.org/doc/weechat/user/#install).
|
|
||||||
|
|
||||||
## Semantic versioning
|
|
||||||
|
|
||||||
WeeChat is following a "practical" semantic versioning, see file [CONTRIBUTING.md](CONTRIBUTING.md#semantic-versioning).
|
|
||||||
|
|
||||||
## Copyright
|
|
||||||
|
|
||||||
Copyright © 2003-2024 [Sébastien Helleu](https://github.com/flashcode)
|
|
||||||
|
|
||||||
This file is part of WeeChat, the extensible chat client.
|
|
||||||
|
|
||||||
WeeChat is free software; you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU General Public License as published by
|
|
||||||
the Free Software Foundation; either version 3 of the License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
WeeChat is distributed in the hope that it will be useful,
|
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
|
||||||
along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
|
||||||
+2705
File diff suppressed because it is too large
Load Diff
-3108
File diff suppressed because it is too large
Load Diff
Executable
+69
@@ -0,0 +1,69 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
#
|
||||||
|
# Copyright (C) 2003-2021 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
|
# Copyright (C) 2005 Julien Louis <ptitlouis@sysif.net>
|
||||||
|
# Copyright (C) 2005-2006 Emmanuel Bouthenot <kolter@openics.org>
|
||||||
|
#
|
||||||
|
# This file is part of WeeChat, the extensible chat client.
|
||||||
|
#
|
||||||
|
# WeeChat is free software; you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
# the Free Software Foundation; either version 3 of the License, or
|
||||||
|
# (at your option) any later version.
|
||||||
|
#
|
||||||
|
# WeeChat is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
#
|
||||||
|
|
||||||
|
###
|
||||||
|
### common stuff
|
||||||
|
###
|
||||||
|
|
||||||
|
DIR=$(cd "$(dirname "$0")" || exit 1; pwd)
|
||||||
|
cd "$DIR" || exit 1
|
||||||
|
|
||||||
|
AUTOGEN_LOG=autogen.log
|
||||||
|
|
||||||
|
err ()
|
||||||
|
{
|
||||||
|
echo "-------"
|
||||||
|
echo "Error :"
|
||||||
|
echo "---8<-----------------------------------"
|
||||||
|
cat "$AUTOGEN_LOG"
|
||||||
|
echo "----------------------------------->8---"
|
||||||
|
exit 1
|
||||||
|
}
|
||||||
|
|
||||||
|
run ()
|
||||||
|
{
|
||||||
|
printf "Running \"%s\"..." "$@"
|
||||||
|
if eval "$@" >"$AUTOGEN_LOG" 2>&1 ; then
|
||||||
|
echo " OK"
|
||||||
|
else
|
||||||
|
echo " FAILED"
|
||||||
|
err
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
# remove autotools stuff
|
||||||
|
run "rm -f config.h.in"
|
||||||
|
run "rm -f aclocal.m4 configure config.log config.status"
|
||||||
|
run "rm -rf autom4te*.cache"
|
||||||
|
|
||||||
|
# remove libtool stuff
|
||||||
|
run "rm -f libtool"
|
||||||
|
|
||||||
|
# remove gettext stuff
|
||||||
|
run "rm -f ABOUT-NLS"
|
||||||
|
run "rm -rf intl"
|
||||||
|
|
||||||
|
# execute autoreconf cmds
|
||||||
|
run "autoreconf -vi"
|
||||||
|
|
||||||
|
# ending
|
||||||
|
rm -f "$AUTOGEN_LOG"
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2003-2024 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2003-2021 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# This file is part of WeeChat, the extensible chat client.
|
# This file is part of WeeChat, the extensible chat client.
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2003-2024 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2003-2021 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# This file is part of WeeChat, the extensible chat client.
|
# This file is part of WeeChat, the extensible chat client.
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2014-2024 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2014-2021 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# This file is part of WeeChat, the extensible chat client.
|
# This file is part of WeeChat, the extensible chat client.
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -27,11 +27,11 @@ else()
|
|||||||
find_path(ENCHANT_INCLUDE_DIR
|
find_path(ENCHANT_INCLUDE_DIR
|
||||||
NAMES enchant++.h
|
NAMES enchant++.h
|
||||||
HINTS ${PC_ENCHANT_INCLUDEDIR} ${PC_ENCHANT_INCLUDE_DIRS}
|
HINTS ${PC_ENCHANT_INCLUDEDIR} ${PC_ENCHANT_INCLUDE_DIRS}
|
||||||
PATH_SUFFIXES enchant-2 enchant
|
PATH_SUFFIXES enchant
|
||||||
)
|
)
|
||||||
|
|
||||||
find_library(ENCHANT_LIBRARIES
|
find_library(ENCHANT_LIBRARIES
|
||||||
NAMES enchant-2 enchant
|
NAMES enchant
|
||||||
HINTS ${PC_ENCHANT_LIBDIR}
|
HINTS ${PC_ENCHANT_LIBDIR}
|
||||||
${PC_ENCHANT_LIBRARY_DIRS}
|
${PC_ENCHANT_LIBRARY_DIRS}
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -0,0 +1,53 @@
|
|||||||
|
#
|
||||||
|
# Copyright (C) 2003-2021 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
|
#
|
||||||
|
# This file is part of WeeChat, the extensible chat client.
|
||||||
|
#
|
||||||
|
# WeeChat is free software; you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
# the Free Software Foundation; either version 3 of the License, or
|
||||||
|
# (at your option) any later version.
|
||||||
|
#
|
||||||
|
# WeeChat is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
#
|
||||||
|
|
||||||
|
# - Find Gcrypt
|
||||||
|
# This module finds if libgcrypt is installed and determines where
|
||||||
|
# the include files and libraries are.
|
||||||
|
#
|
||||||
|
# This code sets the following variables:
|
||||||
|
#
|
||||||
|
# GCRYPT_CFLAGS = cflags to use to compile
|
||||||
|
# GCRYPT_LDFLAGS = ldflags to use to compile
|
||||||
|
#
|
||||||
|
|
||||||
|
find_program(LIBGCRYPT_CONFIG_EXECUTABLE NAMES libgcrypt-config)
|
||||||
|
|
||||||
|
set(GCRYPT_LDFLAGS)
|
||||||
|
set(GCRYPT_CFLAGS)
|
||||||
|
|
||||||
|
if(LIBGCRYPT_CONFIG_EXECUTABLE)
|
||||||
|
|
||||||
|
execute_process(COMMAND ${LIBGCRYPT_CONFIG_EXECUTABLE} --libs RESULT_VARIABLE _return_VALUE OUTPUT_VARIABLE GCRYPT_LDFLAGS OUTPUT_STRIP_TRAILING_WHITESPACE ERROR_QUIET)
|
||||||
|
execute_process(COMMAND ${LIBGCRYPT_CONFIG_EXECUTABLE} --cflags RESULT_VARIABLE _return_VALUE OUTPUT_VARIABLE GCRYPT_CFLAGS OUTPUT_STRIP_TRAILING_WHITESPACE ERROR_QUIET)
|
||||||
|
|
||||||
|
if(NOT DEFINED ${GCRYPT_CFLAGS})
|
||||||
|
set(GCRYPT_CFLAGS " ")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
endif()
|
||||||
|
|
||||||
|
# handle the QUIETLY and REQUIRED arguments and set GCRYPT_FOUND to TRUE if
|
||||||
|
# all listed variables are TRUE
|
||||||
|
include(FindPackageHandleStandardArgs)
|
||||||
|
find_package_handle_standard_args(GCRYPT REQUIRED_VARS GCRYPT_LDFLAGS GCRYPT_CFLAGS)
|
||||||
|
|
||||||
|
if(GCRYPT_FOUND)
|
||||||
|
mark_as_advanced(GCRYPT_CFLAGS GCRYPT_LDFLAGS)
|
||||||
|
endif()
|
||||||
+21
-23
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2003-2024 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2003-2021 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
# Copyright (C) 2007 Julien Louis <ptitlouis@sysif.net>
|
# Copyright (C) 2007 Julien Louis <ptitlouis@sysif.net>
|
||||||
# Copyright (C) 2009 Emmanuel Bouthenot <kolter@openics.org>
|
# Copyright (C) 2009 Emmanuel Bouthenot <kolter@openics.org>
|
||||||
#
|
#
|
||||||
@@ -45,28 +45,26 @@ set(CMAKE_REQUIRED_INCLUDES ${LIBINTL_INCLUDE})
|
|||||||
|
|
||||||
check_include_files(libintl.h HAVE_LIBINTL_H)
|
check_include_files(libintl.h HAVE_LIBINTL_H)
|
||||||
|
|
||||||
if(NOT HAVE_LIBINTL_H)
|
if(HAVE_LIBINTL_H)
|
||||||
message(SEND_ERROR "Header libintl.h not found, required if ENABLE_NLS is enabled")
|
check_function_exists(dgettext LIBC_HAS_DGETTEXT)
|
||||||
endif()
|
if(LIBC_HAS_DGETTEXT)
|
||||||
|
set(GETTEXT_FOUND TRUE)
|
||||||
check_function_exists(dgettext LIBC_HAS_DGETTEXT)
|
else()
|
||||||
if(LIBC_HAS_DGETTEXT)
|
find_library(LIBINTL_LIBRARY NAMES intl
|
||||||
set(GETTEXT_FOUND TRUE)
|
PATHS
|
||||||
else()
|
/usr/local/lib
|
||||||
find_library(LIBINTL_LIBRARY NAMES intl
|
/usr/lib
|
||||||
PATHS
|
)
|
||||||
/usr/local/lib
|
if(LIBINTL_LIBRARY)
|
||||||
/usr/lib
|
if(${CMAKE_SYSTEM_NAME} STREQUAL "OpenBSD")
|
||||||
)
|
set(CMAKE_REQUIRED_LIBRARIES "iconv")
|
||||||
if(LIBINTL_LIBRARY)
|
check_library_exists(${LIBINTL_LIBRARY} "libintl_dgettext" "" LIBINTL_HAS_DGETTEXT)
|
||||||
if(${CMAKE_SYSTEM_NAME} STREQUAL "OpenBSD")
|
else()
|
||||||
set(CMAKE_REQUIRED_LIBRARIES "iconv")
|
check_library_exists(${LIBINTL_LIBRARY} "dgettext" "" LIBINTL_HAS_DGETTEXT)
|
||||||
check_library_exists(${LIBINTL_LIBRARY} "libintl_dgettext" "" LIBINTL_HAS_DGETTEXT)
|
endif()
|
||||||
else()
|
if(LIBINTL_HAS_DGETTEXT)
|
||||||
check_library_exists(${LIBINTL_LIBRARY} "dgettext" "" LIBINTL_HAS_DGETTEXT)
|
set(GETTEXT_FOUND TRUE)
|
||||||
endif()
|
endif()
|
||||||
if(LIBINTL_HAS_DGETTEXT)
|
|
||||||
set(GETTEXT_FOUND TRUE)
|
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2003-2024 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2003-2021 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
# Copyright (C) 2009 Emmanuel Bouthenot <kolter@openics.org>
|
# Copyright (C) 2009 Emmanuel Bouthenot <kolter@openics.org>
|
||||||
#
|
#
|
||||||
# This file is part of WeeChat, the extensible chat client.
|
# This file is part of WeeChat, the extensible chat client.
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2011-2024 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2011-2021 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# This file is part of WeeChat, the extensible chat client.
|
# This file is part of WeeChat, the extensible chat client.
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2003-2024 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2003-2021 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# This file is part of WeeChat, the extensible chat client.
|
# This file is part of WeeChat, the extensible chat client.
|
||||||
#
|
#
|
||||||
|
|||||||
+2
-2
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2003-2024 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2003-2021 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# This file is part of WeeChat, the extensible chat client.
|
# This file is part of WeeChat, the extensible chat client.
|
||||||
#
|
#
|
||||||
@@ -35,5 +35,5 @@ endif()
|
|||||||
|
|
||||||
find_package(PkgConfig)
|
find_package(PkgConfig)
|
||||||
if(PKG_CONFIG_FOUND)
|
if(PKG_CONFIG_FOUND)
|
||||||
pkg_search_module(LUA lua lua5.4 lua-5.4 lua54 lua5.3 lua-5.3 lua53 lua5.2 lua-5.2 lua52 lua5.1 lua-5.1 lua51 lua-5.0 lua5.0 lua50)
|
pkg_search_module(LUA lua5.4 lua-5.4 lua54 lua5.3 lua-5.3 lua53 lua5.2 lua-5.2 lua52 lua5.1 lua-5.1 lua51 lua-5.0 lua5.0 lua50 lua)
|
||||||
endif()
|
endif()
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2003-2024 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2003-2021 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# This file is part of WeeChat, the extensible chat client.
|
# This file is part of WeeChat, the extensible chat client.
|
||||||
#
|
#
|
||||||
|
|||||||
+2
-3
@@ -1,6 +1,6 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2017 Adam Saponara <as@php.net>
|
# Copyright (C) 2017 Adam Saponara <as@php.net>
|
||||||
# Copyright (C) 2017-2024 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2017-2021 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# This file is part of WeeChat, the extensible chat client.
|
# This file is part of WeeChat, the extensible chat client.
|
||||||
#
|
#
|
||||||
@@ -29,7 +29,6 @@ endif()
|
|||||||
|
|
||||||
if(NOT PHP_FOUND)
|
if(NOT PHP_FOUND)
|
||||||
find_program(PHP_CONFIG_EXECUTABLE NAMES
|
find_program(PHP_CONFIG_EXECUTABLE NAMES
|
||||||
php-config8.2 php-config82
|
|
||||||
php-config8.1 php-config81
|
php-config8.1 php-config81
|
||||||
php-config8.0 php-config80
|
php-config8.0 php-config80
|
||||||
php-config8
|
php-config8
|
||||||
@@ -48,7 +47,7 @@ if(NOT PHP_FOUND)
|
|||||||
execute_process(COMMAND ${PHP_CONFIG_EXECUTABLE} --version OUTPUT_VARIABLE PHP_VERSION OUTPUT_STRIP_TRAILING_WHITESPACE)
|
execute_process(COMMAND ${PHP_CONFIG_EXECUTABLE} --version OUTPUT_VARIABLE PHP_VERSION OUTPUT_STRIP_TRAILING_WHITESPACE)
|
||||||
if(${PHP_VERSION} MATCHES "^[78]")
|
if(${PHP_VERSION} MATCHES "^[78]")
|
||||||
find_library(PHP_LIB
|
find_library(PHP_LIB
|
||||||
NAMES php8.2 php82 php8.1 php81 php8.0 php80 php8 php7.4 php74 php7.3 php73 php7.2 php72 php7.1 php71 php7.0 php70 php7 php
|
NAMES php8.1 php8.0 php8 php7.4 php7.3 php7.2 php7.1 php7.0 php7 php
|
||||||
HINTS ${PHP_LIB_PREFIX} ${PHP_LIB_PREFIX}/lib ${PHP_LIB_PREFIX}/lib64
|
HINTS ${PHP_LIB_PREFIX} ${PHP_LIB_PREFIX}/lib ${PHP_LIB_PREFIX}/lib64
|
||||||
)
|
)
|
||||||
if(PHP_LIB)
|
if(PHP_LIB)
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2003-2024 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2003-2021 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# This file is part of WeeChat, the extensible chat client.
|
# This file is part of WeeChat, the extensible chat client.
|
||||||
#
|
#
|
||||||
|
|||||||
+10
-4
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2003-2024 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2003-2021 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
# Copyright (C) 2009 Julien Louis <ptitlouis@sysif.net>
|
# Copyright (C) 2009 Julien Louis <ptitlouis@sysif.net>
|
||||||
#
|
#
|
||||||
# This file is part of WeeChat, the extensible chat client.
|
# This file is part of WeeChat, the extensible chat client.
|
||||||
@@ -28,7 +28,13 @@
|
|||||||
# PYTHON_LIBRARIES = path to where libpython.so* can be found
|
# PYTHON_LIBRARIES = path to where libpython.so* can be found
|
||||||
# PYTHON_LDFLAGS = python compiler options for linking
|
# PYTHON_LDFLAGS = python compiler options for linking
|
||||||
|
|
||||||
pkg_check_modules(PYTHON python3-embed IMPORTED_TARGET GLOBAL)
|
include(FindPkgConfig)
|
||||||
if(NOT PYTHON_FOUND)
|
|
||||||
pkg_check_modules(PYTHON python3 IMPORTED_TARGET GLOBAL)
|
if(ENABLE_PYTHON2)
|
||||||
|
pkg_check_modules(PYTHON python2 IMPORTED_TARGET GLOBAL)
|
||||||
|
else()
|
||||||
|
pkg_check_modules(PYTHON python3-embed IMPORTED_TARGET GLOBAL)
|
||||||
|
if(NOT PYTHON_FOUND)
|
||||||
|
pkg_check_modules(PYTHON python3 IMPORTED_TARGET GLOBAL)
|
||||||
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|||||||
@@ -0,0 +1,45 @@
|
|||||||
|
#
|
||||||
|
# Copyright (C) 2003-2021 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
|
#
|
||||||
|
# This file is part of WeeChat, the extensible chat client.
|
||||||
|
#
|
||||||
|
# WeeChat is free software; you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
# the Free Software Foundation; either version 3 of the License, or
|
||||||
|
# (at your option) any later version.
|
||||||
|
#
|
||||||
|
# WeeChat is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
#
|
||||||
|
|
||||||
|
# - Find Ruby
|
||||||
|
# This module finds if Ruby is installed and determines where the include files
|
||||||
|
# and libraries are. It also determines what the name of the library is. This
|
||||||
|
# code sets the following variables:
|
||||||
|
#
|
||||||
|
# RUBY_INCLUDE_DIRS = C flags to compile with ruby
|
||||||
|
# RUBY_LIBRARY_DIRS = linker flags to compile with ruby (found with pkg-config)
|
||||||
|
# RUBY_LIB = ruby library (found without pkg-config)
|
||||||
|
|
||||||
|
if(RUBY_FOUND)
|
||||||
|
# Already in cache, be silent
|
||||||
|
set(RUBY_FIND_QUIETLY TRUE)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
find_package(PkgConfig)
|
||||||
|
if(PKG_CONFIG_FOUND)
|
||||||
|
if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
||||||
|
# set specific search path for macOS
|
||||||
|
set(ENV{PKG_CONFIG_PATH} "$ENV{PKG_CONFIG_PATH}:/usr/local/opt/ruby/lib/pkgconfig")
|
||||||
|
endif()
|
||||||
|
pkg_search_module(RUBY ruby-3.0 ruby-2.7 ruby-2.6 ruby-2.5 ruby-2.4 ruby-2.3 ruby-2.2 ruby-2.1 ruby-2.0 ruby-1.9 ruby)
|
||||||
|
if(RUBY_FOUND AND ${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
||||||
|
# FIXME: weird hack: hardcoding the Ruby lib location on macOS
|
||||||
|
set(RUBY_LDFLAGS "${RUBY_LDFLAGS} -L/usr/local/opt/ruby/lib")
|
||||||
|
endif()
|
||||||
|
endif()
|
||||||
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2015-2024 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2015-2021 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# This file is part of WeeChat, the extensible chat client.
|
# This file is part of WeeChat, the extensible chat client.
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2003-2024 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2003-2021 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# This file is part of WeeChat, the extensible chat client.
|
# This file is part of WeeChat, the extensible chat client.
|
||||||
#
|
#
|
||||||
|
|||||||
+1
-42
@@ -1,39 +1,4 @@
|
|||||||
#cmakedefine01 ENABLE_NCURSES
|
#cmakedefine HAVE_LIBINTL_H
|
||||||
#cmakedefine01 ENABLE_HEADLESS
|
|
||||||
#cmakedefine01 ENABLE_NLS
|
|
||||||
#cmakedefine01 ENABLE_LARGEFILE
|
|
||||||
#cmakedefine01 ENABLE_ZSTD
|
|
||||||
#cmakedefine01 ENABLE_CJSON
|
|
||||||
#cmakedefine01 ENABLE_ALIAS
|
|
||||||
#cmakedefine01 ENABLE_BUFLIST
|
|
||||||
#cmakedefine01 ENABLE_CHARSET
|
|
||||||
#cmakedefine01 ENABLE_EXEC
|
|
||||||
#cmakedefine01 ENABLE_FIFO
|
|
||||||
#cmakedefine01 ENABLE_FSET
|
|
||||||
#cmakedefine01 ENABLE_IRC
|
|
||||||
#cmakedefine01 ENABLE_LOGGER
|
|
||||||
#cmakedefine01 ENABLE_RELAY
|
|
||||||
#cmakedefine01 ENABLE_SCRIPT
|
|
||||||
#cmakedefine01 ENABLE_SCRIPTS
|
|
||||||
#cmakedefine01 ENABLE_PERL
|
|
||||||
#cmakedefine01 ENABLE_PYTHON
|
|
||||||
#cmakedefine01 ENABLE_RUBY
|
|
||||||
#cmakedefine01 ENABLE_LUA
|
|
||||||
#cmakedefine01 ENABLE_TCL
|
|
||||||
#cmakedefine01 ENABLE_GUILE
|
|
||||||
#cmakedefine01 ENABLE_JAVASCRIPT
|
|
||||||
#cmakedefine01 ENABLE_PHP
|
|
||||||
#cmakedefine01 ENABLE_SPELL
|
|
||||||
#cmakedefine01 ENABLE_ENCHANT
|
|
||||||
#cmakedefine01 ENABLE_TRIGGER
|
|
||||||
#cmakedefine01 ENABLE_TYPING
|
|
||||||
#cmakedefine01 ENABLE_XFER
|
|
||||||
#cmakedefine01 ENABLE_MAN
|
|
||||||
#cmakedefine01 ENABLE_DOC
|
|
||||||
#cmakedefine01 ENABLE_DOC_INCOMPLETE
|
|
||||||
#cmakedefine01 ENABLE_TESTS
|
|
||||||
#cmakedefine01 ENABLE_CODE_COVERAGE
|
|
||||||
|
|
||||||
#cmakedefine HAVE_SYS_RESOURCE_H
|
#cmakedefine HAVE_SYS_RESOURCE_H
|
||||||
#cmakedefine HAVE_FLOCK
|
#cmakedefine HAVE_FLOCK
|
||||||
#cmakedefine HAVE_LANGINFO_CODESET
|
#cmakedefine HAVE_LANGINFO_CODESET
|
||||||
@@ -41,16 +6,10 @@
|
|||||||
#cmakedefine ICONV_2ARG_IS_CONST 1
|
#cmakedefine ICONV_2ARG_IS_CONST 1
|
||||||
#cmakedefine HAVE_MALLINFO
|
#cmakedefine HAVE_MALLINFO
|
||||||
#cmakedefine HAVE_MALLINFO2
|
#cmakedefine HAVE_MALLINFO2
|
||||||
#cmakedefine HAVE_MALLOC_H
|
|
||||||
#cmakedefine HAVE_MALLOC_TRIM
|
|
||||||
#cmakedefine HAVE_EAT_NEWLINE_GLITCH
|
#cmakedefine HAVE_EAT_NEWLINE_GLITCH
|
||||||
#cmakedefine HAVE_ASPELL_VERSION_STRING
|
#cmakedefine HAVE_ASPELL_VERSION_STRING
|
||||||
#cmakedefine HAVE_ENCHANT_GET_VERSION
|
#cmakedefine HAVE_ENCHANT_GET_VERSION
|
||||||
#cmakedefine HAVE_GUILE_GMP_MEMORY_FUNCTIONS
|
#cmakedefine HAVE_GUILE_GMP_MEMORY_FUNCTIONS
|
||||||
|
|
||||||
#define CMAKE_BUILD_TYPE "@CMAKE_BUILD_TYPE@"
|
|
||||||
#define CMAKE_INSTALL_PREFIX "@CMAKE_INSTALL_PREFIX@"
|
|
||||||
|
|
||||||
#define PACKAGE_VERSION "@VERSION@"
|
#define PACKAGE_VERSION "@VERSION@"
|
||||||
#define PACKAGE "@PROJECT_NAME@"
|
#define PACKAGE "@PROJECT_NAME@"
|
||||||
#define PACKAGE_NAME "@PROJECT_NAME@"
|
#define PACKAGE_NAME "@PROJECT_NAME@"
|
||||||
|
|||||||
+1585
File diff suppressed because it is too large
Load Diff
+6
-10
@@ -4,27 +4,23 @@ Priority: optional
|
|||||||
Maintainer: Sébastien Helleu <flashcode@flashtux.org>
|
Maintainer: Sébastien Helleu <flashcode@flashtux.org>
|
||||||
Build-Depends:
|
Build-Depends:
|
||||||
asciidoctor (>= 1.5.4),
|
asciidoctor (>= 1.5.4),
|
||||||
ruby-pygments.rb,
|
|
||||||
debhelper (>= 12),
|
debhelper (>= 12),
|
||||||
cmake,
|
cmake, pkg-config,
|
||||||
pkgconf,
|
libncursesw5-dev,
|
||||||
libncurses-dev,
|
|
||||||
gem2deb,
|
gem2deb,
|
||||||
libperl-dev,
|
libperl-dev,
|
||||||
python3-dev,
|
python3-dev,
|
||||||
libaspell-dev,
|
libaspell-dev,
|
||||||
liblua5.3-dev,
|
liblua5.3-dev,
|
||||||
tcl8.6-dev,
|
tcl8.6-dev,
|
||||||
guile-3.0-dev,
|
guile-2.2-dev,
|
||||||
php-dev, libphp-embed, libargon2-dev, libsodium-dev,
|
php-dev, libphp-embed, libargon2-0-dev, libsodium-dev,
|
||||||
libxml2-dev,
|
libxml2-dev,
|
||||||
libcurl4-gnutls-dev,
|
libcurl4-gnutls-dev,
|
||||||
libgcrypt20-dev,
|
libgcrypt20-dev,
|
||||||
libgnutls28-dev,
|
libgnutls28-dev,
|
||||||
libzstd-dev,
|
zlib1g-dev
|
||||||
zlib1g-dev,
|
Standards-Version: 4.6.0.1
|
||||||
libcjson-dev
|
|
||||||
Standards-Version: 4.7.0
|
|
||||||
Homepage: https://weechat.org/
|
Homepage: https://weechat.org/
|
||||||
Vcs-Git: https://salsa.debian.org/kolter/weechat.git
|
Vcs-Git: https://salsa.debian.org/kolter/weechat.git
|
||||||
Vcs-Browser: https://salsa.debian.org/kolter/weechat
|
Vcs-Browser: https://salsa.debian.org/kolter/weechat
|
||||||
|
|||||||
+16
-3
@@ -4,8 +4,10 @@ export DEB_BUILD_MAINT_OPTIONS=hardening=+all
|
|||||||
|
|
||||||
BUILDDIR = builddir
|
BUILDDIR = builddir
|
||||||
|
|
||||||
override_dh_auto_configure:
|
$(BUILDDIR)/Makefile:
|
||||||
dh_auto_configure --buildsystem=cmake -- \
|
mkdir -p $(BUILDDIR)
|
||||||
|
cd $(BUILDDIR) && \
|
||||||
|
cmake .. \
|
||||||
-DCMAKE_INSTALL_PREFIX:FILEPATH=/usr \
|
-DCMAKE_INSTALL_PREFIX:FILEPATH=/usr \
|
||||||
-DLIBDIR=/usr/lib/${DEB_HOST_MULTIARCH} \
|
-DLIBDIR=/usr/lib/${DEB_HOST_MULTIARCH} \
|
||||||
-DENABLE_DOC:BOOL=ON \
|
-DENABLE_DOC:BOOL=ON \
|
||||||
@@ -16,5 +18,16 @@ override_dh_auto_configure:
|
|||||||
-DCMAKE_SKIP_RPATH:BOOL=ON \
|
-DCMAKE_SKIP_RPATH:BOOL=ON \
|
||||||
-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON
|
-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON
|
||||||
|
|
||||||
|
override_dh_auto_configure:
|
||||||
|
# the package also has autotools buildsys and
|
||||||
|
# debhelper try to use it but that's not needed
|
||||||
|
echo
|
||||||
|
|
||||||
|
override_dh_auto_build: $(BUILDDIR)/Makefile
|
||||||
|
dh_auto_build
|
||||||
|
|
||||||
|
override_dh_installchangelogs:
|
||||||
|
dh_installchangelogs ChangeLog.adoc
|
||||||
|
|
||||||
%:
|
%:
|
||||||
dh $@ --builddirectory=$(BUILDDIR)
|
dh $@ --builddirectory=$(BUILDDIR) --without autoreconf
|
||||||
|
|||||||
@@ -1,3 +0,0 @@
|
|||||||
tar-ignore = ".git"
|
|
||||||
tar-ignore = "build"
|
|
||||||
tar-ignore = "release"
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
Document: weechat-dev-sr
|
|
||||||
Title: WeeChat developer's guide (Serbian)
|
|
||||||
Author: Sébastien Helleu
|
|
||||||
Abstract: This manual describes WeeChat internals and
|
|
||||||
how to contribute to WeeChat (Serbian version).
|
|
||||||
Section: Network/Communication
|
|
||||||
|
|
||||||
Format: HTML
|
|
||||||
Index: /usr/share/doc/weechat-devel-doc/html/weechat_dev.sr.html
|
|
||||||
Files: /usr/share/doc/weechat-devel-doc/html/weechat_dev.sr.html
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
Document: weechat-faq-sr
|
|
||||||
Title: WeeChat FAQ (Serbian)
|
|
||||||
Author: Sébastien Helleu
|
|
||||||
Abstract: This document answers frequently asked questions
|
|
||||||
about the WeeChat IRC client (Serbian version).
|
|
||||||
Section: Network/Communication
|
|
||||||
|
|
||||||
Format: HTML
|
|
||||||
Index: /usr/share/doc/weechat-devel-doc/html/weechat_faq.sr.html
|
|
||||||
Files: /usr/share/doc/weechat-devel-doc/html/weechat_faq.sr.html
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
Document: weechat-plugin-sr
|
|
||||||
Title: WeeChat plugin API reference (Serbian)
|
|
||||||
Author: Sébastien Helleu
|
|
||||||
Abstract: This document describes the API to create plugins
|
|
||||||
for WeeChat (Serbian version).
|
|
||||||
Section: Network/Communication
|
|
||||||
|
|
||||||
Format: HTML
|
|
||||||
Index: /usr/share/doc/weechat-devel-doc/html/weechat_plugin_api.sr.html
|
|
||||||
Files: /usr/share/doc/weechat-devel-doc/html/weechat_plugin_api.sr.html
|
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
Document: weechat-quickstart-cs
|
|
||||||
Title: WeeChat quick start guide (Czech)
|
|
||||||
Author: Sébastien Helleu
|
|
||||||
Abstract: A short HowTo for new WeeChat users (Czech version).
|
|
||||||
Section: Network/Communication
|
|
||||||
|
|
||||||
Format: HTML
|
|
||||||
Index: /usr/share/doc/weechat-devel-doc/html/weechat_quickstart.cs.html
|
|
||||||
Files: /usr/share/doc/weechat-devel-doc/html/weechat_quickstart.cs.html
|
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
Document: weechat-quickstart-sr
|
|
||||||
Title: WeeChat quick start guide (Serbian)
|
|
||||||
Author: Sébastien Helleu
|
|
||||||
Abstract: A short HowTo for new WeeChat users (Serbian version).
|
|
||||||
Section: Network/Communication
|
|
||||||
|
|
||||||
Format: HTML
|
|
||||||
Index: /usr/share/doc/weechat-devel-doc/html/weechat_quickstart.sr.html
|
|
||||||
Files: /usr/share/doc/weechat-devel-doc/html/weechat_quickstart.sr.html
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
Document: weechat-relay-api-en
|
|
||||||
Title: WeeChat Relay "api" protocol (English)
|
|
||||||
Author: Sébastien Helleu
|
|
||||||
Abstract: This manual describes WeeChat Relay "api" protocol, used by
|
|
||||||
remote GUI or WeeChat to communicate with Relay plugin (English version).
|
|
||||||
Section: Network/Communication
|
|
||||||
|
|
||||||
Format: HTML
|
|
||||||
Index: /usr/share/doc/weechat-devel-doc/html/weechat_relay_api.en.html
|
|
||||||
Files: /usr/share/doc/weechat-devel-doc/html/weechat_relay_api.en.html
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
Document: weechat-relay-api-fr
|
|
||||||
Title: WeeChat Relay "api" protocol (French)
|
|
||||||
Author: Sébastien Helleu
|
|
||||||
Abstract: This manual describes WeeChat Relay "api" protocol, used by
|
|
||||||
remote GUI or WeeChat to communicate with Relay plugin (French version).
|
|
||||||
Section: Network/Communication
|
|
||||||
|
|
||||||
Format: HTML
|
|
||||||
Index: /usr/share/doc/weechat-devel-doc/html/weechat_relay_api.fr.html
|
|
||||||
Files: /usr/share/doc/weechat-devel-doc/html/weechat_relay_api.fr.html
|
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
Document: weechat-relay-protocol-en
|
||||||
|
Title: WeeChat Relay protocol (English)
|
||||||
|
Author: Sébastien Helleu
|
||||||
|
Abstract: This manual describes WeeChat Relay Protocol, used by
|
||||||
|
remote GUI to communicate with Relay plugin (English version).
|
||||||
|
Section: Network/Communication
|
||||||
|
|
||||||
|
Format: HTML
|
||||||
|
Index: /usr/share/doc/weechat-devel-doc/html/weechat_relay_protocol.en.html
|
||||||
|
Files: /usr/share/doc/weechat-devel-doc/html/weechat_relay_protocol.en.html
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
Document: weechat-relay-protocol-fr
|
||||||
|
Title: WeeChat Relay protocol (French)
|
||||||
|
Author: Sébastien Helleu
|
||||||
|
Abstract: This manual describes WeeChat Relay Protocol, used by
|
||||||
|
remote GUI to communicate with Relay plugin (French version).
|
||||||
|
Section: Network/Communication
|
||||||
|
|
||||||
|
Format: HTML
|
||||||
|
Index: /usr/share/doc/weechat-devel-doc/html/weechat_relay_protocol.fr.html
|
||||||
|
Files: /usr/share/doc/weechat-devel-doc/html/weechat_relay_protocol.fr.html
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
Document: weechat-relay-protocol-ja
|
||||||
|
Title: WeeChat Relay protocol (Japanese)
|
||||||
|
Author: Sébastien Helleu
|
||||||
|
Abstract: This manual describes WeeChat Relay Protocol, used by
|
||||||
|
remote GUI to communicate with Relay plugin (Japanese version).
|
||||||
|
Section: Network/Communication
|
||||||
|
|
||||||
|
Format: HTML
|
||||||
|
Index: /usr/share/doc/weechat-devel-doc/html/weechat_relay_protocol.ja.html
|
||||||
|
Files: /usr/share/doc/weechat-devel-doc/html/weechat_relay_protocol.ja.html
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
Document: weechat-relay-weechat-en
|
|
||||||
Title: WeeChat Relay "weechat" protocol (English)
|
|
||||||
Author: Sébastien Helleu
|
|
||||||
Abstract: This manual describes WeeChat Relay "weechat" protocol, used by
|
|
||||||
remote GUI to communicate with Relay plugin (English version).
|
|
||||||
Section: Network/Communication
|
|
||||||
|
|
||||||
Format: HTML
|
|
||||||
Index: /usr/share/doc/weechat-devel-doc/html/weechat_relay_weechat.en.html
|
|
||||||
Files: /usr/share/doc/weechat-devel-doc/html/weechat_relay_weechat.en.html
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
Document: weechat-relay-weechat-fr
|
|
||||||
Title: WeeChat Relay "weechat" protocol (French)
|
|
||||||
Author: Sébastien Helleu
|
|
||||||
Abstract: This manual describes WeeChat Relay "weechat" protocol, used by
|
|
||||||
remote GUI to communicate with Relay plugin (French version).
|
|
||||||
Section: Network/Communication
|
|
||||||
|
|
||||||
Format: HTML
|
|
||||||
Index: /usr/share/doc/weechat-devel-doc/html/weechat_relay_weechat.fr.html
|
|
||||||
Files: /usr/share/doc/weechat-devel-doc/html/weechat_relay_weechat.fr.html
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
Document: weechat-relay-weechat-ja
|
|
||||||
Title: WeeChat Relay "weechat" protocol (Japanese)
|
|
||||||
Author: Sébastien Helleu
|
|
||||||
Abstract: This manual describes WeeChat Relay "weechat" protocol, used by
|
|
||||||
remote GUI to communicate with Relay plugin (Japanese version).
|
|
||||||
Section: Network/Communication
|
|
||||||
|
|
||||||
Format: HTML
|
|
||||||
Index: /usr/share/doc/weechat-devel-doc/html/weechat_relay_weechat.ja.html
|
|
||||||
Files: /usr/share/doc/weechat-devel-doc/html/weechat_relay_weechat.ja.html
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
Document: weechat-relay-weechat-sr
|
|
||||||
Title: WeeChat Relay "weechat" protocol (Serbian)
|
|
||||||
Author: Sébastien Helleu
|
|
||||||
Abstract: This manual describes WeeChat Relay "weechat" protocol, used by
|
|
||||||
remote GUI to communicate with Relay plugin (Serbian version).
|
|
||||||
Section: Network/Communication
|
|
||||||
|
|
||||||
Format: HTML
|
|
||||||
Index: /usr/share/doc/weechat-devel-doc/html/weechat_relay_weechat.sr.html
|
|
||||||
Files: /usr/share/doc/weechat-devel-doc/html/weechat_relay_weechat.sr.html
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
Document: weechat-scripting-sr
|
|
||||||
Title: WeeChat scripting guide (Serbian)
|
|
||||||
Author: Sébastien Helleu
|
|
||||||
Abstract: This document describes the API to create scripts
|
|
||||||
for WeeChat (Serbian version).
|
|
||||||
Section: Network/Communication
|
|
||||||
|
|
||||||
Format: HTML
|
|
||||||
Index: /usr/share/doc/weechat-devel-doc/html/weechat_scripting.sr.html
|
|
||||||
Files: /usr/share/doc/weechat-devel-doc/html/weechat_scripting.sr.html
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
Document: weechat-user-sr
|
|
||||||
Title: WeeChat user's guide (Serbian)
|
|
||||||
Author: Sébastien Helleu
|
|
||||||
Abstract: This manual describes how to use the WeeChat
|
|
||||||
IRC client (Serbian version).
|
|
||||||
Section: Network/Communication
|
|
||||||
|
|
||||||
Format: HTML
|
|
||||||
Index: /usr/share/doc/weechat-devel-doc/html/weechat_user.sr.html
|
|
||||||
Files: /usr/share/doc/weechat-devel-doc/html/weechat_user.sr.html
|
|
||||||
@@ -0,0 +1,41 @@
|
|||||||
|
weechat (2.1-1) unstable; urgency=medium
|
||||||
|
|
||||||
|
This release introduces a new headless client and a new PHP plugin for
|
||||||
|
scripting (respectively weechat-headless and weechat-php binary
|
||||||
|
packages).
|
||||||
|
To avoid at least unnecessary dependencies, each plugin has its own
|
||||||
|
separate binary package:
|
||||||
|
weechat-{perl,python,ruby,lua,guile,javascript,php}
|
||||||
|
Depending on your needs about scripting with weechat you should consider
|
||||||
|
to install the missing packages.
|
||||||
|
|
||||||
|
-- Emmanuel Bouthenot <kolter@debian.org> Wed, 21 Mar 2018 07:53:40 +0100
|
||||||
|
|
||||||
|
weechat (1.1.1-1) unstable; urgency=medium
|
||||||
|
|
||||||
|
Since version 1.1, there is a new format for regexp replacement in
|
||||||
|
triggers. This format is incompatible with version 1.0. The existing
|
||||||
|
triggers will not be automatically updated.
|
||||||
|
See https://weechat.org/files/releasenotes/ReleaseNotes-1.1.html
|
||||||
|
|
||||||
|
-- Emmanuel Bouthenot <kolter@debian.org> Sun, 25 Jan 2015 20:41:50 +0100
|
||||||
|
|
||||||
|
weechat (0.3.1-1) unstable; urgency=low
|
||||||
|
|
||||||
|
This release introduces important changes with the usage of SSL. There
|
||||||
|
are stronger checks while connecting with SSL. By default, if a connection
|
||||||
|
is not fully trusted it will fail.
|
||||||
|
You can find more information on how to handle this new behaviour here:
|
||||||
|
https://blog.weechat.org/post/2009/12/01/SSL-certificates
|
||||||
|
|
||||||
|
-- Emmanuel Bouthenot <kolter@debian.org> Mon, 25 Jan 2010 12:35:11 +0100
|
||||||
|
|
||||||
|
weechat (0.3.0-1) unstable; urgency=low
|
||||||
|
|
||||||
|
This release introduces major changes. Large part of code was
|
||||||
|
rewritten without keeping compatibility with older versions.
|
||||||
|
|
||||||
|
Please refer to the file /usr/share/doc/weechat-core/UPGRADE_0.3
|
||||||
|
for more information on upgrade from a version 0.2.x to 0.3.x.
|
||||||
|
|
||||||
|
-- Emmanuel Bouthenot <kolter@openics.org> Tue, 15 Sep 2009 20:59:42 +0000
|
||||||
@@ -1,120 +1,3 @@
|
|||||||
weechat (4.4.3-1) unstable; urgency=medium
|
|
||||||
|
|
||||||
* New upstream release
|
|
||||||
* Remove (fixed upstream) the fix for a possible privacy breach with html
|
|
||||||
documentation which includes stylesheets and fonts (font-awesome) hosted
|
|
||||||
on remote CDN (Cloudflare).
|
|
||||||
|
|
||||||
-- Emmanuel Bouthenot <kolter@debian.org> Wed, 06 Nov 2024 21:27:08 +0000
|
|
||||||
|
|
||||||
weechat (4.4.2-1) unstable; urgency=medium
|
|
||||||
|
|
||||||
* New upstream release
|
|
||||||
- fix crash where exiting (Closes: #1076532)
|
|
||||||
- fix a minor security issue (Closes: #1081942)
|
|
||||||
* Bump Standards-Version to 4.7.0
|
|
||||||
|
|
||||||
-- Emmanuel Bouthenot <kolter@debian.org> Sun, 22 Sep 2024 13:08:28 +0000
|
|
||||||
|
|
||||||
weechat (4.3.1-1) unstable; urgency=medium
|
|
||||||
|
|
||||||
* New upstream release (Closes: #1067608)
|
|
||||||
- fix FTBFS against libgcrypt 1.11 (Closes: #1071960)
|
|
||||||
* Add build dependency on libcjson-dev
|
|
||||||
* Replace pkg-config build dependency by pkgconf
|
|
||||||
* Minor updates in debian/copyright
|
|
||||||
|
|
||||||
-- Emmanuel Bouthenot <kolter@debian.org> Sat, 01 Jun 2024 14:21:02 +0000
|
|
||||||
|
|
||||||
weechat (4.1.1-1) unstable; urgency=medium
|
|
||||||
|
|
||||||
* New upstream release (Closes: #1055278)
|
|
||||||
|
|
||||||
-- Emmanuel Bouthenot <kolter@debian.org> Fri, 03 Nov 2023 20:23:37 +0000
|
|
||||||
|
|
||||||
weechat (4.0.5-1) unstable; urgency=medium
|
|
||||||
|
|
||||||
* New upstream release
|
|
||||||
|
|
||||||
-- Emmanuel Bouthenot <kolter@debian.org> Sun, 24 Sep 2023 07:49:41 +0000
|
|
||||||
|
|
||||||
weechat (4.0.2-1) unstable; urgency=medium
|
|
||||||
|
|
||||||
* New upstream release (Closes: #1040248)
|
|
||||||
|
|
||||||
-- Emmanuel Bouthenot <kolter@debian.org> Sat, 22 Jul 2023 05:48:35 +0000
|
|
||||||
|
|
||||||
weechat (4.0.1-1) unstable; urgency=medium
|
|
||||||
|
|
||||||
* New upstream release
|
|
||||||
* Remove NEWS file, no longer required
|
|
||||||
* Update build dependency from libncursesw5-dev to libncurses-dev
|
|
||||||
* Bump Standards-Version to 4.6.2
|
|
||||||
* Remove all patches (no longer required)
|
|
||||||
|
|
||||||
-- Emmanuel Bouthenot <kolter@debian.org> Tue, 04 Jul 2023 19:02:41 +0000
|
|
||||||
|
|
||||||
weechat (3.8-1) unstable; urgency=medium
|
|
||||||
|
|
||||||
* New upstream release
|
|
||||||
* Add a patch remove some autotools leftovers
|
|
||||||
* Update debian/copyright (new year)
|
|
||||||
* Update debian/rules to remove workarounds which avoid issues with
|
|
||||||
autotools build system
|
|
||||||
|
|
||||||
-- Emmanuel Bouthenot <kolter@debian.org> Sun, 15 Jan 2023 08:34:04 +0000
|
|
||||||
|
|
||||||
weechat (3.7.1-1) unstable; urgency=medium
|
|
||||||
|
|
||||||
* New upstream release
|
|
||||||
|
|
||||||
-- Emmanuel Bouthenot <kolter@debian.org> Sat, 22 Oct 2022 12:55:10 +0000
|
|
||||||
|
|
||||||
weechat (3.7-1) unstable; urgency=medium
|
|
||||||
|
|
||||||
* New upstream release
|
|
||||||
|
|
||||||
-- Emmanuel Bouthenot <kolter@debian.org> Tue, 18 Oct 2022 12:44:29 +0000
|
|
||||||
|
|
||||||
weechat (3.6-1) unstable; urgency=medium
|
|
||||||
|
|
||||||
* New upstream release
|
|
||||||
* Bump Standards-Version to 4.6.1.0
|
|
||||||
|
|
||||||
-- Emmanuel Bouthenot <kolter@debian.org> Sat, 23 Jul 2022 09:56:24 +0000
|
|
||||||
|
|
||||||
weechat (3.5-1) unstable; urgency=medium
|
|
||||||
|
|
||||||
* New upstream release
|
|
||||||
* Add build dependency on libzstd-dev
|
|
||||||
|
|
||||||
-- Emmanuel Bouthenot <kolter@debian.org> Thu, 31 Mar 2022 11:36:01 +0000
|
|
||||||
|
|
||||||
weechat (3.4.1-1) unstable; urgency=medium
|
|
||||||
|
|
||||||
* New upstream release
|
|
||||||
- Fix a possible man-in-the-middle attack in TLS connection to servers
|
|
||||||
* Update build dependency from libargon2-0-dev to libargon2-dev
|
|
||||||
(libargon2-0-dev is now virtual package) (Closes: #1005703)
|
|
||||||
|
|
||||||
-- Emmanuel Bouthenot <kolter@debian.org> Tue, 22 Mar 2022 05:55:14 +0000
|
|
||||||
|
|
||||||
weechat (3.4-2) unstable; urgency=medium
|
|
||||||
|
|
||||||
* Remove build dependency on ruby-pygments.rb (no longer required)
|
|
||||||
|
|
||||||
-- Emmanuel Bouthenot <kolter@debian.org> Sat, 08 Jan 2022 06:00:17 +0000
|
|
||||||
|
|
||||||
weechat (3.4-1) unstable; urgency=medium
|
|
||||||
|
|
||||||
* New upstream release (Closes: #1001654, #1001245)
|
|
||||||
* Remove tester's guide from weechat-doc (according to upstream changes)
|
|
||||||
* Refresh ASCII Doctor options patch
|
|
||||||
* Update lintian override on weechat-plugins
|
|
||||||
* Update copyright (new year)
|
|
||||||
|
|
||||||
-- Emmanuel Bouthenot <kolter@debian.org> Fri, 07 Jan 2022 23:03:49 +0000
|
|
||||||
|
|
||||||
weechat (3.3-1) unstable; urgency=medium
|
weechat (3.3-1) unstable; urgency=medium
|
||||||
|
|
||||||
* New upstream release
|
* New upstream release
|
||||||
|
|||||||
+6
-10
@@ -4,27 +4,23 @@ Priority: optional
|
|||||||
Maintainer: Emmanuel Bouthenot <kolter@debian.org>
|
Maintainer: Emmanuel Bouthenot <kolter@debian.org>
|
||||||
Build-Depends:
|
Build-Depends:
|
||||||
asciidoctor (>= 1.5.4),
|
asciidoctor (>= 1.5.4),
|
||||||
ruby-pygments.rb,
|
|
||||||
debhelper (>= 12),
|
debhelper (>= 12),
|
||||||
cmake,
|
cmake, pkg-config,
|
||||||
pkgconf,
|
libncursesw5-dev,
|
||||||
libncurses-dev,
|
|
||||||
gem2deb,
|
gem2deb,
|
||||||
libperl-dev,
|
libperl-dev,
|
||||||
python3-dev,
|
python3-dev,
|
||||||
libaspell-dev,
|
libaspell-dev,
|
||||||
liblua5.3-dev,
|
liblua5.3-dev,
|
||||||
tcl8.6-dev,
|
tcl8.6-dev,
|
||||||
guile-3.0-dev,
|
guile-2.2-dev,
|
||||||
php-dev, libphp-embed, libargon2-dev, libsodium-dev,
|
php-dev, libphp-embed, libargon2-0-dev, libsodium-dev,
|
||||||
libxml2-dev,
|
libxml2-dev,
|
||||||
libcurl4-gnutls-dev,
|
libcurl4-gnutls-dev,
|
||||||
libgcrypt20-dev,
|
libgcrypt20-dev,
|
||||||
libgnutls28-dev,
|
libgnutls28-dev,
|
||||||
libzstd-dev,
|
zlib1g-dev
|
||||||
zlib1g-dev,
|
Standards-Version: 4.6.0.1
|
||||||
libcjson-dev
|
|
||||||
Standards-Version: 4.7.0
|
|
||||||
Homepage: https://weechat.org/
|
Homepage: https://weechat.org/
|
||||||
Vcs-Git: https://salsa.debian.org/kolter/weechat.git
|
Vcs-Git: https://salsa.debian.org/kolter/weechat.git
|
||||||
Vcs-Browser: https://salsa.debian.org/kolter/weechat
|
Vcs-Browser: https://salsa.debian.org/kolter/weechat
|
||||||
|
|||||||
+13
-13
@@ -4,26 +4,26 @@ Upstream-Contact: Sébastien Helleu <flashcode@flashtux.org>
|
|||||||
Source: https://weechat.org/
|
Source: https://weechat.org/
|
||||||
|
|
||||||
Files: *
|
Files: *
|
||||||
Copyright: 2003-2024, Sébastien Helleu <flashcode@flashtux.org>
|
Copyright: 2003-2021, Sébastien Helleu <flashcode@flashtux.org>
|
||||||
License: GPL-3+
|
License: GPL-3+
|
||||||
|
|
||||||
Files: src/core/core-command.c
|
Files: src/core/wee-command.c
|
||||||
src/core/core-command.h
|
src/core/wee-command.h
|
||||||
Copyright: 2005-2006, Emmanuel Bouthenot <kolter@openics.org>
|
Copyright: 2005-2006, Emmanuel Bouthenot <kolter@openics.org>
|
||||||
License: GPL-3+
|
License: GPL-3+
|
||||||
|
|
||||||
Files: src/core/core-config-file.c
|
Files: src/core/wee-config-file.c
|
||||||
src/core/core-config-file.h
|
src/core/wee-config-file.h
|
||||||
src/core/core-config.c
|
src/core/wee-config.c
|
||||||
src/core/core-config.h
|
src/core/wee-config.h
|
||||||
Copyright: 2005-2006, Emmanuel Bouthenot <kolter@openics.org>
|
Copyright: 2005-2006, Emmanuel Bouthenot <kolter@openics.org>
|
||||||
License: GPL-3+
|
License: GPL-3+
|
||||||
|
|
||||||
Files: src/core/hook/hook-connect.c
|
Files: src/core/hook/wee-hook-connect.c
|
||||||
Copyright: 2012, Simon Arlott
|
Copyright: 2012, Simon Arlott
|
||||||
License: GPL-3+
|
License: GPL-3+
|
||||||
|
|
||||||
Files: src/core/hook/hook-connect.h
|
Files: src/core/hook/wee-hook-connect.h
|
||||||
Copyright: 2012, Simon Arlott
|
Copyright: 2012, Simon Arlott
|
||||||
License: GPL-3+
|
License: GPL-3+
|
||||||
|
|
||||||
@@ -31,9 +31,9 @@ Files: src/gui/gui-history.c
|
|||||||
Copyright: 2005, Emmanuel Bouthenot <kolter@openics.org>
|
Copyright: 2005, Emmanuel Bouthenot <kolter@openics.org>
|
||||||
License: GPL-3+
|
License: GPL-3+
|
||||||
|
|
||||||
Files: src/core/core-completion.c
|
Files: src/core/wee-completion.c
|
||||||
src/core/core-log.c
|
src/core/wee-log.c
|
||||||
src/core/core-utf8.c
|
src/core/wee-utf8.c
|
||||||
src/core/weechat.h
|
src/core/weechat.h
|
||||||
src/plugins/spell/spell-config.c
|
src/plugins/spell/spell-config.c
|
||||||
src/plugins/spell/spell-config.h
|
src/plugins/spell/spell-config.h
|
||||||
@@ -45,7 +45,7 @@ Files: src/core/core-completion.c
|
|||||||
Copyright: 2006, Emmanuel Bouthenot <kolter@openics.org>
|
Copyright: 2006, Emmanuel Bouthenot <kolter@openics.org>
|
||||||
License: GPL-3+
|
License: GPL-3+
|
||||||
|
|
||||||
Files: src/core/core-network.c
|
Files: src/core/wee-network.c
|
||||||
Copyright: 2005-2010, Emmanuel Bouthenot <kolter@openics.org>
|
Copyright: 2005-2010, Emmanuel Bouthenot <kolter@openics.org>
|
||||||
2010, Gu1ll4um3r0m41n <aeroxteam@gmail.com>
|
2010, Gu1ll4um3r0m41n <aeroxteam@gmail.com>
|
||||||
2012, Simon Arlott
|
2012, Simon Arlott
|
||||||
|
|||||||
+16
-3
@@ -4,8 +4,10 @@ export DEB_BUILD_MAINT_OPTIONS=hardening=+all
|
|||||||
|
|
||||||
BUILDDIR = builddir
|
BUILDDIR = builddir
|
||||||
|
|
||||||
override_dh_auto_configure:
|
$(BUILDDIR)/Makefile:
|
||||||
dh_auto_configure --buildsystem=cmake -- \
|
mkdir -p $(BUILDDIR)
|
||||||
|
cd $(BUILDDIR) && \
|
||||||
|
cmake .. \
|
||||||
-DCMAKE_INSTALL_PREFIX:FILEPATH=/usr \
|
-DCMAKE_INSTALL_PREFIX:FILEPATH=/usr \
|
||||||
-DLIBDIR=/usr/lib/${DEB_HOST_MULTIARCH} \
|
-DLIBDIR=/usr/lib/${DEB_HOST_MULTIARCH} \
|
||||||
-DENABLE_DOC:BOOL=ON \
|
-DENABLE_DOC:BOOL=ON \
|
||||||
@@ -16,5 +18,16 @@ override_dh_auto_configure:
|
|||||||
-DCMAKE_SKIP_RPATH:BOOL=ON \
|
-DCMAKE_SKIP_RPATH:BOOL=ON \
|
||||||
-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON
|
-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON
|
||||||
|
|
||||||
|
override_dh_auto_configure:
|
||||||
|
# the package also has autotools buildsys and
|
||||||
|
# debhelper try to use it but that's not needed
|
||||||
|
echo
|
||||||
|
|
||||||
|
override_dh_auto_build: $(BUILDDIR)/Makefile
|
||||||
|
dh_auto_build
|
||||||
|
|
||||||
|
override_dh_installchangelogs:
|
||||||
|
dh_installchangelogs ChangeLog.adoc
|
||||||
|
|
||||||
%:
|
%:
|
||||||
dh $@ --builddirectory=$(BUILDDIR)
|
dh $@ --builddirectory=$(BUILDDIR) --without autoreconf
|
||||||
|
|||||||
@@ -1,3 +0,0 @@
|
|||||||
tar-ignore = ".git"
|
|
||||||
tar-ignore = "build"
|
|
||||||
tar-ignore = "release"
|
|
||||||
@@ -1,5 +1,4 @@
|
|||||||
AUTHORS.md
|
AUTHORS.adoc
|
||||||
CHANGELOG.md
|
Contributing.adoc
|
||||||
CONTRIBUTING.md
|
README.adoc
|
||||||
README.md
|
ReleaseNotes.adoc
|
||||||
UPGRADING.md
|
|
||||||
|
|||||||
@@ -7,4 +7,3 @@ usr/share/man/it/man1/weechat.1.gz usr/share/man/it/man1/weechat-curses.1.gz
|
|||||||
usr/share/man/ja/man1/weechat.1.gz usr/share/man/ja/man1/weechat-curses.1.gz
|
usr/share/man/ja/man1/weechat.1.gz usr/share/man/ja/man1/weechat-curses.1.gz
|
||||||
usr/share/man/pl/man1/weechat.1.gz usr/share/man/pl/man1/weechat-curses.1.gz
|
usr/share/man/pl/man1/weechat.1.gz usr/share/man/pl/man1/weechat-curses.1.gz
|
||||||
usr/share/man/ru/man1/weechat.1.gz usr/share/man/ru/man1/weechat-curses.1.gz
|
usr/share/man/ru/man1/weechat.1.gz usr/share/man/ru/man1/weechat-curses.1.gz
|
||||||
usr/share/man/sr/man1/weechat.1.gz usr/share/man/sr/man1/weechat-curses.1.gz
|
|
||||||
|
|||||||
@@ -1,10 +0,0 @@
|
|||||||
Document: weechat-relay-api-en
|
|
||||||
Title: WeeChat Relay "api" protocol (English)
|
|
||||||
Author: Sébastien Helleu
|
|
||||||
Abstract: This manual describes WeeChat Relay "api" protocol, used by
|
|
||||||
remote GUI or WeeChat to communicate with Relay plugin (English version).
|
|
||||||
Section: Network/Communication
|
|
||||||
|
|
||||||
Format: HTML
|
|
||||||
Index: /usr/share/doc/weechat-devel-doc/html/weechat_relay_api.en.html
|
|
||||||
Files: /usr/share/doc/weechat-devel-doc/html/weechat_relay_api.en.html
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
Document: weechat-relay-api-fr
|
|
||||||
Title: WeeChat Relay "api" protocol (French)
|
|
||||||
Author: Sébastien Helleu
|
|
||||||
Abstract: This manual describes WeeChat Relay "api" protocol, used by
|
|
||||||
remote GUI or WeeChat to communicate with Relay plugin (French version).
|
|
||||||
Section: Network/Communication
|
|
||||||
|
|
||||||
Format: HTML
|
|
||||||
Index: /usr/share/doc/weechat-devel-doc/html/weechat_relay_api.fr.html
|
|
||||||
Files: /usr/share/doc/weechat-devel-doc/html/weechat_relay_api.fr.html
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
Document: weechat-dev-sr
|
|
||||||
Title: WeeChat developer's guide (Serbian)
|
|
||||||
Author: Sébastien Helleu
|
|
||||||
Abstract: This manual describes WeeChat internals and
|
|
||||||
how to contribute to WeeChat (Serbian version).
|
|
||||||
Section: Network/Communication
|
|
||||||
|
|
||||||
Format: HTML
|
|
||||||
Index: /usr/share/doc/weechat-doc/html/weechat_dev.sr.html
|
|
||||||
Files: /usr/share/doc/weechat-doc/html/weechat_dev.sr.html
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
Document: weechat-faq-sr
|
|
||||||
Title: WeeChat FAQ (Serbian)
|
|
||||||
Author: Sébastien Helleu
|
|
||||||
Abstract: This document answers frequently asked questions
|
|
||||||
about the WeeChat IRC client (Serbian version).
|
|
||||||
Section: Network/Communication
|
|
||||||
|
|
||||||
Format: HTML
|
|
||||||
Index: /usr/share/doc/weechat-doc/html/weechat_faq.sr.html
|
|
||||||
Files: /usr/share/doc/weechat-doc/html/weechat_faq.sr.html
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
Document: weechat-plugin-sr
|
|
||||||
Title: WeeChat plugin API reference (Serbian)
|
|
||||||
Author: Sébastien Helleu
|
|
||||||
Abstract: This document describes the API to create plugins
|
|
||||||
for WeeChat (Serbian version).
|
|
||||||
Section: Network/Communication
|
|
||||||
|
|
||||||
Format: HTML
|
|
||||||
Index: /usr/share/doc/weechat-doc/html/weechat_plugin_api.sr.html
|
|
||||||
Files: /usr/share/doc/weechat-doc/html/weechat_plugin_api.sr.html
|
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
Document: weechat-quickstart-cs
|
|
||||||
Title: WeeChat quick start guide (Czech)
|
|
||||||
Author: Sébastien Helleu
|
|
||||||
Abstract: A short HowTo for new WeeChat users (Czech version).
|
|
||||||
Section: Network/Communication
|
|
||||||
|
|
||||||
Format: HTML
|
|
||||||
Index: /usr/share/doc/weechat-doc/html/weechat_quickstart.cs.html
|
|
||||||
Files: /usr/share/doc/weechat-doc/html/weechat_quickstart.cs.html
|
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
Document: weechat-quickstart-sr
|
|
||||||
Title: WeeChat quick start guide (Serbian)
|
|
||||||
Author: Sébastien Helleu
|
|
||||||
Abstract: A short HowTo for new WeeChat users (Serbian version).
|
|
||||||
Section: Network/Communication
|
|
||||||
|
|
||||||
Format: HTML
|
|
||||||
Index: /usr/share/doc/weechat-doc/html/weechat_quickstart.sr.html
|
|
||||||
Files: /usr/share/doc/weechat-doc/html/weechat_quickstart.sr.html
|
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
Document: weechat-relay-protocol-en
|
||||||
|
Title: WeeChat Relay protocol (English)
|
||||||
|
Author: Sébastien Helleu
|
||||||
|
Abstract: This manual describes WeeChat Relay Protocol, used by
|
||||||
|
remote GUI to communicate with Relay plugin (English version).
|
||||||
|
Section: Network/Communication
|
||||||
|
|
||||||
|
Format: HTML
|
||||||
|
Index: /usr/share/doc/weechat-doc/html/weechat_relay_protocol.en.html
|
||||||
|
Files: /usr/share/doc/weechat-doc/html/weechat_relay_protocol.en.html
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
Document: weechat-relay-protocol-fr
|
||||||
|
Title: WeeChat Relay protocol (French)
|
||||||
|
Author: Sébastien Helleu
|
||||||
|
Abstract: This manual describes WeeChat Relay Protocol, used by
|
||||||
|
remote GUI to communicate with Relay plugin (French version).
|
||||||
|
Section: Network/Communication
|
||||||
|
|
||||||
|
Format: HTML
|
||||||
|
Index: /usr/share/doc/weechat-doc/html/weechat_relay_protocol.fr.html
|
||||||
|
Files: /usr/share/doc/weechat-doc/html/weechat_relay_protocol.fr.html
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
Document: weechat-relay-protocol-ja
|
||||||
|
Title: WeeChat Relay protocol (Japanese)
|
||||||
|
Author: Sébastien Helleu
|
||||||
|
Abstract: This manual describes WeeChat Relay Protocol, used by
|
||||||
|
remote GUI to communicate with Relay plugin (Japanese version).
|
||||||
|
Section: Network/Communication
|
||||||
|
|
||||||
|
Format: HTML
|
||||||
|
Index: /usr/share/doc/weechat-doc/html/weechat_relay_protocol.ja.html
|
||||||
|
Files: /usr/share/doc/weechat-doc/html/weechat_relay_protocol.ja.html
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
Document: weechat-relay-weechat-en
|
|
||||||
Title: WeeChat Relay "weechat" protocol (English)
|
|
||||||
Author: Sébastien Helleu
|
|
||||||
Abstract: This manual describes WeeChat Relay "weechat" protocol, used by
|
|
||||||
remote GUI to communicate with Relay plugin (English version).
|
|
||||||
Section: Network/Communication
|
|
||||||
|
|
||||||
Format: HTML
|
|
||||||
Index: /usr/share/doc/weechat-doc/html/weechat_relay_weechat.en.html
|
|
||||||
Files: /usr/share/doc/weechat-doc/html/weechat_relay_weechat.en.html
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
Document: weechat-relay-weechat-fr
|
|
||||||
Title: WeeChat Relay "weechat" protocol (French)
|
|
||||||
Author: Sébastien Helleu
|
|
||||||
Abstract: This manual describes WeeChat Relay "weechat" protocol, used by
|
|
||||||
remote GUI to communicate with Relay plugin (French version).
|
|
||||||
Section: Network/Communication
|
|
||||||
|
|
||||||
Format: HTML
|
|
||||||
Index: /usr/share/doc/weechat-doc/html/weechat_relay_weechat.fr.html
|
|
||||||
Files: /usr/share/doc/weechat-doc/html/weechat_relay_weechat.fr.html
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
Document: weechat-relay-weechat-ja
|
|
||||||
Title: WeeChat Relay "weechat" protocol (Japanese)
|
|
||||||
Author: Sébastien Helleu
|
|
||||||
Abstract: This manual describes WeeChat Relay "weechat" protocol, used by
|
|
||||||
remote GUI to communicate with Relay plugin (Japanese version).
|
|
||||||
Section: Network/Communication
|
|
||||||
|
|
||||||
Format: HTML
|
|
||||||
Index: /usr/share/doc/weechat-doc/html/weechat_relay_weechat.ja.html
|
|
||||||
Files: /usr/share/doc/weechat-doc/html/weechat_relay_weechat.ja.html
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
Document: weechat-relay-weechat-sr
|
|
||||||
Title: WeeChat Relay "weechat" protocol (Serbian)
|
|
||||||
Author: Sébastien Helleu
|
|
||||||
Abstract: This manual describes WeeChat Relay "weechat" protocol, used by
|
|
||||||
remote GUI to communicate with Relay plugin (Serbian version).
|
|
||||||
Section: Network/Communication
|
|
||||||
|
|
||||||
Format: HTML
|
|
||||||
Index: /usr/share/doc/weechat-doc/html/weechat_relay_weechat.sr.html
|
|
||||||
Files: /usr/share/doc/weechat-doc/html/weechat_relay_weechat.sr.html
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
Document: weechat-scripting-sr
|
|
||||||
Title: WeeChat scripting guide (Serbian)
|
|
||||||
Author: Sébastien Helleu
|
|
||||||
Abstract: This document describes the API to create scripts
|
|
||||||
for WeeChat (Serbian version).
|
|
||||||
Section: Network/Communication
|
|
||||||
|
|
||||||
Format: HTML
|
|
||||||
Index: /usr/share/doc/weechat-doc/html/weechat_scripting.sr.html
|
|
||||||
Files: /usr/share/doc/weechat-doc/html/weechat_scripting.sr.html
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
Document: weechat-user-sr
|
|
||||||
Title: WeeChat user's guide (Serbian)
|
|
||||||
Author: Sébastien Helleu
|
|
||||||
Abstract: This manual describes how to use the WeeChat
|
|
||||||
IRC client (Serbian version).
|
|
||||||
Section: Network/Communication
|
|
||||||
|
|
||||||
Format: HTML
|
|
||||||
Index: /usr/share/doc/weechat-doc/html/weechat_user.sr.html
|
|
||||||
Files: /usr/share/doc/weechat-doc/html/weechat_user.sr.html
|
|
||||||
+54
-310
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2003-2024 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2003-2021 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
# Copyright (C) 2009 Emmanuel Bouthenot <kolter@openics.org>
|
# Copyright (C) 2009 Emmanuel Bouthenot <kolter@openics.org>
|
||||||
#
|
#
|
||||||
# This file is part of WeeChat, the extensible chat client.
|
# This file is part of WeeChat, the extensible chat client.
|
||||||
@@ -19,327 +19,71 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
if(ENABLE_MAN OR ENABLE_DOC)
|
if(ENABLE_MAN OR ENABLE_DOC)
|
||||||
|
|
||||||
# docs languages
|
|
||||||
set(AUTOGEN_LANG de en fr it ja pl sr)
|
|
||||||
set(MAN_LANG cs de en fr it ja pl ru sr)
|
|
||||||
set(USER_LANG de en fr it ja pl sr)
|
|
||||||
set(PLUGIN_API_LANG en fr it ja sr)
|
|
||||||
set(SCRIPTING_LANG de en fr it ja pl sr)
|
|
||||||
set(FAQ_LANG de en es fr it ja pl sr)
|
|
||||||
set(QUICKSTART_LANG cs de en es fr it ja pl ru sr)
|
|
||||||
set(RELAY_API_LANG en fr)
|
|
||||||
set(RELAY_WEECHAT_LANG en fr ja sr)
|
|
||||||
set(DEV_LANG en fr ja sr)
|
|
||||||
|
|
||||||
find_package(Asciidoctor)
|
find_package(Asciidoctor)
|
||||||
if(ASCIIDOCTOR_FOUND)
|
if(ASCIIDOCTOR_FOUND)
|
||||||
# common asciidoctor arguments
|
# common asciidoctor arguments
|
||||||
set(ASCIIDOCTOR_ARGS
|
set(ASCIIDOCTOR_ARGS -a experimental -a reproducible -a "prewrap!" -a "webfonts!" -a icons=font -a revnumber="${VERSION}" -a sectanchors -a source-highlighter=pygments -a pygments-style=native)
|
||||||
-a experimental
|
|
||||||
-a reproducible
|
# sed arguments used to replace links in ChangeLog and release notes
|
||||||
-a "prewrap!"
|
set(SED_LINKS_ARGS
|
||||||
-a "webfonts!"
|
-e "'s/issue #\\([0-9][0-9]*\\)/https:\\/\\/github.com\\/weechat\\/weechat\\/issues\\/\\1[issue #\\1^]/g'"
|
||||||
-a revnumber="${VERSION}"
|
-e "'s/bug #\\([0-9][0-9]*\\)/https:\\/\\/savannah.nongnu.org\\/bugs\\/?\\1[bug #\\1^]/g'"
|
||||||
-a sectanchors
|
-e "'s/task #\\([0-9][0-9]*\\)/https:\\/\\/savannah.nongnu.org\\/task\\/?\\1[task #\\1^]/g'"
|
||||||
-a source-highlighter=pygments
|
-e "'s/patch #\\([0-9][0-9]*\\)/https:\\/\\/savannah.nongnu.org\\/patch\\/?\\1[patch #\\1^]/g'"
|
||||||
-a pygments-style=native
|
-e "'s/debian #\\([0-9][0-9]*\\)/http:\\/\\/bugs.debian.org\\/cgi-bin\\/bugreport.cgi?bug=\\1[debian bug #\\1^]/g'"
|
||||||
-a docinfodir="${CMAKE_CURRENT_SOURCE_DIR}"
|
-e "'s/\\(CVE-[0-9][0-9]*-[0-9][0-9]*\\)/https:\\/\\/cve.mitre.org\\/cgi-bin\\/cvename.cgi?name=\\1[\\1^]/g'"
|
||||||
-a autogendir="${CMAKE_CURRENT_BINARY_DIR}/autogen"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
# asciidoctor arguments for user's guide
|
# ChangeLog
|
||||||
set(ASCIIDOCTOR_USER_ARGS
|
add_custom_command(
|
||||||
-a toc=left
|
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/ChangeLog-links.adoc
|
||||||
-a toclevels=3
|
COMMAND sed ARGS ${SED_LINKS_ARGS} ${CMAKE_CURRENT_SOURCE_DIR}/../ChangeLog.adoc > ${CMAKE_CURRENT_BINARY_DIR}/ChangeLog-links.adoc
|
||||||
-a sectnums
|
DEPENDS
|
||||||
-a sectnumlevels=2
|
${CMAKE_CURRENT_SOURCE_DIR}/../ChangeLog.adoc
|
||||||
-a docinfo1
|
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
||||||
)
|
)
|
||||||
|
add_custom_command(
|
||||||
# asciidoctor arguments for plugin API reference
|
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/ChangeLog.html
|
||||||
set(ASCIIDOCTOR_PLUGIN_API_ARGS
|
COMMAND ${ASCIIDOCTOR_EXECUTABLE} ARGS ${ASCIIDOCTOR_ARGS} -a docinfodir="${CMAKE_CURRENT_SOURCE_DIR}" -o ChangeLog.html ${CMAKE_CURRENT_BINARY_DIR}/ChangeLog-links.adoc
|
||||||
-a toc=left
|
DEPENDS
|
||||||
-a toclevels=3
|
${CMAKE_CURRENT_SOURCE_DIR}/docinfo.html
|
||||||
-a sectnums
|
${CMAKE_CURRENT_BINARY_DIR}/ChangeLog-links.adoc
|
||||||
-a sectnumlevels=2
|
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
||||||
-a docinfo1
|
COMMENT "Building ChangeLog.html"
|
||||||
)
|
)
|
||||||
|
add_custom_target(changelog DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/ChangeLog.html)
|
||||||
|
|
||||||
# asciidoctor arguments for scripting guide
|
# Release notes
|
||||||
set(ASCIIDOCTOR_SCRIPTING_ARGS
|
add_custom_command(
|
||||||
-a toc=left
|
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/ReleaseNotes-links.adoc
|
||||||
-a toclevels=3
|
COMMAND sed ARGS ${SED_LINKS_ARGS} ${CMAKE_CURRENT_SOURCE_DIR}/../ReleaseNotes.adoc > ${CMAKE_CURRENT_BINARY_DIR}/ReleaseNotes-links.adoc
|
||||||
-a sectnums
|
DEPENDS
|
||||||
-a sectnumlevels=2
|
${CMAKE_CURRENT_SOURCE_DIR}/../ReleaseNotes.adoc
|
||||||
-a docinfo1
|
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
||||||
)
|
)
|
||||||
|
add_custom_command(
|
||||||
# asciidoctor arguments for FAQ
|
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/ReleaseNotes.html
|
||||||
set(ASCIIDOCTOR_FAQ_ARGS
|
COMMAND ${ASCIIDOCTOR_EXECUTABLE} ARGS ${ASCIIDOCTOR_ARGS} -a docinfodir="${CMAKE_CURRENT_SOURCE_DIR}" -o ReleaseNotes.html ${CMAKE_CURRENT_BINARY_DIR}/ReleaseNotes-links.adoc
|
||||||
-a toc=left
|
DEPENDS
|
||||||
-a toclevels=2
|
${CMAKE_CURRENT_SOURCE_DIR}/docinfo.html
|
||||||
-a sectnums
|
${CMAKE_CURRENT_BINARY_DIR}/ReleaseNotes-links.adoc
|
||||||
-a sectnumlevels=2
|
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
||||||
-a docinfo1
|
COMMENT "Building ReleaseNotes.html"
|
||||||
)
|
)
|
||||||
|
add_custom_target(rn DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/ReleaseNotes.html)
|
||||||
|
|
||||||
# asciidoctor arguments for quickstart
|
# man/doc in all languages
|
||||||
set(ASCIIDOCTOR_QUICKSTART_ARGS
|
add_subdirectory(cs)
|
||||||
-a toc=left
|
add_subdirectory(de)
|
||||||
-a toclevels=2
|
add_subdirectory(en)
|
||||||
-a sectnums
|
add_subdirectory(es)
|
||||||
-a sectnumlevels=2
|
add_subdirectory(fr)
|
||||||
-a docinfo1
|
add_subdirectory(it)
|
||||||
)
|
add_subdirectory(ja)
|
||||||
|
add_subdirectory(pl)
|
||||||
# asciidoctor arguments for relay "api"
|
add_subdirectory(ru)
|
||||||
set(ASCIIDOCTOR_RELAY_API_ARGS
|
add_subdirectory(sr)
|
||||||
-a toc=left
|
|
||||||
-a toclevels=3
|
|
||||||
-a sectnums
|
|
||||||
-a sectnumlevels=2
|
|
||||||
-a docinfo1
|
|
||||||
)
|
|
||||||
|
|
||||||
# asciidoctor arguments for relay "weechat"
|
|
||||||
set(ASCIIDOCTOR_RELAY_WEECHAT_ARGS
|
|
||||||
-a toc=left
|
|
||||||
-a toclevels=3
|
|
||||||
-a sectnums
|
|
||||||
-a sectnumlevels=2
|
|
||||||
-a docinfo1
|
|
||||||
)
|
|
||||||
|
|
||||||
# asciidoctor arguments for developer's guide
|
|
||||||
set(ASCIIDOCTOR_DEV_ARGS
|
|
||||||
-a toc=left
|
|
||||||
-a toclevels=3
|
|
||||||
-a sectnums
|
|
||||||
-a sectnumlevels=2
|
|
||||||
-a docinfo1
|
|
||||||
)
|
|
||||||
|
|
||||||
if(ENABLE_DOC)
|
|
||||||
set(AUTOGEN_FILES "")
|
|
||||||
foreach(lang ${AUTOGEN_LANG})
|
|
||||||
LIST(APPEND AUTOGEN_FILES
|
|
||||||
# plugin API reference
|
|
||||||
"${CMAKE_CURRENT_BINARY_DIR}/autogen/autogen_api_completions.${lang}.adoc"
|
|
||||||
"${CMAKE_CURRENT_BINARY_DIR}/autogen/autogen_api_config_priority.${lang}.adoc"
|
|
||||||
"${CMAKE_CURRENT_BINARY_DIR}/autogen/autogen_api_hdata.${lang}.adoc"
|
|
||||||
"${CMAKE_CURRENT_BINARY_DIR}/autogen/autogen_api_infolists.${lang}.adoc"
|
|
||||||
"${CMAKE_CURRENT_BINARY_DIR}/autogen/autogen_api_infos.${lang}.adoc"
|
|
||||||
"${CMAKE_CURRENT_BINARY_DIR}/autogen/autogen_api_infos_hashtable.${lang}.adoc"
|
|
||||||
"${CMAKE_CURRENT_BINARY_DIR}/autogen/autogen_api_plugins_priority.${lang}.adoc"
|
|
||||||
"${CMAKE_CURRENT_BINARY_DIR}/autogen/autogen_api_url_options.${lang}.adoc"
|
|
||||||
# user's guide
|
|
||||||
"${CMAKE_CURRENT_BINARY_DIR}/autogen/autogen_user_commands.${lang}.adoc"
|
|
||||||
"${CMAKE_CURRENT_BINARY_DIR}/autogen/autogen_user_default_aliases.${lang}.adoc"
|
|
||||||
"${CMAKE_CURRENT_BINARY_DIR}/autogen/autogen_user_irc_colors.${lang}.adoc"
|
|
||||||
"${CMAKE_CURRENT_BINARY_DIR}/autogen/autogen_user_options.${lang}.adoc"
|
|
||||||
# scripting duide
|
|
||||||
"${CMAKE_CURRENT_BINARY_DIR}/autogen/autogen_scripting_functions.${lang}.adoc"
|
|
||||||
"${CMAKE_CURRENT_BINARY_DIR}/autogen/autogen_scripting_constants.${lang}.adoc"
|
|
||||||
)
|
|
||||||
endforeach()
|
|
||||||
add_custom_target(doc-autogen ALL
|
|
||||||
COMMAND "${CMAKE_COMMAND}" -E env "WEECHAT_EXTRA_LIBDIR=${PROJECT_BINARY_DIR}/src" "WEECHAT_DOCGEN_LOCALEDIR=${PROJECT_BINARY_DIR}/po" "${CMAKE_BINARY_DIR}/src/gui/curses/headless/weechat-headless" --temp-dir --doc-gen "${CMAKE_CURRENT_BINARY_DIR}/autogen"
|
|
||||||
DEPENDS
|
|
||||||
# the headless binary is required
|
|
||||||
weechat-headless
|
|
||||||
# translations must be compiled
|
|
||||||
translations
|
|
||||||
# all plugins must be loaded during doc generation
|
|
||||||
alias buflist charset exec fifo fset guile irc logger lua perl php python relay ruby script spell tcl trigger typing xfer
|
|
||||||
BYPRODUCTS ${AUTOGEN_FILES}
|
|
||||||
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
|
|
||||||
)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
if(ENABLE_MAN)
|
|
||||||
foreach(lang ${MAN_LANG})
|
|
||||||
if(${lang} STREQUAL "en")
|
|
||||||
set(MANDIR_LANG "${MANDIR}/man1")
|
|
||||||
else()
|
|
||||||
set(MANDIR_LANG "${MANDIR}/${lang}/man1")
|
|
||||||
endif()
|
|
||||||
# man page: weechat
|
|
||||||
add_custom_command(
|
|
||||||
OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/weechat.${lang}.1"
|
|
||||||
COMMAND "${ASCIIDOCTOR_EXECUTABLE}" ARGS ${ASCIIDOCTOR_ARGS} -b manpage -o "weechat.${lang}.1" "${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat.1.${lang}.adoc"
|
|
||||||
DEPENDS
|
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat.1.${lang}.adoc"
|
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/includes/cmdline_options.${lang}.adoc"
|
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/includes/man.${lang}.adoc"
|
|
||||||
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
|
|
||||||
COMMENT "Building weechat.1 (${lang})"
|
|
||||||
)
|
|
||||||
add_custom_target(doc-man-weechat-${lang} ALL DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/weechat.${lang}.1")
|
|
||||||
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/weechat.${lang}.1" DESTINATION "${MANDIR_LANG}" RENAME "weechat.1")
|
|
||||||
# man page: weechat-headless
|
|
||||||
if(ENABLE_HEADLESS)
|
|
||||||
add_custom_command(
|
|
||||||
OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/weechat-headless.${lang}.1"
|
|
||||||
COMMAND "${ASCIIDOCTOR_EXECUTABLE}" ARGS ${ASCIIDOCTOR_ARGS} -b manpage -o "weechat-headless.${lang}.1" "${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat-headless.1.${lang}.adoc"
|
|
||||||
DEPENDS
|
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat-headless.1.${lang}.adoc"
|
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/includes/cmdline_options.${lang}.adoc"
|
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/includes/man.${lang}.adoc"
|
|
||||||
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
|
|
||||||
COMMENT "Building weechat-headless.1 (${lang})"
|
|
||||||
)
|
|
||||||
add_custom_target(doc-man-weechat-headless-${lang} ALL DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/weechat-headless.${lang}.1")
|
|
||||||
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/weechat-headless.${lang}.1" DESTINATION "${MANDIR_LANG}" RENAME "weechat-headless.1")
|
|
||||||
endif()
|
|
||||||
endforeach()
|
|
||||||
endif()
|
|
||||||
|
|
||||||
if(ENABLE_DOC)
|
|
||||||
# user's guide
|
|
||||||
foreach(lang ${USER_LANG})
|
|
||||||
add_custom_command(
|
|
||||||
OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/weechat_user.${lang}.html"
|
|
||||||
COMMAND "${ASCIIDOCTOR_EXECUTABLE}" ARGS ${ASCIIDOCTOR_ARGS} ${ASCIIDOCTOR_USER_ARGS} -o "weechat_user.${lang}.html" "${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat_user.${lang}.adoc"
|
|
||||||
DEPENDS
|
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/docinfo.html"
|
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat_user.${lang}.adoc"
|
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/includes/attributes-${lang}.adoc"
|
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/includes/cmdline_options.${lang}.adoc"
|
|
||||||
doc-autogen
|
|
||||||
"${CMAKE_CURRENT_BINARY_DIR}/autogen/autogen_user_commands.${lang}.adoc"
|
|
||||||
"${CMAKE_CURRENT_BINARY_DIR}/autogen/autogen_user_default_aliases.${lang}.adoc"
|
|
||||||
"${CMAKE_CURRENT_BINARY_DIR}/autogen/autogen_user_irc_colors.${lang}.adoc"
|
|
||||||
"${CMAKE_CURRENT_BINARY_DIR}/autogen/autogen_user_options.${lang}.adoc"
|
|
||||||
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
|
|
||||||
COMMENT "Building weechat_user.${lang}.html"
|
|
||||||
)
|
|
||||||
add_custom_target(doc-user-${lang} ALL DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/weechat_user.${lang}.html")
|
|
||||||
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/weechat_user.${lang}.html" DESTINATION "${DATAROOTDIR}/doc/${PROJECT_NAME}")
|
|
||||||
endforeach()
|
|
||||||
# plugin API reference
|
|
||||||
foreach(lang ${PLUGIN_API_LANG})
|
|
||||||
add_custom_command(
|
|
||||||
OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/weechat_plugin_api.${lang}.html"
|
|
||||||
COMMAND "${ASCIIDOCTOR_EXECUTABLE}" ARGS ${ASCIIDOCTOR_ARGS} ${ASCIIDOCTOR_PLUGIN_API_ARGS} -o "weechat_plugin_api.${lang}.html" "${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat_plugin_api.${lang}.adoc"
|
|
||||||
DEPENDS
|
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/docinfo.html"
|
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat_plugin_api.${lang}.adoc"
|
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/includes/attributes-${lang}.adoc"
|
|
||||||
doc-autogen
|
|
||||||
"${CMAKE_CURRENT_BINARY_DIR}/autogen/autogen_api_completions.${lang}.adoc"
|
|
||||||
"${CMAKE_CURRENT_BINARY_DIR}/autogen/autogen_api_config_priority.${lang}.adoc"
|
|
||||||
"${CMAKE_CURRENT_BINARY_DIR}/autogen/autogen_api_hdata.${lang}.adoc"
|
|
||||||
"${CMAKE_CURRENT_BINARY_DIR}/autogen/autogen_api_infolists.${lang}.adoc"
|
|
||||||
"${CMAKE_CURRENT_BINARY_DIR}/autogen/autogen_api_infos.${lang}.adoc"
|
|
||||||
"${CMAKE_CURRENT_BINARY_DIR}/autogen/autogen_api_infos_hashtable.${lang}.adoc"
|
|
||||||
"${CMAKE_CURRENT_BINARY_DIR}/autogen/autogen_api_plugins_priority.${lang}.adoc"
|
|
||||||
"${CMAKE_CURRENT_BINARY_DIR}/autogen/autogen_api_url_options.${lang}.adoc"
|
|
||||||
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
|
|
||||||
COMMENT "Building weechat_plugin_api.${lang}.html"
|
|
||||||
)
|
|
||||||
add_custom_target(doc-plugin-api-${lang} ALL DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/weechat_plugin_api.${lang}.html")
|
|
||||||
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/weechat_plugin_api.${lang}.html" DESTINATION "${DATAROOTDIR}/doc/${PROJECT_NAME}")
|
|
||||||
endforeach()
|
|
||||||
# scripting guide
|
|
||||||
foreach(lang ${SCRIPTING_LANG})
|
|
||||||
add_custom_command(
|
|
||||||
OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.${lang}.html"
|
|
||||||
COMMAND "${ASCIIDOCTOR_EXECUTABLE}" ARGS ${ASCIIDOCTOR_ARGS} ${ASCIIDOCTOR_SCRIPTING_ARGS} -o "weechat_scripting.${lang}.html" "${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat_scripting.${lang}.adoc"
|
|
||||||
DEPENDS
|
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/docinfo.html"
|
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat_scripting.${lang}.adoc"
|
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/includes/attributes-${lang}.adoc"
|
|
||||||
doc-autogen
|
|
||||||
"${CMAKE_CURRENT_BINARY_DIR}/autogen/autogen_scripting_functions.${lang}.adoc"
|
|
||||||
"${CMAKE_CURRENT_BINARY_DIR}/autogen/autogen_scripting_constants.${lang}.adoc"
|
|
||||||
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
|
|
||||||
COMMENT "Building weechat_scripting.${lang}.html"
|
|
||||||
)
|
|
||||||
add_custom_target(doc-scripting-${lang} ALL DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.${lang}.html")
|
|
||||||
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.${lang}.html" DESTINATION "${DATAROOTDIR}/doc/${PROJECT_NAME}")
|
|
||||||
endforeach()
|
|
||||||
# FAQ
|
|
||||||
foreach(lang ${FAQ_LANG})
|
|
||||||
add_custom_command(
|
|
||||||
OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.${lang}.html"
|
|
||||||
COMMAND "${ASCIIDOCTOR_EXECUTABLE}" ARGS ${ASCIIDOCTOR_ARGS} ${ASCIIDOCTOR_FAQ_ARGS} -o "weechat_faq.${lang}.html" "${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat_faq.${lang}.adoc"
|
|
||||||
DEPENDS
|
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/docinfo.html"
|
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat_faq.${lang}.adoc"
|
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/includes/attributes-${lang}.adoc"
|
|
||||||
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
|
|
||||||
COMMENT "Building weechat_faq.${lang}.html"
|
|
||||||
)
|
|
||||||
add_custom_target(doc-faq-${lang} ALL DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.${lang}.html")
|
|
||||||
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.${lang}.html" DESTINATION "${DATAROOTDIR}/doc/${PROJECT_NAME}")
|
|
||||||
endforeach()
|
|
||||||
# quickstart
|
|
||||||
foreach(lang ${QUICKSTART_LANG})
|
|
||||||
add_custom_command(
|
|
||||||
OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.${lang}.html"
|
|
||||||
COMMAND "${ASCIIDOCTOR_EXECUTABLE}" ARGS ${ASCIIDOCTOR_ARGS} ${ASCIIDOCTOR_QUICKSTART_ARGS} -o "weechat_quickstart.${lang}.html" "${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat_quickstart.${lang}.adoc"
|
|
||||||
DEPENDS
|
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/docinfo.html"
|
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat_quickstart.${lang}.adoc"
|
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/includes/attributes-${lang}.adoc"
|
|
||||||
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
|
|
||||||
COMMENT "Building weechat_quickstart.${lang}.html"
|
|
||||||
)
|
|
||||||
add_custom_target(doc-quickstart-${lang} ALL DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.${lang}.html")
|
|
||||||
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.${lang}.html" DESTINATION "${DATAROOTDIR}/doc/${PROJECT_NAME}")
|
|
||||||
endforeach()
|
|
||||||
# relay "api"
|
|
||||||
foreach(lang ${RELAY_API_LANG})
|
|
||||||
add_custom_command(
|
|
||||||
OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/weechat_relay_api.${lang}.html"
|
|
||||||
COMMAND "${ASCIIDOCTOR_EXECUTABLE}" ARGS ${ASCIIDOCTOR_ARGS} ${ASCIIDOCTOR_RELAY_API_ARGS} -o "weechat_relay_api.${lang}.html" "${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat_relay_api.${lang}.adoc"
|
|
||||||
DEPENDS
|
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/docinfo.html"
|
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat_relay_api.${lang}.adoc"
|
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/includes/attributes-${lang}.adoc"
|
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/includes/relay.${lang}.adoc"
|
|
||||||
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
|
|
||||||
COMMENT "Building weechat_relay_api.${lang}.html"
|
|
||||||
)
|
|
||||||
add_custom_target(doc-relay-api-${lang} ALL DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/weechat_relay_api.${lang}.html")
|
|
||||||
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/weechat_relay_api.${lang}.html" DESTINATION "${DATAROOTDIR}/doc/${PROJECT_NAME}")
|
|
||||||
endforeach()
|
|
||||||
# relay "weechat"
|
|
||||||
foreach(lang ${RELAY_WEECHAT_LANG})
|
|
||||||
add_custom_command(
|
|
||||||
OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/weechat_relay_weechat.${lang}.html"
|
|
||||||
COMMAND "${ASCIIDOCTOR_EXECUTABLE}" ARGS ${ASCIIDOCTOR_ARGS} ${ASCIIDOCTOR_RELAY_WEECHAT_ARGS} -o "weechat_relay_weechat.${lang}.html" "${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat_relay_weechat.${lang}.adoc"
|
|
||||||
DEPENDS
|
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/docinfo.html"
|
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat_relay_weechat.${lang}.adoc"
|
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/includes/attributes-${lang}.adoc"
|
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/includes/relay.${lang}.adoc"
|
|
||||||
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
|
|
||||||
COMMENT "Building weechat_relay_weechat.${lang}.html"
|
|
||||||
)
|
|
||||||
add_custom_target(doc-relay-weechat-${lang} ALL DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/weechat_relay_weechat.${lang}.html")
|
|
||||||
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/weechat_relay_weechat.${lang}.html" DESTINATION "${DATAROOTDIR}/doc/${PROJECT_NAME}")
|
|
||||||
endforeach()
|
|
||||||
# developer's guide
|
|
||||||
foreach(lang ${DEV_LANG})
|
|
||||||
add_custom_command(
|
|
||||||
OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/weechat_dev.${lang}.html"
|
|
||||||
COMMAND "${ASCIIDOCTOR_EXECUTABLE}" ARGS ${ASCIIDOCTOR_ARGS} ${ASCIIDOCTOR_DEV_ARGS} -o "weechat_dev.${lang}.html" "${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat_dev.${lang}.adoc"
|
|
||||||
DEPENDS
|
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/docinfo.html"
|
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat_dev.${lang}.adoc"
|
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/includes/attributes-${lang}.adoc"
|
|
||||||
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
|
|
||||||
COMMENT "Building weechat_dev.${lang}.html"
|
|
||||||
)
|
|
||||||
add_custom_target(doc-dev-${lang} ALL DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/weechat_dev.${lang}.html")
|
|
||||||
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/weechat_dev.${lang}.html" DESTINATION "${DATAROOTDIR}/doc/${PROJECT_NAME}")
|
|
||||||
endforeach()
|
|
||||||
endif()
|
|
||||||
|
|
||||||
else()
|
else()
|
||||||
message(SEND_ERROR "Asciidoctor not found")
|
message(SEND_ERROR "Asciidoctor not found")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
endif()
|
endif()
|
||||||
|
|||||||
@@ -0,0 +1,28 @@
|
|||||||
|
#
|
||||||
|
# Copyright (C) 2003-2021 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
|
# Copyright (C) 2006 Julien Louis <ptitlouis@sysif.net>
|
||||||
|
#
|
||||||
|
# This file is part of WeeChat, the extensible chat client.
|
||||||
|
#
|
||||||
|
# WeeChat is free software; you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
# the Free Software Foundation; either version 3 of the License, or
|
||||||
|
# (at your option) any later version.
|
||||||
|
#
|
||||||
|
# WeeChat is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
#
|
||||||
|
|
||||||
|
SUBDIRS = . cs de en es fr it ja pl ru sr
|
||||||
|
|
||||||
|
EXTRA_DIST = docgen.py \
|
||||||
|
docinfo.html \
|
||||||
|
CMakeLists.txt
|
||||||
|
|
||||||
|
uninstall-hook:
|
||||||
|
-rmdir $(DESTDIR)$(datadir)/doc/$(PACKAGE)
|
||||||
@@ -0,0 +1,67 @@
|
|||||||
|
#
|
||||||
|
# Copyright (C) 2003-2021 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
|
#
|
||||||
|
# This file is part of WeeChat, the extensible chat client.
|
||||||
|
#
|
||||||
|
# WeeChat is free software; you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
# the Free Software Foundation; either version 3 of the License, or
|
||||||
|
# (at your option) any later version.
|
||||||
|
#
|
||||||
|
# WeeChat is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
#
|
||||||
|
|
||||||
|
if(ENABLE_MAN)
|
||||||
|
# man page: weechat
|
||||||
|
add_custom_command(
|
||||||
|
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat.1
|
||||||
|
COMMAND ${ASCIIDOCTOR_EXECUTABLE} ARGS ${ASCIIDOCTOR_ARGS} -b manpage -o weechat.1 ${CMAKE_CURRENT_SOURCE_DIR}/weechat.1.cs.adoc
|
||||||
|
DEPENDS
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/weechat.1.cs.adoc
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/includes/cmdline_options.cs.adoc
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/includes/man.cs.adoc
|
||||||
|
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
||||||
|
COMMENT "Building weechat.1 (cs)"
|
||||||
|
)
|
||||||
|
add_custom_target(doc-man-weechat-cs ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat.1)
|
||||||
|
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat.1 DESTINATION ${MANDIR}/cs/man1)
|
||||||
|
|
||||||
|
if(ENABLE_HEADLESS)
|
||||||
|
# man page: weechat-headless
|
||||||
|
add_custom_command(
|
||||||
|
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat-headless.1
|
||||||
|
COMMAND ${ASCIIDOCTOR_EXECUTABLE} ARGS ${ASCIIDOCTOR_ARGS} -b manpage -o weechat-headless.1 ${CMAKE_CURRENT_SOURCE_DIR}/weechat-headless.1.cs.adoc
|
||||||
|
DEPENDS
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/weechat-headless.1.cs.adoc
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/includes/cmdline_options.cs.adoc
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/includes/man.cs.adoc
|
||||||
|
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
||||||
|
COMMENT "Building weechat-headless.1 (cs)"
|
||||||
|
)
|
||||||
|
add_custom_target(doc-man-weechat-headless-cs ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat-headless.1)
|
||||||
|
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat-headless.1 DESTINATION ${MANDIR}/cs/man1)
|
||||||
|
endif()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if(ENABLE_DOC)
|
||||||
|
|
||||||
|
# quickstart
|
||||||
|
add_custom_command(
|
||||||
|
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.cs.html
|
||||||
|
COMMAND ${ASCIIDOCTOR_EXECUTABLE} ARGS ${ASCIIDOCTOR_ARGS} -o weechat_quickstart.cs.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.cs.adoc
|
||||||
|
DEPENDS
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/../docinfo.html
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.cs.adoc
|
||||||
|
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
||||||
|
COMMENT "Building weechat_quickstart.cs.html"
|
||||||
|
)
|
||||||
|
add_custom_target(doc-quickstart-cs ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.cs.html)
|
||||||
|
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.cs.html DESTINATION ${DATAROOTDIR}/doc/${PROJECT_NAME})
|
||||||
|
|
||||||
|
endif()
|
||||||
@@ -0,0 +1,81 @@
|
|||||||
|
#
|
||||||
|
# Copyright (C) 2003-2021 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
|
#
|
||||||
|
# This file is part of WeeChat, the extensible chat client.
|
||||||
|
#
|
||||||
|
# WeeChat is free software; you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
# the Free Software Foundation; either version 3 of the License, or
|
||||||
|
# (at your option) any later version.
|
||||||
|
#
|
||||||
|
# WeeChat is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
#
|
||||||
|
|
||||||
|
docdir = $(datadir)/doc/$(PACKAGE)
|
||||||
|
|
||||||
|
EXTRA_DIST = CMakeLists.txt \
|
||||||
|
docinfo.html \
|
||||||
|
weechat.1.cs.adoc \
|
||||||
|
weechat-headless.1.cs.adoc \
|
||||||
|
weechat_quickstart.cs.adoc \
|
||||||
|
includes/cmdline_options.cs.adoc \
|
||||||
|
includes/man.cs.adoc
|
||||||
|
|
||||||
|
if MAN
|
||||||
|
man_targets = weechat.1 \
|
||||||
|
weechat-headless.1
|
||||||
|
man_install = install-man
|
||||||
|
man_uninstall = uninstall-man
|
||||||
|
endif
|
||||||
|
if DOC
|
||||||
|
doc_targets = weechat_quickstart.cs.html
|
||||||
|
doc_install = install-doc
|
||||||
|
doc_uninstall = uninstall-doc
|
||||||
|
endif
|
||||||
|
all-local: $(man_targets) $(doc_targets)
|
||||||
|
|
||||||
|
# man pages
|
||||||
|
weechat.1: weechat.1.cs.adoc includes/cmdline_options.cs.adoc includes/man.cs.adoc
|
||||||
|
$(ASCIIDOCTOR) $(ASCIIDOCTOR_ARGS) -a revnumber="$(VERSION)" -b manpage -o weechat.1 $(abs_top_srcdir)/doc/cs/weechat.1.cs.adoc
|
||||||
|
weechat-headless.1: weechat-headless.1.cs.adoc includes/cmdline_options.cs.adoc includes/man.cs.adoc
|
||||||
|
$(ASCIIDOCTOR) $(ASCIIDOCTOR_ARGS) -a revnumber="$(VERSION)" -b manpage -o weechat-headless.1 $(abs_top_srcdir)/doc/cs/weechat-headless.1.cs.adoc
|
||||||
|
|
||||||
|
# quickstart
|
||||||
|
weechat_quickstart.cs.html: weechat_quickstart.cs.adoc $(abs_top_srcdir)/doc/docinfo.html
|
||||||
|
$(ASCIIDOCTOR) $(ASCIIDOCTOR_ARGS) -a revnumber="$(VERSION)" -o weechat_quickstart.cs.html $(abs_top_srcdir)/doc/cs/weechat_quickstart.cs.adoc
|
||||||
|
|
||||||
|
# install man/docs
|
||||||
|
|
||||||
|
install-data-hook: $(man_install) $(doc_install)
|
||||||
|
|
||||||
|
install-man:
|
||||||
|
$(mkinstalldirs) $(DESTDIR)$(mandir)/cs/man1/
|
||||||
|
$(INSTALL_DATA) *.1 $(DESTDIR)$(mandir)/cs/man1/
|
||||||
|
|
||||||
|
install-doc:
|
||||||
|
$(mkinstalldirs) $(DESTDIR)$(docdir)/
|
||||||
|
$(INSTALL_DATA) *.html $(DESTDIR)$(docdir)/
|
||||||
|
|
||||||
|
# uninstall man/docs
|
||||||
|
|
||||||
|
uninstall-hook: $(man_uninstall) $(doc_uninstall)
|
||||||
|
|
||||||
|
uninstall-man:
|
||||||
|
$(RM) $(DESTDIR)$(mandir)/cs/man1/weechat.1
|
||||||
|
$(RM) $(DESTDIR)$(mandir)/cs/man1/weechat-headless.1
|
||||||
|
-rmdir $(DESTDIR)$(mandir)/cs/man1
|
||||||
|
|
||||||
|
uninstall-doc:
|
||||||
|
$(RM) $(DESTDIR)$(docdir)/*.cs.html
|
||||||
|
-rmdir $(DESTDIR)$(docdir)
|
||||||
|
|
||||||
|
# clean
|
||||||
|
|
||||||
|
clean-local:
|
||||||
|
-$(RM) weechat.1 weechat-headless.1 weechat_*.html
|
||||||
Symlink
+1
@@ -0,0 +1 @@
|
|||||||
|
../docinfo.html
|
||||||
@@ -1,23 +0,0 @@
|
|||||||
// czech translation, for reference only; matches the built-in behavior of core
|
|
||||||
:appendix-caption: Příloha
|
|
||||||
:appendix-refsig: {appendix-caption}
|
|
||||||
:caution-caption: Upozornění
|
|
||||||
:chapter-signifier: Kapitola
|
|
||||||
:chapter-refsig: {chapter-signifier}
|
|
||||||
:example-caption: Příklad
|
|
||||||
:figure-caption: Obrázek
|
|
||||||
:important-caption: Důležité
|
|
||||||
:last-update-label: Změněno
|
|
||||||
ifdef::listing-caption[:listing-caption: Seznam]
|
|
||||||
ifdef::manname-title[:manname-title: Název]
|
|
||||||
:note-caption: Poznámka
|
|
||||||
:part-signifier: Část
|
|
||||||
:part-refsig: {part-signifier}
|
|
||||||
ifdef::preface-title[:preface-title: Úvod]
|
|
||||||
:section-refsig: Oddíl
|
|
||||||
:table-caption: Tabulka
|
|
||||||
:tip-caption: Tip
|
|
||||||
:toc-title: Obsah
|
|
||||||
:untitled-label: Nepojmenovaný
|
|
||||||
:version-label: Verze
|
|
||||||
:warning-caption: Varování
|
|
||||||
@@ -39,10 +39,6 @@
|
|||||||
*-h*, *--help*::
|
*-h*, *--help*::
|
||||||
Zobrazí nápovědu.
|
Zobrazí nápovědu.
|
||||||
|
|
||||||
// TRANSLATION MISSING
|
|
||||||
*-i*, *--build-info*::
|
|
||||||
Display build information and exit.
|
|
||||||
|
|
||||||
*-l*, *--license*::
|
*-l*, *--license*::
|
||||||
Zobrazí licenci WeeChatu.
|
Zobrazí licenci WeeChatu.
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
// tag::plugin_options[]
|
// tag::plugin_options[]
|
||||||
Pro kompletní dokumentaci nastavení pluginů a jejich volby podívejte se na
|
Pro kompletní dokumentaci nastavení pluginů a jejich volby podívejte se na
|
||||||
https://weechat.org/doc/[WeeChat user's guide].
|
https://weechat.org/doc[WeeChat user's guide].
|
||||||
|
|
||||||
S irc pluginem se můžete doččasně připojit na server s URL jako:
|
S irc pluginem se můžete doččasně připojit na server s URL jako:
|
||||||
|
|
||||||
@@ -97,9 +97,9 @@ $HOME/.local/share/weechat/weechat.log::
|
|||||||
|
|
||||||
// tag::copyright[]
|
// tag::copyright[]
|
||||||
WeeChat je napsán Sébastienem Helleu a přispěvovateli (kompletní seznam je v
|
WeeChat je napsán Sébastienem Helleu a přispěvovateli (kompletní seznam je v
|
||||||
souboru AUTHORS.md).
|
souboru AUTHORS.adoc).
|
||||||
|
|
||||||
Copyright (C) 2003-2024 {author}
|
Copyright (C) 2003-2021 {author}
|
||||||
|
|
||||||
WeeChat is free software; you can redistribute it and/or modify
|
WeeChat is free software; you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -67,4 +67,4 @@ include::includes/man.cs.adoc[tag=copyright]
|
|||||||
|
|
||||||
== PODPORA / HLÁŠENÍ CHYB
|
== PODPORA / HLÁŠENÍ CHYB
|
||||||
|
|
||||||
Pro pomoc nebo hlášení chyb https://weechat.org/about/support/
|
Pro pomoc nebo hlášení chyb https://weechat.org/about/support
|
||||||
|
|||||||
@@ -62,4 +62,4 @@ include::includes/man.cs.adoc[tag=copyright]
|
|||||||
|
|
||||||
== PODPORA / HLÁŠENÍ CHYB
|
== PODPORA / HLÁŠENÍ CHYB
|
||||||
|
|
||||||
Pro pomoc nebo hlášení chyb https://weechat.org/about/support/
|
Pro pomoc nebo hlášení chyb https://weechat.org/about/support
|
||||||
|
|||||||
@@ -2,7 +2,10 @@
|
|||||||
:author: Sébastien Helleu
|
:author: Sébastien Helleu
|
||||||
:email: flashcode@flashtux.org
|
:email: flashcode@flashtux.org
|
||||||
:lang: cs
|
:lang: cs
|
||||||
include::includes/attributes-cs.adoc[]
|
:toc: left
|
||||||
|
:sectnums:
|
||||||
|
:docinfo1:
|
||||||
|
|
||||||
|
|
||||||
[[start]]
|
[[start]]
|
||||||
== Spuštění WeeChatu
|
== Spuštění WeeChatu
|
||||||
@@ -13,9 +16,8 @@ klávesových zkratek.
|
|||||||
|
|
||||||
Spustění z Vašeho shellu:
|
Spustění z Vašeho shellu:
|
||||||
|
|
||||||
[source,shell]
|
|
||||||
----
|
----
|
||||||
weechat
|
$ weechat
|
||||||
----
|
----
|
||||||
|
|
||||||
[[help]]
|
[[help]]
|
||||||
@@ -111,7 +113,7 @@ Použijte příkaz `/plugin` k zobrazení nahraných pluginů, pravděpodobně u
|
|||||||
Můžete přidat irc server příkazem `/server`, například:
|
Můžete přidat irc server příkazem `/server`, například:
|
||||||
|
|
||||||
----
|
----
|
||||||
/server add libera irc.libera.chat/6697 -tls
|
/server add libera irc.libera.chat/6697 -ssl
|
||||||
----
|
----
|
||||||
|
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
@@ -206,16 +208,10 @@ K automatickému připojení některých kanálů při připojování k serveru:
|
|||||||
----
|
----
|
||||||
|
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
The `/autojoin` command lets you configure the _autojoin_ option easily
|
[TIP]
|
||||||
(see `/help autojoin`).
|
You can complete name and value of options with the kbd:[Tab] key
|
||||||
|
and kbd:[Shift+Tab] for a partial completion (useful for long words like
|
||||||
// TRANSLATION MISSING
|
the name of option).
|
||||||
You can also configure WeeChat to automatically update the _autojoin_ option
|
|
||||||
when you join or leave channels:
|
|
||||||
|
|
||||||
----
|
|
||||||
/set irc.server_default.autojoin_dynamic on
|
|
||||||
----
|
|
||||||
|
|
||||||
K smazání hodnoty serverové volby a k použití výchozí hodnoty místo ní,
|
K smazání hodnoty serverové volby a k použití výchozí hodnoty místo ní,
|
||||||
například k požití výchozích přezdívek (irc.server_default.nicks):
|
například k požití výchozích přezdívek (irc.server_default.nicks):
|
||||||
@@ -231,12 +227,6 @@ název volby):
|
|||||||
/set irc.server.libera.xxx value
|
/set irc.server.libera.xxx value
|
||||||
----
|
----
|
||||||
|
|
||||||
// TRANSLATION MISSING
|
|
||||||
[TIP]
|
|
||||||
You can complete name and value of options with the kbd:[Tab] key
|
|
||||||
and kbd:[Shift+Tab] for a partial completion (useful for long words like
|
|
||||||
the name of option).
|
|
||||||
|
|
||||||
[[connect_to_irc_server]]
|
[[connect_to_irc_server]]
|
||||||
== Připojení k IRC serveru
|
== Připojení k IRC serveru
|
||||||
|
|
||||||
@@ -399,16 +389,14 @@ například:
|
|||||||
|
|
||||||
Zkuste `/help script` pro více informací.
|
Zkuste `/help script` pro více informací.
|
||||||
|
|
||||||
// TRANSLATION MISSING
|
|
||||||
A list of scripts is available in WeeChat with `/script` or on
|
A seznam skriptů je dostupný v WeeChatu s příkazem `/script` nebo na této
|
||||||
https://weechat.org/scripts/[this page ^↗^^].
|
adrese https://weechat.org/scripts
|
||||||
|
|
||||||
[[more_doc]]
|
[[more_doc]]
|
||||||
== Další dokumentace
|
== Další dokumentace
|
||||||
|
|
||||||
// TRANSLATION MISSING
|
Nyní jste schopni používat WeeChat a můžete si přečíst FAQ/dokumentaci pro
|
||||||
You can now use WeeChat and read
|
jakékoliv další otázky: https://weechat.org/doc
|
||||||
https://weechat.org/doc/[FAQ/documentation ^↗^^]
|
|
||||||
for any other questions.
|
|
||||||
|
|
||||||
Ať máte radost z použití WeeChatu!
|
Ať máte radost z použití WeeChatu!
|
||||||
|
|||||||
@@ -0,0 +1,110 @@
|
|||||||
|
#
|
||||||
|
# Copyright (C) 2003-2021 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
|
#
|
||||||
|
# This file is part of WeeChat, the extensible chat client.
|
||||||
|
#
|
||||||
|
# WeeChat is free software; you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
# the Free Software Foundation; either version 3 of the License, or
|
||||||
|
# (at your option) any later version.
|
||||||
|
#
|
||||||
|
# WeeChat is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
#
|
||||||
|
|
||||||
|
if(ENABLE_MAN)
|
||||||
|
# man page: weechat
|
||||||
|
add_custom_command(
|
||||||
|
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat.1
|
||||||
|
COMMAND ${ASCIIDOCTOR_EXECUTABLE} ARGS ${ASCIIDOCTOR_ARGS} -b manpage -o weechat.1 ${CMAKE_CURRENT_SOURCE_DIR}/weechat.1.de.adoc
|
||||||
|
DEPENDS
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/weechat.1.de.adoc
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/includes/cmdline_options.de.adoc
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/includes/man.de.adoc
|
||||||
|
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
||||||
|
COMMENT "Building weechat.1 (de)"
|
||||||
|
)
|
||||||
|
add_custom_target(doc-man-weechat-de ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat.1)
|
||||||
|
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat.1 DESTINATION ${MANDIR}/de/man1)
|
||||||
|
|
||||||
|
if(ENABLE_HEADLESS)
|
||||||
|
# man page: weechat-headless
|
||||||
|
add_custom_command(
|
||||||
|
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat-headless.1
|
||||||
|
COMMAND ${ASCIIDOCTOR_EXECUTABLE} ARGS ${ASCIIDOCTOR_ARGS} -b manpage -o weechat-headless.1 ${CMAKE_CURRENT_SOURCE_DIR}/weechat-headless.1.de.adoc
|
||||||
|
DEPENDS
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/weechat-headless.1.de.adoc
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/includes/cmdline_options.de.adoc
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/includes/man.de.adoc
|
||||||
|
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
||||||
|
COMMENT "Building weechat-headless.1 (de)"
|
||||||
|
)
|
||||||
|
add_custom_target(doc-man-weechat-headless-de ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat-headless.1)
|
||||||
|
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat-headless.1 DESTINATION ${MANDIR}/de/man1)
|
||||||
|
endif()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if(ENABLE_DOC)
|
||||||
|
|
||||||
|
file(GLOB AUTOGEN_USER "${CMAKE_CURRENT_SOURCE_DIR}/includes/autogen_user_*.adoc")
|
||||||
|
|
||||||
|
# user's guide
|
||||||
|
add_custom_command(
|
||||||
|
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.de.html
|
||||||
|
COMMAND ${ASCIIDOCTOR_EXECUTABLE} ARGS ${ASCIIDOCTOR_ARGS} -o weechat_user.de.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.de.adoc
|
||||||
|
DEPENDS
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/../docinfo.html
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.de.adoc
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/includes/cmdline_options.de.adoc
|
||||||
|
${AUTOGEN_USER}
|
||||||
|
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
||||||
|
COMMENT "Building weechat_user.de.html"
|
||||||
|
)
|
||||||
|
add_custom_target(doc-user-de ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.de.html)
|
||||||
|
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.de.html DESTINATION ${DATAROOTDIR}/doc/${PROJECT_NAME})
|
||||||
|
|
||||||
|
# scripting guide
|
||||||
|
add_custom_command(
|
||||||
|
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.de.html
|
||||||
|
COMMAND ${ASCIIDOCTOR_EXECUTABLE} ARGS ${ASCIIDOCTOR_ARGS} -o weechat_scripting.de.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_scripting.de.adoc
|
||||||
|
DEPENDS
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/../docinfo.html
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/weechat_scripting.de.adoc
|
||||||
|
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
||||||
|
COMMENT "Building weechat_scripting.de.html"
|
||||||
|
)
|
||||||
|
add_custom_target(doc-scripting-de ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.de.html)
|
||||||
|
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.de.html DESTINATION ${DATAROOTDIR}/doc/${PROJECT_NAME})
|
||||||
|
|
||||||
|
# FAQ
|
||||||
|
add_custom_command(
|
||||||
|
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.de.html
|
||||||
|
COMMAND ${ASCIIDOCTOR_EXECUTABLE} ARGS ${ASCIIDOCTOR_ARGS} -o weechat_faq.de.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.de.adoc
|
||||||
|
DEPENDS
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/../docinfo.html
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.de.adoc
|
||||||
|
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
||||||
|
COMMENT "Building weechat_faq.de.html"
|
||||||
|
)
|
||||||
|
add_custom_target(doc-faq-de ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.de.html)
|
||||||
|
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.de.html DESTINATION ${DATAROOTDIR}/doc/${PROJECT_NAME})
|
||||||
|
|
||||||
|
# quickstart
|
||||||
|
add_custom_command(
|
||||||
|
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.de.html
|
||||||
|
COMMAND ${ASCIIDOCTOR_EXECUTABLE} ARGS ${ASCIIDOCTOR_ARGS} -o weechat_quickstart.de.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.de.adoc
|
||||||
|
DEPENDS
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/../docinfo.html
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.de.adoc
|
||||||
|
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
||||||
|
COMMENT "Building weechat_quickstart.de.html"
|
||||||
|
)
|
||||||
|
add_custom_target(doc-quickstart-de ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.de.html)
|
||||||
|
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.de.html DESTINATION ${DATAROOTDIR}/doc/${PROJECT_NAME})
|
||||||
|
|
||||||
|
endif()
|
||||||
@@ -0,0 +1,111 @@
|
|||||||
|
#
|
||||||
|
# Copyright (C) 2003-2021 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
|
# Copyright (C) 2006 Julien Louis <ptitlouis@sysif.net>
|
||||||
|
#
|
||||||
|
# This file is part of WeeChat, the extensible chat client.
|
||||||
|
#
|
||||||
|
# WeeChat is free software; you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
# the Free Software Foundation; either version 3 of the License, or
|
||||||
|
# (at your option) any later version.
|
||||||
|
#
|
||||||
|
# WeeChat is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
#
|
||||||
|
|
||||||
|
docdir = $(datadir)/doc/$(PACKAGE)
|
||||||
|
|
||||||
|
EXTRA_DIST = CMakeLists.txt \
|
||||||
|
docinfo.html \
|
||||||
|
weechat.1.de.adoc \
|
||||||
|
weechat-headless.1.de.adoc \
|
||||||
|
weechat_user.de.adoc \
|
||||||
|
weechat_scripting.de.adoc \
|
||||||
|
weechat_faq.de.adoc \
|
||||||
|
weechat_quickstart.de.adoc \
|
||||||
|
includes/autogen_api_completions.de.adoc \
|
||||||
|
includes/autogen_api_hdata.de.adoc \
|
||||||
|
includes/autogen_api_infolists.de.adoc \
|
||||||
|
includes/autogen_api_infos.de.adoc \
|
||||||
|
includes/autogen_api_infos_hashtable.de.adoc \
|
||||||
|
includes/autogen_api_plugins_priority.de.adoc \
|
||||||
|
includes/autogen_api_url_options.de.adoc \
|
||||||
|
includes/autogen_user_commands.de.adoc \
|
||||||
|
includes/autogen_user_default_aliases.de.adoc \
|
||||||
|
includes/autogen_user_irc_colors.de.adoc \
|
||||||
|
includes/autogen_user_options.de.adoc \
|
||||||
|
includes/cmdline_options.de.adoc \
|
||||||
|
includes/man.de.adoc
|
||||||
|
|
||||||
|
if MAN
|
||||||
|
man_targets = weechat.1 \
|
||||||
|
weechat-headless.1
|
||||||
|
man_install = install-man
|
||||||
|
man_uninstall = uninstall-man
|
||||||
|
endif
|
||||||
|
if DOC
|
||||||
|
doc_targets = weechat_user.de.html \
|
||||||
|
weechat_scripting.de.html \
|
||||||
|
weechat_faq.de.html \
|
||||||
|
weechat_quickstart.de.html
|
||||||
|
doc_install = install-doc
|
||||||
|
doc_uninstall = uninstall-doc
|
||||||
|
endif
|
||||||
|
all-local: $(man_targets) $(doc_targets)
|
||||||
|
|
||||||
|
# man pages
|
||||||
|
weechat.1: weechat.1.de.adoc includes/cmdline_options.de.adoc includes/man.de.adoc
|
||||||
|
$(ASCIIDOCTOR) $(ASCIIDOCTOR_ARGS) -a revnumber="$(VERSION)" -b manpage -o weechat.1 $(abs_top_srcdir)/doc/de/weechat.1.de.adoc
|
||||||
|
weechat-headless.1: weechat-headless.1.de.adoc includes/cmdline_options.de.adoc includes/man.de.adoc
|
||||||
|
$(ASCIIDOCTOR) $(ASCIIDOCTOR_ARGS) -a revnumber="$(VERSION)" -b manpage -o weechat-headless.1 $(abs_top_srcdir)/doc/de/weechat-headless.1.de.adoc
|
||||||
|
|
||||||
|
# user's guide
|
||||||
|
weechat_user.de.html: weechat_user.de.adoc includes/cmdline_options.de.adoc $(wildcard includes/autogen_user_*.adoc) $(abs_top_srcdir)/doc/docinfo.html
|
||||||
|
$(ASCIIDOCTOR) $(ASCIIDOCTOR_ARGS) -a revnumber="$(VERSION)" -o weechat_user.de.html $(abs_top_srcdir)/doc/de/weechat_user.de.adoc
|
||||||
|
|
||||||
|
# scripting guide
|
||||||
|
weechat_scripting.de.html: weechat_scripting.de.adoc $(abs_top_srcdir)/doc/docinfo.html
|
||||||
|
$(ASCIIDOCTOR) $(ASCIIDOCTOR_ARGS) -a revnumber="$(VERSION)" -o weechat_scripting.de.html $(abs_top_srcdir)/doc/de/weechat_scripting.de.adoc
|
||||||
|
|
||||||
|
# FAQ
|
||||||
|
weechat_faq.de.html: weechat_faq.de.adoc $(abs_top_srcdir)/doc/docinfo.html
|
||||||
|
$(ASCIIDOCTOR) $(ASCIIDOCTOR_ARGS) -a revnumber="$(VERSION)" -o weechat_faq.de.html $(abs_top_srcdir)/doc/de/weechat_faq.de.adoc
|
||||||
|
|
||||||
|
# quickstart
|
||||||
|
weechat_quickstart.de.html: weechat_quickstart.de.adoc $(abs_top_srcdir)/doc/docinfo.html
|
||||||
|
$(ASCIIDOCTOR) $(ASCIIDOCTOR_ARGS) -a revnumber="$(VERSION)" -o weechat_quickstart.de.html $(abs_top_srcdir)/doc/de/weechat_quickstart.de.adoc
|
||||||
|
|
||||||
|
# install man/docs
|
||||||
|
|
||||||
|
install-data-hook: $(man_install) $(doc_install)
|
||||||
|
|
||||||
|
install-man:
|
||||||
|
$(mkinstalldirs) $(DESTDIR)$(mandir)/de/man1/
|
||||||
|
$(INSTALL_DATA) *.1 $(DESTDIR)$(mandir)/de/man1/
|
||||||
|
|
||||||
|
install-doc:
|
||||||
|
$(mkinstalldirs) $(DESTDIR)$(docdir)/
|
||||||
|
$(INSTALL_DATA) *.html $(DESTDIR)$(docdir)/
|
||||||
|
|
||||||
|
# uninstall man/docs
|
||||||
|
|
||||||
|
uninstall-hook: $(man_uninstall) $(doc_uninstall)
|
||||||
|
|
||||||
|
uninstall-man:
|
||||||
|
$(RM) $(DESTDIR)$(mandir)/de/man1/weechat.1
|
||||||
|
$(RM) $(DESTDIR)$(mandir)/de/man1/weechat-headless.1
|
||||||
|
-rmdir $(DESTDIR)$(mandir)/de/man1
|
||||||
|
|
||||||
|
uninstall-doc:
|
||||||
|
$(RM) $(DESTDIR)$(docdir)/*.de.html
|
||||||
|
-rmdir $(DESTDIR)$(docdir)
|
||||||
|
|
||||||
|
# clean
|
||||||
|
|
||||||
|
clean-local:
|
||||||
|
-$(RM) weechat.1 weechat-headless.1 weechat_*.html
|
||||||
Symlink
+1
@@ -0,0 +1 @@
|
|||||||
|
../docinfo.html
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user