1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-17 00:24:47 +02:00

Compare commits

..

8 Commits

Author SHA1 Message Date
Sebastien Helleu 4c34d008d9 Version 0.3.1.1 2010-01-31 11:43:51 +01:00
Sebastien Helleu f314ad4112 Add missing includes in FindIconv.cmake (patch #7069) 2010-01-30 18:27:09 +01:00
Sebastien Helleu f88b127e44 Fix crash when purging old xfer chats (bug #28764) 2010-01-29 16:21:26 +01:00
Sebastien Helleu d157f42ec9 Fix crash with SSL connection to IRC server if option ssl_cert is set (bug #28752) 2010-01-29 12:42:53 +01:00
Sebastien Helleu 1d803a6972 Update ChangeLog 2010-01-29 08:00:27 +01:00
Emmanuel Bouthenot 2342aecbe6 Fix a build failure with: 1.7.6 < gnutls <= 2.4.6 2010-01-29 00:25:46 +01:00
Emmanuel Bouthenot b3e7bc728d Fix a build failure with gnutls < 1.7.6 2010-01-29 00:25:14 +01:00
Sebastien Helleu 765d2ee476 Fix bug with SSL connection to IRC server (fails sometimes when ssl_verify is on) (bug #28741) 2010-01-27 11:18:39 +01:00
711 changed files with 98361 additions and 270942 deletions
-5
View File
@@ -1,5 +0,0 @@
# files/directories excluded from tarballs
.git* export-ignore
debian export-ignore
weechat.spec export-ignore
+6 -3
View File
@@ -1,6 +1,7 @@
# ignored files for Git
*.a
*.css
*.gmo
*.html
*.la
@@ -18,9 +19,7 @@ ABOUT-NLS
autom4te*
build*/*
config.guess
config.h
config.h.in*
config-git.h
config.h*
config.log
config.rpath
config.status
@@ -42,8 +41,12 @@ POTFILES
remove-potcdate.sed
Rules-quot
weechat.pc
doc/de/build/*
doc/en/build/*
doc/fr/build/*
*stamp
stamp*
src/gui/curses/weechat-curses
src/gui/gtk/weechat-gtk
+25 -43
View File
@@ -6,62 +6,44 @@ Developers
* General code
** Sébastien Helleu (FlashCode) <flashcode@flashtux.org>
** FlashCode <flashcode@flashtux.org>
*** Web: http://www.weechat.org/
*** IRC: 'FlashCode' on irc.freenode.net
* Scripts plugins, debian packager
** Emmanuel Bouthenot (kolter) <kolter@openics.org>
** kolter <kolter@openics.org>
*** IRC: 'kolter' on irc.freenode.net
Contributors
------------
Alphabetically:
* Ailin Nemui (Nei)
* Aleksey V Zapparov
* Andrew Potter
* Arvydas Sidorenko
* Benoit Papillault (benoit)
* Julien Louis <ptitlouis@sysif.net>, IRC: 'ptitlouis'
* Rudolf Polzer <rpolzer-rp@durchnull.de>, IRC: 'divVerent'
* Jiri Golembiovsky <golemj@gmail.com>, IRC: 'GolemJ'
* Jim Ramsay <i.am@jimramsay.com>, IRC: 'lack'
* Odin <odin@dtdm.org>, IRC: 'Odin'
* Pistos, IRC: 'pistos'
* Gwenn, IRC: 'gwenn'
* Voroskoi, IRC: 'voroskoi'
* Frank Zacharias
* Pavel Shevchuk, IRC: 'Stalwart'
* soltys
* Nils Görs
* rettub
* m4v
* Marco Paolone
* Dmitry Kobylin
* Dominik Honnef
* Elián Hanisch (m4v)
* Elizabeth Myers (Elizacat)
* Frank Zacharias
* Gu1ll4um3r0m41n
* gwenn
* Ivan Sichmann Freitas
* JD Horelick (jdhore)
* Jim Ramsay (lack)
* Jiri Golembiovsky (GolemJ)
* Julien Louis (ptitlouis)
* Krzysztof Koroscik (soltys)
* Kyle Fuller (kylef)
* Lázaro A.
* Marco Paolone
* Mateusz Poszwa
* Nicolas Cavigneaux
* Nils Görs (nils_2)
* Odin
* Pavel Shevchuk (Stalwart)
* Peter Boström (pbos)
* pistos
* Quentin Glidic (SardemFF7)
* Quico Noizeux
* rettub
* Rudolf Polzer (divVerent)
* Ryuunosuke Ayanokouzi
* Sergio Durigan Junior
* Simon Arlott
* Simon Kuhnle
* Stefano Pigozzi
* voroskoi
Contact
-------
Developers are connected to IRC:
Whole team is connected to IRC:
server: 'irc.freenode.net', channels: '#weechat' (english) and '#weechat-fr' (french)
* server: 'irc.freenode.net'
* channels: '#weechat' (english) and '#weechat-fr' (french)
See README file for license detail.
+38 -61
View File
@@ -1,22 +1,17 @@
# Copyright (c) 2003-2010 by FlashCode <flashcode@flashtux.org>
#
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2007-2008 Julien Louis <ptitlouis@sysif.net>
# Copyright (C) 2008-2009 Emmanuel Bouthenot <kolter@openics.org>
#
# This file is part of WeeChat, the extensible chat client.
#
# WeeChat is free software; you can redistribute it and/or modify
# This program 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,
# This program 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 <http://www.gnu.org/licenses/>.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
PROJECT(weechat C)
@@ -32,10 +27,9 @@ IF(PREFIX)
ENDIF(PREFIX)
SET(VERSION_MAJOR "0")
SET(VERSION_MINOR "4")
SET(VERSION_PATCH "1")
SET(VERSION_MINOR "3")
SET(VERSION_PATCH "1.1")
SET(VERSION ${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH})
SET(LICENSE "GPL3")
SET(PKG_STRING "${PROJECT_NAME} ${VERSION}")
STRING(REPLACE "\";\"" "\ " PKG_STRING ${PKG_STRING})
@@ -49,10 +43,6 @@ IF(NOT DEFINED SHAREDIR)
SET(SHAREDIR ${CMAKE_INSTALL_PREFIX}/share)
ENDIF(NOT DEFINED SHAREDIR)
IF(NOT DEFINED MANDIR)
SET(MANDIR ${SHAREDIR}/man)
ENDIF(NOT DEFINED MANDIR)
IF(NOT DEFINED LOCALEDIR)
SET(LOCALEDIR ${SHAREDIR}/locale)
ENDIF(NOT DEFINED LOCALEDIR)
@@ -63,53 +53,41 @@ ELSE(DEFINED INCLUDEDIR)
SET(INCLUDEDIR ${CMAKE_INSTALL_PREFIX}/include/${PROJECT_NAME})
ENDIF(DEFINED INCLUDEDIR)
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_CHARSET "Enable Charset plugin" ON)
OPTION(ENABLE_DEMO "Enable Demo plugin" OFF)
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_RMODIFIER "Enable Rmodifier 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)" 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_XFER "Enable Xfer plugin" ON)
OPTION(ENABLE_DOC "Enable Documentation" ON)
OPTION(DISABLE_NCURSES "Disable Ncurses interface")
OPTION(ENABLE_GTK "Enable GTK interface")
OPTION(DISABLE_NLS "Disable Native Language Support")
OPTION(DISABLE_GNUTLS "Disable SSLv3/TLS connection support")
OPTION(DISABLE_LARGEFILE "Disable Large File Support")
OPTION(DISABLE_ALIAS "Disable Alias plugin")
OPTION(DISABLE_ASPELL "Disable Aspell plugin")
OPTION(DISABLE_CHARSET "Disable Charset plugin")
OPTION(ENABLE_DEMO "Enable Demo plugin")
OPTION(DISABLE_FIFO "Disable FIFO plugin")
OPTION(DISABLE_IRC "Disable IRC plugin")
OPTION(DISABLE_LOGGER "Disable Logger plugin")
OPTION(ENABLE_RELAY "Enable Relay plugin")
OPTION(DISABLE_SCRIPTS "Disable script plugins")
OPTION(DISABLE_PERL "Disable Perl scripting language")
OPTION(DISABLE_PYTHON "Disable Python scripting language")
OPTION(DISABLE_RUBY "Disable Ruby scripting language")
OPTION(DISABLE_LUA "Disable Lua scripting language")
OPTION(DISABLE_TCL "Disable Tcl scripting language")
OPTION(DISABLE_XFER "Disable Xfer plugin (file transfer and direct chat)")
OPTION(DISABLE_DOC "Disable Doc")
IF(NOT DEFINED WEECHAT_HOME OR "${WEECHAT_HOME}" STREQUAL "")
SET(WEECHAT_HOME "~/.weechat")
ENDIF(NOT DEFINED WEECHAT_HOME OR "${WEECHAT_HOME}" STREQUAL "")
SET(WEECHAT_HOME "${WEECHAT_HOME}" CACHE
STRING "WeeChat home directory for config, logs, scripts.. (default is \"~/.weechat\")"
FORCE)
MARK_AS_ADVANCED(CLEAR WEECHAT_HOME)
IF(ENABLE_NLS)
IF(NOT DISABLE_NLS)
ADD_SUBDIRECTORY( po )
ENDIF(ENABLE_NLS)
ENDIF(NOT DISABLE_NLS)
ADD_SUBDIRECTORY( src )
ADD_SUBDIRECTORY( doc )
CONFIGURE_FILE(config.h.cmake config.h @ONLY)
# set the git version in "config-git.h"
ADD_CUSTOM_TARGET(version_git ALL
COMMAND "${CMAKE_CURRENT_SOURCE_DIR}/git-version.sh" "${CMAKE_CURRENT_SOURCE_DIR}" "${VERSION}" "config-git.h"
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}")
CONFIGURE_FILE(
"${CMAKE_CURRENT_SOURCE_DIR}/cmake/makedist.sh.in"
"${CMAKE_CURRENT_BINARY_DIR}/makedist.sh" IMMEDIATE
@ONLY)
CONFIGURE_FILE(
"${CMAKE_CURRENT_SOURCE_DIR}/cmake/cmake_uninstall.cmake.in"
@@ -120,8 +98,9 @@ ADD_CUSTOM_TARGET(uninstall
"${CMAKE_COMMAND}" -P "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake")
ADD_CUSTOM_TARGET(dist
"${CMAKE_CURRENT_SOURCE_DIR}/makedist.sh" "${VERSION}" "HEAD"
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
"${CMAKE_BINARY_DIR}/makedist.sh"
DEPENDS doc
WORKING_DIRECTORY ${CMAKE_BINARY_DIR})
# pkgconfig file
SET(PACKAGE "${PROJECT_NAME}")
@@ -132,12 +111,9 @@ 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)
# icon
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/weechat.png DESTINATION ${SHAREDIR}/icons/hicolor/32x32/apps)
# packages
SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Fast, light and extensible chat client")
SET(CPACK_PACKAGE_VENDOR "Sebastien Helleu")
SET(CPACK_PACKAGE_VENDOR "FlashCode")
SET(CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_CURRENT_SOURCE_DIR}/README")
SET(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/COPYING")
SET(CPACK_PACKAGE_VERSION_MAJOR ${VERSION_MAJOR})
@@ -159,6 +135,7 @@ SET(CPACK_SOURCE_IGNORE_FILES "/\\\\.git" "/build/" "/m4/"
"/ltmain\\\\.sh$" "/\\\\.deps/" "/html/" "/html1/" "/Makefile$"
"/Makefile\\\\.in$" "stamp" "/po/.*\\\\.header$" "\\\\.gmo$" "~$" "\\\\.o$"
"\\\\.lo$" "\\\\.a$" "\\\\.la$" "\\\\.lai$" "\\\\.Plo$" "/weechat-curses$"
"/weechat-gtk$"
)
INCLUDE(CPack)
+75 -1124
View File
File diff suppressed because it is too large Load Diff
+22 -33
View File
@@ -1,39 +1,11 @@
WeeChat Installation instructions
=================================
WeeChat can be built with cmake (recommended) or autotools.
[NOTE]
Only cmake is officially supported to build WeeChat. You should use autotools
only if you are not able to use cmake. +
Build with autotools requires more dependencies and is slower than with cmake.
You can build WeeChat with cmake (recommended way) or autotools.
Dependencies
------------
Following packages are *required*:
* cmake
* ncurses
* curl
* zlib
* gcrypt
Following packages are all optional:
* for i18n: gettext
* for SSL: gnutls, ca-certificates
* for spell checking: aspell
* for scripting: python, perl, ruby, lua, tcl, guile
* for building doc: asciidoc, source-highlight
For a complete list of dependencies and versions recommended, please look at
'User's guide'.
Installation With cmake
-----------------------
With cmake
----------
------------------------------------------------------------------
mkdir build
@@ -43,5 +15,22 @@ make
make install (as root for installation in system directories)
------------------------------------------------------------------
For more information or installation with autotools, please look at
'User's guide': http://www.weechat.org/doc
With autotools
--------------
----------------------------------------------------------------------
./autogen.sh (for cloned git repository only, not .tar.XX package)
./configure --prefix=/where/you/want/install
make
make install (as root for installation in system directories)
----------------------------------------------------------------------
If you want to report bugs/crashs to developers, please:
- compile with debug info (type "Debug" for cmake build, default for autotools),
- enable core files (for bash shell, add "ulimit -c unlimited" to your ~/.bashrc).
See AUTHORS for support, feel free to contact us for any problem.
+10 -31
View File
@@ -1,30 +1,19 @@
# Copyright (c) 2003-2010 by FlashCode <flashcode@flashtux.org>
#
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2005 Julien Louis <ptitlouis@sysif.net>
# Copyright (C) 2006-2009 Emmanuel Bouthenot <kolter@openics.org>
#
# This file is part of WeeChat, the extensible chat client.
#
# WeeChat is free software; you can redistribute it and/or modify
# This program 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,
# This program 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 <http://www.gnu.org/licenses/>.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# This target will update file config-git.h with output of command "git describe"
# (if needed, and only for a devel/rc version).
BUILT_SOURCES = build-config-git.h
build-config-git.h:
-$(abs_top_srcdir)/git-version.sh "$(abs_top_srcdir)" "$(VERSION)" config-git.h
if DOC
doc_dir = doc
endif
@@ -34,39 +23,29 @@ SUBDIRS = po $(doc_dir) intl src
EXTRA_DIST = CMakeLists.txt \
config.rpath \
config.h.cmake \
git-version.sh \
makedist.sh \
cmake/CMakeParseArguments.cmake \
cmake/cmake_uninstall.cmake.in \
cmake/FindAsciidoc.cmake \
cmake/FindAspell.cmake \
cmake/FindGCRYPT.cmake \
cmake/FindGettext.cmake \
cmake/FindGnuTLS.cmake \
cmake/FindGuile.cmake \
cmake/FindIconv.cmake \
cmake/FindLua.cmake \
cmake/FindNcurses.cmake \
cmake/FindPackageHandleStandardArgs.cmake \
cmake/FindPerl.cmake \
cmake/FindPkgConfig.cmake \
cmake/FindPython.cmake \
cmake/FindRuby.cmake \
cmake/FindSourcehighlight.cmake \
cmake/FindTCL.cmake \
cmake/FindZLIB.cmake \
cmake/cmake_uninstall.cmake.in \
cmake/makedist.sh.in \
po/CMakeLists.txt \
po/srcfiles.cmake \
weechat.png \
weechat.pc.in
weechat.spec \
weechat_icon_32.png \
weechat.pc.in \
UPGRADE_0.3
ACLOCAL_AMFLAGS = -I m4
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = weechat.pc
icondir = $(datadir)/icons/hicolor/32x32/apps
icon_DATA = weechat.png
clean-local:
$(RM) config-git.h
+194 -740
View File
@@ -1,740 +1,194 @@
WeeChat Release Notes
=====================
Sébastien Helleu <flashcode@flashtux.org>
v0.4.1, 2013-05-20
This document lists important changes for each version, that require manual
actions. It is recommended to read it when upgrading to a new stable
version.
For a complete list of changes, please look at
http://weechat.org/files/changelog/ChangeLog-devel.html[ChangeLog]
(file 'ChangeLog' in sources).
Version 0.4.1 (2013-05-20)
--------------------------
=== Nicklist diff in relay ===
A new message with identifier "_nicklist_diff" has been added in relay (WeeChat
protocol). WeeChat may decide to send full nicklist or this nicklist diff at any
time (depending on size of message, the smaller is sent).
Clients using nicklist must implement it.
For more info about content of message, see document 'WeeChat Relay Protocol'.
=== Dynamic nick prefix/suffix ===
The nick prefix/suffix (for example: "<" and ">") are now dynamic and used on
display (not stored any more in the line).
Options moved from irc plugin (irc.conf) to core (weechat.conf):
* 'irc.look.nick_prefix' moved to 'weechat.look.nick_prefix'
* 'irc.look.nick_suffix' moved to 'weechat.look.nick_suffix'
* 'irc.color.nick_prefix' moved to 'weechat.color.chat_nick_prefix'
* 'irc.color.nick_suffix' moved to 'weechat.color.chat_nick_suffix'
Types and default values for these four options remain unchanged.
Two new options to customize the truncature char (by default "`+`"):
* 'weechat.look.prefix_align_more_after' (boolean, 'on' by default)
* 'weechat.look.prefix_buffer_align_more_after' (boolean, 'on' by default)
When these options are enabled (default), the "`+`" is displayed after the
text, replacing the space that should be displayed there. +
When turned off, the "`+`" will replace last char of text.
Example for a nicks "FlashCode" and "fc" with different values for options
'weechat.look.prefix_align_max', 'weechat.look.prefix_align_more_after',
'weechat.look.nick_prefix' and 'weechat.look.nick_suffix':
----------------------------------------
# align_max, more_after, prefix/suffix
FlashCode │ test # 0, on
fc │ test
FlashCod+│ test # 8, on
fc │ test
FlashCo+ │ test # 8, off
fc │ test
<FlashCode> │ test # 0, on, < >
<fc> │ test
<FlashC>+│ test # 8, on, < >
<fc> │ test
<Flash+> │ test # 8, off, < >
<fc> │ test
----------------------------------------
After `/upgrade`, if you set new options to non-empty strings, and if old
options were set to non-empty strings too, you will see double prefix/suffix
on old messages, this is normal behaviour (lines displayed before `/upgrade`
have prefix/suffix saved in prefix, but new lines don't have them any more).
New options in logger plugin (logger.conf):
* 'logger.file.nick_prefix': prefix for nicks in log files (default: empty
string)
* 'logger.file.nick_suffix': suffix for nicks in log files (default: empty
string)
=== IRC reconnection on important lag ===
Option 'irc.network.lag_disconnect' has been renamed to
'irc.network.lag_reconnect' and value is now a number of seconds (instead of
minutes).
=== IRC passwords hidden ===
IRC plugin is now using modifiers "irc_command_auth" and "irc_message_auth" to
hide passwords.
The option 'irc.look.hide_nickserv_pwd' has been removed, and a new option
'irc.look.nicks_hide_password' has been added (by default passwords are hidden
only for "nickserv").
A new rmodifier "message_auth" has been added to hide passwords displayed by
command "/msg nickserv identify|register|ghost|release" and the rmodifier
"nickserv" has been renamed to "command_auth".
If you never added/changed rmodifiers, you can just reset all rmodifiers:
----------------------------------------
/rmodifier default -yes
----------------------------------------
If you added/changed some rmodifiers, do it manually with these commands:
----------------------------------------
/rmodifier del nickserv
/rmodifier add command_auth history_add,input_text_display,irc_command_auth 1,4* ^(/(msg|quote) +nickserv +(id|identify|register|ghost \S+|release \S+) +)(.*)
/rmodifier add message_auth irc_message_auth 1,3* ^(.*(id|identify|register|ghost \S+|release \S+) +)(.*)
----------------------------------------
=== Lua constants ===
For consistency with other supported languages, the API constants in Lua have
been redefined as constants instead of functions.
Therefore, the use of a constant must be changed: the parentheses must be
removed.
The old syntax was:
[source,lua]
----------------------------------------
return weechat.WEECHAT_RC_OK()
----------------------------------------
The new syntax is:
[source,lua]
----------------------------------------
return weechat.WEECHAT_RC_OK
----------------------------------------
=== Guile callbacks ===
The way to give arguments for guile callbacks has been fixed: now arguments are
sent individually (instead of a list with all arguments inside).
Therefore, existing guile scripts must be modified accordingly. Moreover,
WeeChat now requires Guile ≥ 2.0 to compile.
Version 0.4.0 (2013-01-20)
--------------------------
=== Conditions in bars ===
Conditions in bars have changed, and now an expression is evaluated.
If you have a value with many conditions in a bar, like: `nicklist,active`, you
must now use an expression like: `${nicklist} && ${active}` (see the chapter
about bars in the 'WeeChat User's guide').
=== IPv6 by default ===
==== IRC ====
IPv6 is now used by default to connect to IRC servers, with fallback to
IPv4. The option 'irc.server_default.ipv6' is now "on" by default. If IPv6 is
not enabled or fails, IPv4 will be used. The "ipv6" option in server is now used
to disable IPv6 and force IPv4 (if option is turned "off").
==== Relay ====
Relay plugin is now listening by default on an IPv6 socket (new option
'relay.network.ipv6', on by default), so connections with IPv4 will have
IPv4-mapped IPv6 addresses, like: "::ffff:127.0.0.1" (for "127.0.0.1"); check
that value of option 'relay.network.allowed_ips' supports this mapping, or
disable IPv6 in relay if you don't plan to use it at all:
----------------------------------------
/set relay.network.ipv6 off
----------------------------------------
Version 0.3.9.2 (2012-11-18)
----------------------------
This version fixes a security vulnerability when a plugin/script gives untrusted
command to API function "hook_process".
Version 0.3.9.1 (2012-11-09)
----------------------------
This version fixes crash when decoding IRC colors in strings.
Version 0.3.9 (2012-09-29)
--------------------------
=== Options moved ===
Options moved from core (weechat.conf) to irc plugin (irc.conf):
* 'weechat.look.nickmode' moved to 'irc.look.nick_mode' (new type: integer
with values: none/prefix/action/both)
* 'weechat.look.nickmode_empty' moved to 'irc.look.nick_mode_empty'
=== New bar item buffer_modes ===
A new bar item has been added: 'buffer_modes' and irc option
'irc.look.item_channel_modes' has been removed; to display irc channel modes in
status bar (after channel name), you have to manually add the new item
'buffer_modes' (this is now used by default in status bar items), default value
for status bar items becomes:
----------------------------------------
/set weechat.bar.status.items "[time],[buffer_count],[buffer_plugin],buffer_number+:+buffer_name+(buffer_modes)+{buffer_nicklist_count}+buffer_filter,[lag],[hotlist],completion,scroll"
----------------------------------------
=== Command /aspell ===
New options in command `/aspell`:
* `enable`: enable aspell
* `disable`: disable aspell
* `toggle`: toggle aspell (new default key: alt+"s")
Options renamed in command `/aspell`:
* `enable` renamed to `setdict` (set dictionary for current buffer)
* `disable` renamed to `deldict` (delete dictionary used on current buffer)
* `dictlist` renamed to `listdict` (show installed dictionaries)
=== Horizontal separator ===
An horizontal separator has been added between split windows, and two options
have been added to toggle separators (both are enabled by default):
* 'weechat.look.window_separator_horizontal'
* 'weechat.look.window_separator_vertical'
=== New keys ===
New keys were added, use command `/key missing` to add them or `/key listdiff`
to see differences between your current keys and WeeChat default keys.
Version 0.3.8 (2012-06-03)
--------------------------
=== Options ===
Options 'weechat.look.prefix_align_more' and
'weechat.look.prefix_buffer_align_more' have been converted from type boolean to
string:
* if the value was on (default), new value is "+" and you can now customize this
char
* if the value was off, you have to set " " (string with one space)
=== Paste detection ===
Option 'weechat.look.paste_max_lines' can now be used with value 0 to detect
paste with one line (only if terminal "bracketed paste mode" is enabled when
option 'weechat.look.paste_bracketed' is on); so now the value -1 is used to
disable paste detection: if your value was 0, you should set it to -1
----------------------------------------
/set weechat.look.paste_max_lines -1
----------------------------------------
=== Rmodifier ===
Rmodifier "nickserv" has a new default regex which includes option "release" for
command "/msg nickserv".
If you never added/changed rmodifiers, you can just reset all rmodifiers:
----------------------------------------
/rmodifier default -yes
----------------------------------------
If you added/changed some rmodifiers, do it manually with these commands:
----------------------------------------
/rmodifier del nickserv
/rmodifier add nickserv history_add,input_text_display 1,4* ^(/(msg|quote) +nickserv +(id|identify|ghost \S+|release \S+) +)(.*)
----------------------------------------
Version 0.3.7 (2012-02-26)
--------------------------
=== Options ===
Option `scroll_unread` has been moved from command `/input` to `/window`,
therefore default command of key alt+"u" has been updated. To bind key with new
default value:
----------------------------------------
/key bind meta-u /window scroll_unread
----------------------------------------
Option 'weechat.history.max_lines' has been renamed to
'weechat.history.max_buffer_lines_number'.
Option 'weechat.plugin.extension' now supports list of extensions, and new
default value is ".so,.dll" (with this value, weechat.conf is compatible with
Cygwin).
=== Extended regex ===
Extended regex is used in filters and irc ignore, so some chars that needed
escape in past do not need any more (for example `[0-9]\+` becomes `[0-9]+`),
filters and ignore have to be manually fixed.
Option 'weechat.look.highlight_regex' becomes case insensitive by default, to
make it case sensitive, use "(?-i)" at beginning of string, for example:
"(?-i)FlashCode|flashy".
Version 0.3.6 (2011-10-22)
--------------------------
=== Options ===
Option 'weechat.look.hline_char' has been renamed to
'weechat.look.separator_horizontal'.
=== Bold in colors ===
Bold is not used any more for basic colors (used only if terminal has less than
16 colors), a new option has been added to force bold if needed:
'weechat.look.color_basic_force_bold'.
Version 0.3.5 (2011-05-15)
--------------------------
=== Colors ===
If you have some colors defined in section "palette" with version 0.3.4, you
should remove all colors defined, and add new aliases (it's not needed any more
to add colors before using them).
Colors for nick prefixes (char for op, voice, ..) are defined in a single option
'irc.color.nick_prefixes', therefore following options will be lost:
'irc.color.nick_prefix_op', 'irc.color.nick_prefix_halfop',
'irc.color.nick_prefix_voice', 'irc.color.nick_prefix_user'.
=== Hotlist ===
==== Counters ====
Count of messages have been added to hotlist by default, if you want to come
back to old behavior, do that:
----------------------------------------
/set weechat.look.hotlist_count_max 0
/set weechat.look.hotlist_buffer_separator ","
----------------------------------------
==== Away and current buffer ====
When you are away, all buffers are now added to hotlist by default (even if they
are displayed in a window), if you want to come back to old behavior, do that:
----------------------------------------
/set weechat.look.hotlist_add_buffer_if_away off
----------------------------------------
=== New keys ===
New keys were added, use command `/key missing` to add them or `/key listdiff`
to see differences between your current keys and WeeChat default keys.
Version 0.3.4 (2011-01-16)
--------------------------
=== After /upgrade ===
If you are using `/upgrade` from a previous release:
* some nick prefixes can be wrong, so it is recommended to do `/allchan names`
* nick colors are defined with a new option 'weechat.color.chat_nick_colors',
therefore old options 'weechat.color.chat_nick_color1..10' will be lost when
upgrading
* nick colors in messages displayed will be wrong if you changed some nick colors
(old default colors will be used)
=== Options ===
Some IRC options have been renamed, before upgrading to this version, note
value for old options, and set them again with new name:
* options moved from 'network' section to servers (with global value, and server
value, like other server options):
** 'irc.network.connection_timeout' moved to
'irc.server_default.connection_timeout'
** 'irc.network.anti_flood_prio_high' moved to
'irc.server_default.anti_flood_prio_high'
** 'irc.network.anti_flood_prio_low' moved to
'irc.server_default.anti_flood_prio_low'
** 'irc.network.away_check' moved to 'irc.server_default.away_check'
** 'irc.network.away_check_max_nicks' moved to
'irc.server_default.away_check_max_nicks'
** 'irc.network.default_msg_part' moved to 'irc.server_default.default_msg_part'
** 'irc.network.default_msg_quit' moved to 'irc.server_default.default_msg_quit'
* other IRC options renamed:
** 'irc.look.open_channel_near_server' moved to 'irc.look.new_channel_position'
(old option was boolean, new is integer with value as string)
** 'irc.look.open_pv_near_server' moved to 'irc.look.new_pv_position'
(old option was boolean, new is integer with value as string)
Version 0.3.3 (2010-08-07)
--------------------------
=== After /upgrade ===
If you are using `/upgrade` from a previous release, then you must reconnect to
IRC servers in order to use new command /wallchops.
=== Options ===
Option 'irc.look.show_away_once' has been renamed to
'irc.look.display_pv_away_once'.
Option 'irc.network.lag_min_show' is now in milliseconds, you should set new
value: your current value multiplied by 1000 (new default value is 500).
Version 0.3.2 (2010-04-18)
--------------------------
=== After /upgrade ===
If you are using `/upgrade` from a previous release, then you must execute this
command on all IRC servers/channels/private buffers and xfer DCC chats (not
needed on WeeChat core buffer or buffers from other plugins/scripts):
----------------------------------------
/buffer set highlight_words $nick
----------------------------------------
Version 0.3.1.1 (2010-01-31)
----------------------------
This version fixes crashes with SSL connection and purge of old DCC chats.
All users of version 0.3.1 should upgrade to this version.
Version 0.3.1 (2010-01-23)
--------------------------
=== Aliases ===
IRC commands /ame and /amsg are now aliases, if you are upgrading from version
0.3.0, you must create aliases with following commands:
----------------------------------------
/alias aaway allserv /away
/alias ame allchan /me
/alias amsg allchan /amsg *
/alias anick allserv /nick
----------------------------------------
Version 0.3.0 (2009-09-06)
--------------------------
This version brings *MAJOR* changes, especially for configuration files and
plugin API and it not compatible with previous versions.
Major differences:
* it is *NOT POSSIBLE* to use command `/upgrade` from a version 0.2.x to 0.3.x;
you have to quit your old WeeChat, then run new version.
* new configuration files (`*.conf`) are not compatible with old files (`*.rc`).
* name of options is similar to old versions, but there is now one configuration
file by plugin, and one file for WeeChat core; there is
*no automatic conversion* for your old options to new configuration files,
so you'll have to setup again your IRC servers and all other options.
* plugin API has been rewritten and is not compatible with previous versions;
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
Version 0.2.6.3 (2009-06-13)
----------------------------
This version fixes gnutls detection.
Version 0.2.6.2 (2009-04-18)
----------------------------
This version fixes a bug with charset decoding (like 'iso2022jp').
Version 0.2.6.1 (2009-03-14)
----------------------------
This version fixes a major bug: crash with some special chars in IRC messages.
Version 0.2.6 (2007-09-06)
--------------------------
No release note.
Version 0.2.5 (2007-06-07)
--------------------------
No release note.
Version 0.2.4 (2007-03-29)
--------------------------
No release note.
Version 0.2.3 (2007-01-10)
--------------------------
This version fixes several major bugs of version 0.2.2.
All users of version 0.2.2 should upgrade to this version.
Version 0.2.2 (2007-01-06)
--------------------------
=== Charset plugin ===
For users of any previous version, all your charset settings in weechat.rc will
be LOST! You should save your weechat.rc to keep your values and set them again
with new 'charset' plugin.
For ISO users: history of channels may be without accents (after `/upgrade`),
this is not recoverable, but this is not a bug. All new messages should be OK.
Be careful, now default encode is UTF-8 for all channels (before it was terminal
charset). If you still want to send messages as 'ISO-8859-1', you should set
either global encode or server specific encode to 'ISO-8859-1'.
For global encode:
----------------------------------------
/setp charset.global.encode = "ISO-8859-1"
----------------------------------------
For server encode (on server buffer):
----------------------------------------
/charset encode ISO-8859-1
----------------------------------------
=== New keys ===
New keys for topic scroll: F9/F10.
Key F10 was used for `infobar_clear` in previous WeeChat versions, you have to
manually rebind this key (except for new WeeChat users):
----------------------------------------
/key <press alt+"k" then F10> scroll_topic_right
----------------------------------------
Which gives something like:
----------------------------------------
/key meta2-21~ scroll_topic_right
----------------------------------------
Version 0.2.1 (2006-10-01)
--------------------------
No release note.
Version 0.2.0 (2006-08-19)
--------------------------
=== After /upgrade ===
If you upgraded with `/upgrade` in WeeChat, you should `/disconnect` and then
`/reconnect` on each server, to display properly channel/user modes.
=== Plugins ===
If you're using plugins, you should remove some old plugins libraries in WeeChat
system library directory (commonly '/usr/local/lib/weechat/plugins'): remove
`lib*` files (like `libperl.*`, `libpython.*`, ..) and keep only new libraries
(`perl.*`, `python.*`, ..).
Version 0.1.9 (2006-05-25)
--------------------------
=== DCC chat ===
Please close all DCC chat buffers before using /upgrade command, otherwise you
may experience problems with DCC chats.
=== Script API ===
Some changes in script API: now timer handlers functions takes exactly 0 (zero)
argument (in version 0.1.8, two arguments were mandatory but not used: server
and arguments).
Version 0.1.8 (2006-03-18)
--------------------------
=== After /upgrade ===
After installing 0.1.8 (or with `/upgrade`), issue both commands (if you didn't
redefine these keys (alt+{home|end}):
----------------------------------------
/key unbind meta-meta2-1~
/key unbind meta-meta2-4~
----------------------------------------
Then launch again WeeChat (or issue `/upgrade`).
=== Configuration files ===
It is recommended for users of version 0.1.7 (or any older), to replace values
in setup file ('~/.weechat/weechat.rc'):
* option: log_path: replace '~/.weechat/logs' by '%h/logs'
* option: plugins_path: replace '~/.weechat/plugins' by '%h/plugins'
The string '%h' is replaced by WeeChat home (default: '~/.weechat', may be
overridden by new command line argument `--dir`).
=== Keys ===
Keys alt+{home|end} were used for nicklist scroll, they're now replaced by
alt+{F11|F12}.
Version 0.1.7 (2006-01-14)
--------------------------
=== Ruby ===
Ruby script plugin has been added but is experimental in this release. You're
warned!
=== Command /away ===
Command `/away` was changed to be RFC 2812 compliant. Now argument is required
to set away, and no argument means remove away ("back").
Option 'irc_default_msg_away' has been removed.
Version 0.1.6 (2005-11-11)
--------------------------
=== Script API ===
Incompatibility with some old scripts: now all handlers have to return a code
for completion, and to do some actions about message to ignore (please look at
documentation for detail).
=== OpenBSD ===
On OpenBSD, the new option 'plugins_extension' should be set to '.so.0.0' since
the plugins names are ending by '.so.0.0' and not '.so'.
=== UTF-8 ===
With new and full UTF-8 support, the option 'look_charset_internal' should be
set to blank for most cases. Forces it only if your locale is not properly
detected by WeeChat (you can set 'UTF-8' or 'ISO-8859-15' for example, depending
on your locale). WeeChat is looking for 'UTF-8' in your locale name at startup.
Version 0.1.5 (2005-09-24)
--------------------------
No release note.
Version 0.1.4 (2005-07-30)
--------------------------
No release note.
Version 0.1.3 (2005-07-02)
--------------------------
No release note.
Version 0.1.2 (2005-05-21)
--------------------------
No release note.
Version 0.1.1 (2005-03-20)
--------------------------
No release note.
Version 0.1.0 (2005-02-12)
--------------------------
No release note.
Version 0.0.9 (2005-01-01)
--------------------------
No release note.
Version 0.0.8 (2004-10-30)
--------------------------
No release note.
Version 0.0.7 (2004-08-08)
--------------------------
No release note.
Version 0.0.6 (2004-06-05)
--------------------------
No release note.
Version 0.0.5 (2004-02-07)
--------------------------
No release note.
Version 0.0.4 (2004-01-01)
--------------------------
No release note.
Version 0.0.3 (2003-11-03)
--------------------------
No release note.
Version 0.0.2 (2003-10-05)
--------------------------
No release note.
Version 0.0.1 (2003-09-27)
--------------------------
No release note.
WeeChat News
============
FlashCode, 2010-01-31::
WeeChat 0.3.1.1 released.
+
This version fixes crashs with SSL connection and purge of old DCC chats.
FlashCode, 2010-01-23::
WeeChat 0.3.1 released.
+
IRC commands /ame and /amsg are now aliases, if you are upgrading from
version 0.3.0, you must create aliases with following commands:
* `/alias aaway allserv /away`
* `/alias ame allchan /me`
* `/alias amsg allchan /amsg *`
* `/alias anick allserv /nick`
FlashCode, 2009-09-06::
WeeChat 0.3.0 released.
+
This version brings major changes, especially for configuration files
and plugin API.
+
For more information about this version, please read file UPGRADE_0.3.
FlashCode, 2009-06-13::
WeeChat 0.2.6.3 released.
+
This version fixes gnutls detection.
FlashCode, 2009-04-18::
WeeChat 0.2.6.2 released.
+
This version fixes a bug with charset decoding (like iso2022jp).
FlashCode, 2009-03-14::
WeeChat 0.2.6.1 released.
+
This version fixes a major bug: crash with some special chars in IRC
messages.
FlashCode, 2007-09-06::
WeeChat 0.2.6 released.
FlashCode, 2007-06-07::
WeeChat 0.2.5 released.
FlashCode, 2007-03-29::
WeeChat 0.2.4 released.
FlashCode, 2007-01-10::
WeeChat 0.2.3 released.
+
This version fixes several major bugs of version 0.2.2.
All users of version 0.2.2 should upgrade to this version.
FlashCode, 2007-01-06::
WeeChat 0.2.2 released.
+
Important release notes:
* new charset plugin:
** for users of any previous version, all your charset settings
in weechat.rc will be LOST! You should save your weechat.rc
to keep your values and set them again with new "charset" plugin.
** for ISO users: history of channels may be without accents
(after /upgrade), this is not recoverable, but this is not a bug.
All new messages should be ok.
** be careful, now default encode is UTF-8 for all channels (before
it was terminal charset). If you still want to send messages as
ISO-8859-1, you should send either global encode or server specific
encode to ISO-8859-1.
For global encode: /setp charset.global.encode = "ISO-8859-1"
For server encode: (on server buffer) /charset encode ISO-8859-1
* new keys for topic scroll:
** new keys for scrolling topic: F9/F10
** key F10 was used for "infobar_clear" in previous WeeChat versions,
you have to manually rebind this key (except for new WeeChat users):
/key <press alt-k then F10> scroll_topic_right
which gives something like this:
/key meta2-21~ scroll_topic_right
FlashCode, 2006-10-01::
WeeChat 0.2.1 released.
FlashCode, 2006-08-19::
WeeChat 0.2.0 released.
+
Important release notes:
* if you upgraded with /upgrade in WeeChat, you should /disconnect and
then /reconnect on each server, to display properly channel/user modes
* if you're using plugins, you should remove some old plugins libraries
in WeeChat system library directory (commonly
/usr/local/lib/weechat/plugins): remove `lib*` files (like `libperl.*`,
`libpython.*`, ..) and keep only new libraries (`perl.*`, `python.*`, ..)
FlashCode, 2006-05-25::
WeeChat 0.1.9 released.
+
Important release notes:
* please close all DCC chat buffers before using /upgrade command,
otherwise you may experience problems with DCC chats.
* some changes in script API: now timer handlers functions takes exactly
0 (zero) argument (in version 0.1.8, two arguments were mandatory but
not used: server and args)
FlashCode, 2006-03-18::
WeeChat 0.1.8 released.
+
Important release notes:
* it is recommended for users of version 0.1.7 (or any older), to
replace values in setup file (~/.weechat/weechat.rc) :
** option: log_path: replace "~/.weechat/logs" by "%h/logs"
** option: plugins_path: replace "~/.weechat/plugins" by "%h/plugins"
+
"%h" is replaced by WeeChat home (default: ~/.weechat, may be overriden
by new command line arg --dir)
* after installing 0.1.8 (or with /upgrade), issue both commands (if you
didn't redefined these keys (alt-home/end):
/key unbind meta-meta2-1~
/key unbind meta-meta2-4~
then launch again WeeChat (or issue /upgrade).
Alt-home/end were used for nicklist scroll, they're now replaced by
Alt-F11/F12.
FlashCode, 2006-01-14::
WeeChat 0.1.7 released.
+
Important release notes:
* Ruby script plugin has been added but is experimental in this release.
You're warned!
* "/away" command was changed to be RFC 2812 compliant.
Now argument is required to set away, and no argument means
remove away ("back"). Setting "irc_default_msg_away" has been removed.
FlashCode, 2005-11-11::
WeeChat 0.1.6 released.
+
Important release notes:
* incompatibility with some old scripts: now all handlers have to return
a code for completion, and to do some actions about message to ignore
(please look at documentation for detail)
* on OpenBSD, the new option "plugins_extension" should be set to ".so.0.0"
since the plugins names are ending by ".so.0.0" and not ".so"
* with new and full UTF-8 support, the option "look_charset_internal"
should be set to blank for most cases. Forces it only if your locale is
not properly detected by WeeChat (you can set "UTF-8" or "ISO-8859-15"
for example, depending on your locale). WeeChat is looking for "UTF-8" in
your locale name at startup.
FlashCode, 2005-09-24::
WeeChat 0.1.5 released.
FlashCode, 2005-07-30::
WeeChat 0.1.4 released.
FlashCode, 2005-07-02::
WeeChat 0.1.3 released.
FlashCode, 2005-05-21::
WeeChat 0.1.2 released.
FlashCode, 2005-03-20::
WeeChat 0.1.1 released.
FlashCode, 2005-02-12::
WeeChat 0.1.0 released.
FlashCode, 2005-01-01::
WeeChat 0.0.9 released.
FlashCode, 2004-10-30::
WeeChat 0.0.8 released.
FlashCode, 2004-08-08::
WeeChat 0.0.7 released.
FlashCode, 2004-06-05::
WeeChat 0.0.6 released.
FlashCode, 2004-02-07::
WeeChat 0.0.5 released.
FlashCode, 2004-01-01::
WeeChat 0.0.4 released.
FlashCode, 2003-11-03::
WeeChat 0.0.3 released.
FlashCode, 2003-10-05::
WeeChat 0.0.2 released.
FlashCode, 2003-09-27::
WeeChat 0.0.1 released.
+11 -8
View File
@@ -11,30 +11,33 @@ Features
--------
* chat client with multi-protocols/servers connection
* many GUI (curses, Gtk, Qt) (1)
* small, fast and very light
* customizable and extensible with plugins (C, Perl, Python, Ruby, Lua, Tcl, Guile)
* customizable and extensible with plugins (C, Perl, Python, Ruby, Lua, Tcl)
* compliant with IRC RFCs 1459, 2810, 2811, 2812 and 2813
* developed from scratch
* multi-platform (GNU/Linux, *BSD, Mac OS X, QNX, Windows & other)
* multi-platform (GNU/Linux, *BSD, Mac OS X, QNX, Windows & other) (2)
* free software, released under GPLv3
NOTE: (1) only Curses interface is available today
+
(2) Windows version is under construction
Copyright
---------
Copyright (C) 2003-2013 Sébastien Helleu <flashcode@flashtux.org>
WeeChat (c) Copyright 2003-2010 by FlashCode <flashcode@flashtux.org>
This file is part of WeeChat, the extensible chat client.
WeeChat is free software; you can redistribute it and/or modify
This program 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,
This program 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 <http://www.gnu.org/licenses/>.
along with this program. If not, see <http://www.gnu.org/licenses/>.
+83
View File
@@ -0,0 +1,83 @@
WeeChat Upgrade to 0.3.x
========================
FlashCode <flashcode@flashtux.org>
v0.3.0, 2009-09-06
This document lists major changes introduced in version 0.3.0 and not compatible
with versions 0.2.x.
Upgrade to version 0.3.x
------------------------
It is *NOT POSSIBLE* to use command `/upgrade` from a version 0.2.x to 0.3.x.
You have to quit your old WeeChat, then run new version.
Of course, command `/upgrade` is working fine once you'll be with 0.3.x to
upgrade to another 0.3.x (unless this command is broken again, please look
at release notes (file 'NEWS') for version you're currently installing).
Configuration files
-------------------
Changes with previous versions
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
New configuration files (`*.conf`) are not compatible with old files (`*.rc`).
Name of options is similar to old versions, but there is now one configuration
file by plugin, and one file for WeeChat core.
There is *no automatic conversion* for your old options to new configuration files,
so you'll have to setup again your IRC servers and all other options.
In WeeChat, option names are now with format: `plugin.section.option` (for
WeeChat core, `plugin` is `weechat`).
Examples:
* WeeChat options: `weechat.xxx.yyy`
* IRC options: `irc.xxx.yyy`
You should read quickstart guide to be familiar with basic commands and syntax
(some commands like `/server` have changed): http://www.weechat.org/doc
List of configuration files
~~~~~~~~~~~~~~~~~~~~~~~~~~~
* Old configuration files:
** weechat.rc
** plugins.rc
* New configuration files are now (with default plugins):
** weechat.conf
** alias.conf
** aspell.conf
** charset.conf
** irc.conf
** jabber.conf
** logger.conf
** plugins.conf
** relay.conf
** xfer.conf
Plugin API
----------
Plugin API has been rewritten and is not compatible with previous versions.
Accordingly, scripts and plugins must have been designed for version 0.3.x to
be loaded into WeeChat.
There is no migration script today to convert old script to new API.
Therefore, if you plan to use old script, you'll have to wait for new version
or you can convert script yourself and send us new version ;)
You can download scripts for new API on plugins page:
http://www.weechat.org/plugins
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
+10 -12
View File
@@ -1,28 +1,26 @@
#!/bin/sh
#
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2005 Julien Louis <ptitlouis@sysif.net>
# Copyright (C) 2005-2006 Emmanuel Bouthenot <kolter@openics.org>
# Copyright (c) 2003-2010 by FlashCode <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
# WeeChat is free software; you can redistribute it and/or modify
# This program 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,
# This program 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 <http://www.gnu.org/licenses/>.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
###
### common stuff
###
OK="\\033[70G[\\033[1;32mOK\\033[1;00m]"
FAIL="\\033[70G[\\033[1;31mFAILED\\033[1;00m]"
AUTOGEN_LOG=autogen.log
@@ -38,13 +36,13 @@ err ()
run ()
{
echo -n "Running \"$@\"..."
echo -n "Running \"$@\""
eval $@ >$AUTOGEN_LOG 2>&1
if [ $? = 0 ] ; then
echo " OK"
echo -e $OK
else
echo " FAILED"
err
echo -e $FAIL
err
fi
}
-138
View File
@@ -1,138 +0,0 @@
# CMAKE_PARSE_ARGUMENTS(<prefix> <options> <one_value_keywords> <multi_value_keywords> args...)
#
# CMAKE_PARSE_ARGUMENTS() is intended to be used in macros or functions for
# parsing the arguments given to that macro or function.
# It processes the arguments and defines a set of variables which hold the
# values of the respective options.
#
# The <options> argument contains all options for the respective macro,
# i.e. keywords which can be used when calling the macro without any value
# following, like e.g. the OPTIONAL keyword of the install() command.
#
# The <one_value_keywords> argument contains all keywords for this macro
# which are followed by one value, like e.g. DESTINATION keyword of the
# install() command.
#
# The <multi_value_keywords> argument contains all keywords for this macro
# which can be followed by more than one value, like e.g. the TARGETS or
# FILES keywords of the install() command.
#
# When done, CMAKE_PARSE_ARGUMENTS() will have defined for each of the
# keywords listed in <options>, <one_value_keywords> and
# <multi_value_keywords> a variable composed of the given <prefix>
# followed by "_" and the name of the respective keyword.
# These variables will then hold the respective value from the argument list.
# For the <options> keywords this will be TRUE or FALSE.
#
# All remaining arguments are collected in a variable
# <prefix>_UNPARSED_ARGUMENTS, this can be checked afterwards to see whether
# your macro was called with unrecognized parameters.
#
# As an example here a my_install() macro, which takes similar arguments as the
# real install() command:
#
# function(MY_INSTALL)
# set(options OPTIONAL FAST)
# set(oneValueArgs DESTINATION RENAME)
# set(multiValueArgs TARGETS CONFIGURATIONS)
# cmake_parse_arguments(MY_INSTALL "${options}" "${oneValueArgs}" "${multiValueArgs}" ${ARGN} )
# ...
#
# Assume my_install() has been called like this:
# my_install(TARGETS foo bar DESTINATION bin OPTIONAL blub)
#
# After the cmake_parse_arguments() call the macro will have set the following
# variables:
# MY_INSTALL_OPTIONAL = TRUE
# MY_INSTALL_FAST = FALSE (this option was not used when calling my_install()
# MY_INSTALL_DESTINATION = "bin"
# MY_INSTALL_RENAME = "" (was not used)
# MY_INSTALL_TARGETS = "foo;bar"
# MY_INSTALL_CONFIGURATIONS = "" (was not used)
# MY_INSTALL_UNPARSED_ARGUMENTS = "blub" (no value expected after "OPTIONAL"
#
# You can the continue and process these variables.
#
# Keywords terminate lists of values, e.g. if directly after a one_value_keyword
# another recognized keyword follows, this is interpreted as the beginning of
# the new option.
# E.g. my_install(TARGETS foo DESTINATION OPTIONAL) would result in
# MY_INSTALL_DESTINATION set to "OPTIONAL", but MY_INSTALL_DESTINATION would
# be empty and MY_INSTALL_OPTIONAL would be set to TRUE therefor.
#=============================================================================
# Copyright 2010 Alexander Neundorf <neundorf@kde.org>
#
# Distributed under the OSI-approved BSD License (the "License");
# see accompanying file Copyright.txt for details.
#
# This software is distributed WITHOUT ANY WARRANTY; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# See the License for more information.
#=============================================================================
# (To distribute this file outside of CMake, substitute the full
# License text for the above reference.)
if(__CMAKE_PARSE_ARGUMENTS_INCLUDED)
return()
endif()
set(__CMAKE_PARSE_ARGUMENTS_INCLUDED TRUE)
function(CMAKE_PARSE_ARGUMENTS prefix _optionNames _singleArgNames _multiArgNames)
# first set all result variables to empty/FALSE
foreach(arg_name ${_singleArgNames} ${_multiArgNames})
set(${prefix}_${arg_name})
endforeach(arg_name)
foreach(option ${_optionNames})
set(${prefix}_${option} FALSE)
endforeach(option)
set(${prefix}_UNPARSED_ARGUMENTS)
set(insideValues FALSE)
set(currentArgName)
# now iterate over all arguments and fill the result variables
foreach(currentArg ${ARGN})
list(FIND _optionNames "${currentArg}" optionIndex) # ... then this marks the end of the arguments belonging to this keyword
list(FIND _singleArgNames "${currentArg}" singleArgIndex) # ... then this marks the end of the arguments belonging to this keyword
list(FIND _multiArgNames "${currentArg}" multiArgIndex) # ... then this marks the end of the arguments belonging to this keyword
if(${optionIndex} EQUAL -1 AND ${singleArgIndex} EQUAL -1 AND ${multiArgIndex} EQUAL -1)
if(insideValues)
if("${insideValues}" STREQUAL "SINGLE")
set(${prefix}_${currentArgName} ${currentArg})
set(insideValues FALSE)
elseif("${insideValues}" STREQUAL "MULTI")
list(APPEND ${prefix}_${currentArgName} ${currentArg})
endif()
else(insideValues)
list(APPEND ${prefix}_UNPARSED_ARGUMENTS ${currentArg})
endif(insideValues)
else()
if(NOT ${optionIndex} EQUAL -1)
set(${prefix}_${currentArg} TRUE)
set(insideValues FALSE)
elseif(NOT ${singleArgIndex} EQUAL -1)
set(currentArgName ${currentArg})
set(${prefix}_${currentArgName})
set(insideValues "SINGLE")
elseif(NOT ${multiArgIndex} EQUAL -1)
set(currentArgName ${currentArg})
set(${prefix}_${currentArgName})
set(insideValues "MULTI")
endif()
endif()
endforeach(currentArg)
# propagate the result variables to the caller:
foreach(arg_name ${_singleArgNames} ${_multiArgNames} ${_optionNames})
set(${prefix}_${arg_name} ${${prefix}_${arg_name}} PARENT_SCOPE)
endforeach(arg_name)
set(${prefix}_UNPARSED_ARGUMENTS ${${prefix}_UNPARSED_ARGUMENTS} PARENT_SCOPE)
endfunction(CMAKE_PARSE_ARGUMENTS _options _singleArgs _multiArgs)
+6 -9
View File
@@ -1,20 +1,17 @@
# Copyright (c) 2003-2010 by FlashCode <flashcode@flashtux.org>
#
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
# WeeChat is free software; you can redistribute it and/or modify
# This program 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,
# This program 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 <http://www.gnu.org/licenses/>.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# - Find Asciidoc
@@ -35,11 +32,11 @@ IF(ASCIIDOC_EXECUTABLE)
COMMAND ${ASCIIDOC_EXECUTABLE} --version
OUTPUT_VARIABLE ASCIIDOC_VERSION
)
IF(${ASCIIDOC_VERSION} MATCHES "asciidoc 8.*")
SET(ASCIIDOC_FOUND TRUE)
ENDIF(${ASCIIDOC_VERSION} MATCHES "asciidoc 8.*")
MARK_AS_ADVANCED(
ASCIIDOC_EXECUTABLE
)
+5 -8
View File
@@ -1,24 +1,21 @@
# Copyright (c) 2003-2010 by FlashCode <flashcode@flashtux.org>
#
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
# WeeChat is free software; you can redistribute it and/or modify
# This program 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,
# This program 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 <http://www.gnu.org/licenses/>.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# - Find Aspell
# This module finds if libaspell is installed and determines where
# This module finds if libaspell is installed and determines where
# the include files and libraries are.
#
# This code sets the following variables:
-53
View File
@@ -1,53 +0,0 @@
#
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
# WeeChat is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# WeeChat is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
#
# - Find Gcrypt
# This module finds if libgcrypt is installed and determines where
# the include files and libraries are.
#
# This code sets the following variables:
#
# GCRYPT_CFLAGS = cflags to use to compile
# GCRYPT_LDFLAGS = ldflags to use to compile
#
FIND_PROGRAM(LIBGCRYPT_CONFIG_EXECUTABLE NAMES libgcrypt-config)
set(GCRYPT_LDFLAGS)
set(GCRYPT_CFLAGS)
IF(LIBGCRYPT_CONFIG_EXECUTABLE)
EXEC_PROGRAM(${LIBGCRYPT_CONFIG_EXECUTABLE} ARGS --libs RETURN_VALUE _return_VALUE OUTPUT_VARIABLE GCRYPT_LDFLAGS)
EXEC_PROGRAM(${LIBGCRYPT_CONFIG_EXECUTABLE} ARGS --cflags RETURN_VALUE _return_VALUE OUTPUT_VARIABLE GCRYPT_CFLAGS)
IF(${GCRYPT_CFLAGS} MATCHES "\n")
SET(GCRYPT_CFLAGS " ")
ENDIF(${GCRYPT_CFLAGS} MATCHES "\n")
ENDIF(LIBGCRYPT_CONFIG_EXECUTABLE)
# handle the QUIETLY and REQUIRED arguments and set GCRYPT_FOUND to TRUE if
# all listed variables are TRUE
INCLUDE(${CMAKE_HOME_DIRECTORY}/cmake/FindPackageHandleStandardArgs.cmake)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(GCRYPT REQUIRED_VARS GCRYPT_LDFLAGS GCRYPT_CFLAGS)
IF(GCRYPT_FOUND)
MARK_AS_ADVANCED(GCRYPT_CFLAGS GCRYPT_LDFLAGS)
ENDIF(GCRYPT_FOUND)
+7 -12
View File
@@ -1,26 +1,21 @@
# Copyright (c) 2003-2010 by FlashCode <flashcode@flashtux.org>
#
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2007 Julien Louis <ptitlouis@sysif.net>
# Copyright (C) 2009 Emmanuel Bouthenot <kolter@openics.org>
#
# This file is part of WeeChat, the extensible chat client.
#
# WeeChat is free software; you can redistribute it and/or modify
# This program 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,
# This program 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 <http://www.gnu.org/licenses/>.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# - Find Gettext
# This module finds if gettext is installed and determines where
# This module finds if gettext is installed and determines where
# the include files and libraries are.
#
# This code sets the following variables:
@@ -63,9 +58,9 @@ IF(HAVE_LIBINTL_H)
ELSE(${CMAKE_SYSTEM_NAME} STREQUAL "OpenBSD")
CHECK_LIBRARY_EXISTS(${LIBINTL_LIBRARY} "dgettext" "" LIBINTL_HAS_DGETTEXT)
ENDIF(${CMAKE_SYSTEM_NAME} STREQUAL "OpenBSD")
IF(LIBINTL_HAS_DGETTEXT)
SET(GETTEXT_FOUND TRUE)
SET(GETTEXT_FOUND TRUE)
ENDIF(LIBINTL_HAS_DGETTEXT)
ENDIF(LIBINTL_LIBRARY)
ENDIF(LIBC_HAS_DGETTEXT)
+5 -9
View File
@@ -1,25 +1,21 @@
# Copyright (c) 2003-2010 by FlashCode <flashcode@flashtux.org>
#
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2009 Emmanuel Bouthenot <kolter@openics.org>
#
# This file is part of WeeChat, the extensible chat client.
#
# WeeChat is free software; you can redistribute it and/or modify
# This program 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,
# This program 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 <http://www.gnu.org/licenses/>.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# - Find GnuTLS
# This module finds if libgnutls is installed and determines where
# This module finds if libgnutls is installed and determines where
# the include files and libraries are.
#
# This code sets the following variables:
-37
View File
@@ -1,37 +0,0 @@
#
# Copyright (C) 2011-2013 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
# WeeChat is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# WeeChat is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
#
# - Find Guile
# This module finds if Guile is installed and determines where the include files
# and libraries are. It also determines what the name of the library is. This
# code sets the following variables:
#
# GUILE_FOUND = Guile is installed
# GUILE_INCLUDE_DIRS = Guile include directory
# GUILE_LIBRARIES = Link options to compile Guile
IF(GUILE_FOUND)
# Already in cache, be silent
SET(GUILE_FIND_QUIETLY TRUE)
ENDIF(GUILE_FOUND)
FIND_PACKAGE(PkgConfig)
IF(PKG_CONFIG_FOUND)
pkg_search_module(GUILE guile-2.0)
ENDIF(PKG_CONFIG_FOUND)
+9 -13
View File
@@ -1,24 +1,21 @@
# Copyright (c) 2003-2010 by FlashCode <flashcode@flashtux.org>
#
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
# WeeChat is free software; you can redistribute it and/or modify
# This program 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,
# This program 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 <http://www.gnu.org/licenses/>.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# - Find Iconv
# This module finds if libiconv is installed and determines where
# This module finds if libiconv is installed and determines where
# the include files and libraries are.
#
# This code sets the following variables:
@@ -49,11 +46,10 @@ FIND_LIBRARY(ICONV_LIBRARY
IF(ICONV_INCLUDE_PATH)
IF(ICONV_LIBRARY)
STRING(REGEX REPLACE "/[^/]*$" "" ICONV_LIB_PATH "${ICONV_LIBRARY}")
CHECK_LIBRARY_EXISTS(iconv libiconv_open ${ICONV_LIB_PATH} LIBICONV_OPEN_FOUND)
CHECK_LIBRARY_EXISTS(iconv iconv_open ${ICONV_LIB_PATH} ICONV_OPEN_FOUND)
IF(LIBICONV_OPEN_FOUND OR ICONV_OPEN_FOUND)
SET(ICONV_FOUND TRUE)
ENDIF(LIBICONV_OPEN_FOUND OR ICONV_OPEN_FOUND)
CHECK_LIBRARY_EXISTS(iconv libiconv_open ${ICONV_LIB_PATH} ICONV_FOUND)
IF(NOT ICONV_FOUND)
CHECK_LIBRARY_EXISTS(iconv iconv_open ${ICONV_LIB_PATH} ICONV_FOUND)
ENDIF(NOT ICONV_FOUND)
ELSE(ICONV_LIBRARY)
CHECK_FUNCTION_EXISTS(iconv_open ICONV_FOUND)
ENDIF(ICONV_LIBRARY)
+7 -10
View File
@@ -1,24 +1,21 @@
# Copyright (c) 2003-2010 by FlashCode <flashcode@flashtux.org>
#
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
# WeeChat is free software; you can redistribute it and/or modify
# This program 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,
# This program 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 <http://www.gnu.org/licenses/>.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# - Find Lua
# This module finds if liblua is installed and determines where
# This module finds if liblua is installed and determines where
# the include files and libraries are.
#
# This code sets the following variables:
@@ -64,8 +61,8 @@ ELSE(LUA51_INCLUDE_PATH AND LUA51_LIBRARY)
)
FIND_LIBRARY(
LUALIB50_LIBRARY NAMES lualib50 lualib5.0 lualib-5.0 lualib
PATHS /lib /usr/lib /usr/local/lib /usr/pkg/lib
LUALIB50_LIBRARY NAMES lualib50 lualib5.0 lualib-5.0 lualib
PATHS /lib /usr/lib /usr/local/lib /usr/pkg/lib
PATH_SUFFIXES lua50 lua5.0 lua-5.0 lua
)
+7 -26
View File
@@ -1,20 +1,17 @@
# Copyright (c) 2003-2010 by FlashCode <flashcode@flashtux.org>
#
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
# WeeChat is free software; you can redistribute it and/or modify
# This program 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,
# This program 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 <http://www.gnu.org/licenses/>.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
IF(NCURSES_FOUND)
@@ -23,30 +20,14 @@ ENDIF(NCURSES_FOUND)
FIND_PATH(NCURSES_INCLUDE_PATH
NAMES ncurses.h curses.h
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
PATHS /usr/include /usr/local/include /usr/pkg/include
)
FIND_LIBRARY(NCURSESW_LIBRARY
NAMES ncursesw
FIND_LIBRARY(NCURSES_LIBRARY
NAMES ncursesw ncurses
PATHS /lib /usr/lib /usr/local/lib /usr/pkg/lib
)
IF (NCURSESW_LIBRARY)
SET(NCURSES_LIBRARY ${NCURSESW_LIBRARY})
ELSE(NCURSESW_LIBRARY)
FIND_LIBRARY(NCURSES_LIBRARY
NAMES ncurses
PATHS /lib /usr/lib /usr/local/lib /usr/pkg/lib
)
IF (NCURSES_LIBRARY)
MESSAGE("*** WARNING:\n"
"*** ncursesw library not found! Falling back to \"ncurses\"\n"
"*** Be careful, UTF-8 display may not work properly if your locale is UTF-8.")
ENDIF(NCURSES_LIBRARY)
ENDIF(NCURSESW_LIBRARY)
IF (NCURSES_INCLUDE_PATH AND NCURSES_LIBRARY)
SET(NCURSES_FOUND TRUE)
ENDIF(NCURSES_INCLUDE_PATH AND NCURSES_LIBRARY)
-260
View File
@@ -1,260 +0,0 @@
# FIND_PACKAGE_HANDLE_STANDARD_ARGS(<name> ... )
#
# This function is intended to be used in FindXXX.cmake modules files.
# It handles the REQUIRED, QUIET and version-related arguments to FIND_PACKAGE().
# It also sets the <UPPERCASED_NAME>_FOUND variable.
# The package is considered found if all variables <var1>... listed contain
# valid results, e.g. valid filepaths.
#
# There are two modes of this function. The first argument in both modes is
# the name of the Find-module where it is called (in original casing).
#
# The first simple mode looks like this:
# FIND_PACKAGE_HANDLE_STANDARD_ARGS(<name> (DEFAULT_MSG|"Custom failure message") <var1>...<varN> )
# If the variables <var1> to <varN> are all valid, then <UPPERCASED_NAME>_FOUND
# will be set to TRUE.
# If DEFAULT_MSG is given as second argument, then the function will generate
# itself useful success and error messages. You can also supply a custom error message
# for the failure case. This is not recommended.
#
# The second mode is more powerful and also supports version checking:
# FIND_PACKAGE_HANDLE_STANDARD_ARGS(NAME [REQUIRED_VARS <var1>...<varN>]
# [VERSION_VAR <versionvar>
# [CONFIG_MODE]
# [FAIL_MESSAGE "Custom failure message"] )
#
# As above, if <var1> through <varN> are all valid, <UPPERCASED_NAME>_FOUND
# will be set to TRUE.
# After REQUIRED_VARS the variables which are required for this package are listed.
# Following VERSION_VAR the name of the variable can be specified which holds
# the version of the package which has been found. If this is done, this version
# will be checked against the (potentially) specified required version used
# in the find_package() call. The EXACT keyword is also handled. The default
# messages include information about the required version and the version
# which has been actually found, both if the version is ok or not.
# Use the option CONFIG_MODE if your FindXXX.cmake module is a wrapper for
# a find_package(... NO_MODULE) call, in this case all the information
# provided by the config-mode of find_package() will be evaluated
# automatically.
# Via FAIL_MESSAGE a custom failure message can be specified, if this is not
# used, the default message will be displayed.
#
# Example for mode 1:
#
# FIND_PACKAGE_HANDLE_STANDARD_ARGS(LibXml2 DEFAULT_MSG LIBXML2_LIBRARY LIBXML2_INCLUDE_DIR)
#
# LibXml2 is considered to be found, if both LIBXML2_LIBRARY and
# LIBXML2_INCLUDE_DIR are valid. Then also LIBXML2_FOUND is set to TRUE.
# If it is not found and REQUIRED was used, it fails with FATAL_ERROR,
# independent whether QUIET was used or not.
# If it is found, success will be reported, including the content of <var1>.
# On repeated Cmake runs, the same message won't be printed again.
#
# Example for mode 2:
#
# FIND_PACKAGE_HANDLE_STANDARD_ARGS(BISON REQUIRED_VARS BISON_EXECUTABLE
# VERSION_VAR BISON_VERSION)
# In this case, BISON is considered to be found if the variable(s) listed
# after REQUIRED_VAR are all valid, i.e. BISON_EXECUTABLE in this case.
# Also the version of BISON will be checked by using the version contained
# in BISON_VERSION.
# Since no FAIL_MESSAGE is given, the default messages will be printed.
#
# Another example for mode 2:
#
# FIND_PACKAGE(Automoc4 QUIET NO_MODULE HINTS /opt/automoc4)
# FIND_PACKAGE_HANDLE_STANDARD_ARGS(Automoc4 CONFIG_MODE)
# In this case, FindAutmoc4.cmake wraps a call to FIND_PACKAGE(Automoc4 NO_MODULE)
# and adds an additional search directory for automoc4.
# The following FIND_PACKAGE_HANDLE_STANDARD_ARGS() call produces a proper
# success/error message.
#=============================================================================
# Copyright 2007-2009 Kitware, Inc.
#
# Distributed under the OSI-approved BSD License (the "License");
# see accompanying file Copyright.txt for details.
#
# This software is distributed WITHOUT ANY WARRANTY; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# See the License for more information.
#=============================================================================
# (To distribute this file outside of CMake, substitute the full
# License text for the above reference.)
INCLUDE(FindPackageMessage)
INCLUDE(CMakeParseArguments)
# internal helper macro
MACRO(_FPHSA_FAILURE_MESSAGE _msg)
IF (${_NAME}_FIND_REQUIRED)
MESSAGE(FATAL_ERROR "${_msg}")
ELSE (${_NAME}_FIND_REQUIRED)
IF (NOT ${_NAME}_FIND_QUIETLY)
MESSAGE(STATUS "${_msg}")
ENDIF (NOT ${_NAME}_FIND_QUIETLY)
ENDIF (${_NAME}_FIND_REQUIRED)
ENDMACRO(_FPHSA_FAILURE_MESSAGE _msg)
# internal helper macro to generate the failure message when used in CONFIG_MODE:
MACRO(_FPHSA_HANDLE_FAILURE_CONFIG_MODE)
# <name>_CONFIG is set, but FOUND is false, this means that some other of the REQUIRED_VARS was not found:
IF(${_NAME}_CONFIG)
_FPHSA_FAILURE_MESSAGE("${FPHSA_FAIL_MESSAGE}: missing: ${MISSING_VARS} (found ${${_NAME}_CONFIG} ${VERSION_MSG})")
ELSE(${_NAME}_CONFIG)
# If _CONSIDERED_CONFIGS is set, the config-file has been found, but no suitable version.
# List them all in the error message:
IF(${_NAME}_CONSIDERED_CONFIGS)
SET(configsText "")
LIST(LENGTH ${_NAME}_CONSIDERED_CONFIGS configsCount)
MATH(EXPR configsCount "${configsCount} - 1")
FOREACH(currentConfigIndex RANGE ${configsCount})
LIST(GET ${_NAME}_CONSIDERED_CONFIGS ${currentConfigIndex} filename)
LIST(GET ${_NAME}_CONSIDERED_VERSIONS ${currentConfigIndex} version)
SET(configsText "${configsText} ${filename} (version ${version})\n")
ENDFOREACH(currentConfigIndex)
_FPHSA_FAILURE_MESSAGE("${FPHSA_FAIL_MESSAGE} ${VERSION_MSG}, checked the following files:\n${configsText}")
ELSE(${_NAME}_CONSIDERED_CONFIGS)
# Simple case: No Config-file was found at all:
_FPHSA_FAILURE_MESSAGE("${FPHSA_FAIL_MESSAGE}: found neither ${_NAME}Config.cmake nor ${_NAME_LOWER}-config.cmake ${VERSION_MSG}")
ENDIF(${_NAME}_CONSIDERED_CONFIGS)
ENDIF(${_NAME}_CONFIG)
ENDMACRO(_FPHSA_HANDLE_FAILURE_CONFIG_MODE)
FUNCTION(FIND_PACKAGE_HANDLE_STANDARD_ARGS _NAME _FIRST_ARG)
# set up the arguments for CMAKE_PARSE_ARGUMENTS and check whether we are in
# new extended or in the "old" mode:
SET(options CONFIG_MODE)
SET(oneValueArgs FAIL_MESSAGE VERSION_VAR)
SET(multiValueArgs REQUIRED_VARS)
SET(_KEYWORDS_FOR_EXTENDED_MODE ${options} ${oneValueArgs} ${multiValueArgs} )
LIST(FIND _KEYWORDS_FOR_EXTENDED_MODE "${_FIRST_ARG}" INDEX)
IF(${INDEX} EQUAL -1)
SET(FPHSA_FAIL_MESSAGE ${_FIRST_ARG})
SET(FPHSA_REQUIRED_VARS ${ARGN})
SET(FPHSA_VERSION_VAR)
ELSE(${INDEX} EQUAL -1)
CMAKE_PARSE_ARGUMENTS(FPHSA "${options}" "${oneValueArgs}" "${multiValueArgs}" ${_FIRST_ARG} ${ARGN})
IF(FPHSA_UNPARSED_ARGUMENTS)
MESSAGE(FATAL_ERROR "Unknown keywords given to FIND_PACKAGE_HANDLE_STANDARD_ARGS(): \"${FPHSA_UNPARSED_ARGUMENTS}\"")
ENDIF(FPHSA_UNPARSED_ARGUMENTS)
IF(NOT FPHSA_FAIL_MESSAGE)
SET(FPHSA_FAIL_MESSAGE "DEFAULT_MSG")
ENDIF(NOT FPHSA_FAIL_MESSAGE)
ENDIF(${INDEX} EQUAL -1)
# now that we collected all arguments, process them
IF("${FPHSA_FAIL_MESSAGE}" STREQUAL "DEFAULT_MSG")
SET(FPHSA_FAIL_MESSAGE "Could NOT find ${_NAME}")
ENDIF("${FPHSA_FAIL_MESSAGE}" STREQUAL "DEFAULT_MSG")
# In config-mode, we rely on the variable <package>_CONFIG, which is set by find_package()
# when it successfully found the config-file, including version checking:
IF(FPHSA_CONFIG_MODE)
LIST(INSERT FPHSA_REQUIRED_VARS 0 ${_NAME}_CONFIG)
LIST(REMOVE_DUPLICATES FPHSA_REQUIRED_VARS)
SET(FPHSA_VERSION_VAR ${_NAME}_VERSION)
ENDIF(FPHSA_CONFIG_MODE)
IF(NOT FPHSA_REQUIRED_VARS)
MESSAGE(FATAL_ERROR "No REQUIRED_VARS specified for FIND_PACKAGE_HANDLE_STANDARD_ARGS()")
ENDIF(NOT FPHSA_REQUIRED_VARS)
LIST(GET FPHSA_REQUIRED_VARS 0 _FIRST_REQUIRED_VAR)
STRING(TOUPPER ${_NAME} _NAME_UPPER)
STRING(TOLOWER ${_NAME} _NAME_LOWER)
# collect all variables which were not found, so they can be printed, so the
# user knows better what went wrong (#6375)
SET(MISSING_VARS "")
SET(DETAILS "")
SET(${_NAME_UPPER}_FOUND TRUE)
# check if all passed variables are valid
FOREACH(_CURRENT_VAR ${FPHSA_REQUIRED_VARS})
IF(NOT ${_CURRENT_VAR})
SET(${_NAME_UPPER}_FOUND FALSE)
SET(MISSING_VARS "${MISSING_VARS} ${_CURRENT_VAR}")
ELSE(NOT ${_CURRENT_VAR})
SET(DETAILS "${DETAILS}[${${_CURRENT_VAR}}]")
ENDIF(NOT ${_CURRENT_VAR})
ENDFOREACH(_CURRENT_VAR)
# version handling:
SET(VERSION_MSG "")
SET(VERSION_OK TRUE)
SET(VERSION ${${FPHSA_VERSION_VAR}} )
IF (${_NAME}_FIND_VERSION)
IF(VERSION)
IF(${_NAME}_FIND_VERSION_EXACT) # exact version required
IF (NOT "${${_NAME}_FIND_VERSION}" VERSION_EQUAL "${VERSION}")
SET(VERSION_MSG "Found unsuitable version \"${VERSION}\", but required is exact version \"${${_NAME}_FIND_VERSION}\"")
SET(VERSION_OK FALSE)
ELSE (NOT "${${_NAME}_FIND_VERSION}" VERSION_EQUAL "${VERSION}")
SET(VERSION_MSG "(found suitable exact version \"${VERSION}\")")
ENDIF (NOT "${${_NAME}_FIND_VERSION}" VERSION_EQUAL "${VERSION}")
ELSE(${_NAME}_FIND_VERSION_EXACT) # minimum version specified:
IF ("${${_NAME}_FIND_VERSION}" VERSION_GREATER "${VERSION}")
SET(VERSION_MSG "Found unsuitable version \"${VERSION}\", but required is at least \"${${_NAME}_FIND_VERSION}\"")
SET(VERSION_OK FALSE)
ELSE ("${${_NAME}_FIND_VERSION}" VERSION_GREATER "${VERSION}")
SET(VERSION_MSG "(found suitable version \"${VERSION}\", required is \"${${_NAME}_FIND_VERSION}\")")
ENDIF ("${${_NAME}_FIND_VERSION}" VERSION_GREATER "${VERSION}")
ENDIF(${_NAME}_FIND_VERSION_EXACT)
ELSE(VERSION)
# if the package was not found, but a version was given, add that to the output:
IF(${_NAME}_FIND_VERSION_EXACT)
SET(VERSION_MSG "(Required is exact version \"${${_NAME}_FIND_VERSION}\")")
ELSE(${_NAME}_FIND_VERSION_EXACT)
SET(VERSION_MSG "(Required is at least version \"${${_NAME}_FIND_VERSION}\")")
ENDIF(${_NAME}_FIND_VERSION_EXACT)
ENDIF(VERSION)
ELSE (${_NAME}_FIND_VERSION)
IF(VERSION)
SET(VERSION_MSG "(found version \"${VERSION}\")")
ENDIF(VERSION)
ENDIF (${_NAME}_FIND_VERSION)
IF(VERSION_OK)
SET(DETAILS "${DETAILS}[v${VERSION}(${${_NAME}_FIND_VERSION})]")
ELSE(VERSION_OK)
SET(${_NAME_UPPER}_FOUND FALSE)
ENDIF(VERSION_OK)
# print the result:
IF (${_NAME_UPPER}_FOUND)
FIND_PACKAGE_MESSAGE(${_NAME} "Found ${_NAME}: ${${_FIRST_REQUIRED_VAR}} ${VERSION_MSG}" "${DETAILS}")
ELSE (${_NAME_UPPER}_FOUND)
IF(FPHSA_CONFIG_MODE)
_FPHSA_HANDLE_FAILURE_CONFIG_MODE()
ELSE(FPHSA_CONFIG_MODE)
IF(NOT VERSION_OK)
_FPHSA_FAILURE_MESSAGE("${FPHSA_FAIL_MESSAGE}: ${VERSION_MSG} (found ${${_FIRST_REQUIRED_VAR}})")
ELSE(NOT VERSION_OK)
_FPHSA_FAILURE_MESSAGE("${FPHSA_FAIL_MESSAGE} (missing: ${MISSING_VARS}) ${VERSION_MSG}")
ENDIF(NOT VERSION_OK)
ENDIF(FPHSA_CONFIG_MODE)
ENDIF (${_NAME_UPPER}_FOUND)
SET(${_NAME_UPPER}_FOUND ${${_NAME_UPPER}_FOUND} PARENT_SCOPE)
ENDFUNCTION(FIND_PACKAGE_HANDLE_STANDARD_ARGS _FIRST_ARG)
+9 -12
View File
@@ -1,20 +1,17 @@
# Copyright (c) 2003-2010 by FlashCode <flashcode@flashtux.org>
#
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
# WeeChat is free software; you can redistribute it and/or modify
# This program 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,
# This program 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 <http://www.gnu.org/licenses/>.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# - Find Perl libraries
@@ -54,13 +51,13 @@ IF(PERL_EXECUTABLE)
COMMAND ${PERL_EXECUTABLE} -MExtUtils::Embed -e ldopts
OUTPUT_VARIABLE PERL_LFLAGS
)
# remove the new lines from the output by replacing them with empty strings
STRING(REPLACE "\n" "" PERL_INTERNAL_DIR "${PERL_INTERNAL_DIR}")
STRING(REPLACE "\n" "" PERL_CFLAGS "${PERL_CFLAGS}")
STRING(REPLACE "\n" "" PERL_LFLAGS "${PERL_LFLAGS}")
FIND_PATH(PERL_INCLUDE_PATH
FIND_PATH(PERL_INCLUDE_PATH
NAMES perl.h
PATHS ${PERL_INTERNAL_DIR}
)
@@ -69,11 +66,11 @@ IF(PERL_EXECUTABLE)
NAMES perl
PATHS /usr/lib /usr/local/lib /usr/pkg/lib ${PERL_INTERNAL_DIR}
)
IF(PERL_LIBRARY AND PERL_INCLUDE_PATH)
SET(PERL_FOUND TRUE)
ENDIF(PERL_LIBRARY AND PERL_INCLUDE_PATH)
MARK_AS_ADVANCED(
PERL_EXECUTABLE
PERL_INCLUDE_PATH
+10 -10
View File
@@ -72,13 +72,13 @@
#
# Redistribution and use, with or without modification, are permitted
# provided that the following conditions are met:
#
#
# 1. Redistributions must retain the above copyright notice, this
# list of conditions and the following disclaimer.
# 2. The name of the author may not be used to endorse or promote
# products derived from this software without specific prior
# written permission.
#
#
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -151,7 +151,7 @@ endmacro(_pkgconfig_invoke_dyn)
# Splits given arguments into options and a package list
macro(_pkgconfig_parse_options _result _is_req)
set(${_is_req} 0)
foreach(_pkg ${ARGN})
if (_pkg STREQUAL "REQUIRED")
set(${_is_req} 1)
@@ -198,7 +198,7 @@ macro(_pkg_check_modules_internal _is_required _is_silent _prefix)
message(STATUS "checking for modules '${_pkg_check_modules_list}'")
endif(_pkg_check_modules_cnt EQUAL 1)
endif(NOT ${_is_silent})
set(_pkg_check_modules_packages)
set(_pkg_check_modules_failed)
@@ -225,14 +225,14 @@ macro(_pkg_check_modules_internal _is_required _is_silent _prefix)
if (_pkg_check_modules_pkg_op STREQUAL "=")
list(APPEND _pkg_check_modules_exist_query --exact-version)
endif(_pkg_check_modules_pkg_op STREQUAL "=")
if (_pkg_check_modules_pkg_op STREQUAL "<=")
list(APPEND _pkg_check_modules_exist_query --max-version)
endif(_pkg_check_modules_pkg_op STREQUAL "<=")
# create the final query which is of the format:
# * --atleast-version <version> <pkg-name>
# * --exact-version <version> <pkg-name>
# * --exact-version <version> <pkg-name>
# * --max-version <version> <pkg-name>
# * --exists <pkg-name>
if (_pkg_check_modules_pkg_op)
@@ -272,7 +272,7 @@ macro(_pkg_check_modules_internal _is_required _is_silent _prefix)
else(_pkg_check_modules_failed)
# when we are here, we checked whether requested modules
# exist. Now, go through them and set variables
_pkgconfig_set(${_prefix}_FOUND 1)
list(LENGTH _pkg_check_modules_packages pkg_count)
@@ -284,7 +284,7 @@ macro(_pkg_check_modules_internal _is_required _is_silent _prefix)
else(pkg_count EQUAL 1)
set(_pkg_check_prefix "${_prefix}_${_pkg_check_modules_pkg}")
endif(pkg_count EQUAL 1)
_pkgconfig_invoke(${_pkg_check_modules_pkg} "${_pkg_check_prefix}" VERSION "" --modversion )
_pkgconfig_invoke(${_pkg_check_modules_pkg} "${_pkg_check_prefix}" PREFIX "" --variable=prefix )
_pkgconfig_invoke(${_pkg_check_modules_pkg} "${_pkg_check_prefix}" INCLUDEDIR "" --variable=includedir )
@@ -350,9 +350,9 @@ macro(pkg_search_module _prefix _module0)
message(SEND_ERROR "None of the required '${_pkg_modules_alt}' found")
endif(${_pkg_is_required})
endif(NOT ${_prefix}_FOUND)
_pkgconfig_set(__pkg_config_checked_${_prefix} ${PKG_CONFIG_VERSION})
endif(NOT DEFINED __pkg_config_checked_${_prefix} OR __pkg_config_checked_${_prefix} LESS ${PKG_CONFIG_VERSION} OR NOT ${_prefix}_FOUND)
endif(NOT DEFINED __pkg_config_checked_${_prefix} OR __pkg_config_checked_${_prefix} LESS ${PKG_CONFIG_VERSION} OR NOT ${_prefix}_FOUND)
endmacro(pkg_search_module)
### Local Variables:
+27 -51
View File
@@ -1,21 +1,17 @@
# Copyright (c) 2003-2010 by FlashCode <flashcode@flashtux.org>
#
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2009 Julien Louis <ptitlouis@sysif.net>
#
# This file is part of WeeChat, the extensible chat client.
#
# WeeChat is free software; you can redistribute it and/or modify
# This program 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,
# This program 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 <http://www.gnu.org/licenses/>.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# - Find Python
@@ -33,71 +29,51 @@ IF(PYTHON_FOUND)
SET(PYTHON_FIND_QUIETLY TRUE)
ENDIF(PYTHON_FOUND)
IF(ENABLE_PYTHON3)
FIND_PROGRAM(PYTHON_EXECUTABLE
NAMES 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(ENABLE_PYTHON3)
FIND_PROGRAM(PYTHON_EXECUTABLE
NAMES python2.7 python2.6 python2.5 python
PATHS /usr/bin /usr/local/bin /usr/pkg/bin
)
ENDIF(ENABLE_PYTHON3)
FIND_PROGRAM(PYTHON_EXECUTABLE
NAMES python python2.6 python2.5 python2.4 python2.3 python2.2
PATHS /usr/bin /usr/local/bin /usr/pkg/bin
)
IF(PYTHON_EXECUTABLE)
EXECUTE_PROCESS(
COMMAND ${PYTHON_EXECUTABLE} -c "import sys; from distutils.sysconfig import *; sys.stdout.write(get_config_var('INCLUDEPY'))"
COMMAND ${PYTHON_EXECUTABLE} -c "from distutils.sysconfig import *; print get_config_var('CONFINCLUDEPY')"
OUTPUT_VARIABLE PYTHON_INC_DIR
)
EXECUTE_PROCESS(
COMMAND ${PYTHON_EXECUTABLE} -c "import sys; from distutils.sysconfig import *; sys.stdout.write(get_config_var('LIBPL'))"
COMMAND ${PYTHON_EXECUTABLE} -c "from distutils.sysconfig import *; print 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('LINKFORSHARED'))"
COMMAND ${PYTHON_EXECUTABLE} -c "from distutils.sysconfig import *; print get_config_var('LINKFORSHARED')"
OUTPUT_VARIABLE PYTHON_LFLAGS
)
# remove the new lines from the output by replacing them with empty strings
STRING(REPLACE "\n" "" PYTHON_INC_DIR "${PYTHON_INC_DIR}")
STRING(REPLACE "\n" "" PYTHON_POSSIBLE_LIB_PATH "${PYTHON_POSSIBLE_LIB_PATH}")
STRING(REPLACE "\n" "" PYTHON_LFLAGS "${PYTHON_LFLAGS}")
FIND_PATH(PYTHON_INCLUDE_PATH
NAMES Python.h
PATHS ${PYTHON_INC_DIR}
)
IF(ENABLE_PYTHON3)
FIND_LIBRARY(PYTHON_LIBRARY
NAMES python3.4 python3.3 python3.2 python3.1 python3.0 python3 python2.7 python2.6 python2.5 python
PATHS ${PYTHON_POSSIBLE_LIB_PATH}
)
ELSE(ENABLE_PYTHON3)
FIND_LIBRARY(PYTHON_LIBRARY
NAMES python2.7 python2.6 python2.5 python
PATHS ${PYTHON_POSSIBLE_LIB_PATH}
)
ENDIF(ENABLE_PYTHON3)
FIND_LIBRARY(PYTHON_LIBRARY
NAMES python python2.6 python2.5 python2.4 python2.3 python2.2
PATHS ${PYTHON_POSSIBLE_LIB_PATH}
)
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(${PYTHON_OLD_VERSION} STREQUAL "True")
SET(PYTHON_FOUND TRUE)
ENDIF(PYTHON_LIBRARY AND PYTHON_INCLUDE_PATH)
MARK_AS_ADVANCED(
PYTHON_EXECUTABLE
PYTHON_INCLUDE_PATH
PYTHON_LIBRARY
PYTHON_LFLAGS
)
ENDIF(PYTHON_EXECUTABLE)
+23 -19
View File
@@ -1,20 +1,17 @@
# Copyright (c) 2003-2010 by FlashCode <flashcode@flashtux.org>
#
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
# WeeChat is free software; you can redistribute it and/or modify
# This program 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,
# This program 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 <http://www.gnu.org/licenses/>.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# - Find Ruby
@@ -31,37 +28,44 @@ IF(RUBY_FOUND)
SET(RUBY_FIND_QUIETLY TRUE)
ENDIF(RUBY_FOUND)
FIND_PROGRAM(RUBY_EXECUTABLE
NAMES ruby1.9.3 ruby193 ruby1.9.2 ruby192 ruby1.9.1 ruby191 ruby1.9 ruby19 ruby1.8 ruby18 ruby1.6 ruby16 ruby
FIND_PROGRAM(RUBY_EXECUTABLE
NAMES ruby ruby1.9 ruby19 ruby1.8 ruby18 ruby1.6 ruby16
PATHS /usr/bin /usr/local/bin /usr/pkg/bin
)
IF(RUBY_EXECUTABLE)
EXECUTE_PROCESS(
COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "print RbConfig::CONFIG['rubyhdrdir'] || RbConfig::CONFIG['archdir']"
COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "puts Config::CONFIG['rubyhdrdir'] || Config::CONFIG['archdir']"
OUTPUT_VARIABLE RUBY_ARCH_DIR
)
EXECUTE_PROCESS(
COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "print RbConfig::CONFIG['arch']"
COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "puts Config::CONFIG['arch']"
OUTPUT_VARIABLE RUBY_ARCH
)
EXECUTE_PROCESS(
COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "print RbConfig::CONFIG['libdir']"
COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "puts Config::CONFIG['libdir']"
OUTPUT_VARIABLE RUBY_POSSIBLE_LIB_PATH
)
EXECUTE_PROCESS(
COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "print RbConfig::CONFIG['rubylibdir']"
COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "puts Config::CONFIG['rubylibdir']"
OUTPUT_VARIABLE RUBY_RUBY_LIB_PATH
)
EXECUTE_PROCESS(
COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "print RbConfig::CONFIG['ruby_version']"
COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "puts Config::CONFIG['ruby_version']"
OUTPUT_VARIABLE RUBY_VERSION
)
# remove the new lines from the output by replacing them with empty strings
STRING(REPLACE "\n" "" RUBY_ARCH_DIR "${RUBY_ARCH_DIR}")
STRING(REPLACE "\n" "" RUBY_POSSIBLE_LIB_PATH "${RUBY_POSSIBLE_LIB_PATH}")
STRING(REPLACE "\n" "" RUBY_RUBY_LIB_PATH "${RUBY_RUBY_LIB_PATH}")
STRING(REPLACE "\n" "" RUBY_ARCH "${RUBY_ARCH}")
STRING(REPLACE "\n" "" RUBY_VERSION "${RUBY_VERSION}")
FIND_PATH(RUBY_INCLUDE_PATH
NAMES ruby.h
PATHS ${RUBY_ARCH_DIR}
@@ -71,18 +75,18 @@ IF(RUBY_EXECUTABLE)
"${RUBY_INCLUDE_PATH}/${RUBY_ARCH}")
FIND_LIBRARY(RUBY_LIBRARY
NAMES ruby-1.9.3 ruby1.9.3 ruby193 ruby-1.9.2 ruby1.9.2 ruby192 ruby-1.9.1 ruby1.9.1 ruby191 ruby1.9 ruby19 ruby1.8 ruby18 ruby1.6 ruby16 ruby
NAMES ruby ruby1.6 ruby16 ruby1.8 ruby18 ruby1.9 ruby19
PATHS ${RUBY_POSSIBLE_LIB_PATH} ${RUBY_RUBY_LIB_PATH}
)
IF(RUBY_LIBRARY AND RUBY_INCLUDE_PATH)
SET(RUBY_FOUND TRUE)
ENDIF(RUBY_LIBRARY AND RUBY_INCLUDE_PATH)
IF(${RUBY_VERSION} STREQUAL "1.9.0")
SET(RUBY_FOUND FALSE)
ENDIF(${RUBY_VERSION} STREQUAL "1.9.0")
MARK_AS_ADVANCED(
RUBY_EXECUTABLE
RUBY_LIBRARY
+4 -8
View File
@@ -1,21 +1,17 @@
# Copyright (c) 2003-2010 by FlashCode <flashcode@flashtux.org>
#
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2009 Emmanuel Bouthenot <kolter@openics.org>
#
# This file is part of WeeChat, the extensible chat client.
#
# WeeChat is free software; you can redistribute it and/or modify
# This program 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,
# This program 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 <http://www.gnu.org/licenses/>.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# - Find Source-Highlight
+38 -42
View File
@@ -1,23 +1,3 @@
#
# Copyright (C) 2008 Julien Louis <ptitlouis@sysif.net>
# Copyright (C) 2008-2013 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
# WeeChat is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# WeeChat is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
#
# - Find Tcl includes and libraries.
# This module finds if Tcl is installed and determines where the
# include files and libraries are. It also determines what the name of
@@ -38,11 +18,11 @@
# - The stub libraries are now found in FindTclStub.cmake
# => they were only useful for people writing Tcl/Tk extensions.
# - TCL_LIBRARY_DEBUG and TK_LIBRARY_DEBUG were removed.
# => these libs are not packaged by default with Tcl/Tk distributions.
# => these libs are not packaged by default with Tcl/Tk distributions.
# Even when Tcl/Tk is built from source, several flavors of debug libs
# are created and there is no real reason to pick a single one
# specifically (say, amongst tcl84g, tcl84gs, or tcl84sgx).
# Let's leave that choice to the user by allowing him to assign
# specifically (say, amongst tcl84g, tcl84gs, or tcl84sgx).
# Let's leave that choice to the user by allowing him to assign
# TCL_LIBRARY to any Tcl library, debug or not.
# - TK_INTERNAL_PATH was removed.
# => this ended up being only a Win32 variable, and there is a lot of
@@ -60,49 +40,53 @@ INCLUDE(FindTclsh)
GET_FILENAME_COMPONENT(TCL_TCLSH_PATH "${TCL_TCLSH}" PATH)
GET_FILENAME_COMPONENT(TCL_TCLSH_PATH_PARENT "${TCL_TCLSH_PATH}" PATH)
STRING(REGEX REPLACE
STRING(REGEX REPLACE
"^.*tclsh([0-9]\\.*[0-9]).*$" "\\1" TCL_TCLSH_VERSION "${TCL_TCLSH}")
GET_FILENAME_COMPONENT(TCL_INCLUDE_PATH_PARENT "${TCL_INCLUDE_PATH}" PATH)
GET_FILENAME_COMPONENT(TCL_LIBRARY_PATH "${TCL_LIBRARY}" PATH)
GET_FILENAME_COMPONENT(TCL_LIBRARY_PATH_PARENT "${TCL_LIBRARY_PATH}" PATH)
STRING(REGEX REPLACE
STRING(REGEX REPLACE
"^.*tcl([0-9]\\.*[0-9]).*$" "\\1" TCL_VERSION "${TCL_LIBRARY}")
SET(TCL_POSSIBLE_LIB_PATHS
"${TCL_INCLUDE_PATH_PARENT}/lib"
"${TCL_INCLUDE_PATH_PARENT}/lib64"
"${TCL_LIBRARY_PATH}"
"${TCL_TCLSH_PATH_PARENT}/lib"
"${TCL_TCLSH_PATH_PARENT}/lib64"
/usr/lib
/usr/lib64
/usr/lib
/usr/local/lib
/usr/local/lib64
)
IF(WIN32)
GET_FILENAME_COMPONENT(
ActiveTcl_CurrentVersion
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\ActiveState\\ActiveTcl;CurrentVersion]"
ActiveTcl_CurrentVersion
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\ActiveState\\ActiveTcl;CurrentVersion]"
NAME)
SET(TCLTK_POSSIBLE_LIB_PATHS ${TCLTK_POSSIBLE_LIB_PATHS}
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\ActiveState\\ActiveTcl\\${ActiveTcl_CurrentVersion}]/lib"
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.6;Root]/lib"
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.5;Root]/lib"
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.4;Root]/lib"
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.3;Root]/lib"
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.2;Root]/lib"
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.0;Root]/lib"
"$ENV{ProgramFiles}/Tcl/Lib"
"C:/Program Files/Tcl/lib"
"C:/Tcl/lib"
"C:/Program Files/Tcl/lib"
"C:/Tcl/lib"
)
ENDIF(WIN32)
FIND_LIBRARY(TCL_LIBRARY
NAMES
tcl86 tcl8.6
tcl85 tcl8.5
tcl
NAMES
tcl
tcl${TCL_VERSION} tcl${TCL_TCLSH_VERSION}
tcl86 tcl8.6
tcl85 tcl8.5
tcl84 tcl8.4
tcl83 tcl8.3
tcl82 tcl8.2
tcl80 tcl8.0
PATHS ${TCL_POSSIBLE_LIB_PATHS}
)
@@ -120,16 +104,24 @@ ENDIF(Tcl_FRAMEWORKS)
SET(TCL_POSSIBLE_INCLUDE_PATHS
"${TCL_LIBRARY_PATH_PARENT}/include"
"${TCL_INCLUDE_PATH}"
${TCL_FRAMEWORK_INCLUDES}
${TCL_FRAMEWORK_INCLUDES}
"${TCL_TCLSH_PATH_PARENT}/include"
/usr/include/tcl8.6
/usr/include/tcl8.5
/usr/include
/usr/local/include
/usr/include/tcl${TCL_VERSION}
/usr/include/tcl8.6
/usr/include/tcl8.5
/usr/include/tcl8.4
/usr/include/tcl8.3
/usr/include/tcl8.2
/usr/include/tcl8.0
/usr/local/include/tcl${TCL_VERSION}
/usr/local/include/tcl8.6
/usr/local/include/tcl8.5
/usr/local/include/tcl8.4
/usr/local/include/tcl8.3
/usr/local/include/tcl8.2
/usr/local/include/tcl8.0
)
@@ -138,13 +130,17 @@ IF(WIN32)
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\ActiveState\\ActiveTcl\\${ActiveTcl_CurrentVersion}]/include"
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.6;Root]/include"
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.5;Root]/include"
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.4;Root]/include"
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.3;Root]/include"
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.2;Root]/include"
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.0;Root]/include"
"$ENV{ProgramFiles}/Tcl/include"
"C:/Program Files/Tcl/include"
"C:/Tcl/include"
)
ENDIF(WIN32)
FIND_PATH(TCL_INCLUDE_PATH
FIND_PATH(TCL_INCLUDE_PATH
NAMES tcl.h
PATHS ${TCL_POSSIBLE_INCLUDE_PATHS}
)
-78
View File
@@ -1,78 +0,0 @@
# - Find zlib
# Find the native ZLIB includes and library.
# Once done this will define
#
# ZLIB_INCLUDE_DIRS - where to find zlib.h, etc.
# ZLIB_LIBRARIES - List of libraries when using zlib.
# ZLIB_FOUND - True if zlib found.
#
# ZLIB_VERSION_STRING - The version of zlib found (x.y.z)
# ZLIB_VERSION_MAJOR - The major version of zlib
# ZLIB_VERSION_MINOR - The minor version of zlib
# ZLIB_VERSION_PATCH - The patch version of zlib
# ZLIB_VERSION_TWEAK - The tweak version of zlib
#
# The following variable are provided for backward compatibility
#
# ZLIB_MAJOR_VERSION - The major version of zlib
# ZLIB_MINOR_VERSION - The minor version of zlib
# ZLIB_PATCH_VERSION - The patch version of zlib
#=============================================================================
# Copyright 2001-2009 Kitware, Inc.
#
# Distributed under the OSI-approved BSD License (the "License");
# see accompanying file Copyright.txt for details.
#
# This software is distributed WITHOUT ANY WARRANTY; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# See the License for more information.
#=============================================================================
# (To distribute this file outside of CMake, substitute the full
# License text for the above reference.)
FIND_PATH(ZLIB_INCLUDE_DIR zlib.h
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\GnuWin32\\Zlib;InstallPath]/include"
)
SET(ZLIB_NAMES z zlib zdll zlib1 zlibd zlibd1)
FIND_LIBRARY(ZLIB_LIBRARY
NAMES
${ZLIB_NAMES}
PATHS
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\GnuWin32\\Zlib;InstallPath]/lib"
)
MARK_AS_ADVANCED(ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
IF(ZLIB_INCLUDE_DIR AND EXISTS "${ZLIB_INCLUDE_DIR}/zlib.h")
FILE(STRINGS "${ZLIB_INCLUDE_DIR}/zlib.h" ZLIB_H REGEX "^#define ZLIB_VERSION \"[^\"]*\"$")
STRING(REGEX REPLACE "^.*ZLIB_VERSION \"([0-9]+).*$" "\\1" ZLIB_VERSION_MAJOR "${ZLIB_H}")
STRING(REGEX REPLACE "^.*ZLIB_VERSION \"[0-9]+\\.([0-9]+).*$" "\\1" ZLIB_VERSION_MINOR "${ZLIB_H}")
STRING(REGEX REPLACE "^.*ZLIB_VERSION \"[0-9]+\\.[0-9]+\\.([0-9]+).*$" "\\1" ZLIB_VERSION_PATCH "${ZLIB_H}")
SET(ZLIB_VERSION_STRING "${ZLIB_VERSION_MAJOR}.${ZLIB_VERSION_MINOR}.${ZLIB_VERSION_PATCH}")
# only append a TWEAK version if it exists:
SET(ZLIB_VERSION_TWEAK "")
IF( "${ZLIB_H}" MATCHES "^.*ZLIB_VERSION \"[0-9]+\\.[0-9]+\\.[0-9]+\\.([0-9]+).*$")
SET(ZLIB_VERSION_TWEAK "${CMAKE_MATCH_1}")
SET(ZLIB_VERSION_STRING "${ZLIB_VERSION_STRING}.${ZLIB_VERSION_TWEAK}")
ENDIF( "${ZLIB_H}" MATCHES "^.*ZLIB_VERSION \"[0-9]+\\.[0-9]+\\.[0-9]+\\.([0-9]+).*$")
SET(ZLIB_MAJOR_VERSION "${ZLIB_VERSION_MAJOR}")
SET(ZLIB_MINOR_VERSION "${ZLIB_VERSION_MINOR}")
SET(ZLIB_PATCH_VERSION "${ZLIB_VERSION_PATCH}")
ENDIF()
# handle the QUIETLY and REQUIRED arguments and set ZLIB_FOUND to TRUE if
# all listed variables are TRUE
#INCLUDE(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake)
INCLUDE(${CMAKE_HOME_DIRECTORY}/cmake/FindPackageHandleStandardArgs.cmake)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(ZLIB REQUIRED_VARS ZLIB_LIBRARY ZLIB_INCLUDE_DIR
VERSION_VAR ZLIB_VERSION_STRING)
IF(ZLIB_FOUND)
SET(ZLIB_INCLUDE_DIRS ${ZLIB_INCLUDE_DIR})
SET(ZLIB_LIBRARIES ${ZLIB_LIBRARY})
ENDIF()
+4 -7
View File
@@ -1,20 +1,17 @@
# Copyright (c) 2003-2010 by FlashCode <flashcode@flashtux.org>
#
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
# WeeChat is free software; you can redistribute it and/or modify
# This program 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,
# This program 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 <http://www.gnu.org/licenses/>.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
IF(NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt")
+50
View File
@@ -0,0 +1,50 @@
#!/bin/sh
#
# Copyright (c) 2003-2010 by FlashCode <flashcode@flashtux.org>
#
# This program 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.
#
# This program 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 <http://www.gnu.org/licenses/>.
#
VERSION=@VERSION@
SRCROOT=@CMAKE_SOURCE_DIR@
BUILDDIR=@CMAKE_BINARY_DIR@
PROJECT=@PROJECT_NAME@
TAG=release-$(echo $VERSION | sed -e 's/\./-/g')
EXCLUDE="@DIST_EXCLUDE@"
EXPORT_DIR="${PROJECT}-${VERSION}"
if [ -z $CVSROOT ]; then
echo "The CVSROOT variable must be set"
exit 1
fi
echo "Exporting source tree"
if [ $(echo $VERSION | grep cvs) ]; then
cvs export -r HEAD -d $PROJECT-$VERSION $PROJECT
else
cvs export -r $TAG -d $PROJECT-$VERSION $PROJECT
fi
echo "Removing not needed stuff"
for i in $EXCLUDE ; do
echo " $i"
rm -rf $EXPORT_DIR/$i
done
echo "Generating archive"
tar cjf ${BUILDDIR}/${PROJECT}-${VERSION}.tar.bz2 ${EXPORT_DIR}
echo "Cleaning up"
rm -rf ${EXPORT_DIR}
+18 -4
View File
@@ -1,11 +1,26 @@
#cmakedefine HAVE_ARPA_INET_H
#cmakedefine HAVE_LIBINTL_H
#cmakedefine HAVE_SYS_RESOURCE_H
#cmakedefine HAVE_LIMITS_H
#cmakedefine HAVE_LOCALE_H
#cmakedefine HAVE_NETDB_H
#cmakedefine HAVE_NETINET_IN_H
#cmakedefine HAVE_STDLIB_H
#cmakedefine HAVE_STRING_H
#cmakedefine HAVE_SYS_SOCKET_H
#cmakedefine HAVE_SYS_TIME_H
#cmakedefine HAVE_SYS_TYPES_H
#cmakedefine HAVE_UNISTD_H
#cmakedefine HAVE_PWD_H
#cmakedefine HAVE_ERRNO_H
#cmakedefine HAVE_REGEX_H
#cmakedefine HAVE_WCHAR_H
#cmakedefine HAVE_SYS_FILE_H
#cmakedefine HAVE_FLOCK
#cmakedefine HAVE_LANGINFO_CODESET
#cmakedefine HAVE_STRNDUP
#cmakedefine HAVE_BACKTRACE
#cmakedefine ICONV_2ARG_IS_CONST 1
#cmakedefine HAVE_MALLINFO
#cmakedefine HAVE_EAT_NEWLINE_GLITCH
#cmakedefine HAVE_TCL_CREATE_NS
#define PACKAGE_VERSION "@VERSION@"
#define PACKAGE "@PROJECT_NAME@"
#define PACKAGE_NAME "@PROJECT_NAME@"
@@ -13,5 +28,4 @@
#define WEECHAT_LIBDIR "@LIBDIR@"
#define WEECHAT_SHAREDIR "@SHAREDIR@"
#define LOCALEDIR "@LOCALEDIR@"
#define WEECHAT_HOME "@WEECHAT_HOME@"
#define _GNU_SOURCE 1
+232 -352
View File
@@ -1,34 +1,27 @@
# Copyright (c) 2003-2010 by FlashCode <flashcode@flashtux.org>
#
# Copyright (C) 2003-2013 Sebastien 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>
#
# This file is part of WeeChat, the extensible chat client.
#
# WeeChat is free software; you can redistribute it and/or modify
# This program 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,
# This program 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 <http://www.gnu.org/licenses/>.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
AC_PREREQ(2.56)
AC_INIT(WeeChat, 0.4.1, flashcode@flashtux.org)
AC_CONFIG_SRCDIR([configure.in])
AC_INIT(WeeChat, 0.3.1.1, flashcode@flashtux.org)
AC_CONFIG_SRCDIR([src/core/weechat.c])
AM_CONFIG_HEADER(config.h)
AM_INIT_AUTOMAKE
LICENSE="GPL3"
AM_INIT_AUTOMAKE([weechat], [0.3.1.1])
# Checks for programs
AC_PROG_CC
@@ -58,8 +51,8 @@ cygwin*)
esac
# Gettext
ALL_LINGUAS="fr es cs hu de ru pl it ja pt_BR"
AM_GNU_GETTEXT
ALL_LINGUAS="fr es cs hu de ru pl it"
AM_GNU_GETTEXT([use-libtool])
AM_GNU_GETTEXT_VERSION([0.15])
# Checks for libraries
@@ -68,7 +61,12 @@ AC_CHECK_LIB(ncursesw, initscr, LIBNCURSESW_FOUND=1, LIBNCURSESW_FOUND=0)
# Checks for header files
AC_HEADER_STDC
AC_CHECK_HEADERS([libintl.h sys/resource.h])
AC_CHECK_HEADERS([arpa/inet.h libintl.h limits.h locale.h netdb.h netinet/in.h stdlib.h string.h sys/socket.h sys/time.h sys/types.h unistd.h pwd.h errno.h regex.h wchar.h sys/file.h])
if echo "$host_os" | grep "^openbsd" 1>/dev/null 2>&1 ; then
AC_CHECK_HEADER(utf8/wchar.h, LDFLAGS="$LDFLAGS -lutf8", [AC_MSG_ERROR([
*** on OpenBSD systems, package libutf8 must be installed to compile WeeChat])])
fi
# Checks for typedefs, structures, and compiler characteristics
AC_HEADER_TIME
@@ -91,39 +89,37 @@ AC_MSG_RESULT($ac_cv_type_socklen_t)
# Checks for library functions.
AC_FUNC_SELECT_ARGTYPES
AC_TYPE_SIGNAL
AC_CHECK_FUNCS([mallinfo])
AC_CHECK_FUNCS([gethostbyname gethostname getsockname gettimeofday inet_ntoa memset mkdir select setlocale socket strcasecmp strchr strdup strndup strncasecmp strpbrk strrchr strstr regexec])
# Variables in config.h
AH_VERBATIM([PREFIX], [#undef PREFIX])
AH_VERBATIM([WEECHAT_LIBDIR], [#undef WEECHAT_LIBDIR])
AH_VERBATIM([WEECHAT_SHAREDIR], [#undef WEECHAT_SHAREDIR])
AH_VERBATIM([HAVE_GNUTLS], [#undef HAVE_GNUTLS])
AH_VERBATIM([HAVE_FLOCK], [#undef HAVE_FLOCK])
AH_VERBATIM([HAVE_EAT_NEWLINE_GLITCH], [#undef HAVE_EAT_NEWLINE_GLITCH])
AH_VERBATIM([PLUGIN_ALIAS], [#undef PLUGIN_ALIAS])
AH_VERBATIM([PLUGIN_ASPELL], [#undef PLUGIN_ASPELL])
AH_VERBATIM([PLUGIN_CHARSET], [#undef PLUGIN_CHARSET])
AH_VERBATIM([PLUGIN_DEMO], [#undef PLUGIN_DEMO])
AH_VERBATIM([PLUGIN_FIFO], [#undef PLUGIN_FIFO])
AH_VERBATIM([PLUGIN_IRC], [#undef PLUGIN_IRC])
AH_VERBATIM([PLUGIN_LOGGER], [#undef PLUGIN_LOGGER])
AH_VERBATIM([PLUGIN_RELAY], [#undef PLUGIN_RELAY])
AH_VERBATIM([PLUGIN_RMODIFIER], [#undef PLUGIN_RMODIFIER])
AH_VERBATIM([PLUGIN_SCRIPT], [#undef PLUGIN_SCRIPT])
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_TCL], [#undef PLUGIN_TCL])
AH_VERBATIM([PLUGIN_GUILE], [#undef PLUGIN_GUILE])
AH_VERBATIM([PLUGIN_XFER], [#undef PLUGIN_XFER])
AH_VERBATIM([DOC], [#undef DOC])
AH_VERBATIM([WEECHAT_HOME], [#define WEECHAT_HOME "~/.weechat"])
AH_VERBATIM([PREFIX], [#undef PREFIX])
AH_VERBATIM([WEECHAT_LIBDIR], [#undef WEECHAT_LIBDIR])
AH_VERBATIM([WEECHAT_SHAREDIR], [#undef WEECHAT_SHAREDIR])
AH_VERBATIM([HAVE_GNUTLS], [#undef HAVE_GNUTLS])
AH_VERBATIM([HAVE_FLOCK], [#undef HAVE_FLOCK])
AH_VERBATIM([PLUGIN_ALIAS], [#undef PLUGIN_ALIAS])
AH_VERBATIM([PLUGIN_ASPELL], [#undef PLUGIN_ASPELL])
AH_VERBATIM([PLUGIN_CHARSET], [#undef PLUGIN_CHARSET])
AH_VERBATIM([PLUGIN_DEMO], [#undef PLUGIN_DEMO])
AH_VERBATIM([PLUGIN_FIFO], [#undef PLUGIN_FIFO])
AH_VERBATIM([PLUGIN_IRC], [#undef PLUGIN_IRC])
AH_VERBATIM([PLUGIN_LOGGER], [#undef PLUGIN_LOGGER])
AH_VERBATIM([PLUGIN_RELAY], [#undef PLUGIN_RELAY])
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_TCL], [#undef PLUGIN_TCL])
AH_VERBATIM([PLUGIN_XFER], [#undef PLUGIN_XFER])
AH_VERBATIM([DOC], [#undef DOC])
# 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(wxwidgets, [ --enable-wxwidgets turn on WxWidgets interface (default=off)],enable_wxwidgets=$enableval,enable_wxwidgets=no)
AC_ARG_ENABLE(gtk, [ --enable-gtk turn on Gtk interface (default=off)],enable_gtk=$enableval,enable_gtk=no)
AC_ARG_ENABLE(qt, [ --enable-qt turn on Qt interface (default=off)],enable_qt=$enableval,enable_qt=no)
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)
@@ -133,17 +129,13 @@ AC_ARG_ENABLE(demo, [ --enable-demo turn on Demo plugin (defa
AC_ARG_ENABLE(fifo, [ --disable-fifo turn off Fifo plugin (default=compiled)],enable_fifo=$enableval,enable_fifo=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)
AC_ARG_ENABLE(rmodifier, [ --disable-rmodifier turn off Rmodifier plugin (default=compiled)],enable_rmodifier=$enableval,enable_rmodifier=yes)
AC_ARG_ENABLE(script, [ --disable-script turn off Script plugin (default=compiled)],enable_script=$enableval,enable_script=yes)
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(relay, [ --enable-relay turn on Relay plugin (default=off)],enable_relay=$enableval,enable_relay=no)
AC_ARG_ENABLE(scripts, [ --disable-scripts turn off script plugins (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(python3, [ --enable-python3 use Python 3.x if found (NOT recommended) (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(xfer, [ --disable-xfer turn off Xfer (file transfer) plugin (default=compiled if found)],enable_xfer=$enableval,enable_xfer=yes)
AC_ARG_WITH(lua-inc, [ --with-lua-inc=DIR, lua include files are in DIR (default=autodetect)],lua_inc=$withval,lua_inc='')
AC_ARG_WITH(lua-lib, [ --with-lua-lib=DIR, lua library files are in DIR (default=autodetect)],lua_lib=$withval,lua_lib='')
@@ -152,13 +144,6 @@ AC_ARG_WITH(tclconfig, [ --with-tclconfig=DIR directory containing tcl
AC_ARG_ENABLE(doc, [ --disable-doc turn off documentation (default=built)],enable_doc=$enableval,enable_doc=yes)
AC_ARG_WITH(debug, [ --with-debug debugging: 0=no debug, 1=debug compilation (default=1)],debug=$withval,debug=1)
AC_ARG_VAR(WEECHAT_HOME, [WeeChat home directory for config, logs, scripts.. (default is "~/.weechat")])
if test "x$WEECHAT_HOME" = "x" ; then
WEECHAT_HOME="~/.weechat"
fi
AC_DEFINE_UNQUOTED(WEECHAT_HOME, "$WEECHAT_HOME")
not_asked=""
not_found=""
@@ -206,6 +191,49 @@ else
not_asked="$not_asked ncurses"
fi
#if test "x$enable_wxwidgets" = "xyes" ; then
# AM_OPTIONS_WXCONFIG
# AM_PATH_WXCONFIG(2.3.4, wxWin=1)
#
# if test "$wxWin" != 1; then
# AC_MSG_ERROR([
#*** wxWindows must be installed on your system
#*** but wx-config script couldn't be found.
#
#*** Please check that wx-config is in path, the directory
#*** where wxWindows libraries are installed (returned by
#*** 'wx-config --libs' command) is in LD_LIBRARY_PATH or
#*** equivalent variable and wxWindows version is 2.3.4 or above.
# ])
# fi
#
# CPPFLAGS="$CPPFLAGS $WX_CPPFLAGS"
# CXXFLAGS="$CXXFLAGS $WX_CXXFLAGS_ONLY"
# CFLAGS="$CFLAGS $WX_CFLAGS_ONLY"
# LDFLAGS="$LDFLAGS $WX_LIBS"
#
# WXWIDGETS_CFLAGS=""
# WXWIDGETS_LIBS=""
#fi
if test "x$enable_gtk" = "xyes" ; then
AM_PATH_GTK_2_0(2.4.0, LIBGTK_FOUND=1, LIBGTK_FOUND=0)
if test "$LIBGTK_FOUND" = "0" ; then
AC_MSG_WARN([
*** Gtk library not found!
*** WeeChat will be built without Gtk support.])
enable_gtk="no"
not_found="$not_found gtk"
else
GTK_CFLAGS=`pkg-config --cflags gtk+-2.0`
GTK_LFLAGS=`pkg-config --libs gtk+-2.0`
AC_SUBST(GTK_CFLAGS)
AC_SUBST(GTK_LFLAGS)
fi
else
not_asked="$not_asked gtk"
fi
# ------------------------------------------------------------------------------
# iconv
# ------------------------------------------------------------------------------
@@ -223,15 +251,15 @@ if test "x$ac_found_iconv_header" = "xyes" ; then
ICONV_LFLAGS="-liconv"
LIBS="$LIBS $ICONV_LFLAGS"
fi
AC_MSG_CHECKING(for iconv usability in programs)
AC_MSG_CHECKING(for iconv usability in programs)
AC_TRY_RUN([
#include <iconv.h>
int main(int argc, char **argv) {
iconv_t conv = iconv_open("ISO8859-1", "UTF-8");
#include <iconv.h>
int main(int argc, char **argv) {
iconv_t conv = iconv_open("ISO8859-1", "UTF-8");
if (conv != (iconv_t) -1) {
return 0;
return 0;
}
return 1;
return 1;
}],iconv_found="yes")
if test "x$iconv_found" = "xno" ; then
AC_MSG_RESULT(no)
@@ -257,7 +285,6 @@ if test "x$enable_scripts" = "xno" ; then
enable_ruby="no"
enable_lua="no"
enable_tcl="no"
enable_guile="no"
fi
# ---------------------------------- alias -------------------------------------
@@ -281,7 +308,7 @@ if test "x$enable_aspell" = "xyes" ; then
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)
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([
@@ -291,8 +318,8 @@ if test "x$enable_aspell" = "xyes" ; then
enable_aspell="no"
not_found="$not_found aspell"
else
AC_MSG_RESULT(yes)
ASPELL_LFLAGS="$ASPELL_LFLAGS -laspell"
AC_MSG_RESULT(yes)
ASPELL_LFLAGS="$ASPELL_LFLAGS -laspell"
fi
else
not_asked="$not_asked aspell"
@@ -372,22 +399,6 @@ else
not_asked="$not_asked relay"
fi
# ------------------------------- rmodifier ------------------------------------
if test "x$enable_rmodifier" = "xyes" ; then
AC_DEFINE(PLUGIN_RMODIFIER)
else
not_asked="$not_asked rmodifier"
fi
# --------------------------------- script -------------------------------------
if test "x$enable_script" = "xyes" ; then
AC_DEFINE(PLUGIN_SCRIPT)
else
not_asked="$not_asked script"
fi
# ---------------------------------- perl --------------------------------------
PERL_VERSION=
@@ -402,17 +413,17 @@ if test "x$enable_perl" = "xyes" ; then
enable_perl="no"
not_found="$not_found perl"
else
PERL_VERSION=`perl -V:version | sed "s/version='\(.*\)';/\1/"`
PERL_VERSION=`perl -V:version | sed "s/version='\(.*\)';/\1/"`
AC_MSG_CHECKING(for Perl headers files)
PERL_HEADER_TEST=`PT=perltest.c ; echo "#include <EXTERN.h>" > $PT; echo "#include <perl.h>" >> $PT; echo "#include <XSUB.h>" >> $PT ; echo "int main() { return 0; }" >> $PT ; $CC -Wall $PT -o $PT.out $($PERL -MExtUtils::Embed -e ccopts) 1>/dev/null 2>&1; echo $?; rm -f $PT $PT.out 1>/dev/null 2>&1`
if test "x$PERL_HEADER_TEST" = "x0" ; then
PERL_CFLAGS=`$PERL -MExtUtils::Embed -e ccopts`
AC_MSG_RESULT(found)
AC_MSG_CHECKING(for Perl library)
PERL_LIB_TEST=`PT=perltest.c ; echo "int main() { return 0; }" > $PT ; $CC -Wall $PT -o $PT.out $($PERL -MExtUtils::Embed -e ldopts) 1>/dev/null 2>&1; echo $?; rm -f $PT $PT.out 1>/dev/null 2>&1`
if test "x$PERL_LIB_TEST" = "x0" ; then
if test "x$PERL_LIB_TEST" = "x0" ; then
PERL_LFLAGS=`$PERL -MExtUtils::Embed -e ldopts`
AC_MSG_RESULT(found)
else
@@ -447,11 +458,7 @@ fi
PYTHON_VERSION=
if test "x$enable_python" = "xyes" ; then
if test "x$enable_python3" = "xyes" ; then
AC_PATH_PROGS(PYTHON, python3.4 python3.3 python3.2 python3.1 python3.0 python3 python2.7 python2.6 python2.5 python2 python)
else
AC_PATH_PROGS(PYTHON, python2.7 python2.6 python2.5 python2 python)
fi
AC_PATH_PROGS(PYTHON, python python2.5 python2.4 python2.3 python2.2)
if test -z $PYTHON ; then
AC_MSG_WARN([
*** Python must be installed on your system but python interpreter couldn't be found in path.
@@ -460,49 +467,41 @@ if test "x$enable_python" = "xyes" ; then
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_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
PYTHON_SYSPREFIX=`$PYTHON -c 'import sys; print "%s" % sys.prefix'`
PYTHON_VERSION=`$PYTHON -c 'import sys ; print sys.version[[:3]]'`
PYTHON_INCLUDE=`$PYTHON -c "import distutils.sysconfig,string; print distutils.sysconfig.get_config_var('CONFINCLUDEPY')"`
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 distutils.sysconfig; print distutils.sysconfig.get_config_var('LIBPL')"`
PYTHON_LFLAGS="-lpython$PYTHON_VERSION "`$PYTHON -c "import distutils.sysconfig; print 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_SYSPREFIX/lib/libpython$PYTHON_VERSION.so"; then
PYTHON_LFLAGS="-L$PYTHON_SYSPREFIX/lib/ $PYTHON_LFLAGS"
AC_MSG_RESULT(found)
else
AC_MSG_WARN([
*** Python header files couldn't be found on your system.
*** Try to install them with your software package manager.
*** 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
else
@@ -520,7 +519,7 @@ fi
RUBY_VERSION=
if test "x$enable_ruby" = "xyes" ; then
AC_PATH_PROGS(RUBY, ruby1.9.3 ruby1.9.2 ruby1.9.1 ruby1.9 ruby1.8 ruby)
AC_PATH_PROGS(RUBY, ruby ruby1.8 ruby1.9)
if test -z $RUBY ; then
AC_MSG_WARN([
*** Ruby must be installed on your system but ruby interpreter couldn't be found in path.
@@ -529,21 +528,21 @@ if test "x$enable_ruby" = "xyes" ; then
enable_ruby="no"
not_found="$not_found ruby"
else
RUBY_VERSION=`$RUBY -rrbconfig -e "puts RbConfig::CONFIG[['ruby_version']]"`
RUBY_VERSION=`$RUBY -rrbconfig -e "puts Config::CONFIG[['ruby_version']]"`
if test "$RUBY_VERSION" = "1.9.0"; then
AC_MSG_WARN([
*** Ruby header files have been found, but they're of the version 1.9.0.
*** Ruby 1.9.0 is an unstable release and should not be used in production.
*** Please install Ruby 1.8.x (>= 1.8.6) or >= 1.9.1.
*** Please install Ruby >=1.8.6 or 1.9.1.
*** WeeChat will be built without Ruby support.])
enable_ruby="no"
not_found="$not_found ruby"
else
RUBY_INCLUDE=`$RUBY -rrbconfig -e "puts RbConfig::CONFIG[['rubyhdrdir']] || RbConfig::CONFIG[['archdir']]"`
RUBY_ARCH=`$RUBY -rrbconfig -e 'print RbConfig::CONFIG[["arch"]]'`
RUBY_INCLUDE=`$RUBY -rrbconfig -e "puts Config::CONFIG[['rubyhdrdir']] || Config::CONFIG[['archdir']]"`
RUBY_ARCH=`$RUBY -rrbconfig -e 'print Config::CONFIG[["arch"]]'`
AC_MSG_CHECKING(for Ruby header files)
if test -d "$RUBY_INCLUDE/"; then
M_RUBY_VERSION=`$RUBY -rrbconfig -e "puts RbConfig::CONFIG[['ruby_version']].gsub(/\./, '')[[0,3]]"`
M_RUBY_VERSION=`$RUBY -rrbconfig -e "puts Config::CONFIG[['ruby_version']].gsub(/\./, '')[[0,2]]"`
RUBY_CFLAGS="-I$RUBY_INCLUDE/ -I$RUBY_INCLUDE/$RUBY_ARCH -DRUBY_VERSION=$M_RUBY_VERSION"
else
AC_MSG_WARN([
@@ -554,7 +553,7 @@ if test "x$enable_ruby" = "xyes" ; then
not_found="$not_found ruby"
fi
AC_MSG_RESULT(found)
RUBY_LFLAGS=`$RUBY -rrbconfig -e "puts RbConfig::CONFIG[['LIBRUBYARG_SHARED']]"`
RUBY_LFLAGS=`$RUBY -rrbconfig -e "puts Config::CONFIG[['LIBRUBYARG_SHARED']]"`
fi
fi
else
@@ -586,46 +585,46 @@ if test "x$enable_lua" = "xyes" ; then
if test -n "$lua_lib"; then
LDFLAGS="$LDFLAGS -L$lua_lib"
fi
if test "x$LUA_CFLAGS" = "x" -o "x$LUA_LFLAGS" = "x" ; then
PKGCONFIG=""
AC_CHECK_PROGS(PKGCONFIG, pkg-config)
if test "x$PKGCONFIG" != "x"; then
AC_MSG_CHECKING(for Lua headers and librairies with pkg-config)
echo
for l in "$lua_suffix" "" "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`
AC_MSG_CHECKING(for Lua headers and librairies with pkg-config)
echo
for l in "$lua_suffix" "" "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`
LUA_CFLAGS="$LUA_CFLAGS "`$PKGCONFIG --cflags lua$l`
LUA_LFLAGS="$LUA_LFLAGS "`$PKGCONFIG --libs lua$l`
pkgconfig_lualib_found=`$PKGCONFIG --exists lualib$l 2>/dev/null`
if test "x$?" = "x0"; then
LUA_CFLAGS="$LUA_CFLAGS "`$PKGCONFIG --cflags lualib$l`
LUA_LFLAGS="$LUA_LFLAGS "`$PKGCONFIG --libs lualib$l`
fi
pkgconfig_lualib_found=`$PKGCONFIG --exists lualib$l 2>/dev/null`
if test "x$?" = "x0"; then
LUA_CFLAGS="$LUA_CFLAGS "`$PKGCONFIG --cflags lualib$l`
LUA_LFLAGS="$LUA_LFLAGS "`$PKGCONFIG --libs lualib$l`
fi
break
fi
done
fi
fi
fi
if test "x$LUA_CFLAGS" = "x" -o "x$LUA_LFLAGS" = "x" ; then
LUACONFIG=""
AC_CHECK_PROGS(LUACONFIG, lua-config lua-config51 lua-config5.1 lua-config50 lua-config5.0)
if test "x$LUACONFIG" != "x" ; then
AC_MSG_CHECKING(for Lua headers and librairies with lua-config)
echo
echo
LUA_CFLAGS=`$LUACONFIG --include`
LUA_LFLAGS=`$LUACONFIG --libs`
LUA_VERSION="5.0.x"
LUA_VERSION="5.0.x"
fi
fi
if test "x$LUA_CFLAGS" = "x" -o "x$LUA_LFLAGS" = "x" ; then
if test "x$LUA_CFLAGS" = "x" -o "x$LUA_LFLAGS" = "x" ; then
AC_MSG_CHECKING(for Lua headers and librairies)
echo
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
@@ -634,31 +633,31 @@ if test "x$enable_lua" = "xyes" ; then
for l in "$lua_suffix" "" "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"
LUA_VERSION=">=5.1.0"
LUA_LFLAGS="$LDFLAGS -llua$l -lm"
LUA_LFLAGS="$LDFLAGS -llua$l -lm"
ac2_save_LDFLAGS="$LDFLAGS"
LDFLAGS="$LDFLAGS -llua$l -lm"
ac2_save_LDFLAGS="$LDFLAGS"
LDFLAGS="$LDFLAGS -llua$l -lm"
if echo "$host_os" | grep "^linux" 1>/dev/null 2>&1 ; then
LDFLAGS="$LDFLAGS -ldl"
fi
if echo "$host_os" | grep "^linux" 1>/dev/null 2>&1 ; then
LDFLAGS="$LDFLAGS -ldl"
fi
AC_CHECK_LIB(lualib$l,luaL_openlib,ac_found_liblua_lib="yes",ac_found_liblua_lib="no")
if test "x$ac_found_liblua_lib" = "xyes" ; then
LUA_VERSION="5.0.x"
LUA_LFLAGS="$LUA_LFLAGS -llualib$l"
AC_CHECK_LIB(lualib$l,luaL_openlib,ac_found_liblua_lib="yes",ac_found_liblua_lib="no")
if test "x$ac_found_liblua_lib" = "xyes" ; then
LUA_VERSION="5.0.x"
if echo "$host_os" | grep "^linux" 1>/dev/null 2>&1 ; then
LUA_LFLAGS="$LUA_LFLAGS -ldl"
fi
fi
LUA_LFLAGS="$LUA_LFLAGS -llualib$l"
if echo "$host_os" | grep "^linux" 1>/dev/null 2>&1 ; then
LUA_LFLAGS="$LUA_LFLAGS -ldl"
fi
fi
LDFLAGS="$ac2_save_LDFLAGS"
break
fi
LDFLAGS="$ac2_save_LDFLAGS"
break
fi
done
fi
@@ -695,10 +694,10 @@ TCL_VERSION=
if test "x$enable_tcl" = "xyes" ; then
enable_plugins="yes"
AC_MSG_CHECKING(for tclConfig.sh)
tcl_found="no"
tcl_dirs="/usr/lib/tcl8.5 /usr/lib64/tcl8.5 /lib /lib64 /usr/lib /usr/lib64 /usr/tcl/lib /usr/tcl/lib64 /usr/local/tcl-8.5/lib /usr/local/tcl-8.5/lib64 /usr/local/lib /usr/local/lib64 /usr/local/tcl/lib /usr/local/tcl/lib64 /opt/lib /opt/lib64"
tcl_dirs="/lib /usr/lib /usr/tcl/lib /usr/lib/tcl8.5 /usr/lib/tcl8.4 /usr/lib/tcl8.3 /usr/local/lib /usr/local/tcl-8.5/lib /usr/local/tcl-8.4/lib /usr/local/tcl-8.3/lib /usr/local/tcl/lib /opt/lib"
if test "x$tclconfig" != "x" ; then
tcl_dirs="${tclconfig} ${tcl_dirs}"
fi
@@ -727,46 +726,6 @@ if test "x$enable_tcl" = "xyes" ; then
AC_DEFINE(PLUGIN_TCL)
fi
# --------------------------------- guile -------------------------------------
GUILE_VERSION=
if test "x$enable_guile" = "xyes" ; then
enable_plugins="yes"
guile_found="no"
PKGCONFIG=""
AC_CHECK_PROGS(PKGCONFIG, pkg-config)
if test "x$PKGCONFIG" != "x"; then
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`
if test "x$?" = "x0" ; then
GUILE_VERSION=`$PKGCONFIG --modversion guile-$v`
GUILE_CFLAGS=`$PKGCONFIG --cflags guile-$v`
GUILE_LFLAGS=`$PKGCONFIG --libs guile-$v`
guile_found="yes"
break
fi
done
fi
if test "x$guile_found" = "xno" ; then
AC_MSG_WARN([
*** Guile >= 2.0 couldn't be found on your system.
*** WeeChat will be built without Guile (scheme) support.])
enable_guile="no"
not_found="$not_found guile"
fi
fi
if test "x$enable_guile" = "xyes" ; then
AC_SUBST(GUILE_CFLAGS)
AC_SUBST(GUILE_LFLAGS)
AC_DEFINE(PLUGIN_GUILE)
fi
# ---------------------------------- xfer --------------------------------------
if test "x$enable_xfer" = "xyes" ; then
@@ -779,45 +738,24 @@ else
not_asked="$not_asked xfer"
fi
# ------------------------------------------------------------------------------
# gcrypt
# ------------------------------------------------------------------------------
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 librairies)
if test "x$ac_found_gcrypt_header" = "xno" -o "x$ac_found_gcrypt_lib" = "xno" ; then
AC_MSG_RESULT(no)
AC_MSG_ERROR([
*** libgcrypt was not found. You may want to get it from ftp://ftp.gnupg.org/gcrypt/libgcrypt/
*** or try to install libgcrypt-dev with your software package manager.])
else
AC_MSG_RESULT(yes)
GCRYPT_CFLAGS=`libgcrypt-config --cflags`
GCRYPT_LFLAGS=`libgcrypt-config --libs`
AC_SUBST(GCRYPT_CFLAGS)
AC_SUBST(GCRYPT_LFLAGS)
fi
# ------------------------------------------------------------------------------
# gnutls
# ------------------------------------------------------------------------------
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_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 librairies)
if test "x$ac_found_gnutls_header" = "xno" -o "x$ac_found_gnutls_lib" = "xno" ; then
AC_MSG_RESULT(no)
AC_MSG_WARN([
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([
*** libgnutls was not found. You may want to get it from ftp://ftp.gnutls.org/pub/gnutls/
*** WeeChat will be built without GnuTLS support.])
enable_gnutls="no"
not_found="$not_found gnutls"
enable_gnutls="no"
not_found="$not_found gnutls"
else
AC_MSG_RESULT(yes)
AC_MSG_RESULT(yes)
GNUTLS_CFLAGS=`pkg-config gnutls --cflags`
GNUTLS_LFLAGS=`pkg-config gnutls --libs`
AC_SUBST(GNUTLS_CFLAGS)
@@ -834,7 +772,7 @@ fi
# ------------------------------------------------------------------------------
enable_flock="no"
AC_CACHE_CHECK([for flock() support], ac_cv_have_flock, [
AC_CACHE_CHECK([for flock() support], ac_have_flock, [
AC_LINK_IFELSE([AC_LANG_PROGRAM(
[[ #include <sys/file.h>]],
[[ flock(0, LOCK_SH); ]])],
@@ -852,7 +790,7 @@ fi
# large file support
# ------------------------------------------------------------------------------
if test "x$enable_largefile" = "xyes" ; then
CFLAGS="$CFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_LARGE_FILES"
CFLAGS="$CFLAGS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE"
else
not_asked="$not_asked largefile"
fi
@@ -863,7 +801,7 @@ fi
enable_backtrace="no"
if test "x$debug" != "x0" ; then
AC_CACHE_CHECK([for execinfo.h and backtrace], ac_cv_have_backtrace, [
AC_CACHE_CHECK([for execinfo.h and backtrace], ac_have_backtrace, [
AC_LINK_IFELSE([AC_LANG_PROGRAM(
[[ #include <execinfo.h> ]],
[[ void *trace[128]; int n = backtrace(trace, 128); ]])],
@@ -877,61 +815,6 @@ if test "x$debug" != "x0" ; then
fi
fi
# ------------------------------------------------------------------------------
# eat_newline_glitch
# ------------------------------------------------------------------------------
enable_eatnewlineglitch="no"
AC_CACHE_CHECK([for eat_newline_glitch support], ac_cv_have_eatnewlineglitch, [
AC_COMPILE_IFELSE([AC_LANG_PROGRAM(
[[ #include <term.h> ]],
[[ eat_newline_glitch = 0; ]])],
[ ac_have_eatnewlineglitch="yes" ],
[ ac_have_eatnewlineglitch="no" ])])
if test "x$ac_have_eatnewlineglitch" = "xyes"; then
enable_eatnewlineglitch="yes"
AC_DEFINE(HAVE_EAT_NEWLINE_GLITCH)
else
not_found="$not_found eat_newline_glitch"
fi
# ------------------------------------------------------------------------------
# zlib
# ------------------------------------------------------------------------------
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 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 http://zlib.net/
*** or try to install libcurl-dev with your software package manager.])
else
AC_MSG_RESULT(yes)
ZLIB_CFLAGS=`pkg-config zlib --cflags`
ZLIB_LFLAGS=`pkg-config zlib --libs`
AC_SUBST(ZLIB_CFLAGS)
AC_SUBST(ZLIB_LFLAGS)
fi
# ------------------------------------------------------------------------------
# curl
# ------------------------------------------------------------------------------
AC_PATH_PROG(CURL_CONFIG, curl-config)
if test "x$CURL_CONFIG" = "x" ; then
AC_MSG_ERROR([
*** "curl-config" couldn't be found on your system.
*** Try to install libcurl-dev with your software package manager.])
fi
CURL_CFLAGS=`$CURL_CONFIG --cflags`
CURL_LFLAGS=`$CURL_CONFIG --libs`
AC_SUBST(CURL_CFLAGS)
AC_SUBST(CURL_LFLAGS)
# ------------------------------------------------------------------------------
# documentation
# ------------------------------------------------------------------------------
@@ -958,13 +841,13 @@ if test "x$enable_doc" = "xyes" ; then
;;
esac
else
enable_doc="no"
enable_doc="no"
fi
if test -z "$ASCIIDOC"; then
not_found="$not_found asciidoc"
fi
if test -z "$SOURCEHIGHLIGHT"; then
not_found="$not_found source-highlight(needed by asciidoc)"
not_found="$not_found source-highlight(needed by asciidoc)"
fi
AC_SUBST(DOC_ASCIIDOC8)
AC_SUBST(ASCIIDOC)
@@ -1036,52 +919,50 @@ netbsd*)
fi
CFLAGS="$CFLAGS $CPPFLAGS"
;;
gnu*)
gnu*)
LDFLAGS="$LDFLAGS -lpthread"
;;
*)
;;
esac
CFLAGS="$CFLAGS -DWEECHAT_VERSION=\\\"$VERSION\\\" -DWEECHAT_LICENSE=\\\"$LICENSE\\\""
CFLAGS="$CFLAGS -DWEECHAT_VERSION=\\\"$VERSION\\\""
# ------------------------------------------------------------------------------
# output Makefiles
# ------------------------------------------------------------------------------
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(PLUGIN_ALIAS, test "$enable_alias" = "yes")
AM_CONDITIONAL(PLUGIN_ASPELL, test "$enable_aspell" = "yes")
AM_CONDITIONAL(PLUGIN_CHARSET, test "$enable_charset" = "yes")
AM_CONDITIONAL(PLUGIN_DEMO, test "$enable_demo" = "yes")
AM_CONDITIONAL(PLUGIN_FIFO, test "$enable_fifo" = "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")
AM_CONDITIONAL(PLUGIN_RMODIFIER, test "$enable_rmodifier" = "yes")
AM_CONDITIONAL(PLUGIN_SCRIPT, test "$enable_script" = "yes")
AM_CONDITIONAL(PLUGIN_PERL, test "$enable_perl" = "yes")
AM_CONDITIONAL(PLUGIN_PYTHON, test "$enable_python" = "yes")
AM_CONDITIONAL(PLUGIN_RUBY, test "$enable_ruby" = "yes")
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_XFER, test "$enable_xfer" = "yes")
AM_CONDITIONAL(DOC, test "$enable_doc" = "yes")
AM_CONDITIONAL(HAVE_GNUTLS, test "$enable_gnutls" = "yes")
AM_CONDITIONAL(HAVE_FLOCK, test "$enable_flock" = "yes")
AM_CONDITIONAL(GUI_NCURSES, test "$enable_ncurses" = "yes")
AM_CONDITIONAL(GUI_WXWIDGETS, test "$enable_wxwidgets" = "yes")
AM_CONDITIONAL(GUI_GTK, test "$enable_gtk" = "yes")
AM_CONDITIONAL(GUI_QT, test "$enable_qt" = "yes")
AM_CONDITIONAL(PLUGIN_ALIAS, test "$enable_alias" = "yes")
AM_CONDITIONAL(PLUGIN_ASPELL, test "$enable_aspell" = "yes")
AM_CONDITIONAL(PLUGIN_CHARSET, test "$enable_charset" = "yes")
AM_CONDITIONAL(PLUGIN_DEMO, test "$enable_demo" = "yes")
AM_CONDITIONAL(PLUGIN_FIFO, test "$enable_fifo" = "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")
AM_CONDITIONAL(PLUGIN_PERL, test "$enable_perl" = "yes")
AM_CONDITIONAL(PLUGIN_PYTHON, test "$enable_python" = "yes")
AM_CONDITIONAL(PLUGIN_RUBY, test "$enable_ruby" = "yes")
AM_CONDITIONAL(PLUGIN_LUA, test "$enable_lua" = "yes")
AM_CONDITIONAL(PLUGIN_TCL, test "$enable_tcl" = "yes")
AM_CONDITIONAL(PLUGIN_XFER, test "$enable_xfer" = "yes")
AM_CONDITIONAL(DOC, test "$enable_doc" = "yes")
AC_OUTPUT([Makefile
doc/Makefile
doc/en/Makefile
doc/fr/Makefile
doc/it/Makefile
doc/de/Makefile
doc/pl/Makefile
doc/es/Makefile
doc/de/Makefile
doc/ru/Makefile
doc/ja/Makefile
doc/it/Makefile
src/Makefile
src/core/Makefile
src/plugins/Makefile
@@ -1093,17 +974,18 @@ AC_OUTPUT([Makefile
src/plugins/irc/Makefile
src/plugins/logger/Makefile
src/plugins/relay/Makefile
src/plugins/rmodifier/Makefile
src/plugins/script/Makefile
src/plugins/perl/Makefile
src/plugins/python/Makefile
src/plugins/ruby/Makefile
src/plugins/lua/Makefile
src/plugins/tcl/Makefile
src/plugins/guile/Makefile
src/plugins/scripts/Makefile
src/plugins/scripts/perl/Makefile
src/plugins/scripts/python/Makefile
src/plugins/scripts/ruby/Makefile
src/plugins/scripts/lua/Makefile
src/plugins/scripts/tcl/Makefile
src/plugins/xfer/Makefile
src/gui/Makefile
src/gui/curses/Makefile
src/gui/wxwidgets/Makefile
src/gui/gtk/Makefile
src/gui/qt/Makefile
intl/Makefile
po/Makefile.in])
@@ -1115,11 +997,20 @@ listgui=""
if test "x$enable_ncurses" = "xyes" ; then
listgui="$listgui ncurses"
fi
if test "x$enable_wxwidgets" = "xyes"; then
listgui="$listgui wxwidgets"
fi
if test "x$enable_gtk" = "xyes" ; then
listgui="$listgui gtk"
fi
if test "x$enable_qt" = "xyes" ; then
listgui="$listgui qt"
fi
if test "x$listgui" = "x" ; then
AC_MSG_ERROR([
*** No interface specified...
*** Please enable at least ncurses.])
*** Please enable at least ncurses, WxWidgets, Gtk or Qt.])
fi
listplugins=""
@@ -1147,12 +1038,6 @@ fi
if test "x$enable_relay" = "xyes"; then
listplugins="$listplugins relay"
fi
if test "x$enable_rmodifier" = "xyes"; then
listplugins="$listplugins rmodifier"
fi
if test "x$enable_script" = "xyes"; then
listplugins="$listplugins script"
fi
if test "x$enable_perl" = "xyes"; then
listplugins="$listplugins perl($PERL_VERSION)"
fi
@@ -1168,9 +1053,6 @@ fi
if test "x$enable_tcl" = "xyes"; then
listplugins="$listplugins tcl($TCL_VERSION)"
fi
if test "x$enable_guile" = "xyes"; then
listplugins="$listplugins guile($GUILE_VERSION)"
fi
if test "x$enable_xfer" = "xyes"; then
listplugins="$listplugins xfer"
fi
@@ -1220,9 +1102,7 @@ if test "x$not_asked" != "x" || test "x$not_found" != "x"; then
fi
echo ""
echo "WeeChat home directory is ${WEECHAT_HOME}"
echo ""
eval echo "WeeChat will be installed in $bindir"
eval echo "WeeChat will be installed in $bindir."
echo ""
echo "configure complete, now type 'make' to build WeeChat $VERSION"
echo ""
Vendored
+1 -11
View File
@@ -1,19 +1,9 @@
weechat (0.3.1-1) unstable; urgency=low
This release introduces important changes with the usage of SSL. There
are stronger checks while connecting with SSL. By default, if a connection
is not fully trusted it will fail.
You can find more information on how to handle this new behaviour here:
http://dev.weechat.org/post/2009/12/01/SSL-certificates
-- Emmanuel Bouthenot <kolter@debian.org> Mon, 25 Jan 2010 12:35:11 +0100
weechat (0.3.0-1) unstable; urgency=low
This release introduces major changes. Large part of code was
rewritten without keeping compatibility with older versions.
Please refer to the file /usr/share/doc/weechat-core/UPGRADE_0.3
for more information on upgrade from a version 0.2.x to 0.3.x.
for more informations on upgrade from a version 0.2.x to 0.3.x.
-- Emmanuel Bouthenot <kolter@openics.org> Tue, 15 Sep 2009 20:59:42 +0000
+19 -199
View File
@@ -1,183 +1,3 @@
weechat (0.4.0-1) unstable; urgency=low
* New upstream release.
* Bump Standards-Version to 3.9.4
* Remove UPGRADE_0.3 from doc (no more included in upstream sources).
-- Emmanuel Bouthenot <kolter@debian.org> Wed, 23 Jan 2013 18:44:36 +0000
weechat (0.3.9.2-1) unstable; urgency=low
* New upstream release
- do not call shell to execute command in hook_process (fix security
problem when a plugin/script gives untrusted command)
-- Emmanuel Bouthenot <kolter@debian.org> Sun, 18 Nov 2012 13:35:21 +0000
weechat (0.3.9.1-1) unstable; urgency=low
* New upstream release
- fix crash when decoding IRC colors in strings
-- Emmanuel Bouthenot <kolter@debian.org> Fri, 09 Nov 2012 23:11:09 +0000
weechat (0.3.9-1) unstable; urgency=low
* New upstream release
* Add the new 'script' plugin and update the long descriptions accordingly
* Add new doc-base files:
- Testers guide in Japanese
- Users guide in Japanese
- Scripting guide in Japanese
* Fix wrong Vcs-Browser URL (Closes: #689203)
* Update lintian override on weechat-curses
-- Emmanuel Bouthenot <kolter@debian.org> Sun, 30 Sep 2012 21:14:22 +0000
weechat (0.3.8-1) unstable; urgency=low
* New upstream release
-- Emmanuel Bouthenot <kolter@debian.org> Sun, 03 Jun 2012 07:54:52 +0000
weechat (0.3.7-1) unstable; urgency=low
* New upstream release
* Bump Standards-Version to 3.9.3
* Update debian/copyright: new year
* Add new doc-base files:
- Developer's Guide in English
- Relay Protocol in English
- Quickstart in Spanish
* Update Vcs-Git and Vcs-Browser fields
-- Emmanuel Bouthenot <kolter@debian.org> Sun, 26 Feb 2012 10:32:35 +0000
weechat (0.3.6-2) unstable; urgency=low
* Update debian/rules to use build flags from dpkg-buildflags when it's
possible (ie: with dpkg >= 1.16.1).
-- Emmanuel Bouthenot <kolter@debian.org> Sat, 29 Oct 2011 07:31:14 +0000
weechat (0.3.6-1) unstable; urgency=low
* New upstream release
- Fix a FTBFS due to wrong detection of ncursesw headers
(Closes: #646299)
* Add new doc-base files (Polish translations).
* Install html documentation in /usr/share/doc/weechat/html instead
of /usr/share/doc/weechat
* Add a symlink from /usr/share/doc/weechat/html to
/usr/share/doc/weechat-doc/html so that it will be easier to find
documentation when weechat-doc is installed (Closes: #632621)
* Add a Suggest on weechat-doc for weechat and weechat-curses. Thanks to
Jonathan Nieder for the proposal.
* Fix the cmake invokation from debian/rules (cflags and ldflags)
-- Emmanuel Bouthenot <kolter@debian.org> Wed, 26 Oct 2011 20:10:09 +0000
weechat (0.3.5-1) unstable; urgency=low
* New upstream release
- Fix usage of deprecated _set_priority GnuTLS functions (Closes: #624055)
* Remove patch added to fix crash when completing /part command
* Bump Standards-Version to 3.9.2
* Update debian/copyright, switch to DEP5 format
-- Emmanuel Bouthenot <kolter@debian.org> Mon, 16 May 2011 11:40:09 +0000
weechat (0.3.4-2) unstable; urgency=low
* Add a patch which fix a crash when completing /part command on a
non-irc buffer.
-- Emmanuel Bouthenot <kolter@debian.org> Sun, 13 Feb 2011 21:13:35 +0000
weechat (0.3.4-1) unstable; urgency=low
* New upstream release (add relay and rmodifier plugins).
* Update Build depends (tcl-dev, ruby-dev, asciidoc).
* Remove the patch to make weechat aware of python 2.7 (merged upstream).
* Remove the backported patch which fix the bug with hostmasks in IRC
command /ignore.
* Update lintian override on weechat-curses.
* Update long descriptions regarding the new features.
* Add source/local-options file.
-- Emmanuel Bouthenot <kolter@debian.org> Sun, 16 Jan 2011 11:54:55 +0000
weechat (0.3.3-3) unstable; urgency=low
* Upload to unstable.
* Downgrade tcl-dev dependency to 8.4 until tcl 8.5 hit unstable.
* Add a patch to make cmake aware of python 2.7 (Closes: #606989).
Thanks to Matthias Klose.
-- Emmanuel Bouthenot <kolter@debian.org> Mon, 27 Dec 2010 23:29:46 +0000
weechat (0.3.3-2) experimental; urgency=low
* Switch to dpkg-source 3.0 (quilt) format
* Add a patch to fix bug with hostmasks in IRC command /ignore
-- Emmanuel Bouthenot <kolter@debian.org> Fri, 20 Aug 2010 20:39:06 +0000
weechat (0.3.3-1) experimental; urgency=low
* New upstream release
* Add new doc-base files (German translations).
* Update Standards-Version to 3.9.1
-- Emmanuel Bouthenot <kolter@debian.org> Tue, 10 Aug 2010 11:23:14 +0000
weechat (0.3.2-2) experimental; urgency=low
* Fix Vcs-Browser url (Closes: #580859).
* Rebuild against tcl-dev (>= 8.5) (Closes: #582588).
-- Emmanuel Bouthenot <kolter@debian.org> Sun, 23 May 2010 08:32:37 +0000
weechat (0.3.2-1) unstable; urgency=low
* New upstream release
- Add SASL authentication support (Closes: #574053)
- Add Build-Depend on libgcrypt11-dev (needed by SASL auth.)
* Fix build dependency against asciidoc (>=8.4 is needed). Thanks
to Michal Suchanek who spotted this bug (Closes: #574050).
* Update Standards-Version to 3.8.4
* Add debian/source/format to make lintian happy.
* Update lintian-override for weechat-curses manpage.
* Add new doc-base files (italian translations).
-- Emmanuel Bouthenot <kolter@debian.org> Sat, 20 Mar 2010 18:09:38 +0100
weechat (0.3.1.1-1) unstable; urgency=low
* New upstream release
-- Emmanuel Bouthenot <kolter@debian.org> Sun, 31 Jan 2010 19:18:42 +0000
weechat (0.3.1-1) unstable; urgency=low
* New upstream release:
- Add ssl client certificate support (Closes: #453348)
- Fix a color bug in status line (Closes: #512957)
* Remove patch 'fix_ftbfs_kfreebsd' (fixed upstream)
* Maintainer became Debian Developer: adjust email, VCS and DM fields.
* Update doc-base files:
- Remove not needed asciidoc templates
- Add new translations
* Update debian/NEWS about new SSL behaviour.
-- Emmanuel Bouthenot <kolter@debian.org> Sat, 16 Jan 2010 12:16:26 +0100
weechat (0.3.0-2) unstable; urgency=low
* Add a patch to fix a FTBFS on GNU/kFreeBSD.
-- Emmanuel Bouthenot <kolter@openics.org> Sat, 03 Oct 2009 13:22:10 +0000
weechat (0.3.0-1) unstable; urgency=low
* New (final) upstream release.
@@ -221,7 +41,7 @@ weechat (0.2.6.2-1) unstable; urgency=low
* New upstream release
* Add a patch which fix typos in aspell plugin.
* Refresh patch multiple_ip_servers according to the new upstream release.
-- Emmanuel Bouthenot <kolter@openics.org> Sun, 19 Apr 2009 10:23:26 +0000
weechat (0.2.6.1-1) unstable; urgency=low
@@ -231,9 +51,9 @@ weechat (0.2.6.1-1) unstable; urgency=low
(Closes: #519940).
* Refresh patch multiple_ip_servers according to the new upstream release.
* Update Standards-Version to 3.8.1.
-- Emmanuel Bouthenot <kolter@openics.org> Mon, 16 Mar 2009 13:18:29 +0000
weechat (0.2.6-3) unstable; urgency=low
* Add a patch to make weechat try to connect other server IPs
@@ -268,7 +88,7 @@ weechat (0.2.6-1) unstable; urgency=low
* New Upstream Version
* Switch to GPLv3 (update copyright)
* Update menu entry
-- Emmanuel Bouthenot <kolter@openics.org> Thu, 06 Sep 2007 20:10:26 +0200
weechat (0.2.5-1) unstable; urgency=low
@@ -365,11 +185,11 @@ weechat (0.1.8-1) unstable; urgency=low
-- Julien Louis <ptitlouis@sysif.net> Sat, 18 Mar 2006 11:32:52 +0100
weechat (0.1.7-2) unstable; urgency=low
* force linking against libpthread on GNU/Hurd (Closes: #350487)
-- Julien Louis <ptitlouis@sysif.net> Sun, 5 Feb 2006 18:23:24 +0100
weechat (0.1.7-1) unstable; urgency=low
* New upstream release
@@ -441,7 +261,7 @@ weechat (0.1.2-2) unstable; urgency=low
weechat (0.1.2-1) unstable; urgency=low
* WeeChat version 0.1.2, see ChangeLog for detail.
-- Sebastien Helleu <flashcode@flashtux.org> Sat, 21 May 2005 08:00:00 +0200
weechat (0.1.1-2) unstable; urgency=low
@@ -455,65 +275,65 @@ weechat (0.1.1-2) unstable; urgency=low
weechat (0.1.1-1) unstable; urgency=low
* WeeChat version 0.1.1, see ChangeLog for detail (closes: #306492)
-- Sebastien Helleu <flashcode@flashtux.org> Sat, 20 Mar 2005 08:00:00 +0200
weechat (0.1.0-1) unstable; urgency=low
* WeeChat version 0.1.0, see ChangeLog for detail.
-- Sebastien Helleu <flashcode@flashtux.org> Sat, 12 Feb 2005 12:00:00 +0200
weechat (0.0.9-1) unstable; urgency=low
* WeeChat version 0.0.9, see ChangeLog for detail.
-- FlashCode <flashcode@flashtux.org> Sat, 01 Jan 2005 13:00:00 +0200
weechat (0.0.8-1) unstable; urgency=low
* WeeChat version 0.0.8, see ChangeLog for detail.
-- FlashCode <flashcode@flashtux.org> Sat, 30 Oct 2004 11:40:00 +0200
weechat (0.0.7-1) unstable; urgency=low
* WeeChat version 0.0.7, see ChangeLog for detail.
-- FlashCode <flashcode@flashtux.org> Sat, 08 Aug 2004 21:00:00 +0200
weechat (0.0.6-1) unstable; urgency=low
* WeeChat version 0.0.6, see ChangeLog for detail.
-- FlashCode <flashcode@flashtux.org> Sat, 05 Jun 2004 11:30:00 +0200
weechat (0.0.5-1) unstable; urgency=low
* WeeChat version 0.0.5, see ChangeLog for detail.
-- FlashCode <flashcode@flashtux.org> Sat, 07 Feb 2004 20:30:00 +0200
weechat (0.0.4-1) unstable; urgency=low
* WeeChat version 0.0.4, see ChangeLog for detail.
-- FlashCode <flashcode@flashtux.org> Thu, 01 Jan 2004 13:00:00 +0200
weechat (0.0.3-1) unstable; urgency=low
* WeeChat version 0.0.3, see ChangeLog for detail.
-- FlashCode <flashcode@flashtux.org> Mon, 03 Nov 2003 23:15:00 +0200
weechat (0.0.2-1) unstable; urgency=low
* WeeChat version 0.0.2, see ChangeLog for detail.
-- FlashCode <flashcode@flashtux.org> Sun, 05 Oct 2003 12:00:00 +0200
weechat (0.0.1-1) unstable; urgency=low
* First version.
-- FlashCode <flashcode@flashtux.org> Sat, 27 Sep 2003 12:00:00 +0200
+12 -29
View File
@@ -1,37 +1,30 @@
Source: weechat
Section: net
Priority: optional
Maintainer: Emmanuel Bouthenot <kolter@debian.org>
Build-Depends-Indep: asciidoc (>= 8.5), source-highlight
Maintainer: Emmanuel Bouthenot <kolter@openics.org>
Build-Depends-Indep: asciidoc (>= 8.2), source-highlight
Build-Depends: debhelper (>= 7.0.50), cmake, libncursesw5-dev,
ruby1.9.1, ruby1.9.1-dev, libperl-dev, python-dev, libaspell-dev, liblua5.1-0-dev,
tcl8.5-dev, guile-2.0-dev, libcurl4-gnutls-dev, libgcrypt11-dev, libgnutls-dev,
zlib1g-dev, dpkg-dev (>= 1.13.19), pkg-config
Standards-Version: 3.9.4
ruby, ruby1.8-dev, libperl-dev, python-dev, libaspell-dev, liblua5.1-0-dev,
tcl-dev, libgnutls-dev, dpkg-dev (>= 1.13.19), pkg-config
Standards-Version: 3.8.3
Homepage: http://weechat.org/
Vcs-Git: git://anonscm.debian.org/users/kolter/weechat.git
Vcs-Browser: http://anonscm.debian.org/gitweb/?p=users/kolter/weechat.git
Vcs-Git: git://git.debian.org/users/kolter-guest/weechat.git
Vcs-Browser: http://git.debian.org/git/users/kolter-guest/weechat.git
DM-Upload-Allowed: yes
Package: weechat
Architecture: all
Depends: ${misc:Depends}, weechat-curses (>= ${source:Version})
Suggests: weechat-doc (= ${source:Version})
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:
- nicklist
- smart hotlist
- infobar with highlight notification
- 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 and Scheme scripting
- scripts manager
- spell checking
- highly customizable and extensible
- and much more!
Package: weechat-curses
@@ -40,23 +33,16 @@ 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
for many operating systems. Everything can be done with a keyboard.
It is customizable and extensible with plugins/scripts, and includes:
- nicklist
- smart hotlist
- infobar with highlight notification
- 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 and Scheme scripting
- scripts manager
- spell checking
- highly customizable and extensible
- and much more!
.
This package provides the console client (ncurses).
@@ -84,12 +70,9 @@ Description: Fast, light and extensible chat client - plugins
.
This package provides some plugins to enhance WeeChat. It currently
ships the following plugins:
- Perl, Python, Ruby, Lua, Tcl and Scheme scripting
- scripts manager
- Perl, Python, Ruby, Lua, and Tcl scripting
- Spell checking (thanks to aspell)
- FIFO pipe for remote control
- IRC proxy
- Realtime input/output changes through regular expressions
- And many others (Fifo, ...)
Package: weechat-doc
Section: doc
+19 -29
View File
@@ -1,32 +1,22 @@
Format: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=174
Upstream-Name: weechat
Upstream-Contact: Sebastien Helleu <flashcode@flashtux.org>
Source: http://weechat.org/
This package was debianized by FlashCode <flashcode@flashtux.org> on
Sat, 21 May 2005 08:00:00 +0200.
Files: *
Copyright: 2003-2013, Sebastien Helleu <flashcode@flashtux.org>
2005-2009, Emmanuel Bouthenot <kolter@openics.org>
2008-2009, Dmitry Kobylin <fnfal@academ.tsc.ru>
License: GPL-3+
It was downloaded from http://weechat.org/files/src/
Files: debian/*
Copyright: 2005-2008, Julien Louis <ptitlouis@sysif.net>
2008-2012, Emmanuel Bouthenot <kolter@openics.org>
License: GPL-3+
Copyright:
Copyright (C) (2003-2010) FlashCode <flashcode@flashtux.org>
Copyright (C) (2005-2010) Emmanuel Bouthenot <kolter@openics.org>
Copyright (C) (2008-2010) Dmitry Kobylin <fnfal@academ.tsc.ru> (tcl plugin)
License: GPL-3+
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 <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
This program 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.
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
Debian packaging (licensed under the GPLv3):
Copyright(C) 2005-2008, Julien Louis <ptitlouis@sysif.net>
Copyright(C) 2008-2010, Emmanuel Bouthenot <kolter@openics.org>
+20 -19
View File
@@ -1,36 +1,37 @@
#!/usr/bin/make -f
# Default build flags
CFLAGS = -g -O2
LDFLAGS = -Wl,-Bsymbolic-functions
# dpkg >= 1.16.1 provides enhanced build flags (hardening features, etc.)
DPKG_EXPORT_BUILDFLAGS = 1
-include /usr/share/dpkg/buildflags.mk
BUILDDIR = builddir
$(BUILDDIR)/Makefile:
mkdir -p $(BUILDDIR)
cd $(BUILDDIR) && \
builddir/Makefile:
mkdir -p builddir
cd builddir && \
cmake .. \
-DCMAKE_INSTALL_PREFIX:FILEPATH=/usr \
-DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo \
-DCMAKE_C_FLAGS_RELWITHDEBINFO:STRING="$(CFLAGS) -D_FORTIFY_SOURCE=2" \
-DCMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING="$(LDFLAGS)" \
-DCMAKE_C_FLAGS:STRING="$(CFLAGS)" \
-DCMAKE_LD_FLAGS:STRING="-Wl,-z,defs" \
-DCMAKE_CXX_FLAGS:STRING="$(CXXFLAGS)" \
-DCMAKE_SKIP_RPATH:BOOL=ON \
-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON
override_dh_auto_build: $(BUILDDIR)/Makefile
dh_auto_build
build: build-stamp
build-stamp: builddir/Makefile
dh_testdir
$(MAKE) -C builddir
touch $@
override_dh_auto_configure:
# the package also has autotools buildsys and
# debhelper try to use it but that's not needed
echo
override_dh_install:
$(MAKE) -C builddir DESTDIR=$(CURDIR)/debian/tmp install
dh_install
override_dh_strip:
dh_strip --dbg-package=weechat-dbg
clean:
rm -rf builddir
dh $@
%:
dh $@ --parallel --builddirectory=$(BUILDDIR)
dh $@
+1
View File
@@ -1,3 +1,4 @@
AUTHORS
NEWS
README
UPGRADE_0.3
+1 -1
View File
@@ -1 +1 @@
weechat-curses: manpage-has-errors-from-man usr/share/man/man1/weechat-curses.1.gz 65: warning [p 1, 9.7i]: cannot adjust line
weechat-curses: manpage-has-errors-from-man usr/share/man/man1/weechat-curses.1.gz 54: warning [p 1, 8.2i]: cannot adjust line
-10
View File
@@ -1,10 +0,0 @@
Document: weechat-dev-en
Title: WeeChat Developer's Guide (English)
Author: Sebastien Helleu
Abstract: This manual describes WeeChat internals and
how to contribute to WeeChat (English version).
Section: Network/Communication
Format: HTML
Index: /usr/share/doc/weechat-doc/html/weechat_dev.en.html
Files: /usr/share/doc/weechat-doc/html/weechat_dev.en.html
-10
View File
@@ -1,10 +0,0 @@
Document: weechat-faq-de
Title: WeeChat FAQ (German)
Author: Sebastien Helleu
Abstract: This document answers frequently asked questions
about the WeeChat IRC client (German version).
Section: Network/Communication
Format: HTML
Index: /usr/share/doc/weechat-doc/html/weechat_faq.de.html
Files: /usr/share/doc/weechat-doc/html/weechat_faq.de.html
+5 -2
View File
@@ -5,6 +5,9 @@ Abstract: This document answers frequently asked questions
about the WeeChat IRC client (English version).
Section: Network/Communication
Format: text
Files: /usr/share/doc/weechat-doc/weechat_faq.en.txt.gz
Format: HTML
Index: /usr/share/doc/weechat-doc/html/weechat_faq.en.html
Files: /usr/share/doc/weechat-doc/html/weechat_faq.en.html
Index: /usr/share/doc/weechat-doc/weechat_faq.en.html
Files: /usr/share/doc/weechat-doc/weechat_faq.en.html
+5 -2
View File
@@ -5,6 +5,9 @@ Abstract: This document answers frequently asked questions
about the WeeChat IRC client (French version).
Section: Network/Communication
Format: text
Files: /usr/share/doc/weechat-doc/weechat_faq.fr.txt.gz
Format: HTML
Index: /usr/share/doc/weechat-doc/html/weechat_faq.fr.html
Files: /usr/share/doc/weechat-doc/html/weechat_faq.fr.html
Index: /usr/share/doc/weechat-doc/weechat_faq.fr.html
Files: /usr/share/doc/weechat-doc/weechat_faq.fr.html
-10
View File
@@ -1,10 +0,0 @@
Document: weechat-faq-it
Title: WeeChat FAQ (Italian)
Author: Sebastien Helleu
Abstract: This document answers frequently asked questions
about the WeeChat IRC client (Italian version).
Section: Network/Communication
Format: HTML
Index: /usr/share/doc/weechat-doc/html/weechat_faq.it.html
Files: /usr/share/doc/weechat-doc/html/weechat_faq.it.html
-10
View File
@@ -1,10 +0,0 @@
Document: weechat-faq-ja
Title: WeeChat FAQ (Japanese)
Author: Sebastien Helleu
Abstract: This document answers frequently asked questions
about the WeeChat IRC client (Japanese version).
Section: Network/Communication
Format: HTML
Index: /usr/share/doc/weechat-doc/html/weechat_faq.ja.html
Files: /usr/share/doc/weechat-doc/html/weechat_faq.ja.html
+2 -2
View File
@@ -6,5 +6,5 @@ Abstract: This document answers frequently asked questions
Section: Network/Communication
Format: HTML
Index: /usr/share/doc/weechat-doc/html/weechat_faq.pl.html
Files: /usr/share/doc/weechat-doc/html/weechat_faq.pl.html
Index: /usr/share/doc/weechat-doc/weechat_faq.pl.html
Files: /usr/share/doc/weechat-doc/weechat_faq.pl.html
+2 -2
View File
@@ -6,5 +6,5 @@ Abstract: This document describes the API to create plugins
Section: Network/Communication
Format: HTML
Index: /usr/share/doc/weechat-doc/html/weechat_plugin_api.en.html
Files: /usr/share/doc/weechat-doc/html/weechat_plugin_api.en.html
Index: /usr/share/doc/weechat-doc/weechat_plugin_api.en.html
Files: /usr/share/doc/weechat-doc/weechat_plugin_api.en.html
+2 -2
View File
@@ -6,5 +6,5 @@ Abstract: This document describes the API to create plugins
Section: Network/Communication
Format: HTML
Index: /usr/share/doc/weechat-doc/html/weechat_plugin_api.fr.html
Files: /usr/share/doc/weechat-doc/html/weechat_plugin_api.fr.html
Index: /usr/share/doc/weechat-doc/weechat_plugin_api.fr.html
Files: /usr/share/doc/weechat-doc/weechat_plugin_api.fr.html
-10
View File
@@ -1,10 +0,0 @@
Document: weechat-plugin-it
Title: WeeChat plugins API (Italian)
Author: Sebastien Helleu
Abstract: This document describes the API to create plugins
for WeeChat (Italian version).
Section: Network/Communication
Format: HTML
Index: /usr/share/doc/weechat-doc/html/weechat_plugin_api.it.html
Files: /usr/share/doc/weechat-doc/html/weechat_plugin_api.it.html
+2 -2
View File
@@ -5,5 +5,5 @@ Abstract: A short HowTo for new WeeChat users (German version).
Section: Network/Communication
Format: HTML
Index: /usr/share/doc/weechat-doc/html/weechat_quickstart.de.html
Files: /usr/share/doc/weechat-doc/html/weechat_quickstart.de.html
Index: /usr/share/doc/weechat-doc/weechat_quickstart.de.html
Files: /usr/share/doc/weechat-doc/weechat_quickstart.de.html
+5 -2
View File
@@ -4,6 +4,9 @@ Author: Sebastien Helleu
Abstract: A short HowTo for new WeeChat users (English version).
Section: Network/Communication
Format: text
Files: /usr/share/doc/weechat-doc/weechat_quickstart.en.txt.gz
Format: HTML
Index: /usr/share/doc/weechat-doc/html/weechat_quickstart.en.html
Files: /usr/share/doc/weechat-doc/html/weechat_quickstart.en.html
Index: /usr/share/doc/weechat-doc/weechat_quickstart.en.html
Files: /usr/share/doc/weechat-doc/weechat_quickstart.en.html
-9
View File
@@ -1,9 +0,0 @@
Document: weechat-quickstart-es
Title: WeeChat Quickstart (Spanish)
Author: Sebastien Helleu
Abstract: A short HowTo for new WeeChat users (Spanish version).
Section: Network/Communication
Format: HTML
Index: /usr/share/doc/weechat-doc/html/weechat_quickstart.es.html
Files: /usr/share/doc/weechat-doc/html/weechat_quickstart.es.html
+5 -2
View File
@@ -4,6 +4,9 @@ Author: Sebastien Helleu
Abstract: A short HowTo for new WeeChat users (French version).
Section: Network/Communication
Format: text
Files: /usr/share/doc/weechat-doc/weechat_quickstart.fr.txt.gz
Format: HTML
Index: /usr/share/doc/weechat-doc/html/weechat_quickstart.fr.html
Files: /usr/share/doc/weechat-doc/html/weechat_quickstart.fr.html
Index: /usr/share/doc/weechat-doc/weechat_quickstart.fr.html
Files: /usr/share/doc/weechat-doc/weechat_quickstart.fr.html
-9
View File
@@ -1,9 +0,0 @@
Document: weechat-quickstart-it
Title: WeeChat Quickstart (Italian)
Author: Sebastien Helleu
Abstract: A short HowTo for new WeeChat users (Italian version).
Section: Network/Communication
Format: HTML
Index: /usr/share/doc/weechat-doc/html/weechat_quickstart.it.html
Files: /usr/share/doc/weechat-doc/html/weechat_quickstart.it.html
-9
View File
@@ -1,9 +0,0 @@
Document: weechat-quickstart-ja
Title: WeeChat Quickstart (Japanese)
Author: Sebastien Helleu
Abstract: A short HowTo for new WeeChat users (Japanese version).
Section: Network/Communication
Format: HTML
Index: /usr/share/doc/weechat-doc/html/weechat_quickstart.ja.html
Files: /usr/share/doc/weechat-doc/html/weechat_quickstart.ja.html
+2 -2
View File
@@ -5,5 +5,5 @@ Abstract: A short HowTo for new WeeChat users (Polish version).
Section: Network/Communication
Format: HTML
Index: /usr/share/doc/weechat-doc/html/weechat_quickstart.pl.html
Files: /usr/share/doc/weechat-doc/html/weechat_quickstart.pl.html
Index: /usr/share/doc/weechat-doc/weechat_quickstart.pl.html
Files: /usr/share/doc/weechat-doc/weechat_quickstart.pl.html
+2 -2
View File
@@ -5,5 +5,5 @@ Abstract: A short HowTo for new WeeChat users (Russian version).
Section: Network/Communication
Format: HTML
Index: /usr/share/doc/weechat-doc/html/weechat_quickstart.ru.html
Files: /usr/share/doc/weechat-doc/html/weechat_quickstart.ru.html
Index: /usr/share/doc/weechat-doc/weechat_quickstart.ru.html
Files: /usr/share/doc/weechat-doc/weechat_quickstart.ru.html
-10
View File
@@ -1,10 +0,0 @@
Document: weechat-relay-protocol-en
Title: WeeChat Relay Protocol (English)
Author: Sebastien Helleu
Abstract: This manual describes WeeChat Relay Protocol, used by
remote GUI to communicate with Relay plugin (English version).
Section: Network/Communication
Format: HTML
Index: /usr/share/doc/weechat-doc/html/weechat_relay_protocol.en.html
Files: /usr/share/doc/weechat-doc/html/weechat_relay_protocol.en.html
-10
View File
@@ -1,10 +0,0 @@
Document: weechat-scripting-de
Title: WeeChat Scripting Guide (German)
Author: Sebastien Helleu
Abstract: This document describes the API to create scripts
for WeeChat (German version).
Section: Network/Communication
Format: HTML
Index: /usr/share/doc/weechat-doc/html/weechat_scripting.de.html
Files: /usr/share/doc/weechat-doc/html/weechat_scripting.de.html
+2 -2
View File
@@ -6,5 +6,5 @@ Abstract: This document describes the API to create scripts
Section: Network/Communication
Format: HTML
Index: /usr/share/doc/weechat-doc/html/weechat_scripting.en.html
Files: /usr/share/doc/weechat-doc/html/weechat_scripting.en.html
Index: /usr/share/doc/weechat-doc/weechat_scripting.en.html
Files: /usr/share/doc/weechat-doc/weechat_scripting.en.html
+2 -2
View File
@@ -6,5 +6,5 @@ Abstract: This document describes the API to create scripts
Section: Network/Communication
Format: HTML
Index: /usr/share/doc/weechat-doc/html/weechat_scripting.fr.html
Files: /usr/share/doc/weechat-doc/html/weechat_scripting.fr.html
Index: /usr/share/doc/weechat-doc/weechat_scripting.fr.html
Files: /usr/share/doc/weechat-doc/weechat_scripting.fr.html
-10
View File
@@ -1,10 +0,0 @@
Document: weechat-scripting-it
Title: WeeChat Scripting Guide (Italian)
Author: Sebastien Helleu
Abstract: This document describes the API to create scripts
for WeeChat (Italian version).
Section: Network/Communication
Format: HTML
Index: /usr/share/doc/weechat-doc/html/weechat_scripting.it.html
Files: /usr/share/doc/weechat-doc/html/weechat_scripting.it.html
-10
View File
@@ -1,10 +0,0 @@
Document: weechat-scripting-ja
Title: WeeChat Scripting Guide (Japanese)
Author: Sebastien Helleu
Abstract: This document describes the API to create scripts
for WeeChat (Japanese version).
Section: Network/Communication
Format: HTML
Index: /usr/share/doc/weechat-doc/html/weechat_scripting.ja.html
Files: /usr/share/doc/weechat-doc/html/weechat_scripting.ja.html
-10
View File
@@ -1,10 +0,0 @@
Document: weechat-scripting-pl
Title: WeeChat Scripting Guide (Polish)
Author: Sebastien Helleu
Abstract: This document describes the API to create scripts
for WeeChat (Polish version).
Section: Network/Communication
Format: HTML
Index: /usr/share/doc/weechat-doc/html/weechat_scripting.pl.html
Files: /usr/share/doc/weechat-doc/html/weechat_scripting.pl.html
-10
View File
@@ -1,10 +0,0 @@
Document: weechat-tester-de
Title: WeeChat Tester's Guide (German)
Author: Sebastien Helleu
Abstract: This document describes how to test and report
bugs against the WeeChat IRC Client (German version).
Section: Network/Communication
Format: HTML
Index: /usr/share/doc/weechat-doc/html/weechat_tester.de.html
Files: /usr/share/doc/weechat-doc/html/weechat_tester.de.html
+5 -2
View File
@@ -5,6 +5,9 @@ Abstract: This document describes how to test and report
bugs against the WeeChat IRC Client (English version).
Section: Network/Communication
Format: text
Files: /usr/share/doc/weechat-doc/weechat_tester.en.txt.gz
Format: HTML
Index: /usr/share/doc/weechat-doc/html/weechat_tester.en.html
Files: /usr/share/doc/weechat-doc/html/weechat_tester.en.html
Index: /usr/share/doc/weechat-doc/weechat_tester.en.html
Files: /usr/share/doc/weechat-doc/weechat_tester.en.html
+5 -2
View File
@@ -5,6 +5,9 @@ Abstract: This document describes how to test and report
bugs against the WeeChat IRC Client (French version).
Section: Network/Communication
Format: text
Files: /usr/share/doc/weechat-doc/weechat_tester.fr.txt.gz
Format: HTML
Index: /usr/share/doc/weechat-doc/html/weechat_tester.fr.html
Files: /usr/share/doc/weechat-doc/html/weechat_tester.fr.html
Index: /usr/share/doc/weechat-doc/weechat_tester.fr.html
Files: /usr/share/doc/weechat-doc/weechat_tester.fr.html
-10
View File
@@ -1,10 +0,0 @@
Document: weechat-tester-it
Title: WeeChat Tester's Guide (Italian)
Author: Sebastien Helleu
Abstract: This document describes how to test and report
bugs against the WeeChat IRC Client (Italian version).
Section: Network/Communication
Format: HTML
Index: /usr/share/doc/weechat-doc/html/weechat_tester.it.html
Files: /usr/share/doc/weechat-doc/html/weechat_tester.it.html
-10
View File
@@ -1,10 +0,0 @@
Document: weechat-tester-ja
Title: WeeChat Tester's Guide (Japanese)
Author: Sebastien Helleu
Abstract: This document describes how to test and report
bugs against the WeeChat IRC Client (Japanese version).
Section: Network/Communication
Format: HTML
Index: /usr/share/doc/weechat-doc/html/weechat_tester.ja.html
Files: /usr/share/doc/weechat-doc/html/weechat_tester.ja.html
+2 -2
View File
@@ -6,5 +6,5 @@ Abstract: This document describes how to test and report
Section: Network/Communication
Format: HTML
Index: /usr/share/doc/weechat-doc/html/weechat_tester.pl.html
Files: /usr/share/doc/weechat-doc/html/weechat_tester.pl.html
Index: /usr/share/doc/weechat-doc/weechat_tester.pl.html
Files: /usr/share/doc/weechat-doc/weechat_tester.pl.html
-10
View File
@@ -1,10 +0,0 @@
Document: weechat-user-de
Title: WeeChat User's Guide (German)
Author: Sebastien Helleu
Abstract: This manual describes how to use the WeeChat
IRC client (German version).
Section: Network/Communication
Format: HTML
Index: /usr/share/doc/weechat-doc/html/weechat_user.de.html
Files: /usr/share/doc/weechat-doc/html/weechat_user.de.html
+2 -2
View File
@@ -6,5 +6,5 @@ Abstract: This manual describes how to use the WeeChat
Section: Network/Communication
Format: HTML
Index: /usr/share/doc/weechat-doc/html/weechat_user.en.html
Files: /usr/share/doc/weechat-doc/html/weechat_user.en.html
Index: /usr/share/doc/weechat-doc/weechat_user.en.html
Files: /usr/share/doc/weechat-doc/weechat_user.en.html
+2 -2
View File
@@ -6,5 +6,5 @@ Abstract: This manual describes how to use the WeeChat
Section: Network/Communication
Format: HTML
Index: /usr/share/doc/weechat-doc/html/weechat_user.fr.html
Files: /usr/share/doc/weechat-doc/html/weechat_user.fr.html
Index: /usr/share/doc/weechat-doc/weechat_user.fr.html
Files: /usr/share/doc/weechat-doc/weechat_user.fr.html
-10
View File
@@ -1,10 +0,0 @@
Document: weechat-user-it
Title: WeeChat User's Guide (Italian)
Author: Sebastien Helleu
Abstract: This manual describes how to use the WeeChat
IRC client (Italian version).
Section: Network/Communication
Format: HTML
Index: /usr/share/doc/weechat-doc/html/weechat_user.it.html
Files: /usr/share/doc/weechat-doc/html/weechat_user.it.html
-10
View File
@@ -1,10 +0,0 @@
Document: weechat-user-ja
Title: WeeChat User's Guide (Japanese)
Author: Sebastien Helleu
Abstract: This manual describes how to use the WeeChat
IRC client (Japanese version).
Section: Network/Communication
Format: HTML
Index: /usr/share/doc/weechat-doc/html/weechat_user.ja.html
Files: /usr/share/doc/weechat-doc/html/weechat_user.ja.html
+6
View File
@@ -0,0 +1,6 @@
doc/en/weechat_faq.en.txt
doc/en/weechat_quickstart.en.txt
doc/en/weechat_tester.en.txt
doc/fr/weechat_faq.fr.txt
doc/fr/weechat_quickstart.fr.txt
doc/fr/weechat_tester.fr.txt
+1 -1
View File
@@ -1 +1 @@
usr/share/doc/weechat/*.html usr/share/doc/weechat-doc/html
usr/share/doc/weechat/* usr/share/doc/weechat-doc
-1
View File
@@ -1 +0,0 @@
usr/share/doc/weechat-doc/html usr/share/doc/weechat/html
-4
View File
@@ -1,11 +1,7 @@
usr/lib/weechat/plugins/aspell.so
usr/lib/weechat/plugins/fifo.so
usr/lib/weechat/plugins/guile.so
usr/lib/weechat/plugins/perl.so
usr/lib/weechat/plugins/python.so
usr/lib/weechat/plugins/ruby.so
usr/lib/weechat/plugins/lua.so
usr/lib/weechat/plugins/tcl.so
usr/lib/weechat/plugins/script.so
usr/lib/weechat/plugins/relay.so
usr/lib/weechat/plugins/rmodifier.so
+9 -14
View File
@@ -1,38 +1,33 @@
# Copyright (c) 2003-2010 by FlashCode <flashcode@flashtux.org>
#
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2009 Emmanuel Bouthenot <kolter@openics.org>
#
# This file is part of WeeChat, the extensible chat client.
#
# WeeChat is free software; you can redistribute it and/or modify
# This program 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,
# This program 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 <http://www.gnu.org/licenses/>.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
IF(ENABLE_DOC)
IF(NOT DISABLE_DOC)
FIND_PACKAGE(Sourcehighlight)
FIND_PACKAGE(Asciidoc)
IF(ASCIIDOC_FOUND AND SOURCEHIGHLIGHT_FOUND)
ADD_SUBDIRECTORY( en )
ADD_SUBDIRECTORY( fr )
ADD_SUBDIRECTORY( it )
ADD_SUBDIRECTORY( de )
ADD_SUBDIRECTORY( pl )
ADD_SUBDIRECTORY( es )
ADD_SUBDIRECTORY( de )
ADD_SUBDIRECTORY( ru )
ADD_SUBDIRECTORY( ja )
ADD_SUBDIRECTORY( it )
ENDIF(ASCIIDOC_FOUND AND SOURCEHIGHLIGHT_FOUND)
ENDIF(ENABLE_DOC)
ENDIF(NOT DISABLE_DOC)
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/weechat-curses.1 DESTINATION ${MANDIR}/man1)
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/weechat-curses.1 DESTINATION ${SHAREDIR}/man/man1)
+6 -13
View File
@@ -1,28 +1,21 @@
# Copyright (c) 2003-2010 by FlashCode <flashcode@flashtux.org>
#
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2006 Julien Louis <ptitlouis@sysif.net>
#
# This file is part of WeeChat, the extensible chat client.
#
# WeeChat is free software; you can redistribute it and/or modify
# This program 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,
# This program 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 <http://www.gnu.org/licenses/>.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
SUBDIRS = . en fr it de pl es ru ja
SUBDIRS = . en fr pl de ru ja it
man_MANS = weechat-curses.1
EXTRA_DIST = $(man_MANS) docgen.py CMakeLists.txt asciidoc.conf asciidoc.css
uninstall-hook:
-rmdir $(DESTDIR)$(datadir)/doc/$(PACKAGE)
EXTRA_DIST = $(man_MANS) CMakeLists.txt
-12
View File
@@ -1,12 +0,0 @@
[replacements]
@k\(C-\)=<span class="key ctrl">Ctrl</span><span class="keyplus">+</span>
@k\(-C-\)=<span class="key ctrl">Ctrl</span>
@k\(A-\)=<span class="key alt">Alt</span><span class="keyplus">+</span>
@k\(-A-\)=<span class="key alt">Alt</span>
@k\(S-\)=<span class="key shift">Shift</span><span class="keyplus">+</span>
@k\(-S-\)=<span class="key shift">Shift</span>
@k\(l\)=<span class="key">l</span><span class="keyplus"> (L)</span>
@k\(([A-Za-z0-9/_&\=])\)=<span class="key">\1</span>
@k\(([a-z0-9/_&\=][^)]*)\)=<span class="key">\1</span>
@k\(([^)]+)\)=<span class="key other">\1</span>
@h\(([A-Za-z0-9]+)\)=<span class="hexa">\1</span>
-88
View File
@@ -1,88 +0,0 @@
body {
margin: 1em 2em 1em 2em;
}
div.sectionbody {
font-family: serif,Helvetica,arial;
}
h1, h2, h3, h4, h5, h6 {
margin: 1em 0 0.6em 0;
}
h5 {
font-size: 0.95em;
}
pre, tt {
font-size: 14px;
}
span.command {
background: #EEEEFF;
border: solid 1px #BBBBDD;
padding: 0 8px 0 8px;
margin-right: 12px;
}
p.table {
margin-top: 0;
margin-bottom: 0;
}
div.listingblock > div.content {
border: solid 1px #DADADA;
border-radius: 4px;
background-color: #FAFAFA;
}
.key {
border-top: solid 1px #D5D5E5;
border-left: solid 1px #D5D5E5;
border-bottom: solid 1px #A5A5B5;
border-right: solid 1px #A5A5B5;
background-color: #EEEEFF;
padding: 0 0.3em 0 0.3em;
margin: 0 2px 0 2px;
}
.key.ctrl {
font-size: 0.75em;
font-variant: small-caps;
border-top: solid 1px #DFD0D0;
border-left: solid 1px #DFD0D0;
border-bottom: solid 1px #AFA0A0;
border-right: solid 1px #AFA0A0;
background-color: #FFF0F0;
}
.key.alt {
font-size: 0.75em;
font-variant: small-caps;
border-top: solid 1px #DFBBAB;
border-left: solid 1px #DFBBAB;
border-bottom: solid 1px #AF8B7B;
border-right: solid 1px #AF8B7B;
background-color: #FFDBCB;
}
.key.shift {
font-size: 0.75em;
font-variant: small-caps;
border-top: solid 1px #D5D5D5;
border-left: solid 1px #D5D5D5;
border-bottom: solid 1px #A5A5A5;
border-right: solid 1px #A5A5A5;
background-color: #F5F5F5;
}
.key.other {
font-size: 0.75em;
font-variant: small-caps;
border-top: solid 1px #D0E0D0;
border-left: solid 1px #D0E0D0;
border-bottom: solid 1px #A0B0A0;
border-right: solid 1px #A0B0A0;
background-color: #EAFAEA;
}
.keyplus {
font-size: 0.8em;
}
.hexa {
color: #000077;
font-size: 0.85em;
font-family: monospace;
font-variant: small-caps;
border: solid 1px #8888BB;
padding: 0 0.2em 0 0.2em;
margin: 0 0.2em 0 0.2em;
}
+7 -33
View File
@@ -1,49 +1,23 @@
# Copyright (c) 2003-2010 by FlashCode <flashcode@flashtux.org>
#
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
# WeeChat is free software; you can redistribute it and/or modify
# This program 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,
# This program 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 <http://www.gnu.org/licenses/>.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# user's guide
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.de.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a lang=de -a toc -a toclevels=4 -a date=`date "+%F"` -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.de.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.de.txt
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.de.txt
${CMAKE_CURRENT_SOURCE_DIR}/autogen/user/*.txt
COMMENT "Building weechat_user.de.html"
)
ADD_CUSTOM_TARGET(doc-user-de ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.de.html)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.de.html DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME})
# scripting guide
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.de.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a lang=de -a toc -a toclevels=3 -a date=`date "+%F"` -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.de.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_scripting.de.txt
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat_scripting.de.txt
COMMENT "Building weechat_scripting.de.html"
)
ADD_CUSTOM_TARGET(doc-scripting-de ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.de.html)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.de.html DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME})
# FAQ
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.de.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a lang=de -a toc -a date=`date "+%F"` -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.de.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.de.txt
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a toc-title='Inhaltsverzeichnis' -a date=`date "+%F"` -a revision="${VERSION}" -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.de.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.de.txt
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.de.txt
COMMENT "Building weechat_faq.de.html"
@@ -54,7 +28,7 @@ INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.de.html DESTINATION ${SHAR
# quickstart
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.de.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a lang=de -a toc -a date=`date "+%F"` -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.de.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.de.txt
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a toc-title='Inhaltsverzeichnis' -a date=`date "+%F"` -a revision="${VERSION}" -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.de.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.de.txt
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.de.txt
COMMENT "Building weechat_quickstart.de.html"
@@ -65,7 +39,7 @@ INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.de.html DESTINATION
# tester's guide
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.de.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a lang=de -a toc -a date=`date "+%F"` -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.de.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.de.txt
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a toc-title='Inhaltsverzeichnis' -a date=`date "+%F"` -a revision="${VERSION}" -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.de.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.de.txt
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.de.txt
COMMENT "Building weechat_tester.de.html"
+11 -34
View File
@@ -1,58 +1,41 @@
# Copyright (c) 2003-2010 by FlashCode <flashcode@flashtux.org>
#
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2006 Julien Louis <ptitlouis@sysif.net>
#
# This file is part of WeeChat, the extensible chat client.
#
# WeeChat is free software; you can redistribute it and/or modify
# This program 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,
# This program 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 <http://www.gnu.org/licenses/>.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
docdir = $(datadir)/doc/$(PACKAGE)
EXTRA_DIST = CMakeLists.txt \
weechat_user.de.txt \
weechat_scripting.de.txt \
weechat_faq.de.txt \
weechat_quickstart.de.txt \
weechat_tester.de.txt \
$(wildcard autogen/user/*.txt)
weechat_faq.de.txt \
weechat_quickstart.de.txt \
weechat_tester.de.txt
all-local: weechat_user.de.html \
weechat_scripting.de.html \
weechat_faq.de.html \
all-local: weechat_faq.de.html \
weechat_quickstart.de.html \
weechat_tester.de.html
# user's guide
weechat_user.de.html: weechat_user.de.txt $(wildcard autogen/user/*.txt)
$(ASCIIDOC) -a lang=de -a toc -a toclevels=4 -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_user.de.html $(abs_top_srcdir)/doc/de/weechat_user.de.txt
# scripting guide
weechat_scripting.de.html: weechat_scripting.de.txt
$(ASCIIDOC) -a lang=de -a toc -a toclevels=3 -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -n -o weechat_scripting.de.html $(abs_top_srcdir)/doc/de/weechat_scripting.de.txt
# FAQ
weechat_faq.de.html: weechat_faq.de.txt
$(ASCIIDOC) -a lang=de -a toc -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_faq.de.html $(abs_top_srcdir)/doc/de/weechat_faq.de.txt
$(ASCIIDOC) -a toc -a toc-title='Inhaltsverzeichnis' -a date=`date "+%F"` -a revision="$(VERSION)" -n -o weechat_faq.de.html weechat_faq.de.txt
# quickstart
weechat_quickstart.de.html: weechat_quickstart.de.txt
$(ASCIIDOC) -a lang=de -a toc -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -n -o weechat_quickstart.de.html $(abs_top_srcdir)/doc/de/weechat_quickstart.de.txt
$(ASCIIDOC) -a toc -a toc-title='Inhaltsverzeichnis' -a date=`date "+%F"` -a revision="$(VERSION)" -n -o weechat_quickstart.de.html weechat_quickstart.de.txt
# tester's guide
weechat_tester.de.html: weechat_tester.de.txt
$(ASCIIDOC) -a lang=de -a toc -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -n -o weechat_tester.de.html $(abs_top_srcdir)/doc/de/weechat_tester.de.txt
$(ASCIIDOC) -a toc -a toc-title='Inhaltsverzeichnis' -a date=`date "+%F"` -a revision="$(VERSION)" -n -o weechat_tester.de.html weechat_tester.de.txt
# install docs
@@ -60,12 +43,6 @@ install-data-hook:
$(mkinstalldirs) $(DESTDIR)$(docdir)/
$(INSTALL_DATA) *.html $(DESTDIR)$(docdir)/
# uninstall docs
uninstall-hook:
$(RM) $(DESTDIR)$(docdir)/*.de.html
-rmdir $(DESTDIR)$(docdir)
# clean
clean-local:
-129
View File
@@ -1,129 +0,0 @@
[width="65%",cols="^1,^2,8",options="header"]
|========================================
| Erweiterung | Name | Beschreibung
| alias | alias | Liste der Alias
| alias | alias_value | Wert von Alias
| aspell | aspell_dicts | Auflistung der installierten Wörterbücher
| aspell | aspell_langs | Liste aller Sprachen die durch Aspell unterstützt werden
| guile | guile_script | Liste der Skripten
| irc | irc_channel | Aktueller IRC-Channel
| irc | irc_channel_nicks_hosts | Liste der Nicks und Hostnamen des aktuellen Channels
| irc | irc_channel_topic | Thema des aktuellen IRC-Channels
| irc | irc_channels | Channels auf allen IRC Servern
| irc | irc_ignores_numbers | Anzahl für festgelegte Ignorierungen
| irc | irc_msg_part | Standardnachricht beim Verlassen (/part) eines IRC-Channels
| irc | irc_notify_nicks | Nicks für die eine Benachrichtigung existiert
| irc | irc_privates | Private auf allen IRC Servern
| irc | irc_server | aktueller IRC-Server
| irc | irc_server_channels | Channels des derzeitigen IRC-Server
| irc | irc_server_nick | Nick beim derzeitigen IRC-Server
| irc | irc_server_nicks | Nicks für alle Channels auf dem aktuellen IRC-Server
| irc | irc_server_privates | Privat auf aktuellem IRC Server
| irc | irc_servers | IRC-Server (interne Namen)
| irc | nick | Liste der Nicks im aktuellen Channel
| lua | lua_script | Liste der Skripten
| perl | perl_script | Liste der Skripten
| python | python_script | Liste der Skripten
| relay | relay_free_port | erster freier Port für Relay-Erweiterung
| relay | relay_protocol_name | alle möglichen Protokoll.Name der Relay-Erweiterung
| relay | relay_relays | Protokoll.Name des aktuellen Relays von der Relay-Erweiterung
| rmodifier | rmodifier | Liste der rmodifier
| ruby | ruby_script | Liste der Skripten
| script | script_files | Dateien die sich in den Skript-Verzeichnissen befinden
| script | script_scripts | Liste der Skripten im Repositorium
| script | script_scripts_installed | Auflistung der installierten Skripten (vom Repositorium)
| script | script_tags | Schlagwortliste für Skripten im Repositorium
| tcl | tcl_script | Liste der Skripten
| weechat | bars_names | Namen der Infobars
| weechat | bars_options | Optionen für Infobars
| weechat | buffer_properties_get | Eigenschaften die für den Buffer gelesen werden können
| weechat | buffer_properties_set | Eigenschaften die für den Buffer gesetzt werden können
| weechat | buffers_names | Auflistung der vorhandenen Buffer
| weechat | buffers_numbers | Anzahl der Buffer
| weechat | buffers_plugins_names | Liste der Buffer (inklusive der Erweiterungen)
| weechat | commands | Befehle (WeeChat und Erweiterungen)
| weechat | config_files | Konfigurationsdateien
| weechat | config_option_values | Werte für eine Konfigurationsoption
| weechat | config_options | Konfigurationsoptionen
| weechat | cursor_areas | Bereiche in denen der Cursor frei bewegt werden kann ("chat" oder Name einer Bar)
| weechat | filename | Dateinamen
| weechat | filters_names | Liste der Filter
| weechat | infolists | Namen der gehookten Infolisten
| weechat | infos | Namen der gehookten Infos
| weechat | keys_codes | Tastaturcodes
| weechat | keys_codes_for_reset | Tastenbelegungen die zurückgesetzt werden können (hinzugefügte/verändert/gelöschte Tastenbelegungen)
| weechat | keys_contexts | Tastaturkontext
| weechat | layouts_names | Namen der Layouts
| weechat | nicks | Nicks in Nickliste für aktuellen Buffer
| weechat | palette_colors | Farbpalette
| weechat | plugins_commands | Befehle, definiert durch Erweiterungen
| weechat | plugins_names | Liste der Erweiterungen
| weechat | proxies_names | Namen der Proxies
| weechat | proxies_options | Optionen für Proxies
| weechat | weechat_commands | WeeChat Befehle
| weechat | windows_numbers | Nummern der Fenster
| xfer | nick | Nicks vom DCC Chat
|========================================
-759
View File
@@ -1,759 +0,0 @@
[width="100%",cols="^1,^2,5,5,5,5",options="header"]
|========================================
| Erweiterung | Name | Beschreibung | Variablen | Update erlaubt | Listen
| guile | guile_script | Liste der Skripten |
'filename' (string) +
'interpreter' (pointer) +
'name' (string) +
'author' (string) +
'version' (string) +
'license' (string) +
'description' (string) +
'shutdown_func' (string) +
'charset' (string) +
'callbacks' (pointer) +
'unloading' (integer) +
'prev_script' (pointer, hdata: "guile_script") +
'next_script' (pointer, hdata: "guile_script") |
|
'last_script' +
'scripts'
| irc | irc_channel | IRC-Channel |
'type' (integer) +
'name' (string) +
'topic' (string) +
'modes' (string) +
'limit' (integer) +
'key' (string) +
'join_msg_received' (hashtable) +
'checking_away' (integer) +
'away_message' (string) +
'has_quit_server' (integer) +
'cycle' (integer) +
'part' (integer) +
'nick_completion_reset' (integer) +
'pv_remote_nick_color' (string) +
'hook_autorejoin' (pointer) +
'nicks_count' (integer) +
'nicks' (pointer, hdata: "irc_nick") +
'last_nick' (pointer, hdata: "irc_nick") +
'nicks_speaking' (pointer) +
'nicks_speaking_time' (pointer, hdata: "irc_channel_speaking") +
'last_nick_speaking_time' (pointer, hdata: "irc_channel_speaking") +
'join_smart_filtered' (hashtable) +
'buffer' (pointer, hdata: "buffer") +
'buffer_as_string' (string) +
'prev_channel' (pointer, hdata: "irc_channel") +
'next_channel' (pointer, hdata: "irc_channel") |
|
-
| irc | irc_channel_speaking | IRC channel_speaking |
'nick' (string) +
'time_last_message' (time) +
'prev_nick' (pointer, hdata: "irc_channel_speaking") +
'next_nick' (pointer, hdata: "irc_channel_speaking") |
|
-
| irc | irc_ignore | IRC ignorieren |
'number' (integer) +
'mask' (string) +
'regex_mask' (pointer) +
'server' (string) +
'channel' (string) +
'prev_ignore' (pointer, hdata: "irc_ignore") +
'next_ignore' (pointer, hdata: "irc_ignore") |
|
'irc_ignore_list' +
'last_irc_ignore'
| irc | irc_nick | IRC-Nick |
'name' (string) +
'host' (string) +
'prefixes' (string) +
'prefix' (string) +
'away' (integer) +
'color' (string) +
'prev_nick' (pointer, hdata: "irc_nick") +
'next_nick' (pointer, hdata: "irc_nick") |
|
-
| irc | irc_notify | IRC-Benachrichtigungen |
'server' (pointer, hdata: "irc_server") +
'nick' (string) +
'check_away' (integer) +
'is_on_server' (integer) +
'away_message' (string) +
'ison_received' (integer) +
'prev_notify' (pointer, hdata: "irc_notify") +
'next_notify' (pointer, hdata: "irc_notify") |
|
-
| irc | irc_redirect | IRC Umlenkung |
'server' (pointer, hdata: "irc_server") +
'pattern' (string) +
'signal' (string) +
'count' (integer) +
'current_count' (integer) +
'string' (string) +
'timeout' (integer) +
'command' (string) +
'assigned_to_command' (integer) +
'start_time' (time) +
'cmd_start' (hashtable) +
'cmd_stop' (hashtable) +
'cmd_extra' (hashtable) +
'cmd_start_received' (integer) +
'cmd_stop_received' (integer) +
'cmd_filter' (hashtable) +
'output' (string) +
'output_size' (integer) +
'prev_redirect' (pointer, hdata: "irc_redirect") +
'next_redirect' (pointer, hdata: "irc_redirect") |
|
-
| irc | irc_redirect_pattern | Muster für IRC Umlenkung |
'name' (string) +
'temp_pattern' (integer) +
'timeout' (integer) +
'cmd_start' (string) +
'cmd_stop' (string) +
'cmd_extra' (string) +
'prev_redirect' (pointer, hdata: "irc_redirect_pattern") +
'next_redirect' (pointer, hdata: "irc_redirect_pattern") |
|
'irc_redirect_patterns' +
'last_irc_redirect_pattern'
| irc | irc_server | IRC-Server |
'name' (string) +
'options' (pointer) +
'temp_server' (integer) +
'reloading_from_config' (integer) +
'reloaded_from_config' (integer) +
'addresses_count' (integer) +
'addresses_array' (string, array_size: "addresses_count") +
'ports_array' (integer, array_size: "addresses_count") +
'retry_array' (integer, array_size: "addresses_count") +
'index_current_address' (integer) +
'current_address' (string) +
'current_ip' (string) +
'current_port' (integer) +
'current_retry' (integer) +
'sock' (integer) +
'hook_connect' (pointer, hdata: "hook") +
'hook_fd' (pointer, hdata: "hook") +
'hook_timer_connection' (pointer, hdata: "hook") +
'hook_timer_sasl' (pointer, hdata: "hook") +
'is_connected' (integer) +
'ssl_connected' (integer) +
'disconnected' (integer) +
'gnutls_sess' (other) +
'tls_cert' (other) +
'tls_cert_key' (other) +
'unterminated_message' (string) +
'nicks_count' (integer) +
'nicks_array' (string, array_size: "nicks_count") +
'nick_first_tried' (integer) +
'nick_alternate_number' (integer) +
'nick' (string) +
'nick_modes' (string) +
'isupport' (string) +
'prefix_modes' (string) +
'prefix_chars' (string) +
'nick_max_length' (integer) +
'casemapping' (integer) +
'chantypes' (string) +
'chanmodes' (string) +
'reconnect_delay' (integer) +
'reconnect_start' (time) +
'command_time' (time) +
'reconnect_join' (integer) +
'disable_autojoin' (integer) +
'is_away' (integer) +
'away_message' (string) +
'away_time' (time) +
'lag' (integer) +
'lag_check_time' (other) +
'lag_next_check' (time) +
'lag_last_refresh' (time) +
'cmd_list_regexp' (pointer) +
'last_user_message' (time) +
'last_away_check' (time) +
'last_data_purge' (time) +
'outqueue' (pointer) +
'last_outqueue' (pointer) +
'redirects' (pointer, hdata: "irc_redirect") +
'last_redirect' (pointer, hdata: "irc_redirect") +
'notify_list' (pointer, hdata: "irc_notify") +
'last_notify' (pointer, hdata: "irc_notify") +
'join_manual' (hashtable) +
'join_channel_key' (hashtable) +
'join_noswitch' (hashtable) +
'buffer' (pointer, hdata: "buffer") +
'buffer_as_string' (string) +
'channels' (pointer, hdata: "irc_channel") +
'last_channel' (pointer, hdata: "irc_channel") +
'prev_server' (pointer, hdata: "irc_server") +
'next_server' (pointer, hdata: "irc_server") |
|
'irc_servers' +
'last_irc_server'
| lua | lua_script | Liste der Skripten |
'filename' (string) +
'interpreter' (pointer) +
'name' (string) +
'author' (string) +
'version' (string) +
'license' (string) +
'description' (string) +
'shutdown_func' (string) +
'charset' (string) +
'callbacks' (pointer) +
'unloading' (integer) +
'prev_script' (pointer, hdata: "lua_script") +
'next_script' (pointer, hdata: "lua_script") |
|
'last_script' +
'scripts'
| perl | perl_script | Liste der Skripten |
'filename' (string) +
'interpreter' (pointer) +
'name' (string) +
'author' (string) +
'version' (string) +
'license' (string) +
'description' (string) +
'shutdown_func' (string) +
'charset' (string) +
'callbacks' (pointer) +
'unloading' (integer) +
'prev_script' (pointer, hdata: "perl_script") +
'next_script' (pointer, hdata: "perl_script") |
|
'last_script' +
'scripts'
| python | python_script | Liste der Skripten |
'filename' (string) +
'interpreter' (pointer) +
'name' (string) +
'author' (string) +
'version' (string) +
'license' (string) +
'description' (string) +
'shutdown_func' (string) +
'charset' (string) +
'callbacks' (pointer) +
'unloading' (integer) +
'prev_script' (pointer, hdata: "python_script") +
'next_script' (pointer, hdata: "python_script") |
|
'last_script' +
'scripts'
| ruby | ruby_script | Liste der Skripten |
'filename' (string) +
'interpreter' (pointer) +
'name' (string) +
'author' (string) +
'version' (string) +
'license' (string) +
'description' (string) +
'shutdown_func' (string) +
'charset' (string) +
'callbacks' (pointer) +
'unloading' (integer) +
'prev_script' (pointer, hdata: "ruby_script") +
'next_script' (pointer, hdata: "ruby_script") |
|
'last_script' +
'scripts'
| script | script_script | Skripten aus dem Repositorium |
'name' (string) +
'name_with_extension' (string) +
'language' (integer) +
'author' (string) +
'mail' (string) +
'version' (string) +
'license' (string) +
'description' (string) +
'tags' (string) +
'requirements' (string) +
'min_weechat' (string) +
'max_weechat' (string) +
'md5sum' (string) +
'url' (string) +
'popularity' (integer) +
'date_added' (time) +
'date_updated' (time) +
'status' (integer) +
'version_loaded' (string) +
'displayed' (integer) +
'install_order' (integer) +
'prev_script' (pointer, hdata: "script_script") +
'next_script' (pointer, hdata: "script_script") |
|
'last_script_repo' +
'scripts_repo'
| tcl | tcl_script | Liste der Skripten |
'filename' (string) +
'interpreter' (pointer) +
'name' (string) +
'author' (string) +
'version' (string) +
'license' (string) +
'description' (string) +
'shutdown_func' (string) +
'charset' (string) +
'callbacks' (pointer) +
'unloading' (integer) +
'prev_script' (pointer, hdata: "tcl_script") +
'next_script' (pointer, hdata: "tcl_script") |
|
'last_script' +
'scripts'
| weechat | bar | Bar |
'name' (string) +
'options' (pointer) +
'items_count' (integer) +
'items_subcount' (pointer) +
'items_array' (pointer) +
'items_prefix' (pointer) +
'items_name' (pointer) +
'items_suffix' (pointer) +
'bar_window' (pointer, hdata: "bar_window") +
'bar_refresh_needed' (integer) +
'prev_bar' (pointer, hdata: "bar") +
'next_bar' (pointer, hdata: "bar") |
|
'gui_bars' +
'last_gui_bar'
| weechat | bar_item | Bar-Item |
'plugin' (pointer, hdata: "plugin") +
'name' (string) +
'build_callback' (pointer) +
'build_callback_data' (pointer) +
'prev_item' (pointer, hdata: "bar_item") +
'next_item' (pointer, hdata: "bar_item") |
|
'gui_bar_items' +
'last_gui_bar_item'
| weechat | bar_window | Bar-Fenster |
'bar' (pointer, hdata: "bar") +
'x' (integer) +
'y' (integer) +
'width' (integer) +
'height' (integer) +
'scroll_x' (integer) +
'scroll_y' (integer) +
'cursor_x' (integer) +
'cursor_y' (integer) +
'current_size' (integer) +
'items_count' (integer) +
'items_subcount' (pointer) +
'items_content' (pointer) +
'items_num_lines' (pointer) +
'items_refresh_needed' (pointer) +
'screen_col_size' (integer) +
'screen_lines' (integer) +
'coords_count' (integer) +
'coords' (pointer) +
'gui_objects' (pointer) +
'prev_bar_window' (pointer, hdata: "bar_window") +
'next_bar_window' (pointer, hdata: "bar_window") |
|
-
| weechat | buffer | Buffer |
'plugin' (pointer, hdata: "plugin") +
'plugin_name_for_upgrade' (string) +
'number' (integer) +
'layout_number' (integer) +
'layout_number_merge_order' (integer) +
'name' (string) +
'full_name' (string) +
'short_name' (string) +
'type' (integer) +
'notify' (integer) +
'num_displayed' (integer) +
'active' (integer) +
'print_hooks_enabled' (integer) +
'close_callback' (pointer) +
'close_callback_data' (pointer) +
'title' (string) +
'own_lines' (pointer, hdata: "lines") +
'mixed_lines' (pointer, hdata: "lines") +
'lines' (pointer, hdata: "lines") +
'time_for_each_line' (integer) +
'chat_refresh_needed' (integer) +
'nicklist' (integer) +
'nicklist_case_sensitive' (integer) +
'nicklist_root' (pointer, hdata: "nick_group") +
'nicklist_max_length' (integer) +
'nicklist_display_groups' (integer) +
'nicklist_count' (integer) +
'nicklist_groups_count' (integer) +
'nicklist_nicks_count' (integer) +
'nicklist_visible_count' (integer) +
'nickcmp_callback' (pointer) +
'nickcmp_callback_data' (pointer) +
'input' (integer) +
'input_callback' (pointer) +
'input_callback_data' (pointer) +
'input_get_unknown_commands' (integer) +
'input_buffer' (string) +
'input_buffer_alloc' (integer) +
'input_buffer_size' (integer) +
'input_buffer_length' (integer) +
'input_buffer_pos' (integer) +
'input_buffer_1st_display' (integer) +
'input_undo_snap' (pointer, hdata: "input_undo") +
'input_undo' (pointer, hdata: "input_undo") +
'last_input_undo' (pointer, hdata: "input_undo") +
'ptr_input_undo' (pointer, hdata: "input_undo") +
'input_undo_count' (integer) +
'completion' (pointer, hdata: "completion") +
'history' (pointer, hdata: "history") +
'last_history' (pointer, hdata: "history") +
'ptr_history' (pointer, hdata: "history") +
'num_history' (integer) +
'text_search' (integer) +
'text_search_exact' (integer) +
'text_search_found' (integer) +
'text_search_input' (string) +
'highlight_words' (string) +
'highlight_regex' (string) +
'highlight_regex_compiled' (pointer) +
'highlight_tags' (string) +
'highlight_tags_count' (integer) +
'highlight_tags_array' (string, array_size: "highlight_tags_count") +
'hotlist_max_level_nicks' (hashtable) +
'keys' (pointer, hdata: "key") +
'last_key' (pointer, hdata: "key") +
'keys_count' (integer) +
'local_variables' (hashtable) +
'prev_buffer' (pointer, hdata: "buffer") +
'next_buffer' (pointer, hdata: "buffer") |
|
'gui_buffer_last_displayed' +
'gui_buffers' +
'last_gui_buffer'
| weechat | completion | Struktur mit Vervollständigung |
'buffer' (pointer, hdata: "buffer") +
'context' (integer) +
'base_command' (string) +
'base_command_arg_index' (integer) +
'base_word' (string) +
'base_word_pos' (integer) +
'position' (integer) +
'args' (string) +
'direction' (integer) +
'add_space' (integer) +
'force_partial_completion' (integer) +
'completion_list' (pointer) +
'word_found' (string) +
'word_found_is_nick' (integer) +
'position_replace' (integer) +
'diff_size' (integer) +
'diff_length' (integer) +
'partial_completion_list' (pointer, hdata: "completion_partial") +
'last_partial_completion' (pointer, hdata: "completion_partial") |
|
-
| weechat | completion_partial | Struktur mit teilweise Vervollständigung |
'word' (string) +
'count' (integer) +
'prev_item' (pointer, hdata: "completion_partial") +
'next_item' (pointer, hdata: "completion_partial") |
|
-
| weechat | config_file | Konfigurationsdatei |
'plugin' (pointer, hdata: "plugin") +
'name' (string) +
'filename' (string) +
'file' (pointer) +
'callback_reload' (pointer) +
'callback_reload_data' (pointer) +
'sections' (pointer, hdata: "config_section") +
'last_section' (pointer, hdata: "config_section") +
'prev_config' (pointer, hdata: "config_file") +
'next_config' (pointer, hdata: "config_file") |
|
'config_files' +
'last_config_file'
| weechat | config_option | Konfigurationsoptionen |
'config_file' (pointer, hdata: "config_file") +
'section' (pointer, hdata: "config_section") +
'name' (string) +
'type' (integer) +
'description' (string) +
'string_values' (string, array_size: "*") +
'min' (integer) +
'max' (integer) +
'default_value' (pointer) +
'value' (pointer) +
'null_value_allowed' (integer) +
'callback_check_value' (pointer) +
'callback_check_value_data' (pointer) +
'callback_change' (pointer) +
'callback_change_data' (pointer) +
'callback_delete' (pointer) +
'callback_delete_data' (pointer) +
'loaded' (integer) +
'prev_option' (pointer, hdata: "config_option") +
'next_option' (pointer, hdata: "config_option") |
|
-
| weechat | config_section | Konfigurationssektion |
'config_file' (pointer, hdata: "config_file") +
'name' (string) +
'user_can_add_options' (integer) +
'user_can_delete_options' (integer) +
'callback_read' (pointer) +
'callback_read_data' (pointer) +
'callback_write' (pointer) +
'callback_write_data' (pointer) +
'callback_write_default' (pointer) +
'callback_write_default_data' (pointer) +
'callback_create_option' (pointer) +
'callback_create_option_data' (pointer) +
'callback_delete_option' (pointer) +
'callback_delete_option_data' (pointer) +
'options' (pointer, hdata: "config_option") +
'last_option' (pointer, hdata: "config_option") +
'prev_section' (pointer, hdata: "config_section") +
'next_section' (pointer, hdata: "config_section") |
|
-
| weechat | filter | Filter |
'enabled' (integer) +
'name' (string) +
'buffer_name' (string) +
'num_buffers' (integer) +
'buffers' (pointer) +
'tags' (string) +
'tags_count' (integer) +
'tags_array' (string, array_size: "tags_count") +
'regex' (string) +
'regex_prefix' (pointer) +
'regex_message' (pointer) +
'prev_filter' (pointer, hdata: "filter") +
'next_filter' (pointer, hdata: "filter") |
|
'gui_filters' +
'last_gui_filter'
| weechat | history | Verlaufspeicher von Befehlen in einem Buffer |
'text' (string) +
'next_history' (pointer, hdata: "history") +
'prev_history' (pointer, hdata: "history") |
`__create` +
`__delete` |
'gui_history' +
'last_gui_history'
| weechat | hotlist | Hotliste |
'priority' (integer) +
'creation_time.tv_sec' (time) +
'creation_time.tv_usec' (long) +
'buffer' (pointer) +
'count' (integer, array_size: "4") +
'prev_hotlist' (pointer, hdata: "hotlist") +
'next_hotlist' (pointer, hdata: "hotlist") |
|
'gui_hotlist' +
'last_gui_hotlist'
| weechat | input_undo | Struktur der Rücknahmen für die Befehlszeile |
'data' (string) +
'pos' (integer) +
'prev_undo' (pointer, hdata: "input_undo") +
'next_undo' (pointer, hdata: "input_undo") |
|
-
| weechat | key | Tastenbelegung (Tastaturkurzbefehl) |
'key' (string) +
'area_type' (pointer) +
'area_name' (pointer) +
'area_key' (string) +
'command' (string) +
'score' (integer) +
'prev_key' (pointer, hdata: "key") +
'next_key' (pointer, hdata: "key") |
|
'gui_default_keys' +
'gui_default_keys_cursor' +
'gui_default_keys_mouse' +
'gui_default_keys_search' +
'gui_keys' +
'gui_keys_cursor' +
'gui_keys_mouse' +
'gui_keys_search' +
'last_gui_default_key' +
'last_gui_default_key_cursor' +
'last_gui_default_key_mouse' +
'last_gui_default_key_search' +
'last_gui_key' +
'last_gui_key_cursor' +
'last_gui_key_mouse' +
'last_gui_key_search'
| weechat | line | Struktur mit einer Zeile |
'data' (pointer, hdata: "line_data") +
'prev_line' (pointer, hdata: "line") +
'next_line' (pointer, hdata: "line") |
|
-
| weechat | line_data | Struktur mit einzeiligen Daten |
'buffer' (pointer, hdata: "buffer") +
'y' (integer) +
'date' (time) +
'date_printed' (time) +
'str_time' (string) +
'tags_count' (integer) +
'tags_array' (string, array_size: "tags_count") +
'displayed' (char) +
'highlight' (char) +
'refresh_needed' (char) +
'prefix' (string) +
'prefix_length' (integer) +
'message' (string) |
'date' (time) +
'date_printed' (time) +
'tags_array' (string) +
'prefix' (string) +
'message' (string) |
-
| weechat | lines | Struktur mit Zeilen |
'first_line' (pointer, hdata: "line") +
'last_line' (pointer, hdata: "line") +
'last_read_line' (pointer, hdata: "line") +
'lines_count' (integer) +
'first_line_not_read' (integer) +
'lines_hidden' (integer) +
'buffer_max_length' (integer) +
'prefix_max_length' (integer) |
|
-
| weechat | nick | Nick in Nickliste |
'group' (pointer, hdata: "nick_group") +
'name' (string) +
'color' (string) +
'prefix' (string) +
'prefix_color' (string) +
'visible' (integer) +
'prev_nick' (pointer, hdata: "nick") +
'next_nick' (pointer, hdata: "nick") |
|
-
| weechat | nick_group | Gruppen in Nickliste |
'name' (string) +
'color' (string) +
'visible' (integer) +
'level' (integer) +
'parent' (pointer, hdata: "nick_group") +
'children' (pointer, hdata: "nick_group") +
'last_child' (pointer, hdata: "nick_group") +
'nicks' (pointer, hdata: "nick") +
'last_nick' (pointer, hdata: "nick") +
'prev_group' (pointer, hdata: "nick_group") +
'next_group' (pointer, hdata: "nick_group") |
|
-
| weechat | plugin | Erweiterung |
'filename' (string) +
'handle' (pointer) +
'name' (string) +
'description' (string) +
'author' (string) +
'version' (string) +
'license' (string) +
'charset' (string) +
'debug' (integer) +
'prev_plugin' (pointer, hdata: "plugin") +
'next_plugin' (pointer, hdata: "plugin") |
|
'last_weechat_plugin' +
'weechat_plugins'
| weechat | window | Fenster |
'number' (integer) +
'win_x' (integer) +
'win_y' (integer) +
'win_width' (integer) +
'win_height' (integer) +
'win_width_pct' (integer) +
'win_height_pct' (integer) +
'win_chat_x' (integer) +
'win_chat_y' (integer) +
'win_chat_width' (integer) +
'win_chat_height' (integer) +
'win_chat_cursor_x' (integer) +
'win_chat_cursor_y' (integer) +
'bar_windows' (pointer, hdata: "bar_window") +
'last_bar_window' (pointer, hdata: "bar_window") +
'refresh_needed' (integer) +
'gui_objects' (pointer) +
'buffer' (pointer, hdata: "buffer") +
'layout_plugin_name' (string) +
'layout_buffer_name' (string) +
'scroll' (pointer, hdata: "window_scroll") +
'ptr_tree' (pointer, hdata: "window_tree") +
'prev_window' (pointer, hdata: "window") +
'next_window' (pointer, hdata: "window") |
|
'gui_current_window' +
'gui_windows' +
'last_gui_window'
| weechat | window_scroll | Scroll-Info in Fenstern |
'buffer' (pointer, hdata: "buffer") +
'first_line_displayed' (integer) +
'start_line' (pointer, hdata: "line") +
'start_line_pos' (integer) +
'scrolling' (integer) +
'start_col' (integer) +
'lines_after' (integer) +
'reset_allowed' (integer) +
'prev_scroll' (pointer, hdata: "window_scroll") +
'next_scroll' (pointer, hdata: "window_scroll") |
|
-
| weechat | window_tree | Baumstruktur der Fenster |
'parent_node' (pointer, hdata: "window_tree") +
'split_pct' (integer) +
'split_horizontal' (integer) +
'child1' (pointer, hdata: "window_tree") +
'child2' (pointer, hdata: "window_tree") +
'window' (pointer, hdata: "window") |
|
'gui_windows_tree'
|========================================
-69
View File
@@ -1,69 +0,0 @@
[width="100%",cols="^1,^2,5,5,5",options="header"]
|========================================
| Erweiterung | Name | Beschreibung | Pointer | Argumente
| alias | alias | Liste der Alias | Alias Pointer (optional) | Alias Name (darf mit einem "*" als Platzhalter beginnen oder enden) (optional)
| guile | guile_script | Liste der Skripten | Skript Pointer (optional) | Name des Skriptes (darf mit einem "*" als Platzhalter beginnen oder enden) (optional)
| irc | irc_channel | Liste der Channels eines IRC-Servers | Channel Pointer (optional) | Server,Channel (Channel ist optional)
| irc | irc_ignore | Liste von ignorierten IRCs | Ignore Pointer (optional) | -
| irc | irc_nick | Liste der Nicks im IRC-Channel | Nick Pointer (optional) | Server,Channel,Nick (Channel und Nick sind optional)
| irc | irc_notify | Liste mit Benachrichtigungen | Benachrichtigungspointer (optional) | Servername (darf mit einem "*" als Platzhalter beginnen oder enden) (optional)
| irc | irc_server | Liste der IRC-Server | Server Pointer (optional) | Servername (darf mit einem "*" als Platzhalter beginnen oder enden) (optional)
| logger | logger_buffer | Auflistung der protokollierten Buffer | Logger Pointer (optional) | -
| lua | lua_script | Liste der Skripten | Skript Pointer (optional) | Name des Skriptes (darf mit einem "*" als Platzhalter beginnen oder enden) (optional)
| perl | perl_script | Liste der Skripten | Skript Pointer (optional) | Name des Skriptes (darf mit einem "*" als Platzhalter beginnen oder enden) (optional)
| python | python_script | Liste der Skripten | Skript Pointer (optional) | Name des Skriptes (darf mit einem "*" als Platzhalter beginnen oder enden) (optional)
| relay | relay | Liste der Relay-Clients | Relay Pointer (optional) | -
| rmodifier | rmodifier | Liste der rmodifier | rmodifier Pointer (optional) | rmodifier Name (darf mit einem "*" als Platzhalter beginnen oder enden) (optional)
| ruby | ruby_script | Liste der Skripten | Skript Pointer (optional) | Name des Skriptes (darf mit einem "*" als Platzhalter beginnen oder enden) (optional)
| script | script_script | Liste der Skripten | Skript Pointer (optional) | Name des Skriptes, mit Dateierweiterung (darf mit einem "*" als Platzhalter beginnen oder enden) (optional)
| tcl | tcl_script | Liste der Skripten | Skript Pointer (optional) | Name des Skriptes (darf mit einem "*" als Platzhalter beginnen oder enden) (optional)
| weechat | bar | Auflistung der Bars | Bar Pointer (optional) | Bar Name (darf mit einem "*" als Platzhalter beginnen oder enden) (optional)
| weechat | bar_item | Auflistung der Bar-Items | Bar Item Pointer (optional) | Bar-Item Name (darf mit einem "*" als Platzhalter beginnen oder enden) (optional)
| weechat | bar_window | Auflistung der Bar-Fenster | Bar-Fenster Pointer (optional) | -
| weechat | buffer | Auflistung der Buffer | Buffer Pointer (optional) | Name des Buffers (darf mit einem "*" als Platzhalter beginnen oder enden) (optional)
| weechat | buffer_lines | Zeilen des Buffers | Buffer Pointer | -
| weechat | filter | Auflistung der Filter | - | Name des Filters (darf mit einem "*" als Platzhalter beginnen oder enden) (optional)
| weechat | history | Verlaufspeicher der Befehle | Buffer Pointer (falls nicht gesetzt, wird der globale Verlauf zurückgegeben) (optional) | -
| weechat | hook | Auflistung der Hooks | - | type,arguments (type ist ein command/timer/.., arguments dient dazu nur einige hooks abzufragen (darf mit einem "*" als Platzhalter beginnen oder enden), beide Optionen sind optional)
| weechat | hotlist | Liste der Buffer in Hotlist | - | -
| weechat | key | Auflistung der Tastenzuweisungen | - | Kontext ("default", "search", "cursor" oder "mouse") (optional)
| weechat | nicklist | Nicks in Nickliste für einen Buffer | Buffer Pointer | nick_xxx oder group_xxx um nur den Nick/Group xxx abzufragen (optional)
| weechat | option | Auflistung der Optionen | - | Name einer Option (darf mit einem "*" als Platzhalter beginnen oder enden) (optional)
| weechat | plugin | Auflistung der Erweiterungen | Pointer der Erweiterung (optional) | Name einer Erweiterung (darf mit einem "*" als Platzhalter beginnen oder enden) (optional)
| weechat | url_options | Optionen für URL | - | -
| weechat | window | Auflistung der Fenster | Fenster Pointer (optional) | "current" für aktuelles Fenster oder die Nummer eines Fensters (optional)
| xfer | xfer | Transferliste | Transferpointer (optional) | -
|========================================
-65
View File
@@ -1,65 +0,0 @@
[width="100%",cols="^1,^2,6,6",options="header"]
|========================================
| Erweiterung | Name | Beschreibung | Argumente
| aspell | aspell_dict | durch Kommata getrennte Liste von Wörterbüchern, die in diesem Buffer genutzt werden sollen | Buffer-Pointer ("0x12345678") oder der vollständige Buffername ("irc.freenode.#weechat")
| fifo | fifo_filename | Name der FIFO-Pipe | -
| irc | irc_buffer | holt Buffer Pointer für einen IRC Server/Channel/Nick | server,channel,nick (Channel und Nicks sind optional)
| irc | irc_is_channel | 1, falls die Zeichenkette ein gültiger IRC-Channelname für den Server ist | Server,Channel (Server ist optional)
| irc | irc_is_nick | 1, falls die Zeichenkette ein gültiger IRC Nickname ist | Nickname
| irc | irc_nick | aktuellen Nicknamen für den Server erhalten | Servername
| irc | irc_nick_color | holt Farbe-Code des Nick | Nickname
| irc | irc_nick_color_name | holt Namen der Farbe des Nick | Nickname
| irc | irc_nick_from_host | Nicknamen des IRC-Hosts erhalten | IRC host (in der Form `:nick!name@server.com`)
| irc | irc_server_isupport | 1 falls der Server die Funktion unterstützen sollte (durch IRC Message 005) | Server,Funktion
| irc | irc_server_isupport_value | Wert der Funktion, sofern es vom Server unterstützt wird (durch IRC Message 005) | Server,Funktion
| python | python2_bin | Pfad für Python 2.x Interpreter | -
| weechat | charset_internal | Interner WeeChat Zeichensatz | -
| weechat | charset_terminal | Terminal Zeichensatz | -
| weechat | cursor_mode | 1, falls Cursor-Modus aktiviert ist | -
| weechat | date | Datum der WeeChat Kompilierung | -
| weechat | dir_separator | Trennzeichen für Verzeichnis | -
| weechat | filters_enabled | 1, falls Filter aktiviert sind | -
| weechat | inactivity | Inaktivität der Tastatur (Sekunden) | -
| weechat | locale | Lokalisation welche für die übersetzten Nachrichten verwendet werden soll | -
| weechat | version | WeeChat Version | -
| weechat | version_git | WeeChat Git Version (Ausgabe des Befehls "git describe", ausschließlich für eine Entwicklerversion. Eine stabile Version gibt keine Information zurück) | -
| weechat | version_number | WeeChat Version (als Nummer) | -
| weechat | weechat_dir | WeeChat Verzeichnis | -
| weechat | weechat_libdir | WeeChat "lib" Verzeichnis | -
| weechat | weechat_localedir | "lokales" Verzeichnis von WeeChat | -
| weechat | weechat_sharedir | WeeChat "share" Verzeichnis | -
| weechat | weechat_site | WeeChat Seite | -
| weechat | weechat_site_download | Download-Seite von WeeChat | -
| weechat | weechat_upgrading | 1 falls WeeChat ein Upgrade durchführt (Befehl `/upgrade`) | -
|========================================
@@ -1,9 +0,0 @@
[width="100%",cols="^1,^2,6,6,6",options="header"]
|========================================
| Erweiterung | Name | Beschreibung | Hashtable (Eingabe) | Hashtable (Ausgabe)
| irc | irc_message_parse | Parse eine IRC Nachricht | "message": IRC Nachricht, "server": Servername (optional) | "tags": Tags, "message_without_tags": Nachrichten ohne Tags, "nick": Nick, "host": Host, "command": Befehl, "channel": Channel, "arguments": Argumente (schließt Channel ein)
| irc | irc_message_split | dient zum Aufteilen einer überlangen IRC Nachricht (in maximal 512 Bytes große Nachrichten) | "message": IRC Nachricht, "server": Servername (optional) | "msg1" ... "msgN": Nachrichten die versendet werden sollen (ohne abschließendes "\r\n"), "args1" ... "argsN": Argumente für Nachrichten, "count": Anzahl der Nachrichten
|========================================
-291
View File
@@ -1,291 +0,0 @@
[width="100%",cols="2,^1,7",options="header"]
|========================================
| Option | Type | Konstanten ^(1)^
| verbose | long |
| header | long |
| noprogress | long |
| nosignal | long |
| wildcardmatch | long |
| failonerror | long |
| protocols | mask | http, https, ftp, ftps, scp, sftp, telnet, ldap, ldaps, dict, file, tftp, imap, imaps, pop3, pop3s, smtp, smtps, rtsp, rtmp, rtmpt, rtmpe, rtmpte, rtmps, rtmpts, gopher, all
| redir_protocols | mask | http, https, ftp, ftps, scp, sftp, telnet, ldap, ldaps, dict, file, tftp, imap, imaps, pop3, pop3s, smtp, smtps, rtsp, rtmp, rtmpt, rtmpe, rtmpte, rtmps, rtmpts, gopher, all
| proxy | string |
| proxyport | long |
| proxytype | long | http, http_1_0, socks4, socks5, socks4a, socks5_hostname
| noproxy | string |
| httpproxytunnel | long |
| socks5_gssapi_service | string |
| socks5_gssapi_nec | long |
| interface | string |
| localport | long |
| localportrange | long |
| dns_cache_timeout | long |
| buffersize | long |
| port | long |
| tcp_nodelay | long |
| address_scope | long |
| netrc | long | ignored, optional, required
| netrc_file | string |
| userpwd | string |
| proxyuserpwd | string |
| username | string |
| password | string |
| proxyusername | string |
| proxypassword | string |
| httpauth | mask | none, basic, digest, gssnegotiate, ntlm, digest_ie, ntlm_wb, only, any, anysafe
| tlsauth_type | mask | none, srp
| tlsauth_username | string |
| tlsauth_password | string |
| proxyauth | mask | none, basic, digest, gssnegotiate, ntlm, digest_ie, ntlm_wb, only, any, anysafe
| autoreferer | long |
| accept_encoding | string |
| transfer_encoding | long |
| followlocation | long |
| unrestricted_auth | long |
| maxredirs | long |
| postredir | mask | post_301, post_302
| put | long |
| post | long |
| postfields | string |
| postfieldsize | long |
| postfieldsize_large | long long |
| copypostfields | string |
| referer | string |
| useragent | string |
| cookie | string |
| cookiefile | string |
| cookiejar | string |
| cookiesession | long |
| cookielist | string |
| httpget | long |
| http_version | long | none, 1_0, 1_1
| ignore_content_length | long |
| http_content_decoding | long |
| http_transfer_decoding | long |
| mail_from | string |
| tftp_blksize | long |
| ftpport | string |
| dirlistonly | long |
| append | long |
| ftp_use_eprt | long |
| ftp_use_epsv | long |
| ftp_use_pret | long |
| ftp_create_missing_dirs | long |
| ftp_response_timeout | long |
| ftp_alternative_to_user | string |
| ftp_skip_pasv_ip | long |
| ftpsslauth | long | default, ssl, tls
| ftp_ssl_ccc | long | ccc_none, ccc_passive, ccc_active
| ftp_account | string |
| ftp_filemethod | long | multicwd, nocwd, singlecwd
| rtsp_request | long | options, describe, announce, setup, play, pause, teardown, get_parameter, set_parameter, record, receive
| rtsp_session_id | string |
| rtsp_stream_uri | string |
| rtsp_transport | string |
| rtsp_client_cseq | long |
| rtsp_server_cseq | long |
| transfertext | long |
| proxy_transfer_mode | long |
| crlf | long |
| range | string |
| resume_from | long |
| resume_from_large | long long |
| customrequest | string |
| filetime | long |
| nobody | long |
| infilesize | long |
| infilesize_large | long long |
| upload | long |
| maxfilesize | long |
| maxfilesize_large | long long |
| timecondition | long | none, ifmodsince, ifunmodsince, lastmod
| timevalue | long |
| timeout | long |
| timeout_ms | long |
| low_speed_limit | long |
| low_speed_time | long |
| max_send_speed_large | long long |
| max_recv_speed_large | long long |
| maxconnects | long |
| fresh_connect | long |
| forbid_reuse | long |
| connecttimeout | long |
| connecttimeout_ms | long |
| ipresolve | long | whatever, v4, v6
| connect_only | long |
| use_ssl | long | none, try, control, all
| dns_servers | string |
| accepttimeout_ms | long |
| sslcert | string |
| sslcerttype | string |
| sslkey | string |
| sslkeytype | string |
| keypasswd | string |
| sslengine | string |
| sslengine_default | long |
| sslversion | long | default, tlsv1, sslv2, sslv3
| ssl_verifypeer | long |
| cainfo | string |
| issuercert | string |
| capath | string |
| crlfile | string |
| ssl_verifyhost | long |
| certinfo | long |
| random_file | string |
| egdsocket | string |
| ssl_cipher_list | string |
| ssl_sessionid_cache | long |
| krblevel | string |
| gssapi_delegation | long | none, policy_flag, flag
| ssh_auth_types | mask | none, policy_flag, flag
| ssh_host_public_key_md5 | string |
| ssh_public_keyfile | string |
| ssh_private_keyfile | string |
| ssh_knownhosts | string |
| new_file_perms | long |
| new_directory_perms | long |
|========================================
-33
View File
@@ -1,33 +0,0 @@
[[command_alias_alias]]
[command]*`alias`* Einem Befehl wird ein Alias zugewiesen::
........................................
/alias [-completion <completion>] <alias> [<command> [;<command>...]]
completion: optionale Vervollständigung für einen Alias-Befehl (Standardverhalten: Vervollständigung wird auf den Zielbefehl angewendet)
Hinweis: Mit der Variablen "%%command" kann eine Vervollständigung eines vorhandenen Befehls durchgeführt werden
alias: Name des Alias (kann mit Joker "*" beginnen oder enden um Aliase aufzulisten)
command: Name des zuzuordnenden Befehls (WeeChat- oder IRC-Befehl ohne führenden '/', mehrere Befehle müssen durch Semikolon getrennt werden)
Ohne Angabe von Argumenten werden alle definierten Aliase angezeigt.
Anmerkung: Im Befehl können Variablen genutzt werden, die dann durch den entsprechenden Wert ersetzt werden:
$n: Argument 'n' (zwischen 1 und 9)
$-m: Argumente von 1 bis 'm'
$n-: Argumente von 'n' bis zum letzten Argument
$n-m: Argumente von 'n' bis 'm'
$*: alle Argumente
$~: letztes Argument
$var: "var" ist eine lokale Variable für den jeweiligen Buffer (siehe /buffer localvar)
Beispiel: $nick, $channel, $server, $plugin, $name
Um ein Alias zu löschen wird der Befehl "/unalias" genutzt.
Beispiele:
Alias "/split" wird anlegt um damit ein Fenster horizontal zu teilen:
/alias split /window splith
Alias "/hallo" wird angelegt um in allen Channels, außer im #weechat Channel, den Text "Hallo" auszugeben:
/alias hallo /allchan -exclude=#weechat msg * Hallo
Alias "/forcejoin" wird angelegt um den IRC Befehl "forcejoin" mit einer Vervollständigung von /sajoin auszuführen:
/alias -completion %%sajoin forcejoin /quote forcejoin
........................................
-26
View File
@@ -1,26 +0,0 @@
[[command_aspell_aspell]]
[command]*`aspell`* Konfiguration für Aspell-Erweiterung::
........................................
/aspell enable|disable|toggle
listdict
setdict <dict>[,<dict>...]
deldict
addword [<dict>] <word>
enable: Aspell wird aktiviert
disable: Aspell wird deaktiviert
toggle: Aspell Funktionalität umschalten
listdict: die, auf dem System, installierten Wörterbücher werden aufgelistet
setdict: Wörterbuch für den aktuellen Buffer einstellen (mehrere Wörterbücher müssen durch Kommata getrennt werden)
deldict: Wörterbuch für den aktuellen Buffer entfernen
addword: fügt ein Wort in das persönliche Wörterbuch von Aspell hinzu
Eingaben die mit '/' beginnen werden nicht überprüft, davon ausgenommen sind einige Befehle (siehe /set aspell.check.commands).
Um Aspell auf alle Buffer anzuwenden sollte die Option "default_dict" genutzt und Aspell aktiviert werden:
/set aspell.check.default_dict "de_DE-neu"
/aspell enable
Die Standardtastaturbelegung zum Umschalten der Aspell Funktionalität lautet alt-s.
........................................
-40
View File
@@ -1,40 +0,0 @@
* [[option_aspell.check.commands]] *aspell.check.commands*
** Beschreibung: `durch Kommata getrennte Liste der Befehle, für die eine Rechtschreibprüfung gelten soll (Rechtschreibprüfung ist für andere Befehle deaktiviert)`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"ame,amsg,away,command,cycle,kick,kickban,me,msg,notice,part,query,quit,topic"`)
* [[option_aspell.check.default_dict]] *aspell.check.default_dict*
** Beschreibung: `Voreingestelltes Wörterbuch (oder durch Kommata getrennte Liste der Wörterbücher) welche(s) genutzt werden soll, sofern kein Wörterbuch für einen Buffer definiert wurde. Wird kein Wörterbuch angegeben dann ist Aspell in allen Buffer deaktiviert, außer es wird für einen Buffer explizit ein Wörterbuch angegeben`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
* [[option_aspell.check.during_search]] *aspell.check.during_search*
** Beschreibung: `Überprüfe Wörter während im Buffer nach einem Text gesucht wird`
** Typ: boolesch
** Werte: on, off (Standardwert: `off`)
* [[option_aspell.check.enabled]] *aspell.check.enabled*
** Beschreibung: `Aspell wird für die Eingabezeile aktiviert`
** Typ: boolesch
** Werte: on, off (Standardwert: `off`)
* [[option_aspell.check.real_time]] *aspell.check.real_time*
** Beschreibung: `Eine Korrektur findet während der Texteingabe statt (da dies langsamer ist, ist diese Funktion standardmäßig deaktiviert. Wörter werden erst überprüft sobald ein Leerzeichen dem vorangegangenen Wort folgt)`
** Typ: boolesch
** Werte: on, off (Standardwert: `off`)
* [[option_aspell.check.suggestions]] *aspell.check.suggestions*
** Beschreibung: `legt die Anzahl an Vorschlägen fest, für ein falsch geschriebenes Wort. Die Vorschläge werden in der Bar-Item "aspell_suggest", für die jeweilige(n) Sprache(n), im Buffer, angezeigt (-1 = deaktiviert die Funktion, 0 = zeigt alle verfügbaren Vorschläge an, für alle betreffenden Sprachen)`
** Typ: integer
** Werte: -1 .. 2147483647 (Standardwert: `-1`)
* [[option_aspell.check.word_min_length]] *aspell.check.word_min_length*
** Beschreibung: `Mindestlänge für ein Wort, welches auf Rechtschreibung überprüft werden soll (bei 0 werden alle Wörter überprüft)`
** Typ: integer
** Werte: 0 .. 2147483647 (Standardwert: `2`)
* [[option_aspell.look.color]] *aspell.look.color*
** Beschreibung: `Farbe in der ein Wort mit einem Rechtschreibfehler hervorgehoben werden soll`
** Typ: Farbe
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "_" für unterstrichen (Standardwert: `lightred`)
-12
View File
@@ -1,12 +0,0 @@
[[command_charset_charset]]
[command]*`charset`* Ändert den Zeichensatz für aktuellen Buffer::
........................................
/charset decode|encode <charset>
reset
decode: ändere Zeichensatz zum dekodieren
encode: ändere Zeichensatz zum kodieren
charset: wähle neuen Zeichensatz für aktuellen Buffer
reset: setze im aktuellen Buffer den Zeichensatz zurück
........................................
-10
View File
@@ -1,10 +0,0 @@
* [[option_charset.default.decode]] *charset.default.decode*
** Beschreibung: `globale Zeichendekodierung: Zeichendekodierung die für eingehende Nachrichten genutzt werden soll (sollte keine Zeichendekodierung angegeben werden, wird UTF-8 verwendet, da WeeChat UTF-8 zur internen Dekodierung nutzt)`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"iso-8859-1"`)
* [[option_charset.default.encode]] *charset.default.encode*
** Beschreibung: `globale Zeichenkodierung: Zeichenkodierung die für ausgehende Nachrichten genutzt werden soll (sollte keine Zeichenkodierung angegeben werden, wird UTF-8 verwendet, da WeeChat UTF-8 zur internen Kodierung nutzt)`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
-36
View File
@@ -1,36 +0,0 @@
[[command_demo_demo_buffer]]
[command]*`demo_buffer`* Öffne einen neuen Buffer::
........................................
/demo_buffer <name>
........................................
[[command_demo_demo_info]]
[command]*`demo_info`* Hole eine Info und zeige sie an::
........................................
/demo_info <info> [<arguments>]
info: Information die dargestellt werden soll
arguments: optionale Argumente für Info
Wird der Befehl ohne Argumente aufgerufen werden alle verfügbaren Informationen angezeigt
........................................
[[command_demo_demo_infolist]]
[command]*`demo_infolist`* Hole eine Infolist und zeige sie an::
........................................
/demo_infolist <infolist> [<arguments>]
infolist: Infoliste die dargestellt werden soll
arguments: optionale Argumente für Infoliste
Wird der Befehl ohne Argumente aufgerufen werden alle verfügbaren Informationen der Infoliste angezeigt
........................................
[[command_demo_demo_printf]]
[command]*`demo_printf`* Gibt ein paar Nachrichten im aktuellen Buffer aus::
........................................
/demo_printf <text>
text: schreibt diesen Text
........................................
-21
View File
@@ -1,21 +0,0 @@
[[command_guile_guile]]
[command]*`guile`* auflisten/installieren/deinstallieren von Skripten::
........................................
/guile list|listfull [<name>]
load [-q] <filename>
autoload
reload|unload [-q] [<name>]
list: installierte Skripten werden aufgelistet
listfull: detaillierte Auflistung aller installierten Skripten
load: installiert ein Skript
autoload: installiert automatisch alle Skripten aus dem "autoload" Verzeichnis
reload: ein Skript wird erneut installiert (wird kein Name angegeben, dann werden alle Skripten entfernt und erneut installiert)
unload: deinstalliert ein Skript (wird kein Name angegeben, dann werden alle Skripten deinstalliert)
filename: Skript (Datei) welches geladen werden soll
name: Name eines Skriptes (der Name der in der "register" Funktion der Skript-API genutzt wird)
-q: unterdrückter Modus: Es werden keine Nachrichten ausgegeben
Ohne Angabe eines Argumentes listet dieser Befehl alle geladenen Skripten auf.
........................................
-770
View File
@@ -1,770 +0,0 @@
[[command_irc_admin]]
[command]*`admin`* Information über den Server-Administrator abfragen::
........................................
/admin [<target>]
target: Server
........................................
[[command_irc_allchan]]
[command]*`allchan`* Führt einen Befehl aus der an alle Channels gesendet wird, die mit einem Server verbunden sind::
........................................
/allchan [-current] [-exclude=<channel>[,<channel>...]] <command> [<arguments>]
-current: führt einen Befehl aus der an alle Channels des aktuellen Servers gesendet wird
-exclude: dient zum Ausschluss ausgewählter Channels ('*' wird zu Beginn oder am Ende des Channel-Namens akzeptiert, um mehrere Channels auszuschließen)
command: Befehl der ausgeführt werden soll
arguments: Argumente des Befehls
Beispiele:
Führe den Befehl '/me Ich teste gerade etwas...' für alle Channels aus:
/allchan me Ich teste gerade etwas...
Schicke 'Hallo Welt' an jeden Channel, ausgenommen an den #weechat Channel:
/allchan -exclude=#weechat msg * Hallo Welt
Schicke 'Hallo Welt' an jeden Channel, ausgenommen an den #weechat Channel und Channels die mit #linux beginnen:
/allchan -exclude=#weechat,#linux* msg * Hallo Welt
........................................
[[command_irc_allserv]]
[command]*`allserv`* führt einen Befehl aus, der zu allen verbundenen Server gesendet wird::
........................................
/allserv [-exclude=<server>[,<server>...]] <command> [<arguments>]
-exclude: dient zum Ausschluss ausgewählter Server ('*' wird zu Beginn oder am Ende des Servernamens akzeptiert, um mehrere Server auszuschließen)
command: Befehl der ausgeführt werden soll
arguments: Argumente des Befehls
Beispiele:
Ändere den Nick auf allen Servern:
/allserv nick newnick
Setzt den Status, auf allen Servern,auf abwesend:
/allserv away I'm away
........................................
[[command_irc_ban]]
[command]*`ban`* Nicknamen oder Hosts sperren/verbannen::
........................................
/ban [<channel>] [<nick> [<nick>...]]
channel: Channel in dem der Bann ausgeführt werden soll
nick: User oder Host für den der Bann gelten soll
Ohne Angabe von Argumenten wird die Ban-Liste für den aktuellen Channel angezeigt.
........................................
[[command_irc_connect]]
[command]*`connect`* Mit IRC-Server(n) verbinden::
........................................
/connect <server> [<server>...] [-<option>[=<value>]] [-no<option>] [-nojoin] [-switch]
-all|-auto|-open [-nojoin] [-switch]
server: Name des Servers (folgende Möglichkeiten bestehen):
- intern genutzter Servername, zu dem eine Verbindung aufgebaut werden soll (Der Server sollte zuerst mittels "/server add" angelegt werden)
- Hostname/Port oder IP/Port (damit wird lediglich ein TEMPORÄRER Server erstellt), Port 6667 wird standardmäßig verwendet
- URL mit folgendem Format: irc[6][s]://[nickname[:password]@]irc.example.org[:port][/#channel1][,#channel2[...]]
option: legt Option für den Server fest (die Boolean-Optionen können weggelassen werden)
nooption: deaktiviert eine Boolean Option (Beispiel: -nossl)
-all: Verbindung wird zu den Servern hergestellt, für die eine Konfiguration vorhanden ist
-auto: Verbindung zu den Servern herstellen, für die die Option "autoconnect" aktiviert ist
-open: stellt eine Verbindung zu allen geöffneten Servern her, zu denen aktuell aber keine Verbindung besteht
-nojoin: Channel(s) werden nicht betreten (auch falls die Funktion "autojoin" aktiviert sein sollte)
-switch: wechselt zur nächsten Server-Adresse
Beispiele:
/connect freenode
/connect irc.oftc.net/6667
/connect irc6.oftc.net/6667 -ipv6
/connect irc6.oftc.net/6697 -ipv6 -ssl
/connect my.server.org/6697 -ssl -password=test
/connect irc://nick@irc.oftc.net/#channel
/connect -switch
........................................
[[command_irc_ctcp]]
[command]*`ctcp`* CTCP-Nachricht verschicken::
........................................
/ctcp <target> <type> [<arguments>]
target: User oder Channel an welchen eine CTCP-Nachricht geschickt werden soll
type: CTCP-Nachricht (z.B. "version", "ping", ..)
arguments: Argumente für CTCP
........................................
[[command_irc_cycle]]
[command]*`cycle`* Einen Channel verlassen und wieder betreten::
........................................
/cycle [<channel>[,<channel>...]] [<message>]
channel: Name des Channels
message: Nachricht beim Verlassen des Channels (die den anderen Usern im Channel angezeigt wird)
........................................
[[command_irc_dcc]]
[command]*`dcc`* Startet DCC Verbindung (Datentransfer oder einen Direktchat)::
........................................
/dcc chat <nick>
send <nick> <file>
nick: Empfänger einer Datei bzw. eines Chats
file: zu versendende (lokal vorliegende) Datei
Beispiel:
Sendet eine Chat-Anfrage an den User "toto"
/dcc chat toto
Sendet die Datei "/home/foo/bar.txt" an den User "toto"
/dcc send toto /home/foo/bar.txt
........................................
[[command_irc_dehalfop]]
[command]*`dehalfop`* halb-Operator-Privilegien einem oder mehreren Nick(s) entziehen::
........................................
/dehalfop <nick> [<nick>...]
........................................
[[command_irc_deop]]
[command]*`deop`* Operator-Privilegien einem oder mehreren Nicknamen entziehen::
........................................
/deop <nick> [<nick>...]
........................................
[[command_irc_devoice]]
[command]*`devoice`* Voice-Privilegien einem oder mehreren Nicknamen entziehen::
........................................
/devoice <nick> [<nick>...]
........................................
[[command_irc_die]]
[command]*`die`* Server herunterfahren::
........................................
/die [<target>]
target: Servername
........................................
[[command_irc_disconnect]]
[command]*`disconnect`* Verbindung zu einem oder mehreren IRC-Server(n) trennen::
........................................
/disconnect [<server>|-all|-pending [<reason>]]
server: Name des Servers zu dem die Verbindung getrennt werden soll
-all: Verbindung zu allen Servern trennen
-pending: bricht eine automatische Wiederverbindung für Server ab, zu denen gerade eine Wiederverbindung aufgebaut werden soll
reason: Begründung der Trennung
........................................
[[command_irc_halfop]]
[command]*`halfop`* halb-Operator Status an Nick(s) vergeben::
........................................
/halfop <nick> [<nick>...]
........................................
[[command_irc_ignore]]
[command]*`ignore`* Ignoriert Nicks/Hosts von Channels oder Servern::
........................................
/ignore list
add [re:]<nick> [<server> [<channel>]]
del <number>|-all
list: zeigt alle Ignorierungen an
add: fügt eine Ignorierung hinzu
nick: Nick oder Hostname (dies kann ein regulärer Ausdruck sein, sofern "re:" angegeben wird oder eine Maske mittels "*" genutzt wird um ein oder mehrere Zeichen zu ersetzen)
del: entfernt eine Ignorierung
number: Nummer der Ignorierung die entfernt werden soll (nutze "list" um den entsprechenden Eintrag zu finden)
-all: entfernt alle Einträge
server: interner Name des Server auf welchem die Ignorierung statt finden soll
channel: Name des Channel, in dem die Ignorierung statt finden soll
Hinweis: Um zwischen Groß-und Kleinschreibung zu unterscheiden muss am Wortanfang "(?-i)" genutzt werden.
Beispiele:
ignoriert den Nick "toto" global:
/ignore add toto
ignoriert den Host "toto@domain.com" auf dem freenode Server:
/ignore add toto@domain.com freenode
ignoriert den Host "toto*@*.domain.com" im Chat freenode/#weechat:
/ignore add toto*@*.domain.com freenode #weechat
........................................
[[command_irc_info]]
[command]*`info`* Information über den Server abfragen::
........................................
/info [<target>]
target: Servername
........................................
[[command_irc_invite]]
[command]*`invite`* Eine Person in einen Channel einladen::
........................................
/invite <nick> [<nick>...] [<channel>]
nick: Nick welcher eingeladen werden soll
channel: Channel für den die Einladung gelten soll
........................................
[[command_irc_ison]]
[command]*`ison`* Überprüft ob ein Nick gegenwärtig auf IRC angemeldet ist::
........................................
/ison <nick> [<nick>...]
nick: Nickname
........................................
[[command_irc_join]]
[command]*`join`* einen Channel betreten::
........................................
/join [-noswitch] [-server <server>] [<channel1>[,<channel2>...]] [<key1>[,<key2>...]]
-noswitch: es wird nicht zu dem angegebenen Channel gewechselt
server: an angegebenen Server (interner Name) senden
channel: Name des Channels, der betreten werden soll
key: Zugriffsschlüssel für einen Channel (Channel, die einen Zugriffsschlüssel benötigen, müssen zuerst aufgeführt werden)
Beispiele:
/join #weechat
/join #geschützter_Channel,#weechat Zugriffsschlüssel
/join -server freenode #weechat
/join -noswitch #weechat
........................................
[[command_irc_kick]]
[command]*`kick`* Einen User aus einem Channel herauswerfen::
........................................
/kick [<channel>] <nick> [<reason>]
channel: Channel in dem der Benutzers sich befindet
nick: Nick der rausgeworfen werden soll
reason: Begründung für den Rauswurf
........................................
[[command_irc_kickban]]
[command]*`kickban`* wirft jemanden aus dem Channel und verbannt ihn::
........................................
/kickban [<channel>] <nick> [<reason>]
channel: Channel in dem sich der User befindet
nick: Nickname der rausgeworfen und gebannt werden soll
reason: Begründung weshalb der User rausgeworfen wurde
Es ist möglich kick/ban mittels einer Maske durchzuführen. Der Nick wird aus der Maske heraus gefiltert und durch Joker ("*") ersetzt.
Beispiel:
Sperre "*!*@host.com" und kicke dann "toto":
/kickban toto!*@host.com
........................................
[[command_irc_kill]]
[command]*`kill`* Beende Client-Server Verbindung::
........................................
/kill <nick> <reason>
nick: Nickname, der Person, die rausgeworfen werden soll
reason: Begründung für den Rauswurf
........................................
[[command_irc_links]]
[command]*`links`* alle Servernamen auflisten die dem antwortenden Server bekannt sind::
........................................
/links [[<server>] <server_mask>]
server: dieser Server soll die Anfrage beantworten
server_mask: die aufzulistenden Server sollen diesem Muster entsprechen
........................................
[[command_irc_list]]
[command]*`list`* Channels mit ihrem Thema auflisten::
........................................
/list [<channel>[,<channel>...]] [<server>] [-re <regex>]
channel: aufzulistender Channel
server: Servername
regexp: regulärer Ausdruck der auf die Ausgabe angewendet werden soll (zwischen Groß- und Kleinschreibung wird nicht unterschieden. Um zwischen Groß- und Kleinschreibung zu unterscheiden muss zu Beginn "(?-i)" genutzt werden)
Beispiele:
listet alle Channels des Servers auf (dies kann bei großen Netzwerken sehr lange dauern):
/list
listet den Channel #weechat auf:
/list #weechat
listet alle Channels auf die mit "#weechat" beginnen (dies kann bei großen Netzwerken sehr lange dauern):
/list -re #weechat.*
........................................
[[command_irc_lusers]]
[command]*`lusers`* Statistik über die Größe des IRC-Netzwerks abfragen::
........................................
/lusers [<mask> [<target>]]
mask: ausschließlich Server, die diesem Muster entsprechen
target: Server, der die Anfrage weiterleiten soll
........................................
[[command_irc_map]]
[command]*`map`* Zeigt das IRC Netzwerk, in Form einer Baumstruktur, an::
........................................
........................................
[[command_irc_me]]
[command]*`me`* eine CTCP ACTION an den aktuellen Channel senden::
........................................
/me <message>
message: zu sendende Nachricht
........................................
[[command_irc_mode]]
[command]*`mode`* Modus von einem Channel oder User ändern::
........................................
/mode [<channel>] [+|-]o|p|s|i|t|n|m|l|b|e|v|k [<arguments>]
<nick> [+|-]i|s|w|o
Channel-Modi:
channel: zu ändernder Channel (standardmäßig der erste Channel)
o: vergebt oder entzieht Operator Privilegien
p: privater Channel
s: geheimer Channel
i: geschlossener Channel (Zutritt nur mit Einladung)
t: nur Operatoren dürfen das Thema setzen
n: keine Nachrichten von außerhalb des Channels zulassen
m: moderierter Channel (schreiben nur mit Voice)
l: maximale Anzahl an Usern im Channel festlegen
b: Bannmaske für zu sperrende User (in nick!ident@host-Form)
e: legt Ausnahmemaske fest
v: vergibt oder entzieht Voice (d.h. Schreibrechte bei moderierten Channels)
k: legt ein Passwort für den Channel fest
User-Modi:
nick: zu ändernder Nickname
i: User als unsichtbar kennzeichnen
s: User empfängt Server-Nachrichten
w: User empfängt WALLOPS
o: User ist Channel-Operator
Die Liste der hier dargestellten Modi ist nicht vollständig. Es sollte die Dokumentation des jeweiligen Servers zu Rate gezogen werden um alle verfügbaren Modi zu erfahren.
Beispiele:
schützt das Thema des Channels #weechat:
/mode #weechat +t
um sich auf dem Server unsichtbar machen:
/mode nick +i
........................................
[[command_irc_motd]]
[command]*`motd`* Die "Mitteilung des Tages" abfragen::
........................................
/motd [<target>]
target: Servername
........................................
[[command_irc_msg]]
[command]*`msg`* Nachricht an Nick/Channel verschicken::
........................................
/msg [-server <server>] <target>[,<target>...] <text>
server: schicke an diesen Server (interner Servername)
target: Nick oder Channel (darf eine Maske sein, '*' = aktueller Channel)
text: zu sendender Text
........................................
[[command_irc_names]]
[command]*`names`* Nicknamen in Channels auflisten::
........................................
/names [<channel>[,<channel>...]]
channel: Name des Channels
........................................
[[command_irc_nick]]
[command]*`nick`* derzeitigen Nicknamen ändern::
........................................
/nick [-all] <nick>
-all: Nickname auf allen verbundenen Servern ändern
nick: neuer Nickname
........................................
[[command_irc_notice]]
[command]*`notice`* Mitteilung (notice) an einen User verschicken::
........................................
/notice [-server <server>] <target> <text>
server: an diesen Server senden (interner Name)
target: Nickname oder Channel
text: zu sendender Text
........................................
[[command_irc_notify]]
[command]*`notify`* fügt eine Benachrichtigung für An- oder Abwesenheit von Nicks auf Servern hinzu::
........................................
/notify add <nick> [<server> [-away]]
del <nick>|-all [<server>]
add: fügt eine Benachrichtigung hinzu
nick: Nickname
server: interner Name des Servers (Standard: aktueller Server)
-away: gibt eine Benachrichtigung aus, falls sich die Abwesenheitsnachricht ändert (der Nick wird mittels whois abgefragt)
del: entfernt eine Benachrichtigung
-all: entfernt alle Benachrichtigungen
Ohne Angabe von Argumenten werden alle Benachrichtigungen für den aktuellen Server angezeigt (um alle Server abzufragen muss der Befehl im Core Buffer ausgeführt werden).
Beispiele:
Benachrichtigung falls sich "toto" am aktuellen Server an- oder abmeldet:
/notify add toto
Benachrichtigung falls sich "toto" am freenode Server an- oder abmeldet:
/notify add toto freenode
Benachrichtigung falls "toto" den Befehl away am freenode Server nutzt:
/notify add toto freenode -away
........................................
[[command_irc_op]]
[command]*`op`* Channel-Operator Status an Nicknamen vergeben::
........................................
/op <nick> [<nick>...]
........................................
[[command_irc_oper]]
[command]*`oper`* Operator Privilegien anfordern::
........................................
/oper <user> <password>
user: Username
password: Passwort
........................................
[[command_irc_part]]
[command]*`part`* Einen Channel verlassen::
........................................
/part [<channel>[,<channel>...]] [<message>]
channel: Name des Channels welcher verlassen werden soll
message: Abschiedsnachricht (wird anderen Usern angezeigt)
........................................
[[command_irc_ping]]
[command]*`ping`* sendet einen Ping an den Server::
........................................
/ping <server1> [<server2>]
server1: Server
server2: Ping an diesen Server weiterleiten
........................................
[[command_irc_pong]]
[command]*`pong`* Auf Ping antworten::
........................................
/pong <daemon> [<daemon2>]
Daemon: Daemon welcher auf die Ping-Nachricht geantwortet hat
Daemon2: Nachricht an diesen Daemon weiterleiten
........................................
[[command_irc_query]]
[command]*`query`* Eine private Nachricht an einen Nick schicken::
........................................
/query [-server <server>] <nick> [<text>]
server: an diesen Server senden (interner Name)
nick: Nickname für privaten Chat
text: Text der gesendet werden soll
........................................
[[command_irc_quiet]]
[command]*`quiet`* Nicks oder Hosts das Wort entziehen (User können im Channel erst schreiben, wenn sie "+v" oder höher besitzen)::
........................................
/quiet [<channel>] [<nick> [<nick>...]]
channel: Channel in dem jemanden das Wort entzogen werden soll
nick: User oder Host dem das Wort entzogen werden soll
Ohne Angabe von Argumenten wird, für den aktuellen Channel, eine Liste ausgegeben mit den User/Hosts denen das Wort entzogen worden ist.
........................................
[[command_irc_quote]]
[command]*`quote`* Daten direkt an Server senden (siehe RFC 2812)::
........................................
/quote [-server <server>] <data>
server: an diesen Server senden (interner Name wird genutzt)
data: unbearbeitete (RAW) Daten die gesendet werden sollen
........................................
[[command_irc_reconnect]]
[command]*`reconnect`* Mit einem oder mehreren Server(n) erneut verbinden::
........................................
/reconnect <server> [<server>...] [-nojoin] [-switch]
-all [-nojoin] [-switch]
server: Servername zu welchem neu verbunden werden soll
-all: mit allen Servern neu verbinden
-nojoin: Channels werden nicht betreten (auch falls autojoin für diesen Server aktiviert ist)
-switch: wechselt zur nächsten Server-Adresse
........................................
[[command_irc_rehash]]
[command]*`rehash`* Den Server auffordern seine Konfigurationsdatei neu zu laden::
........................................
/rehash [<option>]
option: zusätzliche Option, die von manchen Servern berücksichtigt wird.
........................................
[[command_irc_restart]]
[command]*`restart`* Den Server dazu bringen sich selbst neu zu starten::
........................................
/restart [<target>]
target: Servername
........................................
[[command_irc_sajoin]]
[command]*`sajoin`* Zwingt einen User einen oder mehrere Channel zu betreten::
........................................
/sajoin <nick> <channel>[,<channel>...]
nick: Nickname
channel: Name des Channels
........................................
[[command_irc_samode]]
[command]*`samode`* Ändert den Modus des Channels ohne das Operator-Privilegien vorliegen::
........................................
/samode <channel> <mode>
Channel: Name des Channel
Mode: neuer Modus für Channel
........................................
[[command_irc_sanick]]
[command]*`sanick`* Zwingt einen User den Nick zu ändern::
........................................
/sanick <nick> <new_nick>
nick: Nickname
new_nick: neuer Nickname
........................................
[[command_irc_sapart]]
[command]*`sapart`* Zwingt einen User den oder die Channel(s) zu verlassen::
........................................
/sapart <nick> <channel>[,<channel>...]
nick: Nickname
channel: Name des Channels
........................................
[[command_irc_saquit]]
[command]*`saquit`* Zwingt einen User den Server mit Begründung zu verlassen::
........................................
/saquit <nick> <reason>
nick: Nickname
reason: Grund der Abmeldung
........................................
[[command_irc_server]]
[command]*`server`* Auflisten, Hinzufügen oder Entfernen von IRC-Servern::
........................................
/server list|listfull [<server>]
add <server> <hostname>[/<port>] [-temp] [-<option>[=<value>]] [-no<option>]
copy|rename <server> <new_name>
del|keep <server>
deloutq|jump|raw
list: listet Server auf (ohne Angabe von Argumente wird diese Liste standardmäßig ausgegeben)
listfull: listet Server mit detaillierten Informationen über jeden einzelnen Server auf
add: erstellt einen neuen Server
server: Servername, dient der internen Nutzung und zur Darstellung
hostname: Name oder IP-Adresse des Servers. Optional kann noch der Port festgelegt werden (Standard-Port: 6667). Verschiedene Ports können durch Kommata getrennt werden
temp: erstellt temporären Server (wird nicht gespeichert)
option: legt die Optionen für den Server fest (die Boolean-Optionen können weggelassen werden)
nooption: stellt die Boolean Option auf "off" (Beispiel: -nossl)
copy: erstellt eine Kopie des Servers
rename: benennt den Server um
keep: behält den Server in der Konfigurationsdatei (ausschließlich für die Nutzung bei temporären Servern)
del: entfernt einen Server
deloutq: löscht bei allen Servern alle ausgehende Nachrichten, die in der Warteschlange stehen (dies betrifft alle Nachrichten die WeeChat gerade sendet)
jump: springt zum Server-Buffer
raw: öffnet Buffer mit Roh-IRC-Daten
Beispiele:
/server listfull
/server add oftc irc.oftc.net/6697 -ssl -autoconnect
/server add oftc6 irc6.oftc.net/6697 -ipv6 -ssl
/server add freenode2 chat.eu.freenode.net/6667,chat.us.freenode.net/6667
/server add freenode3 irc.freenode.net -password=mypass
/server copy oftc oftcbis
/server rename oftc newoftc
/server del freenode
/server deloutq
........................................
[[command_irc_service]]
[command]*`service`* Einen neuen Service eintragen::
........................................
/service <nick> <reserved> <distribution> <type> <reserved> <info>
distribution: Sichtbarkeit des Services
type: für spätere Verwendung reserviert
........................................
[[command_irc_servlist]]
[command]*`servlist`* Auflistung von Services die momentan mit dem Netzwerk verbunden sind::
........................................
/servlist [<mask> [<type>]]
mask: nur zutreffende Services auflisten
type: nur Services von diesem Typ auflisten
........................................
[[command_irc_squery]]
[command]*`squery`* Nachricht an einen Service senden::
........................................
/squery <service> <text>
service: Name des Service
text: zu sendender Text
........................................
[[command_irc_squit]]
[command]*`squit`* Verbindung zum Server trennen::
........................................
/squit <server> <comment>
server: Name des Servers
comment: Trennungsgrund
........................................
[[command_irc_stats]]
[command]*`stats`* Serverstatistik abfragen::
........................................
/stats [<query> [<server>]]
query: c/h/i/k/l/m/o/y/u (siehe RFC1459)
server: Name des Servers
........................................
[[command_irc_summon]]
[command]*`summon`* Nutzer die auf dem IRC-Server arbeiten darum bitten auf den IRC-Server zu kommen::
........................................
/summon <user> [<target> [<channel>]]
user: Benutzername
target: Servername
channel: Channelname
........................................
[[command_irc_time]]
[command]*`time`* Ortszeit des Servers abfragen::
........................................
/time [<target>]
target: Zeit des angegebenen Servers abfragen
........................................
[[command_irc_topic]]
[command]*`topic`* Thema des Channels abfragen/setzen::
........................................
/topic [<channel>] [<topic>|-delete]
channel: Name des Channels
topic: Thema für den Channel
-delete: entfernt das Thema des Channels
........................................
[[command_irc_trace]]
[command]*`trace`* Route zum angegebenen Server ermitteln::
........................................
/trace [<target>]
target: Server
........................................
[[command_irc_unban]]
[command]*`unban`* Bann aufheben (Nicks oder Hosts)::
........................................
/unban [<channel>] <nick> [<nick>...]
channel: Channel in dem der Bann aufzuheben ist
nick: User oder Host für den der Bann aufzuheben ist
........................................
[[command_irc_userhost]]
[command]*`userhost`* Zeigt Informationen zu Nicknamen an::
........................................
/userhost <nick> [<nick>...]
nick: Nickname
........................................
[[command_irc_users]]
[command]*`users`* Auflistung der User die bei dem Server angemeldet sind::
........................................
/users [<target>]
target: Server
........................................
[[command_irc_version]]
[command]*`version`* Versionsinformation des Nicknamen oder Servers ermitteln (des aktuellen oder angegebenen Nick/Server)::
........................................
/version [<server>|<nick>]
server: Servername
nick: Nickname
........................................
[[command_irc_voice]]
[command]*`voice`* Voice an Nick(s) vergeben::
........................................
/voice <nick> [<nick>...]
........................................
[[command_irc_wallchops]]
[command]*`wallchops`* Nachricht an Channel-Operator verschicken::
........................................
/wallchops [<channel>] <text>
channel: Name des Channel
text: Text der versendet werden soll
........................................
[[command_irc_wallops]]
[command]*`wallops`* Nachricht an alle User schicken die den 'w'-Mode gesetzt haben::
........................................
/wallops <text>
text: Text der gesendet werden soll
........................................
[[command_irc_who]]
[command]*`who`* Sendet eine Anfrage die eine Anzahl von Informationen zurück gibt.::
........................................
/who [<mask> [o]]
mask: nur Information über betreffende Nicknamen abfragen
o: nur Operatoren ausgeben, die dem Filter entsprechen
........................................
[[command_irc_whois]]
[command]*`whois`* Information über User abfragen::
........................................
/whois [<server>] [<nick>[,<nick>...]]
server: Name des Servers (interner Servername)
nick: Nick, welcher abgefragt werden soll (kann auch eine Maske sein)
Ohne Angabe von Argumenten, nutzt /whois folgende Nicks:
- den eigenen Nick, falls es sich um einen Server/Channel Buffer handelt
- den Nick des Gesprächspartners, falls es sich um einen privaten Buffer handelt.
........................................
[[command_irc_whowas]]
[command]*`whowas`* Informationen über einen nicht mehr angemeldeten Nicknamen abfragen::
........................................
/whowas <nick>[,<nick>...] [<count> [<target>]]
nick: Nickname, welcher gesucht werden soll
count: maximale Anzahl an Antworten (negative Zahl für eine vollständige Liste)
target: Antwort soll auf diese Suchmaske zutreffen
........................................

Some files were not shown because too many files have changed in this diff Show More