pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

weechat: upgraded to 1.3



Module Name:	pkgsrc-wip
Committed By:	coypu <coypu%sdf.org@localhost>
Pushed By:	coypu
Date:		Sat Dec 5 00:27:22 2015 +0000
Changeset:	d77142db1157cb10402c42bbb1317dfa72f419dc

Added Files:
	weechat/DESCR
	weechat/Makefile
	weechat/PLIST
	weechat/distinfo
	weechat/options.mk
	weechat/patches/patch-src_gui_curses_gui-curses-term.c

Log Message:
weechat: upgraded to 1.3

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=d77142db1157cb10402c42bbb1317dfa72f419dc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 weechat/DESCR                                      |  3 ++
 weechat/Makefile                                   | 41 +++++++++++++++
 weechat/PLIST                                      | 34 ++++++++++++
 weechat/distinfo                                   |  7 +++
 weechat/options.mk                                 | 60 ++++++++++++++++++++++
 .../patches/patch-src_gui_curses_gui-curses-term.c | 13 +++++
 6 files changed, 158 insertions(+)

diffs:
diff --git a/weechat/DESCR b/weechat/DESCR
new file mode 100644
index 0000000..655ae19
--- /dev/null
+++ b/weechat/DESCR
@@ -0,0 +1,3 @@
+WeeChat (Wee Enhanced Environment for Chat) is a fast and light IRC
+client. Everything can be done with a keyboard, and it is customizable
+and extensible with scripts.
diff --git a/weechat/Makefile b/weechat/Makefile
new file mode 100644
index 0000000..8b73b67
--- /dev/null
+++ b/weechat/Makefile
@@ -0,0 +1,41 @@
+# $NetBSD: Makefile,v 1.58 2015/11/07 23:03:31 dholland Exp $
+
+DISTNAME=	weechat-1.3
+CATEGORIES=	chat
+MASTER_SITES=	http://www.weechat.org/files/src/
+
+MAINTAINER=	tonio%NetBSD.org@localhost
+HOMEPAGE=	http://www.weechat.org/
+COMMENT=	Lightweight and user friendly curses based IRC client
+LICENSE=	gnu-gpl-v3
+EXTRACT_SUFX=	.tar.bz2
+
+BUILD_DEPENDS+=	asciidoc-[0-9]*:../../textproc/asciidoc
+
+USE_PKGLOCALEDIR=	yes
+USE_TOOLS+=		msgfmt pkg-config
+USE_LANGUAGES=		c99
+USE_LIBTOOL=		yes
+USE_CMAKE=		yes
+
+CMAKE_ARGS+=		-DENABLE_ASPELL:BOOL=OFF
+CMAKE_ARGS+=		-DENABLE_GUILE:BOOL=OFF
+CMAKE_ARGS+=		-DENABLE_TCL:BOOL=OFF
+CMAKE_ARGS+=		-DENABLE_MAN:BOOL=ON
+CMAKE_ARGS+=		-DENABLE_V8:BOOL=OFF
+CMAKE_ARGS+=		-DMANDIR:STRING=${PKGMANDIR}
+CMAKE_ARGS+=		-DLOCALEDIR:STRING=${PKGLOCALEDIR}/locale
+CMAKE_ARGS+=		-DENABLE_CHARSET:BOOL=ON
+
+LDFLAGS+=		${BUILDLINK_LDADD.gettext}
+
+.include "options.mk"
+
+.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
+.include "../../devel/gettext-lib/buildlink3.mk"
+#.include "../../devel/readline/buildlink3.mk"
+.include "../../devel/libidn/buildlink3.mk"
+.include "../../www/curl/buildlink3.mk"
+.include "../../converters/libiconv/buildlink3.mk"
+.include "../../security/libgcrypt/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/weechat/PLIST b/weechat/PLIST
new file mode 100644
index 0000000..231ef2b
--- /dev/null
+++ b/weechat/PLIST
@@ -0,0 +1,34 @@
+@comment $NetBSD$
+bin/weechat
+bin/weechat-curses
+include/weechat/weechat-plugin.h
+lib/pkgconfig/weechat.pc
+lib/weechat/plugins/alias.so
+lib/weechat/plugins/charset.so
+lib/weechat/plugins/exec.so
+lib/weechat/plugins/fifo.so
+lib/weechat/plugins/irc.so
+lib/weechat/plugins/logger.so
+lib/weechat/plugins/relay.so
+lib/weechat/plugins/script.so
+lib/weechat/plugins/trigger.so
+lib/weechat/plugins/xfer.so
+man/de/man1/weechat.1
+man/fr/man1/weechat.1
+man/it/man1/weechat.1
+man/ja/man1/weechat.1
+man/man1/weechat.1
+man/pl/man1/weechat.1
+man/ru/man1/weechat.1
+share/icons/hicolor/32x32/apps/weechat.png
+share/locale/cs/LC_MESSAGES/weechat.mo
+share/locale/de/LC_MESSAGES/weechat.mo
+share/locale/es/LC_MESSAGES/weechat.mo
+share/locale/fr/LC_MESSAGES/weechat.mo
+share/locale/hu/LC_MESSAGES/weechat.mo
+share/locale/it/LC_MESSAGES/weechat.mo
+share/locale/ja/LC_MESSAGES/weechat.mo
+share/locale/pl/LC_MESSAGES/weechat.mo
+share/locale/pt_BR/LC_MESSAGES/weechat.mo
+share/locale/ru/LC_MESSAGES/weechat.mo
+share/locale/tr/LC_MESSAGES/weechat.mo
diff --git a/weechat/distinfo b/weechat/distinfo
new file mode 100644
index 0000000..ae4f651
--- /dev/null
+++ b/weechat/distinfo
@@ -0,0 +1,7 @@
+$NetBSD$
+
+SHA1 (weechat-1.3.tar.bz2) = 3d6cac3a92b194819197ee7ed435a0c2e62a7c66
+RMD160 (weechat-1.3.tar.bz2) = 2484204e67eea53328a37c7d588cb76f76dfd0ec
+SHA512 (weechat-1.3.tar.bz2) = 82159f1c630bf389e7a3b8baf29b67c50711e1a767040440c71bfd7d3cd0c3005b7423e6dd53c2437512cc68953f540039971a4e6f6d7a4cdb4a4e74e4c3985b
+Size (weechat-1.3.tar.bz2) = 2402422 bytes
+SHA1 (patch-src_gui_curses_gui-curses-term.c) = 7e83f583101cf04a7c71eb25d8c7cf1c49d051ba
diff --git a/weechat/options.mk b/weechat/options.mk
new file mode 100644
index 0000000..ca1cee6
--- /dev/null
+++ b/weechat/options.mk
@@ -0,0 +1,60 @@
+# $NetBSD: options.mk,v 1.12 2015/08/01 19:10:15 tonio Exp $
+
+PKG_OPTIONS_VAR=	PKG_OPTIONS.weechat
+PKG_SUPPORTED_OPTIONS=	gnutls python lua wide-curses perl ruby
+PKG_SUGGESTED_OPTIONS=	gnutls
+
+.include "../../mk/bsd.options.mk"
+
+PLIST_VARS+=		lua plugin python perl ruby
+
+.if !empty(PKG_OPTIONS:Mgnutls)
+.include "../../security/gnutls/buildlink3.mk"
+.endif
+
+.if !empty(PKG_OPTIONS:Mwide-curses)
+.include "../../devel/ncursesw/buildlink3.mk"
+.else
+.include "../../devel/ncurses/buildlink3.mk"
+.endif
+
+.if !empty(PKG_OPTIONS:Mpython)
+.include "../../lang/python/extension.mk"
+CMAKE_ARGS+=		-DENABLE_PYTHON:BOOL=ON
+PLIST.python=		yes
+.else
+CMAKE_ARGS+=		-DENABLE_PYTHON:BOOL=OFF
+.endif
+
+.if !empty(PKG_OPTIONS:Mlua)
+LUA_VERSIONS_INCOMPATIBLE=	52
+.include "../../lang/lua/buildlink3.mk"
+CMAKE_ARGS+=		-DENABLE_LUA:BOOL=ON
+PLIST.lua=		yes
+.else
+CMAKE_ARGS+=		-DENABLE_LUA:BOOL=OFF
+.endif
+
+.if !empty(PKG_OPTIONS:Mperl)
+.include "../../lang/perl5/buildlink3.mk"
+CMAKE_ARGS+=		-DENABLE_PERL:BOOL=ON
+USE_TOOLS+=		perl
+PLIST.perl=		yes
+.else
+CMAKE_ARGS+=		-DENABLE_PERL:BOOL=OFF
+.endif
+
+.if !empty(PKG_OPTIONS:Mruby)
+.include "../../lang/ruby/buildlink3.mk"
+CMAKE_ARGS+=		-DENABLE_RUBY:BOOL=ON
+PLIST.ruby=		yes
+BUILDLINK_INCDIRS.${RUBY_BASE}+=	${RUBY_INC}
+BUILDLINK_INCDIRS.${RUBY_BASE}+=	${RUBY_ARCHINC}
+.else
+CMAKE_ARGS+=		-DENABLE_RUBY:BOOL=OFF
+.endif
+
+.if !empty(PKG_OPTIONS:Mpython) || \
+    !empty(PKG_OPTIONS:Mlua)
+PLIST.plugin=		yes
+.endif
diff --git a/weechat/patches/patch-src_gui_curses_gui-curses-term.c b/weechat/patches/patch-src_gui_curses_gui-curses-term.c
new file mode 100644
index 0000000..514d9dc
--- /dev/null
+++ b/weechat/patches/patch-src_gui_curses_gui-curses-term.c
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- src/gui/curses/gui-curses-term.c.orig	2015-08-16 06:27:07.000000000 +0000
++++ src/gui/curses/gui-curses-term.c
+@@ -45,7 +45,7 @@
+ void
+ gui_term_set_eat_newline_glitch (int value)
+ {
+-#ifdef HAVE_EAT_NEWLINE_GLITCH
++#if defined(HAVE_EAT_NEWLINE_GLITCH) && !defined(__NetBSD__)
+     eat_newline_glitch = value;
+ #else
+     /* make C compiler happy */


Home | Main Index | Thread Index | Old Index