UPDATE: net/weechat

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

UPDATE: net/weechat

Rafael Sadowski
Hi All!

please find below a simple update diff to the latest stable version 2.2.

Notable changes:

- enable aspell:
  -- /plugin load aspell
  -- /aspell enable
  -- /aspell setdict en

- remove unnecessary patch

Tests welcome. ok?

Index: Makefile
===================================================================
RCS file: /cvs/ports/net/weechat/Makefile,v
retrieving revision 1.36
diff -u -p -u -p -r1.36 Makefile
--- Makefile 26 Apr 2018 16:06:09 -0000 1.36
+++ Makefile 16 Jul 2018 04:24:39 -0000
@@ -6,7 +6,7 @@ COMMENT-python= Python bindings for weec
 COMMENT-ruby= Ruby bindings for weechat
 COMMENT-tcl= Tcl bindings for weechat
 
-V= 2.1
+V= 2.2
 DISTNAME= weechat-${V}
 
 PKGNAME-main= weechat-${V}
@@ -27,7 +27,7 @@ MASTER_SITES= https://www.weechat.org/fi
 
 MULTI_PACKAGES= -main -lua -python -ruby -tcl
 
-WANTLIB-main= c curl iconv intl m curses perl pthread \
+WANTLIB-main= aspell c curl iconv intl m curses perl pthread \
  gcrypt gnutls gpg-error z
 
 WANTLIB-lua= ${MODLUA_WANTLIB} m
@@ -50,7 +50,8 @@ BUILD_DEPENDS= devel/gettext-tools
 LIB_DEPENDS= devel/gettext \
  security/libgcrypt \
  security/gnutls \
- net/curl
+ net/curl \
+ textproc/aspell/core
 
 LIB_DEPENDS-lua= ${MODLUA_LIB_DEPENDS}
 RUN_DEPENDS-lua= net/weechat,-main ${MODLUA_RUN_DEPENDS}
@@ -64,7 +65,7 @@ RUN_DEPENDS-ruby= net/weechat,-main ${MO
 LIB_DEPENDS-tcl= ${MODTCL_LIB_DEPENDS}
 RUN_DEPENDS-tcl= net/weechat,-main ${MODTCL_RUN_DEPENDS}
 
-CONFIGURE_ARGS+=-DENABLE_ASPELL=no \
+CONFIGURE_ARGS+=-DENABLE_ASPELL=yes \
  -DENABLE_GUILE=no \
  -DENABLE_RUBY=yes \
  -DENABLE_LUA=yes \
Index: distinfo
===================================================================
RCS file: /cvs/ports/net/weechat/distinfo,v
retrieving revision 1.18
diff -u -p -u -p -r1.18 distinfo
--- distinfo 26 Apr 2018 16:06:09 -0000 1.18
+++ distinfo 16 Jul 2018 04:24:39 -0000
@@ -1,2 +1,2 @@
-SHA256 (weechat-2.1.tar.gz) = LCf6aHg71P2nrQDW8+oP77bHkvS9qCYcpxBupLRZWQY=
-SIZE (weechat-2.1.tar.gz) = 4017348
+SHA256 (weechat-2.2.tar.gz) = ZysgQxzRIS1NaX5ti981AUB6rcPLegtlRPPWbKQRiaA=
+SIZE (weechat-2.2.tar.gz) = 4058098
Index: patches/patch-src_gui_curses_normal_CMakeLists_txt
===================================================================
RCS file: patches/patch-src_gui_curses_normal_CMakeLists_txt
diff -N patches/patch-src_gui_curses_normal_CMakeLists_txt
--- patches/patch-src_gui_curses_normal_CMakeLists_txt 26 Apr 2018 16:17:18 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,20 +0,0 @@
-$OpenBSD: patch-src_gui_curses_normal_CMakeLists_txt,v 1.1 2018/04/26 16:17:18 rsadowski Exp $
-
-Fix cyclical dependency error
-
-Index: src/gui/curses/normal/CMakeLists.txt
---- src/gui/curses/normal/CMakeLists.txt.orig
-+++ src/gui/curses/normal/CMakeLists.txt
-@@ -70,10 +70,10 @@ add_custom_command(
-   WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
-   COMMENT "Creating symbolic link ${EXECUTABLE}-curses${CMAKE_EXECUTABLE_SUFFIX}"
- )
--add_custom_target(${EXECUTABLE}-curses${CMAKE_EXECUTABLE_SUFFIX} ALL
-+add_custom_target(create_weechat-curses_symlink ALL
-   DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/${EXECUTABLE}-curses${CMAKE_EXECUTABLE_SUFFIX}
- )
--add_dependencies(${EXECUTABLE}-curses${CMAKE_EXECUTABLE_SUFFIX} ${EXECUTABLE})
-+add_dependencies(create_weechat-curses_symlink ${EXECUTABLE})
- list(APPEND CMAKE_INSTALL_MANIFEST_FILES "${CMAKE_INSTALL_PREFIX}/bin/weechat-curses${CMAKE_EXECUTABLE_SUFFIX}")
-
- # Install executable and symbolic link
Index: pkg/PLIST-main
===================================================================
RCS file: /cvs/ports/net/weechat/pkg/PLIST-main,v
retrieving revision 1.10
diff -u -p -u -p -r1.10 PLIST-main
--- pkg/PLIST-main 26 Apr 2018 16:06:09 -0000 1.10
+++ pkg/PLIST-main 16 Jul 2018 04:24:39 -0000
@@ -8,6 +8,7 @@ lib/pkgconfig/weechat.pc
 lib/weechat/
 lib/weechat/plugins/
 lib/weechat/plugins/alias.so
+lib/weechat/plugins/aspell.so
 lib/weechat/plugins/buflist.so
 lib/weechat/plugins/charset.so
 lib/weechat/plugins/exec.so