mirror of
https://github.com/weechat/weechat.git
synced 2026-06-13 06:34:47 +02:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| f9b449df34 | |||
| c6c9566fbb |
@@ -5,4 +5,5 @@ debian-devel export-ignore
|
||||
debian-stable export-ignore
|
||||
weechat.spec export-ignore
|
||||
.mailmap export-ignore
|
||||
tests/ubuntu/ export-ignore
|
||||
tools/build-debian.sh export-ignore
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
custom: https://weechat.org/donate/
|
||||
@@ -1,40 +0,0 @@
|
||||
---
|
||||
name: Bug report
|
||||
about: Create a bug report (please do not report security issues here)
|
||||
|
||||
---
|
||||
|
||||
<!-- 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:
|
||||
@@ -1,7 +0,0 @@
|
||||
---
|
||||
name: Feature request
|
||||
about: Request a new feature / enhancement
|
||||
|
||||
---
|
||||
|
||||
## Feature description
|
||||
@@ -1,14 +0,0 @@
|
||||
---
|
||||
name: Question
|
||||
about: Ask a question (please read first FAQ and docs)
|
||||
|
||||
---
|
||||
|
||||
## Question
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
- WeeChat version:
|
||||
- OS, distribution and version:
|
||||
@@ -11,7 +11,7 @@ Sébastien Helleu <flashcode@flashtux.org> <flashcode>
|
||||
Sébastien Helleu <flashcode@flashtux.org> <uid67137>
|
||||
Nils Görs <weechatter@arcor.de>
|
||||
Ryuunosuke Ayanokouzi <i38w7i3@yahoo.co.jp>
|
||||
Krzysztof Korościk <soltys1@gmail.com> <soltys@szluug.org> <soltys@soltys.info>
|
||||
Krzysztof Korościk <soltys1@gmail.com> <soltys@szluug.org>
|
||||
Marco Paolone <marcopaolone@gmail.com>
|
||||
<marcopaolone@gmail.com> <marco@DrB4tch.sitecomwl601>
|
||||
<mikaela.suomalainen@outlook.com> <mkaysi@outlook.com>
|
||||
|
||||
+15
-29
@@ -1,53 +1,39 @@
|
||||
dist: xenial
|
||||
sudo: required
|
||||
language: c
|
||||
|
||||
compiler:
|
||||
- gcc
|
||||
- clang
|
||||
|
||||
sudo: required
|
||||
dist: trusty
|
||||
|
||||
env:
|
||||
- BUILDTOOL="cmake" BUILDARGS=""
|
||||
- BUILDTOOL="cmake" BUILDARGS="-DENABLE_PYTHON2=ON"
|
||||
- BUILDTOOL="cmake" BUILDARGS="-DENABLE_PYTHON3=ON"
|
||||
- BUILDTOOL="cmake" BUILDARGS="-DENABLE_GNUTLS=OFF"
|
||||
- BUILDTOOL="cmake" BUILDARGS="-DENABLE_CODE_COVERAGE=ON" CODECOVERAGE="1"
|
||||
- BUILDTOOL="autotools" BUILDARGS=""
|
||||
- BUILDTOOL="autotools" BUILDARGS="--enable-python2"
|
||||
- BUILDTOOL="autotools" BUILDARGS="--enable-python3"
|
||||
- BUILDTOOL="autotools" BUILDARGS="--disable-gnutls"
|
||||
|
||||
matrix:
|
||||
fast_finish: true
|
||||
exclude:
|
||||
- compiler: clang
|
||||
env: BUILDTOOL="cmake" BUILDARGS="-DENABLE_CODE_COVERAGE=ON" CODECOVERAGE="1"
|
||||
|
||||
before_script:
|
||||
- rm -rf "$HOME/.pyenv"
|
||||
- sudo rm -rf /opt/pyenv
|
||||
# Workaround travis-ci/travis-ci#5326
|
||||
- export PATH=$(echo $PATH | tr ':' "\n" | sed '/\/opt\/python/d' | tr "\n" ":" | sed "s|::|:|g")
|
||||
- echo 'APT::Install-Recommends "false";' | sudo tee -a /etc/apt/apt.conf
|
||||
- travis_retry sudo apt-get update -qq
|
||||
- travis_retry sudo apt-get -y install devscripts equivs python-pip libenchant-dev autopoint cmake lcov pkg-config libncursesw5-dev gem2deb libperl-dev python-dev python3-dev libaspell-dev liblua5.3-dev tcl8.6-dev guile-2.0-dev libv8-dev libcurl4-gnutls-dev libgcrypt20-dev libgnutls-dev zlib1g-dev curl libcpputest-dev php7.0-dev libphp7.0-embed
|
||||
- travis_retry sudo gem install asciidoctor
|
||||
- travis_retry sudo -H pip install --ignore-installed msgcheck pylint
|
||||
- phpenv local system
|
||||
# work around broken travis environment variables, see https://github.com/travis-ci/travis-ci/issues/5301
|
||||
- unset PYTHON_CFLAGS
|
||||
- sudo apt-get update -qq
|
||||
- sudo apt-get -y install devscripts equivs python-pip libenchant-dev autopoint cmake pkg-config libncursesw5-dev gem2deb libperl-dev python-dev python3-dev libaspell-dev liblua5.1-0-dev tcl8.5-dev guile-2.0-dev libv8-dev libcurl4-gnutls-dev libgcrypt11-dev libgnutls-dev zlib1g-dev curl libcpputest-dev
|
||||
- sudo gem install asciidoctor
|
||||
- sudo pip install msgcheck pylint
|
||||
|
||||
script:
|
||||
- ./tools/build-test.sh
|
||||
- msgcheck po/*.po
|
||||
- pylint --version
|
||||
- pylint doc/docgen.py
|
||||
- pylint tests/scripts/python/testapigen.py
|
||||
- pylint tests/scripts/python/testapi.py
|
||||
- pylint tests/scripts/python/unparse.py
|
||||
- ./tools/build-debian.sh test-patches
|
||||
|
||||
after_success:
|
||||
- weechat --help
|
||||
- weechat-curses --help
|
||||
- weechat --colors
|
||||
- weechat --license
|
||||
- weechat --version
|
||||
- weechat --temp-dir --run-command "/debug dirs;/debug libs" --run-command "/quit"
|
||||
- if [ "$CODECOVERAGE" = "1" ]; then bash <(curl -s https://codecov.io/bash) -f coverage.info || echo "Codecov error"; fi
|
||||
- weechat -r "/debug libs;/quit"
|
||||
|
||||
matrix:
|
||||
fast_finish: true
|
||||
|
||||
+1
-34
@@ -15,8 +15,6 @@
|
||||
|
||||
Alphabetically:
|
||||
|
||||
* Adam Saponara (adsr)
|
||||
* Adrian Bjugård
|
||||
* Ailin Nemui (Nei)
|
||||
* Aleksey V Zapparov
|
||||
* Alex Tarkovsky
|
||||
@@ -27,41 +25,28 @@ Alphabetically:
|
||||
* Asakura
|
||||
* Bazerka
|
||||
* Benoit Papillault (benoit)
|
||||
* Chris Hills
|
||||
* Christian Heinz
|
||||
* Christopher O'Neill (deltafire)
|
||||
* coypoop
|
||||
* David Flatz
|
||||
* Dmitry Kobylin
|
||||
* Dominik Honnef
|
||||
* Dominique Martinet
|
||||
* Eduardo Elias
|
||||
* Eli Schwartz
|
||||
* Elizabeth Myers (Elizacat)
|
||||
* Elián Hanisch (m4v)
|
||||
* Emanuele Giaquinta
|
||||
* emk
|
||||
* Esteban I. Ruiz Moreno (Exio)
|
||||
* Evgeny Shmarnev
|
||||
* Felix Eckhofer
|
||||
* Frank Zacharias
|
||||
* Fredrik Fornwall
|
||||
* Grant Wu
|
||||
* Gu1ll4um3r0m41n
|
||||
* Guido Berhoerster
|
||||
* Gwenn
|
||||
* Hasan Kiran (turgay)
|
||||
* Ivan Sichmann Freitas
|
||||
* Jakub Jirutka
|
||||
* Jason A. Donenfeld (zx2c4)
|
||||
* JD Horelick (jdhore)
|
||||
* jesopo
|
||||
* Jim Ramsay (lack)
|
||||
* Jiri Golembiovsky (GolemJ)
|
||||
* Joey Pabalinas (alyptik)
|
||||
* Johan Rylander
|
||||
* Jos Ahrens
|
||||
* Joseph Kichline
|
||||
* Juan Francisco Cantero Hurtado
|
||||
* Julien Louis (ptitlouis)
|
||||
* Karthik K
|
||||
@@ -70,19 +55,13 @@ Alphabetically:
|
||||
* Kyle Fuller (kylef)
|
||||
* Leonid Evdokimov
|
||||
* Lázaro A.
|
||||
* Linus Heckemann
|
||||
* Maarten de Vries
|
||||
* Mantas Mikulėnas (grawity)
|
||||
* Marco Paolone
|
||||
* Mateusz Poszwa
|
||||
* Matt Robinson
|
||||
* Matthew Martin
|
||||
* Max Anton Teufel
|
||||
* Maxim Baz
|
||||
* Michael Siegel
|
||||
* Miroslav Koskar
|
||||
* Murilo Opsfelder Araujo
|
||||
* Neui
|
||||
* Nick (SolitaryCipher)
|
||||
* Nicolas Cavigneaux
|
||||
* Nils Görs (nils_2)
|
||||
@@ -90,7 +69,6 @@ Alphabetically:
|
||||
* Odin
|
||||
* Ondřej Súkup
|
||||
* Patrick Steinhardt
|
||||
* Patrik Janoušek
|
||||
* Paul Komkoff
|
||||
* Pavel Shevchuk (Stalwart)
|
||||
* Peter Boström (pbos)
|
||||
@@ -101,15 +79,10 @@ Alphabetically:
|
||||
* Quentin Glidic (SardemFF7)
|
||||
* Quentin Pradet
|
||||
* Quico Noizeux
|
||||
* rafasc
|
||||
* Raghavendra Prabhu
|
||||
* raspbeguy
|
||||
* Rettub
|
||||
* Rob Campbell
|
||||
* Romero B. de S. Malaquias
|
||||
* Rudolf Polzer (divVerent)
|
||||
* Ruslan Bekenev
|
||||
* Ryan Farley
|
||||
* Ryuunosuke Ayanokouzi
|
||||
* scumjr
|
||||
* Sergio Durigan Junior
|
||||
@@ -122,22 +95,16 @@ Alphabetically:
|
||||
* Stfn
|
||||
* Sven Knurr (Cthulhux)
|
||||
* Tim D. Smith
|
||||
* Tim Harder
|
||||
* Tobias Stoeckmann
|
||||
* Tom Alsberg
|
||||
* Tomoe Mami
|
||||
* Tor Hveem (xt)
|
||||
* Trevor Bergeron
|
||||
* Valentin Lorentz (progval)
|
||||
* Vasco Almeida
|
||||
* Voroskoi
|
||||
* Wojciech Kwolek
|
||||
* W. Trevor King
|
||||
* Yannick Palanque
|
||||
* ZethJack
|
||||
* Ørjan Malde
|
||||
|
||||
== Contact
|
||||
|
||||
See https://weechat.org/files/doc/devel/weechat_user.en.html#support[user's guide]
|
||||
or https://weechat.org/about/support
|
||||
or https://weechat.org/dev/support
|
||||
|
||||
+39
-58
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2019 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2017 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2007-2008 Julien Louis <ptitlouis@sysif.net>
|
||||
# Copyright (C) 2008-2009 Emmanuel Bouthenot <kolter@openics.org>
|
||||
#
|
||||
@@ -16,10 +16,10 @@
|
||||
# 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/>.
|
||||
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
cmake_minimum_required(VERSION 3.0)
|
||||
cmake_minimum_required(VERSION 2.4)
|
||||
|
||||
project(weechat C)
|
||||
|
||||
@@ -27,8 +27,8 @@ project(weechat C)
|
||||
set(CMAKE_VERBOSE_MAKEFILE OFF)
|
||||
set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake ${CMAKE_MODULE_PATH})
|
||||
set(CMAKE_SKIP_RPATH ON)
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fsigned-char -Wall -Wextra -Werror-implicit-function-declaration")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fsigned-char -Wall -Wextra")
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Werror-implicit-function-declaration")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Werror-implicit-function-declaration")
|
||||
|
||||
# version
|
||||
execute_process(COMMAND ${CMAKE_SOURCE_DIR}/version.sh devel-major OUTPUT_VARIABLE VERSION_MAJOR)
|
||||
@@ -58,12 +58,10 @@ endif()
|
||||
set(PKG_STRING "${PROJECT_NAME} ${VERSION}")
|
||||
string(REPLACE "\";\"" "\ " PKG_STRING ${PKG_STRING})
|
||||
|
||||
if(NOT DEFINED LIBDIR)
|
||||
set(LIBDIR ${CMAKE_INSTALL_PREFIX}/lib)
|
||||
endif()
|
||||
|
||||
if(NOT DEFINED WEECHAT_LIBDIR)
|
||||
set(WEECHAT_LIBDIR ${LIBDIR}/${PROJECT_NAME})
|
||||
if(DEFINED LIBDIR)
|
||||
set(LIBDIR ${LIBDIR}/${PROJECT_NAME})
|
||||
else()
|
||||
set(LIBDIR ${CMAKE_INSTALL_PREFIX}/lib/${PROJECT_NAME})
|
||||
endif()
|
||||
|
||||
if(NOT DEFINED SHAREDIR)
|
||||
@@ -84,51 +82,34 @@ else()
|
||||
set(INCLUDEDIR ${CMAKE_INSTALL_PREFIX}/include/${PROJECT_NAME})
|
||||
endif()
|
||||
|
||||
option(ENABLE_NCURSES "Compile the Ncurses interface" ON)
|
||||
option(ENABLE_HEADLESS "Compile the headless binary (required for tests)" ON)
|
||||
option(ENABLE_NLS "Enable Native Language Support" ON)
|
||||
option(ENABLE_GNUTLS "Enable SSLv3/TLS support" ON)
|
||||
option(ENABLE_LARGEFILE "Enable Large File Support" ON)
|
||||
option(ENABLE_ALIAS "Enable Alias plugin" ON)
|
||||
option(ENABLE_BUFLIST "Enable Buflist plugin" ON)
|
||||
option(ENABLE_CHARSET "Enable Charset plugin" ON)
|
||||
option(ENABLE_EXEC "Enable Exec plugin" ON)
|
||||
option(ENABLE_FIFO "Enable FIFO plugin" ON)
|
||||
option(ENABLE_FSET "Enable Fast Set plugin" ON)
|
||||
option(ENABLE_IRC "Enable IRC plugin" ON)
|
||||
option(ENABLE_LOGGER "Enable Logger plugin" ON)
|
||||
option(ENABLE_RELAY "Enable Relay plugin" ON)
|
||||
option(ENABLE_SCRIPT "Enable Script plugin (script manager)" ON)
|
||||
option(ENABLE_SCRIPTS "Enable script plugins (perl, python, ...)" ON)
|
||||
option(ENABLE_PERL "Enable Perl scripting language" ON)
|
||||
option(ENABLE_PYTHON "Enable Python scripting language" ON)
|
||||
option(ENABLE_PYTHON2 "Use Python 2 instead of Python 3" OFF)
|
||||
option(ENABLE_RUBY "Enable Ruby scripting language" ON)
|
||||
option(ENABLE_LUA "Enable Lua scripting language" ON)
|
||||
option(ENABLE_TCL "Enable Tcl scripting language" ON)
|
||||
option(ENABLE_GUILE "Enable Scheme (guile) scripting language" ON)
|
||||
option(ENABLE_JAVASCRIPT "Enable JavaScript scripting language" ON)
|
||||
option(ENABLE_PHP "Enable PHP scripting language" ON)
|
||||
option(ENABLE_SPELL "Enable Spell checker plugin" ON)
|
||||
option(ENABLE_ENCHANT "Enable Enchant lib for Spell checker plugin" OFF)
|
||||
option(ENABLE_TRIGGER "Enable Trigger plugin" ON)
|
||||
option(ENABLE_XFER "Enable Xfer plugin" ON)
|
||||
option(ENABLE_MAN "Enable build of man page" OFF)
|
||||
option(ENABLE_DOC "Enable build of documentation" OFF)
|
||||
option(ENABLE_TESTS "Enable tests" OFF)
|
||||
option(ENABLE_CODE_COVERAGE "Enable code coverage" OFF)
|
||||
|
||||
# code coverage
|
||||
add_library(coverage_config INTERFACE)
|
||||
if(ENABLE_CODE_COVERAGE)
|
||||
target_compile_options(coverage_config INTERFACE -O0 -g --coverage)
|
||||
target_link_libraries(coverage_config INTERFACE --coverage)
|
||||
endif()
|
||||
|
||||
# headless mode is required for tests
|
||||
if(ENABLE_TESTS AND NOT ENABLE_HEADLESS)
|
||||
message(FATAL_ERROR "Headless mode is required for tests.")
|
||||
endif()
|
||||
option(ENABLE_NCURSES "Enable Ncurses interface" ON)
|
||||
option(ENABLE_NLS "Enable Native Language Support" ON)
|
||||
option(ENABLE_GNUTLS "Enable SSLv3/TLS support" ON)
|
||||
option(ENABLE_LARGEFILE "Enable Large File Support" ON)
|
||||
option(ENABLE_ALIAS "Enable Alias plugin" ON)
|
||||
option(ENABLE_ASPELL "Enable Aspell plugin" ON)
|
||||
option(ENABLE_ENCHANT "Enable Enchant lib for Aspell plugin" OFF)
|
||||
option(ENABLE_CHARSET "Enable Charset plugin" ON)
|
||||
option(ENABLE_EXEC "Enable Exec plugin" ON)
|
||||
option(ENABLE_FIFO "Enable FIFO plugin" ON)
|
||||
option(ENABLE_IRC "Enable IRC plugin" ON)
|
||||
option(ENABLE_LOGGER "Enable Logger plugin" ON)
|
||||
option(ENABLE_RELAY "Enable Relay plugin" ON)
|
||||
option(ENABLE_SCRIPT "Enable Script plugin (scripts manager)" ON)
|
||||
option(ENABLE_SCRIPTS "Enable script plugins (perl, python, ...)" ON)
|
||||
option(ENABLE_PERL "Enable Perl scripting language" ON)
|
||||
option(ENABLE_PYTHON "Enable Python scripting language" ON)
|
||||
option(ENABLE_PYTHON3 "Use Python 3.x if found (NOT recommended because many \"official\" scripts won't work)" OFF)
|
||||
option(ENABLE_RUBY "Enable Ruby scripting language" ON)
|
||||
option(ENABLE_LUA "Enable Lua scripting language" ON)
|
||||
option(ENABLE_TCL "Enable Tcl scripting language" ON)
|
||||
option(ENABLE_GUILE "Enable Scheme (guile) scripting language" ON)
|
||||
option(ENABLE_JAVASCRIPT "Enable JavaScript scripting language" ON)
|
||||
option(ENABLE_TRIGGER "Enable Trigger plugin" ON)
|
||||
option(ENABLE_XFER "Enable Xfer plugin" ON)
|
||||
option(ENABLE_MAN "Enable build of man page" OFF)
|
||||
option(ENABLE_DOC "Enable build of documentation" OFF)
|
||||
option(ENABLE_TESTS "Enable tests" OFF)
|
||||
|
||||
# option WEECHAT_HOME
|
||||
if(NOT DEFINED WEECHAT_HOME OR "${WEECHAT_HOME}" STREQUAL "")
|
||||
@@ -263,10 +244,10 @@ add_custom_target(dist
|
||||
set(PACKAGE "${PROJECT_NAME}")
|
||||
set(prefix "${CMAKE_INSTALL_PREFIX}")
|
||||
set(exec_prefix "\${prefix}")
|
||||
string(REPLACE "${CMAKE_INSTALL_PREFIX}" "\${prefix}" libdir "${LIBDIR}")
|
||||
set(libdir "\${exec_prefix}/lib")
|
||||
set(includedir "\${prefix}/include")
|
||||
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)
|
||||
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/weechat.cygport.in ${CMAKE_CURRENT_BINARY_DIR}/weechat-${VERSION}-1.cygport @ONLY)
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 3, 29 June 2007
|
||||
|
||||
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
|
||||
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
@@ -645,7 +645,7 @@ the "copyright" line and a pointer to where the full notice is found.
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
@@ -664,11 +664,11 @@ might be different; for a GUI interface, you would use an "about box".
|
||||
You should also get your employer (if you work as a programmer) or school,
|
||||
if any, to sign a "copyright disclaimer" for the program, if necessary.
|
||||
For more information on this, and how to apply and follow the GNU GPL, see
|
||||
<https://www.gnu.org/licenses/>.
|
||||
<http://www.gnu.org/licenses/>.
|
||||
|
||||
The GNU General Public License does not permit incorporating your program
|
||||
into proprietary programs. If your program is a subroutine library, you
|
||||
may consider it more useful to permit linking proprietary applications with
|
||||
the library. If this is what you want to do, use the GNU Lesser General
|
||||
Public License instead of this License. But first, please read
|
||||
<https://www.gnu.org/philosophy/why-not-lgpl.html>.
|
||||
<http://www.gnu.org/philosophy/why-not-lgpl.html>.
|
||||
|
||||
+318
-672
File diff suppressed because it is too large
Load Diff
+1
-3
@@ -40,8 +40,6 @@ please include:
|
||||
(or if you have a core file), please include the backtrace from gdb (look at
|
||||
https://weechat.org/files/doc/devel/weechat_user.en.html#report_crashes[User's guide]
|
||||
for more info).
|
||||
* The *actual result*.
|
||||
* The *expected result*: the correct result you are expecting.
|
||||
|
||||
[IMPORTANT]
|
||||
Most of times, the WeeChat crash log file (_weechat_crash_YYYYMMDD_xxx.log_) is
|
||||
@@ -65,7 +63,7 @@ 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
|
||||
time, for https://github.com/weechat/weechat[WeeChat] and the web site
|
||||
https://github.com/weechat/weechat.org[weechat.org].
|
||||
|
||||
To start a translation in a new language (not yet supported), please look at
|
||||
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2019 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2017 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2005 Julien Louis <ptitlouis@sysif.net>
|
||||
# Copyright (C) 2006-2009 Emmanuel Bouthenot <kolter@openics.org>
|
||||
#
|
||||
@@ -16,7 +16,7 @@
|
||||
# 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/>.
|
||||
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
# This target will update file config-git.h with output of command "git describe"
|
||||
|
||||
+21
-56
@@ -1,21 +1,17 @@
|
||||
= WeeChat
|
||||
: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://weechat.org/blog/"]
|
||||
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://travis-ci.org/weechat/weechat.svg?branch=master["Build Status", link="https://travis-ci.org/weechat/weechat"]
|
||||
image:https://codecov.io/gh/weechat/weechat/branch/master/graph/badge.svg["Code coverage", link="https://codecov.io/gh/weechat/weechat"]
|
||||
image:https://img.shields.io/badge/diaspora*-follow-blue.svg["Diaspora*", link="https://diasp.eu/u/weechat"]
|
||||
image:https://img.shields.io/badge/google%2B-follow-blue.svg["Google+", link="https://plus.google.com/+WeeChat"]
|
||||
image:https://img.shields.io/badge/devel%20blog-follow-blue.svg["Devel blog", link="http://dev.weechat.org/"]
|
||||
image:https://img.shields.io/badge/slant-recommend-28acad.svg["Slant", link="http://www.slant.co/topics/1323/~irc-clients-for-linux"]
|
||||
image:https://img.shields.io/badge/paypal-donate%20%E2%9D%A4-yellow.svg["Paypal", link="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=4LSMSNLUAJWNS"]
|
||||
|
||||
*WeeChat* (Wee Enhanced Environment for Chat) is a free chat client, fast and
|
||||
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.
|
||||
|
||||
@@ -23,19 +19,19 @@ Homepage: https://weechat.org/
|
||||
|
||||
== Features
|
||||
|
||||
* *Modular chat client*: WeeChat has a lightweight core and optional https://weechat.org/files/doc/stable/weechat_user.en.html#plugins[plugins]. All plugins (including https://weechat.org/files/doc/stable/weechat_user.en.html#irc_plugin[IRC]) are independent and can be unloaded.
|
||||
* *Multi-platform*: WeeChat runs on GNU/Linux, *BSD, GNU/Hurd, Haiku, macOS and Windows (Bash/Ubuntu and Cygwin).
|
||||
* *Modular chat client*: WeeChat has a lightweight core and optional plugins. All plugins (including IRC) are independent and can be unloaded.
|
||||
* *Multi-platform*: WeeChat runs on GNU/Linux, *BSD, GNU/Hurd, Mac OS X 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].
|
||||
* *Standards-compliant*: the IRC plugin is compliant with RFCs 1459, 2810, 2811, 2812 and 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/stable/language/perl/[Perl], https://weechat.org/scripts/stable/language/python/[Python], https://weechat.org/scripts/stable/language/ruby[Ruby], https://weechat.org/scripts/stable/language/lua/[Lua], https://weechat.org/scripts/stable/language/tcl/[Tcl], https://weechat.org/scripts/stable/language/guile/[Scheme], https://weechat.org/scripts/stable/language/javascript/[JavaScript] and https://weechat.org/scripts/stable/language/php/[PHP]).
|
||||
* *Fully documented*: there is comprehensive https://weechat.org/doc/[documentation], which is https://weechat.org/files/doc/stable/weechat_dev.en.html#translations[translated] into several languages.
|
||||
* *Customizable and extensible*: there are a lot of options to customize WeeChat, and it is extensible with C plugins and scripts (Perl, Python, Ruby, Lua, Tcl, Scheme and Javascript).
|
||||
* *Fully documented*: there is comprehensive documentation, which is 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].
|
||||
* *Free software*: WeeChat is released under 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>]
|
||||
image::https://weechat.org/media/images/screenshots/weechat/medium/weechat_2013-04-27_phlux_shadow.png[align="center"]
|
||||
|
||||
On WeeChat's website you can find https://weechat.org/about/screenshots/[more screenshots].
|
||||
Other screenshots are on https://weechat.org/about/screenshots/[this page].
|
||||
|
||||
== Install
|
||||
|
||||
@@ -53,8 +49,8 @@ Following packages are optional:
|
||||
|
||||
* for i18n: gettext
|
||||
* for SSL: gnutls, ca-certificates
|
||||
* for spell checking: aspell or enchant
|
||||
* for scripting: python, perl, ruby, lua, tcl, guile, libv8 (javascript), php
|
||||
* for spell checking: aspell
|
||||
* for scripting: python, perl, ruby, lua, tcl, guile, libv8 (javascript)
|
||||
* for building doc and man page: asciidoctor
|
||||
* for building tests: C++ compiler, CppUTest
|
||||
|
||||
@@ -63,58 +59,27 @@ https://weechat.org/files/doc/devel/weechat_user.en.html#dependencies[user's gui
|
||||
|
||||
=== Compile
|
||||
|
||||
WeeChat can be built with https://cmake.org/[CMake] (recommended) or autotools.
|
||||
WeeChat can be built with http://cmake.org/[CMake] (recommended) or autotools.
|
||||
|
||||
[NOTE]
|
||||
Only CMake is officially supported to build WeeChat. You should only use
|
||||
autotools if you are not able to use CMake. +
|
||||
Building with autotools requires more dependencies and is slower than with CMake.
|
||||
|
||||
* Installation in system directories (requires _root_ privileges):
|
||||
|
||||
----
|
||||
$ mkdir build
|
||||
$ cd build
|
||||
$ cmake ..
|
||||
$ make
|
||||
$ sudo make install
|
||||
----
|
||||
|
||||
* Installation in custom directory (for example your home):
|
||||
|
||||
----
|
||||
$ mkdir build
|
||||
$ cd build
|
||||
$ cmake .. -DCMAKE_INSTALL_PREFIX=/path/to/directory
|
||||
$ make
|
||||
$ make install
|
||||
$ make install (as root for installation in system directories)
|
||||
----
|
||||
|
||||
For more information or installation with autotools, please look at
|
||||
https://weechat.org/files/doc/devel/weechat_user.en.html#compile_with_autotools[user's guide].
|
||||
|
||||
=== Run tests
|
||||
|
||||
Following packages are *required* to compile tests:
|
||||
|
||||
* libcpputest-dev
|
||||
* C++ compiler
|
||||
|
||||
Tests must be enabled when compiling WeeChat:
|
||||
|
||||
----
|
||||
$ cmake .. -DENABLE_TESTS=ON
|
||||
----
|
||||
|
||||
They can be launched after compilation from the build directory:
|
||||
|
||||
----
|
||||
$ ctest -V
|
||||
----
|
||||
|
||||
== Copyright
|
||||
|
||||
Copyright (C) 2003-2019 Sébastien Helleu <flashcode@flashtux.org>
|
||||
Copyright (C) 2003-2017 Sébastien Helleu <flashcode@flashtux.org>
|
||||
|
||||
This file is part of WeeChat, the extensible chat client.
|
||||
|
||||
@@ -129,4 +94,4 @@ 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/>.
|
||||
along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
+9
-447
@@ -17,440 +17,6 @@ https://weechat.org/files/changelog/ChangeLog-devel.html[ChangeLog]
|
||||
(file _ChangeLog.adoc_ in sources).
|
||||
|
||||
|
||||
[[v2.6]]
|
||||
== Version 2.6 (2019-09-08)
|
||||
|
||||
[[v2.6_python3_default]]
|
||||
=== Python 3 by default
|
||||
|
||||
Python 3 is now used by default to compile the "python" plugin (no fallback
|
||||
on Python 2).
|
||||
|
||||
The CMake option `ENABLE_PYTHON3` has been renamed to `ENABLE_PYTHON2`
|
||||
(configure option `--enable-python2`). If this option is enabled, the "python"
|
||||
plugin is built with Python 2 (no fallback on Python 3).
|
||||
|
||||
[[v2.6_nick_colors]]
|
||||
=== Nick colors
|
||||
|
||||
The function to compute the colors based on the nick letters has been fixed
|
||||
(now the function uses only a 64-bit integer even if the underlying architecture
|
||||
is 32-bit).
|
||||
|
||||
If you're running WeeChat on a 32-bit architecture and want to keep same colors
|
||||
as the previous releases, you can use one of the two new hash values.
|
||||
|
||||
If you were using "djb2", you can switch to "djb2_32":
|
||||
|
||||
----
|
||||
/set weechat.look.nick_color_hash djb2_32
|
||||
----
|
||||
|
||||
If you were using "sum", you can switch to "sum_32":
|
||||
|
||||
----
|
||||
/set weechat.look.nick_color_hash sum_32
|
||||
----
|
||||
|
||||
[[v2.5]]
|
||||
== Version 2.5 (2019-06-06)
|
||||
|
||||
[[v2.5_aspell_plugin_renamed]]
|
||||
=== Aspell plugin renamed to Spell
|
||||
|
||||
The "aspell" plugin has been renamed to "spell", a more generic term, because
|
||||
it supports aspell and also enchant.
|
||||
|
||||
Consequently, the following things have been renamed as well:
|
||||
|
||||
* file _aspell.conf_ renamed to _spell.conf_; the content of the
|
||||
file has not changed, so you can just rename the file to keep your changes
|
||||
* options _aspell.*_ renamed to _spell.*_
|
||||
* command `/aspell` renamed to `/spell`
|
||||
* default key kbd:[Alt+s] changed to `/mute spell toggle`
|
||||
* bar item _aspell_dict_ renamed to _spell_dict_
|
||||
* bar item _aspell_suggest_ renamed to _spell_suggest_
|
||||
* info _aspell_dict_ renamed to _spell_dict_
|
||||
|
||||
If you are upgrading from a previous release, you can copy the config file
|
||||
before doing `/upgrade`, in WeeChat:
|
||||
|
||||
----
|
||||
/save aspell
|
||||
/exec -sh cp ~/.weechat/aspell.conf ~/.weechat/spell.conf
|
||||
/upgrade
|
||||
----
|
||||
|
||||
If you already upgraded WeeChat:
|
||||
|
||||
----
|
||||
/exec -sh cp ~/.weechat/aspell.conf ~/.weechat/spell.conf
|
||||
/reload spell
|
||||
----
|
||||
|
||||
Once configuration is OK, you can delete the file _~/.weechat/aspell.conf_.
|
||||
|
||||
Then you can search if you are using "aspell" in values of options:
|
||||
|
||||
----
|
||||
/fset =aspell
|
||||
----
|
||||
|
||||
If there are options displayed, replace "aspell" by "spell" in values.
|
||||
|
||||
The default key kbd:[Alt+s] can be changed to the new `/spell` command:
|
||||
|
||||
----
|
||||
/key bind meta-s /mute spell toggle
|
||||
----
|
||||
|
||||
[[v2.5_xfer_option_speed_limit]]
|
||||
=== Speed limit option for DCC files
|
||||
|
||||
The option _xfer.network.speed_limit_ has been renamed to
|
||||
_xfer.network.speed_limit_send_.
|
||||
|
||||
If you changed the value of this option, you must set it again after upgrade.
|
||||
|
||||
A new option _xfer.network.speed_limit_recv_ has been added to limit the
|
||||
speed of received files.
|
||||
|
||||
[[v2.5_hook_info_allocated_string]]
|
||||
=== Allocated string in hook info and function info_get
|
||||
|
||||
The hook info callback now returns an allocated string, which must be freed
|
||||
after use (in previous versions, a pointer to a static string was returned).
|
||||
|
||||
Consequently, the function info_get returns an allocated string, which must
|
||||
be freed after use.
|
||||
|
||||
This affects only C code, no changes are required in scripts.
|
||||
|
||||
[[v2.4]]
|
||||
== Version 2.4 (2019-02-17)
|
||||
|
||||
[[v2.4_nick_completer]]
|
||||
=== Nick completer
|
||||
|
||||
A space is not added automatically any more when you complete a nick at the
|
||||
beginning of command line. +
|
||||
Purpose of this change is to be more flexible: you can choose whether the space
|
||||
is added or not (it was always added in previous releases).
|
||||
|
||||
The default value of option `weechat.completion.nick_completer` has been changed
|
||||
to add the space by default, but the value of option is not changed automatically
|
||||
on upgrade.
|
||||
|
||||
So you can run this command if you upgraded from an old version
|
||||
and want the space still added automatically:
|
||||
|
||||
----
|
||||
/set weechat.completion.nick_completer ": "
|
||||
----
|
||||
|
||||
[[v2.4_api_base64_functions]]
|
||||
=== Base64 API functions
|
||||
|
||||
The functions to encode/decode base64 strings have been renamed and now support
|
||||
base 16, 32, and 64.
|
||||
|
||||
New functions in C API, supporting base 16, 32, and 64:
|
||||
|
||||
* string_base_encode
|
||||
* string_base_decode
|
||||
|
||||
Functions removed from C API:
|
||||
|
||||
* string_encode_base64
|
||||
* string_decode_base64
|
||||
|
||||
[[v2.3]]
|
||||
== Version 2.3 (2018-10-21)
|
||||
|
||||
No release note.
|
||||
|
||||
[[v2.2]]
|
||||
== Version 2.2 (2018-07-14)
|
||||
|
||||
[[v2.2_default_hotlist_conditions]]
|
||||
=== Default conditions for hotlist
|
||||
|
||||
The default value for option `weechat.look.hotlist_add_conditions` has been
|
||||
changed to take care about the number of connected clients on the relay
|
||||
with weechat protocol: if at least one client is connected, the buffer is
|
||||
always added to the hotlist.
|
||||
|
||||
The new value contains three conditions, if one of them is true, the buffer
|
||||
is added to the hotlist:
|
||||
|
||||
* `${away}`: true if you are away on the server matching the buffer,
|
||||
* `${buffer.num_displayed} == 0`: true if the buffer is not displayed in any
|
||||
window
|
||||
* `${info:relay_client_count,weechat,connected} > 0`: true if at least
|
||||
one client is connected on a weechat relay (new condition).
|
||||
|
||||
To use the new default value, you can reset the option with this command:
|
||||
|
||||
----
|
||||
/unset weechat.look.hotlist_add_conditions
|
||||
----
|
||||
|
||||
Or set explicitly the value:
|
||||
|
||||
----
|
||||
/set weechat.look.hotlist_add_conditions "${away} || ${buffer.num_displayed} == 0 || ${info:relay_client_count,weechat,connected} > 0"
|
||||
----
|
||||
|
||||
[[v2.2_default_triggers]]
|
||||
=== Default triggers
|
||||
|
||||
The existing triggers "cmd_pass" and "msg_auth" have been updated to hide
|
||||
password in command `/msg nickserv set password` and support the option
|
||||
`-server xxx`.
|
||||
|
||||
You can restore the default triggers with the following command:
|
||||
|
||||
----
|
||||
/trigger restore cmd_pass msg_auth
|
||||
----
|
||||
|
||||
[[v2.2_irc_signals_tags]]
|
||||
=== Tags in IRC "in" signals
|
||||
|
||||
The IRCv3 tags are now sent in these IRC signals for received messages
|
||||
(_xxx_ is IRC server name, _yyy_ is IRC command name):
|
||||
|
||||
* _xxx,irc_in_yyy_
|
||||
* _xxx,irc_in2_yyy_
|
||||
* _xxx,irc_raw_in_yyy_
|
||||
* _xxx,irc_raw_in2_yyy_
|
||||
|
||||
This could break plugins or scripts that parse IRC messages and don't expect
|
||||
to receive tags (even if tags *are* part of the IRC message, so this was a bug
|
||||
in the IRC signals).
|
||||
|
||||
See issue #787 for more information.
|
||||
|
||||
[NOTE]
|
||||
It is recommended for plugins and scripts to use the WeeChat IRC parser:
|
||||
see the function "info_get_hashtable" in the Plugin API reference.
|
||||
|
||||
Now the whole IRC message is received by the signal callback, for example:
|
||||
|
||||
----
|
||||
@tag1=abc;tag2=def :nick!user@host PRIVMSG #test :this is a test
|
||||
----
|
||||
|
||||
In older releases, this message was received:
|
||||
|
||||
----
|
||||
:nick!user@host PRIVMSG #test :this is a test
|
||||
----
|
||||
|
||||
[[v2.2_debian_headless_package]]
|
||||
=== New Debian package for headless version
|
||||
|
||||
A new Debian package has been added: _weechat-headless_ which contains the
|
||||
binary _weechat-headless_ and its man page.
|
||||
|
||||
In version 2.1, this binary was in the package _weechat-curses_.
|
||||
|
||||
[[v2.1]]
|
||||
== Version 2.1 (2018-03-18)
|
||||
|
||||
[[v2.1_option_name_completion]]
|
||||
=== Completion for /set and /help commands
|
||||
|
||||
A new option weechat.completion.partial_completion_templates has been added to
|
||||
force partial completion on some templates. By default, the option name
|
||||
completed in `/set` and `/help` commands are now using partial completion.
|
||||
|
||||
If you prefer old behavior, you can remove the templates from the new option
|
||||
with this command:
|
||||
|
||||
----
|
||||
/set weechat.completion.partial_completion_templates ""
|
||||
----
|
||||
|
||||
For more information about this feature, you can read help with:
|
||||
|
||||
----
|
||||
/help weechat.completion.partial_completion_templates
|
||||
----
|
||||
|
||||
[[v2.1_script_plugin_check_license]]
|
||||
=== Option to check license of scripts loaded
|
||||
|
||||
A configuration file has been added for each script plugin: _python.conf_,
|
||||
_perl.conf_, _ruby.conf_, ...
|
||||
|
||||
Therefore the option to check license of loaded scripts has been moved from
|
||||
_plugins.var.<language>.check_license_ (type: string) to the plugin
|
||||
configuration file (type: boolean, default is _off_).
|
||||
|
||||
List of options moved:
|
||||
|
||||
* _plugins.var.python.check_license_ (string) moved to _python.look.check_license_ (boolean)
|
||||
* _plugins.var.perl.check_license_ (string) moved to _perl.look.check_license_ (boolean)
|
||||
* _plugins.var.ruby.check_license_ (string) moved to _ruby.look.check_license_ (boolean)
|
||||
* _plugins.var.lua.check_license_ (string) moved to _lua.look.check_license_ (boolean)
|
||||
* _plugins.var.tcl.check_license_ (string) moved to _tcl.look.check_license_ (boolean)
|
||||
* _plugins.var.guile.check_license_ (string) moved to _guile.look.check_license_ (boolean)
|
||||
* _plugins.var.javascript.check_license_ (string) moved to _javascript.look.check_license_ (boolean)
|
||||
* _plugins.var.php.check_license_ (string) moved to _php.look.check_license_ (boolean)
|
||||
|
||||
[[v2.0.1]]
|
||||
== Version 2.0.1 (2017-12-20)
|
||||
|
||||
Bug fix and maintenance release.
|
||||
|
||||
[[v2.0]]
|
||||
== Version 2.0 (2017-12-03)
|
||||
|
||||
[[v2.0_fset_plugin]]
|
||||
=== Fset plugin
|
||||
|
||||
A new plugin "fset" has been added, it replaces the script iset.pl and has many
|
||||
new features.
|
||||
|
||||
By default the fset plugin changes the behavior of `/set` command when it is
|
||||
used with only an option name: it opens the fset buffer if at least one option
|
||||
is found.
|
||||
|
||||
The old behavior was to display the list of options in the core buffer.
|
||||
|
||||
If you prefer the old behavior, you can restore it with this command:
|
||||
|
||||
----
|
||||
/set fset.look.condition_catch_set ""
|
||||
----
|
||||
|
||||
For more information about this feature, you can read help with:
|
||||
|
||||
----
|
||||
/help fset.look.condition_catch_set
|
||||
----
|
||||
|
||||
[[v2.0_debian_packaging]]
|
||||
=== Split of scripting Debian packages
|
||||
|
||||
The Debian packaging has changed (for now only on weechat.org repositories,
|
||||
not in Debian official repositories). +
|
||||
The package _weechat-plugins_ has been split into 9 packages:
|
||||
|
||||
- weechat-plugins (with only the following plugins: aspell, exec, fifo, relay,
|
||||
script, trigger)
|
||||
- weechat-python
|
||||
- weechat-perl
|
||||
- weechat-ruby
|
||||
- weechat-lua
|
||||
- weechat-tcl
|
||||
- weechat-guile
|
||||
- weechat-javascript
|
||||
- weechat-php.
|
||||
|
||||
If you are using the packages from weechat.org, you will have to install
|
||||
manually the scripting packages (according to the languages you'll use
|
||||
in WeeChat), for example Python/Perl only:
|
||||
|
||||
----
|
||||
sudo apt-get install weechat-python weechat-perl
|
||||
----
|
||||
|
||||
For development packages:
|
||||
|
||||
----
|
||||
sudo apt-get install weechat-devel-python weechat-devel-perl
|
||||
----
|
||||
|
||||
[[v2.0_buflist_eval]]
|
||||
=== Evaluation in buflist
|
||||
|
||||
The evaluation of expressions in buflist options is not recursive any more,
|
||||
to prevent too many evaluations, for example in buffer variables
|
||||
(see issue #1060 for more information). +
|
||||
If you are using custom variables/options containing evaluated expressions,
|
||||
like `${some.config.option}`, and if this option contains evaluated strings (`${...}`),
|
||||
you must evaluate them with: `${eval:${some.config.option}}`.
|
||||
|
||||
[NOTE]
|
||||
The default buflist formats (`${format_buffer}`, `${format_name}`,
|
||||
`${format_hotlist}`, ...) are automatically evaluated in options _buflist.format.buffer_,
|
||||
_buflist.format.buffer_current_ and _buflist.format.hotlist_.
|
||||
|
||||
[[v2.0_hook_connect]]
|
||||
=== Function hook_connect
|
||||
|
||||
In scripts, the arguments _status_, _gnutls_rc_ and _sock_ sent to the callback
|
||||
of _hook_connect_ are now integers (they were strings in older releases). +
|
||||
To be compatible with all versions, it is recommended to convert the argument
|
||||
to integer before using it, for example in Python: `int(sock)`.
|
||||
|
||||
[[v2.0_hook_fd]]
|
||||
=== Function hook_fd
|
||||
|
||||
In scripts, the argument _fd_ sent to the callback of _hook_fd_ is now
|
||||
an integer (it was a string in older releases). +
|
||||
To be compatible with all versions, it is recommended to convert the argument
|
||||
to integer before using it, for example in Python: `int(fd)`.
|
||||
|
||||
[[v1.9.1]]
|
||||
== Version 1.9.1 (2017-09-23)
|
||||
|
||||
Bug fix and maintenance release.
|
||||
|
||||
[[v1.9]]
|
||||
== Version 1.9 (2017-06-25)
|
||||
|
||||
No release note.
|
||||
|
||||
[[v1.8]]
|
||||
== Version 1.8 (2017-05-13)
|
||||
|
||||
[[v1.8_buflist_plugin]]
|
||||
=== Buflist plugin
|
||||
|
||||
A new plugin called "buflist" has been added, it replaces the script "buffers.pl".
|
||||
|
||||
If the script is installed, you will see two sidebars with list of buffers.
|
||||
|
||||
If you fell in love with buflist and that the script buffers.pl is installed,
|
||||
you can uninstall the script and remove its bar with these commands:
|
||||
|
||||
----
|
||||
/script remove buffers.pl
|
||||
/bar del buffers
|
||||
----
|
||||
|
||||
If you don't want the list of buffers, you can disable buflist:
|
||||
|
||||
----
|
||||
/set buflist.look.enabled off
|
||||
----
|
||||
|
||||
To save extra memory, you can even unload the buflist plugin, remove the bar and
|
||||
prevent the plugin from loading on next startup:
|
||||
|
||||
----
|
||||
/plugin unload buflist
|
||||
/bar del buflist
|
||||
/set weechat.plugin.autoload "*,!buflist"
|
||||
----
|
||||
|
||||
[[v1.8_options]]
|
||||
=== Options
|
||||
|
||||
The option _script.scripts.url_force_https_ has been removed because now the
|
||||
site weechat.org can only be used with HTTPS. +
|
||||
Both HTTP and HTTPS protocols are allowed in the option _script.scripts.url_.
|
||||
For http://weechat.org/ an automatic redirection to https://weechat.org/ will
|
||||
occur, so you should check that the CA certificates are properly installed
|
||||
on your machine.
|
||||
|
||||
Aspell option with color for suggestion on a misspelled word has been renamed:
|
||||
|
||||
* _aspell.color.suggestions_ has been renamed to _aspell.color.suggestion_
|
||||
|
||||
[[v1.7.1]]
|
||||
== Version 1.7.1 (2017-04-22)
|
||||
|
||||
@@ -856,7 +422,7 @@ behavior (never hide arguments, even with a channel key), you can do:
|
||||
=== Jump to first/last buffer
|
||||
|
||||
The command `/input jump_last_buffer` has been replaced by `/buffer +`.
|
||||
You can rebind the key kbd:[Alt+j], kbd:[Alt+l] (`L`):
|
||||
You can rebind the key kbd:[Alt+j], kbd:[Alt+l]:
|
||||
|
||||
----
|
||||
/key bind meta-jmeta-l /buffer +
|
||||
@@ -913,19 +479,11 @@ obsolete plugins).
|
||||
=== Bare display
|
||||
|
||||
A bare display mode has been added (for easy text selection and click on URLs),
|
||||
the new default key is kbd:[Alt+l] (`L`).
|
||||
the new default key is kbd:[Alt+l].
|
||||
|
||||
Use command `/key missing` to add the key or `/key listdiff` to see differences
|
||||
between your current keys and WeeChat default keys.
|
||||
|
||||
[[v1.0_hook_print]]
|
||||
=== Function hook_print
|
||||
|
||||
In scripts, the arguments _displayed_ and _highlight_ sent to the callback of
|
||||
_hook_print_ are now integers (they were strings in older releases). +
|
||||
To be compatible with all versions, it is recommended to convert the argument
|
||||
to integer before testing it, for example in Python: `if int(highlight):`.
|
||||
|
||||
[[v0.4.3]]
|
||||
== Version 0.4.3 (2014-02-09)
|
||||
|
||||
@@ -1111,17 +669,17 @@ accordingly).
|
||||
|
||||
[NOTE]
|
||||
For packagers: you should create the link `weechat-curses` -> `weechat` if it's
|
||||
not automatically created in the package (both CMake and configure are creating
|
||||
not automatically created in the package (both cmake and configure are creating
|
||||
this link on make install).
|
||||
|
||||
[[v0.4.2_man_page_documentation]]
|
||||
=== Man page / documentation
|
||||
|
||||
Documentation is not built by default any more, you have to use option
|
||||
`-DENABLE_DOC=ON` in cmake command to enable it.
|
||||
`-DENABLE_DOC=ON` in cmake to enable it.
|
||||
|
||||
The man page is now built with asciidoc and translated in several
|
||||
languages. A new CMake option `ENABLE_MAN` has been added to compile man page
|
||||
languages. A new cmake option `ENABLE_MAN` has been added to compile man page
|
||||
(`OFF` by default).
|
||||
|
||||
[[v0.4.2_aspell_colors]]
|
||||
@@ -1636,6 +1194,10 @@ Major differences:
|
||||
accordingly, scripts and plugins must have been designed for version 0.3.x to
|
||||
be loaded into WeeChat.
|
||||
|
||||
More information about new API is available on wiki:
|
||||
http://wiki.flashtux.org/wiki/WeeChat_0.3.0
|
||||
and http://wiki.flashtux.org/wiki/WeeChat_0.3.0_API
|
||||
|
||||
[[v0.2.6.3]]
|
||||
== Version 0.2.6.3 (2009-06-13)
|
||||
|
||||
|
||||
+3
-3
@@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# Copyright (C) 2003-2019 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2017 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2005 Julien Louis <ptitlouis@sysif.net>
|
||||
# Copyright (C) 2005-2006 Emmanuel Bouthenot <kolter@openics.org>
|
||||
#
|
||||
@@ -17,7 +17,7 @@
|
||||
# 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/>.
|
||||
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
###
|
||||
@@ -64,7 +64,7 @@ run "rm -f ABOUT-NLS"
|
||||
run "rm -rf intl"
|
||||
|
||||
# execute autoreconf cmds
|
||||
run "autoreconf -vi"
|
||||
run "autoreconf -fvi"
|
||||
|
||||
# ending
|
||||
rm -f $AUTOGEN_LOG
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2019 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2017 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
@@ -14,7 +14,7 @@
|
||||
# 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/>.
|
||||
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
# - Find Asciidoctor
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2019 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2017 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
@@ -14,7 +14,7 @@
|
||||
# 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/>.
|
||||
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
# - Find Aspell
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2014-2019 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2014-2017 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
@@ -14,7 +14,7 @@
|
||||
# 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/>.
|
||||
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
# - Find CppUTest
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2019 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2017 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
@@ -14,7 +14,7 @@
|
||||
# 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/>.
|
||||
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
# - Find Gcrypt
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2019 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2017 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2007 Julien Louis <ptitlouis@sysif.net>
|
||||
# Copyright (C) 2009 Emmanuel Bouthenot <kolter@openics.org>
|
||||
#
|
||||
@@ -16,7 +16,7 @@
|
||||
# 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/>.
|
||||
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
# - Find Gettext
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2019 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2017 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2009 Emmanuel Bouthenot <kolter@openics.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
@@ -15,7 +15,7 @@
|
||||
# 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/>.
|
||||
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
# - Find GnuTLS
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2011-2019 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2011-2017 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
@@ -14,7 +14,7 @@
|
||||
# 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/>.
|
||||
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
# - Find Guile
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2019 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2017 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
@@ -14,7 +14,7 @@
|
||||
# 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/>.
|
||||
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
# - Find Iconv
|
||||
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2019 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2017 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
@@ -14,7 +14,7 @@
|
||||
# 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/>.
|
||||
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
# - Find Lua
|
||||
|
||||
+5
-14
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2019 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2017 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
@@ -14,7 +14,7 @@
|
||||
# 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/>.
|
||||
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
if(NCURSES_FOUND)
|
||||
@@ -23,8 +23,9 @@ endif()
|
||||
|
||||
find_path(NCURSES_INCLUDE_PATH
|
||||
NAMES ncurses.h curses.h
|
||||
PATH_SUFFIXES ncursesw ncurses
|
||||
PATHS /usr/include /usr/local/include /usr/pkg/include
|
||||
PATHS /usr/include/ncursesw /usr/include/ncurses /usr/include
|
||||
/usr/local/include/ncursesw /usr/local/include/ncurses /usr/local/include
|
||||
/usr/pkg/include/ncursesw /usr/pkg/include/ncurses /usr/pkg/include
|
||||
)
|
||||
|
||||
find_library(NCURSESW_LIBRARY
|
||||
@@ -33,22 +34,12 @@ find_library(NCURSESW_LIBRARY
|
||||
)
|
||||
|
||||
if(NCURSESW_LIBRARY)
|
||||
find_package(PkgConfig QUIET)
|
||||
if(PKG_CONFIG_FOUND)
|
||||
pkg_search_module(NCURSES ncursesw)
|
||||
set(NCURSESW_LIBRARY ${NCURSES_LIBRARIES} ${NCURSES_CFLAGS_OTHER})
|
||||
endif()
|
||||
set(NCURSES_LIBRARY ${NCURSESW_LIBRARY})
|
||||
else()
|
||||
find_library(NCURSES_LIBRARY
|
||||
NAMES ncurses
|
||||
PATHS /lib /usr/lib /usr/local/lib /usr/pkg/lib
|
||||
)
|
||||
find_package(PkgConfig QUIET)
|
||||
if(PKG_CONFIG_FOUND)
|
||||
pkg_search_module(NCURSES ncurses)
|
||||
set(NCURSES_LIBRARY ${NCURSES_LIBRARIES} ${NCURSES_CFLAGS_OTHER})
|
||||
endif()
|
||||
if(NCURSES_LIBRARY)
|
||||
message("*** WARNING:\n"
|
||||
"*** ncursesw library not found! Falling back to \"ncurses\"\n"
|
||||
|
||||
@@ -1,62 +0,0 @@
|
||||
#
|
||||
# Copyright (C) 2003-2017 Adam Saponara <as@php.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/>.
|
||||
#
|
||||
|
||||
if(PHP_FOUND)
|
||||
set(PHP_FIND_QUIETLY TRUE)
|
||||
endif()
|
||||
|
||||
find_package(PkgConfig)
|
||||
if(PKG_CONFIG_FOUND)
|
||||
pkg_search_module(PHP php7)
|
||||
endif()
|
||||
|
||||
if(NOT PHP_FOUND)
|
||||
find_program(PHP_CONFIG_EXECUTABLE NAMES
|
||||
php-config7.3 php-config73
|
||||
php-config7.2 php-config72
|
||||
php-config7.1 php-config71
|
||||
php-config7.0 php-config70
|
||||
php-config php-config7)
|
||||
if (PHP_CONFIG_EXECUTABLE)
|
||||
execute_process(COMMAND ${PHP_CONFIG_EXECUTABLE} --prefix OUTPUT_VARIABLE PHP_LIB_PREFIX OUTPUT_STRIP_TRAILING_WHITESPACE)
|
||||
execute_process(COMMAND ${PHP_CONFIG_EXECUTABLE} --includes OUTPUT_VARIABLE PHP_INCLUDE_DIRS OUTPUT_STRIP_TRAILING_WHITESPACE)
|
||||
execute_process(COMMAND ${PHP_CONFIG_EXECUTABLE} --libs OUTPUT_VARIABLE PHP_LIBS OUTPUT_STRIP_TRAILING_WHITESPACE)
|
||||
execute_process(COMMAND ${PHP_CONFIG_EXECUTABLE} --version OUTPUT_VARIABLE PHP_VERSION OUTPUT_STRIP_TRAILING_WHITESPACE)
|
||||
if(${PHP_VERSION} MATCHES "^7")
|
||||
find_library(PHP_LIB
|
||||
NAMES php7.3 php7.2 php7.1 php7.0 php7
|
||||
HINTS ${PHP_LIB_PREFIX} ${PHP_LIB_PREFIX}/lib ${PHP_LIB_PREFIX}/lib64)
|
||||
if(PHP_LIB)
|
||||
get_filename_component(PHP_LIB_DIR ${PHP_LIB} DIRECTORY)
|
||||
string(REPLACE "-I" "" PHP_INCLUDE_DIRS ${PHP_INCLUDE_DIRS})
|
||||
SEPARATE_ARGUMENTS(PHP_INCLUDE_DIRS)
|
||||
set(PHP_LDFLAGS "-L${PHP_LIB_DIR} ${PHP_LIBS}")
|
||||
set(PHP_FOUND 1)
|
||||
endif()
|
||||
endif()
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if(NOT PHP_FOUND)
|
||||
message(WARNING "Could not find libphp7. "
|
||||
"Ensure PHP >=7.0.0 development libraries are installed and compiled with `--enable-embed`. "
|
||||
"Ensure `php-config` is in `PATH`. "
|
||||
"You may set `-DCMAKE_LIBRARY_PATH=...` to the directory containing libphp7."
|
||||
)
|
||||
endif()
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2019 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2017 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
@@ -14,7 +14,7 @@
|
||||
# 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/>.
|
||||
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
# - Find Perl libraries
|
||||
|
||||
+77
-11
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2019 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2017 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2009 Julien Louis <ptitlouis@sysif.net>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
@@ -15,7 +15,7 @@
|
||||
# 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/>.
|
||||
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
# - Find Python
|
||||
@@ -24,14 +24,80 @@
|
||||
# code sets the following variables:
|
||||
#
|
||||
# PYTHON_EXECUTABLE = full path to the python binary
|
||||
# PYTHON_INCLUDE_DIRS = path to where python.h can be found
|
||||
# PYTHON_LIBRARIES = path to where libpython.so* can be found
|
||||
# PYTHON_LDFLAGS = python compiler options for linking
|
||||
# PYTHON_INCLUDE_PATH = path to where python.h can be found
|
||||
# PYTHON_LIBRARY = path to where libpython.so* can be found
|
||||
# PYTHON_LFLAGS = python compiler options for linking
|
||||
|
||||
if(PYTHON_FOUND)
|
||||
# Already in cache, be silent
|
||||
set(PYTHON_FIND_QUIETLY TRUE)
|
||||
endif()
|
||||
|
||||
if(ENABLE_PYTHON3)
|
||||
find_program(PYTHON_EXECUTABLE
|
||||
NAMES python3.5 python3.4 python3.3 python3.2 python3.1 python3.0 python3 python2.7 python2.6 python2.5 python
|
||||
PATHS /usr/bin /usr/local/bin /usr/pkg/bin
|
||||
)
|
||||
else()
|
||||
find_program(PYTHON_EXECUTABLE
|
||||
NAMES python2.7 python2.6 python2.5 python
|
||||
PATHS /usr/bin /usr/local/bin /usr/pkg/bin
|
||||
)
|
||||
endif()
|
||||
|
||||
if(PYTHON_EXECUTABLE)
|
||||
execute_process(
|
||||
COMMAND ${PYTHON_EXECUTABLE} -c "import sys; from distutils.sysconfig import *; sys.stdout.write(get_config_var('INCLUDEPY'))"
|
||||
OUTPUT_VARIABLE PYTHON_INC_DIR
|
||||
)
|
||||
|
||||
execute_process(
|
||||
COMMAND ${PYTHON_EXECUTABLE} -c "import sys; from distutils.sysconfig import *; sys.stdout.write(get_config_var('LIBPL'))"
|
||||
OUTPUT_VARIABLE PYTHON_POSSIBLE_LIB_PATH
|
||||
)
|
||||
|
||||
execute_process(
|
||||
COMMAND ${PYTHON_EXECUTABLE} -c "import sys; from distutils.sysconfig import *; sys.stdout.write(get_config_var('LIBS') + ' ' + get_config_var('LINKFORSHARED'))"
|
||||
OUTPUT_VARIABLE PYTHON_LFLAGS
|
||||
)
|
||||
|
||||
find_path(PYTHON_INCLUDE_PATH
|
||||
NAMES Python.h
|
||||
HINTS ${PYTHON_INC_DIR}
|
||||
)
|
||||
if(ENABLE_PYTHON3)
|
||||
find_library(PYTHON_LIBRARY
|
||||
NAMES python3.5 python3.4 python3.3 python3.2 python3.1 python3.0 python3 python2.7 python2.6 python2.5 python
|
||||
HINTS ${PYTHON_POSSIBLE_LIB_PATH}
|
||||
)
|
||||
else()
|
||||
find_library(PYTHON_LIBRARY
|
||||
NAMES python2.7 python2.6 python2.5 python
|
||||
HINTS ${PYTHON_POSSIBLE_LIB_PATH}
|
||||
)
|
||||
endif()
|
||||
|
||||
if(PYTHON_LIBRARY AND PYTHON_INCLUDE_PATH)
|
||||
execute_process(
|
||||
COMMAND ${PYTHON_EXECUTABLE} -c "import sys; sys.stdout.write(sys.version[:3])"
|
||||
OUTPUT_VARIABLE PYTHON_VERSION
|
||||
)
|
||||
execute_process(
|
||||
COMMAND ${PYTHON_EXECUTABLE} -c "import sys; sys.stdout.write(str(sys.version_info < (2,5)))"
|
||||
OUTPUT_VARIABLE PYTHON_OLD_VERSION
|
||||
)
|
||||
if(${PYTHON_OLD_VERSION} STREQUAL "True")
|
||||
message("Python >= 2.5 is needed to build python plugin, version found: ${PYTHON_VERSION}")
|
||||
else()
|
||||
set(PYTHON_FOUND TRUE)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
mark_as_advanced(
|
||||
PYTHON_EXECUTABLE
|
||||
PYTHON_INCLUDE_PATH
|
||||
PYTHON_LIBRARY
|
||||
PYTHON_LFLAGS
|
||||
)
|
||||
|
||||
include(FindPkgConfig)
|
||||
|
||||
if(ENABLE_PYTHON2)
|
||||
pkg_check_modules(PYTHON python2)
|
||||
else()
|
||||
pkg_check_modules(PYTHON python3)
|
||||
endif()
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2019 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2017 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
@@ -14,7 +14,7 @@
|
||||
# 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/>.
|
||||
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
# - Find Ruby
|
||||
@@ -33,7 +33,7 @@ endif()
|
||||
|
||||
find_package(PkgConfig)
|
||||
if(PKG_CONFIG_FOUND)
|
||||
pkg_search_module(RUBY 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-1.8)
|
||||
pkg_search_module(RUBY ruby-2.3 ruby-2.2 ruby-2.1 ruby-2.0 ruby-1.9 ruby-1.8)
|
||||
endif()
|
||||
|
||||
if(RUBY_FOUND)
|
||||
@@ -41,7 +41,7 @@ if(RUBY_FOUND)
|
||||
mark_as_advanced(RUBY_LIB)
|
||||
else()
|
||||
find_program(RUBY_EXECUTABLE
|
||||
NAMES ruby2.6.0 ruby260 ruby2.6 ruby2.5.0 ruby250 ruby2.5 ruby2.4.0 ruby240 ruby2.4 ruby2.3.0 ruby230 ruby2.3 ruby23 ruby2.2.3 ruby223 ruby2.2.2 ruby222 ruby2.2.1 ruby221 ruby2.2.0 ruby220 ruby2.2 ruby22 ruby2.1.7 ruby217 ruby2.1.6 ruby216 ruby2.1.5 ruby215 ruby2.1.4 ruby214 ruby2.1.3 ruby213 ruby2.1.2 ruby212 ruby2.1.1 ruby211 ruby2.1.0 ruby210 ruby2.1 ruby21 ruby2.0 ruby20 ruby1.9.3 ruby193 ruby1.9.2 ruby192 ruby1.9.1 ruby191 ruby1.9 ruby19 ruby1.8 ruby18 ruby
|
||||
NAMES ruby2.3.0 ruby230 ruby2.3 ruby23 ruby2.2.3 ruby223 ruby2.2.2 ruby222 ruby2.2.1 ruby221 ruby2.2.0 ruby220 ruby2.2 ruby22 ruby2.1.7 ruby217 ruby2.1.6 ruby216 ruby2.1.5 ruby215 ruby2.1.4 ruby214 ruby2.1.3 ruby213 ruby2.1.2 ruby212 ruby2.1.1 ruby211 ruby2.1.0 ruby210 ruby2.1 ruby21 ruby2.0 ruby20 ruby1.9.3 ruby193 ruby1.9.2 ruby192 ruby1.9.1 ruby191 ruby1.9 ruby19 ruby1.8 ruby18 ruby
|
||||
PATHS /usr/bin /usr/local/bin /usr/pkg/bin
|
||||
)
|
||||
if(RUBY_EXECUTABLE)
|
||||
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
#
|
||||
# Copyright (C) 2008 Julien Louis <ptitlouis@sysif.net>
|
||||
# Copyright (C) 2008-2019 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2008-2017 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
@@ -15,7 +15,7 @@
|
||||
# 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/>.
|
||||
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
# - Find Tcl includes and libraries.
|
||||
|
||||
+3
-3
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2015-2019 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2015-2017 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
@@ -14,10 +14,10 @@
|
||||
# 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/>.
|
||||
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
# - Find V8 (Google's JavaScript engine)
|
||||
# - Find V8 (Google's Javascript engine)
|
||||
# This module finds if libv8 is installed and determines where
|
||||
# the include files and libraries are.
|
||||
#
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2019 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2017 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
@@ -14,7 +14,7 @@
|
||||
# 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/>.
|
||||
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
if(NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt")
|
||||
|
||||
+1
-1
@@ -13,7 +13,7 @@
|
||||
#define PACKAGE "@PROJECT_NAME@"
|
||||
#define PACKAGE_NAME "@PROJECT_NAME@"
|
||||
#define PACKAGE_STRING "@PKG_STRING@"
|
||||
#define WEECHAT_LIBDIR "@WEECHAT_LIBDIR@"
|
||||
#define WEECHAT_LIBDIR "@LIBDIR@"
|
||||
#define WEECHAT_SHAREDIR "@SHAREDIR@"
|
||||
#define LOCALEDIR "@LOCALEDIR@"
|
||||
#define WEECHAT_HOME "@WEECHAT_HOME@"
|
||||
|
||||
+157
-277
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2019 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2017 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2005 Benoit Papillault <benoit.papillault@free.fr>
|
||||
# Copyright (C) 2005-2006 Julien Louis <ptitlouis@sysif.net>
|
||||
# Copyright (C) 2005-2009 Emmanuel Bouthenot <kolter@openics.org>
|
||||
@@ -17,7 +17,7 @@
|
||||
# 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/>.
|
||||
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
# -*- Autoconf -*-
|
||||
@@ -37,7 +37,6 @@ AC_PROG_MAKE_SET
|
||||
AC_GNU_SOURCE
|
||||
AC_PROG_LN_S
|
||||
AM_PROG_LIBTOOL
|
||||
PKG_PROG_PKG_CONFIG
|
||||
|
||||
# Files to generate
|
||||
AC_CONFIG_FILES([weechat.pc])
|
||||
@@ -109,11 +108,10 @@ AH_VERBATIM([HAVE_ASPELL_VERSION_STRING], [#undef HAVE_ASPELL_VERSION_STRING])
|
||||
AH_VERBATIM([HAVE_ENCHANT_GET_VERSION], [#undef HAVE_ENCHANT_GET_VERSION])
|
||||
AH_VERBATIM([HAVE_GUILE_GMP_MEMORY_FUNCTIONS], [#undef HAVE_GUILE_GMP_MEMORY_FUNCTIONS])
|
||||
AH_VERBATIM([PLUGIN_ALIAS], [#undef PLUGIN_ALIAS])
|
||||
AH_VERBATIM([PLUGIN_BUFLIST], [#undef PLUGIN_BUFLIST])
|
||||
AH_VERBATIM([PLUGIN_ASPELL], [#undef PLUGIN_ASPELL])
|
||||
AH_VERBATIM([PLUGIN_CHARSET], [#undef PLUGIN_CHARSET])
|
||||
AH_VERBATIM([PLUGIN_EXEC], [#undef PLUGIN_EXEC])
|
||||
AH_VERBATIM([PLUGIN_FIFO], [#undef PLUGIN_FIFO])
|
||||
AH_VERBATIM([PLUGIN_FSET], [#undef PLUGIN_FSET])
|
||||
AH_VERBATIM([PLUGIN_IRC], [#undef PLUGIN_IRC])
|
||||
AH_VERBATIM([PLUGIN_LOGGER], [#undef PLUGIN_LOGGER])
|
||||
AH_VERBATIM([PLUGIN_RELAY], [#undef PLUGIN_RELAY])
|
||||
@@ -122,11 +120,9 @@ AH_VERBATIM([PLUGIN_PERL], [#undef PLUGIN_PERL])
|
||||
AH_VERBATIM([PLUGIN_PYTHON], [#undef PLUGIN_PYTHON])
|
||||
AH_VERBATIM([PLUGIN_RUBY], [#undef PLUGIN_RUBY])
|
||||
AH_VERBATIM([PLUGIN_LUA], [#undef PLUGIN_LUA])
|
||||
AH_VERBATIM([PLUGIN_PHP], [#undef PLUGIN_PHP])
|
||||
AH_VERBATIM([PLUGIN_TCL], [#undef PLUGIN_TCL])
|
||||
AH_VERBATIM([PLUGIN_GUILE], [#undef PLUGIN_GUILE])
|
||||
AH_VERBATIM([PLUGIN_JAVASCRIPT], [#undef PLUGIN_JAVASCRIPT])
|
||||
AH_VERBATIM([PLUGIN_SPELL], [#undef PLUGIN_SPELL])
|
||||
AH_VERBATIM([PLUGIN_TRIGGER], [#undef PLUGIN_TRIGGER])
|
||||
AH_VERBATIM([PLUGIN_XFER], [#undef PLUGIN_XFER])
|
||||
AH_VERBATIM([TESTS], [#undef TESTS])
|
||||
@@ -138,15 +134,14 @@ AH_VERBATIM([CA_FILE], [#define CA_FILE "/etc/ssl/certs/ca-certificates.crt"])
|
||||
# Arguments for ./configure
|
||||
|
||||
AC_ARG_ENABLE(ncurses, [ --disable-ncurses turn off ncurses interface (default=compiled if found)],enable_ncurses=$enableval,enable_ncurses=yes)
|
||||
AC_ARG_ENABLE(headless, [ --disable-headless turn off headless binary (default=compiled), this is required for tests],enable_headless=$enableval,enable_headless=yes)
|
||||
AC_ARG_ENABLE(gnutls, [ --disable-gnutls turn off gnutls support (default=compiled if found)],enable_gnutls=$enableval,enable_gnutls=yes)
|
||||
AC_ARG_ENABLE(largefile, [ --disable-largefile turn off Large File Support (default=on)],enable_largefile=$enableval,enable_largefile=yes)
|
||||
AC_ARG_ENABLE(alias, [ --disable-alias turn off Alias plugin (default=compiled)],enable_alias=$enableval,enable_alias=yes)
|
||||
AC_ARG_ENABLE(buflist, [ --disable-buflist turn off Buflist plugin (default=compiled)],enable_buflist=$enableval,enable_buflist=yes)
|
||||
AC_ARG_ENABLE(charset, [ --disable-charset turn off Charset plugin (default=compiled)],enable_charset=$enableval,enable_charset=yes)
|
||||
AC_ARG_ENABLE(aspell, [ --disable-aspell turn off Aspell plugin (default=compiled)],enable_aspell=$enableval,enable_aspell=yes)
|
||||
AC_ARG_ENABLE(enchant, [ --enable-enchant turn on Enchant lib for Aspell plugin (default=off)],enable_enchant=$enableval,enable_enchant=no)
|
||||
AC_ARG_ENABLE(charset, [ --disable-charset turn off Charset plugin (default=compiled if found)],enable_charset=$enableval,enable_charset=yes)
|
||||
AC_ARG_ENABLE(exec, [ --disable-exec turn off Exec plugin (default=compiled)],enable_exec=$enableval,enable_exec=yes)
|
||||
AC_ARG_ENABLE(fifo, [ --disable-fifo turn off Fifo plugin (default=compiled)],enable_fifo=$enableval,enable_fifo=yes)
|
||||
AC_ARG_ENABLE(fset, [ --disable-fset turn off Fast Set plugin (default=compiled)],enable_fset=$enableval,enable_fset=yes)
|
||||
AC_ARG_ENABLE(irc, [ --disable-irc turn off IRC plugin (default=compiled)],enable_irc=$enableval,enable_irc=yes)
|
||||
AC_ARG_ENABLE(logger, [ --disable-logger turn off Logger plugin (default=compiled)],enable_logger=$enableval,enable_logger=yes)
|
||||
AC_ARG_ENABLE(relay, [ --disable-relay turn off Relay plugin (default=compiled)],enable_relay=$enableval,enable_relay=yes)
|
||||
@@ -154,17 +149,14 @@ AC_ARG_ENABLE(script, [ --disable-script turn off Script plugin (d
|
||||
AC_ARG_ENABLE(scripts, [ --disable-scripts turn off script plugins (perl, python, ...) (default=compiled if found)],enable_scripts=$enableval,enable_scripts=yes)
|
||||
AC_ARG_ENABLE(perl, [ --disable-perl turn off Perl script plugin (default=compiled if found)],enable_perl=$enableval,enable_perl=yes)
|
||||
AC_ARG_ENABLE(python, [ --disable-python turn off Python script plugin (default=compiled if found)],enable_python=$enableval,enable_python=yes)
|
||||
AC_ARG_ENABLE(python2, [ --enable-python2 use Python 2 instead of Python 3 (default=off)],enable_python2=$enableval,enable_python2=no)
|
||||
AC_ARG_ENABLE(python3, [ --enable-python3 use Python 3.x if found (NOT recommended because many "official" scripts won't work) (default=off)],enable_python3=$enableval,enable_python3=no)
|
||||
AC_ARG_ENABLE(ruby, [ --disable-ruby turn off Ruby script plugin (default=compiled if found)],enable_ruby=$enableval,enable_ruby=yes)
|
||||
AC_ARG_ENABLE(lua, [ --disable-lua turn off Lua script plugin (default=compiled if found)],enable_lua=$enableval,enable_lua=yes)
|
||||
AC_ARG_ENABLE(tcl, [ --disable-tcl turn off Tcl script plugin (default=compiled if found)],enable_tcl=$enableval,enable_tcl=yes)
|
||||
AC_ARG_ENABLE(guile, [ --disable-guile turn off Guile (scheme) script plugin (default=compiled if found)],enable_guile=$enableval,enable_guile=yes)
|
||||
AC_ARG_ENABLE(javascript, [ --disable-javascript turn off JavaScript script plugin (default=compiled if found)],enable_javascript=$enableval,enable_javascript=yes)
|
||||
AC_ARG_ENABLE(php, [ --disable-php turn off PHP script plugin (default=compiled if found)],enable_php=$enableval,enable_php=yes)
|
||||
AC_ARG_ENABLE(spell, [ --disable-spell turn off Spell checker plugin (default=compiled)],enable_spell=$enableval,enable_spell=yes)
|
||||
AC_ARG_ENABLE(enchant, [ --enable-enchant turn on Enchant lib for Spell checker plugin (default=off)],enable_enchant=$enableval,enable_enchant=no)
|
||||
AC_ARG_ENABLE(javascript, [ --disable-javascript turn off Javascript script plugin (default=compiled if found)],enable_javascript=$enableval,enable_javascript=yes)
|
||||
AC_ARG_ENABLE(trigger, [ --disable-trigger turn off Trigger plugin (default=compiled)],enable_trigger=$enableval,enable_trigger=yes)
|
||||
AC_ARG_ENABLE(xfer, [ --disable-xfer turn off Xfer (file transfer) plugin (default=compiled)],enable_xfer=$enableval,enable_xfer=yes)
|
||||
AC_ARG_ENABLE(xfer, [ --disable-xfer turn off Xfer (file transfer) plugin (default=compiled if found)],enable_xfer=$enableval,enable_xfer=yes)
|
||||
AC_ARG_WITH(tclconfig, [ --with-tclconfig=DIR directory containing tcl configuration (tclConfig.sh)],tclconfig=$withval,tclconfig='')
|
||||
AC_ARG_WITH(debug, [ --with-debug debugging: 0=no debug, 1=debug compilation (default=1)],debug=$withval,debug=1)
|
||||
AC_ARG_ENABLE(tests, [ --enable-tests turn on build of tests (default=not built)],enable_tests=$enableval,enable_tests=no)
|
||||
@@ -187,10 +179,6 @@ AC_DEFINE_UNQUOTED(CA_FILE, "$CA_FILE")
|
||||
not_asked=""
|
||||
not_found=""
|
||||
|
||||
if test "x$enable_headless" != "xyes" && test "x$enable_tests" = "xyes"; then
|
||||
AC_MSG_ERROR([*** Headless mode is required for tests.])
|
||||
fi
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
# pkg-config
|
||||
# ------------------------------------------------------------------------------
|
||||
@@ -247,14 +235,6 @@ else
|
||||
not_asked="$not_asked ncurses"
|
||||
fi
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
# headless
|
||||
# ------------------------------------------------------------------------------
|
||||
|
||||
if test "x$enable_headless" != "xyes" ; then
|
||||
not_asked="$not_asked headless"
|
||||
fi
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
# iconv
|
||||
# ------------------------------------------------------------------------------
|
||||
@@ -308,7 +288,6 @@ if test "x$enable_scripts" = "xno" ; then
|
||||
enable_tcl="no"
|
||||
enable_guile="no"
|
||||
enable_javascript="no"
|
||||
enable_php="no"
|
||||
fi
|
||||
|
||||
# ---------------------------------- alias -------------------------------------
|
||||
@@ -323,12 +302,77 @@ else
|
||||
not_asked="$not_asked alias"
|
||||
fi
|
||||
|
||||
# --------------------------------- buflist ------------------------------------
|
||||
# ---------------------------------- aspell ------------------------------------
|
||||
|
||||
if test "x$enable_buflist" = "xyes" ; then
|
||||
AC_DEFINE(PLUGIN_BUFLIST)
|
||||
if test "x$enable_aspell" = "xyes" ; then
|
||||
ac_found_enchant_lib="no"
|
||||
if test "x$enable_enchant" = "xyes" ; then
|
||||
PKG_CHECK_MODULES(ENCHANT, [enchant], ac_found_enchant_lib="yes", ac_found_enchant_lib="no")
|
||||
fi
|
||||
if test "x$ac_found_enchant_lib" = "xyes" ; then
|
||||
CFLAGS="$CFLAGS -DUSE_ENCHANT"
|
||||
ASPELL_LIB_USED="enchant"
|
||||
|
||||
# check if function enchant_get_version() exists
|
||||
ac_save_CFLAGS="$CFLAGS"
|
||||
ac_save_LDFLAGS="$LDFLAGS"
|
||||
CFLAGS="$CFLAGS $ENCHANT_CFLAGS"
|
||||
LDFLAGS="$LDFLAGS $ENCHANT_LIBS"
|
||||
AC_CACHE_CHECK([for enchant_get_version() support], ac_cv_have_enchant_get_version, [
|
||||
AC_LINK_IFELSE([AC_LANG_PROGRAM(
|
||||
[[ #include <enchant.h>]],
|
||||
[[ const char *version = enchant_get_version(); ]])],
|
||||
[ ac_have_enchant_get_version="yes" ],
|
||||
[ ac_have_enchant_get_version="no" ])])
|
||||
CFLAGS="$ac_save_CFLAGS"
|
||||
LDFLAGS="$ac_save_LDFLAGS"
|
||||
if test "x$ac_have_enchant_get_version" = "xyes"; then
|
||||
AC_DEFINE(HAVE_ENCHANT_GET_VERSION)
|
||||
fi
|
||||
else
|
||||
ASPELL_CFLAGS=""
|
||||
ASPELL_LFLAGS=""
|
||||
|
||||
AC_CHECK_HEADER(aspell.h,ac_found_aspell_header="yes",ac_found_aspell_header="no")
|
||||
AC_CHECK_LIB(aspell,new_aspell_speller,ac_found_aspell_lib="yes",ac_found_aspell_lib="no")
|
||||
|
||||
AC_MSG_CHECKING(for aspell headers and librairies)
|
||||
if test "x$ac_found_aspell_header" = "xno" -o "x$ac_found_aspell_lib" = "xno" ; then
|
||||
AC_MSG_RESULT(no)
|
||||
AC_MSG_WARN([
|
||||
*** Aspell headers and/or libraries couldn't be found on your system.
|
||||
*** Try to install them with your software package manager.
|
||||
*** WeeChat will be built without Aspell support.])
|
||||
enable_aspell="no"
|
||||
not_found="$not_found aspell"
|
||||
else
|
||||
AC_MSG_RESULT(yes)
|
||||
ASPELL_LFLAGS="$ASPELL_LFLAGS -laspell"
|
||||
ASPELL_LIB_USED="aspell"
|
||||
|
||||
# check if function aspell_version_string() exists
|
||||
ac_save_LDFLAGS="$LDFLAGS"
|
||||
LDFLAGS="$LDFLAGS $ASPELL_LFLAGS"
|
||||
AC_CACHE_CHECK([for aspell_version_string() support], ac_cv_have_aspell_version_string, [
|
||||
AC_LINK_IFELSE([AC_LANG_PROGRAM(
|
||||
[[ #include <aspell.h>]],
|
||||
[[ const char *version = aspell_version_string(); ]])],
|
||||
[ ac_have_aspell_version_string="yes" ],
|
||||
[ ac_have_aspell_version_string="no" ])])
|
||||
LDFLAGS="$ac_save_LDFLAGS"
|
||||
if test "x$ac_have_aspell_version_string" = "xyes"; then
|
||||
AC_DEFINE(HAVE_ASPELL_VERSION_STRING)
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
else
|
||||
not_asked="$not_asked buflist"
|
||||
not_asked="$not_asked aspell"
|
||||
fi
|
||||
|
||||
if test "x$enable_aspell" = "xyes" ; then
|
||||
AC_SUBST(ASPELL_CFLAGS)
|
||||
AC_SUBST(ASPELL_LFLAGS)
|
||||
AC_DEFINE(PLUGIN_ASPELL)
|
||||
fi
|
||||
|
||||
# --------------------------------- charset ------------------------------------
|
||||
@@ -367,14 +411,6 @@ else
|
||||
not_asked="$not_asked fifo"
|
||||
fi
|
||||
|
||||
# --------------------------------- fset ---------------------------------------
|
||||
|
||||
if test "x$enable_fset" = "xyes" ; then
|
||||
AC_DEFINE(PLUGIN_FSET)
|
||||
else
|
||||
not_asked="$not_asked fset"
|
||||
fi
|
||||
|
||||
# ----------------------------------- irc --------------------------------------
|
||||
|
||||
if test "x$enable_irc" = "xyes" ; then
|
||||
@@ -474,18 +510,66 @@ fi
|
||||
PYTHON_VERSION=
|
||||
|
||||
if test "x$enable_python" = "xyes" ; then
|
||||
if test "x$enable_python2" = "xyes" ; then
|
||||
PKG_CHECK_MODULES(PYTHON, [python2], [PYTHON_FOUND=yes; PYTHON_VERSION=`$PKGCONFIG --modversion python2`], [PYTHON_FOUND=no])
|
||||
if test "x$enable_python3" = "xyes" ; then
|
||||
AC_PATH_PROGS(PYTHON, python3.5 python3.4 python3.3 python3.2 python3.1 python3.0 python3 python2.7 python2.6 python2.5 python2 python)
|
||||
else
|
||||
PKG_CHECK_MODULES(PYTHON, [python3], [PYTHON_FOUND=yes; PYTHON_VERSION=`$PKGCONFIG --modversion python3`], [PYTHON_FOUND=no])
|
||||
AC_PATH_PROGS(PYTHON, python2.7 python2.6 python2.5 python2 python)
|
||||
fi
|
||||
if test "x$PYTHON_FOUND" != "xyes" ; then
|
||||
if test -z $PYTHON ; then
|
||||
AC_MSG_WARN([
|
||||
*** Python must be installed on your system but python interpreter couldn't be found in path.
|
||||
*** Please check that python is in path, or install it with your software package manager.
|
||||
*** WeeChat will be built without Python support.])
|
||||
enable_python="no"
|
||||
not_found="$not_found python"
|
||||
else
|
||||
PYTHON_SYSPREFIX=`$PYTHON -c 'import sys; sys.stdout.write("%s" % sys.prefix)'`
|
||||
PYTHON_VERSION=`$PYTHON -c 'import sys; sys.stdout.write(sys.version[[:3]])'`
|
||||
PYTHON_INCLUDE=`$PYTHON -c "import sys, distutils.sysconfig, string; sys.stdout.write(distutils.sysconfig.get_config_var('INCLUDEPY'))"`
|
||||
PYTHON_OLD_VERSION=`$PYTHON -c "import sys; sys.stdout.write(str(sys.version_info < (2,5)))"`
|
||||
if test "x$PYTHON_OLD_VERSION" = "xTrue" ; then
|
||||
AC_MSG_WARN([
|
||||
*** Python >= 2.5 is needed to build Python plugin, version found: $PYTHON_VERSION.
|
||||
*** WeeChat will be built without Python support.])
|
||||
enable_python="no"
|
||||
not_found="$not_found python"
|
||||
else
|
||||
AC_MSG_CHECKING(for Python header files)
|
||||
if test -r "$PYTHON_INCLUDE/Python.h"; then
|
||||
PYTHON_CFLAGS="-I$PYTHON_INCLUDE"
|
||||
AC_MSG_RESULT(found)
|
||||
PYTHON_LIB=`$PYTHON -c "import sys, distutils.sysconfig; sys.stdout.write(distutils.sysconfig.get_config_var('LIBPL'))"`
|
||||
PYTHON_LFLAGS="-lpython$PYTHON_VERSION "`$PYTHON -c "import sys, distutils.sysconfig; sys.stdout.write(distutils.sysconfig.get_config_var('LIBS')+' '+distutils.sysconfig.get_config_var('SYSLIBS')+' '+distutils.sysconfig.get_config_var('LINKFORSHARED'))"`
|
||||
AC_MSG_CHECKING(for Python library)
|
||||
if test -r "$PYTHON_LIB/libpython$PYTHON_VERSION.so"; then
|
||||
PYTHON_LFLAGS="-L$PYTHON_LIB $PYTHON_LFLAGS"
|
||||
AC_MSG_RESULT(found)
|
||||
elif test -r "$PYTHON_LIB/libpython$PYTHON_VERSION.a"; then
|
||||
PYTHON_LFLAGS="-L$PYTHON_LIB $PYTHON_LFLAGS"
|
||||
AC_MSG_RESULT(found)
|
||||
elif test -r "$PYTHON_LIB/libpython$PYTHON_VERSION.dll.a"; then
|
||||
PYTHON_LFLAGS="-L$PYTHON_LIB $PYTHON_LFLAGS"
|
||||
AC_MSG_RESULT(found)
|
||||
elif test -r "$PYTHON_SYSPREFIX/lib/libpython$PYTHON_VERSION.so"; then
|
||||
PYTHON_LFLAGS="-L$PYTHON_SYSPREFIX/lib/ $PYTHON_LFLAGS"
|
||||
AC_MSG_RESULT(found)
|
||||
else
|
||||
AC_MSG_WARN([
|
||||
*** Python library couldn't be found on your system.
|
||||
*** Try to install it with your software package manager.
|
||||
*** WeeChat will be built without Python support.])
|
||||
enable_python="no"
|
||||
not_found="$not_found python"
|
||||
fi
|
||||
else
|
||||
AC_MSG_WARN([
|
||||
*** Python header files couldn't be found on your system.
|
||||
*** Try to install them with your software package manager.
|
||||
*** WeeChat will be built without Python support.])
|
||||
enable_python="no"
|
||||
not_found="$not_found python"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
else
|
||||
not_asked="$not_asked python"
|
||||
@@ -493,8 +577,7 @@ fi
|
||||
|
||||
if test "x$enable_python" = "xyes" ; then
|
||||
AC_SUBST(PYTHON_CFLAGS)
|
||||
AC_SUBST(PYTHON_LIBS)
|
||||
AC_SUBST(PYTHON_VERSION)
|
||||
AC_SUBST(PYTHON_LFLAGS)
|
||||
AC_DEFINE(PLUGIN_PYTHON)
|
||||
fi
|
||||
|
||||
@@ -505,7 +588,7 @@ RUBY_VERSION=
|
||||
if test "x$enable_ruby" = "xyes" ; then
|
||||
RUBY_CFLAGS=""
|
||||
RUBY_LFLAGS=""
|
||||
for v in "2.6" "2.5" "2.4" "2.3" "2.2" "2.1" "2.0" "1.9" "1.8" ; do
|
||||
for v in "2.3" "2.2" "2.1" "2.0" "1.9" "1.8" ; do
|
||||
pkgconfig_ruby_found=`$PKGCONFIG --exists ruby-$v 2>/dev/null`
|
||||
if test "x$?" = "x0" ; then
|
||||
RUBY_VERSION=`$PKGCONFIG --modversion ruby-$v`
|
||||
@@ -515,7 +598,6 @@ if test "x$enable_ruby" = "xyes" ; then
|
||||
fi
|
||||
done
|
||||
|
||||
# detect old Ruby versions
|
||||
if test "x$RUBY_CFLAGS" = "x" -o "x$RUBY_LFLAGS" = "x" ; then
|
||||
AC_PATH_PROGS(RUBY, ruby1.9.3 ruby1.9.2 ruby1.9.1 ruby1.9 ruby1.8 ruby)
|
||||
if test -z $RUBY ; then
|
||||
@@ -575,9 +657,9 @@ if test "x$enable_lua" = "xyes" ; then
|
||||
fi
|
||||
|
||||
if test "x$LUA_CFLAGS" = "x" -o "x$LUA_LFLAGS" = "x" ; then
|
||||
AC_MSG_CHECKING(for Lua headers and libraries with pkg-config)
|
||||
AC_MSG_CHECKING(for Lua headers and librairies with pkg-config)
|
||||
echo
|
||||
for l in "53" "5.3" "52" "5.2" "51" "5.1" "50" "5.0" "$lua_suffix" "" ; do
|
||||
for l in "$lua_suffix" "" "52" "5.2" "51" "5.1" "50" "5.0" ; do
|
||||
pkgconfig_lua_found=`$PKGCONFIG --exists lua$l 2>/dev/null`
|
||||
if test "x$?" = "x0" ; then
|
||||
LUA_VERSION=`$PKGCONFIG --modversion lua$l`
|
||||
@@ -596,9 +678,9 @@ if test "x$enable_lua" = "xyes" ; then
|
||||
|
||||
if test "x$LUA_CFLAGS" = "x" -o "x$LUA_LFLAGS" = "x" ; then
|
||||
LUACONFIG=""
|
||||
AC_CHECK_PROGS(LUACONFIG, lua-config53 lua-config5.3 lua-config52 lua-config5.2 lua-config51 lua-config5.1 lua-config50 lua-config5.0 lua-config)
|
||||
AC_CHECK_PROGS(LUACONFIG, lua-config lua-config52 lua-config5.2 lua-config51 lua-config5.1 lua-config50 lua-config5.0)
|
||||
if test "x$LUACONFIG" != "x" ; then
|
||||
AC_MSG_CHECKING(for Lua headers and libraries with lua-config)
|
||||
AC_MSG_CHECKING(for Lua headers and librairies with lua-config)
|
||||
echo
|
||||
LUA_CFLAGS=`$LUACONFIG --include`
|
||||
LUA_LFLAGS=`$LUACONFIG --libs`
|
||||
@@ -607,14 +689,14 @@ if test "x$enable_lua" = "xyes" ; then
|
||||
fi
|
||||
|
||||
if test "x$LUA_CFLAGS" = "x" -o "x$LUA_LFLAGS" = "x" ; then
|
||||
AC_MSG_CHECKING(for Lua headers and libraries)
|
||||
AC_MSG_CHECKING(for Lua headers and librairies)
|
||||
echo
|
||||
AC_CHECK_HEADER(lua.h,ac_found_lua_header="yes",ac_found_lua_header="no")
|
||||
AC_CHECK_HEADER(lualib.h,ac_found_liblua_header="yes",ac_found_liblua_header="no")
|
||||
if test "x$ac_found_lua_header" = "xyes" -a "x$ac_found_liblua_header" = "xyes"; then
|
||||
LUA_CFLAGS="$CFLAGS"
|
||||
fi
|
||||
for l in "53" "5.3" "52" "5.2" "51" "5.1" "50" "5.0" "$lua_suffix" "" ; do
|
||||
for l in "$lua_suffix" "" "52" "5.2" "51" "5.1" "50" "5.0" ; do
|
||||
AC_CHECK_LIB(lua$l,lua_call,ac_found_lua_lib="yes",ac_found_lua_lib="no")
|
||||
if test "x$ac_found_lua_lib" = "xyes" ; then
|
||||
LUA_VERSION=">=5.1.0"
|
||||
@@ -652,7 +734,7 @@ if test "x$enable_lua" = "xyes" ; then
|
||||
if test "x$LUA52_TEST" != "x0" ; then
|
||||
AC_MSG_RESULT(no)
|
||||
AC_MSG_WARN([
|
||||
*** Lua (>=5.0) headers and/or libraries couldn't be found on your system.
|
||||
*** Lua (>=5.0) headers and/or librairies couldn't be found on your system.
|
||||
*** Try to install liblua, liblualib and liblua-dev with your software package manager.
|
||||
*** WeeChat will be built without Lua support.])
|
||||
enable_lua="no"
|
||||
@@ -725,7 +807,7 @@ if test "x$enable_guile" = "xyes" ; then
|
||||
enable_plugins="yes"
|
||||
|
||||
guile_found="no"
|
||||
AC_MSG_CHECKING(for Guile headers and libraries)
|
||||
AC_MSG_CHECKING(for Guile headers and librairies)
|
||||
echo
|
||||
for v in "2.0" ; do
|
||||
pkgconfig_guile_found=`$PKGCONFIG --exists guile-$v 2>/dev/null`
|
||||
@@ -783,8 +865,8 @@ if test "x$enable_javascript" = "xyes" ; then
|
||||
AC_CHECK_HEADER(v8.h,ac_found_v8_header="yes",ac_found_v8_header="no")
|
||||
if test "x$ac_found_v8_header" = "xyes" ; then
|
||||
#AC_CHECK_LIB(v8,v8,ac_found_v8_lib="yes",ac_found_v8_lib="no")
|
||||
ac_save_LIBS="$LIBS"
|
||||
LIBS="$LIBS -lv8 -lpthread"
|
||||
ac_save_LDFLAGS="$LDFLAGS"
|
||||
LDFLAGS="$LDFLAGS -lv8"
|
||||
AC_MSG_CHECKING(for v8 usability in programs)
|
||||
AC_TRY_RUN([
|
||||
#include <v8.h>
|
||||
@@ -793,24 +875,24 @@ if test "x$enable_javascript" = "xyes" ; then
|
||||
const char *version = V8::GetVersion();
|
||||
return 0;
|
||||
}],ac_found_v8_lib="yes", ac_found_v8_lib="no", ac_found_v8_lib="assume-yes")
|
||||
LIBS="$ac_save_LIBS"
|
||||
LDFLAGS="$ac_save_LDFLAGS"
|
||||
if test "x$ac_found_v8_lib" = "xyes" ; then
|
||||
AC_MSG_RESULT(yes)
|
||||
v8_found="yes"
|
||||
V8_CFLAGS=""
|
||||
V8_LFLAGS="-lv8 -lpthread"
|
||||
V8_LFLAGS="-lv8"
|
||||
else
|
||||
AC_MSG_RESULT(no)
|
||||
AC_MSG_WARN([
|
||||
*** V8 library couldn't be found on your system.
|
||||
*** WeeChat will be built without JavaScript support.])
|
||||
*** WeeChat will be built without Javascript support.])
|
||||
enable_javascript="no"
|
||||
not_found="$not_found javascript/v8"
|
||||
fi
|
||||
else
|
||||
AC_MSG_WARN([
|
||||
*** V8 header files couldn't be found on your system.
|
||||
*** WeeChat will be built without JavaScript support.])
|
||||
*** WeeChat will be built without Javascript support.])
|
||||
enable_javascript="no"
|
||||
not_found="$not_found javascript/v8"
|
||||
fi
|
||||
@@ -826,187 +908,6 @@ fi
|
||||
|
||||
AC_LANG_POP
|
||||
|
||||
# ---------------------------------- php --------------------------------------
|
||||
|
||||
PHP_VERSION=
|
||||
|
||||
if test "x$enable_php" = "xyes" ; then
|
||||
ac_save_CPPFLAGS="$CPPFLAGS"
|
||||
ac_save_CFLAGS="$CFLAGS"
|
||||
ac_save_LDFLAGS="$LDFLAGS"
|
||||
|
||||
PHP_CFLAGS=""
|
||||
PHP_LFLAGS=""
|
||||
|
||||
if test -n "$php_inc"; then
|
||||
CFLAGS="$CFLAGS -I$php_inc"
|
||||
CPPFLAGS="$CPPFLAGS -I$php_inc"
|
||||
fi
|
||||
if test -n "$php_lib"; then
|
||||
LDFLAGS="$LDFLAGS -L$php_lib"
|
||||
fi
|
||||
|
||||
if test "x$PHP_CFLAGS" = "x" -o "x$PHP_LFLAGS" = "x" ; then
|
||||
AC_MSG_CHECKING(for PHP headers and libraries with pkg-config)
|
||||
echo
|
||||
for l in "7.3" "73" "7.2" "72" "7.1" "71" "7.0" "70" "7" "$php_suffix" "" ; do
|
||||
pkgconfig_php_found=`$PKGCONFIG --exists php$l 2>/dev/null`
|
||||
if test "x$?" = "x0" ; then
|
||||
pkgconfig_php_found=`$PKGCONFIG --atleast-version=7 php$l 2>/dev/null`
|
||||
if test "x$?" = "x0" ; then
|
||||
PHP_VERSION=`$PKGCONFIG --modversion php$l`
|
||||
PHP_CFLAGS="$PHP_CFLAGS "`$PKGCONFIG --cflags php$l`
|
||||
PHP_LFLAGS="$PHP_LFLAGS "`$PKGCONFIG --libs php$l`
|
||||
break
|
||||
fi
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
if test "x$PHP_CFLAGS" = "x" -o "x$PHP_LFLAGS" = "x" ; then
|
||||
PHPCONFIG=""
|
||||
AC_MSG_CHECKING(for PHP headers and libraries with php-config)
|
||||
for l in "7.3" "73" "7.2" "72" "7.1" "71" "7.0" "70" "7" "$php_suffix" "" ; do
|
||||
AC_CHECK_PROG(PHPCONFIG, "php-config$l", "php-config$l")
|
||||
if test "x$PHPCONFIG" != "x" ; then
|
||||
php_config_version=`$PHPCONFIG --version`
|
||||
if test "x${php_config_version#7}" != "x${php_config_version}" ; then
|
||||
PHP_VERSION=$php_config_version
|
||||
PHP_CFLAGS=`$PHPCONFIG --includes`
|
||||
PHP_LFLAGS="-L$($PHPCONFIG --prefix)/lib/ $($PHPCONFIG --libs) -lphp$l"
|
||||
break
|
||||
fi
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
if test "x$PHP_CFLAGS" = "x" -o "x$PHP_LFLAGS" = "x" ; then
|
||||
AC_MSG_CHECKING(for PHP headers and libraries)
|
||||
echo
|
||||
AC_CHECK_HEADER(php.h,ac_found_php_header="yes",ac_found_php_header="no")
|
||||
if test "x$ac_found_php_header" = "xyes" ; then
|
||||
PHP_CFLAGS="$CFLAGS"
|
||||
fi
|
||||
for l in "7.3" "73" "7.2" "72" "7.1" "71" "7.0" "70" "7" "$php_suffix" "" ; do
|
||||
AC_CHECK_LIB(php$l,php_execute_script,ac_found_php_lib="yes",ac_found_php_lib="no")
|
||||
if test "x$ac_found_php_lib" = "xyes" ; then
|
||||
PHP_VERSION=">=7.0.0"
|
||||
|
||||
PHP_LFLAGS="$LDFLAGS -lphp7 -lm"
|
||||
|
||||
ac2_save_LDFLAGS="$LDFLAGS"
|
||||
LDFLAGS="$LDFLAGS -lphp7 -lm"
|
||||
|
||||
if echo "$host_os" | grep "^linux" 1>/dev/null 2>&1 ; then
|
||||
LDFLAGS="$LDFLAGS -ldl"
|
||||
fi
|
||||
|
||||
LDFLAGS="$ac2_save_LDFLAGS"
|
||||
break
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
AC_MSG_CHECKING(for PHP compiling and linking)
|
||||
PHP_TEST=`LT=phptest.c ; echo "#include <sapi/embed/php_embed.h>" > $LT; echo "int main() { php_embed_init(0, NULL); php_embed_shutdown(); return 0; }" >> $LT ; $CC -Wall $LT -o $LT.out $PHP_CFLAGS $PHP_LFLAGS $CFLAGS $LDFLAGS 1>/dev/null 2>&1 ; echo $?; rm -f $LT $LT.out 1>/dev/null 2>&1`
|
||||
if test "x$PHP_TEST" != "x0" ; then
|
||||
AC_MSG_RESULT(no)
|
||||
AC_MSG_WARN([
|
||||
*** PHP (>=7.0) headers and/or libraries couldn't be found on your system.
|
||||
*** Try to install libphp-embed with your software package manager.
|
||||
*** WeeChat will be built without PHP support.])
|
||||
enable_php="no"
|
||||
not_found="$not_found php"
|
||||
else
|
||||
AC_MSG_RESULT(yes)
|
||||
fi
|
||||
|
||||
CFLAGS="$ac_save_CFLAGS"
|
||||
CPPFLAGS="$ac_save_CPPFLAGS"
|
||||
LDFLAGS="$ac_save_LDFLAGS"
|
||||
else
|
||||
not_asked="$not_asked php"
|
||||
fi
|
||||
|
||||
if test "x$enable_php" = "xyes" ; then
|
||||
AC_SUBST(PHP_CFLAGS)
|
||||
AC_SUBST(PHP_LFLAGS)
|
||||
AC_DEFINE(PLUGIN_PHP)
|
||||
fi
|
||||
|
||||
# ----------------------------------- spell ------------------------------------
|
||||
|
||||
if test "x$enable_spell" = "xyes" ; then
|
||||
ac_found_enchant_lib="no"
|
||||
if test "x$enable_enchant" = "xyes" ; then
|
||||
PKG_CHECK_MODULES(ENCHANT, [enchant], ac_found_enchant_lib="yes", ac_found_enchant_lib="no")
|
||||
fi
|
||||
if test "x$ac_found_enchant_lib" = "xyes" ; then
|
||||
CFLAGS="$CFLAGS -DUSE_ENCHANT"
|
||||
SPELL_LIB_USED="enchant"
|
||||
|
||||
# check if function enchant_get_version() exists
|
||||
ac_save_CFLAGS="$CFLAGS"
|
||||
ac_save_LDFLAGS="$LDFLAGS"
|
||||
CFLAGS="$CFLAGS $ENCHANT_CFLAGS"
|
||||
LDFLAGS="$LDFLAGS $ENCHANT_LIBS"
|
||||
AC_CACHE_CHECK([for enchant_get_version() support], ac_cv_have_enchant_get_version, [
|
||||
AC_LINK_IFELSE([AC_LANG_PROGRAM(
|
||||
[[ #include <enchant.h>]],
|
||||
[[ const char *version = enchant_get_version(); ]])],
|
||||
[ ac_have_enchant_get_version="yes" ],
|
||||
[ ac_have_enchant_get_version="no" ])])
|
||||
CFLAGS="$ac_save_CFLAGS"
|
||||
LDFLAGS="$ac_save_LDFLAGS"
|
||||
if test "x$ac_have_enchant_get_version" = "xyes"; then
|
||||
AC_DEFINE(HAVE_ENCHANT_GET_VERSION)
|
||||
fi
|
||||
else
|
||||
ASPELL_CFLAGS=""
|
||||
ASPELL_LFLAGS=""
|
||||
|
||||
AC_CHECK_HEADER(aspell.h,ac_found_aspell_header="yes",ac_found_aspell_header="no")
|
||||
AC_CHECK_LIB(aspell,new_aspell_speller,ac_found_aspell_lib="yes",ac_found_aspell_lib="no")
|
||||
|
||||
AC_MSG_CHECKING(for aspell headers and libraries)
|
||||
if test "x$ac_found_aspell_header" = "xno" -o "x$ac_found_aspell_lib" = "xno" ; then
|
||||
AC_MSG_RESULT(no)
|
||||
AC_MSG_WARN([
|
||||
*** Aspell headers and/or libraries couldn't be found on your system.
|
||||
*** Try to install them with your software package manager.
|
||||
*** WeeChat will be built without Aspell support.])
|
||||
enable_spell="no"
|
||||
not_found="$not_found spell"
|
||||
else
|
||||
AC_MSG_RESULT(yes)
|
||||
ASPELL_LFLAGS="$ASPELL_LFLAGS -laspell"
|
||||
SPELL_LIB_USED="aspell"
|
||||
|
||||
# check if function aspell_version_string() exists
|
||||
ac_save_LDFLAGS="$LDFLAGS"
|
||||
LDFLAGS="$LDFLAGS $ASPELL_LFLAGS"
|
||||
AC_CACHE_CHECK([for aspell_version_string() support], ac_cv_have_aspell_version_string, [
|
||||
AC_LINK_IFELSE([AC_LANG_PROGRAM(
|
||||
[[ #include <aspell.h>]],
|
||||
[[ const char *version = aspell_version_string(); ]])],
|
||||
[ ac_have_aspell_version_string="yes" ],
|
||||
[ ac_have_aspell_version_string="no" ])])
|
||||
LDFLAGS="$ac_save_LDFLAGS"
|
||||
if test "x$ac_have_aspell_version_string" = "xyes"; then
|
||||
AC_DEFINE(HAVE_ASPELL_VERSION_STRING)
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
else
|
||||
not_asked="$not_asked spell"
|
||||
fi
|
||||
|
||||
if test "x$enable_spell" = "xyes" ; then
|
||||
AC_SUBST(ASPELL_CFLAGS)
|
||||
AC_SUBST(ASPELL_LFLAGS)
|
||||
AC_DEFINE(PLUGIN_SPELL)
|
||||
fi
|
||||
|
||||
# --------------------------------- trigger ------------------------------------
|
||||
|
||||
if test "x$enable_trigger" = "xyes" ; then
|
||||
@@ -1038,7 +939,7 @@ fi
|
||||
AC_CHECK_HEADER(gcrypt.h,ac_found_gcrypt_header="yes",ac_found_gcrypt_header="no")
|
||||
AC_CHECK_LIB(gcrypt,gcry_check_version,ac_found_gcrypt_lib="yes",ac_found_gcrypt_lib="no")
|
||||
|
||||
AC_MSG_CHECKING(for gcrypt headers and libraries)
|
||||
AC_MSG_CHECKING(for gcrypt headers and librairies)
|
||||
if test "x$ac_found_gcrypt_header" = "xno" -o "x$ac_found_gcrypt_lib" = "xno" ; then
|
||||
AC_MSG_RESULT(no)
|
||||
AC_MSG_ERROR([
|
||||
@@ -1060,7 +961,7 @@ if test "x$enable_gnutls" = "xyes" ; then
|
||||
AC_CHECK_HEADER(gnutls/gnutls.h,ac_found_gnutls_header="yes",ac_found_gnutls_header="no")
|
||||
AC_CHECK_LIB(gnutls,gnutls_global_init,ac_found_gnutls_lib="yes",ac_found_gnutls_lib="no")
|
||||
|
||||
AC_MSG_CHECKING(for gnutls headers and libraries)
|
||||
AC_MSG_CHECKING(for gnutls headers and librairies)
|
||||
if test "x$ac_found_gnutls_header" = "xno" -o "x$ac_found_gnutls_lib" = "xno" ; then
|
||||
AC_MSG_RESULT(no)
|
||||
AC_MSG_WARN([
|
||||
@@ -1156,11 +1057,11 @@ fi
|
||||
AC_CHECK_HEADER(zlib.h,ac_found_zlib_header="yes",ac_found_zlib_header="no")
|
||||
AC_CHECK_LIB(z,compress2,ac_found_zlib_lib="yes",ac_found_zlib_lib="no")
|
||||
|
||||
AC_MSG_CHECKING(for zlib headers and libraries)
|
||||
AC_MSG_CHECKING(for zlib headers and librairies)
|
||||
if test "x$ac_found_zlib_header" = "xno" -o "x$ac_found_zlib_lib" = "xno" ; then
|
||||
AC_MSG_RESULT(no)
|
||||
AC_MSG_ERROR([
|
||||
*** zlib was not found. You may want to get it from https://zlib.net/
|
||||
*** zlib was not found. You may want to get it from http://zlib.net/
|
||||
*** or try to install zlib1g-dev with your software package manager.])
|
||||
else
|
||||
AC_MSG_RESULT(yes)
|
||||
@@ -1191,7 +1092,7 @@ AC_SUBST(CURL_LFLAGS)
|
||||
|
||||
if test "x$enable_tests" = "xyes" ; then
|
||||
cpputest_found="no"
|
||||
AC_MSG_CHECKING(for CppUTest headers and libraries)
|
||||
AC_MSG_CHECKING(for CppUTest headers and librairies)
|
||||
echo
|
||||
pkgconfig_cpputest_found=`$PKGCONFIG --exists cpputest 2>/dev/null`
|
||||
if test "x$?" = "x0" ; then
|
||||
@@ -1284,7 +1185,7 @@ AC_DEFINE_UNQUOTED(WEECHAT_SHAREDIR, "$WEECHAT_SHAREDIR")
|
||||
weechat_libdir=${libdir}/weechat
|
||||
AC_SUBST(weechat_libdir)
|
||||
|
||||
COMMON_CFLAGS="-fsigned-char -Wall -Wextra -Werror-implicit-function-declaration"
|
||||
COMMON_CFLAGS="-Wall -Wextra -Werror-implicit-function-declaration"
|
||||
AC_MSG_CHECKING([whether we have GNU assembler])
|
||||
GAS=`as --version < /dev/null 2>/dev/null | grep GNU`
|
||||
if test "$GAS"; then
|
||||
@@ -1342,13 +1243,11 @@ AM_CONDITIONAL(HAVE_GNUTLS, test "$enable_gnutls" = "yes")
|
||||
AM_CONDITIONAL(HAVE_FLOCK, test "$enable_flock" = "yes")
|
||||
AM_CONDITIONAL(HAVE_EAT_NEWLINE_GLITCH, test "$enable_eatnewlineglitch" = "yes")
|
||||
AM_CONDITIONAL(GUI_NCURSES, test "$enable_ncurses" = "yes")
|
||||
AM_CONDITIONAL(HEADLESS, test "$enable_headless" = "yes")
|
||||
AM_CONDITIONAL(PLUGIN_ALIAS, test "$enable_alias" = "yes")
|
||||
AM_CONDITIONAL(PLUGIN_BUFLIST, test "$enable_buflist" = "yes")
|
||||
AM_CONDITIONAL(PLUGIN_ASPELL, test "$enable_aspell" = "yes")
|
||||
AM_CONDITIONAL(PLUGIN_CHARSET, test "$enable_charset" = "yes")
|
||||
AM_CONDITIONAL(PLUGIN_EXEC, test "$enable_exec" = "yes")
|
||||
AM_CONDITIONAL(PLUGIN_FIFO, test "$enable_fifo" = "yes")
|
||||
AM_CONDITIONAL(PLUGIN_FSET, test "$enable_fset" = "yes")
|
||||
AM_CONDITIONAL(PLUGIN_IRC, test "$enable_irc" = "yes")
|
||||
AM_CONDITIONAL(PLUGIN_LOGGER, test "$enable_logger" = "yes")
|
||||
AM_CONDITIONAL(PLUGIN_RELAY, test "$enable_relay" = "yes")
|
||||
@@ -1360,8 +1259,6 @@ AM_CONDITIONAL(PLUGIN_LUA, test "$enable_lua" = "yes")
|
||||
AM_CONDITIONAL(PLUGIN_TCL, test "$enable_tcl" = "yes")
|
||||
AM_CONDITIONAL(PLUGIN_GUILE, test "$enable_guile" = "yes")
|
||||
AM_CONDITIONAL(PLUGIN_JAVASCRIPT, test "$enable_javascript" = "yes")
|
||||
AM_CONDITIONAL(PLUGIN_PHP, test "$enable_php" = "yes")
|
||||
AM_CONDITIONAL(PLUGIN_SPELL, test "$enable_spell" = "yes")
|
||||
AM_CONDITIONAL(PLUGIN_TRIGGER, test "$enable_trigger" = "yes")
|
||||
AM_CONDITIONAL(PLUGIN_XFER, test "$enable_xfer" = "yes")
|
||||
AM_CONDITIONAL(TESTS, test "$enable_tests" = "yes")
|
||||
@@ -1383,11 +1280,10 @@ AC_OUTPUT([Makefile
|
||||
src/core/Makefile
|
||||
src/plugins/Makefile
|
||||
src/plugins/alias/Makefile
|
||||
src/plugins/buflist/Makefile
|
||||
src/plugins/aspell/Makefile
|
||||
src/plugins/charset/Makefile
|
||||
src/plugins/exec/Makefile
|
||||
src/plugins/fifo/Makefile
|
||||
src/plugins/fset/Makefile
|
||||
src/plugins/irc/Makefile
|
||||
src/plugins/logger/Makefile
|
||||
src/plugins/relay/Makefile
|
||||
@@ -1399,14 +1295,10 @@ AC_OUTPUT([Makefile
|
||||
src/plugins/tcl/Makefile
|
||||
src/plugins/guile/Makefile
|
||||
src/plugins/javascript/Makefile
|
||||
src/plugins/php/Makefile
|
||||
src/plugins/spell/Makefile
|
||||
src/plugins/trigger/Makefile
|
||||
src/plugins/xfer/Makefile
|
||||
src/gui/Makefile
|
||||
src/gui/curses/Makefile
|
||||
src/gui/curses/normal/Makefile
|
||||
src/gui/curses/headless/Makefile
|
||||
tests/Makefile
|
||||
intl/Makefile
|
||||
po/Makefile.in])
|
||||
@@ -1419,22 +1311,19 @@ listgui=""
|
||||
if test "x$enable_ncurses" = "xyes" ; then
|
||||
listgui="$listgui ncurses"
|
||||
fi
|
||||
if test "x$enable_headless" = "xyes" ; then
|
||||
listgui="$listgui headless"
|
||||
fi
|
||||
|
||||
if test "x$listgui" = "x" ; then
|
||||
AC_MSG_ERROR([
|
||||
*** No interface specified...
|
||||
*** Please enable at least ncurses or headless.])
|
||||
*** Please enable at least ncurses.])
|
||||
fi
|
||||
|
||||
listplugins=""
|
||||
if test "x$enable_alias" = "xyes"; then
|
||||
listplugins="$listplugins alias"
|
||||
fi
|
||||
if test "x$enable_buflist" = "xyes"; then
|
||||
listplugins="$listplugins buflist"
|
||||
if test "x$enable_aspell" = "xyes"; then
|
||||
listplugins="$listplugins aspell($ASPELL_LIB_USED)"
|
||||
fi
|
||||
if test "x$enable_charset" = "xyes"; then
|
||||
listplugins="$listplugins charset"
|
||||
@@ -1445,9 +1334,6 @@ fi
|
||||
if test "x$enable_fifo" = "xyes"; then
|
||||
listplugins="$listplugins fifo"
|
||||
fi
|
||||
if test "x$enable_fset" = "xyes"; then
|
||||
listplugins="$listplugins fset"
|
||||
fi
|
||||
if test "x$enable_irc" = "xyes" ; then
|
||||
listplugins="$listplugins irc"
|
||||
fi
|
||||
@@ -1481,12 +1367,6 @@ fi
|
||||
if test "x$enable_javascript" = "xyes"; then
|
||||
listplugins="$listplugins javascript/v8"
|
||||
fi
|
||||
if test "x$enable_php" = "xyes"; then
|
||||
listplugins="$listplugins php($PHP_VERSION)"
|
||||
fi
|
||||
if test "x$enable_spell" = "xyes"; then
|
||||
listplugins="$listplugins spell($SPELL_LIB_USED)"
|
||||
fi
|
||||
if test "x$enable_trigger" = "xyes"; then
|
||||
listplugins="$listplugins trigger"
|
||||
fi
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
12
|
||||
9
|
||||
|
||||
+39
-178
@@ -4,36 +4,33 @@ Priority: optional
|
||||
Maintainer: Sébastien Helleu <flashcode@flashtux.org>
|
||||
Build-Depends:
|
||||
asciidoctor (>= 1.5.4),
|
||||
debhelper (>= 12),
|
||||
debhelper (>= 9),
|
||||
dh-exec,
|
||||
cmake, pkg-config,
|
||||
libncursesw5-dev,
|
||||
gem2deb,
|
||||
libperl-dev,
|
||||
python3-dev,
|
||||
python-dev,
|
||||
libaspell-dev,
|
||||
liblua5.3-dev,
|
||||
liblua5.1-0-dev,
|
||||
tcl8.6-dev,
|
||||
guile-2.0-dev,
|
||||
libv8-dev [amd64 i386 armel armhf mips mipsel hurd-i386 kfreebsd-amd64 kfreebsd-i386],
|
||||
php-dev, libphp-embed, libargon2-0-dev, libsodium-dev,
|
||||
libxml2-dev,
|
||||
libv8-dev [amd64 armel armhf hurd-i386 i386 kfreebsd-amd64 kfreebsd-i386 mips mipsel],
|
||||
libcurl4-gnutls-dev,
|
||||
libgcrypt20-dev,
|
||||
libgnutls28-dev,
|
||||
zlib1g-dev
|
||||
Standards-Version: 4.3.0
|
||||
Standards-Version: 3.9.8
|
||||
Homepage: https://weechat.org/
|
||||
Vcs-Git: https://salsa.debian.org/kolter/weechat.git
|
||||
Vcs-Browser: https://salsa.debian.org/kolter/weechat
|
||||
Vcs-Git: https://anonscm.debian.org/git/users/kolter/weechat.git
|
||||
Vcs-Browser: https://anonscm.debian.org/git/users/kolter/weechat.git
|
||||
|
||||
Package: weechat-devel
|
||||
Architecture: all
|
||||
Depends:
|
||||
${misc:Depends},
|
||||
weechat-devel-curses (>= ${source:Version}) | weechat-devel-headless (>= ${source:Version})
|
||||
Depends: ${misc:Depends}, weechat-devel-curses (>= ${source:Version})
|
||||
Suggests: weechat-devel-doc (= ${source:Version})
|
||||
Conflicts: weechat
|
||||
Description: Fast, light and extensible chat client (metapackage)
|
||||
Description: Fast, light and extensible chat client
|
||||
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
|
||||
for many operating systems. Everything can be done with a keyboard.
|
||||
It is customizable and extensible with plugins/scripts, and includes:
|
||||
@@ -47,22 +44,18 @@ Description: Fast, light and extensible chat client (metapackage)
|
||||
- 256 colors support
|
||||
- incremental text search
|
||||
- dynamic filtering of buffer content
|
||||
- Perl, Python, Ruby, Lua, Tcl, Scheme, JavaScript and PHP scripting
|
||||
- script manager
|
||||
- Perl, Python, Ruby, Lua, Tcl, Scheme and Javascript scripting
|
||||
- scripts manager
|
||||
- spell checking
|
||||
- highly customizable and extensible
|
||||
- and much more!
|
||||
|
||||
Package: weechat-devel-curses
|
||||
Architecture: any
|
||||
Depends:
|
||||
${misc:Depends},
|
||||
${shlibs:Depends},
|
||||
weechat-devel-core (= ${binary:Version})
|
||||
Recommends:
|
||||
weechat-devel-plugins (= ${binary:Version})
|
||||
Suggests: weechat-devel-doc (= ${source:Version})
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}, weechat-devel-core (= ${binary:Version})
|
||||
Conflicts: weechat-curses
|
||||
Recommends: weechat-devel-plugins (= ${binary:Version})
|
||||
Suggests: weechat-devel-doc (= ${source:Version})
|
||||
Description: Fast, light and extensible chat client - console client
|
||||
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
|
||||
for many operating systems. Everything can be done with a keyboard.
|
||||
@@ -77,71 +70,30 @@ Description: Fast, light and extensible chat client - console client
|
||||
- 256 colors support
|
||||
- incremental text search
|
||||
- dynamic filtering of buffer content
|
||||
- Perl, Python, Ruby, Lua, Tcl, Scheme, JavaScript and PHP scripting
|
||||
- script manager
|
||||
- Perl, Python, Ruby, Lua, Tcl, Scheme and Javascript scripting
|
||||
- scripts manager
|
||||
- spell checking
|
||||
- highly customizable and extensible
|
||||
- and much more!
|
||||
.
|
||||
This package provides the console client (ncurses).
|
||||
|
||||
Package: weechat-devel-headless
|
||||
Architecture: any
|
||||
Depends:
|
||||
${misc:Depends},
|
||||
${shlibs:Depends},
|
||||
weechat-devel-core (= ${binary:Version})
|
||||
Recommends: weechat-devel-plugins (= ${binary:Version})
|
||||
Suggests: weechat-devel-doc (= ${source:Version})
|
||||
Conflicts: weechat-headless
|
||||
Description: Fast, light and extensible chat client - headless client
|
||||
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
|
||||
for many operating systems. Everything can be done with a keyboard.
|
||||
It is customizable and extensible with plugins/scripts, and includes:
|
||||
- support of IRC protocol (native)
|
||||
- support of XMPP/Jabber protocol (with additional script)
|
||||
- nicklist
|
||||
- smart hotlist
|
||||
- horizontal and vertical split
|
||||
- double charset support (decode/encode)
|
||||
- FIFO pipe for remote control
|
||||
- 256 colors support
|
||||
- incremental text search
|
||||
- dynamic filtering of buffer content
|
||||
- Perl, Python, Ruby, Lua, Tcl, Scheme, JavaScript and PHP scripting
|
||||
- script manager
|
||||
- spell checking
|
||||
- highly customizable and extensible
|
||||
- and much more!
|
||||
.
|
||||
This package provides the headless client.
|
||||
|
||||
Package: weechat-devel-core
|
||||
Architecture: any
|
||||
Depends:
|
||||
${misc:Depends},
|
||||
${shlibs:Depends}
|
||||
Suggests: weechat-devel-doc (= ${source:Version})
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}
|
||||
Conflicts: weechat-core
|
||||
Suggests: weechat-devel-doc (= ${source:Version})
|
||||
Description: Fast, light and extensible chat client - core files
|
||||
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
|
||||
for many operating systems. Everything can be done with a keyboard.
|
||||
.
|
||||
This package provides core plugins and locales files for WeeChat. It
|
||||
currently ships the following plugins: alias, buflist, charset, fset, irc,
|
||||
logger and xfer. It is useless without weechat-curses or weechat-headless.
|
||||
currently ships the following plugins: alias, xfer, irc, charset and
|
||||
logger. It is useless without weechat-curses.
|
||||
|
||||
Package: weechat-devel-plugins
|
||||
Architecture: any
|
||||
Depends:
|
||||
${misc:Depends},
|
||||
${shlibs:Depends},
|
||||
weechat-devel-curses (= ${binary:Version}) | weechat-devel-headless (= ${binary:Version})
|
||||
Recommends:
|
||||
weechat-devel-perl,
|
||||
weechat-devel-python,
|
||||
weechat-devel-ruby
|
||||
Suggests: weechat-scripts (>> 20090221-1)
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}, weechat-devel-curses (= ${binary:Version})
|
||||
Conflicts: weechat-plugins
|
||||
Description: Fast, light and extensible chat client - plugins
|
||||
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
|
||||
@@ -149,117 +101,13 @@ Description: Fast, light and extensible chat client - plugins
|
||||
.
|
||||
This package provides some plugins to enhance WeeChat. It currently
|
||||
ships the following plugins:
|
||||
- script manager
|
||||
- Perl, Python, Ruby, Lua, Tcl, Scheme and Javascript scripting
|
||||
- scripts manager
|
||||
- Spell checking (thanks to aspell)
|
||||
- FIFO pipe for remote control
|
||||
- Relay (IRC proxy and WeeChat protocol)
|
||||
- IRC proxy
|
||||
- Trigger
|
||||
|
||||
Package: weechat-devel-python
|
||||
Architecture: any
|
||||
Depends:
|
||||
${misc:Depends},
|
||||
${shlibs:Depends},
|
||||
weechat-devel-curses (= ${binary:Version}) | weechat-devel-headless (= ${binary:Version})
|
||||
Conflicts: weechat-python
|
||||
Description: Fast, light and extensible chat client - Python 3 plugin
|
||||
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
|
||||
for many operating systems. Everything can be done with a keyboard.
|
||||
.
|
||||
This package provides the Python 3 scripting API plugin.
|
||||
|
||||
Package: weechat-devel-perl
|
||||
Architecture: any
|
||||
Depends:
|
||||
${misc:Depends},
|
||||
${shlibs:Depends},
|
||||
weechat-devel-curses (= ${binary:Version}) | weechat-devel-headless (= ${binary:Version})
|
||||
Conflicts: weechat-perl
|
||||
Description: Fast, light and extensible chat client - Perl plugin
|
||||
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
|
||||
for many operating systems. Everything can be done with a keyboard.
|
||||
.
|
||||
This package provides the Perl scripting API plugin.
|
||||
|
||||
Package: weechat-devel-ruby
|
||||
Architecture: any
|
||||
Depends:
|
||||
${misc:Depends},
|
||||
${shlibs:Depends},
|
||||
weechat-devel-curses (= ${binary:Version}) | weechat-devel-headless (= ${binary:Version})
|
||||
Conflicts: weechat-ruby
|
||||
Description: Fast, light and extensible chat client - Ruby plugin
|
||||
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
|
||||
for many operating systems. Everything can be done with a keyboard.
|
||||
.
|
||||
This package provides the Ruby scripting API plugin.
|
||||
|
||||
Package: weechat-devel-lua
|
||||
Architecture: any
|
||||
Depends:
|
||||
${misc:Depends},
|
||||
${shlibs:Depends},
|
||||
weechat-devel-curses (= ${binary:Version}) | weechat-devel-headless (= ${binary:Version})
|
||||
Conflicts: weechat-lua
|
||||
Description: Fast, light and extensible chat client - Lua plugin
|
||||
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
|
||||
for many operating systems. Everything can be done with a keyboard.
|
||||
.
|
||||
This package provides the Lua scripting API plugin.
|
||||
|
||||
Package: weechat-devel-tcl
|
||||
Architecture: any
|
||||
Depends:
|
||||
${misc:Depends},
|
||||
${shlibs:Depends},
|
||||
weechat-devel-curses (= ${binary:Version}) | weechat-devel-headless (= ${binary:Version})
|
||||
Conflicts: weechat-tcl
|
||||
Description: Fast, light and extensible chat client - Tcl plugin
|
||||
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
|
||||
for many operating systems. Everything can be done with a keyboard.
|
||||
.
|
||||
This package provides the Tcl scripting API plugin.
|
||||
|
||||
Package: weechat-devel-guile
|
||||
Architecture: any
|
||||
Depends:
|
||||
${misc:Depends},
|
||||
${shlibs:Depends},
|
||||
weechat-devel-curses (= ${binary:Version}) | weechat-devel-headless (= ${binary:Version})
|
||||
Conflicts: weechat-guile
|
||||
Description: Fast, light and extensible chat client - Guile plugin
|
||||
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
|
||||
for many operating systems. Everything can be done with a keyboard.
|
||||
.
|
||||
This package provides the Guile scripting API plugin.
|
||||
|
||||
Package: weechat-devel-javascript
|
||||
Architecture: amd64 i386 armel armhf mips mipsel hurd-i386 kfreebsd-amd64 kfreebsd-i386
|
||||
Depends:
|
||||
${misc:Depends},
|
||||
${shlibs:Depends},
|
||||
weechat-devel-curses (= ${binary:Version}) | weechat-devel-headless (= ${binary:Version})
|
||||
Conflicts: weechat-javascript
|
||||
Description: Fast, light and extensible chat client - JavaScript plugin
|
||||
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
|
||||
for many operating systems. Everything can be done with a keyboard.
|
||||
.
|
||||
This package provides the JavaScript scripting API plugin.
|
||||
|
||||
Package: weechat-devel-php
|
||||
Architecture: any
|
||||
Depends:
|
||||
${misc:Depends},
|
||||
${shlibs:Depends},
|
||||
weechat-devel-curses (= ${binary:Version}) | weechat-devel-headless (= ${binary:Version}),
|
||||
libphp-embed
|
||||
Conflicts: weechat-php
|
||||
Description: Fast, light and extensible chat client - PHP plugin
|
||||
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
|
||||
for many operating systems. Everything can be done with a keyboard.
|
||||
.
|
||||
This package provides the PHP scripting API plugin.
|
||||
|
||||
Package: weechat-devel-doc
|
||||
Section: doc
|
||||
Architecture: all
|
||||
@@ -273,7 +121,7 @@ Description: Fast, light and extensible chat client - documentation
|
||||
|
||||
Package: weechat-devel-dev
|
||||
Section: devel
|
||||
Architecture: any
|
||||
Architecture: all
|
||||
Depends: ${misc:Depends}
|
||||
Conflicts: weechat-dev
|
||||
Description: Fast, light and extensible chat client - development headers
|
||||
@@ -281,3 +129,16 @@ Description: Fast, light and extensible chat client - development headers
|
||||
for many operating systems. Everything can be done with a keyboard.
|
||||
.
|
||||
This package contains the headers needed to build plugins.
|
||||
|
||||
Package: weechat-devel-dbg
|
||||
Section: debug
|
||||
Priority: extra
|
||||
Architecture: any
|
||||
Depends: ${misc:Depends}, weechat-devel-curses (= ${binary:Version}) |
|
||||
weechat-devel-core (= ${binary:Version}), weechat-devel-plugins (= ${binary:Version})
|
||||
Conflicts: weechat-dbg
|
||||
Description: Fast, light and extensible chat client - debugging symbols
|
||||
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
|
||||
for many operating systems. Everything can be done with a keyboard.
|
||||
.
|
||||
This package contains gdb debugging symbols for the WeeChat packages.
|
||||
|
||||
+7
-7
@@ -1,7 +1,5 @@
|
||||
#!/usr/bin/make -f
|
||||
|
||||
export DEB_BUILD_MAINT_OPTIONS=hardening=+all
|
||||
|
||||
BUILDDIR = builddir
|
||||
|
||||
$(BUILDDIR)/Makefile:
|
||||
@@ -9,7 +7,6 @@ $(BUILDDIR)/Makefile:
|
||||
cd $(BUILDDIR) && \
|
||||
cmake .. \
|
||||
-DCMAKE_INSTALL_PREFIX:FILEPATH=/usr \
|
||||
-DLIBDIR=/usr/lib/${DEB_HOST_MULTIARCH} \
|
||||
-DENABLE_DOC:BOOL=ON \
|
||||
-DENABLE_MAN:BOOL=ON \
|
||||
-DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo \
|
||||
@@ -18,16 +15,19 @@ $(BUILDDIR)/Makefile:
|
||||
-DCMAKE_SKIP_RPATH:BOOL=ON \
|
||||
-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON
|
||||
|
||||
override_dh_auto_build: $(BUILDDIR)/Makefile
|
||||
dh_auto_build
|
||||
|
||||
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
|
||||
|
||||
override_dh_strip:
|
||||
dh_strip --dbg-package=weechat-devel-dbg
|
||||
|
||||
%:
|
||||
dh $@ --builddirectory=$(BUILDDIR) --without autoreconf
|
||||
dh $@ --parallel --builddirectory=$(BUILDDIR)
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
../debian-stable/weechat-guile.dirs
|
||||
@@ -1 +0,0 @@
|
||||
../debian-stable/weechat-guile.install
|
||||
@@ -1 +0,0 @@
|
||||
../debian-stable/weechat-headless.dirs
|
||||
@@ -1 +0,0 @@
|
||||
../debian-stable/weechat-headless.install
|
||||
@@ -1 +0,0 @@
|
||||
../debian-stable/weechat-javascript.dirs
|
||||
@@ -1 +0,0 @@
|
||||
../debian-stable/weechat-javascript.install
|
||||
@@ -1 +0,0 @@
|
||||
../debian-stable/weechat-lua.dirs
|
||||
@@ -1 +0,0 @@
|
||||
../debian-stable/weechat-lua.install
|
||||
@@ -1 +0,0 @@
|
||||
../debian-stable/weechat-perl.dirs
|
||||
@@ -1 +0,0 @@
|
||||
../debian-stable/weechat-perl.install
|
||||
@@ -1 +0,0 @@
|
||||
../debian-stable/weechat-php.dirs
|
||||
@@ -1 +0,0 @@
|
||||
../debian-stable/weechat-php.install
|
||||
@@ -1 +0,0 @@
|
||||
../debian-stable/weechat-python.dirs
|
||||
@@ -1 +0,0 @@
|
||||
../debian-stable/weechat-python.install
|
||||
@@ -1 +0,0 @@
|
||||
../debian-stable/weechat-ruby.dirs
|
||||
@@ -1 +0,0 @@
|
||||
../debian-stable/weechat-ruby.install
|
||||
@@ -1 +0,0 @@
|
||||
../debian-stable/weechat-tcl.dirs
|
||||
@@ -1 +0,0 @@
|
||||
../debian-stable/weechat-tcl.install
|
||||
@@ -1,397 +0,0 @@
|
||||
/* XPM */
|
||||
static char * C:\temp\weechat_xpm[] = {
|
||||
"32 32 362 2",
|
||||
" c None",
|
||||
". c #117529",
|
||||
"+ c #0E7527",
|
||||
"@ c #0A7424",
|
||||
"# c #057323",
|
||||
"$ c #016F20",
|
||||
"% c #5DAA58",
|
||||
"& c #5DB059",
|
||||
"* c #5AB158",
|
||||
"= c #57B157",
|
||||
"- c #54AF55",
|
||||
"; c #4FAE53",
|
||||
"> c #4BAE52",
|
||||
", c #48AD50",
|
||||
"' c #44AC4E",
|
||||
") c #3FAB4C",
|
||||
"! c #3BA849",
|
||||
"~ c #36A646",
|
||||
"{ c #30A343",
|
||||
"] c #2CA040",
|
||||
"^ c #279D3D",
|
||||
"/ c #229A3A",
|
||||
"( c #1D9837",
|
||||
"_ c #189534",
|
||||
": c #129232",
|
||||
"< c #0D8F2E",
|
||||
"[ c #088D2C",
|
||||
"} c #03691F",
|
||||
"| c #64AB5B",
|
||||
"1 c #6FC468",
|
||||
"2 c #6AC265",
|
||||
"3 c #66BF62",
|
||||
"4 c #62BC5F",
|
||||
"5 c #5DBA5D",
|
||||
"6 c #58B85A",
|
||||
"7 c #54B557",
|
||||
"8 c #4FB254",
|
||||
"9 c #4AB052",
|
||||
"0 c #45AD4F",
|
||||
"a c #40AB4C",
|
||||
"b c #3CA849",
|
||||
"c c #37A647",
|
||||
"d c #32A344",
|
||||
"e c #2DA041",
|
||||
"f c #289D3D",
|
||||
"g c #239A3B",
|
||||
"h c #1E9838",
|
||||
"i c #199535",
|
||||
"j c #139232",
|
||||
"k c #0F8F2F",
|
||||
"l c #098B2B",
|
||||
"m c #035018",
|
||||
"n c #68AE5E",
|
||||
"o c #76C96B",
|
||||
"p c #70C568",
|
||||
"q c #6CC365",
|
||||
"r c #67C062",
|
||||
"s c #62BD60",
|
||||
"t c #5FBC5E",
|
||||
"u c #5ABA5B",
|
||||
"v c #55B859",
|
||||
"w c #51B656",
|
||||
"x c #4CB354",
|
||||
"y c #47B051",
|
||||
"z c #42AD4E",
|
||||
"A c #3EAA4B",
|
||||
"B c #38A647",
|
||||
"C c #32A243",
|
||||
"D c #2E9D40",
|
||||
"E c #28993C",
|
||||
"F c #239439",
|
||||
"G c #1E9036",
|
||||
"H c #188C32",
|
||||
"I c #13882F",
|
||||
"J c #0F842C",
|
||||
"K c #0A7C27",
|
||||
"L c #629F57",
|
||||
"M c #7BCC6F",
|
||||
"N c #76C86B",
|
||||
"O c #71C569",
|
||||
"P c #6DC366",
|
||||
"Q c #69C163",
|
||||
"R c #65C162",
|
||||
"S c #57AC56",
|
||||
"T c #3E803F",
|
||||
"U c #377539",
|
||||
"V c #316E34",
|
||||
"W c #2C6830",
|
||||
"X c #28602C",
|
||||
"Y c #225928",
|
||||
"Z c #1D5124",
|
||||
"` c #1A4E22",
|
||||
" . c #184C20",
|
||||
".. c #81CF72",
|
||||
"+. c #7CCB6E",
|
||||
"@. c #77C86C",
|
||||
"#. c #72C76A",
|
||||
"$. c #6EC467",
|
||||
"%. c #69C164",
|
||||
"&. c #549F51",
|
||||
"*. c #71B062",
|
||||
"=. c #84D274",
|
||||
"-. c #7FCF71",
|
||||
";. c #7ACD6F",
|
||||
">. c #76CB6C",
|
||||
",. c #72C869",
|
||||
"'. c #6CC465",
|
||||
"). c #1F391D",
|
||||
"!. c #558DC1",
|
||||
"~. c #568EC3",
|
||||
"{. c #568FC5",
|
||||
"]. c #5790C7",
|
||||
"^. c #5892C8",
|
||||
"/. c #538ABE",
|
||||
"(. c #5B98D0",
|
||||
"_. c #5C99D2",
|
||||
":. c #5E9CD5",
|
||||
"<. c #609FDB",
|
||||
"[. c #61A1DC",
|
||||
"}. c #497440",
|
||||
"|. c #3F6638",
|
||||
"1. c #355930",
|
||||
"2. c #2C4A28",
|
||||
"3. c #213B1F",
|
||||
"4. c #609ED9",
|
||||
"5. c #63A4E2",
|
||||
"6. c #63A4E1",
|
||||
"7. c #5B96CE",
|
||||
"8. c #64A6E4",
|
||||
"9. c #4878A4",
|
||||
"0. c #426E96",
|
||||
"a. c #4F83B3",
|
||||
"b. c #4E82B2",
|
||||
"c. c #62A3DF",
|
||||
"d. c #64A6E3",
|
||||
"e. c #274159",
|
||||
"f. c #44729C",
|
||||
"g. c #5B97CF",
|
||||
"h. c #5B97D0",
|
||||
"i. c #5C98D0",
|
||||
"j. c #5C98D1",
|
||||
"k. c #5B97CE",
|
||||
"l. c #64A5E2",
|
||||
"m. c #36597B",
|
||||
"n. c #64A4E2",
|
||||
"o. c #5A95CD",
|
||||
"p. c #5993CB",
|
||||
"q. c #64A5E3",
|
||||
"r. c #45729C",
|
||||
"s. c #63A4E3",
|
||||
"t. c #62A2E1",
|
||||
"u. c #62A1E1",
|
||||
"v. c #61A1E1",
|
||||
"w. c #609FE0",
|
||||
"x. c #5993D4",
|
||||
"y. c #5D9BDF",
|
||||
"z. c #5D99DF",
|
||||
"A. c #5C99DF",
|
||||
"B. c #5B98DE",
|
||||
"C. c #4878B1",
|
||||
"D. c #63A3E5",
|
||||
"E. c #609EE0",
|
||||
"F. c #5F9DE0",
|
||||
"G. c #5F9DDF",
|
||||
"H. c #5E9BDF",
|
||||
"I. c #5C99DC",
|
||||
"J. c #2B4666",
|
||||
"K. c #4D7FBD",
|
||||
"L. c #5A96DF",
|
||||
"M. c #5A94DE",
|
||||
"N. c #5993DD",
|
||||
"O. c #5992DD",
|
||||
"P. c #5993E1",
|
||||
"Q. c #4069A0",
|
||||
"R. c #365A8E",
|
||||
"S. c #568EDF",
|
||||
"T. c #548ADB",
|
||||
"U. c #5489DB",
|
||||
"V. c #5389DB",
|
||||
"W. c #5287DA",
|
||||
"X. c #2E4D7C",
|
||||
"Y. c #4C7DC1",
|
||||
"Z. c #5891DE",
|
||||
"`. c #568FDC",
|
||||
" + c #568EDC",
|
||||
".+ c #568DDC",
|
||||
"++ c #558CDC",
|
||||
"@+ c #4F82CD",
|
||||
"#+ c #4D7ECD",
|
||||
"$+ c #5185DA",
|
||||
"%+ c #5085DA",
|
||||
"&+ c #5084DA",
|
||||
"*+ c #4F82D9",
|
||||
"=+ c #5185DF",
|
||||
"-+ c #121E31",
|
||||
";+ c #4370C2",
|
||||
">+ c #4C7CD9",
|
||||
",+ c #4A7BD7",
|
||||
"'+ c #4A7AD7",
|
||||
")+ c #4978D7",
|
||||
"!+ c #4877D6",
|
||||
"~+ c #4E82D9",
|
||||
"{+ c #4E81D9",
|
||||
"]+ c #4E80D9",
|
||||
"^+ c #4E7FD9",
|
||||
"/+ c #4D7ED8",
|
||||
"(+ c #4C7DDA",
|
||||
"_+ c #395FA4",
|
||||
":+ c #4775D2",
|
||||
"<+ c #4876D6",
|
||||
"[+ c #4775D6",
|
||||
"}+ c #4773D6",
|
||||
"|+ c #4674D7",
|
||||
"1+ c #3B62B7",
|
||||
"2+ c #436ED6",
|
||||
"3+ c #416CD4",
|
||||
"4+ c #416AD3",
|
||||
"5+ c #4069D3",
|
||||
"6+ c #406AD6",
|
||||
"7+ c #304FA2",
|
||||
"8+ c #375BA8",
|
||||
"9+ c #4673D5",
|
||||
"0+ c #4572D5",
|
||||
"a+ c #4571D5",
|
||||
"b+ c #4470D5",
|
||||
"c+ c #436FD4",
|
||||
"d+ c #4470D9",
|
||||
"e+ c #14213E",
|
||||
"f+ c #3150A3",
|
||||
"g+ c #4069D4",
|
||||
"h+ c #3E67D3",
|
||||
"i+ c #3E66D2",
|
||||
"j+ c #3D64D2",
|
||||
"k+ c #3D64D3",
|
||||
"l+ c #243C7F",
|
||||
"m+ c #2F4DAC",
|
||||
"n+ c #395ED1",
|
||||
"o+ c #385CD0",
|
||||
"p+ c #375AD0",
|
||||
"q+ c #365ACF",
|
||||
"r+ c #375AD5",
|
||||
"s+ c #111C41",
|
||||
"t+ c #3558B8",
|
||||
"u+ c #3C63D2",
|
||||
"v+ c #3C62D2",
|
||||
"w+ c #3B61D1",
|
||||
"x+ c #3A60D2",
|
||||
"y+ c #3658C2",
|
||||
"z+ c #3455C4",
|
||||
"A+ c #3659CF",
|
||||
"B+ c #3557CF",
|
||||
"C+ c #3556CF",
|
||||
"D+ c #3354CF",
|
||||
"E+ c #3151C5",
|
||||
"F+ c #101A3E",
|
||||
"G+ c #2C49C0",
|
||||
"H+ c #2F4DCC",
|
||||
"I+ c #2E4CCC",
|
||||
"J+ c #2D4ACB",
|
||||
"K+ c #2D49CB",
|
||||
"L+ c #2741B7",
|
||||
"M+ c #3353C6",
|
||||
"N+ c #3455CF",
|
||||
"O+ c #3454CE",
|
||||
"P+ c #3353CE",
|
||||
"Q+ c #3252CD",
|
||||
"R+ c #3151CE",
|
||||
"S+ c #304FCC",
|
||||
"T+ c #162467",
|
||||
"U+ c #1F318C",
|
||||
"V+ c #2E4BCF",
|
||||
"W+ c #2C47CB",
|
||||
"X+ c #2B47CA",
|
||||
"Y+ c #2A45CA",
|
||||
"Z+ c #2943C8",
|
||||
"`+ c #2841C5",
|
||||
" @ c #2942CB",
|
||||
".@ c #2841CB",
|
||||
"+@ c #273EC9",
|
||||
"@@ c #263DC9",
|
||||
"#@ c #253BC8",
|
||||
"$@ c #243AC7",
|
||||
"%@ c #2339C9",
|
||||
"&@ c #172583",
|
||||
"*@ c #1D2F86",
|
||||
"=@ c #2D49CE",
|
||||
"-@ c #2B46CB",
|
||||
";@ c #2B46CA",
|
||||
">@ c #2A44CA",
|
||||
",@ c #2943CA",
|
||||
"'@ c #2841C9",
|
||||
")@ c #2740C9",
|
||||
"!@ c #2840CC",
|
||||
"~@ c #273FCA",
|
||||
"{@ c #263DCA",
|
||||
"]@ c #243AC8",
|
||||
"^@ c #2339C7",
|
||||
"/@ c #2338C7",
|
||||
"(@ c #2237C7",
|
||||
"_@ c #2135C6",
|
||||
":@ c #2034C6",
|
||||
"<@ c #2033C6",
|
||||
"[@ c #1E31C5",
|
||||
"}@ c #1E30C5",
|
||||
"|@ c #1D2EC4",
|
||||
"1@ c #1C2DC4",
|
||||
"2@ c #1B2CC4",
|
||||
"3@ c #1A2AC3",
|
||||
"4@ c #1928C0",
|
||||
"5@ c #0C1258",
|
||||
"6@ c #1B2C97",
|
||||
"7@ c #233AC9",
|
||||
"8@ c #2238C7",
|
||||
"9@ c #2136C7",
|
||||
"0@ c #1F32C6",
|
||||
"a@ c #1D2FC5",
|
||||
"b@ c #1C2EC5",
|
||||
"c@ c #1B2BC4",
|
||||
"d@ c #1A2AC4",
|
||||
"e@ c #1929C3",
|
||||
"f@ c #1827C3",
|
||||
"g@ c #1826C3",
|
||||
"h@ c #1724C2",
|
||||
"i@ c #1623C2",
|
||||
"j@ c #1522C1",
|
||||
"k@ c #1420C2",
|
||||
"l@ c #141FC2",
|
||||
"m@ c #121EC1",
|
||||
"n@ c #111CC2",
|
||||
"o@ c #111AC1",
|
||||
"p@ c #0E17B2",
|
||||
"q@ c #1A2AC1",
|
||||
"r@ c #1929C4",
|
||||
"s@ c #1927C4",
|
||||
"t@ c #1724C3",
|
||||
"u@ c #1623C3",
|
||||
"v@ c #1522C4",
|
||||
"w@ c #1520C3",
|
||||
"x@ c #131FC3",
|
||||
"y@ c #131DC3",
|
||||
"z@ c #111CC0",
|
||||
"A@ c #111ABB",
|
||||
"B@ c #0F19B6",
|
||||
"C@ c #0F17B1",
|
||||
"D@ c #0D15AD",
|
||||
"E@ c #0D14A9",
|
||||
"F@ c #0C13A7",
|
||||
"G@ c #0B11A4",
|
||||
"H@ c #0A1099",
|
||||
"I@ c #080D8B",
|
||||
"J@ c #070B7A",
|
||||
"K@ c #060968",
|
||||
"L@ c #0F179E",
|
||||
"M@ c #0E16AA",
|
||||
"N@ c #0E15AF",
|
||||
"O@ c #0C13A9",
|
||||
"P@ c #0C129C",
|
||||
"Q@ c #0A108F",
|
||||
"R@ c #090E80",
|
||||
"S@ c #080C72",
|
||||
"T@ c #070B63",
|
||||
"U@ c #060957",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" . + @ # $ ",
|
||||
" % & * = - ; > , ' ) ! ~ { ] ^ / ( _ : < [ } ",
|
||||
" | 1 2 3 4 5 6 7 8 9 0 a b c d e f g h i j k l m ",
|
||||
" n o p q r s t u v w x y z A B C D E F G H I J K ",
|
||||
" L M N O P Q R S T U V W X Y Z ` . ",
|
||||
" ..+.@.#.$.%.&. ",
|
||||
" *.=.-.;.>.,.'.). !.~.{.].^. /.(._.:.<.[. ",
|
||||
" }.|.1.2.3. 4.5.6.6.6.7. [.6.6.6.8.9. ",
|
||||
" 0.8.6.6.6.6.a. b.c.6.6.6.d.e. ",
|
||||
" f.g.h.i.j._.{. k.l.6.6.6.l.m. !.n.6.6.6.o. ",
|
||||
" p.l.6.6.6.q.r. s.t.t.u.v.w. x.y.z.A.B.C. ",
|
||||
" D.E.F.G.H.I.J. K.L.M.N.O.P.Q. R.S.T.U.V.W.X. ",
|
||||
" Y.Z.`. +.+++@+ #+$+%+&+*+=+-+ ;+>+,+'+)+!+ ",
|
||||
" ~+{+]+^+/+(+_+ :+<+[+}+|+1+ 2+3+4+5+6+7+ ",
|
||||
" 8+9+0+a+b+c+d+e+ f+g+h+i+j+k+l+ m+n+o+p+q+r+s+ ",
|
||||
" t+j+u+v+w+x+y+ z+A+B+C+D+E+F+ G+H+I+J+K+L+ ",
|
||||
" M+N+O+P+Q+R+S+T+ U+V+K+W+X+Y+Z+`+ @.@+@@@#@$@%@&@ ",
|
||||
"*@=@-@;@>@,@'@)@!@~@{@]@^@/@(@_@:@<@[@}@|@1@2@3@4@5@ ",
|
||||
"6@7@8@9@_@:@0@[@a@b@1@c@d@e@f@g@h@i@j@k@l@m@n@o@p@ ",
|
||||
" q@r@s@g@t@u@v@w@x@y@z@A@B@C@D@E@F@G@H@I@J@K@ ",
|
||||
" L@M@N@O@P@Q@R@S@T@U@ ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" "};
|
||||
Symlink
+1
@@ -0,0 +1 @@
|
||||
../debian-stable/weechat.xpm
|
||||
+2
-15
@@ -1,22 +1,9 @@
|
||||
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
|
||||
See http://www.weechat.org/files/releasenotes/ReleaseNotes-1.1.html
|
||||
|
||||
-- Emmanuel Bouthenot <kolter@debian.org> Sun, 25 Jan 2015 20:41:50 +0100
|
||||
|
||||
@@ -26,7 +13,7 @@ weechat (0.3.1-1) unstable; urgency=low
|
||||
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://weechat.org/blog/post/2009/12/01/SSL-certificates
|
||||
http://dev.weechat.org/post/2009/12/01/SSL-certificates
|
||||
|
||||
-- Emmanuel Bouthenot <kolter@debian.org> Mon, 25 Jan 2010 12:35:11 +0100
|
||||
|
||||
|
||||
@@ -1,108 +1,3 @@
|
||||
weechat (2.4-1) unstable; urgency=medium
|
||||
|
||||
* New upstream release
|
||||
|
||||
-- Emmanuel Bouthenot <kolter@debian.org> Sun, 03 Mar 2019 19:29:13 +0000
|
||||
|
||||
weechat (2.3-1) unstable; urgency=medium
|
||||
|
||||
* New upstream release
|
||||
* Bump Standards-Version to 4.3.0
|
||||
* Switch debhelper compatibility to 12
|
||||
|
||||
-- Emmanuel Bouthenot <kolter@debian.org> Fri, 04 Jan 2019 16:06:44 +0000
|
||||
|
||||
weechat (2.2-1) unstable; urgency=medium
|
||||
|
||||
* New upstream release
|
||||
* Remove upstream patch about localized manpages for weechat-headless
|
||||
* Bump Standards-Version to 4.1.5
|
||||
|
||||
-- Emmanuel Bouthenot <kolter@debian.org> Wed, 19 Sep 2018 09:41:45 +0000
|
||||
|
||||
weechat (2.1-2) unstable; urgency=medium
|
||||
|
||||
* Disable build of javascript plugin to fix weechat autoremoval from
|
||||
testing (RC bugs in libv8) (Closes: #894680)
|
||||
* Add missing localized manpages for weechat-headless
|
||||
* Fix debian/copyright Format URI
|
||||
|
||||
-- Emmanuel Bouthenot <kolter@debian.org> Tue, 03 Apr 2018 10:48:35 +0200
|
||||
|
||||
weechat (2.1-1) unstable; urgency=medium
|
||||
|
||||
* New upstream release (Closes: #887114)
|
||||
- Enable build against Ruby 2.5 (Closes: #892072)
|
||||
- New PHP plugin (update build dependencies accordingly)
|
||||
* Split up the package so that plugins are now separated in multiple
|
||||
binary packages to avoid unnecessary dependencies (Closes: #745266)
|
||||
* Switch debhelper compatibility to 11
|
||||
* Bump Standards-Version to 4.1.3
|
||||
* Add debian/upstream/metadata (DEP 12)
|
||||
* Rewrite debian/copyright to be more accurate
|
||||
* Update Vcs-Git and Vcs-Browser with new repository on salsa.debian.org
|
||||
* Update debian/NEWS to introduces weechat-headless and the package split
|
||||
|
||||
-- Emmanuel Bouthenot <kolter@debian.org> Wed, 21 Mar 2018 07:46:21 +0100
|
||||
|
||||
weechat (1.9.1-1) unstable; urgency=medium
|
||||
|
||||
* New upstream release
|
||||
- CVE-2017-14727 - Include a patch which fix a possible crash in logger
|
||||
plugin (Closes: #876553)
|
||||
* Disable build of javascript plugin to fix weechat autoremoval from
|
||||
testing (RC bugs in libv8)
|
||||
* Bump Standards-Version to 4.1.0
|
||||
|
||||
-- Emmanuel Bouthenot <kolter@debian.org> Sat, 23 Sep 2017 21:47:32 +0200
|
||||
|
||||
weechat (1.9-1) unstable; urgency=medium
|
||||
|
||||
* New upstream release
|
||||
* Remove useless weechat-dbg binary package
|
||||
* Bump Standards-Version to 4.0.0
|
||||
|
||||
-- Emmanuel Bouthenot <kolter@debian.org> Tue, 04 Jul 2017 13:29:55 +0200
|
||||
|
||||
weechat (1.8-1) unstable; urgency=medium
|
||||
|
||||
* New upstream release
|
||||
* Remove usless patches (backports from upstream)
|
||||
|
||||
-- Emmanuel Bouthenot <kolter@debian.org> Tue, 16 May 2017 14:53:07 +0200
|
||||
|
||||
weechat (1.7-3) unstable; urgency=medium
|
||||
|
||||
* Add a patch to fix CVE-2017-8073 which allows a remote crash by
|
||||
sending a filename via DCC to the IRC plugin (Closes: #861121)
|
||||
|
||||
-- Emmanuel Bouthenot <kolter@debian.org> Tue, 25 Apr 2017 10:46:10 +0200
|
||||
|
||||
weechat (1.7-2) unstable; urgency=medium
|
||||
|
||||
* Add a patch to fix slowness after terminal resize (Closes: #855079)
|
||||
|
||||
-- Emmanuel Bouthenot <kolter@debian.org> Fri, 24 Feb 2017 16:43:09 +0100
|
||||
|
||||
weechat (1.7-1) unstable; urgency=medium
|
||||
|
||||
* New upstream release
|
||||
* Remove lintian-override for weechat-curses manpage
|
||||
* Add a lintian-override about no hardening flags on fifo.so plugin
|
||||
(false positive)
|
||||
|
||||
-- Emmanuel Bouthenot <kolter@debian.org> Thu, 09 Feb 2017 20:15:48 +0100
|
||||
|
||||
weechat (1.6-1) unstable; urgency=medium
|
||||
|
||||
* New upstream release
|
||||
* Add a patch to build html documentation without requiring data
|
||||
(javascript, fonts) on external websites (potential privacy breach)
|
||||
* Documentation is now built with asciidoctor (adjust dependencies
|
||||
accordingly)
|
||||
|
||||
-- Emmanuel Bouthenot <kolter@debian.org> Thu, 06 Oct 2016 13:55:35 +0200
|
||||
|
||||
weechat (1.5-1) unstable; urgency=medium
|
||||
|
||||
* New upstream release
|
||||
|
||||
@@ -1 +1 @@
|
||||
12
|
||||
9
|
||||
|
||||
+39
-166
@@ -4,35 +4,32 @@ Priority: optional
|
||||
Maintainer: Emmanuel Bouthenot <kolter@debian.org>
|
||||
Build-Depends:
|
||||
asciidoctor (>= 1.5.4),
|
||||
debhelper (>= 12),
|
||||
debhelper (>= 9),
|
||||
dh-exec,
|
||||
cmake, pkg-config,
|
||||
libncursesw5-dev,
|
||||
gem2deb,
|
||||
libperl-dev,
|
||||
python3-dev,
|
||||
python-dev,
|
||||
libaspell-dev,
|
||||
liblua5.3-dev,
|
||||
liblua5.1-0-dev,
|
||||
tcl8.6-dev,
|
||||
guile-2.0-dev,
|
||||
libv8-dev [amd64 i386 armel armhf mips mipsel hurd-i386 kfreebsd-amd64 kfreebsd-i386],
|
||||
php-dev, libphp-embed, libargon2-0-dev, libsodium-dev,
|
||||
libxml2-dev,
|
||||
libv8-dev [amd64 armel armhf hurd-i386 i386 kfreebsd-amd64 kfreebsd-i386 mips mipsel],
|
||||
libcurl4-gnutls-dev,
|
||||
libgcrypt20-dev,
|
||||
libgnutls28-dev,
|
||||
zlib1g-dev
|
||||
Standards-Version: 4.3.0
|
||||
Standards-Version: 3.9.8
|
||||
Homepage: https://weechat.org/
|
||||
Vcs-Git: https://salsa.debian.org/kolter/weechat.git
|
||||
Vcs-Browser: https://salsa.debian.org/kolter/weechat
|
||||
Vcs-Git: https://anonscm.debian.org/git/users/kolter/weechat.git
|
||||
Vcs-Browser: https://anonscm.debian.org/git/users/kolter/weechat.git
|
||||
|
||||
Package: weechat
|
||||
Architecture: all
|
||||
Depends:
|
||||
${misc:Depends},
|
||||
weechat-curses (>= ${source:Version}) | weechat-headless (>= ${source:Version})
|
||||
Depends: ${misc:Depends}, weechat-curses (>= ${source:Version})
|
||||
Suggests: weechat-doc (= ${source:Version})
|
||||
Description: Fast, light and extensible chat client (metapackage)
|
||||
Description: Fast, light and extensible chat client
|
||||
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
|
||||
for many operating systems. Everything can be done with a keyboard.
|
||||
It is customizable and extensible with plugins/scripts, and includes:
|
||||
@@ -46,20 +43,18 @@ Description: Fast, light and extensible chat client (metapackage)
|
||||
- 256 colors support
|
||||
- incremental text search
|
||||
- dynamic filtering of buffer content
|
||||
- Perl, Python, Ruby, Lua, Tcl, Scheme, JavaScript and PHP scripting
|
||||
- script manager
|
||||
- Perl, Python, Ruby, Lua, Tcl, Scheme and Javascript scripting
|
||||
- scripts manager
|
||||
- spell checking
|
||||
- highly customizable and extensible
|
||||
- and much more!
|
||||
|
||||
Package: weechat-curses
|
||||
Architecture: any
|
||||
Depends:
|
||||
${misc:Depends},
|
||||
${shlibs:Depends},
|
||||
weechat-core (= ${binary:Version})
|
||||
Recommends:
|
||||
weechat-plugins (= ${binary:Version})
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}, weechat-core (= ${binary:Version})
|
||||
Conflicts: weechat-common
|
||||
Breaks: weechat-scripts (<= 20090221-1)
|
||||
Recommends: weechat-plugins (= ${binary:Version})
|
||||
Suggests: weechat-doc (= ${source:Version})
|
||||
Description: Fast, light and extensible chat client - console client
|
||||
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
|
||||
@@ -75,68 +70,30 @@ Description: Fast, light and extensible chat client - console client
|
||||
- 256 colors support
|
||||
- incremental text search
|
||||
- dynamic filtering of buffer content
|
||||
- Perl, Python, Ruby, Lua, Tcl, Scheme, JavaScript and PHP scripting
|
||||
- script manager
|
||||
- Perl, Python, Ruby, Lua, Tcl, Scheme and Javascript scripting
|
||||
- scripts manager
|
||||
- spell checking
|
||||
- highly customizable and extensible
|
||||
- and much more!
|
||||
.
|
||||
This package provides the console client (ncurses).
|
||||
|
||||
Package: weechat-headless
|
||||
Architecture: any
|
||||
Depends:
|
||||
${misc:Depends},
|
||||
${shlibs:Depends},
|
||||
weechat-core (= ${binary:Version})
|
||||
Recommends: weechat-plugins (= ${binary:Version})
|
||||
Suggests: weechat-doc (= ${source:Version})
|
||||
Description: Fast, light and extensible chat client - headless client
|
||||
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
|
||||
for many operating systems. Everything can be done with a keyboard.
|
||||
It is customizable and extensible with plugins/scripts, and includes:
|
||||
- support of IRC protocol (native)
|
||||
- support of XMPP/Jabber protocol (with additional script)
|
||||
- nicklist
|
||||
- smart hotlist
|
||||
- horizontal and vertical split
|
||||
- double charset support (decode/encode)
|
||||
- FIFO pipe for remote control
|
||||
- 256 colors support
|
||||
- incremental text search
|
||||
- dynamic filtering of buffer content
|
||||
- Perl, Python, Ruby, Lua, Tcl, Scheme, JavaScript and PHP scripting
|
||||
- script manager
|
||||
- spell checking
|
||||
- highly customizable and extensible
|
||||
- and much more!
|
||||
.
|
||||
This package provides the headless client.
|
||||
|
||||
Package: weechat-core
|
||||
Architecture: any
|
||||
Depends:
|
||||
${misc:Depends},
|
||||
${shlibs:Depends}
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}
|
||||
Replaces: weechat-common, weechat-plugins (<< 0.3.0)
|
||||
Suggests: weechat-doc (= ${source:Version})
|
||||
Description: Fast, light and extensible chat client - core files
|
||||
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
|
||||
for many operating systems. Everything can be done with a keyboard.
|
||||
.
|
||||
This package provides core plugins and locales files for WeeChat. It
|
||||
currently ships the following plugins: alias, buflist, charset, fset, irc,
|
||||
logger and xfer. It is useless without weechat-curses or weechat-headless.
|
||||
currently ships the following plugins: alias, xfer, irc, charset and
|
||||
logger. It is useless without weechat-curses.
|
||||
|
||||
Package: weechat-plugins
|
||||
Architecture: any
|
||||
Depends:
|
||||
${misc:Depends},
|
||||
${shlibs:Depends},
|
||||
weechat-curses (= ${binary:Version}) | weechat-headless (= ${binary:Version})
|
||||
Recommends:
|
||||
weechat-perl,
|
||||
weechat-python,
|
||||
weechat-ruby
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}, weechat-curses (= ${binary:Version})
|
||||
Suggests: weechat-scripts (>> 20090221-1)
|
||||
Description: Fast, light and extensible chat client - plugins
|
||||
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
|
||||
@@ -144,109 +101,13 @@ Description: Fast, light and extensible chat client - plugins
|
||||
.
|
||||
This package provides some plugins to enhance WeeChat. It currently
|
||||
ships the following plugins:
|
||||
- script manager
|
||||
- Perl, Python, Ruby, Lua, Tcl, Scheme and Javascript scripting
|
||||
- scripts manager
|
||||
- Spell checking (thanks to aspell)
|
||||
- FIFO pipe for remote control
|
||||
- Relay (IRC proxy and WeeChat protocol)
|
||||
- IRC proxy
|
||||
- Trigger
|
||||
|
||||
Package: weechat-python
|
||||
Architecture: any
|
||||
Depends:
|
||||
${misc:Depends},
|
||||
${shlibs:Depends},
|
||||
weechat-curses (= ${binary:Version}) | weechat-headless (= ${binary:Version})
|
||||
Description: Fast, light and extensible chat client - Python 3 plugin
|
||||
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
|
||||
for many operating systems. Everything can be done with a keyboard.
|
||||
.
|
||||
This package provides the Python 3 scripting API plugin.
|
||||
|
||||
Package: weechat-perl
|
||||
Architecture: any
|
||||
Depends:
|
||||
${misc:Depends},
|
||||
${shlibs:Depends},
|
||||
weechat-curses (= ${binary:Version}) | weechat-headless (= ${binary:Version})
|
||||
Description: Fast, light and extensible chat client - Perl plugin
|
||||
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
|
||||
for many operating systems. Everything can be done with a keyboard.
|
||||
.
|
||||
This package provides the Perl scripting API plugin.
|
||||
|
||||
Package: weechat-ruby
|
||||
Architecture: any
|
||||
Depends:
|
||||
${misc:Depends},
|
||||
${shlibs:Depends},
|
||||
weechat-curses (= ${binary:Version}) | weechat-headless (= ${binary:Version})
|
||||
Description: Fast, light and extensible chat client - Ruby plugin
|
||||
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
|
||||
for many operating systems. Everything can be done with a keyboard.
|
||||
.
|
||||
This package provides the Ruby scripting API plugin.
|
||||
|
||||
Package: weechat-lua
|
||||
Architecture: any
|
||||
Depends:
|
||||
${misc:Depends},
|
||||
${shlibs:Depends},
|
||||
weechat-curses (= ${binary:Version}) | weechat-headless (= ${binary:Version})
|
||||
Description: Fast, light and extensible chat client - Lua plugin
|
||||
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
|
||||
for many operating systems. Everything can be done with a keyboard.
|
||||
.
|
||||
This package provides the Lua scripting API plugin.
|
||||
|
||||
Package: weechat-tcl
|
||||
Architecture: any
|
||||
Depends:
|
||||
${misc:Depends},
|
||||
${shlibs:Depends},
|
||||
weechat-curses (= ${binary:Version}) | weechat-headless (= ${binary:Version})
|
||||
Description: Fast, light and extensible chat client - Tcl plugin
|
||||
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
|
||||
for many operating systems. Everything can be done with a keyboard.
|
||||
.
|
||||
This package provides the Tcl scripting API plugin.
|
||||
|
||||
Package: weechat-guile
|
||||
Architecture: any
|
||||
Depends:
|
||||
${misc:Depends},
|
||||
${shlibs:Depends},
|
||||
weechat-curses (= ${binary:Version}) | weechat-headless (= ${binary:Version})
|
||||
Description: Fast, light and extensible chat client - Guile plugin
|
||||
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
|
||||
for many operating systems. Everything can be done with a keyboard.
|
||||
.
|
||||
This package provides the Guile scripting API plugin.
|
||||
|
||||
Package: weechat-javascript
|
||||
Architecture: amd64 i386 armel armhf mips mipsel hurd-i386 kfreebsd-amd64 kfreebsd-i386
|
||||
Depends:
|
||||
${misc:Depends},
|
||||
${shlibs:Depends},
|
||||
weechat-curses (= ${binary:Version}) | weechat-headless (= ${binary:Version})
|
||||
Description: Fast, light and extensible chat client - JavaScript plugin
|
||||
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
|
||||
for many operating systems. Everything can be done with a keyboard.
|
||||
.
|
||||
This package provides the JavaScript scripting API plugin.
|
||||
|
||||
Package: weechat-php
|
||||
Architecture: any
|
||||
Depends:
|
||||
${misc:Depends},
|
||||
${shlibs:Depends},
|
||||
weechat-curses (= ${binary:Version}) | weechat-headless (= ${binary:Version}),
|
||||
libphp-embed
|
||||
Description: Fast, light and extensible chat client - PHP plugin
|
||||
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
|
||||
for many operating systems. Everything can be done with a keyboard.
|
||||
.
|
||||
This package provides the PHP scripting API plugin.
|
||||
|
||||
Package: weechat-doc
|
||||
Section: doc
|
||||
Architecture: all
|
||||
@@ -259,10 +120,22 @@ Description: Fast, light and extensible chat client - documentation
|
||||
|
||||
Package: weechat-dev
|
||||
Section: devel
|
||||
Architecture: any
|
||||
Architecture: all
|
||||
Depends: ${misc:Depends}
|
||||
Description: Fast, light and extensible chat client - development headers
|
||||
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
|
||||
for many operating systems. Everything can be done with a keyboard.
|
||||
.
|
||||
This package contains the headers needed to build plugins.
|
||||
|
||||
Package: weechat-dbg
|
||||
Section: debug
|
||||
Priority: extra
|
||||
Architecture: any
|
||||
Depends: ${misc:Depends}, weechat-curses (= ${binary:Version}) |
|
||||
weechat-core (= ${binary:Version}), weechat-plugins (= ${binary:Version})
|
||||
Description: Fast, light and extensible chat client - debugging symbols
|
||||
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
|
||||
for many operating systems. Everything can be done with a keyboard.
|
||||
.
|
||||
This package contains gdb debugging symbols for the WeeChat packages.
|
||||
|
||||
+6
-173
@@ -1,156 +1,17 @@
|
||||
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||
Format: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=174
|
||||
Upstream-Name: weechat
|
||||
Upstream-Contact: Sébastien Helleu <flashcode@flashtux.org>
|
||||
Source: https://weechat.org/
|
||||
|
||||
Files: *
|
||||
Copyright: 2003-2019, Sébastien Helleu <flashcode@flashtux.org>
|
||||
License: GPL-3+
|
||||
|
||||
Files: src/core/wee-command.c
|
||||
src/core/wee-command.h
|
||||
Copyright: 2005-2006, Emmanuel Bouthenot <kolter@openics.org>
|
||||
License: GPL-3+
|
||||
|
||||
Files: src/core/wee-config-file.c
|
||||
src/core/wee-config-file.h
|
||||
src/core/wee-config.c
|
||||
src/core/wee-config.h
|
||||
Copyright: 2005-2006, Emmanuel Bouthenot <kolter@openics.org>
|
||||
License: GPL-3+
|
||||
|
||||
Files: src/core/hook/wee-hook-connect.c
|
||||
Copyright: 2012, Simon Arlott
|
||||
License: GPL-3+
|
||||
|
||||
Files: src/core/hook/wee-hook-connect.h
|
||||
Copyright: 2012, Simon Arlott
|
||||
License: GPL-3+
|
||||
|
||||
Files: src/gui/gui-history.c
|
||||
Copyright: 2005, Emmanuel Bouthenot <kolter@openics.org>
|
||||
License: GPL-3+
|
||||
|
||||
Files: src/core/wee-completion.c
|
||||
src/core/wee-log.c
|
||||
src/core/wee-utf8.c
|
||||
src/core/weechat.h
|
||||
src/plugins/spell/spell-config.c
|
||||
src/plugins/spell/spell-config.h
|
||||
src/plugins/spell/spell-speller.c
|
||||
src/plugins/spell/spell-speller.h
|
||||
src/plugins/spell/spell.h
|
||||
src/plugins/irc/irc-command.c
|
||||
src/plugins/irc/irc.h
|
||||
Copyright: 2006, Emmanuel Bouthenot <kolter@openics.org>
|
||||
License: GPL-3+
|
||||
|
||||
Files: src/core/wee-network.c
|
||||
Copyright: 2005-2010, Emmanuel Bouthenot <kolter@openics.org>
|
||||
2010, Gu1ll4um3r0m41n <aeroxteam@gmail.com>
|
||||
2012, Simon Arlott
|
||||
License: GPL-3+
|
||||
|
||||
Files: src/plugins/spell/spell-bar-item.c
|
||||
src/plugins/spell/spell-bar-item.h
|
||||
Copyright: 2012, Nils Görs <weechatter@arcor.de>
|
||||
License: GPL-3+
|
||||
|
||||
Files: src/plugins/spell/spell.c
|
||||
Copyright: 2006, Emmanuel Bouthenot <kolter@openics.org>
|
||||
2012, Nils Görs <weechatter@arcor.de>
|
||||
License: GPL-3+
|
||||
|
||||
Files: src/plugins/guile/weechat-guile-api.c
|
||||
src/plugins/irc/irc-server.h
|
||||
src/plugins/plugin-script-api.c
|
||||
src/plugins/plugin-script-api.h
|
||||
Copyright: 2012, Simon Arlott
|
||||
License: GPL-3+
|
||||
|
||||
Files: src/plugins/irc/irc-protocol.c
|
||||
Copyright: 2006, Emmanuel Bouthenot <kolter@openics.org>
|
||||
2014, Shawn Smith <ShawnSmith0828@gmail.com>
|
||||
License: GPL-3+
|
||||
|
||||
Files: src/plugins/irc/irc-server.c
|
||||
Copyright: 2005-2010, Emmanuel Bouthenot <kolter@openics.org>
|
||||
2012, Simon Arlott
|
||||
License: GPL-3+
|
||||
|
||||
Files: src/plugins/javascript/weechat-js-api.cpp
|
||||
src/plugins/javascript/weechat-js-api.h
|
||||
src/plugins/javascript/weechat-js-v8.cpp
|
||||
src/plugins/javascript/weechat-js-v8.h
|
||||
src/plugins/javascript/weechat-js.cpp
|
||||
src/plugins/javascript/weechat-js.h
|
||||
Copyright: 2013, Koka El Kiwi <kokakiwi@kokakiwi.net>
|
||||
License: GPL-3+
|
||||
|
||||
Files: src/plugins/lua/weechat-lua-api.c
|
||||
Copyright: 2006-2007, Emmanuel Bouthenot <kolter@openics.org>
|
||||
2012, Simon Arlott
|
||||
License: GPL-3+
|
||||
|
||||
Files: src/plugins/lua/weechat-lua-api.h
|
||||
src/plugins/lua/weechat-lua.c
|
||||
src/plugins/lua/weechat-lua.h
|
||||
Copyright: 2006-2007, Emmanuel Bouthenot <kolter@openics.org>
|
||||
License: GPL-3+
|
||||
|
||||
Files: src/plugins/perl/weechat-perl-api.c
|
||||
Copyright: 2005-2008, Emmanuel Bouthenot <kolter@openics.org>
|
||||
2012, Simon Arlott
|
||||
License: GPL-3+
|
||||
|
||||
Files: src/plugins/perl/weechat-perl.c
|
||||
Copyright: 2005-2008, Emmanuel Bouthenot <kolter@openics.org>
|
||||
License: GPL-3+
|
||||
|
||||
Files: src/plugins/php/weechat-php-api.c
|
||||
src/plugins/php/weechat-php-api.h
|
||||
src/plugins/php/weechat-php.c
|
||||
src/plugins/php/weechat-php.h
|
||||
Copyright: 2006-2017, Adam Saponara <as@php.net>
|
||||
License: GPL-3-with-openssl-exception
|
||||
|
||||
Files: src/plugins/python/weechat-python-api.c
|
||||
Copyright: 2005-2007, Emmanuel Bouthenot <kolter@openics.org>
|
||||
2012, Simon Arlott
|
||||
License: GPL-3+
|
||||
|
||||
Files: src/plugins/python/weechat-python-api.h
|
||||
src/plugins/ruby/weechat-ruby-api.h
|
||||
src/plugins/ruby/weechat-ruby.c
|
||||
src/plugins/ruby/weechat-ruby.h
|
||||
Copyright: 2005-2007, Emmanuel Bouthenot <kolter@openics.org>
|
||||
License: GPL-3+
|
||||
|
||||
Files: src/plugins/python/weechat-python.c
|
||||
src/plugins/ruby/weechat-ruby-api.c
|
||||
Copyright: 2005-2007, Emmanuel Bouthenot <kolter@openics.org>
|
||||
2012, Simon Arlott
|
||||
License: GPL-3+
|
||||
|
||||
Files: src/plugins/python/weechat-python.h
|
||||
Copyright: 2005-2007, Emmanuel Bouthenot <kolter@openics.org>
|
||||
License: GPL-3+
|
||||
|
||||
Files: src/plugins/tcl/weechat-tcl-api.c
|
||||
Copyright: 2008-2010, Dmitry Kobylin <fnfal@academ.tsc.ru>
|
||||
2008, Julien Louis <ptitlouis@sysif.net>
|
||||
2012, Simon Arlott
|
||||
License: GPL-3+
|
||||
|
||||
Files: src/plugins/tcl/weechat-tcl-api.h
|
||||
src/plugins/tcl/weechat-tcl.c
|
||||
src/plugins/tcl/weechat-tcl.h
|
||||
Copyright: 2008-2010, Dmitry Kobylin <fnfal@academ.tsc.ru>
|
||||
Copyright: 2003-2017, Sébastien Helleu <flashcode@flashtux.org>
|
||||
2005-2009, Emmanuel Bouthenot <kolter@openics.org>
|
||||
2008-2009, Dmitry Kobylin <fnfal@academ.tsc.ru>
|
||||
License: GPL-3+
|
||||
|
||||
Files: debian/*
|
||||
Copyright: 2005-2008, Julien Louis <ptitlouis@sysif.net>
|
||||
2008-2018, Emmanuel Bouthenot <kolter@openics.org>
|
||||
2008-2016, Emmanuel Bouthenot <kolter@openics.org>
|
||||
License: GPL-3+
|
||||
|
||||
License: GPL-3+
|
||||
@@ -165,35 +26,7 @@ License: GPL-3+
|
||||
General Public License for more details.
|
||||
.
|
||||
You should have received a copy of the GNU General Public License along
|
||||
with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
.
|
||||
On Debian systems, the complete text of the GNU General Public License,
|
||||
Version 3 can be found in the file /usr/share/common-licenses/GPL-3
|
||||
|
||||
License: GPL-3-with-openssl-exception
|
||||
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 this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
.
|
||||
On Debian systems, the complete text of the GNU General Public License,
|
||||
Version 3 can be found in the file /usr/share/common-licenses/GPL-3
|
||||
.
|
||||
Additional permission under GNU GPL version 3 section 7:
|
||||
.
|
||||
If you modify the Program, or any covered work, by linking or
|
||||
combining it with the OpenSSL project's OpenSSL library (or a
|
||||
modified version of that library), containing parts covered by the
|
||||
terms of the OpenSSL or SSLeay licenses, the licensors of the Program
|
||||
grant you additional permission to convey the resulting work.
|
||||
Corresponding Source for a non-source form of such a combination
|
||||
shall include the source code for the parts of OpenSSL used as well
|
||||
as that of the covered work.
|
||||
|
||||
+7
-7
@@ -1,7 +1,5 @@
|
||||
#!/usr/bin/make -f
|
||||
|
||||
export DEB_BUILD_MAINT_OPTIONS=hardening=+all
|
||||
|
||||
BUILDDIR = builddir
|
||||
|
||||
$(BUILDDIR)/Makefile:
|
||||
@@ -9,7 +7,6 @@ $(BUILDDIR)/Makefile:
|
||||
cd $(BUILDDIR) && \
|
||||
cmake .. \
|
||||
-DCMAKE_INSTALL_PREFIX:FILEPATH=/usr \
|
||||
-DLIBDIR=/usr/lib/${DEB_HOST_MULTIARCH} \
|
||||
-DENABLE_DOC:BOOL=ON \
|
||||
-DENABLE_MAN:BOOL=ON \
|
||||
-DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo \
|
||||
@@ -18,16 +15,19 @@ $(BUILDDIR)/Makefile:
|
||||
-DCMAKE_SKIP_RPATH:BOOL=ON \
|
||||
-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON
|
||||
|
||||
override_dh_auto_build: $(BUILDDIR)/Makefile
|
||||
dh_auto_build
|
||||
|
||||
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
|
||||
|
||||
override_dh_strip:
|
||||
dh_strip --dbg-package=weechat-dbg
|
||||
|
||||
%:
|
||||
dh $@ --builddirectory=$(BUILDDIR) --without autoreconf
|
||||
dh $@ --parallel --builddirectory=$(BUILDDIR)
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
usr/share/locale/
|
||||
usr/lib/*/weechat/plugins/alias.so
|
||||
usr/lib/*/weechat/plugins/buflist.so
|
||||
usr/lib/*/weechat/plugins/charset.so
|
||||
usr/lib/*/weechat/plugins/fset.so
|
||||
usr/lib/*/weechat/plugins/irc.so
|
||||
usr/lib/*/weechat/plugins/logger.so
|
||||
usr/lib/*/weechat/plugins/xfer.so
|
||||
usr/lib/weechat/plugins/alias.so
|
||||
usr/lib/weechat/plugins/xfer.so
|
||||
usr/lib/weechat/plugins/irc.so
|
||||
usr/lib/weechat/plugins/charset.so
|
||||
usr/lib/weechat/plugins/logger.so
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
usr/bin/weechat usr/bin/weechat-curses
|
||||
usr/share/man/man1/weechat.1.gz usr/share/man/man1/weechat-curses.1.gz
|
||||
usr/share/man/cs/man1/weechat.1.gz usr/share/man/cs/man1/weechat-curses.1.gz
|
||||
usr/share/man/de/man1/weechat.1.gz usr/share/man/de/man1/weechat-curses.1.gz
|
||||
usr/share/man/fr/man1/weechat.1.gz usr/share/man/fr/man1/weechat-curses.1.gz
|
||||
usr/share/man/it/man1/weechat.1.gz usr/share/man/it/man1/weechat-curses.1.gz
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
usr/include/weechat/*
|
||||
usr/lib/*/pkgconfig/*
|
||||
usr/lib/pkgconfig/*
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
usr/lib
|
||||
@@ -1 +0,0 @@
|
||||
usr/lib/*/weechat/plugins/guile.so
|
||||
@@ -1 +0,0 @@
|
||||
usr/bin
|
||||
@@ -1,3 +0,0 @@
|
||||
usr/bin/weechat-headless
|
||||
usr/share/man/man1/weechat-headless.1
|
||||
usr/share/man/*/man1/weechat-headless.1
|
||||
@@ -1 +0,0 @@
|
||||
usr/lib
|
||||
@@ -1 +0,0 @@
|
||||
usr/lib/*/weechat/plugins/javascript.so
|
||||
@@ -1 +0,0 @@
|
||||
usr/lib
|
||||
@@ -1 +0,0 @@
|
||||
usr/lib/*/weechat/plugins/lua.so
|
||||
@@ -1 +0,0 @@
|
||||
usr/lib
|
||||
@@ -1 +0,0 @@
|
||||
usr/lib/*/weechat/plugins/perl.so
|
||||
@@ -1 +0,0 @@
|
||||
usr/lib
|
||||
@@ -1 +0,0 @@
|
||||
usr/lib/*/weechat/plugins/php.so
|
||||
Regular → Executable
+15
-6
@@ -1,6 +1,15 @@
|
||||
usr/lib/*/weechat/plugins/exec.so
|
||||
usr/lib/*/weechat/plugins/fifo.so
|
||||
usr/lib/*/weechat/plugins/relay.so
|
||||
usr/lib/*/weechat/plugins/script.so
|
||||
usr/lib/*/weechat/plugins/spell.so
|
||||
usr/lib/*/weechat/plugins/trigger.so
|
||||
#!/usr/bin/dh-exec
|
||||
|
||||
usr/lib/weechat/plugins/aspell.so
|
||||
usr/lib/weechat/plugins/exec.so
|
||||
usr/lib/weechat/plugins/fifo.so
|
||||
usr/lib/weechat/plugins/guile.so
|
||||
[amd64 armel armhf hurd-i386 i386 kfreebsd-amd64 kfreebsd-i386 mips mipsel] usr/lib/weechat/plugins/javascript.so
|
||||
usr/lib/weechat/plugins/lua.so
|
||||
usr/lib/weechat/plugins/perl.so
|
||||
usr/lib/weechat/plugins/python.so
|
||||
usr/lib/weechat/plugins/relay.so
|
||||
usr/lib/weechat/plugins/ruby.so
|
||||
usr/lib/weechat/plugins/script.so
|
||||
usr/lib/weechat/plugins/tcl.so
|
||||
usr/lib/weechat/plugins/trigger.so
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
usr/lib
|
||||
@@ -1 +0,0 @@
|
||||
usr/lib/*/weechat/plugins/python.so
|
||||
@@ -1 +0,0 @@
|
||||
usr/lib
|
||||
@@ -1 +0,0 @@
|
||||
usr/lib/*/weechat/plugins/ruby.so
|
||||
@@ -1 +0,0 @@
|
||||
usr/lib
|
||||
@@ -1 +0,0 @@
|
||||
usr/lib/*/weechat/plugins/tcl.so
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2019 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2017 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2009 Emmanuel Bouthenot <kolter@openics.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
@@ -15,7 +15,7 @@
|
||||
# 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/>.
|
||||
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
if(ENABLE_MAN OR ENABLE_DOC)
|
||||
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2019 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2017 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2006 Julien Louis <ptitlouis@sysif.net>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
@@ -15,7 +15,7 @@
|
||||
# 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/>.
|
||||
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
SUBDIRS = . cs de en es fr it ja pl ru
|
||||
|
||||
+4
-25
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2019 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2017 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
@@ -14,43 +14,22 @@
|
||||
# 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/>.
|
||||
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
if(ENABLE_MAN)
|
||||
# man page: weechat
|
||||
# man page
|
||||
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}/cmdline_options.cs.adoc
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options_debug.cs.adoc
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/man_plugin_options.cs.adoc
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/man_files.cs.adoc
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/man_copyright.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)
|
||||
add_custom_target(doc-man-cs ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat.1)
|
||||
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat.1 DESTINATION ${MANDIR}/cs/man1)
|
||||
|
||||
# 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}/cmdline_options.cs.adoc
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options_debug.cs.adoc
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/man_plugin_options.cs.adoc
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/man_files.cs.adoc
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/man_copyright.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()
|
||||
|
||||
if(ENABLE_DOC)
|
||||
|
||||
+6
-12
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2019 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2017 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
@@ -14,7 +14,7 @@
|
||||
# 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/>.
|
||||
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
docdir = $(datadir)/doc/$(PACKAGE)
|
||||
@@ -22,16 +22,13 @@ docdir = $(datadir)/doc/$(PACKAGE)
|
||||
EXTRA_DIST = CMakeLists.txt \
|
||||
docinfo.html \
|
||||
weechat.1.cs.adoc \
|
||||
weechat-headless.1.cs.adoc \
|
||||
cmdline_options.cs.adoc \
|
||||
cmdline_options_debug.cs.adoc \
|
||||
weechat_quickstart.cs.adoc \
|
||||
$(wildcard autogen/user/*.adoc) \
|
||||
$(wildcard autogen/plugin_api/*.adoc)
|
||||
|
||||
if MAN
|
||||
man_targets = weechat.1 \
|
||||
weechat-headless.1
|
||||
man_targets = weechat.1
|
||||
man_install = install-man
|
||||
man_uninstall = uninstall-man
|
||||
endif
|
||||
@@ -42,11 +39,9 @@ if DOC
|
||||
endif
|
||||
all-local: $(man_targets) $(doc_targets)
|
||||
|
||||
# man pages
|
||||
weechat.1: weechat.1.cs.adoc cmdline_options.cs.adoc cmdline_options_debug.cs.adoc
|
||||
# man page
|
||||
weechat.1: weechat.1.cs.adoc cmdline_options.cs.adoc
|
||||
$(ASCIIDOCTOR) -a revision="WeeChat $(VERSION)" -b manpage -o weechat.1 $(abs_top_srcdir)/doc/cs/weechat.1.cs.adoc
|
||||
weechat-headless.1: weechat-headless.1.cs.adoc cmdline_options.cs.adoc cmdline_options_debug.cs.adoc
|
||||
$(ASCIIDOCTOR) -a revision="WeeChat $(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
|
||||
@@ -70,7 +65,6 @@ 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:
|
||||
@@ -80,4 +74,4 @@ uninstall-doc:
|
||||
# clean
|
||||
|
||||
clean-local:
|
||||
-$(RM) weechat.1 weechat-headless.1 weechat_*.html
|
||||
-rm -f weechat.1 weechat_*.html
|
||||
|
||||
@@ -4,11 +4,6 @@
|
||||
*-c*, *--colors*::
|
||||
Zobraz defaultní barvy v terminálu.
|
||||
|
||||
// TRANSLATION MISSING
|
||||
*--daemon*::
|
||||
Run WeeChat in background, as a daemon (works only with the command
|
||||
*weechat-headless*).
|
||||
|
||||
*-d*, *--dir* _<path>_::
|
||||
Nastav cestu jako dovmský adresář pro WeeChat (použitou pro konfigurační
|
||||
soubory, logy, uživatelské pluginy a skripty), výchozí hodnota je
|
||||
@@ -17,18 +12,6 @@
|
||||
Pokud tato volba není zadána, použije se promněná prostředí WEECHAT_HOME
|
||||
(pokud není prázdná)
|
||||
|
||||
// TRANSLATION MISSING
|
||||
*-t*, *--temp-dir*::
|
||||
Create a temporary WeeChat home directory and delete it on exit
|
||||
(incompatible with option "-d"). +
|
||||
The name of the directory is automatically built by WeeChat, with this
|
||||
template: "weechat_temp_XXXXXX" (where "XXXXXX" is random). It it created
|
||||
in the first available directory in this list: environment variable "TMPDIR",
|
||||
"/tmp" (may be different according to the operating system), environment
|
||||
variable "HOME", current directory. +
|
||||
The temporary home directory has permissions 0700 (only owner can read,
|
||||
write and execute).
|
||||
|
||||
*-h*, *--help*::
|
||||
Zobrazí nápovědu.
|
||||
|
||||
@@ -38,15 +21,8 @@
|
||||
*-p*, *--no-plugin*::
|
||||
Vypne automatické nahrání pluginů.
|
||||
|
||||
// TRANSLATION MISSING
|
||||
*-P*, *--plugins* _<plugins>_::
|
||||
Load only these plugins at startup (see /help weechat.plugin.autoload).
|
||||
If this option is given, the option weechat.plugin.autoload is not used.
|
||||
|
||||
// TRANSLATION MISSING
|
||||
*-r*, *--run-command* _<command>_::
|
||||
Run command(s) after startup; many commands can be separated by semicolons,
|
||||
this option can be given multiple times.
|
||||
Spustí příkaz(y) po startu (více přůkazů může být odděleno středníky).
|
||||
|
||||
*-s*, *--no-script*::
|
||||
Vypni automatické nahrání scriptů.
|
||||
|
||||
@@ -1,16 +0,0 @@
|
||||
// TRANSLATION MISSING
|
||||
*--no-dlclose*::
|
||||
Do not call the function dlclose after plugins are unloaded.
|
||||
This is useful with tools like Valgrind to display stack for unloaded
|
||||
plugins.
|
||||
|
||||
// TRANSLATION MISSING
|
||||
*--no-gnutls*::
|
||||
Do not call the init and deinit functions of GnuTLS library.
|
||||
This is useful with tools like Valgrind and electric-fence, to prevent
|
||||
GnuTLS memory errors.
|
||||
|
||||
// TRANSLATION MISSING
|
||||
*--no-gcrypt*::
|
||||
Do not call the init and deinit functions of Gcrypt library.
|
||||
This is useful with tools like Valgrind, to prevent Gcrypt memory errors.
|
||||
@@ -1,13 +0,0 @@
|
||||
WeeChat je napsán Sébastienem Helleu a přispěvovateli (kompletní seznam je v
|
||||
souboru AUTHORS.adoc).
|
||||
|
||||
Copyright (C) 2003-2019 {author}
|
||||
|
||||
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.
|
||||
|
||||
Prosím přečtěte si soubor COPYING pro více informací.
|
||||
|
||||
Web: https://weechat.org/
|
||||
@@ -1,74 +0,0 @@
|
||||
$HOME/.weechat/weechat.conf::
|
||||
hlavní konfigurační soubor WeeChatu
|
||||
|
||||
$HOME/.weechat/plugins.conf::
|
||||
soubor konfigurace pluginů
|
||||
|
||||
$HOME/.weechat/sec.conf::
|
||||
konfigurační soubor s chráněnými daty
|
||||
|
||||
$HOME/.weechat/alias.conf::
|
||||
configurační soubor pro _alias_ plugin
|
||||
|
||||
$HOME/.weechat/buflist.conf::
|
||||
konfigurační soubor pro _buflist_ plugin
|
||||
|
||||
$HOME/.weechat/charset.conf::
|
||||
konfigurační soubor pro _charset_ plugin
|
||||
|
||||
$HOME/.weechat/exec.conf::
|
||||
konfigurační soubor pro _exec_ plugin
|
||||
|
||||
$HOME/.weechat/fifo.conf::
|
||||
konfigurační soubor pro _fifo_ plugin
|
||||
|
||||
$HOME/.weechat/fset.conf::
|
||||
konfigurační soubor pro _fset_ plugin
|
||||
|
||||
$HOME/.weechat/guile.conf::
|
||||
konfigurační soubor pro _guile_ plugin
|
||||
|
||||
$HOME/.weechat/irc.conf::
|
||||
konfigurační soubor pro _irc_ plugin
|
||||
|
||||
$HOME/.weechat/javascript.conf::
|
||||
konfigurační soubor pro _javascript_ plugin
|
||||
|
||||
$HOME/.weechat/logger.conf::
|
||||
konfigurační soubor pro _logger_ plugin
|
||||
|
||||
$HOME/.weechat/lua.conf::
|
||||
konfigurační soubor pro _lua_ plugin
|
||||
|
||||
$HOME/.weechat/perl.conf::
|
||||
konfigurační soubor pro _perl_ plugin
|
||||
|
||||
$HOME/.weechat/php.conf::
|
||||
konfigurační soubor pro _php_ plugin
|
||||
|
||||
$HOME/.weechat/python.conf::
|
||||
konfigurační soubor pro _python_ plugin
|
||||
|
||||
$HOME/.weechat/relay.conf::
|
||||
konfigurační soubor pro _relay_ plugin
|
||||
|
||||
$HOME/.weechat/ruby.conf::
|
||||
konfigurační soubor pro _ruby_ plugin
|
||||
|
||||
$HOME/.weechat/script.conf::
|
||||
konfigurační soubor pro _script_ plugin
|
||||
|
||||
$HOME/.weechat/spell.conf::
|
||||
konfigurační soubor pro _spell_ plugin
|
||||
|
||||
$HOME/.weechat/tcl.conf::
|
||||
konfigurační soubor pro _tcl_ plugin
|
||||
|
||||
$HOME/.weechat/trigger.conf::
|
||||
konfigurační soubor pro _trigger_ plugin
|
||||
|
||||
$HOME/.weechat/xfer.conf::
|
||||
konfigurační soubor pro _xfer_ plugin
|
||||
|
||||
$HOME/.weechat/weechat.log::
|
||||
soubor záznamů WeeChatu
|
||||
@@ -1,14 +0,0 @@
|
||||
Pro kompletní dokumentaci nastavení pluginů a jejich volby podívejte se na
|
||||
https://weechat.org/doc[WeeChat user's guide].
|
||||
|
||||
S irc pluginem se můžete doččasně připojit na server s URL jako:
|
||||
|
||||
irc[6][s]://[[nickname][:password]@]server[:port][/#channel1[,#channel2...]]
|
||||
|
||||
K připojení na IRC kanál Weechatu pro podporu s přezdívkou "mynick":
|
||||
|
||||
irc://mynick@chat.freenode.net/#weechat
|
||||
|
||||
IPv6 adresa může být uzavřena do hranatých závorek k přidání portu, například:
|
||||
|
||||
irc://mynick@[2001:db8:0:85a3::ac1f:8001]:6668/#test
|
||||
@@ -1,70 +0,0 @@
|
||||
// TRANSLATION MISSING
|
||||
= weechat-headless(1)
|
||||
:doctype: manpage
|
||||
:author: Sébastien Helleu
|
||||
:email: flashcode@flashtux.org
|
||||
:lang: cs
|
||||
// TRANSLATION MISSING
|
||||
:man manual: WeeChat Manual
|
||||
:man source: WeeChat {revnumber}
|
||||
|
||||
== JMÉNO
|
||||
|
||||
weechat-headless - the extensible chat client (headless version)
|
||||
|
||||
== PŘEHLED
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[verse]
|
||||
*weechat-headless* [-a|--no-connect] [--daemon] [-d|--dir <path>] [-t|--temp-dir] [-p|--no-plugin] [-P|--plugins <plugins>] [-r|--run-command <command>] [-s|--no-script] [--upgrade] [debug-option...] [plugin:option...]
|
||||
*weechat-headless* [-c|--colors]
|
||||
*weechat-headless* [-h|--help]
|
||||
*weechat-headless* [-l|--license]
|
||||
*weechat-headless* [-v|--version]
|
||||
|
||||
== POPIS
|
||||
|
||||
WeeChat (Wee Enhanced Environment for Chat) je svobodný chatovací klient.
|
||||
Je lehký, plně konfigurovatelný a lehce rozšiřitelný pomocí pluginů a scriptů
|
||||
v obvyklých sciptovacích jazycích.
|
||||
|
||||
// TRANSLATION MISSING
|
||||
The command *weechat-headless* runs WeeChat in a headless mode (no interface).
|
||||
It can be used for tests or to daemonize WeeChat with the option "--daemon".
|
||||
|
||||
== VOLBY
|
||||
|
||||
include::cmdline_options.cs.adoc[]
|
||||
|
||||
// TRANSLATION MISSING
|
||||
== DEBUG OPTIONS
|
||||
|
||||
*WARNING:* these options are for debug purposes only, *DO NOT USE IN PRODUCTION!*
|
||||
|
||||
include::cmdline_options_debug.cs.adoc[]
|
||||
|
||||
== VOLBY PLUGINŮ
|
||||
|
||||
include::man_plugin_options.cs.adoc[]
|
||||
|
||||
== SOUBORY
|
||||
|
||||
include::man_files.cs.adoc[]
|
||||
|
||||
// TRANSLATION MISSING
|
||||
== SEE ALSO
|
||||
|
||||
*weechat*(1)
|
||||
|
||||
== AUTOŘI
|
||||
|
||||
Tato manuálová stránka byla napsána {author}.
|
||||
Tato manuálová stránka byla přeložena Ondřejem Súkupem.
|
||||
|
||||
== COPYRIGHT
|
||||
|
||||
include::man_copyright.cs.adoc[]
|
||||
|
||||
== PODPORA / HLÁŠENÍ CHYB
|
||||
|
||||
Pro pomoc nebo hlášení chyb https://weechat.org/about/support
|
||||
+71
-19
@@ -13,9 +13,8 @@ weechat - the extensible chat client
|
||||
|
||||
== PŘEHLED
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[verse]
|
||||
*weechat* [-a|--no-connect] [-d|--dir <path>] [-t|--temp-dir] [-p|--no-plugin] [-P|--plugins <plugins>] [-r|--run-command <command>] [-s|--no-script] [--upgrade] [debug-option...] [plugin:option...]
|
||||
*weechat* [-a|--no-connect] [-d|--dir <path>] [-p|--no-plugin] [-r|--run-command <command>] [-s|--no-script] [--upgrade] [plugin:option...]
|
||||
*weechat* [-c|--colors]
|
||||
*weechat* [-h|--help]
|
||||
*weechat* [-l|--license]
|
||||
@@ -23,33 +22,74 @@ weechat - the extensible chat client
|
||||
|
||||
== POPIS
|
||||
|
||||
WeeChat (Wee Enhanced Environment for Chat) je svobodný chatovací klient.
|
||||
Je lehký, plně konfigurovatelný a lehce rozšiřitelný pomocí pluginů a scriptů
|
||||
v obvyklých sciptovacích jazycích.
|
||||
WeeChat (Wee Enhanced Environment for Chat) je svobodný chatovací klient, rychlý
|
||||
a lehký, připraven pro mnoho operačních systémů.
|
||||
Je velmi připůsobitelný a rozšiřitelný s skripty.
|
||||
|
||||
== VOLBY
|
||||
|
||||
include::cmdline_options.cs.adoc[]
|
||||
|
||||
// TRANSLATION MISSING
|
||||
== DEBUG OPTIONS
|
||||
|
||||
*WARNING:* these options are for debug purposes only, *DO NOT USE IN PRODUCTION!*
|
||||
|
||||
include::cmdline_options_debug.cs.adoc[]
|
||||
|
||||
== VOLBY PLUGINŮ
|
||||
|
||||
include::man_plugin_options.cs.adoc[]
|
||||
Pro kompletní dokumentaci nastavení pluginů a jejich volby podívejte se na
|
||||
https://weechat.org/doc[WeeChat user's guide].
|
||||
|
||||
S irc pluginem se můžete doččasně připojit na server s URL jako:
|
||||
|
||||
irc[6][s]://[[nickname][:password]@]server[:port][/#channel1[,#channel2...]]
|
||||
|
||||
K připojení na IRC kanál Weechatu pro podporu s přezdívkou "mynick":
|
||||
|
||||
irc://mynick@chat.freenode.net/#weechat
|
||||
|
||||
IPv6 adresa může být uzavřena do hranatých závorek k přidání portu, například:
|
||||
|
||||
irc://mynick@[2001:db8:0:85a3::ac1f:8001]:6668/#test
|
||||
|
||||
== SOUBORY
|
||||
|
||||
include::man_files.cs.adoc[]
|
||||
$HOME/.weechat/weechat.conf::
|
||||
hlavní konfigurační soubor WeeChatu
|
||||
|
||||
// TRANSLATION MISSING
|
||||
== SEE ALSO
|
||||
$HOME/.weechat/plugins.conf::
|
||||
soubor konfigurace pluginů
|
||||
|
||||
*weechat-headless*(1)
|
||||
$HOME/.weechat/sec.conf::
|
||||
konfigurační soubor s chráněnými daty
|
||||
|
||||
$HOME/.weechat/alias.conf::
|
||||
configurační soubor pro _alias_ plugin
|
||||
|
||||
$HOME/.weechat/aspell.conf::
|
||||
konfigurační soubor pro _aspell_ plugin
|
||||
|
||||
$HOME/.weechat/charset.conf::
|
||||
konfigurační soubor pro _charset_ plugin
|
||||
|
||||
$HOME/.weechat/exec.conf::
|
||||
konfigurační soubor pro _exec_ plugin
|
||||
|
||||
$HOME/.weechat/irc.conf::
|
||||
konfigurační soubor pro _irc_ plugin
|
||||
|
||||
$HOME/.weechat/logger.conf::
|
||||
konfigurační soubor pro _logger_ plugin
|
||||
|
||||
$HOME/.weechat/relay.conf::
|
||||
konfigurační soubor pro _relay_ plugin
|
||||
|
||||
$HOME/.weechat/script.conf::
|
||||
konfigurační soubor pro _script_ plugin
|
||||
|
||||
$HOME/.weechat/trigger.conf::
|
||||
konfigurační soubor pro _trigger_ plugin
|
||||
|
||||
$HOME/.weechat/xfer.conf::
|
||||
konfigurační soubor pro _xfer_ plugin
|
||||
|
||||
$HOME/.weechat/weechat.log::
|
||||
soubor záznamů WeeChatu
|
||||
|
||||
== AUTOŘI
|
||||
|
||||
@@ -58,8 +98,20 @@ Tato manuálová stránka byla přeložena Ondřejem Súkupem.
|
||||
|
||||
== COPYRIGHT
|
||||
|
||||
include::man_copyright.cs.adoc[]
|
||||
WeeChat je napsán Sébastienem Helleu a přispěvovateli (kompletní seznam je v
|
||||
souboru AUTHORS.adoc).
|
||||
|
||||
Copyright (C) 2003-2017 {author}
|
||||
|
||||
WeeChat je svobodný 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.
|
||||
|
||||
Prosím přečtěte si soubor COPYING pro více informací.
|
||||
|
||||
Web: https://weechat.org/
|
||||
|
||||
== PODPORA / HLÁŠENÍ CHYB
|
||||
|
||||
Pro pomoc nebo hlášení chyb https://weechat.org/about/support
|
||||
Pro pomoc nebo hlášení chyb https://weechat.org/dev/support
|
||||
|
||||
@@ -20,8 +20,8 @@ Spustění z Vašeho shellu:
|
||||
$ weechat
|
||||
----
|
||||
|
||||
[[help]]
|
||||
== On-line nápověda
|
||||
[[help_options]]
|
||||
== On-line nápověda/ volby
|
||||
|
||||
WeeChat má nápovědů pro všechny příkazy, postě vložte:
|
||||
|
||||
@@ -35,65 +35,58 @@ K získání nápovědy pro specifický příkaz napište:
|
||||
/help příkaz
|
||||
----
|
||||
|
||||
// TRANSLATION MISSING
|
||||
Help is available for options as well:
|
||||
|
||||
----
|
||||
/help config.section.option
|
||||
----
|
||||
|
||||
(kde `config` je jméno konfigurace (`weechat` pro jádro, nebo jméno pluginu),
|
||||
`section` sekce této konfigurace a `option` jméno volby).
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[[options]]
|
||||
== Set options
|
||||
|
||||
K nastavení voleb napište:
|
||||
|
||||
----
|
||||
/set config.section.option value
|
||||
----
|
||||
|
||||
(kde `config` je jméno konfigurace (`weechat` pro jádro, nebo jméno pluginu),
|
||||
`section` sekce této konfigurace a `option` jméno volby).
|
||||
|
||||
WeeChat okamžitě použije novou hodnotu (*nikdy* nebudete potřebovat restart
|
||||
WeeChatu po změně konfigurace).
|
||||
|
||||
Můžete použít v příkazu `/set` volbu s částečným jménem a zástupným znakem "*"
|
||||
na konci nebo začátku k zobrazení všech voleb obsahující dané znaky.
|
||||
Například:
|
||||
|
||||
* zobrazí všechny volby (WeeChatu a pluginů):
|
||||
|
||||
----
|
||||
/set
|
||||
----
|
||||
|
||||
* zobraz volby WeeChatu:
|
||||
|
||||
----
|
||||
/set weechat.*
|
||||
----
|
||||
|
||||
* zobraz volby IRC pluginu:
|
||||
|
||||
----
|
||||
/set irc.*
|
||||
----
|
||||
|
||||
Můžete zobrazit nápovědu pro voblby s `/help`, například:
|
||||
|
||||
----
|
||||
/help weechat.look.highlight
|
||||
----
|
||||
|
||||
Všechna nastavení jsou uložena při ukončení WeeChatu (nebo použitím příkazu
|
||||
`/save` k vynucení zapsaní voleb).
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[IMPORTANT]
|
||||
It is *not recommended* to edit configuration files by hand because WeeChat
|
||||
may write them at any time (for example on `/quit`) and after any change
|
||||
you must run the command `/reload` (with the risk of losing other changes
|
||||
that were not yet saved with `/save`). +
|
||||
You can use the command `/set`, which checks the value and applies immediately
|
||||
the changes.
|
||||
|
||||
// TRANSLATION MISSING
|
||||
The plugin _fset_ allows you to easily browse options and change them.
|
||||
|
||||
// TRANSLATION MISSING
|
||||
For example to display WeeChat options:
|
||||
|
||||
----
|
||||
/fset weechat.*
|
||||
----
|
||||
|
||||
// TRANSLATION MISSING
|
||||
IRC options:
|
||||
|
||||
----
|
||||
/fset irc.*
|
||||
----
|
||||
|
||||
// TRANSLATION MISSING
|
||||
The `/fset` command has completion on part of option names, so for example if
|
||||
you type `/fset hot` and press kbd:[Tab] this is completed as `/fset hotlist`.
|
||||
If you press kbd:[Enter], options about the hotlist are displayed.
|
||||
|
||||
// TRANSLATION MISSING
|
||||
For more information about `/fset` command and keys, see `/help fset`.
|
||||
may write them at any time (for example on <<command_weechat_quit,/quit>>)
|
||||
and after any change you must run the command <<command_weechat_reload,/reload>>
|
||||
(with the risk of losing other changes that were not yet saved with
|
||||
<<command_weechat_save,/save>>). +
|
||||
You can use the command <<command_weechat_set,/set>>, which checks the value
|
||||
and applies immediately the changes.
|
||||
|
||||
[[core_vs_plugins]]
|
||||
== Jádro versus pluginy
|
||||
@@ -116,11 +109,6 @@ Můžete přidat irc server příkazem `/server`, například:
|
||||
/server add freenode chat.freenode.net
|
||||
----
|
||||
|
||||
// TRANSLATION MISSING
|
||||
In this command, `freenode` is the internal server name used by WeeChat:
|
||||
you'll be able to connect with `/connect freenode` and the server options
|
||||
are _irc.server.freenode.xxx_.
|
||||
|
||||
Jako obvykle je poskytována nápověda pokud se ztratíte:
|
||||
|
||||
----
|
||||
@@ -214,17 +202,11 @@ K automatickému připojení některých kanálů při připojování k serveru:
|
||||
/set irc.server.freenode.autojoin "#channel1,#channel2"
|
||||
----
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[TIP]
|
||||
You can complete name and value of options with the kbd:[Tab] key
|
||||
and kbd:[Shift+Tab] for a partial completion (useful for long words like
|
||||
the name of option).
|
||||
|
||||
K smazání hodnoty serverové volby a k použití výchozí hodnoty místo ní,
|
||||
například k požití výchozích přezdívek (irc.server_default.nicks):
|
||||
|
||||
----
|
||||
/unset irc.server.freenode.nicks
|
||||
/set irc.server.freenode.nicks null
|
||||
----
|
||||
|
||||
Ostatní volby: můžete nastavit ostatní volby s následujícím příkazem ("xxx" je
|
||||
@@ -241,12 +223,12 @@ název volby):
|
||||
/connect freenode
|
||||
----
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[NOTE]
|
||||
Tento příkaz může být použit k vytvoření nového připojení k serveru bez
|
||||
použití příkazu `/server` (see `/help connect`).
|
||||
použití příkazu `/server` (mohu zopakovat že můžete zobrazit nápovědu
|
||||
pro tento příkaz s `/help connect` ?).
|
||||
|
||||
Ve výchozím nastavení jsou serverové bufery spojen s WeeChat _core_ buferem.
|
||||
Ve výchozím nastavení jsou serverové bufery spojen s Weechat _core_ buferem.
|
||||
K přepnutí mezi _core_ a server bufery můžete použít klávesu kbd:[Ctrl+x].
|
||||
|
||||
Je možné vypnout automatické sloučení serverových buferů a mít nezávislé
|
||||
@@ -322,6 +304,8 @@ Příkazy k spravování buferů a oken:
|
||||
/window
|
||||
----
|
||||
|
||||
(nebudu se zde opakovat, můžete k těmto příkazům získat nápovědu pomocí /help)
|
||||
|
||||
Například, k svislému rozdělení obrazovky na malé okno (1/3 šířky), a velké
|
||||
okno (2/3), použijte příkaz:
|
||||
|
||||
@@ -339,12 +323,10 @@ To remove the split:
|
||||
[[key_bindings]]
|
||||
== Předvoblby klávesových zkratek
|
||||
|
||||
WeeChat používá ve výchozím nastavení mnoho klávesových zkratek, Všechny
|
||||
Weechat používá ve výchozím nastavení mnoho klávesových zkratek, Všechny
|
||||
najdete v dokumentaci, ale je dobré znát alespoň pár těchto důležitých:
|
||||
|
||||
- kbd:[Alt+←] / kbd:[Alt+→] nebo kbd:[F5] / kbd:[F6]: přepnout na předchozí/další bufer
|
||||
// TRANSLATION MISSING
|
||||
- kbd:[F1] / kbd:[F2]: scroll bar with list of buffers ("buflist")
|
||||
- kbd:[F7] / kbd:[F8]: přepnout na předchozí/další okno (pokud je obrazovka rozdělena)
|
||||
- kbd:[F9] / kbd:[F10]: posunoutí titulku
|
||||
- kbd:[F11] / kbd:[F12]: posunutí seznamu přezdívek
|
||||
@@ -387,7 +369,7 @@ stáhnout a nainstalovat scripty z repozitáře pomocí příkazu `/script`,
|
||||
například:
|
||||
|
||||
----
|
||||
/script install go.py
|
||||
/script install iset.pl
|
||||
----
|
||||
|
||||
Zkuste `/help script` pro více informací.
|
||||
|
||||
+5
-29
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2019 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2017 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
@@ -14,49 +14,26 @@
|
||||
# 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/>.
|
||||
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
if(ENABLE_MAN)
|
||||
# man page: weechat
|
||||
# man page
|
||||
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}/cmdline_options.de.adoc
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options_debug.de.adoc
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/man_plugin_options.de.adoc
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/man_files.de.adoc
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/man_copyright.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)
|
||||
add_custom_target(doc-man-de ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat.1)
|
||||
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat.1 DESTINATION ${MANDIR}/de/man1)
|
||||
|
||||
# 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}/cmdline_options.de.adoc
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options_debug.de.adoc
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/man_plugin_options.de.adoc
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/man_files.de.adoc
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/man_copyright.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()
|
||||
|
||||
if(ENABLE_DOC)
|
||||
|
||||
file(GLOB AUTOGEN_USER "${CMAKE_CURRENT_SOURCE_DIR}/autogen/user/*.adoc")
|
||||
|
||||
# user's guide
|
||||
add_custom_command(
|
||||
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.de.html
|
||||
@@ -65,8 +42,7 @@ if(ENABLE_DOC)
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../docinfo.html
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.de.adoc
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.de.adoc
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options_debug.de.adoc
|
||||
${AUTOGEN_USER}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/autogen/user/*.adoc
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
||||
COMMENT "Building weechat_user.de.html"
|
||||
)
|
||||
|
||||
+7
-13
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2019 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2017 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2006 Julien Louis <ptitlouis@sysif.net>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
@@ -15,7 +15,7 @@
|
||||
# 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/>.
|
||||
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
docdir = $(datadir)/doc/$(PACKAGE)
|
||||
@@ -23,9 +23,7 @@ docdir = $(datadir)/doc/$(PACKAGE)
|
||||
EXTRA_DIST = CMakeLists.txt \
|
||||
docinfo.html \
|
||||
weechat.1.de.adoc \
|
||||
weechat-headless.1.de.adoc \
|
||||
cmdline_options.de.adoc \
|
||||
cmdline_options_debug.de.adoc \
|
||||
weechat_user.de.adoc \
|
||||
weechat_scripting.de.adoc \
|
||||
weechat_faq.de.adoc \
|
||||
@@ -34,8 +32,7 @@ EXTRA_DIST = CMakeLists.txt \
|
||||
$(wildcard autogen/user/*.adoc)
|
||||
|
||||
if MAN
|
||||
man_targets = weechat.1 \
|
||||
weechat-headless.1
|
||||
man_targets = weechat.1
|
||||
man_install = install-man
|
||||
man_uninstall = uninstall-man
|
||||
endif
|
||||
@@ -50,14 +47,12 @@ if DOC
|
||||
endif
|
||||
all-local: $(man_targets) $(doc_targets)
|
||||
|
||||
# man pages
|
||||
weechat.1: weechat.1.de.adoc cmdline_options.de.adoc cmdline_options_debug.de.adoc
|
||||
# man page
|
||||
weechat.1: weechat.1.de.adoc cmdline_options.de.adoc
|
||||
$(ASCIIDOCTOR) -a revision="WeeChat $(VERSION)" -b manpage -o weechat.1 $(abs_top_srcdir)/doc/de/weechat.1.de.adoc
|
||||
weechat-headless.1: weechat-headless.1.de.adoc cmdline_options.de.adoc cmdline_options_debug.de.adoc
|
||||
$(ASCIIDOCTOR) -a revision="WeeChat $(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 cmdline_options.de.adoc cmdline_options_debug.de.adoc $(wildcard autogen/user/*.adoc) $(abs_top_srcdir)/doc/docinfo.html
|
||||
weechat_user.de.html: weechat_user.de.adoc cmdline_options.de.adoc $(wildcard autogen/user/*.adoc) $(abs_top_srcdir)/doc/docinfo.html
|
||||
$(ASCIIDOCTOR) -a revision="$(VERSION)" -a sectanchors -a source-highlighter=prettify -o weechat_user.de.html $(abs_top_srcdir)/doc/de/weechat_user.de.adoc
|
||||
|
||||
# scripting guide
|
||||
@@ -94,7 +89,6 @@ 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:
|
||||
@@ -104,4 +98,4 @@ uninstall-doc:
|
||||
# clean
|
||||
|
||||
clean-local:
|
||||
-$(RM) weechat.1 weechat-headless.1 weechat_*.html
|
||||
-rm -f weechat.1 weechat_*.html
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user