mirror of
https://github.com/weechat/weechat.git
synced 2026-07-06 09:43:13 +02:00
Compare commits
8 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| d486a0223d | |||
| 707749957a | |||
| f950700a34 | |||
| ee4d039c42 | |||
| 70a970f8ed | |||
| 50a62179d4 | |||
| b01bc3eb21 | |||
| d44762aa43 |
@@ -1,5 +0,0 @@
|
|||||||
# files/directories excluded from tarballs
|
|
||||||
|
|
||||||
.git* export-ignore
|
|
||||||
debian export-ignore
|
|
||||||
weechat.spec export-ignore
|
|
||||||
-50
@@ -1,50 +0,0 @@
|
|||||||
# ignored files for Git
|
|
||||||
|
|
||||||
*.a
|
|
||||||
*.gmo
|
|
||||||
*.html
|
|
||||||
*.la
|
|
||||||
*.lai
|
|
||||||
*.lo
|
|
||||||
*.m4
|
|
||||||
*.o
|
|
||||||
*.Plo
|
|
||||||
*.Po
|
|
||||||
*.so
|
|
||||||
*.so.0
|
|
||||||
*.so.0.0.0
|
|
||||||
*.1
|
|
||||||
|
|
||||||
ABOUT-NLS
|
|
||||||
autom4te*
|
|
||||||
build*/*
|
|
||||||
config.guess
|
|
||||||
config.h
|
|
||||||
config.h.in*
|
|
||||||
config-git.h
|
|
||||||
config.log
|
|
||||||
config.rpath
|
|
||||||
config.status
|
|
||||||
config.sub
|
|
||||||
configure
|
|
||||||
debian/*.log
|
|
||||||
depcomp
|
|
||||||
insert-header.sin
|
|
||||||
install-sh
|
|
||||||
intl/*
|
|
||||||
libtool
|
|
||||||
ltmain.sh
|
|
||||||
Makefile
|
|
||||||
Makefile.in*
|
|
||||||
Makevars.template
|
|
||||||
missing
|
|
||||||
po/*quot*
|
|
||||||
POTFILES
|
|
||||||
remove-potcdate.sed
|
|
||||||
Rules-quot
|
|
||||||
weechat.pc
|
|
||||||
|
|
||||||
*stamp
|
|
||||||
stamp*
|
|
||||||
|
|
||||||
src/gui/curses/weechat
|
|
||||||
@@ -1,71 +1,47 @@
|
|||||||
WeeChat Authors
|
WeeChat - Wee Enhanced Environment for Chat
|
||||||
===============
|
===========================================
|
||||||
|
|
||||||
Developers
|
Developers:
|
||||||
----------
|
----------
|
||||||
|
|
||||||
* General code
|
* General code
|
||||||
|
|
||||||
** Sébastien Helleu (FlashCode) <flashcode@flashtux.org>
|
FlashCode <flashcode@flashtux.org>
|
||||||
|
Web : http://weechat.flashtux.org
|
||||||
|
IRC : nick is "FlashCode" @ irc.freenode.net
|
||||||
|
|
||||||
* Scripts plugins, debian packager
|
* Scripts plugins
|
||||||
|
|
||||||
** Emmanuel Bouthenot (kolter) <kolter@openics.org>
|
kolter <kolter@openics.org>
|
||||||
|
IRC : nick is "kolter" @ irc.freenode.net
|
||||||
|
|
||||||
|
|
||||||
Contributors
|
Debian packager:
|
||||||
|
---------------
|
||||||
|
|
||||||
|
Julien Louis <ptitlouis@sysif.net>
|
||||||
|
IRC : nick is "ptitlouis" @ irc.freenode.net
|
||||||
|
Jabber: ptitlouis@amessage.info
|
||||||
|
|
||||||
|
|
||||||
|
Contributors:
|
||||||
------------
|
------------
|
||||||
|
|
||||||
Alphabetically:
|
Rudolf Polzer <rpolzer-rp@durchnull.de>, IRC: "divVerent"
|
||||||
|
Jiri Golembiovsky <golemj@gmail.com>, IRC: "GolemJ"
|
||||||
* Ailin Nemui (Nei)
|
Jim Ramsay <i.am@jimramsay.com>, IRC: "lack"
|
||||||
* Aleksey V Zapparov
|
Odin <odin@dtdm.org>, IRC: "Odin"
|
||||||
* Andrew Potter
|
Pistos, IRC: "pistos"
|
||||||
* Antoine Pietri (seirl)
|
Gwenn, IRC: "gwenn"
|
||||||
* Arvydas Sidorenko
|
Voroskoi, IRC: "voroskoi"
|
||||||
* Benoit Papillault (benoit)
|
Frank Zacharias
|
||||||
* Dmitry Kobylin
|
Pavel Shevchuk, IRC: "Stalwart"
|
||||||
* Dominik Honnef
|
|
||||||
* Elián Hanisch (m4v)
|
|
||||||
* Elizabeth Myers (Elizacat)
|
|
||||||
* Esteban I. Ruiz Moreno (Exio)
|
|
||||||
* Frank Zacharias
|
|
||||||
* Gu1ll4um3r0m41n
|
|
||||||
* gwenn
|
|
||||||
* Hasan Kiran (turgay)
|
|
||||||
* Ivan Sichmann Freitas
|
|
||||||
* JD Horelick (jdhore)
|
|
||||||
* Jim Ramsay (lack)
|
|
||||||
* Jiri Golembiovsky (GolemJ)
|
|
||||||
* Julien Louis (ptitlouis)
|
|
||||||
* Krzysztof Koroscik (soltys)
|
|
||||||
* Kyle Fuller (kylef)
|
|
||||||
* Lázaro A.
|
|
||||||
* Marco Paolone
|
|
||||||
* Mantas MikulÄ—nas (grawity)
|
|
||||||
* Mateusz Poszwa
|
|
||||||
* Nicolas Cavigneaux
|
|
||||||
* Nils Görs (nils_2)
|
|
||||||
* Odin
|
|
||||||
* Pavel Shevchuk (Stalwart)
|
|
||||||
* Peter Boström (pbos)
|
|
||||||
* pistos
|
|
||||||
* Quentin Glidic (SardemFF7)
|
|
||||||
* Quico Noizeux
|
|
||||||
* rettub
|
|
||||||
* Rudolf Polzer (divVerent)
|
|
||||||
* Ryuunosuke Ayanokouzi
|
|
||||||
* Sergio Durigan Junior
|
|
||||||
* Simon Arlott
|
|
||||||
* Simon Kuhnle
|
|
||||||
* Stefano Pigozzi
|
|
||||||
* voroskoi
|
|
||||||
|
|
||||||
|
|
||||||
Contact
|
=====
|
||||||
-------
|
|
||||||
|
|
||||||
Developers are connected to IRC:
|
Whole team is connected to IRC:
|
||||||
|
server: irc.freenode.net, channels: #weechat and #weechat-fr (french)
|
||||||
|
|
||||||
* server: 'irc.freenode.net'
|
|
||||||
* channels: '#weechat' (english) and '#weechat-fr' (french)
|
See README file for licence detail.
|
||||||
|
|||||||
@@ -0,0 +1,5 @@
|
|||||||
|
WeeChat - Wee Enhanced Environment for Chat
|
||||||
|
===========================================
|
||||||
|
|
||||||
|
WeeChat known bugs:
|
||||||
|
please look at https://savannah.nongnu.org/bugs/?group=weechat
|
||||||
+34
-136
@@ -1,125 +1,61 @@
|
|||||||
|
# Copyright (c) 2003-2007 FlashCode <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
|
# This program is free software; you can redistribute it and/or modify
|
||||||
# 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
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
# the Free Software Foundation; either version 3 of the License, or
|
# the Free Software Foundation; either version 3 of the License, or
|
||||||
# (at your option) any later version.
|
# (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
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
# GNU General Public License for more details.
|
# GNU General Public License for more details.
|
||||||
#
|
#
|
||||||
# You should have received a copy of the GNU General Public License
|
# 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)
|
PROJECT(weechat)
|
||||||
|
|
||||||
cmake_minimum_required(VERSION 2.4)
|
|
||||||
|
|
||||||
SET(CMAKE_VERBOSE_MAKEFILE OFF)
|
SET(CMAKE_VERBOSE_MAKEFILE OFF)
|
||||||
SET(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake ${CMAKE_MODULE_PATH})
|
SET(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake ${CMAKE_MODULE_PATH})
|
||||||
SET(CMAKE_SKIP_RPATH ON)
|
SET(CMAKE_SKIP_RPATH ON)
|
||||||
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -W -Werror-implicit-function-declaration")
|
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -W")
|
||||||
IF(PREFIX)
|
IF(PREFIX)
|
||||||
SET(CMAKE_INSTALL_PREFIX ${PREFIX} CACHE PATH "Install path prefix" FORCE)
|
SET(CMAKE_INSTALL_PREFIX ${PREFIX} CACHE PATH "Install path prefix" FORCE)
|
||||||
ENDIF(PREFIX)
|
ENDIF(PREFIX)
|
||||||
|
|
||||||
SET(VERSION_MAJOR "0")
|
SET(VERSION 0.2.6.3)
|
||||||
SET(VERSION_MINOR "4")
|
|
||||||
SET(VERSION_PATCH "2")
|
|
||||||
SET(VERSION ${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH})
|
|
||||||
SET(LICENSE "GPL3")
|
|
||||||
SET(PKG_STRING "${PROJECT_NAME} ${VERSION}")
|
SET(PKG_STRING "${PROJECT_NAME} ${VERSION}")
|
||||||
|
SET(LIBDIR ${CMAKE_INSTALL_PREFIX}/lib/weechat)
|
||||||
|
SET(SHAREDIR ${CMAKE_INSTALL_PREFIX}/share/weechat)
|
||||||
|
SET(LOCALEDIR ${CMAKE_INSTALL_PREFIX}/share/locale)
|
||||||
STRING(REPLACE "\";\"" "\ " PKG_STRING ${PKG_STRING})
|
STRING(REPLACE "\";\"" "\ " PKG_STRING ${PKG_STRING})
|
||||||
|
|
||||||
IF(DEFINED LIBDIR)
|
OPTION(DISABLE_NCURSES "Disable Ncurses interface")
|
||||||
SET(LIBDIR ${LIBDIR}/${PROJECT_NAME})
|
OPTION(ENABLE_GTK "Enable GTK interface")
|
||||||
ELSE(DEFINED LIBDIR)
|
OPTION(DISABLE_NLS "Disable Native Language Support")
|
||||||
SET(LIBDIR ${CMAKE_INSTALL_PREFIX}/lib/${PROJECT_NAME})
|
OPTION(DISABLE_GNUTLS "Disable SSLv3/TLS connection support")
|
||||||
ENDIF(DEFINED LIBDIR)
|
OPTION(DISABLE_PLUGINS "Disable Plugins support")
|
||||||
|
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_ASPELL "Disable Aspell plugin")
|
||||||
|
OPTION(DISABLE_CHARSET "Disable Charset plugin")
|
||||||
|
OPTION(DISABLE_DOC "Disable Doc")
|
||||||
|
|
||||||
IF(NOT DEFINED SHAREDIR)
|
ADD_SUBDIRECTORY( po )
|
||||||
SET(SHAREDIR ${CMAKE_INSTALL_PREFIX}/share)
|
ADD_SUBDIRECTORY( src )
|
||||||
ENDIF(NOT DEFINED SHAREDIR)
|
IF(NOT DISABLE_DOC)
|
||||||
|
ADD_SUBDIRECTORY( doc )
|
||||||
IF(NOT DEFINED MANDIR)
|
ENDIF(NOT DISABLE_DOC)
|
||||||
SET(MANDIR ${SHAREDIR}/man)
|
|
||||||
ENDIF(NOT DEFINED MANDIR)
|
|
||||||
|
|
||||||
IF(NOT DEFINED LOCALEDIR)
|
|
||||||
SET(LOCALEDIR ${SHAREDIR}/locale)
|
|
||||||
ENDIF(NOT DEFINED LOCALEDIR)
|
|
||||||
|
|
||||||
IF(DEFINED INCLUDEDIR)
|
|
||||||
SET(INCLUDEDIR ${INCLUDEDIR}/${PROJECT_NAME})
|
|
||||||
ELSE(DEFINED INCLUDEDIR)
|
|
||||||
SET(INCLUDEDIR ${CMAKE_INSTALL_PREFIX}/include/${PROJECT_NAME})
|
|
||||||
ENDIF(DEFINED INCLUDEDIR)
|
|
||||||
|
|
||||||
OPTION(ENABLE_NCURSES "Enable Ncurses interface" ON)
|
|
||||||
OPTION(ENABLE_NLS "Enable Native Language Support" ON)
|
|
||||||
OPTION(ENABLE_GNUTLS "Enable SSLv3/TLS support" ON)
|
|
||||||
OPTION(ENABLE_LARGEFILE "Enable Large File Support" ON)
|
|
||||||
OPTION(ENABLE_ALIAS "Enable Alias plugin" ON)
|
|
||||||
OPTION(ENABLE_ASPELL "Enable Aspell plugin" ON)
|
|
||||||
OPTION(ENABLE_ENCHANT "Enable Enchant lib for Aspell plugin" OFF)
|
|
||||||
OPTION(ENABLE_CHARSET "Enable Charset 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_RMODIFIER "Enable Rmodifier plugin" ON)
|
|
||||||
OPTION(ENABLE_SCRIPT "Enable Script plugin (scripts manager)" ON)
|
|
||||||
OPTION(ENABLE_SCRIPTS "Enable script plugins (perl, python, ...)" ON)
|
|
||||||
OPTION(ENABLE_PERL "Enable Perl scripting language" ON)
|
|
||||||
OPTION(ENABLE_PYTHON "Enable Python scripting language" ON)
|
|
||||||
OPTION(ENABLE_PYTHON3 "Use Python 3.x if found (NOT recommended)" OFF)
|
|
||||||
OPTION(ENABLE_RUBY "Enable Ruby scripting language" ON)
|
|
||||||
OPTION(ENABLE_LUA "Enable Lua scripting language" ON)
|
|
||||||
OPTION(ENABLE_TCL "Enable Tcl scripting language" ON)
|
|
||||||
OPTION(ENABLE_GUILE "Enable Scheme (guile) scripting language" ON)
|
|
||||||
OPTION(ENABLE_XFER "Enable Xfer plugin" ON)
|
|
||||||
OPTION(ENABLE_MAN "Enable build of man page" OFF)
|
|
||||||
OPTION(ENABLE_DOC "Enable build of documentation" OFF)
|
|
||||||
|
|
||||||
# option WEECHAT_HOME
|
|
||||||
IF(NOT DEFINED WEECHAT_HOME OR "${WEECHAT_HOME}" STREQUAL "")
|
|
||||||
SET(WEECHAT_HOME "~/.weechat")
|
|
||||||
ENDIF(NOT DEFINED WEECHAT_HOME OR "${WEECHAT_HOME}" STREQUAL "")
|
|
||||||
SET(WEECHAT_HOME "${WEECHAT_HOME}" CACHE
|
|
||||||
STRING "WeeChat home directory for config, logs, scripts.. (default is \"~/.weechat\")"
|
|
||||||
FORCE)
|
|
||||||
MARK_AS_ADVANCED(CLEAR WEECHAT_HOME)
|
|
||||||
|
|
||||||
# option CA_FILE
|
|
||||||
IF(NOT DEFINED CA_FILE OR "${CA_FILE}" STREQUAL "")
|
|
||||||
SET(CA_FILE "/etc/ssl/certs/ca-certificates.crt")
|
|
||||||
ENDIF(NOT DEFINED CA_FILE OR "${CA_FILE}" STREQUAL "")
|
|
||||||
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(ENABLE_NLS)
|
|
||||||
ADD_SUBDIRECTORY( po )
|
|
||||||
ENDIF(ENABLE_NLS)
|
|
||||||
|
|
||||||
ADD_SUBDIRECTORY( src )
|
|
||||||
ADD_SUBDIRECTORY( doc )
|
|
||||||
|
|
||||||
CONFIGURE_FILE(config.h.cmake config.h @ONLY)
|
CONFIGURE_FILE(config.h.cmake config.h @ONLY)
|
||||||
|
|
||||||
# set the git version in "config-git.h"
|
CONFIGURE_FILE(
|
||||||
ADD_CUSTOM_TARGET(version_git ALL
|
"${CMAKE_CURRENT_SOURCE_DIR}/cmake/makedist.sh.in"
|
||||||
COMMAND "${CMAKE_CURRENT_SOURCE_DIR}/git-version.sh" "${CMAKE_CURRENT_SOURCE_DIR}" "${VERSION}" "config-git.h"
|
"${CMAKE_CURRENT_BINARY_DIR}/makedist.sh" IMMEDIATE
|
||||||
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}")
|
@ONLY)
|
||||||
|
|
||||||
CONFIGURE_FILE(
|
CONFIGURE_FILE(
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/cmake/cmake_uninstall.cmake.in"
|
"${CMAKE_CURRENT_SOURCE_DIR}/cmake/cmake_uninstall.cmake.in"
|
||||||
@@ -130,45 +66,7 @@ ADD_CUSTOM_TARGET(uninstall
|
|||||||
"${CMAKE_COMMAND}" -P "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake")
|
"${CMAKE_COMMAND}" -P "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake")
|
||||||
|
|
||||||
ADD_CUSTOM_TARGET(dist
|
ADD_CUSTOM_TARGET(dist
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/makedist.sh" "${VERSION}" "HEAD"
|
"${CMAKE_BINARY_DIR}/makedist.sh"
|
||||||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
|
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)
|
|
||||||
|
|
||||||
# icon
|
|
||||||
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/weechat.png DESTINATION ${SHAREDIR}/icons/hicolor/32x32/apps)
|
|
||||||
|
|
||||||
# packages
|
|
||||||
SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Fast, light and extensible chat client")
|
|
||||||
SET(CPACK_PACKAGE_VENDOR "Sebastien Helleu")
|
|
||||||
SET(CPACK_PACKAGE_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})
|
|
||||||
|
|
||||||
# source package
|
|
||||||
SET(CPACK_SOURCE_GENERATOR "TGZ;TBZ2")
|
|
||||||
SET(CPACK_SOURCE_PACKAGE_FILE_NAME weechat-${VERSION})
|
|
||||||
SET(CPACK_SOURCE_IGNORE_FILES "/\\\\.git" "/build/" "/m4/"
|
|
||||||
"/autom4te\\\\.cache/" "/ABOUT-NLS$" "/config\\\\.guess$" "/config\\\\.h$"
|
|
||||||
"/config\\\\.h.in$" "/config\\\\.log$" "/config\\\\.rpath$"
|
|
||||||
"/config\\\\.status$" "/config\\\\.sub$" "/configure$" "/depcomp$"
|
|
||||||
"/install-sh$" "/missing$" "/intl/" "/libtool$" "/\\\\.libs/"
|
|
||||||
"/ltmain\\\\.sh$" "/\\\\.deps/" "/html/" "/html1/" "/Makefile$"
|
|
||||||
"/Makefile\\\\.in$" "stamp" "/po/.*\\\\.header$" "\\\\.gmo$" "~$" "\\\\.o$"
|
|
||||||
"\\\\.lo$" "\\\\.a$" "\\\\.la$" "\\\\.lai$" "\\\\.Plo$" "/weechat$"
|
|
||||||
)
|
|
||||||
|
|
||||||
INCLUDE(CPack)
|
|
||||||
|
|||||||
@@ -0,0 +1,274 @@
|
|||||||
|
WeeChat FAQ, 2007-09-06
|
||||||
|
=======================
|
||||||
|
|
||||||
|
Intended audience:
|
||||||
|
All WeeChat users.
|
||||||
|
|
||||||
|
Before reading the following:
|
||||||
|
the following Q/A list is *not* exhaustive.
|
||||||
|
It is also possible that you won't find any Q/A that matches your problem.
|
||||||
|
Please read them anyway, they may provide you help in fixing your problem
|
||||||
|
anyway.
|
||||||
|
And even if your problem is listed below, it is possible that the answers don't
|
||||||
|
help you anymore to solve it. Then, please contact us, we will try to help you
|
||||||
|
finding a solution.
|
||||||
|
|
||||||
|
1 - Compiling
|
||||||
|
2 - Using WeeChat
|
||||||
|
3 - Development
|
||||||
|
|
||||||
|
1.1
|
||||||
|
================================================================================
|
||||||
|
Q: I heard about many GUI for WeeChat. How can I compile/use them?
|
||||||
|
|
||||||
|
A: Curses GUI is built by default.
|
||||||
|
To build Gtk, wxWidgets or Qt GUI you've to specify extra options to
|
||||||
|
./configure script:
|
||||||
|
--enable-gtk to enable Gtk GUI
|
||||||
|
--enable-wxwidgets to enable wxWidgets GUI
|
||||||
|
--enable-qt to enable Qt QUI
|
||||||
|
Type ./configure --help to see available options.
|
||||||
|
WARNING: only Curses GUI is ok today. Other GUI are under development!
|
||||||
|
|
||||||
|
|
||||||
|
1.2
|
||||||
|
================================================================================
|
||||||
|
Q: I can't compile WeeChat CVS.
|
||||||
|
|
||||||
|
A: Check that you have latest version of autoconf and automake.
|
||||||
|
WeeChat has been developed with autoconf version 2.59 and automake
|
||||||
|
version 1.9.5.
|
||||||
|
You should have at least these versions in order to compile WeeChat CVS.
|
||||||
|
If you can't or don't want to install these versions, you can download and
|
||||||
|
install "devel package", a package built almost every day, based on CVS.
|
||||||
|
Note that this package may not correspond exactly to CVS base.
|
||||||
|
|
||||||
|
|
||||||
|
2.1
|
||||||
|
================================================================================
|
||||||
|
Q: Why using WeeChat ? X-Chat and Irssi are so good...
|
||||||
|
|
||||||
|
A: Because WeeChat is very light and has new features.
|
||||||
|
Some new features:
|
||||||
|
* many GUI (Curses, Gtk, wxWidgets, Qt)
|
||||||
|
* available in many languages
|
||||||
|
* nicklist available in all GUI
|
||||||
|
* extensible with plugins (C, Perl, Python, Ruby, Lua)
|
||||||
|
* horizontal and vertical window split
|
||||||
|
* infobar highlight
|
||||||
|
* FIFO pipe for remote control
|
||||||
|
* developed from scratch (not based on any other IRC client)
|
||||||
|
* multi-platform
|
||||||
|
* 100% GPL and free
|
||||||
|
This is the "geekest" IRC client ;)
|
||||||
|
|
||||||
|
More info on this page: http://weechat.flashtux.org/features.php
|
||||||
|
|
||||||
|
|
||||||
|
2.2
|
||||||
|
================================================================================
|
||||||
|
Q: I've launched WeeChat, but I'm lost, what can I do?
|
||||||
|
|
||||||
|
A: For help you can type /help. For help about a command, type /help command.
|
||||||
|
Keys and commands are listed in documentation.
|
||||||
|
|
||||||
|
|
||||||
|
2.3
|
||||||
|
================================================================================
|
||||||
|
Q: I heard about "buffers" and "windows", what's the difference?
|
||||||
|
|
||||||
|
A: A window is used when you split screen vertically or horizontally.
|
||||||
|
A buffer is a "view" for a window. Each window displays a buffer, and
|
||||||
|
many windows may display same buffer.
|
||||||
|
Examples of buffers: server messages, channel, DCC list, ..
|
||||||
|
|
||||||
|
|
||||||
|
2.4
|
||||||
|
================================================================================
|
||||||
|
Q: I don't see some chars with accents, what can I do?
|
||||||
|
|
||||||
|
A: For versions < 0.2.3, please upgrade to last stable version.
|
||||||
|
For versions >= 0.2.3 :
|
||||||
|
- check that weechat-curses is linked to libncursesw (warning: needed
|
||||||
|
on most distributions but not all) :
|
||||||
|
ldd /path/to/weechat-curses
|
||||||
|
- check that "Charset" plugin is loaded with /plugin command
|
||||||
|
(if it is not, then you probably need "weechat-plugins" package)
|
||||||
|
- check charset line (on server buffer), you should see ISO-XXXXXX or
|
||||||
|
UTF-8 for terminal charset. If you see ANSI_X3.4-1968 or other values,
|
||||||
|
probably your locale is wrong.
|
||||||
|
- setup global decode value, for example:
|
||||||
|
/setp charset.global.decode = ISO-8859-15
|
||||||
|
- if you are using UTF-8 locale, check that your terminal is UTF-8
|
||||||
|
ready. Terminal recommended for UTF-8 is rxvt-unicode.
|
||||||
|
|
||||||
|
|
||||||
|
2.5
|
||||||
|
================================================================================
|
||||||
|
Q: How can I customize key bindings?
|
||||||
|
|
||||||
|
A: Key bindings are customizable with /key command.
|
||||||
|
Default key Meta-k (usually Alt-k) lets you grab key code and insert it
|
||||||
|
in input zone.
|
||||||
|
|
||||||
|
|
||||||
|
2.6
|
||||||
|
================================================================================
|
||||||
|
Q: How can I load Perl scripts?
|
||||||
|
Are Perl scripts compatible with other IRC clients ?
|
||||||
|
|
||||||
|
A: You can use /perl command to load scripts (default path is
|
||||||
|
~/.weechat/perl).
|
||||||
|
Note that scripts in ~/.weechat/perl/autoload are automatically loaded
|
||||||
|
when WeeChat is starting up.
|
||||||
|
Perl scripts are not compatible with other IRC clients.
|
||||||
|
|
||||||
|
|
||||||
|
2.7
|
||||||
|
================================================================================
|
||||||
|
Q: How can I load Python scripts?
|
||||||
|
Are Python scripts compatible with other IRC clients ?
|
||||||
|
|
||||||
|
A: You can use /python command to load scripts (default path is
|
||||||
|
~/.weechat/python).
|
||||||
|
Note that scripts in ~/.weechat/python/autoload are automatically loaded
|
||||||
|
when WeeChat is starting up.
|
||||||
|
Python scripts are not compatible with other IRC clients.
|
||||||
|
|
||||||
|
|
||||||
|
2.8
|
||||||
|
================================================================================
|
||||||
|
Q: How can I load Ruby scripts?
|
||||||
|
Are Ruby scripts compatible with other IRC clients ?
|
||||||
|
|
||||||
|
A: You can use /ruby command to load scripts (default path is
|
||||||
|
~/.weechat/ruby).
|
||||||
|
Note that scripts in ~/.weechat/ruby/autoload are automatically loaded
|
||||||
|
when WeeChat is starting up.
|
||||||
|
Ruby scripts are not compatible with other IRC clients.
|
||||||
|
|
||||||
|
|
||||||
|
2.9
|
||||||
|
================================================================================
|
||||||
|
Q: How can I load Lua scripts?
|
||||||
|
Are Lua scripts compatible with other IRC clients ?
|
||||||
|
|
||||||
|
A: You can use /lua command to load scripts (default path is
|
||||||
|
~/.weechat/lua).
|
||||||
|
Note that scripts in ~/.weechat/lua/autoload are automatically loaded
|
||||||
|
when WeeChat is starting up.
|
||||||
|
Lua scripts are not compatible with other IRC clients.
|
||||||
|
|
||||||
|
|
||||||
|
2.10
|
||||||
|
================================================================================
|
||||||
|
Q: When I'm using weechat under screen, I have weird chars, when I switch
|
||||||
|
window for example, how to fix that?
|
||||||
|
|
||||||
|
A: This may be caused by bad value of TERM variable (look at echo $TERM).
|
||||||
|
For example, "xterm-color" displays such weird chars, use "xterm" which
|
||||||
|
is ok (like many other values).
|
||||||
|
|
||||||
|
|
||||||
|
2.11
|
||||||
|
================================================================================
|
||||||
|
Q: I want to change language used by WeeChat for messages, but without
|
||||||
|
exiting WeeChat, is it possible?
|
||||||
|
|
||||||
|
A: Yes, you have to use python script shell.py (available on WeeChat
|
||||||
|
website) and issue these commands when script is loaded:
|
||||||
|
/shell setenv LANG=en_US.UTF-8
|
||||||
|
/upgrade
|
||||||
|
(to have english messages with UTF-8 encoding for terminal, for ISO
|
||||||
|
users, you can issue: /shell setenv LANG=en_US)
|
||||||
|
|
||||||
|
|
||||||
|
2.12
|
||||||
|
================================================================================
|
||||||
|
Q: With Curses GUI, how can I copy/paste text without pasting nicklist ?
|
||||||
|
|
||||||
|
A: You can use a terminal with rectangular selection (like rxvt-unicode,
|
||||||
|
konsole, ...).
|
||||||
|
Other solution is to move nicklist to top or bottom, for example:
|
||||||
|
/set look_nicklist_position = top
|
||||||
|
|
||||||
|
|
||||||
|
2.13
|
||||||
|
================================================================================
|
||||||
|
Q: How to be warned when someone highlights me on a channel ?
|
||||||
|
|
||||||
|
A: You can use sound.pl script (available on scripts page), and then
|
||||||
|
setup a system command (to play sound, display message, ..) with this
|
||||||
|
command :
|
||||||
|
/setp perl.sound.cmd_highlight = "/usr/bin/command arguments..."
|
||||||
|
|
||||||
|
|
||||||
|
3.1
|
||||||
|
================================================================================
|
||||||
|
Q: How should I report bugs?
|
||||||
|
|
||||||
|
A: There is 3 ways to report bugs:
|
||||||
|
1. you can join us on IRC: irc.freenode.net, channel #weechat
|
||||||
|
2. you can submit your bug at this URL:
|
||||||
|
http://savannah.nongnu.org/bugs/?func=addbug&group=weechat
|
||||||
|
3. you can mail your problem, look at support page for developer's mails:
|
||||||
|
http://weechat.flashtux.org/support.php
|
||||||
|
(you can subscribe and send to "support" mailing list)
|
||||||
|
|
||||||
|
|
||||||
|
3.2
|
||||||
|
================================================================================
|
||||||
|
Q: How should I submit patches?
|
||||||
|
|
||||||
|
A: There is 3 ways to submit patches:
|
||||||
|
1. you can join us on IRC: irc.freenode.net, channel #weechat
|
||||||
|
2. you can submit your patch at this URL:
|
||||||
|
http://savannah.nongnu.org/patch/?func=addpatch&group=weechat
|
||||||
|
3. you can mail your patch, look at support page for developer's mails:
|
||||||
|
http://weechat.flashtux.org/support.php
|
||||||
|
(you can subscribe and send to "support" mailing list)
|
||||||
|
|
||||||
|
|
||||||
|
3.3
|
||||||
|
================================================================================
|
||||||
|
Q: How should I submit new feature request?
|
||||||
|
|
||||||
|
A: There is 2 ways to submit your feature request:
|
||||||
|
1. you can join us on IRC: irc.freenode.net, channel #weechat
|
||||||
|
2. you can mail your feature request, look at support page for developer's
|
||||||
|
mails:
|
||||||
|
http://weechat.flashtux.org/support.php
|
||||||
|
(you can subscribe and send to "support" mailing list)
|
||||||
|
|
||||||
|
|
||||||
|
3.4
|
||||||
|
================================================================================
|
||||||
|
Q: What is the list of supported platforms for WeeChat?
|
||||||
|
|
||||||
|
A: Full list is on this page:
|
||||||
|
http://weechat.flashtux.org/download.php?lang=en&view=supported_os
|
||||||
|
|
||||||
|
|
||||||
|
3.5
|
||||||
|
================================================================================
|
||||||
|
Q: Will WeeChat be ported to QNX or other operating systems?
|
||||||
|
|
||||||
|
A: Yes. Future versions will be available for these OS.
|
||||||
|
We need help for such systems, any help is welcome :)
|
||||||
|
|
||||||
|
|
||||||
|
3.6
|
||||||
|
================================================================================
|
||||||
|
Q: I want to help WeeChat developers. What can I do?
|
||||||
|
|
||||||
|
A: There's many tasks to do (code, documentation, ...)
|
||||||
|
Please contact us with IRC or mail, look at support page:
|
||||||
|
http://weechat.flashtux.org/support.php
|
||||||
|
|
||||||
|
|
||||||
|
3.7
|
||||||
|
================================================================================
|
||||||
|
Q: Can I give money or other things to WeeChat developers?
|
||||||
|
|
||||||
|
A: You can give us money to help development.
|
||||||
|
Details on http://weechat.flashtux.org/donate.php?lang=en
|
||||||
@@ -0,0 +1,292 @@
|
|||||||
|
WeeChat FAQ, 2007-09-06
|
||||||
|
=======================
|
||||||
|
|
||||||
|
Public concerné :
|
||||||
|
Tous les utilisateurs de WeeChat.
|
||||||
|
|
||||||
|
Avant de lire la suite ceci :
|
||||||
|
la liste suivante de questions/réponses n'est *pas* exhaustive.
|
||||||
|
Il est donc possible que vous ne trouviez pas de question/réponse correspondant
|
||||||
|
à votre problème.
|
||||||
|
Lisez les quand même SVP, elles peuvent vous aider à corriger votre problème.
|
||||||
|
Et même si votre problème est mentionné ci-dessous, il est possible que la
|
||||||
|
réponse ne vous aide pas à corriger le problème. Dans ce cas, contactez-nous,
|
||||||
|
nous essaierons de vous aider Ă trouver une solution.
|
||||||
|
|
||||||
|
1 - Compilation
|
||||||
|
2 - Utilisation de WeeChat
|
||||||
|
3 - Développement
|
||||||
|
|
||||||
|
1.1
|
||||||
|
================================================================================
|
||||||
|
Q: J'ai entendu parler de plusieurs interfaces pour WeeChat.
|
||||||
|
Comment puis-je les compiler/utiliser ?
|
||||||
|
|
||||||
|
R: L'interface Curses est construite par défaut.
|
||||||
|
Pour construire l'interface Gtk, wxWidgets ou Qt, vous devez spécifier des
|
||||||
|
options pour le script ./configure :
|
||||||
|
--enable-gtk pour activer l'interface Gtk
|
||||||
|
--enable-wxwidgets pour activer l'interface wxWidgets
|
||||||
|
--enable-qt pour activer l'interface Qt
|
||||||
|
Tapez ./configure --help pour voir les options disponibles.
|
||||||
|
ATTENTION : seule l'interface Curses est ok aujourd'hui.
|
||||||
|
Les autres interfaces sont en développement.
|
||||||
|
|
||||||
|
|
||||||
|
1.2
|
||||||
|
================================================================================
|
||||||
|
Q: Je ne peux pas compiler le CVS WeeChat.
|
||||||
|
|
||||||
|
R: Vérifiez que vous avez bien la dernière version d'autoconf et automake.
|
||||||
|
WeeChat a été développé avec autoconf version 2.59 et automake
|
||||||
|
version 1.9.5.
|
||||||
|
Vous devez avoir au moins ces versions pour compiler le CVS WeeChat.
|
||||||
|
Si vous n'avez pas ou ne souhaitez pas installer ces versions, vous
|
||||||
|
pouvez télécharger et installer le paquet "devel", un paquet construit
|
||||||
|
quasiment tous les jours, basé sur le CVS.
|
||||||
|
Notez que ce paquet peut ne pas correspondre exactement Ă la base CVS.
|
||||||
|
|
||||||
|
|
||||||
|
2.1
|
||||||
|
================================================================================
|
||||||
|
Q: Pourquoi utiliser WeeChat ? X-Chat et Irssi sont si bien...
|
||||||
|
|
||||||
|
R: Parce que WeeChat est très léger et a de nouvelles fonctionnalités.
|
||||||
|
Quelques nouvelles fonctionnalités :
|
||||||
|
* plusieurs interfaces (Curses, Gtk, wxWidgets, Qt)
|
||||||
|
* disponible en plusieurs langues
|
||||||
|
* liste des pseudos disponible dans toutes les interfaces
|
||||||
|
* extensible par des extensions (C, Perl, Python, Ruby, Lua)
|
||||||
|
* découpage de la fenêtre horizontalement et verticalement
|
||||||
|
* highlight dans la barre d'infos
|
||||||
|
* tube FIFO pour contrĂ´le Ă distance
|
||||||
|
* développé à partir de zéro (non basé sur un quelconque client IRC)
|
||||||
|
* multi-platformes
|
||||||
|
* 100% GPL et libre
|
||||||
|
C'est le client IRC le plus "geek" ;)
|
||||||
|
|
||||||
|
Plus d'infos sur cette page: http://weechat.flashtux.org/features.php
|
||||||
|
|
||||||
|
|
||||||
|
2.2
|
||||||
|
================================================================================
|
||||||
|
Q: J'ai lancé WeeChat, mais je suis perdu, que puis-je faire ?
|
||||||
|
|
||||||
|
R: Pour obtenir de l'aide tapez /help. Pour de l'aide sur une commande,
|
||||||
|
tapez /help commande.
|
||||||
|
Les touches et commandes sont listées dans la documentation.
|
||||||
|
|
||||||
|
|
||||||
|
2.3
|
||||||
|
================================================================================
|
||||||
|
Q: J'ai entendu parler de "buffers" et "windows", quelle est la
|
||||||
|
différence ?
|
||||||
|
|
||||||
|
R: Une fenêtre ("window") est utilisée quand vous partagez l'écran
|
||||||
|
verticalement ou horizontalement.
|
||||||
|
Un tampon ("buffer") est une "vue" pour une fenĂŞtre. Chaque fenĂŞtre
|
||||||
|
affiche un tampon, et plusieurs fenĂŞtres peuvent afficher le mĂŞme
|
||||||
|
tampon.
|
||||||
|
Exemples de tampons: messages serveur, canal, liste des DCC, etc...
|
||||||
|
|
||||||
|
|
||||||
|
2.4
|
||||||
|
================================================================================
|
||||||
|
Q: Je ne vois pas bien certains accents dans WeeChat, que faire ?
|
||||||
|
|
||||||
|
R: Pour les versions < 0.2.3, merci d'installer la dernière version stable.
|
||||||
|
Pour les versions >= 0.2.3 :
|
||||||
|
- vérifiez que weechat-curses est lié avec libncursesw (attention:
|
||||||
|
nécessaire sur beaucoup de distributions, mais pas toutes) :
|
||||||
|
ldd /chemin/vers/weechat-curses
|
||||||
|
- vérifiez que l'extension "Charset" est chargée avec la commande
|
||||||
|
/plugin (s'il ne l'est pas, vous devez peut-ĂŞtre installer le
|
||||||
|
paquet "weechat-plugins")
|
||||||
|
- vérifiez la ligne charset (sur le tampon serveur), vous devriez voir
|
||||||
|
ISO-XXXXXX ou UTF-8 pour le charset du terminal. Si vous voyez
|
||||||
|
ANSI_X3.4-1968 ou d'autres valeurs, votre locale est probablement
|
||||||
|
erronée.
|
||||||
|
- affectez la valeur pour le décodage global, par exemple :
|
||||||
|
/setp charset.global.decode = ISO-8859-15
|
||||||
|
- si vous utilisez la locale UTF-8, vérifiez que votre terminal est
|
||||||
|
compatible UTF-8. Un terminal conseillé pour l'UTF-8 est rxvt-unicode.
|
||||||
|
|
||||||
|
|
||||||
|
2.5
|
||||||
|
================================================================================
|
||||||
|
Q: Comment puis-je configurer les raccourcis clavier ?
|
||||||
|
|
||||||
|
R: Les raccourcis clavier sont modifiables avec la commande /key.
|
||||||
|
La touche par défaut Meta-k (souvent Alt-k) permet de capturer le code
|
||||||
|
d'une touche et de l'inclure dans la zone de saisie.
|
||||||
|
|
||||||
|
|
||||||
|
2.6
|
||||||
|
================================================================================
|
||||||
|
Q: Comment puis-je charger des scripts Perl ?
|
||||||
|
Les scripts Perl sont-ils compatibles avec d'autres clients IRC ?
|
||||||
|
|
||||||
|
R: La commande /perl permet de charger les scripts Perl (le chemin par défaut
|
||||||
|
est ~/.weechat/perl).
|
||||||
|
Notez que les scripts dans ~/.weechat/perl/autoload sont automatiquement
|
||||||
|
chargés par WeeChat lorsqu'il démarre.
|
||||||
|
Les scripts Perl ne sont pas compatibles avec d'autres clients IRC.
|
||||||
|
|
||||||
|
|
||||||
|
2.7
|
||||||
|
================================================================================
|
||||||
|
Q: Comment puis-je charger les scripts Python ?
|
||||||
|
Les scripts Python sont-ils compatibles avec d'autres clients IRC ?
|
||||||
|
|
||||||
|
R: La commande /python permet de charger les scripts Python (le chemin par
|
||||||
|
défaut est ~/.weechat/python).
|
||||||
|
Notez que les scripts dans ~/.weechat/python/autoload sont automatiquement
|
||||||
|
chargés par WeeChat lorsqu'il démarre.
|
||||||
|
Les scripts Python ne sont pas compatibles avec d'autres clients IRC.
|
||||||
|
|
||||||
|
|
||||||
|
2.8
|
||||||
|
================================================================================
|
||||||
|
Q: Comment puis-je charger des scripts Ruby ?
|
||||||
|
Les scripts Ruby sont-ils compatibles avec d'autres clients IRC ?
|
||||||
|
|
||||||
|
R: La commande /ruby permet de charger les scripts Ruby (le chemin par
|
||||||
|
défaut est ~/.weechat/ruby).
|
||||||
|
Notez que les scripts dans ~/.weechat/ruby/autoload sont automatiquement
|
||||||
|
chargés par WeeChat lorsqu'il démarre.
|
||||||
|
Les scripts Ruby ne sont pas compatibles avec d'autres clients IRC.
|
||||||
|
|
||||||
|
|
||||||
|
2.9
|
||||||
|
================================================================================
|
||||||
|
Q: Comment puis-je charger des scripts Lua ?
|
||||||
|
Les scripts Lua sont-ils compatibles avec d'autres clients IRC ?
|
||||||
|
|
||||||
|
R: La commande /lua permet de charger les scripts Lua (le chemin par
|
||||||
|
défaut est ~/.weechat/lua).
|
||||||
|
Notez que les scripts dans ~/.weechat/lua/autoload sont automatiquement
|
||||||
|
chargés par WeeChat lorsqu'il démarre.
|
||||||
|
Les scripts Lua ne sont pas compatibles avec d'autres clients IRC.
|
||||||
|
|
||||||
|
|
||||||
|
2.10
|
||||||
|
================================================================================
|
||||||
|
Q: Quand j'utilise weechat sous screen, j'ai des caractères bizarres
|
||||||
|
notamment en changeant de fenêtre, comment corriger ça ?
|
||||||
|
|
||||||
|
R: Cela peut ĂŞtre du Ă la variable TERM qui n'a pas la bonne valeur
|
||||||
|
(regardez echo $TERM). Par exemple "xterm-color" provoque ce genre de
|
||||||
|
problèmes, utilisez "xterm" qui est ok (comme plein d'autres valeurs).
|
||||||
|
|
||||||
|
|
||||||
|
2.11
|
||||||
|
================================================================================
|
||||||
|
Q: Je souhaite changer la langue des messages affichés par WeeChat, mais
|
||||||
|
sans quitter WeeChat, est-ce possible ?
|
||||||
|
|
||||||
|
R: Oui, il faut utiliser le script python shell.py (disponible sur le site
|
||||||
|
de WeeChat) et taper ces commandes une fois le script chargé :
|
||||||
|
/shell setenv LANG=en_US.UTF-8
|
||||||
|
/upgrade
|
||||||
|
(pour avoir des messages anglais avec encodage UTF-8 pour le terminal,
|
||||||
|
pour les utilisateurs en ISO, vous pouvez taper:
|
||||||
|
/shell setenv LANG=en_US)
|
||||||
|
|
||||||
|
|
||||||
|
2.12
|
||||||
|
================================================================================
|
||||||
|
Q: Avec l'interface Curses, comment puis-je copier/coller du texte sans
|
||||||
|
coller la liste des pseudos ?
|
||||||
|
|
||||||
|
R: Vous pouvez utiliser un terminal qui propose la sélection rectangulaire
|
||||||
|
(comme rxvt-unicode, konsole, etc...).
|
||||||
|
Une autre solution est de déplacer la liste des pseudos en haut ou en
|
||||||
|
bas, par exemple :
|
||||||
|
/set look_nicklist_position = top
|
||||||
|
|
||||||
|
|
||||||
|
2.13
|
||||||
|
================================================================================
|
||||||
|
Q: Comment ĂŞtre averti lorsque quelqu'un prononce mon pseudo sur un canal ?
|
||||||
|
|
||||||
|
R: Vous pouvez utiliser le script sound.pl (disponible sur la page des
|
||||||
|
scripts), puis configurer une commande système (jouant un son, affichant
|
||||||
|
un message à l'écran, etc...) comme ceci :
|
||||||
|
/setp perl.sound.cmd_highlight = "/usr/bin/commande parametres..."
|
||||||
|
|
||||||
|
|
||||||
|
3.1
|
||||||
|
================================================================================
|
||||||
|
Q: Comment dois-je reporter les bugs ?
|
||||||
|
|
||||||
|
R: Il y a 3 manières de reporter les bugs :
|
||||||
|
1. vous pouvez nous joindre sur IRC: irc.freenode.net, canal #weechat
|
||||||
|
2. vous pouvez soumettre votre bug Ă cette adresse :
|
||||||
|
http://savannah.nongnu.org/bugs/?func=addbug&group=weechat
|
||||||
|
3. vous pouvez envoyer votre problème par mail, consultez la page
|
||||||
|
support pour les mails des développeurs :
|
||||||
|
http://weechat.flashtux.org/support.php
|
||||||
|
(vous pouvez souscrire et envoyer Ă la liste de diffusion
|
||||||
|
"support")
|
||||||
|
|
||||||
|
|
||||||
|
3.2
|
||||||
|
================================================================================
|
||||||
|
Q: Comment dois-je soumettre les patches ?
|
||||||
|
|
||||||
|
R: Il y a 3 manières de soumettre les patches :
|
||||||
|
1. vous pouvez nous joindre sur IRC: irc.freenode.net, canal #weechat
|
||||||
|
2. vous pouvez soumettre votre patch Ă cette adresse :
|
||||||
|
http://savannah.nongnu.org/patch/?func=addpatch&group=weechat
|
||||||
|
3. vous pouvez envoyer votre patch par mail, consultez la page
|
||||||
|
support pour les mails des développeurs :
|
||||||
|
http://weechat.flashtux.org/support.php
|
||||||
|
(vous pouvez souscrire et envoyer Ă la liste de diffusion
|
||||||
|
"support")
|
||||||
|
|
||||||
|
|
||||||
|
3.3
|
||||||
|
================================================================================
|
||||||
|
Q: Comment dois-je soumettre les demandes de nouvelles fonctionnalités ?
|
||||||
|
|
||||||
|
R: Il y a 2 manières :
|
||||||
|
1. vous pouvez nous joindre sur IRC: irc.freenode.net, channel #weechat
|
||||||
|
2. vous pouvez envoyer un mail, consultez la page support pour les
|
||||||
|
mails des développeurs :
|
||||||
|
http://weechat.flashtux.org/support.php
|
||||||
|
(vous pouvez souscrire et envoyer Ă la liste de diffusion
|
||||||
|
"support")
|
||||||
|
|
||||||
|
|
||||||
|
3.4
|
||||||
|
================================================================================
|
||||||
|
Q: Quelle est la liste des plate-formes supportées par WeeChat ?
|
||||||
|
|
||||||
|
R: La liste complète est sur cette page :
|
||||||
|
http://weechat.flashtux.org/download.php?lang=fr&view=supported_os
|
||||||
|
|
||||||
|
|
||||||
|
3.5
|
||||||
|
================================================================================
|
||||||
|
Q: WeeChat sera-t-il porté sur QNX ou d'autres systèmes d'exploitation ?
|
||||||
|
|
||||||
|
R: Oui. Les futures versions seront disponibles pour ces OS.
|
||||||
|
Nous avons besoin d'aide pour ces systèmes, toute aide est la bienvenue :)
|
||||||
|
|
||||||
|
|
||||||
|
3.6
|
||||||
|
================================================================================
|
||||||
|
Q: Je souhaiterai aider les développeurs WeeChat. Que puis-je faire ?
|
||||||
|
|
||||||
|
R: Il y a plusieurs choses Ă faire (code, documentation, ...)
|
||||||
|
Merci de prendre contact avec nous par IRC ou mail, consultez la page
|
||||||
|
support :
|
||||||
|
http://weechat.flashtux.org/support.php
|
||||||
|
|
||||||
|
|
||||||
|
3.7
|
||||||
|
================================================================================
|
||||||
|
Q: Puis-je donner de l'argent ou d'autres choses aux développeurs WeeChat ?
|
||||||
|
|
||||||
|
R: Vous pouvez donner de l'argent pour aider le développement.
|
||||||
|
Plus de détails sur http://weechat.flashtux.org/donate.php
|
||||||
@@ -1,48 +1,13 @@
|
|||||||
WeeChat Installation instructions
|
WeeChat - Installation instructions
|
||||||
=================================
|
===================================
|
||||||
|
|
||||||
WeeChat can be built with cmake (recommended) or autotools.
|
1) Run './configure'
|
||||||
|
(./configure --help so see options)
|
||||||
|
|
||||||
[NOTE]
|
2) Run 'make'
|
||||||
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.
|
|
||||||
|
|
||||||
|
3) As root, run 'make install'
|
||||||
|
|
||||||
Dependencies
|
4) Enjoy ! :-)
|
||||||
------------
|
|
||||||
|
|
||||||
Following packages are *required*:
|
See AUTHORS for support, feel free to contact us for any problem.
|
||||||
|
|
||||||
* cmake
|
|
||||||
* libncurses
|
|
||||||
* libcurl
|
|
||||||
* zlib
|
|
||||||
* libgcrypt
|
|
||||||
|
|
||||||
Following packages are all optional:
|
|
||||||
|
|
||||||
* for i18n: gettext
|
|
||||||
* for SSL: gnutls, ca-certificates
|
|
||||||
* for spell checking: aspell
|
|
||||||
* for scripting: python, perl, ruby, lua, tcl, guile
|
|
||||||
* for building doc: asciidoc, source-highlight
|
|
||||||
(for man page: xsltproc, docbook-xml, docbook-xsl)
|
|
||||||
|
|
||||||
For a complete list of dependencies and versions recommended, please look at
|
|
||||||
'User's guide'.
|
|
||||||
|
|
||||||
|
|
||||||
Installation 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)
|
|
||||||
------------------------------------------------------------------
|
|
||||||
|
|
||||||
For more information or installation with autotools, please look at
|
|
||||||
'User's guide': http://weechat.org/doc
|
|
||||||
|
|||||||
+13
-53
@@ -1,69 +1,29 @@
|
|||||||
|
# Copyright (c) 2003-2007 FlashCode <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
|
# This program is free software; you can redistribute it and/or modify
|
||||||
# Copyright (C) 2005 Julien Louis <ptitlouis@sysif.net>
|
|
||||||
# Copyright (C) 2006-2009 Emmanuel Bouthenot <kolter@openics.org>
|
|
||||||
#
|
|
||||||
# This file is part of WeeChat, the extensible chat client.
|
|
||||||
#
|
|
||||||
# WeeChat is free software; you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
# the Free Software Foundation; either version 3 of the License, or
|
# the Free Software Foundation; either version 3 of the License, or
|
||||||
# (at your option) any later version.
|
# (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
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
# GNU General Public License for more details.
|
# GNU General Public License for more details.
|
||||||
#
|
#
|
||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#
|
#
|
||||||
|
|
||||||
# This target will update file config-git.h with output of command "git describe"
|
|
||||||
# (if needed, and only for a devel/rc version).
|
|
||||||
BUILT_SOURCES = build-config-git.h
|
|
||||||
build-config-git.h:
|
|
||||||
-$(abs_top_srcdir)/git-version.sh "$(abs_top_srcdir)" "$(VERSION)" config-git.h
|
|
||||||
|
|
||||||
SUBDIRS = po doc intl src
|
SUBDIRS = po doc intl src
|
||||||
|
|
||||||
EXTRA_DIST = CMakeLists.txt \
|
EXTRA_DIST = config.rpath BUGS FAQ FAQ.fr \
|
||||||
config.rpath \
|
debian/changelog debian/control \
|
||||||
config.h.cmake \
|
debian/copyright debian/compat \
|
||||||
git-version.sh \
|
debian/rules debian/weechat-common.docs \
|
||||||
makedist.sh \
|
debian/lintian-override \
|
||||||
cmake/CMakeParseArguments.cmake \
|
debian/weechat-common.install debian/weechat-curses.dirs \
|
||||||
cmake/FindAsciidoc.cmake \
|
debian/weechat-curses.install debian/weechat-plugins.install \
|
||||||
cmake/FindAspell.cmake \
|
debian/weechat-curses.menu debian/NEWS debian/weechat.xpm \
|
||||||
cmake/FindENCHANT.cmake \
|
weechat.spec weechat_icon_32.png
|
||||||
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 \
|
|
||||||
po/CMakeLists.txt \
|
|
||||||
po/srcfiles.cmake \
|
|
||||||
weechat.png \
|
|
||||||
weechat.pc.in
|
|
||||||
|
|
||||||
ACLOCAL_AMFLAGS = -I m4
|
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
|
|
||||||
|
|||||||
@@ -1,848 +1,208 @@
|
|||||||
WeeChat Release Notes
|
WeeChat - Wee Enhanced Environment for Chat
|
||||||
=====================
|
===========================================
|
||||||
Sébastien Helleu <flashcode@flashtux.org>
|
|
||||||
v0.4.2, 2013-10-06
|
|
||||||
|
|
||||||
|
* FlashCode, 2009-06-13
|
||||||
|
|
||||||
This document lists important changes for each version, that require manual
|
WeeChat 0.2.6.3 released.
|
||||||
actions. It is recommended to read it when upgrading to a new stable
|
|
||||||
version.
|
|
||||||
|
|
||||||
For a complete list of changes, please look at
|
This version fixes gnutls detection.
|
||||||
http://weechat.org/files/changelog/ChangeLog-devel.html[ChangeLog]
|
|
||||||
(file 'ChangeLog' in sources).
|
|
||||||
|
|
||||||
|
* FlashCode, 2009-04-18
|
||||||
|
|
||||||
Version 0.4.2 (2013-10-06)
|
WeeChat 0.2.6.2 released.
|
||||||
--------------------------
|
|
||||||
|
|
||||||
=== Day change message ===
|
This version fixes a bug with charset decoding (like iso2022jp).
|
||||||
|
|
||||||
The day change message is now dynamically displayed, and therefore is not stored
|
* FlashCode, 2009-03-14
|
||||||
as a line in buffer any more.
|
|
||||||
|
|
||||||
Option 'weechat.look.day_change_time_format' has been split into two options
|
WeeChat 0.2.6.1 released.
|
||||||
'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.
|
This version fixes a major bug: crash with some special chars in IRC
|
||||||
|
messages.
|
||||||
|
|
||||||
After `/upgrade` from an old version, you will see two messages for each day
|
* FlashCode, 2007-09-06
|
||||||
change. This is a normal behavior and will not happen again with the next day
|
|
||||||
changes.
|
|
||||||
|
|
||||||
=== Regex search in buffer ===
|
WeeChat 0.2.6 released.
|
||||||
|
|
||||||
Search with regular expression has been added, and therefore some keys in search
|
* FlashCode, 2007-06-07
|
||||||
context have been changed.
|
|
||||||
|
|
||||||
The key ctrl+"r" in search context is now used to switch string/regex search
|
WeeChat 0.2.5 released.
|
||||||
(instead of searching exact text).
|
|
||||||
|
|
||||||
If you never changed keys in search context, you can reset them all with one
|
* FlashCode, 2007-03-29
|
||||||
command:
|
|
||||||
|
|
||||||
----------------------------------------
|
WeeChat 0.2.4 released.
|
||||||
/key resetall -yes search
|
|
||||||
----------------------------------------
|
|
||||||
|
|
||||||
Or the manual method:
|
* FlashCode, 2007-01-10
|
||||||
|
|
||||||
----------------------------------------
|
WeeChat 0.2.3 released.
|
||||||
/key missing search
|
|
||||||
/key bindctxt search ctrl-R /input search_switch_regex
|
|
||||||
----------------------------------------
|
|
||||||
|
|
||||||
To view keys in search context:
|
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
|
||||||
/key list search
|
|
||||||
----------------------------------------
|
|
||||||
|
|
||||||
For more information, see the chapter about keys in the 'WeeChat User's guide'.
|
WeeChat 0.2.2 released.
|
||||||
|
|
||||||
=== New rmodifier ===
|
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
|
||||||
|
|
||||||
A new rmodifier "secure" has been added to hide passphrase and passwords
|
* FlashCode, 2006-10-01
|
||||||
displayed by command "/secure". Use command `/rmodifier missing` to add it.
|
|
||||||
|
|
||||||
=== Color codes in options ===
|
WeeChat 0.2.1 released.
|
||||||
|
|
||||||
The format for color codes in some options has changed. The options are
|
* FlashCode, 2006-08-19
|
||||||
evaluated with the function "string_eval_expression", which uses the format
|
|
||||||
`${color:xxx}`.
|
|
||||||
|
|
||||||
Following options are affected:
|
WeeChat 0.2.0 released.
|
||||||
|
|
||||||
* 'weechat.look.buffer_time_format'
|
Important release notes:
|
||||||
* '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
|
- if you upgraded with /upgrade in WeeChat, you should /disconnect and
|
||||||
`${color:xxx}` (where xxx is a color name or number, with optional color
|
then /reconnect on each server, to display properly channel/user modes
|
||||||
attributes).
|
- 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.*, ..)
|
||||||
|
|
||||||
Example:
|
* FlashCode, 2006-05-25
|
||||||
|
|
||||||
----------------------------------------
|
WeeChat 0.1.9 released.
|
||||||
/set weechat.look.buffer_time_format "${color:251}%H${color:243}%M${color:238}%S"
|
|
||||||
----------------------------------------
|
|
||||||
|
|
||||||
=== Binary and man page ===
|
Important release notes:
|
||||||
|
|
||||||
WeeChat binary and man page have been renamed from `weechat-curses` to
|
- please close all DCC chat buffers before using /upgrade command,
|
||||||
`weechat`.
|
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)
|
||||||
|
|
||||||
A symbolic link has been added for binary: `weechat-curses` -> `weechat`
|
* FlashCode, 2006-03-18
|
||||||
(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
|
WeeChat 0.1.8 released.
|
||||||
new binary name with the command: `/upgrade /path/to/weechat` (replace the path
|
|
||||||
accordingly).
|
|
||||||
|
|
||||||
[NOTE]
|
Important release notes:
|
||||||
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 ===
|
- 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.
|
||||||
|
|
||||||
Documentation is not built by default any more, you have to use option
|
* FlashCode, 2006-01-14
|
||||||
`-DENABLE_DOC=ON` in cmake to enable it.
|
|
||||||
|
|
||||||
The man page is now built with asciidoc and translated in several
|
WeeChat 0.1.7 released.
|
||||||
languages. A new cmake option `ENABLE_MAN` has been added to compile man page
|
|
||||||
(`OFF` by default).
|
|
||||||
|
|
||||||
=== Aspell colors ===
|
Important release notes:
|
||||||
|
|
||||||
Option 'aspell.look.color' has been renamed to 'aspell.color.misspelled'.
|
- Ruby script plugin has been added but is experimental in this release.
|
||||||
|
You're warned!
|
||||||
|
|
||||||
Version 0.4.1 (2013-05-20)
|
- "/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.
|
||||||
|
|
||||||
=== Nicklist diff in relay ===
|
* FlashCode, 2005-11-11
|
||||||
|
|
||||||
A new message with identifier "_nicklist_diff" has been added in relay (WeeChat
|
WeeChat 0.1.6 released.
|
||||||
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.
|
Important release notes:
|
||||||
|
|
||||||
For more info about content of message, see document 'WeeChat Relay Protocol'.
|
- 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)
|
||||||
|
|
||||||
=== Dynamic nick prefix/suffix ===
|
- 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"
|
||||||
|
|
||||||
The nick prefix/suffix (for example: "<" and ">") are now dynamic and used on
|
- with new and full UTF-8 support, the option "look_charset_internal"
|
||||||
display (not stored any more in the line).
|
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.
|
||||||
|
|
||||||
Options moved from irc plugin (irc.conf) to core (weechat.conf):
|
* FlashCode, 2005-09-24
|
||||||
|
|
||||||
* 'irc.look.nick_prefix' moved to 'weechat.look.nick_prefix'
|
WeeChat 0.1.5 released.
|
||||||
* '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.
|
* FlashCode, 2005-07-30
|
||||||
|
|
||||||
Two new options to customize the truncature char (by default "`+`"):
|
WeeChat 0.1.4 released.
|
||||||
|
|
||||||
* 'weechat.look.prefix_align_more_after' (boolean, 'on' by default)
|
* FlashCode, 2005-07-02
|
||||||
* 'weechat.look.prefix_buffer_align_more_after' (boolean, 'on' by default)
|
|
||||||
|
|
||||||
When these options are enabled (default), the "`+`" is displayed after the
|
WeeChat 0.1.3 released.
|
||||||
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
|
* FlashCode, 2005-05-21
|
||||||
'weechat.look.prefix_align_max', 'weechat.look.prefix_align_more_after',
|
|
||||||
'weechat.look.nick_prefix' and 'weechat.look.nick_suffix':
|
|
||||||
|
|
||||||
----------------------------------------
|
WeeChat 0.1.2 released.
|
||||||
# align_max, more_after, prefix/suffix
|
|
||||||
|
|
||||||
FlashCode │ test # 0, on
|
* FlashCode, 2005-03-20
|
||||||
fc │ test
|
|
||||||
|
|
||||||
FlashCod+│ test # 8, on
|
WeeChat 0.1.1 released.
|
||||||
fc │ test
|
|
||||||
|
|
||||||
FlashCo+ │ test # 8, off
|
* FlashCode, 2005-02-12
|
||||||
fc │ test
|
|
||||||
|
|
||||||
<FlashCode> │ test # 0, on, < >
|
WeeChat 0.1.0 released.
|
||||||
<fc> │ test
|
|
||||||
|
|
||||||
<FlashC>+│ test # 8, on, < >
|
* FlashCode, 2005-01-01
|
||||||
<fc> │ test
|
|
||||||
|
|
||||||
<Flash+> │ test # 8, off, < >
|
WeeChat 0.0.9 released.
|
||||||
<fc> │ test
|
|
||||||
----------------------------------------
|
|
||||||
|
|
||||||
After `/upgrade`, if you set new options to non-empty strings, and if old
|
* FlashCode, 2004-10-30
|
||||||
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):
|
WeeChat 0.0.8 released.
|
||||||
|
|
||||||
* 'logger.file.nick_prefix': prefix for nicks in log files (default: empty
|
* FlashCode, 2004-08-08
|
||||||
string)
|
|
||||||
* 'logger.file.nick_suffix': suffix for nicks in log files (default: empty
|
|
||||||
string)
|
|
||||||
|
|
||||||
=== IRC reconnection on important lag ===
|
WeeChat 0.0.7 released.
|
||||||
|
|
||||||
Option 'irc.network.lag_disconnect' has been renamed to
|
* FlashCode, 2004-06-05
|
||||||
'irc.network.lag_reconnect' and value is now a number of seconds (instead of
|
|
||||||
minutes).
|
|
||||||
|
|
||||||
=== IRC passwords hidden ===
|
WeeChat 0.0.6 released.
|
||||||
|
|
||||||
IRC plugin is now using modifiers "irc_command_auth" and "irc_message_auth" to
|
* FlashCode, 2004-02-07
|
||||||
hide passwords.
|
|
||||||
|
|
||||||
The option 'irc.look.hide_nickserv_pwd' has been removed, and a new option
|
WeeChat 0.0.5 released.
|
||||||
'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
|
* FlashCode, 2004-01-01
|
||||||
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:
|
WeeChat 0.0.4 released.
|
||||||
|
|
||||||
----------------------------------------
|
* FlashCode, 2003-11-03
|
||||||
/rmodifier default -yes
|
|
||||||
----------------------------------------
|
|
||||||
|
|
||||||
If you added/changed some rmodifiers, do it manually with these commands:
|
WeeChat 0.0.3 released.
|
||||||
|
|
||||||
----------------------------------------
|
* FlashCode, 2003-10-05
|
||||||
/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 ===
|
WeeChat 0.0.2 released.
|
||||||
|
|
||||||
For consistency with other supported languages, the API constants in Lua have
|
* FlashCode, 2003-09-27
|
||||||
been redefined as constants instead of functions.
|
|
||||||
|
|
||||||
Therefore, the use of a constant must be changed: the parentheses must be
|
WeeChat 0.0.1 released.
|
||||||
removed.
|
|
||||||
|
|
||||||
The old syntax was:
|
|
||||||
|
|
||||||
[source,lua]
|
|
||||||
----------------------------------------
|
|
||||||
return weechat.WEECHAT_RC_OK()
|
|
||||||
----------------------------------------
|
|
||||||
|
|
||||||
The new syntax is:
|
|
||||||
|
|
||||||
[source,lua]
|
|
||||||
----------------------------------------
|
|
||||||
return weechat.WEECHAT_RC_OK
|
|
||||||
----------------------------------------
|
|
||||||
|
|
||||||
=== Guile callbacks ===
|
|
||||||
|
|
||||||
The way to give arguments for guile callbacks has been fixed: now arguments are
|
|
||||||
sent individually (instead of a list with all arguments inside).
|
|
||||||
|
|
||||||
Therefore, existing guile scripts must be modified accordingly. Moreover,
|
|
||||||
WeeChat now requires Guile ≥ 2.0 to compile.
|
|
||||||
|
|
||||||
Version 0.4.0 (2013-01-20)
|
|
||||||
--------------------------
|
|
||||||
|
|
||||||
=== Conditions in bars ===
|
|
||||||
|
|
||||||
Conditions in bars have changed, and now an expression is evaluated.
|
|
||||||
|
|
||||||
If you have a value with many conditions in a bar, like: `nicklist,active`, you
|
|
||||||
must now use an expression like: `${nicklist} && ${active}` (see the chapter
|
|
||||||
about bars in the 'WeeChat User's guide').
|
|
||||||
|
|
||||||
=== IPv6 by default ===
|
|
||||||
|
|
||||||
==== IRC ====
|
|
||||||
|
|
||||||
IPv6 is now used by default to connect to IRC servers, with fallback to
|
|
||||||
IPv4. The option 'irc.server_default.ipv6' is now "on" by default. If IPv6 is
|
|
||||||
not enabled or fails, IPv4 will be used. The "ipv6" option in server is now used
|
|
||||||
to disable IPv6 and force IPv4 (if option is turned "off").
|
|
||||||
|
|
||||||
==== Relay ====
|
|
||||||
|
|
||||||
Relay plugin is now listening by default on an IPv6 socket (new option
|
|
||||||
'relay.network.ipv6', on by default), so connections with IPv4 will have
|
|
||||||
IPv4-mapped IPv6 addresses, like: "::ffff:127.0.0.1" (for "127.0.0.1"); check
|
|
||||||
that value of option 'relay.network.allowed_ips' supports this mapping, or
|
|
||||||
disable IPv6 in relay if you don't plan to use it at all:
|
|
||||||
|
|
||||||
----------------------------------------
|
|
||||||
/set relay.network.ipv6 off
|
|
||||||
----------------------------------------
|
|
||||||
|
|
||||||
Version 0.3.9.2 (2012-11-18)
|
|
||||||
----------------------------
|
|
||||||
|
|
||||||
This version fixes a security vulnerability when a plugin/script gives untrusted
|
|
||||||
command to API function "hook_process".
|
|
||||||
|
|
||||||
Version 0.3.9.1 (2012-11-09)
|
|
||||||
----------------------------
|
|
||||||
|
|
||||||
This version fixes crash when decoding IRC colors in strings.
|
|
||||||
|
|
||||||
Version 0.3.9 (2012-09-29)
|
|
||||||
--------------------------
|
|
||||||
|
|
||||||
=== Options moved ===
|
|
||||||
|
|
||||||
Options moved from core (weechat.conf) to irc plugin (irc.conf):
|
|
||||||
|
|
||||||
* 'weechat.look.nickmode' moved to 'irc.look.nick_mode' (new type: integer
|
|
||||||
with values: none/prefix/action/both)
|
|
||||||
* 'weechat.look.nickmode_empty' moved to 'irc.look.nick_mode_empty'
|
|
||||||
|
|
||||||
=== New bar item buffer_modes ===
|
|
||||||
|
|
||||||
A new bar item has been added: 'buffer_modes' and irc option
|
|
||||||
'irc.look.item_channel_modes' has been removed; to display irc channel modes in
|
|
||||||
status bar (after channel name), you have to manually add the new item
|
|
||||||
'buffer_modes' (this is now used by default in status bar items), default value
|
|
||||||
for status bar items becomes:
|
|
||||||
|
|
||||||
----------------------------------------
|
|
||||||
/set weechat.bar.status.items "[time],[buffer_count],[buffer_plugin],buffer_number+:+buffer_name+(buffer_modes)+{buffer_nicklist_count}+buffer_filter,[lag],[hotlist],completion,scroll"
|
|
||||||
----------------------------------------
|
|
||||||
|
|
||||||
=== Command /aspell ===
|
|
||||||
|
|
||||||
New options in command `/aspell`:
|
|
||||||
|
|
||||||
* `enable`: enable aspell
|
|
||||||
* `disable`: disable aspell
|
|
||||||
* `toggle`: toggle aspell (new default key: alt+"s")
|
|
||||||
|
|
||||||
Options renamed in command `/aspell`:
|
|
||||||
|
|
||||||
* `enable` renamed to `setdict` (set dictionary for current buffer)
|
|
||||||
* `disable` renamed to `deldict` (delete dictionary used on current buffer)
|
|
||||||
* `dictlist` renamed to `listdict` (show installed dictionaries)
|
|
||||||
|
|
||||||
=== Horizontal separator ===
|
|
||||||
|
|
||||||
An horizontal separator has been added between split windows, and two options
|
|
||||||
have been added to toggle separators (both are enabled by default):
|
|
||||||
|
|
||||||
* 'weechat.look.window_separator_horizontal'
|
|
||||||
* 'weechat.look.window_separator_vertical'
|
|
||||||
|
|
||||||
=== New keys ===
|
|
||||||
|
|
||||||
New keys were added, use command `/key missing` to add them or `/key listdiff`
|
|
||||||
to see differences between your current keys and WeeChat default keys.
|
|
||||||
|
|
||||||
Version 0.3.8 (2012-06-03)
|
|
||||||
--------------------------
|
|
||||||
|
|
||||||
=== Options ===
|
|
||||||
|
|
||||||
Options 'weechat.look.prefix_align_more' and
|
|
||||||
'weechat.look.prefix_buffer_align_more' have been converted from type boolean to
|
|
||||||
string:
|
|
||||||
|
|
||||||
* if the value was on (default), new value is "+" and you can now customize this
|
|
||||||
char
|
|
||||||
* if the value was off, you have to set " " (string with one space)
|
|
||||||
|
|
||||||
=== Paste detection ===
|
|
||||||
|
|
||||||
Option 'weechat.look.paste_max_lines' can now be used with value 0 to detect
|
|
||||||
paste with one line (only if terminal "bracketed paste mode" is enabled when
|
|
||||||
option 'weechat.look.paste_bracketed' is on); so now the value -1 is used to
|
|
||||||
disable paste detection: if your value was 0, you should set it to -1
|
|
||||||
|
|
||||||
----------------------------------------
|
|
||||||
/set weechat.look.paste_max_lines -1
|
|
||||||
----------------------------------------
|
|
||||||
|
|
||||||
=== Rmodifier ===
|
|
||||||
|
|
||||||
Rmodifier "nickserv" has a new default regex which includes option "release" for
|
|
||||||
command "/msg nickserv".
|
|
||||||
|
|
||||||
If you never added/changed rmodifiers, you can just reset all rmodifiers:
|
|
||||||
|
|
||||||
----------------------------------------
|
|
||||||
/rmodifier default -yes
|
|
||||||
----------------------------------------
|
|
||||||
|
|
||||||
If you added/changed some rmodifiers, do it manually with these commands:
|
|
||||||
|
|
||||||
----------------------------------------
|
|
||||||
/rmodifier del nickserv
|
|
||||||
/rmodifier add nickserv history_add,input_text_display 1,4* ^(/(msg|quote) +nickserv +(id|identify|ghost \S+|release \S+) +)(.*)
|
|
||||||
----------------------------------------
|
|
||||||
|
|
||||||
Version 0.3.7 (2012-02-26)
|
|
||||||
--------------------------
|
|
||||||
|
|
||||||
=== Options ===
|
|
||||||
|
|
||||||
Option `scroll_unread` has been moved from command `/input` to `/window`,
|
|
||||||
therefore default command of key alt+"u" has been updated. To bind key with new
|
|
||||||
default value:
|
|
||||||
|
|
||||||
----------------------------------------
|
|
||||||
/key bind meta-u /window scroll_unread
|
|
||||||
----------------------------------------
|
|
||||||
|
|
||||||
Option 'weechat.history.max_lines' has been renamed to
|
|
||||||
'weechat.history.max_buffer_lines_number'.
|
|
||||||
|
|
||||||
Option 'weechat.plugin.extension' now supports list of extensions, and new
|
|
||||||
default value is ".so,.dll" (with this value, weechat.conf is compatible with
|
|
||||||
Cygwin).
|
|
||||||
|
|
||||||
=== Extended regex ===
|
|
||||||
|
|
||||||
Extended regex is used in filters and irc ignore, so some chars that needed
|
|
||||||
escape in past do not need any more (for example `[0-9]\+` becomes `[0-9]+`),
|
|
||||||
filters and ignore have to be manually fixed.
|
|
||||||
|
|
||||||
Option 'weechat.look.highlight_regex' becomes case insensitive by default, to
|
|
||||||
make it case sensitive, use "(?-i)" at beginning of string, for example:
|
|
||||||
"(?-i)FlashCode|flashy".
|
|
||||||
|
|
||||||
Version 0.3.6 (2011-10-22)
|
|
||||||
--------------------------
|
|
||||||
|
|
||||||
=== Options ===
|
|
||||||
|
|
||||||
Option 'weechat.look.hline_char' has been renamed to
|
|
||||||
'weechat.look.separator_horizontal'.
|
|
||||||
|
|
||||||
=== Bold in colors ===
|
|
||||||
|
|
||||||
Bold is not used any more for basic colors (used only if terminal has less than
|
|
||||||
16 colors), a new option has been added to force bold if needed:
|
|
||||||
'weechat.look.color_basic_force_bold'.
|
|
||||||
|
|
||||||
Version 0.3.5 (2011-05-15)
|
|
||||||
--------------------------
|
|
||||||
|
|
||||||
=== Colors ===
|
|
||||||
|
|
||||||
If you have some colors defined in section "palette" with version 0.3.4, you
|
|
||||||
should remove all colors defined, and add new aliases (it's not needed any more
|
|
||||||
to add colors before using them).
|
|
||||||
|
|
||||||
Colors for nick prefixes (char for op, voice, ..) are defined in a single option
|
|
||||||
'irc.color.nick_prefixes', therefore following options will be lost:
|
|
||||||
'irc.color.nick_prefix_op', 'irc.color.nick_prefix_halfop',
|
|
||||||
'irc.color.nick_prefix_voice', 'irc.color.nick_prefix_user'.
|
|
||||||
|
|
||||||
=== Hotlist ===
|
|
||||||
|
|
||||||
==== Counters ====
|
|
||||||
|
|
||||||
Count of messages have been added to hotlist by default, if you want to come
|
|
||||||
back to old behavior, do that:
|
|
||||||
|
|
||||||
----------------------------------------
|
|
||||||
/set weechat.look.hotlist_count_max 0
|
|
||||||
/set weechat.look.hotlist_buffer_separator ","
|
|
||||||
----------------------------------------
|
|
||||||
|
|
||||||
==== Away and current buffer ====
|
|
||||||
|
|
||||||
When you are away, all buffers are now added to hotlist by default (even if they
|
|
||||||
are displayed in a window), if you want to come back to old behavior, do that:
|
|
||||||
|
|
||||||
----------------------------------------
|
|
||||||
/set weechat.look.hotlist_add_buffer_if_away off
|
|
||||||
----------------------------------------
|
|
||||||
|
|
||||||
=== New keys ===
|
|
||||||
|
|
||||||
New keys were added, use command `/key missing` to add them or `/key listdiff`
|
|
||||||
to see differences between your current keys and WeeChat default keys.
|
|
||||||
|
|
||||||
Version 0.3.4 (2011-01-16)
|
|
||||||
--------------------------
|
|
||||||
|
|
||||||
=== After /upgrade ===
|
|
||||||
|
|
||||||
If you are using `/upgrade` from a previous release:
|
|
||||||
|
|
||||||
* some nick prefixes can be wrong, so it is recommended to do `/allchan names`
|
|
||||||
* nick colors are defined with a new option 'weechat.color.chat_nick_colors',
|
|
||||||
therefore old options 'weechat.color.chat_nick_color1..10' will be lost when
|
|
||||||
upgrading
|
|
||||||
* nick colors in messages displayed will be wrong if you changed some nick colors
|
|
||||||
(old default colors will be used)
|
|
||||||
|
|
||||||
=== Options ===
|
|
||||||
|
|
||||||
Some IRC options have been renamed, before upgrading to this version, note
|
|
||||||
value for old options, and set them again with new name:
|
|
||||||
|
|
||||||
* options moved from 'network' section to servers (with global value, and server
|
|
||||||
value, like other server options):
|
|
||||||
** 'irc.network.connection_timeout' moved to
|
|
||||||
'irc.server_default.connection_timeout'
|
|
||||||
** 'irc.network.anti_flood_prio_high' moved to
|
|
||||||
'irc.server_default.anti_flood_prio_high'
|
|
||||||
** 'irc.network.anti_flood_prio_low' moved to
|
|
||||||
'irc.server_default.anti_flood_prio_low'
|
|
||||||
** 'irc.network.away_check' moved to 'irc.server_default.away_check'
|
|
||||||
** 'irc.network.away_check_max_nicks' moved to
|
|
||||||
'irc.server_default.away_check_max_nicks'
|
|
||||||
** 'irc.network.default_msg_part' moved to 'irc.server_default.default_msg_part'
|
|
||||||
** 'irc.network.default_msg_quit' moved to 'irc.server_default.default_msg_quit'
|
|
||||||
* other IRC options renamed:
|
|
||||||
** 'irc.look.open_channel_near_server' moved to 'irc.look.new_channel_position'
|
|
||||||
(old option was boolean, new is integer with value as string)
|
|
||||||
** 'irc.look.open_pv_near_server' moved to 'irc.look.new_pv_position'
|
|
||||||
(old option was boolean, new is integer with value as string)
|
|
||||||
|
|
||||||
Version 0.3.3 (2010-08-07)
|
|
||||||
--------------------------
|
|
||||||
|
|
||||||
=== After /upgrade ===
|
|
||||||
|
|
||||||
If you are using `/upgrade` from a previous release, then you must reconnect to
|
|
||||||
IRC servers in order to use new command /wallchops.
|
|
||||||
|
|
||||||
=== Options ===
|
|
||||||
|
|
||||||
Option 'irc.look.show_away_once' has been renamed to
|
|
||||||
'irc.look.display_pv_away_once'.
|
|
||||||
|
|
||||||
Option 'irc.network.lag_min_show' is now in milliseconds, you should set new
|
|
||||||
value: your current value multiplied by 1000 (new default value is 500).
|
|
||||||
|
|
||||||
Version 0.3.2 (2010-04-18)
|
|
||||||
--------------------------
|
|
||||||
|
|
||||||
=== After /upgrade ===
|
|
||||||
|
|
||||||
If you are using `/upgrade` from a previous release, then you must execute this
|
|
||||||
command on all IRC servers/channels/private buffers and xfer DCC chats (not
|
|
||||||
needed on WeeChat core buffer or buffers from other plugins/scripts):
|
|
||||||
|
|
||||||
----------------------------------------
|
|
||||||
/buffer set highlight_words $nick
|
|
||||||
----------------------------------------
|
|
||||||
|
|
||||||
Version 0.3.1.1 (2010-01-31)
|
|
||||||
----------------------------
|
|
||||||
|
|
||||||
This version fixes crashes with SSL connection and purge of old DCC chats.
|
|
||||||
|
|
||||||
All users of version 0.3.1 should upgrade to this version.
|
|
||||||
|
|
||||||
Version 0.3.1 (2010-01-23)
|
|
||||||
--------------------------
|
|
||||||
|
|
||||||
=== Aliases ===
|
|
||||||
|
|
||||||
IRC commands /ame and /amsg are now aliases, if you are upgrading from version
|
|
||||||
0.3.0, you must create aliases with following commands:
|
|
||||||
|
|
||||||
----------------------------------------
|
|
||||||
/alias aaway allserv /away
|
|
||||||
/alias ame allchan /me
|
|
||||||
/alias amsg allchan /amsg *
|
|
||||||
/alias anick allserv /nick
|
|
||||||
----------------------------------------
|
|
||||||
|
|
||||||
Version 0.3.0 (2009-09-06)
|
|
||||||
--------------------------
|
|
||||||
|
|
||||||
This version brings *MAJOR* changes, especially for configuration files and
|
|
||||||
plugin API and it not compatible with previous versions.
|
|
||||||
|
|
||||||
Major differences:
|
|
||||||
|
|
||||||
* it is *NOT POSSIBLE* to use command `/upgrade` from a version 0.2.x to 0.3.x;
|
|
||||||
you have to quit your old WeeChat, then run new version.
|
|
||||||
* new configuration files (`*.conf`) are not compatible with old files (`*.rc`).
|
|
||||||
* name of options is similar to old versions, but there is now one configuration
|
|
||||||
file by plugin, and one file for WeeChat core; there is
|
|
||||||
*no automatic conversion* for your old options to new configuration files,
|
|
||||||
so you'll have to setup again your IRC servers and all other options.
|
|
||||||
* plugin API has been rewritten and is not compatible with previous versions;
|
|
||||||
accordingly, scripts and plugins must have been designed for version 0.3.x to
|
|
||||||
be loaded into WeeChat.
|
|
||||||
|
|
||||||
More information about new API is available on wiki:
|
|
||||||
http://wiki.flashtux.org/wiki/WeeChat_0.3.0
|
|
||||||
and http://wiki.flashtux.org/wiki/WeeChat_0.3.0_API
|
|
||||||
|
|
||||||
Version 0.2.6.3 (2009-06-13)
|
|
||||||
----------------------------
|
|
||||||
|
|
||||||
This version fixes gnutls detection.
|
|
||||||
|
|
||||||
Version 0.2.6.2 (2009-04-18)
|
|
||||||
----------------------------
|
|
||||||
|
|
||||||
This version fixes a bug with charset decoding (like 'iso2022jp').
|
|
||||||
|
|
||||||
Version 0.2.6.1 (2009-03-14)
|
|
||||||
----------------------------
|
|
||||||
|
|
||||||
This version fixes a major bug: crash with some special chars in IRC messages.
|
|
||||||
|
|
||||||
Version 0.2.6 (2007-09-06)
|
|
||||||
--------------------------
|
|
||||||
|
|
||||||
No release note.
|
|
||||||
|
|
||||||
Version 0.2.5 (2007-06-07)
|
|
||||||
--------------------------
|
|
||||||
|
|
||||||
No release note.
|
|
||||||
|
|
||||||
Version 0.2.4 (2007-03-29)
|
|
||||||
--------------------------
|
|
||||||
|
|
||||||
No release note.
|
|
||||||
|
|
||||||
Version 0.2.3 (2007-01-10)
|
|
||||||
--------------------------
|
|
||||||
|
|
||||||
This version fixes several major bugs of version 0.2.2.
|
|
||||||
|
|
||||||
All users of version 0.2.2 should upgrade to this version.
|
|
||||||
|
|
||||||
Version 0.2.2 (2007-01-06)
|
|
||||||
--------------------------
|
|
||||||
|
|
||||||
=== Charset plugin ===
|
|
||||||
|
|
||||||
For users of any previous version, all your charset settings in weechat.rc will
|
|
||||||
be LOST! You should save your weechat.rc to keep your values and set them again
|
|
||||||
with new 'charset' plugin.
|
|
||||||
|
|
||||||
For ISO users: history of channels may be without accents (after `/upgrade`),
|
|
||||||
this is not recoverable, but this is not a bug. All new messages should be OK.
|
|
||||||
|
|
||||||
Be careful, now default encode is UTF-8 for all channels (before it was terminal
|
|
||||||
charset). If you still want to send messages as 'ISO-8859-1', you should set
|
|
||||||
either global encode or server specific encode to 'ISO-8859-1'.
|
|
||||||
|
|
||||||
For global encode:
|
|
||||||
|
|
||||||
----------------------------------------
|
|
||||||
/setp charset.global.encode = "ISO-8859-1"
|
|
||||||
----------------------------------------
|
|
||||||
|
|
||||||
For server encode (on server buffer):
|
|
||||||
|
|
||||||
----------------------------------------
|
|
||||||
/charset encode ISO-8859-1
|
|
||||||
----------------------------------------
|
|
||||||
|
|
||||||
=== New keys ===
|
|
||||||
|
|
||||||
New keys for topic scroll: F9/F10.
|
|
||||||
|
|
||||||
Key F10 was used for `infobar_clear` in previous WeeChat versions, you have to
|
|
||||||
manually rebind this key (except for new WeeChat users):
|
|
||||||
|
|
||||||
----------------------------------------
|
|
||||||
/key <press alt+"k" then F10> scroll_topic_right
|
|
||||||
----------------------------------------
|
|
||||||
|
|
||||||
Which gives something like:
|
|
||||||
|
|
||||||
----------------------------------------
|
|
||||||
/key meta2-21~ scroll_topic_right
|
|
||||||
----------------------------------------
|
|
||||||
|
|
||||||
Version 0.2.1 (2006-10-01)
|
|
||||||
--------------------------
|
|
||||||
|
|
||||||
No release note.
|
|
||||||
|
|
||||||
Version 0.2.0 (2006-08-19)
|
|
||||||
--------------------------
|
|
||||||
|
|
||||||
=== After /upgrade ===
|
|
||||||
|
|
||||||
If you upgraded with `/upgrade` in WeeChat, you should `/disconnect` and then
|
|
||||||
`/reconnect` on each server, to display properly channel/user modes.
|
|
||||||
|
|
||||||
=== Plugins ===
|
|
||||||
|
|
||||||
If you're using plugins, you should remove some old plugins libraries in WeeChat
|
|
||||||
system library directory (commonly '/usr/local/lib/weechat/plugins'): remove
|
|
||||||
`lib*` files (like `libperl.*`, `libpython.*`, ..) and keep only new libraries
|
|
||||||
(`perl.*`, `python.*`, ..).
|
|
||||||
|
|
||||||
Version 0.1.9 (2006-05-25)
|
|
||||||
--------------------------
|
|
||||||
|
|
||||||
=== DCC chat ===
|
|
||||||
|
|
||||||
Please close all DCC chat buffers before using /upgrade command, otherwise you
|
|
||||||
may experience problems with DCC chats.
|
|
||||||
|
|
||||||
=== Script API ===
|
|
||||||
|
|
||||||
Some changes in script API: now timer handlers functions takes exactly 0 (zero)
|
|
||||||
argument (in version 0.1.8, two arguments were mandatory but not used: server
|
|
||||||
and arguments).
|
|
||||||
|
|
||||||
Version 0.1.8 (2006-03-18)
|
|
||||||
--------------------------
|
|
||||||
|
|
||||||
=== After /upgrade ===
|
|
||||||
|
|
||||||
After installing 0.1.8 (or with `/upgrade`), issue both commands (if you didn't
|
|
||||||
redefine these keys (alt+{home|end}):
|
|
||||||
|
|
||||||
----------------------------------------
|
|
||||||
/key unbind meta-meta2-1~
|
|
||||||
/key unbind meta-meta2-4~
|
|
||||||
----------------------------------------
|
|
||||||
|
|
||||||
Then launch again WeeChat (or issue `/upgrade`).
|
|
||||||
|
|
||||||
=== Configuration files ===
|
|
||||||
|
|
||||||
It is recommended for users of version 0.1.7 (or any older), to replace values
|
|
||||||
in setup file ('~/.weechat/weechat.rc'):
|
|
||||||
|
|
||||||
* option: log_path: replace '~/.weechat/logs' by '%h/logs'
|
|
||||||
* option: plugins_path: replace '~/.weechat/plugins' by '%h/plugins'
|
|
||||||
|
|
||||||
The string '%h' is replaced by WeeChat home (default: '~/.weechat', may be
|
|
||||||
overridden by new command line argument `--dir`).
|
|
||||||
|
|
||||||
=== Keys ===
|
|
||||||
|
|
||||||
Keys alt+{home|end} were used for nicklist scroll, they're now replaced by
|
|
||||||
alt+{F11|F12}.
|
|
||||||
|
|
||||||
Version 0.1.7 (2006-01-14)
|
|
||||||
--------------------------
|
|
||||||
|
|
||||||
=== Ruby ===
|
|
||||||
|
|
||||||
Ruby script plugin has been added but is experimental in this release. You're
|
|
||||||
warned!
|
|
||||||
|
|
||||||
=== Command /away ===
|
|
||||||
|
|
||||||
Command `/away` was changed to be RFC 2812 compliant. Now argument is required
|
|
||||||
to set away, and no argument means remove away ("back").
|
|
||||||
|
|
||||||
Option 'irc_default_msg_away' has been removed.
|
|
||||||
|
|
||||||
Version 0.1.6 (2005-11-11)
|
|
||||||
--------------------------
|
|
||||||
|
|
||||||
=== Script API ===
|
|
||||||
|
|
||||||
Incompatibility with some old scripts: now all handlers have to return a code
|
|
||||||
for completion, and to do some actions about message to ignore (please look at
|
|
||||||
documentation for detail).
|
|
||||||
|
|
||||||
=== OpenBSD ===
|
|
||||||
|
|
||||||
On OpenBSD, the new option 'plugins_extension' should be set to '.so.0.0' since
|
|
||||||
the plugins names are ending by '.so.0.0' and not '.so'.
|
|
||||||
|
|
||||||
=== UTF-8 ===
|
|
||||||
|
|
||||||
With new and full UTF-8 support, the option 'look_charset_internal' should be
|
|
||||||
set to blank for most cases. Forces it only if your locale is not properly
|
|
||||||
detected by WeeChat (you can set 'UTF-8' or 'ISO-8859-15' for example, depending
|
|
||||||
on your locale). WeeChat is looking for 'UTF-8' in your locale name at startup.
|
|
||||||
|
|
||||||
Version 0.1.5 (2005-09-24)
|
|
||||||
--------------------------
|
|
||||||
|
|
||||||
No release note.
|
|
||||||
|
|
||||||
Version 0.1.4 (2005-07-30)
|
|
||||||
--------------------------
|
|
||||||
|
|
||||||
No release note.
|
|
||||||
|
|
||||||
Version 0.1.3 (2005-07-02)
|
|
||||||
--------------------------
|
|
||||||
|
|
||||||
No release note.
|
|
||||||
|
|
||||||
Version 0.1.2 (2005-05-21)
|
|
||||||
--------------------------
|
|
||||||
|
|
||||||
No release note.
|
|
||||||
|
|
||||||
Version 0.1.1 (2005-03-20)
|
|
||||||
--------------------------
|
|
||||||
|
|
||||||
No release note.
|
|
||||||
|
|
||||||
Version 0.1.0 (2005-02-12)
|
|
||||||
--------------------------
|
|
||||||
|
|
||||||
No release note.
|
|
||||||
|
|
||||||
Version 0.0.9 (2005-01-01)
|
|
||||||
--------------------------
|
|
||||||
|
|
||||||
No release note.
|
|
||||||
|
|
||||||
Version 0.0.8 (2004-10-30)
|
|
||||||
--------------------------
|
|
||||||
|
|
||||||
No release note.
|
|
||||||
|
|
||||||
Version 0.0.7 (2004-08-08)
|
|
||||||
--------------------------
|
|
||||||
|
|
||||||
No release note.
|
|
||||||
|
|
||||||
Version 0.0.6 (2004-06-05)
|
|
||||||
--------------------------
|
|
||||||
|
|
||||||
No release note.
|
|
||||||
|
|
||||||
Version 0.0.5 (2004-02-07)
|
|
||||||
--------------------------
|
|
||||||
|
|
||||||
No release note.
|
|
||||||
|
|
||||||
Version 0.0.4 (2004-01-01)
|
|
||||||
--------------------------
|
|
||||||
|
|
||||||
No release note.
|
|
||||||
|
|
||||||
Version 0.0.3 (2003-11-03)
|
|
||||||
--------------------------
|
|
||||||
|
|
||||||
No release note.
|
|
||||||
|
|
||||||
Version 0.0.2 (2003-10-05)
|
|
||||||
--------------------------
|
|
||||||
|
|
||||||
No release note.
|
|
||||||
|
|
||||||
Version 0.0.1 (2003-09-27)
|
|
||||||
--------------------------
|
|
||||||
|
|
||||||
No release note.
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
WeeChat Readme
|
WeeChat - Wee Enhanced Environment for Chat
|
||||||
==============
|
===========================================
|
||||||
|
|
||||||
|
|
||||||
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat
|
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat
|
||||||
@@ -9,32 +9,38 @@ It is customizable and extensible with scripts.
|
|||||||
|
|
||||||
Features
|
Features
|
||||||
--------
|
--------
|
||||||
|
* IRC chat client with multi-server connection
|
||||||
* chat client with multi-protocols/servers connection
|
* many GUI (curses, Gtk, Qt) (1)
|
||||||
* small, fast and very light
|
* small, fast and very light
|
||||||
* customizable and extensible with plugins (C, Perl, Python, Ruby, Lua, Tcl, Guile)
|
* customizable and extensible with plugins (C, Perl, Python, Ruby, Lua)
|
||||||
* compliant with IRC RFCs 1459, 2810, 2811, 2812 and 2813
|
* compliant with RFC 1459,2810,2811,2812,2813
|
||||||
* developed from scratch
|
* developed from scratch
|
||||||
* multi-platform (GNU/Linux, *BSD, Mac OS X, QNX, Windows & other)
|
* multi-platform (GNU/Linux, *BSD, Mac OS X, QNX, Windows & other) (2)
|
||||||
* free software, released under GPLv3
|
* 100% GPL & free
|
||||||
|
|
||||||
|
|
||||||
Copyright
|
Copyright
|
||||||
---------
|
---------
|
||||||
|
|
||||||
Copyright (C) 2003-2013 Sébastien Helleu <flashcode@flashtux.org>
|
WeeChat (c) Copyright 2003-2007 by FlashCode <flashcode@flashtux.org>
|
||||||
|
(see AUTHORS file if you want to contact authors)
|
||||||
|
|
||||||
This file is part of WeeChat, the extensible chat client.
|
WeeChat is distributed under GPL licence (see COPYING file for complete license):
|
||||||
|
|
||||||
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
|
it under the terms of the GNU General Public License as published by
|
||||||
the Free Software Foundation; either version 3 of the License, or
|
the Free Software Foundation; either version 3 of the License, or
|
||||||
(at your option) any later version.
|
(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
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU General Public License for more details.
|
GNU General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
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/>.
|
||||||
|
|
||||||
|
|
||||||
|
---
|
||||||
|
(1) only Curses interface is available today
|
||||||
|
(2) Windows version is under construction
|
||||||
|
|||||||
@@ -0,0 +1,5 @@
|
|||||||
|
WeeChat - Wee Enhanced Environment for Chat
|
||||||
|
===========================================
|
||||||
|
|
||||||
|
WeeChat TODO:
|
||||||
|
please look at https://savannah.nongnu.org/task/?group=weechat
|
||||||
+10
-12
@@ -1,28 +1,26 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
#
|
#
|
||||||
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
|
# Copyright (c) 2003-2007 FlashCode <flashcode@flashtux.org>
|
||||||
# Copyright (C) 2005 Julien Louis <ptitlouis@sysif.net>
|
|
||||||
# Copyright (C) 2005-2006 Emmanuel Bouthenot <kolter@openics.org>
|
|
||||||
#
|
#
|
||||||
# This file is part of WeeChat, the extensible chat client.
|
# This program is free software; you can redistribute it and/or modify
|
||||||
#
|
|
||||||
# WeeChat is free software; you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
# the Free Software Foundation; either version 3 of the License, or
|
# the Free Software Foundation; either version 3 of the License, or
|
||||||
# (at your option) any later version.
|
# (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
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
# GNU General Public License for more details.
|
# GNU General Public License for more details.
|
||||||
#
|
#
|
||||||
# You should have received a copy of the GNU General Public License
|
# 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
|
### common stuff
|
||||||
###
|
###
|
||||||
|
OK="\\033[70G[\\033[1;32mOK\\033[1;00m]"
|
||||||
|
FAIL="\\033[70G[\\033[1;31mFAILED\\033[1;00m]"
|
||||||
|
|
||||||
AUTOGEN_LOG=autogen.log
|
AUTOGEN_LOG=autogen.log
|
||||||
|
|
||||||
@@ -38,13 +36,13 @@ err ()
|
|||||||
|
|
||||||
run ()
|
run ()
|
||||||
{
|
{
|
||||||
echo -n "Running \"$@\"..."
|
echo -n "Running \"$@\""
|
||||||
eval $@ >$AUTOGEN_LOG 2>&1
|
eval $@ >$AUTOGEN_LOG 2>&1
|
||||||
if [ $? = 0 ] ; then
|
if [ $? = 0 ] ; then
|
||||||
echo " OK"
|
echo -e $OK
|
||||||
else
|
else
|
||||||
echo " FAILED"
|
echo -e $FAIL
|
||||||
err
|
err
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -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)
|
|
||||||
@@ -1,51 +0,0 @@
|
|||||||
#
|
|
||||||
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
|
|
||||||
#
|
|
||||||
# This file is part of WeeChat, the extensible chat client.
|
|
||||||
#
|
|
||||||
# WeeChat is free software; you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation; either version 3 of the License, or
|
|
||||||
# (at your option) any later version.
|
|
||||||
#
|
|
||||||
# WeeChat is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
#
|
|
||||||
|
|
||||||
# - Find Asciidoc
|
|
||||||
# This module finds if asciidoc (version 8 or newer) is installed.
|
|
||||||
|
|
||||||
IF (ASCIIDOC_FOUND)
|
|
||||||
# Already in cache, be silent
|
|
||||||
SET(ASCIIDOC_FIND_QUIETLY TRUE)
|
|
||||||
ENDIF (ASCIIDOC_FOUND)
|
|
||||||
|
|
||||||
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(
|
|
||||||
COMMAND ${ASCIIDOC_EXECUTABLE} --version
|
|
||||||
OUTPUT_VARIABLE ASCIIDOC_VERSION
|
|
||||||
)
|
|
||||||
|
|
||||||
IF(${ASCIIDOC_VERSION} MATCHES "asciidoc 8.*")
|
|
||||||
SET(ASCIIDOC_FOUND TRUE)
|
|
||||||
ENDIF(${ASCIIDOC_VERSION} MATCHES "asciidoc 8.*")
|
|
||||||
|
|
||||||
MARK_AS_ADVANCED(
|
|
||||||
ASCIIDOC_EXECUTABLE
|
|
||||||
)
|
|
||||||
ENDIF(ASCIIDOC_EXECUTABLE AND A2X_EXECUTABLE)
|
|
||||||
@@ -1,24 +1,21 @@
|
|||||||
|
# Copyright (c) 2003-2007 FlashCode <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
|
# This program is free software; you can redistribute it and/or modify
|
||||||
#
|
|
||||||
# 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
|
# it under the terms of the GNU General Public License as published by
|
||||||
# the Free Software Foundation; either version 3 of the License, or
|
# the Free Software Foundation; either version 3 of the License, or
|
||||||
# (at your option) any later version.
|
# (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
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
# GNU General Public License for more details.
|
# GNU General Public License for more details.
|
||||||
#
|
#
|
||||||
# You should have received a copy of the GNU General Public License
|
# 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
|
# - 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.
|
# the include files and libraries are.
|
||||||
#
|
#
|
||||||
# This code sets the following variables:
|
# This code sets the following variables:
|
||||||
|
|||||||
@@ -1,44 +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 (ENCHANT_INCLUDE_DIR AND ENCHANT_LIBRARIES)
|
|
||||||
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 (NOT WIN32)
|
|
||||||
|
|
||||||
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)
|
|
||||||
|
|
||||||
endif (ENCHANT_INCLUDE_DIR AND ENCHANT_LIBRARIES)
|
|
||||||
@@ -1,53 +0,0 @@
|
|||||||
#
|
|
||||||
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
|
|
||||||
#
|
|
||||||
# This file is part of WeeChat, the extensible chat client.
|
|
||||||
#
|
|
||||||
# WeeChat is free software; you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation; either version 3 of the License, or
|
|
||||||
# (at your option) any later version.
|
|
||||||
#
|
|
||||||
# WeeChat is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
#
|
|
||||||
|
|
||||||
# - Find Gcrypt
|
|
||||||
# This module finds if libgcrypt is installed and determines where
|
|
||||||
# the include files and libraries are.
|
|
||||||
#
|
|
||||||
# This code sets the following variables:
|
|
||||||
#
|
|
||||||
# GCRYPT_CFLAGS = cflags to use to compile
|
|
||||||
# GCRYPT_LDFLAGS = ldflags to use to compile
|
|
||||||
#
|
|
||||||
|
|
||||||
FIND_PROGRAM(LIBGCRYPT_CONFIG_EXECUTABLE NAMES libgcrypt-config)
|
|
||||||
|
|
||||||
set(GCRYPT_LDFLAGS)
|
|
||||||
set(GCRYPT_CFLAGS)
|
|
||||||
|
|
||||||
IF(LIBGCRYPT_CONFIG_EXECUTABLE)
|
|
||||||
|
|
||||||
EXEC_PROGRAM(${LIBGCRYPT_CONFIG_EXECUTABLE} ARGS --libs RETURN_VALUE _return_VALUE OUTPUT_VARIABLE GCRYPT_LDFLAGS)
|
|
||||||
EXEC_PROGRAM(${LIBGCRYPT_CONFIG_EXECUTABLE} ARGS --cflags RETURN_VALUE _return_VALUE OUTPUT_VARIABLE GCRYPT_CFLAGS)
|
|
||||||
|
|
||||||
IF(${GCRYPT_CFLAGS} MATCHES "\n")
|
|
||||||
SET(GCRYPT_CFLAGS " ")
|
|
||||||
ENDIF(${GCRYPT_CFLAGS} MATCHES "\n")
|
|
||||||
|
|
||||||
ENDIF(LIBGCRYPT_CONFIG_EXECUTABLE)
|
|
||||||
|
|
||||||
# handle the QUIETLY and REQUIRED arguments and set GCRYPT_FOUND to TRUE if
|
|
||||||
# all listed variables are TRUE
|
|
||||||
INCLUDE(${CMAKE_HOME_DIRECTORY}/cmake/FindPackageHandleStandardArgs.cmake)
|
|
||||||
FIND_PACKAGE_HANDLE_STANDARD_ARGS(GCRYPT REQUIRED_VARS GCRYPT_LDFLAGS GCRYPT_CFLAGS)
|
|
||||||
|
|
||||||
IF(GCRYPT_FOUND)
|
|
||||||
MARK_AS_ADVANCED(GCRYPT_CFLAGS GCRYPT_LDFLAGS)
|
|
||||||
ENDIF(GCRYPT_FOUND)
|
|
||||||
+10
-15
@@ -1,26 +1,21 @@
|
|||||||
|
# Copyright (c) 2003-2007 FlashCode <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
|
# This program is free software; you can redistribute it and/or modify
|
||||||
# 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
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
# the Free Software Foundation; either version 3 of the License, or
|
# the Free Software Foundation; either version 3 of the License, or
|
||||||
# (at your option) any later version.
|
# (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
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
# GNU General Public License for more details.
|
# GNU General Public License for more details.
|
||||||
#
|
#
|
||||||
# You should have received a copy of the GNU General Public License
|
# 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
|
# - 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.
|
# the include files and libraries are.
|
||||||
#
|
#
|
||||||
# This code sets the following variables:
|
# This code sets the following variables:
|
||||||
@@ -57,15 +52,15 @@ IF(HAVE_LIBINTL_H)
|
|||||||
/usr/lib
|
/usr/lib
|
||||||
)
|
)
|
||||||
IF(LIBINTL_LIBRARY)
|
IF(LIBINTL_LIBRARY)
|
||||||
IF(${CMAKE_SYSTEM_NAME} STREQUAL "OpenBSD")
|
IF(${CMAKE_SYSTEM_NAME} MATCHES "OpenBSD")
|
||||||
SET(CMAKE_REQUIRED_LIBRARIES "iconv")
|
SET(CMAKE_REQUIRED_LIBRARIES "iconv")
|
||||||
CHECK_LIBRARY_EXISTS(${LIBINTL_LIBRARY} "libintl_dgettext" "" LIBINTL_HAS_DGETTEXT)
|
CHECK_LIBRARY_EXISTS(${LIBINTL_LIBRARY} "libintl_dgettext" "" LIBINTL_HAS_DGETTEXT)
|
||||||
ELSE(${CMAKE_SYSTEM_NAME} STREQUAL "OpenBSD")
|
ELSE(${CMAKE_SYSTEM_NAME} MATCHES "OpenBSD")
|
||||||
CHECK_LIBRARY_EXISTS(${LIBINTL_LIBRARY} "dgettext" "" LIBINTL_HAS_DGETTEXT)
|
CHECK_LIBRARY_EXISTS(${LIBINTL_LIBRARY} "dgettext" "" LIBINTL_HAS_DGETTEXT)
|
||||||
ENDIF(${CMAKE_SYSTEM_NAME} STREQUAL "OpenBSD")
|
ENDIF(${CMAKE_SYSTEM_NAME} MATCHES "OpenBSD")
|
||||||
|
|
||||||
IF(LIBINTL_HAS_DGETTEXT)
|
IF(LIBINTL_HAS_DGETTEXT)
|
||||||
SET(GETTEXT_FOUND TRUE)
|
SET(GETTEXT_FOUND TRUE)
|
||||||
ENDIF(LIBINTL_HAS_DGETTEXT)
|
ENDIF(LIBINTL_HAS_DGETTEXT)
|
||||||
ENDIF(LIBINTL_LIBRARY)
|
ENDIF(LIBINTL_LIBRARY)
|
||||||
ENDIF(LIBC_HAS_DGETTEXT)
|
ENDIF(LIBC_HAS_DGETTEXT)
|
||||||
|
|||||||
@@ -1,25 +1,21 @@
|
|||||||
|
# Copyright (c) 2003-2007 FlashCode <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
|
# This program is free software; you can redistribute it and/or modify
|
||||||
# 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
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
# the Free Software Foundation; either version 3 of the License, or
|
# the Free Software Foundation; either version 3 of the License, or
|
||||||
# (at your option) any later version.
|
# (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
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
# GNU General Public License for more details.
|
# GNU General Public License for more details.
|
||||||
#
|
#
|
||||||
# You should have received a copy of the GNU General Public License
|
# 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
|
# - 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.
|
# the include files and libraries are.
|
||||||
#
|
#
|
||||||
# This code sets the following variables:
|
# This code sets the following variables:
|
||||||
|
|||||||
@@ -1,37 +0,0 @@
|
|||||||
#
|
|
||||||
# Copyright (C) 2011-2013 Sebastien Helleu <flashcode@flashtux.org>
|
|
||||||
#
|
|
||||||
# This file is part of WeeChat, the extensible chat client.
|
|
||||||
#
|
|
||||||
# WeeChat is free software; you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation; either version 3 of the License, or
|
|
||||||
# (at your option) any later version.
|
|
||||||
#
|
|
||||||
# WeeChat is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
#
|
|
||||||
|
|
||||||
# - Find Guile
|
|
||||||
# This module finds if Guile is installed and determines where the include files
|
|
||||||
# and libraries are. It also determines what the name of the library is. This
|
|
||||||
# code sets the following variables:
|
|
||||||
#
|
|
||||||
# GUILE_FOUND = Guile is installed
|
|
||||||
# GUILE_INCLUDE_DIRS = Guile include directory
|
|
||||||
# GUILE_LIBRARIES = Link options to compile Guile
|
|
||||||
|
|
||||||
IF(GUILE_FOUND)
|
|
||||||
# Already in cache, be silent
|
|
||||||
SET(GUILE_FIND_QUIETLY TRUE)
|
|
||||||
ENDIF(GUILE_FOUND)
|
|
||||||
|
|
||||||
FIND_PACKAGE(PkgConfig)
|
|
||||||
IF(PKG_CONFIG_FOUND)
|
|
||||||
pkg_search_module(GUILE guile-2.0)
|
|
||||||
ENDIF(PKG_CONFIG_FOUND)
|
|
||||||
+9
-16
@@ -1,24 +1,21 @@
|
|||||||
|
# Copyright (c) 2003-2007 FlashCode <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
|
# This program is free software; you can redistribute it and/or modify
|
||||||
#
|
|
||||||
# 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
|
# it under the terms of the GNU General Public License as published by
|
||||||
# the Free Software Foundation; either version 3 of the License, or
|
# the Free Software Foundation; either version 3 of the License, or
|
||||||
# (at your option) any later version.
|
# (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
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
# GNU General Public License for more details.
|
# GNU General Public License for more details.
|
||||||
#
|
#
|
||||||
# You should have received a copy of the GNU General Public License
|
# 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
|
# - 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.
|
# the include files and libraries are.
|
||||||
#
|
#
|
||||||
# This code sets the following variables:
|
# This code sets the following variables:
|
||||||
@@ -33,9 +30,6 @@ IF(ICONV_FOUND)
|
|||||||
set(ICONV_FIND_QUIETLY TRUE)
|
set(ICONV_FIND_QUIETLY TRUE)
|
||||||
ENDIF(ICONV_FOUND)
|
ENDIF(ICONV_FOUND)
|
||||||
|
|
||||||
INCLUDE(CheckLibraryExists)
|
|
||||||
INCLUDE(CheckFunctionExists)
|
|
||||||
|
|
||||||
FIND_PATH(ICONV_INCLUDE_PATH
|
FIND_PATH(ICONV_INCLUDE_PATH
|
||||||
NAMES iconv.h
|
NAMES iconv.h
|
||||||
PATHS /usr/include /usr/local/include /usr/pkg/include
|
PATHS /usr/include /usr/local/include /usr/pkg/include
|
||||||
@@ -49,11 +43,10 @@ FIND_LIBRARY(ICONV_LIBRARY
|
|||||||
IF(ICONV_INCLUDE_PATH)
|
IF(ICONV_INCLUDE_PATH)
|
||||||
IF(ICONV_LIBRARY)
|
IF(ICONV_LIBRARY)
|
||||||
STRING(REGEX REPLACE "/[^/]*$" "" ICONV_LIB_PATH "${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 libiconv_open ${ICONV_LIB_PATH} ICONV_FOUND)
|
||||||
CHECK_LIBRARY_EXISTS(iconv iconv_open ${ICONV_LIB_PATH} ICONV_OPEN_FOUND)
|
IF(NOT ICONV_FOUND)
|
||||||
IF(LIBICONV_OPEN_FOUND OR ICONV_OPEN_FOUND)
|
CHECK_LIBRARY_EXISTS(iconv iconv_open ${ICONV_LIB_PATH} ICONV_FOUND)
|
||||||
SET(ICONV_FOUND TRUE)
|
ENDIF(NOT ICONV_FOUND)
|
||||||
ENDIF(LIBICONV_OPEN_FOUND OR ICONV_OPEN_FOUND)
|
|
||||||
ELSE(ICONV_LIBRARY)
|
ELSE(ICONV_LIBRARY)
|
||||||
CHECK_FUNCTION_EXISTS(iconv_open ICONV_FOUND)
|
CHECK_FUNCTION_EXISTS(iconv_open ICONV_FOUND)
|
||||||
ENDIF(ICONV_LIBRARY)
|
ENDIF(ICONV_LIBRARY)
|
||||||
|
|||||||
+7
-13
@@ -1,24 +1,21 @@
|
|||||||
|
# Copyright (c) 2003-2007 FlashCode <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
|
# This program is free software; you can redistribute it and/or modify
|
||||||
#
|
|
||||||
# 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
|
# it under the terms of the GNU General Public License as published by
|
||||||
# the Free Software Foundation; either version 3 of the License, or
|
# the Free Software Foundation; either version 3 of the License, or
|
||||||
# (at your option) any later version.
|
# (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
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
# GNU General Public License for more details.
|
# GNU General Public License for more details.
|
||||||
#
|
#
|
||||||
# You should have received a copy of the GNU General Public License
|
# 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
|
# - 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.
|
# the include files and libraries are.
|
||||||
#
|
#
|
||||||
# This code sets the following variables:
|
# This code sets the following variables:
|
||||||
@@ -42,7 +39,6 @@ FIND_PATH(
|
|||||||
FIND_LIBRARY(
|
FIND_LIBRARY(
|
||||||
LUA51_LIBRARY NAMES lua51 lua5.1 lua-5.1 lua
|
LUA51_LIBRARY NAMES lua51 lua5.1 lua-5.1 lua
|
||||||
PATHS /lib /usr/lib /usr/local/lib /usr/pkg/lib
|
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)
|
IF(LUA51_INCLUDE_PATH AND LUA51_LIBRARY)
|
||||||
@@ -60,13 +56,11 @@ ELSE(LUA51_INCLUDE_PATH AND LUA51_LIBRARY)
|
|||||||
FIND_LIBRARY(
|
FIND_LIBRARY(
|
||||||
LUA50_LIBRARY NAMES lua50 lua5.0 lua-5.0 lua
|
LUA50_LIBRARY NAMES lua50 lua5.0 lua-5.0 lua
|
||||||
PATHS /lib /usr/lib /usr/local/lib /usr/pkg/lib
|
PATHS /lib /usr/lib /usr/local/lib /usr/pkg/lib
|
||||||
PATH_SUFFIXES lua50 lua5.0 lua-5.0 lua
|
|
||||||
)
|
)
|
||||||
|
|
||||||
FIND_LIBRARY(
|
FIND_LIBRARY(
|
||||||
LUALIB50_LIBRARY NAMES lualib50 lualib5.0 lualib-5.0 lualib
|
LUALIB50_LIBRARY NAMES lualib50 lualib5.0 lualib-5.0 lualib
|
||||||
PATHS /lib /usr/lib /usr/local/lib /usr/pkg/lib
|
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)
|
IF(LUA50_INCLUDE_PATH AND LUA50_LIBRARY AND LUALIB50_LIBRARY)
|
||||||
|
|||||||
+7
-26
@@ -1,20 +1,17 @@
|
|||||||
|
# Copyright (c) 2003-2007 FlashCode <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
|
# This program is free software; you can redistribute it and/or modify
|
||||||
#
|
|
||||||
# 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
|
# it under the terms of the GNU General Public License as published by
|
||||||
# the Free Software Foundation; either version 3 of the License, or
|
# the Free Software Foundation; either version 3 of the License, or
|
||||||
# (at your option) any later version.
|
# (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
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
# GNU General Public License for more details.
|
# GNU General Public License for more details.
|
||||||
#
|
#
|
||||||
# You should have received a copy of the GNU General Public License
|
# 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)
|
IF(NCURSES_FOUND)
|
||||||
@@ -23,30 +20,14 @@ ENDIF(NCURSES_FOUND)
|
|||||||
|
|
||||||
FIND_PATH(NCURSES_INCLUDE_PATH
|
FIND_PATH(NCURSES_INCLUDE_PATH
|
||||||
NAMES ncurses.h curses.h
|
NAMES ncurses.h curses.h
|
||||||
PATHS /usr/include/ncursesw /usr/include/ncurses /usr/include
|
PATHS /usr/include /usr/local/include /usr/pkg/include
|
||||||
/usr/local/include/ncursesw /usr/local/include/ncurses /usr/local/include
|
|
||||||
/usr/pkg/include/ncursesw /usr/pkg/include/ncurses /usr/pkg/include
|
|
||||||
)
|
)
|
||||||
|
|
||||||
FIND_LIBRARY(NCURSESW_LIBRARY
|
FIND_LIBRARY(NCURSES_LIBRARY
|
||||||
NAMES ncursesw
|
NAMES ncursesw ncurses
|
||||||
PATHS /lib /usr/lib /usr/local/lib /usr/pkg/lib
|
PATHS /lib /usr/lib /usr/local/lib /usr/pkg/lib
|
||||||
)
|
)
|
||||||
|
|
||||||
IF (NCURSESW_LIBRARY)
|
|
||||||
SET(NCURSES_LIBRARY ${NCURSESW_LIBRARY})
|
|
||||||
ELSE(NCURSESW_LIBRARY)
|
|
||||||
FIND_LIBRARY(NCURSES_LIBRARY
|
|
||||||
NAMES ncurses
|
|
||||||
PATHS /lib /usr/lib /usr/local/lib /usr/pkg/lib
|
|
||||||
)
|
|
||||||
IF (NCURSES_LIBRARY)
|
|
||||||
MESSAGE("*** WARNING:\n"
|
|
||||||
"*** ncursesw library not found! Falling back to \"ncurses\"\n"
|
|
||||||
"*** Be careful, UTF-8 display may not work properly if your locale is UTF-8.")
|
|
||||||
ENDIF(NCURSES_LIBRARY)
|
|
||||||
ENDIF(NCURSESW_LIBRARY)
|
|
||||||
|
|
||||||
IF (NCURSES_INCLUDE_PATH AND NCURSES_LIBRARY)
|
IF (NCURSES_INCLUDE_PATH AND NCURSES_LIBRARY)
|
||||||
SET(NCURSES_FOUND TRUE)
|
SET(NCURSES_FOUND TRUE)
|
||||||
ENDIF(NCURSES_INCLUDE_PATH AND NCURSES_LIBRARY)
|
ENDIF(NCURSES_INCLUDE_PATH AND NCURSES_LIBRARY)
|
||||||
|
|||||||
@@ -1,260 +0,0 @@
|
|||||||
# FIND_PACKAGE_HANDLE_STANDARD_ARGS(<name> ... )
|
|
||||||
#
|
|
||||||
# This function is intended to be used in FindXXX.cmake modules files.
|
|
||||||
# It handles the REQUIRED, QUIET and version-related arguments to FIND_PACKAGE().
|
|
||||||
# It also sets the <UPPERCASED_NAME>_FOUND variable.
|
|
||||||
# The package is considered found if all variables <var1>... listed contain
|
|
||||||
# valid results, e.g. valid filepaths.
|
|
||||||
#
|
|
||||||
# There are two modes of this function. The first argument in both modes is
|
|
||||||
# the name of the Find-module where it is called (in original casing).
|
|
||||||
#
|
|
||||||
# The first simple mode looks like this:
|
|
||||||
# FIND_PACKAGE_HANDLE_STANDARD_ARGS(<name> (DEFAULT_MSG|"Custom failure message") <var1>...<varN> )
|
|
||||||
# If the variables <var1> to <varN> are all valid, then <UPPERCASED_NAME>_FOUND
|
|
||||||
# will be set to TRUE.
|
|
||||||
# If DEFAULT_MSG is given as second argument, then the function will generate
|
|
||||||
# itself useful success and error messages. You can also supply a custom error message
|
|
||||||
# for the failure case. This is not recommended.
|
|
||||||
#
|
|
||||||
# The second mode is more powerful and also supports version checking:
|
|
||||||
# FIND_PACKAGE_HANDLE_STANDARD_ARGS(NAME [REQUIRED_VARS <var1>...<varN>]
|
|
||||||
# [VERSION_VAR <versionvar>
|
|
||||||
# [CONFIG_MODE]
|
|
||||||
# [FAIL_MESSAGE "Custom failure message"] )
|
|
||||||
#
|
|
||||||
# As above, if <var1> through <varN> are all valid, <UPPERCASED_NAME>_FOUND
|
|
||||||
# will be set to TRUE.
|
|
||||||
# After REQUIRED_VARS the variables which are required for this package are listed.
|
|
||||||
# Following VERSION_VAR the name of the variable can be specified which holds
|
|
||||||
# the version of the package which has been found. If this is done, this version
|
|
||||||
# will be checked against the (potentially) specified required version used
|
|
||||||
# in the find_package() call. The EXACT keyword is also handled. The default
|
|
||||||
# messages include information about the required version and the version
|
|
||||||
# which has been actually found, both if the version is ok or not.
|
|
||||||
# Use the option CONFIG_MODE if your FindXXX.cmake module is a wrapper for
|
|
||||||
# a find_package(... NO_MODULE) call, in this case all the information
|
|
||||||
# provided by the config-mode of find_package() will be evaluated
|
|
||||||
# automatically.
|
|
||||||
# Via FAIL_MESSAGE a custom failure message can be specified, if this is not
|
|
||||||
# used, the default message will be displayed.
|
|
||||||
#
|
|
||||||
# Example for mode 1:
|
|
||||||
#
|
|
||||||
# FIND_PACKAGE_HANDLE_STANDARD_ARGS(LibXml2 DEFAULT_MSG LIBXML2_LIBRARY LIBXML2_INCLUDE_DIR)
|
|
||||||
#
|
|
||||||
# LibXml2 is considered to be found, if both LIBXML2_LIBRARY and
|
|
||||||
# LIBXML2_INCLUDE_DIR are valid. Then also LIBXML2_FOUND is set to TRUE.
|
|
||||||
# If it is not found and REQUIRED was used, it fails with FATAL_ERROR,
|
|
||||||
# independent whether QUIET was used or not.
|
|
||||||
# If it is found, success will be reported, including the content of <var1>.
|
|
||||||
# On repeated Cmake runs, the same message won't be printed again.
|
|
||||||
#
|
|
||||||
# Example for mode 2:
|
|
||||||
#
|
|
||||||
# FIND_PACKAGE_HANDLE_STANDARD_ARGS(BISON REQUIRED_VARS BISON_EXECUTABLE
|
|
||||||
# VERSION_VAR BISON_VERSION)
|
|
||||||
# In this case, BISON is considered to be found if the variable(s) listed
|
|
||||||
# after REQUIRED_VAR are all valid, i.e. BISON_EXECUTABLE in this case.
|
|
||||||
# Also the version of BISON will be checked by using the version contained
|
|
||||||
# in BISON_VERSION.
|
|
||||||
# Since no FAIL_MESSAGE is given, the default messages will be printed.
|
|
||||||
#
|
|
||||||
# Another example for mode 2:
|
|
||||||
#
|
|
||||||
# FIND_PACKAGE(Automoc4 QUIET NO_MODULE HINTS /opt/automoc4)
|
|
||||||
# FIND_PACKAGE_HANDLE_STANDARD_ARGS(Automoc4 CONFIG_MODE)
|
|
||||||
# In this case, FindAutmoc4.cmake wraps a call to FIND_PACKAGE(Automoc4 NO_MODULE)
|
|
||||||
# and adds an additional search directory for automoc4.
|
|
||||||
# The following FIND_PACKAGE_HANDLE_STANDARD_ARGS() call produces a proper
|
|
||||||
# success/error message.
|
|
||||||
|
|
||||||
#=============================================================================
|
|
||||||
# Copyright 2007-2009 Kitware, Inc.
|
|
||||||
#
|
|
||||||
# Distributed under the OSI-approved BSD License (the "License");
|
|
||||||
# see accompanying file Copyright.txt for details.
|
|
||||||
#
|
|
||||||
# This software is distributed WITHOUT ANY WARRANTY; without even the
|
|
||||||
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
||||||
# See the License for more information.
|
|
||||||
#=============================================================================
|
|
||||||
# (To distribute this file outside of CMake, substitute the full
|
|
||||||
# License text for the above reference.)
|
|
||||||
|
|
||||||
INCLUDE(FindPackageMessage)
|
|
||||||
INCLUDE(CMakeParseArguments)
|
|
||||||
|
|
||||||
# internal helper macro
|
|
||||||
MACRO(_FPHSA_FAILURE_MESSAGE _msg)
|
|
||||||
IF (${_NAME}_FIND_REQUIRED)
|
|
||||||
MESSAGE(FATAL_ERROR "${_msg}")
|
|
||||||
ELSE (${_NAME}_FIND_REQUIRED)
|
|
||||||
IF (NOT ${_NAME}_FIND_QUIETLY)
|
|
||||||
MESSAGE(STATUS "${_msg}")
|
|
||||||
ENDIF (NOT ${_NAME}_FIND_QUIETLY)
|
|
||||||
ENDIF (${_NAME}_FIND_REQUIRED)
|
|
||||||
ENDMACRO(_FPHSA_FAILURE_MESSAGE _msg)
|
|
||||||
|
|
||||||
|
|
||||||
# internal helper macro to generate the failure message when used in CONFIG_MODE:
|
|
||||||
MACRO(_FPHSA_HANDLE_FAILURE_CONFIG_MODE)
|
|
||||||
# <name>_CONFIG is set, but FOUND is false, this means that some other of the REQUIRED_VARS was not found:
|
|
||||||
IF(${_NAME}_CONFIG)
|
|
||||||
_FPHSA_FAILURE_MESSAGE("${FPHSA_FAIL_MESSAGE}: missing: ${MISSING_VARS} (found ${${_NAME}_CONFIG} ${VERSION_MSG})")
|
|
||||||
ELSE(${_NAME}_CONFIG)
|
|
||||||
# If _CONSIDERED_CONFIGS is set, the config-file has been found, but no suitable version.
|
|
||||||
# List them all in the error message:
|
|
||||||
IF(${_NAME}_CONSIDERED_CONFIGS)
|
|
||||||
SET(configsText "")
|
|
||||||
LIST(LENGTH ${_NAME}_CONSIDERED_CONFIGS configsCount)
|
|
||||||
MATH(EXPR configsCount "${configsCount} - 1")
|
|
||||||
FOREACH(currentConfigIndex RANGE ${configsCount})
|
|
||||||
LIST(GET ${_NAME}_CONSIDERED_CONFIGS ${currentConfigIndex} filename)
|
|
||||||
LIST(GET ${_NAME}_CONSIDERED_VERSIONS ${currentConfigIndex} version)
|
|
||||||
SET(configsText "${configsText} ${filename} (version ${version})\n")
|
|
||||||
ENDFOREACH(currentConfigIndex)
|
|
||||||
_FPHSA_FAILURE_MESSAGE("${FPHSA_FAIL_MESSAGE} ${VERSION_MSG}, checked the following files:\n${configsText}")
|
|
||||||
|
|
||||||
ELSE(${_NAME}_CONSIDERED_CONFIGS)
|
|
||||||
# Simple case: No Config-file was found at all:
|
|
||||||
_FPHSA_FAILURE_MESSAGE("${FPHSA_FAIL_MESSAGE}: found neither ${_NAME}Config.cmake nor ${_NAME_LOWER}-config.cmake ${VERSION_MSG}")
|
|
||||||
ENDIF(${_NAME}_CONSIDERED_CONFIGS)
|
|
||||||
ENDIF(${_NAME}_CONFIG)
|
|
||||||
ENDMACRO(_FPHSA_HANDLE_FAILURE_CONFIG_MODE)
|
|
||||||
|
|
||||||
|
|
||||||
FUNCTION(FIND_PACKAGE_HANDLE_STANDARD_ARGS _NAME _FIRST_ARG)
|
|
||||||
|
|
||||||
# set up the arguments for CMAKE_PARSE_ARGUMENTS and check whether we are in
|
|
||||||
# new extended or in the "old" mode:
|
|
||||||
SET(options CONFIG_MODE)
|
|
||||||
SET(oneValueArgs FAIL_MESSAGE VERSION_VAR)
|
|
||||||
SET(multiValueArgs REQUIRED_VARS)
|
|
||||||
SET(_KEYWORDS_FOR_EXTENDED_MODE ${options} ${oneValueArgs} ${multiValueArgs} )
|
|
||||||
LIST(FIND _KEYWORDS_FOR_EXTENDED_MODE "${_FIRST_ARG}" INDEX)
|
|
||||||
|
|
||||||
IF(${INDEX} EQUAL -1)
|
|
||||||
SET(FPHSA_FAIL_MESSAGE ${_FIRST_ARG})
|
|
||||||
SET(FPHSA_REQUIRED_VARS ${ARGN})
|
|
||||||
SET(FPHSA_VERSION_VAR)
|
|
||||||
ELSE(${INDEX} EQUAL -1)
|
|
||||||
|
|
||||||
CMAKE_PARSE_ARGUMENTS(FPHSA "${options}" "${oneValueArgs}" "${multiValueArgs}" ${_FIRST_ARG} ${ARGN})
|
|
||||||
|
|
||||||
IF(FPHSA_UNPARSED_ARGUMENTS)
|
|
||||||
MESSAGE(FATAL_ERROR "Unknown keywords given to FIND_PACKAGE_HANDLE_STANDARD_ARGS(): \"${FPHSA_UNPARSED_ARGUMENTS}\"")
|
|
||||||
ENDIF(FPHSA_UNPARSED_ARGUMENTS)
|
|
||||||
|
|
||||||
IF(NOT FPHSA_FAIL_MESSAGE)
|
|
||||||
SET(FPHSA_FAIL_MESSAGE "DEFAULT_MSG")
|
|
||||||
ENDIF(NOT FPHSA_FAIL_MESSAGE)
|
|
||||||
ENDIF(${INDEX} EQUAL -1)
|
|
||||||
|
|
||||||
# now that we collected all arguments, process them
|
|
||||||
|
|
||||||
IF("${FPHSA_FAIL_MESSAGE}" STREQUAL "DEFAULT_MSG")
|
|
||||||
SET(FPHSA_FAIL_MESSAGE "Could NOT find ${_NAME}")
|
|
||||||
ENDIF("${FPHSA_FAIL_MESSAGE}" STREQUAL "DEFAULT_MSG")
|
|
||||||
|
|
||||||
# In config-mode, we rely on the variable <package>_CONFIG, which is set by find_package()
|
|
||||||
# when it successfully found the config-file, including version checking:
|
|
||||||
IF(FPHSA_CONFIG_MODE)
|
|
||||||
LIST(INSERT FPHSA_REQUIRED_VARS 0 ${_NAME}_CONFIG)
|
|
||||||
LIST(REMOVE_DUPLICATES FPHSA_REQUIRED_VARS)
|
|
||||||
SET(FPHSA_VERSION_VAR ${_NAME}_VERSION)
|
|
||||||
ENDIF(FPHSA_CONFIG_MODE)
|
|
||||||
|
|
||||||
IF(NOT FPHSA_REQUIRED_VARS)
|
|
||||||
MESSAGE(FATAL_ERROR "No REQUIRED_VARS specified for FIND_PACKAGE_HANDLE_STANDARD_ARGS()")
|
|
||||||
ENDIF(NOT FPHSA_REQUIRED_VARS)
|
|
||||||
|
|
||||||
LIST(GET FPHSA_REQUIRED_VARS 0 _FIRST_REQUIRED_VAR)
|
|
||||||
|
|
||||||
STRING(TOUPPER ${_NAME} _NAME_UPPER)
|
|
||||||
STRING(TOLOWER ${_NAME} _NAME_LOWER)
|
|
||||||
|
|
||||||
# collect all variables which were not found, so they can be printed, so the
|
|
||||||
# user knows better what went wrong (#6375)
|
|
||||||
SET(MISSING_VARS "")
|
|
||||||
SET(DETAILS "")
|
|
||||||
SET(${_NAME_UPPER}_FOUND TRUE)
|
|
||||||
# check if all passed variables are valid
|
|
||||||
FOREACH(_CURRENT_VAR ${FPHSA_REQUIRED_VARS})
|
|
||||||
IF(NOT ${_CURRENT_VAR})
|
|
||||||
SET(${_NAME_UPPER}_FOUND FALSE)
|
|
||||||
SET(MISSING_VARS "${MISSING_VARS} ${_CURRENT_VAR}")
|
|
||||||
ELSE(NOT ${_CURRENT_VAR})
|
|
||||||
SET(DETAILS "${DETAILS}[${${_CURRENT_VAR}}]")
|
|
||||||
ENDIF(NOT ${_CURRENT_VAR})
|
|
||||||
ENDFOREACH(_CURRENT_VAR)
|
|
||||||
|
|
||||||
|
|
||||||
# version handling:
|
|
||||||
SET(VERSION_MSG "")
|
|
||||||
SET(VERSION_OK TRUE)
|
|
||||||
SET(VERSION ${${FPHSA_VERSION_VAR}} )
|
|
||||||
IF (${_NAME}_FIND_VERSION)
|
|
||||||
|
|
||||||
IF(VERSION)
|
|
||||||
|
|
||||||
IF(${_NAME}_FIND_VERSION_EXACT) # exact version required
|
|
||||||
IF (NOT "${${_NAME}_FIND_VERSION}" VERSION_EQUAL "${VERSION}")
|
|
||||||
SET(VERSION_MSG "Found unsuitable version \"${VERSION}\", but required is exact version \"${${_NAME}_FIND_VERSION}\"")
|
|
||||||
SET(VERSION_OK FALSE)
|
|
||||||
ELSE (NOT "${${_NAME}_FIND_VERSION}" VERSION_EQUAL "${VERSION}")
|
|
||||||
SET(VERSION_MSG "(found suitable exact version \"${VERSION}\")")
|
|
||||||
ENDIF (NOT "${${_NAME}_FIND_VERSION}" VERSION_EQUAL "${VERSION}")
|
|
||||||
|
|
||||||
ELSE(${_NAME}_FIND_VERSION_EXACT) # minimum version specified:
|
|
||||||
IF ("${${_NAME}_FIND_VERSION}" VERSION_GREATER "${VERSION}")
|
|
||||||
SET(VERSION_MSG "Found unsuitable version \"${VERSION}\", but required is at least \"${${_NAME}_FIND_VERSION}\"")
|
|
||||||
SET(VERSION_OK FALSE)
|
|
||||||
ELSE ("${${_NAME}_FIND_VERSION}" VERSION_GREATER "${VERSION}")
|
|
||||||
SET(VERSION_MSG "(found suitable version \"${VERSION}\", required is \"${${_NAME}_FIND_VERSION}\")")
|
|
||||||
ENDIF ("${${_NAME}_FIND_VERSION}" VERSION_GREATER "${VERSION}")
|
|
||||||
ENDIF(${_NAME}_FIND_VERSION_EXACT)
|
|
||||||
|
|
||||||
ELSE(VERSION)
|
|
||||||
|
|
||||||
# if the package was not found, but a version was given, add that to the output:
|
|
||||||
IF(${_NAME}_FIND_VERSION_EXACT)
|
|
||||||
SET(VERSION_MSG "(Required is exact version \"${${_NAME}_FIND_VERSION}\")")
|
|
||||||
ELSE(${_NAME}_FIND_VERSION_EXACT)
|
|
||||||
SET(VERSION_MSG "(Required is at least version \"${${_NAME}_FIND_VERSION}\")")
|
|
||||||
ENDIF(${_NAME}_FIND_VERSION_EXACT)
|
|
||||||
|
|
||||||
ENDIF(VERSION)
|
|
||||||
ELSE (${_NAME}_FIND_VERSION)
|
|
||||||
IF(VERSION)
|
|
||||||
SET(VERSION_MSG "(found version \"${VERSION}\")")
|
|
||||||
ENDIF(VERSION)
|
|
||||||
ENDIF (${_NAME}_FIND_VERSION)
|
|
||||||
|
|
||||||
IF(VERSION_OK)
|
|
||||||
SET(DETAILS "${DETAILS}[v${VERSION}(${${_NAME}_FIND_VERSION})]")
|
|
||||||
ELSE(VERSION_OK)
|
|
||||||
SET(${_NAME_UPPER}_FOUND FALSE)
|
|
||||||
ENDIF(VERSION_OK)
|
|
||||||
|
|
||||||
|
|
||||||
# print the result:
|
|
||||||
IF (${_NAME_UPPER}_FOUND)
|
|
||||||
FIND_PACKAGE_MESSAGE(${_NAME} "Found ${_NAME}: ${${_FIRST_REQUIRED_VAR}} ${VERSION_MSG}" "${DETAILS}")
|
|
||||||
ELSE (${_NAME_UPPER}_FOUND)
|
|
||||||
|
|
||||||
IF(FPHSA_CONFIG_MODE)
|
|
||||||
_FPHSA_HANDLE_FAILURE_CONFIG_MODE()
|
|
||||||
ELSE(FPHSA_CONFIG_MODE)
|
|
||||||
IF(NOT VERSION_OK)
|
|
||||||
_FPHSA_FAILURE_MESSAGE("${FPHSA_FAIL_MESSAGE}: ${VERSION_MSG} (found ${${_FIRST_REQUIRED_VAR}})")
|
|
||||||
ELSE(NOT VERSION_OK)
|
|
||||||
_FPHSA_FAILURE_MESSAGE("${FPHSA_FAIL_MESSAGE} (missing: ${MISSING_VARS}) ${VERSION_MSG}")
|
|
||||||
ENDIF(NOT VERSION_OK)
|
|
||||||
ENDIF(FPHSA_CONFIG_MODE)
|
|
||||||
|
|
||||||
ENDIF (${_NAME_UPPER}_FOUND)
|
|
||||||
|
|
||||||
SET(${_NAME_UPPER}_FOUND ${${_NAME_UPPER}_FOUND} PARENT_SCOPE)
|
|
||||||
|
|
||||||
ENDFUNCTION(FIND_PACKAGE_HANDLE_STANDARD_ARGS _FIRST_ARG)
|
|
||||||
+9
-12
@@ -1,20 +1,17 @@
|
|||||||
|
# Copyright (c) 2003-2007 FlashCode <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
|
# This program is free software; you can redistribute it and/or modify
|
||||||
#
|
|
||||||
# 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
|
# it under the terms of the GNU General Public License as published by
|
||||||
# the Free Software Foundation; either version 3 of the License, or
|
# the Free Software Foundation; either version 3 of the License, or
|
||||||
# (at your option) any later version.
|
# (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
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
# GNU General Public License for more details.
|
# GNU General Public License for more details.
|
||||||
#
|
#
|
||||||
# You should have received a copy of the GNU General Public License
|
# 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
|
# - Find Perl libraries
|
||||||
@@ -54,13 +51,13 @@ IF(PERL_EXECUTABLE)
|
|||||||
COMMAND ${PERL_EXECUTABLE} -MExtUtils::Embed -e ldopts
|
COMMAND ${PERL_EXECUTABLE} -MExtUtils::Embed -e ldopts
|
||||||
OUTPUT_VARIABLE PERL_LFLAGS
|
OUTPUT_VARIABLE PERL_LFLAGS
|
||||||
)
|
)
|
||||||
|
|
||||||
# remove the new lines from the output by replacing them with empty strings
|
# 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_INTERNAL_DIR "${PERL_INTERNAL_DIR}")
|
||||||
STRING(REPLACE "\n" "" PERL_CFLAGS "${PERL_CFLAGS}")
|
STRING(REPLACE "\n" "" PERL_CFLAGS "${PERL_CFLAGS}")
|
||||||
STRING(REPLACE "\n" "" PERL_LFLAGS "${PERL_LFLAGS}")
|
STRING(REPLACE "\n" "" PERL_LFLAGS "${PERL_LFLAGS}")
|
||||||
|
|
||||||
FIND_PATH(PERL_INCLUDE_PATH
|
FIND_PATH(PERL_INCLUDE_PATH
|
||||||
NAMES perl.h
|
NAMES perl.h
|
||||||
PATHS ${PERL_INTERNAL_DIR}
|
PATHS ${PERL_INTERNAL_DIR}
|
||||||
)
|
)
|
||||||
@@ -69,11 +66,11 @@ IF(PERL_EXECUTABLE)
|
|||||||
NAMES perl
|
NAMES perl
|
||||||
PATHS /usr/lib /usr/local/lib /usr/pkg/lib ${PERL_INTERNAL_DIR}
|
PATHS /usr/lib /usr/local/lib /usr/pkg/lib ${PERL_INTERNAL_DIR}
|
||||||
)
|
)
|
||||||
|
|
||||||
IF(PERL_LIBRARY AND PERL_INCLUDE_PATH)
|
IF(PERL_LIBRARY AND PERL_INCLUDE_PATH)
|
||||||
SET(PERL_FOUND TRUE)
|
SET(PERL_FOUND TRUE)
|
||||||
ENDIF(PERL_LIBRARY AND PERL_INCLUDE_PATH)
|
ENDIF(PERL_LIBRARY AND PERL_INCLUDE_PATH)
|
||||||
|
|
||||||
MARK_AS_ADVANCED(
|
MARK_AS_ADVANCED(
|
||||||
PERL_EXECUTABLE
|
PERL_EXECUTABLE
|
||||||
PERL_INCLUDE_PATH
|
PERL_INCLUDE_PATH
|
||||||
|
|||||||
@@ -1,360 +0,0 @@
|
|||||||
# - a pkg-config module for CMake
|
|
||||||
#
|
|
||||||
# Usage:
|
|
||||||
# pkg_check_modules(<PREFIX> [REQUIRED] <MODULE> [<MODULE>]*)
|
|
||||||
# checks for all the given modules
|
|
||||||
#
|
|
||||||
# pkg_search_module(<PREFIX> [REQUIRED] <MODULE> [<MODULE>]*)
|
|
||||||
# checks for given modules and uses the first working one
|
|
||||||
#
|
|
||||||
# When the 'REQUIRED' argument was set, macros will fail with an error
|
|
||||||
# when module(s) could not be found
|
|
||||||
#
|
|
||||||
# It sets the following variables:
|
|
||||||
# PKG_CONFIG_FOUND ... true iff pkg-config works on the system
|
|
||||||
# PKG_CONFIG_EXECUTABLE ... pathname of the pkg-config program
|
|
||||||
# <PREFIX>_FOUND ... set to 1 iff module(s) exist
|
|
||||||
#
|
|
||||||
# For the following variables two sets of values exist; first one is the
|
|
||||||
# common one and has the given PREFIX. The second set contains flags
|
|
||||||
# which are given out when pkgconfig was called with the '--static'
|
|
||||||
# option.
|
|
||||||
# <XPREFIX>_LIBRARIES ... only the libraries (w/o the '-l')
|
|
||||||
# <XPREFIX>_LIBRARY_DIRS ... the paths of the libraries (w/o the '-L')
|
|
||||||
# <XPREFIX>_LDFLAGS ... all required linker flags
|
|
||||||
# <XPREFIX>_LDFLAGS_OTHER ... all other linker flags
|
|
||||||
# <XPREFIX>_INCLUDE_DIRS ... the '-I' preprocessor flags (w/o the '-I')
|
|
||||||
# <XPREFIX>_CFLAGS ... all required cflags
|
|
||||||
# <XPREFIX>_CFLAGS_OTHER ... the other compiler flags
|
|
||||||
#
|
|
||||||
# <XPREFIX> = <PREFIX> for common case
|
|
||||||
# <XPREFIX> = <PREFIX>_STATIC for static linking
|
|
||||||
#
|
|
||||||
# There are some special variables whose prefix depends on the count
|
|
||||||
# of given modules. When there is only one module, <PREFIX> stays
|
|
||||||
# unchanged. When there are multiple modules, the prefix will be
|
|
||||||
# changed to <PREFIX>_<MODNAME>:
|
|
||||||
# <XPREFIX>_VERSION ... version of the module
|
|
||||||
# <XPREFIX>_PREFIX ... prefix-directory of the module
|
|
||||||
# <XPREFIX>_INCLUDEDIR ... include-dir of the module
|
|
||||||
# <XPREFIX>_LIBDIR ... lib-dir of the module
|
|
||||||
#
|
|
||||||
# <XPREFIX> = <PREFIX> when |MODULES| == 1, else
|
|
||||||
# <XPREFIX> = <PREFIX>_<MODNAME>
|
|
||||||
#
|
|
||||||
# A <MODULE> parameter can have the following formats:
|
|
||||||
# {MODNAME} ... matches any version
|
|
||||||
# {MODNAME}>={VERSION} ... at least version <VERSION> is required
|
|
||||||
# {MODNAME}={VERSION} ... exactly version <VERSION> is required
|
|
||||||
# {MODNAME}<={VERSION} ... modules must not be newer than <VERSION>
|
|
||||||
#
|
|
||||||
# Examples
|
|
||||||
# pkg_check_modules (GLIB2 glib-2.0)
|
|
||||||
#
|
|
||||||
# pkg_check_modules (GLIB2 glib-2.0>=2.10)
|
|
||||||
# requires at least version 2.10 of glib2 and defines e.g.
|
|
||||||
# GLIB2_VERSION=2.10.3
|
|
||||||
#
|
|
||||||
# pkg_check_modules (FOO glib-2.0>=2.10 gtk+-2.0)
|
|
||||||
# requires both glib2 and gtk2, and defines e.g.
|
|
||||||
# FOO_glib-2.0_VERSION=2.10.3
|
|
||||||
# FOO_gtk+-2.0_VERSION=2.8.20
|
|
||||||
#
|
|
||||||
# pkg_check_modules (XRENDER REQUIRED xrender)
|
|
||||||
# defines e.g.:
|
|
||||||
# XRENDER_LIBRARIES=Xrender;X11
|
|
||||||
# XRENDER_STATIC_LIBRARIES=Xrender;X11;pthread;Xau;Xdmcp
|
|
||||||
#
|
|
||||||
# pkg_search_module (BAR libxml-2.0 libxml2 libxml>=2)
|
|
||||||
|
|
||||||
|
|
||||||
# Copyright (C) 2006 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
|
|
||||||
#
|
|
||||||
# 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
|
|
||||||
# ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
|
|
||||||
# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
||||||
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
|
|
||||||
# GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
|
||||||
# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
|
|
||||||
# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
|
|
||||||
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
|
|
||||||
# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
||||||
|
|
||||||
|
|
||||||
### Common stuff ####
|
|
||||||
set(PKG_CONFIG_VERSION 1)
|
|
||||||
set(PKG_CONFIG_FOUND 0)
|
|
||||||
|
|
||||||
find_program(PKG_CONFIG_EXECUTABLE NAMES pkg-config DOC "pkg-config executable")
|
|
||||||
mark_as_advanced(PKG_CONFIG_EXECUTABLE)
|
|
||||||
|
|
||||||
if(PKG_CONFIG_EXECUTABLE)
|
|
||||||
set(PKG_CONFIG_FOUND 1)
|
|
||||||
endif(PKG_CONFIG_EXECUTABLE)
|
|
||||||
|
|
||||||
|
|
||||||
# Unsets the given variables
|
|
||||||
macro(_pkgconfig_unset var)
|
|
||||||
set(${var} "" CACHE INTERNAL "")
|
|
||||||
endmacro(_pkgconfig_unset)
|
|
||||||
|
|
||||||
macro(_pkgconfig_set var value)
|
|
||||||
set(${var} ${value} CACHE INTERNAL "")
|
|
||||||
endmacro(_pkgconfig_set)
|
|
||||||
|
|
||||||
# Invokes pkgconfig, cleans up the result and sets variables
|
|
||||||
macro(_pkgconfig_invoke _pkglist _prefix _varname _regexp)
|
|
||||||
set(_pkgconfig_invoke_result)
|
|
||||||
|
|
||||||
execute_process(
|
|
||||||
COMMAND ${PKG_CONFIG_EXECUTABLE} ${ARGN} ${_pkglist}
|
|
||||||
OUTPUT_VARIABLE _pkgconfig_invoke_result
|
|
||||||
RESULT_VARIABLE _pkgconfig_failed)
|
|
||||||
|
|
||||||
if (_pkgconfig_failed)
|
|
||||||
set(_pkgconfig_${_varname} "")
|
|
||||||
_pkgconfig_unset(${_prefix}_${_varname})
|
|
||||||
else(_pkgconfig_failed)
|
|
||||||
string(REGEX REPLACE "[\r\n]" " " _pkgconfig_invoke_result "${_pkgconfig_invoke_result}")
|
|
||||||
string(REGEX REPLACE " +$" "" _pkgconfig_invoke_result "${_pkgconfig_invoke_result}")
|
|
||||||
|
|
||||||
if (NOT ${_regexp} STREQUAL "")
|
|
||||||
string(REGEX REPLACE "${_regexp}" " " _pkgconfig_invoke_result "${_pkgconfig_invoke_result}")
|
|
||||||
endif(NOT ${_regexp} STREQUAL "")
|
|
||||||
|
|
||||||
separate_arguments(_pkgconfig_invoke_result)
|
|
||||||
|
|
||||||
#message(STATUS " ${_varname} ... ${_pkgconfig_invoke_result}")
|
|
||||||
set(_pkgconfig_${_varname} ${_pkgconfig_invoke_result})
|
|
||||||
_pkgconfig_set(${_prefix}_${_varname} "${_pkgconfig_invoke_result}")
|
|
||||||
endif(_pkgconfig_failed)
|
|
||||||
endmacro(_pkgconfig_invoke)
|
|
||||||
|
|
||||||
# Invokes pkgconfig two times; once without '--static' and once with
|
|
||||||
# '--static'
|
|
||||||
macro(_pkgconfig_invoke_dyn _pkglist _prefix _varname cleanup_regexp)
|
|
||||||
_pkgconfig_invoke("${_pkglist}" ${_prefix} ${_varname} "${cleanup_regexp}" ${ARGN})
|
|
||||||
_pkgconfig_invoke("${_pkglist}" ${_prefix} STATIC_${_varname} "${cleanup_regexp}" --static ${ARGN})
|
|
||||||
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)
|
|
||||||
endif (_pkg STREQUAL "REQUIRED")
|
|
||||||
endforeach(_pkg ${ARGN})
|
|
||||||
|
|
||||||
set(${_result} ${ARGN})
|
|
||||||
list(REMOVE_ITEM ${_result} "REQUIRED")
|
|
||||||
endmacro(_pkgconfig_parse_options)
|
|
||||||
|
|
||||||
###
|
|
||||||
macro(_pkg_check_modules_internal _is_required _is_silent _prefix)
|
|
||||||
_pkgconfig_unset(${_prefix}_FOUND)
|
|
||||||
_pkgconfig_unset(${_prefix}_VERSION)
|
|
||||||
_pkgconfig_unset(${_prefix}_PREFIX)
|
|
||||||
_pkgconfig_unset(${_prefix}_INCLUDEDIR)
|
|
||||||
_pkgconfig_unset(${_prefix}_LIBDIR)
|
|
||||||
_pkgconfig_unset(${_prefix}_LIBS)
|
|
||||||
_pkgconfig_unset(${_prefix}_LIBS_L)
|
|
||||||
_pkgconfig_unset(${_prefix}_LIBS_PATHS)
|
|
||||||
_pkgconfig_unset(${_prefix}_LIBS_OTHER)
|
|
||||||
_pkgconfig_unset(${_prefix}_CFLAGS)
|
|
||||||
_pkgconfig_unset(${_prefix}_CFLAGS_I)
|
|
||||||
_pkgconfig_unset(${_prefix}_CFLAGS_OTHER)
|
|
||||||
_pkgconfig_unset(${_prefix}_STATIC_LIBDIR)
|
|
||||||
_pkgconfig_unset(${_prefix}_STATIC_LIBS)
|
|
||||||
_pkgconfig_unset(${_prefix}_STATIC_LIBS_L)
|
|
||||||
_pkgconfig_unset(${_prefix}_STATIC_LIBS_PATHS)
|
|
||||||
_pkgconfig_unset(${_prefix}_STATIC_LIBS_OTHER)
|
|
||||||
_pkgconfig_unset(${_prefix}_STATIC_CFLAGS)
|
|
||||||
_pkgconfig_unset(${_prefix}_STATIC_CFLAGS_I)
|
|
||||||
_pkgconfig_unset(${_prefix}_STATIC_CFLAGS_OTHER)
|
|
||||||
|
|
||||||
# create a better addressable variable of the modules and calculate its size
|
|
||||||
set(_pkg_check_modules_list ${ARGN})
|
|
||||||
list(LENGTH _pkg_check_modules_list _pkg_check_modules_cnt)
|
|
||||||
|
|
||||||
if(PKG_CONFIG_EXECUTABLE)
|
|
||||||
# give out status message telling checked module
|
|
||||||
if (NOT ${_is_silent})
|
|
||||||
if (_pkg_check_modules_cnt EQUAL 1)
|
|
||||||
message(STATUS "checking for module '${_pkg_check_modules_list}'")
|
|
||||||
else(_pkg_check_modules_cnt EQUAL 1)
|
|
||||||
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)
|
|
||||||
|
|
||||||
# iterate through module list and check whether they exist and match the required version
|
|
||||||
foreach (_pkg_check_modules_pkg ${_pkg_check_modules_list})
|
|
||||||
set(_pkg_check_modules_exist_query)
|
|
||||||
|
|
||||||
# check whether version is given
|
|
||||||
if (_pkg_check_modules_pkg MATCHES ".*(>=|=|<=).*")
|
|
||||||
string(REGEX REPLACE "(.*[^><])(>=|=|<=)(.*)" "\\1" _pkg_check_modules_pkg_name "${_pkg_check_modules_pkg}")
|
|
||||||
string(REGEX REPLACE "(.*[^><])(>=|=|<=)(.*)" "\\2" _pkg_check_modules_pkg_op "${_pkg_check_modules_pkg}")
|
|
||||||
string(REGEX REPLACE "(.*[^><])(>=|=|<=)(.*)" "\\3" _pkg_check_modules_pkg_ver "${_pkg_check_modules_pkg}")
|
|
||||||
else(_pkg_check_modules_pkg MATCHES ".*(>=|=|<=).*")
|
|
||||||
set(_pkg_check_modules_pkg_name "${_pkg_check_modules_pkg}")
|
|
||||||
set(_pkg_check_modules_pkg_op)
|
|
||||||
set(_pkg_check_modules_pkg_ver)
|
|
||||||
endif(_pkg_check_modules_pkg MATCHES ".*(>=|=|<=).*")
|
|
||||||
|
|
||||||
# handle the operands
|
|
||||||
if (_pkg_check_modules_pkg_op STREQUAL ">=")
|
|
||||||
list(APPEND _pkg_check_modules_exist_query --atleast-version)
|
|
||||||
endif(_pkg_check_modules_pkg_op STREQUAL ">=")
|
|
||||||
|
|
||||||
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>
|
|
||||||
# * --max-version <version> <pkg-name>
|
|
||||||
# * --exists <pkg-name>
|
|
||||||
if (_pkg_check_modules_pkg_op)
|
|
||||||
list(APPEND _pkg_check_modules_exist_query "${_pkg_check_modules_pkg_ver}")
|
|
||||||
else(_pkg_check_modules_pkg_op)
|
|
||||||
list(APPEND _pkg_check_modules_exist_query --exists)
|
|
||||||
endif(_pkg_check_modules_pkg_op)
|
|
||||||
|
|
||||||
_pkgconfig_unset(${_prefix}_${_pkg_check_modules_pkg_name}_VERSION)
|
|
||||||
_pkgconfig_unset(${_prefix}_${_pkg_check_modules_pkg_name}_PREFIX)
|
|
||||||
_pkgconfig_unset(${_prefix}_${_pkg_check_modules_pkg_name}_INCLUDEDIR)
|
|
||||||
_pkgconfig_unset(${_prefix}_${_pkg_check_modules_pkg_name}_LIBDIR)
|
|
||||||
|
|
||||||
list(APPEND _pkg_check_modules_exist_query "${_pkg_check_modules_pkg_name}")
|
|
||||||
list(APPEND _pkg_check_modules_packages "${_pkg_check_modules_pkg_name}")
|
|
||||||
|
|
||||||
# execute the query
|
|
||||||
execute_process(
|
|
||||||
COMMAND ${PKG_CONFIG_EXECUTABLE} ${_pkg_check_modules_exist_query}
|
|
||||||
RESULT_VARIABLE _pkgconfig_retval)
|
|
||||||
|
|
||||||
# evaluate result and tell failures
|
|
||||||
if (_pkgconfig_retval)
|
|
||||||
if(NOT ${_is_silent})
|
|
||||||
message(STATUS " package '${_pkg_check_modules_pkg}' not found")
|
|
||||||
endif(NOT ${_is_silent})
|
|
||||||
|
|
||||||
set(_pkg_check_modules_failed 1)
|
|
||||||
endif(_pkgconfig_retval)
|
|
||||||
endforeach(_pkg_check_modules_pkg)
|
|
||||||
|
|
||||||
if(_pkg_check_modules_failed)
|
|
||||||
# fail when requested
|
|
||||||
if (${_is_required})
|
|
||||||
message(SEND_ERROR "A required package was not found")
|
|
||||||
endif (${_is_required})
|
|
||||||
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)
|
|
||||||
|
|
||||||
# iterate through all modules again and set individual variables
|
|
||||||
foreach (_pkg_check_modules_pkg ${_pkg_check_modules_packages})
|
|
||||||
# handle case when there is only one package required
|
|
||||||
if (pkg_count EQUAL 1)
|
|
||||||
set(_pkg_check_prefix "${_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 )
|
|
||||||
_pkgconfig_invoke(${_pkg_check_modules_pkg} "${_pkg_check_prefix}" LIBDIR "" --variable=libdir )
|
|
||||||
|
|
||||||
message(STATUS " found ${_pkg_check_modules_pkg}, version ${_pkgconfig_VERSION}")
|
|
||||||
endforeach(_pkg_check_modules_pkg)
|
|
||||||
|
|
||||||
# set variables which are combined for multiple modules
|
|
||||||
_pkgconfig_invoke_dyn("${_pkg_check_modules_packages}" "${_prefix}" LIBRARIES "(^| )-l" --libs-only-l )
|
|
||||||
_pkgconfig_invoke_dyn("${_pkg_check_modules_packages}" "${_prefix}" LIBRARY_DIRS "(^| )-L" --libs-only-L )
|
|
||||||
_pkgconfig_invoke_dyn("${_pkg_check_modules_packages}" "${_prefix}" LDFLAGS "" --libs )
|
|
||||||
_pkgconfig_invoke_dyn("${_pkg_check_modules_packages}" "${_prefix}" LDFLAGS_OTHER "" --libs-only-other )
|
|
||||||
|
|
||||||
_pkgconfig_invoke_dyn("${_pkg_check_modules_packages}" "${_prefix}" INCLUDE_DIRS "(^| )-I" --cflags-only-I )
|
|
||||||
_pkgconfig_invoke_dyn("${_pkg_check_modules_packages}" "${_prefix}" CFLAGS "" --cflags )
|
|
||||||
_pkgconfig_invoke_dyn("${_pkg_check_modules_packages}" "${_prefix}" CFLAGS_OTHER "" --cflags-only-other )
|
|
||||||
endif(_pkg_check_modules_failed)
|
|
||||||
else(PKG_CONFIG_EXECUTABLE)
|
|
||||||
if (${_is_required})
|
|
||||||
message(SEND_ERROR "pkg-config tool not found")
|
|
||||||
endif (${_is_required})
|
|
||||||
endif(PKG_CONFIG_EXECUTABLE)
|
|
||||||
endmacro(_pkg_check_modules_internal)
|
|
||||||
|
|
||||||
###
|
|
||||||
### User visible macros start here
|
|
||||||
###
|
|
||||||
|
|
||||||
###
|
|
||||||
macro(pkg_check_modules _prefix _module0)
|
|
||||||
# check cached value
|
|
||||||
if (NOT DEFINED __pkg_config_checked_${_prefix} OR __pkg_config_checked_${_prefix} LESS ${PKG_CONFIG_VERSION})
|
|
||||||
_pkgconfig_parse_options (_pkg_modules _pkg_is_required "${_module0}" ${ARGN})
|
|
||||||
_pkg_check_modules_internal("${_pkg_is_required}" 0 "${_prefix}" ${_pkg_modules})
|
|
||||||
|
|
||||||
_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})
|
|
||||||
endmacro(pkg_check_modules)
|
|
||||||
|
|
||||||
###
|
|
||||||
macro(pkg_search_module _prefix _module0)
|
|
||||||
# check cached value
|
|
||||||
if (NOT DEFINED __pkg_config_checked_${_prefix} OR __pkg_config_checked_${_prefix} LESS ${PKG_CONFIG_VERSION} OR NOT ${_prefix}_FOUND)
|
|
||||||
set(_pkg_modules_found 0)
|
|
||||||
_pkgconfig_parse_options(_pkg_modules_alt _pkg_is_required "${_module0}" ${ARGN})
|
|
||||||
|
|
||||||
message(STATUS "checking for one of the modules '${_pkg_modules_alt}'")
|
|
||||||
|
|
||||||
# iterate through all modules and stop at the first working one.
|
|
||||||
foreach(_pkg_alt ${_pkg_modules_alt})
|
|
||||||
if(NOT _pkg_modules_found)
|
|
||||||
_pkg_check_modules_internal(0 1 "${_prefix}" "${_pkg_alt}")
|
|
||||||
endif(NOT _pkg_modules_found)
|
|
||||||
|
|
||||||
if (${_prefix}_FOUND)
|
|
||||||
set(_pkg_modules_found 1)
|
|
||||||
endif(${_prefix}_FOUND)
|
|
||||||
endforeach(_pkg_alt)
|
|
||||||
|
|
||||||
if (NOT ${_prefix}_FOUND)
|
|
||||||
if(${_pkg_is_required})
|
|
||||||
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)
|
|
||||||
endmacro(pkg_search_module)
|
|
||||||
|
|
||||||
### Local Variables:
|
|
||||||
### mode: cmake
|
|
||||||
### End:
|
|
||||||
+27
-51
@@ -1,21 +1,17 @@
|
|||||||
|
# Copyright (c) 2003-2007 FlashCode <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
|
# This program is free software; you can redistribute it and/or modify
|
||||||
# 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
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
# the Free Software Foundation; either version 3 of the License, or
|
# the Free Software Foundation; either version 3 of the License, or
|
||||||
# (at your option) any later version.
|
# (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
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
# GNU General Public License for more details.
|
# GNU General Public License for more details.
|
||||||
#
|
#
|
||||||
# You should have received a copy of the GNU General Public License
|
# 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
|
# - Find Python
|
||||||
@@ -33,71 +29,51 @@ IF(PYTHON_FOUND)
|
|||||||
SET(PYTHON_FIND_QUIETLY TRUE)
|
SET(PYTHON_FIND_QUIETLY TRUE)
|
||||||
ENDIF(PYTHON_FOUND)
|
ENDIF(PYTHON_FOUND)
|
||||||
|
|
||||||
IF(ENABLE_PYTHON3)
|
FIND_PROGRAM(PYTHON_EXECUTABLE
|
||||||
FIND_PROGRAM(PYTHON_EXECUTABLE
|
NAMES python python2.5 python2.4 python2.3 python2.2
|
||||||
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
|
||||||
PATHS /usr/bin /usr/local/bin /usr/pkg/bin
|
)
|
||||||
)
|
|
||||||
ELSE(ENABLE_PYTHON3)
|
|
||||||
FIND_PROGRAM(PYTHON_EXECUTABLE
|
|
||||||
NAMES python2.7 python2.6 python2.5 python
|
|
||||||
PATHS /usr/bin /usr/local/bin /usr/pkg/bin
|
|
||||||
)
|
|
||||||
ENDIF(ENABLE_PYTHON3)
|
|
||||||
|
|
||||||
IF(PYTHON_EXECUTABLE)
|
IF(PYTHON_EXECUTABLE)
|
||||||
EXECUTE_PROCESS(
|
EXECUTE_PROCESS(
|
||||||
COMMAND ${PYTHON_EXECUTABLE} -c "import sys; from distutils.sysconfig import *; sys.stdout.write(get_config_var('INCLUDEPY'))"
|
COMMAND ${PYTHON_EXECUTABLE} -c "from distutils.sysconfig import *; print get_config_var('CONFINCLUDEPY')"
|
||||||
OUTPUT_VARIABLE PYTHON_INC_DIR
|
OUTPUT_VARIABLE PYTHON_INC_DIR
|
||||||
)
|
)
|
||||||
|
|
||||||
EXECUTE_PROCESS(
|
EXECUTE_PROCESS(
|
||||||
COMMAND ${PYTHON_EXECUTABLE} -c "import sys; from distutils.sysconfig import *; sys.stdout.write(get_config_var('LIBPL'))"
|
COMMAND ${PYTHON_EXECUTABLE} -c "from distutils.sysconfig import *; print get_config_var('LIBPL')"
|
||||||
OUTPUT_VARIABLE PYTHON_POSSIBLE_LIB_PATH
|
OUTPUT_VARIABLE PYTHON_POSSIBLE_LIB_PATH
|
||||||
)
|
)
|
||||||
|
|
||||||
EXECUTE_PROCESS(
|
EXECUTE_PROCESS(
|
||||||
COMMAND ${PYTHON_EXECUTABLE} -c "import sys; from distutils.sysconfig import *; sys.stdout.write(get_config_var('LINKFORSHARED'))"
|
COMMAND ${PYTHON_EXECUTABLE} -c "from distutils.sysconfig import *; print get_config_var('LINKFORSHARED')"
|
||||||
OUTPUT_VARIABLE PYTHON_LFLAGS
|
OUTPUT_VARIABLE PYTHON_LFLAGS
|
||||||
)
|
)
|
||||||
|
|
||||||
|
# remove the new lines from the output by replacing them with empty strings
|
||||||
|
STRING(REPLACE "\n" "" PYTHON_INC_DIR "${PYTHON_INC_DIR}")
|
||||||
|
STRING(REPLACE "\n" "" PYTHON_POSSIBLE_LIB_PATH "${PYTHON_POSSIBLE_LIB_PATH}")
|
||||||
|
STRING(REPLACE "\n" "" PYTHON_LFLAGS "${PYTHON_LFLAGS}")
|
||||||
|
|
||||||
FIND_PATH(PYTHON_INCLUDE_PATH
|
FIND_PATH(PYTHON_INCLUDE_PATH
|
||||||
NAMES Python.h
|
NAMES Python.h
|
||||||
PATHS ${PYTHON_INC_DIR}
|
PATHS ${PYTHON_INC_DIR}
|
||||||
)
|
)
|
||||||
IF(ENABLE_PYTHON3)
|
|
||||||
FIND_LIBRARY(PYTHON_LIBRARY
|
FIND_LIBRARY(PYTHON_LIBRARY
|
||||||
NAMES python3.4 python3.3 python3.2 python3.1 python3.0 python3 python2.7 python2.6 python2.5 python
|
NAMES python python2.5 python2.4 python2.3 python2.2
|
||||||
PATHS ${PYTHON_POSSIBLE_LIB_PATH}
|
PATHS ${PYTHON_POSSIBLE_LIB_PATH}
|
||||||
)
|
)
|
||||||
ELSE(ENABLE_PYTHON3)
|
|
||||||
FIND_LIBRARY(PYTHON_LIBRARY
|
|
||||||
NAMES python2.7 python2.6 python2.5 python
|
|
||||||
PATHS ${PYTHON_POSSIBLE_LIB_PATH}
|
|
||||||
)
|
|
||||||
ENDIF(ENABLE_PYTHON3)
|
|
||||||
|
|
||||||
IF(PYTHON_LIBRARY AND PYTHON_INCLUDE_PATH)
|
IF(PYTHON_LIBRARY AND PYTHON_INCLUDE_PATH)
|
||||||
EXECUTE_PROCESS(
|
SET(PYTHON_FOUND TRUE)
|
||||||
COMMAND ${PYTHON_EXECUTABLE} -c "import sys; sys.stdout.write(sys.version[:3])"
|
|
||||||
OUTPUT_VARIABLE PYTHON_VERSION
|
|
||||||
)
|
|
||||||
EXECUTE_PROCESS(
|
|
||||||
COMMAND ${PYTHON_EXECUTABLE} -c "import sys; sys.stdout.write(str(sys.version_info < (2,5)))"
|
|
||||||
OUTPUT_VARIABLE PYTHON_OLD_VERSION
|
|
||||||
)
|
|
||||||
IF(${PYTHON_OLD_VERSION} STREQUAL "True")
|
|
||||||
MESSAGE("Python >= 2.5 is needed to build python plugin, version found: ${PYTHON_VERSION}")
|
|
||||||
ELSE()
|
|
||||||
SET(PYTHON_FOUND TRUE)
|
|
||||||
ENDIF(${PYTHON_OLD_VERSION} STREQUAL "True")
|
|
||||||
ENDIF(PYTHON_LIBRARY AND PYTHON_INCLUDE_PATH)
|
ENDIF(PYTHON_LIBRARY AND PYTHON_INCLUDE_PATH)
|
||||||
|
|
||||||
MARK_AS_ADVANCED(
|
MARK_AS_ADVANCED(
|
||||||
PYTHON_EXECUTABLE
|
PYTHON_EXECUTABLE
|
||||||
PYTHON_INCLUDE_PATH
|
PYTHON_INCLUDE_PATH
|
||||||
PYTHON_LIBRARY
|
PYTHON_LIBRARY
|
||||||
PYTHON_LFLAGS
|
PYTHON_LFLAGS
|
||||||
)
|
)
|
||||||
|
|
||||||
ENDIF(PYTHON_EXECUTABLE)
|
ENDIF(PYTHON_EXECUTABLE)
|
||||||
|
|||||||
+18
-33
@@ -1,20 +1,17 @@
|
|||||||
|
# Copyright (c) 2003-2007 FlashCode <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
|
# This program is free software; you can redistribute it and/or modify
|
||||||
#
|
|
||||||
# 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
|
# it under the terms of the GNU General Public License as published by
|
||||||
# the Free Software Foundation; either version 3 of the License, or
|
# the Free Software Foundation; either version 3 of the License, or
|
||||||
# (at your option) any later version.
|
# (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
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
# GNU General Public License for more details.
|
# GNU General Public License for more details.
|
||||||
#
|
#
|
||||||
# You should have received a copy of the GNU General Public License
|
# 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
|
# - Find Ruby
|
||||||
@@ -31,47 +28,39 @@ IF(RUBY_FOUND)
|
|||||||
SET(RUBY_FIND_QUIETLY TRUE)
|
SET(RUBY_FIND_QUIETLY TRUE)
|
||||||
ENDIF(RUBY_FOUND)
|
ENDIF(RUBY_FOUND)
|
||||||
|
|
||||||
FIND_PROGRAM(RUBY_EXECUTABLE
|
FIND_PROGRAM(RUBY_EXECUTABLE
|
||||||
NAMES ruby1.9.3 ruby193 ruby1.9.2 ruby192 ruby1.9.1 ruby191 ruby1.9 ruby19 ruby1.8 ruby18 ruby1.6 ruby16 ruby
|
NAMES ruby ruby1.9 ruby19 ruby1.8 ruby18 ruby1.6 ruby16
|
||||||
PATHS /usr/bin /usr/local/bin /usr/pkg/bin
|
PATHS /usr/bin /usr/local/bin /usr/pkg/bin
|
||||||
)
|
)
|
||||||
|
|
||||||
IF(RUBY_EXECUTABLE)
|
IF(RUBY_EXECUTABLE)
|
||||||
EXECUTE_PROCESS(
|
EXECUTE_PROCESS(
|
||||||
COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "print RbConfig::CONFIG['rubyhdrdir'] || RbConfig::CONFIG['archdir']"
|
COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "puts Config::CONFIG['archdir']"
|
||||||
OUTPUT_VARIABLE RUBY_ARCH_DIR
|
OUTPUT_VARIABLE RUBY_ARCH_DIR
|
||||||
)
|
)
|
||||||
|
|
||||||
EXECUTE_PROCESS(
|
EXECUTE_PROCESS(
|
||||||
COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "print RbConfig::CONFIG['arch']"
|
COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "puts Config::CONFIG['libdir']"
|
||||||
OUTPUT_VARIABLE RUBY_ARCH
|
|
||||||
)
|
|
||||||
|
|
||||||
EXECUTE_PROCESS(
|
|
||||||
COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "print RbConfig::CONFIG['libdir']"
|
|
||||||
OUTPUT_VARIABLE RUBY_POSSIBLE_LIB_PATH
|
OUTPUT_VARIABLE RUBY_POSSIBLE_LIB_PATH
|
||||||
)
|
)
|
||||||
|
|
||||||
EXECUTE_PROCESS(
|
EXECUTE_PROCESS(
|
||||||
COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "print RbConfig::CONFIG['rubylibdir']"
|
COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "puts Config::CONFIG['rubylibdir']"
|
||||||
OUTPUT_VARIABLE RUBY_RUBY_LIB_PATH
|
OUTPUT_VARIABLE RUBY_RUBY_LIB_PATH
|
||||||
)
|
)
|
||||||
|
|
||||||
EXECUTE_PROCESS(
|
# remove the new lines from the output by replacing them with empty strings
|
||||||
COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "print RbConfig::CONFIG['ruby_version']"
|
STRING(REPLACE "\n" "" RUBY_ARCH_DIR "${RUBY_ARCH_DIR}")
|
||||||
OUTPUT_VARIABLE RUBY_VERSION
|
STRING(REPLACE "\n" "" RUBY_POSSIBLE_LIB_PATH "${RUBY_POSSIBLE_LIB_PATH}")
|
||||||
)
|
STRING(REPLACE "\n" "" RUBY_RUBY_LIB_PATH "${RUBY_RUBY_LIB_PATH}")
|
||||||
|
|
||||||
FIND_PATH(RUBY_INCLUDE_PATH
|
FIND_PATH(RUBY_INCLUDE_PATH
|
||||||
NAMES ruby.h
|
NAMES ruby.h
|
||||||
PATHS ${RUBY_ARCH_DIR}
|
PATHS ${RUBY_ARCH_DIR}
|
||||||
)
|
)
|
||||||
|
|
||||||
SET(RUBY_ARCH
|
|
||||||
"${RUBY_INCLUDE_PATH}/${RUBY_ARCH}")
|
|
||||||
|
|
||||||
FIND_LIBRARY(RUBY_LIBRARY
|
FIND_LIBRARY(RUBY_LIBRARY
|
||||||
NAMES ruby-1.9.3 ruby1.9.3 ruby193 ruby-1.9.2 ruby1.9.2 ruby192 ruby-1.9.1 ruby1.9.1 ruby191 ruby1.9 ruby19 ruby1.8 ruby18 ruby1.6 ruby16 ruby
|
NAMES ruby ruby1.6 ruby16 ruby1.8 ruby18 ruby1.9 ruby19
|
||||||
PATHS ${RUBY_POSSIBLE_LIB_PATH} ${RUBY_RUBY_LIB_PATH}
|
PATHS ${RUBY_POSSIBLE_LIB_PATH} ${RUBY_RUBY_LIB_PATH}
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -79,14 +68,10 @@ IF(RUBY_EXECUTABLE)
|
|||||||
SET(RUBY_FOUND TRUE)
|
SET(RUBY_FOUND TRUE)
|
||||||
ENDIF(RUBY_LIBRARY AND RUBY_INCLUDE_PATH)
|
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(
|
MARK_AS_ADVANCED(
|
||||||
RUBY_EXECUTABLE
|
RUBY_EXECUTABLE
|
||||||
RUBY_LIBRARY
|
RUBY_LIBRARY
|
||||||
RUBY_ARCH
|
|
||||||
RUBY_INCLUDE_PATH
|
RUBY_INCLUDE_PATH
|
||||||
)
|
)
|
||||||
|
|
||||||
ENDIF(RUBY_EXECUTABLE)
|
ENDIF(RUBY_EXECUTABLE)
|
||||||
|
|||||||
@@ -1,39 +0,0 @@
|
|||||||
#
|
|
||||||
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
|
|
||||||
# Copyright (C) 2009 Emmanuel Bouthenot <kolter@openics.org>
|
|
||||||
#
|
|
||||||
# This file is part of WeeChat, the extensible chat client.
|
|
||||||
#
|
|
||||||
# WeeChat is free software; you can redistribute it and/or modify
|
|
||||||
# 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 Source-Highlight
|
|
||||||
# This module finds if source-highlight is installed.
|
|
||||||
|
|
||||||
IF (SOURCEHIGHLIGHT_FOUND)
|
|
||||||
# Already in cache, be silent
|
|
||||||
SET(SOURCEHIGHLIGHT_FIND_QUIETLY TRUE)
|
|
||||||
ENDIF (SOURCEHIGHLIGHT_FOUND)
|
|
||||||
|
|
||||||
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(
|
|
||||||
SOURCEHIGHLIGHT_EXECUTABLE
|
|
||||||
)
|
|
||||||
ENDIF(SOURCEHIGHLIGHT_EXECUTABLE)
|
|
||||||
@@ -1,163 +0,0 @@
|
|||||||
#
|
|
||||||
# Copyright (C) 2008 Julien Louis <ptitlouis@sysif.net>
|
|
||||||
# Copyright (C) 2008-2013 Sebastien Helleu <flashcode@flashtux.org>
|
|
||||||
#
|
|
||||||
# This file is part of WeeChat, the extensible chat client.
|
|
||||||
#
|
|
||||||
# WeeChat is free software; you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation; either version 3 of the License, or
|
|
||||||
# (at your option) any later version.
|
|
||||||
#
|
|
||||||
# WeeChat is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
#
|
|
||||||
|
|
||||||
# - Find Tcl includes and libraries.
|
|
||||||
# This module finds if Tcl is installed and determines where the
|
|
||||||
# include files and libraries are. It also determines what the name of
|
|
||||||
# the library is. This code sets the following variables:
|
|
||||||
# TCL_FOUND = Tcl was found
|
|
||||||
# TK_FOUND = Tk was found
|
|
||||||
# TCLTK_FOUND = Tcl and Tk were found
|
|
||||||
# TCL_LIBRARY = path to Tcl library (tcl tcl80)
|
|
||||||
# TCL_INCLUDE_PATH = path to where tcl.h can be found
|
|
||||||
# TCL_TCLSH = path to tclsh binary (tcl tcl80)
|
|
||||||
# TK_LIBRARY = path to Tk library (tk tk80 etc)
|
|
||||||
# TK_INCLUDE_PATH = path to where tk.h can be found
|
|
||||||
# TK_WISH = full path to the wish executable
|
|
||||||
#
|
|
||||||
# In an effort to remove some clutter and clear up some issues for people
|
|
||||||
# who are not necessarily Tcl/Tk gurus/developpers, some variables were
|
|
||||||
# moved or removed. Changes compared to CMake 2.4 are:
|
|
||||||
# - 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.
|
|
||||||
# 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
|
|
||||||
# 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
|
|
||||||
# confusion regarding the location of this file in an installed Tcl/Tk
|
|
||||||
# tree anyway (see 8.5 for example). If you need the internal path at
|
|
||||||
# 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(TCL_FOUND)
|
|
||||||
|
|
||||||
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
|
|
||||||
"^.*tclsh([0-9]\\.*[0-9]).*$" "\\1" TCL_TCLSH_VERSION "${TCL_TCLSH}")
|
|
||||||
|
|
||||||
GET_FILENAME_COMPONENT(TCL_INCLUDE_PATH_PARENT "${TCL_INCLUDE_PATH}" PATH)
|
|
||||||
|
|
||||||
GET_FILENAME_COMPONENT(TCL_LIBRARY_PATH "${TCL_LIBRARY}" PATH)
|
|
||||||
GET_FILENAME_COMPONENT(TCL_LIBRARY_PATH_PARENT "${TCL_LIBRARY_PATH}" PATH)
|
|
||||||
STRING(REGEX REPLACE
|
|
||||||
"^.*tcl([0-9]\\.*[0-9]).*$" "\\1" TCL_VERSION "${TCL_LIBRARY}")
|
|
||||||
|
|
||||||
SET(TCL_POSSIBLE_LIB_PATHS
|
|
||||||
"${TCL_INCLUDE_PATH_PARENT}/lib"
|
|
||||||
"${TCL_INCLUDE_PATH_PARENT}/lib64"
|
|
||||||
"${TCL_LIBRARY_PATH}"
|
|
||||||
"${TCL_TCLSH_PATH_PARENT}/lib"
|
|
||||||
"${TCL_TCLSH_PATH_PARENT}/lib64"
|
|
||||||
/usr/lib
|
|
||||||
/usr/lib64
|
|
||||||
/usr/local/lib
|
|
||||||
/usr/local/lib64
|
|
||||||
)
|
|
||||||
|
|
||||||
IF(WIN32)
|
|
||||||
GET_FILENAME_COMPONENT(
|
|
||||||
ActiveTcl_CurrentVersion
|
|
||||||
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\ActiveState\\ActiveTcl;CurrentVersion]"
|
|
||||||
NAME)
|
|
||||||
SET(TCLTK_POSSIBLE_LIB_PATHS ${TCLTK_POSSIBLE_LIB_PATHS}
|
|
||||||
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\ActiveState\\ActiveTcl\\${ActiveTcl_CurrentVersion}]/lib"
|
|
||||||
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.6;Root]/lib"
|
|
||||||
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.5;Root]/lib"
|
|
||||||
"$ENV{ProgramFiles}/Tcl/Lib"
|
|
||||||
"C:/Program Files/Tcl/lib"
|
|
||||||
"C:/Tcl/lib"
|
|
||||||
)
|
|
||||||
ENDIF(WIN32)
|
|
||||||
|
|
||||||
FIND_LIBRARY(TCL_LIBRARY
|
|
||||||
NAMES
|
|
||||||
tcl86 tcl8.6
|
|
||||||
tcl85 tcl8.5
|
|
||||||
tcl
|
|
||||||
tcl${TCL_VERSION} tcl${TCL_TCLSH_VERSION}
|
|
||||||
PATHS ${TCL_POSSIBLE_LIB_PATHS}
|
|
||||||
)
|
|
||||||
|
|
||||||
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(NOT TCL_INCLUDE_PATH)
|
|
||||||
ENDIF(Tcl_FRAMEWORKS)
|
|
||||||
|
|
||||||
SET(TCL_POSSIBLE_INCLUDE_PATHS
|
|
||||||
"${TCL_LIBRARY_PATH_PARENT}/include"
|
|
||||||
"${TCL_INCLUDE_PATH}"
|
|
||||||
${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/local/include/tcl${TCL_VERSION}
|
|
||||||
/usr/local/include/tcl8.6
|
|
||||||
/usr/local/include/tcl8.5
|
|
||||||
)
|
|
||||||
|
|
||||||
|
|
||||||
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"
|
|
||||||
"$ENV{ProgramFiles}/Tcl/include"
|
|
||||||
"C:/Program Files/Tcl/include"
|
|
||||||
"C:/Tcl/include"
|
|
||||||
)
|
|
||||||
ENDIF(WIN32)
|
|
||||||
|
|
||||||
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(TCL_LIBRARY AND TCL_INCLUDE_PATH)
|
|
||||||
|
|
||||||
MARK_AS_ADVANCED(
|
|
||||||
TCL_INCLUDE_PATH
|
|
||||||
TCL_LIBRARY
|
|
||||||
TCL_VERSION
|
|
||||||
)
|
|
||||||
@@ -1,78 +0,0 @@
|
|||||||
# - Find zlib
|
|
||||||
# Find the native ZLIB includes and library.
|
|
||||||
# Once done this will define
|
|
||||||
#
|
|
||||||
# ZLIB_INCLUDE_DIRS - where to find zlib.h, etc.
|
|
||||||
# ZLIB_LIBRARIES - List of libraries when using zlib.
|
|
||||||
# ZLIB_FOUND - True if zlib found.
|
|
||||||
#
|
|
||||||
# ZLIB_VERSION_STRING - The version of zlib found (x.y.z)
|
|
||||||
# ZLIB_VERSION_MAJOR - The major version of zlib
|
|
||||||
# ZLIB_VERSION_MINOR - The minor version of zlib
|
|
||||||
# ZLIB_VERSION_PATCH - The patch version of zlib
|
|
||||||
# ZLIB_VERSION_TWEAK - The tweak version of zlib
|
|
||||||
#
|
|
||||||
# The following variable are provided for backward compatibility
|
|
||||||
#
|
|
||||||
# ZLIB_MAJOR_VERSION - The major version of zlib
|
|
||||||
# ZLIB_MINOR_VERSION - The minor version of zlib
|
|
||||||
# ZLIB_PATCH_VERSION - The patch version of zlib
|
|
||||||
|
|
||||||
#=============================================================================
|
|
||||||
# Copyright 2001-2009 Kitware, Inc.
|
|
||||||
#
|
|
||||||
# Distributed under the OSI-approved BSD License (the "License");
|
|
||||||
# see accompanying file Copyright.txt for details.
|
|
||||||
#
|
|
||||||
# This software is distributed WITHOUT ANY WARRANTY; without even the
|
|
||||||
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
||||||
# See the License for more information.
|
|
||||||
#=============================================================================
|
|
||||||
# (To distribute this file outside of CMake, substitute the full
|
|
||||||
# License text for the above reference.)
|
|
||||||
|
|
||||||
FIND_PATH(ZLIB_INCLUDE_DIR zlib.h
|
|
||||||
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\GnuWin32\\Zlib;InstallPath]/include"
|
|
||||||
)
|
|
||||||
|
|
||||||
SET(ZLIB_NAMES z zlib zdll zlib1 zlibd zlibd1)
|
|
||||||
FIND_LIBRARY(ZLIB_LIBRARY
|
|
||||||
NAMES
|
|
||||||
${ZLIB_NAMES}
|
|
||||||
PATHS
|
|
||||||
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\GnuWin32\\Zlib;InstallPath]/lib"
|
|
||||||
)
|
|
||||||
MARK_AS_ADVANCED(ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
|
|
||||||
|
|
||||||
IF(ZLIB_INCLUDE_DIR AND EXISTS "${ZLIB_INCLUDE_DIR}/zlib.h")
|
|
||||||
FILE(STRINGS "${ZLIB_INCLUDE_DIR}/zlib.h" ZLIB_H REGEX "^#define ZLIB_VERSION \"[^\"]*\"$")
|
|
||||||
|
|
||||||
STRING(REGEX REPLACE "^.*ZLIB_VERSION \"([0-9]+).*$" "\\1" ZLIB_VERSION_MAJOR "${ZLIB_H}")
|
|
||||||
STRING(REGEX REPLACE "^.*ZLIB_VERSION \"[0-9]+\\.([0-9]+).*$" "\\1" ZLIB_VERSION_MINOR "${ZLIB_H}")
|
|
||||||
STRING(REGEX REPLACE "^.*ZLIB_VERSION \"[0-9]+\\.[0-9]+\\.([0-9]+).*$" "\\1" ZLIB_VERSION_PATCH "${ZLIB_H}")
|
|
||||||
SET(ZLIB_VERSION_STRING "${ZLIB_VERSION_MAJOR}.${ZLIB_VERSION_MINOR}.${ZLIB_VERSION_PATCH}")
|
|
||||||
|
|
||||||
# only append a TWEAK version if it exists:
|
|
||||||
SET(ZLIB_VERSION_TWEAK "")
|
|
||||||
IF( "${ZLIB_H}" MATCHES "^.*ZLIB_VERSION \"[0-9]+\\.[0-9]+\\.[0-9]+\\.([0-9]+).*$")
|
|
||||||
SET(ZLIB_VERSION_TWEAK "${CMAKE_MATCH_1}")
|
|
||||||
SET(ZLIB_VERSION_STRING "${ZLIB_VERSION_STRING}.${ZLIB_VERSION_TWEAK}")
|
|
||||||
ENDIF( "${ZLIB_H}" MATCHES "^.*ZLIB_VERSION \"[0-9]+\\.[0-9]+\\.[0-9]+\\.([0-9]+).*$")
|
|
||||||
|
|
||||||
SET(ZLIB_MAJOR_VERSION "${ZLIB_VERSION_MAJOR}")
|
|
||||||
SET(ZLIB_MINOR_VERSION "${ZLIB_VERSION_MINOR}")
|
|
||||||
SET(ZLIB_PATCH_VERSION "${ZLIB_VERSION_PATCH}")
|
|
||||||
ENDIF()
|
|
||||||
|
|
||||||
# handle the QUIETLY and REQUIRED arguments and set ZLIB_FOUND to TRUE if
|
|
||||||
# all listed variables are TRUE
|
|
||||||
#INCLUDE(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake)
|
|
||||||
INCLUDE(${CMAKE_HOME_DIRECTORY}/cmake/FindPackageHandleStandardArgs.cmake)
|
|
||||||
FIND_PACKAGE_HANDLE_STANDARD_ARGS(ZLIB REQUIRED_VARS ZLIB_LIBRARY ZLIB_INCLUDE_DIR
|
|
||||||
VERSION_VAR ZLIB_VERSION_STRING)
|
|
||||||
|
|
||||||
IF(ZLIB_FOUND)
|
|
||||||
SET(ZLIB_INCLUDE_DIRS ${ZLIB_INCLUDE_DIR})
|
|
||||||
SET(ZLIB_LIBRARIES ${ZLIB_LIBRARY})
|
|
||||||
ENDIF()
|
|
||||||
|
|
||||||
@@ -1,39 +1,21 @@
|
|||||||
#
|
|
||||||
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
|
|
||||||
#
|
|
||||||
# This file is part of WeeChat, the extensible chat client.
|
|
||||||
#
|
|
||||||
# WeeChat is free software; you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation; either version 3 of the License, or
|
|
||||||
# (at your option) any later version.
|
|
||||||
#
|
|
||||||
# WeeChat is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
#
|
|
||||||
|
|
||||||
IF(NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt")
|
IF(NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt")
|
||||||
MESSAGE(FATAL_ERROR "Cannot find install manifest: \"@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")
|
ENDIF(NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt")
|
||||||
|
|
||||||
FILE(READ "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt" files)
|
FILE(READ "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt" files)
|
||||||
STRING(REGEX REPLACE "\n" ";" files "${files}")
|
STRING(REGEX REPLACE "\n" ";" files "${files}")
|
||||||
LIST(REVERSE files)
|
|
||||||
FOREACH(file ${files})
|
FOREACH(file ${files})
|
||||||
MESSAGE(STATUS "Uninstalling \"$ENV{DESTDIR}${file}\"")
|
MESSAGE(STATUS "Uninstalling \"${file}\"")
|
||||||
IF(EXISTS "$ENV{DESTDIR}${file}")
|
IF(NOT EXISTS "${file}")
|
||||||
EXEC_PROGRAM("@CMAKE_COMMAND@" ARGS "-E remove \"$ENV{DESTDIR}${file}\""
|
MESSAGE(FATAL_ERROR "File \"${file}\" does not exists.")
|
||||||
OUTPUT_VARIABLE rm_out
|
ENDIF(NOT EXISTS "${file}")
|
||||||
RETURN_VARIABLE rm_retval)
|
EXEC_PROGRAM("@CMAKE_COMMAND@" ARGS "-E remove \"${file}\""
|
||||||
IF("${rm_retval}" GREATER 0)
|
OUTPUT_VARIABLE rm_out
|
||||||
MESSAGE(FATAL_ERROR "Problem when removing \"$ENV{DESTDIR}${file}\"")
|
RETURN_VARIABLE rm_retval)
|
||||||
ENDIF("${rm_retval}" GREATER 0)
|
IF("${rm_retval}" GREATER 0)
|
||||||
ELSE(EXISTS "$ENV{DESTDIR}${file}")
|
MESSAGE(FATAL_ERROR "Problem when removing \"${file}\"")
|
||||||
MESSAGE(STATUS "File \"$ENV{DESTDIR}${file}\" does not exist.")
|
ENDIF("${rm_retval}" GREATER 0)
|
||||||
ENDIF(EXISTS "$ENV{DESTDIR}${file}")
|
|
||||||
ENDFOREACH(file)
|
ENDFOREACH(file)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Executable
+33
@@ -0,0 +1,33 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
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}
|
||||||
+17
-6
@@ -1,11 +1,24 @@
|
|||||||
|
#cmakedefine HAVE_ARPA_INET_H
|
||||||
#cmakedefine HAVE_LIBINTL_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_FLOCK
|
||||||
#cmakedefine HAVE_LANGINFO_CODESET
|
#cmakedefine HAVE_LANGINFO_CODESET
|
||||||
#cmakedefine HAVE_BACKTRACE
|
#cmakedefine HAVE_STRNDUP
|
||||||
#cmakedefine ICONV_2ARG_IS_CONST 1
|
#cmakedefine ICONV_2ARG_IS_CONST 1
|
||||||
#cmakedefine HAVE_MALLINFO
|
|
||||||
#cmakedefine HAVE_EAT_NEWLINE_GLITCH
|
|
||||||
#define PACKAGE_VERSION "@VERSION@"
|
#define PACKAGE_VERSION "@VERSION@"
|
||||||
#define PACKAGE "@PROJECT_NAME@"
|
#define PACKAGE "@PROJECT_NAME@"
|
||||||
#define PACKAGE_NAME "@PROJECT_NAME@"
|
#define PACKAGE_NAME "@PROJECT_NAME@"
|
||||||
@@ -13,6 +26,4 @@
|
|||||||
#define WEECHAT_LIBDIR "@LIBDIR@"
|
#define WEECHAT_LIBDIR "@LIBDIR@"
|
||||||
#define WEECHAT_SHAREDIR "@SHAREDIR@"
|
#define WEECHAT_SHAREDIR "@SHAREDIR@"
|
||||||
#define LOCALEDIR "@LOCALEDIR@"
|
#define LOCALEDIR "@LOCALEDIR@"
|
||||||
#define WEECHAT_HOME "@WEECHAT_HOME@"
|
|
||||||
#define CA_FILE "@CA_FILE@"
|
|
||||||
#define _GNU_SOURCE 1
|
#define _GNU_SOURCE 1
|
||||||
|
|||||||
-1275
File diff suppressed because it is too large
Load Diff
+906
@@ -0,0 +1,906 @@
|
|||||||
|
# Copyright (c) 2003-2007 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/>.
|
||||||
|
#
|
||||||
|
|
||||||
|
# -*- Autoconf -*-
|
||||||
|
# Process this file with autoconf to produce a configure script.
|
||||||
|
|
||||||
|
AC_PREREQ(2.56)
|
||||||
|
AC_INIT(WeeChat, 0.2.6.3, flashcode@flashtux.org)
|
||||||
|
AC_CONFIG_SRCDIR([src/common/weechat.c])
|
||||||
|
AM_CONFIG_HEADER(config.h)
|
||||||
|
AM_INIT_AUTOMAKE([weechat], [0.2.6.3])
|
||||||
|
|
||||||
|
# Checks for programs
|
||||||
|
AC_PROG_CC
|
||||||
|
AC_PROG_MAKE_SET
|
||||||
|
AC_GNU_SOURCE
|
||||||
|
AM_PROG_LIBTOOL
|
||||||
|
AC_CHECK_PROG(DBLATEX_FOUND, "dblatex", "yes")
|
||||||
|
|
||||||
|
# Add some flags for some OS
|
||||||
|
case "$host_os" in
|
||||||
|
freebsd* | openbsd*)
|
||||||
|
CFLAGS="$CFLAGS -I/usr/local/include"
|
||||||
|
LDFLAGS="$LDFLAGS -L/usr/local/lib"
|
||||||
|
;;
|
||||||
|
netbsd*)
|
||||||
|
CFLAGS="$CFLAGS -I/usr/pkg/include"
|
||||||
|
LDFLAGS="$LDFLAGS -L/usr/pkg/lib"
|
||||||
|
;;
|
||||||
|
solaris*)
|
||||||
|
LDFLAGS="$LDFLAGS -lsocket -lxnet"
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
# Gettext
|
||||||
|
ALL_LINGUAS="fr es cs hu de ru"
|
||||||
|
AM_GNU_GETTEXT([use-libtool])
|
||||||
|
AM_GNU_GETTEXT_VERSION([0.15])
|
||||||
|
|
||||||
|
# Checks for libraries
|
||||||
|
AC_CHECK_LIB(ncurses, initscr, LIBNCURSES_FOUND=1, LIBNCURSES_FOUND=0)
|
||||||
|
AC_CHECK_LIB(ncursesw, initscr, LIBNCURSESW_FOUND=1, LIBNCURSESW_FOUND=0)
|
||||||
|
|
||||||
|
# Checks for header files
|
||||||
|
AC_HEADER_STDC
|
||||||
|
AC_CHECK_HEADERS([arpa/inet.h libintl.h limits.h locale.h netdb.h netinet/in.h stdlib.h string.h sys/socket.h sys/time.h sys/types.h unistd.h pwd.h errno.h regex.h wchar.h sys/file.h])
|
||||||
|
|
||||||
|
if echo "$host_os" | grep "^openbsd" 1>/dev/null 2>&1 ; then
|
||||||
|
AC_CHECK_HEADER(utf8/wchar.h, LDFLAGS="$LDFLAGS -lutf8", [AC_MSG_ERROR([
|
||||||
|
*** on OpenBSD systems, package libutf8 must be installed to compile WeeChat])])
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Checks for typedefs, structures, and compiler characteristics
|
||||||
|
AC_HEADER_TIME
|
||||||
|
AC_STRUCT_TM
|
||||||
|
|
||||||
|
AC_MSG_CHECKING([for socklen_t])
|
||||||
|
AC_CACHE_VAL(ac_cv_type_socklen_t,
|
||||||
|
[AC_TRY_COMPILE([
|
||||||
|
#include <sys/types.h>
|
||||||
|
#include <sys/socket.h>],
|
||||||
|
[socklen_t t;],
|
||||||
|
ac_cv_type_socklen_t=yes,
|
||||||
|
ac_cv_type_socklen_t=no,
|
||||||
|
)])
|
||||||
|
if test $ac_cv_type_socklen_t = no; then
|
||||||
|
AC_DEFINE(socklen_t, int, Define to 'int' if <sys/socket.h> doesn't define.)
|
||||||
|
fi
|
||||||
|
AC_MSG_RESULT($ac_cv_type_socklen_t)
|
||||||
|
|
||||||
|
# Checks for library functions.
|
||||||
|
AC_FUNC_SELECT_ARGTYPES
|
||||||
|
AC_TYPE_SIGNAL
|
||||||
|
AC_CHECK_FUNCS([gethostbyname gethostname getsockname gettimeofday inet_ntoa memset mkdir select setlocale socket strcasecmp strchr strdup strndup strncasecmp strpbrk strrchr strstr uname regexec])
|
||||||
|
|
||||||
|
# Variables in config.h
|
||||||
|
|
||||||
|
AH_VERBATIM([PREFIX], [#undef PREFIX])
|
||||||
|
AH_VERBATIM([WEECHAT_LIBDIR], [#undef WEECHAT_LIBDIR])
|
||||||
|
AH_VERBATIM([WEECHAT_SHAREDIR], [#undef WEECHAT_SHAREDIR])
|
||||||
|
AH_VERBATIM([PLUGINS], [#undef PLUGINS])
|
||||||
|
AH_VERBATIM([PLUGIN_PERL], [#undef PLUGIN_PERL])
|
||||||
|
AH_VERBATIM([PLUGIN_PYTHON], [#undef PLUGIN_PYTHON])
|
||||||
|
AH_VERBATIM([PLUGIN_RUBY], [#undef PLUGIN_RUBY])
|
||||||
|
AH_VERBATIM([PLUGIN_LUA], [#undef PLUGIN_LUA])
|
||||||
|
AH_VERBATIM([PLUGIN_ASPELL], [#undef PLUGIN_ASPELL])
|
||||||
|
AH_VERBATIM([PLUGIN_CHARSET], [#undef PLUGIN_CHARSET])
|
||||||
|
AH_VERBATIM([HAVE_GNUTLS], [#undef HAVE_GNUTLS])
|
||||||
|
AH_VERBATIM([HAVE_FLOCK], [#undef HAVE_FLOCK])
|
||||||
|
AH_VERBATIM([DEBUG], [#undef DEBUG])
|
||||||
|
|
||||||
|
# Arguments for ./configure
|
||||||
|
|
||||||
|
AC_ARG_ENABLE(ncurses, [ --disable-ncurses Turn off ncurses interface (default=compiled if found)],enable_ncurses=$enableval,enable_ncurses=yes)
|
||||||
|
AC_ARG_ENABLE(wxwidgets, [ --enable-wxwidgets Turn on WxWidgets interface (default=no wxwidgets)],enable_wxwidgets=$enableval,enable_wxwidgets=no)
|
||||||
|
AC_ARG_ENABLE(gtk, [ --enable-gtk Turn on Gtk interface (default=no Gtk)],enable_gtk=$enableval,enable_gtk=no)
|
||||||
|
AC_ARG_ENABLE(qt, [ --enable-qt Turn on Qt interface (default=no Qt)],enable_qt=$enableval,enable_qt=no)
|
||||||
|
AC_ARG_ENABLE(gnutls, [ --disable-gnutls Turn off gnutls support (default=compiled if found)],enable_gnutls=$enableval,enable_gnutls=yes)
|
||||||
|
AC_ARG_ENABLE(plugins, [ --disable-plugins Turn off plugins support (default=plugins enabled)],enable_plugins=$enableval,enable_plugins=yes)
|
||||||
|
AC_ARG_ENABLE(perl, [ --disable-perl Turn off Perl script plugin (default=compiled if found)],enable_perl=$enableval,enable_perl=yes)
|
||||||
|
AC_ARG_ENABLE(python, [ --disable-python Turn off Python script plugin (default=compiled if found)],enable_python=$enableval,enable_python=yes)
|
||||||
|
AC_ARG_ENABLE(ruby, [ --disable-ruby Turn off Ruby script plugin (default=compiled if found)],enable_ruby=$enableval,enable_ruby=yes)
|
||||||
|
AC_ARG_ENABLE(lua, [ --disable-lua Turn off Lua script plugin (default=compiled if found)],enable_lua=$enableval,enable_lua=yes)
|
||||||
|
AC_ARG_WITH(lua-inc, [ --with-lua-inc=DIR, Lua include files are in DIR (default=autodetect)],lua_inc=$withval,lua_inc='')
|
||||||
|
AC_ARG_WITH(lua-lib, [ --with-lua-lib=DIR, Lua library files are in DIR (default=autodetect)],lua_lib=$withval,lua_lib='')
|
||||||
|
AC_ARG_WITH(lua-suffix, [ --with-lua-suffix=ARG Lua is suffixed with ARG (default=autodetect)],lua_suffix=$withval,lua_suffix='')
|
||||||
|
AC_ARG_ENABLE(aspell, [ --disable-aspell Turn off Aspell plugin (default=compiled if found)],enable_aspell=$enableval,enable_aspell=yes)
|
||||||
|
AC_ARG_ENABLE(charset, [ --disable-charset Turn off Charset plugin (default=compiled if found)],enable_charset=$enableval,enable_charset=yes)
|
||||||
|
AC_ARG_WITH(doc_xsl_prefix, [ --with-doc-xsl-prefix=DIR Docbook html/chunk.xsl is in DIR (default=autodetect)],doc_xsl_prefix=$withval,doc_xsl_prefix='')
|
||||||
|
AC_ARG_WITH(debug, [ --with-debug Debugging: 0=no debug, 1=debug compilation, 2=debug compilation + verbose msgs (default=1)],debug=$withval,debug=1)
|
||||||
|
|
||||||
|
not_found=""
|
||||||
|
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
# GUI
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
if test "x$enable_ncurses" = "xyes" ; then
|
||||||
|
if test "$LIBNCURSESW_FOUND" = "0" ; then
|
||||||
|
if test "$LIBNCURSES_FOUND" = "0" ; then
|
||||||
|
AC_MSG_WARN([
|
||||||
|
*** ncurses library not found!
|
||||||
|
*** WeeChat will be built without ncurses support.])
|
||||||
|
enable_ncurses="no"
|
||||||
|
not_found="$not_found ncurses"
|
||||||
|
else
|
||||||
|
AC_MSG_WARN([
|
||||||
|
*** ncursesw library not found! Falling back to "ncurses"
|
||||||
|
*** Be careful, UTF-8 display may not work properly if your locale is UTF-8.])
|
||||||
|
NCURSES_LIBS="-lncurses"
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
NCURSES_LIBS="-lncursesw"
|
||||||
|
fi
|
||||||
|
AC_CHECK_HEADERS([ncurses.h ncursesw/curses.h])
|
||||||
|
AC_SUBST(NCURSES_LIBS)
|
||||||
|
fi
|
||||||
|
|
||||||
|
#if test "x$enable_wxwidgets" = "xyes" ; then
|
||||||
|
# AM_OPTIONS_WXCONFIG
|
||||||
|
# AM_PATH_WXCONFIG(2.3.4, wxWin=1)
|
||||||
|
#
|
||||||
|
# if test "$wxWin" != 1; then
|
||||||
|
# AC_MSG_ERROR([
|
||||||
|
#*** wxWindows must be installed on your system
|
||||||
|
#*** but wx-config script couldn't be found.
|
||||||
|
#
|
||||||
|
#*** Please check that wx-config is in path, the directory
|
||||||
|
#*** where wxWindows libraries are installed (returned by
|
||||||
|
#*** 'wx-config --libs' command) is in LD_LIBRARY_PATH or
|
||||||
|
#*** equivalent variable and wxWindows version is 2.3.4 or above.
|
||||||
|
# ])
|
||||||
|
# fi
|
||||||
|
#
|
||||||
|
# CPPFLAGS="$CPPFLAGS $WX_CPPFLAGS"
|
||||||
|
# CXXFLAGS="$CXXFLAGS $WX_CXXFLAGS_ONLY"
|
||||||
|
# CFLAGS="$CFLAGS $WX_CFLAGS_ONLY"
|
||||||
|
# LDFLAGS="$LDFLAGS $WX_LIBS"
|
||||||
|
#
|
||||||
|
# WXWIDGETS_CFLAGS=""
|
||||||
|
# WXWIDGETS_LIBS=""
|
||||||
|
#fi
|
||||||
|
|
||||||
|
if test "x$enable_gtk" = "xyes" ; then
|
||||||
|
AM_PATH_GTK_2_0(2.4.0, LIBGTK_FOUND=1, LIBGTK_FOUND=0)
|
||||||
|
if test "$LIBGTK_FOUND" = "0" ; then
|
||||||
|
AC_MSG_WARN([
|
||||||
|
*** Gtk library not found!
|
||||||
|
*** WeeChat will be built without Gtk support.])
|
||||||
|
enable_gtk="no"
|
||||||
|
not_found="$not_found gtk"
|
||||||
|
else
|
||||||
|
GTK_CFLAGS=`pkg-config --cflags gtk+-2.0`
|
||||||
|
GTK_LIBS=`pkg-config --libs gtk+-2.0`
|
||||||
|
AC_SUBST(GTK_CFLAGS)
|
||||||
|
AC_SUBST(GTK_LIBS)
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
# iconv
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
iconv_found="no"
|
||||||
|
ICONV_LFLAGS=""
|
||||||
|
|
||||||
|
AC_CHECK_HEADER(iconv.h,ac_found_iconv_header="yes",ac_found_iconv_header="no")
|
||||||
|
if test "x$ac_found_iconv_header" = "xyes" ; then
|
||||||
|
AC_CHECK_LIB(iconv,iconv_open,ac_found_iconv_lib="yes",ac_found_iconv_lib="no")
|
||||||
|
if test "x$ac_found_iconv_lib" = "xno" ; then
|
||||||
|
AC_CHECK_LIB(iconv,libiconv_open,ac_found_iconv_lib="yes",ac_found_iconv_lib="no")
|
||||||
|
fi
|
||||||
|
if test "x$ac_found_iconv_lib" = "xyes" ; then
|
||||||
|
ICONV_LFLAGS="-liconv"
|
||||||
|
LIBS="$LIBS $ICONV_LFLAGS"
|
||||||
|
fi
|
||||||
|
AC_MSG_CHECKING(for iconv usability in programs)
|
||||||
|
AC_TRY_RUN([
|
||||||
|
#include <iconv.h>
|
||||||
|
int main(int argc, char **argv) {
|
||||||
|
iconv_t conv = iconv_open("ISO8859-1", "UTF-8");
|
||||||
|
if (conv != (iconv_t) -1) {
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
return 1;
|
||||||
|
}],iconv_found="yes")
|
||||||
|
if test "x$iconv_found" = "xno" ; then
|
||||||
|
AC_MSG_RESULT(no)
|
||||||
|
else
|
||||||
|
AC_MSG_RESULT(yes)
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
if test "x$iconv_found" = "xno" ; then
|
||||||
|
AC_MSG_ERROR([
|
||||||
|
*** Iconv headers and/or libraries couldn't be found in your system.
|
||||||
|
*** Try to install them with your software package manager.
|
||||||
|
*** WeeChat can't be built without Iconv support.])
|
||||||
|
fi
|
||||||
|
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
# plugins
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
PLUGINS_LIBS=
|
||||||
|
|
||||||
|
if test "x$enable_plugins" != "xyes" ; then
|
||||||
|
enable_plugins="no"
|
||||||
|
enable_perl="no"
|
||||||
|
enable_python="no"
|
||||||
|
enable_ruby="no"
|
||||||
|
enable_lua="no"
|
||||||
|
enable_aspell="no"
|
||||||
|
enable_charset="no"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# ---------------------------------- perl --------------------------------------
|
||||||
|
PERL_VERSION=
|
||||||
|
|
||||||
|
if test "x$enable_perl" = "xyes" ; then
|
||||||
|
enable_plugins="yes"
|
||||||
|
|
||||||
|
AC_PATH_PROGS(PERL, perl perl5)
|
||||||
|
if test -z $PERL ; then
|
||||||
|
AC_MSG_WARN([
|
||||||
|
*** Perl must be installed on your system but perl interpreter couldn't be found in path.
|
||||||
|
*** Please check that perl is in path, or install it with your software package manager.
|
||||||
|
*** WeeChat will be built without Perl support.])
|
||||||
|
enable_perl="no"
|
||||||
|
not_found="$not_found perl"
|
||||||
|
else
|
||||||
|
PERL_VERSION=`perl -V:version | sed "s/version='\(.*\)';/\1/"`
|
||||||
|
AC_MSG_CHECKING(for Perl headers files)
|
||||||
|
|
||||||
|
PERL_HEADER_TEST=`PT=perltest.c ; echo "#include <EXTERN.h>" > $PT; echo "#include <perl.h>" >> $PT; echo "#include <XSUB.h>" >> $PT ; echo "int main() { return 0; }" >> $PT ; $CC -Wall $PT -o $PT.out $($PERL -MExtUtils::Embed -e ccopts) 1>/dev/null 2>&1; echo $?; rm -f $PT $PT.out 1>/dev/null 2>&1`
|
||||||
|
|
||||||
|
if test "x$PERL_HEADER_TEST" = "x0" ; then
|
||||||
|
PERL_CFLAGS=`$PERL -MExtUtils::Embed -e ccopts`
|
||||||
|
AC_MSG_RESULT(found)
|
||||||
|
AC_MSG_CHECKING(for Perl library)
|
||||||
|
PERL_LIB_TEST=`PT=perltest.c ; echo "int main() { return 0; }" > $PT ; $CC -Wall $PT -o $PT.out $($PERL -MExtUtils::Embed -e ldopts) 1>/dev/null 2>&1; echo $?; rm -f $PT $PT.out 1>/dev/null 2>&1`
|
||||||
|
if test "x$PERL_LIB_TEST" = "x0" ; then
|
||||||
|
PERL_LFLAGS=`$PERL -MExtUtils::Embed -e ldopts`
|
||||||
|
AC_MSG_RESULT(found)
|
||||||
|
else
|
||||||
|
AC_MSG_WARN([
|
||||||
|
*** Perl library couldn't be found in your system.
|
||||||
|
*** Try to install it with your software package manager.
|
||||||
|
*** WeeChat will be built without Perl support.])
|
||||||
|
enable_perl="no"
|
||||||
|
not_found="$not_found perl"
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
AC_MSG_WARN([
|
||||||
|
*** Perl headers couldn't be found in your system.
|
||||||
|
*** Try to install it with your software package manager.
|
||||||
|
*** WeeChat will be built without Perl support.])
|
||||||
|
enable_perl="no"
|
||||||
|
not_found="$not_found perl"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
if test "x$enable_perl" = "xyes" ; then
|
||||||
|
AC_SUBST(PERL_CFLAGS)
|
||||||
|
AC_SUBST(PERL_LFLAGS)
|
||||||
|
AC_DEFINE(PLUGIN_PERL)
|
||||||
|
fi
|
||||||
|
|
||||||
|
# --------------------------------- python -------------------------------------
|
||||||
|
PYTHON_VERSION=
|
||||||
|
|
||||||
|
if test "x$enable_python" = "xyes" ; then
|
||||||
|
enable_plugins="yes"
|
||||||
|
|
||||||
|
AC_PATH_PROGS(PYTHON, python python2.5 python2.4 python2.3 python2.2)
|
||||||
|
if test -z $PYTHON ; then
|
||||||
|
AC_MSG_WARN([
|
||||||
|
*** Python must be installed on your system but python interpreter couldn't be found in path.
|
||||||
|
*** Please check that python is in path, or install it with your software package manager.
|
||||||
|
*** WeeChat will be built without Python support.])
|
||||||
|
enable_python="no"
|
||||||
|
not_found="$not_found python"
|
||||||
|
else
|
||||||
|
PYTHON_SYSPREFIX=`$PYTHON -c 'import sys; print "%s" % sys.prefix'`
|
||||||
|
PYTHON_VERSION=`$PYTHON -c 'import sys ; print sys.version[[:3]]'`
|
||||||
|
PYTHON_INCLUDE=`$PYTHON -c "import distutils.sysconfig,string; print distutils.sysconfig.get_config_var('CONFINCLUDEPY')"`
|
||||||
|
|
||||||
|
AC_MSG_CHECKING(for Python header files)
|
||||||
|
if test -r "$PYTHON_INCLUDE/Python.h"; then
|
||||||
|
PYTHON_CFLAGS="-I$PYTHON_INCLUDE"
|
||||||
|
AC_MSG_RESULT(found)
|
||||||
|
PYTHON_LIB=`$PYTHON -c "import distutils.sysconfig; print distutils.sysconfig.get_config_var('LIBPL')"`
|
||||||
|
PYTHON_LFLAGS="-lpython$PYTHON_VERSION "`$PYTHON -c "import distutils.sysconfig; print distutils.sysconfig.get_config_var('LIBS')+' '+distutils.sysconfig.get_config_var('SYSLIBS')+' '+distutils.sysconfig.get_config_var('LINKFORSHARED')"`
|
||||||
|
AC_MSG_CHECKING(for Python library)
|
||||||
|
if test -r "$PYTHON_LIB/libpython$PYTHON_VERSION.so"; then
|
||||||
|
PYTHON_LFLAGS="-L$PYTHON_LIB $PYTHON_LFLAGS"
|
||||||
|
AC_MSG_RESULT(found)
|
||||||
|
elif test -r "$PYTHON_LIB/libpython$PYTHON_VERSION.a"; then
|
||||||
|
PYTHON_LFLAGS="-L$PYTHON_LIB $PYTHON_LFLAGS"
|
||||||
|
AC_MSG_RESULT(found)
|
||||||
|
elif test -r "$PYTHON_SYSPREFIX/lib/libpython$PYTHON_VERSION.so"; then
|
||||||
|
PYTHON_LFLAGS="-L$PYTHON_SYSPREFIX/lib/ $PYTHON_LFLAGS"
|
||||||
|
AC_MSG_RESULT(found)
|
||||||
|
else
|
||||||
|
AC_MSG_WARN([
|
||||||
|
*** Python library couldn't be found in your system.
|
||||||
|
*** Try to install it with your software package manager.
|
||||||
|
*** WeeChat will be built without Python support.])
|
||||||
|
enable_python="no"
|
||||||
|
not_found="$not_found python"
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
AC_MSG_WARN([
|
||||||
|
*** Python header files couldn't be found in your system.
|
||||||
|
*** Try to install them with your software package manager.
|
||||||
|
*** WeeChat will be built without Python support.])
|
||||||
|
enable_python="no"
|
||||||
|
not_found="$not_found python"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
if test "x$enable_python" = "xyes" ; then
|
||||||
|
AC_SUBST(PYTHON_CFLAGS)
|
||||||
|
AC_SUBST(PYTHON_LFLAGS)
|
||||||
|
AC_DEFINE(PLUGIN_PYTHON)
|
||||||
|
fi
|
||||||
|
|
||||||
|
# ---------------------------------- ruby --------------------------------------
|
||||||
|
RUBY_VERSION=
|
||||||
|
|
||||||
|
if test "x$enable_ruby" = "xyes" ; then
|
||||||
|
enable_plugins="yes"
|
||||||
|
|
||||||
|
AC_PATH_PROGS(RUBY, ruby ruby1.8 ruby1.9)
|
||||||
|
if test -z $RUBY ; then
|
||||||
|
AC_MSG_WARN([
|
||||||
|
*** Ruby must be installed on your system but ruby interpreter couldn't be found in path.
|
||||||
|
*** Please check that ruby is in path, or install it with your software package manager.
|
||||||
|
*** WeeChat will be built without Ruby support.])
|
||||||
|
enable_ruby="no"
|
||||||
|
not_found="$not_found ruby"
|
||||||
|
else
|
||||||
|
RUBY_VERSION=`$RUBY -rrbconfig -e "puts Config::CONFIG[['ruby_version']]"`
|
||||||
|
RUBY_INCLUDE=`$RUBY -rrbconfig -e "puts Config::CONFIG[['archdir']]"`
|
||||||
|
AC_MSG_CHECKING(for Ruby header files)
|
||||||
|
if test -r "$RUBY_INCLUDE/ruby.h"; then
|
||||||
|
RUBY_CFLAGS="-I$RUBY_INCLUDE"
|
||||||
|
else
|
||||||
|
AC_MSG_WARN([
|
||||||
|
*** Ruby header files couldn't be found in your system.
|
||||||
|
*** Try to install them with your software package manager.
|
||||||
|
*** WeeChat will be built without Ruby support.])
|
||||||
|
enable_ruby="no"
|
||||||
|
not_found="$not_found ruby"
|
||||||
|
fi
|
||||||
|
AC_MSG_RESULT(found)
|
||||||
|
RUBY_LFLAGS=`$RUBY -rrbconfig -e "puts Config::CONFIG[['LIBRUBYARG_SHARED']]"`
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
if test "x$enable_ruby" = "xyes" ; then
|
||||||
|
AC_SUBST(RUBY_CFLAGS)
|
||||||
|
AC_SUBST(RUBY_LFLAGS)
|
||||||
|
AC_DEFINE(PLUGIN_RUBY)
|
||||||
|
fi
|
||||||
|
|
||||||
|
# ---------------------------------- lua --------------------------------------
|
||||||
|
LUA_VERSION=
|
||||||
|
|
||||||
|
if test "x$enable_lua" = "xyes" ; then
|
||||||
|
enable_plugins="yes"
|
||||||
|
|
||||||
|
ac_save_CPPFLAGS="$CPPFLAGS"
|
||||||
|
ac_save_CFLAGS="$CFLAGS"
|
||||||
|
ac_save_LDFLAGS="$LDFLAGS"
|
||||||
|
|
||||||
|
LUA_CFLAGS=""
|
||||||
|
LUA_LFLAGS=""
|
||||||
|
|
||||||
|
if test -n "$lua_inc"; then
|
||||||
|
CFLAGS="$CFLAGS -I$lua_inc"
|
||||||
|
CPPFLAGS="$CPPFLAGS -I$lua_inc"
|
||||||
|
fi
|
||||||
|
if test -n "$lua_lib"; then
|
||||||
|
LDFLAGS="$LDFLAGS -L$lua_lib"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if test "x$LUA_CFLAGS" = "x" -o "x$LUA_LFLAGS" = "x" ; then
|
||||||
|
PKGCONFIG=""
|
||||||
|
AC_CHECK_PROGS(PKGCONFIG, pkg-config)
|
||||||
|
if test "x$PKGCONFIG" != "x"; then
|
||||||
|
AC_MSG_CHECKING(for Lua headers and librairies with pkg-config)
|
||||||
|
echo
|
||||||
|
for l in "$lua_suffix" "" "51" "5.1" "50" "5.0" ; do
|
||||||
|
pkgconfig_lua_found=`$PKGCONFIG --exists lua$l 2>/dev/null`
|
||||||
|
if test "x$?" = "x0" ; then
|
||||||
|
LUA_VERSION=`$PKGCONFIG --modversion lua$l`
|
||||||
|
LUA_CFLAGS="$LUA_CFLAGS "`$PKGCONFIG --cflags lua$l`
|
||||||
|
LUA_LFLAGS="$LUA_LFLAGS "`$PKGCONFIG --libs lua$l`
|
||||||
|
|
||||||
|
pkgconfig_lualib_found=`$PKGCONFIG --exists lualib$l 2>/dev/null`
|
||||||
|
if test "x$?" = "x0"; then
|
||||||
|
LUA_CFLAGS="$LUA_CFLAGS "`$PKGCONFIG --cflags lualib$l`
|
||||||
|
LUA_LFLAGS="$LUA_LFLAGS "`$PKGCONFIG --libs lualib$l`
|
||||||
|
fi
|
||||||
|
break
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
if test "x$LUA_CFLAGS" = "x" -o "x$LUA_LFLAGS" = "x" ; then
|
||||||
|
LUACONFIG=""
|
||||||
|
AC_CHECK_PROGS(LUACONFIG, lua-config lua-config51 lua-config5.1 lua-config50 lua-config5.0)
|
||||||
|
if test "x$LUACONFIG" != "x" ; then
|
||||||
|
AC_MSG_CHECKING(for Lua headers and librairies with lua-config)
|
||||||
|
echo
|
||||||
|
LUA_CFLAGS=`$LUACONFIG --include`
|
||||||
|
LUA_LFLAGS=`$LUACONFIG --libs`
|
||||||
|
LUA_VERSION="5.0.x"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
if test "x$LUA_CFLAGS" = "x" -o "x$LUA_LFLAGS" = "x" ; then
|
||||||
|
AC_MSG_CHECKING(for Lua headers and librairies)
|
||||||
|
echo
|
||||||
|
AC_CHECK_HEADER(lua.h,ac_found_lua_header="yes",ac_found_lua_header="no")
|
||||||
|
AC_CHECK_HEADER(lualib.h,ac_found_liblua_header="yes",ac_found_liblua_header="no")
|
||||||
|
if test "x$ac_found_lua_header" = "xyes" -a "x$ac_found_liblua_header" = "xyes"; then
|
||||||
|
LUA_CFLAGS="$CFLAGS"
|
||||||
|
fi
|
||||||
|
for l in "$lua_suffix" "" "51" "5.1" "50" "5.0" ; do
|
||||||
|
AC_CHECK_LIB(lua$l,lua_call,ac_found_lua_lib="yes",ac_found_lua_lib="no")
|
||||||
|
if test "x$ac_found_lua_lib" = "xyes" ; then
|
||||||
|
LUA_VERSION=">=5.1.0"
|
||||||
|
|
||||||
|
LUA_LFLAGS="$LDFLAGS -llua$l -lm"
|
||||||
|
|
||||||
|
ac2_save_LDFLAGS="$LDFLAGS"
|
||||||
|
LDFLAGS="$LDFLAGS -llua$l -lm"
|
||||||
|
|
||||||
|
if echo "$host_os" | grep "^linux" 1>/dev/null 2>&1 ; then
|
||||||
|
LDFLAGS="$LDFLAGS -ldl"
|
||||||
|
fi
|
||||||
|
|
||||||
|
AC_CHECK_LIB(lualib$l,luaL_openlib,ac_found_liblua_lib="yes",ac_found_liblua_lib="no")
|
||||||
|
if test "x$ac_found_liblua_lib" = "xyes" ; then
|
||||||
|
LUA_VERSION="5.0.x"
|
||||||
|
|
||||||
|
LUA_LFLAGS="$LUA_LFLAGS -llualib$l"
|
||||||
|
|
||||||
|
if echo "$host_os" | grep "^linux" 1>/dev/null 2>&1 ; then
|
||||||
|
LUA_LFLAGS="$LUA_LFLAGS -ldl"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
LDFLAGS="$ac2_save_LDFLAGS"
|
||||||
|
break
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
|
||||||
|
AC_MSG_CHECKING(for Lua compiling and linking)
|
||||||
|
LUA_TEST=`LT=luatest.c ; echo "#include <lua.h>" > $LT; echo "#include <lualib.h>" >> $LT; echo "int main() { luaopen_base((lua_State *)lua_open()); return 0; }" >> $LT ; $CC -Wall $LT -o $LT.out $LUA_CFLAGS $LUA_LFLAGS $CFLAGS $LDFLAGS 1>/dev/null 2>&1 ; echo $?; rm -f $LT $LT.out 1>/dev/null 2>&1`
|
||||||
|
if test "x$LUA_TEST" != "x0" ; then
|
||||||
|
AC_MSG_RESULT(no)
|
||||||
|
AC_MSG_WARN([
|
||||||
|
*** Lua (>=5.0) headers and/or librairies couldn't be found in your system.
|
||||||
|
*** Try to install liblua, liblualib and liblua-dev with your software package manager.
|
||||||
|
*** WeeChat will be built without Lua support.])
|
||||||
|
enable_lua="no"
|
||||||
|
not_found="$not_found lua"
|
||||||
|
else
|
||||||
|
AC_MSG_RESULT(yes)
|
||||||
|
fi
|
||||||
|
|
||||||
|
CFLAGS="$ac_save_CFLAGS"
|
||||||
|
CPPFLAGS="$ac_save_CPPFLAGS"
|
||||||
|
LDFLAGS="$ac_save_LDFLAGS"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if test "x$enable_lua" = "xyes" ; then
|
||||||
|
AC_SUBST(LUA_CFLAGS)
|
||||||
|
AC_SUBST(LUA_LFLAGS)
|
||||||
|
AC_DEFINE(PLUGIN_LUA)
|
||||||
|
fi
|
||||||
|
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
# aspell
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
if test "x$enable_aspell" = "xyes" ; then
|
||||||
|
ASPELL_CFLAGS=""
|
||||||
|
ASPELL_LFLAGS=""
|
||||||
|
|
||||||
|
AC_CHECK_HEADER(aspell.h,ac_found_aspell_header="yes",ac_found_aspell_header="no")
|
||||||
|
AC_CHECK_LIB(aspell,new_aspell_speller,ac_found_aspell_lib="yes",ac_found_aspell_lib="no")
|
||||||
|
|
||||||
|
AC_MSG_CHECKING(for aspell headers and librairies)
|
||||||
|
if test "x$ac_found_aspell_header" = "xno" -o "x$ac_found_aspell_lib" = "xno" ; then
|
||||||
|
AC_MSG_RESULT(no)
|
||||||
|
AC_MSG_WARN([
|
||||||
|
*** Aspell headers and/or libraries couldn't be found in your system.
|
||||||
|
*** Try to install them with your software package manager.
|
||||||
|
*** WeeChat will be built without Aspell support.])
|
||||||
|
enable_aspell="no"
|
||||||
|
not_found="$not_found aspell"
|
||||||
|
else
|
||||||
|
AC_MSG_RESULT(yes)
|
||||||
|
ASPELL_LFLAGS="$ASPELL_LFLAGS -laspell"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
if test "x$enable_aspell" = "xyes" ; then
|
||||||
|
AC_SUBST(ASPELL_CFLAGS)
|
||||||
|
AC_SUBST(ASPELL_LFLAGS)
|
||||||
|
AC_DEFINE(PLUGIN_ASPELL)
|
||||||
|
fi
|
||||||
|
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
# charset
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
if test "x$enable_charset" = "xyes" ; then
|
||||||
|
CHARSET_CFLAGS=""
|
||||||
|
CHARSET_LFLAGS=""
|
||||||
|
CHARSET_LFLAGS="$CHARSET_LFLAGS $ICONV_LFLAGS"
|
||||||
|
AC_SUBST(CHARSET_CFLAGS)
|
||||||
|
AC_SUBST(CHARSET_LFLAGS)
|
||||||
|
AC_DEFINE(PLUGIN_CHARSET)
|
||||||
|
fi
|
||||||
|
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
# dynamic loader
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
if test "x$enable_plugins" = "xyes" ; then
|
||||||
|
AC_CHECK_FUNCS(dlopen, LIBDL_FOUND=yes, LIBDL_FOUND=no)
|
||||||
|
if test "$LIBDL_FOUND" != "yes"; then
|
||||||
|
AC_CHECK_LIB(dl, dlopen, [LIBDL_FOUND=yes; PLUGINS_LIBS=-ldl], LIBDL_FOUND=no)
|
||||||
|
fi
|
||||||
|
if test "$LIBDL_FOUND" = "yes"; then
|
||||||
|
AC_DEFINE(PLUGINS)
|
||||||
|
AC_SUBST(PLUGINS_LIBS)
|
||||||
|
else
|
||||||
|
AC_MSG_WARN([
|
||||||
|
*** "dl" library (dynamic library loader) couldn't be found in your system.
|
||||||
|
*** Try to install it with your software package manager or disable plugins.
|
||||||
|
*** WeeChat will be built without any plugin.])
|
||||||
|
enable_plugins="no"
|
||||||
|
enable_perl="no"
|
||||||
|
enable_python="no"
|
||||||
|
enable_ruby="no"
|
||||||
|
enable_lua="no"
|
||||||
|
enable_aspell="no"
|
||||||
|
enable_charset="no"
|
||||||
|
not_found="$not_found plugins"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
# gnutls
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
if test "x$enable_gnutls" = "xyes" ; then
|
||||||
|
AC_CHECK_HEADER(gnutls/gnutls.h,ac_found_gnutls_header="yes",ac_found_gnutls_header="no")
|
||||||
|
AC_CHECK_LIB(gnutls,gnutls_global_init,ac_found_gnutls_lib="yes",ac_found_gnutls_lib="no")
|
||||||
|
|
||||||
|
AC_MSG_CHECKING(for gnutls headers and librairies)
|
||||||
|
if test "x$ac_found_gnutls_header" = "xno" -o "x$ac_found_gnutls_lib" = "xno" ; then
|
||||||
|
AC_MSG_RESULT(no)
|
||||||
|
AC_MSG_WARN([
|
||||||
|
*** libgnutls was not found. You may want to get it from ftp://ftp.gnutls.org/pub/gnutls/
|
||||||
|
*** WeeChat will be built without GnuTLS support.])
|
||||||
|
enable_gnutls="no"
|
||||||
|
not_found="$not_found gnutls"
|
||||||
|
else
|
||||||
|
AC_MSG_RESULT(yes)
|
||||||
|
GNUTLS_CFLAGS=`pkg-config gnutls --cflags`
|
||||||
|
GNUTLS_LFLAGS=`pkg-config gnutls --libs`
|
||||||
|
AC_SUBST(GNUTLS_CFLAGS)
|
||||||
|
AC_SUBST(GNUTLS_LFLAGS)
|
||||||
|
AC_DEFINE(HAVE_GNUTLS)
|
||||||
|
CFLAGS="$CFLAGS -DHAVE_GNUTLS"
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
not_asked="$not_asked gnutls"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
# flock
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
enable_flock="no"
|
||||||
|
AC_CACHE_CHECK([for flock() support], ac_have_flock, [
|
||||||
|
AC_TRY_COMPILE(
|
||||||
|
[ #include <sys/file.h>
|
||||||
|
],
|
||||||
|
[ flock(0, LOCK_SH); ],
|
||||||
|
[ ac_have_flock="yes" ],
|
||||||
|
[ ac_have_flock="no" ])])
|
||||||
|
|
||||||
|
if test "x$ac_have_flock" = "xyes"; then
|
||||||
|
enable_flock="yes"
|
||||||
|
AC_DEFINE(HAVE_FLOCK)
|
||||||
|
fi
|
||||||
|
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
# backtrace
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
enable_backtrace="no"
|
||||||
|
if test "x$debug" != "x0" ; then
|
||||||
|
AC_CACHE_CHECK([for execinfo.h and backtrace], ac_have_backtrace, [
|
||||||
|
AC_TRY_COMPILE(
|
||||||
|
[ #include <execinfo.h>
|
||||||
|
],
|
||||||
|
[ void *trace[128]; int n = backtrace(trace, 128); ],
|
||||||
|
[ ac_have_backtrace="yes" ],
|
||||||
|
[ ac_have_backtrace="no" ])])
|
||||||
|
if test "x$ac_have_backtrace" = "xyes"; then
|
||||||
|
enable_backtrace="yes"
|
||||||
|
AC_DEFINE(HAVE_BACKTRACE,1,[glibc backtrace function])
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
# documentation
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
msg_doc=""
|
||||||
|
|
||||||
|
if test "x$DBLATEX_FOUND" = "xyes"; then
|
||||||
|
msg_doc="pdf $msg_doc"
|
||||||
|
fi
|
||||||
|
|
||||||
|
AC_MSG_CHECKING(for html/chunk.xsl)
|
||||||
|
DOC_XSL_PREFIX=""
|
||||||
|
|
||||||
|
if test -n "$doc_xsl_prefix"; then
|
||||||
|
doc_xsl_prefix_path="$doc_xsl_prefix"
|
||||||
|
else
|
||||||
|
doc_xsl_prefix_path="/usr/share/xml/docbook/xsl-stylesheets-1.69"
|
||||||
|
doc_xsl_prefix_path="${doc_xsl_prefix_arr} /usr/share/xml/docbook/stylesheet/nwalsh"
|
||||||
|
fi
|
||||||
|
|
||||||
|
for p in $doc_xsl_prefix_path; do
|
||||||
|
if test -f ${p}/html/chunk.xsl; then
|
||||||
|
DOC_XSL_PREFIX="$p"
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
if test "x$DOC_XSL_PREFIX" = "x"; then
|
||||||
|
AC_MSG_RESULT(no)
|
||||||
|
AC_MSG_WARN([
|
||||||
|
*** Docbook XSL files not found
|
||||||
|
*** WeeChat will be built without documentation.
|
||||||
|
*** Try ./configure --with-doc-xsl-prefix=DIR if you have DIR/html/chunk.xsl file])
|
||||||
|
else
|
||||||
|
AC_MSG_RESULT($DOC_XSL_PREFIX)
|
||||||
|
AC_SUBST(DOC_XSL_PREFIX)
|
||||||
|
msg_doc="html $msg_doc"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
# general vars
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
if test "x$prefix" = "xNONE" ; then
|
||||||
|
prefix="$ac_default_prefix"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if test "x$exec_prefix" = "xNONE" ; then
|
||||||
|
exec_prefix="$prefix"
|
||||||
|
fi
|
||||||
|
|
||||||
|
AC_DEFINE_UNQUOTED(PREFIX, "${prefix}")
|
||||||
|
|
||||||
|
WEECHAT_LIBDIR=`eval eval echo ${libdir}/weechat`
|
||||||
|
AC_DEFINE_UNQUOTED(WEECHAT_LIBDIR, "$WEECHAT_LIBDIR")
|
||||||
|
|
||||||
|
WEECHAT_SHAREDIR=`eval eval echo ${datadir}/weechat`
|
||||||
|
AC_DEFINE_UNQUOTED(WEECHAT_SHAREDIR, "$WEECHAT_SHAREDIR")
|
||||||
|
|
||||||
|
weechat_libdir=${libdir}/weechat
|
||||||
|
AC_SUBST(weechat_libdir)
|
||||||
|
|
||||||
|
COMMON_CFLAGS="-Wall -W"
|
||||||
|
AC_MSG_CHECKING([whether we have GNU assembler])
|
||||||
|
GAS=`as --version < /dev/null 2>/dev/null | grep GNU`
|
||||||
|
if test "$GAS"; then
|
||||||
|
COMMON_CFLAGS="${COMMON_CFLAGS} -pipe"
|
||||||
|
AC_MSG_RESULT(yes)
|
||||||
|
else
|
||||||
|
AC_MSG_RESULT(no)
|
||||||
|
fi
|
||||||
|
|
||||||
|
CFLAGS=`echo $CFLAGS | sed s/-g//g`
|
||||||
|
if test "x$CFLAGS" = "x" ; then
|
||||||
|
CFLAGS="-O2"
|
||||||
|
fi
|
||||||
|
if test "x$debug" = "x1" || test "x$debug" = "x2" ; then
|
||||||
|
CFLAGS="$COMMON_CFLAGS $CFLAGS -g"
|
||||||
|
else
|
||||||
|
CFLAGS="$COMMON_CFLAGS $CFLAGS"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if test "x$debug" = "x2" ; then
|
||||||
|
AC_DEFINE(DEBUG)
|
||||||
|
fi
|
||||||
|
|
||||||
|
LIBS="$LIBS $INTLLIBS"
|
||||||
|
|
||||||
|
case "$host_os" in
|
||||||
|
freebsd*)
|
||||||
|
if test "x$enable_perl" = "xyes" -o "x$enable_python" = "xyes" ; then
|
||||||
|
CFLAGS="$CFLAGS -pthread"
|
||||||
|
fi
|
||||||
|
CFLAGS="$CFLAGS $CPPFLAGS"
|
||||||
|
;;
|
||||||
|
openbsd*)
|
||||||
|
if test "x$enable_python" = "xyes" ; then
|
||||||
|
CFLAGS="$CFLAGS -pthread"
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
netbsd*)
|
||||||
|
if test "x$enable_perl" = "xyes" -o "x$enable_python" = "xyes" ; then
|
||||||
|
CFLAGS="$CFLAGS -pthread"
|
||||||
|
fi
|
||||||
|
CFLAGS="$CFLAGS $CPPFLAGS"
|
||||||
|
;;
|
||||||
|
gnu*)
|
||||||
|
if test "x$enable_plugins" = "xyes" ; then
|
||||||
|
LDFLAGS="$LDFLAGS -lpthread"
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
# output Makefiles
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
AM_CONDITIONAL(GUI_NCURSES, test "$enable_ncurses" = "yes")
|
||||||
|
AM_CONDITIONAL(GUI_WXWIDGETS, test "$enable_wxwidgets" = "yes")
|
||||||
|
AM_CONDITIONAL(GUI_GTK, test "$enable_gtk" = "yes")
|
||||||
|
AM_CONDITIONAL(GUI_QT, test "$enable_qt" = "yes")
|
||||||
|
AM_CONDITIONAL(PLUGINS, test "$enable_plugins" = "yes")
|
||||||
|
AM_CONDITIONAL(PLUGIN_PERL, test "$enable_perl" = "yes")
|
||||||
|
AM_CONDITIONAL(PLUGIN_PYTHON, test "$enable_python" = "yes")
|
||||||
|
AM_CONDITIONAL(PLUGIN_RUBY, test "$enable_ruby" = "yes")
|
||||||
|
AM_CONDITIONAL(PLUGIN_LUA, test "$enable_lua" = "yes")
|
||||||
|
AM_CONDITIONAL(PLUGIN_ASPELL, test "$enable_aspell" = "yes")
|
||||||
|
AM_CONDITIONAL(PLUGIN_CHARSET, test "$enable_charset" = "yes")
|
||||||
|
AM_CONDITIONAL(HAVE_GNUTLS, test "$enable_gnutls" = "yes")
|
||||||
|
AM_CONDITIONAL(HAVE_FLOCK, test "$enable_flock" = "yes")
|
||||||
|
AM_CONDITIONAL(DBLATEX_FOUND, test "$DBLATEX_FOUND" = "yes")
|
||||||
|
|
||||||
|
AC_OUTPUT([Makefile
|
||||||
|
doc/Makefile
|
||||||
|
doc/en/Makefile
|
||||||
|
doc/fr/Makefile
|
||||||
|
doc/de/Makefile
|
||||||
|
doc/ru/Makefile
|
||||||
|
doc/pl/Makefile
|
||||||
|
doc/cs/Makefile
|
||||||
|
doc/sco/Makefile
|
||||||
|
doc/sv/Makefile
|
||||||
|
src/Makefile
|
||||||
|
src/common/Makefile
|
||||||
|
src/irc/Makefile
|
||||||
|
src/plugins/Makefile
|
||||||
|
src/plugins/scripts/Makefile
|
||||||
|
src/plugins/scripts/perl/Makefile
|
||||||
|
src/plugins/scripts/python/Makefile
|
||||||
|
src/plugins/scripts/ruby/Makefile
|
||||||
|
src/plugins/scripts/lua/Makefile
|
||||||
|
src/plugins/aspell/Makefile
|
||||||
|
src/plugins/charset/Makefile
|
||||||
|
src/gui/Makefile
|
||||||
|
src/gui/curses/Makefile
|
||||||
|
src/gui/wxwidgets/Makefile
|
||||||
|
src/gui/gtk/Makefile
|
||||||
|
src/gui/qt/Makefile
|
||||||
|
intl/Makefile
|
||||||
|
po/Makefile.in])
|
||||||
|
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
# end message
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
listgui=""
|
||||||
|
if test "x$enable_ncurses" = "xyes" ; then
|
||||||
|
listgui="$listgui ncurses"
|
||||||
|
fi
|
||||||
|
if test "x$enable_wxwidgets" = "xyes"; then
|
||||||
|
listgui="$listgui WxWidgets"
|
||||||
|
fi
|
||||||
|
if test "x$enable_gtk" = "xyes" ; then
|
||||||
|
listgui="$listgui Gtk"
|
||||||
|
fi
|
||||||
|
if test "x$enable_qt" = "xyes" ; then
|
||||||
|
listgui="$listgui Qt"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if test "x$listgui" = "x" ; then
|
||||||
|
AC_MSG_ERROR([
|
||||||
|
*** No interface specified...
|
||||||
|
*** Please enable at least ncurses, WxWidgets, Gtk or Qt.])
|
||||||
|
fi
|
||||||
|
|
||||||
|
if test "x$not_found" != "x" ; then
|
||||||
|
echo ""
|
||||||
|
echo "Following components were asked but not found, they will not be built:"
|
||||||
|
echo "$not_found"
|
||||||
|
fi
|
||||||
|
|
||||||
|
msg_debug_compiler="no"
|
||||||
|
msg_debug_verbose="no"
|
||||||
|
if test "x$debug" = "x1" || test "x$debug" = "x2" ; then
|
||||||
|
msg_debug_compiler="yes"
|
||||||
|
fi
|
||||||
|
if test "x$debug" = "x2" ; then
|
||||||
|
msg_debug_verbose="yes"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# plugin status
|
||||||
|
PERL_STATUS=
|
||||||
|
if test "x$enable_perl" = "xyes"; then
|
||||||
|
PERL_STATUS="($PERL_VERSION)"
|
||||||
|
fi
|
||||||
|
|
||||||
|
PYTHON_STATUS=
|
||||||
|
if test "x$enable_python" = "xyes"; then
|
||||||
|
PYTHON_STATUS="($PYTHON_VERSION)"
|
||||||
|
fi
|
||||||
|
|
||||||
|
RUBY_STATUS=
|
||||||
|
if test "x$enable_ruby" = "xyes"; then
|
||||||
|
RUBY_STATUS="($RUBY_VERSION)"
|
||||||
|
fi
|
||||||
|
|
||||||
|
LUA_STATUS=
|
||||||
|
if test "x$enable_lua" = "xyes"; then
|
||||||
|
LUA_STATUS="($LUA_VERSION)"
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
echo ""
|
||||||
|
echo "Interfaces........................ :$listgui"
|
||||||
|
echo "Build with GNUtls support......... : $enable_gnutls"
|
||||||
|
echo "Build with flock support.......... : $enable_flock"
|
||||||
|
echo "Build with Plugin support......... : $enable_plugins"
|
||||||
|
echo " Perl plugin......... : $enable_perl $PERL_STATUS"
|
||||||
|
echo " Python plugin....... : $enable_python $PYTHON_STATUS"
|
||||||
|
echo " Ruby plugin......... : $enable_ruby $RUBY_STATUS"
|
||||||
|
echo " Lua plugin.......... : $enable_lua $LUA_STATUS"
|
||||||
|
echo " Aspell plugin....... : $enable_aspell"
|
||||||
|
echo " Charset plugin...... : $enable_charset"
|
||||||
|
echo "Compile with debug info........... : $msg_debug_compiler"
|
||||||
|
echo " Backtrace........... : $enable_backtrace"
|
||||||
|
echo "Build doc..........................: $msg_doc"
|
||||||
|
echo "Print debugging messages.......... : $msg_debug_verbose"
|
||||||
|
echo ""
|
||||||
|
eval echo "WeeChat will be installed in $bindir."
|
||||||
|
echo ""
|
||||||
|
echo "configure complete, now type 'make' to build WeeChat $VERSION"
|
||||||
|
echo ""
|
||||||
Vendored
+4
-17
@@ -1,19 +1,6 @@
|
|||||||
weechat (0.3.1-1) unstable; urgency=low
|
weechat (0.1.6-1) unstable; urgency=low
|
||||||
|
|
||||||
This release introduces important changes with the usage of SSL. There
|
This release introduces some incompatible changes with old scripts and locale
|
||||||
are stronger checks while connecting with SSL. By default, if a connection
|
support, you can read the upstream NEWS file for more information.
|
||||||
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
|
-- Julien Louis <ptitlouis@sysif.net> Fri, 11 Nov 2005 20:45:46 +0100
|
||||||
|
|
||||||
weechat (0.3.0-1) unstable; urgency=low
|
|
||||||
|
|
||||||
This release introduces major changes. Large part of code was
|
|
||||||
rewritten without keeping compatibility with older versions.
|
|
||||||
|
|
||||||
Please refer to the file /usr/share/doc/weechat-core/UPGRADE_0.3
|
|
||||||
for more information on upgrade from a version 0.2.x to 0.3.x.
|
|
||||||
|
|
||||||
-- Emmanuel Bouthenot <kolter@openics.org> Tue, 15 Sep 2009 20:59:42 +0000
|
|
||||||
|
|||||||
Vendored
+141
-327
@@ -1,315 +1,3 @@
|
|||||||
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.
|
|
||||||
* Upload to unstable.
|
|
||||||
* Add doc-base files for documentation.
|
|
||||||
|
|
||||||
-- Emmanuel Bouthenot <kolter@openics.org> Tue, 15 Sep 2009 20:58:07 +0000
|
|
||||||
|
|
||||||
weechat (0.3.0~rc3-1) experimental; urgency=low
|
|
||||||
|
|
||||||
* New (major) upstream release.
|
|
||||||
- Fix the excessive number of wakeups (Closes: #461945)
|
|
||||||
* Remove patches (merged upstream).
|
|
||||||
* Update debian/copyright: add new copyright holder.
|
|
||||||
* Packaging changes (taking into account future frontends: weechat-gtk,
|
|
||||||
weechat-qt, etc.):
|
|
||||||
- Drop weechat-common
|
|
||||||
- Add weechat-doc (Documentation)
|
|
||||||
- Add weechat-core (locales files, essential plugins)
|
|
||||||
- Add weechat-dev (plugins development files)
|
|
||||||
- Add weechat-dbg (gdb debugging symbols)
|
|
||||||
* Switch packaging from cdbs to debhelper 7.
|
|
||||||
* Update packages descriptions.
|
|
||||||
* Add a lintian-override against manpage line wrapping error.
|
|
||||||
* Update Standards-Version to 3.8.3.
|
|
||||||
* Add file UPGRADE_0.3 to doc files.
|
|
||||||
* Update debian/NEWS about major changes in this release.
|
|
||||||
|
|
||||||
-- Emmanuel Bouthenot <kolter@openics.org> Sun, 16 Aug 2009 20:32:01 +0000
|
|
||||||
|
|
||||||
weechat (0.2.6.3-1) unstable; urgency=low
|
|
||||||
|
|
||||||
* New upstream release
|
|
||||||
- drop the usage of the deprecated libgnutls-config script to detect
|
|
||||||
gnutls (Closes: #529912).
|
|
||||||
|
|
||||||
-- Emmanuel Bouthenot <kolter@openics.org> Sat, 13 Jun 2009 21:47:56 +0000
|
|
||||||
|
|
||||||
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
|
|
||||||
|
|
||||||
* New upstream release which includes a fix against a possible remote
|
|
||||||
Denial of Service (crash) while receiving messages with special chars
|
|
||||||
(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
|
|
||||||
when the first one failed. Thanks to Lionel Elie Mamane for
|
|
||||||
his patch (Closes: #498610).
|
|
||||||
* Rename patch 01_perlembed_init_macros to perlembed_init_macros.
|
|
||||||
* Update debian/control:
|
|
||||||
- add ${misc:Depends}
|
|
||||||
- update descriptions
|
|
||||||
* Update debian/copyright about debian packaging.
|
|
||||||
* Add Vcs-Browser and Vcs-Git fields in debian/control.
|
|
||||||
* Add DM-Upload-Allowed field.
|
|
||||||
|
|
||||||
-- Emmanuel Bouthenot <kolter@openics.org> Sat, 21 Feb 2009 18:34:08 +0000
|
|
||||||
|
|
||||||
weechat (0.2.6-2) unstable; urgency=low
|
|
||||||
|
|
||||||
* Setting me as maintainer with previous maintainer agreement.
|
|
||||||
* Remove Uploaders field.
|
|
||||||
* Add quilt to Build-Depends.
|
|
||||||
* Add a patch to fix probable pthread mutex locks on hppa architecture
|
|
||||||
with perl plugin (Closes: #495080).
|
|
||||||
* Add a Homepage field.
|
|
||||||
* Update Standards-Version to 3.8.0.
|
|
||||||
* Reformat NEWS file to avoid lintian warnings.
|
|
||||||
* Fix typos in control file.
|
|
||||||
|
|
||||||
-- Emmanuel Bouthenot <kolter@openics.org> Sun, 07 Sep 2008 19:39:42 +0000
|
|
||||||
|
|
||||||
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
|
|
||||||
|
|
||||||
* New Upstream Version
|
|
||||||
|
|
||||||
-- Julien Louis <ptitlouis@sysif.net> Tue, 12 Jun 2007 19:42:15 +0200
|
|
||||||
|
|
||||||
weechat (0.2.4-2) unstable; urgency=low
|
|
||||||
|
|
||||||
* Backport iso-2022-jp patch from upstream CVS (Closes: #421833).
|
|
||||||
* Set myself as Maintainer with previous Maintainer agreement.
|
|
||||||
|
|
||||||
-- Julien Louis <ptitlouis@sysif.net> Thu, 03 May 2007 21:15:59 +0200
|
|
||||||
|
|
||||||
weechat (0.2.4-1) unstable; urgency=low
|
|
||||||
|
|
||||||
* New upstream release
|
|
||||||
|
|
||||||
-- Julien Louis <ptitlouis@sysif.net> Thu, 29 Mar 2007 21:01:46 +0200
|
|
||||||
|
|
||||||
weechat (0.2.3-1) unstable; urgency=low
|
|
||||||
|
|
||||||
* New upstream release
|
|
||||||
* Bump lua build-dependency to liblua5.1-0-dev
|
|
||||||
* Add pkg-config to Build-Depends
|
|
||||||
* Remove some duplited changelog entries.
|
|
||||||
* Improve weechat-plugins description
|
|
||||||
|
|
||||||
-- Julien Louis <ptitlouis@sysif.net> Fri, 12 Jan 2007 09:01:46 +0100
|
|
||||||
|
|
||||||
weechat (0.2.1-1) unstable; urgency=low
|
weechat (0.2.1-1) unstable; urgency=low
|
||||||
|
|
||||||
* New upstream release
|
* New upstream release
|
||||||
@@ -375,11 +63,11 @@ weechat (0.1.8-1) unstable; urgency=low
|
|||||||
-- Julien Louis <ptitlouis@sysif.net> Sat, 18 Mar 2006 11:32:52 +0100
|
-- Julien Louis <ptitlouis@sysif.net> Sat, 18 Mar 2006 11:32:52 +0100
|
||||||
|
|
||||||
weechat (0.1.7-2) unstable; urgency=low
|
weechat (0.1.7-2) unstable; urgency=low
|
||||||
|
|
||||||
* force linking against libpthread on GNU/Hurd (Closes: #350487)
|
* force linking against libpthread on GNU/Hurd (Closes: #350487)
|
||||||
|
|
||||||
-- Julien Louis <ptitlouis@sysif.net> Sun, 5 Feb 2006 18:23:24 +0100
|
-- Julien Louis <ptitlouis@sysif.net> Sun, 5 Feb 2006 18:23:24 +0100
|
||||||
|
|
||||||
weechat (0.1.7-1) unstable; urgency=low
|
weechat (0.1.7-1) unstable; urgency=low
|
||||||
|
|
||||||
* New upstream release
|
* New upstream release
|
||||||
@@ -451,7 +139,7 @@ weechat (0.1.2-2) unstable; urgency=low
|
|||||||
weechat (0.1.2-1) unstable; urgency=low
|
weechat (0.1.2-1) unstable; urgency=low
|
||||||
|
|
||||||
* WeeChat version 0.1.2, see ChangeLog for detail.
|
* WeeChat version 0.1.2, see ChangeLog for detail.
|
||||||
|
|
||||||
-- Sebastien 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
|
weechat (0.1.1-2) unstable; urgency=low
|
||||||
@@ -465,65 +153,191 @@ weechat (0.1.1-2) unstable; urgency=low
|
|||||||
weechat (0.1.1-1) unstable; urgency=low
|
weechat (0.1.1-1) unstable; urgency=low
|
||||||
|
|
||||||
* WeeChat version 0.1.1, see ChangeLog for detail (closes: #306492)
|
* WeeChat version 0.1.1, see ChangeLog for detail (closes: #306492)
|
||||||
|
|
||||||
-- Sebastien 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 (0.1.0-1) unstable; urgency=low
|
||||||
|
|
||||||
* WeeChat version 0.1.0, see ChangeLog for detail.
|
* WeeChat version 0.1.0, see ChangeLog for detail.
|
||||||
|
|
||||||
-- Sebastien 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 (0.0.9-1) unstable; urgency=low
|
||||||
|
|
||||||
* WeeChat version 0.0.9, see ChangeLog for detail.
|
* WeeChat version 0.0.9, see ChangeLog for detail.
|
||||||
|
|
||||||
-- FlashCode <flashcode@flashtux.org> Sat, 01 Jan 2005 13:00:00 +0200
|
-- FlashCode <flashcode@flashtux.org> Sat, 01 Jan 2005 13:00:00 +0200
|
||||||
|
|
||||||
weechat (0.0.8-1) unstable; urgency=low
|
weechat (0.0.8-1) unstable; urgency=low
|
||||||
|
|
||||||
* WeeChat version 0.0.8, see ChangeLog for detail.
|
* WeeChat version 0.0.8, see ChangeLog for detail.
|
||||||
|
|
||||||
-- FlashCode <flashcode@flashtux.org> Sat, 30 Oct 2004 11:40:00 +0200
|
-- FlashCode <flashcode@flashtux.org> Sat, 30 Oct 2004 11:40:00 +0200
|
||||||
|
|
||||||
weechat (0.0.7-1) unstable; urgency=low
|
weechat (0.0.7-1) unstable; urgency=low
|
||||||
|
|
||||||
* WeeChat version 0.0.7, see ChangeLog for detail.
|
* WeeChat version 0.0.7, see ChangeLog for detail.
|
||||||
|
|
||||||
-- FlashCode <flashcode@flashtux.org> Sat, 08 Aug 2004 21:00:00 +0200
|
-- FlashCode <flashcode@flashtux.org> Sat, 08 Aug 2004 21:00:00 +0200
|
||||||
|
|
||||||
weechat (0.0.6-1) unstable; urgency=low
|
weechat (0.0.6-1) unstable; urgency=low
|
||||||
|
|
||||||
* WeeChat version 0.0.6, see ChangeLog for detail.
|
* WeeChat version 0.0.6, see ChangeLog for detail.
|
||||||
|
|
||||||
-- FlashCode <flashcode@flashtux.org> Sat, 05 Jun 2004 11:30:00 +0200
|
-- FlashCode <flashcode@flashtux.org> Sat, 05 Jun 2004 11:30:00 +0200
|
||||||
|
|
||||||
weechat (0.0.5-1) unstable; urgency=low
|
weechat (0.0.5-1) unstable; urgency=low
|
||||||
|
|
||||||
* WeeChat version 0.0.5, see ChangeLog for detail.
|
* WeeChat version 0.0.5, see ChangeLog for detail.
|
||||||
|
|
||||||
-- FlashCode <flashcode@flashtux.org> Sat, 07 Feb 2004 20:30:00 +0200
|
-- FlashCode <flashcode@flashtux.org> Sat, 07 Feb 2004 20:30:00 +0200
|
||||||
|
|
||||||
weechat (0.0.4-1) unstable; urgency=low
|
weechat (0.0.4-1) unstable; urgency=low
|
||||||
|
|
||||||
* WeeChat version 0.0.4, see ChangeLog for detail.
|
* WeeChat version 0.0.4, see ChangeLog for detail.
|
||||||
|
|
||||||
-- FlashCode <flashcode@flashtux.org> Thu, 01 Jan 2004 13:00:00 +0200
|
-- FlashCode <flashcode@flashtux.org> Thu, 01 Jan 2004 13:00:00 +0200
|
||||||
|
|
||||||
weechat (0.0.3-1) unstable; urgency=low
|
weechat (0.0.3-1) unstable; urgency=low
|
||||||
|
|
||||||
* WeeChat version 0.0.3, see ChangeLog for detail.
|
* WeeChat version 0.0.3, see ChangeLog for detail.
|
||||||
|
|
||||||
-- FlashCode <flashcode@flashtux.org> Mon, 03 Nov 2003 23:15:00 +0200
|
-- FlashCode <flashcode@flashtux.org> Mon, 03 Nov 2003 23:15:00 +0200
|
||||||
|
|
||||||
weechat (0.0.2-1) unstable; urgency=low
|
weechat (0.0.2-1) unstable; urgency=low
|
||||||
|
|
||||||
* WeeChat version 0.0.2, see ChangeLog for detail.
|
* WeeChat version 0.0.2, see ChangeLog for detail.
|
||||||
|
|
||||||
-- FlashCode <flashcode@flashtux.org> Sun, 05 Oct 2003 12:00:00 +0200
|
-- FlashCode <flashcode@flashtux.org> Sun, 05 Oct 2003 12:00:00 +0200
|
||||||
|
|
||||||
weechat (0.0.1-1) unstable; urgency=low
|
weechat (0.0.1-1) unstable; urgency=low
|
||||||
|
|
||||||
* First version.
|
* First version.
|
||||||
|
|
||||||
|
-- FlashCode <flashcode@flashtux.org> Sat, 27 Sep 2003 12:00:00 +0200
|
||||||
|
weechat (0.1.5-1) unstable; urgency=low
|
||||||
|
|
||||||
|
* New upstream release
|
||||||
|
|
||||||
|
-- Julien Louis <ptitlouis@sysif.net> Sat, 24 Sep 2005 14:08:55 +0200
|
||||||
|
|
||||||
|
weechat (0.1.4-2) unstable; urgency=low
|
||||||
|
|
||||||
|
* Add autotools-dev to Build-Depends.
|
||||||
|
* update autotools stuff automatically to always
|
||||||
|
have up-to-date config.{guess,sub}
|
||||||
|
* Update Build-Depends: libgnutls11-dev -> libgnutls-dev
|
||||||
|
|
||||||
|
-- Julien Louis <ptitlouis@sysif.net> Mon, 1 Aug 2005 11:46:39 +0200
|
||||||
|
|
||||||
|
weechat (0.1.4-1) unstable; urgency=low
|
||||||
|
|
||||||
|
* New upstream release.
|
||||||
|
|
||||||
|
-- Julien Louis <ptitlouis@sysif.net> Sat, 30 Jul 2005 16:26:55 +0200
|
||||||
|
|
||||||
|
weechat (0.1.3-2) unstable; urgency=low
|
||||||
|
|
||||||
|
* Update config.{guess,sub} to fix FTBFS on k*BSD (Closes: #316791)
|
||||||
|
|
||||||
|
-- Julien Louis <ptitlouis@sysif.net> Fri, 8 Jul 2005 21:30:38 +0200
|
||||||
|
|
||||||
|
weechat (0.1.3-1) unstable; urgency=low
|
||||||
|
|
||||||
|
* New upstream release.
|
||||||
|
|
||||||
|
-- Julien Louis <ptitlouis@sysif.net> Sat, 2 Jul 2005 20:06:29 +0200
|
||||||
|
|
||||||
|
weechat (0.1.2-3) unstable; urgency=low
|
||||||
|
|
||||||
|
* Apply patch against gui-display.c to fix curses color bug.
|
||||||
|
* remove dh_install --sourcedir to allow builds on woody.
|
||||||
|
|
||||||
|
-- Julien Louis <ptitlouis@sysif.net> Sun, 19 Jun 2005 22:37:11 +0200
|
||||||
|
|
||||||
|
weechat (0.1.2-2) unstable; urgency=low
|
||||||
|
|
||||||
|
* Patch src/gui/curse/gui-display.c to fix segfault
|
||||||
|
when config file does not exists (Closes: #310589).
|
||||||
|
|
||||||
|
-- Julien Louis <ptitlouis@sysif.net> Tue, 24 May 2005 20:55:02 +0200
|
||||||
|
|
||||||
|
weechat (0.1.2-1) unstable; urgency=low
|
||||||
|
|
||||||
|
* WeeChat version 0.1.2, see ChangeLog for detail.
|
||||||
|
|
||||||
|
-- Sebastien Helleu <flashcode@flashtux.org> Sat, 21 May 2005 08:00:00 +0200
|
||||||
|
|
||||||
|
weechat (0.1.1-2) unstable; urgency=low
|
||||||
|
|
||||||
|
* debian/control:
|
||||||
|
- Add myself to uploaders.
|
||||||
|
- Remove unecessary dependency on weechat-gtk (Closes: #308287).
|
||||||
|
|
||||||
|
-- Julien Louis <ptitlouis@sysif.net> Tue, 10 May 2005 22:38:52 +0200
|
||||||
|
|
||||||
|
weechat (0.1.1-1) unstable; urgency=low
|
||||||
|
|
||||||
|
* WeeChat version 0.1.1, see ChangeLog for detail (closes: #306492)
|
||||||
|
|
||||||
|
-- Sebastien Helleu <flashcode@flashtux.org> Sat, 20 Mar 2005 08:00:00 +0200
|
||||||
|
|
||||||
|
weechat (0.1.0-1) unstable; urgency=low
|
||||||
|
|
||||||
|
* WeeChat version 0.1.0, see ChangeLog for detail.
|
||||||
|
|
||||||
|
-- Sebastien Helleu <flashcode@flashtux.org> Sat, 12 Feb 2005 12:00:00 +0200
|
||||||
|
|
||||||
|
weechat (0.0.9-1) unstable; urgency=low
|
||||||
|
|
||||||
|
* WeeChat version 0.0.9, see ChangeLog for detail.
|
||||||
|
|
||||||
|
-- FlashCode <flashcode@flashtux.org> Sat, 01 Jan 2005 13:00:00 +0200
|
||||||
|
|
||||||
|
weechat (0.0.8-1) unstable; urgency=low
|
||||||
|
|
||||||
|
* WeeChat version 0.0.8, see ChangeLog for detail.
|
||||||
|
|
||||||
|
-- FlashCode <flashcode@flashtux.org> Sat, 30 Oct 2004 11:40:00 +0200
|
||||||
|
|
||||||
|
weechat (0.0.7-1) unstable; urgency=low
|
||||||
|
|
||||||
|
* WeeChat version 0.0.7, see ChangeLog for detail.
|
||||||
|
|
||||||
|
-- FlashCode <flashcode@flashtux.org> Sat, 08 Aug 2004 21:00:00 +0200
|
||||||
|
|
||||||
|
weechat (0.0.6-1) unstable; urgency=low
|
||||||
|
|
||||||
|
* WeeChat version 0.0.6, see ChangeLog for detail.
|
||||||
|
|
||||||
|
-- FlashCode <flashcode@flashtux.org> Sat, 05 Jun 2004 11:30:00 +0200
|
||||||
|
|
||||||
|
weechat (0.0.5-1) unstable; urgency=low
|
||||||
|
|
||||||
|
* WeeChat version 0.0.5, see ChangeLog for detail.
|
||||||
|
|
||||||
|
-- FlashCode <flashcode@flashtux.org> Sat, 07 Feb 2004 20:30:00 +0200
|
||||||
|
|
||||||
|
weechat (0.0.4-1) unstable; urgency=low
|
||||||
|
|
||||||
|
* WeeChat version 0.0.4, see ChangeLog for detail.
|
||||||
|
|
||||||
|
-- FlashCode <flashcode@flashtux.org> Thu, 01 Jan 2004 13:00:00 +0200
|
||||||
|
|
||||||
|
weechat (0.0.3-1) unstable; urgency=low
|
||||||
|
|
||||||
|
* WeeChat version 0.0.3, see ChangeLog for detail.
|
||||||
|
|
||||||
|
-- FlashCode <flashcode@flashtux.org> Mon, 03 Nov 2003 23:15:00 +0200
|
||||||
|
|
||||||
|
weechat (0.0.2-1) unstable; urgency=low
|
||||||
|
|
||||||
|
* WeeChat version 0.0.2, see ChangeLog for detail.
|
||||||
|
|
||||||
|
-- FlashCode <flashcode@flashtux.org> Sun, 05 Oct 2003 12:00:00 +0200
|
||||||
|
|
||||||
|
weechat (0.0.1-1) unstable; urgency=low
|
||||||
|
|
||||||
|
* First version.
|
||||||
|
|
||||||
-- FlashCode <flashcode@flashtux.org> Sat, 27 Sep 2003 12:00:00 +0200
|
-- FlashCode <flashcode@flashtux.org> Sat, 27 Sep 2003 12:00:00 +0200
|
||||||
|
|||||||
Vendored
+1
-1
@@ -1 +1 @@
|
|||||||
7
|
5
|
||||||
|
|||||||
Vendored
+28
-97
@@ -1,128 +1,59 @@
|
|||||||
Source: weechat
|
Source: weechat
|
||||||
Section: net
|
Section: net
|
||||||
Priority: optional
|
Priority: optional
|
||||||
Maintainer: Emmanuel Bouthenot <kolter@debian.org>
|
Maintainer: Sebastien Helleu <flashcode@flashtux.org>
|
||||||
Build-Depends: debhelper (>= 7.0.50), cmake, libncursesw5-dev,
|
Uploaders: Julien Louis <ptitlouis@sysif.net>
|
||||||
ruby1.9.1, ruby1.9.1-dev, libperl-dev, python-dev, libaspell-dev, liblua5.1-0-dev,
|
Build-Depends-Indep: xsltproc, docbook-xsl, docbook-xml
|
||||||
tcl8.5-dev, guile-2.0-dev, libcurl4-gnutls-dev, libgcrypt11-dev, libgnutls-dev,
|
Build-Depends: cdbs, debhelper (>= 5), libncursesw5-dev, ruby, ruby1.8-dev, libperl-dev, python-dev, libaspell-dev, liblualib50-dev, libgnutls-dev, libtool, dpkg-dev (>= 1.13.19)
|
||||||
zlib1g-dev, dpkg-dev (>= 1.13.19), pkg-config, asciidoc (>= 8.5), source-highlight,
|
Standards-Version: 3.7.2
|
||||||
xsltproc, docbook-xml, docbook-xsl
|
|
||||||
Standards-Version: 3.9.4
|
|
||||||
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
|
|
||||||
|
|
||||||
Package: weechat
|
Package: weechat
|
||||||
Architecture: all
|
Architecture: all
|
||||||
Depends: ${misc:Depends}, weechat-curses (>= ${source:Version})
|
Depends: weechat-common (= ${source:Version}), weechat-curses (>= ${binary:Version})
|
||||||
Suggests: weechat-doc (= ${source:Version})
|
Description: Fast, light and extensible IRC client
|
||||||
Description: Fast, light and extensible chat client
|
WeeChat (Wee Enhanced Environment for Chat) is a fast and light IRC 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.
|
for many operating systems. Everything can be done with a keyboard.
|
||||||
It is customizable and extensible with plugins/scripts, and includes:
|
It is customizable and extensible with plugins/scripts, and includes:
|
||||||
- support of IRC protocol (native)
|
|
||||||
- support of XMPP/Jabber protocol (with additional script)
|
|
||||||
- nicklist
|
- nicklist
|
||||||
- smart hotlist
|
- smart hotlist
|
||||||
|
- infobar with highlight notification
|
||||||
- horizontal and vertical split
|
- horizontal and vertical split
|
||||||
- double charset support (decode/encode)
|
- double charset support (decode/encode)
|
||||||
- FIFO pipe for remote control
|
- 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!
|
- and much more!
|
||||||
|
.
|
||||||
|
Homepage: http://weechat.flashtux.org/
|
||||||
|
|
||||||
Package: weechat-curses
|
Package: weechat-curses
|
||||||
Architecture: any
|
Architecture: any
|
||||||
Depends: ${misc:Depends}, ${shlibs:Depends}, weechat-core (= ${binary:Version})
|
Depends: ${shlibs:Depends}, weechat-common (= ${source:Version})
|
||||||
Conflicts: weechat-common
|
|
||||||
Breaks: weechat-scripts (<= 20090221-1)
|
|
||||||
Recommends: weechat-plugins (= ${binary:Version})
|
Recommends: weechat-plugins (= ${binary:Version})
|
||||||
Suggests: weechat-doc (= ${source:Version})
|
Description: Fast, light and extensible IRC client
|
||||||
Description: Fast, light and extensible chat client - console client
|
WeeChat (Wee Enhanced Environment for Chat) is a fast and light IRC 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.
|
for many operating systems. Everything can be done with a keyboard.
|
||||||
It is customizable and extensible with plugins/scripts, and includes:
|
It is customizable and extensible with plugins/scripts, and includes:
|
||||||
- support of IRC protocol (native)
|
|
||||||
- support of XMPP/Jabber protocol (with additional script)
|
|
||||||
- nicklist
|
- nicklist
|
||||||
- smart hotlist
|
- smart hotlist
|
||||||
|
- infobar with highlight notification
|
||||||
- horizontal and vertical split
|
- horizontal and vertical split
|
||||||
- double charset support (decode/encode)
|
- double charset support (decode/encode)
|
||||||
- FIFO pipe for remote control
|
- 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!
|
- and much more!
|
||||||
.
|
.
|
||||||
This package provides the console client (ncurses).
|
Homepage: http://weechat.flashtux.org/
|
||||||
|
|
||||||
Package: weechat-core
|
Package: weechat-common
|
||||||
Architecture: any
|
Architecture: all
|
||||||
Depends: ${misc:Depends}, ${shlibs:Depends}
|
Replaces: weechat
|
||||||
Replaces: weechat-common, weechat-plugins (<< 0.3.0)
|
Recommends: weechat-curses
|
||||||
Suggests: weechat-doc (= ${source:Version})
|
Description: Common files for WeeChat
|
||||||
Description: Fast, light and extensible chat client - core files
|
Documentation, examples, and locale files for WeeChat - fast, light and
|
||||||
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
|
extensible IRC client. It is useless without weechat-curses.
|
||||||
for many operating systems. Everything can be done with a keyboard.
|
|
||||||
.
|
|
||||||
This package provides core plugins and locales files for WeeChat. It
|
|
||||||
currently ships the following plugins: alias, xfer, irc, charset and
|
|
||||||
logger. It is useless without weechat-curses.
|
|
||||||
|
|
||||||
Package: weechat-plugins
|
Package: weechat-plugins
|
||||||
Architecture: any
|
Architecture: any
|
||||||
Depends: ${misc:Depends}, ${shlibs:Depends}, weechat-curses (= ${binary:Version})
|
Depends: ${shlibs:Depends}
|
||||||
Suggests: weechat-scripts (>> 20090221-1)
|
Suggests: weechat-scripts
|
||||||
Description: Fast, light and extensible chat client - plugins
|
Description: Plugins for WeeChat
|
||||||
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
|
This package provides some plugins to enhance weechat with scripting languages
|
||||||
for many operating systems. Everything can be done with a keyboard.
|
such as perl python or ruby.
|
||||||
.
|
|
||||||
This package provides some plugins to enhance WeeChat. It currently
|
|
||||||
ships the following plugins:
|
|
||||||
- Perl, Python, Ruby, Lua, Tcl and Scheme scripting
|
|
||||||
- scripts manager
|
|
||||||
- Spell checking (thanks to aspell)
|
|
||||||
- FIFO pipe for remote control
|
|
||||||
- IRC proxy
|
|
||||||
- Realtime input/output changes through regular expressions
|
|
||||||
|
|
||||||
Package: weechat-doc
|
|
||||||
Section: doc
|
|
||||||
Architecture: all
|
|
||||||
Depends: ${misc:Depends}
|
|
||||||
Description: Fast, light and extensible chat client - documentation
|
|
||||||
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
|
|
||||||
for many operating systems. Everything can be done with a keyboard.
|
|
||||||
.
|
|
||||||
This package contains the html documentation for WeeChat.
|
|
||||||
|
|
||||||
Package: weechat-dev
|
|
||||||
Section: devel
|
|
||||||
Architecture: all
|
|
||||||
Depends: ${misc:Depends}
|
|
||||||
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.
|
|
||||||
.
|
|
||||||
This package contains the headers needed to build plugins.
|
|
||||||
|
|
||||||
Package: weechat-dbg
|
|
||||||
Section: debug
|
|
||||||
Priority: extra
|
|
||||||
Architecture: any
|
|
||||||
Depends: ${misc:Depends}, weechat-curses (= ${binary:Version}) |
|
|
||||||
weechat-core (= ${binary:Version}), weechat-plugins (= ${binary:Version})
|
|
||||||
Description: Fast, light and extensible chat client - debugging symbols
|
|
||||||
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
|
|
||||||
for many operating systems. Everything can be done with a keyboard.
|
|
||||||
.
|
|
||||||
This package contains gdb debugging symbols for the WeeChat packages.
|
|
||||||
|
|||||||
Vendored
+16
-29
@@ -1,32 +1,19 @@
|
|||||||
Format: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=174
|
This package was debianized by FlashCode <flashcode@flashtux.org> on
|
||||||
Upstream-Name: weechat
|
Sat, 21 May 2005 08:00:00 +0200.
|
||||||
Upstream-Contact: Sebastien Helleu <flashcode@flashtux.org>
|
|
||||||
Source: http://weechat.org/
|
|
||||||
|
|
||||||
Files: *
|
It was downloaded from http://weechat.flashtux.org/download
|
||||||
Copyright: 2003-2013, Sebastien Helleu <flashcode@flashtux.org>
|
|
||||||
2005-2009, Emmanuel Bouthenot <kolter@openics.org>
|
|
||||||
2008-2009, Dmitry Kobylin <fnfal@academ.tsc.ru>
|
|
||||||
License: GPL-3+
|
|
||||||
|
|
||||||
Files: debian/*
|
Upstream Authors:
|
||||||
Copyright: 2005-2008, Julien Louis <ptitlouis@sysif.net>
|
- FlashCode <flashcode@flashtux.org>
|
||||||
2008-2012, Emmanuel Bouthenot <kolter@openics.org>
|
- kolter <kolter@free.fr>
|
||||||
License: GPL-3+
|
|
||||||
|
|
||||||
License: GPL-3+
|
Copyright:
|
||||||
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
|
This program is free software; you can redistribute it and/or modify
|
||||||
Free Software Foundation, either version 3 of the License, or (at your
|
it under the terms of the GNU General Public License as published by
|
||||||
option) any later version.
|
the Free Software Foundation; either version 2 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
|
On Debian systems, the complete text of the GNU General Public
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
License, Version 2 can be found in the file
|
||||||
General Public License for more details.
|
/usr/share/common-licenses/GPL
|
||||||
.
|
|
||||||
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
|
|
||||||
|
|||||||
Vendored
+1
@@ -0,0 +1 @@
|
|||||||
|
weechat-curses: menu-icon-missing /usr/share/pixmaps/weechat.xpm
|
||||||
Vendored
+27
-35
@@ -1,45 +1,37 @@
|
|||||||
#!/usr/bin/make -f
|
#!/usr/bin/make -f
|
||||||
|
# Sample debian/rules that uses cdbs. Originaly written by Robert Millan.
|
||||||
|
# This file is public domain.
|
||||||
|
|
||||||
# Default build flags
|
DEB_AUTO_CLEANUP_RCS := yes
|
||||||
CFLAGS = -g -O2
|
|
||||||
LDFLAGS = -Wl,-Bsymbolic-functions
|
|
||||||
|
|
||||||
# dpkg >= 1.16.1 provides enhanced build flags (hardening features, etc.)
|
# Add here any variable or target overrides you need
|
||||||
DPKG_EXPORT_BUILDFLAGS = 1
|
|
||||||
-include /usr/share/dpkg/buildflags.mk
|
|
||||||
|
|
||||||
BUILDDIR = builddir
|
DEB_CONFIGURE_USER_FLAGS := --with-debug=0
|
||||||
|
DEB_STRIP_EXCLUDE := libperl.a
|
||||||
|
DEB_DH_INSTALL_SOURCEDIR := $(CURDIR)/debian/tmp
|
||||||
|
DEB_INSTALL_DOCS_weechat-common := FAQ FAQ.fr
|
||||||
|
DEB_DH_MAKESHLIBS_ARGS_weechat-plugins := -n
|
||||||
|
|
||||||
$(BUILDDIR)/Makefile:
|
DEB_HOST_ARCH_OS := $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
|
||||||
mkdir -p $(BUILDDIR)
|
|
||||||
cd $(BUILDDIR) && \
|
|
||||||
cmake .. \
|
|
||||||
-DENABLE_MAN:BOOL=ON \
|
|
||||||
-DENABLE_DOC:BOOL=ON \
|
|
||||||
-DCMAKE_INSTALL_PREFIX:FILEPATH=/usr \
|
|
||||||
-DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo \
|
|
||||||
-DCMAKE_C_FLAGS_RELWITHDEBINFO:STRING="$(CFLAGS) -D_FORTIFY_SOURCE=2" \
|
|
||||||
-DCMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING="$(LDFLAGS)" \
|
|
||||||
-DCMAKE_SKIP_RPATH:BOOL=ON \
|
|
||||||
-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON
|
|
||||||
|
|
||||||
override_dh_auto_build: $(BUILDDIR)/Makefile
|
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
|
||||||
dh_auto_build
|
CFLAGS += -O0
|
||||||
|
else
|
||||||
|
CFLAGS += -O2
|
||||||
|
endif
|
||||||
|
ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
|
||||||
|
INSTALL_PROGRAM += -s
|
||||||
|
endif
|
||||||
|
|
||||||
# Create a symbolic link weechat-curses -> weechat
|
ifeq ($(DEB_HOST_ARCH_OS),hurd)
|
||||||
# This link is created for compatibility with old versions on /upgrade.
|
DEB_CONFIGURE_SCRIPT_ENV += LDFLAGS="-lpthread"
|
||||||
# It may be removed in future.
|
endif
|
||||||
override_dh_auto_install:
|
|
||||||
dh_auto_install
|
|
||||||
ln -s weechat $(CURDIR)/debian/weechat-curses/usr/bin/weechat-curses
|
|
||||||
|
|
||||||
override_dh_auto_configure:
|
include /usr/share/cdbs/1/class/autotools.mk
|
||||||
# the package also has autotools buildsys and
|
include /usr/share/cdbs/1/rules/debhelper.mk
|
||||||
# debhelper try to use it but that's not needed
|
|
||||||
echo
|
|
||||||
|
|
||||||
override_dh_strip:
|
install/weechat-common::
|
||||||
dh_strip --dbg-package=weechat-dbg
|
install -D -o root -g root -m 644 debian/weechat.xpm $(CURDIR)/debian/weechat-common/usr/share/pixmaps/weechat.xpm
|
||||||
|
|
||||||
%:
|
install/weechat-curses::
|
||||||
dh $@ --parallel --builddirectory=$(BUILDDIR)
|
install -D -o root -g root -m 644 debian/lintian-override $(CURDIR)/debian/weechat-curses/usr/share/lintian/overrides/weechat-curses
|
||||||
|
|||||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
|||||||
version=2
|
version=2
|
||||||
http://weechat.org/files/src/weechat-(\d.*)\.tar\.bz2
|
http://weechat.flashtux.org/download/weechat-(\d.*)\.tar\.bz2
|
||||||
|
|||||||
Vendored
+7
@@ -0,0 +1,7 @@
|
|||||||
|
AUTHORS
|
||||||
|
BUGS
|
||||||
|
FAQ
|
||||||
|
FAQ.fr
|
||||||
|
NEWS
|
||||||
|
README
|
||||||
|
TODO
|
||||||
Vendored
+2
@@ -0,0 +1,2 @@
|
|||||||
|
usr/share/locale/
|
||||||
|
usr/share/doc/weechat/html usr/share/doc/weechat-common
|
||||||
Vendored
-3
@@ -1,3 +0,0 @@
|
|||||||
AUTHORS
|
|
||||||
NEWS
|
|
||||||
README
|
|
||||||
Vendored
-6
@@ -1,6 +0,0 @@
|
|||||||
usr/share/locale/
|
|
||||||
usr/lib/weechat/plugins/alias.so
|
|
||||||
usr/lib/weechat/plugins/xfer.so
|
|
||||||
usr/lib/weechat/plugins/irc.so
|
|
||||||
usr/lib/weechat/plugins/charset.so
|
|
||||||
usr/lib/weechat/plugins/logger.so
|
|
||||||
Vendored
-1
@@ -1,2 +1 @@
|
|||||||
usr/bin
|
usr/bin
|
||||||
usr/share/pixmaps
|
|
||||||
|
|||||||
Vendored
+1
-4
@@ -1,4 +1 @@
|
|||||||
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
|
|
||||||
|
|||||||
Vendored
+1
@@ -0,0 +1 @@
|
|||||||
|
doc/weechat-curses.1
|
||||||
Vendored
+3
-3
@@ -1,4 +1,4 @@
|
|||||||
?package(weechat-curses):needs="text" section="Applications/Network/Communication" \
|
?package(weechat-curses):needs="text" section="Apps/Net" \
|
||||||
title="weechat" \
|
title="weechat-curses" \
|
||||||
icon="/usr/share/pixmaps/weechat.xpm" \
|
icon="/usr/share/pixmaps/weechat.xpm" \
|
||||||
command="/usr/bin/weechat"
|
command="/usr/bin/weechat-curses"
|
||||||
|
|||||||
Vendored
-1
@@ -1 +0,0 @@
|
|||||||
usr/include/weechat
|
|
||||||
Vendored
-2
@@ -1,2 +0,0 @@
|
|||||||
usr/include/weechat/*
|
|
||||||
usr/lib/pkgconfig/*
|
|
||||||
Vendored
-10
@@ -1,10 +0,0 @@
|
|||||||
Document: weechat-dev-en
|
|
||||||
Title: WeeChat Developer's Guide (English)
|
|
||||||
Author: Sebastien Helleu
|
|
||||||
Abstract: This manual describes WeeChat internals and
|
|
||||||
how to contribute to WeeChat (English version).
|
|
||||||
Section: Network/Communication
|
|
||||||
|
|
||||||
Format: HTML
|
|
||||||
Index: /usr/share/doc/weechat-doc/html/weechat_dev.en.html
|
|
||||||
Files: /usr/share/doc/weechat-doc/html/weechat_dev.en.html
|
|
||||||
Vendored
-10
@@ -1,10 +0,0 @@
|
|||||||
Document: weechat-faq-de
|
|
||||||
Title: WeeChat FAQ (German)
|
|
||||||
Author: Sebastien Helleu
|
|
||||||
Abstract: This document answers frequently asked questions
|
|
||||||
about the WeeChat IRC client (German version).
|
|
||||||
Section: Network/Communication
|
|
||||||
|
|
||||||
Format: HTML
|
|
||||||
Index: /usr/share/doc/weechat-doc/html/weechat_faq.de.html
|
|
||||||
Files: /usr/share/doc/weechat-doc/html/weechat_faq.de.html
|
|
||||||
Vendored
-10
@@ -1,10 +0,0 @@
|
|||||||
Document: weechat-faq-en
|
|
||||||
Title: WeeChat FAQ (English)
|
|
||||||
Author: Sebastien Helleu
|
|
||||||
Abstract: This document answers frequently asked questions
|
|
||||||
about the WeeChat IRC client (English version).
|
|
||||||
Section: Network/Communication
|
|
||||||
|
|
||||||
Format: HTML
|
|
||||||
Index: /usr/share/doc/weechat-doc/html/weechat_faq.en.html
|
|
||||||
Files: /usr/share/doc/weechat-doc/html/weechat_faq.en.html
|
|
||||||
Vendored
-10
@@ -1,10 +0,0 @@
|
|||||||
Document: weechat-faq-fr
|
|
||||||
Title: WeeChat FAQ (French)
|
|
||||||
Author: Sebastien Helleu
|
|
||||||
Abstract: This document answers frequently asked questions
|
|
||||||
about the WeeChat IRC client (French version).
|
|
||||||
Section: Network/Communication
|
|
||||||
|
|
||||||
Format: HTML
|
|
||||||
Index: /usr/share/doc/weechat-doc/html/weechat_faq.fr.html
|
|
||||||
Files: /usr/share/doc/weechat-doc/html/weechat_faq.fr.html
|
|
||||||
Vendored
-10
@@ -1,10 +0,0 @@
|
|||||||
Document: weechat-faq-it
|
|
||||||
Title: WeeChat FAQ (Italian)
|
|
||||||
Author: Sebastien Helleu
|
|
||||||
Abstract: This document answers frequently asked questions
|
|
||||||
about the WeeChat IRC client (Italian version).
|
|
||||||
Section: Network/Communication
|
|
||||||
|
|
||||||
Format: HTML
|
|
||||||
Index: /usr/share/doc/weechat-doc/html/weechat_faq.it.html
|
|
||||||
Files: /usr/share/doc/weechat-doc/html/weechat_faq.it.html
|
|
||||||
Vendored
-10
@@ -1,10 +0,0 @@
|
|||||||
Document: weechat-faq-ja
|
|
||||||
Title: WeeChat FAQ (Japanese)
|
|
||||||
Author: Sebastien Helleu
|
|
||||||
Abstract: This document answers frequently asked questions
|
|
||||||
about the WeeChat IRC client (Japanese version).
|
|
||||||
Section: Network/Communication
|
|
||||||
|
|
||||||
Format: HTML
|
|
||||||
Index: /usr/share/doc/weechat-doc/html/weechat_faq.ja.html
|
|
||||||
Files: /usr/share/doc/weechat-doc/html/weechat_faq.ja.html
|
|
||||||
Vendored
-10
@@ -1,10 +0,0 @@
|
|||||||
Document: weechat-faq-pl
|
|
||||||
Title: WeeChat FAQ (Polish)
|
|
||||||
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
|
|
||||||
-10
@@ -1,10 +0,0 @@
|
|||||||
Document: weechat-plugin-en
|
|
||||||
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
|
|
||||||
-10
@@ -1,10 +0,0 @@
|
|||||||
Document: weechat-plugin-fr
|
|
||||||
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
|
|
||||||
-10
@@ -1,10 +0,0 @@
|
|||||||
Document: weechat-plugin-it
|
|
||||||
Title: WeeChat plugins API (Italian)
|
|
||||||
Author: Sebastien Helleu
|
|
||||||
Abstract: This document describes the API to create plugins
|
|
||||||
for WeeChat (Italian version).
|
|
||||||
Section: Network/Communication
|
|
||||||
|
|
||||||
Format: HTML
|
|
||||||
Index: /usr/share/doc/weechat-doc/html/weechat_plugin_api.it.html
|
|
||||||
Files: /usr/share/doc/weechat-doc/html/weechat_plugin_api.it.html
|
|
||||||
-9
@@ -1,9 +0,0 @@
|
|||||||
Document: weechat-quickstart-de
|
|
||||||
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
|
|
||||||
-9
@@ -1,9 +0,0 @@
|
|||||||
Document: weechat-quickstart-en
|
|
||||||
Title: WeeChat Quickstart (English)
|
|
||||||
Author: Sebastien Helleu
|
|
||||||
Abstract: A short HowTo for new WeeChat users (English version).
|
|
||||||
Section: Network/Communication
|
|
||||||
|
|
||||||
Format: HTML
|
|
||||||
Index: /usr/share/doc/weechat-doc/html/weechat_quickstart.en.html
|
|
||||||
Files: /usr/share/doc/weechat-doc/html/weechat_quickstart.en.html
|
|
||||||
-9
@@ -1,9 +0,0 @@
|
|||||||
Document: weechat-quickstart-es
|
|
||||||
Title: WeeChat Quickstart (Spanish)
|
|
||||||
Author: Sebastien Helleu
|
|
||||||
Abstract: A short HowTo for new WeeChat users (Spanish version).
|
|
||||||
Section: Network/Communication
|
|
||||||
|
|
||||||
Format: HTML
|
|
||||||
Index: /usr/share/doc/weechat-doc/html/weechat_quickstart.es.html
|
|
||||||
Files: /usr/share/doc/weechat-doc/html/weechat_quickstart.es.html
|
|
||||||
-9
@@ -1,9 +0,0 @@
|
|||||||
Document: weechat-quickstart-fr
|
|
||||||
Title: WeeChat Quickstart (French)
|
|
||||||
Author: Sebastien Helleu
|
|
||||||
Abstract: A short HowTo for new WeeChat users (French version).
|
|
||||||
Section: Network/Communication
|
|
||||||
|
|
||||||
Format: HTML
|
|
||||||
Index: /usr/share/doc/weechat-doc/html/weechat_quickstart.fr.html
|
|
||||||
Files: /usr/share/doc/weechat-doc/html/weechat_quickstart.fr.html
|
|
||||||
-9
@@ -1,9 +0,0 @@
|
|||||||
Document: weechat-quickstart-it
|
|
||||||
Title: WeeChat Quickstart (Italian)
|
|
||||||
Author: Sebastien Helleu
|
|
||||||
Abstract: A short HowTo for new WeeChat users (Italian version).
|
|
||||||
Section: Network/Communication
|
|
||||||
|
|
||||||
Format: HTML
|
|
||||||
Index: /usr/share/doc/weechat-doc/html/weechat_quickstart.it.html
|
|
||||||
Files: /usr/share/doc/weechat-doc/html/weechat_quickstart.it.html
|
|
||||||
-9
@@ -1,9 +0,0 @@
|
|||||||
Document: weechat-quickstart-ja
|
|
||||||
Title: WeeChat Quickstart (Japanese)
|
|
||||||
Author: Sebastien Helleu
|
|
||||||
Abstract: A short HowTo for new WeeChat users (Japanese version).
|
|
||||||
Section: Network/Communication
|
|
||||||
|
|
||||||
Format: HTML
|
|
||||||
Index: /usr/share/doc/weechat-doc/html/weechat_quickstart.ja.html
|
|
||||||
Files: /usr/share/doc/weechat-doc/html/weechat_quickstart.ja.html
|
|
||||||
-9
@@ -1,9 +0,0 @@
|
|||||||
Document: weechat-quickstart-pl
|
|
||||||
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
|
|
||||||
-9
@@ -1,9 +0,0 @@
|
|||||||
Document: weechat-quickstart-ru
|
|
||||||
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
|
|
||||||
-10
@@ -1,10 +0,0 @@
|
|||||||
Document: weechat-relay-protocol-en
|
|
||||||
Title: WeeChat Relay Protocol (English)
|
|
||||||
Author: Sebastien Helleu
|
|
||||||
Abstract: This manual describes WeeChat Relay Protocol, used by
|
|
||||||
remote GUI to communicate with Relay plugin (English version).
|
|
||||||
Section: Network/Communication
|
|
||||||
|
|
||||||
Format: HTML
|
|
||||||
Index: /usr/share/doc/weechat-doc/html/weechat_relay_protocol.en.html
|
|
||||||
Files: /usr/share/doc/weechat-doc/html/weechat_relay_protocol.en.html
|
|
||||||
-10
@@ -1,10 +0,0 @@
|
|||||||
Document: weechat-scripting-de
|
|
||||||
Title: WeeChat Scripting Guide (German)
|
|
||||||
Author: Sebastien Helleu
|
|
||||||
Abstract: This document describes the API to create scripts
|
|
||||||
for WeeChat (German version).
|
|
||||||
Section: Network/Communication
|
|
||||||
|
|
||||||
Format: HTML
|
|
||||||
Index: /usr/share/doc/weechat-doc/html/weechat_scripting.de.html
|
|
||||||
Files: /usr/share/doc/weechat-doc/html/weechat_scripting.de.html
|
|
||||||
-10
@@ -1,10 +0,0 @@
|
|||||||
Document: weechat-scripting-en
|
|
||||||
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
|
|
||||||
-10
@@ -1,10 +0,0 @@
|
|||||||
Document: weechat-scripting-fr
|
|
||||||
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
|
|
||||||
-10
@@ -1,10 +0,0 @@
|
|||||||
Document: weechat-scripting-it
|
|
||||||
Title: WeeChat Scripting Guide (Italian)
|
|
||||||
Author: Sebastien Helleu
|
|
||||||
Abstract: This document describes the API to create scripts
|
|
||||||
for WeeChat (Italian version).
|
|
||||||
Section: Network/Communication
|
|
||||||
|
|
||||||
Format: HTML
|
|
||||||
Index: /usr/share/doc/weechat-doc/html/weechat_scripting.it.html
|
|
||||||
Files: /usr/share/doc/weechat-doc/html/weechat_scripting.it.html
|
|
||||||
-10
@@ -1,10 +0,0 @@
|
|||||||
Document: weechat-scripting-ja
|
|
||||||
Title: WeeChat Scripting Guide (Japanese)
|
|
||||||
Author: Sebastien Helleu
|
|
||||||
Abstract: This document describes the API to create scripts
|
|
||||||
for WeeChat (Japanese version).
|
|
||||||
Section: Network/Communication
|
|
||||||
|
|
||||||
Format: HTML
|
|
||||||
Index: /usr/share/doc/weechat-doc/html/weechat_scripting.ja.html
|
|
||||||
Files: /usr/share/doc/weechat-doc/html/weechat_scripting.ja.html
|
|
||||||
-10
@@ -1,10 +0,0 @@
|
|||||||
Document: weechat-scripting-pl
|
|
||||||
Title: WeeChat Scripting Guide (Polish)
|
|
||||||
Author: Sebastien Helleu
|
|
||||||
Abstract: This document describes the API to create scripts
|
|
||||||
for WeeChat (Polish version).
|
|
||||||
Section: Network/Communication
|
|
||||||
|
|
||||||
Format: HTML
|
|
||||||
Index: /usr/share/doc/weechat-doc/html/weechat_scripting.pl.html
|
|
||||||
Files: /usr/share/doc/weechat-doc/html/weechat_scripting.pl.html
|
|
||||||
-10
@@ -1,10 +0,0 @@
|
|||||||
Document: weechat-tester-de
|
|
||||||
Title: WeeChat Tester's Guide (German)
|
|
||||||
Author: Sebastien Helleu
|
|
||||||
Abstract: This document describes how to test and report
|
|
||||||
bugs against the WeeChat IRC Client (German version).
|
|
||||||
Section: Network/Communication
|
|
||||||
|
|
||||||
Format: HTML
|
|
||||||
Index: /usr/share/doc/weechat-doc/html/weechat_tester.de.html
|
|
||||||
Files: /usr/share/doc/weechat-doc/html/weechat_tester.de.html
|
|
||||||
-10
@@ -1,10 +0,0 @@
|
|||||||
Document: weechat-tester-en
|
|
||||||
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: HTML
|
|
||||||
Index: /usr/share/doc/weechat-doc/html/weechat_tester.en.html
|
|
||||||
Files: /usr/share/doc/weechat-doc/html/weechat_tester.en.html
|
|
||||||
-10
@@ -1,10 +0,0 @@
|
|||||||
Document: weechat-tester-fr
|
|
||||||
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: HTML
|
|
||||||
Index: /usr/share/doc/weechat-doc/html/weechat_tester.fr.html
|
|
||||||
Files: /usr/share/doc/weechat-doc/html/weechat_tester.fr.html
|
|
||||||
-10
@@ -1,10 +0,0 @@
|
|||||||
Document: weechat-tester-it
|
|
||||||
Title: WeeChat Tester's Guide (Italian)
|
|
||||||
Author: Sebastien Helleu
|
|
||||||
Abstract: This document describes how to test and report
|
|
||||||
bugs against the WeeChat IRC Client (Italian version).
|
|
||||||
Section: Network/Communication
|
|
||||||
|
|
||||||
Format: HTML
|
|
||||||
Index: /usr/share/doc/weechat-doc/html/weechat_tester.it.html
|
|
||||||
Files: /usr/share/doc/weechat-doc/html/weechat_tester.it.html
|
|
||||||
-10
@@ -1,10 +0,0 @@
|
|||||||
Document: weechat-tester-ja
|
|
||||||
Title: WeeChat Tester's Guide (Japanese)
|
|
||||||
Author: Sebastien Helleu
|
|
||||||
Abstract: This document describes how to test and report
|
|
||||||
bugs against the WeeChat IRC Client (Japanese version).
|
|
||||||
Section: Network/Communication
|
|
||||||
|
|
||||||
Format: HTML
|
|
||||||
Index: /usr/share/doc/weechat-doc/html/weechat_tester.ja.html
|
|
||||||
Files: /usr/share/doc/weechat-doc/html/weechat_tester.ja.html
|
|
||||||
-10
@@ -1,10 +0,0 @@
|
|||||||
Document: weechat-tester-pl
|
|
||||||
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
|
|
||||||
Vendored
-10
@@ -1,10 +0,0 @@
|
|||||||
Document: weechat-user-de
|
|
||||||
Title: WeeChat User's Guide (German)
|
|
||||||
Author: Sebastien Helleu
|
|
||||||
Abstract: This manual describes how to use the WeeChat
|
|
||||||
IRC client (German version).
|
|
||||||
Section: Network/Communication
|
|
||||||
|
|
||||||
Format: HTML
|
|
||||||
Index: /usr/share/doc/weechat-doc/html/weechat_user.de.html
|
|
||||||
Files: /usr/share/doc/weechat-doc/html/weechat_user.de.html
|
|
||||||
Vendored
-10
@@ -1,10 +0,0 @@
|
|||||||
Document: weechat-user-en
|
|
||||||
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
|
|
||||||
Vendored
-10
@@ -1,10 +0,0 @@
|
|||||||
Document: weechat-user-fr
|
|
||||||
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
|
|
||||||
Vendored
-10
@@ -1,10 +0,0 @@
|
|||||||
Document: weechat-user-it
|
|
||||||
Title: WeeChat User's Guide (Italian)
|
|
||||||
Author: Sebastien Helleu
|
|
||||||
Abstract: This manual describes how to use the WeeChat
|
|
||||||
IRC client (Italian version).
|
|
||||||
Section: Network/Communication
|
|
||||||
|
|
||||||
Format: HTML
|
|
||||||
Index: /usr/share/doc/weechat-doc/html/weechat_user.it.html
|
|
||||||
Files: /usr/share/doc/weechat-doc/html/weechat_user.it.html
|
|
||||||
Vendored
-10
@@ -1,10 +0,0 @@
|
|||||||
Document: weechat-user-ja
|
|
||||||
Title: WeeChat User's Guide (Japanese)
|
|
||||||
Author: Sebastien Helleu
|
|
||||||
Abstract: This manual describes how to use the WeeChat
|
|
||||||
IRC client (Japanese version).
|
|
||||||
Section: Network/Communication
|
|
||||||
|
|
||||||
Format: HTML
|
|
||||||
Index: /usr/share/doc/weechat-doc/html/weechat_user.ja.html
|
|
||||||
Files: /usr/share/doc/weechat-doc/html/weechat_user.ja.html
|
|
||||||
Vendored
-1
@@ -1 +0,0 @@
|
|||||||
usr/share/doc/weechat/*.html usr/share/doc/weechat-doc/html
|
|
||||||
Vendored
-1
@@ -1 +0,0 @@
|
|||||||
usr/share/doc/weechat-doc/html usr/share/doc/weechat/html
|
|
||||||
Vendored
+1
@@ -0,0 +1 @@
|
|||||||
|
usr/bin
|
||||||
Vendored
+1
@@ -0,0 +1 @@
|
|||||||
|
usr/bin/weechat-gtk
|
||||||
Vendored
+1
-11
@@ -1,11 +1 @@
|
|||||||
usr/lib/weechat/plugins/aspell.so
|
usr/lib/weechat/plugins/*so*
|
||||||
usr/lib/weechat/plugins/fifo.so
|
|
||||||
usr/lib/weechat/plugins/guile.so
|
|
||||||
usr/lib/weechat/plugins/perl.so
|
|
||||||
usr/lib/weechat/plugins/python.so
|
|
||||||
usr/lib/weechat/plugins/ruby.so
|
|
||||||
usr/lib/weechat/plugins/lua.so
|
|
||||||
usr/lib/weechat/plugins/tcl.so
|
|
||||||
usr/lib/weechat/plugins/script.so
|
|
||||||
usr/lib/weechat/plugins/relay.so
|
|
||||||
usr/lib/weechat/plugins/rmodifier.so
|
|
||||||
|
|||||||
Vendored
+295
-397
@@ -1,397 +1,295 @@
|
|||||||
/* XPM */
|
/* XPM */
|
||||||
static char * C:\temp\weechat_xpm[] = {
|
static char *weechat[] = {
|
||||||
"32 32 362 2",
|
/* columns rows colors chars-per-pixel */
|
||||||
" c None",
|
"32 32 257 2",
|
||||||
". c #117529",
|
" c #000000",
|
||||||
"+ c #0E7527",
|
". c #0A0904",
|
||||||
"@ c #0A7424",
|
"X c #080813",
|
||||||
"# c #057323",
|
"o c #080716",
|
||||||
"$ c #016F20",
|
"O c #110D08",
|
||||||
"% c #5DAA58",
|
"+ c #150A15",
|
||||||
"& c #5DB059",
|
"@ c #1A0D1A",
|
||||||
"* c #5AB158",
|
"# c #19150C",
|
||||||
"= c #57B157",
|
"$ c #151517",
|
||||||
"- c #54AF55",
|
"% c #1F1F32",
|
||||||
"; c #4FAE53",
|
"& c #13132C",
|
||||||
"> c #4BAE52",
|
"* c #260A26",
|
||||||
", c #48AD50",
|
"= c #351935",
|
||||||
"' c #44AC4E",
|
"- c #271927",
|
||||||
") c #3FAB4C",
|
"; c #262608",
|
||||||
"! c #3BA849",
|
": c #322C0C",
|
||||||
"~ c #36A646",
|
"> c #36380B",
|
||||||
"{ c #30A343",
|
", c #353316",
|
||||||
"] c #2CA040",
|
"< c #232516",
|
||||||
"^ c #279D3D",
|
"1 c #242224",
|
||||||
"/ c #229A3A",
|
"2 c #292935",
|
||||||
"( c #1D9837",
|
"3 c #2D302D",
|
||||||
"_ c #189534",
|
"4 c #2D3330",
|
||||||
": c #129232",
|
"5 c #3B333B",
|
||||||
"< c #0D8F2E",
|
"6 c #1D1C4A",
|
||||||
"[ c #088D2C",
|
"7 c #110F7B",
|
||||||
"} c #03691F",
|
"8 c #0E0D65",
|
||||||
"| c #64AB5B",
|
"9 c #221F60",
|
||||||
"1 c #6FC468",
|
"0 c #282948",
|
||||||
"2 c #6AC265",
|
"q c #292855",
|
||||||
"3 c #66BF62",
|
"w c #333447",
|
||||||
"4 c #62BC5F",
|
"e c #383855",
|
||||||
"5 c #5DBA5D",
|
"r c #2A2978",
|
||||||
"6 c #58B85A",
|
"t c #302F70",
|
||||||
"7 c #54B557",
|
"y c #353465",
|
||||||
"8 c #4FB254",
|
"u c #363574",
|
||||||
"9 c #4AB052",
|
"i c #2A286E",
|
||||||
"0 c #45AD4F",
|
"p c #2E4110",
|
||||||
"a c #40AB4C",
|
"a c #39410C",
|
||||||
"b c #3CA849",
|
"s c #3E4C11",
|
||||||
"c c #37A647",
|
"d c #3F5220",
|
||||||
"d c #32A344",
|
"f c #394041",
|
||||||
"e c #2DA041",
|
"g c #3E4753",
|
||||||
"f c #289D3D",
|
"h c #493F11",
|
||||||
"g c #239A3B",
|
"j c #4F1050",
|
||||||
"h c #1E9838",
|
"k c #4A0F4B",
|
||||||
"i c #199535",
|
"l c #572657",
|
||||||
"j c #139232",
|
"z c #4D374D",
|
||||||
"k c #0F8F2F",
|
"x c #403F6F",
|
||||||
"l c #098B2B",
|
"c c #640964",
|
||||||
"m c #035018",
|
"v c #641E64",
|
||||||
"n c #68AE5E",
|
"b c #701770",
|
||||||
"o c #76C96B",
|
"n c #790A79",
|
||||||
"p c #70C568",
|
"m c #683C68",
|
||||||
"q c #6CC365",
|
"M c #623662",
|
||||||
"r c #67C062",
|
"N c #6B2B6B",
|
||||||
"s c #62BD60",
|
"B c #454A08",
|
||||||
"t c #5FBC5E",
|
"V c #484C15",
|
||||||
"u c #5ABA5B",
|
"C c #554B16",
|
||||||
"v c #55B859",
|
"Z c #58560A",
|
||||||
"w c #51B656",
|
"A c #595B0B",
|
||||||
"x c #4CB354",
|
"S c #545715",
|
||||||
"y c #47B051",
|
"D c #4C5712",
|
||||||
"z c #42AD4E",
|
"F c #4D5034",
|
||||||
"A c #3EAA4B",
|
"G c #504F24",
|
||||||
"B c #38A647",
|
"H c #4E710E",
|
||||||
"C c #32A243",
|
"J c #4D7C1C",
|
||||||
"D c #2E9D40",
|
"K c #5B6713",
|
||||||
"E c #28993C",
|
"L c #506B11",
|
||||||
"F c #239439",
|
"P c #546927",
|
||||||
"G c #1E9036",
|
"I c #506D2E",
|
||||||
"H c #188C32",
|
"U c #665B14",
|
||||||
"I c #13882F",
|
"Y c #696C0C",
|
||||||
"J c #0F842C",
|
"T c #68730D",
|
||||||
"K c #0A7C27",
|
"R c #6F7010",
|
||||||
"L c #629F57",
|
"E c #707128",
|
||||||
"M c #7BCC6F",
|
"W c #4D504D",
|
||||||
"N c #76C86B",
|
"Q c #46456A",
|
||||||
"O c #71C569",
|
"! c #4C4C7B",
|
||||||
"P c #6DC366",
|
"~ c #434577",
|
||||||
"Q c #69C163",
|
"^ c #554C69",
|
||||||
"R c #65C162",
|
"/ c #5B5A7D",
|
||||||
"S c #57AC56",
|
"( c #54547A",
|
||||||
"T c #3E803F",
|
") c #535964",
|
||||||
"U c #377539",
|
"_ c #567745",
|
||||||
"V c #316E34",
|
"` c #4D6B57",
|
||||||
"W c #2C6830",
|
"' c #5D6C78",
|
||||||
"X c #28602C",
|
"] c #587069",
|
||||||
"Y c #225928",
|
"[ c #6A487C",
|
||||||
"Z c #1D5124",
|
"{ c #6D576D",
|
||||||
"` c #1A4E22",
|
"} c #645475",
|
||||||
" . c #184C20",
|
"| c #76557A",
|
||||||
".. c #81CF72",
|
" . c #786678",
|
||||||
"+. c #7CCB6E",
|
".. c #70707D",
|
||||||
"@. c #77C86C",
|
"X. c #676768",
|
||||||
"#. c #72C76A",
|
"o. c #3F3E82",
|
||||||
"$. c #6EC467",
|
"O. c #2D2BAA",
|
||||||
"%. c #69C164",
|
"+. c #3D3BA4",
|
||||||
"&. c #549F51",
|
"@. c #3B39B9",
|
||||||
"*. c #71B062",
|
"#. c #484888",
|
||||||
"=. c #84D274",
|
"$. c #4A4C96",
|
||||||
"-. c #7FCF71",
|
"%. c #585885",
|
||||||
";. c #7ACD6F",
|
"&. c #595890",
|
||||||
">. c #76CB6C",
|
"*. c #555494",
|
||||||
",. c #72C869",
|
"=. c #4745A6",
|
||||||
"'. c #6CC465",
|
"-. c #4947B5",
|
||||||
"). c #1F391D",
|
";. c #514FBB",
|
||||||
"!. c #558DC1",
|
":. c #5A58BB",
|
||||||
"~. c #568EC3",
|
">. c #5C5BAF",
|
||||||
"{. c #568FC5",
|
",. c #755581",
|
||||||
"]. c #5790C7",
|
"<. c #605FB6",
|
||||||
"^. c #5892C8",
|
"1. c #6B6883",
|
||||||
"/. c #538ABE",
|
"2. c #68679B",
|
||||||
"(. c #5B98D0",
|
"3. c #7A7497",
|
||||||
"_. c #5C99D2",
|
"4. c #76698F",
|
||||||
":. c #5E9CD5",
|
"5. c #6968A6",
|
||||||
"<. c #609FDB",
|
"6. c #706FB5",
|
||||||
"[. c #61A1DC",
|
"7. c #7675BB",
|
||||||
"}. c #497440",
|
"8. c #6E6DB6",
|
||||||
"|. c #3F6638",
|
"9. c #4947C3",
|
||||||
"1. c #355930",
|
"0. c #5351C2",
|
||||||
"2. c #2C4A28",
|
"q. c #5D5BC0",
|
||||||
"3. c #213B1F",
|
"w. c #6B6ACC",
|
||||||
"4. c #609ED9",
|
"e. c #6361C7",
|
||||||
"5. c #63A4E2",
|
"r. c #7170C6",
|
||||||
"6. c #63A4E1",
|
"t. c #7877D2",
|
||||||
"7. c #5B96CE",
|
"y. c #56840C",
|
||||||
"8. c #64A6E4",
|
"u. c #6A8814",
|
||||||
"9. c #4878A4",
|
"i. c #63980B",
|
||||||
"0. c #426E96",
|
"p. c #748614",
|
||||||
"a. c #4F83B3",
|
"a. c #7F9C0D",
|
||||||
"b. c #4E82B2",
|
"s. c #749218",
|
||||||
"c. c #62A3DF",
|
"d. c #698F13",
|
||||||
"d. c #64A6E3",
|
"f. c #6C852A",
|
||||||
"e. c #274159",
|
"g. c #798C35",
|
||||||
"f. c #44729C",
|
"h. c #76912B",
|
||||||
"g. c #5B97CF",
|
"j. c #76B505",
|
||||||
"h. c #5B97D0",
|
"k. c #70A50F",
|
||||||
"i. c #5C98D0",
|
"l. c #7EA525",
|
||||||
"j. c #5C98D1",
|
"z. c #678946",
|
||||||
"k. c #5B97CE",
|
"x. c #A57A5A",
|
||||||
"l. c #64A5E2",
|
"c. c #9A1E9A",
|
||||||
"m. c #36597B",
|
"v. c #861B86",
|
||||||
"n. c #64A4E2",
|
"b. c #912B92",
|
||||||
"o. c #5A95CD",
|
"n. c #8A298A",
|
||||||
"p. c #5993CB",
|
"m. c #A030A0",
|
||||||
"q. c #64A5E3",
|
"M. c #864886",
|
||||||
"r. c #45729C",
|
"N. c #8F469E",
|
||||||
"s. c #63A4E3",
|
"B. c #975897",
|
||||||
"t. c #62A2E1",
|
"V. c #8A788A",
|
||||||
"u. c #62A1E1",
|
"C. c #936A93",
|
||||||
"v. c #61A1E1",
|
"Z. c #987599",
|
||||||
"w. c #609FE0",
|
"A. c #866892",
|
||||||
"x. c #5993D4",
|
"S. c #9470AB",
|
||||||
"y. c #5D9BDF",
|
"D. c #A25FA2",
|
||||||
"z. c #5D99DF",
|
"F. c #B16FB1",
|
||||||
"A. c #5C99DF",
|
"G. c #B07FB1",
|
||||||
"B. c #5B98DE",
|
"H. c #B776B7",
|
||||||
"C. c #4878B1",
|
"J. c #807FD0",
|
||||||
"D. c #63A3E5",
|
"K. c #A37AC2",
|
||||||
"E. c #609EE0",
|
"L. c #87880B",
|
||||||
"F. c #5F9DE0",
|
"P. c #888513",
|
||||||
"G. c #5F9DDF",
|
"I. c #869A0A",
|
||||||
"H. c #5E9BDF",
|
"U. c #8B9B14",
|
||||||
"I. c #5C99DC",
|
"Y. c #94970D",
|
||||||
"J. c #2B4666",
|
"T. c #9B9C13",
|
||||||
"K. c #4D7FBD",
|
"R. c #98961A",
|
||||||
"L. c #5A96DF",
|
"E. c #968D16",
|
||||||
"M. c #5A94DE",
|
"W. c #929D2F",
|
||||||
"N. c #5993DD",
|
"Q. c #82A90B",
|
||||||
"O. c #5992DD",
|
"!. c #8CAA06",
|
||||||
"P. c #5993E1",
|
"~. c #82B30A",
|
||||||
"Q. c #4069A0",
|
"^. c #84B706",
|
||||||
"R. c #365A8E",
|
"/. c #97A913",
|
||||||
"S. c #568EDF",
|
"(. c #96B90A",
|
||||||
"T. c #548ADB",
|
"). c #99B914",
|
||||||
"U. c #5489DB",
|
"_. c #91AB10",
|
||||||
"V. c #5389DB",
|
"`. c #A39A1C",
|
||||||
"W. c #5287DA",
|
"'. c #A09A3D",
|
||||||
"X. c #2E4D7C",
|
"]. c #A9AE05",
|
||||||
"Y. c #4C7DC1",
|
"[. c #A7AA16",
|
||||||
"Z. c #5891DE",
|
"{. c #A7B90B",
|
||||||
"`. c #568FDC",
|
"}. c #ACB712",
|
||||||
" + c #568EDC",
|
"|. c #BDBA18",
|
||||||
".+ c #568DDC",
|
" X c #B7B711",
|
||||||
"++ c #558CDC",
|
".X c #B0B726",
|
||||||
"@+ c #4F82CD",
|
"XX c #9A8B4B",
|
||||||
"#+ c #4D7ECD",
|
"oX c #9EC008",
|
||||||
"$+ c #5185DA",
|
"OX c #BCC40D",
|
||||||
"%+ c #5085DA",
|
"+X c #BCC90E",
|
||||||
"&+ c #5084DA",
|
"@X c #B1C707",
|
||||||
"*+ c #4F82D9",
|
"#X c #AEC90C",
|
||||||
"=+ c #5185DF",
|
"$X c #C4AE2A",
|
||||||
"-+ c #121E31",
|
"%X c #C4CB11",
|
||||||
";+ c #4370C2",
|
"&X c #C8D809",
|
||||||
">+ c #4C7CD9",
|
"*X c #CBD011",
|
||||||
",+ c #4A7BD7",
|
"=X c #D1CF1A",
|
||||||
"'+ c #4A7AD7",
|
"-X c #D1D50E",
|
||||||
")+ c #4978D7",
|
";X c #D7E803",
|
||||||
"!+ c #4877D6",
|
":X c #918197",
|
||||||
"~+ c #4E82D9",
|
">X c #858494",
|
||||||
"{+ c #4E81D9",
|
",X c #8987BA",
|
||||||
"]+ c #4E80D9",
|
"<X c #928BBB",
|
||||||
"^+ c #4E7FD9",
|
"1X c #9B9BA8",
|
||||||
"/+ c #4D7ED8",
|
"2X c #9B98B8",
|
||||||
"(+ c #4C7DDA",
|
"3X c #8784A3",
|
||||||
"_+ c #395FA4",
|
"4X c #A787A8",
|
||||||
":+ c #4775D2",
|
"5X c #AE9CAE",
|
||||||
"<+ c #4876D6",
|
"6X c #AC99B1",
|
||||||
"[+ c #4775D6",
|
"7X c #B988B9",
|
||||||
"}+ c #4773D6",
|
"8X c #BB92BC",
|
||||||
"|+ c #4674D7",
|
"9X c #B598B8",
|
||||||
"1+ c #3B62B7",
|
"0X c #A0A0A7",
|
||||||
"2+ c #436ED6",
|
"qX c #A6A6B7",
|
||||||
"3+ c #416CD4",
|
"wX c #8382C6",
|
||||||
"4+ c #416AD3",
|
"eX c #8382D4",
|
||||||
"5+ c #4069D3",
|
"rX c #8D8CD4",
|
||||||
"6+ c #406AD6",
|
"tX c #9C8CC7",
|
||||||
"7+ c #304FA2",
|
"yX c #908FD9",
|
||||||
"8+ c #375BA8",
|
"uX c #9493C6",
|
||||||
"9+ c #4673D5",
|
"iX c #9A99DB",
|
||||||
"0+ c #4572D5",
|
"pX c #9493D3",
|
||||||
"a+ c #4571D5",
|
"aX c #A693C8",
|
||||||
"b+ c #4470D5",
|
"sX c #A09AD5",
|
||||||
"c+ c #436FD4",
|
"dX c #A8A5C9",
|
||||||
"d+ c #4470D9",
|
"fX c #A9A6D6",
|
||||||
"e+ c #14213E",
|
"gX c #B7A8C7",
|
||||||
"f+ c #3150A3",
|
"hX c #B7B6DA",
|
||||||
"g+ c #4069D4",
|
"jX c #B5B1CE",
|
||||||
"h+ c #3E67D3",
|
"kX c #B7B4E2",
|
||||||
"i+ c #3E66D2",
|
"lX c #A9A8E2",
|
||||||
"j+ c #3D64D2",
|
"zX c #C88EC8",
|
||||||
"k+ c #3D64D3",
|
"xX c #C38BC3",
|
||||||
"l+ c #243C7F",
|
"cX c #C695C6",
|
||||||
"m+ c #2F4DAC",
|
"vX c #C2ADC2",
|
||||||
"n+ c #395ED1",
|
"bX c #C7A6C7",
|
||||||
"o+ c #385CD0",
|
"nX c #C4B5C4",
|
||||||
"p+ c #375AD0",
|
"mX c #C6B9D3",
|
||||||
"q+ c #365ACF",
|
"MX c #DDB9DD",
|
||||||
"r+ c #375AD5",
|
"NX c #D9B4D9",
|
||||||
"s+ c #111C41",
|
"BX c #D3A4D4",
|
||||||
"t+ c #3558B8",
|
"VX c #C9C5CA",
|
||||||
"u+ c #3C63D2",
|
"CX c #CAC9D7",
|
||||||
"v+ c #3C62D2",
|
"ZX c #D4CBD4",
|
||||||
"w+ c #3B61D1",
|
"AX c #D9C1D9",
|
||||||
"x+ c #3A60D2",
|
"SX c #DACEDA",
|
||||||
"y+ c #3658C2",
|
"DX c #C4C3E4",
|
||||||
"z+ c #3455C4",
|
"FX c #CBC9E6",
|
||||||
"A+ c #3659CF",
|
"GX c #D8D7E6",
|
||||||
"B+ c #3557CF",
|
"HX c #E7CCE7",
|
||||||
"C+ c #3556CF",
|
"JX c #E9CFE9",
|
||||||
"D+ c #3354CF",
|
"KX c #EADBEA",
|
||||||
"E+ c #3151C5",
|
"LX c #E4DAE4",
|
||||||
"F+ c #101A3E",
|
"PX c #EDE2ED",
|
||||||
"G+ c #2C49C0",
|
"IX c #EAEAF4",
|
||||||
"H+ c #2F4DCC",
|
"UX c #F0E1F0",
|
||||||
"I+ c #2E4CCC",
|
"YX c None",
|
||||||
"J+ c #2D4ACB",
|
/* pixels */
|
||||||
"K+ c #2D49CB",
|
"YXYXYXYXYXYXYXYXYXSXLXIXUXCX YXYXYXYXVXLXPXPXZX. YXYXYXYXYX",
|
||||||
"L+ c #2741B7",
|
"YXYXYXYXYXYXYXnXKXUXUXKXJXSXnX YXnXKXPXPXPXKXSXnX YXYXYXYX",
|
||||||
"M+ c #3353C6",
|
"YXYXYXYXYXYX9XHXJXMX0XvX:X9XSX .HXJXAX5XvX>XvXAX. YXYXYXYX",
|
||||||
"N+ c #3455CF",
|
"YXYXYXYXYXYXMXMXkXx.. | 4XNXvX NXMXMXV. { 4XNXbX YXYXYX",
|
||||||
"O+ c #3454CE",
|
"YXYXYXYXYXBXBX8XZ. 4X8X8XZ. { BX8X4X G.7XcXZ. YXYXYX",
|
||||||
"P+ c #3353CE",
|
"YXYXYXYXLXcXcXC.z zXxX7X) X.G.G.C.z zXcX7X5 5 VX YXYX",
|
||||||
"Q+ c #3252CD",
|
"YXYX1XIXGXBXCXC.+ H.H.F.6XIXIX8X| B.- F.H.8X5X0XCXCX YX",
|
||||||
"R+ c #3151CE",
|
"YXYX3 GXmX8XmXZ.M M.D.m | VXCXGX4X| B.M.B.D.m gXqX1XCXW YX",
|
||||||
"S+ c #304FCC",
|
"YXYX CXgXS.jXA.= + = 2XFXqXFXZ.| n.l @ = jX>X..GX$ YX",
|
||||||
"T+ c #162467",
|
"YXYX hXaXA.jX,.= + kXFXDXFX3.{ m l * w hXV.2XdX YX",
|
||||||
"U+ c #1F318C",
|
"YXYX hXdX,.fX[ v n.j b.kX2XDXhX1.4.v b.m.j S.tX3XkX1. YX",
|
||||||
"V+ c #2E4BCF",
|
"YXYX fXdX4.aX^ j v.c.N.fX) kXuX} <X= b c.c.G.tX1.kX% YXYX",
|
||||||
"W+ c #2C47CB",
|
"YXYX <XfXuX<X[ k c c S.uX( fX,X' iXk c n b tX/ 3.uX YXYX",
|
||||||
"X+ c #2B47CA",
|
"YXYX 2.iXrX2./ $ pX2.6.rX,XQ iX2 2 iXQ pX/ YXYX",
|
||||||
"Y+ c #2A45CA",
|
"YXYX e rXrX( %.e ( rX( 5.7.wXQ J.y 5.yX( yX& YXYXYX",
|
||||||
"Z+ c #2943C8",
|
"YXYXYX t.eXQ 5.~ 7.7.2.% 2.eX&.2.&. J.6.8.5. YXYXYX",
|
||||||
"`+ c #2841C5",
|
"YXYXYX r.t.y 8.#.o 8.~ *. x t.r.~ 8. 0 t.! r.0 o $ F YXYXYX",
|
||||||
" @ c #2942CB",
|
"YXYXYX <.w.~ >.#.d ] #.0 q w.w.y w.o #.e.$.<.. d I I YX",
|
||||||
".@ c #2841CB",
|
"YXYXYX =.e.=.#.g z.I t X q ;.e.u :.y :.o.q.u < J y.d YX",
|
||||||
"+@ c #273EC9",
|
"YXYXYX y 0.0.r ] _ I 6 o -.0.-.=.0.;.t 0.o , I y.p YX",
|
||||||
"@@ c #263DC9",
|
"YXYXYXYX 9.9.i ' _ g X + +.9.9.@.;.i +.r y.k.i.y.H ",
|
||||||
"#@ c #253BC8",
|
"YXYXXXW.Q.] =.@.z.J 4 . V s.E o.@.@.-.' d.z.L ; s j.j.j.i.D ",
|
||||||
"$@ c #243AC7",
|
"YXXXW.Q.Q.f.) O.l.f.# D Q.u.u.o O.$.g.g.h.^.^.> s.oX~.~.u.s ",
|
||||||
"%@ c #2339C9",
|
"YX}.oXD a P w 9 ~.f.S T p.p.K ~ ).g q g j.(.. # k.a.K ",
|
||||||
"&@ c #172583",
|
".X#X{. . ; 7 0 _.!.V O I.U.C . oXg.6 8 4 Y.(. a /.).T ",
|
||||||
"*@ c #1D2F86",
|
"+X#X(. 1 # T.{., #X{.C B +XI. I./.{. T #XoXA YX",
|
||||||
"=@ c #2D49CE",
|
"&X+X}.Y P.%X[.P.+X@X. &X@XY Z ;X/.A T.OX}.+X; Y.}.[.B YXYX",
|
||||||
"-@ c #2B46CB",
|
".X*XOX;X;X XZ T.*XL. =X%XP.; ;X%X*XT.> `.|., ].`. X: YXYX",
|
||||||
";@ c #2B46CA",
|
". Y.].T.A . C C ; $X-Xh P.].R O R : XE.P.O YXYX",
|
||||||
">@ c #2A44CA",
|
" E U C . YXYX",
|
||||||
",@ c #2943CA",
|
"YX YX. # YXYXYX",
|
||||||
"'@ c #2841C9",
|
"YXYXYXYXYXYXYXYXYXYXYXYXYX YXYXYXYXYXYXYXYXYX YXYXYXYXYX"
|
||||||
")@ c #2740C9",
|
};
|
||||||
"!@ c #2840CC",
|
|
||||||
"~@ c #273FCA",
|
|
||||||
"{@ c #263DCA",
|
|
||||||
"]@ c #243AC8",
|
|
||||||
"^@ c #2339C7",
|
|
||||||
"/@ c #2338C7",
|
|
||||||
"(@ c #2237C7",
|
|
||||||
"_@ c #2135C6",
|
|
||||||
":@ c #2034C6",
|
|
||||||
"<@ c #2033C6",
|
|
||||||
"[@ c #1E31C5",
|
|
||||||
"}@ c #1E30C5",
|
|
||||||
"|@ c #1D2EC4",
|
|
||||||
"1@ c #1C2DC4",
|
|
||||||
"2@ c #1B2CC4",
|
|
||||||
"3@ c #1A2AC3",
|
|
||||||
"4@ c #1928C0",
|
|
||||||
"5@ c #0C1258",
|
|
||||||
"6@ c #1B2C97",
|
|
||||||
"7@ c #233AC9",
|
|
||||||
"8@ c #2238C7",
|
|
||||||
"9@ c #2136C7",
|
|
||||||
"0@ c #1F32C6",
|
|
||||||
"a@ c #1D2FC5",
|
|
||||||
"b@ c #1C2EC5",
|
|
||||||
"c@ c #1B2BC4",
|
|
||||||
"d@ c #1A2AC4",
|
|
||||||
"e@ c #1929C3",
|
|
||||||
"f@ c #1827C3",
|
|
||||||
"g@ c #1826C3",
|
|
||||||
"h@ c #1724C2",
|
|
||||||
"i@ c #1623C2",
|
|
||||||
"j@ c #1522C1",
|
|
||||||
"k@ c #1420C2",
|
|
||||||
"l@ c #141FC2",
|
|
||||||
"m@ c #121EC1",
|
|
||||||
"n@ c #111CC2",
|
|
||||||
"o@ c #111AC1",
|
|
||||||
"p@ c #0E17B2",
|
|
||||||
"q@ c #1A2AC1",
|
|
||||||
"r@ c #1929C4",
|
|
||||||
"s@ c #1927C4",
|
|
||||||
"t@ c #1724C3",
|
|
||||||
"u@ c #1623C3",
|
|
||||||
"v@ c #1522C4",
|
|
||||||
"w@ c #1520C3",
|
|
||||||
"x@ c #131FC3",
|
|
||||||
"y@ c #131DC3",
|
|
||||||
"z@ c #111CC0",
|
|
||||||
"A@ c #111ABB",
|
|
||||||
"B@ c #0F19B6",
|
|
||||||
"C@ c #0F17B1",
|
|
||||||
"D@ c #0D15AD",
|
|
||||||
"E@ c #0D14A9",
|
|
||||||
"F@ c #0C13A7",
|
|
||||||
"G@ c #0B11A4",
|
|
||||||
"H@ c #0A1099",
|
|
||||||
"I@ c #080D8B",
|
|
||||||
"J@ c #070B7A",
|
|
||||||
"K@ c #060968",
|
|
||||||
"L@ c #0F179E",
|
|
||||||
"M@ c #0E16AA",
|
|
||||||
"N@ c #0E15AF",
|
|
||||||
"O@ c #0C13A9",
|
|
||||||
"P@ c #0C129C",
|
|
||||||
"Q@ c #0A108F",
|
|
||||||
"R@ c #090E80",
|
|
||||||
"S@ c #080C72",
|
|
||||||
"T@ c #070B63",
|
|
||||||
"U@ c #060957",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" . + @ # $ ",
|
|
||||||
" % & * = - ; > , ' ) ! ~ { ] ^ / ( _ : < [ } ",
|
|
||||||
" | 1 2 3 4 5 6 7 8 9 0 a b c d e f g h i j k l m ",
|
|
||||||
" n o p q r s t u v w x y z A B C D E F G H I J K ",
|
|
||||||
" L M N O P Q R S T U V W X Y Z ` . ",
|
|
||||||
" ..+.@.#.$.%.&. ",
|
|
||||||
" *.=.-.;.>.,.'.). !.~.{.].^. /.(._.:.<.[. ",
|
|
||||||
" }.|.1.2.3. 4.5.6.6.6.7. [.6.6.6.8.9. ",
|
|
||||||
" 0.8.6.6.6.6.a. b.c.6.6.6.d.e. ",
|
|
||||||
" f.g.h.i.j._.{. k.l.6.6.6.l.m. !.n.6.6.6.o. ",
|
|
||||||
" p.l.6.6.6.q.r. s.t.t.u.v.w. x.y.z.A.B.C. ",
|
|
||||||
" D.E.F.G.H.I.J. K.L.M.N.O.P.Q. R.S.T.U.V.W.X. ",
|
|
||||||
" Y.Z.`. +.+++@+ #+$+%+&+*+=+-+ ;+>+,+'+)+!+ ",
|
|
||||||
" ~+{+]+^+/+(+_+ :+<+[+}+|+1+ 2+3+4+5+6+7+ ",
|
|
||||||
" 8+9+0+a+b+c+d+e+ f+g+h+i+j+k+l+ m+n+o+p+q+r+s+ ",
|
|
||||||
" t+j+u+v+w+x+y+ z+A+B+C+D+E+F+ G+H+I+J+K+L+ ",
|
|
||||||
" M+N+O+P+Q+R+S+T+ U+V+K+W+X+Y+Z+`+ @.@+@@@#@$@%@&@ ",
|
|
||||||
"*@=@-@;@>@,@'@)@!@~@{@]@^@/@(@_@:@<@[@}@|@1@2@3@4@5@ ",
|
|
||||||
"6@7@8@9@_@:@0@[@a@b@1@c@d@e@f@g@h@i@j@k@l@m@n@o@p@ ",
|
|
||||||
" q@r@s@g@t@u@v@w@x@y@z@A@B@C@D@E@F@G@H@I@J@K@ ",
|
|
||||||
" L@M@N@O@P@Q@R@S@T@U@ ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" "};
|
|
||||||
|
|||||||
+153
-22
@@ -1,36 +1,167 @@
|
|||||||
|
# Copyright (c) 2003-2007 FlashCode <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
|
# This program is free software; you can redistribute it and/or modify
|
||||||
# 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
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
# the Free Software Foundation; either version 3 of the License, or
|
# the Free Software Foundation; either version 3 of the License, or
|
||||||
# (at your option) any later version.
|
# (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
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
# GNU General Public License for more details.
|
# GNU General Public License for more details.
|
||||||
#
|
#
|
||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#
|
#
|
||||||
|
|
||||||
IF(ENABLE_MAN OR ENABLE_DOC)
|
SET(DOC_LANGS
|
||||||
|
cs
|
||||||
|
de
|
||||||
|
en
|
||||||
|
fr
|
||||||
|
pl
|
||||||
|
ru
|
||||||
|
sco
|
||||||
|
sv
|
||||||
|
)
|
||||||
|
|
||||||
FIND_PACKAGE(Sourcehighlight)
|
FIND_PROGRAM(
|
||||||
FIND_PACKAGE(Asciidoc)
|
COPY cp
|
||||||
IF(ASCIIDOC_FOUND)
|
PATHS /bin /usr/bin /usr/local/bin /usr/pkg/bin
|
||||||
ADD_SUBDIRECTORY( en )
|
)
|
||||||
ADD_SUBDIRECTORY( fr )
|
|
||||||
ADD_SUBDIRECTORY( it )
|
|
||||||
ADD_SUBDIRECTORY( de )
|
|
||||||
ADD_SUBDIRECTORY( pl )
|
|
||||||
ADD_SUBDIRECTORY( es )
|
|
||||||
ADD_SUBDIRECTORY( ru )
|
|
||||||
ADD_SUBDIRECTORY( ja )
|
|
||||||
ENDIF(ASCIIDOC_FOUND)
|
|
||||||
|
|
||||||
ENDIF(ENABLE_MAN OR ENABLE_DOC)
|
FIND_PROGRAM(
|
||||||
|
XSLTPROC xsltproc
|
||||||
|
PATHS /bin /usr/bin /usr/local/bin /usr/pkg/bin
|
||||||
|
)
|
||||||
|
|
||||||
|
FIND_PROGRAM(
|
||||||
|
DBLATEX dblatex
|
||||||
|
PATHS /bin /usr/bin /usr/local/bin /usr/pkg/bin
|
||||||
|
)
|
||||||
|
|
||||||
|
FIND_FILE(DOC_XSL_PREFIX chunk.xsl PATHS
|
||||||
|
/usr/share/xml/docbook/stylesheet/nwalsh/
|
||||||
|
/usr/share/xml/docbook/xsl-stylesheets-1.69/
|
||||||
|
PATH_SUFFIXES html
|
||||||
|
DOC "Path to nwalsh xsl stylesheet"
|
||||||
|
)
|
||||||
|
STRING(REPLACE "/html/chunk.xsl" "" DOC_XSL_PREFIX "${DOC_XSL_PREFIX}")
|
||||||
|
|
||||||
|
IF(XSLTPROC AND DOC_XSL_PREFIX AND COPY)
|
||||||
|
SET(BUILD_HTML TRUE)
|
||||||
|
ENDIF(XSLTPROC AND DOC_XSL_PREFIX AND COPY)
|
||||||
|
|
||||||
|
IF(DBLATEX AND COPY)
|
||||||
|
SET(BUILD_PDF TRUE)
|
||||||
|
ENDIF(DBLATEX AND COPY)
|
||||||
|
|
||||||
|
IF(BUILD_HTML)
|
||||||
|
CONFIGURE_FILE(
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/weechat-html.xsl.in
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}/weechat-html.xsl
|
||||||
|
@ONLY
|
||||||
|
)
|
||||||
|
|
||||||
|
CONFIGURE_FILE(
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/weechat-html-one.xsl.in
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}/weechat-html-one.xsl
|
||||||
|
@ONLY
|
||||||
|
)
|
||||||
|
ENDIF(BUILD_HTML)
|
||||||
|
|
||||||
|
|
||||||
|
IF(BUILD_HTML OR BUILD_PDF)
|
||||||
|
EXECUTE_PROCESS(
|
||||||
|
COMMAND date "+%F %T"
|
||||||
|
OUTPUT_VARIABLE DOC_DATE
|
||||||
|
)
|
||||||
|
STRING(REPLACE "\n" "" DOC_DATE "${DOC_DATE}")
|
||||||
|
|
||||||
|
CONFIGURE_FILE(
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/date.xml.in
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}/date.xml
|
||||||
|
@ONLY
|
||||||
|
)
|
||||||
|
|
||||||
|
FOREACH(dlang ${DOC_LANGS})
|
||||||
|
IF(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/weechat.${dlang}.xml)
|
||||||
|
|
||||||
|
IF(BUILD_HTML)
|
||||||
|
FILE(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html/${dlang})
|
||||||
|
FILE(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html/${dlang}-build)
|
||||||
|
FILE(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html-one/${dlang})
|
||||||
|
|
||||||
|
ADD_CUSTOM_COMMAND(
|
||||||
|
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/html/${dlang}/index.html ${CMAKE_CURRENT_BINARY_DIR}/html-one/${dlang}/weechat.${dlang}.html
|
||||||
|
COMMAND ${COPY} ARGS "${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/weechat.${dlang}.xml" "${CMAKE_CURRENT_BINARY_DIR}/html/${dlang}-build"
|
||||||
|
COMMAND ${COPY} ARGS "${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/config.xml" "${CMAKE_CURRENT_BINARY_DIR}/html/${dlang}-build"
|
||||||
|
COMMAND ${COPY} ARGS "${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/irc_commands.xml" "${CMAKE_CURRENT_BINARY_DIR}/html/${dlang}-build"
|
||||||
|
COMMAND ${COPY} ARGS "${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/key_functions.xml" "${CMAKE_CURRENT_BINARY_DIR}/html/${dlang}-build"
|
||||||
|
COMMAND ${COPY} ARGS "${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/weechat_commands.xml" "${CMAKE_CURRENT_BINARY_DIR}/html/${dlang}-build"
|
||||||
|
COMMAND ${COPY} ARGS "${CMAKE_CURRENT_BINARY_DIR}/date.xml" "${CMAKE_CURRENT_BINARY_DIR}/html/${dlang}-build"
|
||||||
|
COMMAND ${COPY} ARGS "${CMAKE_CURRENT_SOURCE_DIR}/weechat-doc.css" "${CMAKE_CURRENT_BINARY_DIR}/html/${dlang}"
|
||||||
|
COMMAND ${COPY} ARGS "${CMAKE_CURRENT_SOURCE_DIR}/weechat-doc.css" "${CMAKE_CURRENT_BINARY_DIR}/html-one/${dlang}"
|
||||||
|
COMMAND ${XSLTPROC} ARGS -o ${CMAKE_CURRENT_BINARY_DIR}/html/${dlang}/ ${CMAKE_CURRENT_BINARY_DIR}/weechat-html.xsl ${CMAKE_CURRENT_BINARY_DIR}/html/${dlang}-build/weechat.${dlang}.xml
|
||||||
|
COMMAND ${XSLTPROC} ARGS -o ${CMAKE_CURRENT_BINARY_DIR}/html-one/${dlang}/weechat.${dlang}.html ${CMAKE_CURRENT_BINARY_DIR}/weechat-html-one.xsl ${CMAKE_CURRENT_BINARY_DIR}/html/${dlang}-build/weechat.${dlang}.xml
|
||||||
|
DEPENDS
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/weechat.${dlang}.xml
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/config.xml
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/irc_commands.xml
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/key_functions.xml
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/weechat_commands.xml
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/date.xml.in
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/weechat-html-one.xsl.in
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/weechat-html.xsl.in
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/date.xml.in
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/weechat-doc.css
|
||||||
|
COMMENT "Building html doc (${dlang})"
|
||||||
|
)
|
||||||
|
ADD_CUSTOM_TARGET(doc-html-${dlang} ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/html/${dlang}/index.html)
|
||||||
|
ADD_CUSTOM_TARGET(doc-html-one-${dlang} ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/html-one/${dlang}/weechat.${dlang}.html)
|
||||||
|
INSTALL(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html/${dlang} DESTINATION share/doc/${PROJECT_NAME}/html)
|
||||||
|
|
||||||
|
ENDIF(BUILD_HTML)
|
||||||
|
|
||||||
|
IF(BUILD_PDF)
|
||||||
|
FILE(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/pdf/${dlang})
|
||||||
|
FILE(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/pdf/${dlang}-build)
|
||||||
|
|
||||||
|
ADD_CUSTOM_COMMAND(
|
||||||
|
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/pdf/${dlang}/weechat.${dlang}.pdf
|
||||||
|
COMMAND ${COPY} ARGS "${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/weechat.${dlang}.xml" "${CMAKE_CURRENT_BINARY_DIR}/pdf/${dlang}-build"
|
||||||
|
COMMAND ${COPY} ARGS "${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/config.xml" "${CMAKE_CURRENT_BINARY_DIR}/pdf/${dlang}-build"
|
||||||
|
COMMAND ${COPY} ARGS "${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/irc_commands.xml" "${CMAKE_CURRENT_BINARY_DIR}/pdf/${dlang}-build"
|
||||||
|
COMMAND ${COPY} ARGS "${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/key_functions.xml" "${CMAKE_CURRENT_BINARY_DIR}/pdf/${dlang}-build"
|
||||||
|
COMMAND ${COPY} ARGS "${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/weechat_commands.xml" "${CMAKE_CURRENT_BINARY_DIR}/pdf/${dlang}-build"
|
||||||
|
COMMAND ${COPY} ARGS "${CMAKE_CURRENT_BINARY_DIR}/date.xml" "${CMAKE_CURRENT_BINARY_DIR}/pdf/${dlang}-build"
|
||||||
|
COMMAND ${DBLATEX} ARGS -c ${CMAKE_CURRENT_SOURCE_DIR}/dblatex.conf -o ${CMAKE_CURRENT_BINARY_DIR}/pdf/${dlang}/weechat.${dlang}.pdf ${CMAKE_CURRENT_BINARY_DIR}/pdf/${dlang}-build/weechat.${dlang}.xml
|
||||||
|
DEPENDS
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/weechat.${dlang}.xml
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/config.xml
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/irc_commands.xml
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/key_functions.xml
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/weechat_commands.xml
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/date.xml.in
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/weechat-html-one.xsl.in
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/date.xml.in
|
||||||
|
COMMENT "Building pdf doc (${dlang})"
|
||||||
|
)
|
||||||
|
ADD_CUSTOM_TARGET(doc-pdf-${dlang} ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/pdf/${dlang}/weechat.${dlang}.pdf)
|
||||||
|
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/pdf/${dlang}/weechat.${dlang}.pdf DESTINATION share/doc/${PROJECT_NAME})
|
||||||
|
|
||||||
|
ENDIF(BUILD_PDF)
|
||||||
|
|
||||||
|
ENDIF(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/weechat.${dlang}.xml)
|
||||||
|
|
||||||
|
ENDFOREACH(dlang ${DOC_LANGS})
|
||||||
|
|
||||||
|
ENDIF(BUILD_HTML OR BUILD_PDF)
|
||||||
|
|
||||||
|
FOREACH(dlang ${DOC_LANGS})
|
||||||
|
IF(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/weechat_quickstart.${dlang}.txt)
|
||||||
|
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/weechat_quickstart.${dlang}.txt DESTINATION share/doc/${PROJECT_NAME})
|
||||||
|
ENDIF(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/weechat_quickstart.${dlang}.txt)
|
||||||
|
ENDFOREACH(dlang ${DOC_LANGS})
|
||||||
|
|
||||||
|
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/weechat-curses.1 DESTINATION share/man/man1)
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user