From 6dad386cfd911a53ed7ea996e665a6f1db7523a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Mon, 22 Aug 2016 21:49:35 +0200 Subject: [PATCH] build: disable build of man page and documentation on Cygwin --- ChangeLog.adoc | 1 + weechat.cygport.in | 30 ++++++++++-------------------- 2 files changed, 11 insertions(+), 20 deletions(-) diff --git a/ChangeLog.adoc b/ChangeLog.adoc index fb547bdfd..98fa9352a 100644 --- a/ChangeLog.adoc +++ b/ChangeLog.adoc @@ -49,6 +49,7 @@ Documentation:: Build:: + * cygwin: disable build of man page and documentation * python: add detection of Python 3.5 [[v1.5]] diff --git a/weechat.cygport.in b/weechat.cygport.in index 46cd4547f..326cd10ba 100644 --- a/weechat.cygport.in +++ b/weechat.cygport.in @@ -46,20 +46,19 @@ HOMEPAGE="https://weechat.org/" SRC_URI="https://weechat.org/files/src/weechat-${VERSION}.tar.bz2" # Build dependencies only -DEPEND="asciidoc cmake docbook-xml-simple11 docbook-xsl gettext gettext-devel \ -gnutls-devel libaspell-devel libcurl-devel libgcrypt-devel libncursesw-devel \ -lua perl pkg-config python ruby source-highlight tcl zlib-devel" +DEPEND="cmake gettext gettext-devel libgnutls-devel libaspell-devel \ +libcurl-devel libgcrypt-devel libncurses-devel lua perl pkg-config python \ +ruby tcl-devel zlib-devel" # # CMake compilation of WeeChat: # 1. set prefix to /usr -# 2. enable build of man pages and documentation -# 3. disable Guile plugin because WeeChat requires Guile >= 2.0, +# 2. disable Guile plugin because WeeChat requires Guile >= 2.0, # which is not yet available in Cygwin -# 4. disable Javascript plugin because libv8 is not available in Cygwin +# 3. disable Javascript plugin because libv8 is not available in Cygwin # -CYGCMAKE_ARGS="-DCMAKE_INSTALL_PREFIX=/usr -DENABLE_MAN=ON -DENABLE_DOC=ON \ --DENABLE_GUILE=OFF -DENABLE_JAVASCRIPT=OFF" +CYGCMAKE_ARGS="-DCMAKE_INSTALL_PREFIX=/usr -DENABLE_GUILE=OFF \ +-DENABLE_JAVASCRIPT=OFF" # # Build 8 Cygwin packages: @@ -70,15 +69,14 @@ CYGCMAKE_ARGS="-DCMAKE_INSTALL_PREFIX=/usr -DENABLE_MAN=ON -DENABLE_DOC=ON \ # weechat-lua # weechat-tcl # weechat-devel -# weechat-doc # PKG_NAMES="${PN} ${PN}-python ${PN}-perl ${PN}-ruby ${PN}-lua ${PN}-tcl \ -${PN}-devel ${PN}-doc" -PKG_HINTS="setup python perl ruby lua tcl devel doc" +${PN}-devel" +PKG_HINTS="setup python perl ruby lua tcl devel" # # Package "weechat": binary, all plugins except scripting languages, -# translations, icon, man pages +# translations, icon # weechat_SUMMARY="Fast, light and extensible chat client (IRC/XMPP)" weechat_DESCRIPTION="WeeChat (Wee Enhanced Environment for Chat) is a fast, \ @@ -99,7 +97,6 @@ weechat_CONTENTS=" usr/lib/weechat/plugins/xfer.dll usr/share/locale/ usr/share/icons/ - usr/share/man/ usr/share/doc/weechat/AUTHORS.adoc usr/share/doc/weechat/ChangeLog.adoc usr/share/doc/weechat/Contributing.adoc @@ -154,10 +151,3 @@ weechat_tcl_REQUIRES="weechat" weechat_devel_CATEGORY="Net Devel" weechat_devel_SUMMARY="Development files to build WeeChat plugins" weechat_devel_CONTENTS="usr/include/ usr/lib/pkgconfig/" - -# -# Package "weechat-doc": documentation -# -weechat_doc_CATEGORY="Net Doc" -weechat_doc_SUMMARY="Documentation for WeeChat" -weechat_doc_CONTENTS="usr/share/doc/weechat/*.html"