mirror of
https://github.com/weechat/weechat.git
synced 2026-06-15 15:44:47 +02:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 0f3efd732c |
@@ -1,5 +0,0 @@
|
||||
# files/directories excluded from tarballs
|
||||
|
||||
.git* export-ignore
|
||||
debian export-ignore
|
||||
weechat.spec export-ignore
|
||||
-50
@@ -1,50 +0,0 @@
|
||||
# ignored files for Git
|
||||
|
||||
*.a
|
||||
*.gmo
|
||||
*.html
|
||||
*.la
|
||||
*.lai
|
||||
*.lo
|
||||
*.m4
|
||||
*.o
|
||||
*.Plo
|
||||
*.Po
|
||||
*.so
|
||||
*.so.0
|
||||
*.so.0.0.0
|
||||
*.1
|
||||
|
||||
ABOUT-NLS
|
||||
autom4te*
|
||||
build*/*
|
||||
config.guess
|
||||
config.h
|
||||
config.h.in*
|
||||
config-git.h
|
||||
config.log
|
||||
config.rpath
|
||||
config.status
|
||||
config.sub
|
||||
configure
|
||||
debian/*.log
|
||||
depcomp
|
||||
insert-header.sin
|
||||
install-sh
|
||||
intl/*
|
||||
libtool
|
||||
ltmain.sh
|
||||
Makefile
|
||||
Makefile.in*
|
||||
Makevars.template
|
||||
missing
|
||||
po/*quot*
|
||||
POTFILES
|
||||
remove-potcdate.sed
|
||||
Rules-quot
|
||||
weechat.pc
|
||||
|
||||
*stamp
|
||||
stamp*
|
||||
|
||||
src/gui/curses/weechat
|
||||
@@ -1,71 +1,29 @@
|
||||
WeeChat Authors
|
||||
===============
|
||||
WeeChat - Wee Enhanced Environment for Chat
|
||||
===========================================
|
||||
|
||||
Developers
|
||||
Developers:
|
||||
----------
|
||||
|
||||
* General code
|
||||
All developers are connected to IRC:
|
||||
server: irc.freenode.net, channel: #weechat
|
||||
|
||||
** Sébastien Helleu (FlashCode) <flashcode@flashtux.org>
|
||||
FlashCode <flashcode@flashtux.org>
|
||||
Web : http://www.flashtux.org
|
||||
IRC : nick is "FlashCode"
|
||||
Jabber: flashcode@jabber.org
|
||||
ICQ : 160677660
|
||||
AIM : FlashCode AIM
|
||||
Yahoo : FlashCode_Y
|
||||
|
||||
* Scripts plugins, debian packager
|
||||
Bounga <bounga@altern.org>
|
||||
Web : http://bounga.ath.cx
|
||||
IRC : nick is "Bounga"
|
||||
Jabber: Bounga@jabber.org
|
||||
ICQ : 178297842
|
||||
|
||||
** Emmanuel Bouthenot (kolter) <kolter@openics.org>
|
||||
Xahlexx <xahlexx@tuxisland.org>
|
||||
Web : http://www.tuxisland.org
|
||||
IRC : nick is "xahlexx"
|
||||
|
||||
|
||||
Contributors
|
||||
------------
|
||||
|
||||
Alphabetically:
|
||||
|
||||
* Ailin Nemui (Nei)
|
||||
* Aleksey V Zapparov
|
||||
* Andrew Potter
|
||||
* Antoine Pietri (seirl)
|
||||
* Arvydas Sidorenko
|
||||
* Benoit Papillault (benoit)
|
||||
* Dmitry Kobylin
|
||||
* Dominik Honnef
|
||||
* Elián Hanisch (m4v)
|
||||
* Elizabeth Myers (Elizacat)
|
||||
* Esteban I. Ruiz Moreno (Exio)
|
||||
* Frank Zacharias
|
||||
* Gu1ll4um3r0m41n
|
||||
* gwenn
|
||||
* Hasan Kiran (turgay)
|
||||
* Ivan Sichmann Freitas
|
||||
* JD Horelick (jdhore)
|
||||
* Jim Ramsay (lack)
|
||||
* Jiri Golembiovsky (GolemJ)
|
||||
* Julien Louis (ptitlouis)
|
||||
* Krzysztof Koroscik (soltys)
|
||||
* Kyle Fuller (kylef)
|
||||
* Lázaro A.
|
||||
* Marco Paolone
|
||||
* Mantas Mikulėnas (grawity)
|
||||
* Mateusz Poszwa
|
||||
* Nicolas Cavigneaux
|
||||
* Nils Görs (nils_2)
|
||||
* Odin
|
||||
* Pavel Shevchuk (Stalwart)
|
||||
* Peter Boström (pbos)
|
||||
* pistos
|
||||
* Quentin Glidic (SardemFF7)
|
||||
* Quico Noizeux
|
||||
* rettub
|
||||
* Rudolf Polzer (divVerent)
|
||||
* Ryuunosuke Ayanokouzi
|
||||
* Sergio Durigan Junior
|
||||
* Simon Arlott
|
||||
* Simon Kuhnle
|
||||
* Stefano Pigozzi
|
||||
* voroskoi
|
||||
|
||||
|
||||
Contact
|
||||
-------
|
||||
|
||||
Developers are connected to IRC:
|
||||
|
||||
* server: 'irc.freenode.net'
|
||||
* channels: '#weechat' (english) and '#weechat-fr' (french)
|
||||
See README file for licence detail.
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
WeeChat - Wee Enhanced Environment for Chat
|
||||
===========================================
|
||||
|
||||
WeeChat known bugs, 2003-09-27
|
||||
|
||||
- too much nicks in the channel (> height of window) => display bug
|
||||
- some IRC commands are marked as 'unknown' when received
|
||||
(irc protocol is under dev!)
|
||||
- bug in nicklist resize (sometimes resize doesn't work and there is display
|
||||
problem)
|
||||
- alias/unalias commands doesn't work
|
||||
- config is not saved (to ~/.weechat/weechatrc)
|
||||
- intercept Ctrl-C (do not quit immediately if Ctrl-C pressed!)
|
||||
- program is stopped when bad option in config file (it should not, only display
|
||||
warning)
|
||||
- too much opened channel => display bug
|
||||
- when kicked, channel is not prefixed by '(' and sufixed by ')'
|
||||
-174
@@ -1,174 +0,0 @@
|
||||
#
|
||||
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2007-2008 Julien Louis <ptitlouis@sysif.net>
|
||||
# Copyright (C) 2008-2009 Emmanuel Bouthenot <kolter@openics.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
# WeeChat is free software; you can redistribute it and/or modify
|
||||
# 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/>.
|
||||
#
|
||||
|
||||
PROJECT(weechat C)
|
||||
|
||||
cmake_minimum_required(VERSION 2.4)
|
||||
|
||||
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)
|
||||
|
||||
SET(VERSION_MAJOR "0")
|
||||
SET(VERSION_MINOR "4")
|
||||
SET(VERSION_PATCH "2")
|
||||
SET(VERSION ${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH})
|
||||
SET(LICENSE "GPL3")
|
||||
SET(PKG_STRING "${PROJECT_NAME} ${VERSION}")
|
||||
STRING(REPLACE "\";\"" "\ " PKG_STRING ${PKG_STRING})
|
||||
|
||||
IF(DEFINED LIBDIR)
|
||||
SET(LIBDIR ${LIBDIR}/${PROJECT_NAME})
|
||||
ELSE(DEFINED LIBDIR)
|
||||
SET(LIBDIR ${CMAKE_INSTALL_PREFIX}/lib/${PROJECT_NAME})
|
||||
ENDIF(DEFINED LIBDIR)
|
||||
|
||||
IF(NOT DEFINED SHAREDIR)
|
||||
SET(SHAREDIR ${CMAKE_INSTALL_PREFIX}/share)
|
||||
ENDIF(NOT DEFINED SHAREDIR)
|
||||
|
||||
IF(NOT DEFINED MANDIR)
|
||||
SET(MANDIR ${SHAREDIR}/man)
|
||||
ENDIF(NOT DEFINED MANDIR)
|
||||
|
||||
IF(NOT DEFINED LOCALEDIR)
|
||||
SET(LOCALEDIR ${SHAREDIR}/locale)
|
||||
ENDIF(NOT DEFINED LOCALEDIR)
|
||||
|
||||
IF(DEFINED INCLUDEDIR)
|
||||
SET(INCLUDEDIR ${INCLUDEDIR}/${PROJECT_NAME})
|
||||
ELSE(DEFINED INCLUDEDIR)
|
||||
SET(INCLUDEDIR ${CMAKE_INSTALL_PREFIX}/include/${PROJECT_NAME})
|
||||
ENDIF(DEFINED INCLUDEDIR)
|
||||
|
||||
OPTION(ENABLE_NCURSES "Enable Ncurses interface" ON)
|
||||
OPTION(ENABLE_NLS "Enable Native Language Support" ON)
|
||||
OPTION(ENABLE_GNUTLS "Enable SSLv3/TLS support" ON)
|
||||
OPTION(ENABLE_LARGEFILE "Enable Large File Support" ON)
|
||||
OPTION(ENABLE_ALIAS "Enable Alias plugin" ON)
|
||||
OPTION(ENABLE_ASPELL "Enable Aspell plugin" ON)
|
||||
OPTION(ENABLE_ENCHANT "Enable Enchant lib for Aspell plugin" OFF)
|
||||
OPTION(ENABLE_CHARSET "Enable Charset plugin" ON)
|
||||
OPTION(ENABLE_FIFO "Enable FIFO plugin" ON)
|
||||
OPTION(ENABLE_IRC "Enable IRC plugin" ON)
|
||||
OPTION(ENABLE_LOGGER "Enable Logger plugin" ON)
|
||||
OPTION(ENABLE_RELAY "Enable Relay plugin" ON)
|
||||
OPTION(ENABLE_RMODIFIER "Enable Rmodifier plugin" ON)
|
||||
OPTION(ENABLE_SCRIPT "Enable Script plugin (scripts manager)" ON)
|
||||
OPTION(ENABLE_SCRIPTS "Enable script plugins (perl, python, ...)" ON)
|
||||
OPTION(ENABLE_PERL "Enable Perl scripting language" ON)
|
||||
OPTION(ENABLE_PYTHON "Enable Python scripting language" ON)
|
||||
OPTION(ENABLE_PYTHON3 "Use Python 3.x if found (NOT recommended)" OFF)
|
||||
OPTION(ENABLE_RUBY "Enable Ruby scripting language" ON)
|
||||
OPTION(ENABLE_LUA "Enable Lua scripting language" ON)
|
||||
OPTION(ENABLE_TCL "Enable Tcl scripting language" ON)
|
||||
OPTION(ENABLE_GUILE "Enable Scheme (guile) scripting language" ON)
|
||||
OPTION(ENABLE_XFER "Enable Xfer plugin" ON)
|
||||
OPTION(ENABLE_MAN "Enable build of man page" OFF)
|
||||
OPTION(ENABLE_DOC "Enable build of documentation" OFF)
|
||||
|
||||
# option WEECHAT_HOME
|
||||
IF(NOT DEFINED WEECHAT_HOME OR "${WEECHAT_HOME}" STREQUAL "")
|
||||
SET(WEECHAT_HOME "~/.weechat")
|
||||
ENDIF(NOT DEFINED WEECHAT_HOME OR "${WEECHAT_HOME}" STREQUAL "")
|
||||
SET(WEECHAT_HOME "${WEECHAT_HOME}" CACHE
|
||||
STRING "WeeChat home directory for config, logs, scripts.. (default is \"~/.weechat\")"
|
||||
FORCE)
|
||||
MARK_AS_ADVANCED(CLEAR WEECHAT_HOME)
|
||||
|
||||
# option CA_FILE
|
||||
IF(NOT DEFINED CA_FILE OR "${CA_FILE}" STREQUAL "")
|
||||
SET(CA_FILE "/etc/ssl/certs/ca-certificates.crt")
|
||||
ENDIF(NOT DEFINED CA_FILE OR "${CA_FILE}" STREQUAL "")
|
||||
SET(CA_FILE "${CA_FILE}" CACHE
|
||||
STRING "File containing the certificate authorities (default is \"/etc/ssl/certs/ca-certificates.crt\"). This is the default value of option \"weechat.network.gnutls_ca_file\"."
|
||||
FORCE)
|
||||
MARK_AS_ADVANCED(CLEAR CA_FILE)
|
||||
|
||||
IF(ENABLE_NLS)
|
||||
ADD_SUBDIRECTORY( po )
|
||||
ENDIF(ENABLE_NLS)
|
||||
|
||||
ADD_SUBDIRECTORY( src )
|
||||
ADD_SUBDIRECTORY( doc )
|
||||
|
||||
CONFIGURE_FILE(config.h.cmake config.h @ONLY)
|
||||
|
||||
# set the git version in "config-git.h"
|
||||
ADD_CUSTOM_TARGET(version_git ALL
|
||||
COMMAND "${CMAKE_CURRENT_SOURCE_DIR}/git-version.sh" "${CMAKE_CURRENT_SOURCE_DIR}" "${VERSION}" "config-git.h"
|
||||
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}")
|
||||
|
||||
CONFIGURE_FILE(
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/cmake/cmake_uninstall.cmake.in"
|
||||
"${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake"
|
||||
IMMEDIATE @ONLY)
|
||||
|
||||
ADD_CUSTOM_TARGET(uninstall
|
||||
"${CMAKE_COMMAND}" -P "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake")
|
||||
|
||||
ADD_CUSTOM_TARGET(dist
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/makedist.sh" "${VERSION}" "HEAD"
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
|
||||
|
||||
# pkgconfig file
|
||||
SET(PACKAGE "${PROJECT_NAME}")
|
||||
SET(prefix "${CMAKE_INSTALL_PREFIX}")
|
||||
SET(exec_prefix "\${prefix}")
|
||||
SET(libdir "\${exec_prefix}/lib")
|
||||
SET(includedir "\${prefix}/include")
|
||||
CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/weechat.pc.in ${CMAKE_CURRENT_BINARY_DIR}/weechat.pc @ONLY)
|
||||
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat.pc DESTINATION ${LIBDIR}/../pkgconfig)
|
||||
|
||||
# icon
|
||||
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/weechat.png DESTINATION ${SHAREDIR}/icons/hicolor/32x32/apps)
|
||||
|
||||
# packages
|
||||
SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Fast, light and extensible chat client")
|
||||
SET(CPACK_PACKAGE_VENDOR "Sebastien Helleu")
|
||||
SET(CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_CURRENT_SOURCE_DIR}/README")
|
||||
SET(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/COPYING")
|
||||
SET(CPACK_PACKAGE_VERSION_MAJOR ${VERSION_MAJOR})
|
||||
SET(CPACK_PACKAGE_VERSION_MINOR ${VERSION_MINOR})
|
||||
SET(CPACK_PACKAGE_VERSION_PATCH ${VERSION_PATCH})
|
||||
|
||||
# binary package
|
||||
SET(CPACK_GENERATOR "STGZ;TGZ;TBZ2")
|
||||
SET(CPACK_PACKAGE_FILE_NAME weechat-binary-${VERSION})
|
||||
|
||||
# source package
|
||||
SET(CPACK_SOURCE_GENERATOR "TGZ;TBZ2")
|
||||
SET(CPACK_SOURCE_PACKAGE_FILE_NAME weechat-${VERSION})
|
||||
SET(CPACK_SOURCE_IGNORE_FILES "/\\\\.git" "/build/" "/m4/"
|
||||
"/autom4te\\\\.cache/" "/ABOUT-NLS$" "/config\\\\.guess$" "/config\\\\.h$"
|
||||
"/config\\\\.h.in$" "/config\\\\.log$" "/config\\\\.rpath$"
|
||||
"/config\\\\.status$" "/config\\\\.sub$" "/configure$" "/depcomp$"
|
||||
"/install-sh$" "/missing$" "/intl/" "/libtool$" "/\\\\.libs/"
|
||||
"/ltmain\\\\.sh$" "/\\\\.deps/" "/html/" "/html1/" "/Makefile$"
|
||||
"/Makefile\\\\.in$" "stamp" "/po/.*\\\\.header$" "\\\\.gmo$" "~$" "\\\\.o$"
|
||||
"\\\\.lo$" "\\\\.a$" "\\\\.la$" "\\\\.lai$" "\\\\.Plo$" "/weechat$"
|
||||
)
|
||||
|
||||
INCLUDE(CPack)
|
||||
@@ -1,626 +1,285 @@
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 3, 29 June 2007
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 2, June 1991
|
||||
|
||||
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
|
||||
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
|
||||
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
Preamble
|
||||
Preamble
|
||||
|
||||
The GNU General Public License is a free, copyleft license for
|
||||
software and other kinds of works.
|
||||
|
||||
The licenses for most software and other practical works are designed
|
||||
to take away your freedom to share and change the works. By contrast,
|
||||
the GNU General Public License is intended to guarantee your freedom to
|
||||
share and change all versions of a program--to make sure it remains free
|
||||
software for all its users. We, the Free Software Foundation, use the
|
||||
GNU General Public License for most of our software; it applies also to
|
||||
any other work released this way by its authors. You can apply it to
|
||||
The licenses for most software are designed to take away your
|
||||
freedom to share and change it. By contrast, the GNU General Public
|
||||
License is intended to guarantee your freedom to share and change free
|
||||
software--to make sure the software is free for all its users. This
|
||||
General Public License applies to most of the Free Software
|
||||
Foundation's software and to any other program whose authors commit to
|
||||
using it. (Some other Free Software Foundation software is covered by
|
||||
the GNU Library General Public License instead.) You can apply it to
|
||||
your programs, too.
|
||||
|
||||
When we speak of free software, we are referring to freedom, not
|
||||
price. Our General Public Licenses are designed to make sure that you
|
||||
have the freedom to distribute copies of free software (and charge for
|
||||
them if you wish), that you receive source code or can get it if you
|
||||
want it, that you can change the software or use pieces of it in new
|
||||
free programs, and that you know you can do these things.
|
||||
this service if you wish), that you receive source code or can get it
|
||||
if you want it, that you can change the software or use pieces of it
|
||||
in new free programs; and that you know you can do these things.
|
||||
|
||||
To protect your rights, we need to prevent others from denying you
|
||||
these rights or asking you to surrender the rights. Therefore, you have
|
||||
certain responsibilities if you distribute copies of the software, or if
|
||||
you modify it: responsibilities to respect the freedom of others.
|
||||
To protect your rights, we need to make restrictions that forbid
|
||||
anyone to deny you these rights or to ask you to surrender the rights.
|
||||
These restrictions translate to certain responsibilities for you if you
|
||||
distribute copies of the software, or if you modify it.
|
||||
|
||||
For example, if you distribute copies of such a program, whether
|
||||
gratis or for a fee, you must pass on to the recipients the same
|
||||
freedoms that you received. You must make sure that they, too, receive
|
||||
or can get the source code. And you must show them these terms so they
|
||||
know their rights.
|
||||
gratis or for a fee, you must give the recipients all the rights that
|
||||
you have. You must make sure that they, too, receive or can get the
|
||||
source code. And you must show them these terms so they know their
|
||||
rights.
|
||||
|
||||
Developers that use the GNU GPL protect your rights with two steps:
|
||||
(1) assert copyright on the software, and (2) offer you this License
|
||||
giving you legal permission to copy, distribute and/or modify it.
|
||||
We protect your rights with two steps: (1) copyright the software, and
|
||||
(2) offer you this license which gives you legal permission to copy,
|
||||
distribute and/or modify the software.
|
||||
|
||||
For the developers' and authors' protection, the GPL clearly explains
|
||||
that there is no warranty for this free software. For both users' and
|
||||
authors' sake, the GPL requires that modified versions be marked as
|
||||
changed, so that their problems will not be attributed erroneously to
|
||||
authors of previous versions.
|
||||
Also, for each author's protection and ours, we want to make certain
|
||||
that everyone understands that there is no warranty for this free
|
||||
software. If the software is modified by someone else and passed on, we
|
||||
want its recipients to know that what they have is not the original, so
|
||||
that any problems introduced by others will not reflect on the original
|
||||
authors' reputations.
|
||||
|
||||
Some devices are designed to deny users access to install or run
|
||||
modified versions of the software inside them, although the manufacturer
|
||||
can do so. This is fundamentally incompatible with the aim of
|
||||
protecting users' freedom to change the software. The systematic
|
||||
pattern of such abuse occurs in the area of products for individuals to
|
||||
use, which is precisely where it is most unacceptable. Therefore, we
|
||||
have designed this version of the GPL to prohibit the practice for those
|
||||
products. If such problems arise substantially in other domains, we
|
||||
stand ready to extend this provision to those domains in future versions
|
||||
of the GPL, as needed to protect the freedom of users.
|
||||
|
||||
Finally, every program is threatened constantly by software patents.
|
||||
States should not allow patents to restrict development and use of
|
||||
software on general-purpose computers, but in those that do, we wish to
|
||||
avoid the special danger that patents applied to a free program could
|
||||
make it effectively proprietary. To prevent this, the GPL assures that
|
||||
patents cannot be used to render the program non-free.
|
||||
Finally, any free program is threatened constantly by software
|
||||
patents. We wish to avoid the danger that redistributors of a free
|
||||
program will individually obtain patent licenses, in effect making the
|
||||
program proprietary. To prevent this, we have made it clear that any
|
||||
patent must be licensed for everyone's free use or not licensed at all.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow.
|
||||
|
||||
TERMS AND CONDITIONS
|
||||
|
||||
0. Definitions.
|
||||
|
||||
"This License" refers to version 3 of the GNU General Public License.
|
||||
|
||||
"Copyright" also means copyright-like laws that apply to other kinds of
|
||||
works, such as semiconductor masks.
|
||||
|
||||
"The Program" refers to any copyrightable work licensed under this
|
||||
License. Each licensee is addressed as "you". "Licensees" and
|
||||
"recipients" may be individuals or organizations.
|
||||
|
||||
To "modify" a work means to copy from or adapt all or part of the work
|
||||
in a fashion requiring copyright permission, other than the making of an
|
||||
exact copy. The resulting work is called a "modified version" of the
|
||||
earlier work or a work "based on" the earlier work.
|
||||
|
||||
A "covered work" means either the unmodified Program or a work based
|
||||
on the Program.
|
||||
|
||||
To "propagate" a work means to do anything with it that, without
|
||||
permission, would make you directly or secondarily liable for
|
||||
infringement under applicable copyright law, except executing it on a
|
||||
computer or modifying a private copy. Propagation includes copying,
|
||||
distribution (with or without modification), making available to the
|
||||
public, and in some countries other activities as well.
|
||||
|
||||
To "convey" a work means any kind of propagation that enables other
|
||||
parties to make or receive copies. Mere interaction with a user through
|
||||
a computer network, with no transfer of a copy, is not conveying.
|
||||
|
||||
An interactive user interface displays "Appropriate Legal Notices"
|
||||
to the extent that it includes a convenient and prominently visible
|
||||
feature that (1) displays an appropriate copyright notice, and (2)
|
||||
tells the user that there is no warranty for the work (except to the
|
||||
extent that warranties are provided), that licensees may convey the
|
||||
work under this License, and how to view a copy of this License. If
|
||||
the interface presents a list of user commands or options, such as a
|
||||
menu, a prominent item in the list meets this criterion.
|
||||
|
||||
1. Source Code.
|
||||
|
||||
The "source code" for a work means the preferred form of the work
|
||||
for making modifications to it. "Object code" means any non-source
|
||||
form of a work.
|
||||
|
||||
A "Standard Interface" means an interface that either is an official
|
||||
standard defined by a recognized standards body, or, in the case of
|
||||
interfaces specified for a particular programming language, one that
|
||||
is widely used among developers working in that language.
|
||||
|
||||
The "System Libraries" of an executable work include anything, other
|
||||
than the work as a whole, that (a) is included in the normal form of
|
||||
packaging a Major Component, but which is not part of that Major
|
||||
Component, and (b) serves only to enable use of the work with that
|
||||
Major Component, or to implement a Standard Interface for which an
|
||||
implementation is available to the public in source code form. A
|
||||
"Major Component", in this context, means a major essential component
|
||||
(kernel, window system, and so on) of the specific operating system
|
||||
(if any) on which the executable work runs, or a compiler used to
|
||||
produce the work, or an object code interpreter used to run it.
|
||||
|
||||
The "Corresponding Source" for a work in object code form means all
|
||||
the source code needed to generate, install, and (for an executable
|
||||
work) run the object code and to modify the work, including scripts to
|
||||
control those activities. However, it does not include the work's
|
||||
System Libraries, or general-purpose tools or generally available free
|
||||
programs which are used unmodified in performing those activities but
|
||||
which are not part of the work. For example, Corresponding Source
|
||||
includes interface definition files associated with source files for
|
||||
the work, and the source code for shared libraries and dynamically
|
||||
linked subprograms that the work is specifically designed to require,
|
||||
such as by intimate data communication or control flow between those
|
||||
subprograms and other parts of the work.
|
||||
|
||||
The Corresponding Source need not include anything that users
|
||||
can regenerate automatically from other parts of the Corresponding
|
||||
Source.
|
||||
|
||||
The Corresponding Source for a work in source code form is that
|
||||
same work.
|
||||
|
||||
2. Basic Permissions.
|
||||
|
||||
All rights granted under this License are granted for the term of
|
||||
copyright on the Program, and are irrevocable provided the stated
|
||||
conditions are met. This License explicitly affirms your unlimited
|
||||
permission to run the unmodified Program. The output from running a
|
||||
covered work is covered by this License only if the output, given its
|
||||
content, constitutes a covered work. This License acknowledges your
|
||||
rights of fair use or other equivalent, as provided by copyright law.
|
||||
|
||||
You may make, run and propagate covered works that you do not
|
||||
convey, without conditions so long as your license otherwise remains
|
||||
in force. You may convey covered works to others for the sole purpose
|
||||
of having them make modifications exclusively for you, or provide you
|
||||
with facilities for running those works, provided that you comply with
|
||||
the terms of this License in conveying all material for which you do
|
||||
not control copyright. Those thus making or running the covered works
|
||||
for you must do so exclusively on your behalf, under your direction
|
||||
and control, on terms that prohibit them from making any copies of
|
||||
your copyrighted material outside their relationship with you.
|
||||
|
||||
Conveying under any other circumstances is permitted solely under
|
||||
the conditions stated below. Sublicensing is not allowed; section 10
|
||||
makes it unnecessary.
|
||||
|
||||
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
|
||||
|
||||
No covered work shall be deemed part of an effective technological
|
||||
measure under any applicable law fulfilling obligations under article
|
||||
11 of the WIPO copyright treaty adopted on 20 December 1996, or
|
||||
similar laws prohibiting or restricting circumvention of such
|
||||
measures.
|
||||
|
||||
When you convey a covered work, you waive any legal power to forbid
|
||||
circumvention of technological measures to the extent such circumvention
|
||||
is effected by exercising rights under this License with respect to
|
||||
the covered work, and you disclaim any intention to limit operation or
|
||||
modification of the work as a means of enforcing, against the work's
|
||||
users, your or third parties' legal rights to forbid circumvention of
|
||||
technological measures.
|
||||
|
||||
4. Conveying Verbatim Copies.
|
||||
|
||||
You may convey verbatim copies of the Program's source code as you
|
||||
receive it, in any medium, provided that you conspicuously and
|
||||
appropriately publish on each copy an appropriate copyright notice;
|
||||
keep intact all notices stating that this License and any
|
||||
non-permissive terms added in accord with section 7 apply to the code;
|
||||
keep intact all notices of the absence of any warranty; and give all
|
||||
recipients a copy of this License along with the Program.
|
||||
|
||||
You may charge any price or no price for each copy that you convey,
|
||||
and you may offer support or warranty protection for a fee.
|
||||
|
||||
5. Conveying Modified Source Versions.
|
||||
|
||||
You may convey a work based on the Program, or the modifications to
|
||||
produce it from the Program, in the form of source code under the
|
||||
terms of section 4, provided that you also meet all of these conditions:
|
||||
|
||||
a) The work must carry prominent notices stating that you modified
|
||||
it, and giving a relevant date.
|
||||
|
||||
b) The work must carry prominent notices stating that it is
|
||||
released under this License and any conditions added under section
|
||||
7. This requirement modifies the requirement in section 4 to
|
||||
"keep intact all notices".
|
||||
|
||||
c) You must license the entire work, as a whole, under this
|
||||
License to anyone who comes into possession of a copy. This
|
||||
License will therefore apply, along with any applicable section 7
|
||||
additional terms, to the whole of the work, and all its parts,
|
||||
regardless of how they are packaged. This License gives no
|
||||
permission to license the work in any other way, but it does not
|
||||
invalidate such permission if you have separately received it.
|
||||
|
||||
d) If the work has interactive user interfaces, each must display
|
||||
Appropriate Legal Notices; however, if the Program has interactive
|
||||
interfaces that do not display Appropriate Legal Notices, your
|
||||
work need not make them do so.
|
||||
|
||||
A compilation of a covered work with other separate and independent
|
||||
works, which are not by their nature extensions of the covered work,
|
||||
and which are not combined with it such as to form a larger program,
|
||||
in or on a volume of a storage or distribution medium, is called an
|
||||
"aggregate" if the compilation and its resulting copyright are not
|
||||
used to limit the access or legal rights of the compilation's users
|
||||
beyond what the individual works permit. Inclusion of a covered work
|
||||
in an aggregate does not cause this License to apply to the other
|
||||
parts of the aggregate.
|
||||
|
||||
6. Conveying Non-Source Forms.
|
||||
|
||||
You may convey a covered work in object code form under the terms
|
||||
of sections 4 and 5, provided that you also convey the
|
||||
machine-readable Corresponding Source under the terms of this License,
|
||||
in one of these ways:
|
||||
|
||||
a) Convey the object code in, or embodied in, a physical product
|
||||
(including a physical distribution medium), accompanied by the
|
||||
Corresponding Source fixed on a durable physical medium
|
||||
customarily used for software interchange.
|
||||
|
||||
b) Convey the object code in, or embodied in, a physical product
|
||||
(including a physical distribution medium), accompanied by a
|
||||
written offer, valid for at least three years and valid for as
|
||||
long as you offer spare parts or customer support for that product
|
||||
model, to give anyone who possesses the object code either (1) a
|
||||
copy of the Corresponding Source for all the software in the
|
||||
product that is covered by this License, on a durable physical
|
||||
medium customarily used for software interchange, for a price no
|
||||
more than your reasonable cost of physically performing this
|
||||
conveying of source, or (2) access to copy the
|
||||
Corresponding Source from a network server at no charge.
|
||||
|
||||
c) Convey individual copies of the object code with a copy of the
|
||||
written offer to provide the Corresponding Source. This
|
||||
alternative is allowed only occasionally and noncommercially, and
|
||||
only if you received the object code with such an offer, in accord
|
||||
with subsection 6b.
|
||||
|
||||
d) Convey the object code by offering access from a designated
|
||||
place (gratis or for a charge), and offer equivalent access to the
|
||||
Corresponding Source in the same way through the same place at no
|
||||
further charge. You need not require recipients to copy the
|
||||
Corresponding Source along with the object code. If the place to
|
||||
copy the object code is a network server, the Corresponding Source
|
||||
may be on a different server (operated by you or a third party)
|
||||
that supports equivalent copying facilities, provided you maintain
|
||||
clear directions next to the object code saying where to find the
|
||||
Corresponding Source. Regardless of what server hosts the
|
||||
Corresponding Source, you remain obligated to ensure that it is
|
||||
available for as long as needed to satisfy these requirements.
|
||||
|
||||
e) Convey the object code using peer-to-peer transmission, provided
|
||||
you inform other peers where the object code and Corresponding
|
||||
Source of the work are being offered to the general public at no
|
||||
charge under subsection 6d.
|
||||
|
||||
A separable portion of the object code, whose source code is excluded
|
||||
from the Corresponding Source as a System Library, need not be
|
||||
included in conveying the object code work.
|
||||
|
||||
A "User Product" is either (1) a "consumer product", which means any
|
||||
tangible personal property which is normally used for personal, family,
|
||||
or household purposes, or (2) anything designed or sold for incorporation
|
||||
into a dwelling. In determining whether a product is a consumer product,
|
||||
doubtful cases shall be resolved in favor of coverage. For a particular
|
||||
product received by a particular user, "normally used" refers to a
|
||||
typical or common use of that class of product, regardless of the status
|
||||
of the particular user or of the way in which the particular user
|
||||
actually uses, or expects or is expected to use, the product. A product
|
||||
is a consumer product regardless of whether the product has substantial
|
||||
commercial, industrial or non-consumer uses, unless such uses represent
|
||||
the only significant mode of use of the product.
|
||||
|
||||
"Installation Information" for a User Product means any methods,
|
||||
procedures, authorization keys, or other information required to install
|
||||
and execute modified versions of a covered work in that User Product from
|
||||
a modified version of its Corresponding Source. The information must
|
||||
suffice to ensure that the continued functioning of the modified object
|
||||
code is in no case prevented or interfered with solely because
|
||||
modification has been made.
|
||||
|
||||
If you convey an object code work under this section in, or with, or
|
||||
specifically for use in, a User Product, and the conveying occurs as
|
||||
part of a transaction in which the right of possession and use of the
|
||||
User Product is transferred to the recipient in perpetuity or for a
|
||||
fixed term (regardless of how the transaction is characterized), the
|
||||
Corresponding Source conveyed under this section must be accompanied
|
||||
by the Installation Information. But this requirement does not apply
|
||||
if neither you nor any third party retains the ability to install
|
||||
modified object code on the User Product (for example, the work has
|
||||
been installed in ROM).
|
||||
|
||||
The requirement to provide Installation Information does not include a
|
||||
requirement to continue to provide support service, warranty, or updates
|
||||
for a work that has been modified or installed by the recipient, or for
|
||||
the User Product in which it has been modified or installed. Access to a
|
||||
network may be denied when the modification itself materially and
|
||||
adversely affects the operation of the network or violates the rules and
|
||||
protocols for communication across the network.
|
||||
|
||||
Corresponding Source conveyed, and Installation Information provided,
|
||||
in accord with this section must be in a format that is publicly
|
||||
documented (and with an implementation available to the public in
|
||||
source code form), and must require no special password or key for
|
||||
unpacking, reading or copying.
|
||||
|
||||
7. Additional Terms.
|
||||
|
||||
"Additional permissions" are terms that supplement the terms of this
|
||||
License by making exceptions from one or more of its conditions.
|
||||
Additional permissions that are applicable to the entire Program shall
|
||||
be treated as though they were included in this License, to the extent
|
||||
that they are valid under applicable law. If additional permissions
|
||||
apply only to part of the Program, that part may be used separately
|
||||
under those permissions, but the entire Program remains governed by
|
||||
this License without regard to the additional permissions.
|
||||
|
||||
When you convey a copy of a covered work, you may at your option
|
||||
remove any additional permissions from that copy, or from any part of
|
||||
it. (Additional permissions may be written to require their own
|
||||
removal in certain cases when you modify the work.) You may place
|
||||
additional permissions on material, added by you to a covered work,
|
||||
for which you have or can give appropriate copyright permission.
|
||||
|
||||
Notwithstanding any other provision of this License, for material you
|
||||
add to a covered work, you may (if authorized by the copyright holders of
|
||||
that material) supplement the terms of this License with terms:
|
||||
|
||||
a) Disclaiming warranty or limiting liability differently from the
|
||||
terms of sections 15 and 16 of this License; or
|
||||
|
||||
b) Requiring preservation of specified reasonable legal notices or
|
||||
author attributions in that material or in the Appropriate Legal
|
||||
Notices displayed by works containing it; or
|
||||
|
||||
c) Prohibiting misrepresentation of the origin of that material, or
|
||||
requiring that modified versions of such material be marked in
|
||||
reasonable ways as different from the original version; or
|
||||
|
||||
d) Limiting the use for publicity purposes of names of licensors or
|
||||
authors of the material; or
|
||||
|
||||
e) Declining to grant rights under trademark law for use of some
|
||||
trade names, trademarks, or service marks; or
|
||||
|
||||
f) Requiring indemnification of licensors and authors of that
|
||||
material by anyone who conveys the material (or modified versions of
|
||||
it) with contractual assumptions of liability to the recipient, for
|
||||
any liability that these contractual assumptions directly impose on
|
||||
those licensors and authors.
|
||||
|
||||
All other non-permissive additional terms are considered "further
|
||||
restrictions" within the meaning of section 10. If the Program as you
|
||||
received it, or any part of it, contains a notice stating that it is
|
||||
governed by this License along with a term that is a further
|
||||
restriction, you may remove that term. If a license document contains
|
||||
a further restriction but permits relicensing or conveying under this
|
||||
License, you may add to a covered work material governed by the terms
|
||||
of that license document, provided that the further restriction does
|
||||
not survive such relicensing or conveying.
|
||||
|
||||
If you add terms to a covered work in accord with this section, you
|
||||
must place, in the relevant source files, a statement of the
|
||||
additional terms that apply to those files, or a notice indicating
|
||||
where to find the applicable terms.
|
||||
|
||||
Additional terms, permissive or non-permissive, may be stated in the
|
||||
form of a separately written license, or stated as exceptions;
|
||||
the above requirements apply either way.
|
||||
|
||||
8. Termination.
|
||||
|
||||
You may not propagate or modify a covered work except as expressly
|
||||
provided under this License. Any attempt otherwise to propagate or
|
||||
modify it is void, and will automatically terminate your rights under
|
||||
this License (including any patent licenses granted under the third
|
||||
paragraph of section 11).
|
||||
|
||||
However, if you cease all violation of this License, then your
|
||||
license from a particular copyright holder is reinstated (a)
|
||||
provisionally, unless and until the copyright holder explicitly and
|
||||
finally terminates your license, and (b) permanently, if the copyright
|
||||
holder fails to notify you of the violation by some reasonable means
|
||||
prior to 60 days after the cessation.
|
||||
|
||||
Moreover, your license from a particular copyright holder is
|
||||
reinstated permanently if the copyright holder notifies you of the
|
||||
violation by some reasonable means, this is the first time you have
|
||||
received notice of violation of this License (for any work) from that
|
||||
copyright holder, and you cure the violation prior to 30 days after
|
||||
your receipt of the notice.
|
||||
|
||||
Termination of your rights under this section does not terminate the
|
||||
licenses of parties who have received copies or rights from you under
|
||||
this License. If your rights have been terminated and not permanently
|
||||
reinstated, you do not qualify to receive new licenses for the same
|
||||
material under section 10.
|
||||
|
||||
9. Acceptance Not Required for Having Copies.
|
||||
|
||||
You are not required to accept this License in order to receive or
|
||||
run a copy of the Program. Ancillary propagation of a covered work
|
||||
occurring solely as a consequence of using peer-to-peer transmission
|
||||
to receive a copy likewise does not require acceptance. However,
|
||||
nothing other than this License grants you permission to propagate or
|
||||
modify any covered work. These actions infringe copyright if you do
|
||||
not accept this License. Therefore, by modifying or propagating a
|
||||
covered work, you indicate your acceptance of this License to do so.
|
||||
|
||||
10. Automatic Licensing of Downstream Recipients.
|
||||
|
||||
Each time you convey a covered work, the recipient automatically
|
||||
receives a license from the original licensors, to run, modify and
|
||||
propagate that work, subject to this License. You are not responsible
|
||||
for enforcing compliance by third parties with this License.
|
||||
|
||||
An "entity transaction" is a transaction transferring control of an
|
||||
organization, or substantially all assets of one, or subdividing an
|
||||
organization, or merging organizations. If propagation of a covered
|
||||
work results from an entity transaction, each party to that
|
||||
transaction who receives a copy of the work also receives whatever
|
||||
licenses to the work the party's predecessor in interest had or could
|
||||
give under the previous paragraph, plus a right to possession of the
|
||||
Corresponding Source of the work from the predecessor in interest, if
|
||||
the predecessor has it or can get it with reasonable efforts.
|
||||
|
||||
You may not impose any further restrictions on the exercise of the
|
||||
rights granted or affirmed under this License. For example, you may
|
||||
not impose a license fee, royalty, or other charge for exercise of
|
||||
rights granted under this License, and you may not initiate litigation
|
||||
(including a cross-claim or counterclaim in a lawsuit) alleging that
|
||||
any patent claim is infringed by making, using, selling, offering for
|
||||
sale, or importing the Program or any portion of it.
|
||||
|
||||
11. Patents.
|
||||
|
||||
A "contributor" is a copyright holder who authorizes use under this
|
||||
License of the Program or a work on which the Program is based. The
|
||||
work thus licensed is called the contributor's "contributor version".
|
||||
|
||||
A contributor's "essential patent claims" are all patent claims
|
||||
owned or controlled by the contributor, whether already acquired or
|
||||
hereafter acquired, that would be infringed by some manner, permitted
|
||||
by this License, of making, using, or selling its contributor version,
|
||||
but do not include claims that would be infringed only as a
|
||||
consequence of further modification of the contributor version. For
|
||||
purposes of this definition, "control" includes the right to grant
|
||||
patent sublicenses in a manner consistent with the requirements of
|
||||
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||
|
||||
0. This License applies to any program or other work which contains
|
||||
a notice placed by the copyright holder saying it may be distributed
|
||||
under the terms of this General Public License. The "Program", below,
|
||||
refers to any such program or work, and a "work based on the Program"
|
||||
means either the Program or any derivative work under copyright law:
|
||||
that is to say, a work containing the Program or a portion of it,
|
||||
either verbatim or with modifications and/or translated into another
|
||||
language. (Hereinafter, translation is included without limitation in
|
||||
the term "modification".) Each licensee is addressed as "you".
|
||||
|
||||
Activities other than copying, distribution and modification are not
|
||||
covered by this License; they are outside its scope. The act of
|
||||
running the Program is not restricted, and the output from the Program
|
||||
is covered only if its contents constitute a work based on the
|
||||
Program (independent of having been made by running the Program).
|
||||
Whether that is true depends on what the Program does.
|
||||
|
||||
1. You may copy and distribute verbatim copies of the Program's
|
||||
source code as you receive it, in any medium, provided that you
|
||||
conspicuously and appropriately publish on each copy an appropriate
|
||||
copyright notice and disclaimer of warranty; keep intact all the
|
||||
notices that refer to this License and to the absence of any warranty;
|
||||
and give any other recipients of the Program a copy of this License
|
||||
along with the Program.
|
||||
|
||||
You may charge a fee for the physical act of transferring a copy, and
|
||||
you may at your option offer warranty protection in exchange for a fee.
|
||||
|
||||
2. You may modify your copy or copies of the Program or any portion
|
||||
of it, thus forming a work based on the Program, and copy and
|
||||
distribute such modifications or work under the terms of Section 1
|
||||
above, provided that you also meet all of these conditions:
|
||||
|
||||
a) You must cause the modified files to carry prominent notices
|
||||
stating that you changed the files and the date of any change.
|
||||
|
||||
b) You must cause any work that you distribute or publish, that in
|
||||
whole or in part contains or is derived from the Program or any
|
||||
part thereof, to be licensed as a whole at no charge to all third
|
||||
parties under the terms of this License.
|
||||
|
||||
c) If the modified program normally reads commands interactively
|
||||
when run, you must cause it, when started running for such
|
||||
interactive use in the most ordinary way, to print or display an
|
||||
announcement including an appropriate copyright notice and a
|
||||
notice that there is no warranty (or else, saying that you provide
|
||||
a warranty) and that users may redistribute the program under
|
||||
these conditions, and telling the user how to view a copy of this
|
||||
License. (Exception: if the Program itself is interactive but
|
||||
does not normally print such an announcement, your work based on
|
||||
the Program is not required to print an announcement.)
|
||||
|
||||
These requirements apply to the modified work as a whole. If
|
||||
identifiable sections of that work are not derived from the Program,
|
||||
and can be reasonably considered independent and separate works in
|
||||
themselves, then this License, and its terms, do not apply to those
|
||||
sections when you distribute them as separate works. But when you
|
||||
distribute the same sections as part of a whole which is a work based
|
||||
on the Program, the distribution of the whole must be on the terms of
|
||||
this License, whose permissions for other licensees extend to the
|
||||
entire whole, and thus to each and every part regardless of who wrote it.
|
||||
|
||||
Thus, it is not the intent of this section to claim rights or contest
|
||||
your rights to work written entirely by you; rather, the intent is to
|
||||
exercise the right to control the distribution of derivative or
|
||||
collective works based on the Program.
|
||||
|
||||
In addition, mere aggregation of another work not based on the Program
|
||||
with the Program (or with a work based on the Program) on a volume of
|
||||
a storage or distribution medium does not bring the other work under
|
||||
the scope of this License.
|
||||
|
||||
3. You may copy and distribute the Program (or a work based on it,
|
||||
under Section 2) in object code or executable form under the terms of
|
||||
Sections 1 and 2 above provided that you also do one of the following:
|
||||
|
||||
a) Accompany it with the complete corresponding machine-readable
|
||||
source code, which must be distributed under the terms of Sections
|
||||
1 and 2 above on a medium customarily used for software interchange; or,
|
||||
|
||||
b) Accompany it with a written offer, valid for at least three
|
||||
years, to give any third party, for a charge no more than your
|
||||
cost of physically performing source distribution, a complete
|
||||
machine-readable copy of the corresponding source code, to be
|
||||
distributed under the terms of Sections 1 and 2 above on a medium
|
||||
customarily used for software interchange; or,
|
||||
|
||||
c) Accompany it with the information you received as to the offer
|
||||
to distribute corresponding source code. (This alternative is
|
||||
allowed only for noncommercial distribution and only if you
|
||||
received the program in object code or executable form with such
|
||||
an offer, in accord with Subsection b above.)
|
||||
|
||||
The source code for a work means the preferred form of the work for
|
||||
making modifications to it. For an executable work, complete source
|
||||
code means all the source code for all modules it contains, plus any
|
||||
associated interface definition files, plus the scripts used to
|
||||
control compilation and installation of the executable. However, as a
|
||||
special exception, the source code distributed need not include
|
||||
anything that is normally distributed (in either source or binary
|
||||
form) with the major components (compiler, kernel, and so on) of the
|
||||
operating system on which the executable runs, unless that component
|
||||
itself accompanies the executable.
|
||||
|
||||
If distribution of executable or object code is made by offering
|
||||
access to copy from a designated place, then offering equivalent
|
||||
access to copy the source code from the same place counts as
|
||||
distribution of the source code, even though third parties are not
|
||||
compelled to copy the source along with the object code.
|
||||
|
||||
4. You may not copy, modify, sublicense, or distribute the Program
|
||||
except as expressly provided under this License. Any attempt
|
||||
otherwise to copy, modify, sublicense or distribute the Program is
|
||||
void, and will automatically terminate your rights under this License.
|
||||
However, parties who have received copies, or rights, from you under
|
||||
this License will not have their licenses terminated so long as such
|
||||
parties remain in full compliance.
|
||||
|
||||
5. You are not required to accept this License, since you have not
|
||||
signed it. However, nothing else grants you permission to modify or
|
||||
distribute the Program or its derivative works. These actions are
|
||||
prohibited by law if you do not accept this License. Therefore, by
|
||||
modifying or distributing the Program (or any work based on the
|
||||
Program), you indicate your acceptance of this License to do so, and
|
||||
all its terms and conditions for copying, distributing or modifying
|
||||
the Program or works based on it.
|
||||
|
||||
6. Each time you redistribute the Program (or any work based on the
|
||||
Program), the recipient automatically receives a license from the
|
||||
original licensor to copy, distribute or modify the Program subject to
|
||||
these terms and conditions. You may not impose any further
|
||||
restrictions on the recipients' exercise of the rights granted herein.
|
||||
You are not responsible for enforcing compliance by third parties to
|
||||
this License.
|
||||
|
||||
Each contributor grants you a non-exclusive, worldwide, royalty-free
|
||||
patent license under the contributor's essential patent claims, to
|
||||
make, use, sell, offer for sale, import and otherwise run, modify and
|
||||
propagate the contents of its contributor version.
|
||||
|
||||
In the following three paragraphs, a "patent license" is any express
|
||||
agreement or commitment, however denominated, not to enforce a patent
|
||||
(such as an express permission to practice a patent or covenant not to
|
||||
sue for patent infringement). To "grant" such a patent license to a
|
||||
party means to make such an agreement or commitment not to enforce a
|
||||
patent against the party.
|
||||
|
||||
If you convey a covered work, knowingly relying on a patent license,
|
||||
and the Corresponding Source of the work is not available for anyone
|
||||
to copy, free of charge and under the terms of this License, through a
|
||||
publicly available network server or other readily accessible means,
|
||||
then you must either (1) cause the Corresponding Source to be so
|
||||
available, or (2) arrange to deprive yourself of the benefit of the
|
||||
patent license for this particular work, or (3) arrange, in a manner
|
||||
consistent with the requirements of this License, to extend the patent
|
||||
license to downstream recipients. "Knowingly relying" means you have
|
||||
actual knowledge that, but for the patent license, your conveying the
|
||||
covered work in a country, or your recipient's use of the covered work
|
||||
in a country, would infringe one or more identifiable patents in that
|
||||
country that you have reason to believe are valid.
|
||||
|
||||
If, pursuant to or in connection with a single transaction or
|
||||
arrangement, you convey, or propagate by procuring conveyance of, a
|
||||
covered work, and grant a patent license to some of the parties
|
||||
receiving the covered work authorizing them to use, propagate, modify
|
||||
or convey a specific copy of the covered work, then the patent license
|
||||
you grant is automatically extended to all recipients of the covered
|
||||
work and works based on it.
|
||||
|
||||
A patent license is "discriminatory" if it does not include within
|
||||
the scope of its coverage, prohibits the exercise of, or is
|
||||
conditioned on the non-exercise of one or more of the rights that are
|
||||
specifically granted under this License. You may not convey a covered
|
||||
work if you are a party to an arrangement with a third party that is
|
||||
in the business of distributing software, under which you make payment
|
||||
to the third party based on the extent of your activity of conveying
|
||||
the work, and under which the third party grants, to any of the
|
||||
parties who would receive the covered work from you, a discriminatory
|
||||
patent license (a) in connection with copies of the covered work
|
||||
conveyed by you (or copies made from those copies), or (b) primarily
|
||||
for and in connection with specific products or compilations that
|
||||
contain the covered work, unless you entered into that arrangement,
|
||||
or that patent license was granted, prior to 28 March 2007.
|
||||
|
||||
Nothing in this License shall be construed as excluding or limiting
|
||||
any implied license or other defenses to infringement that may
|
||||
otherwise be available to you under applicable patent law.
|
||||
|
||||
12. No Surrender of Others' Freedom.
|
||||
|
||||
If conditions are imposed on you (whether by court order, agreement or
|
||||
7. If, as a consequence of a court judgment or allegation of patent
|
||||
infringement or for any other reason (not limited to patent issues),
|
||||
conditions are imposed on you (whether by court order, agreement or
|
||||
otherwise) that contradict the conditions of this License, they do not
|
||||
excuse you from the conditions of this License. If you cannot convey a
|
||||
covered work so as to satisfy simultaneously your obligations under this
|
||||
License and any other pertinent obligations, then as a consequence you may
|
||||
not convey it at all. For example, if you agree to terms that obligate you
|
||||
to collect a royalty for further conveying from those to whom you convey
|
||||
the Program, the only way you could satisfy both those terms and this
|
||||
License would be to refrain entirely from conveying the Program.
|
||||
excuse you from the conditions of this License. If you cannot
|
||||
distribute so as to satisfy simultaneously your obligations under this
|
||||
License and any other pertinent obligations, then as a consequence you
|
||||
may not distribute the Program at all. For example, if a patent
|
||||
license would not permit royalty-free redistribution of the Program by
|
||||
all those who receive copies directly or indirectly through you, then
|
||||
the only way you could satisfy both it and this License would be to
|
||||
refrain entirely from distribution of the Program.
|
||||
|
||||
13. Use with the GNU Affero General Public License.
|
||||
If any portion of this section is held invalid or unenforceable under
|
||||
any particular circumstance, the balance of the section is intended to
|
||||
apply and the section as a whole is intended to apply in other
|
||||
circumstances.
|
||||
|
||||
Notwithstanding any other provision of this License, you have
|
||||
permission to link or combine any covered work with a work licensed
|
||||
under version 3 of the GNU Affero General Public License into a single
|
||||
combined work, and to convey the resulting work. The terms of this
|
||||
License will continue to apply to the part which is the covered work,
|
||||
but the special requirements of the GNU Affero General Public License,
|
||||
section 13, concerning interaction through a network will apply to the
|
||||
combination as such.
|
||||
It is not the purpose of this section to induce you to infringe any
|
||||
patents or other property right claims or to contest validity of any
|
||||
such claims; this section has the sole purpose of protecting the
|
||||
integrity of the free software distribution system, which is
|
||||
implemented by public license practices. Many people have made
|
||||
generous contributions to the wide range of software distributed
|
||||
through that system in reliance on consistent application of that
|
||||
system; it is up to the author/donor to decide if he or she is willing
|
||||
to distribute software through any other system and a licensee cannot
|
||||
impose that choice.
|
||||
|
||||
14. Revised Versions of this License.
|
||||
This section is intended to make thoroughly clear what is believed to
|
||||
be a consequence of the rest of this License.
|
||||
|
||||
8. If the distribution and/or use of the Program is restricted in
|
||||
certain countries either by patents or by copyrighted interfaces, the
|
||||
original copyright holder who places the Program under this License
|
||||
may add an explicit geographical distribution limitation excluding
|
||||
those countries, so that distribution is permitted only in or among
|
||||
countries not thus excluded. In such case, this License incorporates
|
||||
the limitation as if written in the body of this License.
|
||||
|
||||
The Free Software Foundation may publish revised and/or new versions of
|
||||
the GNU General Public License from time to time. Such new versions will
|
||||
9. The Free Software Foundation may publish revised and/or new versions
|
||||
of the General Public License from time to time. Such new versions will
|
||||
be similar in spirit to the present version, but may differ in detail to
|
||||
address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the
|
||||
Program specifies that a certain numbered version of the GNU General
|
||||
Public License "or any later version" applies to it, you have the
|
||||
option of following the terms and conditions either of that numbered
|
||||
version or of any later version published by the Free Software
|
||||
Foundation. If the Program does not specify a version number of the
|
||||
GNU General Public License, you may choose any version ever published
|
||||
by the Free Software Foundation.
|
||||
Each version is given a distinguishing version number. If the Program
|
||||
specifies a version number of this License which applies to it and "any
|
||||
later version", you have the option of following the terms and conditions
|
||||
either of that version or of any later version published by the Free
|
||||
Software Foundation. If the Program does not specify a version number of
|
||||
this License, you may choose any version ever published by the Free Software
|
||||
Foundation.
|
||||
|
||||
If the Program specifies that a proxy can decide which future
|
||||
versions of the GNU General Public License can be used, that proxy's
|
||||
public statement of acceptance of a version permanently authorizes you
|
||||
to choose that version for the Program.
|
||||
10. If you wish to incorporate parts of the Program into other free
|
||||
programs whose distribution conditions are different, write to the author
|
||||
to ask for permission. For software which is copyrighted by the Free
|
||||
Software Foundation, write to the Free Software Foundation; we sometimes
|
||||
make exceptions for this. Our decision will be guided by the two goals
|
||||
of preserving the free status of all derivatives of our free software and
|
||||
of promoting the sharing and reuse of software generally.
|
||||
|
||||
Later license versions may give you additional or different
|
||||
permissions. However, no additional obligations are imposed on any
|
||||
author or copyright holder as a result of your choosing to follow a
|
||||
later version.
|
||||
NO WARRANTY
|
||||
|
||||
15. Disclaimer of Warranty.
|
||||
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
|
||||
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
|
||||
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
|
||||
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
|
||||
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
|
||||
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
|
||||
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
|
||||
REPAIR OR CORRECTION.
|
||||
|
||||
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
|
||||
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
|
||||
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
|
||||
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
|
||||
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
|
||||
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
|
||||
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
||||
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
|
||||
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
|
||||
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
|
||||
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
|
||||
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
|
||||
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
|
||||
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
|
||||
POSSIBILITY OF SUCH DAMAGES.
|
||||
|
||||
16. Limitation of Liability.
|
||||
|
||||
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
|
||||
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
|
||||
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
|
||||
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
|
||||
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
|
||||
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
|
||||
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
|
||||
SUCH DAMAGES.
|
||||
|
||||
17. Interpretation of Sections 15 and 16.
|
||||
|
||||
If the disclaimer of warranty and limitation of liability provided
|
||||
above cannot be given local legal effect according to their terms,
|
||||
reviewing courts shall apply local law that most closely approximates
|
||||
an absolute waiver of all civil liability in connection with the
|
||||
Program, unless a warranty or assumption of liability accompanies a
|
||||
copy of the Program in return for a fee.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
How to Apply These Terms to Your New Programs
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
How to Apply These Terms to Your New Programs
|
||||
|
||||
If you develop a new program, and you want it to be of the greatest
|
||||
possible use to the public, the best way to achieve this is to make it
|
||||
@@ -628,15 +287,15 @@ free software which everyone can redistribute and change under these terms.
|
||||
|
||||
To do so, attach the following notices to the program. It is safest
|
||||
to attach them to the start of each source file to most effectively
|
||||
state the exclusion of warranty; and each file should have at least
|
||||
convey the exclusion of warranty; and each file should have at least
|
||||
the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
<one line to give the program's name and a brief idea of what it does.>
|
||||
Copyright (C) <year> <name of author>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
@@ -645,30 +304,37 @@ the "copyright" line and a pointer to where the full notice is found.
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
If the program does terminal interaction, make it output a short
|
||||
notice like this when it starts in an interactive mode:
|
||||
If the program is interactive, make it output a short notice like this
|
||||
when it starts in an interactive mode:
|
||||
|
||||
<program> Copyright (C) <year> <name of author>
|
||||
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||
Gnomovision version 69, Copyright (C) year name of author
|
||||
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||
This is free software, and you are welcome to redistribute it
|
||||
under certain conditions; type `show c' for details.
|
||||
|
||||
The hypothetical commands `show w' and `show c' should show the appropriate
|
||||
parts of the General Public License. Of course, your program's commands
|
||||
might be different; for a GUI interface, you would use an "about box".
|
||||
parts of the General Public License. Of course, the commands you use may
|
||||
be called something other than `show w' and `show c'; they could even be
|
||||
mouse-clicks or menu items--whatever suits your program.
|
||||
|
||||
You should also get your employer (if you work as a programmer) or school,
|
||||
if any, to sign a "copyright disclaimer" for the program, if necessary.
|
||||
For more information on this, and how to apply and follow the GNU GPL, see
|
||||
<http://www.gnu.org/licenses/>.
|
||||
You should also get your employer (if you work as a programmer) or your
|
||||
school, if any, to sign a "copyright disclaimer" for the program, if
|
||||
necessary. Here is a sample; alter the names:
|
||||
|
||||
The GNU General Public License does not permit incorporating your program
|
||||
into proprietary programs. If your program is a subroutine library, you
|
||||
may consider it more useful to permit linking proprietary applications with
|
||||
the library. If this is what you want to do, use the GNU Lesser General
|
||||
Public License instead of this License. But first, please read
|
||||
<http://www.gnu.org/philosophy/why-not-lgpl.html>.
|
||||
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
|
||||
`Gnomovision' (which makes passes at compilers) written by James Hacker.
|
||||
|
||||
<signature of Ty Coon>, 1 April 1989
|
||||
Ty Coon, President of Vice
|
||||
|
||||
This General Public License does not permit incorporating your program into
|
||||
proprietary programs. If your program is a subroutine library, you may
|
||||
consider it more useful to permit linking proprietary applications with the
|
||||
library. If this is what you want to do, use the GNU Library General
|
||||
Public License instead of this License.
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
WeeChat - Wee Enhanced Environment for Chat
|
||||
===========================================
|
||||
|
||||
WeeChat FAQ, 2003-09-19
|
||||
|
||||
<<< TO DO ! >>>
|
||||
@@ -1,48 +1,10 @@
|
||||
WeeChat Installation instructions
|
||||
=================================
|
||||
WeeChat - Installation instructions
|
||||
===================================
|
||||
|
||||
WeeChat can be built with cmake (recommended) or autotools.
|
||||
1) Run 'make'
|
||||
|
||||
[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.
|
||||
2) As root, run 'make install'
|
||||
|
||||
3) Enjoy ! :-)
|
||||
|
||||
Dependencies
|
||||
------------
|
||||
|
||||
Following packages are *required*:
|
||||
|
||||
* cmake
|
||||
* libncurses
|
||||
* libcurl
|
||||
* zlib
|
||||
* libgcrypt
|
||||
|
||||
Following packages are all optional:
|
||||
|
||||
* for i18n: gettext
|
||||
* for SSL: gnutls, ca-certificates
|
||||
* for spell checking: aspell
|
||||
* for scripting: python, perl, ruby, lua, tcl, guile
|
||||
* for building doc: asciidoc, source-highlight
|
||||
(for man page: xsltproc, docbook-xml, docbook-xsl)
|
||||
|
||||
For a complete list of dependencies and versions recommended, please look at
|
||||
'User's guide'.
|
||||
|
||||
|
||||
Installation With cmake
|
||||
-----------------------
|
||||
|
||||
------------------------------------------------------------------
|
||||
mkdir build
|
||||
cd build
|
||||
cmake .. -DPREFIX=/where/you/want/install -DCMAKE_BUILD_TYPE=Debug
|
||||
make
|
||||
make install (as root for installation in system directories)
|
||||
------------------------------------------------------------------
|
||||
|
||||
For more information or installation with autotools, please look at
|
||||
'User's guide': http://weechat.org/doc
|
||||
See AUTHORS for any support, feel free to contact us for any problem ;)
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
# Copyright (c) 2003 FlashCode <flashcode@flashtux.org>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
#
|
||||
|
||||
OUTPUT=weechat
|
||||
|
||||
all:
|
||||
cd src && make
|
||||
|
||||
install:
|
||||
@mkdir -v -p $(DESTDIR)/usr/$(LOCALRPM)/bin
|
||||
@cp -v src/$(OUTPUT) $(DESTDIR)/usr/$(LOCALRPM)/bin/
|
||||
@mkdir -v -p $(DESTDIR)/usr/share/man/man1
|
||||
@cp -v weechat.1 $(DESTDIR)/usr/share/man/man1/
|
||||
@echo -e "\n=== WeeChat installed!\n"
|
||||
|
||||
clean:
|
||||
cd src && make clean
|
||||
-69
@@ -1,69 +0,0 @@
|
||||
#
|
||||
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2005 Julien Louis <ptitlouis@sysif.net>
|
||||
# Copyright (C) 2006-2009 Emmanuel Bouthenot <kolter@openics.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
# WeeChat is free software; you can redistribute it and/or modify
|
||||
# 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/>.
|
||||
#
|
||||
|
||||
# This target will update file config-git.h with output of command "git describe"
|
||||
# (if needed, and only for a devel/rc version).
|
||||
BUILT_SOURCES = build-config-git.h
|
||||
build-config-git.h:
|
||||
-$(abs_top_srcdir)/git-version.sh "$(abs_top_srcdir)" "$(VERSION)" config-git.h
|
||||
|
||||
SUBDIRS = po doc intl src
|
||||
|
||||
EXTRA_DIST = CMakeLists.txt \
|
||||
config.rpath \
|
||||
config.h.cmake \
|
||||
git-version.sh \
|
||||
makedist.sh \
|
||||
cmake/CMakeParseArguments.cmake \
|
||||
cmake/FindAsciidoc.cmake \
|
||||
cmake/FindAspell.cmake \
|
||||
cmake/FindENCHANT.cmake \
|
||||
cmake/FindGCRYPT.cmake \
|
||||
cmake/FindGettext.cmake \
|
||||
cmake/FindGnuTLS.cmake \
|
||||
cmake/FindGuile.cmake \
|
||||
cmake/FindIconv.cmake \
|
||||
cmake/FindLua.cmake \
|
||||
cmake/FindNcurses.cmake \
|
||||
cmake/FindPackageHandleStandardArgs.cmake \
|
||||
cmake/FindPerl.cmake \
|
||||
cmake/FindPkgConfig.cmake \
|
||||
cmake/FindPython.cmake \
|
||||
cmake/FindRuby.cmake \
|
||||
cmake/FindSourcehighlight.cmake \
|
||||
cmake/FindTCL.cmake \
|
||||
cmake/FindZLIB.cmake \
|
||||
cmake/cmake_uninstall.cmake.in \
|
||||
po/CMakeLists.txt \
|
||||
po/srcfiles.cmake \
|
||||
weechat.png \
|
||||
weechat.pc.in
|
||||
|
||||
ACLOCAL_AMFLAGS = -I m4
|
||||
|
||||
pkgconfigdir = $(libdir)/pkgconfig
|
||||
pkgconfig_DATA = weechat.pc
|
||||
|
||||
icondir = $(datadir)/icons/hicolor/32x32/apps
|
||||
icon_DATA = weechat.png
|
||||
|
||||
clean-local:
|
||||
$(RM) config-git.h
|
||||
@@ -1,848 +1,6 @@
|
||||
WeeChat Release Notes
|
||||
=====================
|
||||
Sébastien Helleu <flashcode@flashtux.org>
|
||||
v0.4.2, 2013-10-06
|
||||
WeeChat - Wee Enhanced Environment for Chat
|
||||
===========================================
|
||||
|
||||
FlashCode, 2003-09-27
|
||||
|
||||
This document lists important changes for each version, that require manual
|
||||
actions. It is recommended to read it when upgrading to a new stable
|
||||
version.
|
||||
|
||||
For a complete list of changes, please look at
|
||||
http://weechat.org/files/changelog/ChangeLog-devel.html[ChangeLog]
|
||||
(file 'ChangeLog' in sources).
|
||||
|
||||
|
||||
Version 0.4.2 (2013-10-06)
|
||||
--------------------------
|
||||
|
||||
=== Day change message ===
|
||||
|
||||
The day change message is now dynamically displayed, and therefore is not stored
|
||||
as a line in buffer any more.
|
||||
|
||||
Option 'weechat.look.day_change_time_format' has been split into two options
|
||||
'weechat.look.day_change_message_{1date|2dates}' (color codes are allowed in
|
||||
these options, see `/help eval`).
|
||||
|
||||
New color option 'weechat.color.chat_day_change' has been added.
|
||||
|
||||
After `/upgrade` from an old version, you will see two messages for each day
|
||||
change. This is a normal behavior and will not happen again with the next day
|
||||
changes.
|
||||
|
||||
=== Regex search in buffer ===
|
||||
|
||||
Search with regular expression has been added, and therefore some keys in search
|
||||
context have been changed.
|
||||
|
||||
The key ctrl+"r" in search context is now used to switch string/regex search
|
||||
(instead of searching exact text).
|
||||
|
||||
If you never changed keys in search context, you can reset them all with one
|
||||
command:
|
||||
|
||||
----------------------------------------
|
||||
/key resetall -yes search
|
||||
----------------------------------------
|
||||
|
||||
Or the manual method:
|
||||
|
||||
----------------------------------------
|
||||
/key missing search
|
||||
/key bindctxt search ctrl-R /input search_switch_regex
|
||||
----------------------------------------
|
||||
|
||||
To view keys in search context:
|
||||
|
||||
----------------------------------------
|
||||
/key list search
|
||||
----------------------------------------
|
||||
|
||||
For more information, see the chapter about keys in the 'WeeChat User's guide'.
|
||||
|
||||
=== New rmodifier ===
|
||||
|
||||
A new rmodifier "secure" has been added to hide passphrase and passwords
|
||||
displayed by command "/secure". Use command `/rmodifier missing` to add it.
|
||||
|
||||
=== Color codes in options ===
|
||||
|
||||
The format for color codes in some options has changed. The options are
|
||||
evaluated with the function "string_eval_expression", which uses the format
|
||||
`${color:xxx}`.
|
||||
|
||||
Following options are affected:
|
||||
|
||||
* 'weechat.look.buffer_time_format'
|
||||
* 'weechat.look.prefix_action'
|
||||
* 'weechat.look.prefix_error'
|
||||
* 'weechat.look.prefix_join'
|
||||
* 'weechat.look.prefix_network'
|
||||
* 'weechat.look.prefix_quit'
|
||||
|
||||
The options using old format `${xxx}` must be changed with new format
|
||||
`${color:xxx}` (where xxx is a color name or number, with optional color
|
||||
attributes).
|
||||
|
||||
Example:
|
||||
|
||||
----------------------------------------
|
||||
/set weechat.look.buffer_time_format "${color:251}%H${color:243}%M${color:238}%S"
|
||||
----------------------------------------
|
||||
|
||||
=== Binary and man page ===
|
||||
|
||||
WeeChat binary and man page have been renamed from `weechat-curses` to
|
||||
`weechat`.
|
||||
|
||||
A symbolic link has been added for binary: `weechat-curses` -> `weechat`
|
||||
(so that the /upgrade from a old version will still work).
|
||||
|
||||
If you upgrade from an old version, it is recommended to force the use of the
|
||||
new binary name with the command: `/upgrade /path/to/weechat` (replace the path
|
||||
accordingly).
|
||||
|
||||
[NOTE]
|
||||
For packagers: you should create the link `weechat-curses` -> `weechat` if it's
|
||||
not automatically created in the package (both cmake and configure are creating
|
||||
this link on make install).
|
||||
|
||||
=== Man page / documentation ===
|
||||
|
||||
Documentation is not built by default any more, you have to use option
|
||||
`-DENABLE_DOC=ON` in cmake to enable it.
|
||||
|
||||
The man page is now built with asciidoc and translated in several
|
||||
languages. A new cmake option `ENABLE_MAN` has been added to compile man page
|
||||
(`OFF` by default).
|
||||
|
||||
=== Aspell colors ===
|
||||
|
||||
Option 'aspell.look.color' has been renamed to 'aspell.color.misspelled'.
|
||||
|
||||
Version 0.4.1 (2013-05-20)
|
||||
--------------------------
|
||||
|
||||
=== Nicklist diff in relay ===
|
||||
|
||||
A new message with identifier "_nicklist_diff" has been added in relay (WeeChat
|
||||
protocol). WeeChat may decide to send full nicklist or this nicklist diff at any
|
||||
time (depending on size of message, the smaller is sent).
|
||||
|
||||
Clients using nicklist must implement it.
|
||||
|
||||
For more info about content of message, see document 'WeeChat Relay Protocol'.
|
||||
|
||||
=== Dynamic nick prefix/suffix ===
|
||||
|
||||
The nick prefix/suffix (for example: "<" and ">") are now dynamic and used on
|
||||
display (not stored any more in the line).
|
||||
|
||||
Options moved from irc plugin (irc.conf) to core (weechat.conf):
|
||||
|
||||
* 'irc.look.nick_prefix' moved to 'weechat.look.nick_prefix'
|
||||
* 'irc.look.nick_suffix' moved to 'weechat.look.nick_suffix'
|
||||
* 'irc.color.nick_prefix' moved to 'weechat.color.chat_nick_prefix'
|
||||
* 'irc.color.nick_suffix' moved to 'weechat.color.chat_nick_suffix'
|
||||
|
||||
Types and default values for these four options remain unchanged.
|
||||
|
||||
Two new options to customize the truncature char (by default "`+`"):
|
||||
|
||||
* 'weechat.look.prefix_align_more_after' (boolean, 'on' by default)
|
||||
* 'weechat.look.prefix_buffer_align_more_after' (boolean, 'on' by default)
|
||||
|
||||
When these options are enabled (default), the "`+`" is displayed after the
|
||||
text, replacing the space that should be displayed there. +
|
||||
When turned off, the "`+`" will replace last char of text.
|
||||
|
||||
Example for a nicks "FlashCode" and "fc" with different values for options
|
||||
'weechat.look.prefix_align_max', 'weechat.look.prefix_align_more_after',
|
||||
'weechat.look.nick_prefix' and 'weechat.look.nick_suffix':
|
||||
|
||||
----------------------------------------
|
||||
# align_max, more_after, prefix/suffix
|
||||
|
||||
FlashCode │ test # 0, on
|
||||
fc │ test
|
||||
|
||||
FlashCod+│ test # 8, on
|
||||
fc │ test
|
||||
|
||||
FlashCo+ │ test # 8, off
|
||||
fc │ test
|
||||
|
||||
<FlashCode> │ test # 0, on, < >
|
||||
<fc> │ test
|
||||
|
||||
<FlashC>+│ test # 8, on, < >
|
||||
<fc> │ test
|
||||
|
||||
<Flash+> │ test # 8, off, < >
|
||||
<fc> │ test
|
||||
----------------------------------------
|
||||
|
||||
After `/upgrade`, if you set new options to non-empty strings, and if old
|
||||
options were set to non-empty strings too, you will see double prefix/suffix
|
||||
on old messages, this is normal behavior (lines displayed before `/upgrade`
|
||||
have prefix/suffix saved in prefix, but new lines don't have them any more).
|
||||
|
||||
New options in logger plugin (logger.conf):
|
||||
|
||||
* 'logger.file.nick_prefix': prefix for nicks in log files (default: empty
|
||||
string)
|
||||
* 'logger.file.nick_suffix': suffix for nicks in log files (default: empty
|
||||
string)
|
||||
|
||||
=== IRC reconnection on important lag ===
|
||||
|
||||
Option 'irc.network.lag_disconnect' has been renamed to
|
||||
'irc.network.lag_reconnect' and value is now a number of seconds (instead of
|
||||
minutes).
|
||||
|
||||
=== IRC passwords hidden ===
|
||||
|
||||
IRC plugin is now using modifiers "irc_command_auth" and "irc_message_auth" to
|
||||
hide passwords.
|
||||
|
||||
The option 'irc.look.hide_nickserv_pwd' has been removed, and a new option
|
||||
'irc.look.nicks_hide_password' has been added (by default passwords are hidden
|
||||
only for "nickserv").
|
||||
|
||||
A new rmodifier "message_auth" has been added to hide passwords displayed by
|
||||
command "/msg nickserv identify|register|ghost|release" and the rmodifier
|
||||
"nickserv" has been renamed to "command_auth".
|
||||
|
||||
If you never added/changed rmodifiers, you can just reset all rmodifiers:
|
||||
|
||||
----------------------------------------
|
||||
/rmodifier default -yes
|
||||
----------------------------------------
|
||||
|
||||
If you added/changed some rmodifiers, do it manually with these commands:
|
||||
|
||||
----------------------------------------
|
||||
/rmodifier del nickserv
|
||||
/rmodifier add command_auth history_add,input_text_display,irc_command_auth 1,4* ^(/(msg|quote) +nickserv +(id|identify|register|ghost \S+|release \S+) +)(.*)
|
||||
/rmodifier add message_auth irc_message_auth 1,3* ^(.*(id|identify|register|ghost \S+|release \S+) +)(.*)
|
||||
----------------------------------------
|
||||
|
||||
=== Lua constants ===
|
||||
|
||||
For consistency with other supported languages, the API constants in Lua have
|
||||
been redefined as constants instead of functions.
|
||||
|
||||
Therefore, the use of a constant must be changed: the parentheses must be
|
||||
removed.
|
||||
|
||||
The old syntax was:
|
||||
|
||||
[source,lua]
|
||||
----------------------------------------
|
||||
return weechat.WEECHAT_RC_OK()
|
||||
----------------------------------------
|
||||
|
||||
The new syntax is:
|
||||
|
||||
[source,lua]
|
||||
----------------------------------------
|
||||
return weechat.WEECHAT_RC_OK
|
||||
----------------------------------------
|
||||
|
||||
=== Guile callbacks ===
|
||||
|
||||
The way to give arguments for guile callbacks has been fixed: now arguments are
|
||||
sent individually (instead of a list with all arguments inside).
|
||||
|
||||
Therefore, existing guile scripts must be modified accordingly. Moreover,
|
||||
WeeChat now requires Guile ≥ 2.0 to compile.
|
||||
|
||||
Version 0.4.0 (2013-01-20)
|
||||
--------------------------
|
||||
|
||||
=== Conditions in bars ===
|
||||
|
||||
Conditions in bars have changed, and now an expression is evaluated.
|
||||
|
||||
If you have a value with many conditions in a bar, like: `nicklist,active`, you
|
||||
must now use an expression like: `${nicklist} && ${active}` (see the chapter
|
||||
about bars in the 'WeeChat User's guide').
|
||||
|
||||
=== IPv6 by default ===
|
||||
|
||||
==== IRC ====
|
||||
|
||||
IPv6 is now used by default to connect to IRC servers, with fallback to
|
||||
IPv4. The option 'irc.server_default.ipv6' is now "on" by default. If IPv6 is
|
||||
not enabled or fails, IPv4 will be used. The "ipv6" option in server is now used
|
||||
to disable IPv6 and force IPv4 (if option is turned "off").
|
||||
|
||||
==== Relay ====
|
||||
|
||||
Relay plugin is now listening by default on an IPv6 socket (new option
|
||||
'relay.network.ipv6', on by default), so connections with IPv4 will have
|
||||
IPv4-mapped IPv6 addresses, like: "::ffff:127.0.0.1" (for "127.0.0.1"); check
|
||||
that value of option 'relay.network.allowed_ips' supports this mapping, or
|
||||
disable IPv6 in relay if you don't plan to use it at all:
|
||||
|
||||
----------------------------------------
|
||||
/set relay.network.ipv6 off
|
||||
----------------------------------------
|
||||
|
||||
Version 0.3.9.2 (2012-11-18)
|
||||
----------------------------
|
||||
|
||||
This version fixes a security vulnerability when a plugin/script gives untrusted
|
||||
command to API function "hook_process".
|
||||
|
||||
Version 0.3.9.1 (2012-11-09)
|
||||
----------------------------
|
||||
|
||||
This version fixes crash when decoding IRC colors in strings.
|
||||
|
||||
Version 0.3.9 (2012-09-29)
|
||||
--------------------------
|
||||
|
||||
=== Options moved ===
|
||||
|
||||
Options moved from core (weechat.conf) to irc plugin (irc.conf):
|
||||
|
||||
* 'weechat.look.nickmode' moved to 'irc.look.nick_mode' (new type: integer
|
||||
with values: none/prefix/action/both)
|
||||
* 'weechat.look.nickmode_empty' moved to 'irc.look.nick_mode_empty'
|
||||
|
||||
=== New bar item buffer_modes ===
|
||||
|
||||
A new bar item has been added: 'buffer_modes' and irc option
|
||||
'irc.look.item_channel_modes' has been removed; to display irc channel modes in
|
||||
status bar (after channel name), you have to manually add the new item
|
||||
'buffer_modes' (this is now used by default in status bar items), default value
|
||||
for status bar items becomes:
|
||||
|
||||
----------------------------------------
|
||||
/set weechat.bar.status.items "[time],[buffer_count],[buffer_plugin],buffer_number+:+buffer_name+(buffer_modes)+{buffer_nicklist_count}+buffer_filter,[lag],[hotlist],completion,scroll"
|
||||
----------------------------------------
|
||||
|
||||
=== Command /aspell ===
|
||||
|
||||
New options in command `/aspell`:
|
||||
|
||||
* `enable`: enable aspell
|
||||
* `disable`: disable aspell
|
||||
* `toggle`: toggle aspell (new default key: alt+"s")
|
||||
|
||||
Options renamed in command `/aspell`:
|
||||
|
||||
* `enable` renamed to `setdict` (set dictionary for current buffer)
|
||||
* `disable` renamed to `deldict` (delete dictionary used on current buffer)
|
||||
* `dictlist` renamed to `listdict` (show installed dictionaries)
|
||||
|
||||
=== Horizontal separator ===
|
||||
|
||||
An horizontal separator has been added between split windows, and two options
|
||||
have been added to toggle separators (both are enabled by default):
|
||||
|
||||
* 'weechat.look.window_separator_horizontal'
|
||||
* 'weechat.look.window_separator_vertical'
|
||||
|
||||
=== New keys ===
|
||||
|
||||
New keys were added, use command `/key missing` to add them or `/key listdiff`
|
||||
to see differences between your current keys and WeeChat default keys.
|
||||
|
||||
Version 0.3.8 (2012-06-03)
|
||||
--------------------------
|
||||
|
||||
=== Options ===
|
||||
|
||||
Options 'weechat.look.prefix_align_more' and
|
||||
'weechat.look.prefix_buffer_align_more' have been converted from type boolean to
|
||||
string:
|
||||
|
||||
* if the value was on (default), new value is "+" and you can now customize this
|
||||
char
|
||||
* if the value was off, you have to set " " (string with one space)
|
||||
|
||||
=== Paste detection ===
|
||||
|
||||
Option 'weechat.look.paste_max_lines' can now be used with value 0 to detect
|
||||
paste with one line (only if terminal "bracketed paste mode" is enabled when
|
||||
option 'weechat.look.paste_bracketed' is on); so now the value -1 is used to
|
||||
disable paste detection: if your value was 0, you should set it to -1
|
||||
|
||||
----------------------------------------
|
||||
/set weechat.look.paste_max_lines -1
|
||||
----------------------------------------
|
||||
|
||||
=== Rmodifier ===
|
||||
|
||||
Rmodifier "nickserv" has a new default regex which includes option "release" for
|
||||
command "/msg nickserv".
|
||||
|
||||
If you never added/changed rmodifiers, you can just reset all rmodifiers:
|
||||
|
||||
----------------------------------------
|
||||
/rmodifier default -yes
|
||||
----------------------------------------
|
||||
|
||||
If you added/changed some rmodifiers, do it manually with these commands:
|
||||
|
||||
----------------------------------------
|
||||
/rmodifier del nickserv
|
||||
/rmodifier add nickserv history_add,input_text_display 1,4* ^(/(msg|quote) +nickserv +(id|identify|ghost \S+|release \S+) +)(.*)
|
||||
----------------------------------------
|
||||
|
||||
Version 0.3.7 (2012-02-26)
|
||||
--------------------------
|
||||
|
||||
=== Options ===
|
||||
|
||||
Option `scroll_unread` has been moved from command `/input` to `/window`,
|
||||
therefore default command of key alt+"u" has been updated. To bind key with new
|
||||
default value:
|
||||
|
||||
----------------------------------------
|
||||
/key bind meta-u /window scroll_unread
|
||||
----------------------------------------
|
||||
|
||||
Option 'weechat.history.max_lines' has been renamed to
|
||||
'weechat.history.max_buffer_lines_number'.
|
||||
|
||||
Option 'weechat.plugin.extension' now supports list of extensions, and new
|
||||
default value is ".so,.dll" (with this value, weechat.conf is compatible with
|
||||
Cygwin).
|
||||
|
||||
=== Extended regex ===
|
||||
|
||||
Extended regex is used in filters and irc ignore, so some chars that needed
|
||||
escape in past do not need any more (for example `[0-9]\+` becomes `[0-9]+`),
|
||||
filters and ignore have to be manually fixed.
|
||||
|
||||
Option 'weechat.look.highlight_regex' becomes case insensitive by default, to
|
||||
make it case sensitive, use "(?-i)" at beginning of string, for example:
|
||||
"(?-i)FlashCode|flashy".
|
||||
|
||||
Version 0.3.6 (2011-10-22)
|
||||
--------------------------
|
||||
|
||||
=== Options ===
|
||||
|
||||
Option 'weechat.look.hline_char' has been renamed to
|
||||
'weechat.look.separator_horizontal'.
|
||||
|
||||
=== Bold in colors ===
|
||||
|
||||
Bold is not used any more for basic colors (used only if terminal has less than
|
||||
16 colors), a new option has been added to force bold if needed:
|
||||
'weechat.look.color_basic_force_bold'.
|
||||
|
||||
Version 0.3.5 (2011-05-15)
|
||||
--------------------------
|
||||
|
||||
=== Colors ===
|
||||
|
||||
If you have some colors defined in section "palette" with version 0.3.4, you
|
||||
should remove all colors defined, and add new aliases (it's not needed any more
|
||||
to add colors before using them).
|
||||
|
||||
Colors for nick prefixes (char for op, voice, ..) are defined in a single option
|
||||
'irc.color.nick_prefixes', therefore following options will be lost:
|
||||
'irc.color.nick_prefix_op', 'irc.color.nick_prefix_halfop',
|
||||
'irc.color.nick_prefix_voice', 'irc.color.nick_prefix_user'.
|
||||
|
||||
=== Hotlist ===
|
||||
|
||||
==== Counters ====
|
||||
|
||||
Count of messages have been added to hotlist by default, if you want to come
|
||||
back to old behavior, do that:
|
||||
|
||||
----------------------------------------
|
||||
/set weechat.look.hotlist_count_max 0
|
||||
/set weechat.look.hotlist_buffer_separator ","
|
||||
----------------------------------------
|
||||
|
||||
==== Away and current buffer ====
|
||||
|
||||
When you are away, all buffers are now added to hotlist by default (even if they
|
||||
are displayed in a window), if you want to come back to old behavior, do that:
|
||||
|
||||
----------------------------------------
|
||||
/set weechat.look.hotlist_add_buffer_if_away off
|
||||
----------------------------------------
|
||||
|
||||
=== New keys ===
|
||||
|
||||
New keys were added, use command `/key missing` to add them or `/key listdiff`
|
||||
to see differences between your current keys and WeeChat default keys.
|
||||
|
||||
Version 0.3.4 (2011-01-16)
|
||||
--------------------------
|
||||
|
||||
=== After /upgrade ===
|
||||
|
||||
If you are using `/upgrade` from a previous release:
|
||||
|
||||
* some nick prefixes can be wrong, so it is recommended to do `/allchan names`
|
||||
* nick colors are defined with a new option 'weechat.color.chat_nick_colors',
|
||||
therefore old options 'weechat.color.chat_nick_color1..10' will be lost when
|
||||
upgrading
|
||||
* nick colors in messages displayed will be wrong if you changed some nick colors
|
||||
(old default colors will be used)
|
||||
|
||||
=== Options ===
|
||||
|
||||
Some IRC options have been renamed, before upgrading to this version, note
|
||||
value for old options, and set them again with new name:
|
||||
|
||||
* options moved from 'network' section to servers (with global value, and server
|
||||
value, like other server options):
|
||||
** 'irc.network.connection_timeout' moved to
|
||||
'irc.server_default.connection_timeout'
|
||||
** 'irc.network.anti_flood_prio_high' moved to
|
||||
'irc.server_default.anti_flood_prio_high'
|
||||
** 'irc.network.anti_flood_prio_low' moved to
|
||||
'irc.server_default.anti_flood_prio_low'
|
||||
** 'irc.network.away_check' moved to 'irc.server_default.away_check'
|
||||
** 'irc.network.away_check_max_nicks' moved to
|
||||
'irc.server_default.away_check_max_nicks'
|
||||
** 'irc.network.default_msg_part' moved to 'irc.server_default.default_msg_part'
|
||||
** 'irc.network.default_msg_quit' moved to 'irc.server_default.default_msg_quit'
|
||||
* other IRC options renamed:
|
||||
** 'irc.look.open_channel_near_server' moved to 'irc.look.new_channel_position'
|
||||
(old option was boolean, new is integer with value as string)
|
||||
** 'irc.look.open_pv_near_server' moved to 'irc.look.new_pv_position'
|
||||
(old option was boolean, new is integer with value as string)
|
||||
|
||||
Version 0.3.3 (2010-08-07)
|
||||
--------------------------
|
||||
|
||||
=== After /upgrade ===
|
||||
|
||||
If you are using `/upgrade` from a previous release, then you must reconnect to
|
||||
IRC servers in order to use new command /wallchops.
|
||||
|
||||
=== Options ===
|
||||
|
||||
Option 'irc.look.show_away_once' has been renamed to
|
||||
'irc.look.display_pv_away_once'.
|
||||
|
||||
Option 'irc.network.lag_min_show' is now in milliseconds, you should set new
|
||||
value: your current value multiplied by 1000 (new default value is 500).
|
||||
|
||||
Version 0.3.2 (2010-04-18)
|
||||
--------------------------
|
||||
|
||||
=== After /upgrade ===
|
||||
|
||||
If you are using `/upgrade` from a previous release, then you must execute this
|
||||
command on all IRC servers/channels/private buffers and xfer DCC chats (not
|
||||
needed on WeeChat core buffer or buffers from other plugins/scripts):
|
||||
|
||||
----------------------------------------
|
||||
/buffer set highlight_words $nick
|
||||
----------------------------------------
|
||||
|
||||
Version 0.3.1.1 (2010-01-31)
|
||||
----------------------------
|
||||
|
||||
This version fixes crashes with SSL connection and purge of old DCC chats.
|
||||
|
||||
All users of version 0.3.1 should upgrade to this version.
|
||||
|
||||
Version 0.3.1 (2010-01-23)
|
||||
--------------------------
|
||||
|
||||
=== Aliases ===
|
||||
|
||||
IRC commands /ame and /amsg are now aliases, if you are upgrading from version
|
||||
0.3.0, you must create aliases with following commands:
|
||||
|
||||
----------------------------------------
|
||||
/alias aaway allserv /away
|
||||
/alias ame allchan /me
|
||||
/alias amsg allchan /amsg *
|
||||
/alias anick allserv /nick
|
||||
----------------------------------------
|
||||
|
||||
Version 0.3.0 (2009-09-06)
|
||||
--------------------------
|
||||
|
||||
This version brings *MAJOR* changes, especially for configuration files and
|
||||
plugin API and it not compatible with previous versions.
|
||||
|
||||
Major differences:
|
||||
|
||||
* it is *NOT POSSIBLE* to use command `/upgrade` from a version 0.2.x to 0.3.x;
|
||||
you have to quit your old WeeChat, then run new version.
|
||||
* new configuration files (`*.conf`) are not compatible with old files (`*.rc`).
|
||||
* name of options is similar to old versions, but there is now one configuration
|
||||
file by plugin, and one file for WeeChat core; there is
|
||||
*no automatic conversion* for your old options to new configuration files,
|
||||
so you'll have to setup again your IRC servers and all other options.
|
||||
* plugin API has been rewritten and is not compatible with previous versions;
|
||||
accordingly, scripts and plugins must have been designed for version 0.3.x to
|
||||
be loaded into WeeChat.
|
||||
|
||||
More information about new API is available on wiki:
|
||||
http://wiki.flashtux.org/wiki/WeeChat_0.3.0
|
||||
and http://wiki.flashtux.org/wiki/WeeChat_0.3.0_API
|
||||
|
||||
Version 0.2.6.3 (2009-06-13)
|
||||
----------------------------
|
||||
|
||||
This version fixes gnutls detection.
|
||||
|
||||
Version 0.2.6.2 (2009-04-18)
|
||||
----------------------------
|
||||
|
||||
This version fixes a bug with charset decoding (like 'iso2022jp').
|
||||
|
||||
Version 0.2.6.1 (2009-03-14)
|
||||
----------------------------
|
||||
|
||||
This version fixes a major bug: crash with some special chars in IRC messages.
|
||||
|
||||
Version 0.2.6 (2007-09-06)
|
||||
--------------------------
|
||||
|
||||
No release note.
|
||||
|
||||
Version 0.2.5 (2007-06-07)
|
||||
--------------------------
|
||||
|
||||
No release note.
|
||||
|
||||
Version 0.2.4 (2007-03-29)
|
||||
--------------------------
|
||||
|
||||
No release note.
|
||||
|
||||
Version 0.2.3 (2007-01-10)
|
||||
--------------------------
|
||||
|
||||
This version fixes several major bugs of version 0.2.2.
|
||||
|
||||
All users of version 0.2.2 should upgrade to this version.
|
||||
|
||||
Version 0.2.2 (2007-01-06)
|
||||
--------------------------
|
||||
|
||||
=== Charset plugin ===
|
||||
|
||||
For users of any previous version, all your charset settings in weechat.rc will
|
||||
be LOST! You should save your weechat.rc to keep your values and set them again
|
||||
with new 'charset' plugin.
|
||||
|
||||
For ISO users: history of channels may be without accents (after `/upgrade`),
|
||||
this is not recoverable, but this is not a bug. All new messages should be OK.
|
||||
|
||||
Be careful, now default encode is UTF-8 for all channels (before it was terminal
|
||||
charset). If you still want to send messages as 'ISO-8859-1', you should set
|
||||
either global encode or server specific encode to 'ISO-8859-1'.
|
||||
|
||||
For global encode:
|
||||
|
||||
----------------------------------------
|
||||
/setp charset.global.encode = "ISO-8859-1"
|
||||
----------------------------------------
|
||||
|
||||
For server encode (on server buffer):
|
||||
|
||||
----------------------------------------
|
||||
/charset encode ISO-8859-1
|
||||
----------------------------------------
|
||||
|
||||
=== New keys ===
|
||||
|
||||
New keys for topic scroll: F9/F10.
|
||||
|
||||
Key F10 was used for `infobar_clear` in previous WeeChat versions, you have to
|
||||
manually rebind this key (except for new WeeChat users):
|
||||
|
||||
----------------------------------------
|
||||
/key <press alt+"k" then F10> scroll_topic_right
|
||||
----------------------------------------
|
||||
|
||||
Which gives something like:
|
||||
|
||||
----------------------------------------
|
||||
/key meta2-21~ scroll_topic_right
|
||||
----------------------------------------
|
||||
|
||||
Version 0.2.1 (2006-10-01)
|
||||
--------------------------
|
||||
|
||||
No release note.
|
||||
|
||||
Version 0.2.0 (2006-08-19)
|
||||
--------------------------
|
||||
|
||||
=== After /upgrade ===
|
||||
|
||||
If you upgraded with `/upgrade` in WeeChat, you should `/disconnect` and then
|
||||
`/reconnect` on each server, to display properly channel/user modes.
|
||||
|
||||
=== Plugins ===
|
||||
|
||||
If you're using plugins, you should remove some old plugins libraries in WeeChat
|
||||
system library directory (commonly '/usr/local/lib/weechat/plugins'): remove
|
||||
`lib*` files (like `libperl.*`, `libpython.*`, ..) and keep only new libraries
|
||||
(`perl.*`, `python.*`, ..).
|
||||
|
||||
Version 0.1.9 (2006-05-25)
|
||||
--------------------------
|
||||
|
||||
=== DCC chat ===
|
||||
|
||||
Please close all DCC chat buffers before using /upgrade command, otherwise you
|
||||
may experience problems with DCC chats.
|
||||
|
||||
=== Script API ===
|
||||
|
||||
Some changes in script API: now timer handlers functions takes exactly 0 (zero)
|
||||
argument (in version 0.1.8, two arguments were mandatory but not used: server
|
||||
and arguments).
|
||||
|
||||
Version 0.1.8 (2006-03-18)
|
||||
--------------------------
|
||||
|
||||
=== After /upgrade ===
|
||||
|
||||
After installing 0.1.8 (or with `/upgrade`), issue both commands (if you didn't
|
||||
redefine these keys (alt+{home|end}):
|
||||
|
||||
----------------------------------------
|
||||
/key unbind meta-meta2-1~
|
||||
/key unbind meta-meta2-4~
|
||||
----------------------------------------
|
||||
|
||||
Then launch again WeeChat (or issue `/upgrade`).
|
||||
|
||||
=== Configuration files ===
|
||||
|
||||
It is recommended for users of version 0.1.7 (or any older), to replace values
|
||||
in setup file ('~/.weechat/weechat.rc'):
|
||||
|
||||
* option: log_path: replace '~/.weechat/logs' by '%h/logs'
|
||||
* option: plugins_path: replace '~/.weechat/plugins' by '%h/plugins'
|
||||
|
||||
The string '%h' is replaced by WeeChat home (default: '~/.weechat', may be
|
||||
overridden by new command line argument `--dir`).
|
||||
|
||||
=== Keys ===
|
||||
|
||||
Keys alt+{home|end} were used for nicklist scroll, they're now replaced by
|
||||
alt+{F11|F12}.
|
||||
|
||||
Version 0.1.7 (2006-01-14)
|
||||
--------------------------
|
||||
|
||||
=== Ruby ===
|
||||
|
||||
Ruby script plugin has been added but is experimental in this release. You're
|
||||
warned!
|
||||
|
||||
=== Command /away ===
|
||||
|
||||
Command `/away` was changed to be RFC 2812 compliant. Now argument is required
|
||||
to set away, and no argument means remove away ("back").
|
||||
|
||||
Option 'irc_default_msg_away' has been removed.
|
||||
|
||||
Version 0.1.6 (2005-11-11)
|
||||
--------------------------
|
||||
|
||||
=== Script API ===
|
||||
|
||||
Incompatibility with some old scripts: now all handlers have to return a code
|
||||
for completion, and to do some actions about message to ignore (please look at
|
||||
documentation for detail).
|
||||
|
||||
=== OpenBSD ===
|
||||
|
||||
On OpenBSD, the new option 'plugins_extension' should be set to '.so.0.0' since
|
||||
the plugins names are ending by '.so.0.0' and not '.so'.
|
||||
|
||||
=== UTF-8 ===
|
||||
|
||||
With new and full UTF-8 support, the option 'look_charset_internal' should be
|
||||
set to blank for most cases. Forces it only if your locale is not properly
|
||||
detected by WeeChat (you can set 'UTF-8' or 'ISO-8859-15' for example, depending
|
||||
on your locale). WeeChat is looking for 'UTF-8' in your locale name at startup.
|
||||
|
||||
Version 0.1.5 (2005-09-24)
|
||||
--------------------------
|
||||
|
||||
No release note.
|
||||
|
||||
Version 0.1.4 (2005-07-30)
|
||||
--------------------------
|
||||
|
||||
No release note.
|
||||
|
||||
Version 0.1.3 (2005-07-02)
|
||||
--------------------------
|
||||
|
||||
No release note.
|
||||
|
||||
Version 0.1.2 (2005-05-21)
|
||||
--------------------------
|
||||
|
||||
No release note.
|
||||
|
||||
Version 0.1.1 (2005-03-20)
|
||||
--------------------------
|
||||
|
||||
No release note.
|
||||
|
||||
Version 0.1.0 (2005-02-12)
|
||||
--------------------------
|
||||
|
||||
No release note.
|
||||
|
||||
Version 0.0.9 (2005-01-01)
|
||||
--------------------------
|
||||
|
||||
No release note.
|
||||
|
||||
Version 0.0.8 (2004-10-30)
|
||||
--------------------------
|
||||
|
||||
No release note.
|
||||
|
||||
Version 0.0.7 (2004-08-08)
|
||||
--------------------------
|
||||
|
||||
No release note.
|
||||
|
||||
Version 0.0.6 (2004-06-05)
|
||||
--------------------------
|
||||
|
||||
No release note.
|
||||
|
||||
Version 0.0.5 (2004-02-07)
|
||||
--------------------------
|
||||
|
||||
No release note.
|
||||
|
||||
Version 0.0.4 (2004-01-01)
|
||||
--------------------------
|
||||
|
||||
No release note.
|
||||
|
||||
Version 0.0.3 (2003-11-03)
|
||||
--------------------------
|
||||
|
||||
No release note.
|
||||
|
||||
Version 0.0.2 (2003-10-05)
|
||||
--------------------------
|
||||
|
||||
No release note.
|
||||
|
||||
Version 0.0.1 (2003-09-27)
|
||||
--------------------------
|
||||
|
||||
No release note.
|
||||
WeeChat 0.0.1 released.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
WeeChat Readme
|
||||
==============
|
||||
WeeChat - Wee Enhanced Environment for Chat
|
||||
===========================================
|
||||
|
||||
|
||||
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat
|
||||
@@ -9,32 +9,42 @@ 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
|
||||
* IRC chat client with multi-server connection
|
||||
* many GUI (curses, text, Gtk, QT) (1)
|
||||
* small, fast and very light
|
||||
* customizable and extensible with scripts (Perl, Python, Ruby) (2)
|
||||
* compliant with RFC 1459,2810,2811,2812,2813
|
||||
* multi-platform (GNU/Linux, *BSD, Windows & other) (3)
|
||||
* 100% GPL & free
|
||||
|
||||
|
||||
Copyright
|
||||
---------
|
||||
|
||||
Copyright (C) 2003-2013 Sébastien Helleu <flashcode@flashtux.org>
|
||||
WeeChat (c) Copyright 2003
|
||||
by: FlashCode <flashcode@flashtux.org>
|
||||
Xahlexx <xahlex@tuxisland.org>
|
||||
Bounga <bounga@altern.org>
|
||||
(see AUTHORS file if you want to contact authors)
|
||||
|
||||
This file is part of WeeChat, the extensible chat client.
|
||||
WeeChat is distributed under GPL licence (see COPYING file for complete license):
|
||||
|
||||
WeeChat is free software; you can redistribute it and/or modify
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 3 of the License, or
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
WeeChat is distributed in the hope that it will be useful,
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
|
||||
---
|
||||
(1) only curses & text interfaces are available today
|
||||
(2) plugin interfaces are not yet developed
|
||||
(3) only GNU/Linux version is available today
|
||||
|
||||
@@ -0,0 +1,130 @@
|
||||
WeeChat - Wee Enhanced Environment for Chat
|
||||
===========================================
|
||||
|
||||
TODO - 2003-09-27
|
||||
|
||||
Legend:
|
||||
# done
|
||||
+ currently in development
|
||||
- pending
|
||||
? is this really necessary?
|
||||
|
||||
|
||||
v0.0.1:
|
||||
|
||||
* IRC protocol:
|
||||
# "/quote" command: send a raw string to the server without parsing it
|
||||
# "/me" command (for user actions description)
|
||||
# "/away" command (to toggle the away status)
|
||||
# "/op", "/deop", "/voice", "/devoice" commands
|
||||
# "/invite" command
|
||||
# "/kick", "/ban", "/unban" commands
|
||||
# "/kill" command
|
||||
# "/list" command: list of channels
|
||||
# "/names" command: view who is on a given channel without being
|
||||
on it (for example /names #weechat gives all the nicks present on
|
||||
#weechat, except those who have the +i flag (server side))
|
||||
# "/oper" command: become operator on the irc network
|
||||
# "/topic" command: change the topic of a channel
|
||||
# "/version" command: give the irc client version (CTCP VERSION)
|
||||
of a given nick/channel (without parameter: gives WeeChat version)
|
||||
# "/whois" command
|
||||
|
||||
* WeeChat commands:
|
||||
# "/clear": to clear window content
|
||||
|
||||
* Interface:
|
||||
# "demi-highlight" when joins/quits etc
|
||||
# log messages/warning/errors to ~/.weechat/log file
|
||||
# improve editing zone (left arrow <> backspace)
|
||||
# sort nick list
|
||||
# choose nick list position (top, left, right (default), bottom)
|
||||
# auto-resize nicklist (when nick too long)
|
||||
# do pretty cutting of long lines (align on the nick or after hour for server)
|
||||
# keep history of commands and call them again with up/down arrow
|
||||
# text GUI
|
||||
# ncurses GUI:
|
||||
# one window for each channel
|
||||
# color display
|
||||
# private windows
|
||||
# redraw window when term size is modified
|
||||
# chat history (pgup/pgdn for displaying history)
|
||||
# switch to other channel window
|
||||
|
||||
* TCP/IP communication:
|
||||
# IPv4 protocol implementation
|
||||
|
||||
* Configuration:
|
||||
# write default config file
|
||||
|
||||
|
||||
Future versions:
|
||||
|
||||
* IRC protocol:
|
||||
- implement RFC 2812
|
||||
+ "/mode" command: change the user/channels modes
|
||||
- "/dcc" command (for chat and sending/receiving files)
|
||||
- manage "halfop" status
|
||||
- complete "/list" command: add regexp search, display only channels that
|
||||
match regexp
|
||||
- "/connect" and "/disconnect" commands (for multiservers use)
|
||||
- "/ignore" and "/unignore" commands: hide all that is write by a given
|
||||
nick/host
|
||||
- when we're away, WeeChat should log all the lines begenning by our nick.
|
||||
When we come back from our away it should print it to the current window
|
||||
- "/rehash" command: tell the server to reload its config file
|
||||
- "/restart" command: tell the server to restart itself
|
||||
- "/notify" and "/unnotify" command to be warn by WeeChat when a given
|
||||
nick/host connect to the given irc network
|
||||
- "/wallops" command: write the same string to all the
|
||||
persons with the flag +w enable
|
||||
|
||||
* WeeChat commands:
|
||||
- "/completion" command: do shortcuts (for example when we type "u"
|
||||
in the text bar it send it to the server as "you")
|
||||
- "/exec" command: execute a command as if we was in shell
|
||||
and show us the output on the current window. An option to exec
|
||||
like -o could send the output to the server, on the current
|
||||
channel/private
|
||||
- "/reload" command: reload the WeeChat's config file
|
||||
- "/set" command: allow the user to set the WeeChat variables
|
||||
under WeeChat without editing the config file (colours, time
|
||||
format, etc)
|
||||
- "/highlight" command: highlight a given word when it appears on
|
||||
channels/privates
|
||||
|
||||
* Interface:
|
||||
- display current channel modes (example : #weechat(+nt))
|
||||
- interpret ^B in messages (this means bold text)
|
||||
- internationalization (traduce WeeChat in many languages)
|
||||
- many channel windows in one window/term (window split)
|
||||
- add lag indicator
|
||||
- log chats to file
|
||||
- forget some old lines that were displayed long time ago (now all is saved,
|
||||
if WeeChat is running for long time, a lot of memory is used!)
|
||||
- improve completion (for example complete command parameters when possible)
|
||||
- understand incomplete commands if unambigous (for example: /he for /help is ok)
|
||||
- add clock (in status bar?)
|
||||
- Gtk GUI
|
||||
? Qt GUI
|
||||
|
||||
* TCP/IP communication:
|
||||
- IPv6 protocol implementation
|
||||
|
||||
* Configuration:
|
||||
- add key bindings to config file
|
||||
- add missing options for config file
|
||||
- write config file
|
||||
- add an option for each server in order to run commands on join
|
||||
(example: /msg nickserv identify password)
|
||||
- channel list for auto-join (for each server)
|
||||
- do not stop program if problem with options in config file
|
||||
- load config file after GUI (so init values by default (colors, ...) before
|
||||
loading config)
|
||||
|
||||
* Plugins:
|
||||
- add Perl plugin
|
||||
- add Python plugin
|
||||
- add Ruby plugin
|
||||
- "/load" and "/unload" commands to (un)load extension scripts
|
||||
(perl, python, ruby, ...)
|
||||
-81
@@ -1,81 +0,0 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2005 Julien Louis <ptitlouis@sysif.net>
|
||||
# Copyright (C) 2005-2006 Emmanuel Bouthenot <kolter@openics.org>
|
||||
#
|
||||
# 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/>.
|
||||
#
|
||||
|
||||
###
|
||||
### common stuff
|
||||
###
|
||||
|
||||
AUTOGEN_LOG=autogen.log
|
||||
|
||||
err ()
|
||||
{
|
||||
echo "-------"
|
||||
echo "Error :"
|
||||
echo "---8<-----------------------------------"
|
||||
cat $AUTOGEN_LOG
|
||||
echo "----------------------------------->8---"
|
||||
exit 1
|
||||
}
|
||||
|
||||
run ()
|
||||
{
|
||||
echo -n "Running \"$@\"..."
|
||||
eval $@ >$AUTOGEN_LOG 2>&1
|
||||
if [ $? = 0 ] ; then
|
||||
echo " OK"
|
||||
else
|
||||
echo " FAILED"
|
||||
err
|
||||
fi
|
||||
}
|
||||
|
||||
###
|
||||
### cleanning part
|
||||
###
|
||||
# remove autotools stuff
|
||||
run "rm -rf config"
|
||||
run "rm -f config.h.in"
|
||||
run "rm -f aclocal.m4 configure config.log config.status"
|
||||
run "rm -rf autom4te*.cache"
|
||||
# remove libtool stuff
|
||||
run "rm -f libtool"
|
||||
# remove gettext stuff
|
||||
run "rm -f ABOUT-NLS"
|
||||
run "rm -rf intl"
|
||||
|
||||
###
|
||||
### configuration part
|
||||
###
|
||||
# create the config directory
|
||||
run "mkdir -p config/m4"
|
||||
run "mkdir intl"
|
||||
|
||||
# execute autotools cmds
|
||||
run "autopoint -f"
|
||||
run "libtoolize --automake --force --copy"
|
||||
run "aclocal --force -I config/m4"
|
||||
run "autoheader"
|
||||
run "autoconf"
|
||||
run "automake --add-missing --copy --gnu"
|
||||
|
||||
# ending
|
||||
rm -f $AUTOGEN_LOG
|
||||
@@ -1,138 +0,0 @@
|
||||
# CMAKE_PARSE_ARGUMENTS(<prefix> <options> <one_value_keywords> <multi_value_keywords> args...)
|
||||
#
|
||||
# CMAKE_PARSE_ARGUMENTS() is intended to be used in macros or functions for
|
||||
# parsing the arguments given to that macro or function.
|
||||
# It processes the arguments and defines a set of variables which hold the
|
||||
# values of the respective options.
|
||||
#
|
||||
# The <options> argument contains all options for the respective macro,
|
||||
# i.e. keywords which can be used when calling the macro without any value
|
||||
# following, like e.g. the OPTIONAL keyword of the install() command.
|
||||
#
|
||||
# The <one_value_keywords> argument contains all keywords for this macro
|
||||
# which are followed by one value, like e.g. DESTINATION keyword of the
|
||||
# install() command.
|
||||
#
|
||||
# The <multi_value_keywords> argument contains all keywords for this macro
|
||||
# which can be followed by more than one value, like e.g. the TARGETS or
|
||||
# FILES keywords of the install() command.
|
||||
#
|
||||
# When done, CMAKE_PARSE_ARGUMENTS() will have defined for each of the
|
||||
# keywords listed in <options>, <one_value_keywords> and
|
||||
# <multi_value_keywords> a variable composed of the given <prefix>
|
||||
# followed by "_" and the name of the respective keyword.
|
||||
# These variables will then hold the respective value from the argument list.
|
||||
# For the <options> keywords this will be TRUE or FALSE.
|
||||
#
|
||||
# All remaining arguments are collected in a variable
|
||||
# <prefix>_UNPARSED_ARGUMENTS, this can be checked afterwards to see whether
|
||||
# your macro was called with unrecognized parameters.
|
||||
#
|
||||
# As an example here a my_install() macro, which takes similar arguments as the
|
||||
# real install() command:
|
||||
#
|
||||
# function(MY_INSTALL)
|
||||
# set(options OPTIONAL FAST)
|
||||
# set(oneValueArgs DESTINATION RENAME)
|
||||
# set(multiValueArgs TARGETS CONFIGURATIONS)
|
||||
# cmake_parse_arguments(MY_INSTALL "${options}" "${oneValueArgs}" "${multiValueArgs}" ${ARGN} )
|
||||
# ...
|
||||
#
|
||||
# Assume my_install() has been called like this:
|
||||
# my_install(TARGETS foo bar DESTINATION bin OPTIONAL blub)
|
||||
#
|
||||
# After the cmake_parse_arguments() call the macro will have set the following
|
||||
# variables:
|
||||
# MY_INSTALL_OPTIONAL = TRUE
|
||||
# MY_INSTALL_FAST = FALSE (this option was not used when calling my_install()
|
||||
# MY_INSTALL_DESTINATION = "bin"
|
||||
# MY_INSTALL_RENAME = "" (was not used)
|
||||
# MY_INSTALL_TARGETS = "foo;bar"
|
||||
# MY_INSTALL_CONFIGURATIONS = "" (was not used)
|
||||
# MY_INSTALL_UNPARSED_ARGUMENTS = "blub" (no value expected after "OPTIONAL"
|
||||
#
|
||||
# You can the continue and process these variables.
|
||||
#
|
||||
# Keywords terminate lists of values, e.g. if directly after a one_value_keyword
|
||||
# another recognized keyword follows, this is interpreted as the beginning of
|
||||
# the new option.
|
||||
# E.g. my_install(TARGETS foo DESTINATION OPTIONAL) would result in
|
||||
# MY_INSTALL_DESTINATION set to "OPTIONAL", but MY_INSTALL_DESTINATION would
|
||||
# be empty and MY_INSTALL_OPTIONAL would be set to TRUE therefor.
|
||||
|
||||
#=============================================================================
|
||||
# Copyright 2010 Alexander Neundorf <neundorf@kde.org>
|
||||
#
|
||||
# Distributed under the OSI-approved BSD License (the "License");
|
||||
# see accompanying file Copyright.txt for details.
|
||||
#
|
||||
# This software is distributed WITHOUT ANY WARRANTY; without even the
|
||||
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
# See the License for more information.
|
||||
#=============================================================================
|
||||
# (To distribute this file outside of CMake, substitute the full
|
||||
# License text for the above reference.)
|
||||
|
||||
|
||||
if(__CMAKE_PARSE_ARGUMENTS_INCLUDED)
|
||||
return()
|
||||
endif()
|
||||
set(__CMAKE_PARSE_ARGUMENTS_INCLUDED TRUE)
|
||||
|
||||
|
||||
function(CMAKE_PARSE_ARGUMENTS prefix _optionNames _singleArgNames _multiArgNames)
|
||||
# first set all result variables to empty/FALSE
|
||||
foreach(arg_name ${_singleArgNames} ${_multiArgNames})
|
||||
set(${prefix}_${arg_name})
|
||||
endforeach(arg_name)
|
||||
|
||||
foreach(option ${_optionNames})
|
||||
set(${prefix}_${option} FALSE)
|
||||
endforeach(option)
|
||||
|
||||
set(${prefix}_UNPARSED_ARGUMENTS)
|
||||
|
||||
set(insideValues FALSE)
|
||||
set(currentArgName)
|
||||
|
||||
# now iterate over all arguments and fill the result variables
|
||||
foreach(currentArg ${ARGN})
|
||||
list(FIND _optionNames "${currentArg}" optionIndex) # ... then this marks the end of the arguments belonging to this keyword
|
||||
list(FIND _singleArgNames "${currentArg}" singleArgIndex) # ... then this marks the end of the arguments belonging to this keyword
|
||||
list(FIND _multiArgNames "${currentArg}" multiArgIndex) # ... then this marks the end of the arguments belonging to this keyword
|
||||
|
||||
if(${optionIndex} EQUAL -1 AND ${singleArgIndex} EQUAL -1 AND ${multiArgIndex} EQUAL -1)
|
||||
if(insideValues)
|
||||
if("${insideValues}" STREQUAL "SINGLE")
|
||||
set(${prefix}_${currentArgName} ${currentArg})
|
||||
set(insideValues FALSE)
|
||||
elseif("${insideValues}" STREQUAL "MULTI")
|
||||
list(APPEND ${prefix}_${currentArgName} ${currentArg})
|
||||
endif()
|
||||
else(insideValues)
|
||||
list(APPEND ${prefix}_UNPARSED_ARGUMENTS ${currentArg})
|
||||
endif(insideValues)
|
||||
else()
|
||||
if(NOT ${optionIndex} EQUAL -1)
|
||||
set(${prefix}_${currentArg} TRUE)
|
||||
set(insideValues FALSE)
|
||||
elseif(NOT ${singleArgIndex} EQUAL -1)
|
||||
set(currentArgName ${currentArg})
|
||||
set(${prefix}_${currentArgName})
|
||||
set(insideValues "SINGLE")
|
||||
elseif(NOT ${multiArgIndex} EQUAL -1)
|
||||
set(currentArgName ${currentArg})
|
||||
set(${prefix}_${currentArgName})
|
||||
set(insideValues "MULTI")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
endforeach(currentArg)
|
||||
|
||||
# propagate the result variables to the caller:
|
||||
foreach(arg_name ${_singleArgNames} ${_multiArgNames} ${_optionNames})
|
||||
set(${prefix}_${arg_name} ${${prefix}_${arg_name}} PARENT_SCOPE)
|
||||
endforeach(arg_name)
|
||||
set(${prefix}_UNPARSED_ARGUMENTS ${${prefix}_UNPARSED_ARGUMENTS} PARENT_SCOPE)
|
||||
|
||||
endfunction(CMAKE_PARSE_ARGUMENTS _options _singleArgs _multiArgs)
|
||||
@@ -1,51 +0,0 @@
|
||||
#
|
||||
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
# WeeChat is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# WeeChat is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
# - Find Asciidoc
|
||||
# This module finds if asciidoc (version 8 or newer) is installed.
|
||||
|
||||
IF (ASCIIDOC_FOUND)
|
||||
# Already in cache, be silent
|
||||
SET(ASCIIDOC_FIND_QUIETLY TRUE)
|
||||
ENDIF (ASCIIDOC_FOUND)
|
||||
|
||||
FIND_PROGRAM(
|
||||
ASCIIDOC_EXECUTABLE asciidoc
|
||||
PATHS /bin /usr/bin /usr/local/bin /usr/pkg/bin
|
||||
)
|
||||
|
||||
FIND_PROGRAM(
|
||||
A2X_EXECUTABLE a2x
|
||||
PATHS /bin /usr/bin /usr/local/bin /usr/pkg/bin
|
||||
)
|
||||
|
||||
IF(ASCIIDOC_EXECUTABLE AND A2X_EXECUTABLE)
|
||||
EXECUTE_PROCESS(
|
||||
COMMAND ${ASCIIDOC_EXECUTABLE} --version
|
||||
OUTPUT_VARIABLE ASCIIDOC_VERSION
|
||||
)
|
||||
|
||||
IF(${ASCIIDOC_VERSION} MATCHES "asciidoc 8.*")
|
||||
SET(ASCIIDOC_FOUND TRUE)
|
||||
ENDIF(${ASCIIDOC_VERSION} MATCHES "asciidoc 8.*")
|
||||
|
||||
MARK_AS_ADVANCED(
|
||||
ASCIIDOC_EXECUTABLE
|
||||
)
|
||||
ENDIF(ASCIIDOC_EXECUTABLE AND A2X_EXECUTABLE)
|
||||
@@ -1,51 +0,0 @@
|
||||
#
|
||||
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
# WeeChat is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# WeeChat is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
# - Find Aspell
|
||||
# This module finds if libaspell is installed and determines where
|
||||
# the include files and libraries are.
|
||||
#
|
||||
# This code sets the following variables:
|
||||
#
|
||||
# ASPELL_INCLUDE_PATH = path to where aspell.h can be found
|
||||
# ASPELL_LIBRARY = path to where libaspell.so* can be found
|
||||
|
||||
IF (ASPELL_FOUND)
|
||||
# Already in cache, be silent
|
||||
SET(ASPELL_FIND_QUIETLY TRUE)
|
||||
ENDIF (ASPELL_FOUND)
|
||||
|
||||
FIND_PATH(ASPELL_INCLUDE_PATH
|
||||
NAMES aspell.h
|
||||
PATHS /usr/include /usr/local/include /usr/pkg/include
|
||||
)
|
||||
|
||||
FIND_LIBRARY(ASPELL_LIBRARY
|
||||
NAMES aspell aspell-15
|
||||
PATHS /lib /usr/lib /usr/local/lib /usr/pkg/lib
|
||||
)
|
||||
|
||||
IF (ASPELL_INCLUDE_PATH AND ASPELL_LIBRARY)
|
||||
SET(ASPELL_FOUND TRUE)
|
||||
ENDIF (ASPELL_INCLUDE_PATH AND ASPELL_LIBRARY)
|
||||
|
||||
MARK_AS_ADVANCED(
|
||||
ASPELL_INCLUDE_PATH
|
||||
ASPELL_LIBRARY
|
||||
)
|
||||
@@ -1,44 +0,0 @@
|
||||
# - Try to find the Enchant spell checker
|
||||
# Once done this will define
|
||||
#
|
||||
# ENCHANT_FOUND - system has ENCHANT
|
||||
# ENCHANT_INCLUDE_DIR - the ENCHANT include directory
|
||||
# ENCHANT_LIBRARIES - Link these to use ENCHANT
|
||||
# ENCHANT_DEFINITIONS - Compiler switches required for using ENCHANT
|
||||
|
||||
# Copyright (c) 2006, Zack Rusin, <zack@kde.org>
|
||||
#
|
||||
# Redistribution and use is allowed according to the terms of the BSD license.
|
||||
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
|
||||
|
||||
|
||||
if (ENCHANT_INCLUDE_DIR AND ENCHANT_LIBRARIES)
|
||||
|
||||
# in cache already
|
||||
set(ENCHANT_FOUND TRUE)
|
||||
|
||||
else (ENCHANT_INCLUDE_DIR AND ENCHANT_LIBRARIES)
|
||||
if (NOT WIN32)
|
||||
# use pkg-config to get the directories and then use these values
|
||||
# in the FIND_PATH() and FIND_LIBRARY() calls
|
||||
find_package(PkgConfig)
|
||||
pkg_check_modules(PC_ENCHANT enchant)
|
||||
set(ENCHANT_DEFINITIONS ${PC_ENCHANT_CFLAGS_OTHER})
|
||||
endif (NOT WIN32)
|
||||
|
||||
find_path(ENCHANT_INCLUDE_DIR
|
||||
NAMES enchant++.h
|
||||
HINTS ${PC_ENCHANT_INCLUDEDIR}
|
||||
${PC_ENCHANT_INCLUDE_DIRS}
|
||||
PATH_SUFFIXES enchant )
|
||||
|
||||
find_library(ENCHANT_LIBRARIES NAMES enchant
|
||||
HINTS ${PC_ENCHANT_LIBDIR}
|
||||
${PC_ENCHANT_LIBRARY_DIRS} )
|
||||
|
||||
include(FindPackageHandleStandardArgs)
|
||||
find_package_handle_standard_args(ENCHANT DEFAULT_MSG ENCHANT_INCLUDE_DIR ENCHANT_LIBRARIES )
|
||||
|
||||
mark_as_advanced(ENCHANT_INCLUDE_DIR ENCHANT_LIBRARIES)
|
||||
|
||||
endif (ENCHANT_INCLUDE_DIR AND ENCHANT_LIBRARIES)
|
||||
@@ -1,53 +0,0 @@
|
||||
#
|
||||
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
# WeeChat is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# WeeChat is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
# - Find Gcrypt
|
||||
# This module finds if libgcrypt is installed and determines where
|
||||
# the include files and libraries are.
|
||||
#
|
||||
# This code sets the following variables:
|
||||
#
|
||||
# GCRYPT_CFLAGS = cflags to use to compile
|
||||
# GCRYPT_LDFLAGS = ldflags to use to compile
|
||||
#
|
||||
|
||||
FIND_PROGRAM(LIBGCRYPT_CONFIG_EXECUTABLE NAMES libgcrypt-config)
|
||||
|
||||
set(GCRYPT_LDFLAGS)
|
||||
set(GCRYPT_CFLAGS)
|
||||
|
||||
IF(LIBGCRYPT_CONFIG_EXECUTABLE)
|
||||
|
||||
EXEC_PROGRAM(${LIBGCRYPT_CONFIG_EXECUTABLE} ARGS --libs RETURN_VALUE _return_VALUE OUTPUT_VARIABLE GCRYPT_LDFLAGS)
|
||||
EXEC_PROGRAM(${LIBGCRYPT_CONFIG_EXECUTABLE} ARGS --cflags RETURN_VALUE _return_VALUE OUTPUT_VARIABLE GCRYPT_CFLAGS)
|
||||
|
||||
IF(${GCRYPT_CFLAGS} MATCHES "\n")
|
||||
SET(GCRYPT_CFLAGS " ")
|
||||
ENDIF(${GCRYPT_CFLAGS} MATCHES "\n")
|
||||
|
||||
ENDIF(LIBGCRYPT_CONFIG_EXECUTABLE)
|
||||
|
||||
# handle the QUIETLY and REQUIRED arguments and set GCRYPT_FOUND to TRUE if
|
||||
# all listed variables are TRUE
|
||||
INCLUDE(${CMAKE_HOME_DIRECTORY}/cmake/FindPackageHandleStandardArgs.cmake)
|
||||
FIND_PACKAGE_HANDLE_STANDARD_ARGS(GCRYPT REQUIRED_VARS GCRYPT_LDFLAGS GCRYPT_CFLAGS)
|
||||
|
||||
IF(GCRYPT_FOUND)
|
||||
MARK_AS_ADVANCED(GCRYPT_CFLAGS GCRYPT_LDFLAGS)
|
||||
ENDIF(GCRYPT_FOUND)
|
||||
@@ -1,72 +0,0 @@
|
||||
#
|
||||
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2007 Julien Louis <ptitlouis@sysif.net>
|
||||
# Copyright (C) 2009 Emmanuel Bouthenot <kolter@openics.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
# WeeChat is free software; you can redistribute it and/or modify
|
||||
# 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 Gettext
|
||||
# This module finds if gettext is installed and determines where
|
||||
# the include files and libraries are.
|
||||
#
|
||||
# This code sets the following variables:
|
||||
#
|
||||
# GETTEXT_FOUND = is gettext usable on system?
|
||||
|
||||
IF(GETTEXT_FOUND)
|
||||
# Already in cache, be silent
|
||||
SET(GETTEXT_FIND_QUIETLY TRUE)
|
||||
ENDIF(GETTEXT_FOUND)
|
||||
|
||||
INCLUDE(CheckIncludeFiles)
|
||||
INCLUDE(CheckLibraryExists)
|
||||
INCLUDE(CheckFunctionExists)
|
||||
|
||||
FIND_PATH(LIBINTL_INCLUDE
|
||||
NAMES libintl.h
|
||||
PATH /usr/local/include /usr/pkg/include /usr/include
|
||||
)
|
||||
|
||||
SET(CMAKE_REQUIRED_INCLUDES ${LIBINTL_INCLUDE})
|
||||
|
||||
CHECK_INCLUDE_FILES(libintl.h HAVE_LIBINTL_H)
|
||||
|
||||
IF(HAVE_LIBINTL_H)
|
||||
|
||||
CHECK_FUNCTION_EXISTS(dgettext LIBC_HAS_DGETTEXT)
|
||||
IF(LIBC_HAS_DGETTEXT)
|
||||
SET(GETTEXT_FOUND TRUE)
|
||||
ELSE(LIBC_HAS_DGETTEXT)
|
||||
FIND_LIBRARY(LIBINTL_LIBRARY NAMES intl
|
||||
PATHS
|
||||
/usr/local/lib
|
||||
/usr/lib
|
||||
)
|
||||
IF(LIBINTL_LIBRARY)
|
||||
IF(${CMAKE_SYSTEM_NAME} STREQUAL "OpenBSD")
|
||||
SET(CMAKE_REQUIRED_LIBRARIES "iconv")
|
||||
CHECK_LIBRARY_EXISTS(${LIBINTL_LIBRARY} "libintl_dgettext" "" LIBINTL_HAS_DGETTEXT)
|
||||
ELSE(${CMAKE_SYSTEM_NAME} STREQUAL "OpenBSD")
|
||||
CHECK_LIBRARY_EXISTS(${LIBINTL_LIBRARY} "dgettext" "" LIBINTL_HAS_DGETTEXT)
|
||||
ENDIF(${CMAKE_SYSTEM_NAME} STREQUAL "OpenBSD")
|
||||
|
||||
IF(LIBINTL_HAS_DGETTEXT)
|
||||
SET(GETTEXT_FOUND TRUE)
|
||||
ENDIF(LIBINTL_HAS_DGETTEXT)
|
||||
ENDIF(LIBINTL_LIBRARY)
|
||||
ENDIF(LIBC_HAS_DGETTEXT)
|
||||
ENDIF(HAVE_LIBINTL_H)
|
||||
@@ -1,75 +0,0 @@
|
||||
#
|
||||
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2009 Emmanuel Bouthenot <kolter@openics.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
# WeeChat is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# WeeChat is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
# - Find GnuTLS
|
||||
# This module finds if libgnutls is installed and determines where
|
||||
# the include files and libraries are.
|
||||
#
|
||||
# This code sets the following variables:
|
||||
#
|
||||
# GNUTLS_INCLUDE_PATH = path to where <gnutls/gnutls.h> can be found
|
||||
# GNUTLS_LIBRARY = path to where libgnutls.so* can be found
|
||||
# GNUTLS_CFLAGS = cflags to use to compile
|
||||
# GNUTLS_LDFLAGS = ldflags to use to compile
|
||||
|
||||
IF(GNUTLS_INCLUDE_PATH AND GNUTLS_LIBRARY)
|
||||
# Already in cache, be silent
|
||||
set(GNUTLS_FIND_QUIETLY TRUE)
|
||||
ENDIF(GNUTLS_INCLUDE_PATH AND GNUTLS_LIBRARY)
|
||||
|
||||
FIND_PROGRAM(PKG_CONFIG_EXECUTABLE NAMES pkg-config)
|
||||
|
||||
EXECUTE_PROCESS(COMMAND ${PKG_CONFIG_EXECUTABLE} --variable=prefix gnutls
|
||||
OUTPUT_VARIABLE GNUTLS_PREFIX
|
||||
)
|
||||
|
||||
EXECUTE_PROCESS(COMMAND ${PKG_CONFIG_EXECUTABLE} --cflags gnutls
|
||||
OUTPUT_VARIABLE GNUTLS_CFLAGS
|
||||
)
|
||||
STRING(REGEX REPLACE "[\r\n]" "" GNUTLS_CFLAGS "${GNUTLS_FLAGS}")
|
||||
|
||||
EXECUTE_PROCESS(COMMAND ${PKG_CONFIG_EXECUTABLE} --libs gnutls
|
||||
OUTPUT_VARIABLE GNUTLS_LDFLAGS
|
||||
)
|
||||
STRING(REGEX REPLACE "[\r\n]" "" GNUTLS_LDFLAGS "${GNUTLS_LDFLAGS}")
|
||||
|
||||
SET(GNUTLS_POSSIBLE_INCLUDE_PATH "${GNUTLS_PREFIX}/include")
|
||||
SET(GNUTLS_POSSIBLE_LIB_DIR "${GNUTLS_PREFIX}/lib")
|
||||
|
||||
FIND_PATH(GNUTLS_INCLUDE_PATH
|
||||
NAMES gnutls/gnutls.h
|
||||
PATHS GNUTLS_POSSIBLE_INCLUDE_PATH
|
||||
)
|
||||
|
||||
FIND_LIBRARY(GNUTLS_LIBRARY
|
||||
NAMES gnutls
|
||||
PATHS GNUTLS_POSSIBLE_LIB_DIR
|
||||
)
|
||||
|
||||
IF (GNUTLS_INCLUDE_PATH AND GNUTLS_LIBRARY)
|
||||
SET(GNUTLS_FOUND TRUE)
|
||||
ENDIF (GNUTLS_INCLUDE_PATH AND GNUTLS_LIBRARY)
|
||||
|
||||
MARK_AS_ADVANCED(
|
||||
GNUTLS_INCLUDE_PATH
|
||||
GNUTLS_LIBRARY
|
||||
GNUTLS_CFLAGS
|
||||
GNUTLS_LDFLAGS
|
||||
)
|
||||
@@ -1,37 +0,0 @@
|
||||
#
|
||||
# Copyright (C) 2011-2013 Sebastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
# WeeChat is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# WeeChat is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
# - Find Guile
|
||||
# This module finds if Guile is installed and determines where the include files
|
||||
# and libraries are. It also determines what the name of the library is. This
|
||||
# code sets the following variables:
|
||||
#
|
||||
# GUILE_FOUND = Guile is installed
|
||||
# GUILE_INCLUDE_DIRS = Guile include directory
|
||||
# GUILE_LIBRARIES = Link options to compile Guile
|
||||
|
||||
IF(GUILE_FOUND)
|
||||
# Already in cache, be silent
|
||||
SET(GUILE_FIND_QUIETLY TRUE)
|
||||
ENDIF(GUILE_FOUND)
|
||||
|
||||
FIND_PACKAGE(PkgConfig)
|
||||
IF(PKG_CONFIG_FOUND)
|
||||
pkg_search_module(GUILE guile-2.0)
|
||||
ENDIF(PKG_CONFIG_FOUND)
|
||||
@@ -1,86 +0,0 @@
|
||||
#
|
||||
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
# WeeChat is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# WeeChat is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
# - Find Iconv
|
||||
# This module finds if libiconv is installed and determines where
|
||||
# the include files and libraries are.
|
||||
#
|
||||
# This code sets the following variables:
|
||||
#
|
||||
# ICONV_INCLUDE_PATH = path to where <iconv.h> can be found
|
||||
# ICONV_LIBRARY = path to where libiconv.so* can be found (on non glibc based systems)
|
||||
#
|
||||
# ICONV_FOUND = is iconv usable on system?
|
||||
|
||||
IF(ICONV_FOUND)
|
||||
# Already in cache, be silent
|
||||
set(ICONV_FIND_QUIETLY TRUE)
|
||||
ENDIF(ICONV_FOUND)
|
||||
|
||||
INCLUDE(CheckLibraryExists)
|
||||
INCLUDE(CheckFunctionExists)
|
||||
|
||||
FIND_PATH(ICONV_INCLUDE_PATH
|
||||
NAMES iconv.h
|
||||
PATHS /usr/include /usr/local/include /usr/pkg/include
|
||||
)
|
||||
|
||||
FIND_LIBRARY(ICONV_LIBRARY
|
||||
NAMES iconv
|
||||
PATHS /lib /usr/lib /usr/local/lib /usr/pkg/lib
|
||||
)
|
||||
|
||||
IF(ICONV_INCLUDE_PATH)
|
||||
IF(ICONV_LIBRARY)
|
||||
STRING(REGEX REPLACE "/[^/]*$" "" ICONV_LIB_PATH "${ICONV_LIBRARY}")
|
||||
CHECK_LIBRARY_EXISTS(iconv libiconv_open ${ICONV_LIB_PATH} LIBICONV_OPEN_FOUND)
|
||||
CHECK_LIBRARY_EXISTS(iconv iconv_open ${ICONV_LIB_PATH} ICONV_OPEN_FOUND)
|
||||
IF(LIBICONV_OPEN_FOUND OR ICONV_OPEN_FOUND)
|
||||
SET(ICONV_FOUND TRUE)
|
||||
ENDIF(LIBICONV_OPEN_FOUND OR ICONV_OPEN_FOUND)
|
||||
ELSE(ICONV_LIBRARY)
|
||||
CHECK_FUNCTION_EXISTS(iconv_open ICONV_FOUND)
|
||||
ENDIF(ICONV_LIBRARY)
|
||||
ENDIF(ICONV_INCLUDE_PATH)
|
||||
|
||||
include(CheckCSourceCompiles)
|
||||
|
||||
IF(ICONV_LIBRARY)
|
||||
SET(CMAKE_REQUIRED_LIBRARIES ${ICONV_LIBRARY})
|
||||
SET(CMAKE_REQUIRED_INCLUDES ${ICONV_INCLUDE_PATH})
|
||||
ENDIF(ICONV_LIBRARY)
|
||||
|
||||
SET(CMAKE_REQUIRED_FLAGS -Werror)
|
||||
check_c_source_compiles("
|
||||
#include <iconv.h>
|
||||
int main(){
|
||||
iconv_t conv = 0;
|
||||
const char* in = 0;
|
||||
size_t ilen = 0;
|
||||
char* out = 0;
|
||||
size_t olen = 0;
|
||||
iconv(conv, &in, &ilen, &out, &olen);
|
||||
return 0;
|
||||
}
|
||||
" ICONV_2ARG_IS_CONST)
|
||||
MARK_AS_ADVANCED(
|
||||
ICONV_INCLUDE_PATH
|
||||
ICONV_LIBRARY
|
||||
ICONV_FOUND
|
||||
)
|
||||
@@ -1,87 +0,0 @@
|
||||
#
|
||||
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
# WeeChat is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# WeeChat is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
# - Find Lua
|
||||
# This module finds if liblua is installed and determines where
|
||||
# the include files and libraries are.
|
||||
#
|
||||
# This code sets the following variables:
|
||||
#
|
||||
# LUA_INCLUDE_PATH = path to where <lua.h> can be found
|
||||
# LUA_LIBRARY = path to where liblua.so* (and liblualib.so* for lua <can be found (on non glibc based systems)
|
||||
#
|
||||
# LUA_FOUND = is liblua usable on system?
|
||||
|
||||
IF(LUA_FOUND)
|
||||
# Already in cache, be silent
|
||||
SET(LUA_FIND_QUIETLY TRUE)
|
||||
ENDIF(LUA_FOUND)
|
||||
|
||||
FIND_PATH(
|
||||
LUA51_INCLUDE_PATH lua.h
|
||||
PATHS /usr/include /usr/local/include /usr/pkg/include
|
||||
PATH_SUFFIXES lua51 lua5.1 lua-5.1
|
||||
)
|
||||
|
||||
FIND_LIBRARY(
|
||||
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
|
||||
)
|
||||
@@ -1,57 +0,0 @@
|
||||
#
|
||||
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
# WeeChat is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# WeeChat is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
IF(NCURSES_FOUND)
|
||||
SET(NCURSES_FIND_QUIETLY TRUE)
|
||||
ENDIF(NCURSES_FOUND)
|
||||
|
||||
FIND_PATH(NCURSES_INCLUDE_PATH
|
||||
NAMES ncurses.h curses.h
|
||||
PATHS /usr/include/ncursesw /usr/include/ncurses /usr/include
|
||||
/usr/local/include/ncursesw /usr/local/include/ncurses /usr/local/include
|
||||
/usr/pkg/include/ncursesw /usr/pkg/include/ncurses /usr/pkg/include
|
||||
)
|
||||
|
||||
FIND_LIBRARY(NCURSESW_LIBRARY
|
||||
NAMES ncursesw
|
||||
PATHS /lib /usr/lib /usr/local/lib /usr/pkg/lib
|
||||
)
|
||||
|
||||
IF (NCURSESW_LIBRARY)
|
||||
SET(NCURSES_LIBRARY ${NCURSESW_LIBRARY})
|
||||
ELSE(NCURSESW_LIBRARY)
|
||||
FIND_LIBRARY(NCURSES_LIBRARY
|
||||
NAMES ncurses
|
||||
PATHS /lib /usr/lib /usr/local/lib /usr/pkg/lib
|
||||
)
|
||||
IF (NCURSES_LIBRARY)
|
||||
MESSAGE("*** WARNING:\n"
|
||||
"*** ncursesw library not found! Falling back to \"ncurses\"\n"
|
||||
"*** Be careful, UTF-8 display may not work properly if your locale is UTF-8.")
|
||||
ENDIF(NCURSES_LIBRARY)
|
||||
ENDIF(NCURSESW_LIBRARY)
|
||||
|
||||
IF (NCURSES_INCLUDE_PATH AND NCURSES_LIBRARY)
|
||||
SET(NCURSES_FOUND TRUE)
|
||||
ENDIF(NCURSES_INCLUDE_PATH AND NCURSES_LIBRARY)
|
||||
|
||||
MARK_AS_ADVANCED(
|
||||
NCURSES_INCLUDE_PATH
|
||||
NCURSES_LIBRARY
|
||||
)
|
||||
@@ -1,260 +0,0 @@
|
||||
# FIND_PACKAGE_HANDLE_STANDARD_ARGS(<name> ... )
|
||||
#
|
||||
# This function is intended to be used in FindXXX.cmake modules files.
|
||||
# It handles the REQUIRED, QUIET and version-related arguments to FIND_PACKAGE().
|
||||
# It also sets the <UPPERCASED_NAME>_FOUND variable.
|
||||
# The package is considered found if all variables <var1>... listed contain
|
||||
# valid results, e.g. valid filepaths.
|
||||
#
|
||||
# There are two modes of this function. The first argument in both modes is
|
||||
# the name of the Find-module where it is called (in original casing).
|
||||
#
|
||||
# The first simple mode looks like this:
|
||||
# FIND_PACKAGE_HANDLE_STANDARD_ARGS(<name> (DEFAULT_MSG|"Custom failure message") <var1>...<varN> )
|
||||
# If the variables <var1> to <varN> are all valid, then <UPPERCASED_NAME>_FOUND
|
||||
# will be set to TRUE.
|
||||
# If DEFAULT_MSG is given as second argument, then the function will generate
|
||||
# itself useful success and error messages. You can also supply a custom error message
|
||||
# for the failure case. This is not recommended.
|
||||
#
|
||||
# The second mode is more powerful and also supports version checking:
|
||||
# FIND_PACKAGE_HANDLE_STANDARD_ARGS(NAME [REQUIRED_VARS <var1>...<varN>]
|
||||
# [VERSION_VAR <versionvar>
|
||||
# [CONFIG_MODE]
|
||||
# [FAIL_MESSAGE "Custom failure message"] )
|
||||
#
|
||||
# As above, if <var1> through <varN> are all valid, <UPPERCASED_NAME>_FOUND
|
||||
# will be set to TRUE.
|
||||
# After REQUIRED_VARS the variables which are required for this package are listed.
|
||||
# Following VERSION_VAR the name of the variable can be specified which holds
|
||||
# the version of the package which has been found. If this is done, this version
|
||||
# will be checked against the (potentially) specified required version used
|
||||
# in the find_package() call. The EXACT keyword is also handled. The default
|
||||
# messages include information about the required version and the version
|
||||
# which has been actually found, both if the version is ok or not.
|
||||
# Use the option CONFIG_MODE if your FindXXX.cmake module is a wrapper for
|
||||
# a find_package(... NO_MODULE) call, in this case all the information
|
||||
# provided by the config-mode of find_package() will be evaluated
|
||||
# automatically.
|
||||
# Via FAIL_MESSAGE a custom failure message can be specified, if this is not
|
||||
# used, the default message will be displayed.
|
||||
#
|
||||
# Example for mode 1:
|
||||
#
|
||||
# FIND_PACKAGE_HANDLE_STANDARD_ARGS(LibXml2 DEFAULT_MSG LIBXML2_LIBRARY LIBXML2_INCLUDE_DIR)
|
||||
#
|
||||
# LibXml2 is considered to be found, if both LIBXML2_LIBRARY and
|
||||
# LIBXML2_INCLUDE_DIR are valid. Then also LIBXML2_FOUND is set to TRUE.
|
||||
# If it is not found and REQUIRED was used, it fails with FATAL_ERROR,
|
||||
# independent whether QUIET was used or not.
|
||||
# If it is found, success will be reported, including the content of <var1>.
|
||||
# On repeated Cmake runs, the same message won't be printed again.
|
||||
#
|
||||
# Example for mode 2:
|
||||
#
|
||||
# FIND_PACKAGE_HANDLE_STANDARD_ARGS(BISON REQUIRED_VARS BISON_EXECUTABLE
|
||||
# VERSION_VAR BISON_VERSION)
|
||||
# In this case, BISON is considered to be found if the variable(s) listed
|
||||
# after REQUIRED_VAR are all valid, i.e. BISON_EXECUTABLE in this case.
|
||||
# Also the version of BISON will be checked by using the version contained
|
||||
# in BISON_VERSION.
|
||||
# Since no FAIL_MESSAGE is given, the default messages will be printed.
|
||||
#
|
||||
# Another example for mode 2:
|
||||
#
|
||||
# FIND_PACKAGE(Automoc4 QUIET NO_MODULE HINTS /opt/automoc4)
|
||||
# FIND_PACKAGE_HANDLE_STANDARD_ARGS(Automoc4 CONFIG_MODE)
|
||||
# In this case, FindAutmoc4.cmake wraps a call to FIND_PACKAGE(Automoc4 NO_MODULE)
|
||||
# and adds an additional search directory for automoc4.
|
||||
# The following FIND_PACKAGE_HANDLE_STANDARD_ARGS() call produces a proper
|
||||
# success/error message.
|
||||
|
||||
#=============================================================================
|
||||
# Copyright 2007-2009 Kitware, Inc.
|
||||
#
|
||||
# Distributed under the OSI-approved BSD License (the "License");
|
||||
# see accompanying file Copyright.txt for details.
|
||||
#
|
||||
# This software is distributed WITHOUT ANY WARRANTY; without even the
|
||||
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
# See the License for more information.
|
||||
#=============================================================================
|
||||
# (To distribute this file outside of CMake, substitute the full
|
||||
# License text for the above reference.)
|
||||
|
||||
INCLUDE(FindPackageMessage)
|
||||
INCLUDE(CMakeParseArguments)
|
||||
|
||||
# internal helper macro
|
||||
MACRO(_FPHSA_FAILURE_MESSAGE _msg)
|
||||
IF (${_NAME}_FIND_REQUIRED)
|
||||
MESSAGE(FATAL_ERROR "${_msg}")
|
||||
ELSE (${_NAME}_FIND_REQUIRED)
|
||||
IF (NOT ${_NAME}_FIND_QUIETLY)
|
||||
MESSAGE(STATUS "${_msg}")
|
||||
ENDIF (NOT ${_NAME}_FIND_QUIETLY)
|
||||
ENDIF (${_NAME}_FIND_REQUIRED)
|
||||
ENDMACRO(_FPHSA_FAILURE_MESSAGE _msg)
|
||||
|
||||
|
||||
# internal helper macro to generate the failure message when used in CONFIG_MODE:
|
||||
MACRO(_FPHSA_HANDLE_FAILURE_CONFIG_MODE)
|
||||
# <name>_CONFIG is set, but FOUND is false, this means that some other of the REQUIRED_VARS was not found:
|
||||
IF(${_NAME}_CONFIG)
|
||||
_FPHSA_FAILURE_MESSAGE("${FPHSA_FAIL_MESSAGE}: missing: ${MISSING_VARS} (found ${${_NAME}_CONFIG} ${VERSION_MSG})")
|
||||
ELSE(${_NAME}_CONFIG)
|
||||
# If _CONSIDERED_CONFIGS is set, the config-file has been found, but no suitable version.
|
||||
# List them all in the error message:
|
||||
IF(${_NAME}_CONSIDERED_CONFIGS)
|
||||
SET(configsText "")
|
||||
LIST(LENGTH ${_NAME}_CONSIDERED_CONFIGS configsCount)
|
||||
MATH(EXPR configsCount "${configsCount} - 1")
|
||||
FOREACH(currentConfigIndex RANGE ${configsCount})
|
||||
LIST(GET ${_NAME}_CONSIDERED_CONFIGS ${currentConfigIndex} filename)
|
||||
LIST(GET ${_NAME}_CONSIDERED_VERSIONS ${currentConfigIndex} version)
|
||||
SET(configsText "${configsText} ${filename} (version ${version})\n")
|
||||
ENDFOREACH(currentConfigIndex)
|
||||
_FPHSA_FAILURE_MESSAGE("${FPHSA_FAIL_MESSAGE} ${VERSION_MSG}, checked the following files:\n${configsText}")
|
||||
|
||||
ELSE(${_NAME}_CONSIDERED_CONFIGS)
|
||||
# Simple case: No Config-file was found at all:
|
||||
_FPHSA_FAILURE_MESSAGE("${FPHSA_FAIL_MESSAGE}: found neither ${_NAME}Config.cmake nor ${_NAME_LOWER}-config.cmake ${VERSION_MSG}")
|
||||
ENDIF(${_NAME}_CONSIDERED_CONFIGS)
|
||||
ENDIF(${_NAME}_CONFIG)
|
||||
ENDMACRO(_FPHSA_HANDLE_FAILURE_CONFIG_MODE)
|
||||
|
||||
|
||||
FUNCTION(FIND_PACKAGE_HANDLE_STANDARD_ARGS _NAME _FIRST_ARG)
|
||||
|
||||
# set up the arguments for CMAKE_PARSE_ARGUMENTS and check whether we are in
|
||||
# new extended or in the "old" mode:
|
||||
SET(options CONFIG_MODE)
|
||||
SET(oneValueArgs FAIL_MESSAGE VERSION_VAR)
|
||||
SET(multiValueArgs REQUIRED_VARS)
|
||||
SET(_KEYWORDS_FOR_EXTENDED_MODE ${options} ${oneValueArgs} ${multiValueArgs} )
|
||||
LIST(FIND _KEYWORDS_FOR_EXTENDED_MODE "${_FIRST_ARG}" INDEX)
|
||||
|
||||
IF(${INDEX} EQUAL -1)
|
||||
SET(FPHSA_FAIL_MESSAGE ${_FIRST_ARG})
|
||||
SET(FPHSA_REQUIRED_VARS ${ARGN})
|
||||
SET(FPHSA_VERSION_VAR)
|
||||
ELSE(${INDEX} EQUAL -1)
|
||||
|
||||
CMAKE_PARSE_ARGUMENTS(FPHSA "${options}" "${oneValueArgs}" "${multiValueArgs}" ${_FIRST_ARG} ${ARGN})
|
||||
|
||||
IF(FPHSA_UNPARSED_ARGUMENTS)
|
||||
MESSAGE(FATAL_ERROR "Unknown keywords given to FIND_PACKAGE_HANDLE_STANDARD_ARGS(): \"${FPHSA_UNPARSED_ARGUMENTS}\"")
|
||||
ENDIF(FPHSA_UNPARSED_ARGUMENTS)
|
||||
|
||||
IF(NOT FPHSA_FAIL_MESSAGE)
|
||||
SET(FPHSA_FAIL_MESSAGE "DEFAULT_MSG")
|
||||
ENDIF(NOT FPHSA_FAIL_MESSAGE)
|
||||
ENDIF(${INDEX} EQUAL -1)
|
||||
|
||||
# now that we collected all arguments, process them
|
||||
|
||||
IF("${FPHSA_FAIL_MESSAGE}" STREQUAL "DEFAULT_MSG")
|
||||
SET(FPHSA_FAIL_MESSAGE "Could NOT find ${_NAME}")
|
||||
ENDIF("${FPHSA_FAIL_MESSAGE}" STREQUAL "DEFAULT_MSG")
|
||||
|
||||
# In config-mode, we rely on the variable <package>_CONFIG, which is set by find_package()
|
||||
# when it successfully found the config-file, including version checking:
|
||||
IF(FPHSA_CONFIG_MODE)
|
||||
LIST(INSERT FPHSA_REQUIRED_VARS 0 ${_NAME}_CONFIG)
|
||||
LIST(REMOVE_DUPLICATES FPHSA_REQUIRED_VARS)
|
||||
SET(FPHSA_VERSION_VAR ${_NAME}_VERSION)
|
||||
ENDIF(FPHSA_CONFIG_MODE)
|
||||
|
||||
IF(NOT FPHSA_REQUIRED_VARS)
|
||||
MESSAGE(FATAL_ERROR "No REQUIRED_VARS specified for FIND_PACKAGE_HANDLE_STANDARD_ARGS()")
|
||||
ENDIF(NOT FPHSA_REQUIRED_VARS)
|
||||
|
||||
LIST(GET FPHSA_REQUIRED_VARS 0 _FIRST_REQUIRED_VAR)
|
||||
|
||||
STRING(TOUPPER ${_NAME} _NAME_UPPER)
|
||||
STRING(TOLOWER ${_NAME} _NAME_LOWER)
|
||||
|
||||
# collect all variables which were not found, so they can be printed, so the
|
||||
# user knows better what went wrong (#6375)
|
||||
SET(MISSING_VARS "")
|
||||
SET(DETAILS "")
|
||||
SET(${_NAME_UPPER}_FOUND TRUE)
|
||||
# check if all passed variables are valid
|
||||
FOREACH(_CURRENT_VAR ${FPHSA_REQUIRED_VARS})
|
||||
IF(NOT ${_CURRENT_VAR})
|
||||
SET(${_NAME_UPPER}_FOUND FALSE)
|
||||
SET(MISSING_VARS "${MISSING_VARS} ${_CURRENT_VAR}")
|
||||
ELSE(NOT ${_CURRENT_VAR})
|
||||
SET(DETAILS "${DETAILS}[${${_CURRENT_VAR}}]")
|
||||
ENDIF(NOT ${_CURRENT_VAR})
|
||||
ENDFOREACH(_CURRENT_VAR)
|
||||
|
||||
|
||||
# version handling:
|
||||
SET(VERSION_MSG "")
|
||||
SET(VERSION_OK TRUE)
|
||||
SET(VERSION ${${FPHSA_VERSION_VAR}} )
|
||||
IF (${_NAME}_FIND_VERSION)
|
||||
|
||||
IF(VERSION)
|
||||
|
||||
IF(${_NAME}_FIND_VERSION_EXACT) # exact version required
|
||||
IF (NOT "${${_NAME}_FIND_VERSION}" VERSION_EQUAL "${VERSION}")
|
||||
SET(VERSION_MSG "Found unsuitable version \"${VERSION}\", but required is exact version \"${${_NAME}_FIND_VERSION}\"")
|
||||
SET(VERSION_OK FALSE)
|
||||
ELSE (NOT "${${_NAME}_FIND_VERSION}" VERSION_EQUAL "${VERSION}")
|
||||
SET(VERSION_MSG "(found suitable exact version \"${VERSION}\")")
|
||||
ENDIF (NOT "${${_NAME}_FIND_VERSION}" VERSION_EQUAL "${VERSION}")
|
||||
|
||||
ELSE(${_NAME}_FIND_VERSION_EXACT) # minimum version specified:
|
||||
IF ("${${_NAME}_FIND_VERSION}" VERSION_GREATER "${VERSION}")
|
||||
SET(VERSION_MSG "Found unsuitable version \"${VERSION}\", but required is at least \"${${_NAME}_FIND_VERSION}\"")
|
||||
SET(VERSION_OK FALSE)
|
||||
ELSE ("${${_NAME}_FIND_VERSION}" VERSION_GREATER "${VERSION}")
|
||||
SET(VERSION_MSG "(found suitable version \"${VERSION}\", required is \"${${_NAME}_FIND_VERSION}\")")
|
||||
ENDIF ("${${_NAME}_FIND_VERSION}" VERSION_GREATER "${VERSION}")
|
||||
ENDIF(${_NAME}_FIND_VERSION_EXACT)
|
||||
|
||||
ELSE(VERSION)
|
||||
|
||||
# if the package was not found, but a version was given, add that to the output:
|
||||
IF(${_NAME}_FIND_VERSION_EXACT)
|
||||
SET(VERSION_MSG "(Required is exact version \"${${_NAME}_FIND_VERSION}\")")
|
||||
ELSE(${_NAME}_FIND_VERSION_EXACT)
|
||||
SET(VERSION_MSG "(Required is at least version \"${${_NAME}_FIND_VERSION}\")")
|
||||
ENDIF(${_NAME}_FIND_VERSION_EXACT)
|
||||
|
||||
ENDIF(VERSION)
|
||||
ELSE (${_NAME}_FIND_VERSION)
|
||||
IF(VERSION)
|
||||
SET(VERSION_MSG "(found version \"${VERSION}\")")
|
||||
ENDIF(VERSION)
|
||||
ENDIF (${_NAME}_FIND_VERSION)
|
||||
|
||||
IF(VERSION_OK)
|
||||
SET(DETAILS "${DETAILS}[v${VERSION}(${${_NAME}_FIND_VERSION})]")
|
||||
ELSE(VERSION_OK)
|
||||
SET(${_NAME_UPPER}_FOUND FALSE)
|
||||
ENDIF(VERSION_OK)
|
||||
|
||||
|
||||
# print the result:
|
||||
IF (${_NAME_UPPER}_FOUND)
|
||||
FIND_PACKAGE_MESSAGE(${_NAME} "Found ${_NAME}: ${${_FIRST_REQUIRED_VAR}} ${VERSION_MSG}" "${DETAILS}")
|
||||
ELSE (${_NAME_UPPER}_FOUND)
|
||||
|
||||
IF(FPHSA_CONFIG_MODE)
|
||||
_FPHSA_HANDLE_FAILURE_CONFIG_MODE()
|
||||
ELSE(FPHSA_CONFIG_MODE)
|
||||
IF(NOT VERSION_OK)
|
||||
_FPHSA_FAILURE_MESSAGE("${FPHSA_FAIL_MESSAGE}: ${VERSION_MSG} (found ${${_FIRST_REQUIRED_VAR}})")
|
||||
ELSE(NOT VERSION_OK)
|
||||
_FPHSA_FAILURE_MESSAGE("${FPHSA_FAIL_MESSAGE} (missing: ${MISSING_VARS}) ${VERSION_MSG}")
|
||||
ENDIF(NOT VERSION_OK)
|
||||
ENDIF(FPHSA_CONFIG_MODE)
|
||||
|
||||
ENDIF (${_NAME_UPPER}_FOUND)
|
||||
|
||||
SET(${_NAME_UPPER}_FOUND ${${_NAME_UPPER}_FOUND} PARENT_SCOPE)
|
||||
|
||||
ENDFUNCTION(FIND_PACKAGE_HANDLE_STANDARD_ARGS _FIRST_ARG)
|
||||
@@ -1,85 +0,0 @@
|
||||
#
|
||||
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
# WeeChat is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# WeeChat is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
# - Find Perl libraries
|
||||
# This module finds if Perl 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:
|
||||
#
|
||||
# PERL_EXECUTABLE = full path to the perl binary
|
||||
# PERL_INCLUDE_PATH = path to where perl.h can be found
|
||||
# PERL_LIBRARY = path to where libperl.so* can be found
|
||||
# PERL_CFLAGS = perl compiler options for compiling
|
||||
# PERL_LFLAGS = perl compiler options for linking
|
||||
|
||||
IF(PERL_FOUND)
|
||||
# Already in cache, be silent
|
||||
SET(PERL_FIND_QUIETLY TRUE)
|
||||
ENDIF(PERL_FOUND)
|
||||
|
||||
FIND_PROGRAM(PERL_EXECUTABLE
|
||||
NAMES perl perl5
|
||||
PATHS /usr/bin /usr/local/bin /usr/pkg/bin
|
||||
)
|
||||
|
||||
IF(PERL_EXECUTABLE)
|
||||
|
||||
EXECUTE_PROCESS(
|
||||
COMMAND ${PERL_EXECUTABLE} -MConfig -e "print \"\$Config{archlibexp}/CORE\""
|
||||
OUTPUT_VARIABLE PERL_INTERNAL_DIR
|
||||
)
|
||||
|
||||
EXECUTE_PROCESS(
|
||||
COMMAND ${PERL_EXECUTABLE} -MExtUtils::Embed -e ccopts
|
||||
OUTPUT_VARIABLE PERL_CFLAGS
|
||||
)
|
||||
|
||||
EXECUTE_PROCESS(
|
||||
COMMAND ${PERL_EXECUTABLE} -MExtUtils::Embed -e ldopts
|
||||
OUTPUT_VARIABLE PERL_LFLAGS
|
||||
)
|
||||
|
||||
# remove the new lines from the output by replacing them with empty strings
|
||||
STRING(REPLACE "\n" "" PERL_INTERNAL_DIR "${PERL_INTERNAL_DIR}")
|
||||
STRING(REPLACE "\n" "" PERL_CFLAGS "${PERL_CFLAGS}")
|
||||
STRING(REPLACE "\n" "" PERL_LFLAGS "${PERL_LFLAGS}")
|
||||
|
||||
FIND_PATH(PERL_INCLUDE_PATH
|
||||
NAMES perl.h
|
||||
PATHS ${PERL_INTERNAL_DIR}
|
||||
)
|
||||
|
||||
FIND_LIBRARY(PERL_LIBRARY
|
||||
NAMES perl
|
||||
PATHS /usr/lib /usr/local/lib /usr/pkg/lib ${PERL_INTERNAL_DIR}
|
||||
)
|
||||
|
||||
IF(PERL_LIBRARY AND PERL_INCLUDE_PATH)
|
||||
SET(PERL_FOUND TRUE)
|
||||
ENDIF(PERL_LIBRARY AND PERL_INCLUDE_PATH)
|
||||
|
||||
MARK_AS_ADVANCED(
|
||||
PERL_EXECUTABLE
|
||||
PERL_INCLUDE_PATH
|
||||
PERL_LIBRARY
|
||||
PERL_CFLAGS
|
||||
PERL_LFLAGS
|
||||
)
|
||||
ENDIF(PERL_EXECUTABLE)
|
||||
|
||||
@@ -1,360 +0,0 @@
|
||||
# - a pkg-config module for CMake
|
||||
#
|
||||
# Usage:
|
||||
# pkg_check_modules(<PREFIX> [REQUIRED] <MODULE> [<MODULE>]*)
|
||||
# checks for all the given modules
|
||||
#
|
||||
# pkg_search_module(<PREFIX> [REQUIRED] <MODULE> [<MODULE>]*)
|
||||
# checks for given modules and uses the first working one
|
||||
#
|
||||
# When the 'REQUIRED' argument was set, macros will fail with an error
|
||||
# when module(s) could not be found
|
||||
#
|
||||
# It sets the following variables:
|
||||
# PKG_CONFIG_FOUND ... true iff pkg-config works on the system
|
||||
# PKG_CONFIG_EXECUTABLE ... pathname of the pkg-config program
|
||||
# <PREFIX>_FOUND ... set to 1 iff module(s) exist
|
||||
#
|
||||
# For the following variables two sets of values exist; first one is the
|
||||
# common one and has the given PREFIX. The second set contains flags
|
||||
# which are given out when pkgconfig was called with the '--static'
|
||||
# option.
|
||||
# <XPREFIX>_LIBRARIES ... only the libraries (w/o the '-l')
|
||||
# <XPREFIX>_LIBRARY_DIRS ... the paths of the libraries (w/o the '-L')
|
||||
# <XPREFIX>_LDFLAGS ... all required linker flags
|
||||
# <XPREFIX>_LDFLAGS_OTHER ... all other linker flags
|
||||
# <XPREFIX>_INCLUDE_DIRS ... the '-I' preprocessor flags (w/o the '-I')
|
||||
# <XPREFIX>_CFLAGS ... all required cflags
|
||||
# <XPREFIX>_CFLAGS_OTHER ... the other compiler flags
|
||||
#
|
||||
# <XPREFIX> = <PREFIX> for common case
|
||||
# <XPREFIX> = <PREFIX>_STATIC for static linking
|
||||
#
|
||||
# There are some special variables whose prefix depends on the count
|
||||
# of given modules. When there is only one module, <PREFIX> stays
|
||||
# unchanged. When there are multiple modules, the prefix will be
|
||||
# changed to <PREFIX>_<MODNAME>:
|
||||
# <XPREFIX>_VERSION ... version of the module
|
||||
# <XPREFIX>_PREFIX ... prefix-directory of the module
|
||||
# <XPREFIX>_INCLUDEDIR ... include-dir of the module
|
||||
# <XPREFIX>_LIBDIR ... lib-dir of the module
|
||||
#
|
||||
# <XPREFIX> = <PREFIX> when |MODULES| == 1, else
|
||||
# <XPREFIX> = <PREFIX>_<MODNAME>
|
||||
#
|
||||
# A <MODULE> parameter can have the following formats:
|
||||
# {MODNAME} ... matches any version
|
||||
# {MODNAME}>={VERSION} ... at least version <VERSION> is required
|
||||
# {MODNAME}={VERSION} ... exactly version <VERSION> is required
|
||||
# {MODNAME}<={VERSION} ... modules must not be newer than <VERSION>
|
||||
#
|
||||
# Examples
|
||||
# pkg_check_modules (GLIB2 glib-2.0)
|
||||
#
|
||||
# pkg_check_modules (GLIB2 glib-2.0>=2.10)
|
||||
# requires at least version 2.10 of glib2 and defines e.g.
|
||||
# GLIB2_VERSION=2.10.3
|
||||
#
|
||||
# pkg_check_modules (FOO glib-2.0>=2.10 gtk+-2.0)
|
||||
# requires both glib2 and gtk2, and defines e.g.
|
||||
# FOO_glib-2.0_VERSION=2.10.3
|
||||
# FOO_gtk+-2.0_VERSION=2.8.20
|
||||
#
|
||||
# pkg_check_modules (XRENDER REQUIRED xrender)
|
||||
# defines e.g.:
|
||||
# XRENDER_LIBRARIES=Xrender;X11
|
||||
# XRENDER_STATIC_LIBRARIES=Xrender;X11;pthread;Xau;Xdmcp
|
||||
#
|
||||
# pkg_search_module (BAR libxml-2.0 libxml2 libxml>=2)
|
||||
|
||||
|
||||
# Copyright (C) 2006 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
|
||||
#
|
||||
# Redistribution and use, with or without modification, are permitted
|
||||
# provided that the following conditions are met:
|
||||
#
|
||||
# 1. Redistributions must retain the above copyright notice, this
|
||||
# list of conditions and the following disclaimer.
|
||||
# 2. The name of the author may not be used to endorse or promote
|
||||
# products derived from this software without specific prior
|
||||
# written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
||||
# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
# ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
|
||||
# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
|
||||
# GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||
# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
|
||||
# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
|
||||
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
|
||||
# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
|
||||
### Common stuff ####
|
||||
set(PKG_CONFIG_VERSION 1)
|
||||
set(PKG_CONFIG_FOUND 0)
|
||||
|
||||
find_program(PKG_CONFIG_EXECUTABLE NAMES pkg-config DOC "pkg-config executable")
|
||||
mark_as_advanced(PKG_CONFIG_EXECUTABLE)
|
||||
|
||||
if(PKG_CONFIG_EXECUTABLE)
|
||||
set(PKG_CONFIG_FOUND 1)
|
||||
endif(PKG_CONFIG_EXECUTABLE)
|
||||
|
||||
|
||||
# Unsets the given variables
|
||||
macro(_pkgconfig_unset var)
|
||||
set(${var} "" CACHE INTERNAL "")
|
||||
endmacro(_pkgconfig_unset)
|
||||
|
||||
macro(_pkgconfig_set var value)
|
||||
set(${var} ${value} CACHE INTERNAL "")
|
||||
endmacro(_pkgconfig_set)
|
||||
|
||||
# Invokes pkgconfig, cleans up the result and sets variables
|
||||
macro(_pkgconfig_invoke _pkglist _prefix _varname _regexp)
|
||||
set(_pkgconfig_invoke_result)
|
||||
|
||||
execute_process(
|
||||
COMMAND ${PKG_CONFIG_EXECUTABLE} ${ARGN} ${_pkglist}
|
||||
OUTPUT_VARIABLE _pkgconfig_invoke_result
|
||||
RESULT_VARIABLE _pkgconfig_failed)
|
||||
|
||||
if (_pkgconfig_failed)
|
||||
set(_pkgconfig_${_varname} "")
|
||||
_pkgconfig_unset(${_prefix}_${_varname})
|
||||
else(_pkgconfig_failed)
|
||||
string(REGEX REPLACE "[\r\n]" " " _pkgconfig_invoke_result "${_pkgconfig_invoke_result}")
|
||||
string(REGEX REPLACE " +$" "" _pkgconfig_invoke_result "${_pkgconfig_invoke_result}")
|
||||
|
||||
if (NOT ${_regexp} STREQUAL "")
|
||||
string(REGEX REPLACE "${_regexp}" " " _pkgconfig_invoke_result "${_pkgconfig_invoke_result}")
|
||||
endif(NOT ${_regexp} STREQUAL "")
|
||||
|
||||
separate_arguments(_pkgconfig_invoke_result)
|
||||
|
||||
#message(STATUS " ${_varname} ... ${_pkgconfig_invoke_result}")
|
||||
set(_pkgconfig_${_varname} ${_pkgconfig_invoke_result})
|
||||
_pkgconfig_set(${_prefix}_${_varname} "${_pkgconfig_invoke_result}")
|
||||
endif(_pkgconfig_failed)
|
||||
endmacro(_pkgconfig_invoke)
|
||||
|
||||
# Invokes pkgconfig two times; once without '--static' and once with
|
||||
# '--static'
|
||||
macro(_pkgconfig_invoke_dyn _pkglist _prefix _varname cleanup_regexp)
|
||||
_pkgconfig_invoke("${_pkglist}" ${_prefix} ${_varname} "${cleanup_regexp}" ${ARGN})
|
||||
_pkgconfig_invoke("${_pkglist}" ${_prefix} STATIC_${_varname} "${cleanup_regexp}" --static ${ARGN})
|
||||
endmacro(_pkgconfig_invoke_dyn)
|
||||
|
||||
# Splits given arguments into options and a package list
|
||||
macro(_pkgconfig_parse_options _result _is_req)
|
||||
set(${_is_req} 0)
|
||||
|
||||
foreach(_pkg ${ARGN})
|
||||
if (_pkg STREQUAL "REQUIRED")
|
||||
set(${_is_req} 1)
|
||||
endif (_pkg STREQUAL "REQUIRED")
|
||||
endforeach(_pkg ${ARGN})
|
||||
|
||||
set(${_result} ${ARGN})
|
||||
list(REMOVE_ITEM ${_result} "REQUIRED")
|
||||
endmacro(_pkgconfig_parse_options)
|
||||
|
||||
###
|
||||
macro(_pkg_check_modules_internal _is_required _is_silent _prefix)
|
||||
_pkgconfig_unset(${_prefix}_FOUND)
|
||||
_pkgconfig_unset(${_prefix}_VERSION)
|
||||
_pkgconfig_unset(${_prefix}_PREFIX)
|
||||
_pkgconfig_unset(${_prefix}_INCLUDEDIR)
|
||||
_pkgconfig_unset(${_prefix}_LIBDIR)
|
||||
_pkgconfig_unset(${_prefix}_LIBS)
|
||||
_pkgconfig_unset(${_prefix}_LIBS_L)
|
||||
_pkgconfig_unset(${_prefix}_LIBS_PATHS)
|
||||
_pkgconfig_unset(${_prefix}_LIBS_OTHER)
|
||||
_pkgconfig_unset(${_prefix}_CFLAGS)
|
||||
_pkgconfig_unset(${_prefix}_CFLAGS_I)
|
||||
_pkgconfig_unset(${_prefix}_CFLAGS_OTHER)
|
||||
_pkgconfig_unset(${_prefix}_STATIC_LIBDIR)
|
||||
_pkgconfig_unset(${_prefix}_STATIC_LIBS)
|
||||
_pkgconfig_unset(${_prefix}_STATIC_LIBS_L)
|
||||
_pkgconfig_unset(${_prefix}_STATIC_LIBS_PATHS)
|
||||
_pkgconfig_unset(${_prefix}_STATIC_LIBS_OTHER)
|
||||
_pkgconfig_unset(${_prefix}_STATIC_CFLAGS)
|
||||
_pkgconfig_unset(${_prefix}_STATIC_CFLAGS_I)
|
||||
_pkgconfig_unset(${_prefix}_STATIC_CFLAGS_OTHER)
|
||||
|
||||
# create a better addressable variable of the modules and calculate its size
|
||||
set(_pkg_check_modules_list ${ARGN})
|
||||
list(LENGTH _pkg_check_modules_list _pkg_check_modules_cnt)
|
||||
|
||||
if(PKG_CONFIG_EXECUTABLE)
|
||||
# give out status message telling checked module
|
||||
if (NOT ${_is_silent})
|
||||
if (_pkg_check_modules_cnt EQUAL 1)
|
||||
message(STATUS "checking for module '${_pkg_check_modules_list}'")
|
||||
else(_pkg_check_modules_cnt EQUAL 1)
|
||||
message(STATUS "checking for modules '${_pkg_check_modules_list}'")
|
||||
endif(_pkg_check_modules_cnt EQUAL 1)
|
||||
endif(NOT ${_is_silent})
|
||||
|
||||
set(_pkg_check_modules_packages)
|
||||
set(_pkg_check_modules_failed)
|
||||
|
||||
# iterate through module list and check whether they exist and match the required version
|
||||
foreach (_pkg_check_modules_pkg ${_pkg_check_modules_list})
|
||||
set(_pkg_check_modules_exist_query)
|
||||
|
||||
# check whether version is given
|
||||
if (_pkg_check_modules_pkg MATCHES ".*(>=|=|<=).*")
|
||||
string(REGEX REPLACE "(.*[^><])(>=|=|<=)(.*)" "\\1" _pkg_check_modules_pkg_name "${_pkg_check_modules_pkg}")
|
||||
string(REGEX REPLACE "(.*[^><])(>=|=|<=)(.*)" "\\2" _pkg_check_modules_pkg_op "${_pkg_check_modules_pkg}")
|
||||
string(REGEX REPLACE "(.*[^><])(>=|=|<=)(.*)" "\\3" _pkg_check_modules_pkg_ver "${_pkg_check_modules_pkg}")
|
||||
else(_pkg_check_modules_pkg MATCHES ".*(>=|=|<=).*")
|
||||
set(_pkg_check_modules_pkg_name "${_pkg_check_modules_pkg}")
|
||||
set(_pkg_check_modules_pkg_op)
|
||||
set(_pkg_check_modules_pkg_ver)
|
||||
endif(_pkg_check_modules_pkg MATCHES ".*(>=|=|<=).*")
|
||||
|
||||
# handle the operands
|
||||
if (_pkg_check_modules_pkg_op STREQUAL ">=")
|
||||
list(APPEND _pkg_check_modules_exist_query --atleast-version)
|
||||
endif(_pkg_check_modules_pkg_op STREQUAL ">=")
|
||||
|
||||
if (_pkg_check_modules_pkg_op STREQUAL "=")
|
||||
list(APPEND _pkg_check_modules_exist_query --exact-version)
|
||||
endif(_pkg_check_modules_pkg_op STREQUAL "=")
|
||||
|
||||
if (_pkg_check_modules_pkg_op STREQUAL "<=")
|
||||
list(APPEND _pkg_check_modules_exist_query --max-version)
|
||||
endif(_pkg_check_modules_pkg_op STREQUAL "<=")
|
||||
|
||||
# create the final query which is of the format:
|
||||
# * --atleast-version <version> <pkg-name>
|
||||
# * --exact-version <version> <pkg-name>
|
||||
# * --max-version <version> <pkg-name>
|
||||
# * --exists <pkg-name>
|
||||
if (_pkg_check_modules_pkg_op)
|
||||
list(APPEND _pkg_check_modules_exist_query "${_pkg_check_modules_pkg_ver}")
|
||||
else(_pkg_check_modules_pkg_op)
|
||||
list(APPEND _pkg_check_modules_exist_query --exists)
|
||||
endif(_pkg_check_modules_pkg_op)
|
||||
|
||||
_pkgconfig_unset(${_prefix}_${_pkg_check_modules_pkg_name}_VERSION)
|
||||
_pkgconfig_unset(${_prefix}_${_pkg_check_modules_pkg_name}_PREFIX)
|
||||
_pkgconfig_unset(${_prefix}_${_pkg_check_modules_pkg_name}_INCLUDEDIR)
|
||||
_pkgconfig_unset(${_prefix}_${_pkg_check_modules_pkg_name}_LIBDIR)
|
||||
|
||||
list(APPEND _pkg_check_modules_exist_query "${_pkg_check_modules_pkg_name}")
|
||||
list(APPEND _pkg_check_modules_packages "${_pkg_check_modules_pkg_name}")
|
||||
|
||||
# execute the query
|
||||
execute_process(
|
||||
COMMAND ${PKG_CONFIG_EXECUTABLE} ${_pkg_check_modules_exist_query}
|
||||
RESULT_VARIABLE _pkgconfig_retval)
|
||||
|
||||
# evaluate result and tell failures
|
||||
if (_pkgconfig_retval)
|
||||
if(NOT ${_is_silent})
|
||||
message(STATUS " package '${_pkg_check_modules_pkg}' not found")
|
||||
endif(NOT ${_is_silent})
|
||||
|
||||
set(_pkg_check_modules_failed 1)
|
||||
endif(_pkgconfig_retval)
|
||||
endforeach(_pkg_check_modules_pkg)
|
||||
|
||||
if(_pkg_check_modules_failed)
|
||||
# fail when requested
|
||||
if (${_is_required})
|
||||
message(SEND_ERROR "A required package was not found")
|
||||
endif (${_is_required})
|
||||
else(_pkg_check_modules_failed)
|
||||
# when we are here, we checked whether requested modules
|
||||
# exist. Now, go through them and set variables
|
||||
|
||||
_pkgconfig_set(${_prefix}_FOUND 1)
|
||||
list(LENGTH _pkg_check_modules_packages pkg_count)
|
||||
|
||||
# iterate through all modules again and set individual variables
|
||||
foreach (_pkg_check_modules_pkg ${_pkg_check_modules_packages})
|
||||
# handle case when there is only one package required
|
||||
if (pkg_count EQUAL 1)
|
||||
set(_pkg_check_prefix "${_prefix}")
|
||||
else(pkg_count EQUAL 1)
|
||||
set(_pkg_check_prefix "${_prefix}_${_pkg_check_modules_pkg}")
|
||||
endif(pkg_count EQUAL 1)
|
||||
|
||||
_pkgconfig_invoke(${_pkg_check_modules_pkg} "${_pkg_check_prefix}" VERSION "" --modversion )
|
||||
_pkgconfig_invoke(${_pkg_check_modules_pkg} "${_pkg_check_prefix}" PREFIX "" --variable=prefix )
|
||||
_pkgconfig_invoke(${_pkg_check_modules_pkg} "${_pkg_check_prefix}" INCLUDEDIR "" --variable=includedir )
|
||||
_pkgconfig_invoke(${_pkg_check_modules_pkg} "${_pkg_check_prefix}" LIBDIR "" --variable=libdir )
|
||||
|
||||
message(STATUS " found ${_pkg_check_modules_pkg}, version ${_pkgconfig_VERSION}")
|
||||
endforeach(_pkg_check_modules_pkg)
|
||||
|
||||
# set variables which are combined for multiple modules
|
||||
_pkgconfig_invoke_dyn("${_pkg_check_modules_packages}" "${_prefix}" LIBRARIES "(^| )-l" --libs-only-l )
|
||||
_pkgconfig_invoke_dyn("${_pkg_check_modules_packages}" "${_prefix}" LIBRARY_DIRS "(^| )-L" --libs-only-L )
|
||||
_pkgconfig_invoke_dyn("${_pkg_check_modules_packages}" "${_prefix}" LDFLAGS "" --libs )
|
||||
_pkgconfig_invoke_dyn("${_pkg_check_modules_packages}" "${_prefix}" LDFLAGS_OTHER "" --libs-only-other )
|
||||
|
||||
_pkgconfig_invoke_dyn("${_pkg_check_modules_packages}" "${_prefix}" INCLUDE_DIRS "(^| )-I" --cflags-only-I )
|
||||
_pkgconfig_invoke_dyn("${_pkg_check_modules_packages}" "${_prefix}" CFLAGS "" --cflags )
|
||||
_pkgconfig_invoke_dyn("${_pkg_check_modules_packages}" "${_prefix}" CFLAGS_OTHER "" --cflags-only-other )
|
||||
endif(_pkg_check_modules_failed)
|
||||
else(PKG_CONFIG_EXECUTABLE)
|
||||
if (${_is_required})
|
||||
message(SEND_ERROR "pkg-config tool not found")
|
||||
endif (${_is_required})
|
||||
endif(PKG_CONFIG_EXECUTABLE)
|
||||
endmacro(_pkg_check_modules_internal)
|
||||
|
||||
###
|
||||
### User visible macros start here
|
||||
###
|
||||
|
||||
###
|
||||
macro(pkg_check_modules _prefix _module0)
|
||||
# check cached value
|
||||
if (NOT DEFINED __pkg_config_checked_${_prefix} OR __pkg_config_checked_${_prefix} LESS ${PKG_CONFIG_VERSION})
|
||||
_pkgconfig_parse_options (_pkg_modules _pkg_is_required "${_module0}" ${ARGN})
|
||||
_pkg_check_modules_internal("${_pkg_is_required}" 0 "${_prefix}" ${_pkg_modules})
|
||||
|
||||
_pkgconfig_set(__pkg_config_checked_${_prefix} ${PKG_CONFIG_VERSION})
|
||||
endif(NOT DEFINED __pkg_config_checked_${_prefix} OR __pkg_config_checked_${_prefix} LESS ${PKG_CONFIG_VERSION})
|
||||
endmacro(pkg_check_modules)
|
||||
|
||||
###
|
||||
macro(pkg_search_module _prefix _module0)
|
||||
# check cached value
|
||||
if (NOT DEFINED __pkg_config_checked_${_prefix} OR __pkg_config_checked_${_prefix} LESS ${PKG_CONFIG_VERSION} OR NOT ${_prefix}_FOUND)
|
||||
set(_pkg_modules_found 0)
|
||||
_pkgconfig_parse_options(_pkg_modules_alt _pkg_is_required "${_module0}" ${ARGN})
|
||||
|
||||
message(STATUS "checking for one of the modules '${_pkg_modules_alt}'")
|
||||
|
||||
# iterate through all modules and stop at the first working one.
|
||||
foreach(_pkg_alt ${_pkg_modules_alt})
|
||||
if(NOT _pkg_modules_found)
|
||||
_pkg_check_modules_internal(0 1 "${_prefix}" "${_pkg_alt}")
|
||||
endif(NOT _pkg_modules_found)
|
||||
|
||||
if (${_prefix}_FOUND)
|
||||
set(_pkg_modules_found 1)
|
||||
endif(${_prefix}_FOUND)
|
||||
endforeach(_pkg_alt)
|
||||
|
||||
if (NOT ${_prefix}_FOUND)
|
||||
if(${_pkg_is_required})
|
||||
message(SEND_ERROR "None of the required '${_pkg_modules_alt}' found")
|
||||
endif(${_pkg_is_required})
|
||||
endif(NOT ${_prefix}_FOUND)
|
||||
|
||||
_pkgconfig_set(__pkg_config_checked_${_prefix} ${PKG_CONFIG_VERSION})
|
||||
endif(NOT DEFINED __pkg_config_checked_${_prefix} OR __pkg_config_checked_${_prefix} LESS ${PKG_CONFIG_VERSION} OR NOT ${_prefix}_FOUND)
|
||||
endmacro(pkg_search_module)
|
||||
|
||||
### Local Variables:
|
||||
### mode: cmake
|
||||
### End:
|
||||
@@ -1,103 +0,0 @@
|
||||
#
|
||||
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2009 Julien Louis <ptitlouis@sysif.net>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
# WeeChat is free software; you can redistribute it and/or modify
|
||||
# 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 Python
|
||||
# This module finds if Python 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:
|
||||
#
|
||||
# PYTHON_EXECUTABLE = full path to the python binary
|
||||
# PYTHON_INCLUDE_PATH = path to where python.h can be found
|
||||
# PYTHON_LIBRARY = path to where libpython.so* can be found
|
||||
# PYTHON_LFLAGS = python compiler options for linking
|
||||
|
||||
IF(PYTHON_FOUND)
|
||||
# Already in cache, be silent
|
||||
SET(PYTHON_FIND_QUIETLY TRUE)
|
||||
ENDIF(PYTHON_FOUND)
|
||||
|
||||
IF(ENABLE_PYTHON3)
|
||||
FIND_PROGRAM(PYTHON_EXECUTABLE
|
||||
NAMES python3.4 python3.3 python3.2 python3.1 python3.0 python3 python2.7 python2.6 python2.5 python
|
||||
PATHS /usr/bin /usr/local/bin /usr/pkg/bin
|
||||
)
|
||||
ELSE(ENABLE_PYTHON3)
|
||||
FIND_PROGRAM(PYTHON_EXECUTABLE
|
||||
NAMES python2.7 python2.6 python2.5 python
|
||||
PATHS /usr/bin /usr/local/bin /usr/pkg/bin
|
||||
)
|
||||
ENDIF(ENABLE_PYTHON3)
|
||||
|
||||
IF(PYTHON_EXECUTABLE)
|
||||
EXECUTE_PROCESS(
|
||||
COMMAND ${PYTHON_EXECUTABLE} -c "import sys; from distutils.sysconfig import *; sys.stdout.write(get_config_var('INCLUDEPY'))"
|
||||
OUTPUT_VARIABLE PYTHON_INC_DIR
|
||||
)
|
||||
|
||||
EXECUTE_PROCESS(
|
||||
COMMAND ${PYTHON_EXECUTABLE} -c "import sys; from distutils.sysconfig import *; sys.stdout.write(get_config_var('LIBPL'))"
|
||||
OUTPUT_VARIABLE PYTHON_POSSIBLE_LIB_PATH
|
||||
)
|
||||
|
||||
EXECUTE_PROCESS(
|
||||
COMMAND ${PYTHON_EXECUTABLE} -c "import sys; from distutils.sysconfig import *; sys.stdout.write(get_config_var('LINKFORSHARED'))"
|
||||
OUTPUT_VARIABLE PYTHON_LFLAGS
|
||||
)
|
||||
|
||||
FIND_PATH(PYTHON_INCLUDE_PATH
|
||||
NAMES Python.h
|
||||
PATHS ${PYTHON_INC_DIR}
|
||||
)
|
||||
IF(ENABLE_PYTHON3)
|
||||
FIND_LIBRARY(PYTHON_LIBRARY
|
||||
NAMES python3.4 python3.3 python3.2 python3.1 python3.0 python3 python2.7 python2.6 python2.5 python
|
||||
PATHS ${PYTHON_POSSIBLE_LIB_PATH}
|
||||
)
|
||||
ELSE(ENABLE_PYTHON3)
|
||||
FIND_LIBRARY(PYTHON_LIBRARY
|
||||
NAMES python2.7 python2.6 python2.5 python
|
||||
PATHS ${PYTHON_POSSIBLE_LIB_PATH}
|
||||
)
|
||||
ENDIF(ENABLE_PYTHON3)
|
||||
|
||||
IF(PYTHON_LIBRARY AND PYTHON_INCLUDE_PATH)
|
||||
EXECUTE_PROCESS(
|
||||
COMMAND ${PYTHON_EXECUTABLE} -c "import sys; sys.stdout.write(sys.version[:3])"
|
||||
OUTPUT_VARIABLE PYTHON_VERSION
|
||||
)
|
||||
EXECUTE_PROCESS(
|
||||
COMMAND ${PYTHON_EXECUTABLE} -c "import sys; sys.stdout.write(str(sys.version_info < (2,5)))"
|
||||
OUTPUT_VARIABLE PYTHON_OLD_VERSION
|
||||
)
|
||||
IF(${PYTHON_OLD_VERSION} STREQUAL "True")
|
||||
MESSAGE("Python >= 2.5 is needed to build python plugin, version found: ${PYTHON_VERSION}")
|
||||
ELSE()
|
||||
SET(PYTHON_FOUND TRUE)
|
||||
ENDIF(${PYTHON_OLD_VERSION} STREQUAL "True")
|
||||
ENDIF(PYTHON_LIBRARY AND PYTHON_INCLUDE_PATH)
|
||||
|
||||
MARK_AS_ADVANCED(
|
||||
PYTHON_EXECUTABLE
|
||||
PYTHON_INCLUDE_PATH
|
||||
PYTHON_LIBRARY
|
||||
PYTHON_LFLAGS
|
||||
)
|
||||
|
||||
ENDIF(PYTHON_EXECUTABLE)
|
||||
@@ -1,92 +0,0 @@
|
||||
#
|
||||
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
# WeeChat is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# WeeChat is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
# - Find Ruby
|
||||
# This module finds if Ruby 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:
|
||||
#
|
||||
# RUBY_EXECUTABLE = full path to the ruby binary
|
||||
# RUBY_INCLUDE_PATH = path to where ruby.h can be found
|
||||
# RUBY_LIBRARY = path to where libruby.so* can be found
|
||||
|
||||
IF(RUBY_FOUND)
|
||||
# Already in cache, be silent
|
||||
SET(RUBY_FIND_QUIETLY TRUE)
|
||||
ENDIF(RUBY_FOUND)
|
||||
|
||||
FIND_PROGRAM(RUBY_EXECUTABLE
|
||||
NAMES ruby1.9.3 ruby193 ruby1.9.2 ruby192 ruby1.9.1 ruby191 ruby1.9 ruby19 ruby1.8 ruby18 ruby1.6 ruby16 ruby
|
||||
PATHS /usr/bin /usr/local/bin /usr/pkg/bin
|
||||
)
|
||||
|
||||
IF(RUBY_EXECUTABLE)
|
||||
EXECUTE_PROCESS(
|
||||
COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "print RbConfig::CONFIG['rubyhdrdir'] || RbConfig::CONFIG['archdir']"
|
||||
OUTPUT_VARIABLE RUBY_ARCH_DIR
|
||||
)
|
||||
|
||||
EXECUTE_PROCESS(
|
||||
COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "print RbConfig::CONFIG['arch']"
|
||||
OUTPUT_VARIABLE RUBY_ARCH
|
||||
)
|
||||
|
||||
EXECUTE_PROCESS(
|
||||
COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "print RbConfig::CONFIG['libdir']"
|
||||
OUTPUT_VARIABLE RUBY_POSSIBLE_LIB_PATH
|
||||
)
|
||||
|
||||
EXECUTE_PROCESS(
|
||||
COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "print RbConfig::CONFIG['rubylibdir']"
|
||||
OUTPUT_VARIABLE RUBY_RUBY_LIB_PATH
|
||||
)
|
||||
|
||||
EXECUTE_PROCESS(
|
||||
COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "print RbConfig::CONFIG['ruby_version']"
|
||||
OUTPUT_VARIABLE RUBY_VERSION
|
||||
)
|
||||
|
||||
FIND_PATH(RUBY_INCLUDE_PATH
|
||||
NAMES ruby.h
|
||||
PATHS ${RUBY_ARCH_DIR}
|
||||
)
|
||||
|
||||
SET(RUBY_ARCH
|
||||
"${RUBY_INCLUDE_PATH}/${RUBY_ARCH}")
|
||||
|
||||
FIND_LIBRARY(RUBY_LIBRARY
|
||||
NAMES ruby-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
|
||||
PATHS ${RUBY_POSSIBLE_LIB_PATH} ${RUBY_RUBY_LIB_PATH}
|
||||
)
|
||||
|
||||
IF(RUBY_LIBRARY AND RUBY_INCLUDE_PATH)
|
||||
SET(RUBY_FOUND TRUE)
|
||||
ENDIF(RUBY_LIBRARY AND RUBY_INCLUDE_PATH)
|
||||
|
||||
IF(${RUBY_VERSION} STREQUAL "1.9.0")
|
||||
SET(RUBY_FOUND FALSE)
|
||||
ENDIF(${RUBY_VERSION} STREQUAL "1.9.0")
|
||||
|
||||
MARK_AS_ADVANCED(
|
||||
RUBY_EXECUTABLE
|
||||
RUBY_LIBRARY
|
||||
RUBY_ARCH
|
||||
RUBY_INCLUDE_PATH
|
||||
)
|
||||
ENDIF(RUBY_EXECUTABLE)
|
||||
@@ -1,39 +0,0 @@
|
||||
#
|
||||
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2009 Emmanuel Bouthenot <kolter@openics.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
# WeeChat is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# WeeChat is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
# - Find Source-Highlight
|
||||
# This module finds if source-highlight is installed.
|
||||
|
||||
IF (SOURCEHIGHLIGHT_FOUND)
|
||||
# Already in cache, be silent
|
||||
SET(SOURCEHIGHLIGHT_FIND_QUIETLY TRUE)
|
||||
ENDIF (SOURCEHIGHLIGHT_FOUND)
|
||||
|
||||
FIND_PROGRAM(
|
||||
SOURCEHIGHLIGHT_EXECUTABLE source-highlight
|
||||
PATHS /bin /usr/bin /usr/local/bin /usr/pkg/bin
|
||||
)
|
||||
|
||||
IF(SOURCEHIGHLIGHT_EXECUTABLE)
|
||||
SET(SOURCEHIGHLIGHT_FOUND TRUE)
|
||||
MARK_AS_ADVANCED(
|
||||
SOURCEHIGHLIGHT_EXECUTABLE
|
||||
)
|
||||
ENDIF(SOURCEHIGHLIGHT_EXECUTABLE)
|
||||
@@ -1,163 +0,0 @@
|
||||
#
|
||||
# Copyright (C) 2008 Julien Louis <ptitlouis@sysif.net>
|
||||
# Copyright (C) 2008-2013 Sebastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
# WeeChat is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# WeeChat is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
# - Find Tcl includes and libraries.
|
||||
# This module finds if Tcl is installed and determines where the
|
||||
# include files and libraries are. It also determines what the name of
|
||||
# the library is. This code sets the following variables:
|
||||
# TCL_FOUND = Tcl was found
|
||||
# TK_FOUND = Tk was found
|
||||
# TCLTK_FOUND = Tcl and Tk were found
|
||||
# TCL_LIBRARY = path to Tcl library (tcl tcl80)
|
||||
# TCL_INCLUDE_PATH = path to where tcl.h can be found
|
||||
# TCL_TCLSH = path to tclsh binary (tcl tcl80)
|
||||
# TK_LIBRARY = path to Tk library (tk tk80 etc)
|
||||
# TK_INCLUDE_PATH = path to where tk.h can be found
|
||||
# TK_WISH = full path to the wish executable
|
||||
#
|
||||
# In an effort to remove some clutter and clear up some issues for people
|
||||
# who are not necessarily Tcl/Tk gurus/developpers, some variables were
|
||||
# moved or removed. Changes compared to CMake 2.4 are:
|
||||
# - The stub libraries are now found in FindTclStub.cmake
|
||||
# => they were only useful for people writing Tcl/Tk extensions.
|
||||
# - TCL_LIBRARY_DEBUG and TK_LIBRARY_DEBUG were removed.
|
||||
# => these libs are not packaged by default with Tcl/Tk distributions.
|
||||
# Even when Tcl/Tk is built from source, several flavors of debug libs
|
||||
# are created and there is no real reason to pick a single one
|
||||
# specifically (say, amongst tcl84g, tcl84gs, or tcl84sgx).
|
||||
# Let's leave that choice to the user by allowing him to assign
|
||||
# TCL_LIBRARY to any Tcl library, debug or not.
|
||||
# - TK_INTERNAL_PATH was removed.
|
||||
# => this ended up being only a Win32 variable, and there is a lot of
|
||||
# confusion regarding the location of this file in an installed Tcl/Tk
|
||||
# tree anyway (see 8.5 for example). If you need the internal path at
|
||||
# this point it is safer you ask directly where the *source* tree is
|
||||
# and dig from there.
|
||||
|
||||
IF(TCL_FOUND)
|
||||
SET(TCL_FIND_QUIETLY TRUE)
|
||||
ENDIF(TCL_FOUND)
|
||||
|
||||
INCLUDE(CMakeFindFrameworks)
|
||||
INCLUDE(FindTclsh)
|
||||
|
||||
GET_FILENAME_COMPONENT(TCL_TCLSH_PATH "${TCL_TCLSH}" PATH)
|
||||
GET_FILENAME_COMPONENT(TCL_TCLSH_PATH_PARENT "${TCL_TCLSH_PATH}" PATH)
|
||||
STRING(REGEX REPLACE
|
||||
"^.*tclsh([0-9]\\.*[0-9]).*$" "\\1" TCL_TCLSH_VERSION "${TCL_TCLSH}")
|
||||
|
||||
GET_FILENAME_COMPONENT(TCL_INCLUDE_PATH_PARENT "${TCL_INCLUDE_PATH}" PATH)
|
||||
|
||||
GET_FILENAME_COMPONENT(TCL_LIBRARY_PATH "${TCL_LIBRARY}" PATH)
|
||||
GET_FILENAME_COMPONENT(TCL_LIBRARY_PATH_PARENT "${TCL_LIBRARY_PATH}" PATH)
|
||||
STRING(REGEX REPLACE
|
||||
"^.*tcl([0-9]\\.*[0-9]).*$" "\\1" TCL_VERSION "${TCL_LIBRARY}")
|
||||
|
||||
SET(TCL_POSSIBLE_LIB_PATHS
|
||||
"${TCL_INCLUDE_PATH_PARENT}/lib"
|
||||
"${TCL_INCLUDE_PATH_PARENT}/lib64"
|
||||
"${TCL_LIBRARY_PATH}"
|
||||
"${TCL_TCLSH_PATH_PARENT}/lib"
|
||||
"${TCL_TCLSH_PATH_PARENT}/lib64"
|
||||
/usr/lib
|
||||
/usr/lib64
|
||||
/usr/local/lib
|
||||
/usr/local/lib64
|
||||
)
|
||||
|
||||
IF(WIN32)
|
||||
GET_FILENAME_COMPONENT(
|
||||
ActiveTcl_CurrentVersion
|
||||
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\ActiveState\\ActiveTcl;CurrentVersion]"
|
||||
NAME)
|
||||
SET(TCLTK_POSSIBLE_LIB_PATHS ${TCLTK_POSSIBLE_LIB_PATHS}
|
||||
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\ActiveState\\ActiveTcl\\${ActiveTcl_CurrentVersion}]/lib"
|
||||
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.6;Root]/lib"
|
||||
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.5;Root]/lib"
|
||||
"$ENV{ProgramFiles}/Tcl/Lib"
|
||||
"C:/Program Files/Tcl/lib"
|
||||
"C:/Tcl/lib"
|
||||
)
|
||||
ENDIF(WIN32)
|
||||
|
||||
FIND_LIBRARY(TCL_LIBRARY
|
||||
NAMES
|
||||
tcl86 tcl8.6
|
||||
tcl85 tcl8.5
|
||||
tcl
|
||||
tcl${TCL_VERSION} tcl${TCL_TCLSH_VERSION}
|
||||
PATHS ${TCL_POSSIBLE_LIB_PATHS}
|
||||
)
|
||||
|
||||
CMAKE_FIND_FRAMEWORKS(Tcl)
|
||||
|
||||
SET(TCL_FRAMEWORK_INCLUDES)
|
||||
IF(Tcl_FRAMEWORKS)
|
||||
IF(NOT TCL_INCLUDE_PATH)
|
||||
FOREACH(dir ${Tcl_FRAMEWORKS})
|
||||
SET(TCL_FRAMEWORK_INCLUDES ${TCL_FRAMEWORK_INCLUDES} ${dir}/Headers)
|
||||
ENDFOREACH(dir)
|
||||
ENDIF(NOT TCL_INCLUDE_PATH)
|
||||
ENDIF(Tcl_FRAMEWORKS)
|
||||
|
||||
SET(TCL_POSSIBLE_INCLUDE_PATHS
|
||||
"${TCL_LIBRARY_PATH_PARENT}/include"
|
||||
"${TCL_INCLUDE_PATH}"
|
||||
${TCL_FRAMEWORK_INCLUDES}
|
||||
"${TCL_TCLSH_PATH_PARENT}/include"
|
||||
/usr/include/tcl8.6
|
||||
/usr/include/tcl8.5
|
||||
/usr/include
|
||||
/usr/local/include
|
||||
/usr/include/tcl${TCL_VERSION}
|
||||
/usr/local/include/tcl${TCL_VERSION}
|
||||
/usr/local/include/tcl8.6
|
||||
/usr/local/include/tcl8.5
|
||||
)
|
||||
|
||||
|
||||
IF(WIN32)
|
||||
SET(TCLTK_POSSIBLE_INCLUDE_PATHS ${TCLTK_POSSIBLE_INCLUDE_PATHS}
|
||||
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\ActiveState\\ActiveTcl\\${ActiveTcl_CurrentVersion}]/include"
|
||||
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.6;Root]/include"
|
||||
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.5;Root]/include"
|
||||
"$ENV{ProgramFiles}/Tcl/include"
|
||||
"C:/Program Files/Tcl/include"
|
||||
"C:/Tcl/include"
|
||||
)
|
||||
ENDIF(WIN32)
|
||||
|
||||
FIND_PATH(TCL_INCLUDE_PATH
|
||||
NAMES tcl.h
|
||||
PATHS ${TCL_POSSIBLE_INCLUDE_PATHS}
|
||||
)
|
||||
|
||||
IF(TCL_LIBRARY AND TCL_INCLUDE_PATH)
|
||||
SET(TCL_VERSION ${TCL_VERSION})
|
||||
SET(TCL_LIBARY ${TCL_LIBRARY})
|
||||
SET(TCL_INCLUDE_PATH ${TCL_INCLUDE_PATH})
|
||||
SET(TCL_FOUND TRUE)
|
||||
ENDIF(TCL_LIBRARY AND TCL_INCLUDE_PATH)
|
||||
|
||||
MARK_AS_ADVANCED(
|
||||
TCL_INCLUDE_PATH
|
||||
TCL_LIBRARY
|
||||
TCL_VERSION
|
||||
)
|
||||
@@ -1,78 +0,0 @@
|
||||
# - Find zlib
|
||||
# Find the native ZLIB includes and library.
|
||||
# Once done this will define
|
||||
#
|
||||
# ZLIB_INCLUDE_DIRS - where to find zlib.h, etc.
|
||||
# ZLIB_LIBRARIES - List of libraries when using zlib.
|
||||
# ZLIB_FOUND - True if zlib found.
|
||||
#
|
||||
# ZLIB_VERSION_STRING - The version of zlib found (x.y.z)
|
||||
# ZLIB_VERSION_MAJOR - The major version of zlib
|
||||
# ZLIB_VERSION_MINOR - The minor version of zlib
|
||||
# ZLIB_VERSION_PATCH - The patch version of zlib
|
||||
# ZLIB_VERSION_TWEAK - The tweak version of zlib
|
||||
#
|
||||
# The following variable are provided for backward compatibility
|
||||
#
|
||||
# ZLIB_MAJOR_VERSION - The major version of zlib
|
||||
# ZLIB_MINOR_VERSION - The minor version of zlib
|
||||
# ZLIB_PATCH_VERSION - The patch version of zlib
|
||||
|
||||
#=============================================================================
|
||||
# Copyright 2001-2009 Kitware, Inc.
|
||||
#
|
||||
# Distributed under the OSI-approved BSD License (the "License");
|
||||
# see accompanying file Copyright.txt for details.
|
||||
#
|
||||
# This software is distributed WITHOUT ANY WARRANTY; without even the
|
||||
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
# See the License for more information.
|
||||
#=============================================================================
|
||||
# (To distribute this file outside of CMake, substitute the full
|
||||
# License text for the above reference.)
|
||||
|
||||
FIND_PATH(ZLIB_INCLUDE_DIR zlib.h
|
||||
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\GnuWin32\\Zlib;InstallPath]/include"
|
||||
)
|
||||
|
||||
SET(ZLIB_NAMES z zlib zdll zlib1 zlibd zlibd1)
|
||||
FIND_LIBRARY(ZLIB_LIBRARY
|
||||
NAMES
|
||||
${ZLIB_NAMES}
|
||||
PATHS
|
||||
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\GnuWin32\\Zlib;InstallPath]/lib"
|
||||
)
|
||||
MARK_AS_ADVANCED(ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
|
||||
|
||||
IF(ZLIB_INCLUDE_DIR AND EXISTS "${ZLIB_INCLUDE_DIR}/zlib.h")
|
||||
FILE(STRINGS "${ZLIB_INCLUDE_DIR}/zlib.h" ZLIB_H REGEX "^#define ZLIB_VERSION \"[^\"]*\"$")
|
||||
|
||||
STRING(REGEX REPLACE "^.*ZLIB_VERSION \"([0-9]+).*$" "\\1" ZLIB_VERSION_MAJOR "${ZLIB_H}")
|
||||
STRING(REGEX REPLACE "^.*ZLIB_VERSION \"[0-9]+\\.([0-9]+).*$" "\\1" ZLIB_VERSION_MINOR "${ZLIB_H}")
|
||||
STRING(REGEX REPLACE "^.*ZLIB_VERSION \"[0-9]+\\.[0-9]+\\.([0-9]+).*$" "\\1" ZLIB_VERSION_PATCH "${ZLIB_H}")
|
||||
SET(ZLIB_VERSION_STRING "${ZLIB_VERSION_MAJOR}.${ZLIB_VERSION_MINOR}.${ZLIB_VERSION_PATCH}")
|
||||
|
||||
# only append a TWEAK version if it exists:
|
||||
SET(ZLIB_VERSION_TWEAK "")
|
||||
IF( "${ZLIB_H}" MATCHES "^.*ZLIB_VERSION \"[0-9]+\\.[0-9]+\\.[0-9]+\\.([0-9]+).*$")
|
||||
SET(ZLIB_VERSION_TWEAK "${CMAKE_MATCH_1}")
|
||||
SET(ZLIB_VERSION_STRING "${ZLIB_VERSION_STRING}.${ZLIB_VERSION_TWEAK}")
|
||||
ENDIF( "${ZLIB_H}" MATCHES "^.*ZLIB_VERSION \"[0-9]+\\.[0-9]+\\.[0-9]+\\.([0-9]+).*$")
|
||||
|
||||
SET(ZLIB_MAJOR_VERSION "${ZLIB_VERSION_MAJOR}")
|
||||
SET(ZLIB_MINOR_VERSION "${ZLIB_VERSION_MINOR}")
|
||||
SET(ZLIB_PATCH_VERSION "${ZLIB_VERSION_PATCH}")
|
||||
ENDIF()
|
||||
|
||||
# handle the QUIETLY and REQUIRED arguments and set ZLIB_FOUND to TRUE if
|
||||
# all listed variables are TRUE
|
||||
#INCLUDE(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake)
|
||||
INCLUDE(${CMAKE_HOME_DIRECTORY}/cmake/FindPackageHandleStandardArgs.cmake)
|
||||
FIND_PACKAGE_HANDLE_STANDARD_ARGS(ZLIB REQUIRED_VARS ZLIB_LIBRARY ZLIB_INCLUDE_DIR
|
||||
VERSION_VAR ZLIB_VERSION_STRING)
|
||||
|
||||
IF(ZLIB_FOUND)
|
||||
SET(ZLIB_INCLUDE_DIRS ${ZLIB_INCLUDE_DIR})
|
||||
SET(ZLIB_LIBRARIES ${ZLIB_LIBRARY})
|
||||
ENDIF()
|
||||
|
||||
@@ -1,39 +0,0 @@
|
||||
#
|
||||
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
# WeeChat is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# WeeChat is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
IF(NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt")
|
||||
MESSAGE(FATAL_ERROR "Cannot find install manifest: \"@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt\"")
|
||||
ENDIF(NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt")
|
||||
|
||||
FILE(READ "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt" files)
|
||||
STRING(REGEX REPLACE "\n" ";" files "${files}")
|
||||
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("${rm_retval}" GREATER 0)
|
||||
ELSE(EXISTS "$ENV{DESTDIR}${file}")
|
||||
MESSAGE(STATUS "File \"$ENV{DESTDIR}${file}\" does not exist.")
|
||||
ENDIF(EXISTS "$ENV{DESTDIR}${file}")
|
||||
ENDFOREACH(file)
|
||||
@@ -1,18 +0,0 @@
|
||||
#cmakedefine HAVE_LIBINTL_H
|
||||
#cmakedefine HAVE_SYS_RESOURCE_H
|
||||
#cmakedefine HAVE_FLOCK
|
||||
#cmakedefine HAVE_LANGINFO_CODESET
|
||||
#cmakedefine HAVE_BACKTRACE
|
||||
#cmakedefine ICONV_2ARG_IS_CONST 1
|
||||
#cmakedefine HAVE_MALLINFO
|
||||
#cmakedefine HAVE_EAT_NEWLINE_GLITCH
|
||||
#define PACKAGE_VERSION "@VERSION@"
|
||||
#define PACKAGE "@PROJECT_NAME@"
|
||||
#define PACKAGE_NAME "@PROJECT_NAME@"
|
||||
#define PACKAGE_STRING "@PKG_STRING@"
|
||||
#define WEECHAT_LIBDIR "@LIBDIR@"
|
||||
#define WEECHAT_SHAREDIR "@SHAREDIR@"
|
||||
#define LOCALEDIR "@LOCALEDIR@"
|
||||
#define WEECHAT_HOME "@WEECHAT_HOME@"
|
||||
#define CA_FILE "@CA_FILE@"
|
||||
#define _GNU_SOURCE 1
|
||||
-1275
File diff suppressed because it is too large
Load Diff
Vendored
-19
@@ -1,19 +0,0 @@
|
||||
weechat (0.3.1-1) unstable; urgency=low
|
||||
|
||||
This release introduces important changes with the usage of SSL. There
|
||||
are stronger checks while connecting with SSL. By default, if a connection
|
||||
is not fully trusted it will fail.
|
||||
You can find more information on how to handle this new behaviour here:
|
||||
http://dev.weechat.org/post/2009/12/01/SSL-certificates
|
||||
|
||||
-- Emmanuel Bouthenot <kolter@debian.org> Mon, 25 Jan 2010 12:35:11 +0100
|
||||
|
||||
weechat (0.3.0-1) unstable; urgency=low
|
||||
|
||||
This release introduces major changes. Large part of code was
|
||||
rewritten without keeping compatibility with older versions.
|
||||
|
||||
Please refer to the file /usr/share/doc/weechat-core/UPGRADE_0.3
|
||||
for more information on upgrade from a version 0.2.x to 0.3.x.
|
||||
|
||||
-- Emmanuel Bouthenot <kolter@openics.org> Tue, 15 Sep 2009 20:59:42 +0000
|
||||
Vendored
+2
-526
@@ -1,529 +1,5 @@
|
||||
weechat (0.4.1-1) unstable; urgency=low
|
||||
|
||||
* New upstream release
|
||||
* Move guile build dependency to guile-2.0-dev (previous versions are
|
||||
no longer supported).
|
||||
* Add supported protocols in long description. Thanks to Jonas Smedegaard
|
||||
for the suggestion (Closes: #705216)
|
||||
|
||||
-- Emmanuel Bouthenot <kolter@debian.org> Tue, 21 May 2013 19:44:31 +0000
|
||||
|
||||
weechat (0.4.0-1) unstable; urgency=low
|
||||
|
||||
* New upstream release.
|
||||
* Bump Standards-Version to 3.9.4
|
||||
* Remove UPGRADE_0.3 from doc (no more included in upstream sources).
|
||||
|
||||
-- Emmanuel Bouthenot <kolter@debian.org> Wed, 23 Jan 2013 18:44:36 +0000
|
||||
|
||||
weechat (0.3.9.2-1) unstable; urgency=low
|
||||
|
||||
* New upstream release
|
||||
- do not call shell to execute command in hook_process (fix security
|
||||
problem when a plugin/script gives untrusted command)
|
||||
|
||||
-- Emmanuel Bouthenot <kolter@debian.org> Sun, 18 Nov 2012 13:35:21 +0000
|
||||
|
||||
weechat (0.3.9.1-1) unstable; urgency=low
|
||||
|
||||
* New upstream release
|
||||
- fix crash when decoding IRC colors in strings
|
||||
|
||||
-- Emmanuel Bouthenot <kolter@debian.org> Fri, 09 Nov 2012 23:11:09 +0000
|
||||
|
||||
weechat (0.3.9-1) unstable; urgency=low
|
||||
|
||||
* New upstream release
|
||||
* Add the new 'script' plugin and update the long descriptions accordingly
|
||||
* Add new doc-base files:
|
||||
- Testers guide in Japanese
|
||||
- Users guide in Japanese
|
||||
- Scripting guide in Japanese
|
||||
* Fix wrong Vcs-Browser URL (Closes: #689203)
|
||||
* Update lintian override on weechat-curses
|
||||
|
||||
-- Emmanuel Bouthenot <kolter@debian.org> Sun, 30 Sep 2012 21:14:22 +0000
|
||||
|
||||
weechat (0.3.8-1) unstable; urgency=low
|
||||
|
||||
* New upstream release
|
||||
|
||||
-- Emmanuel Bouthenot <kolter@debian.org> Sun, 03 Jun 2012 07:54:52 +0000
|
||||
|
||||
weechat (0.3.7-1) unstable; urgency=low
|
||||
|
||||
* New upstream release
|
||||
* Bump Standards-Version to 3.9.3
|
||||
* Update debian/copyright: new year
|
||||
* Add new doc-base files:
|
||||
- Developer's Guide in English
|
||||
- Relay Protocol in English
|
||||
- Quickstart in Spanish
|
||||
* Update Vcs-Git and Vcs-Browser fields
|
||||
|
||||
-- Emmanuel Bouthenot <kolter@debian.org> Sun, 26 Feb 2012 10:32:35 +0000
|
||||
|
||||
weechat (0.3.6-2) unstable; urgency=low
|
||||
|
||||
* Update debian/rules to use build flags from dpkg-buildflags when it's
|
||||
possible (ie: with dpkg >= 1.16.1).
|
||||
|
||||
-- Emmanuel Bouthenot <kolter@debian.org> Sat, 29 Oct 2011 07:31:14 +0000
|
||||
|
||||
weechat (0.3.6-1) unstable; urgency=low
|
||||
|
||||
* New upstream release
|
||||
- Fix a FTBFS due to wrong detection of ncursesw headers
|
||||
(Closes: #646299)
|
||||
* Add new doc-base files (Polish translations).
|
||||
* Install html documentation in /usr/share/doc/weechat/html instead
|
||||
of /usr/share/doc/weechat
|
||||
* Add a symlink from /usr/share/doc/weechat/html to
|
||||
/usr/share/doc/weechat-doc/html so that it will be easier to find
|
||||
documentation when weechat-doc is installed (Closes: #632621)
|
||||
* Add a Suggest on weechat-doc for weechat and weechat-curses. Thanks to
|
||||
Jonathan Nieder for the proposal.
|
||||
* Fix the cmake invokation from debian/rules (cflags and ldflags)
|
||||
|
||||
-- Emmanuel Bouthenot <kolter@debian.org> Wed, 26 Oct 2011 20:10:09 +0000
|
||||
|
||||
weechat (0.3.5-1) unstable; urgency=low
|
||||
|
||||
* New upstream release
|
||||
- Fix usage of deprecated _set_priority GnuTLS functions (Closes: #624055)
|
||||
* Remove patch added to fix crash when completing /part command
|
||||
* Bump Standards-Version to 3.9.2
|
||||
* Update debian/copyright, switch to DEP5 format
|
||||
|
||||
-- Emmanuel Bouthenot <kolter@debian.org> Mon, 16 May 2011 11:40:09 +0000
|
||||
|
||||
weechat (0.3.4-2) unstable; urgency=low
|
||||
|
||||
* Add a patch which fix a crash when completing /part command on a
|
||||
non-irc buffer.
|
||||
|
||||
-- Emmanuel Bouthenot <kolter@debian.org> Sun, 13 Feb 2011 21:13:35 +0000
|
||||
|
||||
weechat (0.3.4-1) unstable; urgency=low
|
||||
|
||||
* New upstream release (add relay and rmodifier plugins).
|
||||
* Update Build depends (tcl-dev, ruby-dev, asciidoc).
|
||||
* Remove the patch to make weechat aware of python 2.7 (merged upstream).
|
||||
* Remove the backported patch which fix the bug with hostmasks in IRC
|
||||
command /ignore.
|
||||
* Update lintian override on weechat-curses.
|
||||
* Update long descriptions regarding the new features.
|
||||
* Add source/local-options file.
|
||||
|
||||
-- Emmanuel Bouthenot <kolter@debian.org> Sun, 16 Jan 2011 11:54:55 +0000
|
||||
|
||||
weechat (0.3.3-3) unstable; urgency=low
|
||||
|
||||
* Upload to unstable.
|
||||
* Downgrade tcl-dev dependency to 8.4 until tcl 8.5 hit unstable.
|
||||
* Add a patch to make cmake aware of python 2.7 (Closes: #606989).
|
||||
Thanks to Matthias Klose.
|
||||
|
||||
-- Emmanuel Bouthenot <kolter@debian.org> Mon, 27 Dec 2010 23:29:46 +0000
|
||||
|
||||
weechat (0.3.3-2) experimental; urgency=low
|
||||
|
||||
* Switch to dpkg-source 3.0 (quilt) format
|
||||
* Add a patch to fix bug with hostmasks in IRC command /ignore
|
||||
|
||||
-- Emmanuel Bouthenot <kolter@debian.org> Fri, 20 Aug 2010 20:39:06 +0000
|
||||
|
||||
weechat (0.3.3-1) experimental; urgency=low
|
||||
|
||||
* New upstream release
|
||||
* Add new doc-base files (German translations).
|
||||
* Update Standards-Version to 3.9.1
|
||||
|
||||
-- Emmanuel Bouthenot <kolter@debian.org> Tue, 10 Aug 2010 11:23:14 +0000
|
||||
|
||||
weechat (0.3.2-2) experimental; urgency=low
|
||||
|
||||
* Fix Vcs-Browser url (Closes: #580859).
|
||||
* Rebuild against tcl-dev (>= 8.5) (Closes: #582588).
|
||||
|
||||
-- Emmanuel Bouthenot <kolter@debian.org> Sun, 23 May 2010 08:32:37 +0000
|
||||
|
||||
weechat (0.3.2-1) unstable; urgency=low
|
||||
|
||||
* New upstream release
|
||||
- Add SASL authentication support (Closes: #574053)
|
||||
- Add Build-Depend on libgcrypt11-dev (needed by SASL auth.)
|
||||
* Fix build dependency against asciidoc (>=8.4 is needed). Thanks
|
||||
to Michal Suchanek who spotted this bug (Closes: #574050).
|
||||
* Update Standards-Version to 3.8.4
|
||||
* Add debian/source/format to make lintian happy.
|
||||
* Update lintian-override for weechat-curses manpage.
|
||||
* Add new doc-base files (italian translations).
|
||||
|
||||
-- Emmanuel Bouthenot <kolter@debian.org> Sat, 20 Mar 2010 18:09:38 +0100
|
||||
|
||||
weechat (0.3.1.1-1) unstable; urgency=low
|
||||
|
||||
* New upstream release
|
||||
|
||||
-- Emmanuel Bouthenot <kolter@debian.org> Sun, 31 Jan 2010 19:18:42 +0000
|
||||
|
||||
weechat (0.3.1-1) unstable; urgency=low
|
||||
|
||||
* New upstream release:
|
||||
- Add ssl client certificate support (Closes: #453348)
|
||||
- Fix a color bug in status line (Closes: #512957)
|
||||
* Remove patch 'fix_ftbfs_kfreebsd' (fixed upstream)
|
||||
* Maintainer became Debian Developer: adjust email, VCS and DM fields.
|
||||
* Update doc-base files:
|
||||
- Remove not needed asciidoc templates
|
||||
- Add new translations
|
||||
* Update debian/NEWS about new SSL behaviour.
|
||||
|
||||
-- Emmanuel Bouthenot <kolter@debian.org> Sat, 16 Jan 2010 12:16:26 +0100
|
||||
|
||||
weechat (0.3.0-2) unstable; urgency=low
|
||||
|
||||
* Add a patch to fix a FTBFS on GNU/kFreeBSD.
|
||||
|
||||
-- Emmanuel Bouthenot <kolter@openics.org> Sat, 03 Oct 2009 13:22:10 +0000
|
||||
|
||||
weechat (0.3.0-1) unstable; urgency=low
|
||||
|
||||
* New (final) upstream release.
|
||||
* Upload to unstable.
|
||||
* Add doc-base files for documentation.
|
||||
|
||||
-- Emmanuel Bouthenot <kolter@openics.org> Tue, 15 Sep 2009 20:58:07 +0000
|
||||
|
||||
weechat (0.3.0~rc3-1) experimental; urgency=low
|
||||
|
||||
* New (major) upstream release.
|
||||
- Fix the excessive number of wakeups (Closes: #461945)
|
||||
* Remove patches (merged upstream).
|
||||
* Update debian/copyright: add new copyright holder.
|
||||
* Packaging changes (taking into account future frontends: weechat-gtk,
|
||||
weechat-qt, etc.):
|
||||
- Drop weechat-common
|
||||
- Add weechat-doc (Documentation)
|
||||
- Add weechat-core (locales files, essential plugins)
|
||||
- Add weechat-dev (plugins development files)
|
||||
- Add weechat-dbg (gdb debugging symbols)
|
||||
* Switch packaging from cdbs to debhelper 7.
|
||||
* Update packages descriptions.
|
||||
* Add a lintian-override against manpage line wrapping error.
|
||||
* Update Standards-Version to 3.8.3.
|
||||
* Add file UPGRADE_0.3 to doc files.
|
||||
* Update debian/NEWS about major changes in this release.
|
||||
|
||||
-- Emmanuel Bouthenot <kolter@openics.org> Sun, 16 Aug 2009 20:32:01 +0000
|
||||
|
||||
weechat (0.2.6.3-1) unstable; urgency=low
|
||||
|
||||
* New upstream release
|
||||
- drop the usage of the deprecated libgnutls-config script to detect
|
||||
gnutls (Closes: #529912).
|
||||
|
||||
-- Emmanuel Bouthenot <kolter@openics.org> Sat, 13 Jun 2009 21:47:56 +0000
|
||||
|
||||
weechat (0.2.6.2-1) unstable; urgency=low
|
||||
|
||||
* New upstream release
|
||||
* Add a patch which fix typos in aspell plugin.
|
||||
* Refresh patch multiple_ip_servers according to the new upstream release.
|
||||
|
||||
-- Emmanuel Bouthenot <kolter@openics.org> Sun, 19 Apr 2009 10:23:26 +0000
|
||||
|
||||
weechat (0.2.6.1-1) unstable; urgency=low
|
||||
|
||||
* New upstream release which includes a fix against a possible remote
|
||||
Denial of Service (crash) while receiving messages with special chars
|
||||
(Closes: #519940).
|
||||
* Refresh patch multiple_ip_servers according to the new upstream release.
|
||||
* Update Standards-Version to 3.8.1.
|
||||
|
||||
-- Emmanuel Bouthenot <kolter@openics.org> Mon, 16 Mar 2009 13:18:29 +0000
|
||||
|
||||
weechat (0.2.6-3) unstable; urgency=low
|
||||
|
||||
* Add a patch to make weechat try to connect other server IPs
|
||||
when the first one failed. Thanks to Lionel Elie Mamane for
|
||||
his patch (Closes: #498610).
|
||||
* Rename patch 01_perlembed_init_macros to perlembed_init_macros.
|
||||
* Update debian/control:
|
||||
- add ${misc:Depends}
|
||||
- update descriptions
|
||||
* Update debian/copyright about debian packaging.
|
||||
* Add Vcs-Browser and Vcs-Git fields in debian/control.
|
||||
* Add DM-Upload-Allowed field.
|
||||
|
||||
-- Emmanuel Bouthenot <kolter@openics.org> Sat, 21 Feb 2009 18:34:08 +0000
|
||||
|
||||
weechat (0.2.6-2) unstable; urgency=low
|
||||
|
||||
* Setting me as maintainer with previous maintainer agreement.
|
||||
* Remove Uploaders field.
|
||||
* Add quilt to Build-Depends.
|
||||
* Add a patch to fix probable pthread mutex locks on hppa architecture
|
||||
with perl plugin (Closes: #495080).
|
||||
* Add a Homepage field.
|
||||
* Update Standards-Version to 3.8.0.
|
||||
* Reformat NEWS file to avoid lintian warnings.
|
||||
* Fix typos in control file.
|
||||
|
||||
-- Emmanuel Bouthenot <kolter@openics.org> Sun, 07 Sep 2008 19:39:42 +0000
|
||||
|
||||
weechat (0.2.6-1) unstable; urgency=low
|
||||
|
||||
* New Upstream Version
|
||||
* Switch to GPLv3 (update copyright)
|
||||
* Update menu entry
|
||||
|
||||
-- Emmanuel Bouthenot <kolter@openics.org> Thu, 06 Sep 2007 20:10:26 +0200
|
||||
|
||||
weechat (0.2.5-1) unstable; urgency=low
|
||||
|
||||
* New Upstream Version
|
||||
|
||||
-- Julien Louis <ptitlouis@sysif.net> Tue, 12 Jun 2007 19:42:15 +0200
|
||||
|
||||
weechat (0.2.4-2) unstable; urgency=low
|
||||
|
||||
* Backport iso-2022-jp patch from upstream CVS (Closes: #421833).
|
||||
* Set myself as Maintainer with previous Maintainer agreement.
|
||||
|
||||
-- Julien Louis <ptitlouis@sysif.net> Thu, 03 May 2007 21:15:59 +0200
|
||||
|
||||
weechat (0.2.4-1) unstable; urgency=low
|
||||
|
||||
* New upstream release
|
||||
|
||||
-- Julien Louis <ptitlouis@sysif.net> Thu, 29 Mar 2007 21:01:46 +0200
|
||||
|
||||
weechat (0.2.3-1) unstable; urgency=low
|
||||
|
||||
* New upstream release
|
||||
* Bump lua build-dependency to liblua5.1-0-dev
|
||||
* Add pkg-config to Build-Depends
|
||||
* Remove some duplited changelog entries.
|
||||
* Improve weechat-plugins description
|
||||
|
||||
-- Julien Louis <ptitlouis@sysif.net> Fri, 12 Jan 2007 09:01:46 +0100
|
||||
|
||||
weechat (0.2.1-1) unstable; urgency=low
|
||||
|
||||
* New upstream release
|
||||
* Overrive lintian menu-icon-missing warning
|
||||
since the icon is in the weechat-common package.
|
||||
|
||||
-- Julien Louis <ptitlouis@sysif.net> Mon, 2 Oct 2006 15:30:06 +0200
|
||||
|
||||
weechat (0.2.0-2) unstable; urgency=low
|
||||
|
||||
* Add libaspell-dev to Build-Depends. This enables the aspell plugin built.
|
||||
|
||||
-- Julien Louis <ptitlouis@sysif.net> Mon, 25 Sep 2006 23:56:16 +0200
|
||||
|
||||
weechat (0.2.0-1) unstable; urgency=low
|
||||
|
||||
* New upstream release
|
||||
* Rebuild against new default python version (Closes: #380985).
|
||||
|
||||
-- Julien Louis <ptitlouis@sysif.net> Sat, 19 Aug 2006 17:10:59 +0200
|
||||
|
||||
weechat (0.1.9-3) unstable; urgency=low
|
||||
|
||||
* Remove gnutls Build-Depends introduced in the previous upload
|
||||
(closes: #379765).
|
||||
* Move xsltproc, docbook-xml, docbook-xsl to Build-Depends-Indep.
|
||||
* Change icon format from png to xpm.
|
||||
|
||||
-- Julien Louis <ptitlouis@sysif.net> Tue, 25 Jul 2006 11:53:25 +0200
|
||||
|
||||
weechat (0.1.9-2) unstable; urgency=low
|
||||
|
||||
* Fix ${datadir} expansion in configure.in which caused some problem when
|
||||
loading scripts from /usr/share/weechat.
|
||||
* Add weechat-scripts to weechat-plugins Suggests.
|
||||
* Apply patch from Andreas Metzler to make weechat binNMUable
|
||||
(Closes: #379419).
|
||||
* Build-Depends against libgnutls13-dev | libgnutls-dev.
|
||||
|
||||
-- Julien Louis <ptitlouis@sysif.net> Sun, 23 Jul 2006 17:28:34 +0200
|
||||
|
||||
weechat (0.1.9-1) unstable; urgency=low
|
||||
|
||||
* New upstream release
|
||||
|
||||
-- Julien Louis <ptitlouis@sysif.net> Thu, 25 May 2006 07:40:53 +0200
|
||||
|
||||
weechat (0.1.8-2) unstable; urgency=low
|
||||
|
||||
* Switch to cdbs
|
||||
* update debhelper compatibility to 5
|
||||
* update Build-Depends
|
||||
* update debian/copyright
|
||||
* Bump Standards-Version, no changes needed
|
||||
|
||||
-- Julien Louis <ptitlouis@sysif.net> Fri, 21 Apr 2006 22:39:00 +0200
|
||||
|
||||
weechat (0.1.8-1) unstable; urgency=low
|
||||
|
||||
* New upstream release
|
||||
* Add liblualib50-dev and docbook-xml to Build-Depends
|
||||
|
||||
-- Julien Louis <ptitlouis@sysif.net> Sat, 18 Mar 2006 11:32:52 +0100
|
||||
|
||||
weechat (0.1.7-2) unstable; urgency=low
|
||||
|
||||
* force linking against libpthread on GNU/Hurd (Closes: #350487)
|
||||
|
||||
-- Julien Louis <ptitlouis@sysif.net> Sun, 5 Feb 2006 18:23:24 +0100
|
||||
|
||||
weechat (0.1.7-1) unstable; urgency=low
|
||||
|
||||
* New upstream release
|
||||
|
||||
-- Julien Louis <ptitlouis@sysif.net> Sat, 14 Jan 2006 14:14:29 +0100
|
||||
|
||||
weechat (0.1.6-2) unstable; urgency=low
|
||||
|
||||
* Apply path to fix segfault when removing server.
|
||||
* Move plugins in a separate package
|
||||
|
||||
-- Julien Louis <ptitlouis@sysif.net> Tue, 22 Nov 2005 08:33:09 +0100
|
||||
|
||||
weechat (0.1.6-1) unstable; urgency=low
|
||||
|
||||
* New upstream release
|
||||
* Add menu entry
|
||||
* Move libperl5.8 and python2.3 from Depends to Recommends
|
||||
|
||||
-- Julien Louis <ptitlouis@sysif.net> Fri, 11 Nov 2005 22:21:08 +0100
|
||||
|
||||
weechat (0.1.5-1) unstable; urgency=low
|
||||
|
||||
* New upstream release
|
||||
|
||||
-- Julien Louis <ptitlouis@sysif.net> Sat, 24 Sep 2005 14:08:55 +0200
|
||||
|
||||
weechat (0.1.4-2) unstable; urgency=low
|
||||
|
||||
* Add autotools-dev to Build-Depends.
|
||||
* update autotools stuff automatically to always
|
||||
have up-to-date config.{guess,sub}
|
||||
* Update Build-Depends: libgnutls11-dev -> libgnutls-dev
|
||||
|
||||
-- Julien Louis <ptitlouis@sysif.net> Mon, 1 Aug 2005 11:46:39 +0200
|
||||
|
||||
weechat (0.1.4-1) unstable; urgency=low
|
||||
|
||||
* New upstream release.
|
||||
|
||||
-- Julien Louis <ptitlouis@sysif.net> Sat, 30 Jul 2005 16:26:55 +0200
|
||||
|
||||
weechat (0.1.3-2) unstable; urgency=low
|
||||
|
||||
* Update config.{guess,sub} to fix FTBFS on k*BSD (Closes: #316791)
|
||||
|
||||
-- Julien Louis <ptitlouis@sysif.net> Fri, 8 Jul 2005 21:30:38 +0200
|
||||
|
||||
weechat (0.1.3-1) unstable; urgency=low
|
||||
|
||||
* New upstream release.
|
||||
|
||||
-- Julien Louis <ptitlouis@sysif.net> Sat, 2 Jul 2005 20:06:29 +0200
|
||||
|
||||
weechat (0.1.2-3) unstable; urgency=low
|
||||
|
||||
* Apply patch against gui-display.c to fix curses color bug.
|
||||
* remove dh_install --sourcedir to allow builds on woody.
|
||||
|
||||
-- Julien Louis <ptitlouis@sysif.net> Sun, 19 Jun 2005 22:37:11 +0200
|
||||
|
||||
weechat (0.1.2-2) unstable; urgency=low
|
||||
|
||||
* Patch src/gui/curse/gui-display.c to fix segfault
|
||||
when config file does not exists (Closes: #310589).
|
||||
|
||||
-- Julien Louis <ptitlouis@sysif.net> Tue, 24 May 2005 20:55:02 +0200
|
||||
|
||||
weechat (0.1.2-1) unstable; urgency=low
|
||||
|
||||
* WeeChat version 0.1.2, see ChangeLog for detail.
|
||||
|
||||
-- Sebastien Helleu <flashcode@flashtux.org> Sat, 21 May 2005 08:00:00 +0200
|
||||
|
||||
weechat (0.1.1-2) unstable; urgency=low
|
||||
|
||||
* debian/control:
|
||||
- Add myself to uploaders.
|
||||
- Remove unecessary dependency on weechat-gtk (Closes: #308287).
|
||||
|
||||
-- Julien Louis <ptitlouis@sysif.net> Tue, 10 May 2005 22:38:52 +0200
|
||||
|
||||
weechat (0.1.1-1) unstable; urgency=low
|
||||
|
||||
* WeeChat version 0.1.1, see ChangeLog for detail (closes: #306492)
|
||||
|
||||
-- Sebastien Helleu <flashcode@flashtux.org> Sat, 20 Mar 2005 08:00:00 +0200
|
||||
|
||||
weechat (0.1.0-1) unstable; urgency=low
|
||||
|
||||
* WeeChat version 0.1.0, see ChangeLog for detail.
|
||||
|
||||
-- Sebastien Helleu <flashcode@flashtux.org> Sat, 12 Feb 2005 12:00:00 +0200
|
||||
|
||||
weechat (0.0.9-1) unstable; urgency=low
|
||||
|
||||
* WeeChat version 0.0.9, see ChangeLog for detail.
|
||||
|
||||
-- FlashCode <flashcode@flashtux.org> Sat, 01 Jan 2005 13:00:00 +0200
|
||||
|
||||
weechat (0.0.8-1) unstable; urgency=low
|
||||
|
||||
* WeeChat version 0.0.8, see ChangeLog for detail.
|
||||
|
||||
-- FlashCode <flashcode@flashtux.org> Sat, 30 Oct 2004 11:40:00 +0200
|
||||
|
||||
weechat (0.0.7-1) unstable; urgency=low
|
||||
|
||||
* WeeChat version 0.0.7, see ChangeLog for detail.
|
||||
|
||||
-- FlashCode <flashcode@flashtux.org> Sat, 08 Aug 2004 21:00:00 +0200
|
||||
|
||||
weechat (0.0.6-1) unstable; urgency=low
|
||||
|
||||
* WeeChat version 0.0.6, see ChangeLog for detail.
|
||||
|
||||
-- FlashCode <flashcode@flashtux.org> Sat, 05 Jun 2004 11:30:00 +0200
|
||||
|
||||
weechat (0.0.5-1) unstable; urgency=low
|
||||
|
||||
* WeeChat version 0.0.5, see ChangeLog for detail.
|
||||
|
||||
-- FlashCode <flashcode@flashtux.org> Sat, 07 Feb 2004 20:30:00 +0200
|
||||
|
||||
weechat (0.0.4-1) unstable; urgency=low
|
||||
|
||||
* WeeChat version 0.0.4, see ChangeLog for detail.
|
||||
|
||||
-- FlashCode <flashcode@flashtux.org> Thu, 01 Jan 2004 13:00:00 +0200
|
||||
|
||||
weechat (0.0.3-1) unstable; urgency=low
|
||||
|
||||
* WeeChat version 0.0.3, see ChangeLog for detail.
|
||||
|
||||
-- FlashCode <flashcode@flashtux.org> Mon, 03 Nov 2003 23:15:00 +0200
|
||||
|
||||
weechat (0.0.2-1) unstable; urgency=low
|
||||
|
||||
* WeeChat version 0.0.2, see ChangeLog for detail.
|
||||
|
||||
-- FlashCode <flashcode@flashtux.org> Sun, 05 Oct 2003 12:00:00 +0200
|
||||
|
||||
weechat (0.0.1-1) unstable; urgency=low
|
||||
|
||||
* First version.
|
||||
|
||||
-- FlashCode <flashcode@flashtux.org> Sat, 27 Sep 2003 12:00:00 +0200
|
||||
|
||||
-- FlashCode <flashcode@flashtux.org> Sat, 27 Jun 2003 12:00:00 +0200
|
||||
|
||||
Vendored
+1
-1
@@ -1 +1 @@
|
||||
7
|
||||
4
|
||||
|
||||
Vendored
+7
-121
@@ -1,128 +1,14 @@
|
||||
Source: weechat
|
||||
Section: net
|
||||
Priority: optional
|
||||
Maintainer: Emmanuel Bouthenot <kolter@debian.org>
|
||||
Build-Depends: debhelper (>= 7.0.50), cmake, libncursesw5-dev,
|
||||
ruby1.9.1, ruby1.9.1-dev, libperl-dev, python-dev, libaspell-dev, liblua5.1-0-dev,
|
||||
tcl8.5-dev, guile-2.0-dev, libcurl4-gnutls-dev, libgcrypt11-dev, libgnutls-dev,
|
||||
zlib1g-dev, dpkg-dev (>= 1.13.19), pkg-config, asciidoc (>= 8.5), source-highlight,
|
||||
xsltproc, docbook-xml, docbook-xsl
|
||||
Standards-Version: 3.9.4
|
||||
Homepage: http://weechat.org/
|
||||
Vcs-Git: git://anonscm.debian.org/users/kolter/weechat.git
|
||||
Vcs-Browser: http://anonscm.debian.org/gitweb/?p=users/kolter/weechat.git
|
||||
Maintainer: FlashCode <flashcode@flashtux.org>
|
||||
Build-Depends: debhelper (>> 4.0.0)
|
||||
Standards-Version: 3.5.8
|
||||
|
||||
Package: weechat
|
||||
Architecture: all
|
||||
Depends: ${misc:Depends}, weechat-curses (>= ${source:Version})
|
||||
Suggests: weechat-doc (= ${source:Version})
|
||||
Description: Fast, light and extensible chat client
|
||||
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
|
||||
for many operating systems. Everything can be done with a keyboard.
|
||||
It is customizable and extensible with plugins/scripts, and includes:
|
||||
- support of IRC protocol (native)
|
||||
- support of XMPP/Jabber protocol (with additional script)
|
||||
- nicklist
|
||||
- smart hotlist
|
||||
- horizontal and vertical split
|
||||
- double charset support (decode/encode)
|
||||
- FIFO pipe for remote control
|
||||
- 256 colors support
|
||||
- incremental text search
|
||||
- dynamic filtering of buffer content
|
||||
- Perl, Python, Ruby, Lua, Tcl and Scheme scripting
|
||||
- scripts manager
|
||||
- spell checking
|
||||
- highly customizable and extensible
|
||||
- and much more!
|
||||
|
||||
Package: weechat-curses
|
||||
Architecture: any
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}, weechat-core (= ${binary:Version})
|
||||
Conflicts: weechat-common
|
||||
Breaks: weechat-scripts (<= 20090221-1)
|
||||
Recommends: weechat-plugins (= ${binary:Version})
|
||||
Suggests: weechat-doc (= ${source:Version})
|
||||
Description: Fast, light and extensible chat client - console client
|
||||
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
|
||||
Depends: ${shlibs:Depends}
|
||||
Description: Fast, light and extensible IRC client
|
||||
WeeChat (Wee Enhanced Environment for Chat) is a fast and light IRC client
|
||||
for many operating systems. Everything can be done with a keyboard.
|
||||
It is customizable and extensible with plugins/scripts, and includes:
|
||||
- support of IRC protocol (native)
|
||||
- support of XMPP/Jabber protocol (with additional script)
|
||||
- nicklist
|
||||
- smart hotlist
|
||||
- horizontal and vertical split
|
||||
- double charset support (decode/encode)
|
||||
- FIFO pipe for remote control
|
||||
- 256 colors support
|
||||
- incremental text search
|
||||
- dynamic filtering of buffer content
|
||||
- Perl, Python, Ruby, Lua, Tcl and Scheme scripting
|
||||
- scripts manager
|
||||
- spell checking
|
||||
- highly customizable and extensible
|
||||
- and much more!
|
||||
.
|
||||
This package provides the console client (ncurses).
|
||||
|
||||
Package: weechat-core
|
||||
Architecture: any
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}
|
||||
Replaces: weechat-common, weechat-plugins (<< 0.3.0)
|
||||
Suggests: weechat-doc (= ${source:Version})
|
||||
Description: Fast, light and extensible chat client - core files
|
||||
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
|
||||
for many operating systems. Everything can be done with a keyboard.
|
||||
.
|
||||
This package provides core plugins and locales files for WeeChat. It
|
||||
currently ships the following plugins: alias, xfer, irc, charset and
|
||||
logger. It is useless without weechat-curses.
|
||||
|
||||
Package: weechat-plugins
|
||||
Architecture: any
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}, weechat-curses (= ${binary:Version})
|
||||
Suggests: weechat-scripts (>> 20090221-1)
|
||||
Description: Fast, light and extensible chat client - plugins
|
||||
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
|
||||
for many operating systems. Everything can be done with a keyboard.
|
||||
.
|
||||
This package provides some plugins to enhance WeeChat. It currently
|
||||
ships the following plugins:
|
||||
- Perl, Python, Ruby, Lua, Tcl and Scheme scripting
|
||||
- scripts manager
|
||||
- Spell checking (thanks to aspell)
|
||||
- FIFO pipe for remote control
|
||||
- IRC proxy
|
||||
- Realtime input/output changes through regular expressions
|
||||
|
||||
Package: weechat-doc
|
||||
Section: doc
|
||||
Architecture: all
|
||||
Depends: ${misc:Depends}
|
||||
Description: Fast, light and extensible chat client - documentation
|
||||
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
|
||||
for many operating systems. Everything can be done with a keyboard.
|
||||
.
|
||||
This package contains the html documentation for WeeChat.
|
||||
|
||||
Package: weechat-dev
|
||||
Section: devel
|
||||
Architecture: all
|
||||
Depends: ${misc:Depends}
|
||||
Description: Fast, light and extensible chat client - developement headers
|
||||
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
|
||||
for many operating systems. Everything can be done with a keyboard.
|
||||
.
|
||||
This package contains the headers needed to build plugins.
|
||||
|
||||
Package: weechat-dbg
|
||||
Section: debug
|
||||
Priority: extra
|
||||
Architecture: any
|
||||
Depends: ${misc:Depends}, weechat-curses (= ${binary:Version}) |
|
||||
weechat-core (= ${binary:Version}), weechat-plugins (= ${binary:Version})
|
||||
Description: Fast, light and extensible chat client - debugging symbols
|
||||
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
|
||||
for many operating systems. Everything can be done with a keyboard.
|
||||
.
|
||||
This package contains gdb debugging symbols for the WeeChat packages.
|
||||
It is customizable and extensible with scripts.
|
||||
|
||||
Vendored
+14
-29
@@ -1,32 +1,17 @@
|
||||
Format: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=174
|
||||
Upstream-Name: weechat
|
||||
Upstream-Contact: Sebastien Helleu <flashcode@flashtux.org>
|
||||
Source: http://weechat.org/
|
||||
This package was debianized by FlashCode <flashcode@flashtux.org> on
|
||||
Sat, 27 Sep 2003 10:00:00 +0200.
|
||||
|
||||
Files: *
|
||||
Copyright: 2003-2013, Sebastien Helleu <flashcode@flashtux.org>
|
||||
2005-2009, Emmanuel Bouthenot <kolter@openics.org>
|
||||
2008-2009, Dmitry Kobylin <fnfal@academ.tsc.ru>
|
||||
License: GPL-3+
|
||||
It was downloaded from http://weechat.flashtux.org/download
|
||||
|
||||
Files: debian/*
|
||||
Copyright: 2005-2008, Julien Louis <ptitlouis@sysif.net>
|
||||
2008-2012, Emmanuel Bouthenot <kolter@openics.org>
|
||||
License: GPL-3+
|
||||
Upstream Author(s): FlashCode <flashcode@flashtux.org>
|
||||
|
||||
License: GPL-3+
|
||||
WeeChat is free software: you can redistribute it and/or modify it
|
||||
under the terms of the GNU General Public License as published by the
|
||||
Free Software Foundation, either version 3 of the License, or (at your
|
||||
option) any later version.
|
||||
.
|
||||
WeeChat is distributed in the hope that it will be useful, but
|
||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
General Public License for more details.
|
||||
.
|
||||
You should have received a copy of the GNU General Public License along
|
||||
with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
.
|
||||
On Debian systems, the complete text of the GNU General Public License,
|
||||
Version 3 can be found in the file /usr/share/common-licenses/GPL-3
|
||||
Copyright:
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or (at
|
||||
your option) any later version.
|
||||
|
||||
On Debian systems, the complete text of the GNU General Public
|
||||
License, Version 2 can be found in the file
|
||||
/usr/share/common-licenses/GPL
|
||||
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
usr/bin
|
||||
Vendored
+9
@@ -0,0 +1,9 @@
|
||||
AUTHORS
|
||||
BUGS
|
||||
ChangeLog
|
||||
COPYING
|
||||
FAQ
|
||||
INSTALL
|
||||
NEWS
|
||||
README
|
||||
TODO
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
weechat_0.0.1-1_i386.deb net optional
|
||||
Vendored
+87
-35
@@ -1,45 +1,97 @@
|
||||
#!/usr/bin/make -f
|
||||
# Sample debian/rules that uses debhelper.
|
||||
# GNU copyright 1997 to 1999 by Joey Hess.
|
||||
|
||||
# Default build flags
|
||||
CFLAGS = -g -O2
|
||||
LDFLAGS = -Wl,-Bsymbolic-functions
|
||||
# Uncomment this to turn on verbose mode.
|
||||
#export DH_VERBOSE=1
|
||||
|
||||
# dpkg >= 1.16.1 provides enhanced build flags (hardening features, etc.)
|
||||
DPKG_EXPORT_BUILDFLAGS = 1
|
||||
-include /usr/share/dpkg/buildflags.mk
|
||||
|
||||
BUILDDIR = builddir
|
||||
|
||||
$(BUILDDIR)/Makefile:
|
||||
mkdir -p $(BUILDDIR)
|
||||
cd $(BUILDDIR) && \
|
||||
cmake .. \
|
||||
-DENABLE_MAN:BOOL=ON \
|
||||
-DENABLE_DOC:BOOL=ON \
|
||||
-DCMAKE_INSTALL_PREFIX:FILEPATH=/usr \
|
||||
-DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo \
|
||||
-DCMAKE_C_FLAGS_RELWITHDEBINFO:STRING="$(CFLAGS) -D_FORTIFY_SOURCE=2" \
|
||||
-DCMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING="$(LDFLAGS)" \
|
||||
-DCMAKE_SKIP_RPATH:BOOL=ON \
|
||||
-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON
|
||||
|
||||
override_dh_auto_build: $(BUILDDIR)/Makefile
|
||||
dh_auto_build
|
||||
CFLAGS = -Wall -g
|
||||
|
||||
# Create a symbolic link weechat-curses -> weechat
|
||||
# This link is created for compatibility with old versions on /upgrade.
|
||||
# It may be removed in future.
|
||||
override_dh_auto_install:
|
||||
dh_auto_install
|
||||
ln -s weechat $(CURDIR)/debian/weechat-curses/usr/bin/weechat-curses
|
||||
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
|
||||
CFLAGS += -O0
|
||||
else
|
||||
CFLAGS += -O2
|
||||
endif
|
||||
ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
|
||||
INSTALL_PROGRAM += -s
|
||||
endif
|
||||
|
||||
override_dh_auto_configure:
|
||||
# the package also has autotools buildsys and
|
||||
# debhelper try to use it but that's not needed
|
||||
echo
|
||||
configure: configure-stamp
|
||||
configure-stamp:
|
||||
dh_testdir
|
||||
# Add here commands to configure the package.
|
||||
|
||||
override_dh_strip:
|
||||
dh_strip --dbg-package=weechat-dbg
|
||||
touch configure-stamp
|
||||
|
||||
%:
|
||||
dh $@ --parallel --builddirectory=$(BUILDDIR)
|
||||
|
||||
build: build-stamp
|
||||
|
||||
build-stamp: configure-stamp
|
||||
dh_testdir
|
||||
|
||||
# Add here commands to compile the package.
|
||||
$(MAKE)
|
||||
#/usr/bin/docbook-to-man debian/weechat.sgml > weechat.1
|
||||
|
||||
touch build-stamp
|
||||
|
||||
clean:
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
rm -f build-stamp configure-stamp
|
||||
|
||||
# Add here commands to clean up after the build process.
|
||||
-$(MAKE) clean
|
||||
|
||||
dh_clean
|
||||
|
||||
install: build
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
dh_clean -k
|
||||
dh_installdirs
|
||||
|
||||
# Add here commands to install the package into debian/weechat.
|
||||
$(MAKE) install DESTDIR=$(CURDIR)/debian/weechat
|
||||
|
||||
|
||||
# Build architecture-independent files here.
|
||||
binary-indep: build install
|
||||
# We have nothing to do by default.
|
||||
|
||||
# Build architecture-dependent files here.
|
||||
binary-arch: build install
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
dh_installchangelogs
|
||||
dh_installdocs
|
||||
dh_installexamples
|
||||
# dh_install
|
||||
# dh_installmenu
|
||||
# dh_installdebconf
|
||||
# dh_installlogrotate
|
||||
# dh_installemacsen
|
||||
# dh_installpam
|
||||
# dh_installmime
|
||||
# dh_installinit
|
||||
# dh_installcron
|
||||
# dh_installinfo
|
||||
dh_installman weechat.1
|
||||
dh_link
|
||||
dh_strip
|
||||
dh_compress
|
||||
dh_fixperms
|
||||
# dh_perl
|
||||
# dh_python
|
||||
# dh_makeshlibs
|
||||
dh_installdeb
|
||||
dh_shlibdeps
|
||||
dh_gencontrol
|
||||
dh_md5sums
|
||||
dh_builddeb
|
||||
|
||||
binary: binary-indep binary-arch
|
||||
.PHONY: build clean binary-indep binary-arch binary install configure
|
||||
|
||||
Vendored
-2
@@ -1,2 +0,0 @@
|
||||
version=2
|
||||
http://weechat.org/files/src/weechat-(\d.*)\.tar\.bz2
|
||||
Vendored
-3
@@ -1,3 +0,0 @@
|
||||
AUTHORS
|
||||
NEWS
|
||||
README
|
||||
Vendored
-6
@@ -1,6 +0,0 @@
|
||||
usr/share/locale/
|
||||
usr/lib/weechat/plugins/alias.so
|
||||
usr/lib/weechat/plugins/xfer.so
|
||||
usr/lib/weechat/plugins/irc.so
|
||||
usr/lib/weechat/plugins/charset.so
|
||||
usr/lib/weechat/plugins/logger.so
|
||||
Vendored
-2
@@ -1,2 +0,0 @@
|
||||
usr/bin
|
||||
usr/share/pixmaps
|
||||
Vendored
-4
@@ -1,4 +0,0 @@
|
||||
usr/bin/weechat
|
||||
debian/weechat.xpm usr/share/pixmaps
|
||||
usr/share/man/man1/weechat.1
|
||||
usr/share/man/*/man1/weechat.1
|
||||
Vendored
-4
@@ -1,4 +0,0 @@
|
||||
?package(weechat-curses):needs="text" section="Applications/Network/Communication" \
|
||||
title="weechat" \
|
||||
icon="/usr/share/pixmaps/weechat.xpm" \
|
||||
command="/usr/bin/weechat"
|
||||
Vendored
-1
@@ -1 +0,0 @@
|
||||
usr/include/weechat
|
||||
Vendored
-2
@@ -1,2 +0,0 @@
|
||||
usr/include/weechat/*
|
||||
usr/lib/pkgconfig/*
|
||||
Vendored
-10
@@ -1,10 +0,0 @@
|
||||
Document: weechat-dev-en
|
||||
Title: WeeChat Developer's Guide (English)
|
||||
Author: Sebastien Helleu
|
||||
Abstract: This manual describes WeeChat internals and
|
||||
how to contribute to WeeChat (English version).
|
||||
Section: Network/Communication
|
||||
|
||||
Format: HTML
|
||||
Index: /usr/share/doc/weechat-doc/html/weechat_dev.en.html
|
||||
Files: /usr/share/doc/weechat-doc/html/weechat_dev.en.html
|
||||
Vendored
-10
@@ -1,10 +0,0 @@
|
||||
Document: weechat-faq-de
|
||||
Title: WeeChat FAQ (German)
|
||||
Author: Sebastien Helleu
|
||||
Abstract: This document answers frequently asked questions
|
||||
about the WeeChat IRC client (German version).
|
||||
Section: Network/Communication
|
||||
|
||||
Format: HTML
|
||||
Index: /usr/share/doc/weechat-doc/html/weechat_faq.de.html
|
||||
Files: /usr/share/doc/weechat-doc/html/weechat_faq.de.html
|
||||
Vendored
-10
@@ -1,10 +0,0 @@
|
||||
Document: weechat-faq-en
|
||||
Title: WeeChat FAQ (English)
|
||||
Author: Sebastien Helleu
|
||||
Abstract: This document answers frequently asked questions
|
||||
about the WeeChat IRC client (English version).
|
||||
Section: Network/Communication
|
||||
|
||||
Format: HTML
|
||||
Index: /usr/share/doc/weechat-doc/html/weechat_faq.en.html
|
||||
Files: /usr/share/doc/weechat-doc/html/weechat_faq.en.html
|
||||
Vendored
-10
@@ -1,10 +0,0 @@
|
||||
Document: weechat-faq-fr
|
||||
Title: WeeChat FAQ (French)
|
||||
Author: Sebastien Helleu
|
||||
Abstract: This document answers frequently asked questions
|
||||
about the WeeChat IRC client (French version).
|
||||
Section: Network/Communication
|
||||
|
||||
Format: HTML
|
||||
Index: /usr/share/doc/weechat-doc/html/weechat_faq.fr.html
|
||||
Files: /usr/share/doc/weechat-doc/html/weechat_faq.fr.html
|
||||
Vendored
-10
@@ -1,10 +0,0 @@
|
||||
Document: weechat-faq-it
|
||||
Title: WeeChat FAQ (Italian)
|
||||
Author: Sebastien Helleu
|
||||
Abstract: This document answers frequently asked questions
|
||||
about the WeeChat IRC client (Italian version).
|
||||
Section: Network/Communication
|
||||
|
||||
Format: HTML
|
||||
Index: /usr/share/doc/weechat-doc/html/weechat_faq.it.html
|
||||
Files: /usr/share/doc/weechat-doc/html/weechat_faq.it.html
|
||||
Vendored
-10
@@ -1,10 +0,0 @@
|
||||
Document: weechat-faq-ja
|
||||
Title: WeeChat FAQ (Japanese)
|
||||
Author: Sebastien Helleu
|
||||
Abstract: This document answers frequently asked questions
|
||||
about the WeeChat IRC client (Japanese version).
|
||||
Section: Network/Communication
|
||||
|
||||
Format: HTML
|
||||
Index: /usr/share/doc/weechat-doc/html/weechat_faq.ja.html
|
||||
Files: /usr/share/doc/weechat-doc/html/weechat_faq.ja.html
|
||||
Vendored
-10
@@ -1,10 +0,0 @@
|
||||
Document: weechat-faq-pl
|
||||
Title: WeeChat FAQ (Polish)
|
||||
Author: Sebastien Helleu
|
||||
Abstract: This document answers frequently asked questions
|
||||
about the WeeChat IRC client (Polish version).
|
||||
Section: Network/Communication
|
||||
|
||||
Format: HTML
|
||||
Index: /usr/share/doc/weechat-doc/html/weechat_faq.pl.html
|
||||
Files: /usr/share/doc/weechat-doc/html/weechat_faq.pl.html
|
||||
-10
@@ -1,10 +0,0 @@
|
||||
Document: weechat-plugin-en
|
||||
Title: WeeChat plugins API (English)
|
||||
Author: Sebastien Helleu
|
||||
Abstract: This document describes the API to create plugins
|
||||
for WeeChat (English version).
|
||||
Section: Network/Communication
|
||||
|
||||
Format: HTML
|
||||
Index: /usr/share/doc/weechat-doc/html/weechat_plugin_api.en.html
|
||||
Files: /usr/share/doc/weechat-doc/html/weechat_plugin_api.en.html
|
||||
-10
@@ -1,10 +0,0 @@
|
||||
Document: weechat-plugin-fr
|
||||
Title: WeeChat plugins API (French)
|
||||
Author: Sebastien Helleu
|
||||
Abstract: This document describes the API to create plugins
|
||||
for WeeChat (French version).
|
||||
Section: Network/Communication
|
||||
|
||||
Format: HTML
|
||||
Index: /usr/share/doc/weechat-doc/html/weechat_plugin_api.fr.html
|
||||
Files: /usr/share/doc/weechat-doc/html/weechat_plugin_api.fr.html
|
||||
-10
@@ -1,10 +0,0 @@
|
||||
Document: weechat-plugin-it
|
||||
Title: WeeChat plugins API (Italian)
|
||||
Author: Sebastien Helleu
|
||||
Abstract: This document describes the API to create plugins
|
||||
for WeeChat (Italian version).
|
||||
Section: Network/Communication
|
||||
|
||||
Format: HTML
|
||||
Index: /usr/share/doc/weechat-doc/html/weechat_plugin_api.it.html
|
||||
Files: /usr/share/doc/weechat-doc/html/weechat_plugin_api.it.html
|
||||
-9
@@ -1,9 +0,0 @@
|
||||
Document: weechat-quickstart-de
|
||||
Title: WeeChat Quickstart (German)
|
||||
Author: Sebastien Helleu
|
||||
Abstract: A short HowTo for new WeeChat users (German version).
|
||||
Section: Network/Communication
|
||||
|
||||
Format: HTML
|
||||
Index: /usr/share/doc/weechat-doc/html/weechat_quickstart.de.html
|
||||
Files: /usr/share/doc/weechat-doc/html/weechat_quickstart.de.html
|
||||
-9
@@ -1,9 +0,0 @@
|
||||
Document: weechat-quickstart-en
|
||||
Title: WeeChat Quickstart (English)
|
||||
Author: Sebastien Helleu
|
||||
Abstract: A short HowTo for new WeeChat users (English version).
|
||||
Section: Network/Communication
|
||||
|
||||
Format: HTML
|
||||
Index: /usr/share/doc/weechat-doc/html/weechat_quickstart.en.html
|
||||
Files: /usr/share/doc/weechat-doc/html/weechat_quickstart.en.html
|
||||
-9
@@ -1,9 +0,0 @@
|
||||
Document: weechat-quickstart-es
|
||||
Title: WeeChat Quickstart (Spanish)
|
||||
Author: Sebastien Helleu
|
||||
Abstract: A short HowTo for new WeeChat users (Spanish version).
|
||||
Section: Network/Communication
|
||||
|
||||
Format: HTML
|
||||
Index: /usr/share/doc/weechat-doc/html/weechat_quickstart.es.html
|
||||
Files: /usr/share/doc/weechat-doc/html/weechat_quickstart.es.html
|
||||
-9
@@ -1,9 +0,0 @@
|
||||
Document: weechat-quickstart-fr
|
||||
Title: WeeChat Quickstart (French)
|
||||
Author: Sebastien Helleu
|
||||
Abstract: A short HowTo for new WeeChat users (French version).
|
||||
Section: Network/Communication
|
||||
|
||||
Format: HTML
|
||||
Index: /usr/share/doc/weechat-doc/html/weechat_quickstart.fr.html
|
||||
Files: /usr/share/doc/weechat-doc/html/weechat_quickstart.fr.html
|
||||
-9
@@ -1,9 +0,0 @@
|
||||
Document: weechat-quickstart-it
|
||||
Title: WeeChat Quickstart (Italian)
|
||||
Author: Sebastien Helleu
|
||||
Abstract: A short HowTo for new WeeChat users (Italian version).
|
||||
Section: Network/Communication
|
||||
|
||||
Format: HTML
|
||||
Index: /usr/share/doc/weechat-doc/html/weechat_quickstart.it.html
|
||||
Files: /usr/share/doc/weechat-doc/html/weechat_quickstart.it.html
|
||||
-9
@@ -1,9 +0,0 @@
|
||||
Document: weechat-quickstart-ja
|
||||
Title: WeeChat Quickstart (Japanese)
|
||||
Author: Sebastien Helleu
|
||||
Abstract: A short HowTo for new WeeChat users (Japanese version).
|
||||
Section: Network/Communication
|
||||
|
||||
Format: HTML
|
||||
Index: /usr/share/doc/weechat-doc/html/weechat_quickstart.ja.html
|
||||
Files: /usr/share/doc/weechat-doc/html/weechat_quickstart.ja.html
|
||||
-9
@@ -1,9 +0,0 @@
|
||||
Document: weechat-quickstart-pl
|
||||
Title: WeeChat Quickstart (Polish)
|
||||
Author: Sebastien Helleu
|
||||
Abstract: A short HowTo for new WeeChat users (Polish version).
|
||||
Section: Network/Communication
|
||||
|
||||
Format: HTML
|
||||
Index: /usr/share/doc/weechat-doc/html/weechat_quickstart.pl.html
|
||||
Files: /usr/share/doc/weechat-doc/html/weechat_quickstart.pl.html
|
||||
-9
@@ -1,9 +0,0 @@
|
||||
Document: weechat-quickstart-ru
|
||||
Title: WeeChat Quickstart (Russian)
|
||||
Author: Sebastien Helleu
|
||||
Abstract: A short HowTo for new WeeChat users (Russian version).
|
||||
Section: Network/Communication
|
||||
|
||||
Format: HTML
|
||||
Index: /usr/share/doc/weechat-doc/html/weechat_quickstart.ru.html
|
||||
Files: /usr/share/doc/weechat-doc/html/weechat_quickstart.ru.html
|
||||
-10
@@ -1,10 +0,0 @@
|
||||
Document: weechat-relay-protocol-en
|
||||
Title: WeeChat Relay Protocol (English)
|
||||
Author: Sebastien Helleu
|
||||
Abstract: This manual describes WeeChat Relay Protocol, used by
|
||||
remote GUI to communicate with Relay plugin (English version).
|
||||
Section: Network/Communication
|
||||
|
||||
Format: HTML
|
||||
Index: /usr/share/doc/weechat-doc/html/weechat_relay_protocol.en.html
|
||||
Files: /usr/share/doc/weechat-doc/html/weechat_relay_protocol.en.html
|
||||
-10
@@ -1,10 +0,0 @@
|
||||
Document: weechat-scripting-de
|
||||
Title: WeeChat Scripting Guide (German)
|
||||
Author: Sebastien Helleu
|
||||
Abstract: This document describes the API to create scripts
|
||||
for WeeChat (German version).
|
||||
Section: Network/Communication
|
||||
|
||||
Format: HTML
|
||||
Index: /usr/share/doc/weechat-doc/html/weechat_scripting.de.html
|
||||
Files: /usr/share/doc/weechat-doc/html/weechat_scripting.de.html
|
||||
-10
@@ -1,10 +0,0 @@
|
||||
Document: weechat-scripting-en
|
||||
Title: WeeChat Scripting Guide (English)
|
||||
Author: Sebastien Helleu
|
||||
Abstract: This document describes the API to create scripts
|
||||
for WeeChat (English version).
|
||||
Section: Network/Communication
|
||||
|
||||
Format: HTML
|
||||
Index: /usr/share/doc/weechat-doc/html/weechat_scripting.en.html
|
||||
Files: /usr/share/doc/weechat-doc/html/weechat_scripting.en.html
|
||||
-10
@@ -1,10 +0,0 @@
|
||||
Document: weechat-scripting-fr
|
||||
Title: WeeChat Scripting Guide (French)
|
||||
Author: Sebastien Helleu
|
||||
Abstract: This document describes the API to create scripts
|
||||
for WeeChat (French version).
|
||||
Section: Network/Communication
|
||||
|
||||
Format: HTML
|
||||
Index: /usr/share/doc/weechat-doc/html/weechat_scripting.fr.html
|
||||
Files: /usr/share/doc/weechat-doc/html/weechat_scripting.fr.html
|
||||
-10
@@ -1,10 +0,0 @@
|
||||
Document: weechat-scripting-it
|
||||
Title: WeeChat Scripting Guide (Italian)
|
||||
Author: Sebastien Helleu
|
||||
Abstract: This document describes the API to create scripts
|
||||
for WeeChat (Italian version).
|
||||
Section: Network/Communication
|
||||
|
||||
Format: HTML
|
||||
Index: /usr/share/doc/weechat-doc/html/weechat_scripting.it.html
|
||||
Files: /usr/share/doc/weechat-doc/html/weechat_scripting.it.html
|
||||
-10
@@ -1,10 +0,0 @@
|
||||
Document: weechat-scripting-ja
|
||||
Title: WeeChat Scripting Guide (Japanese)
|
||||
Author: Sebastien Helleu
|
||||
Abstract: This document describes the API to create scripts
|
||||
for WeeChat (Japanese version).
|
||||
Section: Network/Communication
|
||||
|
||||
Format: HTML
|
||||
Index: /usr/share/doc/weechat-doc/html/weechat_scripting.ja.html
|
||||
Files: /usr/share/doc/weechat-doc/html/weechat_scripting.ja.html
|
||||
-10
@@ -1,10 +0,0 @@
|
||||
Document: weechat-scripting-pl
|
||||
Title: WeeChat Scripting Guide (Polish)
|
||||
Author: Sebastien Helleu
|
||||
Abstract: This document describes the API to create scripts
|
||||
for WeeChat (Polish version).
|
||||
Section: Network/Communication
|
||||
|
||||
Format: HTML
|
||||
Index: /usr/share/doc/weechat-doc/html/weechat_scripting.pl.html
|
||||
Files: /usr/share/doc/weechat-doc/html/weechat_scripting.pl.html
|
||||
-10
@@ -1,10 +0,0 @@
|
||||
Document: weechat-tester-de
|
||||
Title: WeeChat Tester's Guide (German)
|
||||
Author: Sebastien Helleu
|
||||
Abstract: This document describes how to test and report
|
||||
bugs against the WeeChat IRC Client (German version).
|
||||
Section: Network/Communication
|
||||
|
||||
Format: HTML
|
||||
Index: /usr/share/doc/weechat-doc/html/weechat_tester.de.html
|
||||
Files: /usr/share/doc/weechat-doc/html/weechat_tester.de.html
|
||||
-10
@@ -1,10 +0,0 @@
|
||||
Document: weechat-tester-en
|
||||
Title: WeeChat Tester's Guide (English)
|
||||
Author: Sebastien Helleu
|
||||
Abstract: This document describes how to test and report
|
||||
bugs against the WeeChat IRC Client (English version).
|
||||
Section: Network/Communication
|
||||
|
||||
Format: HTML
|
||||
Index: /usr/share/doc/weechat-doc/html/weechat_tester.en.html
|
||||
Files: /usr/share/doc/weechat-doc/html/weechat_tester.en.html
|
||||
-10
@@ -1,10 +0,0 @@
|
||||
Document: weechat-tester-fr
|
||||
Title: WeeChat Tester's Guide (French)
|
||||
Author: Sebastien Helleu
|
||||
Abstract: This document describes how to test and report
|
||||
bugs against the WeeChat IRC Client (French version).
|
||||
Section: Network/Communication
|
||||
|
||||
Format: HTML
|
||||
Index: /usr/share/doc/weechat-doc/html/weechat_tester.fr.html
|
||||
Files: /usr/share/doc/weechat-doc/html/weechat_tester.fr.html
|
||||
-10
@@ -1,10 +0,0 @@
|
||||
Document: weechat-tester-it
|
||||
Title: WeeChat Tester's Guide (Italian)
|
||||
Author: Sebastien Helleu
|
||||
Abstract: This document describes how to test and report
|
||||
bugs against the WeeChat IRC Client (Italian version).
|
||||
Section: Network/Communication
|
||||
|
||||
Format: HTML
|
||||
Index: /usr/share/doc/weechat-doc/html/weechat_tester.it.html
|
||||
Files: /usr/share/doc/weechat-doc/html/weechat_tester.it.html
|
||||
-10
@@ -1,10 +0,0 @@
|
||||
Document: weechat-tester-ja
|
||||
Title: WeeChat Tester's Guide (Japanese)
|
||||
Author: Sebastien Helleu
|
||||
Abstract: This document describes how to test and report
|
||||
bugs against the WeeChat IRC Client (Japanese version).
|
||||
Section: Network/Communication
|
||||
|
||||
Format: HTML
|
||||
Index: /usr/share/doc/weechat-doc/html/weechat_tester.ja.html
|
||||
Files: /usr/share/doc/weechat-doc/html/weechat_tester.ja.html
|
||||
-10
@@ -1,10 +0,0 @@
|
||||
Document: weechat-tester-pl
|
||||
Title: WeeChat Tester's Guide (Polish)
|
||||
Author: Sebastien Helleu
|
||||
Abstract: This document describes how to test and report
|
||||
bugs against the WeeChat IRC Client (Polish version).
|
||||
Section: Network/Communication
|
||||
|
||||
Format: HTML
|
||||
Index: /usr/share/doc/weechat-doc/html/weechat_tester.pl.html
|
||||
Files: /usr/share/doc/weechat-doc/html/weechat_tester.pl.html
|
||||
Vendored
-10
@@ -1,10 +0,0 @@
|
||||
Document: weechat-user-de
|
||||
Title: WeeChat User's Guide (German)
|
||||
Author: Sebastien Helleu
|
||||
Abstract: This manual describes how to use the WeeChat
|
||||
IRC client (German version).
|
||||
Section: Network/Communication
|
||||
|
||||
Format: HTML
|
||||
Index: /usr/share/doc/weechat-doc/html/weechat_user.de.html
|
||||
Files: /usr/share/doc/weechat-doc/html/weechat_user.de.html
|
||||
Vendored
-10
@@ -1,10 +0,0 @@
|
||||
Document: weechat-user-en
|
||||
Title: WeeChat User's Guide (English)
|
||||
Author: Sebastien Helleu
|
||||
Abstract: This manual describes how to use the WeeChat
|
||||
IRC client (English version).
|
||||
Section: Network/Communication
|
||||
|
||||
Format: HTML
|
||||
Index: /usr/share/doc/weechat-doc/html/weechat_user.en.html
|
||||
Files: /usr/share/doc/weechat-doc/html/weechat_user.en.html
|
||||
Vendored
-10
@@ -1,10 +0,0 @@
|
||||
Document: weechat-user-fr
|
||||
Title: WeeChat User's Guide (French)
|
||||
Author: Sebastien Helleu
|
||||
Abstract: This manual describes how to use the WeeChat
|
||||
IRC client (French version).
|
||||
Section: Network/Communication
|
||||
|
||||
Format: HTML
|
||||
Index: /usr/share/doc/weechat-doc/html/weechat_user.fr.html
|
||||
Files: /usr/share/doc/weechat-doc/html/weechat_user.fr.html
|
||||
Vendored
-10
@@ -1,10 +0,0 @@
|
||||
Document: weechat-user-it
|
||||
Title: WeeChat User's Guide (Italian)
|
||||
Author: Sebastien Helleu
|
||||
Abstract: This manual describes how to use the WeeChat
|
||||
IRC client (Italian version).
|
||||
Section: Network/Communication
|
||||
|
||||
Format: HTML
|
||||
Index: /usr/share/doc/weechat-doc/html/weechat_user.it.html
|
||||
Files: /usr/share/doc/weechat-doc/html/weechat_user.it.html
|
||||
Vendored
-10
@@ -1,10 +0,0 @@
|
||||
Document: weechat-user-ja
|
||||
Title: WeeChat User's Guide (Japanese)
|
||||
Author: Sebastien Helleu
|
||||
Abstract: This manual describes how to use the WeeChat
|
||||
IRC client (Japanese version).
|
||||
Section: Network/Communication
|
||||
|
||||
Format: HTML
|
||||
Index: /usr/share/doc/weechat-doc/html/weechat_user.ja.html
|
||||
Files: /usr/share/doc/weechat-doc/html/weechat_user.ja.html
|
||||
Vendored
-1
@@ -1 +0,0 @@
|
||||
usr/share/doc/weechat/*.html usr/share/doc/weechat-doc/html
|
||||
Vendored
-1
@@ -1 +0,0 @@
|
||||
usr/share/doc/weechat-doc/html usr/share/doc/weechat/html
|
||||
Vendored
-1
@@ -1 +0,0 @@
|
||||
usr/lib
|
||||
Vendored
-11
@@ -1,11 +0,0 @@
|
||||
usr/lib/weechat/plugins/aspell.so
|
||||
usr/lib/weechat/plugins/fifo.so
|
||||
usr/lib/weechat/plugins/guile.so
|
||||
usr/lib/weechat/plugins/perl.so
|
||||
usr/lib/weechat/plugins/python.so
|
||||
usr/lib/weechat/plugins/ruby.so
|
||||
usr/lib/weechat/plugins/lua.so
|
||||
usr/lib/weechat/plugins/tcl.so
|
||||
usr/lib/weechat/plugins/script.so
|
||||
usr/lib/weechat/plugins/relay.so
|
||||
usr/lib/weechat/plugins/rmodifier.so
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
shlibs:Depends=libc6 (>= 2.3.2-1), libncurses5 (>= 5.3.20030510-1)
|
||||
Vendored
-397
@@ -1,397 +0,0 @@
|
||||
/* XPM */
|
||||
static char * C:\temp\weechat_xpm[] = {
|
||||
"32 32 362 2",
|
||||
" c None",
|
||||
". c #117529",
|
||||
"+ c #0E7527",
|
||||
"@ c #0A7424",
|
||||
"# c #057323",
|
||||
"$ c #016F20",
|
||||
"% c #5DAA58",
|
||||
"& c #5DB059",
|
||||
"* c #5AB158",
|
||||
"= c #57B157",
|
||||
"- c #54AF55",
|
||||
"; c #4FAE53",
|
||||
"> c #4BAE52",
|
||||
", c #48AD50",
|
||||
"' c #44AC4E",
|
||||
") c #3FAB4C",
|
||||
"! c #3BA849",
|
||||
"~ c #36A646",
|
||||
"{ c #30A343",
|
||||
"] c #2CA040",
|
||||
"^ c #279D3D",
|
||||
"/ c #229A3A",
|
||||
"( c #1D9837",
|
||||
"_ c #189534",
|
||||
": c #129232",
|
||||
"< c #0D8F2E",
|
||||
"[ c #088D2C",
|
||||
"} c #03691F",
|
||||
"| c #64AB5B",
|
||||
"1 c #6FC468",
|
||||
"2 c #6AC265",
|
||||
"3 c #66BF62",
|
||||
"4 c #62BC5F",
|
||||
"5 c #5DBA5D",
|
||||
"6 c #58B85A",
|
||||
"7 c #54B557",
|
||||
"8 c #4FB254",
|
||||
"9 c #4AB052",
|
||||
"0 c #45AD4F",
|
||||
"a c #40AB4C",
|
||||
"b c #3CA849",
|
||||
"c c #37A647",
|
||||
"d c #32A344",
|
||||
"e c #2DA041",
|
||||
"f c #289D3D",
|
||||
"g c #239A3B",
|
||||
"h c #1E9838",
|
||||
"i c #199535",
|
||||
"j c #139232",
|
||||
"k c #0F8F2F",
|
||||
"l c #098B2B",
|
||||
"m c #035018",
|
||||
"n c #68AE5E",
|
||||
"o c #76C96B",
|
||||
"p c #70C568",
|
||||
"q c #6CC365",
|
||||
"r c #67C062",
|
||||
"s c #62BD60",
|
||||
"t c #5FBC5E",
|
||||
"u c #5ABA5B",
|
||||
"v c #55B859",
|
||||
"w c #51B656",
|
||||
"x c #4CB354",
|
||||
"y c #47B051",
|
||||
"z c #42AD4E",
|
||||
"A c #3EAA4B",
|
||||
"B c #38A647",
|
||||
"C c #32A243",
|
||||
"D c #2E9D40",
|
||||
"E c #28993C",
|
||||
"F c #239439",
|
||||
"G c #1E9036",
|
||||
"H c #188C32",
|
||||
"I c #13882F",
|
||||
"J c #0F842C",
|
||||
"K c #0A7C27",
|
||||
"L c #629F57",
|
||||
"M c #7BCC6F",
|
||||
"N c #76C86B",
|
||||
"O c #71C569",
|
||||
"P c #6DC366",
|
||||
"Q c #69C163",
|
||||
"R c #65C162",
|
||||
"S c #57AC56",
|
||||
"T c #3E803F",
|
||||
"U c #377539",
|
||||
"V c #316E34",
|
||||
"W c #2C6830",
|
||||
"X c #28602C",
|
||||
"Y c #225928",
|
||||
"Z c #1D5124",
|
||||
"` c #1A4E22",
|
||||
" . c #184C20",
|
||||
".. c #81CF72",
|
||||
"+. c #7CCB6E",
|
||||
"@. c #77C86C",
|
||||
"#. c #72C76A",
|
||||
"$. c #6EC467",
|
||||
"%. c #69C164",
|
||||
"&. c #549F51",
|
||||
"*. c #71B062",
|
||||
"=. c #84D274",
|
||||
"-. c #7FCF71",
|
||||
";. c #7ACD6F",
|
||||
">. c #76CB6C",
|
||||
",. c #72C869",
|
||||
"'. c #6CC465",
|
||||
"). c #1F391D",
|
||||
"!. c #558DC1",
|
||||
"~. c #568EC3",
|
||||
"{. c #568FC5",
|
||||
"]. c #5790C7",
|
||||
"^. c #5892C8",
|
||||
"/. c #538ABE",
|
||||
"(. c #5B98D0",
|
||||
"_. c #5C99D2",
|
||||
":. c #5E9CD5",
|
||||
"<. c #609FDB",
|
||||
"[. c #61A1DC",
|
||||
"}. c #497440",
|
||||
"|. c #3F6638",
|
||||
"1. c #355930",
|
||||
"2. c #2C4A28",
|
||||
"3. c #213B1F",
|
||||
"4. c #609ED9",
|
||||
"5. c #63A4E2",
|
||||
"6. c #63A4E1",
|
||||
"7. c #5B96CE",
|
||||
"8. c #64A6E4",
|
||||
"9. c #4878A4",
|
||||
"0. c #426E96",
|
||||
"a. c #4F83B3",
|
||||
"b. c #4E82B2",
|
||||
"c. c #62A3DF",
|
||||
"d. c #64A6E3",
|
||||
"e. c #274159",
|
||||
"f. c #44729C",
|
||||
"g. c #5B97CF",
|
||||
"h. c #5B97D0",
|
||||
"i. c #5C98D0",
|
||||
"j. c #5C98D1",
|
||||
"k. c #5B97CE",
|
||||
"l. c #64A5E2",
|
||||
"m. c #36597B",
|
||||
"n. c #64A4E2",
|
||||
"o. c #5A95CD",
|
||||
"p. c #5993CB",
|
||||
"q. c #64A5E3",
|
||||
"r. c #45729C",
|
||||
"s. c #63A4E3",
|
||||
"t. c #62A2E1",
|
||||
"u. c #62A1E1",
|
||||
"v. c #61A1E1",
|
||||
"w. c #609FE0",
|
||||
"x. c #5993D4",
|
||||
"y. c #5D9BDF",
|
||||
"z. c #5D99DF",
|
||||
"A. c #5C99DF",
|
||||
"B. c #5B98DE",
|
||||
"C. c #4878B1",
|
||||
"D. c #63A3E5",
|
||||
"E. c #609EE0",
|
||||
"F. c #5F9DE0",
|
||||
"G. c #5F9DDF",
|
||||
"H. c #5E9BDF",
|
||||
"I. c #5C99DC",
|
||||
"J. c #2B4666",
|
||||
"K. c #4D7FBD",
|
||||
"L. c #5A96DF",
|
||||
"M. c #5A94DE",
|
||||
"N. c #5993DD",
|
||||
"O. c #5992DD",
|
||||
"P. c #5993E1",
|
||||
"Q. c #4069A0",
|
||||
"R. c #365A8E",
|
||||
"S. c #568EDF",
|
||||
"T. c #548ADB",
|
||||
"U. c #5489DB",
|
||||
"V. c #5389DB",
|
||||
"W. c #5287DA",
|
||||
"X. c #2E4D7C",
|
||||
"Y. c #4C7DC1",
|
||||
"Z. c #5891DE",
|
||||
"`. c #568FDC",
|
||||
" + c #568EDC",
|
||||
".+ c #568DDC",
|
||||
"++ c #558CDC",
|
||||
"@+ c #4F82CD",
|
||||
"#+ c #4D7ECD",
|
||||
"$+ c #5185DA",
|
||||
"%+ c #5085DA",
|
||||
"&+ c #5084DA",
|
||||
"*+ c #4F82D9",
|
||||
"=+ c #5185DF",
|
||||
"-+ c #121E31",
|
||||
";+ c #4370C2",
|
||||
">+ c #4C7CD9",
|
||||
",+ c #4A7BD7",
|
||||
"'+ c #4A7AD7",
|
||||
")+ c #4978D7",
|
||||
"!+ c #4877D6",
|
||||
"~+ c #4E82D9",
|
||||
"{+ c #4E81D9",
|
||||
"]+ c #4E80D9",
|
||||
"^+ c #4E7FD9",
|
||||
"/+ c #4D7ED8",
|
||||
"(+ c #4C7DDA",
|
||||
"_+ c #395FA4",
|
||||
":+ c #4775D2",
|
||||
"<+ c #4876D6",
|
||||
"[+ c #4775D6",
|
||||
"}+ c #4773D6",
|
||||
"|+ c #4674D7",
|
||||
"1+ c #3B62B7",
|
||||
"2+ c #436ED6",
|
||||
"3+ c #416CD4",
|
||||
"4+ c #416AD3",
|
||||
"5+ c #4069D3",
|
||||
"6+ c #406AD6",
|
||||
"7+ c #304FA2",
|
||||
"8+ c #375BA8",
|
||||
"9+ c #4673D5",
|
||||
"0+ c #4572D5",
|
||||
"a+ c #4571D5",
|
||||
"b+ c #4470D5",
|
||||
"c+ c #436FD4",
|
||||
"d+ c #4470D9",
|
||||
"e+ c #14213E",
|
||||
"f+ c #3150A3",
|
||||
"g+ c #4069D4",
|
||||
"h+ c #3E67D3",
|
||||
"i+ c #3E66D2",
|
||||
"j+ c #3D64D2",
|
||||
"k+ c #3D64D3",
|
||||
"l+ c #243C7F",
|
||||
"m+ c #2F4DAC",
|
||||
"n+ c #395ED1",
|
||||
"o+ c #385CD0",
|
||||
"p+ c #375AD0",
|
||||
"q+ c #365ACF",
|
||||
"r+ c #375AD5",
|
||||
"s+ c #111C41",
|
||||
"t+ c #3558B8",
|
||||
"u+ c #3C63D2",
|
||||
"v+ c #3C62D2",
|
||||
"w+ c #3B61D1",
|
||||
"x+ c #3A60D2",
|
||||
"y+ c #3658C2",
|
||||
"z+ c #3455C4",
|
||||
"A+ c #3659CF",
|
||||
"B+ c #3557CF",
|
||||
"C+ c #3556CF",
|
||||
"D+ c #3354CF",
|
||||
"E+ c #3151C5",
|
||||
"F+ c #101A3E",
|
||||
"G+ c #2C49C0",
|
||||
"H+ c #2F4DCC",
|
||||
"I+ c #2E4CCC",
|
||||
"J+ c #2D4ACB",
|
||||
"K+ c #2D49CB",
|
||||
"L+ c #2741B7",
|
||||
"M+ c #3353C6",
|
||||
"N+ c #3455CF",
|
||||
"O+ c #3454CE",
|
||||
"P+ c #3353CE",
|
||||
"Q+ c #3252CD",
|
||||
"R+ c #3151CE",
|
||||
"S+ c #304FCC",
|
||||
"T+ c #162467",
|
||||
"U+ c #1F318C",
|
||||
"V+ c #2E4BCF",
|
||||
"W+ c #2C47CB",
|
||||
"X+ c #2B47CA",
|
||||
"Y+ c #2A45CA",
|
||||
"Z+ c #2943C8",
|
||||
"`+ c #2841C5",
|
||||
" @ c #2942CB",
|
||||
".@ c #2841CB",
|
||||
"+@ c #273EC9",
|
||||
"@@ c #263DC9",
|
||||
"#@ c #253BC8",
|
||||
"$@ c #243AC7",
|
||||
"%@ c #2339C9",
|
||||
"&@ c #172583",
|
||||
"*@ c #1D2F86",
|
||||
"=@ c #2D49CE",
|
||||
"-@ c #2B46CB",
|
||||
";@ c #2B46CA",
|
||||
">@ c #2A44CA",
|
||||
",@ c #2943CA",
|
||||
"'@ c #2841C9",
|
||||
")@ c #2740C9",
|
||||
"!@ c #2840CC",
|
||||
"~@ c #273FCA",
|
||||
"{@ c #263DCA",
|
||||
"]@ c #243AC8",
|
||||
"^@ c #2339C7",
|
||||
"/@ c #2338C7",
|
||||
"(@ c #2237C7",
|
||||
"_@ c #2135C6",
|
||||
":@ c #2034C6",
|
||||
"<@ c #2033C6",
|
||||
"[@ c #1E31C5",
|
||||
"}@ c #1E30C5",
|
||||
"|@ c #1D2EC4",
|
||||
"1@ c #1C2DC4",
|
||||
"2@ c #1B2CC4",
|
||||
"3@ c #1A2AC3",
|
||||
"4@ c #1928C0",
|
||||
"5@ c #0C1258",
|
||||
"6@ c #1B2C97",
|
||||
"7@ c #233AC9",
|
||||
"8@ c #2238C7",
|
||||
"9@ c #2136C7",
|
||||
"0@ c #1F32C6",
|
||||
"a@ c #1D2FC5",
|
||||
"b@ c #1C2EC5",
|
||||
"c@ c #1B2BC4",
|
||||
"d@ c #1A2AC4",
|
||||
"e@ c #1929C3",
|
||||
"f@ c #1827C3",
|
||||
"g@ c #1826C3",
|
||||
"h@ c #1724C2",
|
||||
"i@ c #1623C2",
|
||||
"j@ c #1522C1",
|
||||
"k@ c #1420C2",
|
||||
"l@ c #141FC2",
|
||||
"m@ c #121EC1",
|
||||
"n@ c #111CC2",
|
||||
"o@ c #111AC1",
|
||||
"p@ c #0E17B2",
|
||||
"q@ c #1A2AC1",
|
||||
"r@ c #1929C4",
|
||||
"s@ c #1927C4",
|
||||
"t@ c #1724C3",
|
||||
"u@ c #1623C3",
|
||||
"v@ c #1522C4",
|
||||
"w@ c #1520C3",
|
||||
"x@ c #131FC3",
|
||||
"y@ c #131DC3",
|
||||
"z@ c #111CC0",
|
||||
"A@ c #111ABB",
|
||||
"B@ c #0F19B6",
|
||||
"C@ c #0F17B1",
|
||||
"D@ c #0D15AD",
|
||||
"E@ c #0D14A9",
|
||||
"F@ c #0C13A7",
|
||||
"G@ c #0B11A4",
|
||||
"H@ c #0A1099",
|
||||
"I@ c #080D8B",
|
||||
"J@ c #070B7A",
|
||||
"K@ c #060968",
|
||||
"L@ c #0F179E",
|
||||
"M@ c #0E16AA",
|
||||
"N@ c #0E15AF",
|
||||
"O@ c #0C13A9",
|
||||
"P@ c #0C129C",
|
||||
"Q@ c #0A108F",
|
||||
"R@ c #090E80",
|
||||
"S@ c #080C72",
|
||||
"T@ c #070B63",
|
||||
"U@ c #060957",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" . + @ # $ ",
|
||||
" % & * = - ; > , ' ) ! ~ { ] ^ / ( _ : < [ } ",
|
||||
" | 1 2 3 4 5 6 7 8 9 0 a b c d e f g h i j k l m ",
|
||||
" n o p q r s t u v w x y z A B C D E F G H I J K ",
|
||||
" L M N O P Q R S T U V W X Y Z ` . ",
|
||||
" ..+.@.#.$.%.&. ",
|
||||
" *.=.-.;.>.,.'.). !.~.{.].^. /.(._.:.<.[. ",
|
||||
" }.|.1.2.3. 4.5.6.6.6.7. [.6.6.6.8.9. ",
|
||||
" 0.8.6.6.6.6.a. b.c.6.6.6.d.e. ",
|
||||
" f.g.h.i.j._.{. k.l.6.6.6.l.m. !.n.6.6.6.o. ",
|
||||
" p.l.6.6.6.q.r. s.t.t.u.v.w. x.y.z.A.B.C. ",
|
||||
" D.E.F.G.H.I.J. K.L.M.N.O.P.Q. R.S.T.U.V.W.X. ",
|
||||
" Y.Z.`. +.+++@+ #+$+%+&+*+=+-+ ;+>+,+'+)+!+ ",
|
||||
" ~+{+]+^+/+(+_+ :+<+[+}+|+1+ 2+3+4+5+6+7+ ",
|
||||
" 8+9+0+a+b+c+d+e+ f+g+h+i+j+k+l+ m+n+o+p+q+r+s+ ",
|
||||
" t+j+u+v+w+x+y+ z+A+B+C+D+E+F+ G+H+I+J+K+L+ ",
|
||||
" M+N+O+P+Q+R+S+T+ U+V+K+W+X+Y+Z+`+ @.@+@@@#@$@%@&@ ",
|
||||
"*@=@-@;@>@,@'@)@!@~@{@]@^@/@(@_@:@<@[@}@|@1@2@3@4@5@ ",
|
||||
"6@7@8@9@_@:@0@[@a@b@1@c@d@e@f@g@h@i@j@k@l@m@n@o@p@ ",
|
||||
" q@r@s@g@t@u@v@w@x@y@z@A@B@C@D@E@F@G@H@I@J@K@ ",
|
||||
" L@M@N@O@P@Q@R@S@T@U@ ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" "};
|
||||
@@ -1,36 +0,0 @@
|
||||
#
|
||||
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2009 Emmanuel Bouthenot <kolter@openics.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
# WeeChat is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# WeeChat is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
IF(ENABLE_MAN OR ENABLE_DOC)
|
||||
|
||||
FIND_PACKAGE(Sourcehighlight)
|
||||
FIND_PACKAGE(Asciidoc)
|
||||
IF(ASCIIDOC_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)
|
||||
|
||||
ENDIF(ENABLE_MAN OR ENABLE_DOC)
|
||||
@@ -1,26 +0,0 @@
|
||||
#
|
||||
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2006 Julien Louis <ptitlouis@sysif.net>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
# WeeChat is free software; you can redistribute it and/or modify
|
||||
# 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/>.
|
||||
#
|
||||
|
||||
SUBDIRS = . en fr it de pl es ru ja
|
||||
|
||||
EXTRA_DIST = docgen.py CMakeLists.txt asciidoc.conf asciidoc.css
|
||||
|
||||
uninstall-hook:
|
||||
-rmdir $(DESTDIR)$(datadir)/doc/$(PACKAGE)
|
||||
@@ -1,12 +0,0 @@
|
||||
[replacements]
|
||||
@k\(C-\)=<span class="key ctrl">Ctrl</span><span class="keyplus">+</span>
|
||||
@k\(-C-\)=<span class="key ctrl">Ctrl</span>
|
||||
@k\(A-\)=<span class="key alt">Alt</span><span class="keyplus">+</span>
|
||||
@k\(-A-\)=<span class="key alt">Alt</span>
|
||||
@k\(S-\)=<span class="key shift">Shift</span><span class="keyplus">+</span>
|
||||
@k\(-S-\)=<span class="key shift">Shift</span>
|
||||
@k\(l\)=<span class="key">l</span><span class="keyplus"> (L)</span>
|
||||
@k\(([A-Za-z0-9/_&\=])\)=<span class="key">\1</span>
|
||||
@k\(([a-z0-9/_&\=][^)]*)\)=<span class="key">\1</span>
|
||||
@k\(([^)]+)\)=<span class="key other">\1</span>
|
||||
@h\(([A-Za-z0-9]+)\)=<span class="hexa">\1</span>
|
||||
@@ -1,175 +0,0 @@
|
||||
body {
|
||||
margin: 1em 2em;
|
||||
font-family: verdana, sans-serif;
|
||||
font-size: 12px;
|
||||
}
|
||||
div.sectionbody, #author, #revnumber, #revdate, #revremark, #toctitle, #footer {
|
||||
font-family: verdana, sans-serif;
|
||||
}
|
||||
a, a:visited, a:hover, a:active {
|
||||
color: #00c;
|
||||
text-decoration: none;
|
||||
}
|
||||
em {
|
||||
color: #252;
|
||||
}
|
||||
strong {
|
||||
color: #000;
|
||||
}
|
||||
tt {
|
||||
color: #366;
|
||||
}
|
||||
#author {
|
||||
color: #555;
|
||||
}
|
||||
#toc {
|
||||
line-height: 1.4em;
|
||||
}
|
||||
#toctitle {
|
||||
margin-bottom: .6em;
|
||||
color: #555;
|
||||
}
|
||||
div.toclevel0, div.toclevel1 {
|
||||
font-size: 1.1em;
|
||||
}
|
||||
div.toclevel2, div.toclevel3, div.toclevel4 {
|
||||
font-size: 1em;
|
||||
}
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
margin: 1.2em 0;
|
||||
}
|
||||
h1 {
|
||||
padding: 1.2em;
|
||||
border: solid 1px #c0d0ff;
|
||||
border-radius: 8px;
|
||||
box-shadow: 1px 1px 3px #aac;
|
||||
background: #ddeaee;
|
||||
background: -moz-linear-gradient(#bbddff, #eefaff);
|
||||
background: -webkit-linear-gradient(#bbddff, #eefaff);
|
||||
background: linear-gradient(#bbddff, #eefaff);
|
||||
color: #224b8d;
|
||||
font-size: 2.2em;
|
||||
text-align: center;
|
||||
}
|
||||
h2 {
|
||||
padding: .5em;
|
||||
border: solid 1px #d0d0d0;
|
||||
border-radius: 6px;
|
||||
box-shadow: 1px 1px 2px #bbb;
|
||||
background: #f2f2f2;
|
||||
background: -moz-linear-gradient(#e0e0e0, #f6f6f6);
|
||||
background: -webkit-linear-gradient(#e0e0e0, #f6f6f6);
|
||||
background: linear-gradient(#e0e0e0, #f6f6f6);
|
||||
color: #444;
|
||||
font-size: 1.7em;
|
||||
}
|
||||
h3 {
|
||||
border: none;
|
||||
margin: .7em 0 1em 0;
|
||||
color: #555;
|
||||
font-size: 1.5em;
|
||||
}
|
||||
h4 {
|
||||
color: #555;
|
||||
font-size: 1.3em;
|
||||
}
|
||||
h5 {
|
||||
color: #555;
|
||||
font-size: 1.2em;
|
||||
}
|
||||
span.command {
|
||||
padding: .2em .5em;
|
||||
border: solid 1px #ccc;
|
||||
margin-right: 12px;
|
||||
background: #eee;
|
||||
font-size: 1.1em;
|
||||
}
|
||||
p.table {
|
||||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
div.listingblock > div.content {
|
||||
border: solid 1px #e2e2e2;
|
||||
border-radius: 4px;
|
||||
background: #fbfbfb;
|
||||
}
|
||||
div.tableblock > table {
|
||||
border: 2px solid #888;
|
||||
}
|
||||
table th {
|
||||
background: #fbfbfb;
|
||||
color: #000;
|
||||
font-size: 1.1em;
|
||||
}
|
||||
.tableblock table th, .tableblock table td {
|
||||
border: solid 1px #bbb;
|
||||
}
|
||||
div.title {
|
||||
color: #525252;
|
||||
}
|
||||
div.admonitionblock .icon {
|
||||
text-decoration: none;
|
||||
}
|
||||
dt.hdlist1 {
|
||||
margin-bottom: .5em;
|
||||
color: #252;
|
||||
}
|
||||
.key {
|
||||
padding: 0 .3em;
|
||||
border-top: solid 1px #d5d5e5;
|
||||
border-left: solid 1px #d5d5e5;
|
||||
border-bottom: solid 1px #a5a5b5;
|
||||
border-right: solid 1px #a5a5b5;
|
||||
margin: 0 2px;
|
||||
background: #eef;
|
||||
font-family: serif, Helvetica, arial;
|
||||
font-size: 1.1em;
|
||||
line-height: 1.5em;
|
||||
}
|
||||
.key.ctrl {
|
||||
border-top: solid 1px #dfd0d0;
|
||||
border-left: solid 1px #dfd0d0;
|
||||
border-bottom: solid 1px #afa0a0;
|
||||
border-right: solid 1px #afa0a0;
|
||||
background: #fff0f0;
|
||||
font-variant: small-caps;
|
||||
}
|
||||
.key.alt {
|
||||
border-top: solid 1px #dfbbab;
|
||||
border-left: solid 1px #dfbbab;
|
||||
border-bottom: solid 1px #af8b7b;
|
||||
border-right: solid 1px #af8b7b;
|
||||
background: #ffdbcb;
|
||||
font-variant: small-caps;
|
||||
}
|
||||
.key.shift {
|
||||
border-top: solid 1px #d5d5d5;
|
||||
border-left: solid 1px #d5d5d5;
|
||||
border-bottom: solid 1px #a5a5a5;
|
||||
border-right: solid 1px #a5a5a5;
|
||||
background: #f5f5f5;
|
||||
font-variant: small-caps;
|
||||
}
|
||||
.key.other {
|
||||
border-top: solid 1px #d0e0d0;
|
||||
border-left: solid 1px #d0e0d0;
|
||||
border-bottom: solid 1px #a0b0a0;
|
||||
border-right: solid 1px #a0b0a0;
|
||||
background: #eafaea;
|
||||
font-variant: small-caps;
|
||||
}
|
||||
.keyplus {
|
||||
font-size: .8em;
|
||||
}
|
||||
.hexa {
|
||||
padding: 0 .2em;
|
||||
border: solid 1px #88b;
|
||||
margin: 0 .2em;
|
||||
color: #007;
|
||||
font-family: monospace;
|
||||
font-size: .85em;
|
||||
font-variant: small-caps;
|
||||
}
|
||||
#footer {
|
||||
border-top: 1px solid silver;
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user