1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-13 06:34: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
922 changed files with 137040 additions and 400223 deletions
-5
View File
@@ -1,5 +0,0 @@
# files/directories excluded from tarballs
.git* export-ignore
debian export-ignore
weechat.spec export-ignore
+7 -7
View File
@@ -1,6 +1,7 @@
# ignored files for Git
*.a
*.css
*.gmo
*.html
*.la
@@ -13,16 +14,12 @@
*.so
*.so.0
*.so.0.0.0
*.1
ABOUT-NLS
autom4te*
build*/*
compile
config.guess
config.h
config.h.in*
config-git.h
config.h*
config.log
config.rpath
config.status
@@ -44,9 +41,12 @@ POTFILES
remove-potcdate.sed
Rules-quot
weechat.pc
weechat-*.cygport
doc/de/build/*
doc/en/build/*
doc/fr/build/*
*stamp
stamp*
src/gui/curses/weechat
src/gui/curses/weechat-curses
src/gui/gtk/weechat-gtk
-30
View File
@@ -1,30 +0,0 @@
language: c
compiler:
- gcc
- clang
env:
- BUILDTOOL=cmake
- BUILDTOOL=autotools
before_script:
- echo 'APT::Install-Recommends "false";' | sudo tee -a /etc/apt/apt.conf
- sudo apt-get update -qq
- wget http://weechat.org/files/tests/ubuntu/precise/amd64/libcpputest-dev_3.4-3_amd64.deb
- sudo dpkg -i libcpputest-dev_3.4-3_amd64.deb
- sudo apt-get -y install devscripts equivs python-pip libenchant-dev autopoint
- sudo mk-build-deps -i debian/control
- sudo pip install msgcheck pylint
script:
- ./scripts/build.sh
- msgcheck po/*.po
- pylint doc/docgen.py
after_success:
- weechat --help
- weechat -r /quit
matrix:
fast_finish: true
+49
View File
@@ -0,0 +1,49 @@
WeeChat Authors
===============
Developers
----------
* General code
** FlashCode <flashcode@flashtux.org>
*** Web: http://www.weechat.org/
*** IRC: 'FlashCode' on irc.freenode.net
* Scripts plugins, debian packager
** kolter <kolter@openics.org>
*** IRC: 'kolter' on irc.freenode.net
Contributors
------------
* 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
Contact
-------
Whole team is connected to IRC:
server: 'irc.freenode.net', channels: '#weechat' (english) and '#weechat-fr' (french)
See README file for license detail.
-93
View File
@@ -1,93 +0,0 @@
= WeeChat Authors
:author: Sébastien Helleu
:email: flashcode@flashtux.org
:lang: en
== Developers
* General code
** Sébastien Helleu (FlashCode) <flashcode@flashtux.org>
* Scripts plugins, debian packager
** Emmanuel Bouthenot (kolter) <kolter@openics.org>
== Contributors
Alphabetically:
* Ailin Nemui (Nei)
* Aleksey V Zapparov
* Alex Tarkovsky
* Anders Bergh
* Andrew Potter (talisein)
* Antoine Pietri (seirl)
* Asakura
* Arvydas Sidorenko
* Bazerka
* Benoit Papillault (benoit)
* Christian Heinz
* Christopher O'Neill (deltafire)
* David Flatz
* Dmitry Kobylin
* Dominik Honnef
* Elián Hanisch (m4v)
* Elizabeth Myers (Elizacat)
* Emanuele Giaquinta
* Esteban I. Ruiz Moreno (Exio)
* Felix Eckhofer
* Frank Zacharias
* Gu1ll4um3r0m41n
* Guido Berhoerster
* Gwenn
* Hasan Kiran (turgay)
* Ivan Sichmann Freitas
* Jason A. Donenfeld (zx2c4)
* JD Horelick (jdhore)
* Jim Ramsay (lack)
* Jiri Golembiovsky (GolemJ)
* Julien Louis (ptitlouis)
* Krzysztof Koroscik (soltys)
* Kyle Fuller (kylef)
* Lázaro A.
* Leonid Evdokimov
* Maarten de Vries
* Marco Paolone
* Matt Robinson
* Mantas Mikulėnas (grawity)
* Mateusz Poszwa
* Max Anton Teufel
* Murilo Opsfelder Araujo
* Nicolas Cavigneaux
* Nils Görs (nils_2)
* Odin
* Patrick Steinhardt
* Paul Komkoff
* Pavel Shevchuk (Stalwart)
* Peter Boström (pbos)
* Pierre Carru
* Piotr Szymaniak
* Pistos
* Quentin Glidic (SardemFF7)
* Quentin Pradet
* Quico Noizeux
* Rettub
* Rudolf Polzer (divVerent)
* Ryuunosuke Ayanokouzi
* Sergio Durigan Junior
* Shawn Smith
* Simon Arlott
* Simon Kuhnle
* Stefano Pigozzi
* Stfn
* Tom Alsberg
* Tor Hveem (xt)
* Valentin Lorentz (progval)
* Voroskoi
* Yannick Palanque
== Contact
Developers are connected to IRC:
* server: 'irc.freenode.net'
* channels: '#weechat' (English) and '#weechat-fr' (French)
+94 -237
View File
@@ -1,284 +1,141 @@
# Copyright (c) 2003-2010 by FlashCode <flashcode@flashtux.org>
#
# Copyright (C) 2003-2014 Sébastien 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)
cmake_minimum_required(VERSION 2.4)
project(weechat C)
SET(CMAKE_VERBOSE_MAKEFILE OFF)
SET(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake ${CMAKE_MODULE_PATH})
SET(CMAKE_SKIP_RPATH ON)
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -W -Werror-implicit-function-declaration")
IF(PREFIX)
SET(CMAKE_INSTALL_PREFIX ${PREFIX} CACHE PATH "Install path prefix" FORCE)
ENDIF(PREFIX)
# CMake options
set(CMAKE_VERBOSE_MAKEFILE OFF)
set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake ${CMAKE_MODULE_PATH})
set(CMAKE_SKIP_RPATH ON)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Werror-implicit-function-declaration")
if(PREFIX)
set(CMAKE_INSTALL_PREFIX ${PREFIX} CACHE PATH "Install path prefix" FORCE)
endif()
SET(VERSION_MAJOR "0")
SET(VERSION_MINOR "3")
SET(VERSION_PATCH "1.1")
SET(VERSION ${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH})
SET(PKG_STRING "${PROJECT_NAME} ${VERSION}")
STRING(REPLACE "\";\"" "\ " PKG_STRING ${PKG_STRING})
# version
set(VERSION_MAJOR "1")
set(VERSION_MINOR "0")
set(VERSION_PATCH "1")
if(VERSION_PATCH STREQUAL "")
set(VERSION ${VERSION_MAJOR}.${VERSION_MINOR})
else()
set(VERSION ${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH})
endif()
IF(DEFINED LIBDIR)
SET(LIBDIR ${LIBDIR}/${PROJECT_NAME})
ELSE(DEFINED LIBDIR)
SET(LIBDIR ${CMAKE_INSTALL_PREFIX}/lib/${PROJECT_NAME})
ENDIF(DEFINED LIBDIR)
# license
set(LICENSE "GPL3")
IF(NOT DEFINED SHAREDIR)
SET(SHAREDIR ${CMAKE_INSTALL_PREFIX}/share)
ENDIF(NOT DEFINED SHAREDIR)
# package string
set(PKG_STRING "${PROJECT_NAME} ${VERSION}")
string(REPLACE "\";\"" "\ " PKG_STRING ${PKG_STRING})
IF(NOT DEFINED LOCALEDIR)
SET(LOCALEDIR ${SHAREDIR}/locale)
ENDIF(NOT DEFINED LOCALEDIR)
if(DEFINED LIBDIR)
set(LIBDIR ${LIBDIR}/${PROJECT_NAME})
else()
set(LIBDIR ${CMAKE_INSTALL_PREFIX}/lib/${PROJECT_NAME})
endif()
IF(DEFINED INCLUDEDIR)
SET(INCLUDEDIR ${INCLUDEDIR}/${PROJECT_NAME})
ELSE(DEFINED INCLUDEDIR)
SET(INCLUDEDIR ${CMAKE_INSTALL_PREFIX}/include/${PROJECT_NAME})
ENDIF(DEFINED INCLUDEDIR)
if(NOT DEFINED SHAREDIR)
set(SHAREDIR ${CMAKE_INSTALL_PREFIX}/share)
endif()
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 MANDIR)
set(MANDIR ${SHAREDIR}/man)
endif()
IF(NOT DISABLE_NLS)
ADD_SUBDIRECTORY( po )
ENDIF(NOT DISABLE_NLS)
if(NOT DEFINED LOCALEDIR)
set(LOCALEDIR ${SHAREDIR}/locale)
endif()
ADD_SUBDIRECTORY( src )
ADD_SUBDIRECTORY( doc )
if(DEFINED INCLUDEDIR)
set(INCLUDEDIR ${INCLUDEDIR}/${PROJECT_NAME})
else()
set(INCLUDEDIR ${CMAKE_INSTALL_PREFIX}/include/${PROJECT_NAME})
endif()
CONFIGURE_FILE(config.h.cmake config.h @ONLY)
option(ENABLE_NCURSES "Enable Ncurses interface" ON)
option(ENABLE_NLS "Enable Native Language Support" ON)
option(ENABLE_GNUTLS "Enable SSLv3/TLS support" ON)
option(ENABLE_LARGEFILE "Enable Large File Support" ON)
option(ENABLE_ALIAS "Enable Alias plugin" ON)
option(ENABLE_ASPELL "Enable Aspell plugin" ON)
option(ENABLE_ENCHANT "Enable Enchant lib for Aspell plugin" OFF)
option(ENABLE_CHARSET "Enable Charset plugin" ON)
option(ENABLE_EXEC "Enable Exec plugin" ON)
option(ENABLE_FIFO "Enable FIFO plugin" ON)
option(ENABLE_IRC "Enable IRC plugin" ON)
option(ENABLE_LOGGER "Enable Logger plugin" ON)
option(ENABLE_RELAY "Enable Relay plugin" ON)
option(ENABLE_SCRIPT "Enable Script plugin (scripts manager)" ON)
option(ENABLE_SCRIPTS "Enable script plugins (perl, python, ...)" ON)
option(ENABLE_PERL "Enable Perl scripting language" ON)
option(ENABLE_PYTHON "Enable Python scripting language" ON)
option(ENABLE_PYTHON3 "Use Python 3.x if found (NOT recommended)" 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_TRIGGER "Enable Trigger plugin" ON)
option(ENABLE_XFER "Enable Xfer plugin" ON)
option(ENABLE_MAN "Enable build of man page" OFF)
option(ENABLE_DOC "Enable build of documentation" OFF)
option(ENABLE_TESTS "Enable tests" OFF)
CONFIGURE_FILE(
"${CMAKE_CURRENT_SOURCE_DIR}/cmake/makedist.sh.in"
"${CMAKE_CURRENT_BINARY_DIR}/makedist.sh" IMMEDIATE
@ONLY)
# option WEECHAT_HOME
if(NOT DEFINED WEECHAT_HOME OR "${WEECHAT_HOME}" STREQUAL "")
set(WEECHAT_HOME "~/.weechat")
endif()
set(WEECHAT_HOME "${WEECHAT_HOME}" CACHE
STRING "WeeChat home directory for config, logs, scripts.. (default is \"~/.weechat\")"
FORCE)
mark_as_advanced(CLEAR WEECHAT_HOME)
# option CA_FILE
if(NOT DEFINED CA_FILE OR "${CA_FILE}" STREQUAL "")
set(CA_FILE "/etc/ssl/certs/ca-certificates.crt")
endif()
set(CA_FILE "${CA_FILE}" CACHE
STRING "File containing the certificate authorities (default is \"/etc/ssl/certs/ca-certificates.crt\"). This is the default value of option \"weechat.network.gnutls_ca_file\"."
FORCE)
mark_as_advanced(CLEAR CA_FILE)
if(COMMAND cmake_policy)
if(POLICY CMP0003)
cmake_policy(SET CMP0003 NEW)
endif()
if(POLICY CMP0017)
cmake_policy(SET CMP0017 NEW)
endif()
endif()
add_definitions(-DHAVE_CONFIG_H)
include(CheckIncludeFiles)
include(CheckFunctionExists)
include(CheckSymbolExists)
check_include_files("langinfo.h" HAVE_LANGINFO_CODESET)
check_include_files("sys/resource.h" HAVE_SYS_RESOURCE_H)
check_function_exists(mallinfo HAVE_MALLINFO)
check_symbol_exists("eat_newline_glitch" "term.h" HAVE_EAT_NEWLINE_GLITCH)
# Check for Large File Support
if(ENABLE_LARGEFILE)
add_definitions(-D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_LARGE_FILES)
endif()
# Check for Gettext
if(ENABLE_NLS)
find_package(Gettext)
if(GETTEXT_FOUND)
add_definitions(-DENABLE_NLS)
endif()
endif()
# Check for libgcrypt
find_package(GCRYPT REQUIRED)
add_definitions(-DHAVE_GCRYPT)
list(APPEND EXTRA_LIBS ${GCRYPT_LDFLAGS})
# Check for GnuTLS
if(ENABLE_GNUTLS)
find_package(GnuTLS)
if(GNUTLS_FOUND)
string(REGEX REPLACE "/[^/]*$" "" GNUTLS_LIBRARY_PATH "${GNUTLS_LIBRARY}")
add_definitions(-DHAVE_GNUTLS)
include_directories(${GNUTLS_INCLUDE_PATH})
set(CMAKE_C_LINK_FLAGS "${CMAKE_C_LINK_FLAGS} -L${GNUTLS_LIBRARY_PATH}")
list(APPEND EXTRA_LIBS gnutls)
endif()
endif()
# Check for zlib
find_package(ZLIB REQUIRED)
add_definitions(-DHAVE_ZLIB)
# Check for iconv
find_package(Iconv)
if(ICONV_FOUND)
add_definitions(-DHAVE_ICONV)
endif()
# Check for CURL
find_package(CURL REQUIRED)
# weechat_gui_common MUST be the first lib in the list
set(STATIC_LIBS weechat_gui_common)
find_library(DL_LIBRARY
NAMES dl
PATHS /lib /usr/lib /usr/libexec /usr/local/lib /usr/local/libexec
)
list(APPEND STATIC_LIBS weechat_plugins)
if(DL_LIBRARY)
string(REGEX REPLACE "/[^/]*$" "" DL_LIBRARY_PATH "${DL_LIBRARY}")
set(CMAKE_C_LINK_FLAGS "${CMAKE_C_LINK_FLAGS} -L${DL_LIBRARY_PATH}")
list(APPEND EXTRA_LIBS dl)
endif()
if(ENABLE_NLS)
add_subdirectory(po)
endif()
add_subdirectory(src)
add_subdirectory(doc)
if(ENABLE_TESTS)
enable_testing()
add_subdirectory(tests)
endif()
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}/scripts/git-version.sh" "${CMAKE_CURRENT_SOURCE_DIR}" "${VERSION}" "config-git.h"
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}")
configure_file(
CONFIGURE_FILE(
"${CMAKE_CURRENT_SOURCE_DIR}/cmake/cmake_uninstall.cmake.in"
"${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake"
IMMEDIATE @ONLY)
add_custom_target(uninstall
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" "${CMAKE_CURRENT_BINARY_DIR}"
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
ADD_CUSTOM_TARGET(dist
"${CMAKE_BINARY_DIR}/makedist.sh"
DEPENDS doc
WORKING_DIRECTORY ${CMAKE_BINARY_DIR})
# pkgconfig file
set(PACKAGE "${PROJECT_NAME}")
set(prefix "${CMAKE_INSTALL_PREFIX}")
set(exec_prefix "\${prefix}")
set(libdir "\${exec_prefix}/lib")
set(includedir "\${prefix}/include")
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/weechat.pc.in ${CMAKE_CURRENT_BINARY_DIR}/weechat.pc @ONLY)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat.pc DESTINATION ${LIBDIR}/../pkgconfig)
# cygport file (used to build Cygwin packages)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/weechat.cygport.in ${CMAKE_CURRENT_BINARY_DIR}/weechat-${VERSION}-1.cygport @ONLY)
# install some files (only on Cygwin)
if(CYGWIN)
install(FILES
${CMAKE_CURRENT_SOURCE_DIR}/AUTHORS.asciidoc
${CMAKE_CURRENT_SOURCE_DIR}/ChangeLog.asciidoc
${CMAKE_CURRENT_SOURCE_DIR}/Contributing.asciidoc
${CMAKE_CURRENT_SOURCE_DIR}/README.asciidoc
${CMAKE_CURRENT_SOURCE_DIR}/ReleaseNotes.asciidoc
DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME})
endif()
# icon
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/weechat.png DESTINATION ${SHAREDIR}/icons/hicolor/32x32/apps)
SET(PACKAGE "${PROJECT_NAME}")
SET(prefix "${CMAKE_INSTALL_PREFIX}")
SET(exec_prefix "\${prefix}")
SET(libdir "\${exec_prefix}/lib")
SET(includedir "\${prefix}/include")
CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/weechat.pc.in ${CMAKE_CURRENT_BINARY_DIR}/weechat.pc @ONLY)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat.pc DESTINATION ${LIBDIR}/../pkgconfig)
# packages
set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Fast, light and extensible chat client")
set(CPACK_PACKAGE_VENDOR "Sébastien Helleu")
set(CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_CURRENT_SOURCE_DIR}/README.asciidoc")
set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/COPYING")
set(CPACK_PACKAGE_VERSION_MAJOR ${VERSION_MAJOR})
set(CPACK_PACKAGE_VERSION_MINOR ${VERSION_MINOR})
set(CPACK_PACKAGE_VERSION_PATCH ${VERSION_PATCH})
SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Fast, light and extensible chat client")
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})
SET(CPACK_PACKAGE_VERSION_MINOR ${VERSION_MINOR})
SET(CPACK_PACKAGE_VERSION_PATCH ${VERSION_PATCH})
# binary package
set(CPACK_GENERATOR "STGZ;TGZ;TBZ2")
set(CPACK_PACKAGE_FILE_NAME weechat-binary-${VERSION})
SET(CPACK_GENERATOR "STGZ;TGZ;TBZ2")
SET(CPACK_PACKAGE_FILE_NAME weechat-binary-${VERSION})
# source package
set(CPACK_SOURCE_GENERATOR "TGZ;TBZ2")
set(CPACK_SOURCE_PACKAGE_FILE_NAME weechat-${VERSION})
set(CPACK_SOURCE_IGNORE_FILES "/\\\\.git" "/build/" "/m4/"
SET(CPACK_SOURCE_GENERATOR "TGZ;TBZ2")
SET(CPACK_SOURCE_PACKAGE_FILE_NAME weechat-${VERSION})
SET(CPACK_SOURCE_IGNORE_FILES "/\\\\.git" "/build/" "/m4/"
"/autom4te\\\\.cache/" "/ABOUT-NLS$" "/config\\\\.guess$" "/config\\\\.h$"
"/config\\\\.h.in$" "/config\\\\.log$" "/config\\\\.rpath$"
"/config\\\\.status$" "/config\\\\.sub$" "/configure$" "/depcomp$"
"/install-sh$" "/missing$" "/intl/" "/libtool$" "/\\\\.libs/"
"/ltmain\\\\.sh$" "/\\\\.deps/" "/html/" "/html1/" "/Makefile$"
"/Makefile\\\\.in$" "stamp" "/po/.*\\\\.header$" "\\\\.gmo$" "~$" "\\\\.o$"
"\\\\.lo$" "\\\\.a$" "\\\\.la$" "\\\\.lai$" "\\\\.Plo$" "/weechat$"
"\\\\.lo$" "\\\\.a$" "\\\\.la$" "\\\\.lai$" "\\\\.Plo$" "/weechat-curses$"
"/weechat-gtk$"
)
include(CPack)
INCLUDE(CPack)
+869
View File
@@ -0,0 +1,869 @@
WeeChat ChangeLog
=================
FlashCode <flashcode@flashtux.org>
v0.3.1.1, 2010-01-31
Version 0.3.1.1 (2010-01-31)
----------------------------
* irc: fix crash with SSL connection if option ssl_cert is set (bug #28752)
* irc: fix bug with SSL connection (fails sometimes when ssl_verify is on)
(bug #28741)
* irc: fix compilation with old GnuTLS versions (bug #28723)
* xfer: fix crash when purging old xfer chats (bug #28764)
Version 0.3.1 (2010-01-23)
--------------------------
* core: fix bug with script installation on BSD/OSX (patch #6980)
* core: add option grab_key_command for /input (bound by default to alt-k)
* core: fix compilation under Cygwin (patch #6916)
* core: fix cmake directories: let user customize lib, share, locale and include
directories (patch #6922)
* core: fix plural form in translation files (bug #27430)
* core: fix terminal title bug: do not reset it when option
weechat.look.set_title is off (bug #27399)
* core: fix buffer used by some input functions called via plugin API with
buffer pointer (bug #28152)
* alias: new expansions for alias arguments ($n, $-m, $n-, $n-m, $*, $~)
(patch #6917)
* alias: allow use of wildcards for /alias list (patch #6925)
* alias: allow /unalias to remove multiple aliases (patch #6926)
* alias: fix bug with buffer for execution of alias, when called from plugin API
with function "command" (bug #27697)
* alias: fix bug with arguments (bug #27440)
* irc: add new commands /allchan and /allserv with excluding option, commands
/ame and /amsg are now aliases, new aliases /aaway and /anick
* irc: add options to customize target buffer for messages (task #7381)
* irc: add new output queue for messages with low priority (like automatic CTCP
replies), high priority is given to user messages or commands
* irc: use self-signed certificate to auto identify on IRC server (CertFP)
(task #7492, debian #453348)
* irc: check SSL certificates (task #7492)
* irc: add option "autorejoin_delay" for servers (task #8771)
* irc: add option to use same nick color in channel and private (task #9870)
* irc: add missing command 275 (patch #6952)
* irc: add commands /sajoin, /samode, /sanick, /sapart, /saquit (task #9770)
* irc: add options for CTCP, to block/customize CTCP reply (task #9693)
* irc: add missing CTCP: clientinfo, finger, source, time, userinfo (task #7270)
* irc: add all server options for commands /server and /connect
* irc: add arguments for command /rehash
* irc: improve error management on socket error (recv/send)
* irc: improve mask used by command /kickban
* irc: fix nick color for nicks with wide chars (bug #28547)
* irc: fix autorejoin on channels with key
* irc: fix command /connect (options -ssl, -ipv6 and -port) (bug #27486)
* xfer: add color for nicks in chat
* xfer: add missing command /me (bug #28658)
* xfer: add missing charset decoding/encoding for IRC DCC chat (bug #27482)
* ruby: support of Ruby >= 1.9.1 (patch #6989)
* fifo: remove old pipes before creating new pipe
* gui: add color "darkgray", add support for background with light color
* gui: fix color "black" (bug #23882, debian #512957)
* gui: fix message "Day changed to", sometimes displayed at wrong time
(bug #26959)
* gui: fix bug with URL selection in some terminals (caused by horizontal lines)
(bug #27700)
* gui: use default auto completion for arguments of unknown commands
* gui: fix alignment problem for buffer name when a merged buffer is closed
(bug #27617)
* gui: update hotlist when a buffer is closed (bug #27470), remove buffer from
hotlist when buffer is cleared (bug #27530)
* gui: fix /input history_global_next: reset input content when last command in
history is reached
* api: fix function weechat_bar_set for python/lua/ruby (patch #6912)
Version 0.3.0 (2009-09-06)
--------------------------
* irc: add irc plugin (replaces old IRC code in core) (task #6217)
* irc: add smart join/part/quit message filter (task #8503)
* irc: use of many addresses for servers (auto-switch when a connexion fails),
nicks are now set with one option "nicks" (task #6088)
* irc: add some colors in messages from server (for text and nicks)
(task #8926)
* irc: add color decoding in title for IRC channels (task #6030)
* irc: fix lock with SSL servers when connection fails, and when
disconnecting during connection problem (bug #17584)
* irc: command /whois is now authorized in private without argument
(task #7482)
* irc: fix private buffer name with irssi proxy (bug #26589)
* irc: remove kernel info in CTCP VERSION reply (task #7494)
* irc: add missing commands (328, 369)
* irc: fix mode parsing when receiving modes with arguments (bug #26793)
* aspell: improve plugin: use of many dictionaries, global dictionary, real
time checking (optional), fix bugs with utf-8
* xfer: add speed limit for DCC files sending (task #6178)
* xfer: add new option "xfer.file.use_nick_in_filename" for Xfer files
(task #7140)
* relay: add relay plugin (network communication between WeeChat and remote
application)
* logger: add logger plugin with new features: backlog, level for messages to
log (task #8592), level by buffer (task #6687), filename mask by buffer,
option "name_lower_case" (bug #19522)
* alias: fix bug with alias, use current buffer to run commands (bug #22876)
* plugins: add some other plugins: alias, demo, fifo, tcl, xfer
* scripts: new scripts: weeget.py (scripts manager), jabber.py (jabber/XMPP
protocol), go.py (quick jump to buffers), buffers.pl (sidebar with list of
buffers), iset.pl (set options interactively), weetris.pl (tetris-like game),
mastermind.pl, ...
* scripts: do not auto-load hidden files (bug #21390)
* api: add hooks: command, timer, file descriptor, process, connection, print,
signal, config, completion, modifier, info, infolist
* api: new plugin API with many new functions: hooks, buffer management and
nicklist, bars, configuration files, network, infos/infolists, lists,
upgrade
* gui: new display engine, with prefix and message for each line
* gui: add new type of buffer, with free content
* gui: add tags for lines and custom filtering by tags or regex (task #7674)
* gui: add buffer merging (task #7404)
* gui: add custom bars, with custom items
* gui: add key to zoom a window (task #7470)
* gui: add keys to move into last visited buffers: alt + "<" and alt + ">"
* gui: come back to last visited buffer when closing a buffer
* gui: add new option scroll_page_percent to choose percent of height to scroll
with page_up and page_down keys (task #8702)
* gui: add number of lines remaining after last line displayed in "-MORE-"
indicator (task #6702)
* gui: fix completion with non-latin nicks (bug #18993)
* gui: fix display bug with some weird UTF-8 chars (bug #19687)
* gui: fix bug with wide chars in input (bug #16356)
* gui: fix bug when switching window, scrollback is now preserved
(task #7680)
* network: add support for more than one proxy, with proxy selection for each
IRC server (task #6859)
* network: fix network connection for hostnames resolving to several IPs: try
all IPs in list until one succeeds (bug #21473, debian #498610)
* core: add group support in nicklist
* core: improve main loop: higher timout in select(), less CPU usage
* core: add /reload command to reload WeeChat and plugins config files (signal
SIGHUP is catched to reload config files)
* core: add new /layout command and save_layout_on_exit config option, to
save/restore windows and buffers order (task #5453)
* core: add new options for completion, optional stop instead of cycling with
words found (task #5909)
* core: new name for configuration files (*.conf instead of *.rc)
* core: improve /set command, new command /unset (task #6085)
* core: add new input action "set_unread_current_buffer" to set unread marker
for current buffer only (task #7286)
* core: add polish translation (thanks to Soltys)
* core: remove key functions, replaced by /input command
* core: add argument with buffer number/range for command "/buffer close"
(task #9390, task #7239)
* core: add new command /wait (schedule a command execution in future)
* core: fix nick completion bug (missing space after nick)
Version 0.2.6.3 (2009-06-13)
----------------------------
* fix gnutls detection (use pkg-config instead of libgnutls-config)
(bug #26790)
Version 0.2.6.2 (2009-04-18)
----------------------------
* fix bug with charset decoding (for example with iso2022jp) (bug #26228)
Version 0.2.6.1 (2009-03-14)
----------------------------
* fix crash with some special chars in IRC messages (bug #25862)
Version 0.2.6 (2007-09-06)
--------------------------
* fix bug with log of plugin messages (option log_plugin_msg)
* add new option "deloutq" to /server command to delete all servers messages
out queues (task #7221)
* fix display bug with some special chars in messages (some words were
truncated on screen) (bug #20944)
* fix UTF-8 bug with color encoding/decoding
* fix crash when searching text in buffer with ctrl-R (bug #20938)
* add string length limit for setup file options
* fix bug with flock() when home is on NFS filesystem (bug #20913)
* add option to align text of messages (except first lines) (task #7246)
* fix user modes in nicklist when ban and nick mode are received in the same
MODE message (bug #20870)
* fix IRC message 333: silently ignore message if error when parsing it
* fix server option "command_delay": does not freeze WeeChat any more
* add paste detection, new options look_paste_max_lines and col_input_actions
(task #5442)
* fix bug with highlight and UTF-8 chars around word (bug #20753)
* add swedish quickstart guide
* add support of channel mode +u (channel user) (bug #20717)
* improve /connect command to connect to a host by creating a temporary server,
add option to /server to create temporary server (task #7095)
* add "copy", "rename" and "keep" options to /server command
* allow clear of multiple selected buffers with /clear (patch #6112)
* add key for setting unread marker on all buffers (default: ctrl-S + ctrl-U)
(task #7180)
* fix nick prefix display on servers that doesn't support all prefixes
(bug #20025)
* fix terminal encoding detection when NLS is disabled (bug #20646)
* fix crash when sending data to channel or pv on disconnected server
(bug #20524)
* improve command /server ant its output
* add 3 default new keys: ctrl-B (left), ctrl-F (right), ctrl-D (delete)
* add "buffer_move" event handler to plugins API (task #6708)
* add key function "jump_previous_buffer" to jump to buffer previously
displayed (new key: alt-J + alt-P) (task #7085)
* add "%*" to completion template, to repeat last completion
* add "-nojoin" option for /connect and /reconnect commands (task #7074)
* fix bugs with IRC color in messages, now color codes are inserted in command
line with ctrl-c, ctrl-b.. instead of %C,%B,.. (bug #20222, task #7060)
* fix bug with smart nick completion (last speakers first) when a nick is
changed
* fix charset bug with channel names in status bar (bug #20400)
* add "scroll" option to /buffer command
* down key now saves input to history and clears input line (task #7049)
* fix log file when channel name contains "/" (bug #20072)
* command /away allowed when not connected to server (internally stored and
AWAY command is sent when connecting to server) (task #7003)
* add argument for /upgrade command (path to binary)
* fix bug with /topic when channel not open and topic not defined (bug #20141)
* add hotlist sort with new option "look_hotlist_sort" (task #5870)
Version 0.2.5 (2007-06-07)
--------------------------
* fix QUOTE command: now allowed when socket is ok (even if IRC connection to
server is not ok) (bug #20113)
* add missing IRC commands (327, 378, 379) (bug #20091)
* fix hotlist when exiting search mode: current buffer is removed from hotlist
* add "%M" for completion with nicks of current server (nicks on open channels)
(task #6931)
* improve key bindings: now possible to bind a key on many commands, separated
by semicolon (task #5444)
* improve IRC long message split: use word boundary (task #6685)
* remove ":" for unknown IRC commands before arguments (bug #19929)
* fix "%C" completion: now completes with all channels of all servers
* fix bug with "/buffer query_name", add server and channel completion for
/buffer command (bug #19928)
* add cmake for weechat compile (patch #5943)
* fix IRC mode parsing when receiving modes with arguments (bug #19902)
* fix crash with IRC JOIN malformed message (bug #19891)
* fix bug with nick prefixes on some IRC servers (bug #19854)
* improve setup file save: now writes temporary file, then rename it
(task #6847)
* fix bug with $nick/$channel/$server variables in commands
* forget current nick when user manually disconnects from server
* fix nick display in input window
* fix bug with erroneous nickname when connecting to server (bug #19812)
* fix display bugs in IRC error messages
* add protocol priority for gnutls (patch #5915)
* add channel admin mode "!" for some IRC servers
* fix bug with iso2022jp locale (bug #18719)
* fix string format bug when displaying string thru plugin script API
* add /reconnect command (task #5448)
* add "-all" option for /connect and /disconnect commands (task #6232)
* improve nick completion: completion with last speakers first and self nick at
the end; add option look_nick_completion_smart, enabled by default
(task #5896)
* fix nick completion in command arguments (bug #19590)
* fix possible crash with nick completion when a nick leaves channel
(bug #19589)
* add color for input text not found in buffer history
* fix USER message when connecting to IRC server (patch #5835)
Version 0.2.4 (2007-03-29)
--------------------------
* fix color bug with IRC messages displayed by plugins (bug #19442)
* fix topic charset, now using channel charset if defined (bug #19386)
* rename log file for DCC chat (now <server>.dcc.<nick>.weechatlog)
* fix crash when closing a pv if a DCC chat is open on same nick (bug #19147)
* fix bug with channel topic after reconnection (not erased) (bug #19384)
* add current buffer in hotlist when scrolling up in buffer (task #6664)
* fix bug with explode_string / free_exploded_string when max_items > 0
* add new key (ctrl-R) for interactive and incremental search in buffer
history (task #6628)
* fix /topic completion when no topic set on current channel (bug #19322)
* improve password hiding, code cleanup (bug #19229)
* add new return code in plugin API to force highlight (for message handlers
only)
* fix bug with server buffer when "look_one_server_buffer" is ON and server
buffer is moved to any number > 1 (bug #19219)
* fix /help command: displays plugin help for redefined commands (bug #19166)
* prefix "/" disabled in commands (patch #5769)
* fix completion of redefined commands removed by plugins (bug #19176)
* fix memory leaks in perl and python plugins (bug #19163)
* add "call" option to /key command, add new key function "insert" to insert
text on command line (task #6468)
* fix permissions on "dcc" and "logs" directories (bug #18978)
* add event handler to plugin API
* add scots quickstart guide
* add numeric argument for /clear command (buffer number) (patch #5372)
* fix crash when /away command is issued with no server connection (bug #18839)
* fix crash when closing a buffer opened on many windows
* fix freeze with SSL server when disconnecting after connection loss
(bug #18735)
Version 0.2.3 (2007-01-10)
--------------------------
* fix display bugs with nicklist at top/bottom when look_nicklist_separator is
OFF (bug #18737)
* fix iconv problem, causing truncated words when using iso locale
* fix topic scroll when topic has multi-bytes chars
* fix compilation problem with iconv under FreeBSD
* fix bugs with charset: now decodes/encodes nicks and channels in IRC messages
(bug #18716)
Version 0.2.2 (2007-01-06)
--------------------------
* fix bug with status bar (missing refresh) when closing a buffer
* fix bug with use of first buffer for a channel if not connected to server
(now allowed only for a server buffer)
* fix refresh bug with private buffer title
* fix bug with nick completion in command args (now uses option
look_nick_completion_ignore)
* fix display bug with color for first line on screen (bug #17719)
* add anti-flood option (irc_anti_flood) (task #5442)
* fix bug with "set_config" function in plugins API (bug #18448)
* plugins: "add_message_handler" now accepts "*" for all IRC messages
* add keys (F9/F10) to scroll topic (task #6030)
* add auto completion with channels and filenames (task #5423)
* fix memleak in keyboard input
* fix refresh bug when changing config options if window is split
* add space between chat and nicklist when position is "right" (bug #17852)
* add option "look_nicklist_separator" (task #5437)
* fix bug with DCC SEND when filename begins with "~"
* add "irc_send_unknown_commands" option to send unknown commands to IRC server
(OFF by default) (task #5947)
* /charset command and charset conversions now made by "charset" plugin
* fix display bug in status bar, wrong length when using UTF-8
* fix bug with ignore: now any IRC command is allowed
* fix crash with Ctrl-T (transpose) and one char on line (bug #18153)
* add filename completion (task #5425)
* add "modifier" in plugins API
* improve /plugin command
* fix bug on ignore with "mode" IRC command (bug #18058)
* fix crash when loading ruby script if file does not exist, with Ruby >= 1.9
only (bug #18064)
* add date in plugin function get_buffer_data()
* fix some portability bugs (patch #5271)
* fix iconv detection for BSD (patch #5456)
* fix typo in configure.in (bash specific test) (patch #5450)
* mode changes with /op, /deop, /voice, /devoice, /halfop, /dehalfop are now
sent in one mode command to server (task #5968)
* add more values for config boolean values: y/true/t/1 and n/false/f/0
* fix bug with /alias and arguments (like $1), now text after argument(s) is
used (bug #17944)
* fix minor display bug with special chars on some arch like PPC
Version 0.2.1 (2006-10-01)
--------------------------
* fix crash for DCC receiver when resuming a file (bug #17885)
* fix DCC error for sender when receiver cancels DCC (bug #17838)
* fix random crash with /upgrade command (error when loading buffers)
* fix buffer search by server/channel: now if only channel is specified, a
channel of another server can be found
* fix highlight for DCC, invite and notice: when a window is displaying buffer,
there's no highlight
* command "/away -all" now allowed when not connected to current server
* new signals handled: SIGTERM and SIGHUP (received when terminal is closed):
clean WeeChat quit (send quit to irc servers then quit WeeChat)
* add some new default key bindings for existing keys (for some OS)
* command /key now ok with one arg (key name): display key if found
* fix bug with CTCP VERSION sent on channels (bug #17547)
* add current channel completion for /ctcp command
* fix bugs in get_buffer_data() which breaks the retrieval of buffer content
(perl, lua)
* fix nicklist display bug when top/bottom (not enough lines) (bug #17537)
* fix bug with auto-rejoin of keyed chans (bug #17534)
* add default nick completion when line starts with "//" (bug #17535)
* values yes/no accepted (as on/off) for config boolean values (task #5454)
* add server default notify level (set by /buffer notify on server buffer)
(task #5634)
* fix crashs with /buffer and /charset commands when not connected to any
server (bug #17525)
* add special vars $nick/$channel/$server for server_command, alias and plugin
command handlers
* add arguments $1,$2,..,$9 and $* for alias (task #5831)
* add hotlist in session file when using /upgrade command (task #5449)
* fix nick refresh problem with unrealircd specific modes: chan owner (~) and
chan admin (&) (bug #17340)
Version 0.2.0 (2006-08-19)
--------------------------
* add "C"lear option on IRC raw buffer
* IRC raw buffer now uses join/part prefix with color to display messages
* add send of "quit" message to server when using /disconnect
* fix "wallops" command when received, now displayed by WeeChat (bug #17441)
* fix /wallops command (now many words are correctly sent)
* fix command 348 (channel exception list, received by /mode #chan e)
* add missing modes (channel & user), now all modes are allowed (bug #16606)
* add "%m" for completion with self nick (on current server)
* add missing IRC commands (310, 326, 329, 338)
* fix DCC restore after /upgrade (order is now correctly saved)
* fix away after server disconnection (now away is set again when reconnecting)
(bug #16359)
* fix DCC file connection problem (connection from receiver to sender)
* improve DCC speed (up to x5 on LAN) by forking for DCC files and a new option
"dcc_fast_send" (does not wait for ACK) (task #5758)
* fix crash when purging DCC with high number of DCC (> window size)
* fix completion for command handlers (now empty completion_template means nick
completion, "-" string means no completion at all)
* fix nick alignment problem when look_nickmode is off
* add generic function for incoming numeric IRC commands (bug #16611)
* fix crash when doing "/part something" on a server buffer (bug #17201)
* charsets are now checked when set by /charset command
* add "look_save_on_exit" option (patch from Emanuele Giaquinta)
* fix crash on DCC buffer under Darwin 8 (bug #17115)
* add configure option for doc XSL prefix (bug #16991)
* fix bug with spaces in script names (bug #16957)
* fix random crash when "MODE #chan -l" is received
* fix bug in IRC parser (random crash with malformed IRC messages)
* fix refresh bugs when terminal is resized: too many refreshs, display bug
with split windows
* case ignored for channel names in charset options (bug #16858)
* fix crash when setting look_one_server_buffer to ON (bug #16932)
* add new functions in plugin/script API: get window info, get buffer info, get
buffer content
* add polish, russian and czech quickstart guide
* fix display bug with special char (bug #16732)
* add color encoding for some commands like /me
* add aspell plugin
* rename plugins names (remove "lib" prefix in name)
* fix crash when closing DCC/raw buffer if 2 are open (bug #16808)
* fix crashes with DCC chat remove/purge on DCC view (bug #16775)
* fix bug with connection to bnc (bug #16760)
* command /save now writes plugins options (~/.weechat/plugins.rc)
* fix crash with "register" function in plugin scripts (bug #16701)
* fix random crash at exit (/quit or /upgrade) with split windows
Version 0.1.9 (2006-05-25)
--------------------------
* fix /squery command (message sent to server, now ok with # args > 2)
* fix /alias command (with an alias name, display content)
* improve lua plugin detection (bug #16574)
* add backtrace when WeeChat crashes, log file automatically renamed
* add lock for log file (~/.weechat/weechat.log), only one WeeChat process can
use this file (bug #16382)
* fix crash with malformed UTF-8 strings
* fix crash with ncurses color when too many colors defined in ncurses
(bug #16556)
* add new key to find previous completion (shift-tab by default)
* fix bug with long outgoing IRC messages (> 512 bytes) (bug #16358)
* fix Ruby crash when handler does not return OK or KO (bug #16552)
* fix UTF-8 display bug with chars using more than one cell on screen
(bug #16356)
* fix display bug with DCC file size when > 1 Gb
* fix refresh bug (deadlock in curses) when terminal is resized (bug #16542)
* fix nicklist sort bug
* add russian translations (thanks to Pavel Shevchuk)
* add german doc (thanks to Frank Zacharias)
* add missing IRC commands (006, 007, 290, 292, 310, 379, 437, 974)
* fix crash when multiple pv have same name: now it's forbidden and pv buffer
is not renamed (when a nick changes) if another exists with same name
(bug #16369)
* command /clear [-all] now clears hotlist
* fix crash after /upgrade if a line in history is empty (bug #16379)
* fix many crashes with DCC chat (bug #16416)
* add new option to customize input prompt
* add nick modes
* fix commands 332, 333 (/topic now ok when channel is not opened)
* remove color encoding and charset conversion for commands (only allowed in
text sent to channel/private)
* add hostnames associeted to nicks (available for /ban completion)
* add "+p" mode for channels, fix mode display in status bar
* add nick alignment options
* fix /names command: now displays result when not on a channel
* fix refresh bug (too many refresh) when terminal is resized
* fix nicklist display bugs when on top or bottom of chat window
* add keyboard handler to plugin API
* improve script plugin loader
* add hostname/IP option for connection to server
* fix --disable-plugins option in configure script
* add /setp command (set plugin options)
* fix high CPU usage when running under a screen that has been killed
* aliases are executed before WeeChat/IRC commands, add /builtin command
* add /cycle command, /part command does close buffer any more (use
/buffer close (or alias /close) to part and close buffer
Version 0.1.8 (2006-03-18)
--------------------------
* improve Ruby plugin
* fix /set command when internal server name contains one or many dots
* fix get_info plugin API function when no server at all is opened
* fix display bug when top of buffer is displayed and first line is removed
(according to "history_max_lines" setting)
* fix /mode command output
* improve alias completion (now uses target command for completion)
* fix completion problem in private with nicks
* add missing IRC command (487)
* add inactivity time, available for plugins via get_info("inactivity")
* keys alt-{home|end} to scroll top/bottom, alt-{f11-f12} to scroll nicklist
top/bottom
* add special names for plugin message handlers: weechat_pv, weechat_highlight,
weechat_ctcp, weechat_dcc
* script plugins now load scripts in WeeChat system share directory
* /msg command does not open any buffer any more
* fix crash when using global history (when older entry is removed)
* add IRC raw data buffer (new key: alt-J + alt-R)
* fix display bug with /kill command
* add new plugins functions: add_timer_handler, remove_timer_handler,
remove_infobar
* plugin messages handlers now called when message is ignored (by /ignore)
* new behaviour for messages ignored by a message handler: now WeeChat
executes standard handler, treating message as "ignored"
* many commands allowed for aliases
* many commands allowed when connecting to server
* add Lua script plugin
* add functions in plugins API: get_server_info, free_server_info,
get_channel_info, free_channel_info, get_nick_info, free_nick_info
* add option "look_nick_complete_first" (patch from Gwenn)
* add option "look_open_near_server" (patch from Gwenn)
* fix bug with /upgrade and servers buffer
* fix bug with "get_dcc_info" plugin interface function
* add new scroll keys for a few lines up/down (default: meta-pgup/pgdn)
(patch from Pistos)
* add new option "irc_away_check_max_nicks" to disable away check on channels
with high number of nicks (patch from Gwenn)
* add new command line argument for setting WeeChat homedir (-d or --dir)
(patch from Gwenn)
* fix bug with charset in infobar highlights
* fix bug with buffer detection in plugins/scripts commands
* fix bug with /history command
* add option "irc_show_away_once", to show away message only once in pv
* add partial hungarian translation
Version 0.1.7 (2006-01-14)
--------------------------
* fix msg command (now allowed in private buffer with "*" as target)
* remove "irc_default_msg_away" setting, for RFC 2812 conformity (/away command
wihtout argument only removes away status), new values for "irc_display_away"
(off, local, channel)
* fix refresh bug with Solaris when term size is changed
* replace Texinfo doc by XML Docbook
* add color for window separators (when split)
* add completion system for plugins/scripts commands
* fix plugins autoload
* add charset by server and channel, new command: /charset
* add Ruby script plugin
* add /upgrade command
* add ETA (Estimated Time of Arrival) for DCC files
* /nick command is now allowed when not connected to server
* add server/channel arg to /buffer command for jumping to buffer
* fix display bug in chat window when a message length equals to window width
* add new keys for switching to other windows: alt-W followed by alt-{arrow}
* add new keys for scrolling to previous/next highlight: alt-P / alt-N
* add "read marker": an indicator for first unread line in a server or channel
buffer (new key alt-U to scroll to marker)
* new window maganement: custom size for windows, auto resize when terminal is
resized
* fix infinite loop when resizing term to small size
* add /history command
Version 0.1.6 (2005-11-11)
--------------------------
* new color management system, IRC colors are now correctly displayed and can
be removed by new options irc_colors_receive and irc_colors_send
* fix scroll problem when one line is bigger than screen size
* add setting for having one server buffer for all servers
(look_one_server_buffer)
* add setting for ignoring some chars when completing nicks
* fix IRC message parser bug
* signal SIGPIPE is now ignored
* add partial match for highlights
* add dcc_own_ip and dcc_port_range settings
* full UTF-8 support, auto-detection of UTF-8 usage (locale)
* add "Day changed to [date]" message when day changes
* new plugin interface, rewritten from scratch: now loads dynamic C library,
and perl/python are script plugins
* log options (for server/channel/private) can now be set while WeeChat is
running
* add channel modes +e and +f
* add some missing IRC commands, fix command 367
* add colors for input buffer and current channel of status bar
* add online help for config options (with /set full_option_name)
* enhanced "smart" hotlist, with names (new options:
look_hotlist_names_{count|level|length})
Version 0.1.5 (2005-09-24)
--------------------------
* add /ame command (send CTCP action to all channels of all connected servers)
* add setting "irc_notice_as_pv" to see notices as pv
* add nicks colors in setup file
* fix DCC bug: delete failed file only if really empty (on disk)
* fix IRC message parser bug
* fix scroll problem (screen moving when scrolling and new line displayed)
* fix infinite loop when scrolling back and displaying long lines
* fix crash when closing a buffer used by more than one window
* add some missing IRC commands
* fix DCC display bug (now decodes string according to charset)
* add /ignore and /unignore commands
* fix bug with strings comparison (str[n]casecmp) and some locales (like
turkish), now using ASCII comparison (thanks to roktas)
* signal SIGQUIT is now ignored
* fix refresh bug when one line is bigger than screen size
* fix look_nicklist_min_size and look_nicklist_max_size options
* fix refresh bug when changing channel modes
* jump to next server now saves current channel buffer for each server
* add keys ctrl-up/ctrl-down to call previous/next command in global history
(common to all buffers)
Version 0.1.4 (2005-07-30)
--------------------------
* join and part/quit prefixes (arrows) now displayed with different colors
* add "irc_highlight" setting, to get highlight with any word
* fix auto-rejoin for channels with key
* fix /ctcp command (now any command/data allowed)
* add /amsg command (send text to all channels of all connected servers)
* fix SIGSEGV handler (now write a core file by aborting program)
* fix statusbar & infobar background refresh problem with some systems
* add color for private in hotlist (different than color for highlight)
* add DCC resume and timeout
* add function for Perl/Python to get DCC list
* fix FIFO pipe (command now authorized on a buffer not connected to an IRC
server)
* topic completion now decodes UTF-8 string
* fix bug with IRC URL on command line (irc://)
* new keyboard management: keys are setup in config file, add new command /key,
add some new default keys, alt-K key is used to grab key (useful for /key
command)
* add seconds in infobar time (optional thanks to new setting)
* fix some curses refreshs
* add auto-prefix with "#" for channels (if no prefix found), with /join
command
Version 0.1.3 (2005-07-02)
--------------------------
* proxy support (http, socks4, socks5) with authentification (http, socks5)
and ipv6 support (client to proxy)
* add completion for config option (with /set command)
* commands from users outside channel now authorized (if special user or
channel without "n" flag)
* add IPv6 support
* kill command now received and displayed
* add SSL support
* channel notify levels are saved in config file (new option
"server_notify_levels" for server sections)
* part message now accepts %v (replaced by WeeChat version), like quit message
* errors while loading perl scripts are now displayed in server buffer
(instead of current buffer)
* in python scripts, all messages written in stdin and stderr are redirected in
server buffer
* fix a filename error while loading a python script manually
* fix plugins "print" and "prnt" functions: now ok for writing on server
buffers
* fix color problem with new libcurses version
* fix crash when using alt-S or alt-X on DCC buffer (alt-D)
* fix startup crash when config file (~/.weechat/weechat.rc) is not found
* improve Perl/Python libs detection for ./configure script
Version 0.1.2 (2005-05-21)
--------------------------
* add Python plugin support, improve Perl interface (and now Perl/Python
libraries are checked by configure script)
* add nicklist scroll keys (alt+{home/end/pgup/pgdn} or F11/F12)
* add transfer rate for DCC files
* add "-all" option for /nick command
* buffers timestamp can now be changed (new option in config file)
* WeeChat now ok under *BSD and Mac OS X
* fix nicklist sort
* fix crash when purging old DCC
* fix crash with 64-bits arch (like AMD64) when converting UTF-8
* add missing IRC commands (307, 341, 485, 671)
Version 0.1.1 (2005-03-20)
--------------------------
* add nicks count for channel buffers
* add FIFO pipe for remote control
* add crash dump when WeeChat receives SIGSEGV (Segmentation fault)
* add new display engine: doesn't cut words at end of lines
* add DCC send and DCC chat
* add /halfop & /dehalfop commands, fix halfop display bug in nicklist
* add /ban, /unban and /kickban commands
* add spanish translation
* add --irc-commands and --weechat-commands command line options
* connection to IRC server is now made by child process (non blocking)
* add support for UnrealIrcd ("~" for chan owner, "&" for chan admin)
* new key for window switch (now: F5/F6=switch buffer, F7/F8=switch window)
* on server buffer, only server messages are logged
* improve /help command output
* plugins messages are logged with new config option (log_plugin_msg)
* fix /kick command
* fix /invite command (and now invite requests are displayed)
* fix /buffer close command (now ok when disconnected from server)
* fix display bugs when many windows are opened
Version 0.1.0 (2005-02-12)
--------------------------
* improve /window command: now split and merge are ok
* away nicks are now displayed with another color (new option:
"irc_away_check")
* add away indicator in status bar
* add lag indicator (and auto-disconnect after a delay if important lag)
* improve completion: now completes commands arguments (IRC and internal),
when only one completion matches, completion mechanism is stoped (to complete
command arg for example)
* improve /set command: empty strings are allowed, new colors, server options
can be changed while WeeChat is running
* add default away/part/quit messages in config file
* new [irc] section in config file, move option "look_display_away" to
"irc_display_away"
* server messages & errors are all prefixed (by 3 chars, like "-@-")
* add new options for charset (UTF-8 support): look_charset_decode,
look_charset_encode and look_charset_internal
* fix many memory leaks
* fix colors bug: remove "gray" color (replaced by "default"), colors are ok
when terminal has white (or light) background
* fix crash when resizing terminal to small size
* fix crash when multiple servers and big messages received from server
* fix crash when closing some private buffers
* fix crash when unknown section with option(s) in config file
* fix /op, /deop, /voice, /devoice (now ok with many nicks)
* fix /me command (now ok without parameter)
* fix /away command (now ok if not away)
* logs are now disabled by default (server/channel/private)
Version 0.0.9 (2005-01-01)
--------------------------
* auto-reconnection to server (new options: server_autoreconnect (on/off),
server_autoreconnect_delay (in seconds))
* fix major bug when socket is closed by server (100% CPU usage), and
disconnections are now ok (all channels are "closed", history is still
visible, and buffer will be used again if reconnection to server)
* option "look_remove_colors_from_msgs" is now working
* fix display of nick mode changes
* new command "/buffer close" (close any server/channel/private buffer)
* fix /notice command (and display when received from server)
* new keys: ctrl+A (=home), ctrl+E (=end), ctrl+W (= ctrl+Backspace), alt-S
(switch to server buffer), alt-X (switch to first channel of next server)
* add new config option: "server_command_delay" (delay in seconds after startup
command for each server)
Version 0.0.8 (2004-10-30)
--------------------------
* fix /kick command: now ok with many words as reason
* nickserv passwords hidden (new config option: log_hide_nickserv_pwd on/off)
* auto-rejoin channels when kicked (new config option: server_autorejoin on/off)
* add IRC::command function for Perl scripts
* fix bug when adding alias with same name as other
* /buffer command developed (buffers list, move and notify)
* logging buffers to disk (server/channel/private according to user prefs)
* add config option "look_display_away" to announce away in channels
* fix crash when resizing terminal to very small size
* "-MORE-" message is now erased when switching to another buffer
* DCC file receive ok (alt-D for DCC view)
* /query command now reopens private buffer if already opened
* add key for redrawing terminal (ctrl-L)
* add key for clearing hotlist (alt-R)
Version 0.0.7 (2004-08-08)
--------------------------
* new "col_status_delimiters" config option
* add command /buffer , buffers ordered by number, auto-jump to active buffers
(alt-A), jump to buffers by number (alt-number)
* add command /window, split terminal horizontally/vertically
* unique color for each nick (based on nickname)
* action messages are now considered as messages, not crappy joins/parts
* fix display bug when nicklist is displayed at bottom of screen
* add history limit (text buffer and commands)
* replace --enable-debug with --with-debug option for ./configure, which is now
integer: 1 = compiler debug flag, 2 = same 1 with verbose debug messages in
WeeChat (default: 0 = no debug)
Version 0.0.6 (2004-06-05)
--------------------------
* improve channel highlight (priority to message vs join/part)
* fix bug when opened private win and remote user changes his nick
* add command /query (starts private conversation)
* add IRC messages 476, 477
* /mode command is now ok and channel flags are displayed in status bar
* fix display bug (text was blinking when scrolling)
* CTCP Version reply is now in english only and doesn't show host (security
reason)
Version 0.0.5 (2004-02-07)
--------------------------
* /set command to modify config options when WeeChat is running
* fix look_nicklist config option, now enables/disables nicklist
* secure code to prevent buffer overflows and memory leaks
* fix QUIT IRC command: now sent to all connected servers (not only current)
* URL command line parameter to connect to server(s)
* new Perl script function to display message in info bar ("IRC::print_infobar")
* info bar highlight notifications
* add info bar timestamp in config ("look_infobar_timestamp")
* add info bar (optional, "look_infobar" to enable it, "on" by default)
* fix crash with /oper command
* for default config file, nick is now based on un*x username (thanks to
Witukind)
* fix crash when config file cannot be written
* add -c (or --config) command line parameter to see config file options
* highlight action messages
Version 0.0.4 (2004-01-01)
--------------------------
* Perl plugin, with auto-load
* when private window is created (another user is talking), WeeChat does not
switch to this window
* highlight when our nick is written in a channel/private window
* catch ctrl-C (ignored)
* debug messages can be enabled via ./configure --enbale-debug option
Version 0.0.3 (2003-11-03)
--------------------------
* ./configure script to build WeeChat
* nicks are now correctly sorted (op, halfop, voice, other)
* fix problem with "353" IRC message (nicklist)
* fix problem when nick is truncated by server
* fix crash when entering text without any server connection
* fix crash when /set command is executed
* fix display bug (text was blinking when scrolling)
* french translation
* new IRC command: /stats, /service, /squit, /motd, /lusers, /links, /time,
/trace, /admin, /info, /servlist, /squery, /who, /whowas, /die, /summon,
/users, /wallops, /userhost, /ison, /ctcp ping
* code cleanup
Version 0.0.2 (2003-10-05)
--------------------------
* add commands /rehash and /restart
* and command and auto-join channels when connected to server
* new commands for alias: /alias, /unalias (new section in config file)
* config is now saved automatically when quitting WeeChat, add /save command
* new commands for servers: /server, /connect, /disconnect
* add autoconnect flag for each server in config file
* add "look_set_title" option in config file
* term window title is modified with WeeChat name and version
* fix nicklist display bug
* fix crash when sending command which can only be received
* CTCP version returns more info (about OS)
Version 0.0.1 (2003-09-27)
--------------------------
* ncurses GUI with color output
* multi-servers
* channel windows, with nicklist (position: top, bottom, left or right)
* private windows
* IRC commands: away, ctcp, deop, devoice, invite, join, kick, kill, list, me,
mode, msg, names, nick, notice, op, oper, part, ping, pong, quit, quote,
topic, version, voice, whois
* WeeChat commands: clear, help, set (partial)
* many config options
* log file (~/.weechat/weechat.log)
* nicklist can be moved on top, bottom, left or right of window
-2589
View File
File diff suppressed because it is too large Load Diff
-67
View File
@@ -1,67 +0,0 @@
= Reporting WeeChat issues
:author: Sébastien Helleu
:email: flashcode@flashtux.org
:lang: en
== Report bugs
First, some basic things:
* Use only English to communicate with developers.
* If you can, please check if the problem has been fixed in development version
(if you are using a stable release or old version).
* Report only one bug or feature request per issue.
=== Required info
Please give some info:
* The *version* of WeeChat: output of `/v` in WeeChat, for example:
`WeeChat 1.0-dev (git: v0.4.3-475-gb174b3c)`. +
If WeeChat does not start at all, give the version displayed by
`weechat --help` (or the version installed with your package manager).
* The operating system, including distribution name (for Linux) and its version
(examples: Linux Debian Wheezy, FreeBSD 10.0, Windows/Cygwin 64-bit, ...).
* If possible, please include a reproducible example: explain the steps which
led you to the problem. +
It's even better if you can reproduce the problem with a new config (and no
scripts loaded): try `weechat --dir /tmp/weechat` and check if you have the
problem here.
=== Use of scripts
If you are using scripts, they can cause problems/crashes. To check if the
problem is related to one script, try to unload them one by one (using
command `/script unload <name>`).
If you think the problem comes from a specific script, please report the issue
in the https://github.com/weechat/scripts[scripts git repository].
=== Report a crash
If you are reporting a crash, please attach the backtrace from gdb (look at
http://weechat.org/files/doc/devel/weechat_user.en.html#report_crashes[user's guide]
for more info).
Most of times, the WeeChat crash log file (`weechat_crash_YYYYMMDD_xxx.log`) is
*not useful* to fix the bug, so please report this file *ONLY* if a developer
asks you to send it (and be careful, this file can contain personal data like
passwords).
== Feature requests
WeeChat is under active development, so your idea may already have been
implemented, or scheduled for a future version (you can check in
http://weechat.org/dev/[roadmap]).
Before submitting a feature request, it's better to discuss about it in IRC
(server: 'chat.freenode.net', channel '#weechat').
== Contributing
If you want to fix a bug or add a new feature, it's always a good idea to
discuss about it in IRC.
And you can look at http://weechat.org/files/doc/devel/weechat_dev.en.html[developer's guide] for coding rules
(styles, naming convention, and other useful info).
+36
View File
@@ -0,0 +1,36 @@
WeeChat Installation instructions
=================================
You can build WeeChat with cmake (recommended way) or autotools.
With cmake
----------
------------------------------------------------------------------
mkdir build
cd build
cmake .. -DPREFIX=/where/you/want/install -DCMAKE_BUILD_TYPE=Debug
make
make install (as root for installation in system directories)
------------------------------------------------------------------
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.
+13 -43
View File
@@ -1,81 +1,51 @@
# Copyright (c) 2003-2010 by FlashCode <flashcode@flashtux.org>
#
# Copyright (C) 2003-2014 Sébastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2005 Julien Louis <ptitlouis@sysif.net>
# Copyright (C) 2006-2009 Emmanuel Bouthenot <kolter@openics.org>
#
# This file is part of WeeChat, the extensible chat client.
#
# WeeChat is free software; you can redistribute it and/or modify
# 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)/scripts/git-version.sh "$(abs_top_srcdir)" "$(VERSION)" config-git.h
if TESTS
tests_dir = tests
if DOC
doc_dir = doc
endif
SUBDIRS = po doc intl src $(tests_dir)
SUBDIRS = po $(doc_dir) intl src
EXTRA_DIST = AUTHORS.asciidoc \
ChangeLog.asciidoc \
Contributing.asciidoc \
README.asciidoc \
ReleaseNotes.asciidoc \
CMakeLists.txt \
EXTRA_DIST = CMakeLists.txt \
config.rpath \
config.h.cmake \
makedist.sh \
cmake/CMakeParseArguments.cmake \
cmake/cmake_uninstall.cmake.in \
cmake/FindAsciidoc.cmake \
cmake/FindAspell.cmake \
cmake/FindCppUTest.cmake \
cmake/FindENCHANT.cmake \
cmake/FindGCRYPT.cmake \
cmake/FindGettext.cmake \
cmake/FindGnuTLS.cmake \
cmake/FindGuile.cmake \
cmake/FindIconv.cmake \
cmake/FindLua.cmake \
cmake/FindNcurses.cmake \
cmake/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 \
scripts/build.sh \
scripts/git-version.sh \
weechat.png \
weechat.spec \
weechat_icon_32.png \
weechat.pc.in \
weechat.cygport.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
View File
@@ -0,0 +1,194 @@
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.
+43
View File
@@ -0,0 +1,43 @@
WeeChat Readme
==============
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat
environment for many operating systems. Everything can be done with a keyboard.
It is customizable and extensible with scripts.
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)
* compliant with IRC RFCs 1459, 2810, 2811, 2812 and 2813
* developed from scratch
* 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
---------
WeeChat (c) Copyright 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/>.
-91
View File
@@ -1,91 +0,0 @@
= WeeChat
:author: Sébastien Helleu
:email: flashcode@flashtux.org
:lang: en
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat
environment for many operating systems. Everything can be done with a keyboard.
It is customizable and extensible with scripts.
Homepage: http://weechat.org/
image:https://travis-ci.org/weechat/weechat.svg?branch=master["Build Status", link="https://travis-ci.org/weechat/weechat"]
== Features
* Modular chat client with a lightweight core and optional plugins.
* Multi-platform (GNU/Linux, *BSD, Mac OS X, QNX, Windows & other).
* Multi-protocols architecture (mainly IRC).
* Compliant with IRC RFCs 1459, 2810, 2811, 2812 and 2813.
* Small, fast and very light.
* Customizable and extensible with plugins (C, Perl, Python, Ruby, Lua, Tcl, Guile).
* Fully documented and translated into several languages.
* Developed from scratch.
* Free software, released under GPLv3.
image::https://weechat.org/media/images/screenshots/weechat/medium/weechat_2013-04-27_phlux_shadow.png[align="center"]
== Install
=== Dependencies
Following packages are *required*:
* CMake
* libncurses
* libcurl
* zlib
* libgcrypt
Following packages are 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 man page: xsltproc, docbook-xml, docbook-xsl)
* for building tests: C++ compiler, CppUTest
For a complete list of dependencies and versions recommended, please look at
http://weechat.org/files/doc/devel/weechat_user.en.html#dependencies[user's guide].
=== Compile
WeeChat can be built with http://cmake.org/[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.
----
$ mkdir build
$ cd build
$ cmake .. -DPREFIX=/path/to/directory
$ make
$ make install (as root for installation in system directories)
----
For more information or installation with autotools, please look at
http://weechat.org/files/doc/devel/weechat_user.en.html#compile_with_autotools[user's guide].
== Copyright
Copyright (C) 2003-2014 Sébastien Helleu <flashcode@flashtux.org>
This file is part of WeeChat, the extensible chat client.
WeeChat is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
WeeChat is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
-979
View File
@@ -1,979 +0,0 @@
= WeeChat Release Notes
:author: Sébastien Helleu
:email: flashcode@flashtux.org
:lang: en
This document lists important changes for each version, that require manual
actions (the latest formatted version of this document can be found
http://weechat.org/files/releasenotes/ReleaseNotes-devel.html[here]). +
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.asciidoc' in sources).
== Version 1.0.1 (2014-09-28)
Bug fix and maintenance release.
== Version 1.0 (2014-08-15)
=== Channel type not added by default on /join
The channel type is not any more automatically added to a channel name on join
(for example `/join weechat` will not send `/join #weechat`).
If you are lazy and want to automatically add the channel type, you can turn on
the new option:
----
/set irc.look.join_auto_add_chantype on
----
=== Hide IRC channel modes arguments
The option 'irc.look.item_channel_modes_hide_key' has been renamed to
'irc.look.item_channel_modes_hide_args' and it now a string. +
It can now hide arguments for multiple channel modes.
By default, a channel key (mode "k") will hide channel arguments. For old
behavior (never hide arguments, even with a channel key), you can do:
----
/set irc.look.item_channel_modes_hide_args ""
----
=== Jump to first/last buffer
The command `/input jump_last_buffer` has been replaced by `/buffer +`.
You can rebind the key key[alt-j,alt-l]:
----
/key bind meta-jmeta-l /buffer +
----
[NOTE]
The command `/input jump_last_buffer` still works for compatibility reasons,
but it should not be used any more.
Similarly, a new key has been added to jump to first buffer: key[alt-j,alt-f].
You can add it with following command:
----
/key missing
----
=== Hotlist conditions
A new option 'weechat.look.hotlist_add_conditions' has been added. This option
replaces the option 'weechat.look.hotlist_add_buffer_if_away', which has been
removed.
Default conditions are `${away} || ${buffer.num_displayed} == 0`, which means
that a buffer is added in hotlist if you are away ("away" local variable is
set), or if the buffer is not visible on screen (not displayed in any window).
If you have set 'weechat.look.hotlist_add_buffer_if_away' to `off` (to not add
current buffer in hotlist when you are away), then you must manually change the
default conditions with the following command:
----
/set weechat.look.hotlist_add_conditions "${buffer.num_displayed} == 0"
----
=== Rmodifier replaced by Trigger plugin
The trigger plugin replaces the rmodifier plugin, which has been removed
(and trigger has much more features than rmodifier).
Default triggers have same features as default rmodifiers (to hide passwords
in commands and output).
If you added some custom rmodifiers, you must create similar triggers, see
`/help trigger` and the complete trigger doc in the 'WeeChat User's guide'.
[NOTE]
If on startup you have an error about API mismatch in plugin 'rmodifier.so',
you can manually remove the file (the command `make install` does not remove
obsolete plugins).
=== Bare display
A bare display mode has been added (for easy text selection and click on URLs),
the new default key is key[alt-l].
Use command `/key missing` to add the key or `/key listdiff` to see differences
between your current keys and WeeChat default keys.
== Version 0.4.3 (2014-02-09)
=== Colors in messages
The color code for "reverse video" in IRC message has been fixed: now WeeChat
uses 0x16 like other clients (and not 0x12 any more). +
The code 0x12 is not decoded any more, so if it is received (for example from
an old WeeChat version), it is not displayed as reverse video.
The color code for "underlined text" in input line has been fixed: now WeeChat
uses 0x1F, the same code sent to IRC server.
The default keys for "reverse video" and "underlined text" have changed:
* reverse video: key key[ctrl-c,r] is replaced by key[ctrl-c,v]
* underlined text: key key[ctrl-c,u] is replaced by key[ctrl-c,_]
You can remove the old keys and add the new ones with these commands:
----
/key unbind ctrl-Cr
/key unbind ctrl-Cu
/key missing
----
=== Terminal title
The boolean option 'weechat.look.set_title' has been renamed to
'weechat.look.window_title' and is now a string.
The content is evaluated and the default value is `WeeChat ${info:version}`.
[NOTE]
Only static content should be used in this option, because the title is
refreshed only when the option is changed.
=== New bar item buffer_last_number
The bar item 'buffer_count' now displays the number of opened buffers (each
merged buffer counts 1).
The new bar item 'buffer_last_number' displays the highest buffer number
currently used.
If you want to display last number in the status bar, replace 'buffer_count'
by 'buffer_last_number' in your option 'weechat.bar.status.items'.
=== New bar item buffer_zoom
A new bar item has been added: 'buffer_zoom'.
The 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_zoom+buffer_filter,[lag],[hotlist],completion,scroll"
----
=== IRC messages on channel join
The names are not displayed any more by default on channel join (they are in
nicklist anyway).
Names can be displayed with the value "353" in option
'irc.look.display_join_message' (which is not in default value). +
The value "366" shows only names count on channel.
If you want to display all messages on join (including names), you can do:
----
/set irc.look.display_join_message "329,332,333,353,366"
----
=== Maximum lag in IRC
Option 'irc.network.lag_max' has been added.
The value of option 'irc.network.lag_reconnect' (if set to non-zero value) must
be less than or equal to 'irc.network.lag_max', otherwise the reconnection will
never occur.
You should check the value of both options and fix them if needed.
== Version 0.4.2 (2013-10-06)
=== Day change message
The day change message is now dynamically displayed, and therefore is not stored
as a line in buffer any more.
Option 'weechat.look.day_change_time_format' has been split into two options
'weechat.look.day_change_message_{1date|2dates}' (color codes are allowed in
these options, see `/help eval`).
New color option 'weechat.color.chat_day_change' has been added.
After `/upgrade` from an old version, you will see two messages for each day
change. This is a normal behavior and will not happen again with the next day
changes.
=== Regex search in buffer
Search with regular expression has been added, and therefore some keys in search
context have been changed.
The key key[ctrl-r] in search context is now used to switch string/regex search
(instead of searching exact text).
If you never changed keys in search context, you can reset them all with one
command:
----
/key resetall -yes search
----
Or the manual method:
----
/key missing search
/key bindctxt search ctrl-R /input search_switch_regex
----
To view keys in search context:
----
/key list search
----
For more information, see the chapter about keys in the 'WeeChat User's guide'.
=== New rmodifier
A new rmodifier "secure" has been added to hide passphrase and passwords
displayed by command "/secure". Use command `/rmodifier missing` to add it.
=== Color codes in options
The format for color codes in some options has changed. The options are
evaluated with the function "string_eval_expression", which uses the format
`${color:xxx}`.
Following options are affected:
* 'weechat.look.buffer_time_format'
* 'weechat.look.prefix_action'
* 'weechat.look.prefix_error'
* 'weechat.look.prefix_join'
* 'weechat.look.prefix_network'
* 'weechat.look.prefix_quit'
The options using old format `${xxx}` must be changed with new format
`${color:xxx}` (where xxx is a color name or number, with optional color
attributes).
Example:
----
/set weechat.look.buffer_time_format "${color:251}%H${color:243}%M${color:238}%S"
----
=== Binary and man page
WeeChat binary and man page have been renamed from `weechat-curses` to
`weechat`.
A symbolic link has been added for binary: `weechat-curses` -> `weechat`
(so that the /upgrade from a old version will still work).
If you upgrade from an old version, it is recommended to force the use of the
new binary name with the command: `/upgrade /path/to/weechat` (replace the path
accordingly).
[NOTE]
For packagers: you should create the link `weechat-curses` -> `weechat` if it's
not automatically created in the package (both cmake and configure are creating
this link on make install).
=== Man page / documentation
Documentation is not built by default any more, you have to use option
`-DENABLE_DOC=ON` in cmake to enable it.
The man page is now built with asciidoc and translated in several
languages. A new cmake option `ENABLE_MAN` has been added to compile man page
(`OFF` by default).
=== Aspell colors
Option 'aspell.look.color' has been renamed to 'aspell.color.misspelled'.
== 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 behavior (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: 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 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: key[F9]/key[F10].
Key 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 (key[alt-]key[Home]/key[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 key[alt-]key[Home]/key[End] were used for nicklist scroll, they're now
replaced by key[alt-]key[F11]/key[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.
+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
+29 -20
View File
@@ -1,31 +1,26 @@
#!/bin/sh
#
# Copyright (C) 2003-2014 Sébastien 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
###
DIR=$(cd $(dirname "$0"); pwd)
cd $DIR
OK="\\033[70G[\\033[1;32mOK\\033[1;00m]"
FAIL="\\033[70G[\\033[1;31mFAILED\\033[1;00m]"
AUTOGEN_LOG=autogen.log
@@ -41,30 +36,44 @@ 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
}
# remove autotools stuff
###
### cleanning part
###
# remove autotools stuff
run "rm -rf config"
run "rm -f config.h.in"
run "rm -f aclocal.m4 configure config.log config.status"
run "rm -rf autom4te*.cache"
# remove libtool stuff
run "rm -f libtool"
# remove gettext stuff
run "rm -f ABOUT-NLS"
run "rm -rf intl"
# execute autoreconf cmds
run "autoreconf -fvi"
###
### configuration part
###
# create the config directory
run "mkdir -p config/m4"
run "mkdir intl"
# execute autotools cmds
run "autopoint -f"
run "libtoolize --automake --force --copy"
run "aclocal --force -I config/m4"
run "autoheader"
run "autoconf"
run "automake --add-missing --copy --gnu"
# ending
rm -f $AUTOGEN_LOG
-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)
+17 -25
View File
@@ -1,51 +1,43 @@
# Copyright (c) 2003-2010 by FlashCode <flashcode@flashtux.org>
#
# Copyright (C) 2003-2014 Sébastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
# WeeChat is free software; you can redistribute it and/or modify
# 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
# This module finds if asciidoc (version 8 or newer) is installed.
if(ASCIIDOC_FOUND)
IF (ASCIIDOC_FOUND)
# Already in cache, be silent
set(ASCIIDOC_FIND_QUIETLY TRUE)
endif()
SET(ASCIIDOC_FIND_QUIETLY TRUE)
ENDIF (ASCIIDOC_FOUND)
find_program(
FIND_PROGRAM(
ASCIIDOC_EXECUTABLE asciidoc
PATHS /bin /usr/bin /usr/local/bin /usr/pkg/bin
)
find_program(
A2X_EXECUTABLE a2x
PATHS /bin /usr/bin /usr/local/bin /usr/pkg/bin
)
if(ASCIIDOC_EXECUTABLE AND A2X_EXECUTABLE)
execute_process(
IF(ASCIIDOC_EXECUTABLE)
EXECUTE_PROCESS(
COMMAND ${ASCIIDOC_EXECUTABLE} --version
OUTPUT_VARIABLE ASCIIDOC_VERSION
)
if(${ASCIIDOC_VERSION} MATCHES "asciidoc 8.*")
set(ASCIIDOC_FOUND TRUE)
endif()
mark_as_advanced(
IF(${ASCIIDOC_VERSION} MATCHES "asciidoc 8.*")
SET(ASCIIDOC_FOUND TRUE)
ENDIF(${ASCIIDOC_VERSION} MATCHES "asciidoc 8.*")
MARK_AS_ADVANCED(
ASCIIDOC_EXECUTABLE
)
endif()
ENDIF(ASCIIDOC_EXECUTABLE)
+13 -23
View File
@@ -1,24 +1,21 @@
# Copyright (c) 2003-2010 by FlashCode <flashcode@flashtux.org>
#
# Copyright (C) 2003-2014 Sébastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
# WeeChat is free software; you can redistribute it and/or modify
# 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:
@@ -26,33 +23,26 @@
# ASPELL_INCLUDE_PATH = path to where aspell.h can be found
# ASPELL_LIBRARY = path to where libaspell.so* can be found
if(ASPELL_FOUND)
IF (ASPELL_FOUND)
# Already in cache, be silent
SET(ASPELL_FIND_QUIETLY TRUE)
endif()
ENDIF (ASPELL_FOUND)
find_path(ASPELL_INCLUDE_PATH
FIND_PATH(ASPELL_INCLUDE_PATH
NAMES aspell.h
PATHS /usr/include /usr/local/include /usr/pkg/include
)
find_library(ASPELL_LIBRARY
FIND_LIBRARY(ASPELL_LIBRARY
NAMES aspell aspell-15
PATHS /lib /usr/lib /usr/local/lib /usr/pkg/lib
)
if(ASPELL_INCLUDE_PATH AND ASPELL_LIBRARY)
set(ASPELL_FOUND TRUE)
IF (ASPELL_INCLUDE_PATH AND ASPELL_LIBRARY)
SET(ASPELL_FOUND TRUE)
ENDIF (ASPELL_INCLUDE_PATH AND ASPELL_LIBRARY)
# check if function aspell_version_string() exists
set(CMAKE_REQUIRED_INCLUDES ${ASPELL_INCLUDE_PATH})
set(CMAKE_REQUIRED_LIBRARIES ${ASPELL_LIBRARY})
check_symbol_exists(aspell_version_string "aspell.h" HAVE_ASPELL_VERSION_STRING)
set(CMAKE_REQUIRED_INCLUDES)
set(CMAKE_REQUIRED_LIBRARIES)
endif()
mark_as_advanced(
MARK_AS_ADVANCED(
ASPELL_INCLUDE_PATH
ASPELL_LIBRARY
)
-37
View File
@@ -1,37 +0,0 @@
#
# Copyright (C) 2014 Sébastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
# WeeChat is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# WeeChat is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
#
# - Find CppUTest
# 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:
#
# CPPUTEST_FOUND = CppUTest is installed
# CPPUTEST_INCLUDE_DIRS = CppUTest include directory
# CPPUTEST_LIBRARIES = Link options to compile with CppUTest
if(CPPUTEST_FOUND)
# Already in cache, be silent
set(CPPUTEST_FIND_QUIETLY TRUE)
endif()
find_package(PkgConfig)
if(PKG_CONFIG_FOUND)
pkg_search_module(CPPUTEST REQUIRED cpputest)
endif()
-51
View File
@@ -1,51 +0,0 @@
# - Try to find the Enchant spell checker
# Once done this will define
#
# ENCHANT_FOUND - system has ENCHANT
# ENCHANT_INCLUDE_DIR - the ENCHANT include directory
# ENCHANT_LIBRARIES - Link these to use ENCHANT
# ENCHANT_DEFINITIONS - Compiler switches required for using ENCHANT
# Copyright (c) 2006, Zack Rusin, <zack@kde.org>
#
# Redistribution and use is allowed according to the terms of the BSD license.
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
if(ENCHANT_INCLUDE_DIR AND ENCHANT_LIBRARIES)
# in cache already
set(ENCHANT_FOUND TRUE)
else()
if(NOT WIN32)
# use pkg-config to get the directories and then use these values
# in the FIND_PATH() and FIND_LIBRARY() calls
find_package(PkgConfig)
pkg_check_modules(PC_ENCHANT enchant)
set(ENCHANT_DEFINITIONS ${PC_ENCHANT_CFLAGS_OTHER})
endif()
find_path(ENCHANT_INCLUDE_DIR
NAMES enchant++.h
HINTS ${PC_ENCHANT_INCLUDEDIR}
${PC_ENCHANT_INCLUDE_DIRS}
PATH_SUFFIXES enchant )
find_library(ENCHANT_LIBRARIES NAMES enchant
HINTS ${PC_ENCHANT_LIBDIR}
${PC_ENCHANT_LIBRARY_DIRS} )
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(ENCHANT DEFAULT_MSG ENCHANT_INCLUDE_DIR ENCHANT_LIBRARIES )
mark_as_advanced(ENCHANT_INCLUDE_DIR ENCHANT_LIBRARIES)
# check if function enchant_get_version() exists
set(CMAKE_REQUIRED_INCLUDES ${ENCHANT_INCLUDE_DIR})
set(CMAKE_REQUIRED_LIBRARIES ${ENCHANT_LIBRARIES})
check_symbol_exists(enchant_get_version "enchant.h" HAVE_ENCHANT_GET_VERSION)
set(CMAKE_REQUIRED_INCLUDES)
set(CMAKE_REQUIRED_LIBRARIES)
endif()
-53
View File
@@ -1,53 +0,0 @@
#
# Copyright (C) 2003-2014 Sébastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
# WeeChat is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# WeeChat is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with WeeChat. If not, see <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()
endif()
# 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()
+35 -39
View File
@@ -1,71 +1,67 @@
# Copyright (c) 2003-2010 by FlashCode <flashcode@flashtux.org>
#
# Copyright (C) 2003-2014 Sébastien 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:
#
# GETTEXT_FOUND = is gettext usable on system?
if(GETTEXT_FOUND)
IF(GETTEXT_FOUND)
# Already in cache, be silent
set(GETTEXT_FIND_QUIETLY TRUE)
endif()
SET(GETTEXT_FIND_QUIETLY TRUE)
ENDIF(GETTEXT_FOUND)
include(CheckIncludeFiles)
include(CheckLibraryExists)
include(CheckFunctionExists)
INCLUDE(CheckIncludeFiles)
INCLUDE(CheckLibraryExists)
INCLUDE(CheckFunctionExists)
find_path(LIBINTL_INCLUDE
FIND_PATH(LIBINTL_INCLUDE
NAMES libintl.h
PATH /usr/local/include /usr/pkg/include /usr/include
)
set(CMAKE_REQUIRED_INCLUDES ${LIBINTL_INCLUDE})
SET(CMAKE_REQUIRED_INCLUDES ${LIBINTL_INCLUDE})
check_include_files(libintl.h HAVE_LIBINTL_H)
CHECK_INCLUDE_FILES(libintl.h HAVE_LIBINTL_H)
if(HAVE_LIBINTL_H)
check_function_exists(dgettext LIBC_HAS_DGETTEXT)
if(LIBC_HAS_DGETTEXT)
set(GETTEXT_FOUND TRUE)
else()
find_library(LIBINTL_LIBRARY NAMES intl
IF(HAVE_LIBINTL_H)
CHECK_FUNCTION_EXISTS(dgettext LIBC_HAS_DGETTEXT)
IF(LIBC_HAS_DGETTEXT)
SET(GETTEXT_FOUND TRUE)
ELSE(LIBC_HAS_DGETTEXT)
FIND_LIBRARY(LIBINTL_LIBRARY NAMES intl
PATHS
/usr/local/lib
/usr/lib
)
if(LIBINTL_LIBRARY)
if(${CMAKE_SYSTEM_NAME} STREQUAL "OpenBSD")
set(CMAKE_REQUIRED_LIBRARIES "iconv")
check_library_exists(${LIBINTL_LIBRARY} "libintl_dgettext" "" LIBINTL_HAS_DGETTEXT)
else()
check_library_exists(${LIBINTL_LIBRARY} "dgettext" "" LIBINTL_HAS_DGETTEXT)
endif()
if(LIBINTL_HAS_DGETTEXT)
set(GETTEXT_FOUND TRUE)
endif()
endif()
endif()
endif()
IF(LIBINTL_LIBRARY)
IF(${CMAKE_SYSTEM_NAME} STREQUAL "OpenBSD")
SET(CMAKE_REQUIRED_LIBRARIES "iconv")
CHECK_LIBRARY_EXISTS(${LIBINTL_LIBRARY} "libintl_dgettext" "" LIBINTL_HAS_DGETTEXT)
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)
ENDIF(LIBINTL_HAS_DGETTEXT)
ENDIF(LIBINTL_LIBRARY)
ENDIF(LIBC_HAS_DGETTEXT)
ENDIF(HAVE_LIBINTL_H)
+21 -25
View File
@@ -1,25 +1,21 @@
# Copyright (c) 2003-2010 by FlashCode <flashcode@flashtux.org>
#
# Copyright (C) 2003-2014 Sébastien 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:
@@ -29,45 +25,45 @@
# GNUTLS_CFLAGS = cflags to use to compile
# GNUTLS_LDFLAGS = ldflags to use to compile
if(GNUTLS_INCLUDE_PATH AND GNUTLS_LIBRARY)
IF(GNUTLS_INCLUDE_PATH AND GNUTLS_LIBRARY)
# Already in cache, be silent
set(GNUTLS_FIND_QUIETLY TRUE)
endif()
ENDIF(GNUTLS_INCLUDE_PATH AND GNUTLS_LIBRARY)
find_program(PKG_CONFIG_EXECUTABLE NAMES pkg-config)
FIND_PROGRAM(PKG_CONFIG_EXECUTABLE NAMES pkg-config)
execute_process(COMMAND ${PKG_CONFIG_EXECUTABLE} --variable=prefix gnutls
EXECUTE_PROCESS(COMMAND ${PKG_CONFIG_EXECUTABLE} --variable=prefix gnutls
OUTPUT_VARIABLE GNUTLS_PREFIX
)
execute_process(COMMAND ${PKG_CONFIG_EXECUTABLE} --cflags gnutls
EXECUTE_PROCESS(COMMAND ${PKG_CONFIG_EXECUTABLE} --cflags gnutls
OUTPUT_VARIABLE GNUTLS_CFLAGS
)
string(REGEX REPLACE "[\r\n]" "" GNUTLS_CFLAGS "${GNUTLS_CFLAGS}")
STRING(REGEX REPLACE "[\r\n]" "" GNUTLS_CFLAGS "${GNUTLS_FLAGS}")
execute_process(COMMAND ${PKG_CONFIG_EXECUTABLE} --libs gnutls
EXECUTE_PROCESS(COMMAND ${PKG_CONFIG_EXECUTABLE} --libs gnutls
OUTPUT_VARIABLE GNUTLS_LDFLAGS
)
string(REGEX REPLACE "[\r\n]" "" GNUTLS_LDFLAGS "${GNUTLS_LDFLAGS}")
STRING(REGEX REPLACE "[\r\n]" "" GNUTLS_LDFLAGS "${GNUTLS_LDFLAGS}")
set(GNUTLS_POSSIBLE_INCLUDE_PATH "${GNUTLS_PREFIX}/include")
set(GNUTLS_POSSIBLE_LIB_DIR "${GNUTLS_PREFIX}/lib")
SET(GNUTLS_POSSIBLE_INCLUDE_PATH "${GNUTLS_PREFIX}/include")
SET(GNUTLS_POSSIBLE_LIB_DIR "${GNUTLS_PREFIX}/lib")
find_path(GNUTLS_INCLUDE_PATH
FIND_PATH(GNUTLS_INCLUDE_PATH
NAMES gnutls/gnutls.h
PATHS GNUTLS_POSSIBLE_INCLUDE_PATH
)
find_library(GNUTLS_LIBRARY
FIND_LIBRARY(GNUTLS_LIBRARY
NAMES gnutls
PATHS GNUTLS_POSSIBLE_LIB_DIR
)
if(GNUTLS_INCLUDE_PATH AND GNUTLS_LIBRARY)
set(GNUTLS_FOUND TRUE)
endif()
IF (GNUTLS_INCLUDE_PATH AND GNUTLS_LIBRARY)
SET(GNUTLS_FOUND TRUE)
ENDIF (GNUTLS_INCLUDE_PATH AND GNUTLS_LIBRARY)
mark_as_advanced(
MARK_AS_ADVANCED(
GNUTLS_INCLUDE_PATH
GNUTLS_LIBRARY
GNUTLS_CFLAGS
-45
View File
@@ -1,45 +0,0 @@
#
# Copyright (C) 2011-2014 Sébastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
# WeeChat is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# WeeChat is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with WeeChat. If not, see <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()
find_package(PkgConfig)
if(PKG_CONFIG_FOUND)
pkg_search_module(GUILE guile-2.0)
if(GUILE_FOUND)
# check if variable "scm_install_gmp_memory_functions" exists
set(CMAKE_REQUIRED_INCLUDES ${GUILE_INCLUDE_DIRS})
set(CMAKE_REQUIRED_LIBRARIES ${GUILE_LDFLAGS})
check_symbol_exists(scm_install_gmp_memory_functions "libguile.h" HAVE_GUILE_GMP_MEMORY_FUNCTIONS)
set(CMAKE_REQUIRED_INCLUDES)
set(CMAKE_REQUIRED_LIBRARIES)
endif()
endif()
+28 -33
View File
@@ -1,24 +1,21 @@
# Copyright (c) 2003-2010 by FlashCode <flashcode@flashtux.org>
#
# Copyright (C) 2003-2014 Sébastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
# WeeChat is free software; you can redistribute it and/or modify
# 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:
@@ -28,45 +25,44 @@
#
# ICONV_FOUND = is iconv usable on system?
if(ICONV_FOUND)
IF(ICONV_FOUND)
# Already in cache, be silent
set(ICONV_FIND_QUIETLY TRUE)
endif()
ENDIF(ICONV_FOUND)
include(CheckLibraryExists)
include(CheckFunctionExists)
INCLUDE(CheckLibraryExists)
INCLUDE(CheckFunctionExists)
find_path(ICONV_INCLUDE_PATH
FIND_PATH(ICONV_INCLUDE_PATH
NAMES iconv.h
PATHS /usr/include /usr/local/include /usr/pkg/include
)
find_library(ICONV_LIBRARY
FIND_LIBRARY(ICONV_LIBRARY
NAMES iconv
PATHS /lib /usr/lib /usr/local/lib /usr/pkg/lib
)
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()
else()
check_function_exists(iconv_open ICONV_FOUND)
endif()
endif()
IF(ICONV_INCLUDE_PATH)
IF(ICONV_LIBRARY)
STRING(REGEX REPLACE "/[^/]*$" "" ICONV_LIB_PATH "${ICONV_LIBRARY}")
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)
ENDIF(ICONV_INCLUDE_PATH)
include(CheckCSourceCompiles)
if(ICONV_LIBRARY)
set(CMAKE_REQUIRED_LIBRARIES ${ICONV_LIBRARY})
set(CMAKE_REQUIRED_INCLUDES ${ICONV_INCLUDE_PATH})
endif()
IF(ICONV_LIBRARY)
SET(CMAKE_REQUIRED_LIBRARIES ${ICONV_LIBRARY})
SET(CMAKE_REQUIRED_INCLUDES ${ICONV_INCLUDE_PATH})
ENDIF(ICONV_LIBRARY)
set(CMAKE_REQUIRED_FLAGS -Werror)
SET(CMAKE_REQUIRED_FLAGS -Werror)
check_c_source_compiles("
#include <iconv.h>
int main(){
@@ -79,8 +75,7 @@ check_c_source_compiles("
return 0;
}
" ICONV_2ARG_IS_CONST)
mark_as_advanced(
MARK_AS_ADVANCED(
ICONV_INCLUDE_PATH
ICONV_LIBRARY
ICONV_FOUND
+34 -33
View File
@@ -1,24 +1,21 @@
# Copyright (c) 2003-2010 by FlashCode <flashcode@flashtux.org>
#
# Copyright (C) 2003-2014 Sébastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
# WeeChat is free software; you can redistribute it and/or modify
# 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:
@@ -28,54 +25,58 @@
#
# LUA_FOUND = is liblua usable on system?
if(LUA_FOUND)
IF(LUA_FOUND)
# Already in cache, be silent
set(LUA_FIND_QUIETLY TRUE)
endif()
SET(LUA_FIND_QUIETLY TRUE)
ENDIF(LUA_FOUND)
find_path(
FIND_PATH(
LUA51_INCLUDE_PATH lua.h
PATHS /usr/include /usr/local/include /usr/pkg/include
PATH_SUFFIXES lua51 lua5.1 lua-5.1
)
find_library(
FIND_LIBRARY(
LUA51_LIBRARY NAMES lua51 lua5.1 lua-5.1 lua
PATHS /lib /usr/lib /usr/local/lib /usr/pkg/lib
PATH_SUFFIXES lua51 lua5.1 lua-5.1
)
if(LUA51_INCLUDE_PATH AND LUA51_LIBRARY)
set(LUA_INCLUDE_PATH "${LUA51_INCLUDE_PATH}")
set(LUA_LIBRARY "${LUA51_LIBRARY}")
set(LUA_VERSION "5.1")
set(LUA_FOUND TRUE)
else()
find_path(
IF(LUA51_INCLUDE_PATH AND LUA51_LIBRARY)
SET(LUA_INCLUDE_PATH "${LUA51_INCLUDE_PATH}")
SET(LUA_LIBRARY "${LUA51_LIBRARY}")
SET(LUA_VERSION "5.1")
SET(LUA_FOUND TRUE)
ELSE(LUA51_INCLUDE_PATH AND LUA51_LIBRARY)
FIND_PATH(
LUA50_INCLUDE_PATH lua.h
PATHS /usr/include /usr/local/include /usr/pkg/include
PATH_SUFFIXES lua50 lua5.0 lua-5.0 lua
)
find_library(
FIND_LIBRARY(
LUA50_LIBRARY NAMES lua50 lua5.0 lua-5.0 lua
PATHS /lib /usr/lib /usr/local/lib /usr/pkg/lib
PATH_SUFFIXES lua50 lua5.0 lua-5.0 lua
)
find_library(
LUALIB50_LIBRARY NAMES lualib50 lualib5.0 lualib-5.0 lualib
PATHS /lib /usr/lib /usr/local/lib /usr/pkg/lib
FIND_LIBRARY(
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
)
if(LUA50_INCLUDE_PATH AND LUA50_LIBRARY AND LUALIB50_LIBRARY)
set(LUA_INCLUDE_PATH "${LUA50_INCLUDE_PATH}")
set(LUA_LIBRARY "${LUA50_LIBRARY}")
set(LUALIB_LIBRARY "${LUALIB50_LIBRARY}")
set(LUA_VERSION "5.0")
set(LUA_FOUND TRUE)
endif()
endif()
mark_as_advanced(
IF(LUA50_INCLUDE_PATH AND LUA50_LIBRARY AND LUALIB50_LIBRARY)
SET(LUA_INCLUDE_PATH "${LUA50_INCLUDE_PATH}")
SET(LUA_LIBRARY "${LUA50_LIBRARY}")
SET(LUALIB_LIBRARY "${LUALIB50_LIBRARY}")
SET(LUA_VERSION "5.0")
SET(LUA_FOUND TRUE)
ENDIF(LUA50_INCLUDE_PATH AND LUA50_LIBRARY AND LUALIB50_LIBRARY)
ENDIF(LUA51_INCLUDE_PATH AND LUA51_LIBRARY)
MARK_AS_ADVANCED(
LUA_INCLUDE_PATH
LUA_LIBRARY
LUALIB_LIBRARY
+15 -34
View File
@@ -1,57 +1,38 @@
# Copyright (c) 2003-2010 by FlashCode <flashcode@flashtux.org>
#
# Copyright (C) 2003-2014 Sébastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
# WeeChat is free software; you can redistribute it and/or modify
# 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)
set(NCURSES_FIND_QUIETLY TRUE)
endif()
IF(NCURSES_FOUND)
SET(NCURSES_FIND_QUIETLY TRUE)
ENDIF(NCURSES_FOUND)
find_path(NCURSES_INCLUDE_PATH
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()
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()
endif()
IF (NCURSES_INCLUDE_PATH AND NCURSES_LIBRARY)
SET(NCURSES_FOUND TRUE)
ENDIF(NCURSES_INCLUDE_PATH AND NCURSES_LIBRARY)
if(NCURSES_INCLUDE_PATH AND NCURSES_LIBRARY)
set(NCURSES_FOUND TRUE)
endif()
mark_as_advanced(
MARK_AS_ADVANCED(
NCURSES_INCLUDE_PATH
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)
+27 -29
View File
@@ -1,20 +1,17 @@
# Copyright (c) 2003-2010 by FlashCode <flashcode@flashtux.org>
#
# Copyright (C) 2003-2014 Sébastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
# WeeChat is free software; you can redistribute it and/or modify
# 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
@@ -28,57 +25,58 @@
# PERL_CFLAGS = perl compiler options for compiling
# PERL_LFLAGS = perl compiler options for linking
if(PERL_FOUND)
IF(PERL_FOUND)
# Already in cache, be silent
set(PERL_FIND_QUIETLY TRUE)
endif()
SET(PERL_FIND_QUIETLY TRUE)
ENDIF(PERL_FOUND)
find_program(PERL_EXECUTABLE
FIND_PROGRAM(PERL_EXECUTABLE
NAMES perl perl5
PATHS /usr/bin /usr/local/bin /usr/pkg/bin
)
if(PERL_EXECUTABLE)
IF(PERL_EXECUTABLE)
execute_process(
EXECUTE_PROCESS(
COMMAND ${PERL_EXECUTABLE} -MConfig -e "print \"\$Config{archlibexp}/CORE\""
OUTPUT_VARIABLE PERL_INTERNAL_DIR
)
execute_process(
EXECUTE_PROCESS(
COMMAND ${PERL_EXECUTABLE} -MExtUtils::Embed -e ccopts
OUTPUT_VARIABLE PERL_CFLAGS
)
execute_process(
EXECUTE_PROCESS(
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
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
NAMES perl.h
PATHS ${PERL_INTERNAL_DIR}
)
find_library(PERL_LIBRARY
FIND_LIBRARY(PERL_LIBRARY
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()
mark_as_advanced(
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
PERL_LIBRARY
PERL_CFLAGS
PERL_LFLAGS
)
endif()
ENDIF(PERL_EXECUTABLE)
+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:
+39 -63
View File
@@ -1,21 +1,17 @@
# Copyright (c) 2003-2010 by FlashCode <flashcode@flashtux.org>
#
# Copyright (C) 2003-2014 Sébastien 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
@@ -28,76 +24,56 @@
# PYTHON_LIBRARY = path to where libpython.so* can be found
# PYTHON_LFLAGS = python compiler options for linking
if(PYTHON_FOUND)
IF(PYTHON_FOUND)
# Already in cache, be silent
set(PYTHON_FIND_QUIETLY TRUE)
endif()
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()
find_program(PYTHON_EXECUTABLE
NAMES python2.7 python2.6 python2.5 python
PATHS /usr/bin /usr/local/bin /usr/pkg/bin
)
endif()
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'))"
IF(PYTHON_EXECUTABLE)
EXECUTE_PROCESS(
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'))"
EXECUTE_PROCESS(
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'))"
EXECUTE_PROCESS(
COMMAND ${PYTHON_EXECUTABLE} -c "from distutils.sysconfig import *; print get_config_var('LINKFORSHARED')"
OUTPUT_VARIABLE PYTHON_LFLAGS
)
find_path(PYTHON_INCLUDE_PATH
# 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()
find_library(PYTHON_LIBRARY
NAMES python2.7 python2.6 python2.5 python
PATHS ${PYTHON_POSSIBLE_LIB_PATH}
)
endif()
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()
endif()
mark_as_advanced(
IF(PYTHON_LIBRARY AND PYTHON_INCLUDE_PATH)
SET(PYTHON_FOUND TRUE)
ENDIF(PYTHON_LIBRARY AND PYTHON_INCLUDE_PATH)
MARK_AS_ADVANCED(
PYTHON_EXECUTABLE
PYTHON_INCLUDE_PATH
PYTHON_LIBRARY
PYTHON_LFLAGS
)
endif()
ENDIF(PYTHON_EXECUTABLE)
+74 -61
View File
@@ -1,20 +1,17 @@
# Copyright (c) 2003-2010 by FlashCode <flashcode@flashtux.org>
#
# Copyright (C) 2003-2014 Sébastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
# WeeChat is free software; you can redistribute it and/or modify
# 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
@@ -22,62 +19,78 @@
# and libraries are. It also determines what the name of the library is. This
# code sets the following variables:
#
# RUBY_INCLUDE_DIRS = C flags to compile with ruby
# RUBY_LIBRARY_DIRS = linker flags to compile with ruby (found with pkg-config)
# RUBY_LIB = ruby library (found without pkg-config)
# RUBY_EXECUTABLE = full path to the ruby binary
# RUBY_INCLUDE_PATH = path to where ruby.h can be found
# RUBY_LIBRARY = path to where libruby.so* can be found
if(RUBY_FOUND)
IF(RUBY_FOUND)
# Already in cache, be silent
set(RUBY_FIND_QUIETLY TRUE)
endif()
SET(RUBY_FIND_QUIETLY TRUE)
ENDIF(RUBY_FOUND)
find_package(PkgConfig)
if(PKG_CONFIG_FOUND)
pkg_search_module(RUBY ruby-2.1 ruby-2.0 ruby-1.9 ruby-1.8)
endif()
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_FOUND)
set(RUBY_LIB "")
mark_as_advanced(RUBY_LIB)
else()
find_program(RUBY_EXECUTABLE
NAMES ruby1.9.3 ruby193 ruby1.9.2 ruby192 ruby1.9.1 ruby191 ruby1.9 ruby19 ruby1.8 ruby18 ruby
PATHS /usr/bin /usr/local/bin /usr/pkg/bin
IF(RUBY_EXECUTABLE)
EXECUTE_PROCESS(
COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "puts Config::CONFIG['rubyhdrdir'] || Config::CONFIG['archdir']"
OUTPUT_VARIABLE RUBY_ARCH_DIR
)
if(RUBY_EXECUTABLE)
execute_process(
COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "print RbConfig::CONFIG['rubyhdrdir'] || RbConfig::CONFIG['archdir']"
OUTPUT_VARIABLE RUBY_ARCH_DIR
)
execute_process(
COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "print RbConfig::CONFIG['arch']"
OUTPUT_VARIABLE RUBY_ARCH
)
execute_process(
COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "print RbConfig::CONFIG['libdir']"
OUTPUT_VARIABLE RUBY_POSSIBLE_LIB_PATH
)
execute_process(
COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "print RbConfig::CONFIG['rubylibdir']"
OUTPUT_VARIABLE RUBY_RUBY_LIB_PATH
)
find_path(RUBY_INCLUDE_DIRS
NAMES ruby.h
PATHS ${RUBY_ARCH_DIR}
)
set(RUBY_INCLUDE_ARCH "${RUBY_INCLUDE_DIRS}/${RUBY_ARCH}")
find_library(RUBY_LIB
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 ruby
PATHS ${RUBY_POSSIBLE_LIB_PATH} ${RUBY_RUBY_LIB_PATH}
)
if(RUBY_LIB AND RUBY_INCLUDE_DIRS)
set(RUBY_FOUND TRUE)
endif()
set(RUBY_INCLUDE_DIRS "${RUBY_INCLUDE_DIRS};${RUBY_INCLUDE_ARCH}")
mark_as_advanced(
RUBY_INCLUDE_DIRS
RUBY_LIBRARY_DIRS
RUBY_LIB
)
endif()
endif()
EXECUTE_PROCESS(
COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "puts Config::CONFIG['arch']"
OUTPUT_VARIABLE RUBY_ARCH
)
EXECUTE_PROCESS(
COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "puts Config::CONFIG['libdir']"
OUTPUT_VARIABLE RUBY_POSSIBLE_LIB_PATH
)
EXECUTE_PROCESS(
COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "puts Config::CONFIG['rubylibdir']"
OUTPUT_VARIABLE RUBY_RUBY_LIB_PATH
)
EXECUTE_PROCESS(
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}
)
SET(RUBY_ARCH
"${RUBY_INCLUDE_PATH}/${RUBY_ARCH}")
FIND_LIBRARY(RUBY_LIBRARY
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
RUBY_ARCH
RUBY_INCLUDE_PATH
)
ENDIF(RUBY_EXECUTABLE)
+12 -16
View File
@@ -1,39 +1,35 @@
# Copyright (c) 2003-2010 by FlashCode <flashcode@flashtux.org>
#
# Copyright (C) 2003-2014 Sébastien 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
# This module finds if source-highlight is installed.
if(SOURCEHIGHLIGHT_FOUND)
IF (SOURCEHIGHLIGHT_FOUND)
# Already in cache, be silent
set(SOURCEHIGHLIGHT_FIND_QUIETLY TRUE)
endif()
SET(SOURCEHIGHLIGHT_FIND_QUIETLY TRUE)
ENDIF (SOURCEHIGHLIGHT_FOUND)
find_program(
FIND_PROGRAM(
SOURCEHIGHLIGHT_EXECUTABLE source-highlight
PATHS /bin /usr/bin /usr/local/bin /usr/pkg/bin
)
if(SOURCEHIGHLIGHT_EXECUTABLE)
set(SOURCEHIGHLIGHT_FOUND TRUE)
mark_as_advanced(
IF(SOURCEHIGHLIGHT_EXECUTABLE)
SET(SOURCEHIGHLIGHT_FOUND TRUE)
MARK_AS_ADVANCED(
SOURCEHIGHLIGHT_EXECUTABLE
)
endif()
ENDIF(SOURCEHIGHLIGHT_EXECUTABLE)
+75 -78
View File
@@ -1,23 +1,3 @@
#
# Copyright (C) 2008 Julien Louis <ptitlouis@sysif.net>
# Copyright (C) 2008-2014 Sébastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
# WeeChat is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# WeeChat is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with WeeChat. If not, see <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
@@ -51,111 +31,128 @@
# this point it is safer you ask directly where the *source* tree is
# and dig from there.
if(TCL_FOUND)
set(TCL_FIND_QUIETLY TRUE)
endif()
IF(TCL_FOUND)
SET(TCL_FIND_QUIETLY TRUE)
ENDIF(TCL_FOUND)
include(CMakeFindFrameworks)
include(FindTclsh)
INCLUDE(CMakeFindFrameworks)
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
GET_FILENAME_COMPONENT(TCL_TCLSH_PATH "${TCL_TCLSH}" PATH)
GET_FILENAME_COMPONENT(TCL_TCLSH_PATH_PARENT "${TCL_TCLSH_PATH}" PATH)
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_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
GET_FILENAME_COMPONENT(TCL_LIBRARY_PATH "${TCL_LIBRARY}" PATH)
GET_FILENAME_COMPONENT(TCL_LIBRARY_PATH_PARENT "${TCL_LIBRARY_PATH}" PATH)
STRING(REGEX REPLACE
"^.*tcl([0-9]\\.*[0-9]).*$" "\\1" TCL_VERSION "${TCL_LIBRARY}")
set(TCL_POSSIBLE_LIB_PATHS
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]"
IF(WIN32)
GET_FILENAME_COMPONENT(
ActiveTcl_CurrentVersion
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\ActiveState\\ActiveTcl;CurrentVersion]"
NAME)
set(TCLTK_POSSIBLE_LIB_PATHS ${TCLTK_POSSIBLE_LIB_PATHS}
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()
ENDIF(WIN32)
find_library(TCL_LIBRARY
NAMES
tcl86 tcl8.6
tcl85 tcl8.5
tcl
FIND_LIBRARY(TCL_LIBRARY
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}
)
cmake_find_frameworks(Tcl)
CMAKE_FIND_FRAMEWORKS(Tcl)
set(TCL_FRAMEWORK_INCLUDES)
if(Tcl_FRAMEWORKS)
if(NOT TCL_INCLUDE_PATH)
foreach(dir ${Tcl_FRAMEWORKS})
set(TCL_FRAMEWORK_INCLUDES ${TCL_FRAMEWORK_INCLUDES} ${dir}/Headers)
endforeach(dir)
endif()
endif()
SET(TCL_FRAMEWORK_INCLUDES)
IF(Tcl_FRAMEWORKS)
IF(NOT TCL_INCLUDE_PATH)
FOREACH(dir ${Tcl_FRAMEWORKS})
SET(TCL_FRAMEWORK_INCLUDES ${TCL_FRAMEWORK_INCLUDES} ${dir}/Headers)
ENDFOREACH(dir)
ENDIF(NOT TCL_INCLUDE_PATH)
ENDIF(Tcl_FRAMEWORKS)
set(TCL_POSSIBLE_INCLUDE_PATHS
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
)
if(WIN32)
set(TCLTK_POSSIBLE_INCLUDE_PATHS ${TCLTK_POSSIBLE_INCLUDE_PATHS}
IF(WIN32)
SET(TCLTK_POSSIBLE_INCLUDE_PATHS ${TCLTK_POSSIBLE_INCLUDE_PATHS}
"[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()
ENDIF(WIN32)
find_path(TCL_INCLUDE_PATH
FIND_PATH(TCL_INCLUDE_PATH
NAMES tcl.h
PATHS ${TCL_POSSIBLE_INCLUDE_PATHS}
)
if(TCL_LIBRARY AND TCL_INCLUDE_PATH)
set(TCL_VERSION ${TCL_VERSION})
set(TCL_LIBARY ${TCL_LIBRARY})
set(TCL_INCLUDE_PATH ${TCL_INCLUDE_PATH})
set(TCL_FOUND TRUE)
endif()
IF(TCL_LIBRARY AND TCL_INCLUDE_PATH)
SET(TCL_VERSION ${TCL_VERSION})
SET(TCL_LIBARY ${TCL_LIBRARY})
SET(TCL_INCLUDE_PATH ${TCL_INCLUDE_PATH})
SET(TCL_FOUND TRUE)
ENDIF(TCL_LIBRARY AND TCL_INCLUDE_PATH)
mark_as_advanced(
MARK_AS_ADVANCED(
TCL_INCLUDE_PATH
TCL_LIBRARY
TCL_VERSION
-77
View File
@@ -1,77 +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()
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()
+24 -27
View File
@@ -1,40 +1,37 @@
# Copyright (c) 2003-2010 by FlashCode <flashcode@flashtux.org>
#
# Copyright (C) 2003-2014 Sébastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
# WeeChat is free software; you can redistribute it and/or modify
# 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")
message(FATAL_ERROR "Cannot find install manifest: \"@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt\"")
endif()
IF(NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt")
MESSAGE(FATAL_ERROR "Cannot find install manifest: \"@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt\"")
ENDIF(NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt")
FILE(READ "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt" files)
STRING(REGEX REPLACE "\n" ";" files "${files}")
FOREACH(file ${files})
MESSAGE(STATUS "Uninstalling \"${file}\"")
IF(NOT EXISTS "${file}")
MESSAGE(FATAL_ERROR "File \"${file}\" does not exists.")
ENDIF(NOT EXISTS "${file}")
EXEC_PROGRAM("@CMAKE_COMMAND@" ARGS "-E remove \"${file}\""
OUTPUT_VARIABLE rm_out
RETURN_VARIABLE rm_retval)
IF("${rm_retval}" GREATER 0)
MESSAGE(FATAL_ERROR "Problem when removing \"${file}\"")
ENDIF("${rm_retval}" GREATER 0)
ENDFOREACH(file)
file(READ "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt" files)
string(REGEX REPLACE "\n" ";" files "${files}")
string(REGEX REPLACE ";$" "" files "${files}")
list(REVERSE files)
foreach(file ${files})
message(STATUS "Uninstalling \"$ENV{DESTDIR}${file}\"")
if(EXISTS "$ENV{DESTDIR}${file}")
exec_program("@CMAKE_COMMAND@" ARGS "-E remove \"$ENV{DESTDIR}${file}\""
OUTPUT_VARIABLE rm_out
RETURN_VARIABLE rm_retval)
if("${rm_retval}" GREATER 0)
message(FATAL_ERROR "Problem when removing \"$ENV{DESTDIR}${file}\"")
endif()
else()
message(STATUS "File \"$ENV{DESTDIR}${file}\" does not exist.")
endif()
endforeach(file)
+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 -8
View File
@@ -1,14 +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_ASPELL_VERSION_STRING
#cmakedefine HAVE_ENCHANT_GET_VERSION
#cmakedefine HAVE_GUILE_GMP_MEMORY_FUNCTIONS
#cmakedefine HAVE_TCL_CREATE_NS
#define PACKAGE_VERSION "@VERSION@"
#define PACKAGE "@PROJECT_NAME@"
#define PACKAGE_NAME "@PROJECT_NAME@"
@@ -16,6 +28,4 @@
#define WEECHAT_LIBDIR "@LIBDIR@"
#define WEECHAT_SHAREDIR "@SHAREDIR@"
#define LOCALEDIR "@LOCALEDIR@"
#define WEECHAT_HOME "@WEECHAT_HOME@"
#define CA_FILE "@CA_FILE@"
#define _GNU_SOURCE 1
File diff suppressed because it is too large Load Diff
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
+22 -299
View File
@@ -1,280 +1,3 @@
weechat (1.0-1) unstable; urgency=medium
* New upstream release (Closes: #758230, #751108)
- Remove the patch to fix FTBFS while building against ruby 2.1
- Fix the way to install upstream changelog
- Add new plugins (exec, trigger)
- Fix the way to install docs (upstream changes to asciidoc)
* Re-enable the build of guile plugin
* Fix various typos in packaging
* Update copyright years in debian/copyright
* Add new doc-base files (Relay Protocol in Japanese)
* Add git-buildpackage configuration
-- Emmanuel Bouthenot <kolter@debian.org> Sun, 24 Aug 2014 17:40:36 +0200
weechat (0.4.3-4) unstable; urgency=medium
* Fix FTBFS by adding a missing Build Depends on docbook-xml
(Closes:#753166)
* Update libgnutls and libgcrypt Build Depends to libgnutls28-dev and
libgcrypt20-dev (Closes: #753167)
-- Emmanuel Bouthenot <kolter@debian.org> Wed, 02 Jul 2014 23:42:41 +0200
weechat (0.4.3-3) unstable; urgency=medium
* Add patch (backported from upstream) to fix a FTBFS while building
against ruby 2.1 (Closes: #747708)
-- Emmanuel Bouthenot <kolter@debian.org> Mon, 12 May 2014 12:49:14 +0200
weechat (0.4.3-2) unstable; urgency=medium
* Add missing symlink for Polish manpage
* Change ruby-* Build-Depends to gem2deb so that ruby plugin will be
built against the newest Ruby interpreter available (Closes: #738685)
-- Emmanuel Bouthenot <kolter@debian.org> Thu, 13 Feb 2014 12:11:54 +0000
weechat (0.4.3-1) unstable; urgency=medium
* New upstream release
* Bump Standards-Version to 3.9.5
* Update debian/watch to check upstream tarballs signatures
* Add new doc-base files:
- Devel guide in French and Japanese
- Plugins guide in Japanese
- Relay protocol guide in French
- User guide in Polish
-- Emmanuel Bouthenot <kolter@debian.org> Mon, 10 Feb 2014 17:15:21 +0000
weechat (0.4.2-3) unstable; urgency=low
* Fix FTBS while building without Internet access (add a missing build
dependency on docbook-xsl) (Closes: #727206)
-- Emmanuel Bouthenot <kolter@debian.org> Wed, 23 Oct 2013 20:54:08 +0000
weechat (0.4.2-2) unstable; urgency=low
* Move dependencies from Build-Depends-Indep to Build-Depends (weechat-curses
as arch:any needs them to build manpages)
-- Emmanuel Bouthenot <kolter@debian.org> Tue, 08 Oct 2013 07:16:59 +0000
weechat (0.4.2-1) unstable; urgency=low
* New upstream release
- Add build dependency on xsltproc
- Enable build of documentation and manpages (now disabled by default)
- Install new localized manpages
- weechat-curses renamed to weechat
o update packaging accordingly
o add symlinks for backward compatibility
* Refresh XPM menu icon following upstream changes
* Switch to debhelper >= 9
-- Emmanuel Bouthenot <kolter@debian.org> Mon, 07 Oct 2013 21:40:15 +0000
weechat (0.4.1-2) unstable; urgency=low
* Disable build of guile plugin (as guile-2.0-dev FTBFS on multiple
architectures)
-- Emmanuel Bouthenot <kolter@debian.org> Sat, 29 Jun 2013 14:48:33 +0000
weechat (0.4.1-1) unstable; urgency=low
* New upstream release
* Move guile build dependency to guile-2.0-dev (previous versions are
no longer supported).
* Add supported protocols in long description. Thanks to Jonas Smedegaard
for the suggestion (Closes: #705216)
-- Emmanuel Bouthenot <kolter@debian.org> Tue, 21 May 2013 19:44:31 +0000
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.
@@ -318,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
@@ -328,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
@@ -365,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
@@ -462,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
@@ -538,8 +261,8 @@ 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.
-- Sébastien Helleu <flashcode@flashtux.org> Sat, 21 May 2005 08:00:00 +0200
-- Sebastien Helleu <flashcode@flashtux.org> Sat, 21 May 2005 08:00:00 +0200
weechat (0.1.1-2) unstable; urgency=low
@@ -552,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)
-- Sébastien Helleu <flashcode@flashtux.org> Sat, 20 Mar 2005 08:00:00 +0200
-- 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.
-- Sébastien Helleu <flashcode@flashtux.org> Sat, 12 Feb 2005 12:00:00 +0200
-- 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
+1 -1
View File
@@ -1 +1 @@
9
7
+14 -50
View File
@@ -1,54 +1,30 @@
Source: weechat
Section: net
Priority: optional
Maintainer: Emmanuel Bouthenot <kolter@debian.org>
Build-Depends:
asciidoc (>= 8.5),
source-highlight,
xsltproc,
docbook-xsl,
docbook-xml,
debhelper (>= 9),
cmake, pkg-config,
libncursesw5-dev,
gem2deb,
libperl-dev,
python-dev,
libaspell-dev,
liblua5.1-0-dev,
tcl8.5-dev,
guile-2.0-dev,
libcurl4-gnutls-dev,
libgcrypt20-dev,
libgnutls28-dev,
zlib1g-dev
Standards-Version: 3.9.5
Maintainer: Emmanuel Bouthenot <kolter@openics.org>
Build-Depends-Indep: asciidoc (>= 8.2), source-highlight
Build-Depends: debhelper (>= 7.0.50), cmake, libncursesw5-dev,
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:
- support of IRC protocol (native)
- support of XMPP/Jabber protocol (with additional script)
- 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
@@ -57,25 +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:
- support of IRC protocol (native)
- support of XMPP/Jabber protocol (with additional script)
- 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).
@@ -103,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
- Trigger
- And many others (Fifo, ...)
Package: weechat-doc
Section: doc
@@ -124,7 +88,7 @@ Package: weechat-dev
Section: devel
Architecture: all
Depends: ${misc:Depends}
Description: Fast, light and extensible chat client - development headers
Description: Fast, light and extensible chat client - developement headers
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
for many operating systems. Everything can be done with a keyboard.
.
+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: Sébastien 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-2014, Sébastien 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-2014, 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>
-5
View File
@@ -1,5 +0,0 @@
[DEFAULT]
upstream-branch = upstream
debian-branch = unstable
upstream-tag = v%(version)s
compression = xz
+19 -15
View File
@@ -1,33 +1,37 @@
#!/usr/bin/make -f
BUILDDIR = builddir
$(BUILDDIR)/Makefile:
mkdir -p $(BUILDDIR)
cd $(BUILDDIR) && \
builddir/Makefile:
mkdir -p builddir
cd builddir && \
cmake .. \
-DCMAKE_INSTALL_PREFIX:FILEPATH=/usr \
-DENABLE_DOC:BOOL=ON \
-DENABLE_MAN:BOOL=ON \
-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_installchangelogs:
dh_installchangelogs ChangeLog.asciidoc
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 +0,0 @@
debian/upstream-signing-key.pgp
-2
View File
@@ -1,2 +0,0 @@
unapply-patches
abort-on-upstream-changes
+2 -2
View File
@@ -1,2 +1,2 @@
version=3
opts=pgpsigurlmangle=s/$/.asc/ http://weechat.org/files/src/weechat-(\d.*)\.tar\.bz2
version=2
http://weechat.org/files/src/weechat-(\d.*)\.tar\.bz2
+4 -4
View File
@@ -1,4 +1,4 @@
AUTHORS.asciidoc
Contributing.asciidoc
README.asciidoc
ReleaseNotes.asciidoc
AUTHORS
NEWS
README
UPGRADE_0.3
+1 -3
View File
@@ -1,4 +1,2 @@
usr/bin/weechat
usr/bin/weechat-curses
debian/weechat.xpm usr/share/pixmaps
usr/share/man/man1/weechat.1
usr/share/man/*/man1/weechat.1
-7
View File
@@ -1,7 +0,0 @@
usr/bin/weechat usr/bin/weechat-curses
usr/share/man/man1/weechat.1.gz usr/share/man/man1/weechat-curses.1.gz
usr/share/man/fr/man1/weechat.1.gz usr/share/man/fr/man1/weechat-curses.1.gz
usr/share/man/ja/man1/weechat.1.gz usr/share/man/ja/man1/weechat-curses.1.gz
usr/share/man/it/man1/weechat.1.gz usr/share/man/it/man1/weechat-curses.1.gz
usr/share/man/de/man1/weechat.1.gz usr/share/man/de/man1/weechat-curses.1.gz
usr/share/man/pl/man1/weechat.1.gz usr/share/man/pl/man1/weechat-curses.1.gz
+1
View File
@@ -0,0 +1 @@
weechat-curses: manpage-has-errors-from-man usr/share/man/man1/weechat-curses.1.gz 54: warning [p 1, 8.2i]: cannot adjust line
+1
View File
@@ -0,0 +1 @@
doc/weechat-curses.1
+2 -2
View File
@@ -1,4 +1,4 @@
?package(weechat-curses):needs="text" section="Applications/Network/Communication" \
title="weechat" \
title="weechat-curses" \
icon="/usr/share/pixmaps/weechat.xpm" \
command="/usr/bin/weechat"
command="/usr/bin/weechat-curses"
-10
View File
@@ -1,10 +0,0 @@
Document: weechat-dev-en
Title: WeeChat developer's guide (English)
Author: Sébastien 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-dev-fr
Title: WeeChat developer's guide (French)
Author: Sébastien Helleu
Abstract: This manual describes WeeChat internals and
how to contribute to WeeChat (French version).
Section: Network/Communication
Format: HTML
Index: /usr/share/doc/weechat-doc/html/weechat_dev.fr.html
Files: /usr/share/doc/weechat-doc/html/weechat_dev.fr.html
-10
View File
@@ -1,10 +0,0 @@
Document: weechat-dev-ja
Title: WeeChat developer's guide (Japanese)
Author: Sébastien Helleu
Abstract: This manual describes WeeChat internals and
how to contribute to WeeChat (Japanese version).
Section: Network/Communication
Format: HTML
Index: /usr/share/doc/weechat-doc/html/weechat_dev.ja.html
Files: /usr/share/doc/weechat-doc/html/weechat_dev.ja.html
-10
View File
@@ -1,10 +0,0 @@
Document: weechat-faq-de
Title: WeeChat FAQ (German)
Author: Sébastien 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
+6 -3
View File
@@ -1,10 +1,13 @@
Document: weechat-faq-en
Title: WeeChat FAQ (English)
Author: Sébastien Helleu
Author: Sebastien Helleu
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
+6 -3
View File
@@ -1,10 +1,13 @@
Document: weechat-faq-fr
Title: WeeChat FAQ (French)
Author: Sébastien Helleu
Author: Sebastien Helleu
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: Sébastien 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: Sébastien 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
+3 -3
View File
@@ -1,10 +1,10 @@
Document: weechat-faq-pl
Title: WeeChat FAQ (Polish)
Author: Sébastien Helleu
Author: Sebastien Helleu
Abstract: This document answers frequently asked questions
about the WeeChat IRC client (Polish version).
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
+4 -4
View File
@@ -1,10 +1,10 @@
Document: weechat-plugin-en
Title: WeeChat plugin API reference (English)
Author: Sébastien Helleu
Title: WeeChat plugins API (English)
Author: Sebastien Helleu
Abstract: This document describes the API to create plugins
for WeeChat (English version).
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
+4 -4
View File
@@ -1,10 +1,10 @@
Document: weechat-plugin-fr
Title: WeeChat plugin API reference (French)
Author: Sébastien Helleu
Title: WeeChat plugins API (French)
Author: Sebastien Helleu
Abstract: This document describes the API to create plugins
for WeeChat (French version).
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 plugin API reference (Italian)
Author: Sébastien 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
-10
View File
@@ -1,10 +0,0 @@
Document: weechat-plugin-ja
Title: WeeChat plugin API reference (Japanese)
Author: Sébastien Helleu
Abstract: This document describes the API to create plugins
for WeeChat (Japanese version).
Section: Network/Communication
Format: HTML
Index: /usr/share/doc/weechat-doc/html/weechat_plugin_api.ja.html
Files: /usr/share/doc/weechat-doc/html/weechat_plugin_api.ja.html
+4 -4
View File
@@ -1,9 +1,9 @@
Document: weechat-quickstart-de
Title: WeeChat quick start guide (German)
Author: Sébastien Helleu
Title: WeeChat Quickstart (German)
Author: Sebastien Helleu
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
+7 -4
View File
@@ -1,9 +1,12 @@
Document: weechat-quickstart-en
Title: WeeChat quick start guide (English)
Author: Sébastien Helleu
Title: WeeChat Quickstart (English)
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 quick start guide (Spanish)
Author: Sébastien 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
+7 -4
View File
@@ -1,9 +1,12 @@
Document: weechat-quickstart-fr
Title: WeeChat quick start guide (French)
Author: Sébastien Helleu
Title: WeeChat Quickstart (French)
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 quick start guide (Italian)
Author: Sébastien 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 quick start guide (Japanese)
Author: Sébastien 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
+4 -4
View File
@@ -1,9 +1,9 @@
Document: weechat-quickstart-pl
Title: WeeChat quick start guide (Polish)
Author: Sébastien Helleu
Title: WeeChat Quickstart (Polish)
Author: Sebastien Helleu
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
+4 -4
View File
@@ -1,9 +1,9 @@
Document: weechat-quickstart-ru
Title: WeeChat quick start guide (Russian)
Author: Sébastien Helleu
Title: WeeChat Quickstart (Russian)
Author: Sebastien Helleu
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: Sébastien Helleu
Abstract: This manual describes WeeChat Relay Protocol, used by
remote GUI to communicate with Relay plugin (English version).
Section: Network/Communication
Format: HTML
Index: /usr/share/doc/weechat-doc/html/weechat_relay_protocol.en.html
Files: /usr/share/doc/weechat-doc/html/weechat_relay_protocol.en.html
-10
View File
@@ -1,10 +0,0 @@
Document: weechat-relay-protocol-fr
Title: WeeChat Relay protocol (French)
Author: Sébastien Helleu
Abstract: This manual describes WeeChat Relay Protocol, used by
remote GUI to communicate with Relay plugin (French version).
Section: Network/Communication
Format: HTML
Index: /usr/share/doc/weechat-doc/html/weechat_relay_protocol.fr.html
Files: /usr/share/doc/weechat-doc/html/weechat_relay_protocol.fr.html
-10
View File
@@ -1,10 +0,0 @@
Document: weechat-relay-protocol-ja
Title: WeeChat Relay protocol (Japanese)
Author: Sébastien Helleu
Abstract: This manual describes WeeChat Relay Protocol, used by
remote GUI to communicate with Relay plugin (Japanese version).
Section: Network/Communication
Format: HTML
Index: /usr/share/doc/weechat-doc/html/weechat_relay_protocol.ja.html
Files: /usr/share/doc/weechat-doc/html/weechat_relay_protocol.ja.html
-10
View File
@@ -1,10 +0,0 @@
Document: weechat-scripting-de
Title: WeeChat scripting guide (German)
Author: Sébastien 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
+4 -4
View File
@@ -1,10 +1,10 @@
Document: weechat-scripting-en
Title: WeeChat scripting guide (English)
Author: Sébastien Helleu
Title: WeeChat Scripting Guide (English)
Author: Sebastien Helleu
Abstract: This document describes the API to create scripts
for WeeChat (English version).
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
+4 -4
View File
@@ -1,10 +1,10 @@
Document: weechat-scripting-fr
Title: WeeChat scripting guide (French)
Author: Sébastien Helleu
Title: WeeChat Scripting Guide (French)
Author: Sebastien Helleu
Abstract: This document describes the API to create scripts
for WeeChat (French version).
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: Sébastien 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: Sébastien 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: Sébastien 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: Sébastien 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
+7 -4
View File
@@ -1,10 +1,13 @@
Document: weechat-tester-en
Title: WeeChat tester's guide (English)
Author: Sébastien Helleu
Title: WeeChat Tester's Guide (English)
Author: Sebastien Helleu
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
+7 -4
View File
@@ -1,10 +1,13 @@
Document: weechat-tester-fr
Title: WeeChat tester's guide (French)
Author: Sébastien Helleu
Title: WeeChat Tester's Guide (French)
Author: Sebastien Helleu
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: Sébastien 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: Sébastien 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
+4 -4
View File
@@ -1,10 +1,10 @@
Document: weechat-tester-pl
Title: WeeChat tester's guide (Polish)
Author: Sébastien Helleu
Title: WeeChat Tester's Guide (Polish)
Author: Sebastien Helleu
Abstract: This document describes how to test and report
bugs against the WeeChat IRC Client (Polish version).
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: Sébastien 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
+4 -4
View File
@@ -1,10 +1,10 @@
Document: weechat-user-en
Title: WeeChat user's guide (English)
Author: Sébastien Helleu
Title: WeeChat User's Guide (English)
Author: Sebastien Helleu
Abstract: This manual describes how to use the WeeChat
IRC client (English version).
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
+4 -4
View File
@@ -1,10 +1,10 @@
Document: weechat-user-fr
Title: WeeChat user's guide (French)
Author: Sébastien Helleu
Title: WeeChat User's Guide (French)
Author: Sebastien Helleu
Abstract: This manual describes how to use the WeeChat
IRC client (French version).
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: Sébastien 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: Sébastien 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
-10
View File
@@ -1,10 +0,0 @@
Document: weechat-user-pl
Title: WeeChat user's guide (Polish)
Author: Sébastien Helleu
Abstract: This manual describes how to use the WeeChat
IRC client (Polish version).
Section: Network/Communication
Format: HTML
Index: /usr/share/doc/weechat-doc/html/weechat_user.pl.html
Files: /usr/share/doc/weechat-doc/html/weechat_user.pl.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

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