mirror of
https://github.com/weechat/weechat.git
synced 2026-06-28 22:06:38 +02:00
Compare commits
18 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 209ffbe50e | |||
| 0c9028b47c | |||
| fdcab27513 | |||
| 96dc934241 | |||
| 7f96c31e1b | |||
| d1c6d170ac | |||
| d0fe9508a5 | |||
| 244ba50841 | |||
| ec31f43d85 | |||
| 2e10264e96 | |||
| ccfe1f2263 | |||
| 3ece5bd8a9 | |||
| 4a63d88895 | |||
| 9a0bd7c753 | |||
| d8c954472c | |||
| 64eee892b2 | |||
| d1655945cd | |||
| d2f78e2248 |
@@ -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
|
|
||||||
+23
-133
@@ -1,47 +1,11 @@
|
|||||||
name: CI
|
name: CI
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
- push
|
||||||
pull_request:
|
- pull_request
|
||||||
schedule:
|
|
||||||
- cron: '22 9 * * 2'
|
|
||||||
|
|
||||||
env:
|
env:
|
||||||
WEECHAT_DEPENDENCIES: >-
|
WEECHAT_DEPENDENCIES: devscripts equivs python3-pip autopoint cmake ninja-build lcov pkg-config libncursesw5-dev gem2deb libperl-dev python3-dev libaspell-dev liblua5.3-dev tcl8.6-dev guile-3.0-dev libv8-dev libcurl4-gnutls-dev libgcrypt20-dev libgnutls28-dev libzstd-dev zlib1g-dev curl libcpputest-dev php-dev libphp-embed libargon2-dev libsodium-dev flake8 pylint python3-bandit asciidoctor ruby-pygments.rb shellcheck
|
||||||
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:
|
||||||
|
|
||||||
@@ -52,13 +16,13 @@ jobs:
|
|||||||
os:
|
os:
|
||||||
- ubuntu-22.04
|
- ubuntu-22.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_coverage", cc: "gcc", cxx: "g++", tool: "cmake", args: "-DENABLE_CODE_COVERAGE=ON" }
|
||||||
- { name: "gcc_no_cjson", cc: "gcc", cxx: "g++", buildargs: "-DENABLE_CJSON=OFF -DENABLE_DOC=OFF" }
|
- { name: "cmake_clang", cc: "clang", cxx: "clang++", tool: "cmake", args: "" }
|
||||||
- { name: "gcc_coverage", cc: "gcc", cxx: "g++", buildargs: "-DENABLE_CODE_COVERAGE=ON" }
|
- { name: "autotools_gcc", cc: "gcc", cxx: "g++", tool: "autotools", args: "" }
|
||||||
- { name: "clang", cc: "clang", cxx: "clang++", buildargs: "" }
|
- { name: "autotools_clang", cc: "clang", cxx: "clang++", tool: "autotools", args: "" }
|
||||||
|
|
||||||
name: "Tests: ${{ matrix.config.name }} on ${{ matrix.os }}"
|
name: "Tests: ${{ matrix.config.name }} on ${{ matrix.os }}"
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
@@ -71,8 +35,6 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
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 --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
|
sudo -H pip3 install --ignore-installed msgcheck
|
||||||
|
|
||||||
- name: Check gettext files
|
- name: Check gettext files
|
||||||
@@ -82,7 +44,7 @@ jobs:
|
|||||||
run: ./tools/check_scripts.sh
|
run: ./tools/check_scripts.sh
|
||||||
|
|
||||||
- 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
|
- 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
|
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
|
||||||
@@ -91,7 +53,8 @@ jobs:
|
|||||||
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 }}
|
||||||
|
BUILDARGS: ${{ matrix.config.args }}
|
||||||
run: ./tools/build_test.sh
|
run: ./tools/build_test.sh
|
||||||
|
|
||||||
- name: Run WeeChat
|
- name: Run WeeChat
|
||||||
@@ -100,30 +63,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 --version
|
||||||
weechat --run-command "/debug dirs;/debug libs" --run-command "/quit"
|
weechat --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: |
|
||||||
@@ -138,41 +84,23 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os:
|
os:
|
||||||
- macos-14
|
- macos-12
|
||||||
|
- macos-11
|
||||||
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: "Tests: ${{ 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 guile 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 +108,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,10 +118,9 @@ 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 --version
|
||||||
weechat --run-command "/debug dirs;/debug libs" --run-command "/quit"
|
weechat --run-command "/debug dirs;/debug libs" --run-command "/quit"
|
||||||
|
|
||||||
build_debian:
|
build_debian:
|
||||||
@@ -231,41 +158,4 @@ jobs:
|
|||||||
weechat --help
|
weechat --help
|
||||||
weechat-curses --help
|
weechat-curses --help
|
||||||
weechat --version
|
weechat --version
|
||||||
weechat --build-info
|
|
||||||
weechat --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
|
||||||
|
|||||||
+160
@@ -0,0 +1,160 @@
|
|||||||
|
= 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
|
||||||
|
* Latchezar Tzvetkoff
|
||||||
|
* Lázaro A.
|
||||||
|
* Leonid Evdokimov
|
||||||
|
* 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
|
||||||
|
* 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
|
||||||
|
* Wojciech Kwolek
|
||||||
|
* W. Trevor King
|
||||||
|
* Yannick Palanque
|
||||||
|
* ZethJack
|
||||||
|
* Ørjan Malde
|
||||||
|
|
||||||
|
== Contact
|
||||||
|
|
||||||
|
See the https://weechat.org/about/support/[support page].
|
||||||
-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
+104
-111
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2003-2024 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2003-2023 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,67 @@ 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_RUBY "Enable Ruby scripting language" ON)
|
||||||
option(ENABLE_PYTHON "Enable Python scripting language" ON)
|
option(ENABLE_LUA "Enable Lua scripting language" ON)
|
||||||
option(ENABLE_RUBY "Enable Ruby scripting language" ON)
|
option(ENABLE_TCL "Enable Tcl scripting language" ON)
|
||||||
option(ENABLE_LUA "Enable Lua scripting language" ON)
|
option(ENABLE_GUILE "Enable Scheme (guile) scripting language" ON)
|
||||||
option(ENABLE_TCL "Enable Tcl scripting language" ON)
|
option(ENABLE_JAVASCRIPT "Enable JavaScript scripting language" OFF)
|
||||||
option(ENABLE_GUILE "Enable Scheme (guile) scripting language" ON)
|
option(ENABLE_PHP "Enable PHP scripting language" ON)
|
||||||
option(ENABLE_JAVASCRIPT "Enable JavaScript scripting language" OFF)
|
option(ENABLE_SPELL "Enable Spell checker plugin" ON)
|
||||||
option(ENABLE_PHP "Enable PHP scripting language" ON)
|
option(ENABLE_ENCHANT "Enable Enchant lib for Spell checker plugin" OFF)
|
||||||
option(ENABLE_SPELL "Enable Spell checker plugin" ON)
|
option(ENABLE_TRIGGER "Enable Trigger plugin" ON)
|
||||||
option(ENABLE_ENCHANT "Use Enchant lib in Spell checker plugin" OFF)
|
option(ENABLE_TYPING "Enable Typing plugin" ON)
|
||||||
option(ENABLE_TRIGGER "Enable Trigger plugin" ON)
|
option(ENABLE_XFER "Enable Xfer plugin" ON)
|
||||||
option(ENABLE_TYPING "Enable Typing plugin" ON)
|
option(ENABLE_MAN "Enable build of man page" OFF)
|
||||||
option(ENABLE_XFER "Enable Xfer plugin" ON)
|
option(ENABLE_DOC "Enable build of documentation" OFF)
|
||||||
option(ENABLE_MAN "Enable build of man page" OFF)
|
option(ENABLE_TESTS "Enable tests" OFF)
|
||||||
option(ENABLE_DOC "Enable build of documentation" OFF)
|
option(ENABLE_CODE_COVERAGE "Enable code coverage" OFF)
|
||||||
option(ENABLE_DOC_INCOMPLETE "Enable incomplete doc" 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 +128,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.")
|
||||||
@@ -192,9 +159,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,6 +169,20 @@ 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)
|
pkg_check_modules(LIBGCRYPT REQUIRED libgcrypt)
|
||||||
add_definitions(-DHAVE_GCRYPT)
|
add_definitions(-DHAVE_GCRYPT)
|
||||||
@@ -222,16 +200,7 @@ list(APPEND EXTRA_LIBS gnutls)
|
|||||||
find_package(ZLIB REQUIRED)
|
find_package(ZLIB REQUIRED)
|
||||||
|
|
||||||
# Check for zstd
|
# Check for zstd
|
||||||
if(ENABLE_ZSTD)
|
pkg_check_modules(LIBZSTD REQUIRED libzstd)
|
||||||
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 +228,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)
|
||||||
@@ -303,7 +267,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 +276,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).
|
|
||||||
+3555
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,89 @@
|
|||||||
|
= 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 Bullseye,
|
||||||
|
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
|
||||||
|
https://weechat.org/doc/user/#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/doc/dev/#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/doc/dev/#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-2023 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/set_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/set_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
|
||||||
+63
@@ -0,0 +1,63 @@
|
|||||||
|
: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/doc/user/#plugins[plugins]. All plugins (including https://weechat.org/doc/user/#irc[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/doc/dev/#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/doc/user/#install[WeeChat user's guide].
|
||||||
|
|
||||||
|
== Copyright
|
||||||
|
|
||||||
|
Copyright (C) 2003-2023 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/>.
|
|
||||||
+1208
-1370
File diff suppressed because it is too large
Load Diff
Executable
+69
@@ -0,0 +1,69 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
#
|
||||||
|
# Copyright (C) 2003-2023 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 "$@" >"$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-2023 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-2023 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-2023 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.
|
||||||
#
|
#
|
||||||
|
|||||||
+21
-23
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2003-2024 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2003-2023 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-2023 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-2023 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-2023 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-2023 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-2023 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,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-2023 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.
|
||||||
#
|
#
|
||||||
@@ -48,7 +48,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.2 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-2023 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-2023 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.
|
||||||
|
|||||||
@@ -0,0 +1,45 @@
|
|||||||
|
#
|
||||||
|
# Copyright (C) 2003-2023 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.3 ruby-3.2 ruby-3.1 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-2023 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-2023 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@"
|
||||||
|
|||||||
+1601
File diff suppressed because it is too large
Load Diff
@@ -6,9 +6,8 @@ Build-Depends:
|
|||||||
asciidoctor (>= 1.5.4),
|
asciidoctor (>= 1.5.4),
|
||||||
ruby-pygments.rb,
|
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,
|
||||||
@@ -22,9 +21,8 @@ Build-Depends:
|
|||||||
libgcrypt20-dev,
|
libgcrypt20-dev,
|
||||||
libgnutls28-dev,
|
libgnutls28-dev,
|
||||||
libzstd-dev,
|
libzstd-dev,
|
||||||
zlib1g-dev,
|
zlib1g-dev
|
||||||
libcjson-dev
|
Standards-Version: 4.6.0.1
|
||||||
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,69 +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
|
weechat (3.7.1-1) unstable; urgency=medium
|
||||||
|
|
||||||
* New upstream release
|
* New upstream release
|
||||||
|
|||||||
@@ -6,9 +6,8 @@ Build-Depends:
|
|||||||
asciidoctor (>= 1.5.4),
|
asciidoctor (>= 1.5.4),
|
||||||
ruby-pygments.rb,
|
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,
|
||||||
@@ -22,9 +21,8 @@ Build-Depends:
|
|||||||
libgcrypt20-dev,
|
libgcrypt20-dev,
|
||||||
libgnutls28-dev,
|
libgnutls28-dev,
|
||||||
libzstd-dev,
|
libzstd-dev,
|
||||||
zlib1g-dev,
|
zlib1g-dev
|
||||||
libcjson-dev
|
Standards-Version: 4.6.1.0
|
||||||
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-2023, 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-2023 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-2023 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-2023 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-2023 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.
|
||||||
|
|
||||||
|
|||||||
@@ -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-2023 {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
|
||||||
|
|||||||
@@ -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
|
||||||
@@ -401,14 +403,14 @@ Zkuste `/help script` pro více informací.
|
|||||||
|
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
A list of scripts is available in WeeChat with `/script` or on
|
A list of scripts is available in WeeChat with `/script` or on
|
||||||
https://weechat.org/scripts/[this page ^↗^^].
|
https://weechat.org/scripts/[this page ^↗^,window=_blank].
|
||||||
|
|
||||||
[[more_doc]]
|
[[more_doc]]
|
||||||
== Další dokumentace
|
== Další dokumentace
|
||||||
|
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
You can now use WeeChat and read
|
You can now use WeeChat and read
|
||||||
https://weechat.org/doc/[FAQ/documentation ^↗^^]
|
https://weechat.org/doc/[FAQ/documentation ^↗^,window=_blank]
|
||||||
for any other questions.
|
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-2023 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-2023 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
|
||||||
@@ -1,23 +0,0 @@
|
|||||||
// German translation, courtesy of Florian Wilhelm
|
|
||||||
:appendix-caption: Anhang
|
|
||||||
:appendix-refsig: {appendix-caption}
|
|
||||||
:caution-caption: Achtung
|
|
||||||
:chapter-signifier: Kapitel
|
|
||||||
:chapter-refsig: {chapter-signifier}
|
|
||||||
:example-caption: Beispiel
|
|
||||||
:figure-caption: Abbildung
|
|
||||||
:important-caption: Wichtig
|
|
||||||
:last-update-label: Zuletzt aktualisiert
|
|
||||||
ifdef::listing-caption[:listing-caption: Listing]
|
|
||||||
ifdef::manname-title[:manname-title: Bezeichnung]
|
|
||||||
:note-caption: Anmerkung
|
|
||||||
:part-signifier: Teil
|
|
||||||
:part-refsig: {part-signifier}
|
|
||||||
ifdef::preface-title[:preface-title: Vorwort]
|
|
||||||
:section-refsig: Abschnitt
|
|
||||||
:table-caption: Tabelle
|
|
||||||
:tip-caption: Hinweis
|
|
||||||
:toc-title: Inhaltsverzeichnis
|
|
||||||
:untitled-label: Ohne Titel
|
|
||||||
:version-label: Version
|
|
||||||
:warning-caption: Warnung
|
|
||||||
@@ -0,0 +1,204 @@
|
|||||||
|
//
|
||||||
|
// This file is auto-generated by script docgen.py.
|
||||||
|
// DO NOT EDIT BY HAND!
|
||||||
|
//
|
||||||
|
|
||||||
|
// tag::completions[]
|
||||||
|
[width="100%",cols="^1,^2,7",options="header"]
|
||||||
|
|===
|
||||||
|
| Erweiterung | Name | Beschreibung
|
||||||
|
|
||||||
|
| alias | alias | Liste der Alias
|
||||||
|
|
||||||
|
| alias | alias_value | Wert von Alias
|
||||||
|
|
||||||
|
| exec | exec_commands_ids | IDs (Nummern und Namen) von ausgeführten Befehlen
|
||||||
|
|
||||||
|
| fset | fset_options | Konfigurationsdateien, Sektionen, Optionen und Worte von Optionen
|
||||||
|
|
||||||
|
| guile | guile_script | Liste der Skripten
|
||||||
|
|
||||||
|
| irc | irc_channel | aktueller IRC-Kanal
|
||||||
|
|
||||||
|
| irc | irc_channel_nicks_hosts | Liste der Nicks und Hostnamen des aktuellen Kanals
|
||||||
|
|
||||||
|
| irc | irc_channel_topic | Thema des aktuellen IRC-Kanals
|
||||||
|
|
||||||
|
| irc | irc_channels | Kanäle auf allen IRC Servern
|
||||||
|
|
||||||
|
| irc | irc_channels_autojoin | Kanäle, die automatisch auf dem aktuellen Server betreten werden (Option "autojoin")
|
||||||
|
|
||||||
|
| irc | irc_ignores_numbers | Anzahl für festgelegte Ignorierungen
|
||||||
|
|
||||||
|
| irc | irc_modelist_masks | Modelist Maske für aktuellen IRC Kanal; benötigtes Argument: modelist mode
|
||||||
|
|
||||||
|
| irc | irc_modelist_numbers | Modelist Nummern für aktuellen IRC Kanal; benötigtes Argument: modelist mode
|
||||||
|
|
||||||
|
| irc | irc_msg_kick | Standardmitteilung wenn man jemanden aus einem Kanal wirftchannel
|
||||||
|
|
||||||
|
| irc | irc_msg_part | Standardmitteilung beim Verlassen (/part) eines IRC-Kanals
|
||||||
|
|
||||||
|
| irc | irc_notify_nicks | Nicks für die eine Benachrichtigung existiert
|
||||||
|
|
||||||
|
| irc | irc_privates | Private auf allen IRC Servern
|
||||||
|
|
||||||
|
| irc | irc_raw_filters | Filter für IRC Rohbuffer
|
||||||
|
|
||||||
|
| irc | irc_server | aktueller IRC-Server
|
||||||
|
|
||||||
|
| irc | irc_server_channels | Kanäle des derzeitigen IRC-Server
|
||||||
|
|
||||||
|
| irc | irc_server_nick | Nick beim derzeitigen IRC-Server
|
||||||
|
|
||||||
|
| irc | irc_server_nicks | Nicks für alle Kanäle auf dem aktuellen IRC-Server
|
||||||
|
|
||||||
|
| irc | irc_server_privates | Privat auf aktuellem IRC Server
|
||||||
|
|
||||||
|
| irc | irc_servers | IRC-Server (interne Namen)
|
||||||
|
|
||||||
|
| irc | nick | Liste der Nicks im aktuellen Kanal
|
||||||
|
|
||||||
|
| javascript | javascript_script | Liste der Skripten
|
||||||
|
|
||||||
|
| lua | lua_script | Liste der Skripten
|
||||||
|
|
||||||
|
| perl | perl_script | Liste der Skripten
|
||||||
|
|
||||||
|
| php | php_script | Liste der Skripten
|
||||||
|
|
||||||
|
| python | python_script | Liste der Skripten
|
||||||
|
|
||||||
|
| relay | relay_free_port | erster freier Port für Relay-Erweiterung
|
||||||
|
|
||||||
|
| relay | relay_protocol_name | alle möglichen Protokoll.Name der Relay-Erweiterung
|
||||||
|
|
||||||
|
| relay | relay_relays | Protokoll.Name des aktuellen Relays von der Relay-Erweiterung
|
||||||
|
|
||||||
|
| ruby | ruby_script | Liste der Skripten
|
||||||
|
|
||||||
|
| script | script_extensions | Liste der Skripterweiterungen
|
||||||
|
|
||||||
|
| script | script_files | Dateien die sich in den Skript-Verzeichnissen befinden
|
||||||
|
|
||||||
|
| script | script_languages | Liste der Skriptsprache
|
||||||
|
|
||||||
|
| script | script_scripts | Liste der Skripten im Repositorium
|
||||||
|
|
||||||
|
| script | script_scripts_installed | Auflistung der installierten Skripten (vom Repositorium)
|
||||||
|
|
||||||
|
| script | script_tags | Schlagwortliste für Skripten im Repositorium
|
||||||
|
|
||||||
|
| spell | spell_dicts | Auflistung der installierten Wörterbücher
|
||||||
|
|
||||||
|
| spell | spell_langs | Liste aller Sprachen die unterstützt werden
|
||||||
|
|
||||||
|
| tcl | tcl_script | Liste der Skripten
|
||||||
|
|
||||||
|
| trigger | trigger_add_arguments | Argumente für den Befehl, der einen Trigger hinzufügt: Name des Triggers, Hooks, Hook-Argumente, Hook-Bedingungen, Hook-Regex, Hook-Befehl, Hook-Rückgabecode, nachfolgende Aktionen
|
||||||
|
|
||||||
|
| trigger | trigger_hook_arguments | Standardargumente für einen Hook
|
||||||
|
|
||||||
|
| trigger | trigger_hook_command | Standardbefehl für einen Hook
|
||||||
|
|
||||||
|
| trigger | trigger_hook_conditions | Standardbedingungen für einen Hook
|
||||||
|
|
||||||
|
| trigger | trigger_hook_rc | Standardrückgabewerte für einen Hook-Callback
|
||||||
|
|
||||||
|
| trigger | trigger_hook_regex | standardmäßiger regulärer Ausdruck für einen Hook
|
||||||
|
|
||||||
|
| trigger | trigger_hooks | Hooks für Trigger
|
||||||
|
|
||||||
|
| trigger | trigger_hooks_filter | Hooks für Trigger (definiert den Filter für den Monitor-Buffer)
|
||||||
|
|
||||||
|
| trigger | trigger_names | trigger
|
||||||
|
|
||||||
|
| trigger | trigger_names_default | voreingestellte Trigger
|
||||||
|
|
||||||
|
| trigger | trigger_option_value | Werte für Trigger-Einstellung
|
||||||
|
|
||||||
|
| trigger | trigger_options | Einstellungen für Trigger
|
||||||
|
|
||||||
|
| trigger | trigger_post_action | nachfolgende Aktion für Trigger
|
||||||
|
|
||||||
|
| weechat | bars_names | Namen der Infobars
|
||||||
|
|
||||||
|
| weechat | bars_options | Einstellungen für Infobars
|
||||||
|
|
||||||
|
| weechat | buffer_local_variable_value | Wert einer lokalen Buffervariablen
|
||||||
|
|
||||||
|
| weechat | buffer_local_variables | lokale Buffervariablen
|
||||||
|
|
||||||
|
| weechat | buffer_properties_get | Eigenschaften die für den Buffer gelesen werden können
|
||||||
|
|
||||||
|
| weechat | buffer_properties_set | Eigenschaften die für den Buffer gesetzt werden können
|
||||||
|
|
||||||
|
| weechat | buffers_names | Auflistung der vorhandenen Buffer
|
||||||
|
|
||||||
|
| weechat | buffers_numbers | Anzahl der Buffer
|
||||||
|
|
||||||
|
| weechat | buffers_plugins_names | Liste der Buffer (inklusive der Erweiterungen)
|
||||||
|
|
||||||
|
| weechat | colors | Farbnamen
|
||||||
|
|
||||||
|
| weechat | commands | Befehle (weechat und Erweiterungen); optionales Argument: Präfix welcher vor den Befehlen hinzugefügt wird
|
||||||
|
|
||||||
|
| weechat | config_files | Konfigurationsdateien
|
||||||
|
|
||||||
|
| weechat | config_option_values | Werte für eine Konfigurationsoption
|
||||||
|
|
||||||
|
| weechat | config_options | Konfigurationsoptionen
|
||||||
|
|
||||||
|
| weechat | cursor_areas | Bereiche in denen der Cursor frei bewegt werden kann ("chat" oder Name einer Bar)
|
||||||
|
|
||||||
|
| weechat | custom_bar_item_add_arguments | Argumente für den Befehl, der ein benutzerdefiniertes Bar-Item hinzufügt: Elementname, Bedingungen,Inhalt
|
||||||
|
|
||||||
|
| weechat | custom_bar_item_conditions | Bedingungen für benutzerdefinierte Bar-Items
|
||||||
|
|
||||||
|
| weechat | custom_bar_item_contents | Inhalte für benutzerdefinierte Bar-Items
|
||||||
|
|
||||||
|
| weechat | custom_bar_items_names | Namen der benutzerdefinierten Bar-Items
|
||||||
|
|
||||||
|
| weechat | env_value | Wert einer Umgebungsvariable
|
||||||
|
|
||||||
|
| weechat | env_vars | Umgebungsvariablen
|
||||||
|
|
||||||
|
| weechat | filename | Dateiname; optionales Argument: default path (Hinweis: Inhalt wird evaluiert, siehe /help eval)
|
||||||
|
|
||||||
|
| weechat | filters_names | Liste der Filter
|
||||||
|
|
||||||
|
| weechat | infolists | Namen der gehookten Infolisten
|
||||||
|
|
||||||
|
| weechat | infos | Namen der gehookten Infos
|
||||||
|
|
||||||
|
| weechat | keys_codes | Tastaturcodes
|
||||||
|
|
||||||
|
| weechat | keys_codes_for_reset | Tastenbelegungen die zurückgesetzt werden können (hinzugefügte/verändert/gelöschte Tastenbelegungen)
|
||||||
|
|
||||||
|
| weechat | keys_contexts | Tastaturkontext
|
||||||
|
|
||||||
|
| weechat | layouts_names | Namen der Layouts
|
||||||
|
|
||||||
|
| weechat | nicks | Nicks in Benutzerliste für aktuellen Buffer
|
||||||
|
|
||||||
|
| weechat | palette_colors | Farbpalette
|
||||||
|
|
||||||
|
| weechat | plugins_commands | Befehle definiert durch Erweiterungen; optionales Argument: Präfix welcher vor den Befehlen hinzugefügt wird
|
||||||
|
|
||||||
|
| weechat | plugins_installed | Namen der installierten Erweiterungen
|
||||||
|
|
||||||
|
| weechat | plugins_names | Liste der Erweiterungen
|
||||||
|
|
||||||
|
| weechat | proxies_names | Namen aller Proxys
|
||||||
|
|
||||||
|
| weechat | proxies_options | Einstellungen für Proxys
|
||||||
|
|
||||||
|
| weechat | secured_data | Namen der geschützten Daten (Datei sec.conf, section data)
|
||||||
|
|
||||||
|
| weechat | weechat_commands | weechat Befehle; optionales Argument: Präfix welcher vor den Befehlen hinzugefügt wird
|
||||||
|
|
||||||
|
| weechat | windows_numbers | Nummern der Fenster
|
||||||
|
|
||||||
|
| xfer | nick | Nicks vom DCC Chat
|
||||||
|
|
||||||
|
|===
|
||||||
|
// end::completions[]
|
||||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,94 @@
|
|||||||
|
//
|
||||||
|
// This file is auto-generated by script docgen.py.
|
||||||
|
// DO NOT EDIT BY HAND!
|
||||||
|
//
|
||||||
|
|
||||||
|
// tag::infolists[]
|
||||||
|
[width="100%",cols="^1,^2,5,5,5",options="header"]
|
||||||
|
|===
|
||||||
|
| Erweiterung | Name | Beschreibung | Pointer | Argumente
|
||||||
|
|
||||||
|
| alias | alias | Liste der Alias | Alias Pointer (optional) | Name des Alias (Platzhalter "*" kann verwendet werden) (optional)
|
||||||
|
|
||||||
|
| alias | alias_default | Liste der standardmäßigen Aliase | - | -
|
||||||
|
|
||||||
|
| buflist | buflist | Liste der Buffer in buflist Bar-Item | - | buflist Bar-Item Name (optional)
|
||||||
|
|
||||||
|
| fset | fset_option | Auflistung der fset Optionen | fset Option-Pointer (optional) | Name einer Einstellung (Platzhalter "*" kann verwendet werden) (optional)
|
||||||
|
|
||||||
|
| guile | guile_script | Liste der Skripten | Skript Pointer (optional) | Name des Skriptes (Platzhalter "*" kann verwendet werden) (optional)
|
||||||
|
|
||||||
|
| irc | irc_channel | Liste der Kanäle eines IRC-Servers | Pointer vom Kanal (optional) | Server,Kanal (Kanal ist optional)
|
||||||
|
|
||||||
|
| irc | irc_color_weechat | Zuordnung der IRC Farbkodierung und der WeeChat Farbnamen | - | -
|
||||||
|
|
||||||
|
| irc | irc_ignore | Liste von ignorierten IRCs | Ignore Pointer (optional) | -
|
||||||
|
|
||||||
|
| irc | irc_modelist | Liste der Kanalmoduslisten für einen IRC-Kanal | Modelist Pointer (optional) | Server,Channel,Type (Type ist optional)
|
||||||
|
|
||||||
|
| irc | irc_modelist_item | Liste der Items in der Kanal-Modeliste | Modelist Item Pointer (optional) | Server,Channel,Type,Nummer (Nummer ist optional)
|
||||||
|
|
||||||
|
| irc | irc_nick | Liste der Nicks im IRC-Kanal | Nick Pointer (optional) | server,channel,nick (nick ist optional)
|
||||||
|
|
||||||
|
| irc | irc_notify | Liste mit Benachrichtigungen | Benachrichtigungspointer (optional) | Servername (Platzhalter "*" kann verwendet werden) (optional)
|
||||||
|
|
||||||
|
| irc | irc_server | Liste der IRC-Server | Server Pointer (optional) | Servername (Platzhalter "*" kann verwendet werden) (optional)
|
||||||
|
|
||||||
|
| javascript | javascript_script | Liste der Skripten | Skript Pointer (optional) | Name des Skriptes (Platzhalter "*" kann verwendet werden) (optional)
|
||||||
|
|
||||||
|
| logger | logger_buffer | Auflistung der protokollierten Buffer | Logger-Pointer (optional) | -
|
||||||
|
|
||||||
|
| lua | lua_script | Liste der Skripten | Skript Pointer (optional) | Name des Skriptes (Platzhalter "*" kann verwendet werden) (optional)
|
||||||
|
|
||||||
|
| perl | perl_script | Liste der Skripten | Skript Pointer (optional) | Name des Skriptes (Platzhalter "*" kann verwendet werden) (optional)
|
||||||
|
|
||||||
|
| php | php_script | Liste der Skripten | Skript Pointer (optional) | Name des Skriptes (Platzhalter "*" kann verwendet werden) (optional)
|
||||||
|
|
||||||
|
| python | python_script | Liste der Skripten | Skript Pointer (optional) | Name des Skriptes (Platzhalter "*" kann verwendet werden) (optional)
|
||||||
|
|
||||||
|
| relay | relay | Liste der Relay-Clients | Relay Pointer (optional) | -
|
||||||
|
|
||||||
|
| ruby | ruby_script | Liste der Skripten | Skript Pointer (optional) | Name des Skriptes (Platzhalter "*" kann verwendet werden) (optional)
|
||||||
|
|
||||||
|
| script | script_script | Liste der Skripten | Skript Pointer (optional) | Name des Skriptes, mit Dateierweiterung (Platzhalter "*" kann verwendet werden) (optional)
|
||||||
|
|
||||||
|
| tcl | tcl_script | Liste der Skripten | Skript Pointer (optional) | Name des Skriptes (Platzhalter "*" kann verwendet werden) (optional)
|
||||||
|
|
||||||
|
| weechat | bar | Auflistung der Bars | Bar Pointer (optional) | Name der Bar (Platzhalter "*" kann verwendet werden) (optional)
|
||||||
|
|
||||||
|
| weechat | bar_item | Auflistung der Bar-Items | Bar Item Pointer (optional) | Name des Bar-Item (Platzhalter "*" kann verwendet werden) (optional)
|
||||||
|
|
||||||
|
| weechat | bar_window | Auflistung der Bar-Fenster | Bar-Fenster Pointer (optional) | -
|
||||||
|
|
||||||
|
| weechat | buffer | Auflistung der Buffer | Buffer Pointer (optional) | Name des Buffers (Platzhalter "*" kann verwendet werden) (optional)
|
||||||
|
|
||||||
|
| weechat | buffer_lines | Zeilen des Buffers | Buffer Pointer | -
|
||||||
|
|
||||||
|
| weechat | filter | Auflistung der Filter | - | Name des Filters (Platzhalter "*" kann verwendet werden) (optional)
|
||||||
|
|
||||||
|
| weechat | history | Verlaufspeicher der Befehle | Buffer Pointer (falls nicht gesetzt, wird der globale Verlauf zurückgegeben) (optional) | -
|
||||||
|
|
||||||
|
| weechat | hook | Auflistung der Hooks | Hook-Pointer (optional) | type,arguments (type ist ein command/timer/.., arguments dient dazu nur einige hooks abzufragen (Platzhalter "*" kann verwendet werden), beide Einstellungen sind optional)
|
||||||
|
|
||||||
|
| weechat | hotlist | Liste der Buffer in Hotlist | - | -
|
||||||
|
|
||||||
|
| weechat | key | Auflistung der Tastenzuweisungen | - | Kontext ("default", "search", "cursor" oder "mouse") (optional)
|
||||||
|
|
||||||
|
| weechat | layout | Auflistung der Layouts | - | -
|
||||||
|
|
||||||
|
| weechat | nicklist | Nicks in Benutzerliste für einen Buffer | Buffer Pointer | nick_xxx oder group_xxx um nur den Nick/Group xxx abzufragen (optional)
|
||||||
|
|
||||||
|
| weechat | option | Auflistung der Einstellungen | - | Name einer Einstellung (Platzhalter "*" kann verwendet werden) (optional)
|
||||||
|
|
||||||
|
| weechat | plugin | Auflistung der Erweiterungen | Pointer der Erweiterung (optional) | Name einer Erweiterung (Platzhalter "*" kann verwendet werden) (optional)
|
||||||
|
|
||||||
|
| weechat | proxy | Liste der Proxys | Proxy Pointer (optional) | Name des Proxy (Platzhalter "*" kann verwendet werden) (optional)
|
||||||
|
|
||||||
|
| weechat | url_options | Einstellungen für URL | - | -
|
||||||
|
|
||||||
|
| weechat | window | Auflistung der Fenster | Fenster Pointer (optional) | "current" für aktuelles Fenster oder die Nummer eines Fensters (optional)
|
||||||
|
|
||||||
|
| xfer | xfer | Transferliste | Transferpointer (optional) | -
|
||||||
|
|
||||||
|
|===
|
||||||
|
// end::infolists[]
|
||||||
@@ -0,0 +1,164 @@
|
|||||||
|
//
|
||||||
|
// This file is auto-generated by script docgen.py.
|
||||||
|
// DO NOT EDIT BY HAND!
|
||||||
|
//
|
||||||
|
|
||||||
|
// tag::infos[]
|
||||||
|
[width="100%",cols="^1,^2,6,6",options="header"]
|
||||||
|
|===
|
||||||
|
| Erweiterung | Name | Beschreibung | Argumente
|
||||||
|
|
||||||
|
| fifo | fifo_filename | Name der FIFO-Pipe | -
|
||||||
|
|
||||||
|
| guile | guile_eval | Evaluierung des Quelltextes | Quelltext welcher ausgeführt werden soll
|
||||||
|
|
||||||
|
| guile | guile_interpreter | Name des verwendeten Interpreters | -
|
||||||
|
|
||||||
|
| guile | guile_version | Version des verwendeten Interpreters | -
|
||||||
|
|
||||||
|
| irc | irc_buffer | holt Buffer Pointer für einen IRC Server/Kanal/Nick | server,channel,nick (Kanal und Nicks sind optional)
|
||||||
|
|
||||||
|
| irc | irc_is_channel | 1, falls die Zeichenkette ein gültiger IRC-Kanalname für den Server ist | Server,Kanal (Server ist optional)
|
||||||
|
|
||||||
|
| irc | irc_is_message_ignored | 1, wenn der Nick ignoriert wird (Meldung wird nicht angezeigt) | Server,Nachricht (Nachricht ist die unverarbeitete IRC Nachricht)
|
||||||
|
|
||||||
|
| irc | irc_is_nick | 1, falls die Zeichenkette ein gültiger IRC Nickname ist | Server,Nickname (Server ist optional)
|
||||||
|
|
||||||
|
| irc | irc_nick | aktuellen Nicknamen für den Server erhalten | Servername
|
||||||
|
|
||||||
|
| irc | irc_nick_color | erhalte nick color code (*veraltet* ab Version 1.5, wird ersetzt durch "nick_color") | Nickname
|
||||||
|
|
||||||
|
| irc | irc_nick_color_name | erhalte nick color name (*veraltet* ab Version 1.5, wird ersetzt durch "nick_color_name") | Nickname
|
||||||
|
|
||||||
|
| irc | irc_nick_from_host | Nicknamen des IRC-Hosts erhalten | IRC host (in der Form `:nick!name@server.com`)
|
||||||
|
|
||||||
|
| irc | irc_server_isupport | 1 falls der Server die Funktion unterstützen sollte (durch IRC Message 005) | Server,Funktion
|
||||||
|
|
||||||
|
| irc | irc_server_isupport_value | Wert der Funktion, sofern es vom Server unterstützt wird (durch IRC Message 005) | Server,Funktion
|
||||||
|
|
||||||
|
| javascript | javascript_eval | Evaluierung des Quelltextes | Quelltext welcher ausgeführt werden soll
|
||||||
|
|
||||||
|
| javascript | javascript_interpreter | Name des verwendeten Interpreters | -
|
||||||
|
|
||||||
|
| javascript | javascript_version | Version des verwendeten Interpreters | -
|
||||||
|
|
||||||
|
| lua | lua_eval | Evaluierung des Quelltextes | Quelltext welcher ausgeführt werden soll
|
||||||
|
|
||||||
|
| lua | lua_interpreter | Name des verwendeten Interpreters | -
|
||||||
|
|
||||||
|
| lua | lua_version | Version des verwendeten Interpreters | -
|
||||||
|
|
||||||
|
| perl | perl_eval | Evaluierung des Quelltextes | Quelltext welcher ausgeführt werden soll
|
||||||
|
|
||||||
|
| perl | perl_interpreter | Name des verwendeten Interpreters | -
|
||||||
|
|
||||||
|
| perl | perl_version | Version des verwendeten Interpreters | -
|
||||||
|
|
||||||
|
| php | php_eval | Evaluierung des Quelltextes | Quelltext welcher ausgeführt werden soll
|
||||||
|
|
||||||
|
| php | php_interpreter | Name des verwendeten Interpreters | -
|
||||||
|
|
||||||
|
| php | php_version | Version des verwendeten Interpreters | -
|
||||||
|
|
||||||
|
| python | python_eval | Evaluierung des Quelltextes | Quelltext welcher ausgeführt werden soll
|
||||||
|
|
||||||
|
| python | python_interpreter | Name des verwendeten Interpreters | -
|
||||||
|
|
||||||
|
| python | python_version | Version des verwendeten Interpreters | -
|
||||||
|
|
||||||
|
| relay | relay_client_count | Anzahl an Clients für Relay | Protokoll,Status (beide sind Optional, bei beiden Argumenten bedeutet "*", alle; Protokolle: irc, weechat; Status: connecting, waiting_auth, connected, auth_failed, disconnected)
|
||||||
|
|
||||||
|
| ruby | ruby_eval | Evaluierung des Quelltextes | Quelltext welcher ausgeführt werden soll
|
||||||
|
|
||||||
|
| ruby | ruby_interpreter | Name des verwendeten Interpreters | -
|
||||||
|
|
||||||
|
| ruby | ruby_version | Version des verwendeten Interpreters | -
|
||||||
|
|
||||||
|
| spell | spell_dict | durch Kommata getrennte Liste von Wörterbüchern, die in diesem Buffer genutzt werden sollen | Buffer-Pointer ("0x12345678") oder der vollständige Buffername ("irc.libera.#weechat")
|
||||||
|
|
||||||
|
| tcl | tcl_eval | Evaluierung des Quelltextes | Quelltext welcher ausgeführt werden soll
|
||||||
|
|
||||||
|
| tcl | tcl_interpreter | Name des verwendeten Interpreters | -
|
||||||
|
|
||||||
|
| tcl | tcl_version | Version des verwendeten Interpreters | -
|
||||||
|
|
||||||
|
| weechat | auto_connect | 1, falls die automatische Verbindung zu Servern aktiviert ist, 0, wenn sie vom Benutzer deaktiviert wurde (Option "-a" oder "--no-connect") | -
|
||||||
|
|
||||||
|
| weechat | charset_internal | Interner WeeChat Zeichensatz | -
|
||||||
|
|
||||||
|
| weechat | charset_terminal | Terminal Zeichensatz | -
|
||||||
|
|
||||||
|
| weechat | color_ansi_regex | Erweiterte reguläre POSIX Ausdrücke um ANSI Escapesequenz zu suchen | -
|
||||||
|
|
||||||
|
| weechat | color_rgb2term | RGB Farbe wurde umgewandelt in Terminalfarbe (0-255) | RGB,limit (Obergrenze ist optional und ist Standardmäßig 256)
|
||||||
|
|
||||||
|
| weechat | color_term2rgb | Terminalfarbe (0-255) wurde umgewandelt in RGB Farbe | Farben (Terminalfarben: 0-255)
|
||||||
|
|
||||||
|
| weechat | cursor_mode | 1, falls Cursor-Modus aktiviert ist | -
|
||||||
|
|
||||||
|
| weechat | date | Datum/Zeit der WeeChat Kompilierung | -
|
||||||
|
|
||||||
|
| weechat | dir_separator | Trennzeichen für Verzeichnis | -
|
||||||
|
|
||||||
|
| weechat | filters_enabled | 1, falls Filter aktiviert sind | -
|
||||||
|
|
||||||
|
| weechat | inactivity | Inaktivität der Tastatur (Sekunden) | -
|
||||||
|
|
||||||
|
| weechat | locale | Spracheinstellung die für die übersetzten Nachrichten verwendet werden soll | -
|
||||||
|
|
||||||
|
| weechat | nick_color | zeigt Farbecode des Nick | Nickname;Farben (Farben ist eine optionale Kommata getrennte Liste von Farben die genutzt werden sollen; wenn eine Hintergrundfarbe genutzt werden muss das Format wie folgt aussehen Text:Hintergrund; sind die Farben schon vorhanden, werden die WeeChat Optionen für Nickfarben und erzwungene Nickfarben ignoriert)
|
||||||
|
|
||||||
|
| weechat | nick_color_name | zeigt Farbnamen des Nick | Nickname;Farben (Farben ist eine optionale Kommata getrennte Liste von Farben die genutzt werden sollen; wenn eine Hintergrundfarbe genutzt werden muss das Format wie folgt aussehen Text:Hintergrund; sind die Farben schon vorhanden, werden die WeeChat Optionen für Nickfarben und erzwungene Nickfarben ignoriert)
|
||||||
|
|
||||||
|
| weechat | pid | WeeChat PID (Prozess-ID) | -
|
||||||
|
|
||||||
|
| weechat | term_color_pairs | Anzahl der Farbpaare die durch das Terminal unterstützt werden | -
|
||||||
|
|
||||||
|
| weechat | term_colors | Anzahl der Farben die durch das Terminal unterstützt werden | -
|
||||||
|
|
||||||
|
| weechat | term_height | Höhe des Terminals | -
|
||||||
|
|
||||||
|
| weechat | term_width | Breite des Terminals | -
|
||||||
|
|
||||||
|
| weechat | totp_generate | generiert ein Time-based One-Time Passwort (TOTP) | geheime Zeichenkette (in base32), Zeitstempel (optional, standardmäßig aktuelle Zeit), Anzahl an Zeichen (optional, zwischen 4 und 10, standardmäßig 6)
|
||||||
|
|
||||||
|
| weechat | totp_validate | validiert ein Time-based One-Time Passwort (TOTP): 1 falls TOTP korrekt ist, ansonsten 0 | geheim (in base32), einmaliges Passwort, Zeitstempel (optional, standardmäßig aktuelle Zeit), Anzahl der zu testenden Passwörtern vorher/nachher (optional, standardmäßig 0)
|
||||||
|
|
||||||
|
| weechat | uptime | Laufzeit von WeeChat (Format: "days:hh:mm:ss") | "days" (Anzahl der Tage) oder "seconds" (Anzahl der Sekunden) (optional)
|
||||||
|
|
||||||
|
| weechat | uptime_current | WeeChat-Betriebszeit für den aktuellen Prozess (Upgrades mit /upgrade Befehlwerden ignoriert) (Format: "Tage:hh:mm:ss") | "days" (Anzahl der Tage) oder "seconds" (Anzahl der Sekunden) (optional)
|
||||||
|
|
||||||
|
| weechat | version | WeeChat-Version | -
|
||||||
|
|
||||||
|
| weechat | version_git | WeeChat Git Version (Ausgabe des Befehls "git describe", ausschließlich für eine Entwicklerversion. Eine stabile Version gibt keine Information zurück) | -
|
||||||
|
|
||||||
|
| weechat | version_number | WeeChat-Version (als Zahl) | -
|
||||||
|
|
||||||
|
| weechat | weechat_cache_dir | WeeChat Cache-Verzeichnis | -
|
||||||
|
|
||||||
|
| weechat | weechat_config_dir | WeeChat Konfigurationsverzeichnis | -
|
||||||
|
|
||||||
|
| weechat | weechat_daemon | 1, falls WeeChat im Daemon-Modus ausgeführt wird (ohne Oberfläche, im Hintergrund) | -
|
||||||
|
|
||||||
|
| weechat | weechat_data_dir | WeeChat-Datenverzeichnis | -
|
||||||
|
|
||||||
|
| weechat | weechat_dir | WeeChat-Verzeichnis (*veraltet* seit Version 3.2, ersetzt durch "weechat_config_dir", "weechat_data_dir", "weechat_cache_dir" und "weechat_runtime_dir") | -
|
||||||
|
|
||||||
|
| weechat | weechat_headless | 1, falls WeeChat im Hintergrundmodus ausgeführt wird | -
|
||||||
|
|
||||||
|
| weechat | weechat_libdir | WeeChat "lib" Verzeichnis | -
|
||||||
|
|
||||||
|
| weechat | weechat_localedir | "lokales" Verzeichnis von WeeChat | -
|
||||||
|
|
||||||
|
| weechat | weechat_runtime_dir | WeeChat-Laufzeitverzeichnis | -
|
||||||
|
|
||||||
|
| weechat | weechat_sharedir | WeeChat "share" Verzeichnis | -
|
||||||
|
|
||||||
|
| weechat | weechat_site | WeeChat Seite | -
|
||||||
|
|
||||||
|
| weechat | weechat_site_download | Download-Seite von WeeChat | -
|
||||||
|
|
||||||
|
| weechat | weechat_upgrading | 1 falls WeeChat ein Upgrade durchführt (Befehl `/upgrade`) | -
|
||||||
|
|
||||||
|
|===
|
||||||
|
// end::infos[]
|
||||||
@@ -0,0 +1,20 @@
|
|||||||
|
//
|
||||||
|
// This file is auto-generated by script docgen.py.
|
||||||
|
// DO NOT EDIT BY HAND!
|
||||||
|
//
|
||||||
|
|
||||||
|
// tag::infos_hashtable[]
|
||||||
|
[width="100%",cols="^1,^2,6,6,8",options="header"]
|
||||||
|
|===
|
||||||
|
| Erweiterung | Name | Beschreibung | Hashtable (Eingabe) | Hashtable (Ausgabe)
|
||||||
|
|
||||||
|
| irc | irc_message_parse | Parse eine IRC Nachricht | "message": IRC Nachricht, "server": Servername (optional) | "tags": Tags, "tag_xxx": Wert des Tags "xxx" ohne Escapezeichen (ein Schlüssel pro Tag), "message_without_tags": Nachrichten ohne Tags, "nick": Nick, "user": Benutzer, "host": Host, "command": Befehl, "channel": Kanal, "arguments": Argumente (schließt Kanal ein), "text": Text (zum Beispiel eine Nachricht von einem User), "param1" ... "paramN": geparste Befehlsparameter, "num_params": Anzahl geparste Befehlsparameter, "pos_command": Index der "command" Nachricht ("-1" falls "command" nicht gefunden wird), "pos_arguments": Index der "arguments" Nachricht ("-1" falls "arguments" nicht gefunden wird), "pos_channel": Index der "channel" Nachricht ("-1" falls "channel" nicht gefunden wird),"pos_text": Index für "text" Nachricht ("-1" falls "text" nicht gefunden wird)
|
||||||
|
|
||||||
|
| irc | irc_message_split | trennt eine IRC Nachricht (standardmäßig in 512 Bytes große Nachrichten) | "message": IRC Nachricht, "server": Servername (optional) | "msg1" ... "msgN": Nachrichten die versendet werden sollen (ohne abschließendes "\r\n"), "args1" ... "argsN": Argumente für Nachrichten, "count": Anzahl der Nachrichten
|
||||||
|
|
||||||
|
| weechat | focus_info | Fokusinformationen abrufen | "x": x-Koordinate (Zeichenfolge mit Ganzzahl >= 0), "y": y-Koordinate (Zeichenfolge mit Ganzzahl >= 0) | siehe Funktion "hook_focus" in API Dokumentation
|
||||||
|
|
||||||
|
| weechat | secured_data | schutzwürdige Daten | - | schutzwürdige Daten: Namen und Werte (Vorsicht: Dies sind vertrauliche Daten: drucken oder protokollieren Sie diese NICHT)
|
||||||
|
|
||||||
|
|===
|
||||||
|
// end::infos_hashtable[]
|
||||||
@@ -0,0 +1,29 @@
|
|||||||
|
//
|
||||||
|
// This file is auto-generated by script docgen.py.
|
||||||
|
// DO NOT EDIT BY HAND!
|
||||||
|
//
|
||||||
|
|
||||||
|
// tag::plugins_priority[]
|
||||||
|
. charset (16000)
|
||||||
|
. logger (15000)
|
||||||
|
. exec (14000)
|
||||||
|
. trigger (13000)
|
||||||
|
. spell (12000)
|
||||||
|
. alias (11000)
|
||||||
|
. buflist (10000)
|
||||||
|
. fifo (9000)
|
||||||
|
. typing (8000)
|
||||||
|
. xfer (7000)
|
||||||
|
. irc (6000)
|
||||||
|
. relay (5000)
|
||||||
|
. guile (4070)
|
||||||
|
. javascript (4060)
|
||||||
|
. lua (4050)
|
||||||
|
. perl (4040)
|
||||||
|
. php (4030)
|
||||||
|
. python (4020)
|
||||||
|
. ruby (4010)
|
||||||
|
. tcl (4000)
|
||||||
|
. script (3000)
|
||||||
|
. fset (2000)
|
||||||
|
// end::plugins_priority[]
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user