mirror of
https://github.com/weechat/weechat.git
synced 2026-07-01 07:16:37 +02:00
Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 2429c9dc5a | |||
| c8445cc225 | |||
| a198d22213 | |||
| 80f477f2c3 |
@@ -1,6 +0,0 @@
|
|||||||
# files/directories excluded from tarballs
|
|
||||||
|
|
||||||
.git* export-ignore
|
|
||||||
debian export-ignore
|
|
||||||
weechat.spec export-ignore
|
|
||||||
.mailmap export-ignore
|
|
||||||
+6
-7
@@ -13,16 +13,12 @@
|
|||||||
*.so
|
*.so
|
||||||
*.so.0
|
*.so.0
|
||||||
*.so.0.0.0
|
*.so.0.0.0
|
||||||
*.1
|
|
||||||
|
|
||||||
ABOUT-NLS
|
ABOUT-NLS
|
||||||
autom4te*
|
autom4te*
|
||||||
build*/*
|
build*/*
|
||||||
compile
|
|
||||||
config.guess
|
config.guess
|
||||||
config.h
|
config.h*
|
||||||
config.h.in*
|
|
||||||
config-git.h
|
|
||||||
config.log
|
config.log
|
||||||
config.rpath
|
config.rpath
|
||||||
config.status
|
config.status
|
||||||
@@ -44,9 +40,12 @@ POTFILES
|
|||||||
remove-potcdate.sed
|
remove-potcdate.sed
|
||||||
Rules-quot
|
Rules-quot
|
||||||
weechat.pc
|
weechat.pc
|
||||||
weechat-*.cygport
|
doc/de/build/*
|
||||||
|
doc/en/build/*
|
||||||
|
doc/fr/build/*
|
||||||
|
|
||||||
*stamp
|
*stamp
|
||||||
stamp*
|
stamp*
|
||||||
|
|
||||||
src/gui/curses/weechat
|
src/gui/curses/weechat-curses
|
||||||
|
src/gui/gtk/weechat-gtk
|
||||||
|
|||||||
@@ -1,19 +0,0 @@
|
|||||||
# Map author and committer names and email addresses to canonical real names
|
|
||||||
# and email addresses.
|
|
||||||
#
|
|
||||||
# For example with these commands:
|
|
||||||
# git shortlog -nse
|
|
||||||
# git shortlog -se | cut -f2 | sort
|
|
||||||
|
|
||||||
Sébastien Helleu <flashcode@flashtux.org>
|
|
||||||
Sébastien Helleu <flashcode@flashtux.org> <flashcode@krypton>
|
|
||||||
Sébastien Helleu <flashcode@flashtux.org> <flashcode>
|
|
||||||
Sébastien Helleu <flashcode@flashtux.org> <uid67137>
|
|
||||||
Nils Görs <weechatter@arcor.de>
|
|
||||||
Ryuunosuke Ayanokouzi <i38w7i3@yahoo.co.jp>
|
|
||||||
Krzysztof Korościk <soltys@szluug.org>
|
|
||||||
Marco Paolone <marcopaolone@gmail.com>
|
|
||||||
<marcopaolone@gmail.com> <marco@DrB4tch.sitecomwl601>
|
|
||||||
<mikaela.suomalainen@outlook.com> <mkaysi@outlook.com>
|
|
||||||
<simon@arlott.org> <sa.me.uk>
|
|
||||||
<Simon.Kuhnle@cs.fau.de> <simon@blarzwurst.de>
|
|
||||||
-34
@@ -1,34 +0,0 @@
|
|||||||
language: c
|
|
||||||
|
|
||||||
compiler:
|
|
||||||
- gcc
|
|
||||||
- clang
|
|
||||||
|
|
||||||
env:
|
|
||||||
- BUILDTOOL="cmake" BUILDARGS=""
|
|
||||||
- BUILDTOOL="cmake" BUILDARGS="-DENABLE_PYTHON3=ON"
|
|
||||||
- BUILDTOOL="cmake" BUILDARGS="-DENABLE_GNUTLS=OFF"
|
|
||||||
- BUILDTOOL="autotools" BUILDARGS=""
|
|
||||||
- BUILDTOOL="autotools" BUILDARGS="--enable-python3"
|
|
||||||
- BUILDTOOL="autotools" BUILDARGS="--disable-gnutls"
|
|
||||||
|
|
||||||
before_script:
|
|
||||||
- echo 'APT::Install-Recommends "false";' | sudo tee -a /etc/apt/apt.conf
|
|
||||||
- sudo apt-get update -qq
|
|
||||||
- sudo apt-get -y install devscripts equivs python-pip libenchant-dev autopoint asciidoc source-highlight xsltproc docbook-xsl docbook-xml cmake pkg-config libncursesw5-dev gem2deb libperl-dev python-dev python3-dev libaspell-dev liblua5.1-0-dev tcl8.5-dev guile-2.0-dev libv8-dev libcurl4-gnutls-dev libgcrypt11-dev libgnutls-dev zlib1g-dev curl
|
|
||||||
- curl -OL https://weechat.org/files/tests/ubuntu/precise/amd64/libcpputest-dev_3.4-3_amd64.deb
|
|
||||||
- sudo dpkg -i libcpputest-dev_3.4-3_amd64.deb
|
|
||||||
- sudo pip install msgcheck pylint
|
|
||||||
|
|
||||||
script:
|
|
||||||
- ./scripts/build.sh
|
|
||||||
- msgcheck po/*.po
|
|
||||||
- pylint doc/docgen.py
|
|
||||||
|
|
||||||
after_success:
|
|
||||||
- weechat --help
|
|
||||||
- weechat-curses --help
|
|
||||||
- weechat -r "/debug libs;/quit"
|
|
||||||
|
|
||||||
matrix:
|
|
||||||
fast_finish: true
|
|
||||||
@@ -0,0 +1,53 @@
|
|||||||
|
WeeChat Authors
|
||||||
|
===============
|
||||||
|
|
||||||
|
Developers
|
||||||
|
----------
|
||||||
|
|
||||||
|
* General code
|
||||||
|
|
||||||
|
** Sébastien Helleu <flashcode@flashtux.org>
|
||||||
|
*** Web: http://www.weechat.org/
|
||||||
|
*** IRC: 'FlashCode' on irc.freenode.net
|
||||||
|
|
||||||
|
|
||||||
|
* Scripts plugins, debian packager
|
||||||
|
|
||||||
|
** Emmanuel Bouthenot <kolter@openics.org>
|
||||||
|
*** IRC: 'kolter' on irc.freenode.net
|
||||||
|
|
||||||
|
|
||||||
|
Contributors
|
||||||
|
------------
|
||||||
|
|
||||||
|
* Julien Louis <ptitlouis@sysif.net>, IRC: 'ptitlouis'
|
||||||
|
* Rudolf Polzer <rpolzer-rp@durchnull.de>, IRC: 'divVerent'
|
||||||
|
* Jiri Golembiovsky <golemj@gmail.com>, IRC: 'GolemJ'
|
||||||
|
* Jim Ramsay <i.am@jimramsay.com>, IRC: 'lack'
|
||||||
|
* Odin <odin@dtdm.org>, IRC: 'Odin'
|
||||||
|
* Pistos, IRC: 'pistos'
|
||||||
|
* Gwenn, IRC: 'gwenn'
|
||||||
|
* Voroskoi, IRC: 'voroskoi'
|
||||||
|
* Frank Zacharias
|
||||||
|
* Pavel Shevchuk, IRC: 'Stalwart'
|
||||||
|
* soltys
|
||||||
|
* Nils Görs
|
||||||
|
* rettub
|
||||||
|
* Elián Hanisch, IRC: 'm4v'
|
||||||
|
* Marco Paolone
|
||||||
|
* Dmitry Kobylin
|
||||||
|
* Dominik Honnef
|
||||||
|
* JD Horelick, IRC: 'jdhore'
|
||||||
|
* Stefano Pigozzi
|
||||||
|
* Ivan Sichmann Freitas
|
||||||
|
* Gu1ll4um3r0m41n
|
||||||
|
|
||||||
|
|
||||||
|
Contact
|
||||||
|
-------
|
||||||
|
|
||||||
|
Whole team is connected to IRC:
|
||||||
|
server: 'irc.freenode.net', channels: '#weechat' (english) and '#weechat-fr' (french)
|
||||||
|
|
||||||
|
|
||||||
|
See README file for license detail.
|
||||||
@@ -1,99 +0,0 @@
|
|||||||
= WeeChat Authors
|
|
||||||
:author: Sébastien Helleu
|
|
||||||
:email: flashcode@flashtux.org
|
|
||||||
:lang: en
|
|
||||||
|
|
||||||
|
|
||||||
== Developers
|
|
||||||
|
|
||||||
* General code
|
|
||||||
** Sébastien Helleu (FlashCode) <flashcode@flashtux.org>
|
|
||||||
* Scripts plugins, debian packager
|
|
||||||
** Emmanuel Bouthenot (kolter) <kolter@openics.org>
|
|
||||||
|
|
||||||
== Contributors
|
|
||||||
|
|
||||||
Alphabetically:
|
|
||||||
|
|
||||||
* Ailin Nemui (Nei)
|
|
||||||
* Aleksey V Zapparov
|
|
||||||
* Alex Tarkovsky
|
|
||||||
* Anders Bergh
|
|
||||||
* Andrew Potter (talisein)
|
|
||||||
* Antoine Pietri (seirl)
|
|
||||||
* Arvydas Sidorenko
|
|
||||||
* Asakura
|
|
||||||
* Bazerka
|
|
||||||
* Benoit Papillault (benoit)
|
|
||||||
* Christian Heinz
|
|
||||||
* Christopher O'Neill (deltafire)
|
|
||||||
* David Flatz
|
|
||||||
* Dmitry Kobylin
|
|
||||||
* Dominik Honnef
|
|
||||||
* Eduardo Elias
|
|
||||||
* Elizabeth Myers (Elizacat)
|
|
||||||
* Elián Hanisch (m4v)
|
|
||||||
* Emanuele Giaquinta
|
|
||||||
* Esteban I. Ruiz Moreno (Exio)
|
|
||||||
* Felix Eckhofer
|
|
||||||
* Frank Zacharias
|
|
||||||
* Gu1ll4um3r0m41n
|
|
||||||
* Guido Berhoerster
|
|
||||||
* Gwenn
|
|
||||||
* Hasan Kiran (turgay)
|
|
||||||
* Ivan Sichmann Freitas
|
|
||||||
* Jason A. Donenfeld (zx2c4)
|
|
||||||
* JD Horelick (jdhore)
|
|
||||||
* Jim Ramsay (lack)
|
|
||||||
* Jiri Golembiovsky (GolemJ)
|
|
||||||
* Julien Louis (ptitlouis)
|
|
||||||
* Karthik K
|
|
||||||
* Koka El Kiwi (KiwiDash)
|
|
||||||
* Krzysztof Koroscik (soltys)
|
|
||||||
* Kyle Fuller (kylef)
|
|
||||||
* Leonid Evdokimov
|
|
||||||
* Lázaro A.
|
|
||||||
* Maarten de Vries
|
|
||||||
* Mantas MikulÄ—nas (grawity)
|
|
||||||
* Marco Paolone
|
|
||||||
* Mateusz Poszwa
|
|
||||||
* Matt Robinson
|
|
||||||
* Max Anton Teufel
|
|
||||||
* Murilo Opsfelder Araujo
|
|
||||||
* Nicolas Cavigneaux
|
|
||||||
* Nils Görs (nils_2)
|
|
||||||
* nyuszika7h
|
|
||||||
* Odin
|
|
||||||
* Patrick Steinhardt
|
|
||||||
* Paul Komkoff
|
|
||||||
* Pavel Shevchuk (Stalwart)
|
|
||||||
* Peter Boström (pbos)
|
|
||||||
* Phillip Sz
|
|
||||||
* Pierre Carru
|
|
||||||
* Piotr Szymaniak
|
|
||||||
* Pistos
|
|
||||||
* Quentin Glidic (SardemFF7)
|
|
||||||
* Quentin Pradet
|
|
||||||
* Quico Noizeux
|
|
||||||
* Rettub
|
|
||||||
* Rudolf Polzer (divVerent)
|
|
||||||
* Ryuunosuke Ayanokouzi
|
|
||||||
* Sergio Durigan Junior
|
|
||||||
* Shawn Smith
|
|
||||||
* Simmo Saan
|
|
||||||
* Simon Arlott
|
|
||||||
* Simon Kuhnle
|
|
||||||
* Stefano Pigozzi
|
|
||||||
* Stfn
|
|
||||||
* Sven Knurr (Cthulhux)
|
|
||||||
* Tim D. Smith
|
|
||||||
* Tom Alsberg
|
|
||||||
* Tor Hveem (xt)
|
|
||||||
* Valentin Lorentz (progval)
|
|
||||||
* Voroskoi
|
|
||||||
* Yannick Palanque
|
|
||||||
|
|
||||||
== Contact
|
|
||||||
|
|
||||||
See https://weechat.org/files/doc/devel/weechat_user.en.html#support[user's guide]
|
|
||||||
or https://weechat.org/dev/support
|
|
||||||
+103
-234
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2003-2015 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
|
||||||
# Copyright (C) 2007-2008 Julien Louis <ptitlouis@sysif.net>
|
# Copyright (C) 2007-2008 Julien Louis <ptitlouis@sysif.net>
|
||||||
# Copyright (C) 2008-2009 Emmanuel Bouthenot <kolter@openics.org>
|
# Copyright (C) 2008-2009 Emmanuel Bouthenot <kolter@openics.org>
|
||||||
#
|
#
|
||||||
@@ -19,276 +19,145 @@
|
|||||||
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#
|
#
|
||||||
|
|
||||||
|
PROJECT(weechat C)
|
||||||
|
|
||||||
cmake_minimum_required(VERSION 2.4)
|
cmake_minimum_required(VERSION 2.4)
|
||||||
|
|
||||||
project(weechat C)
|
SET(CMAKE_VERBOSE_MAKEFILE OFF)
|
||||||
|
SET(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake ${CMAKE_MODULE_PATH})
|
||||||
|
SET(CMAKE_SKIP_RPATH ON)
|
||||||
|
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -W -Werror-implicit-function-declaration")
|
||||||
|
IF(PREFIX)
|
||||||
|
SET(CMAKE_INSTALL_PREFIX ${PREFIX} CACHE PATH "Install path prefix" FORCE)
|
||||||
|
ENDIF(PREFIX)
|
||||||
|
|
||||||
# CMake options
|
SET(VERSION_MAJOR "0")
|
||||||
set(CMAKE_VERBOSE_MAKEFILE OFF)
|
SET(VERSION_MINOR "3")
|
||||||
set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake ${CMAKE_MODULE_PATH})
|
SET(VERSION_PATCH "9.2")
|
||||||
set(CMAKE_SKIP_RPATH ON)
|
SET(VERSION ${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH})
|
||||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Werror-implicit-function-declaration")
|
SET(LICENSE "GPL3")
|
||||||
set(CMAKE_CXX_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Werror-implicit-function-declaration")
|
SET(PKG_STRING "${PROJECT_NAME} ${VERSION}")
|
||||||
if(PREFIX)
|
STRING(REPLACE "\";\"" "\ " PKG_STRING ${PKG_STRING})
|
||||||
set(CMAKE_INSTALL_PREFIX ${PREFIX} CACHE PATH "Install path prefix" FORCE)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
# version
|
IF(DEFINED LIBDIR)
|
||||||
set(VERSION_MAJOR "1")
|
SET(LIBDIR ${LIBDIR}/${PROJECT_NAME})
|
||||||
set(VERSION_MINOR "2")
|
ELSE(DEFINED LIBDIR)
|
||||||
set(VERSION_PATCH "")
|
SET(LIBDIR ${CMAKE_INSTALL_PREFIX}/lib/${PROJECT_NAME})
|
||||||
if(VERSION_PATCH STREQUAL "")
|
ENDIF(DEFINED LIBDIR)
|
||||||
set(VERSION ${VERSION_MAJOR}.${VERSION_MINOR})
|
|
||||||
else()
|
|
||||||
set(VERSION ${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH})
|
|
||||||
endif()
|
|
||||||
|
|
||||||
# license
|
IF(NOT DEFINED SHAREDIR)
|
||||||
set(LICENSE "GPL3")
|
SET(SHAREDIR ${CMAKE_INSTALL_PREFIX}/share)
|
||||||
|
ENDIF(NOT DEFINED SHAREDIR)
|
||||||
|
|
||||||
# add definitions for version and license
|
IF(NOT DEFINED MANDIR)
|
||||||
if(COMMAND cmake_policy)
|
SET(MANDIR ${SHAREDIR}/man)
|
||||||
cmake_policy(SET CMP0005 NEW)
|
ENDIF(NOT DEFINED MANDIR)
|
||||||
add_definitions(-DWEECHAT_VERSION="${VERSION}" -DWEECHAT_LICENSE="${LICENSE}")
|
|
||||||
else()
|
|
||||||
add_definitions(-DWEECHAT_VERSION='"${VERSION}"' -DWEECHAT_LICENSE='"${LICENSE}"')
|
|
||||||
endif()
|
|
||||||
|
|
||||||
# package string
|
IF(NOT DEFINED LOCALEDIR)
|
||||||
set(PKG_STRING "${PROJECT_NAME} ${VERSION}")
|
SET(LOCALEDIR ${SHAREDIR}/locale)
|
||||||
string(REPLACE "\";\"" "\ " PKG_STRING ${PKG_STRING})
|
ENDIF(NOT DEFINED LOCALEDIR)
|
||||||
|
|
||||||
if(DEFINED LIBDIR)
|
IF(DEFINED INCLUDEDIR)
|
||||||
set(LIBDIR ${LIBDIR}/${PROJECT_NAME})
|
SET(INCLUDEDIR ${INCLUDEDIR}/${PROJECT_NAME})
|
||||||
else()
|
ELSE(DEFINED INCLUDEDIR)
|
||||||
set(LIBDIR ${CMAKE_INSTALL_PREFIX}/lib/${PROJECT_NAME})
|
SET(INCLUDEDIR ${CMAKE_INSTALL_PREFIX}/include/${PROJECT_NAME})
|
||||||
endif()
|
ENDIF(DEFINED INCLUDEDIR)
|
||||||
|
|
||||||
if(NOT DEFINED SHAREDIR)
|
OPTION(ENABLE_NCURSES "Enable Ncurses interface" ON)
|
||||||
set(SHAREDIR ${CMAKE_INSTALL_PREFIX}/share)
|
OPTION(ENABLE_GTK "Enable GTK interface" OFF)
|
||||||
endif()
|
OPTION(ENABLE_NLS "Enable Native Language Support" ON)
|
||||||
|
OPTION(ENABLE_GNUTLS "Enable SSLv3/TLS support" ON)
|
||||||
|
OPTION(ENABLE_LARGEFILE "Enable Large File Support" ON)
|
||||||
|
OPTION(ENABLE_ALIAS "Enable Alias plugin" ON)
|
||||||
|
OPTION(ENABLE_ASPELL "Enable Aspell plugin" ON)
|
||||||
|
OPTION(ENABLE_CHARSET "Enable Charset plugin" ON)
|
||||||
|
OPTION(ENABLE_DEMO "Enable Demo plugin" OFF)
|
||||||
|
OPTION(ENABLE_FIFO "Enable FIFO plugin" ON)
|
||||||
|
OPTION(ENABLE_IRC "Enable IRC plugin" ON)
|
||||||
|
OPTION(ENABLE_LOGGER "Enable Logger plugin" ON)
|
||||||
|
OPTION(ENABLE_RELAY "Enable Relay plugin" ON)
|
||||||
|
OPTION(ENABLE_RMODIFIER "Enable Rmodifier plugin" ON)
|
||||||
|
OPTION(ENABLE_SCRIPT "Enable Script plugin (scripts manager)" ON)
|
||||||
|
OPTION(ENABLE_SCRIPTS "Enable script plugins (perl, python, ...)" ON)
|
||||||
|
OPTION(ENABLE_PERL "Enable Perl scripting language" ON)
|
||||||
|
OPTION(ENABLE_PYTHON "Enable Python scripting language" ON)
|
||||||
|
OPTION(ENABLE_RUBY "Enable Ruby scripting language" ON)
|
||||||
|
OPTION(ENABLE_LUA "Enable Lua scripting language" ON)
|
||||||
|
OPTION(ENABLE_TCL "Enable Tcl scripting language" ON)
|
||||||
|
OPTION(ENABLE_GUILE "Enable Scheme (guile) scripting language" ON)
|
||||||
|
OPTION(ENABLE_XFER "Enable Xfer plugin" ON)
|
||||||
|
OPTION(ENABLE_DOC "Enable Documentation" ON)
|
||||||
|
|
||||||
if(NOT DEFINED MANDIR)
|
IF(NOT DEFINED WEECHAT_HOME OR "${WEECHAT_HOME}" STREQUAL "")
|
||||||
set(MANDIR ${SHAREDIR}/man)
|
SET(WEECHAT_HOME "~/.weechat")
|
||||||
endif()
|
ENDIF(NOT DEFINED WEECHAT_HOME OR "${WEECHAT_HOME}" STREQUAL "")
|
||||||
|
|
||||||
if(NOT DEFINED LOCALEDIR)
|
SET(WEECHAT_HOME "${WEECHAT_HOME}" CACHE
|
||||||
set(LOCALEDIR ${SHAREDIR}/locale)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
if(DEFINED INCLUDEDIR)
|
|
||||||
set(INCLUDEDIR ${INCLUDEDIR}/${PROJECT_NAME})
|
|
||||||
else()
|
|
||||||
set(INCLUDEDIR ${CMAKE_INSTALL_PREFIX}/include/${PROJECT_NAME})
|
|
||||||
endif()
|
|
||||||
|
|
||||||
option(ENABLE_NCURSES "Enable Ncurses interface" ON)
|
|
||||||
option(ENABLE_NLS "Enable Native Language Support" ON)
|
|
||||||
option(ENABLE_GNUTLS "Enable SSLv3/TLS support" ON)
|
|
||||||
option(ENABLE_LARGEFILE "Enable Large File Support" ON)
|
|
||||||
option(ENABLE_ALIAS "Enable Alias plugin" ON)
|
|
||||||
option(ENABLE_ASPELL "Enable Aspell plugin" ON)
|
|
||||||
option(ENABLE_ENCHANT "Enable Enchant lib for Aspell plugin" OFF)
|
|
||||||
option(ENABLE_CHARSET "Enable Charset plugin" ON)
|
|
||||||
option(ENABLE_EXEC "Enable Exec plugin" ON)
|
|
||||||
option(ENABLE_FIFO "Enable FIFO plugin" ON)
|
|
||||||
option(ENABLE_IRC "Enable IRC plugin" ON)
|
|
||||||
option(ENABLE_LOGGER "Enable Logger plugin" ON)
|
|
||||||
option(ENABLE_RELAY "Enable Relay plugin" ON)
|
|
||||||
option(ENABLE_SCRIPT "Enable Script plugin (scripts manager)" ON)
|
|
||||||
option(ENABLE_SCRIPTS "Enable script plugins (perl, python, ...)" ON)
|
|
||||||
option(ENABLE_PERL "Enable Perl scripting language" ON)
|
|
||||||
option(ENABLE_PYTHON "Enable Python scripting language" ON)
|
|
||||||
option(ENABLE_PYTHON3 "Use Python 3.x if found (NOT recommended)" OFF)
|
|
||||||
option(ENABLE_RUBY "Enable Ruby scripting language" ON)
|
|
||||||
option(ENABLE_LUA "Enable Lua scripting language" ON)
|
|
||||||
option(ENABLE_TCL "Enable Tcl scripting language" ON)
|
|
||||||
option(ENABLE_GUILE "Enable Scheme (guile) scripting language" ON)
|
|
||||||
option(ENABLE_JAVASCRIPT "Enable JavaScript scripting language" ON)
|
|
||||||
option(ENABLE_TRIGGER "Enable Trigger plugin" ON)
|
|
||||||
option(ENABLE_XFER "Enable Xfer plugin" ON)
|
|
||||||
option(ENABLE_MAN "Enable build of man page" OFF)
|
|
||||||
option(ENABLE_DOC "Enable build of documentation" OFF)
|
|
||||||
option(ENABLE_TESTS "Enable tests" OFF)
|
|
||||||
|
|
||||||
# option WEECHAT_HOME
|
|
||||||
if(NOT DEFINED WEECHAT_HOME OR "${WEECHAT_HOME}" STREQUAL "")
|
|
||||||
set(WEECHAT_HOME "~/.weechat")
|
|
||||||
endif()
|
|
||||||
set(WEECHAT_HOME "${WEECHAT_HOME}" CACHE
|
|
||||||
STRING "WeeChat home directory for config, logs, scripts.. (default is \"~/.weechat\")"
|
STRING "WeeChat home directory for config, logs, scripts.. (default is \"~/.weechat\")"
|
||||||
FORCE)
|
FORCE)
|
||||||
mark_as_advanced(CLEAR WEECHAT_HOME)
|
MARK_AS_ADVANCED(CLEAR WEECHAT_HOME)
|
||||||
|
|
||||||
# option CA_FILE
|
IF(ENABLE_NLS)
|
||||||
if(NOT DEFINED CA_FILE OR "${CA_FILE}" STREQUAL "")
|
ADD_SUBDIRECTORY( po )
|
||||||
set(CA_FILE "/etc/ssl/certs/ca-certificates.crt")
|
ENDIF(ENABLE_NLS)
|
||||||
endif()
|
|
||||||
set(CA_FILE "${CA_FILE}" CACHE
|
|
||||||
STRING "File containing the certificate authorities (default is \"/etc/ssl/certs/ca-certificates.crt\"). This is the default value of option \"weechat.network.gnutls_ca_file\"."
|
|
||||||
FORCE)
|
|
||||||
mark_as_advanced(CLEAR CA_FILE)
|
|
||||||
|
|
||||||
if(COMMAND cmake_policy)
|
ADD_SUBDIRECTORY( src )
|
||||||
if(POLICY CMP0003)
|
ADD_SUBDIRECTORY( doc )
|
||||||
cmake_policy(SET CMP0003 NEW)
|
|
||||||
endif()
|
|
||||||
if(POLICY CMP0017)
|
|
||||||
cmake_policy(SET CMP0017 NEW)
|
|
||||||
endif()
|
|
||||||
endif()
|
|
||||||
|
|
||||||
add_definitions(-DHAVE_CONFIG_H)
|
CONFIGURE_FILE(config.h.cmake config.h @ONLY)
|
||||||
|
|
||||||
include(CheckIncludeFiles)
|
CONFIGURE_FILE(
|
||||||
include(CheckFunctionExists)
|
"${CMAKE_CURRENT_SOURCE_DIR}/cmake/makedist.sh.in"
|
||||||
include(CheckSymbolExists)
|
"${CMAKE_CURRENT_BINARY_DIR}/makedist.sh" IMMEDIATE
|
||||||
|
@ONLY)
|
||||||
|
|
||||||
check_include_files("langinfo.h" HAVE_LANGINFO_CODESET)
|
CONFIGURE_FILE(
|
||||||
check_include_files("sys/resource.h" HAVE_SYS_RESOURCE_H)
|
|
||||||
|
|
||||||
check_function_exists(mallinfo HAVE_MALLINFO)
|
|
||||||
|
|
||||||
check_symbol_exists("eat_newline_glitch" "term.h" HAVE_EAT_NEWLINE_GLITCH)
|
|
||||||
|
|
||||||
# Check for Large File Support
|
|
||||||
if(ENABLE_LARGEFILE)
|
|
||||||
add_definitions(-D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_LARGE_FILES)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
# Check for Gettext
|
|
||||||
if(ENABLE_NLS)
|
|
||||||
find_package(Gettext)
|
|
||||||
if(GETTEXT_FOUND)
|
|
||||||
add_definitions(-DENABLE_NLS)
|
|
||||||
endif()
|
|
||||||
endif()
|
|
||||||
|
|
||||||
# Check for libgcrypt
|
|
||||||
find_package(GCRYPT REQUIRED)
|
|
||||||
add_definitions(-DHAVE_GCRYPT)
|
|
||||||
list(APPEND EXTRA_LIBS ${GCRYPT_LDFLAGS})
|
|
||||||
|
|
||||||
# Check for GnuTLS
|
|
||||||
if(ENABLE_GNUTLS)
|
|
||||||
find_package(GnuTLS)
|
|
||||||
if(GNUTLS_FOUND)
|
|
||||||
string(REGEX REPLACE "/[^/]*$" "" GNUTLS_LIBRARY_PATH "${GNUTLS_LIBRARY}")
|
|
||||||
add_definitions(-DHAVE_GNUTLS)
|
|
||||||
include_directories(${GNUTLS_INCLUDE_PATH})
|
|
||||||
set(CMAKE_C_LINK_FLAGS "${CMAKE_C_LINK_FLAGS} -L${GNUTLS_LIBRARY_PATH}")
|
|
||||||
list(APPEND EXTRA_LIBS gnutls)
|
|
||||||
endif()
|
|
||||||
endif()
|
|
||||||
|
|
||||||
# Check for zlib
|
|
||||||
find_package(ZLIB REQUIRED)
|
|
||||||
add_definitions(-DHAVE_ZLIB)
|
|
||||||
|
|
||||||
# Check for iconv
|
|
||||||
find_package(Iconv)
|
|
||||||
if(ICONV_FOUND)
|
|
||||||
add_definitions(-DHAVE_ICONV)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
# Check for CURL
|
|
||||||
find_package(CURL REQUIRED)
|
|
||||||
|
|
||||||
# weechat_gui_common MUST be the first lib in the list
|
|
||||||
set(STATIC_LIBS weechat_gui_common)
|
|
||||||
|
|
||||||
find_library(DL_LIBRARY
|
|
||||||
NAMES dl
|
|
||||||
PATHS /lib /usr/lib /usr/libexec /usr/local/lib /usr/local/libexec
|
|
||||||
)
|
|
||||||
list(APPEND STATIC_LIBS weechat_plugins)
|
|
||||||
if(DL_LIBRARY)
|
|
||||||
string(REGEX REPLACE "/[^/]*$" "" DL_LIBRARY_PATH "${DL_LIBRARY}")
|
|
||||||
set(CMAKE_C_LINK_FLAGS "${CMAKE_C_LINK_FLAGS} -L${DL_LIBRARY_PATH}")
|
|
||||||
list(APPEND EXTRA_LIBS dl)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
if(ENABLE_NLS)
|
|
||||||
add_subdirectory(po)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
add_subdirectory(src)
|
|
||||||
add_subdirectory(doc)
|
|
||||||
|
|
||||||
if(ENABLE_TESTS)
|
|
||||||
enable_testing()
|
|
||||||
add_subdirectory(tests)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
configure_file(config.h.cmake config.h @ONLY)
|
|
||||||
|
|
||||||
# set the git version in "config-git.h"
|
|
||||||
add_custom_target(version_git ALL
|
|
||||||
COMMAND "${CMAKE_CURRENT_SOURCE_DIR}/scripts/git-version.sh" "${CMAKE_CURRENT_SOURCE_DIR}" "${VERSION}" "config-git.h"
|
|
||||||
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}")
|
|
||||||
|
|
||||||
configure_file(
|
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/cmake/cmake_uninstall.cmake.in"
|
"${CMAKE_CURRENT_SOURCE_DIR}/cmake/cmake_uninstall.cmake.in"
|
||||||
"${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake"
|
"${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake"
|
||||||
IMMEDIATE @ONLY)
|
IMMEDIATE @ONLY)
|
||||||
|
|
||||||
add_custom_target(uninstall
|
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_CURRENT_BINARY_DIR}"
|
"${CMAKE_BINARY_DIR}/makedist.sh"
|
||||||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
|
DEPENDS doc
|
||||||
|
WORKING_DIRECTORY ${CMAKE_BINARY_DIR})
|
||||||
|
|
||||||
# pkgconfig file
|
# pkgconfig file
|
||||||
set(PACKAGE "${PROJECT_NAME}")
|
SET(PACKAGE "${PROJECT_NAME}")
|
||||||
set(prefix "${CMAKE_INSTALL_PREFIX}")
|
SET(prefix "${CMAKE_INSTALL_PREFIX}")
|
||||||
set(exec_prefix "\${prefix}")
|
SET(exec_prefix "\${prefix}")
|
||||||
set(libdir "\${exec_prefix}/lib")
|
SET(libdir "\${exec_prefix}/lib")
|
||||||
set(includedir "\${prefix}/include")
|
SET(includedir "\${prefix}/include")
|
||||||
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/weechat.pc.in ${CMAKE_CURRENT_BINARY_DIR}/weechat.pc @ONLY)
|
CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/weechat.pc.in ${CMAKE_CURRENT_BINARY_DIR}/weechat.pc @ONLY)
|
||||||
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat.pc DESTINATION ${LIBDIR}/../pkgconfig)
|
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat.pc DESTINATION ${LIBDIR}/../pkgconfig)
|
||||||
|
|
||||||
# cygport file (used to build Cygwin packages)
|
|
||||||
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/weechat.cygport.in ${CMAKE_CURRENT_BINARY_DIR}/weechat-${VERSION}-1.cygport @ONLY)
|
|
||||||
|
|
||||||
# install some files (only on Cygwin)
|
|
||||||
if(CYGWIN)
|
|
||||||
install(FILES
|
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/AUTHORS.asciidoc
|
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/ChangeLog.asciidoc
|
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/Contributing.asciidoc
|
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/README.asciidoc
|
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/ReleaseNotes.asciidoc
|
|
||||||
DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME})
|
|
||||||
endif()
|
|
||||||
|
|
||||||
# icon
|
|
||||||
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/weechat.png DESTINATION ${SHAREDIR}/icons/hicolor/32x32/apps)
|
|
||||||
|
|
||||||
# packages
|
# packages
|
||||||
set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Fast, light and extensible chat client")
|
SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Fast, light and extensible chat client")
|
||||||
set(CPACK_PACKAGE_VENDOR "Sébastien Helleu")
|
SET(CPACK_PACKAGE_VENDOR "Sebastien Helleu")
|
||||||
set(CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_CURRENT_SOURCE_DIR}/README.asciidoc")
|
SET(CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_CURRENT_SOURCE_DIR}/README")
|
||||||
set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/COPYING")
|
SET(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/COPYING")
|
||||||
set(CPACK_PACKAGE_VERSION_MAJOR ${VERSION_MAJOR})
|
SET(CPACK_PACKAGE_VERSION_MAJOR ${VERSION_MAJOR})
|
||||||
set(CPACK_PACKAGE_VERSION_MINOR ${VERSION_MINOR})
|
SET(CPACK_PACKAGE_VERSION_MINOR ${VERSION_MINOR})
|
||||||
set(CPACK_PACKAGE_VERSION_PATCH ${VERSION_PATCH})
|
SET(CPACK_PACKAGE_VERSION_PATCH ${VERSION_PATCH})
|
||||||
|
|
||||||
# binary package
|
# binary package
|
||||||
set(CPACK_GENERATOR "STGZ;TGZ;TBZ2")
|
SET(CPACK_GENERATOR "STGZ;TGZ;TBZ2")
|
||||||
set(CPACK_PACKAGE_FILE_NAME weechat-binary-${VERSION})
|
SET(CPACK_PACKAGE_FILE_NAME weechat-binary-${VERSION})
|
||||||
|
|
||||||
# source package
|
# source package
|
||||||
set(CPACK_SOURCE_GENERATOR "TGZ;TBZ2")
|
SET(CPACK_SOURCE_GENERATOR "TGZ;TBZ2")
|
||||||
set(CPACK_SOURCE_PACKAGE_FILE_NAME weechat-${VERSION})
|
SET(CPACK_SOURCE_PACKAGE_FILE_NAME weechat-${VERSION})
|
||||||
set(CPACK_SOURCE_IGNORE_FILES "/\\\\.git" "/build/" "/m4/"
|
SET(CPACK_SOURCE_IGNORE_FILES "/\\\\.git" "/build/" "/m4/"
|
||||||
"/autom4te\\\\.cache/" "/ABOUT-NLS$" "/config\\\\.guess$" "/config\\\\.h$"
|
"/autom4te\\\\.cache/" "/ABOUT-NLS$" "/config\\\\.guess$" "/config\\\\.h$"
|
||||||
"/config\\\\.h.in$" "/config\\\\.log$" "/config\\\\.rpath$"
|
"/config\\\\.h.in$" "/config\\\\.log$" "/config\\\\.rpath$"
|
||||||
"/config\\\\.status$" "/config\\\\.sub$" "/configure$" "/depcomp$"
|
"/config\\\\.status$" "/config\\\\.sub$" "/configure$" "/depcomp$"
|
||||||
"/install-sh$" "/missing$" "/intl/" "/libtool$" "/\\\\.libs/"
|
"/install-sh$" "/missing$" "/intl/" "/libtool$" "/\\\\.libs/"
|
||||||
"/ltmain\\\\.sh$" "/\\\\.deps/" "/html/" "/html1/" "/Makefile$"
|
"/ltmain\\\\.sh$" "/\\\\.deps/" "/html/" "/html1/" "/Makefile$"
|
||||||
"/Makefile\\\\.in$" "stamp" "/po/.*\\\\.header$" "\\\\.gmo$" "~$" "\\\\.o$"
|
"/Makefile\\\\.in$" "stamp" "/po/.*\\\\.header$" "\\\\.gmo$" "~$" "\\\\.o$"
|
||||||
"\\\\.lo$" "\\\\.a$" "\\\\.la$" "\\\\.lai$" "\\\\.Plo$" "/weechat$"
|
"\\\\.lo$" "\\\\.a$" "\\\\.la$" "\\\\.lai$" "\\\\.Plo$" "/weechat-curses$"
|
||||||
|
"/weechat-gtk$"
|
||||||
)
|
)
|
||||||
|
|
||||||
include(CPack)
|
INCLUDE(CPack)
|
||||||
|
|||||||
+780
-1915
File diff suppressed because it is too large
Load Diff
@@ -1,86 +0,0 @@
|
|||||||
= Contributing to WeeChat
|
|
||||||
:author: Sébastien Helleu
|
|
||||||
:email: flashcode@flashtux.org
|
|
||||||
:lang: en
|
|
||||||
|
|
||||||
|
|
||||||
== Reporting bugs
|
|
||||||
|
|
||||||
First, some basic things:
|
|
||||||
|
|
||||||
* Use only English to communicate with developers.
|
|
||||||
* If you can, please check if the problem has been fixed in development version
|
|
||||||
(if you are using a stable release or old version).
|
|
||||||
* Report only one bug or feature request per issue.
|
|
||||||
|
|
||||||
=== Security reports
|
|
||||||
|
|
||||||
Please *DO NOT* file a GitHub issue for security related problems, but send an
|
|
||||||
email to <security@weechat.org> instead.
|
|
||||||
|
|
||||||
=== Required info
|
|
||||||
|
|
||||||
When reporting https://github.com/weechat/weechat/issues[issues] on GitHub,
|
|
||||||
please include:
|
|
||||||
|
|
||||||
* your *WeeChat version*: the output of `/v` in WeeChat, for example:
|
|
||||||
'WeeChat 1.0-dev (git: v0.4.3-475-gb174b3c)'. +
|
|
||||||
If WeeChat does not start at all, please include the version displayed by
|
|
||||||
`weechat --help` (or the version installed with your package manager).
|
|
||||||
* your *operating system*: its name and version (examples: Linux Debian Wheezy,
|
|
||||||
FreeBSD 10.0, Windows/Cygwin 64-bit, ...).
|
|
||||||
* the *steps to reproduce*: if possible, please include a reproducible example:
|
|
||||||
explain the steps which led you to the problem. +
|
|
||||||
It's even better if you can reproduce the problem with a new config (and no
|
|
||||||
scripts loaded): try `weechat --dir /tmp/weechat` and check if you have the
|
|
||||||
problem here.
|
|
||||||
* the *gdb's backtrace* (only for a crash): if you can reproduce the crash
|
|
||||||
(or if you have a core file), please include the backtrace from gdb (look at
|
|
||||||
https://weechat.org/files/doc/devel/weechat_user.en.html#report_crashes[User's guide]
|
|
||||||
for more info).
|
|
||||||
|
|
||||||
[IMPORTANT]
|
|
||||||
Most of times, the WeeChat crash log file ('weechat_crash_YYYYMMDD_xxx.log') is
|
|
||||||
*NOT USEFUL* to fix the bug, so please report this file *ONLY* if a developer
|
|
||||||
asked you to send it (and be extremely careful, this file can contain personal
|
|
||||||
data like passwords and contents of your chats).
|
|
||||||
|
|
||||||
=== Scripts related issues
|
|
||||||
|
|
||||||
If you are using scripts, they can cause problems/crashes. To check if the
|
|
||||||
problem is related to one script, try to unload them one by one (using
|
|
||||||
command `/script unload <name>`).
|
|
||||||
|
|
||||||
Many issues reported are in fact related to bugs in scripts, so please first
|
|
||||||
check that before reporting any issue on WeeChat itself.
|
|
||||||
|
|
||||||
If you think the problem comes from a specific script, please report the issue
|
|
||||||
in the https://github.com/weechat/scripts/issues[scripts git repository]
|
|
||||||
instead.
|
|
||||||
|
|
||||||
== Translations
|
|
||||||
|
|
||||||
Pull requests on GitHub for fixes or new translations are welcome at any
|
|
||||||
time, for https://github.com/weechat/weechat[WeeChat] and
|
|
||||||
the web site https://github.com/weechat/weechat.org[weechat.org].
|
|
||||||
|
|
||||||
To start a translation in a new language (not yet supported), please look at
|
|
||||||
https://weechat.org/files/doc/devel/weechat_dev.en.html#translations[translations]
|
|
||||||
in Developer's guide.
|
|
||||||
|
|
||||||
== Feature requests
|
|
||||||
|
|
||||||
WeeChat is under active development, so your idea may already have been
|
|
||||||
implemented, or scheduled for a future version (you can check in
|
|
||||||
https://weechat.org/dev[roadmap] or
|
|
||||||
https://github.com/weechat/weechat/milestones[milestones] on GitHub.
|
|
||||||
|
|
||||||
Pull requests on GitHub are welcome for minor new features.
|
|
||||||
|
|
||||||
For major new features, it's better to discuss about it in IRC
|
|
||||||
(server: 'chat.freenode.net', channel '#weechat').
|
|
||||||
|
|
||||||
Before submitting any pull request, be sure you have read the
|
|
||||||
https://weechat.org/files/doc/devel/weechat_dev.en.html#coding_rules[coding rules]
|
|
||||||
in Developer's guide, which contains info about styles used, naming convention
|
|
||||||
and other useful info.
|
|
||||||
@@ -0,0 +1,36 @@
|
|||||||
|
WeeChat Installation instructions
|
||||||
|
=================================
|
||||||
|
|
||||||
|
You can build WeeChat with cmake (recommended way) or autotools.
|
||||||
|
|
||||||
|
|
||||||
|
With cmake
|
||||||
|
----------
|
||||||
|
|
||||||
|
------------------------------------------------------------------
|
||||||
|
mkdir build
|
||||||
|
cd build
|
||||||
|
cmake .. -DPREFIX=/where/you/want/install -DCMAKE_BUILD_TYPE=Debug
|
||||||
|
make
|
||||||
|
make install (as root for installation in system directories)
|
||||||
|
------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
|
With autotools
|
||||||
|
--------------
|
||||||
|
|
||||||
|
----------------------------------------------------------------------
|
||||||
|
./autogen.sh (for cloned git repository only, not .tar.XX package)
|
||||||
|
./configure --prefix=/where/you/want/install
|
||||||
|
make
|
||||||
|
make install (as root for installation in system directories)
|
||||||
|
----------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
|
If you want to report bugs/crashes to developers, please:
|
||||||
|
|
||||||
|
- compile with debug info (type "Debug" for cmake build, default for autotools),
|
||||||
|
- enable core files (for bash shell, add "ulimit -c unlimited" to your ~/.bashrc).
|
||||||
|
|
||||||
|
|
||||||
|
See AUTHORS for support, feel free to contact us for any problem.
|
||||||
+12
-36
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2003-2015 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
|
||||||
# Copyright (C) 2005 Julien Louis <ptitlouis@sysif.net>
|
# Copyright (C) 2005 Julien Louis <ptitlouis@sysif.net>
|
||||||
# Copyright (C) 2006-2009 Emmanuel Bouthenot <kolter@openics.org>
|
# Copyright (C) 2006-2009 Emmanuel Bouthenot <kolter@openics.org>
|
||||||
#
|
#
|
||||||
@@ -19,64 +19,40 @@
|
|||||||
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#
|
#
|
||||||
|
|
||||||
# This target will update file config-git.h with output of command "git describe"
|
if DOC
|
||||||
# (if needed, and only for a devel/rc version).
|
doc_dir = doc
|
||||||
BUILT_SOURCES = build-config-git.h
|
|
||||||
build-config-git.h:
|
|
||||||
-$(abs_top_srcdir)/scripts/git-version.sh "$(abs_top_srcdir)" "$(VERSION)" config-git.h
|
|
||||||
|
|
||||||
if TESTS
|
|
||||||
tests_dir = tests
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
SUBDIRS = po doc intl src $(tests_dir)
|
SUBDIRS = po $(doc_dir) intl src
|
||||||
|
|
||||||
EXTRA_DIST = AUTHORS.asciidoc \
|
EXTRA_DIST = CMakeLists.txt \
|
||||||
ChangeLog.asciidoc \
|
|
||||||
Contributing.asciidoc \
|
|
||||||
README.asciidoc \
|
|
||||||
ReleaseNotes.asciidoc \
|
|
||||||
CMakeLists.txt \
|
|
||||||
config.rpath \
|
config.rpath \
|
||||||
config.h.cmake \
|
config.h.cmake \
|
||||||
makedist.sh \
|
cmake/cmake_uninstall.cmake.in \
|
||||||
cmake/CMakeParseArguments.cmake \
|
|
||||||
cmake/FindAsciidoc.cmake \
|
cmake/FindAsciidoc.cmake \
|
||||||
cmake/FindAspell.cmake \
|
cmake/FindAspell.cmake \
|
||||||
cmake/FindCppUTest.cmake \
|
cmake/FindGcrypt.cmake \
|
||||||
cmake/FindENCHANT.cmake \
|
|
||||||
cmake/FindGCRYPT.cmake \
|
|
||||||
cmake/FindGettext.cmake \
|
cmake/FindGettext.cmake \
|
||||||
cmake/FindGnuTLS.cmake \
|
cmake/FindGnuTLS.cmake \
|
||||||
cmake/FindGuile.cmake \
|
|
||||||
cmake/FindIconv.cmake \
|
cmake/FindIconv.cmake \
|
||||||
cmake/FindLua.cmake \
|
cmake/FindLua.cmake \
|
||||||
cmake/FindNcurses.cmake \
|
cmake/FindNcurses.cmake \
|
||||||
cmake/FindPackageHandleStandardArgs.cmake \
|
|
||||||
cmake/FindPerl.cmake \
|
cmake/FindPerl.cmake \
|
||||||
cmake/FindPkgConfig.cmake \
|
cmake/FindPkgConfig.cmake \
|
||||||
cmake/FindPython.cmake \
|
cmake/FindPython.cmake \
|
||||||
cmake/FindRuby.cmake \
|
cmake/FindRuby.cmake \
|
||||||
cmake/FindSourcehighlight.cmake \
|
cmake/FindSourcehighlight.cmake \
|
||||||
cmake/FindTCL.cmake \
|
cmake/FindTCL.cmake \
|
||||||
cmake/FindV8.cmake \
|
cmake/FindGuile.cmake \
|
||||||
cmake/FindZLIB.cmake \
|
cmake/makedist.sh.in \
|
||||||
cmake/cmake_uninstall.cmake.in \
|
|
||||||
po/CMakeLists.txt \
|
po/CMakeLists.txt \
|
||||||
po/srcfiles.cmake \
|
po/srcfiles.cmake \
|
||||||
scripts/build.sh \
|
weechat.spec \
|
||||||
scripts/git-version.sh \
|
weechat_icon_32.png \
|
||||||
weechat.png \
|
|
||||||
weechat.pc.in \
|
weechat.pc.in \
|
||||||
weechat.cygport.in
|
UPGRADE_0.3
|
||||||
|
|
||||||
ACLOCAL_AMFLAGS = -I m4
|
ACLOCAL_AMFLAGS = -I m4
|
||||||
|
|
||||||
pkgconfigdir = $(libdir)/pkgconfig
|
pkgconfigdir = $(libdir)/pkgconfig
|
||||||
pkgconfig_DATA = weechat.pc
|
pkgconfig_DATA = weechat.pc
|
||||||
|
|
||||||
icondir = $(datadir)/icons/hicolor/32x32/apps
|
|
||||||
icon_DATA = weechat.png
|
|
||||||
|
|
||||||
clean-local:
|
|
||||||
$(RM) config-git.h
|
|
||||||
|
|||||||
@@ -0,0 +1,405 @@
|
|||||||
|
WeeChat Release Notes
|
||||||
|
=====================
|
||||||
|
Sébastien Helleu <flashcode@flashtux.org>
|
||||||
|
v0.3.9.2, 2012-11-18
|
||||||
|
|
||||||
|
|
||||||
|
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)
|
||||||
|
--------------------------
|
||||||
|
|
||||||
|
Important release notes:
|
||||||
|
|
||||||
|
* 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 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"`
|
||||||
|
* changes in options for command `/aspell`:
|
||||||
|
** new option `enable`: enable aspell
|
||||||
|
** new option `disable`: disable aspell
|
||||||
|
** new option `toggle`: toggle aspell (new default key: alt+"s")
|
||||||
|
** option `enable` renamed to `setdict` (set dictionary for current buffer)
|
||||||
|
** option `disable` renamed to `deldict` (delete dictionary used on current buffer)
|
||||||
|
** option `dictlist` renamed to `listdict` (show installed dictionaries)
|
||||||
|
* 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 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)
|
||||||
|
--------------------------
|
||||||
|
|
||||||
|
Important release notes:
|
||||||
|
|
||||||
|
* 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)
|
||||||
|
* 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 "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 (command: `/rmodifier default -yes`).
|
||||||
|
If you added/changed some rmodifiers, do it manually with these two commannds:
|
||||||
|
** `/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)
|
||||||
|
--------------------------
|
||||||
|
|
||||||
|
Important release notes:
|
||||||
|
|
||||||
|
* 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`
|
||||||
|
* 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"
|
||||||
|
* 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)
|
||||||
|
|
||||||
|
Version 0.3.6 (2011-10-22)
|
||||||
|
--------------------------
|
||||||
|
|
||||||
|
Important release notes:
|
||||||
|
|
||||||
|
* 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'
|
||||||
|
* option 'weechat.look.hline_char' has been renamed to
|
||||||
|
'weechat.look.separator_horizontal'
|
||||||
|
|
||||||
|
Version 0.3.5 (2011-05-15)
|
||||||
|
--------------------------
|
||||||
|
|
||||||
|
Important release notes:
|
||||||
|
|
||||||
|
* 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'
|
||||||
|
* count of messages have been added to hotlist by default, if you want to come
|
||||||
|
back to old behaviour, do that:
|
||||||
|
** `/set weechat.look.hotlist_count_max 0`
|
||||||
|
** `/set weechat.look.hotlist_buffer_separator ","`
|
||||||
|
* 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 behaviour, do
|
||||||
|
that:
|
||||||
|
** `/set weechat.look.hotlist_add_buffer_if_away off`
|
||||||
|
* 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)
|
||||||
|
--------------------------
|
||||||
|
|
||||||
|
Important release notes:
|
||||||
|
|
||||||
|
* 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)
|
||||||
|
* 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)
|
||||||
|
--------------------------
|
||||||
|
|
||||||
|
Important release notes:
|
||||||
|
|
||||||
|
* if you are using `/upgrade` from a previous release, then you must reconnect
|
||||||
|
to IRC servers in order to use new command /wallchops.
|
||||||
|
* 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)
|
||||||
|
--------------------------
|
||||||
|
|
||||||
|
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 crashs 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)
|
||||||
|
--------------------------
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
For more information about this version, please read file 'UPGRADE_0.3'.
|
||||||
|
|
||||||
|
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)
|
||||||
|
--------------------------
|
||||||
|
|
||||||
|
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: `/key meta2-21~ scroll_topic_right`).
|
||||||
|
|
||||||
|
Version 0.2.1 (2006-10-01)
|
||||||
|
--------------------------
|
||||||
|
|
||||||
|
No release note.
|
||||||
|
|
||||||
|
Version 0.2.0 (2006-08-19)
|
||||||
|
--------------------------
|
||||||
|
|
||||||
|
Important release notes:
|
||||||
|
|
||||||
|
* if you upgraded with `/upgrade` in WeeChat, you should `/disconnect` and then
|
||||||
|
`/reconnect` on each server, to display properly channel/user modes.
|
||||||
|
* if you're using plugins, you should remove some old plugins libraries in
|
||||||
|
WeeChat system library directory (commonly '/usr/local/lib/weechat/plugins'):
|
||||||
|
remove `lib*` files (like `libperl.*`, `libpython.*`, ..) and keep only new
|
||||||
|
libraries (`perl.*`, `python.*`, ..).
|
||||||
|
|
||||||
|
Version 0.1.9 (2006-05-25)
|
||||||
|
--------------------------
|
||||||
|
|
||||||
|
Important release notes:
|
||||||
|
|
||||||
|
* please close all DCC chat buffers before using /upgrade command, otherwise you
|
||||||
|
may experience problems with DCC chats.
|
||||||
|
* some changes in script API: now timer handlers functions takes exactly
|
||||||
|
0 (zero) argument (in version 0.1.8, two arguments were mandatory but not
|
||||||
|
used: server and args).
|
||||||
|
|
||||||
|
Version 0.1.8 (2006-03-18)
|
||||||
|
--------------------------
|
||||||
|
|
||||||
|
Important release notes:
|
||||||
|
|
||||||
|
* it is recommended for users of version 0.1.7 (or any older), to
|
||||||
|
replace values in setup file ('~/.weechat/weechat.rc'):
|
||||||
|
** option: log_path: replace '~/.weechat/logs' by '%h/logs'
|
||||||
|
** option: plugins_path: replace '~/.weechat/plugins' by '%h/plugins' +
|
||||||
|
'%h' is replaced by WeeChat home (default: '~/.weechat', may be overriden
|
||||||
|
by new command line arg `--dir`).
|
||||||
|
* after installing 0.1.8 (or with `/upgrade`), issue both commands (if you
|
||||||
|
didn't redefine these keys (alt+{home|end}):
|
||||||
|
** `/key unbind meta-meta2-1~`
|
||||||
|
** `/key unbind meta-meta2-4~`
|
||||||
|
** then launch again WeeChat (or issue `/upgrade`).
|
||||||
|
* Keys alt+{home|end} were used for nicklist scroll, they're now replaced by
|
||||||
|
alt+{F11|F12}.
|
||||||
|
|
||||||
|
Version 0.1.7 (2006-01-14)
|
||||||
|
--------------------------
|
||||||
|
|
||||||
|
Important release notes:
|
||||||
|
|
||||||
|
* Ruby script plugin has been added but is experimental in this release.
|
||||||
|
You're warned!
|
||||||
|
* `/away` command was changed to be RFC 2812 compliant. Now argument is required
|
||||||
|
to set away, and no argument means remove away ("back"). Option
|
||||||
|
'irc_default_msg_away' has been removed.
|
||||||
|
|
||||||
|
Version 0.1.6 (2005-11-11)
|
||||||
|
--------------------------
|
||||||
|
|
||||||
|
Important release notes:
|
||||||
|
|
||||||
|
* incompatibility with some old scripts: now all handlers have to return a code
|
||||||
|
for completion, and to do some actions about message to ignore (please look at
|
||||||
|
documentation for detail).
|
||||||
|
* on OpenBSD, the new option 'plugins_extension' should be set to '.so.0.0'
|
||||||
|
since the plugins names are ending by '.so.0.0' and not '.so'.
|
||||||
|
* with new and full UTF-8 support, the option 'look_charset_internal' should be
|
||||||
|
set to blank for most cases. Forces it only if your locale is not properly
|
||||||
|
detected by WeeChat (you can set 'UTF-8' or 'ISO-8859-15' for example,
|
||||||
|
depending on your locale). WeeChat is looking for 'UTF-8' in your locale name
|
||||||
|
at startup.
|
||||||
|
|
||||||
|
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.
|
||||||
@@ -0,0 +1,40 @@
|
|||||||
|
WeeChat Readme
|
||||||
|
==============
|
||||||
|
|
||||||
|
|
||||||
|
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat
|
||||||
|
environment for many operating systems. Everything can be done with a keyboard.
|
||||||
|
It is customizable and extensible with scripts.
|
||||||
|
|
||||||
|
|
||||||
|
Features
|
||||||
|
--------
|
||||||
|
|
||||||
|
* chat client with multi-protocols/servers connection
|
||||||
|
* small, fast and very light
|
||||||
|
* customizable and extensible with plugins (C, Perl, Python, Ruby, Lua, Tcl, Guile)
|
||||||
|
* compliant with IRC RFCs 1459, 2810, 2811, 2812 and 2813
|
||||||
|
* developed from scratch
|
||||||
|
* multi-platform (GNU/Linux, *BSD, Mac OS X, QNX, Windows & other)
|
||||||
|
* free software, released under GPLv3
|
||||||
|
|
||||||
|
|
||||||
|
Copyright
|
||||||
|
---------
|
||||||
|
|
||||||
|
Copyright (C) 2003-2012 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
|
|
||||||
|
This file is part of WeeChat, the extensible chat client.
|
||||||
|
|
||||||
|
WeeChat is free software; you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation; either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
WeeChat is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||||
@@ -1,92 +0,0 @@
|
|||||||
= WeeChat
|
|
||||||
:author: Sébastien Helleu
|
|
||||||
:email: flashcode@flashtux.org
|
|
||||||
:lang: en
|
|
||||||
|
|
||||||
|
|
||||||
WeeChat (Wee Enhanced Environment for Chat) is a free chat client, fast and
|
|
||||||
light, designed for many operating systems.
|
|
||||||
It is highly customizable and extensible with scripts.
|
|
||||||
|
|
||||||
Homepage: https://weechat.org/
|
|
||||||
|
|
||||||
image:https://travis-ci.org/weechat/weechat.svg?branch=master["Build Status", link="https://travis-ci.org/weechat/weechat"]
|
|
||||||
|
|
||||||
== Features
|
|
||||||
|
|
||||||
* Modular chat client with a lightweight core and optional plugins.
|
|
||||||
* Multi-platform (GNU/Linux, *BSD, Mac OS X, QNX, Windows & other).
|
|
||||||
* Multi-protocols architecture (mainly IRC).
|
|
||||||
* Compliant with IRC RFCs 1459, 2810, 2811, 2812 and 2813.
|
|
||||||
* Small, fast and very light.
|
|
||||||
* Customizable and extensible with plugins (C, Perl, Python, Ruby, Lua, Tcl,
|
|
||||||
Guile, Javascript).
|
|
||||||
* Fully documented and translated into several languages.
|
|
||||||
* Developed from scratch.
|
|
||||||
* Free software, released under GPLv3.
|
|
||||||
|
|
||||||
image::https://weechat.org/media/images/screenshots/weechat/medium/weechat_2013-04-27_phlux_shadow.png[align="center"]
|
|
||||||
|
|
||||||
== Install
|
|
||||||
|
|
||||||
=== Dependencies
|
|
||||||
|
|
||||||
Following packages are *required*:
|
|
||||||
|
|
||||||
* CMake
|
|
||||||
* libncurses
|
|
||||||
* libcurl
|
|
||||||
* zlib
|
|
||||||
* libgcrypt
|
|
||||||
|
|
||||||
Following packages are optional:
|
|
||||||
|
|
||||||
* for i18n: gettext
|
|
||||||
* for SSL: gnutls, ca-certificates
|
|
||||||
* for spell checking: aspell
|
|
||||||
* for scripting: python, perl, ruby, lua, tcl, guile, libv8 (javascript)
|
|
||||||
* for building doc: asciidoc, source-highlight
|
|
||||||
(for man page: xsltproc, docbook-xml, docbook-xsl)
|
|
||||||
* for building tests: C++ compiler, CppUTest
|
|
||||||
|
|
||||||
For a complete list of dependencies and versions recommended, please look at
|
|
||||||
https://weechat.org/files/doc/devel/weechat_user.en.html#dependencies[user's guide].
|
|
||||||
|
|
||||||
=== Compile
|
|
||||||
|
|
||||||
WeeChat can be built with http://cmake.org/[CMake] (recommended) or autotools.
|
|
||||||
|
|
||||||
[NOTE]
|
|
||||||
Only CMake is officially supported to build WeeChat. You should use autotools
|
|
||||||
only if you are not able to use CMake. +
|
|
||||||
Build with autotools requires more dependencies and is slower than with CMake.
|
|
||||||
|
|
||||||
----
|
|
||||||
$ mkdir build
|
|
||||||
$ cd build
|
|
||||||
$ cmake .. -DPREFIX=/path/to/directory
|
|
||||||
$ make
|
|
||||||
$ make install (as root for installation in system directories)
|
|
||||||
----
|
|
||||||
|
|
||||||
For more information or installation with autotools, please look at
|
|
||||||
https://weechat.org/files/doc/devel/weechat_user.en.html#compile_with_autotools[user's guide].
|
|
||||||
|
|
||||||
== Copyright
|
|
||||||
|
|
||||||
Copyright (C) 2003-2015 Sébastien Helleu <flashcode@flashtux.org>
|
|
||||||
|
|
||||||
This file is part of WeeChat, the extensible chat client.
|
|
||||||
|
|
||||||
WeeChat is free software; you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU General Public License as published by
|
|
||||||
the Free Software Foundation; either version 3 of the License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
WeeChat is distributed in the hope that it will be useful,
|
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
|
||||||
along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
File diff suppressed because it is too large
Load Diff
+83
@@ -0,0 +1,83 @@
|
|||||||
|
WeeChat Upgrade to 0.3.x
|
||||||
|
========================
|
||||||
|
Sébastien Helleu <flashcode@flashtux.org>
|
||||||
|
v0.3.0, 2009-09-06
|
||||||
|
|
||||||
|
|
||||||
|
This document lists major changes introduced in version 0.3.0 and not compatible
|
||||||
|
with versions 0.2.x.
|
||||||
|
|
||||||
|
|
||||||
|
Upgrade to version 0.3.x
|
||||||
|
------------------------
|
||||||
|
|
||||||
|
It is *NOT POSSIBLE* to use command `/upgrade` from a version 0.2.x to 0.3.x.
|
||||||
|
You have to quit your old WeeChat, then run new version.
|
||||||
|
|
||||||
|
Of course, command `/upgrade` is working fine once you'll be with 0.3.x to
|
||||||
|
upgrade to another 0.3.x (unless this command is broken again, please look
|
||||||
|
at release notes (file 'NEWS') for version you're currently installing).
|
||||||
|
|
||||||
|
|
||||||
|
Configuration files
|
||||||
|
-------------------
|
||||||
|
|
||||||
|
Changes with previous versions
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
New configuration files (`*.conf`) are not compatible with old files (`*.rc`).
|
||||||
|
|
||||||
|
Name of options is similar to old versions, but there is now one configuration
|
||||||
|
file by plugin, and one file for WeeChat core.
|
||||||
|
|
||||||
|
There is *no automatic conversion* for your old options to new configuration files,
|
||||||
|
so you'll have to setup again your IRC servers and all other options.
|
||||||
|
|
||||||
|
In WeeChat, option names are now with format: `plugin.section.option` (for
|
||||||
|
WeeChat core, `plugin` is `weechat`).
|
||||||
|
|
||||||
|
Examples:
|
||||||
|
|
||||||
|
* WeeChat options: `weechat.xxx.yyy`
|
||||||
|
* IRC options: `irc.xxx.yyy`
|
||||||
|
|
||||||
|
You should read quickstart guide to be familiar with basic commands and syntax
|
||||||
|
(some commands like `/server` have changed): http://www.weechat.org/doc
|
||||||
|
|
||||||
|
|
||||||
|
List of configuration files
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
* Old configuration files:
|
||||||
|
** weechat.rc
|
||||||
|
** plugins.rc
|
||||||
|
* New configuration files are now (with default plugins):
|
||||||
|
** weechat.conf
|
||||||
|
** alias.conf
|
||||||
|
** aspell.conf
|
||||||
|
** charset.conf
|
||||||
|
** irc.conf
|
||||||
|
** jabber.conf
|
||||||
|
** logger.conf
|
||||||
|
** plugins.conf
|
||||||
|
** relay.conf
|
||||||
|
** xfer.conf
|
||||||
|
|
||||||
|
|
||||||
|
Plugin API
|
||||||
|
----------
|
||||||
|
|
||||||
|
Plugin API has been rewritten and is not compatible with previous versions.
|
||||||
|
Accordingly, scripts and plugins must have been designed for version 0.3.x to
|
||||||
|
be loaded into WeeChat.
|
||||||
|
|
||||||
|
There is no migration script today to convert old script to new API.
|
||||||
|
Therefore, if you plan to use old script, you'll have to wait for new version
|
||||||
|
or you can convert script yourself and send us new version ;)
|
||||||
|
|
||||||
|
You can download scripts for new API on plugins page:
|
||||||
|
http://www.weechat.org/plugins
|
||||||
|
|
||||||
|
More information about new API is available on wiki:
|
||||||
|
http://wiki.flashtux.org/wiki/WeeChat_0.3.0
|
||||||
|
and http://wiki.flashtux.org/wiki/WeeChat_0.3.0_API
|
||||||
+20
-9
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
#
|
#
|
||||||
# Copyright (C) 2003-2015 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
|
||||||
# Copyright (C) 2005 Julien Louis <ptitlouis@sysif.net>
|
# Copyright (C) 2005 Julien Louis <ptitlouis@sysif.net>
|
||||||
# Copyright (C) 2005-2006 Emmanuel Bouthenot <kolter@openics.org>
|
# Copyright (C) 2005-2006 Emmanuel Bouthenot <kolter@openics.org>
|
||||||
#
|
#
|
||||||
@@ -24,9 +24,6 @@
|
|||||||
### common stuff
|
### common stuff
|
||||||
###
|
###
|
||||||
|
|
||||||
DIR=$(cd $(dirname "$0"); pwd)
|
|
||||||
cd $DIR
|
|
||||||
|
|
||||||
AUTOGEN_LOG=autogen.log
|
AUTOGEN_LOG=autogen.log
|
||||||
|
|
||||||
err ()
|
err ()
|
||||||
@@ -51,20 +48,34 @@ run ()
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
# remove autotools stuff
|
###
|
||||||
|
### cleanning part
|
||||||
|
###
|
||||||
|
# remove autotools stuff
|
||||||
|
run "rm -rf config"
|
||||||
run "rm -f config.h.in"
|
run "rm -f config.h.in"
|
||||||
run "rm -f aclocal.m4 configure config.log config.status"
|
run "rm -f aclocal.m4 configure config.log config.status"
|
||||||
run "rm -rf autom4te*.cache"
|
run "rm -rf autom4te*.cache"
|
||||||
|
|
||||||
# remove libtool stuff
|
# remove libtool stuff
|
||||||
run "rm -f libtool"
|
run "rm -f libtool"
|
||||||
|
|
||||||
# remove gettext stuff
|
# remove gettext stuff
|
||||||
run "rm -f ABOUT-NLS"
|
run "rm -f ABOUT-NLS"
|
||||||
run "rm -rf intl"
|
run "rm -rf intl"
|
||||||
|
|
||||||
# execute autoreconf cmds
|
###
|
||||||
run "autoreconf -fvi"
|
### configuration part
|
||||||
|
###
|
||||||
|
# create the config directory
|
||||||
|
run "mkdir -p config/m4"
|
||||||
|
run "mkdir intl"
|
||||||
|
|
||||||
|
# execute autotools cmds
|
||||||
|
run "autopoint -f"
|
||||||
|
run "libtoolize --automake --force --copy"
|
||||||
|
run "aclocal --force -I config/m4"
|
||||||
|
run "autoheader"
|
||||||
|
run "autoconf"
|
||||||
|
run "automake --add-missing --copy --gnu"
|
||||||
|
|
||||||
# ending
|
# ending
|
||||||
rm -f $AUTOGEN_LOG
|
rm -f $AUTOGEN_LOG
|
||||||
|
|||||||
+12
-21
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2003-2015 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# This file is part of WeeChat, the extensible chat client.
|
# This file is part of WeeChat, the extensible chat client.
|
||||||
#
|
#
|
||||||
@@ -20,36 +20,27 @@
|
|||||||
# - Find Asciidoc
|
# - Find Asciidoc
|
||||||
# This module finds if asciidoc (version 8 or newer) is installed.
|
# This module finds if asciidoc (version 8 or newer) is installed.
|
||||||
|
|
||||||
if(ASCIIDOC_FOUND)
|
IF (ASCIIDOC_FOUND)
|
||||||
# Already in cache, be silent
|
# Already in cache, be silent
|
||||||
set(ASCIIDOC_FIND_QUIETLY TRUE)
|
SET(ASCIIDOC_FIND_QUIETLY TRUE)
|
||||||
endif()
|
ENDIF (ASCIIDOC_FOUND)
|
||||||
|
|
||||||
find_program(
|
FIND_PROGRAM(
|
||||||
ASCIIDOC_EXECUTABLE asciidoc
|
ASCIIDOC_EXECUTABLE asciidoc
|
||||||
PATHS /bin /usr/bin /usr/local/bin /usr/pkg/bin
|
PATHS /bin /usr/bin /usr/local/bin /usr/pkg/bin
|
||||||
)
|
)
|
||||||
|
|
||||||
find_program(
|
IF(ASCIIDOC_EXECUTABLE)
|
||||||
A2X_EXECUTABLE a2x
|
EXECUTE_PROCESS(
|
||||||
PATHS /bin /usr/bin /usr/local/bin /usr/pkg/bin
|
|
||||||
)
|
|
||||||
|
|
||||||
if(ASCIIDOC_EXECUTABLE AND A2X_EXECUTABLE)
|
|
||||||
execute_process(
|
|
||||||
COMMAND ${ASCIIDOC_EXECUTABLE} --version
|
COMMAND ${ASCIIDOC_EXECUTABLE} --version
|
||||||
OUTPUT_VARIABLE ASCIIDOC_VERSION
|
OUTPUT_VARIABLE ASCIIDOC_VERSION
|
||||||
)
|
)
|
||||||
|
|
||||||
string(STRIP ${ASCIIDOC_VERSION} ASCIIDOC_VERSION)
|
IF(${ASCIIDOC_VERSION} MATCHES "asciidoc 8.*")
|
||||||
string(REPLACE "asciidoc " "" ASCIIDOC_VERSION ${ASCIIDOC_VERSION})
|
SET(ASCIIDOC_FOUND TRUE)
|
||||||
|
ENDIF(${ASCIIDOC_VERSION} MATCHES "asciidoc 8.*")
|
||||||
|
|
||||||
if(ASCIIDOC_VERSION VERSION_EQUAL "8.0.0" OR ASCIIDOC_VERSION VERSION_GREATER "8.0.0")
|
MARK_AS_ADVANCED(
|
||||||
set(ASCIIDOC_FOUND TRUE)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
mark_as_advanced(
|
|
||||||
ASCIIDOC_EXECUTABLE
|
ASCIIDOC_EXECUTABLE
|
||||||
ASCIIDOC_VERSION
|
|
||||||
)
|
)
|
||||||
endif()
|
ENDIF(ASCIIDOC_EXECUTABLE)
|
||||||
|
|||||||
+9
-16
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2003-2015 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# This file is part of WeeChat, the extensible chat client.
|
# This file is part of WeeChat, the extensible chat client.
|
||||||
#
|
#
|
||||||
@@ -26,33 +26,26 @@
|
|||||||
# ASPELL_INCLUDE_PATH = path to where aspell.h can be found
|
# ASPELL_INCLUDE_PATH = path to where aspell.h can be found
|
||||||
# ASPELL_LIBRARY = path to where libaspell.so* can be found
|
# ASPELL_LIBRARY = path to where libaspell.so* can be found
|
||||||
|
|
||||||
if(ASPELL_FOUND)
|
IF (ASPELL_FOUND)
|
||||||
# Already in cache, be silent
|
# Already in cache, be silent
|
||||||
SET(ASPELL_FIND_QUIETLY TRUE)
|
SET(ASPELL_FIND_QUIETLY TRUE)
|
||||||
endif()
|
ENDIF (ASPELL_FOUND)
|
||||||
|
|
||||||
find_path(ASPELL_INCLUDE_PATH
|
FIND_PATH(ASPELL_INCLUDE_PATH
|
||||||
NAMES aspell.h
|
NAMES aspell.h
|
||||||
PATHS /usr/include /usr/local/include /usr/pkg/include
|
PATHS /usr/include /usr/local/include /usr/pkg/include
|
||||||
)
|
)
|
||||||
|
|
||||||
find_library(ASPELL_LIBRARY
|
FIND_LIBRARY(ASPELL_LIBRARY
|
||||||
NAMES aspell aspell-15
|
NAMES aspell aspell-15
|
||||||
PATHS /lib /usr/lib /usr/local/lib /usr/pkg/lib
|
PATHS /lib /usr/lib /usr/local/lib /usr/pkg/lib
|
||||||
)
|
)
|
||||||
|
|
||||||
if(ASPELL_INCLUDE_PATH AND ASPELL_LIBRARY)
|
IF (ASPELL_INCLUDE_PATH AND ASPELL_LIBRARY)
|
||||||
set(ASPELL_FOUND TRUE)
|
SET(ASPELL_FOUND TRUE)
|
||||||
|
ENDIF (ASPELL_INCLUDE_PATH AND ASPELL_LIBRARY)
|
||||||
|
|
||||||
# check if function aspell_version_string() exists
|
MARK_AS_ADVANCED(
|
||||||
set(CMAKE_REQUIRED_INCLUDES ${ASPELL_INCLUDE_PATH})
|
|
||||||
set(CMAKE_REQUIRED_LIBRARIES ${ASPELL_LIBRARY})
|
|
||||||
check_symbol_exists(aspell_version_string "aspell.h" HAVE_ASPELL_VERSION_STRING)
|
|
||||||
set(CMAKE_REQUIRED_INCLUDES)
|
|
||||||
set(CMAKE_REQUIRED_LIBRARIES)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
mark_as_advanced(
|
|
||||||
ASPELL_INCLUDE_PATH
|
ASPELL_INCLUDE_PATH
|
||||||
ASPELL_LIBRARY
|
ASPELL_LIBRARY
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -1,37 +0,0 @@
|
|||||||
#
|
|
||||||
# Copyright (C) 2014-2015 Sébastien Helleu <flashcode@flashtux.org>
|
|
||||||
#
|
|
||||||
# This file is part of WeeChat, the extensible chat client.
|
|
||||||
#
|
|
||||||
# WeeChat is free software; you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation; either version 3 of the License, or
|
|
||||||
# (at your option) any later version.
|
|
||||||
#
|
|
||||||
# WeeChat is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
#
|
|
||||||
|
|
||||||
# - Find CppUTest
|
|
||||||
# This module finds if Guile is installed and determines where the include files
|
|
||||||
# and libraries are. It also determines what the name of the library is. This
|
|
||||||
# code sets the following variables:
|
|
||||||
#
|
|
||||||
# CPPUTEST_FOUND = CppUTest is installed
|
|
||||||
# CPPUTEST_INCLUDE_DIRS = CppUTest include directory
|
|
||||||
# CPPUTEST_LIBRARIES = Link options to compile with CppUTest
|
|
||||||
|
|
||||||
if(CPPUTEST_FOUND)
|
|
||||||
# Already in cache, be silent
|
|
||||||
set(CPPUTEST_FIND_QUIETLY TRUE)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
find_package(PkgConfig)
|
|
||||||
if(PKG_CONFIG_FOUND)
|
|
||||||
pkg_search_module(CPPUTEST REQUIRED cpputest)
|
|
||||||
endif()
|
|
||||||
@@ -1,51 +0,0 @@
|
|||||||
# - Try to find the Enchant spell checker
|
|
||||||
# Once done this will define
|
|
||||||
#
|
|
||||||
# ENCHANT_FOUND - system has ENCHANT
|
|
||||||
# ENCHANT_INCLUDE_DIR - the ENCHANT include directory
|
|
||||||
# ENCHANT_LIBRARIES - Link these to use ENCHANT
|
|
||||||
# ENCHANT_DEFINITIONS - Compiler switches required for using ENCHANT
|
|
||||||
|
|
||||||
# Copyright (c) 2006, Zack Rusin, <zack@kde.org>
|
|
||||||
#
|
|
||||||
# Redistribution and use is allowed according to the terms of the BSD license.
|
|
||||||
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
|
|
||||||
|
|
||||||
|
|
||||||
if(ENCHANT_INCLUDE_DIR AND ENCHANT_LIBRARIES)
|
|
||||||
|
|
||||||
# in cache already
|
|
||||||
set(ENCHANT_FOUND TRUE)
|
|
||||||
|
|
||||||
else()
|
|
||||||
if(NOT WIN32)
|
|
||||||
# use pkg-config to get the directories and then use these values
|
|
||||||
# in the FIND_PATH() and FIND_LIBRARY() calls
|
|
||||||
find_package(PkgConfig)
|
|
||||||
pkg_check_modules(PC_ENCHANT enchant)
|
|
||||||
set(ENCHANT_DEFINITIONS ${PC_ENCHANT_CFLAGS_OTHER})
|
|
||||||
endif()
|
|
||||||
|
|
||||||
find_path(ENCHANT_INCLUDE_DIR
|
|
||||||
NAMES enchant++.h
|
|
||||||
HINTS ${PC_ENCHANT_INCLUDEDIR}
|
|
||||||
${PC_ENCHANT_INCLUDE_DIRS}
|
|
||||||
PATH_SUFFIXES enchant )
|
|
||||||
|
|
||||||
find_library(ENCHANT_LIBRARIES NAMES enchant
|
|
||||||
HINTS ${PC_ENCHANT_LIBDIR}
|
|
||||||
${PC_ENCHANT_LIBRARY_DIRS} )
|
|
||||||
|
|
||||||
include(FindPackageHandleStandardArgs)
|
|
||||||
find_package_handle_standard_args(ENCHANT DEFAULT_MSG ENCHANT_INCLUDE_DIR ENCHANT_LIBRARIES )
|
|
||||||
|
|
||||||
mark_as_advanced(ENCHANT_INCLUDE_DIR ENCHANT_LIBRARIES)
|
|
||||||
|
|
||||||
# check if function enchant_get_version() exists
|
|
||||||
set(CMAKE_REQUIRED_INCLUDES ${ENCHANT_INCLUDE_DIR})
|
|
||||||
set(CMAKE_REQUIRED_LIBRARIES ${ENCHANT_LIBRARIES})
|
|
||||||
check_symbol_exists(enchant_get_version "enchant.h" HAVE_ENCHANT_GET_VERSION)
|
|
||||||
set(CMAKE_REQUIRED_INCLUDES)
|
|
||||||
set(CMAKE_REQUIRED_LIBRARIES)
|
|
||||||
|
|
||||||
endif()
|
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2003-2015 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# This file is part of WeeChat, the extensible chat client.
|
# This file is part of WeeChat, the extensible chat client.
|
||||||
#
|
#
|
||||||
@@ -27,27 +27,24 @@
|
|||||||
# GCRYPT_LDFLAGS = ldflags to use to compile
|
# GCRYPT_LDFLAGS = ldflags to use to compile
|
||||||
#
|
#
|
||||||
|
|
||||||
find_program(LIBGCRYPT_CONFIG_EXECUTABLE NAMES libgcrypt-config)
|
FIND_PROGRAM(LIBGCRYPT_CONFIG_EXECUTABLE NAMES libgcrypt-config)
|
||||||
|
|
||||||
set(GCRYPT_LDFLAGS)
|
set(GCRYPT_LDFLAGS)
|
||||||
set(GCRYPT_CFLAGS)
|
set(GCRYPT_CFLAGS)
|
||||||
|
|
||||||
if(LIBGCRYPT_CONFIG_EXECUTABLE)
|
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 --libs RETURN_VALUE _return_VALUE OUTPUT_VARIABLE GCRYPT_LDFLAGS)
|
||||||
exec_program(${LIBGCRYPT_CONFIG_EXECUTABLE} ARGS --cflags RETURN_VALUE _return_VALUE OUTPUT_VARIABLE GCRYPT_CFLAGS)
|
EXEC_PROGRAM(${LIBGCRYPT_CONFIG_EXECUTABLE} ARGS --cflags RETURN_VALUE _return_VALUE OUTPUT_VARIABLE GCRYPT_CFLAGS)
|
||||||
|
|
||||||
if(${GCRYPT_CFLAGS} MATCHES "\n")
|
IF(${GCRYPT_CFLAGS} MATCHES "\n")
|
||||||
set(GCRYPT_CFLAGS " ")
|
SET(GCRYPT_CFLAGS " ")
|
||||||
endif()
|
ENDIF(${GCRYPT_CFLAGS} MATCHES "\n")
|
||||||
|
|
||||||
endif()
|
IF(GCRYPT_LDFLAGS AND GCRYPT_CFLAGS)
|
||||||
|
SET(GCRYPT_FOUND TRUE)
|
||||||
|
ENDIF(GCRYPT_LDFLAGS AND GCRYPT_CFLAGS)
|
||||||
|
|
||||||
# handle the QUIETLY and REQUIRED arguments and set GCRYPT_FOUND to TRUE if
|
ENDIF(LIBGCRYPT_CONFIG_EXECUTABLE)
|
||||||
# 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)
|
||||||
mark_as_advanced(GCRYPT_CFLAGS GCRYPT_LDFLAGS)
|
|
||||||
endif()
|
|
||||||
+30
-29
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2003-2015 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
|
||||||
# Copyright (C) 2007 Julien Louis <ptitlouis@sysif.net>
|
# Copyright (C) 2007 Julien Louis <ptitlouis@sysif.net>
|
||||||
# Copyright (C) 2009 Emmanuel Bouthenot <kolter@openics.org>
|
# Copyright (C) 2009 Emmanuel Bouthenot <kolter@openics.org>
|
||||||
#
|
#
|
||||||
@@ -27,45 +27,46 @@
|
|||||||
#
|
#
|
||||||
# GETTEXT_FOUND = is gettext usable on system?
|
# GETTEXT_FOUND = is gettext usable on system?
|
||||||
|
|
||||||
if(GETTEXT_FOUND)
|
IF(GETTEXT_FOUND)
|
||||||
# Already in cache, be silent
|
# Already in cache, be silent
|
||||||
set(GETTEXT_FIND_QUIETLY TRUE)
|
SET(GETTEXT_FIND_QUIETLY TRUE)
|
||||||
endif()
|
ENDIF(GETTEXT_FOUND)
|
||||||
|
|
||||||
include(CheckIncludeFiles)
|
INCLUDE(CheckIncludeFiles)
|
||||||
include(CheckLibraryExists)
|
INCLUDE(CheckLibraryExists)
|
||||||
include(CheckFunctionExists)
|
INCLUDE(CheckFunctionExists)
|
||||||
|
|
||||||
find_path(LIBINTL_INCLUDE
|
FIND_PATH(LIBINTL_INCLUDE
|
||||||
NAMES libintl.h
|
NAMES libintl.h
|
||||||
PATH /usr/local/include /usr/pkg/include /usr/include
|
PATH /usr/local/include /usr/pkg/include /usr/include
|
||||||
)
|
)
|
||||||
|
|
||||||
set(CMAKE_REQUIRED_INCLUDES ${LIBINTL_INCLUDE})
|
SET(CMAKE_REQUIRED_INCLUDES ${LIBINTL_INCLUDE})
|
||||||
|
|
||||||
check_include_files(libintl.h HAVE_LIBINTL_H)
|
CHECK_INCLUDE_FILES(libintl.h HAVE_LIBINTL_H)
|
||||||
|
|
||||||
if(HAVE_LIBINTL_H)
|
IF(HAVE_LIBINTL_H)
|
||||||
check_function_exists(dgettext LIBC_HAS_DGETTEXT)
|
|
||||||
if(LIBC_HAS_DGETTEXT)
|
CHECK_FUNCTION_EXISTS(dgettext LIBC_HAS_DGETTEXT)
|
||||||
set(GETTEXT_FOUND TRUE)
|
IF(LIBC_HAS_DGETTEXT)
|
||||||
else()
|
SET(GETTEXT_FOUND TRUE)
|
||||||
find_library(LIBINTL_LIBRARY NAMES intl
|
ELSE(LIBC_HAS_DGETTEXT)
|
||||||
|
FIND_LIBRARY(LIBINTL_LIBRARY NAMES intl
|
||||||
PATHS
|
PATHS
|
||||||
/usr/local/lib
|
/usr/local/lib
|
||||||
/usr/lib
|
/usr/lib
|
||||||
)
|
)
|
||||||
if(LIBINTL_LIBRARY)
|
IF(LIBINTL_LIBRARY)
|
||||||
if(${CMAKE_SYSTEM_NAME} STREQUAL "OpenBSD")
|
IF(${CMAKE_SYSTEM_NAME} STREQUAL "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()
|
ELSE(${CMAKE_SYSTEM_NAME} STREQUAL "OpenBSD")
|
||||||
check_library_exists(${LIBINTL_LIBRARY} "dgettext" "" LIBINTL_HAS_DGETTEXT)
|
CHECK_LIBRARY_EXISTS(${LIBINTL_LIBRARY} "dgettext" "" LIBINTL_HAS_DGETTEXT)
|
||||||
endif()
|
ENDIF(${CMAKE_SYSTEM_NAME} STREQUAL "OpenBSD")
|
||||||
|
|
||||||
if(LIBINTL_HAS_DGETTEXT)
|
IF(LIBINTL_HAS_DGETTEXT)
|
||||||
set(GETTEXT_FOUND TRUE)
|
SET(GETTEXT_FOUND TRUE)
|
||||||
endif()
|
ENDIF(LIBINTL_HAS_DGETTEXT)
|
||||||
endif()
|
ENDIF(LIBINTL_LIBRARY)
|
||||||
endif()
|
ENDIF(LIBC_HAS_DGETTEXT)
|
||||||
endif()
|
ENDIF(HAVE_LIBINTL_H)
|
||||||
|
|||||||
+17
-17
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2003-2015 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
|
||||||
# Copyright (C) 2009 Emmanuel Bouthenot <kolter@openics.org>
|
# Copyright (C) 2009 Emmanuel Bouthenot <kolter@openics.org>
|
||||||
#
|
#
|
||||||
# This file is part of WeeChat, the extensible chat client.
|
# This file is part of WeeChat, the extensible chat client.
|
||||||
@@ -29,45 +29,45 @@
|
|||||||
# GNUTLS_CFLAGS = cflags to use to compile
|
# GNUTLS_CFLAGS = cflags to use to compile
|
||||||
# GNUTLS_LDFLAGS = ldflags to use to compile
|
# GNUTLS_LDFLAGS = ldflags to use to compile
|
||||||
|
|
||||||
if(GNUTLS_INCLUDE_PATH AND GNUTLS_LIBRARY)
|
IF(GNUTLS_INCLUDE_PATH AND GNUTLS_LIBRARY)
|
||||||
# Already in cache, be silent
|
# Already in cache, be silent
|
||||||
set(GNUTLS_FIND_QUIETLY TRUE)
|
set(GNUTLS_FIND_QUIETLY TRUE)
|
||||||
endif()
|
ENDIF(GNUTLS_INCLUDE_PATH AND GNUTLS_LIBRARY)
|
||||||
|
|
||||||
find_program(PKG_CONFIG_EXECUTABLE NAMES pkg-config)
|
FIND_PROGRAM(PKG_CONFIG_EXECUTABLE NAMES pkg-config)
|
||||||
|
|
||||||
execute_process(COMMAND ${PKG_CONFIG_EXECUTABLE} --variable=prefix gnutls
|
EXECUTE_PROCESS(COMMAND ${PKG_CONFIG_EXECUTABLE} --variable=prefix gnutls
|
||||||
OUTPUT_VARIABLE GNUTLS_PREFIX
|
OUTPUT_VARIABLE GNUTLS_PREFIX
|
||||||
)
|
)
|
||||||
|
|
||||||
execute_process(COMMAND ${PKG_CONFIG_EXECUTABLE} --cflags gnutls
|
EXECUTE_PROCESS(COMMAND ${PKG_CONFIG_EXECUTABLE} --cflags gnutls
|
||||||
OUTPUT_VARIABLE GNUTLS_CFLAGS
|
OUTPUT_VARIABLE GNUTLS_CFLAGS
|
||||||
)
|
)
|
||||||
string(REGEX REPLACE "[\r\n]" "" GNUTLS_CFLAGS "${GNUTLS_CFLAGS}")
|
STRING(REGEX REPLACE "[\r\n]" "" GNUTLS_CFLAGS "${GNUTLS_FLAGS}")
|
||||||
|
|
||||||
execute_process(COMMAND ${PKG_CONFIG_EXECUTABLE} --libs gnutls
|
EXECUTE_PROCESS(COMMAND ${PKG_CONFIG_EXECUTABLE} --libs gnutls
|
||||||
OUTPUT_VARIABLE GNUTLS_LDFLAGS
|
OUTPUT_VARIABLE GNUTLS_LDFLAGS
|
||||||
)
|
)
|
||||||
string(REGEX REPLACE "[\r\n]" "" GNUTLS_LDFLAGS "${GNUTLS_LDFLAGS}")
|
STRING(REGEX REPLACE "[\r\n]" "" GNUTLS_LDFLAGS "${GNUTLS_LDFLAGS}")
|
||||||
|
|
||||||
set(GNUTLS_POSSIBLE_INCLUDE_PATH "${GNUTLS_PREFIX}/include")
|
SET(GNUTLS_POSSIBLE_INCLUDE_PATH "${GNUTLS_PREFIX}/include")
|
||||||
set(GNUTLS_POSSIBLE_LIB_DIR "${GNUTLS_PREFIX}/lib")
|
SET(GNUTLS_POSSIBLE_LIB_DIR "${GNUTLS_PREFIX}/lib")
|
||||||
|
|
||||||
find_path(GNUTLS_INCLUDE_PATH
|
FIND_PATH(GNUTLS_INCLUDE_PATH
|
||||||
NAMES gnutls/gnutls.h
|
NAMES gnutls/gnutls.h
|
||||||
PATHS GNUTLS_POSSIBLE_INCLUDE_PATH
|
PATHS GNUTLS_POSSIBLE_INCLUDE_PATH
|
||||||
)
|
)
|
||||||
|
|
||||||
find_library(GNUTLS_LIBRARY
|
FIND_LIBRARY(GNUTLS_LIBRARY
|
||||||
NAMES gnutls
|
NAMES gnutls
|
||||||
PATHS GNUTLS_POSSIBLE_LIB_DIR
|
PATHS GNUTLS_POSSIBLE_LIB_DIR
|
||||||
)
|
)
|
||||||
|
|
||||||
if(GNUTLS_INCLUDE_PATH AND GNUTLS_LIBRARY)
|
IF (GNUTLS_INCLUDE_PATH AND GNUTLS_LIBRARY)
|
||||||
set(GNUTLS_FOUND TRUE)
|
SET(GNUTLS_FOUND TRUE)
|
||||||
endif()
|
ENDIF (GNUTLS_INCLUDE_PATH AND GNUTLS_LIBRARY)
|
||||||
|
|
||||||
mark_as_advanced(
|
MARK_AS_ADVANCED(
|
||||||
GNUTLS_INCLUDE_PATH
|
GNUTLS_INCLUDE_PATH
|
||||||
GNUTLS_LIBRARY
|
GNUTLS_LIBRARY
|
||||||
GNUTLS_CFLAGS
|
GNUTLS_CFLAGS
|
||||||
|
|||||||
+22
-16
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2011-2015 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2011-2012 Sebastien Helleu <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# This file is part of WeeChat, the extensible chat client.
|
# This file is part of WeeChat, the extensible chat client.
|
||||||
#
|
#
|
||||||
@@ -26,20 +26,26 @@
|
|||||||
# GUILE_INCLUDE_DIRS = Guile include directory
|
# GUILE_INCLUDE_DIRS = Guile include directory
|
||||||
# GUILE_LIBRARIES = Link options to compile Guile
|
# GUILE_LIBRARIES = Link options to compile Guile
|
||||||
|
|
||||||
if(GUILE_FOUND)
|
IF(GUILE_FOUND)
|
||||||
# Already in cache, be silent
|
# Already in cache, be silent
|
||||||
set(GUILE_FIND_QUIETLY TRUE)
|
SET(GUILE_FIND_QUIETLY TRUE)
|
||||||
endif()
|
ENDIF(GUILE_FOUND)
|
||||||
|
|
||||||
find_package(PkgConfig)
|
FIND_PATH(GUILE_INCLUDE_DIR libguile.h /usr/include /usr/local/include /usr/include/libguile /usr/local/include/libguile)
|
||||||
if(PKG_CONFIG_FOUND)
|
|
||||||
pkg_search_module(GUILE guile-2.0)
|
FIND_LIBRARY(GUILE_LIBRARY NAMES guile PATH /usr/lib /usr/local/lib)
|
||||||
if(GUILE_FOUND)
|
|
||||||
# check if variable "scm_install_gmp_memory_functions" exists
|
IF(GUILE_INCLUDE_DIR AND GUILE_LIBRARY)
|
||||||
set(CMAKE_REQUIRED_INCLUDES ${GUILE_INCLUDE_DIRS})
|
SET(GUILE_FOUND TRUE)
|
||||||
set(CMAKE_REQUIRED_LIBRARIES ${GUILE_LDFLAGS})
|
SET(GUILE_INCLUDE_DIRS ${GUILE_INCLUDE_DIR})
|
||||||
check_symbol_exists(scm_install_gmp_memory_functions "libguile.h" HAVE_GUILE_GMP_MEMORY_FUNCTIONS)
|
SET(GUILE_LIBRARIES ${GUILE_LIBRARY})
|
||||||
set(CMAKE_REQUIRED_INCLUDES)
|
ELSE(GUILE_INCLUDE_DIR AND GUILE_LIBRARY)
|
||||||
set(CMAKE_REQUIRED_LIBRARIES)
|
SET(GUILE_FOUND FALSE)
|
||||||
endif()
|
SET(GUILE_INCLUDE_DIRS)
|
||||||
endif()
|
SET(GUILE_LIBRARIES)
|
||||||
|
ENDIF(GUILE_INCLUDE_DIR AND GUILE_LIBRARY)
|
||||||
|
|
||||||
|
MARK_AS_ADVANCED(
|
||||||
|
GUILE_INCLUDE_DIR
|
||||||
|
GUILE_LIBRARY
|
||||||
|
)
|
||||||
|
|||||||
+24
-26
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2003-2015 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# This file is part of WeeChat, the extensible chat client.
|
# This file is part of WeeChat, the extensible chat client.
|
||||||
#
|
#
|
||||||
@@ -28,45 +28,44 @@
|
|||||||
#
|
#
|
||||||
# ICONV_FOUND = is iconv usable on system?
|
# ICONV_FOUND = is iconv usable on system?
|
||||||
|
|
||||||
if(ICONV_FOUND)
|
IF(ICONV_FOUND)
|
||||||
# Already in cache, be silent
|
# Already in cache, be silent
|
||||||
set(ICONV_FIND_QUIETLY TRUE)
|
set(ICONV_FIND_QUIETLY TRUE)
|
||||||
endif()
|
ENDIF(ICONV_FOUND)
|
||||||
|
|
||||||
include(CheckLibraryExists)
|
INCLUDE(CheckLibraryExists)
|
||||||
include(CheckFunctionExists)
|
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
|
||||||
)
|
)
|
||||||
|
|
||||||
find_library(ICONV_LIBRARY
|
FIND_LIBRARY(ICONV_LIBRARY
|
||||||
NAMES iconv
|
NAMES iconv
|
||||||
PATHS /lib /usr/lib /usr/local/lib /usr/pkg/lib
|
PATHS /lib /usr/lib /usr/local/lib /usr/pkg/lib
|
||||||
)
|
)
|
||||||
|
|
||||||
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()
|
ELSE(ICONV_LIBRARY)
|
||||||
else()
|
CHECK_FUNCTION_EXISTS(iconv_open ICONV_FOUND)
|
||||||
check_function_exists(iconv_open ICONV_FOUND)
|
ENDIF(ICONV_LIBRARY)
|
||||||
endif()
|
ENDIF(ICONV_INCLUDE_PATH)
|
||||||
endif()
|
|
||||||
|
|
||||||
include(CheckCSourceCompiles)
|
include(CheckCSourceCompiles)
|
||||||
|
|
||||||
if(ICONV_LIBRARY)
|
IF(ICONV_LIBRARY)
|
||||||
set(CMAKE_REQUIRED_LIBRARIES ${ICONV_LIBRARY})
|
SET(CMAKE_REQUIRED_LIBRARIES ${ICONV_LIBRARY})
|
||||||
set(CMAKE_REQUIRED_INCLUDES ${ICONV_INCLUDE_PATH})
|
SET(CMAKE_REQUIRED_INCLUDES ${ICONV_INCLUDE_PATH})
|
||||||
endif()
|
ENDIF(ICONV_LIBRARY)
|
||||||
|
|
||||||
set(CMAKE_REQUIRED_FLAGS -Werror)
|
SET(CMAKE_REQUIRED_FLAGS -Werror)
|
||||||
check_c_source_compiles("
|
check_c_source_compiles("
|
||||||
#include <iconv.h>
|
#include <iconv.h>
|
||||||
int main(){
|
int main(){
|
||||||
@@ -79,8 +78,7 @@ check_c_source_compiles("
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
" ICONV_2ARG_IS_CONST)
|
" ICONV_2ARG_IS_CONST)
|
||||||
|
MARK_AS_ADVANCED(
|
||||||
mark_as_advanced(
|
|
||||||
ICONV_INCLUDE_PATH
|
ICONV_INCLUDE_PATH
|
||||||
ICONV_LIBRARY
|
ICONV_LIBRARY
|
||||||
ICONV_FOUND
|
ICONV_FOUND
|
||||||
|
|||||||
+56
-8
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2003-2015 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# This file is part of WeeChat, the extensible chat client.
|
# This file is part of WeeChat, the extensible chat client.
|
||||||
#
|
#
|
||||||
@@ -28,12 +28,60 @@
|
|||||||
#
|
#
|
||||||
# LUA_FOUND = is liblua usable on system?
|
# LUA_FOUND = is liblua usable on system?
|
||||||
|
|
||||||
if(LUA_FOUND)
|
IF(LUA_FOUND)
|
||||||
# Already in cache, be silent
|
# Already in cache, be silent
|
||||||
set(LUA_FIND_QUIETLY TRUE)
|
SET(LUA_FIND_QUIETLY TRUE)
|
||||||
endif()
|
ENDIF(LUA_FOUND)
|
||||||
|
|
||||||
find_package(PkgConfig)
|
FIND_PATH(
|
||||||
if(PKG_CONFIG_FOUND)
|
LUA51_INCLUDE_PATH lua.h
|
||||||
pkg_search_module(LUA lua5.2 lua-5.2 lua52 lua5.1 lua-5.1 lua51 lua-5.0 lua5.0 lua50 lua)
|
PATHS /usr/include /usr/local/include /usr/pkg/include
|
||||||
endif()
|
PATH_SUFFIXES lua51 lua5.1 lua-5.1
|
||||||
|
)
|
||||||
|
|
||||||
|
FIND_LIBRARY(
|
||||||
|
LUA51_LIBRARY NAMES lua51 lua5.1 lua-5.1 lua
|
||||||
|
PATHS /lib /usr/lib /usr/local/lib /usr/pkg/lib
|
||||||
|
PATH_SUFFIXES lua51 lua5.1 lua-5.1
|
||||||
|
)
|
||||||
|
|
||||||
|
IF(LUA51_INCLUDE_PATH AND LUA51_LIBRARY)
|
||||||
|
SET(LUA_INCLUDE_PATH "${LUA51_INCLUDE_PATH}")
|
||||||
|
SET(LUA_LIBRARY "${LUA51_LIBRARY}")
|
||||||
|
SET(LUA_VERSION "5.1")
|
||||||
|
SET(LUA_FOUND TRUE)
|
||||||
|
ELSE(LUA51_INCLUDE_PATH AND LUA51_LIBRARY)
|
||||||
|
FIND_PATH(
|
||||||
|
LUA50_INCLUDE_PATH lua.h
|
||||||
|
PATHS /usr/include /usr/local/include /usr/pkg/include
|
||||||
|
PATH_SUFFIXES lua50 lua5.0 lua-5.0 lua
|
||||||
|
)
|
||||||
|
|
||||||
|
FIND_LIBRARY(
|
||||||
|
LUA50_LIBRARY NAMES lua50 lua5.0 lua-5.0 lua
|
||||||
|
PATHS /lib /usr/lib /usr/local/lib /usr/pkg/lib
|
||||||
|
PATH_SUFFIXES lua50 lua5.0 lua-5.0 lua
|
||||||
|
)
|
||||||
|
|
||||||
|
FIND_LIBRARY(
|
||||||
|
LUALIB50_LIBRARY NAMES lualib50 lualib5.0 lualib-5.0 lualib
|
||||||
|
PATHS /lib /usr/lib /usr/local/lib /usr/pkg/lib
|
||||||
|
PATH_SUFFIXES lua50 lua5.0 lua-5.0 lua
|
||||||
|
)
|
||||||
|
|
||||||
|
IF(LUA50_INCLUDE_PATH AND LUA50_LIBRARY AND LUALIB50_LIBRARY)
|
||||||
|
SET(LUA_INCLUDE_PATH "${LUA50_INCLUDE_PATH}")
|
||||||
|
SET(LUA_LIBRARY "${LUA50_LIBRARY}")
|
||||||
|
SET(LUALIB_LIBRARY "${LUALIB50_LIBRARY}")
|
||||||
|
SET(LUA_VERSION "5.0")
|
||||||
|
SET(LUA_FOUND TRUE)
|
||||||
|
ENDIF(LUA50_INCLUDE_PATH AND LUA50_LIBRARY AND LUALIB50_LIBRARY)
|
||||||
|
ENDIF(LUA51_INCLUDE_PATH AND LUA51_LIBRARY)
|
||||||
|
|
||||||
|
|
||||||
|
MARK_AS_ADVANCED(
|
||||||
|
LUA_INCLUDE_PATH
|
||||||
|
LUA_LIBRARY
|
||||||
|
LUALIB_LIBRARY
|
||||||
|
# LUA_VERSION
|
||||||
|
)
|
||||||
|
|||||||
+18
-18
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2003-2015 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# This file is part of WeeChat, the extensible chat client.
|
# This file is part of WeeChat, the extensible chat client.
|
||||||
#
|
#
|
||||||
@@ -17,41 +17,41 @@
|
|||||||
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#
|
#
|
||||||
|
|
||||||
if(NCURSES_FOUND)
|
IF(NCURSES_FOUND)
|
||||||
set(NCURSES_FIND_QUIETLY TRUE)
|
SET(NCURSES_FIND_QUIETLY TRUE)
|
||||||
endif()
|
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/ncursesw /usr/include/ncurses /usr/include
|
||||||
/usr/local/include/ncursesw /usr/local/include/ncurses /usr/local/include
|
/usr/local/include/ncursesw /usr/local/include/ncurses /usr/local/include
|
||||||
/usr/pkg/include/ncursesw /usr/pkg/include/ncurses /usr/pkg/include
|
/usr/pkg/include/ncursesw /usr/pkg/include/ncurses /usr/pkg/include
|
||||||
)
|
)
|
||||||
|
|
||||||
find_library(NCURSESW_LIBRARY
|
FIND_LIBRARY(NCURSESW_LIBRARY
|
||||||
NAMES ncursesw
|
NAMES ncursesw
|
||||||
PATHS /lib /usr/lib /usr/local/lib /usr/pkg/lib
|
PATHS /lib /usr/lib /usr/local/lib /usr/pkg/lib
|
||||||
)
|
)
|
||||||
|
|
||||||
if(NCURSESW_LIBRARY)
|
IF (NCURSESW_LIBRARY)
|
||||||
set(NCURSES_LIBRARY ${NCURSESW_LIBRARY})
|
SET(NCURSES_LIBRARY ${NCURSESW_LIBRARY})
|
||||||
else()
|
ELSE(NCURSESW_LIBRARY)
|
||||||
find_library(NCURSES_LIBRARY
|
FIND_LIBRARY(NCURSES_LIBRARY
|
||||||
NAMES ncurses
|
NAMES ncurses
|
||||||
PATHS /lib /usr/lib /usr/local/lib /usr/pkg/lib
|
PATHS /lib /usr/lib /usr/local/lib /usr/pkg/lib
|
||||||
)
|
)
|
||||||
if(NCURSES_LIBRARY)
|
IF (NCURSES_LIBRARY)
|
||||||
message("*** WARNING:\n"
|
MESSAGE("*** WARNING:\n"
|
||||||
"*** ncursesw library not found! Falling back to \"ncurses\"\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.")
|
"*** Be careful, UTF-8 display may not work properly if your locale is UTF-8.")
|
||||||
endif()
|
ENDIF(NCURSES_LIBRARY)
|
||||||
endif()
|
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()
|
ENDIF(NCURSES_INCLUDE_PATH AND NCURSES_LIBRARY)
|
||||||
|
|
||||||
mark_as_advanced(
|
MARK_AS_ADVANCED(
|
||||||
NCURSES_INCLUDE_PATH
|
NCURSES_INCLUDE_PATH
|
||||||
NCURSES_LIBRARY
|
NCURSES_LIBRARY
|
||||||
)
|
)
|
||||||
|
|||||||
+20
-19
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2003-2015 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# This file is part of WeeChat, the extensible chat client.
|
# This file is part of WeeChat, the extensible chat client.
|
||||||
#
|
#
|
||||||
@@ -28,57 +28,58 @@
|
|||||||
# PERL_CFLAGS = perl compiler options for compiling
|
# PERL_CFLAGS = perl compiler options for compiling
|
||||||
# PERL_LFLAGS = perl compiler options for linking
|
# PERL_LFLAGS = perl compiler options for linking
|
||||||
|
|
||||||
if(PERL_FOUND)
|
IF(PERL_FOUND)
|
||||||
# Already in cache, be silent
|
# Already in cache, be silent
|
||||||
set(PERL_FIND_QUIETLY TRUE)
|
SET(PERL_FIND_QUIETLY TRUE)
|
||||||
endif()
|
ENDIF(PERL_FOUND)
|
||||||
|
|
||||||
find_program(PERL_EXECUTABLE
|
FIND_PROGRAM(PERL_EXECUTABLE
|
||||||
NAMES perl perl5
|
NAMES perl perl5
|
||||||
PATHS /usr/bin /usr/local/bin /usr/pkg/bin
|
PATHS /usr/bin /usr/local/bin /usr/pkg/bin
|
||||||
)
|
)
|
||||||
|
|
||||||
if(PERL_EXECUTABLE)
|
IF(PERL_EXECUTABLE)
|
||||||
|
|
||||||
execute_process(
|
EXECUTE_PROCESS(
|
||||||
COMMAND ${PERL_EXECUTABLE} -MConfig -e "print \"\$Config{archlibexp}/CORE\""
|
COMMAND ${PERL_EXECUTABLE} -MConfig -e "print \"\$Config{archlibexp}/CORE\""
|
||||||
OUTPUT_VARIABLE PERL_INTERNAL_DIR
|
OUTPUT_VARIABLE PERL_INTERNAL_DIR
|
||||||
)
|
)
|
||||||
|
|
||||||
execute_process(
|
EXECUTE_PROCESS(
|
||||||
COMMAND ${PERL_EXECUTABLE} -MExtUtils::Embed -e ccopts
|
COMMAND ${PERL_EXECUTABLE} -MExtUtils::Embed -e ccopts
|
||||||
OUTPUT_VARIABLE PERL_CFLAGS
|
OUTPUT_VARIABLE PERL_CFLAGS
|
||||||
)
|
)
|
||||||
|
|
||||||
execute_process(
|
EXECUTE_PROCESS(
|
||||||
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}
|
||||||
)
|
)
|
||||||
|
|
||||||
find_library(PERL_LIBRARY
|
FIND_LIBRARY(PERL_LIBRARY
|
||||||
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()
|
ENDIF(PERL_LIBRARY AND PERL_INCLUDE_PATH)
|
||||||
|
|
||||||
mark_as_advanced(
|
MARK_AS_ADVANCED(
|
||||||
PERL_EXECUTABLE
|
PERL_EXECUTABLE
|
||||||
PERL_INCLUDE_PATH
|
PERL_INCLUDE_PATH
|
||||||
PERL_LIBRARY
|
PERL_LIBRARY
|
||||||
PERL_CFLAGS
|
PERL_CFLAGS
|
||||||
PERL_LFLAGS
|
PERL_LFLAGS
|
||||||
)
|
)
|
||||||
endif()
|
ENDIF(PERL_EXECUTABLE)
|
||||||
|
|
||||||
|
|||||||
+31
-44
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2003-2015 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
|
||||||
# Copyright (C) 2009 Julien Louis <ptitlouis@sysif.net>
|
# Copyright (C) 2009 Julien Louis <ptitlouis@sysif.net>
|
||||||
#
|
#
|
||||||
# This file is part of WeeChat, the extensible chat client.
|
# This file is part of WeeChat, the extensible chat client.
|
||||||
@@ -28,76 +28,63 @@
|
|||||||
# PYTHON_LIBRARY = path to where libpython.so* can be found
|
# PYTHON_LIBRARY = path to where libpython.so* can be found
|
||||||
# PYTHON_LFLAGS = python compiler options for linking
|
# PYTHON_LFLAGS = python compiler options for linking
|
||||||
|
|
||||||
if(PYTHON_FOUND)
|
IF(PYTHON_FOUND)
|
||||||
# Already in cache, be silent
|
# Already in cache, be silent
|
||||||
set(PYTHON_FIND_QUIETLY TRUE)
|
SET(PYTHON_FIND_QUIETLY TRUE)
|
||||||
endif()
|
ENDIF(PYTHON_FOUND)
|
||||||
|
|
||||||
if(ENABLE_PYTHON3)
|
FIND_PROGRAM(PYTHON_EXECUTABLE
|
||||||
find_program(PYTHON_EXECUTABLE
|
NAMES python2.7 python2.6 python2.5 python
|
||||||
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()
|
|
||||||
find_program(PYTHON_EXECUTABLE
|
|
||||||
NAMES python2.7 python2.6 python2.5 python
|
|
||||||
PATHS /usr/bin /usr/local/bin /usr/pkg/bin
|
|
||||||
)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
if(PYTHON_EXECUTABLE)
|
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 "import sys; from distutils.sysconfig import *; sys.stdout.write(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 "import sys; from distutils.sysconfig import *; sys.stdout.write(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 "import sys; from distutils.sysconfig import *; sys.stdout.write(get_config_var('LINKFORSHARED'))"
|
||||||
OUTPUT_VARIABLE PYTHON_LFLAGS
|
OUTPUT_VARIABLE PYTHON_LFLAGS
|
||||||
)
|
)
|
||||||
|
|
||||||
find_path(PYTHON_INCLUDE_PATH
|
FIND_PATH(PYTHON_INCLUDE_PATH
|
||||||
NAMES Python.h
|
NAMES Python.h
|
||||||
HINTS ${PYTHON_INC_DIR}
|
PATHS ${PYTHON_INC_DIR}
|
||||||
)
|
)
|
||||||
if(ENABLE_PYTHON3)
|
|
||||||
find_library(PYTHON_LIBRARY
|
|
||||||
NAMES python3.4 python3.3 python3.2 python3.1 python3.0 python3 python2.7 python2.6 python2.5 python
|
|
||||||
HINTS ${PYTHON_POSSIBLE_LIB_PATH}
|
|
||||||
)
|
|
||||||
else()
|
|
||||||
find_library(PYTHON_LIBRARY
|
|
||||||
NAMES python2.7 python2.6 python2.5 python
|
|
||||||
HINTS ${PYTHON_POSSIBLE_LIB_PATH}
|
|
||||||
)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
if(PYTHON_LIBRARY AND PYTHON_INCLUDE_PATH)
|
FIND_LIBRARY(PYTHON_LIBRARY
|
||||||
execute_process(
|
NAMES python2.7 python2.6 python2.5 python
|
||||||
|
PATHS ${PYTHON_POSSIBLE_LIB_PATH}
|
||||||
|
)
|
||||||
|
|
||||||
|
IF(PYTHON_LIBRARY AND PYTHON_INCLUDE_PATH)
|
||||||
|
EXECUTE_PROCESS(
|
||||||
COMMAND ${PYTHON_EXECUTABLE} -c "import sys; sys.stdout.write(sys.version[:3])"
|
COMMAND ${PYTHON_EXECUTABLE} -c "import sys; sys.stdout.write(sys.version[:3])"
|
||||||
OUTPUT_VARIABLE PYTHON_VERSION
|
OUTPUT_VARIABLE PYTHON_VERSION
|
||||||
)
|
)
|
||||||
execute_process(
|
EXECUTE_PROCESS(
|
||||||
COMMAND ${PYTHON_EXECUTABLE} -c "import sys; sys.stdout.write(str(sys.version_info < (2,5)))"
|
COMMAND ${PYTHON_EXECUTABLE} -c "import sys; sys.stdout.write(str(sys.version_info < (2,5)))"
|
||||||
OUTPUT_VARIABLE PYTHON_OLD_VERSION
|
OUTPUT_VARIABLE PYTHON_OLD_VERSION
|
||||||
)
|
)
|
||||||
if(${PYTHON_OLD_VERSION} STREQUAL "True")
|
IF(${PYTHON_OLD_VERSION} STREQUAL "True")
|
||||||
message("Python >= 2.5 is needed to build python plugin, version found: ${PYTHON_VERSION}")
|
MESSAGE("Python >= 2.5 is needed to build python plugin, version found: ${PYTHON_VERSION}")
|
||||||
else()
|
ELSE()
|
||||||
set(PYTHON_FOUND TRUE)
|
SET(PYTHON_FOUND TRUE)
|
||||||
endif()
|
ENDIF(${PYTHON_OLD_VERSION} STREQUAL "True")
|
||||||
endif()
|
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()
|
ENDIF(PYTHON_EXECUTABLE)
|
||||||
|
|||||||
+64
-55
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2003-2015 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# This file is part of WeeChat, the extensible chat client.
|
# This file is part of WeeChat, the extensible chat client.
|
||||||
#
|
#
|
||||||
@@ -22,62 +22,71 @@
|
|||||||
# and libraries are. It also determines what the name of the library is. This
|
# and libraries are. It also determines what the name of the library is. This
|
||||||
# code sets the following variables:
|
# code sets the following variables:
|
||||||
#
|
#
|
||||||
# RUBY_INCLUDE_DIRS = C flags to compile with ruby
|
# RUBY_EXECUTABLE = full path to the ruby binary
|
||||||
# RUBY_LIBRARY_DIRS = linker flags to compile with ruby (found with pkg-config)
|
# RUBY_INCLUDE_PATH = path to where ruby.h can be found
|
||||||
# RUBY_LIB = ruby library (found without pkg-config)
|
# RUBY_LIBRARY = path to where libruby.so* can be found
|
||||||
|
|
||||||
if(RUBY_FOUND)
|
IF(RUBY_FOUND)
|
||||||
# Already in cache, be silent
|
# Already in cache, be silent
|
||||||
set(RUBY_FIND_QUIETLY TRUE)
|
SET(RUBY_FIND_QUIETLY TRUE)
|
||||||
endif()
|
ENDIF(RUBY_FOUND)
|
||||||
|
|
||||||
find_package(PkgConfig)
|
FIND_PROGRAM(RUBY_EXECUTABLE
|
||||||
if(PKG_CONFIG_FOUND)
|
NAMES ruby1.9.3 ruby193 ruby1.9.2 ruby192 ruby1.9.1 ruby191 ruby1.9 ruby19 ruby1.8 ruby18 ruby1.6 ruby16 ruby
|
||||||
pkg_search_module(RUBY ruby-2.2 ruby-2.1 ruby-2.0 ruby-1.9 ruby-1.8)
|
PATHS /usr/bin /usr/local/bin /usr/pkg/bin
|
||||||
endif()
|
)
|
||||||
|
|
||||||
if(RUBY_FOUND)
|
IF(RUBY_EXECUTABLE)
|
||||||
set(RUBY_LIB "")
|
EXECUTE_PROCESS(
|
||||||
mark_as_advanced(RUBY_LIB)
|
COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "print RbConfig::CONFIG['rubyhdrdir'] || RbConfig::CONFIG['archdir']"
|
||||||
else()
|
OUTPUT_VARIABLE RUBY_ARCH_DIR
|
||||||
find_program(RUBY_EXECUTABLE
|
|
||||||
NAMES ruby1.9.3 ruby193 ruby1.9.2 ruby192 ruby1.9.1 ruby191 ruby1.9 ruby19 ruby1.8 ruby18 ruby
|
|
||||||
PATHS /usr/bin /usr/local/bin /usr/pkg/bin
|
|
||||||
)
|
)
|
||||||
if(RUBY_EXECUTABLE)
|
|
||||||
execute_process(
|
EXECUTE_PROCESS(
|
||||||
COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "print RbConfig::CONFIG['rubyhdrdir'] || RbConfig::CONFIG['archdir']"
|
COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "print RbConfig::CONFIG['arch']"
|
||||||
OUTPUT_VARIABLE RUBY_ARCH_DIR
|
OUTPUT_VARIABLE RUBY_ARCH
|
||||||
)
|
)
|
||||||
execute_process(
|
|
||||||
COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "print RbConfig::CONFIG['arch']"
|
EXECUTE_PROCESS(
|
||||||
OUTPUT_VARIABLE RUBY_ARCH
|
COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "print RbConfig::CONFIG['libdir']"
|
||||||
)
|
OUTPUT_VARIABLE RUBY_POSSIBLE_LIB_PATH
|
||||||
execute_process(
|
)
|
||||||
COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "print RbConfig::CONFIG['libdir']"
|
|
||||||
OUTPUT_VARIABLE RUBY_POSSIBLE_LIB_PATH
|
EXECUTE_PROCESS(
|
||||||
)
|
COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "print RbConfig::CONFIG['rubylibdir']"
|
||||||
execute_process(
|
OUTPUT_VARIABLE RUBY_RUBY_LIB_PATH
|
||||||
COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "print RbConfig::CONFIG['rubylibdir']"
|
)
|
||||||
OUTPUT_VARIABLE RUBY_RUBY_LIB_PATH
|
|
||||||
)
|
EXECUTE_PROCESS(
|
||||||
find_path(RUBY_INCLUDE_DIRS
|
COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "print RbConfig::CONFIG['ruby_version']"
|
||||||
NAMES ruby.h
|
OUTPUT_VARIABLE RUBY_VERSION
|
||||||
PATHS ${RUBY_ARCH_DIR}
|
)
|
||||||
)
|
|
||||||
set(RUBY_INCLUDE_ARCH "${RUBY_INCLUDE_DIRS}/${RUBY_ARCH}")
|
FIND_PATH(RUBY_INCLUDE_PATH
|
||||||
find_library(RUBY_LIB
|
NAMES ruby.h
|
||||||
NAMES ruby-1.9.3 ruby1.9.3 ruby193 ruby-1.9.2 ruby1.9.2 ruby192 ruby-1.9.1 ruby1.9.1 ruby191 ruby1.9 ruby19 ruby1.8 ruby18 ruby
|
PATHS ${RUBY_ARCH_DIR}
|
||||||
PATHS ${RUBY_POSSIBLE_LIB_PATH} ${RUBY_RUBY_LIB_PATH}
|
)
|
||||||
)
|
|
||||||
if(RUBY_LIB AND RUBY_INCLUDE_DIRS)
|
SET(RUBY_ARCH
|
||||||
set(RUBY_FOUND TRUE)
|
"${RUBY_INCLUDE_PATH}/${RUBY_ARCH}")
|
||||||
endif()
|
|
||||||
set(RUBY_INCLUDE_DIRS "${RUBY_INCLUDE_DIRS};${RUBY_INCLUDE_ARCH}")
|
FIND_LIBRARY(RUBY_LIBRARY
|
||||||
mark_as_advanced(
|
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
|
||||||
RUBY_INCLUDE_DIRS
|
PATHS ${RUBY_POSSIBLE_LIB_PATH} ${RUBY_RUBY_LIB_PATH}
|
||||||
RUBY_LIBRARY_DIRS
|
)
|
||||||
RUBY_LIB
|
|
||||||
)
|
IF(RUBY_LIBRARY AND RUBY_INCLUDE_PATH)
|
||||||
endif()
|
SET(RUBY_FOUND TRUE)
|
||||||
endif()
|
ENDIF(RUBY_LIBRARY AND RUBY_INCLUDE_PATH)
|
||||||
|
|
||||||
|
IF(${RUBY_VERSION} STREQUAL "1.9.0")
|
||||||
|
SET(RUBY_FOUND FALSE)
|
||||||
|
ENDIF(${RUBY_VERSION} STREQUAL "1.9.0")
|
||||||
|
|
||||||
|
MARK_AS_ADVANCED(
|
||||||
|
RUBY_EXECUTABLE
|
||||||
|
RUBY_LIBRARY
|
||||||
|
RUBY_ARCH
|
||||||
|
RUBY_INCLUDE_PATH
|
||||||
|
)
|
||||||
|
ENDIF(RUBY_EXECUTABLE)
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2003-2015 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
|
||||||
# Copyright (C) 2009 Emmanuel Bouthenot <kolter@openics.org>
|
# Copyright (C) 2009 Emmanuel Bouthenot <kolter@openics.org>
|
||||||
#
|
#
|
||||||
# This file is part of WeeChat, the extensible chat client.
|
# This file is part of WeeChat, the extensible chat client.
|
||||||
@@ -21,19 +21,19 @@
|
|||||||
# - Find Source-Highlight
|
# - Find Source-Highlight
|
||||||
# This module finds if source-highlight is installed.
|
# This module finds if source-highlight is installed.
|
||||||
|
|
||||||
if(SOURCEHIGHLIGHT_FOUND)
|
IF (SOURCEHIGHLIGHT_FOUND)
|
||||||
# Already in cache, be silent
|
# Already in cache, be silent
|
||||||
set(SOURCEHIGHLIGHT_FIND_QUIETLY TRUE)
|
SET(SOURCEHIGHLIGHT_FIND_QUIETLY TRUE)
|
||||||
endif()
|
ENDIF (SOURCEHIGHLIGHT_FOUND)
|
||||||
|
|
||||||
find_program(
|
FIND_PROGRAM(
|
||||||
SOURCEHIGHLIGHT_EXECUTABLE source-highlight
|
SOURCEHIGHLIGHT_EXECUTABLE source-highlight
|
||||||
PATHS /bin /usr/bin /usr/local/bin /usr/pkg/bin
|
PATHS /bin /usr/bin /usr/local/bin /usr/pkg/bin
|
||||||
)
|
)
|
||||||
|
|
||||||
if(SOURCEHIGHLIGHT_EXECUTABLE)
|
IF(SOURCEHIGHLIGHT_EXECUTABLE)
|
||||||
set(SOURCEHIGHLIGHT_FOUND TRUE)
|
SET(SOURCEHIGHLIGHT_FOUND TRUE)
|
||||||
mark_as_advanced(
|
MARK_AS_ADVANCED(
|
||||||
SOURCEHIGHLIGHT_EXECUTABLE
|
SOURCEHIGHLIGHT_EXECUTABLE
|
||||||
)
|
)
|
||||||
endif()
|
ENDIF(SOURCEHIGHLIGHT_EXECUTABLE)
|
||||||
|
|||||||
+41
-40
@@ -1,6 +1,6 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2008 Julien Louis <ptitlouis@sysif.net>
|
# Copyright (C) 2008 Julien Louis <ptitlouis@sysif.net>
|
||||||
# Copyright (C) 2008-2015 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2008-2012 Sebastien Helleu <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# This file is part of WeeChat, the extensible chat client.
|
# This file is part of WeeChat, the extensible chat client.
|
||||||
#
|
#
|
||||||
@@ -51,26 +51,26 @@
|
|||||||
# this point it is safer you ask directly where the *source* tree is
|
# this point it is safer you ask directly where the *source* tree is
|
||||||
# and dig from there.
|
# and dig from there.
|
||||||
|
|
||||||
if(TCL_FOUND)
|
IF(TCL_FOUND)
|
||||||
set(TCL_FIND_QUIETLY TRUE)
|
SET(TCL_FIND_QUIETLY TRUE)
|
||||||
endif()
|
ENDIF(TCL_FOUND)
|
||||||
|
|
||||||
include(CMakeFindFrameworks)
|
INCLUDE(CMakeFindFrameworks)
|
||||||
include(FindTclsh)
|
INCLUDE(FindTclsh)
|
||||||
|
|
||||||
get_filename_component(TCL_TCLSH_PATH "${TCL_TCLSH}" PATH)
|
GET_FILENAME_COMPONENT(TCL_TCLSH_PATH "${TCL_TCLSH}" PATH)
|
||||||
get_filename_component(TCL_TCLSH_PATH_PARENT "${TCL_TCLSH_PATH}" PATH)
|
GET_FILENAME_COMPONENT(TCL_TCLSH_PATH_PARENT "${TCL_TCLSH_PATH}" PATH)
|
||||||
string(REGEX REPLACE
|
STRING(REGEX REPLACE
|
||||||
"^.*tclsh([0-9]\\.*[0-9]).*$" "\\1" TCL_TCLSH_VERSION "${TCL_TCLSH}")
|
"^.*tclsh([0-9]\\.*[0-9]).*$" "\\1" TCL_TCLSH_VERSION "${TCL_TCLSH}")
|
||||||
|
|
||||||
get_filename_component(TCL_INCLUDE_PATH_PARENT "${TCL_INCLUDE_PATH}" PATH)
|
GET_FILENAME_COMPONENT(TCL_INCLUDE_PATH_PARENT "${TCL_INCLUDE_PATH}" PATH)
|
||||||
|
|
||||||
get_filename_component(TCL_LIBRARY_PATH "${TCL_LIBRARY}" PATH)
|
GET_FILENAME_COMPONENT(TCL_LIBRARY_PATH "${TCL_LIBRARY}" PATH)
|
||||||
get_filename_component(TCL_LIBRARY_PATH_PARENT "${TCL_LIBRARY_PATH}" PATH)
|
GET_FILENAME_COMPONENT(TCL_LIBRARY_PATH_PARENT "${TCL_LIBRARY_PATH}" PATH)
|
||||||
string(REGEX REPLACE
|
STRING(REGEX REPLACE
|
||||||
"^.*tcl([0-9]\\.*[0-9]).*$" "\\1" TCL_VERSION "${TCL_LIBRARY}")
|
"^.*tcl([0-9]\\.*[0-9]).*$" "\\1" TCL_VERSION "${TCL_LIBRARY}")
|
||||||
|
|
||||||
set(TCL_POSSIBLE_LIB_PATHS
|
SET(TCL_POSSIBLE_LIB_PATHS
|
||||||
"${TCL_INCLUDE_PATH_PARENT}/lib"
|
"${TCL_INCLUDE_PATH_PARENT}/lib"
|
||||||
"${TCL_INCLUDE_PATH_PARENT}/lib64"
|
"${TCL_INCLUDE_PATH_PARENT}/lib64"
|
||||||
"${TCL_LIBRARY_PATH}"
|
"${TCL_LIBRARY_PATH}"
|
||||||
@@ -82,12 +82,12 @@ set(TCL_POSSIBLE_LIB_PATHS
|
|||||||
/usr/local/lib64
|
/usr/local/lib64
|
||||||
)
|
)
|
||||||
|
|
||||||
if(WIN32)
|
IF(WIN32)
|
||||||
get_filename_component(
|
GET_FILENAME_COMPONENT(
|
||||||
ActiveTcl_CurrentVersion
|
ActiveTcl_CurrentVersion
|
||||||
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\ActiveState\\ActiveTcl;CurrentVersion]"
|
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\ActiveState\\ActiveTcl;CurrentVersion]"
|
||||||
NAME)
|
NAME)
|
||||||
set(TCLTK_POSSIBLE_LIB_PATHS ${TCLTK_POSSIBLE_LIB_PATHS}
|
SET(TCLTK_POSSIBLE_LIB_PATHS ${TCLTK_POSSIBLE_LIB_PATHS}
|
||||||
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\ActiveState\\ActiveTcl\\${ActiveTcl_CurrentVersion}]/lib"
|
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\ActiveState\\ActiveTcl\\${ActiveTcl_CurrentVersion}]/lib"
|
||||||
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.6;Root]/lib"
|
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.6;Root]/lib"
|
||||||
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.5;Root]/lib"
|
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.5;Root]/lib"
|
||||||
@@ -95,9 +95,9 @@ if(WIN32)
|
|||||||
"C:/Program Files/Tcl/lib"
|
"C:/Program Files/Tcl/lib"
|
||||||
"C:/Tcl/lib"
|
"C:/Tcl/lib"
|
||||||
)
|
)
|
||||||
endif()
|
ENDIF(WIN32)
|
||||||
|
|
||||||
find_library(TCL_LIBRARY
|
FIND_LIBRARY(TCL_LIBRARY
|
||||||
NAMES
|
NAMES
|
||||||
tcl86 tcl8.6
|
tcl86 tcl8.6
|
||||||
tcl85 tcl8.5
|
tcl85 tcl8.5
|
||||||
@@ -106,18 +106,18 @@ find_library(TCL_LIBRARY
|
|||||||
PATHS ${TCL_POSSIBLE_LIB_PATHS}
|
PATHS ${TCL_POSSIBLE_LIB_PATHS}
|
||||||
)
|
)
|
||||||
|
|
||||||
cmake_find_frameworks(Tcl)
|
CMAKE_FIND_FRAMEWORKS(Tcl)
|
||||||
|
|
||||||
set(TCL_FRAMEWORK_INCLUDES)
|
SET(TCL_FRAMEWORK_INCLUDES)
|
||||||
if(Tcl_FRAMEWORKS)
|
IF(Tcl_FRAMEWORKS)
|
||||||
if(NOT TCL_INCLUDE_PATH)
|
IF(NOT TCL_INCLUDE_PATH)
|
||||||
foreach(dir ${Tcl_FRAMEWORKS})
|
FOREACH(dir ${Tcl_FRAMEWORKS})
|
||||||
set(TCL_FRAMEWORK_INCLUDES ${TCL_FRAMEWORK_INCLUDES} ${dir}/Headers)
|
SET(TCL_FRAMEWORK_INCLUDES ${TCL_FRAMEWORK_INCLUDES} ${dir}/Headers)
|
||||||
endforeach(dir)
|
ENDFOREACH(dir)
|
||||||
endif()
|
ENDIF(NOT TCL_INCLUDE_PATH)
|
||||||
endif()
|
ENDIF(Tcl_FRAMEWORKS)
|
||||||
|
|
||||||
set(TCL_POSSIBLE_INCLUDE_PATHS
|
SET(TCL_POSSIBLE_INCLUDE_PATHS
|
||||||
"${TCL_LIBRARY_PATH_PARENT}/include"
|
"${TCL_LIBRARY_PATH_PARENT}/include"
|
||||||
"${TCL_INCLUDE_PATH}"
|
"${TCL_INCLUDE_PATH}"
|
||||||
${TCL_FRAMEWORK_INCLUDES}
|
${TCL_FRAMEWORK_INCLUDES}
|
||||||
@@ -132,8 +132,9 @@ set(TCL_POSSIBLE_INCLUDE_PATHS
|
|||||||
/usr/local/include/tcl8.5
|
/usr/local/include/tcl8.5
|
||||||
)
|
)
|
||||||
|
|
||||||
if(WIN32)
|
|
||||||
set(TCLTK_POSSIBLE_INCLUDE_PATHS ${TCLTK_POSSIBLE_INCLUDE_PATHS}
|
IF(WIN32)
|
||||||
|
SET(TCLTK_POSSIBLE_INCLUDE_PATHS ${TCLTK_POSSIBLE_INCLUDE_PATHS}
|
||||||
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\ActiveState\\ActiveTcl\\${ActiveTcl_CurrentVersion}]/include"
|
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\ActiveState\\ActiveTcl\\${ActiveTcl_CurrentVersion}]/include"
|
||||||
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.6;Root]/include"
|
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.6;Root]/include"
|
||||||
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.5;Root]/include"
|
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.5;Root]/include"
|
||||||
@@ -141,21 +142,21 @@ if(WIN32)
|
|||||||
"C:/Program Files/Tcl/include"
|
"C:/Program Files/Tcl/include"
|
||||||
"C:/Tcl/include"
|
"C:/Tcl/include"
|
||||||
)
|
)
|
||||||
endif()
|
ENDIF(WIN32)
|
||||||
|
|
||||||
find_path(TCL_INCLUDE_PATH
|
FIND_PATH(TCL_INCLUDE_PATH
|
||||||
NAMES tcl.h
|
NAMES tcl.h
|
||||||
PATHS ${TCL_POSSIBLE_INCLUDE_PATHS}
|
PATHS ${TCL_POSSIBLE_INCLUDE_PATHS}
|
||||||
)
|
)
|
||||||
|
|
||||||
if(TCL_LIBRARY AND TCL_INCLUDE_PATH)
|
IF(TCL_LIBRARY AND TCL_INCLUDE_PATH)
|
||||||
set(TCL_VERSION ${TCL_VERSION})
|
SET(TCL_VERSION ${TCL_VERSION})
|
||||||
set(TCL_LIBARY ${TCL_LIBRARY})
|
SET(TCL_LIBARY ${TCL_LIBRARY})
|
||||||
set(TCL_INCLUDE_PATH ${TCL_INCLUDE_PATH})
|
SET(TCL_INCLUDE_PATH ${TCL_INCLUDE_PATH})
|
||||||
set(TCL_FOUND TRUE)
|
SET(TCL_FOUND TRUE)
|
||||||
endif()
|
ENDIF(TCL_LIBRARY AND TCL_INCLUDE_PATH)
|
||||||
|
|
||||||
mark_as_advanced(
|
MARK_AS_ADVANCED(
|
||||||
TCL_INCLUDE_PATH
|
TCL_INCLUDE_PATH
|
||||||
TCL_LIBRARY
|
TCL_LIBRARY
|
||||||
TCL_VERSION
|
TCL_VERSION
|
||||||
|
|||||||
@@ -1,49 +0,0 @@
|
|||||||
#
|
|
||||||
# Copyright (C) 2015 Sébastien Helleu <flashcode@flashtux.org>
|
|
||||||
#
|
|
||||||
# This file is part of WeeChat, the extensible chat client.
|
|
||||||
#
|
|
||||||
# WeeChat is free software; you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation; either version 3 of the License, or
|
|
||||||
# (at your option) any later version.
|
|
||||||
#
|
|
||||||
# WeeChat is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
#
|
|
||||||
|
|
||||||
# - Find Aspell
|
|
||||||
# This module finds if libaspell is installed and determines where
|
|
||||||
# the include files and libraries are.
|
|
||||||
#
|
|
||||||
# This code sets the following variables:
|
|
||||||
#
|
|
||||||
# V8_INCLUDE_DIR = path to where v8.h can be found
|
|
||||||
# V8_LIBRARY = path to where libv8.so* can be found
|
|
||||||
|
|
||||||
if(V8_FOUND)
|
|
||||||
# Already in cache, be silent
|
|
||||||
SET(V8_FIND_QUIETLY TRUE)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
set(V8_INC_PATHS
|
|
||||||
/usr/include
|
|
||||||
${CMAKE_INCLUDE_PATH}
|
|
||||||
)
|
|
||||||
find_path(V8_INCLUDE_DIR v8.h PATHS ${V8_INC_PATHS})
|
|
||||||
find_library(V8_LIBRARY
|
|
||||||
NAMES v8
|
|
||||||
PATHS /lib /usr/lib /usr/local/lib /usr/pkg/lib
|
|
||||||
)
|
|
||||||
|
|
||||||
find_package_handle_standard_args(V8 DEFAULT_MSG V8_LIBRARY V8_INCLUDE_DIR)
|
|
||||||
|
|
||||||
mark_as_advanced(
|
|
||||||
V8_INCLUDE_DIR
|
|
||||||
V8_LIBRARY
|
|
||||||
)
|
|
||||||
+34
-33
@@ -31,47 +31,48 @@
|
|||||||
# (To distribute this file outside of CMake, substitute the full
|
# (To distribute this file outside of CMake, substitute the full
|
||||||
# License text for the above reference.)
|
# License text for the above reference.)
|
||||||
|
|
||||||
find_path(ZLIB_INCLUDE_DIR zlib.h
|
FIND_PATH(ZLIB_INCLUDE_DIR zlib.h
|
||||||
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\GnuWin32\\Zlib;InstallPath]/include"
|
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\GnuWin32\\Zlib;InstallPath]/include"
|
||||||
)
|
)
|
||||||
|
|
||||||
set(ZLIB_NAMES z zlib zdll zlib1 zlibd zlibd1)
|
SET(ZLIB_NAMES z zlib zdll zlib1 zlibd zlibd1)
|
||||||
find_library(ZLIB_LIBRARY
|
FIND_LIBRARY(ZLIB_LIBRARY
|
||||||
NAMES
|
NAMES
|
||||||
${ZLIB_NAMES}
|
${ZLIB_NAMES}
|
||||||
PATHS
|
PATHS
|
||||||
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\GnuWin32\\Zlib;InstallPath]/lib"
|
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\GnuWin32\\Zlib;InstallPath]/lib"
|
||||||
)
|
)
|
||||||
mark_as_advanced(ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
|
MARK_AS_ADVANCED(ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
|
||||||
|
|
||||||
if(ZLIB_INCLUDE_DIR AND EXISTS "${ZLIB_INCLUDE_DIR}/zlib.h")
|
IF(ZLIB_INCLUDE_DIR AND EXISTS "${ZLIB_INCLUDE_DIR}/zlib.h")
|
||||||
file(STRINGS "${ZLIB_INCLUDE_DIR}/zlib.h" ZLIB_H REGEX "^#define ZLIB_VERSION \"[^\"]*\"$")
|
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]+).*$" "\\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]+).*$" "\\1" ZLIB_VERSION_MINOR "${ZLIB_H}")
|
||||||
string(REGEX REPLACE "^.*ZLIB_VERSION \"[0-9]+\\.[0-9]+\\.([0-9]+).*$" "\\1" ZLIB_VERSION_PATCH "${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}")
|
SET(ZLIB_VERSION_STRING "${ZLIB_VERSION_MAJOR}.${ZLIB_VERSION_MINOR}.${ZLIB_VERSION_PATCH}")
|
||||||
|
|
||||||
# only append a TWEAK version if it exists:
|
# only append a TWEAK version if it exists:
|
||||||
set(ZLIB_VERSION_TWEAK "")
|
SET(ZLIB_VERSION_TWEAK "")
|
||||||
if("${ZLIB_H}" MATCHES "^.*ZLIB_VERSION \"[0-9]+\\.[0-9]+\\.[0-9]+\\.([0-9]+).*$")
|
IF( "${ZLIB_H}" MATCHES "^.*ZLIB_VERSION \"[0-9]+\\.[0-9]+\\.[0-9]+\\.([0-9]+).*$")
|
||||||
set(ZLIB_VERSION_TWEAK "${CMAKE_MATCH_1}")
|
SET(ZLIB_VERSION_TWEAK "${CMAKE_MATCH_1}")
|
||||||
set(ZLIB_VERSION_STRING "${ZLIB_VERSION_STRING}.${ZLIB_VERSION_TWEAK}")
|
SET(ZLIB_VERSION_STRING "${ZLIB_VERSION_STRING}.${ZLIB_VERSION_TWEAK}")
|
||||||
endif()
|
ENDIF( "${ZLIB_H}" MATCHES "^.*ZLIB_VERSION \"[0-9]+\\.[0-9]+\\.[0-9]+\\.([0-9]+).*$")
|
||||||
|
|
||||||
set(ZLIB_MAJOR_VERSION "${ZLIB_VERSION_MAJOR}")
|
SET(ZLIB_MAJOR_VERSION "${ZLIB_VERSION_MAJOR}")
|
||||||
set(ZLIB_MINOR_VERSION "${ZLIB_VERSION_MINOR}")
|
SET(ZLIB_MINOR_VERSION "${ZLIB_VERSION_MINOR}")
|
||||||
set(ZLIB_PATCH_VERSION "${ZLIB_VERSION_PATCH}")
|
SET(ZLIB_PATCH_VERSION "${ZLIB_VERSION_PATCH}")
|
||||||
endif()
|
ENDIF()
|
||||||
|
|
||||||
# handle the QUIETLY and REQUIRED arguments and set ZLIB_FOUND to TRUE if
|
# handle the QUIETLY and REQUIRED arguments and set ZLIB_FOUND to TRUE if
|
||||||
# all listed variables are TRUE
|
# all listed variables are TRUE
|
||||||
#INCLUDE(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake)
|
#INCLUDE(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake)
|
||||||
include(${CMAKE_HOME_DIRECTORY}/cmake/FindPackageHandleStandardArgs.cmake)
|
INCLUDE(${CMAKE_HOME_DIRECTORY}/cmake/FindPackageHandleStandardArgs.cmake)
|
||||||
find_package_handle_standard_args(ZLIB REQUIRED_VARS ZLIB_LIBRARY ZLIB_INCLUDE_DIR
|
FIND_PACKAGE_HANDLE_STANDARD_ARGS(ZLIB REQUIRED_VARS ZLIB_LIBRARY ZLIB_INCLUDE_DIR
|
||||||
VERSION_VAR ZLIB_VERSION_STRING)
|
VERSION_VAR ZLIB_VERSION_STRING)
|
||||||
|
|
||||||
|
IF(ZLIB_FOUND)
|
||||||
|
SET(ZLIB_INCLUDE_DIRS ${ZLIB_INCLUDE_DIR})
|
||||||
|
SET(ZLIB_LIBRARIES ${ZLIB_LIBRARY})
|
||||||
|
ENDIF()
|
||||||
|
|
||||||
if(ZLIB_FOUND)
|
|
||||||
set(ZLIB_INCLUDE_DIRS ${ZLIB_INCLUDE_DIR})
|
|
||||||
set(ZLIB_LIBRARIES ${ZLIB_LIBRARY})
|
|
||||||
endif()
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2003-2015 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# This file is part of WeeChat, the extensible chat client.
|
# This file is part of WeeChat, the extensible chat client.
|
||||||
#
|
#
|
||||||
@@ -17,24 +17,24 @@
|
|||||||
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#
|
#
|
||||||
|
|
||||||
if(NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt")
|
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()
|
ENDIF(NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt")
|
||||||
|
|
||||||
|
FILE(READ "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt" files)
|
||||||
|
STRING(REGEX REPLACE "\n" ";" files "${files}")
|
||||||
|
FOREACH(file ${files})
|
||||||
|
MESSAGE(STATUS "Uninstalling \"${file}\"")
|
||||||
|
IF(NOT EXISTS "${file}")
|
||||||
|
MESSAGE(FATAL_ERROR "File \"${file}\" does not exists.")
|
||||||
|
ENDIF(NOT EXISTS "${file}")
|
||||||
|
EXEC_PROGRAM("@CMAKE_COMMAND@" ARGS "-E remove \"${file}\""
|
||||||
|
OUTPUT_VARIABLE rm_out
|
||||||
|
RETURN_VARIABLE rm_retval)
|
||||||
|
IF("${rm_retval}" GREATER 0)
|
||||||
|
MESSAGE(FATAL_ERROR "Problem when removing \"${file}\"")
|
||||||
|
ENDIF("${rm_retval}" GREATER 0)
|
||||||
|
ENDFOREACH(file)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
file(READ "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt" files)
|
|
||||||
string(REGEX REPLACE "\n" ";" files "${files}")
|
|
||||||
string(REGEX REPLACE ";$" "" files "${files}")
|
|
||||||
list(REVERSE files)
|
|
||||||
foreach(file ${files})
|
|
||||||
message(STATUS "Uninstalling \"$ENV{DESTDIR}${file}\"")
|
|
||||||
if(EXISTS "$ENV{DESTDIR}${file}")
|
|
||||||
exec_program("@CMAKE_COMMAND@" ARGS "-E remove \"$ENV{DESTDIR}${file}\""
|
|
||||||
OUTPUT_VARIABLE rm_out
|
|
||||||
RETURN_VARIABLE rm_retval)
|
|
||||||
if("${rm_retval}" GREATER 0)
|
|
||||||
message(FATAL_ERROR "Problem when removing \"$ENV{DESTDIR}${file}\"")
|
|
||||||
endif()
|
|
||||||
else()
|
|
||||||
message(STATUS "File \"$ENV{DESTDIR}${file}\" does not exist.")
|
|
||||||
endif()
|
|
||||||
endforeach(file)
|
|
||||||
|
|||||||
Executable
+52
@@ -0,0 +1,52 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
#
|
||||||
|
# Copyright (C) 2003-2012 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/>.
|
||||||
|
#
|
||||||
|
|
||||||
|
VERSION=@VERSION@
|
||||||
|
SRCROOT=@CMAKE_SOURCE_DIR@
|
||||||
|
BUILDDIR=@CMAKE_BINARY_DIR@
|
||||||
|
PROJECT=@PROJECT_NAME@
|
||||||
|
TAG=release-$(echo $VERSION | sed -e 's/\./-/g')
|
||||||
|
|
||||||
|
EXCLUDE="@DIST_EXCLUDE@"
|
||||||
|
EXPORT_DIR="${PROJECT}-${VERSION}"
|
||||||
|
|
||||||
|
if [ -z $CVSROOT ]; then
|
||||||
|
echo "The CVSROOT variable must be set"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo "Exporting source tree"
|
||||||
|
if [ $(echo $VERSION | grep cvs) ]; then
|
||||||
|
cvs export -r HEAD -d $PROJECT-$VERSION $PROJECT
|
||||||
|
else
|
||||||
|
cvs export -r $TAG -d $PROJECT-$VERSION $PROJECT
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo "Removing not needed stuff"
|
||||||
|
for i in $EXCLUDE ; do
|
||||||
|
echo " $i"
|
||||||
|
rm -rf $EXPORT_DIR/$i
|
||||||
|
done
|
||||||
|
|
||||||
|
echo "Generating archive"
|
||||||
|
tar cjf ${BUILDDIR}/${PROJECT}-${VERSION}.tar.bz2 ${EXPORT_DIR}
|
||||||
|
|
||||||
|
echo "Cleaning up"
|
||||||
|
rm -rf ${EXPORT_DIR}
|
||||||
+18
-4
@@ -1,14 +1,29 @@
|
|||||||
|
#cmakedefine HAVE_ARPA_INET_H
|
||||||
#cmakedefine HAVE_LIBINTL_H
|
#cmakedefine HAVE_LIBINTL_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_SYS_RESOURCE_H
|
#cmakedefine HAVE_SYS_RESOURCE_H
|
||||||
#cmakedefine HAVE_FLOCK
|
#cmakedefine HAVE_FLOCK
|
||||||
#cmakedefine HAVE_LANGINFO_CODESET
|
#cmakedefine HAVE_LANGINFO_CODESET
|
||||||
|
#cmakedefine HAVE_STRNDUP
|
||||||
#cmakedefine HAVE_BACKTRACE
|
#cmakedefine HAVE_BACKTRACE
|
||||||
#cmakedefine ICONV_2ARG_IS_CONST 1
|
#cmakedefine ICONV_2ARG_IS_CONST 1
|
||||||
|
#cmakedefine HAVE_TCL_CREATE_NS
|
||||||
#cmakedefine HAVE_MALLINFO
|
#cmakedefine HAVE_MALLINFO
|
||||||
#cmakedefine HAVE_EAT_NEWLINE_GLITCH
|
#cmakedefine HAVE_EAT_NEWLINE_GLITCH
|
||||||
#cmakedefine HAVE_ASPELL_VERSION_STRING
|
|
||||||
#cmakedefine HAVE_ENCHANT_GET_VERSION
|
|
||||||
#cmakedefine HAVE_GUILE_GMP_MEMORY_FUNCTIONS
|
|
||||||
#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@"
|
||||||
@@ -17,5 +32,4 @@
|
|||||||
#define WEECHAT_SHAREDIR "@SHAREDIR@"
|
#define WEECHAT_SHAREDIR "@SHAREDIR@"
|
||||||
#define LOCALEDIR "@LOCALEDIR@"
|
#define LOCALEDIR "@LOCALEDIR@"
|
||||||
#define WEECHAT_HOME "@WEECHAT_HOME@"
|
#define WEECHAT_HOME "@WEECHAT_HOME@"
|
||||||
#define CA_FILE "@CA_FILE@"
|
|
||||||
#define _GNU_SOURCE 1
|
#define _GNU_SOURCE 1
|
||||||
|
|||||||
+184
-398
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2003-2015 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
|
||||||
# Copyright (C) 2005 Benoit Papillault <benoit.papillault@free.fr>
|
# Copyright (C) 2005 Benoit Papillault <benoit.papillault@free.fr>
|
||||||
# Copyright (C) 2005-2006 Julien Louis <ptitlouis@sysif.net>
|
# Copyright (C) 2005-2006 Julien Louis <ptitlouis@sysif.net>
|
||||||
# Copyright (C) 2005-2009 Emmanuel Bouthenot <kolter@openics.org>
|
# Copyright (C) 2005-2009 Emmanuel Bouthenot <kolter@openics.org>
|
||||||
@@ -24,23 +24,20 @@
|
|||||||
# Process this file with autoconf to produce a configure script.
|
# Process this file with autoconf to produce a configure script.
|
||||||
|
|
||||||
AC_PREREQ(2.56)
|
AC_PREREQ(2.56)
|
||||||
AC_INIT(WeeChat, 1.2, flashcode@flashtux.org)
|
AC_INIT(WeeChat, 0.3.9.2, flashcode@flashtux.org)
|
||||||
AC_CONFIG_SRCDIR([configure.ac])
|
AC_CONFIG_SRCDIR([src/core/weechat.c])
|
||||||
AM_CONFIG_HEADER(config.h)
|
AM_CONFIG_HEADER(config.h)
|
||||||
AM_INIT_AUTOMAKE([foreign])
|
AM_INIT_AUTOMAKE([weechat], [0.3.9.2])
|
||||||
LICENSE="GPL3"
|
LICENSE="GPL3"
|
||||||
|
|
||||||
# Checks for programs
|
# Checks for programs
|
||||||
AC_PROG_CC
|
AC_PROG_CC
|
||||||
AC_PROG_CXX
|
|
||||||
AC_PROG_MAKE_SET
|
AC_PROG_MAKE_SET
|
||||||
AC_GNU_SOURCE
|
AC_GNU_SOURCE
|
||||||
AC_PROG_LN_S
|
|
||||||
AM_PROG_LIBTOOL
|
AM_PROG_LIBTOOL
|
||||||
|
|
||||||
# Files to generate
|
# Files to generate
|
||||||
AC_CONFIG_FILES([weechat.pc])
|
AC_CONFIG_FILES([weechat.pc])
|
||||||
AC_CONFIG_FILES([weechat-${VERSION}-1.cygport:weechat.cygport.in])
|
|
||||||
|
|
||||||
# Add some flags for some OS
|
# Add some flags for some OS
|
||||||
case "$host_os" in
|
case "$host_os" in
|
||||||
@@ -55,12 +52,15 @@ netbsd*)
|
|||||||
solaris*)
|
solaris*)
|
||||||
LDFLAGS="$LDFLAGS -lsocket -lxnet"
|
LDFLAGS="$LDFLAGS -lsocket -lxnet"
|
||||||
;;
|
;;
|
||||||
|
cygwin*)
|
||||||
|
LDFLAGS="$LDFLAGS -no-undefined"
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
# Gettext
|
# Gettext
|
||||||
ALL_LINGUAS="cs de es fr hu it ja pl pt_BR ru tr"
|
ALL_LINGUAS="fr es cs hu de ru pl it ja pt_BR"
|
||||||
AM_GNU_GETTEXT
|
AM_GNU_GETTEXT
|
||||||
AM_GNU_GETTEXT_VERSION([0.18])
|
AM_GNU_GETTEXT_VERSION([0.15])
|
||||||
|
|
||||||
# Checks for libraries
|
# Checks for libraries
|
||||||
AC_CHECK_LIB(ncurses, initscr, LIBNCURSES_FOUND=1, LIBNCURSES_FOUND=0)
|
AC_CHECK_LIB(ncurses, initscr, LIBNCURSES_FOUND=1, LIBNCURSES_FOUND=0)
|
||||||
@@ -68,7 +68,7 @@ AC_CHECK_LIB(ncursesw, initscr, LIBNCURSESW_FOUND=1, LIBNCURSESW_FOUND=0)
|
|||||||
|
|
||||||
# Checks for header files
|
# Checks for header files
|
||||||
AC_HEADER_STDC
|
AC_HEADER_STDC
|
||||||
AC_CHECK_HEADERS([libintl.h sys/resource.h])
|
AC_CHECK_HEADERS([arpa/inet.h libintl.h limits.h locale.h netdb.h netinet/in.h stdlib.h string.h sys/socket.h sys/time.h sys/types.h unistd.h pwd.h errno.h regex.h wchar.h sys/file.h sys/resource.h])
|
||||||
|
|
||||||
# Checks for typedefs, structures, and compiler characteristics
|
# Checks for typedefs, structures, and compiler characteristics
|
||||||
AC_HEADER_TIME
|
AC_HEADER_TIME
|
||||||
@@ -91,103 +91,77 @@ AC_MSG_RESULT($ac_cv_type_socklen_t)
|
|||||||
# Checks for library functions.
|
# Checks for library functions.
|
||||||
AC_FUNC_SELECT_ARGTYPES
|
AC_FUNC_SELECT_ARGTYPES
|
||||||
AC_TYPE_SIGNAL
|
AC_TYPE_SIGNAL
|
||||||
AC_CHECK_FUNCS([mallinfo])
|
AC_CHECK_FUNCS([gethostbyname gethostname getsockname gettimeofday inet_ntoa memset mkdir select setlocale socket strcasecmp strchr strdup strndup strncasecmp strpbrk strrchr strstr regexec mallinfo])
|
||||||
|
|
||||||
# Variables in config.h
|
# Variables in config.h
|
||||||
|
|
||||||
AH_VERBATIM([PREFIX], [#undef PREFIX])
|
AH_VERBATIM([PREFIX], [#undef PREFIX])
|
||||||
AH_VERBATIM([WEECHAT_LIBDIR], [#undef WEECHAT_LIBDIR])
|
AH_VERBATIM([WEECHAT_LIBDIR], [#undef WEECHAT_LIBDIR])
|
||||||
AH_VERBATIM([WEECHAT_SHAREDIR], [#undef WEECHAT_SHAREDIR])
|
AH_VERBATIM([WEECHAT_SHAREDIR], [#undef WEECHAT_SHAREDIR])
|
||||||
AH_VERBATIM([HAVE_GNUTLS], [#undef HAVE_GNUTLS])
|
AH_VERBATIM([HAVE_GNUTLS], [#undef HAVE_GNUTLS])
|
||||||
AH_VERBATIM([HAVE_FLOCK], [#undef HAVE_FLOCK])
|
AH_VERBATIM([HAVE_FLOCK], [#undef HAVE_FLOCK])
|
||||||
AH_VERBATIM([HAVE_EAT_NEWLINE_GLITCH], [#undef HAVE_EAT_NEWLINE_GLITCH])
|
AH_VERBATIM([HAVE_EAT_NEWLINE_GLITCH], [#undef HAVE_EAT_NEWLINE_GLITCH])
|
||||||
AH_VERBATIM([HAVE_ASPELL_VERSION_STRING], [#undef HAVE_ASPELL_VERSION_STRING])
|
AH_VERBATIM([PLUGIN_ALIAS], [#undef PLUGIN_ALIAS])
|
||||||
AH_VERBATIM([HAVE_ENCHANT_GET_VERSION], [#undef HAVE_ENCHANT_GET_VERSION])
|
AH_VERBATIM([PLUGIN_ASPELL], [#undef PLUGIN_ASPELL])
|
||||||
AH_VERBATIM([HAVE_GUILE_GMP_MEMORY_FUNCTIONS], [#undef HAVE_GUILE_GMP_MEMORY_FUNCTIONS])
|
AH_VERBATIM([PLUGIN_CHARSET], [#undef PLUGIN_CHARSET])
|
||||||
AH_VERBATIM([PLUGIN_ALIAS], [#undef PLUGIN_ALIAS])
|
AH_VERBATIM([PLUGIN_DEMO], [#undef PLUGIN_DEMO])
|
||||||
AH_VERBATIM([PLUGIN_ASPELL], [#undef PLUGIN_ASPELL])
|
AH_VERBATIM([PLUGIN_FIFO], [#undef PLUGIN_FIFO])
|
||||||
AH_VERBATIM([PLUGIN_CHARSET], [#undef PLUGIN_CHARSET])
|
AH_VERBATIM([PLUGIN_IRC], [#undef PLUGIN_IRC])
|
||||||
AH_VERBATIM([PLUGIN_EXEC], [#undef PLUGIN_EXEC])
|
AH_VERBATIM([PLUGIN_LOGGER], [#undef PLUGIN_LOGGER])
|
||||||
AH_VERBATIM([PLUGIN_FIFO], [#undef PLUGIN_FIFO])
|
AH_VERBATIM([PLUGIN_RELAY], [#undef PLUGIN_RELAY])
|
||||||
AH_VERBATIM([PLUGIN_IRC], [#undef PLUGIN_IRC])
|
AH_VERBATIM([PLUGIN_RMODIFIER], [#undef PLUGIN_RMODIFIER])
|
||||||
AH_VERBATIM([PLUGIN_LOGGER], [#undef PLUGIN_LOGGER])
|
AH_VERBATIM([PLUGIN_SCRIPT], [#undef PLUGIN_SCRIPT])
|
||||||
AH_VERBATIM([PLUGIN_RELAY], [#undef PLUGIN_RELAY])
|
AH_VERBATIM([PLUGIN_PERL], [#undef PLUGIN_PERL])
|
||||||
AH_VERBATIM([PLUGIN_SCRIPT], [#undef PLUGIN_SCRIPT])
|
AH_VERBATIM([PLUGIN_PYTHON], [#undef PLUGIN_PYTHON])
|
||||||
AH_VERBATIM([PLUGIN_PERL], [#undef PLUGIN_PERL])
|
AH_VERBATIM([PLUGIN_RUBY], [#undef PLUGIN_RUBY])
|
||||||
AH_VERBATIM([PLUGIN_PYTHON], [#undef PLUGIN_PYTHON])
|
AH_VERBATIM([PLUGIN_LUA], [#undef PLUGIN_LUA])
|
||||||
AH_VERBATIM([PLUGIN_RUBY], [#undef PLUGIN_RUBY])
|
AH_VERBATIM([PLUGIN_TCL], [#undef PLUGIN_TCL])
|
||||||
AH_VERBATIM([PLUGIN_LUA], [#undef PLUGIN_LUA])
|
AH_VERBATIM([PLUGIN_GUILE], [#undef PLUGIN_GUILE])
|
||||||
AH_VERBATIM([PLUGIN_TCL], [#undef PLUGIN_TCL])
|
AH_VERBATIM([PLUGIN_XFER], [#undef PLUGIN_XFER])
|
||||||
AH_VERBATIM([PLUGIN_GUILE], [#undef PLUGIN_GUILE])
|
AH_VERBATIM([DOC], [#undef DOC])
|
||||||
AH_VERBATIM([PLUGIN_JAVASCRIPT], [#undef PLUGIN_JAVASCRIPT])
|
AH_VERBATIM([WEECHAT_HOME], [#define WEECHAT_HOME "~/.weechat"])
|
||||||
AH_VERBATIM([PLUGIN_TRIGGER], [#undef PLUGIN_TRIGGER])
|
|
||||||
AH_VERBATIM([PLUGIN_XFER], [#undef PLUGIN_XFER])
|
|
||||||
AH_VERBATIM([TESTS], [#undef TESTS])
|
|
||||||
AH_VERBATIM([MAN], [#undef MAN])
|
|
||||||
AH_VERBATIM([DOC], [#undef DOC])
|
|
||||||
AH_VERBATIM([WEECHAT_HOME], [#define WEECHAT_HOME "~/.weechat"])
|
|
||||||
AH_VERBATIM([CA_FILE], [#define CA_FILE "/etc/ssl/certs/ca-certificates.crt"])
|
|
||||||
|
|
||||||
# Arguments for ./configure
|
# 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(ncurses, [ --disable-ncurses turn off ncurses interface (default=compiled if found)],enable_ncurses=$enableval,enable_ncurses=yes)
|
||||||
|
AC_ARG_ENABLE(gtk, [ --enable-gtk turn on Gtk interface (default=off)],enable_gtk=$enableval,enable_gtk=no)
|
||||||
AC_ARG_ENABLE(gnutls, [ --disable-gnutls turn off gnutls support (default=compiled if found)],enable_gnutls=$enableval,enable_gnutls=yes)
|
AC_ARG_ENABLE(gnutls, [ --disable-gnutls turn off gnutls support (default=compiled if found)],enable_gnutls=$enableval,enable_gnutls=yes)
|
||||||
AC_ARG_ENABLE(largefile, [ --disable-largefile turn off Large File Support (default=on)],enable_largefile=$enableval,enable_largefile=yes)
|
AC_ARG_ENABLE(largefile, [ --disable-largefile turn off Large File Support (default=on)],enable_largefile=$enableval,enable_largefile=yes)
|
||||||
AC_ARG_ENABLE(alias, [ --disable-alias turn off Alias plugin (default=compiled)],enable_alias=$enableval,enable_alias=yes)
|
AC_ARG_ENABLE(alias, [ --disable-alias turn off Alias plugin (default=compiled)],enable_alias=$enableval,enable_alias=yes)
|
||||||
AC_ARG_ENABLE(aspell, [ --disable-aspell turn off Aspell plugin (default=compiled)],enable_aspell=$enableval,enable_aspell=yes)
|
AC_ARG_ENABLE(aspell, [ --disable-aspell turn off Aspell plugin (default=compiled)],enable_aspell=$enableval,enable_aspell=yes)
|
||||||
AC_ARG_ENABLE(enchant, [ --enable-enchant turn on Enchant lib for Aspell plugin (default=off)],enable_enchant=$enableval,enable_enchant=no)
|
|
||||||
AC_ARG_ENABLE(charset, [ --disable-charset turn off Charset plugin (default=compiled if found)],enable_charset=$enableval,enable_charset=yes)
|
AC_ARG_ENABLE(charset, [ --disable-charset turn off Charset plugin (default=compiled if found)],enable_charset=$enableval,enable_charset=yes)
|
||||||
AC_ARG_ENABLE(exec, [ --disable-exec turn off Exec plugin (default=compiled)],enable_exec=$enableval,enable_exec=yes)
|
AC_ARG_ENABLE(demo, [ --enable-demo turn on Demo plugin (default=off)],enable_demo=$enableval,enable_demo=no)
|
||||||
AC_ARG_ENABLE(fifo, [ --disable-fifo turn off Fifo plugin (default=compiled)],enable_fifo=$enableval,enable_fifo=yes)
|
AC_ARG_ENABLE(fifo, [ --disable-fifo turn off Fifo plugin (default=compiled)],enable_fifo=$enableval,enable_fifo=yes)
|
||||||
AC_ARG_ENABLE(irc, [ --disable-irc turn off IRC plugin (default=compiled)],enable_irc=$enableval,enable_irc=yes)
|
AC_ARG_ENABLE(irc, [ --disable-irc turn off IRC plugin (default=compiled)],enable_irc=$enableval,enable_irc=yes)
|
||||||
AC_ARG_ENABLE(logger, [ --disable-logger turn off Logger plugin (default=compiled)],enable_logger=$enableval,enable_logger=yes)
|
AC_ARG_ENABLE(logger, [ --disable-logger turn off Logger plugin (default=compiled)],enable_logger=$enableval,enable_logger=yes)
|
||||||
AC_ARG_ENABLE(relay, [ --disable-relay turn off Relay plugin (default=compiled)],enable_relay=$enableval,enable_relay=yes)
|
AC_ARG_ENABLE(relay, [ --disable-relay turn off Relay plugin (default=compiled)],enable_relay=$enableval,enable_relay=yes)
|
||||||
|
AC_ARG_ENABLE(rmodifier, [ --disable-rmodifier turn off Rmodifier plugin (default=compiled)],enable_rmodifier=$enableval,enable_rmodifier=yes)
|
||||||
AC_ARG_ENABLE(script, [ --disable-script turn off Script plugin (default=compiled)],enable_script=$enableval,enable_script=yes)
|
AC_ARG_ENABLE(script, [ --disable-script turn off Script plugin (default=compiled)],enable_script=$enableval,enable_script=yes)
|
||||||
AC_ARG_ENABLE(scripts, [ --disable-scripts turn off script plugins (perl, python, ...) (default=compiled if found)],enable_scripts=$enableval,enable_scripts=yes)
|
AC_ARG_ENABLE(scripts, [ --disable-scripts turn off script plugins (perl, python, ...) (default=compiled if found)],enable_scripts=$enableval,enable_scripts=yes)
|
||||||
AC_ARG_ENABLE(perl, [ --disable-perl turn off Perl script plugin (default=compiled if found)],enable_perl=$enableval,enable_perl=yes)
|
AC_ARG_ENABLE(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(python, [ --disable-python turn off Python script plugin (default=compiled if found)],enable_python=$enableval,enable_python=yes)
|
||||||
AC_ARG_ENABLE(python3, [ --enable-python3 use Python 3.x if found (NOT recommended) (default=off)],enable_python3=$enableval,enable_python3=no)
|
|
||||||
AC_ARG_ENABLE(ruby, [ --disable-ruby turn off Ruby script plugin (default=compiled if found)],enable_ruby=$enableval,enable_ruby=yes)
|
AC_ARG_ENABLE(ruby, [ --disable-ruby turn off Ruby script plugin (default=compiled if found)],enable_ruby=$enableval,enable_ruby=yes)
|
||||||
AC_ARG_ENABLE(lua, [ --disable-lua turn off Lua script plugin (default=compiled if found)],enable_lua=$enableval,enable_lua=yes)
|
AC_ARG_ENABLE(lua, [ --disable-lua turn off Lua script plugin (default=compiled if found)],enable_lua=$enableval,enable_lua=yes)
|
||||||
AC_ARG_ENABLE(tcl, [ --disable-tcl turn off Tcl script plugin (default=compiled if found)],enable_tcl=$enableval,enable_tcl=yes)
|
AC_ARG_ENABLE(tcl, [ --disable-tcl turn off Tcl script plugin (default=compiled if found)],enable_tcl=$enableval,enable_tcl=yes)
|
||||||
AC_ARG_ENABLE(guile, [ --disable-guile turn off Guile (scheme) script plugin (default=compiled if found)],enable_guile=$enableval,enable_guile=yes)
|
AC_ARG_ENABLE(guile, [ --disable-guile turn off Guile (scheme) script plugin (default=compiled if found)],enable_guile=$enableval,enable_guile=yes)
|
||||||
AC_ARG_ENABLE(javascript, [ --disable-javascript turn off Javascript script plugin (default=compiled if found)],enable_javascript=$enableval,enable_javascript=yes)
|
|
||||||
AC_ARG_ENABLE(trigger, [ --disable-trigger turn off Trigger plugin (default=compiled)],enable_trigger=$enableval,enable_trigger=yes)
|
|
||||||
AC_ARG_ENABLE(xfer, [ --disable-xfer turn off Xfer (file transfer) plugin (default=compiled if found)],enable_xfer=$enableval,enable_xfer=yes)
|
AC_ARG_ENABLE(xfer, [ --disable-xfer turn off Xfer (file transfer) plugin (default=compiled if found)],enable_xfer=$enableval,enable_xfer=yes)
|
||||||
|
AC_ARG_WITH(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_WITH(tclconfig, [ --with-tclconfig=DIR directory containing tcl configuration (tclConfig.sh)],tclconfig=$withval,tclconfig='')
|
AC_ARG_WITH(tclconfig, [ --with-tclconfig=DIR directory containing tcl configuration (tclConfig.sh)],tclconfig=$withval,tclconfig='')
|
||||||
|
AC_ARG_ENABLE(doc, [ --disable-doc turn off documentation (default=built)],enable_doc=$enableval,enable_doc=yes)
|
||||||
AC_ARG_WITH(debug, [ --with-debug debugging: 0=no debug, 1=debug compilation (default=1)],debug=$withval,debug=1)
|
AC_ARG_WITH(debug, [ --with-debug debugging: 0=no debug, 1=debug compilation (default=1)],debug=$withval,debug=1)
|
||||||
AC_ARG_ENABLE(tests, [ --enable-tests turn on build of tests (default=not built)],enable_tests=$enableval,enable_tests=no)
|
|
||||||
AC_ARG_ENABLE(man, [ --enable-man turn on build of man page (default=not built)],enable_man=$enableval,enable_man=no)
|
|
||||||
AC_ARG_ENABLE(doc, [ --enable-doc turn on build of documentation (default=not built)],enable_doc=$enableval,enable_doc=no)
|
|
||||||
|
|
||||||
AC_ARG_VAR(WEECHAT_HOME, [WeeChat home directory for config, logs, scripts.. (default is "~/.weechat")])
|
AC_ARG_VAR(WEECHAT_HOME, [WeeChat home directory for config, logs, scripts.. (default is "~/.weechat")])
|
||||||
AC_ARG_VAR(CA_FILE, [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".])
|
|
||||||
|
|
||||||
if test "x$WEECHAT_HOME" = "x" ; then
|
if test "x$WEECHAT_HOME" = "x" ; then
|
||||||
WEECHAT_HOME="~/.weechat"
|
WEECHAT_HOME="~/.weechat"
|
||||||
fi
|
fi
|
||||||
AC_DEFINE_UNQUOTED(WEECHAT_HOME, "$WEECHAT_HOME")
|
AC_DEFINE_UNQUOTED(WEECHAT_HOME, "$WEECHAT_HOME")
|
||||||
|
|
||||||
if test "x$CA_FILE" = "x" ; then
|
|
||||||
CA_FILE="/etc/ssl/certs/ca-certificates.crt"
|
|
||||||
fi
|
|
||||||
AC_DEFINE_UNQUOTED(CA_FILE, "$CA_FILE")
|
|
||||||
|
|
||||||
not_asked=""
|
not_asked=""
|
||||||
not_found=""
|
not_found=""
|
||||||
|
|
||||||
# ------------------------------------------------------------------------------
|
|
||||||
# pkg-config
|
|
||||||
# ------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
PKGCONFIG=""
|
|
||||||
AC_CHECK_PROGS(PKGCONFIG, pkg-config)
|
|
||||||
if test "x$PKGCONFIG" = "x"; then
|
|
||||||
AC_MSG_ERROR([
|
|
||||||
*** "pkg-config" couldn't be found on your system.
|
|
||||||
*** Try to install it with your software package manager.])
|
|
||||||
fi
|
|
||||||
|
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
# dynamic loader
|
# dynamic loader
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
@@ -232,6 +206,24 @@ else
|
|||||||
not_asked="$not_asked ncurses"
|
not_asked="$not_asked ncurses"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if test "x$enable_gtk" = "xyes" ; then
|
||||||
|
AM_PATH_GTK_2_0(2.4.0, LIBGTK_FOUND=1, LIBGTK_FOUND=0)
|
||||||
|
if test "$LIBGTK_FOUND" = "0" ; then
|
||||||
|
AC_MSG_WARN([
|
||||||
|
*** Gtk library not found!
|
||||||
|
*** WeeChat will be built without Gtk support.])
|
||||||
|
enable_gtk="no"
|
||||||
|
not_found="$not_found gtk"
|
||||||
|
else
|
||||||
|
GTK_CFLAGS=`pkg-config --cflags gtk+-2.0`
|
||||||
|
GTK_LFLAGS=`pkg-config --libs gtk+-2.0`
|
||||||
|
AC_SUBST(GTK_CFLAGS)
|
||||||
|
AC_SUBST(GTK_LFLAGS)
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
not_asked="$not_asked gtk"
|
||||||
|
fi
|
||||||
|
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
# iconv
|
# iconv
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
@@ -258,7 +250,7 @@ if test "x$ac_found_iconv_header" = "xyes" ; then
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
return 1;
|
return 1;
|
||||||
}],iconv_found="yes", iconv_found="no", iconv_found="assume-yes")
|
}],iconv_found="yes")
|
||||||
if test "x$iconv_found" = "xno" ; then
|
if test "x$iconv_found" = "xno" ; then
|
||||||
AC_MSG_RESULT(no)
|
AC_MSG_RESULT(no)
|
||||||
else
|
else
|
||||||
@@ -284,7 +276,6 @@ if test "x$enable_scripts" = "xno" ; then
|
|||||||
enable_lua="no"
|
enable_lua="no"
|
||||||
enable_tcl="no"
|
enable_tcl="no"
|
||||||
enable_guile="no"
|
enable_guile="no"
|
||||||
enable_javascript="no"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# ---------------------------------- alias -------------------------------------
|
# ---------------------------------- alias -------------------------------------
|
||||||
@@ -302,65 +293,24 @@ fi
|
|||||||
# ---------------------------------- aspell ------------------------------------
|
# ---------------------------------- aspell ------------------------------------
|
||||||
|
|
||||||
if test "x$enable_aspell" = "xyes" ; then
|
if test "x$enable_aspell" = "xyes" ; then
|
||||||
ac_found_enchant_lib="no"
|
ASPELL_CFLAGS=""
|
||||||
if test "x$enable_enchant" = "xyes" ; then
|
ASPELL_LFLAGS=""
|
||||||
PKG_CHECK_MODULES(ENCHANT, [enchant], ac_found_enchant_lib="yes", ac_found_enchant_lib="no")
|
|
||||||
fi
|
|
||||||
if test "x$ac_found_enchant_lib" = "xyes" ; then
|
|
||||||
CFLAGS="$CFLAGS -DUSE_ENCHANT"
|
|
||||||
ASPELL_LIB_USED="enchant"
|
|
||||||
|
|
||||||
# check if function enchant_get_version() exists
|
AC_CHECK_HEADER(aspell.h,ac_found_aspell_header="yes",ac_found_aspell_header="no")
|
||||||
ac_save_CFLAGS="$CFLAGS"
|
AC_CHECK_LIB(aspell,new_aspell_speller,ac_found_aspell_lib="yes",ac_found_aspell_lib="no")
|
||||||
ac_save_LDFLAGS="$LDFLAGS"
|
|
||||||
CFLAGS="$CFLAGS $ENCHANT_CFLAGS"
|
|
||||||
LDFLAGS="$LDFLAGS $ENCHANT_LIBS"
|
|
||||||
AC_CACHE_CHECK([for enchant_get_version() support], ac_cv_have_enchant_get_version, [
|
|
||||||
AC_LINK_IFELSE([AC_LANG_PROGRAM(
|
|
||||||
[[ #include <enchant.h>]],
|
|
||||||
[[ const char *version = enchant_get_version(); ]])],
|
|
||||||
[ ac_have_enchant_get_version="yes" ],
|
|
||||||
[ ac_have_enchant_get_version="no" ])])
|
|
||||||
CFLAGS="$ac_save_CFLAGS"
|
|
||||||
LDFLAGS="$ac_save_LDFLAGS"
|
|
||||||
if test "x$ac_have_enchant_get_version" = "xyes"; then
|
|
||||||
AC_DEFINE(HAVE_ENCHANT_GET_VERSION)
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
ASPELL_CFLAGS=""
|
|
||||||
ASPELL_LFLAGS=""
|
|
||||||
|
|
||||||
AC_CHECK_HEADER(aspell.h,ac_found_aspell_header="yes",ac_found_aspell_header="no")
|
AC_MSG_CHECKING(for aspell headers and librairies)
|
||||||
AC_CHECK_LIB(aspell,new_aspell_speller,ac_found_aspell_lib="yes",ac_found_aspell_lib="no")
|
if test "x$ac_found_aspell_header" = "xno" -o "x$ac_found_aspell_lib" = "xno" ; then
|
||||||
|
AC_MSG_RESULT(no)
|
||||||
AC_MSG_CHECKING(for aspell headers and librairies)
|
AC_MSG_WARN([
|
||||||
if test "x$ac_found_aspell_header" = "xno" -o "x$ac_found_aspell_lib" = "xno" ; then
|
|
||||||
AC_MSG_RESULT(no)
|
|
||||||
AC_MSG_WARN([
|
|
||||||
*** Aspell headers and/or libraries couldn't be found on your system.
|
*** Aspell headers and/or libraries couldn't be found on your system.
|
||||||
*** Try to install them with your software package manager.
|
*** Try to install them with your software package manager.
|
||||||
*** WeeChat will be built without Aspell support.])
|
*** WeeChat will be built without Aspell support.])
|
||||||
enable_aspell="no"
|
enable_aspell="no"
|
||||||
not_found="$not_found aspell"
|
not_found="$not_found aspell"
|
||||||
else
|
else
|
||||||
AC_MSG_RESULT(yes)
|
AC_MSG_RESULT(yes)
|
||||||
ASPELL_LFLAGS="$ASPELL_LFLAGS -laspell"
|
ASPELL_LFLAGS="$ASPELL_LFLAGS -laspell"
|
||||||
ASPELL_LIB_USED="aspell"
|
|
||||||
|
|
||||||
# check if function aspell_version_string() exists
|
|
||||||
ac_save_LDFLAGS="$LDFLAGS"
|
|
||||||
LDFLAGS="$LDFLAGS $ASPELL_LFLAGS"
|
|
||||||
AC_CACHE_CHECK([for aspell_version_string() support], ac_cv_have_aspell_version_string, [
|
|
||||||
AC_LINK_IFELSE([AC_LANG_PROGRAM(
|
|
||||||
[[ #include <aspell.h>]],
|
|
||||||
[[ const char *version = aspell_version_string(); ]])],
|
|
||||||
[ ac_have_aspell_version_string="yes" ],
|
|
||||||
[ ac_have_aspell_version_string="no" ])])
|
|
||||||
LDFLAGS="$ac_save_LDFLAGS"
|
|
||||||
if test "x$ac_have_aspell_version_string" = "xyes"; then
|
|
||||||
AC_DEFINE(HAVE_ASPELL_VERSION_STRING)
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
not_asked="$not_asked aspell"
|
not_asked="$not_asked aspell"
|
||||||
@@ -384,16 +334,16 @@ else
|
|||||||
not_asked="$not_asked charset"
|
not_asked="$not_asked charset"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# ---------------------------------- exec --------------------------------------
|
# ---------------------------------- demo --------------------------------------
|
||||||
|
|
||||||
if test "x$enable_exec" = "xyes" ; then
|
if test "x$enable_demo" = "xyes" ; then
|
||||||
EXEC_CFLAGS=""
|
DEMO_CFLAGS=""
|
||||||
EXEC_LFLAGS=""
|
DEMO_LFLAGS=""
|
||||||
AC_SUBST(EXEC_CFLAGS)
|
AC_SUBST(DEMO_CFLAGS)
|
||||||
AC_SUBST(EXEC_LFLAGS)
|
AC_SUBST(DEMO_LFLAGS)
|
||||||
AC_DEFINE(PLUGIN_EXEC)
|
AC_DEFINE(PLUGIN_DEMO)
|
||||||
else
|
else
|
||||||
not_asked="$not_asked exec"
|
not_asked="$not_asked demo"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# ---------------------------------- fifo --------------------------------------
|
# ---------------------------------- fifo --------------------------------------
|
||||||
@@ -440,6 +390,14 @@ else
|
|||||||
not_asked="$not_asked relay"
|
not_asked="$not_asked relay"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# ------------------------------- rmodifier ------------------------------------
|
||||||
|
|
||||||
|
if test "x$enable_rmodifier" = "xyes" ; then
|
||||||
|
AC_DEFINE(PLUGIN_RMODIFIER)
|
||||||
|
else
|
||||||
|
not_asked="$not_asked rmodifier"
|
||||||
|
fi
|
||||||
|
|
||||||
# --------------------------------- script -------------------------------------
|
# --------------------------------- script -------------------------------------
|
||||||
|
|
||||||
if test "x$enable_script" = "xyes" ; then
|
if test "x$enable_script" = "xyes" ; then
|
||||||
@@ -465,7 +423,7 @@ if test "x$enable_perl" = "xyes" ; then
|
|||||||
PERL_VERSION=`perl -V:version | sed "s/version='\(.*\)';/\1/"`
|
PERL_VERSION=`perl -V:version | sed "s/version='\(.*\)';/\1/"`
|
||||||
AC_MSG_CHECKING(for Perl headers files)
|
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 -e ldopts) 1>/dev/null 2>&1; echo $?; rm -f $PT $PT.out 1>/dev/null 2>&1`
|
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
|
if test "x$PERL_HEADER_TEST" = "x0" ; then
|
||||||
PERL_CFLAGS=`$PERL -MExtUtils::Embed -e ccopts`
|
PERL_CFLAGS=`$PERL -MExtUtils::Embed -e ccopts`
|
||||||
@@ -507,11 +465,7 @@ fi
|
|||||||
PYTHON_VERSION=
|
PYTHON_VERSION=
|
||||||
|
|
||||||
if test "x$enable_python" = "xyes" ; then
|
if test "x$enable_python" = "xyes" ; then
|
||||||
if test "x$enable_python3" = "xyes" ; then
|
AC_PATH_PROGS(PYTHON, python2.7 python2.6 python2.5 python2 python)
|
||||||
AC_PATH_PROGS(PYTHON, python3.4 python3.3 python3.2 python3.1 python3.0 python3 python2.7 python2.6 python2.5 python2 python)
|
|
||||||
else
|
|
||||||
AC_PATH_PROGS(PYTHON, python2.7 python2.6 python2.5 python2 python)
|
|
||||||
fi
|
|
||||||
if test -z $PYTHON ; then
|
if test -z $PYTHON ; then
|
||||||
AC_MSG_WARN([
|
AC_MSG_WARN([
|
||||||
*** Python must be installed on your system but python interpreter couldn't be found in path.
|
*** Python must be installed on your system but python interpreter couldn't be found in path.
|
||||||
@@ -522,7 +476,7 @@ if test "x$enable_python" = "xyes" ; then
|
|||||||
else
|
else
|
||||||
PYTHON_SYSPREFIX=`$PYTHON -c 'import sys; sys.stdout.write("%s" % sys.prefix)'`
|
PYTHON_SYSPREFIX=`$PYTHON -c 'import sys; sys.stdout.write("%s" % sys.prefix)'`
|
||||||
PYTHON_VERSION=`$PYTHON -c 'import sys; sys.stdout.write(sys.version[[:3]])'`
|
PYTHON_VERSION=`$PYTHON -c 'import sys; sys.stdout.write(sys.version[[:3]])'`
|
||||||
PYTHON_INCLUDE=`$PYTHON -c "import sys, distutils.sysconfig, string; sys.stdout.write(distutils.sysconfig.get_config_var('INCLUDEPY'))"`
|
PYTHON_INCLUDE=`$PYTHON -c "import sys, distutils.sysconfig, string; sys.stdout.write(distutils.sysconfig.get_config_var('CONFINCLUDEPY'))"`
|
||||||
PYTHON_OLD_VERSION=`$PYTHON -c "import sys; sys.stdout.write(str(sys.version_info < (2,5)))"`
|
PYTHON_OLD_VERSION=`$PYTHON -c "import sys; sys.stdout.write(str(sys.version_info < (2,5)))"`
|
||||||
if test "x$PYTHON_OLD_VERSION" = "xTrue" ; then
|
if test "x$PYTHON_OLD_VERSION" = "xTrue" ; then
|
||||||
AC_MSG_WARN([
|
AC_MSG_WARN([
|
||||||
@@ -535,8 +489,8 @@ if test "x$enable_python" = "xyes" ; then
|
|||||||
if test -r "$PYTHON_INCLUDE/Python.h"; then
|
if test -r "$PYTHON_INCLUDE/Python.h"; then
|
||||||
PYTHON_CFLAGS="-I$PYTHON_INCLUDE"
|
PYTHON_CFLAGS="-I$PYTHON_INCLUDE"
|
||||||
AC_MSG_RESULT(found)
|
AC_MSG_RESULT(found)
|
||||||
PYTHON_LIB=`$PYTHON -c "import sys, distutils.sysconfig; sys.stdout.write(distutils.sysconfig.get_config_var('LIBPL'))"`
|
PYTHON_LIB=`$PYTHON -c "import distutils.sysconfig; print distutils.sysconfig.get_config_var('LIBPL')"`
|
||||||
PYTHON_LFLAGS="-lpython$PYTHON_VERSION "`$PYTHON -c "import sys, distutils.sysconfig; sys.stdout.write(distutils.sysconfig.get_config_var('LIBS')+' '+distutils.sysconfig.get_config_var('SYSLIBS')+' '+distutils.sysconfig.get_config_var('LINKFORSHARED'))"`
|
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)
|
AC_MSG_CHECKING(for Python library)
|
||||||
if test -r "$PYTHON_LIB/libpython$PYTHON_VERSION.so"; then
|
if test -r "$PYTHON_LIB/libpython$PYTHON_VERSION.so"; then
|
||||||
PYTHON_LFLAGS="-L$PYTHON_LIB $PYTHON_LFLAGS"
|
PYTHON_LFLAGS="-L$PYTHON_LIB $PYTHON_LFLAGS"
|
||||||
@@ -544,9 +498,6 @@ if test "x$enable_python" = "xyes" ; then
|
|||||||
elif test -r "$PYTHON_LIB/libpython$PYTHON_VERSION.a"; then
|
elif test -r "$PYTHON_LIB/libpython$PYTHON_VERSION.a"; then
|
||||||
PYTHON_LFLAGS="-L$PYTHON_LIB $PYTHON_LFLAGS"
|
PYTHON_LFLAGS="-L$PYTHON_LIB $PYTHON_LFLAGS"
|
||||||
AC_MSG_RESULT(found)
|
AC_MSG_RESULT(found)
|
||||||
elif test -r "$PYTHON_LIB/libpython$PYTHON_VERSION.dll.a"; then
|
|
||||||
PYTHON_LFLAGS="-L$PYTHON_LIB $PYTHON_LFLAGS"
|
|
||||||
AC_MSG_RESULT(found)
|
|
||||||
elif test -r "$PYTHON_SYSPREFIX/lib/libpython$PYTHON_VERSION.so"; then
|
elif test -r "$PYTHON_SYSPREFIX/lib/libpython$PYTHON_VERSION.so"; then
|
||||||
PYTHON_LFLAGS="-L$PYTHON_SYSPREFIX/lib/ $PYTHON_LFLAGS"
|
PYTHON_LFLAGS="-L$PYTHON_SYSPREFIX/lib/ $PYTHON_LFLAGS"
|
||||||
AC_MSG_RESULT(found)
|
AC_MSG_RESULT(found)
|
||||||
@@ -583,34 +534,31 @@ fi
|
|||||||
RUBY_VERSION=
|
RUBY_VERSION=
|
||||||
|
|
||||||
if test "x$enable_ruby" = "xyes" ; then
|
if test "x$enable_ruby" = "xyes" ; then
|
||||||
RUBY_CFLAGS=""
|
AC_PATH_PROGS(RUBY, ruby1.9.3 ruby1.9.2 ruby1.9.1 ruby1.9 ruby1.8 ruby)
|
||||||
RUBY_LFLAGS=""
|
if test -z $RUBY ; then
|
||||||
for v in "2.1" "2.0" "1.9" "1.8" ; do
|
AC_MSG_WARN([
|
||||||
pkgconfig_ruby_found=`$PKGCONFIG --exists ruby-$v 2>/dev/null`
|
|
||||||
if test "x$?" = "x0" ; then
|
|
||||||
RUBY_VERSION=`$PKGCONFIG --modversion ruby-$v`
|
|
||||||
RUBY_CFLAGS=`$PKGCONFIG --cflags ruby-$v`
|
|
||||||
RUBY_LFLAGS=`$PKGCONFIG --libs ruby-$v`
|
|
||||||
break
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
if test "x$RUBY_CFLAGS" = "x" -o "x$RUBY_LFLAGS" = "x" ; then
|
|
||||||
AC_PATH_PROGS(RUBY, ruby1.9.3 ruby1.9.2 ruby1.9.1 ruby1.9 ruby1.8 ruby)
|
|
||||||
if test -z $RUBY ; then
|
|
||||||
AC_MSG_WARN([
|
|
||||||
*** Ruby must be installed on your system but ruby interpreter couldn't be found in path.
|
*** 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.
|
*** 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 RbConfig::CONFIG[['ruby_version']]"`
|
||||||
|
if test "$RUBY_VERSION" = "1.9.0"; then
|
||||||
|
AC_MSG_WARN([
|
||||||
|
*** Ruby header files have been found, but they're of the version 1.9.0.
|
||||||
|
*** Ruby 1.9.0 is an unstable release and should not be used in production.
|
||||||
|
*** Please install Ruby 1.8.x (>= 1.8.6) or >= 1.9.1.
|
||||||
*** WeeChat will be built without Ruby support.])
|
*** WeeChat will be built without Ruby support.])
|
||||||
enable_ruby="no"
|
enable_ruby="no"
|
||||||
not_found="$not_found ruby"
|
not_found="$not_found ruby"
|
||||||
else
|
else
|
||||||
RUBY_VERSION=`$RUBY -rrbconfig -e "puts RbConfig::CONFIG[['MAJOR']] + '.' + RbConfig::CONFIG[['MINOR']] + '.' + RbConfig::CONFIG[['TEENY']]"`
|
|
||||||
RUBY_INCLUDE=`$RUBY -rrbconfig -e "puts RbConfig::CONFIG[['rubyhdrdir']] || RbConfig::CONFIG[['archdir']]"`
|
RUBY_INCLUDE=`$RUBY -rrbconfig -e "puts RbConfig::CONFIG[['rubyhdrdir']] || RbConfig::CONFIG[['archdir']]"`
|
||||||
RUBY_ARCH=`$RUBY -rrbconfig -e 'print RbConfig::CONFIG[["arch"]]'`
|
RUBY_ARCH=`$RUBY -rrbconfig -e 'print RbConfig::CONFIG[["arch"]]'`
|
||||||
AC_MSG_CHECKING(for Ruby header files)
|
AC_MSG_CHECKING(for Ruby header files)
|
||||||
if test -d "$RUBY_INCLUDE/"; then
|
if test -d "$RUBY_INCLUDE/"; then
|
||||||
RUBY_CFLAGS="-I$RUBY_INCLUDE/ -I$RUBY_INCLUDE/$RUBY_ARCH"
|
M_RUBY_VERSION=`$RUBY -rrbconfig -e "puts RbConfig::CONFIG[['ruby_version']].gsub(/\./, '')[[0,3]]"`
|
||||||
|
RUBY_CFLAGS="-I$RUBY_INCLUDE/ -I$RUBY_INCLUDE/$RUBY_ARCH -DRUBY_VERSION=$M_RUBY_VERSION"
|
||||||
else
|
else
|
||||||
AC_MSG_WARN([
|
AC_MSG_WARN([
|
||||||
*** Ruby header files couldn't be found on your system.
|
*** Ruby header files couldn't be found on your system.
|
||||||
@@ -654,28 +602,32 @@ if test "x$enable_lua" = "xyes" ; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if test "x$LUA_CFLAGS" = "x" -o "x$LUA_LFLAGS" = "x" ; then
|
if test "x$LUA_CFLAGS" = "x" -o "x$LUA_LFLAGS" = "x" ; then
|
||||||
AC_MSG_CHECKING(for Lua headers and librairies with pkg-config)
|
PKGCONFIG=""
|
||||||
echo
|
AC_CHECK_PROGS(PKGCONFIG, pkg-config)
|
||||||
for l in "$lua_suffix" "" "52" "5.2" "51" "5.1" "50" "5.0" ; do
|
if test "x$PKGCONFIG" != "x"; then
|
||||||
pkgconfig_lua_found=`$PKGCONFIG --exists lua$l 2>/dev/null`
|
AC_MSG_CHECKING(for Lua headers and librairies with pkg-config)
|
||||||
if test "x$?" = "x0" ; then
|
echo
|
||||||
LUA_VERSION=`$PKGCONFIG --modversion lua$l`
|
for l in "$lua_suffix" "" "51" "5.1" "50" "5.0" ; do
|
||||||
LUA_CFLAGS="$LUA_CFLAGS "`$PKGCONFIG --cflags lua$l`
|
pkgconfig_lua_found=`$PKGCONFIG --exists lua$l 2>/dev/null`
|
||||||
LUA_LFLAGS="$LUA_LFLAGS "`$PKGCONFIG --libs lua$l`
|
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`
|
pkgconfig_lualib_found=`$PKGCONFIG --exists lualib$l 2>/dev/null`
|
||||||
if test "x$?" = "x0"; then
|
if test "x$?" = "x0"; then
|
||||||
LUA_CFLAGS="$LUA_CFLAGS "`$PKGCONFIG --cflags lualib$l`
|
LUA_CFLAGS="$LUA_CFLAGS "`$PKGCONFIG --cflags lualib$l`
|
||||||
LUA_LFLAGS="$LUA_LFLAGS "`$PKGCONFIG --libs lualib$l`
|
LUA_LFLAGS="$LUA_LFLAGS "`$PKGCONFIG --libs lualib$l`
|
||||||
|
fi
|
||||||
|
break
|
||||||
fi
|
fi
|
||||||
break
|
done
|
||||||
fi
|
fi
|
||||||
done
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test "x$LUA_CFLAGS" = "x" -o "x$LUA_LFLAGS" = "x" ; then
|
if test "x$LUA_CFLAGS" = "x" -o "x$LUA_LFLAGS" = "x" ; then
|
||||||
LUACONFIG=""
|
LUACONFIG=""
|
||||||
AC_CHECK_PROGS(LUACONFIG, lua-config lua-config52 lua-config5.2 lua-config51 lua-config5.1 lua-config50 lua-config5.0)
|
AC_CHECK_PROGS(LUACONFIG, lua-config lua-config51 lua-config5.1 lua-config50 lua-config5.0)
|
||||||
if test "x$LUACONFIG" != "x" ; then
|
if test "x$LUACONFIG" != "x" ; then
|
||||||
AC_MSG_CHECKING(for Lua headers and librairies with lua-config)
|
AC_MSG_CHECKING(for Lua headers and librairies with lua-config)
|
||||||
echo
|
echo
|
||||||
@@ -693,7 +645,7 @@ if test "x$enable_lua" = "xyes" ; then
|
|||||||
if test "x$ac_found_lua_header" = "xyes" -a "x$ac_found_liblua_header" = "xyes"; then
|
if test "x$ac_found_lua_header" = "xyes" -a "x$ac_found_liblua_header" = "xyes"; then
|
||||||
LUA_CFLAGS="$CFLAGS"
|
LUA_CFLAGS="$CFLAGS"
|
||||||
fi
|
fi
|
||||||
for l in "$lua_suffix" "" "52" "5.2" "51" "5.1" "50" "5.0" ; do
|
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")
|
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
|
if test "x$ac_found_lua_lib" = "xyes" ; then
|
||||||
LUA_VERSION=">=5.1.0"
|
LUA_VERSION=">=5.1.0"
|
||||||
@@ -727,18 +679,13 @@ if test "x$enable_lua" = "xyes" ; then
|
|||||||
AC_MSG_CHECKING(for Lua compiling and linking)
|
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`
|
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
|
if test "x$LUA_TEST" != "x0" ; then
|
||||||
LUA52_TEST=`LT=luatest.c ; echo "#include <lua.h>" > $LT; echo "#include <lualib.h>" >> $LT; echo "int main() { luaopen_base((lua_State *)luaL_newstate()); 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`
|
AC_MSG_RESULT(no)
|
||||||
if test "x$LUA52_TEST" != "x0" ; then
|
AC_MSG_WARN([
|
||||||
AC_MSG_RESULT(no)
|
|
||||||
AC_MSG_WARN([
|
|
||||||
*** Lua (>=5.0) headers and/or librairies couldn't be found on your system.
|
*** Lua (>=5.0) headers and/or librairies couldn't be found on your system.
|
||||||
*** Try to install liblua, liblualib and liblua-dev with your software package manager.
|
*** Try to install liblua, liblualib and liblua-dev with your software package manager.
|
||||||
*** WeeChat will be built without Lua support.])
|
*** WeeChat will be built without Lua support.])
|
||||||
enable_lua="no"
|
enable_lua="no"
|
||||||
not_found="$not_found lua"
|
not_found="$not_found lua"
|
||||||
else
|
|
||||||
AC_MSG_RESULT(yes)
|
|
||||||
fi
|
|
||||||
else
|
else
|
||||||
AC_MSG_RESULT(yes)
|
AC_MSG_RESULT(yes)
|
||||||
fi
|
fi
|
||||||
@@ -786,8 +733,6 @@ if test "x$enable_tcl" = "xyes" ; then
|
|||||||
enable_tcl="no"
|
enable_tcl="no"
|
||||||
not_found="$not_found tcl"
|
not_found="$not_found tcl"
|
||||||
fi
|
fi
|
||||||
else
|
|
||||||
not_asked="$not_asked tcl"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test "x$enable_tcl" = "xyes" ; then
|
if test "x$enable_tcl" = "xyes" ; then
|
||||||
@@ -804,45 +749,24 @@ if test "x$enable_guile" = "xyes" ; then
|
|||||||
enable_plugins="yes"
|
enable_plugins="yes"
|
||||||
|
|
||||||
guile_found="no"
|
guile_found="no"
|
||||||
AC_MSG_CHECKING(for Guile headers and librairies)
|
GUILECONFIG=""
|
||||||
echo
|
AC_CHECK_PROGS(GUILECONFIG, guile-config)
|
||||||
for v in "2.0" ; do
|
if test "x$GUILECONFIG" != "x" ; then
|
||||||
pkgconfig_guile_found=`$PKGCONFIG --exists guile-$v 2>/dev/null`
|
AC_MSG_CHECKING(for Guile headers and librairies with guile-config)
|
||||||
if test "x$?" = "x0" ; then
|
echo
|
||||||
GUILE_VERSION=`$PKGCONFIG --modversion guile-$v`
|
GUILE_CFLAGS=`$GUILECONFIG compile`
|
||||||
GUILE_CFLAGS=`$PKGCONFIG --cflags guile-$v`
|
GUILE_LFLAGS=`$GUILECONFIG link`
|
||||||
GUILE_LFLAGS=`$PKGCONFIG --libs guile-$v`
|
GUILE_VERSION=`$GUILECONFIG info guileversion`
|
||||||
guile_found="yes"
|
tcl_found="yes"
|
||||||
break
|
fi
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
if test "x$guile_found" = "xyes" ; then
|
if test "x$tcl_found" = "xno" ; then
|
||||||
# check if variable "scm_install_gmp_memory_functions" exists
|
|
||||||
ac_save_CFLAGS="$CFLAGS"
|
|
||||||
ac_save_LDFLAGS="$LDFLAGS"
|
|
||||||
CFLAGS="$CFLAGS $GUILE_CFLAGS"
|
|
||||||
LDFLAGS="$LDFLAGS $GUILE_LFLAGS"
|
|
||||||
AC_CACHE_CHECK([for variable scm_install_gmp_memory_functions], ac_cv_have_guile_gmp_memory_functions, [
|
|
||||||
AC_LINK_IFELSE([AC_LANG_PROGRAM(
|
|
||||||
[[ #include <libguile.h>]],
|
|
||||||
[[ scm_install_gmp_memory_functions = 0; ]])],
|
|
||||||
[ ac_have_guile_gmp_memory_functions="yes" ],
|
|
||||||
[ ac_have_guile_gmp_memory_functions="no" ])])
|
|
||||||
CFLAGS="$ac_save_CFLAGS"
|
|
||||||
LDFLAGS="$ac_save_LDFLAGS"
|
|
||||||
if test "x$ac_have_guile_gmp_memory_functions" = "xyes"; then
|
|
||||||
AC_DEFINE(HAVE_GUILE_GMP_MEMORY_FUNCTIONS)
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
AC_MSG_WARN([
|
AC_MSG_WARN([
|
||||||
*** Guile >= 2.0 couldn't be found on your system.
|
*** Script guile-config couldn't be found on your system.
|
||||||
*** WeeChat will be built without Guile (scheme) support.])
|
*** WeeChat will be built without Guile (scheme) support.])
|
||||||
enable_guile="no"
|
enable_guile="no"
|
||||||
not_found="$not_found guile"
|
not_found="$not_found guile"
|
||||||
fi
|
fi
|
||||||
else
|
|
||||||
not_asked="$not_asked guile"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test "x$enable_guile" = "xyes" ; then
|
if test "x$enable_guile" = "xyes" ; then
|
||||||
@@ -851,72 +775,6 @@ if test "x$enable_guile" = "xyes" ; then
|
|||||||
AC_DEFINE(PLUGIN_GUILE)
|
AC_DEFINE(PLUGIN_GUILE)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# ------------------------------ javascript -----------------------------------
|
|
||||||
|
|
||||||
AC_LANG_PUSH([C++])
|
|
||||||
|
|
||||||
if test "x$enable_javascript" = "xyes" ; then
|
|
||||||
enable_plugins="yes"
|
|
||||||
|
|
||||||
v8_found="no"
|
|
||||||
AC_CHECK_HEADER(v8.h,ac_found_v8_header="yes",ac_found_v8_header="no")
|
|
||||||
if test "x$ac_found_v8_header" = "xyes" ; then
|
|
||||||
#AC_CHECK_LIB(v8,v8,ac_found_v8_lib="yes",ac_found_v8_lib="no")
|
|
||||||
ac_save_LDFLAGS="$LDFLAGS"
|
|
||||||
LDFLAGS="$LDFLAGS -lv8"
|
|
||||||
AC_MSG_CHECKING(for v8 usability in programs)
|
|
||||||
AC_TRY_RUN([
|
|
||||||
#include <v8.h>
|
|
||||||
using namespace v8;
|
|
||||||
int main(int argc, char **argv) {
|
|
||||||
const char *version = V8::GetVersion();
|
|
||||||
return 0;
|
|
||||||
}],ac_found_v8_lib="yes", ac_found_v8_lib="no", ac_found_v8_lib="assume-yes")
|
|
||||||
LDFLAGS="$ac_save_LDFLAGS"
|
|
||||||
if test "x$ac_found_v8_lib" = "xyes" ; then
|
|
||||||
AC_MSG_RESULT(yes)
|
|
||||||
v8_found="yes"
|
|
||||||
V8_CFLAGS=""
|
|
||||||
V8_LFLAGS="-lv8"
|
|
||||||
else
|
|
||||||
AC_MSG_RESULT(no)
|
|
||||||
AC_MSG_WARN([
|
|
||||||
*** V8 library couldn't be found on your system.
|
|
||||||
*** WeeChat will be built without Javascript support.])
|
|
||||||
enable_javascript="no"
|
|
||||||
not_found="$not_found javascript/v8"
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
AC_MSG_WARN([
|
|
||||||
*** V8 header files couldn't be found on your system.
|
|
||||||
*** WeeChat will be built without Javascript support.])
|
|
||||||
enable_javascript="no"
|
|
||||||
not_found="$not_found javascript/v8"
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
not_asked="$not_asked javascript"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test "x$enable_javascript" = "xyes" ; then
|
|
||||||
AC_SUBST(V8_CFLAGS)
|
|
||||||
AC_SUBST(V8_LFLAGS)
|
|
||||||
AC_DEFINE(PLUGIN_JAVASCRIPT)
|
|
||||||
fi
|
|
||||||
|
|
||||||
AC_LANG_POP
|
|
||||||
|
|
||||||
# --------------------------------- trigger ------------------------------------
|
|
||||||
|
|
||||||
if test "x$enable_trigger" = "xyes" ; then
|
|
||||||
TRIGGER_CFLAGS=""
|
|
||||||
TRIGGER_LFLAGS=""
|
|
||||||
AC_SUBST(TRIGGER_CFLAGS)
|
|
||||||
AC_SUBST(TRIGGER_LFLAGS)
|
|
||||||
AC_DEFINE(PLUGIN_TRIGGER)
|
|
||||||
else
|
|
||||||
not_asked="$not_asked trigger"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# ---------------------------------- xfer --------------------------------------
|
# ---------------------------------- xfer --------------------------------------
|
||||||
|
|
||||||
if test "x$enable_xfer" = "xyes" ; then
|
if test "x$enable_xfer" = "xyes" ; then
|
||||||
@@ -1001,7 +859,6 @@ fi
|
|||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
# large file support
|
# large file support
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
if test "x$enable_largefile" = "xyes" ; then
|
if test "x$enable_largefile" = "xyes" ; then
|
||||||
CFLAGS="$CFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_LARGE_FILES"
|
CFLAGS="$CFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_LARGE_FILES"
|
||||||
else
|
else
|
||||||
@@ -1084,98 +941,44 @@ AC_SUBST(CURL_CFLAGS)
|
|||||||
AC_SUBST(CURL_LFLAGS)
|
AC_SUBST(CURL_LFLAGS)
|
||||||
|
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
# tests
|
# documentation
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
if test "x$enable_tests" = "xyes" ; then
|
|
||||||
cpputest_found="no"
|
|
||||||
AC_MSG_CHECKING(for CppUTest headers and librairies)
|
|
||||||
echo
|
|
||||||
pkgconfig_cpputest_found=`$PKGCONFIG --exists cpputest 2>/dev/null`
|
|
||||||
if test "x$?" = "x0" ; then
|
|
||||||
CPPUTEST_VERSION=`$PKGCONFIG --modversion cpputest`
|
|
||||||
CPPUTEST_CFLAGS=`$PKGCONFIG --cflags cpputest`
|
|
||||||
CPPUTEST_LFLAGS=`$PKGCONFIG --libs cpputest`
|
|
||||||
else
|
|
||||||
AC_MSG_WARN([
|
|
||||||
*** CppUTest couldn't be found on your system.
|
|
||||||
*** WeeChat will be built without tests.])
|
|
||||||
enable_tests="no"
|
|
||||||
not_found="$not_found tests"
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
not_asked="$not_asked tests"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test "x$enable_tests" = "xyes" ; then
|
|
||||||
AC_SUBST(CPPUTEST_CFLAGS)
|
|
||||||
AC_SUBST(CPPUTEST_LFLAGS)
|
|
||||||
AC_DEFINE(TESTS)
|
|
||||||
fi
|
|
||||||
|
|
||||||
# ------------------------------------------------------------------------------
|
|
||||||
# man page / documentation
|
|
||||||
# ------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
msg_man=""
|
|
||||||
msg_doc=""
|
msg_doc=""
|
||||||
|
|
||||||
if test "x$enable_man" = "xno"; then
|
if test "x$enable_doc" = "xyes" ; then
|
||||||
not_asked="$not_asked man"
|
|
||||||
fi
|
|
||||||
if test "x$enable_doc" = "xno"; then
|
|
||||||
not_asked="$not_asked doc"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test "x$enable_man" = "xyes" -o "x$enable_doc" = "xyes"; then
|
|
||||||
DOC_ASCIIDOC8=""
|
DOC_ASCIIDOC8=""
|
||||||
AC_CHECK_PROGS(ASCIIDOC, [asciidoc])
|
AC_CHECK_PROGS(ASCIIDOC, [asciidoc])
|
||||||
AC_CHECK_PROGS(A2X, [a2x])
|
|
||||||
AC_CHECK_PROGS(SOURCEHIGHLIGHT, [source-highlight])
|
AC_CHECK_PROGS(SOURCEHIGHLIGHT, [source-highlight])
|
||||||
if test -z "$A2X"; then
|
if test -n "$SOURCEHIGHLIGHT" -a -n "$ASCIIDOC"; then
|
||||||
not_found="$not_found a2x(from asciidoc)"
|
|
||||||
fi
|
|
||||||
if test -z "$SOURCEHIGHLIGHT"; then
|
|
||||||
not_found="$not_found source-highlight(needed by asciidoc)"
|
|
||||||
fi
|
|
||||||
if test -n "$ASCIIDOC"; then
|
|
||||||
AC_MSG_CHECKING([for asciidoc version])
|
AC_MSG_CHECKING([for asciidoc version])
|
||||||
asciidoc_version=`$ASCIIDOC --version 2>/dev/null`
|
asciidoc_version=`$ASCIIDOC --version 2>/dev/null`
|
||||||
case "${asciidoc_version}" in
|
case "${asciidoc_version}" in
|
||||||
asciidoc' '8*)
|
asciidoc' '8*)
|
||||||
DOC_ASCIIDOC8="yes"
|
DOC_ASCIIDOC8="yes"
|
||||||
AC_MSG_RESULT([${asciidoc_version}])
|
AC_MSG_RESULT([${asciidoc_version}])
|
||||||
if test "x$enable_man" = "xyes"; then
|
msg_doc="asciidoc(with source-highlight) $msg_doc"
|
||||||
if test -n "$A2X"; then
|
AC_DEFINE(DOC)
|
||||||
msg_man="asciidoc(with a2x) $msg_man"
|
|
||||||
AC_DEFINE(MAN)
|
|
||||||
else
|
|
||||||
enable_man="no"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
if test "x$enable_doc" = "xyes"; then
|
|
||||||
if test -n "$SOURCEHIGHLIGHT"; then
|
|
||||||
msg_doc="asciidoc(with source-highlight) $msg_doc"
|
|
||||||
AC_DEFINE(DOC)
|
|
||||||
else
|
|
||||||
enable_doc="no"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
AC_MSG_RESULT([${asciidoc_version} (too old)])
|
AC_MSG_RESULT([${asciidoc_version} (too old)])
|
||||||
not_found="$not_found asciidoc"
|
not_found="$not_found asciidoc"
|
||||||
enable_man="no"
|
|
||||||
enable_doc="no"
|
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
else
|
else
|
||||||
not_found="$not_found asciidoc"
|
|
||||||
enable_man="no"
|
|
||||||
enable_doc="no"
|
enable_doc="no"
|
||||||
fi
|
fi
|
||||||
|
if test -z "$ASCIIDOC"; then
|
||||||
|
not_found="$not_found asciidoc"
|
||||||
|
fi
|
||||||
|
if test -z "$SOURCEHIGHLIGHT"; then
|
||||||
|
not_found="$not_found source-highlight(needed by asciidoc)"
|
||||||
|
fi
|
||||||
|
AC_SUBST(DOC_ASCIIDOC8)
|
||||||
AC_SUBST(ASCIIDOC)
|
AC_SUBST(ASCIIDOC)
|
||||||
AC_SUBST(A2X)
|
else
|
||||||
|
not_asked="$not_asked doc"
|
||||||
|
msg_doc=""
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
@@ -1201,7 +1004,7 @@ AC_DEFINE_UNQUOTED(WEECHAT_SHAREDIR, "$WEECHAT_SHAREDIR")
|
|||||||
weechat_libdir=${libdir}/weechat
|
weechat_libdir=${libdir}/weechat
|
||||||
AC_SUBST(weechat_libdir)
|
AC_SUBST(weechat_libdir)
|
||||||
|
|
||||||
COMMON_CFLAGS="-Wall -Wextra -Werror-implicit-function-declaration"
|
COMMON_CFLAGS="-Wall -W -Werror-implicit-function-declaration"
|
||||||
AC_MSG_CHECKING([whether we have GNU assembler])
|
AC_MSG_CHECKING([whether we have GNU assembler])
|
||||||
GAS=`as --version < /dev/null 2>/dev/null | grep GNU`
|
GAS=`as --version < /dev/null 2>/dev/null | grep GNU`
|
||||||
if test "$GAS"; then
|
if test "$GAS"; then
|
||||||
@@ -1249,7 +1052,6 @@ gnu*)
|
|||||||
esac
|
esac
|
||||||
|
|
||||||
CFLAGS="$CFLAGS -DWEECHAT_VERSION=\\\"$VERSION\\\" -DWEECHAT_LICENSE=\\\"$LICENSE\\\""
|
CFLAGS="$CFLAGS -DWEECHAT_VERSION=\\\"$VERSION\\\" -DWEECHAT_LICENSE=\\\"$LICENSE\\\""
|
||||||
CPPFLAGS="$CPPFLAGS -DWEECHAT_VERSION=\\\"$VERSION\\\" -DWEECHAT_LICENSE=\\\"$LICENSE\\\""
|
|
||||||
|
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
# output Makefiles
|
# output Makefiles
|
||||||
@@ -1259,14 +1061,16 @@ AM_CONDITIONAL(HAVE_GNUTLS, test "$enable_gnutls" = "yes")
|
|||||||
AM_CONDITIONAL(HAVE_FLOCK, test "$enable_flock" = "yes")
|
AM_CONDITIONAL(HAVE_FLOCK, test "$enable_flock" = "yes")
|
||||||
AM_CONDITIONAL(HAVE_EAT_NEWLINE_GLITCH, test "$enable_eatnewlineglitch" = "yes")
|
AM_CONDITIONAL(HAVE_EAT_NEWLINE_GLITCH, test "$enable_eatnewlineglitch" = "yes")
|
||||||
AM_CONDITIONAL(GUI_NCURSES, test "$enable_ncurses" = "yes")
|
AM_CONDITIONAL(GUI_NCURSES, test "$enable_ncurses" = "yes")
|
||||||
|
AM_CONDITIONAL(GUI_GTK, test "$enable_gtk" = "yes")
|
||||||
AM_CONDITIONAL(PLUGIN_ALIAS, test "$enable_alias" = "yes")
|
AM_CONDITIONAL(PLUGIN_ALIAS, test "$enable_alias" = "yes")
|
||||||
AM_CONDITIONAL(PLUGIN_ASPELL, test "$enable_aspell" = "yes")
|
AM_CONDITIONAL(PLUGIN_ASPELL, test "$enable_aspell" = "yes")
|
||||||
AM_CONDITIONAL(PLUGIN_CHARSET, test "$enable_charset" = "yes")
|
AM_CONDITIONAL(PLUGIN_CHARSET, test "$enable_charset" = "yes")
|
||||||
AM_CONDITIONAL(PLUGIN_EXEC, test "$enable_exec" = "yes")
|
AM_CONDITIONAL(PLUGIN_DEMO, test "$enable_demo" = "yes")
|
||||||
AM_CONDITIONAL(PLUGIN_FIFO, test "$enable_fifo" = "yes")
|
AM_CONDITIONAL(PLUGIN_FIFO, test "$enable_fifo" = "yes")
|
||||||
AM_CONDITIONAL(PLUGIN_IRC, test "$enable_irc" = "yes")
|
AM_CONDITIONAL(PLUGIN_IRC, test "$enable_irc" = "yes")
|
||||||
AM_CONDITIONAL(PLUGIN_LOGGER, test "$enable_logger" = "yes")
|
AM_CONDITIONAL(PLUGIN_LOGGER, test "$enable_logger" = "yes")
|
||||||
AM_CONDITIONAL(PLUGIN_RELAY, test "$enable_relay" = "yes")
|
AM_CONDITIONAL(PLUGIN_RELAY, test "$enable_relay" = "yes")
|
||||||
|
AM_CONDITIONAL(PLUGIN_RMODIFIER, test "$enable_rmodifier" = "yes")
|
||||||
AM_CONDITIONAL(PLUGIN_SCRIPT, test "$enable_script" = "yes")
|
AM_CONDITIONAL(PLUGIN_SCRIPT, test "$enable_script" = "yes")
|
||||||
AM_CONDITIONAL(PLUGIN_PERL, test "$enable_perl" = "yes")
|
AM_CONDITIONAL(PLUGIN_PERL, test "$enable_perl" = "yes")
|
||||||
AM_CONDITIONAL(PLUGIN_PYTHON, test "$enable_python" = "yes")
|
AM_CONDITIONAL(PLUGIN_PYTHON, test "$enable_python" = "yes")
|
||||||
@@ -1274,11 +1078,7 @@ AM_CONDITIONAL(PLUGIN_RUBY, test "$enable_ruby" = "yes")
|
|||||||
AM_CONDITIONAL(PLUGIN_LUA, test "$enable_lua" = "yes")
|
AM_CONDITIONAL(PLUGIN_LUA, test "$enable_lua" = "yes")
|
||||||
AM_CONDITIONAL(PLUGIN_TCL, test "$enable_tcl" = "yes")
|
AM_CONDITIONAL(PLUGIN_TCL, test "$enable_tcl" = "yes")
|
||||||
AM_CONDITIONAL(PLUGIN_GUILE, test "$enable_guile" = "yes")
|
AM_CONDITIONAL(PLUGIN_GUILE, test "$enable_guile" = "yes")
|
||||||
AM_CONDITIONAL(PLUGIN_JAVASCRIPT, test "$enable_javascript" = "yes")
|
|
||||||
AM_CONDITIONAL(PLUGIN_TRIGGER, test "$enable_trigger" = "yes")
|
|
||||||
AM_CONDITIONAL(PLUGIN_XFER, test "$enable_xfer" = "yes")
|
AM_CONDITIONAL(PLUGIN_XFER, test "$enable_xfer" = "yes")
|
||||||
AM_CONDITIONAL(TESTS, test "$enable_tests" = "yes")
|
|
||||||
AM_CONDITIONAL(MAN, test "$enable_man" = "yes")
|
|
||||||
AM_CONDITIONAL(DOC, test "$enable_doc" = "yes")
|
AM_CONDITIONAL(DOC, test "$enable_doc" = "yes")
|
||||||
|
|
||||||
AC_OUTPUT([Makefile
|
AC_OUTPUT([Makefile
|
||||||
@@ -1297,11 +1097,12 @@ AC_OUTPUT([Makefile
|
|||||||
src/plugins/alias/Makefile
|
src/plugins/alias/Makefile
|
||||||
src/plugins/aspell/Makefile
|
src/plugins/aspell/Makefile
|
||||||
src/plugins/charset/Makefile
|
src/plugins/charset/Makefile
|
||||||
src/plugins/exec/Makefile
|
src/plugins/demo/Makefile
|
||||||
src/plugins/fifo/Makefile
|
src/plugins/fifo/Makefile
|
||||||
src/plugins/irc/Makefile
|
src/plugins/irc/Makefile
|
||||||
src/plugins/logger/Makefile
|
src/plugins/logger/Makefile
|
||||||
src/plugins/relay/Makefile
|
src/plugins/relay/Makefile
|
||||||
|
src/plugins/rmodifier/Makefile
|
||||||
src/plugins/script/Makefile
|
src/plugins/script/Makefile
|
||||||
src/plugins/perl/Makefile
|
src/plugins/perl/Makefile
|
||||||
src/plugins/python/Makefile
|
src/plugins/python/Makefile
|
||||||
@@ -1309,12 +1110,10 @@ AC_OUTPUT([Makefile
|
|||||||
src/plugins/lua/Makefile
|
src/plugins/lua/Makefile
|
||||||
src/plugins/tcl/Makefile
|
src/plugins/tcl/Makefile
|
||||||
src/plugins/guile/Makefile
|
src/plugins/guile/Makefile
|
||||||
src/plugins/javascript/Makefile
|
|
||||||
src/plugins/trigger/Makefile
|
|
||||||
src/plugins/xfer/Makefile
|
src/plugins/xfer/Makefile
|
||||||
src/gui/Makefile
|
src/gui/Makefile
|
||||||
src/gui/curses/Makefile
|
src/gui/curses/Makefile
|
||||||
tests/Makefile
|
src/gui/gtk/Makefile
|
||||||
intl/Makefile
|
intl/Makefile
|
||||||
po/Makefile.in])
|
po/Makefile.in])
|
||||||
|
|
||||||
@@ -1326,11 +1125,14 @@ listgui=""
|
|||||||
if test "x$enable_ncurses" = "xyes" ; then
|
if test "x$enable_ncurses" = "xyes" ; then
|
||||||
listgui="$listgui ncurses"
|
listgui="$listgui ncurses"
|
||||||
fi
|
fi
|
||||||
|
if test "x$enable_gtk" = "xyes" ; then
|
||||||
|
listgui="$listgui gtk"
|
||||||
|
fi
|
||||||
|
|
||||||
if test "x$listgui" = "x" ; then
|
if test "x$listgui" = "x" ; then
|
||||||
AC_MSG_ERROR([
|
AC_MSG_ERROR([
|
||||||
*** No interface specified...
|
*** No interface specified...
|
||||||
*** Please enable at least ncurses.])
|
*** Please enable at least ncurses or gtk.])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
listplugins=""
|
listplugins=""
|
||||||
@@ -1338,13 +1140,13 @@ if test "x$enable_alias" = "xyes"; then
|
|||||||
listplugins="$listplugins alias"
|
listplugins="$listplugins alias"
|
||||||
fi
|
fi
|
||||||
if test "x$enable_aspell" = "xyes"; then
|
if test "x$enable_aspell" = "xyes"; then
|
||||||
listplugins="$listplugins aspell($ASPELL_LIB_USED)"
|
listplugins="$listplugins aspell"
|
||||||
fi
|
fi
|
||||||
if test "x$enable_charset" = "xyes"; then
|
if test "x$enable_charset" = "xyes"; then
|
||||||
listplugins="$listplugins charset"
|
listplugins="$listplugins charset"
|
||||||
fi
|
fi
|
||||||
if test "x$enable_exec" = "xyes"; then
|
if test "x$enable_demo" = "xyes"; then
|
||||||
listplugins="$listplugins exec"
|
listplugins="$listplugins demo"
|
||||||
fi
|
fi
|
||||||
if test "x$enable_fifo" = "xyes"; then
|
if test "x$enable_fifo" = "xyes"; then
|
||||||
listplugins="$listplugins fifo"
|
listplugins="$listplugins fifo"
|
||||||
@@ -1358,6 +1160,9 @@ fi
|
|||||||
if test "x$enable_relay" = "xyes"; then
|
if test "x$enable_relay" = "xyes"; then
|
||||||
listplugins="$listplugins relay"
|
listplugins="$listplugins relay"
|
||||||
fi
|
fi
|
||||||
|
if test "x$enable_rmodifier" = "xyes"; then
|
||||||
|
listplugins="$listplugins rmodifier"
|
||||||
|
fi
|
||||||
if test "x$enable_script" = "xyes"; then
|
if test "x$enable_script" = "xyes"; then
|
||||||
listplugins="$listplugins script"
|
listplugins="$listplugins script"
|
||||||
fi
|
fi
|
||||||
@@ -1379,12 +1184,6 @@ fi
|
|||||||
if test "x$enable_guile" = "xyes"; then
|
if test "x$enable_guile" = "xyes"; then
|
||||||
listplugins="$listplugins guile($GUILE_VERSION)"
|
listplugins="$listplugins guile($GUILE_VERSION)"
|
||||||
fi
|
fi
|
||||||
if test "x$enable_javascript" = "xyes"; then
|
|
||||||
listplugins="$listplugins javascript/v8"
|
|
||||||
fi
|
|
||||||
if test "x$enable_trigger" = "xyes"; then
|
|
||||||
listplugins="$listplugins trigger"
|
|
||||||
fi
|
|
||||||
if test "x$enable_xfer" = "xyes"; then
|
if test "x$enable_xfer" = "xyes"; then
|
||||||
listplugins="$listplugins xfer"
|
listplugins="$listplugins xfer"
|
||||||
fi
|
fi
|
||||||
@@ -1408,16 +1207,6 @@ if test "x$debug" != "x0"; then
|
|||||||
msg_debug="yes"
|
msg_debug="yes"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
msg_tests="no"
|
|
||||||
if test "x$enable_tests" = "xyes"; then
|
|
||||||
msg_tests="yes"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test "x$msg_man" = "x"; then
|
|
||||||
msg_man="no"
|
|
||||||
else
|
|
||||||
msg_man="yes: $msg_man"
|
|
||||||
fi
|
|
||||||
if test "x$msg_doc" = "x"; then
|
if test "x$msg_doc" = "x"; then
|
||||||
msg_doc="no"
|
msg_doc="no"
|
||||||
else
|
else
|
||||||
@@ -1426,14 +1215,11 @@ fi
|
|||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
echo "Enabled features:"
|
echo "Enabled features:"
|
||||||
echo " Interfaces............. :$listgui"
|
echo " Interfaces........... :$listgui"
|
||||||
echo " Plugins................ :$listplugins"
|
echo " Plugins.............. :$listplugins"
|
||||||
echo " Optional features...... :$listoptional"
|
echo " Optional features.... :$listoptional"
|
||||||
echo " Compile with debug..... : $msg_debug"
|
echo " Compile with debug... : $msg_debug"
|
||||||
echo " Compile tests.......... : $msg_tests"
|
echo " Documentation........ : $msg_doc"
|
||||||
echo " Man page............... : $msg_man"
|
|
||||||
echo " Documentation.......... : $msg_doc"
|
|
||||||
echo " Certificate authorities : ${CA_FILE}"
|
|
||||||
|
|
||||||
if test "x$not_asked" != "x" || test "x$not_found" != "x"; then
|
if test "x$not_asked" != "x" || test "x$not_found" != "x"; then
|
||||||
echo ""
|
echo ""
|
||||||
Vendored
+3
-142
@@ -1,142 +1,3 @@
|
|||||||
weechat (1.0.1-1) unstable; urgency=medium
|
|
||||||
|
|
||||||
* New upstream release
|
|
||||||
|
|
||||||
-- Emmanuel Bouthenot <kolter@debian.org> Sun, 28 Sep 2014 17:41:10 +0200
|
|
||||||
|
|
||||||
weechat (1.0-1) unstable; urgency=medium
|
|
||||||
|
|
||||||
* New upstream release (Closes: #758230, #751108)
|
|
||||||
- Remove the patch to fix FTBFS while building against ruby 2.1
|
|
||||||
- Fix the way to install upstream changelog
|
|
||||||
- Add new plugins (exec, trigger)
|
|
||||||
- Fix the way to install docs (upstream changes to asciidoc)
|
|
||||||
* Re-enable the build of guile plugin
|
|
||||||
* Fix various typos in packaging
|
|
||||||
* Update copyright years in debian/copyright
|
|
||||||
* Add new doc-base files (Relay Protocol in Japanese)
|
|
||||||
* Add git-buildpackage configuration
|
|
||||||
|
|
||||||
-- Emmanuel Bouthenot <kolter@debian.org> Sun, 24 Aug 2014 17:40:36 +0200
|
|
||||||
|
|
||||||
weechat (0.4.3-4) unstable; urgency=medium
|
|
||||||
|
|
||||||
* Fix FTBFS by adding a missing Build Depends on docbook-xml
|
|
||||||
(Closes:#753166)
|
|
||||||
* Update libgnutls and libgcrypt Build Depends to libgnutls28-dev and
|
|
||||||
libgcrypt20-dev (Closes: #753167)
|
|
||||||
|
|
||||||
-- Emmanuel Bouthenot <kolter@debian.org> Wed, 02 Jul 2014 23:42:41 +0200
|
|
||||||
|
|
||||||
weechat (0.4.3-3) unstable; urgency=medium
|
|
||||||
|
|
||||||
* Add patch (backported from upstream) to fix a FTBFS while building
|
|
||||||
against ruby 2.1 (Closes: #747708)
|
|
||||||
|
|
||||||
-- Emmanuel Bouthenot <kolter@debian.org> Mon, 12 May 2014 12:49:14 +0200
|
|
||||||
|
|
||||||
weechat (0.4.3-2) unstable; urgency=medium
|
|
||||||
|
|
||||||
* Add missing symlink for Polish manpage
|
|
||||||
* Change ruby-* Build-Depends to gem2deb so that ruby plugin will be
|
|
||||||
built against the newest Ruby interpreter available (Closes: #738685)
|
|
||||||
|
|
||||||
-- Emmanuel Bouthenot <kolter@debian.org> Thu, 13 Feb 2014 12:11:54 +0000
|
|
||||||
|
|
||||||
weechat (0.4.3-1) unstable; urgency=medium
|
|
||||||
|
|
||||||
* New upstream release
|
|
||||||
* Bump Standards-Version to 3.9.5
|
|
||||||
* Update debian/watch to check upstream tarballs signatures
|
|
||||||
* Add new doc-base files:
|
|
||||||
- Devel guide in French and Japanese
|
|
||||||
- Plugins guide in Japanese
|
|
||||||
- Relay protocol guide in French
|
|
||||||
- User guide in Polish
|
|
||||||
|
|
||||||
-- Emmanuel Bouthenot <kolter@debian.org> Mon, 10 Feb 2014 17:15:21 +0000
|
|
||||||
|
|
||||||
weechat (0.4.2-3) unstable; urgency=low
|
|
||||||
|
|
||||||
* Fix FTBS while building without Internet access (add a missing build
|
|
||||||
dependency on docbook-xsl) (Closes: #727206)
|
|
||||||
|
|
||||||
-- Emmanuel Bouthenot <kolter@debian.org> Wed, 23 Oct 2013 20:54:08 +0000
|
|
||||||
|
|
||||||
weechat (0.4.2-2) unstable; urgency=low
|
|
||||||
|
|
||||||
* Move dependencies from Build-Depends-Indep to Build-Depends (weechat-curses
|
|
||||||
as arch:any needs them to build manpages)
|
|
||||||
|
|
||||||
-- Emmanuel Bouthenot <kolter@debian.org> Tue, 08 Oct 2013 07:16:59 +0000
|
|
||||||
|
|
||||||
weechat (0.4.2-1) unstable; urgency=low
|
|
||||||
|
|
||||||
* New upstream release
|
|
||||||
- Add build dependency on xsltproc
|
|
||||||
- Enable build of documentation and manpages (now disabled by default)
|
|
||||||
- Install new localized manpages
|
|
||||||
- weechat-curses renamed to weechat
|
|
||||||
o update packaging accordingly
|
|
||||||
o add symlinks for backward compatibility
|
|
||||||
* Refresh XPM menu icon following upstream changes
|
|
||||||
* Switch to debhelper >= 9
|
|
||||||
|
|
||||||
-- Emmanuel Bouthenot <kolter@debian.org> Mon, 07 Oct 2013 21:40:15 +0000
|
|
||||||
|
|
||||||
weechat (0.4.1-2) unstable; urgency=low
|
|
||||||
|
|
||||||
* Disable build of guile plugin (as guile-2.0-dev FTBFS on multiple
|
|
||||||
architectures)
|
|
||||||
|
|
||||||
-- Emmanuel Bouthenot <kolter@debian.org> Sat, 29 Jun 2013 14:48:33 +0000
|
|
||||||
|
|
||||||
weechat (0.4.1-1) unstable; urgency=low
|
|
||||||
|
|
||||||
* New upstream release
|
|
||||||
* Move guile build dependency to guile-2.0-dev (previous versions are
|
|
||||||
no longer supported).
|
|
||||||
* Add supported protocols in long description. Thanks to Jonas Smedegaard
|
|
||||||
for the suggestion (Closes: #705216)
|
|
||||||
|
|
||||||
-- Emmanuel Bouthenot <kolter@debian.org> Tue, 21 May 2013 19:44:31 +0000
|
|
||||||
|
|
||||||
weechat (0.4.0-1) unstable; urgency=low
|
|
||||||
|
|
||||||
* New upstream release.
|
|
||||||
* Bump Standards-Version to 3.9.4
|
|
||||||
* Remove UPGRADE_0.3 from doc (no more included in upstream sources).
|
|
||||||
|
|
||||||
-- Emmanuel Bouthenot <kolter@debian.org> Wed, 23 Jan 2013 18:44:36 +0000
|
|
||||||
|
|
||||||
weechat (0.3.9.2-1) unstable; urgency=low
|
|
||||||
|
|
||||||
* New upstream release
|
|
||||||
- do not call shell to execute command in hook_process (fix security
|
|
||||||
problem when a plugin/script gives untrusted command)
|
|
||||||
|
|
||||||
-- Emmanuel Bouthenot <kolter@debian.org> Sun, 18 Nov 2012 13:35:21 +0000
|
|
||||||
|
|
||||||
weechat (0.3.9.1-1) unstable; urgency=low
|
|
||||||
|
|
||||||
* New upstream release
|
|
||||||
- fix crash when decoding IRC colors in strings
|
|
||||||
|
|
||||||
-- Emmanuel Bouthenot <kolter@debian.org> Fri, 09 Nov 2012 23:11:09 +0000
|
|
||||||
|
|
||||||
weechat (0.3.9-1) unstable; urgency=low
|
|
||||||
|
|
||||||
* New upstream release
|
|
||||||
* Add the new 'script' plugin and update the long descriptions accordingly
|
|
||||||
* Add new doc-base files:
|
|
||||||
- Testers guide in Japanese
|
|
||||||
- Users guide in Japanese
|
|
||||||
- Scripting guide in Japanese
|
|
||||||
* Fix wrong Vcs-Browser URL (Closes: #689203)
|
|
||||||
* Update lintian override on weechat-curses
|
|
||||||
|
|
||||||
-- Emmanuel Bouthenot <kolter@debian.org> Sun, 30 Sep 2012 21:14:22 +0000
|
|
||||||
|
|
||||||
weechat (0.3.8-1) unstable; urgency=low
|
weechat (0.3.8-1) unstable; urgency=low
|
||||||
|
|
||||||
* New upstream release
|
* New upstream release
|
||||||
@@ -545,7 +406,7 @@ 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.
|
||||||
|
|
||||||
-- Sébastien Helleu <flashcode@flashtux.org> Sat, 21 May 2005 08:00:00 +0200
|
-- Sebastien Helleu <flashcode@flashtux.org> Sat, 21 May 2005 08:00:00 +0200
|
||||||
|
|
||||||
weechat (0.1.1-2) unstable; urgency=low
|
weechat (0.1.1-2) unstable; urgency=low
|
||||||
|
|
||||||
@@ -559,13 +420,13 @@ 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)
|
||||||
|
|
||||||
-- Sébastien Helleu <flashcode@flashtux.org> Sat, 20 Mar 2005 08:00:00 +0200
|
-- Sebastien Helleu <flashcode@flashtux.org> Sat, 20 Mar 2005 08:00:00 +0200
|
||||||
|
|
||||||
weechat (0.1.0-1) unstable; urgency=low
|
weechat (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.
|
||||||
|
|
||||||
-- Sébastien Helleu <flashcode@flashtux.org> Sat, 12 Feb 2005 12:00:00 +0200
|
-- Sebastien Helleu <flashcode@flashtux.org> Sat, 12 Feb 2005 12:00:00 +0200
|
||||||
|
|
||||||
weechat (0.0.9-1) unstable; urgency=low
|
weechat (0.0.9-1) unstable; urgency=low
|
||||||
|
|
||||||
|
|||||||
Vendored
+1
-1
@@ -1 +1 @@
|
|||||||
9
|
7
|
||||||
|
|||||||
Vendored
+13
-33
@@ -2,31 +2,15 @@ Source: weechat
|
|||||||
Section: net
|
Section: net
|
||||||
Priority: optional
|
Priority: optional
|
||||||
Maintainer: Emmanuel Bouthenot <kolter@debian.org>
|
Maintainer: Emmanuel Bouthenot <kolter@debian.org>
|
||||||
Build-Depends:
|
Build-Depends-Indep: asciidoc (>= 8.5), source-highlight
|
||||||
asciidoc (>= 8.5),
|
Build-Depends: debhelper (>= 7.0.50), cmake, libncursesw5-dev,
|
||||||
source-highlight,
|
ruby1.9.1, ruby1.9.1-dev, libperl-dev, python-dev, libaspell-dev, liblua5.1-0-dev,
|
||||||
xsltproc,
|
tcl8.5-dev, guile-1.8-dev, libcurl4-gnutls-dev, libgcrypt11-dev, libgnutls-dev,
|
||||||
docbook-xsl,
|
zlib1g-dev, dpkg-dev (>= 1.13.19), pkg-config
|
||||||
docbook-xml,
|
Standards-Version: 3.9.3
|
||||||
debhelper (>= 9),
|
Homepage: http://weechat.org/
|
||||||
cmake, pkg-config,
|
|
||||||
libncursesw5-dev,
|
|
||||||
gem2deb,
|
|
||||||
libperl-dev,
|
|
||||||
python-dev,
|
|
||||||
libaspell-dev,
|
|
||||||
liblua5.1-0-dev,
|
|
||||||
tcl8.5-dev,
|
|
||||||
guile-2.0-dev,
|
|
||||||
libv8-dev,
|
|
||||||
libcurl4-gnutls-dev,
|
|
||||||
libgcrypt20-dev,
|
|
||||||
libgnutls28-dev,
|
|
||||||
zlib1g-dev
|
|
||||||
Standards-Version: 3.9.5
|
|
||||||
Homepage: https://weechat.org/
|
|
||||||
Vcs-Git: git://anonscm.debian.org/users/kolter/weechat.git
|
Vcs-Git: git://anonscm.debian.org/users/kolter/weechat.git
|
||||||
Vcs-Browser: http://anonscm.debian.org/gitweb/?p=users/kolter/weechat.git
|
Vcs-Browser: http://anonscm.debian.org/git/users/kolter/weechat.git
|
||||||
|
|
||||||
Package: weechat
|
Package: weechat
|
||||||
Architecture: all
|
Architecture: all
|
||||||
@@ -36,8 +20,6 @@ Description: Fast, light and extensible chat client
|
|||||||
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
|
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
|
||||||
for many operating systems. Everything can be done with a keyboard.
|
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
|
||||||
- horizontal and vertical split
|
- horizontal and vertical split
|
||||||
@@ -46,7 +28,7 @@ Description: Fast, light and extensible chat client
|
|||||||
- 256 colors support
|
- 256 colors support
|
||||||
- incremental text search
|
- incremental text search
|
||||||
- dynamic filtering of buffer content
|
- dynamic filtering of buffer content
|
||||||
- Perl, Python, Ruby, Lua, Tcl, Scheme and Javascript scripting
|
- Perl, Python, Ruby, Lua, Tcl and Scheme scripting
|
||||||
- scripts manager
|
- scripts manager
|
||||||
- spell checking
|
- spell checking
|
||||||
- highly customizable and extensible
|
- highly customizable and extensible
|
||||||
@@ -63,8 +45,6 @@ Description: Fast, light and extensible chat client - console client
|
|||||||
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
|
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
|
||||||
for many operating systems. Everything can be done with a keyboard.
|
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
|
||||||
- horizontal and vertical split
|
- horizontal and vertical split
|
||||||
@@ -73,7 +53,7 @@ Description: Fast, light and extensible chat client - console client
|
|||||||
- 256 colors support
|
- 256 colors support
|
||||||
- incremental text search
|
- incremental text search
|
||||||
- dynamic filtering of buffer content
|
- dynamic filtering of buffer content
|
||||||
- Perl, Python, Ruby, Lua, Tcl, Scheme and Javascript scripting
|
- Perl, Python, Ruby, Lua, Tcl and Scheme scripting
|
||||||
- scripts manager
|
- scripts manager
|
||||||
- spell checking
|
- spell checking
|
||||||
- highly customizable and extensible
|
- highly customizable and extensible
|
||||||
@@ -104,12 +84,12 @@ Description: Fast, light and extensible chat client - plugins
|
|||||||
.
|
.
|
||||||
This package provides some plugins to enhance WeeChat. It currently
|
This package provides some plugins to enhance WeeChat. It currently
|
||||||
ships the following plugins:
|
ships the following plugins:
|
||||||
- Perl, Python, Ruby, Lua, Tcl, Scheme and Javascript scripting
|
- Perl, Python, Ruby, Lua, Tcl and Scheme scripting
|
||||||
- scripts manager
|
- scripts manager
|
||||||
- Spell checking (thanks to aspell)
|
- Spell checking (thanks to aspell)
|
||||||
- FIFO pipe for remote control
|
- FIFO pipe for remote control
|
||||||
- IRC proxy
|
- IRC proxy
|
||||||
- Trigger
|
- Realtime input/output changes through regular expressions
|
||||||
|
|
||||||
Package: weechat-doc
|
Package: weechat-doc
|
||||||
Section: doc
|
Section: doc
|
||||||
@@ -125,7 +105,7 @@ Package: weechat-dev
|
|||||||
Section: devel
|
Section: devel
|
||||||
Architecture: all
|
Architecture: all
|
||||||
Depends: ${misc:Depends}
|
Depends: ${misc:Depends}
|
||||||
Description: Fast, light and extensible chat client - development headers
|
Description: Fast, light and extensible chat client - developement headers
|
||||||
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
|
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.
|
||||||
.
|
.
|
||||||
|
|||||||
Vendored
+4
-4
@@ -1,17 +1,17 @@
|
|||||||
Format: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=174
|
Format: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=174
|
||||||
Upstream-Name: weechat
|
Upstream-Name: weechat
|
||||||
Upstream-Contact: Sébastien Helleu <flashcode@flashtux.org>
|
Upstream-Contact: Sebastien Helleu <flashcode@flashtux.org>
|
||||||
Source: https://weechat.org/
|
Source: http://weechat.org/
|
||||||
|
|
||||||
Files: *
|
Files: *
|
||||||
Copyright: 2003-2015, Sébastien Helleu <flashcode@flashtux.org>
|
Copyright: 2003-2012, Sebastien Helleu <flashcode@flashtux.org>
|
||||||
2005-2009, Emmanuel Bouthenot <kolter@openics.org>
|
2005-2009, Emmanuel Bouthenot <kolter@openics.org>
|
||||||
2008-2009, Dmitry Kobylin <fnfal@academ.tsc.ru>
|
2008-2009, Dmitry Kobylin <fnfal@academ.tsc.ru>
|
||||||
License: GPL-3+
|
License: GPL-3+
|
||||||
|
|
||||||
Files: debian/*
|
Files: debian/*
|
||||||
Copyright: 2005-2008, Julien Louis <ptitlouis@sysif.net>
|
Copyright: 2005-2008, Julien Louis <ptitlouis@sysif.net>
|
||||||
2008-2014, Emmanuel Bouthenot <kolter@openics.org>
|
2008-2012, Emmanuel Bouthenot <kolter@openics.org>
|
||||||
License: GPL-3+
|
License: GPL-3+
|
||||||
|
|
||||||
License: GPL-3+
|
License: GPL-3+
|
||||||
|
|||||||
Vendored
-5
@@ -1,5 +0,0 @@
|
|||||||
[DEFAULT]
|
|
||||||
upstream-branch = upstream
|
|
||||||
debian-branch = unstable
|
|
||||||
upstream-tag = v%(version)s
|
|
||||||
compression = xz
|
|
||||||
Vendored
+26
-10
@@ -1,21 +1,32 @@
|
|||||||
#!/usr/bin/make -f
|
#!/usr/bin/make -f
|
||||||
|
|
||||||
BUILDDIR = builddir
|
# Default build flags
|
||||||
|
CFLAGS = -g -O2
|
||||||
|
LDFLAGS = -Wl,-Bsymbolic-functions
|
||||||
|
|
||||||
$(BUILDDIR)/Makefile:
|
# dpkg >= 1.16.1 provides enhanced build flags (hardening features, etc.)
|
||||||
mkdir -p $(BUILDDIR)
|
DPKG_EXPORT_BUILDFLAGS = 1
|
||||||
cd $(BUILDDIR) && \
|
-include /usr/share/dpkg/buildflags.mk
|
||||||
|
|
||||||
|
builddir/Makefile:
|
||||||
|
mkdir -p builddir
|
||||||
|
cd builddir && \
|
||||||
cmake .. \
|
cmake .. \
|
||||||
-DCMAKE_INSTALL_PREFIX:FILEPATH=/usr \
|
-DCMAKE_INSTALL_PREFIX:FILEPATH=/usr \
|
||||||
-DENABLE_DOC:BOOL=ON \
|
|
||||||
-DENABLE_MAN:BOOL=ON \
|
|
||||||
-DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo \
|
-DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo \
|
||||||
-DCMAKE_C_FLAGS_RELWITHDEBINFO:STRING="$(CFLAGS) -D_FORTIFY_SOURCE=2" \
|
-DCMAKE_C_FLAGS_RELWITHDEBINFO:STRING="$(CFLAGS) -D_FORTIFY_SOURCE=2" \
|
||||||
-DCMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING="$(LDFLAGS)" \
|
-DCMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING="$(LDFLAGS)" \
|
||||||
-DCMAKE_SKIP_RPATH:BOOL=ON \
|
-DCMAKE_SKIP_RPATH:BOOL=ON \
|
||||||
-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON
|
-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON
|
||||||
|
|
||||||
override_dh_auto_build: $(BUILDDIR)/Makefile
|
#build: build-stamp
|
||||||
|
#build-stamp: builddir/Makefile
|
||||||
|
# dh_testdir
|
||||||
|
# $(MAKE) -C builddir VERBOSE=1
|
||||||
|
# touch $@
|
||||||
|
|
||||||
|
override_dh_auto_build: builddir/Makefile
|
||||||
|
$(MAKE) -C builddir
|
||||||
dh_auto_build
|
dh_auto_build
|
||||||
|
|
||||||
override_dh_auto_configure:
|
override_dh_auto_configure:
|
||||||
@@ -23,11 +34,16 @@ override_dh_auto_configure:
|
|||||||
# debhelper try to use it but that's not needed
|
# debhelper try to use it but that's not needed
|
||||||
echo
|
echo
|
||||||
|
|
||||||
override_dh_installchangelogs:
|
override_dh_install:
|
||||||
dh_installchangelogs ChangeLog.asciidoc
|
$(MAKE) -C builddir DESTDIR=$(CURDIR)/debian/tmp install
|
||||||
|
dh_install
|
||||||
|
|
||||||
override_dh_strip:
|
override_dh_strip:
|
||||||
dh_strip --dbg-package=weechat-dbg
|
dh_strip --dbg-package=weechat-dbg
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -rf builddir
|
||||||
|
dh $@
|
||||||
|
|
||||||
%:
|
%:
|
||||||
dh $@ --parallel --builddirectory=$(BUILDDIR)
|
dh $@
|
||||||
|
|||||||
Vendored
-1
@@ -1 +0,0 @@
|
|||||||
debian/upstream-signing-key.pgp
|
|
||||||
Vendored
-2
@@ -1,2 +0,0 @@
|
|||||||
unapply-patches
|
|
||||||
abort-on-upstream-changes
|
|
||||||
Vendored
+2
-2
@@ -1,2 +1,2 @@
|
|||||||
version=3
|
version=2
|
||||||
opts=pgpsigurlmangle=s/$/.asc/ https://weechat.org/files/src/weechat-(\d.*)\.tar\.bz2
|
http://weechat.org/files/src/weechat-(\d.*)\.tar\.bz2
|
||||||
|
|||||||
Vendored
+4
-4
@@ -1,4 +1,4 @@
|
|||||||
AUTHORS.asciidoc
|
AUTHORS
|
||||||
Contributing.asciidoc
|
NEWS
|
||||||
README.asciidoc
|
README
|
||||||
ReleaseNotes.asciidoc
|
UPGRADE_0.3
|
||||||
|
|||||||
Vendored
+1
-3
@@ -1,4 +1,2 @@
|
|||||||
usr/bin/weechat
|
usr/bin/weechat-curses
|
||||||
debian/weechat.xpm usr/share/pixmaps
|
debian/weechat.xpm usr/share/pixmaps
|
||||||
usr/share/man/man1/weechat.1
|
|
||||||
usr/share/man/*/man1/weechat.1
|
|
||||||
|
|||||||
Vendored
-8
@@ -1,8 +0,0 @@
|
|||||||
usr/bin/weechat usr/bin/weechat-curses
|
|
||||||
usr/share/man/man1/weechat.1.gz usr/share/man/man1/weechat-curses.1.gz
|
|
||||||
usr/share/man/de/man1/weechat.1.gz usr/share/man/de/man1/weechat-curses.1.gz
|
|
||||||
usr/share/man/fr/man1/weechat.1.gz usr/share/man/fr/man1/weechat-curses.1.gz
|
|
||||||
usr/share/man/it/man1/weechat.1.gz usr/share/man/it/man1/weechat-curses.1.gz
|
|
||||||
usr/share/man/ja/man1/weechat.1.gz usr/share/man/ja/man1/weechat-curses.1.gz
|
|
||||||
usr/share/man/pl/man1/weechat.1.gz usr/share/man/pl/man1/weechat-curses.1.gz
|
|
||||||
usr/share/man/ru/man1/weechat.1.gz usr/share/man/ru/man1/weechat-curses.1.gz
|
|
||||||
+1
@@ -0,0 +1 @@
|
|||||||
|
weechat-curses: manpage-has-errors-from-man usr/share/man/man1/weechat-curses.1.gz 61: warning [p 1, 9.0i]: cannot adjust line
|
||||||
Vendored
+1
@@ -0,0 +1 @@
|
|||||||
|
doc/weechat-curses.1
|
||||||
Vendored
+2
-2
@@ -1,4 +1,4 @@
|
|||||||
?package(weechat-curses):needs="text" section="Applications/Network/Communication" \
|
?package(weechat-curses):needs="text" section="Applications/Network/Communication" \
|
||||||
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
+2
-2
@@ -1,6 +1,6 @@
|
|||||||
Document: weechat-dev-en
|
Document: weechat-dev-en
|
||||||
Title: WeeChat developer's guide (English)
|
Title: WeeChat Developer's Guide (English)
|
||||||
Author: Sébastien Helleu
|
Author: Sebastien Helleu
|
||||||
Abstract: This manual describes WeeChat internals and
|
Abstract: This manual describes WeeChat internals and
|
||||||
how to contribute to WeeChat (English version).
|
how to contribute to WeeChat (English version).
|
||||||
Section: Network/Communication
|
Section: Network/Communication
|
||||||
|
|||||||
Vendored
-10
@@ -1,10 +0,0 @@
|
|||||||
Document: weechat-dev-fr
|
|
||||||
Title: WeeChat developer's guide (French)
|
|
||||||
Author: Sébastien Helleu
|
|
||||||
Abstract: This manual describes WeeChat internals and
|
|
||||||
how to contribute to WeeChat (French version).
|
|
||||||
Section: Network/Communication
|
|
||||||
|
|
||||||
Format: HTML
|
|
||||||
Index: /usr/share/doc/weechat-doc/html/weechat_dev.fr.html
|
|
||||||
Files: /usr/share/doc/weechat-doc/html/weechat_dev.fr.html
|
|
||||||
Vendored
-10
@@ -1,10 +0,0 @@
|
|||||||
Document: weechat-dev-ja
|
|
||||||
Title: WeeChat developer's guide (Japanese)
|
|
||||||
Author: Sébastien Helleu
|
|
||||||
Abstract: This manual describes WeeChat internals and
|
|
||||||
how to contribute to WeeChat (Japanese version).
|
|
||||||
Section: Network/Communication
|
|
||||||
|
|
||||||
Format: HTML
|
|
||||||
Index: /usr/share/doc/weechat-doc/html/weechat_dev.ja.html
|
|
||||||
Files: /usr/share/doc/weechat-doc/html/weechat_dev.ja.html
|
|
||||||
Vendored
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
Document: weechat-faq-de
|
Document: weechat-faq-de
|
||||||
Title: WeeChat FAQ (German)
|
Title: WeeChat FAQ (German)
|
||||||
Author: Sébastien Helleu
|
Author: Sebastien Helleu
|
||||||
Abstract: This document answers frequently asked questions
|
Abstract: This document answers frequently asked questions
|
||||||
about the WeeChat IRC client (German version).
|
about the WeeChat IRC client (German version).
|
||||||
Section: Network/Communication
|
Section: Network/Communication
|
||||||
|
|||||||
Vendored
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
Document: weechat-faq-en
|
Document: weechat-faq-en
|
||||||
Title: WeeChat FAQ (English)
|
Title: WeeChat FAQ (English)
|
||||||
Author: Sébastien Helleu
|
Author: Sebastien Helleu
|
||||||
Abstract: This document answers frequently asked questions
|
Abstract: This document answers frequently asked questions
|
||||||
about the WeeChat IRC client (English version).
|
about the WeeChat IRC client (English version).
|
||||||
Section: Network/Communication
|
Section: Network/Communication
|
||||||
|
|||||||
Vendored
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
Document: weechat-faq-fr
|
Document: weechat-faq-fr
|
||||||
Title: WeeChat FAQ (French)
|
Title: WeeChat FAQ (French)
|
||||||
Author: Sébastien Helleu
|
Author: Sebastien Helleu
|
||||||
Abstract: This document answers frequently asked questions
|
Abstract: This document answers frequently asked questions
|
||||||
about the WeeChat IRC client (French version).
|
about the WeeChat IRC client (French version).
|
||||||
Section: Network/Communication
|
Section: Network/Communication
|
||||||
|
|||||||
Vendored
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
Document: weechat-faq-it
|
Document: weechat-faq-it
|
||||||
Title: WeeChat FAQ (Italian)
|
Title: WeeChat FAQ (Italian)
|
||||||
Author: Sébastien Helleu
|
Author: Sebastien Helleu
|
||||||
Abstract: This document answers frequently asked questions
|
Abstract: This document answers frequently asked questions
|
||||||
about the WeeChat IRC client (Italian version).
|
about the WeeChat IRC client (Italian version).
|
||||||
Section: Network/Communication
|
Section: Network/Communication
|
||||||
|
|||||||
Vendored
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
Document: weechat-faq-ja
|
Document: weechat-faq-ja
|
||||||
Title: WeeChat FAQ (Japanese)
|
Title: WeeChat FAQ (Japanese)
|
||||||
Author: Sébastien Helleu
|
Author: Sebastien Helleu
|
||||||
Abstract: This document answers frequently asked questions
|
Abstract: This document answers frequently asked questions
|
||||||
about the WeeChat IRC client (Japanese version).
|
about the WeeChat IRC client (Japanese version).
|
||||||
Section: Network/Communication
|
Section: Network/Communication
|
||||||
|
|||||||
Vendored
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
Document: weechat-faq-pl
|
Document: weechat-faq-pl
|
||||||
Title: WeeChat FAQ (Polish)
|
Title: WeeChat FAQ (Polish)
|
||||||
Author: Sébastien Helleu
|
Author: Sebastien Helleu
|
||||||
Abstract: This document answers frequently asked questions
|
Abstract: This document answers frequently asked questions
|
||||||
about the WeeChat IRC client (Polish version).
|
about the WeeChat IRC client (Polish version).
|
||||||
Section: Network/Communication
|
Section: Network/Communication
|
||||||
|
|||||||
+2
-2
@@ -1,6 +1,6 @@
|
|||||||
Document: weechat-plugin-en
|
Document: weechat-plugin-en
|
||||||
Title: WeeChat plugin API reference (English)
|
Title: WeeChat plugins API (English)
|
||||||
Author: Sébastien Helleu
|
Author: Sebastien Helleu
|
||||||
Abstract: This document describes the API to create plugins
|
Abstract: This document describes the API to create plugins
|
||||||
for WeeChat (English version).
|
for WeeChat (English version).
|
||||||
Section: Network/Communication
|
Section: Network/Communication
|
||||||
|
|||||||
+2
-2
@@ -1,6 +1,6 @@
|
|||||||
Document: weechat-plugin-fr
|
Document: weechat-plugin-fr
|
||||||
Title: WeeChat plugin API reference (French)
|
Title: WeeChat plugins API (French)
|
||||||
Author: Sébastien Helleu
|
Author: Sebastien Helleu
|
||||||
Abstract: This document describes the API to create plugins
|
Abstract: This document describes the API to create plugins
|
||||||
for WeeChat (French version).
|
for WeeChat (French version).
|
||||||
Section: Network/Communication
|
Section: Network/Communication
|
||||||
|
|||||||
+2
-2
@@ -1,6 +1,6 @@
|
|||||||
Document: weechat-plugin-it
|
Document: weechat-plugin-it
|
||||||
Title: WeeChat plugin API reference (Italian)
|
Title: WeeChat plugins API (Italian)
|
||||||
Author: Sébastien Helleu
|
Author: Sebastien Helleu
|
||||||
Abstract: This document describes the API to create plugins
|
Abstract: This document describes the API to create plugins
|
||||||
for WeeChat (Italian version).
|
for WeeChat (Italian version).
|
||||||
Section: Network/Communication
|
Section: Network/Communication
|
||||||
|
|||||||
-10
@@ -1,10 +0,0 @@
|
|||||||
Document: weechat-plugin-ja
|
|
||||||
Title: WeeChat plugin API reference (Japanese)
|
|
||||||
Author: Sébastien Helleu
|
|
||||||
Abstract: This document describes the API to create plugins
|
|
||||||
for WeeChat (Japanese version).
|
|
||||||
Section: Network/Communication
|
|
||||||
|
|
||||||
Format: HTML
|
|
||||||
Index: /usr/share/doc/weechat-doc/html/weechat_plugin_api.ja.html
|
|
||||||
Files: /usr/share/doc/weechat-doc/html/weechat_plugin_api.ja.html
|
|
||||||
+2
-2
@@ -1,6 +1,6 @@
|
|||||||
Document: weechat-quickstart-de
|
Document: weechat-quickstart-de
|
||||||
Title: WeeChat quick start guide (German)
|
Title: WeeChat Quickstart (German)
|
||||||
Author: Sébastien Helleu
|
Author: Sebastien Helleu
|
||||||
Abstract: A short HowTo for new WeeChat users (German version).
|
Abstract: A short HowTo for new WeeChat users (German version).
|
||||||
Section: Network/Communication
|
Section: Network/Communication
|
||||||
|
|
||||||
|
|||||||
+2
-2
@@ -1,6 +1,6 @@
|
|||||||
Document: weechat-quickstart-en
|
Document: weechat-quickstart-en
|
||||||
Title: WeeChat quick start guide (English)
|
Title: WeeChat Quickstart (English)
|
||||||
Author: Sébastien Helleu
|
Author: Sebastien Helleu
|
||||||
Abstract: A short HowTo for new WeeChat users (English version).
|
Abstract: A short HowTo for new WeeChat users (English version).
|
||||||
Section: Network/Communication
|
Section: Network/Communication
|
||||||
|
|
||||||
|
|||||||
+2
-2
@@ -1,6 +1,6 @@
|
|||||||
Document: weechat-quickstart-es
|
Document: weechat-quickstart-es
|
||||||
Title: WeeChat quick start guide (Spanish)
|
Title: WeeChat Quickstart (Spanish)
|
||||||
Author: Sébastien Helleu
|
Author: Sebastien Helleu
|
||||||
Abstract: A short HowTo for new WeeChat users (Spanish version).
|
Abstract: A short HowTo for new WeeChat users (Spanish version).
|
||||||
Section: Network/Communication
|
Section: Network/Communication
|
||||||
|
|
||||||
|
|||||||
+2
-2
@@ -1,6 +1,6 @@
|
|||||||
Document: weechat-quickstart-fr
|
Document: weechat-quickstart-fr
|
||||||
Title: WeeChat quick start guide (French)
|
Title: WeeChat Quickstart (French)
|
||||||
Author: Sébastien Helleu
|
Author: Sebastien Helleu
|
||||||
Abstract: A short HowTo for new WeeChat users (French version).
|
Abstract: A short HowTo for new WeeChat users (French version).
|
||||||
Section: Network/Communication
|
Section: Network/Communication
|
||||||
|
|
||||||
|
|||||||
+2
-2
@@ -1,6 +1,6 @@
|
|||||||
Document: weechat-quickstart-it
|
Document: weechat-quickstart-it
|
||||||
Title: WeeChat quick start guide (Italian)
|
Title: WeeChat Quickstart (Italian)
|
||||||
Author: Sébastien Helleu
|
Author: Sebastien Helleu
|
||||||
Abstract: A short HowTo for new WeeChat users (Italian version).
|
Abstract: A short HowTo for new WeeChat users (Italian version).
|
||||||
Section: Network/Communication
|
Section: Network/Communication
|
||||||
|
|
||||||
|
|||||||
+2
-2
@@ -1,6 +1,6 @@
|
|||||||
Document: weechat-quickstart-ja
|
Document: weechat-quickstart-ja
|
||||||
Title: WeeChat quick start guide (Japanese)
|
Title: WeeChat Quickstart (Japanese)
|
||||||
Author: Sébastien Helleu
|
Author: Sebastien Helleu
|
||||||
Abstract: A short HowTo for new WeeChat users (Japanese version).
|
Abstract: A short HowTo for new WeeChat users (Japanese version).
|
||||||
Section: Network/Communication
|
Section: Network/Communication
|
||||||
|
|
||||||
|
|||||||
+2
-2
@@ -1,6 +1,6 @@
|
|||||||
Document: weechat-quickstart-pl
|
Document: weechat-quickstart-pl
|
||||||
Title: WeeChat quick start guide (Polish)
|
Title: WeeChat Quickstart (Polish)
|
||||||
Author: Sébastien Helleu
|
Author: Sebastien Helleu
|
||||||
Abstract: A short HowTo for new WeeChat users (Polish version).
|
Abstract: A short HowTo for new WeeChat users (Polish version).
|
||||||
Section: Network/Communication
|
Section: Network/Communication
|
||||||
|
|
||||||
|
|||||||
+2
-2
@@ -1,6 +1,6 @@
|
|||||||
Document: weechat-quickstart-ru
|
Document: weechat-quickstart-ru
|
||||||
Title: WeeChat quick start guide (Russian)
|
Title: WeeChat Quickstart (Russian)
|
||||||
Author: Sébastien Helleu
|
Author: Sebastien Helleu
|
||||||
Abstract: A short HowTo for new WeeChat users (Russian version).
|
Abstract: A short HowTo for new WeeChat users (Russian version).
|
||||||
Section: Network/Communication
|
Section: Network/Communication
|
||||||
|
|
||||||
|
|||||||
+2
-2
@@ -1,6 +1,6 @@
|
|||||||
Document: weechat-relay-protocol-en
|
Document: weechat-relay-protocol-en
|
||||||
Title: WeeChat Relay protocol (English)
|
Title: WeeChat Relay Protocol (English)
|
||||||
Author: Sébastien Helleu
|
Author: Sebastien Helleu
|
||||||
Abstract: This manual describes WeeChat Relay Protocol, used by
|
Abstract: This manual describes WeeChat Relay Protocol, used by
|
||||||
remote GUI to communicate with Relay plugin (English version).
|
remote GUI to communicate with Relay plugin (English version).
|
||||||
Section: Network/Communication
|
Section: Network/Communication
|
||||||
|
|||||||
-10
@@ -1,10 +0,0 @@
|
|||||||
Document: weechat-relay-protocol-fr
|
|
||||||
Title: WeeChat Relay protocol (French)
|
|
||||||
Author: Sébastien Helleu
|
|
||||||
Abstract: This manual describes WeeChat Relay Protocol, used by
|
|
||||||
remote GUI to communicate with Relay plugin (French version).
|
|
||||||
Section: Network/Communication
|
|
||||||
|
|
||||||
Format: HTML
|
|
||||||
Index: /usr/share/doc/weechat-doc/html/weechat_relay_protocol.fr.html
|
|
||||||
Files: /usr/share/doc/weechat-doc/html/weechat_relay_protocol.fr.html
|
|
||||||
-10
@@ -1,10 +0,0 @@
|
|||||||
Document: weechat-relay-protocol-ja
|
|
||||||
Title: WeeChat Relay protocol (Japanese)
|
|
||||||
Author: Sébastien Helleu
|
|
||||||
Abstract: This manual describes WeeChat Relay Protocol, used by
|
|
||||||
remote GUI to communicate with Relay plugin (Japanese version).
|
|
||||||
Section: Network/Communication
|
|
||||||
|
|
||||||
Format: HTML
|
|
||||||
Index: /usr/share/doc/weechat-doc/html/weechat_relay_protocol.ja.html
|
|
||||||
Files: /usr/share/doc/weechat-doc/html/weechat_relay_protocol.ja.html
|
|
||||||
+2
-2
@@ -1,6 +1,6 @@
|
|||||||
Document: weechat-scripting-de
|
Document: weechat-scripting-de
|
||||||
Title: WeeChat scripting guide (German)
|
Title: WeeChat Scripting Guide (German)
|
||||||
Author: Sébastien Helleu
|
Author: Sebastien Helleu
|
||||||
Abstract: This document describes the API to create scripts
|
Abstract: This document describes the API to create scripts
|
||||||
for WeeChat (German version).
|
for WeeChat (German version).
|
||||||
Section: Network/Communication
|
Section: Network/Communication
|
||||||
|
|||||||
+2
-2
@@ -1,6 +1,6 @@
|
|||||||
Document: weechat-scripting-en
|
Document: weechat-scripting-en
|
||||||
Title: WeeChat scripting guide (English)
|
Title: WeeChat Scripting Guide (English)
|
||||||
Author: Sébastien Helleu
|
Author: Sebastien Helleu
|
||||||
Abstract: This document describes the API to create scripts
|
Abstract: This document describes the API to create scripts
|
||||||
for WeeChat (English version).
|
for WeeChat (English version).
|
||||||
Section: Network/Communication
|
Section: Network/Communication
|
||||||
|
|||||||
+2
-2
@@ -1,6 +1,6 @@
|
|||||||
Document: weechat-scripting-fr
|
Document: weechat-scripting-fr
|
||||||
Title: WeeChat scripting guide (French)
|
Title: WeeChat Scripting Guide (French)
|
||||||
Author: Sébastien Helleu
|
Author: Sebastien Helleu
|
||||||
Abstract: This document describes the API to create scripts
|
Abstract: This document describes the API to create scripts
|
||||||
for WeeChat (French version).
|
for WeeChat (French version).
|
||||||
Section: Network/Communication
|
Section: Network/Communication
|
||||||
|
|||||||
+2
-2
@@ -1,6 +1,6 @@
|
|||||||
Document: weechat-scripting-it
|
Document: weechat-scripting-it
|
||||||
Title: WeeChat scripting guide (Italian)
|
Title: WeeChat Scripting Guide (Italian)
|
||||||
Author: Sébastien Helleu
|
Author: Sebastien Helleu
|
||||||
Abstract: This document describes the API to create scripts
|
Abstract: This document describes the API to create scripts
|
||||||
for WeeChat (Italian version).
|
for WeeChat (Italian version).
|
||||||
Section: Network/Communication
|
Section: Network/Communication
|
||||||
|
|||||||
+2
-2
@@ -1,6 +1,6 @@
|
|||||||
Document: weechat-scripting-ja
|
Document: weechat-scripting-ja
|
||||||
Title: WeeChat scripting guide (Japanese)
|
Title: WeeChat Scripting Guide (Japanese)
|
||||||
Author: Sébastien Helleu
|
Author: Sebastien Helleu
|
||||||
Abstract: This document describes the API to create scripts
|
Abstract: This document describes the API to create scripts
|
||||||
for WeeChat (Japanese version).
|
for WeeChat (Japanese version).
|
||||||
Section: Network/Communication
|
Section: Network/Communication
|
||||||
|
|||||||
+2
-2
@@ -1,6 +1,6 @@
|
|||||||
Document: weechat-scripting-pl
|
Document: weechat-scripting-pl
|
||||||
Title: WeeChat scripting guide (Polish)
|
Title: WeeChat Scripting Guide (Polish)
|
||||||
Author: Sébastien Helleu
|
Author: Sebastien Helleu
|
||||||
Abstract: This document describes the API to create scripts
|
Abstract: This document describes the API to create scripts
|
||||||
for WeeChat (Polish version).
|
for WeeChat (Polish version).
|
||||||
Section: Network/Communication
|
Section: Network/Communication
|
||||||
|
|||||||
+2
-2
@@ -1,6 +1,6 @@
|
|||||||
Document: weechat-tester-de
|
Document: weechat-tester-de
|
||||||
Title: WeeChat tester's guide (German)
|
Title: WeeChat Tester's Guide (German)
|
||||||
Author: Sébastien Helleu
|
Author: Sebastien Helleu
|
||||||
Abstract: This document describes how to test and report
|
Abstract: This document describes how to test and report
|
||||||
bugs against the WeeChat IRC Client (German version).
|
bugs against the WeeChat IRC Client (German version).
|
||||||
Section: Network/Communication
|
Section: Network/Communication
|
||||||
|
|||||||
+2
-2
@@ -1,6 +1,6 @@
|
|||||||
Document: weechat-tester-en
|
Document: weechat-tester-en
|
||||||
Title: WeeChat tester's guide (English)
|
Title: WeeChat Tester's Guide (English)
|
||||||
Author: Sébastien Helleu
|
Author: Sebastien Helleu
|
||||||
Abstract: This document describes how to test and report
|
Abstract: This document describes how to test and report
|
||||||
bugs against the WeeChat IRC Client (English version).
|
bugs against the WeeChat IRC Client (English version).
|
||||||
Section: Network/Communication
|
Section: Network/Communication
|
||||||
|
|||||||
+2
-2
@@ -1,6 +1,6 @@
|
|||||||
Document: weechat-tester-fr
|
Document: weechat-tester-fr
|
||||||
Title: WeeChat tester's guide (French)
|
Title: WeeChat Tester's Guide (French)
|
||||||
Author: Sébastien Helleu
|
Author: Sebastien Helleu
|
||||||
Abstract: This document describes how to test and report
|
Abstract: This document describes how to test and report
|
||||||
bugs against the WeeChat IRC Client (French version).
|
bugs against the WeeChat IRC Client (French version).
|
||||||
Section: Network/Communication
|
Section: Network/Communication
|
||||||
|
|||||||
+2
-2
@@ -1,6 +1,6 @@
|
|||||||
Document: weechat-tester-it
|
Document: weechat-tester-it
|
||||||
Title: WeeChat tester's guide (Italian)
|
Title: WeeChat Tester's Guide (Italian)
|
||||||
Author: Sébastien Helleu
|
Author: Sebastien Helleu
|
||||||
Abstract: This document describes how to test and report
|
Abstract: This document describes how to test and report
|
||||||
bugs against the WeeChat IRC Client (Italian version).
|
bugs against the WeeChat IRC Client (Italian version).
|
||||||
Section: Network/Communication
|
Section: Network/Communication
|
||||||
|
|||||||
+2
-2
@@ -1,6 +1,6 @@
|
|||||||
Document: weechat-tester-ja
|
Document: weechat-tester-ja
|
||||||
Title: WeeChat tester's guide (Japanese)
|
Title: WeeChat Tester's Guide (Japanese)
|
||||||
Author: Sébastien Helleu
|
Author: Sebastien Helleu
|
||||||
Abstract: This document describes how to test and report
|
Abstract: This document describes how to test and report
|
||||||
bugs against the WeeChat IRC Client (Japanese version).
|
bugs against the WeeChat IRC Client (Japanese version).
|
||||||
Section: Network/Communication
|
Section: Network/Communication
|
||||||
|
|||||||
+2
-2
@@ -1,6 +1,6 @@
|
|||||||
Document: weechat-tester-pl
|
Document: weechat-tester-pl
|
||||||
Title: WeeChat tester's guide (Polish)
|
Title: WeeChat Tester's Guide (Polish)
|
||||||
Author: Sébastien Helleu
|
Author: Sebastien Helleu
|
||||||
Abstract: This document describes how to test and report
|
Abstract: This document describes how to test and report
|
||||||
bugs against the WeeChat IRC Client (Polish version).
|
bugs against the WeeChat IRC Client (Polish version).
|
||||||
Section: Network/Communication
|
Section: Network/Communication
|
||||||
|
|||||||
Vendored
+2
-2
@@ -1,6 +1,6 @@
|
|||||||
Document: weechat-user-de
|
Document: weechat-user-de
|
||||||
Title: WeeChat user's guide (German)
|
Title: WeeChat User's Guide (German)
|
||||||
Author: Sébastien Helleu
|
Author: Sebastien Helleu
|
||||||
Abstract: This manual describes how to use the WeeChat
|
Abstract: This manual describes how to use the WeeChat
|
||||||
IRC client (German version).
|
IRC client (German version).
|
||||||
Section: Network/Communication
|
Section: Network/Communication
|
||||||
|
|||||||
Vendored
+2
-2
@@ -1,6 +1,6 @@
|
|||||||
Document: weechat-user-en
|
Document: weechat-user-en
|
||||||
Title: WeeChat user's guide (English)
|
Title: WeeChat User's Guide (English)
|
||||||
Author: Sébastien Helleu
|
Author: Sebastien Helleu
|
||||||
Abstract: This manual describes how to use the WeeChat
|
Abstract: This manual describes how to use the WeeChat
|
||||||
IRC client (English version).
|
IRC client (English version).
|
||||||
Section: Network/Communication
|
Section: Network/Communication
|
||||||
|
|||||||
Vendored
+2
-2
@@ -1,6 +1,6 @@
|
|||||||
Document: weechat-user-fr
|
Document: weechat-user-fr
|
||||||
Title: WeeChat user's guide (French)
|
Title: WeeChat User's Guide (French)
|
||||||
Author: Sébastien Helleu
|
Author: Sebastien Helleu
|
||||||
Abstract: This manual describes how to use the WeeChat
|
Abstract: This manual describes how to use the WeeChat
|
||||||
IRC client (French version).
|
IRC client (French version).
|
||||||
Section: Network/Communication
|
Section: Network/Communication
|
||||||
|
|||||||
Vendored
+2
-2
@@ -1,6 +1,6 @@
|
|||||||
Document: weechat-user-it
|
Document: weechat-user-it
|
||||||
Title: WeeChat user's guide (Italian)
|
Title: WeeChat User's Guide (Italian)
|
||||||
Author: Sébastien Helleu
|
Author: Sebastien Helleu
|
||||||
Abstract: This manual describes how to use the WeeChat
|
Abstract: This manual describes how to use the WeeChat
|
||||||
IRC client (Italian version).
|
IRC client (Italian version).
|
||||||
Section: Network/Communication
|
Section: Network/Communication
|
||||||
|
|||||||
Vendored
+2
-2
@@ -1,6 +1,6 @@
|
|||||||
Document: weechat-user-ja
|
Document: weechat-user-ja
|
||||||
Title: WeeChat user's guide (Japanese)
|
Title: WeeChat User's Guide (Japanese)
|
||||||
Author: Sébastien Helleu
|
Author: Sebastien Helleu
|
||||||
Abstract: This manual describes how to use the WeeChat
|
Abstract: This manual describes how to use the WeeChat
|
||||||
IRC client (Japanese version).
|
IRC client (Japanese version).
|
||||||
Section: Network/Communication
|
Section: Network/Communication
|
||||||
|
|||||||
Vendored
-10
@@ -1,10 +0,0 @@
|
|||||||
Document: weechat-user-pl
|
|
||||||
Title: WeeChat user's guide (Polish)
|
|
||||||
Author: Sébastien Helleu
|
|
||||||
Abstract: This manual describes how to use the WeeChat
|
|
||||||
IRC client (Polish version).
|
|
||||||
Section: Network/Communication
|
|
||||||
|
|
||||||
Format: HTML
|
|
||||||
Index: /usr/share/doc/weechat-doc/html/weechat_user.pl.html
|
|
||||||
Files: /usr/share/doc/weechat-doc/html/weechat_user.pl.html
|
|
||||||
Vendored
+4
-6
@@ -1,13 +1,11 @@
|
|||||||
usr/lib/weechat/plugins/aspell.so
|
usr/lib/weechat/plugins/aspell.so
|
||||||
usr/lib/weechat/plugins/exec.so
|
|
||||||
usr/lib/weechat/plugins/fifo.so
|
usr/lib/weechat/plugins/fifo.so
|
||||||
usr/lib/weechat/plugins/guile.so
|
usr/lib/weechat/plugins/guile.so
|
||||||
usr/lib/weechat/plugins/javascript.so
|
|
||||||
usr/lib/weechat/plugins/lua.so
|
|
||||||
usr/lib/weechat/plugins/perl.so
|
usr/lib/weechat/plugins/perl.so
|
||||||
usr/lib/weechat/plugins/python.so
|
usr/lib/weechat/plugins/python.so
|
||||||
usr/lib/weechat/plugins/relay.so
|
|
||||||
usr/lib/weechat/plugins/ruby.so
|
usr/lib/weechat/plugins/ruby.so
|
||||||
usr/lib/weechat/plugins/script.so
|
usr/lib/weechat/plugins/lua.so
|
||||||
usr/lib/weechat/plugins/tcl.so
|
usr/lib/weechat/plugins/tcl.so
|
||||||
usr/lib/weechat/plugins/trigger.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@ ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" "};
|
|
||||||
|
|||||||
+16
-36
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2003-2015 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
|
||||||
# Copyright (C) 2009 Emmanuel Bouthenot <kolter@openics.org>
|
# Copyright (C) 2009 Emmanuel Bouthenot <kolter@openics.org>
|
||||||
#
|
#
|
||||||
# This file is part of WeeChat, the extensible chat client.
|
# This file is part of WeeChat, the extensible chat client.
|
||||||
@@ -18,41 +18,21 @@
|
|||||||
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#
|
#
|
||||||
|
|
||||||
if(ENABLE_MAN OR ENABLE_DOC)
|
IF(ENABLE_DOC)
|
||||||
|
|
||||||
find_package(Sourcehighlight)
|
FIND_PACKAGE(Sourcehighlight)
|
||||||
find_package(Asciidoc)
|
FIND_PACKAGE(Asciidoc)
|
||||||
|
IF(ASCIIDOC_FOUND AND SOURCEHIGHLIGHT_FOUND)
|
||||||
|
ADD_SUBDIRECTORY( en )
|
||||||
|
ADD_SUBDIRECTORY( fr )
|
||||||
|
ADD_SUBDIRECTORY( it )
|
||||||
|
ADD_SUBDIRECTORY( de )
|
||||||
|
ADD_SUBDIRECTORY( pl )
|
||||||
|
ADD_SUBDIRECTORY( es )
|
||||||
|
ADD_SUBDIRECTORY( ru )
|
||||||
|
ADD_SUBDIRECTORY( ja )
|
||||||
|
ENDIF(ASCIIDOC_FOUND AND SOURCEHIGHLIGHT_FOUND)
|
||||||
|
|
||||||
if(ASCIIDOC_FOUND)
|
ENDIF(ENABLE_DOC)
|
||||||
|
|
||||||
set(CSS_TOC -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/asciidoc_toc.css)
|
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/weechat-curses.1 DESTINATION ${MANDIR}/man1)
|
||||||
set(CSS_TOC2 -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/asciidoc_toc2.css)
|
|
||||||
|
|
||||||
set(ASCIIDOC_ARGS -a revision="${VERSION}" -f ${CMAKE_CURRENT_SOURCE_DIR}/asciidoc.conf)
|
|
||||||
|
|
||||||
# use html5 backend if available (asciidoc >= 8.6.5)
|
|
||||||
if(ASCIIDOC_VERSION VERSION_EQUAL "8.6.5" OR ASCIIDOC_VERSION VERSION_GREATER "8.6.5")
|
|
||||||
set(ASCIIDOC_ARGS -b html5 ${ASCIIDOC_ARGS})
|
|
||||||
endif()
|
|
||||||
|
|
||||||
set(ASCIIDOC_ARGS_USER ${ASCIIDOC_ARGS} ${CSS_TOC2} )
|
|
||||||
set(ASCIIDOC_ARGS_API ${ASCIIDOC_ARGS} ${CSS_TOC2} )
|
|
||||||
set(ASCIIDOC_ARGS_SCRIPTING ${ASCIIDOC_ARGS} ${CSS_TOC2} )
|
|
||||||
set(ASCIIDOC_ARGS_FAQ ${ASCIIDOC_ARGS} ${CSS_TOC} -n)
|
|
||||||
set(ASCIIDOC_ARGS_QUICKSTART ${ASCIIDOC_ARGS} ${CSS_TOC2} -n)
|
|
||||||
set(ASCIIDOC_ARGS_TESTER ${ASCIIDOC_ARGS} ${CSS_TOC2} )
|
|
||||||
set(ASCIIDOC_ARGS_RELAY ${ASCIIDOC_ARGS} ${CSS_TOC2} )
|
|
||||||
set(ASCIIDOC_ARGS_DEV ${ASCIIDOC_ARGS} ${CSS_TOC2} )
|
|
||||||
|
|
||||||
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()
|
|
||||||
|
|
||||||
endif()
|
|
||||||
|
|||||||
+4
-9
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2003-2015 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
|
||||||
# Copyright (C) 2006 Julien Louis <ptitlouis@sysif.net>
|
# Copyright (C) 2006 Julien Louis <ptitlouis@sysif.net>
|
||||||
#
|
#
|
||||||
# This file is part of WeeChat, the extensible chat client.
|
# This file is part of WeeChat, the extensible chat client.
|
||||||
@@ -20,14 +20,9 @@
|
|||||||
|
|
||||||
SUBDIRS = . en fr it de pl es ru ja
|
SUBDIRS = . en fr it de pl es ru ja
|
||||||
|
|
||||||
EXTRA_DIST = docgen.py \
|
man_MANS = weechat-curses.1
|
||||||
CMakeLists.txt \
|
|
||||||
asciidoc.conf \
|
EXTRA_DIST = $(man_MANS) docgen.py CMakeLists.txt asciidoc.conf asciidoc.css
|
||||||
asciidoc_toc.css \
|
|
||||||
asciidoc_toc2.css
|
|
||||||
|
|
||||||
uninstall-hook:
|
uninstall-hook:
|
||||||
-rmdir $(DESTDIR)$(datadir)/doc/$(PACKAGE)
|
-rmdir $(DESTDIR)$(datadir)/doc/$(PACKAGE)
|
||||||
|
|
||||||
clean-local:
|
|
||||||
-rm -f asciidoc_toc.css asciidoc_toc2.css
|
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user