Simple update weechat to 2.9. Tests welcome.
https://weechat.org/news/110/20200718-Version-2.9/
Rafael Sadowski
Index: Makefile
===================================================================
RCS file: /cvs/ports/net/weechat/Makefile,v
retrieving revision 1.48
diff -u -p -u -p -r1.48 Makefile
--- Makefile 3 Jul 2020 21:13:03 -0000 1.48
+++ Makefile 21 Jul 2020 20:00:07 -0000
@@ -6,11 +6,9 @@ COMMENT-python= Python bindings for weec
COMMENT-ruby= Ruby bindings for weechat
COMMENT-tcl= Tcl bindings for weechat
-V= 2.8
+V= 2.9
DISTNAME= weechat-${V}
-REVISION-python= 0
-
PKGNAME-main= weechat-${V}
PKGNAME-lua= weechat-lua-${V}
PKGNAME-python= weechat-python-${V}
@@ -51,7 +49,8 @@ BUILD_DEPENDS= devel/gettext,-tools \
devel/cpputest \
sysutils/flock
-RUN_DEPENDS= sysutils/flock
+RUN_DEPENDS= sysutils/flock \
+ devel/desktop-file-utils
LIB_DEPENDS= devel/gettext,-runtime \
net/curl \
@@ -75,16 +74,10 @@ 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_SPELL=ON \
- -DENABLE_RUBY=ON \
- -DENABLE_LUA=ON \
- -DENABLE_TCL=ON \
- -DENABLE_PYTHON=ON \
- -DENABLE_TESTS=ON
CONFIGURE_ARGS+= -DENABLE_GUILE=OFF \
-DENABLE_PHP=OFF \
- -DENABLE_JAVASCRIPT=OFF \
+ -DENABLE_TESTS=ON \
-DHAVE_BACKTRACE=OFF
CONFIGURE_ARGS+= -DCA_FILE=/etc/ssl/cert.pem \
Index: distinfo
===================================================================
RCS file: /cvs/ports/net/weechat/distinfo,v
retrieving revision 1.26
diff -u -p -u -p -r1.26 distinfo
--- distinfo 1 Apr 2020 05:11:43 -0000 1.26
+++ distinfo 21 Jul 2020 20:00:07 -0000
@@ -1,2 +1,2 @@
-SHA256 (weechat-2.8.tar.gz) = adpodOLVg7SkZmsWb1IO5FtqyEVEpKlDQDD4KYmJPIg=
-SIZE (weechat-2.8.tar.gz) = 4442035
+SHA256 (weechat-2.9.tar.gz) = OngGO3bEK6MG6s+PdMuMmiYPimHRkV0LXXbxHSvmmlM=
+SIZE (weechat-2.9.tar.gz) = 4419872
Index: patches/patch-CMakeLists_txt
===================================================================
RCS file: /cvs/ports/net/weechat/patches/patch-CMakeLists_txt,v
retrieving revision 1.1
diff -u -p -u -p -r1.1 patch-CMakeLists_txt
--- patches/patch-CMakeLists_txt 11 Jan 2020 07:26:00 -0000 1.1
+++ patches/patch-CMakeLists_txt 21 Jul 2020 20:00:07 -0000
@@ -5,7 +5,7 @@ Disable icons and weechat.desktop to avo
Index: CMakeLists.txt
--- CMakeLists.txt.orig
+++ CMakeLists.txt
-@@ -235,7 +235,7 @@ if(DL_LIBRARY)
+@@ -231,7 +231,7 @@ if(DL_LIBRARY)
list(APPEND EXTRA_LIBS dl)
endif()
@@ -14,12 +14,3 @@ Index: CMakeLists.txt
if(ENABLE_NLS)
add_subdirectory(po)
-@@ -302,7 +302,7 @@ if(CYGWIN)
- endif()
-
- # desktop file
--install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/weechat.desktop DESTINATION
${SHAREDIR}/applications)
-+#install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/weechat.desktop DESTINATION
${SHAREDIR}/applications)
-
- # packages
- set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Fast, light and extensible chat
client")
Index: patches/patch-doc_CMakeLists_txt
===================================================================
RCS file: /cvs/ports/net/weechat/patches/patch-doc_CMakeLists_txt,v
retrieving revision 1.8
diff -u -p -u -p -r1.8 patch-doc_CMakeLists_txt
--- patches/patch-doc_CMakeLists_txt 11 Jan 2020 07:26:00 -0000 1.8
+++ patches/patch-doc_CMakeLists_txt 21 Jul 2020 20:00:07 -0000
@@ -5,7 +5,7 @@ Index: doc/CMakeLists.txt
@@ -22,15 +22,15 @@ if(ENABLE_MAN OR ENABLE_DOC)
find_package(Asciidoctor)
if(ASCIIDOCTOR_FOUND)
- set(ASCIIDOCTOR_ARGS -a experimental -a icons=font -a
revnumber="${VERSION}" -a sectanchors -a source-highlighter=prettify)
+ set(ASCIIDOCTOR_ARGS -a experimental -a "prewrap!" -a icons=font -a
revnumber="${VERSION}" -a sectanchors -a source-highlighter=prettify)
- add_subdirectory(cs)
- add_subdirectory(de)
- add_subdirectory(en)
@@ -15,15 +15,15 @@ Index: doc/CMakeLists.txt
- add_subdirectory(ja)
- add_subdirectory(pl)
- add_subdirectory(ru)
-+# add_subdirectory(cs)
-+# add_subdirectory(de)
-+# add_subdirectory(en)
-+# add_subdirectory(es)
-+# add_subdirectory(fr)
-+# add_subdirectory(it)
-+# add_subdirectory(ja)
-+# add_subdirectory(pl)
-+# add_subdirectory(ru)
++ #add_subdirectory(cs)
++ #add_subdirectory(de)
++ #add_subdirectory(en)
++ #add_subdirectory(es)
++ #add_subdirectory(fr)
++ #add_subdirectory(it)
++ #add_subdirectory(ja)
++ #add_subdirectory(pl)
++ #add_subdirectory(ru)
else()
message(SEND_ERROR "Asciidoctor not found")
endif()
Index: patches/patch-tests_CMakeLists_txt
===================================================================
RCS file: /cvs/ports/net/weechat/patches/patch-tests_CMakeLists_txt,v
retrieving revision 1.4
diff -u -p -u -p -r1.4 patch-tests_CMakeLists_txt
--- patches/patch-tests_CMakeLists_txt 1 Apr 2020 05:11:43 -0000 1.4
+++ patches/patch-tests_CMakeLists_txt 21 Jul 2020 20:00:07 -0000
@@ -3,7 +3,7 @@ $OpenBSD: patch-tests_CMakeLists_txt,v 1
Index: tests/CMakeLists.txt
--- tests/CMakeLists.txt.orig
+++ tests/CMakeLists.txt
-@@ -63,7 +63,7 @@ if(ICONV_LIBRARY)
+@@ -73,7 +73,7 @@ if(ICONV_LIBRARY)
list(APPEND EXTRA_LIBS ${ICONV_LIBRARY})
endif()
Index: pkg/PLIST-main
===================================================================
RCS file: /cvs/ports/net/weechat/pkg/PLIST-main,v
retrieving revision 1.13
diff -u -p -u -p -r1.13 PLIST-main
--- pkg/PLIST-main 11 Jan 2020 07:26:00 -0000 1.13
+++ pkg/PLIST-main 21 Jul 2020 20:00:07 -0000
@@ -21,6 +21,8 @@ lib/weechat/plugins/
@so lib/weechat/plugins/spell.so
@so lib/weechat/plugins/trigger.so
@so lib/weechat/plugins/xfer.so
+share/applications/
+share/applications/weechat.desktop
share/doc/weechat/
share/doc/weechat/weechat_dev.en.adoc
share/doc/weechat/weechat_faq.en.adoc
@@ -42,3 +44,4 @@ share/locale/pt/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
+@tag update-desktop-database