From 069e3f3b73e1f9a1b7627ce49ba890d2834a141a Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Tue, 13 Feb 2024 08:12:16 -0500 Subject: [PATCH] network/weechat: Updated for version 4.2.1. Signed-off-by: B. Watson Signed-off-by: Willy Sudiarto Raharjo --- .../weechat/01_fix_asciidoctor_options.patch | 18 ------------------ network/weechat/weechat.SlackBuild | 6 ++++-- network/weechat/weechat.info | 6 +++--- 3 files changed, 7 insertions(+), 23 deletions(-) delete mode 100644 network/weechat/01_fix_asciidoctor_options.patch diff --git a/network/weechat/01_fix_asciidoctor_options.patch b/network/weechat/01_fix_asciidoctor_options.patch deleted file mode 100644 index 6b7254bc67..0000000000 --- a/network/weechat/01_fix_asciidoctor_options.patch +++ /dev/null @@ -1,18 +0,0 @@ -Description: Build html documentation without requiring data (javascript, - fonts) on external websites (potential privacy breach) -Author: Emmanuel Bouthenot -Forwarded: not-needed -Last-Update: 2022-01-04 ---- -This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ ---- a/doc/CMakeLists.txt -+++ b/doc/CMakeLists.txt -@@ -22,7 +22,7 @@ - find_package(Asciidoctor) - if(ASCIIDOCTOR_FOUND) - # common asciidoctor arguments -- set(ASCIIDOCTOR_ARGS -a experimental -a reproducible -a "prewrap!" -a "webfonts!" -a icons=font -a revnumber="${VERSION}" -a sectanchors -a source-highlighter=pygments -a pygments-style=native) -+ set(ASCIIDOCTOR_ARGS -a experimental -a reproducible -a "prewrap!" -a "webfonts!" -a icons=text -a revnumber="${VERSION}" -a sectanchors -a source-highlighter=pygments -a pygments-style=native) - - # sed arguments used to replace links in ChangeLog and release notes - set(SED_LINKS_ARGS diff --git a/network/weechat/weechat.SlackBuild b/network/weechat/weechat.SlackBuild index 250ec7ebee..d0fa7ad59c 100644 --- a/network/weechat/weechat.SlackBuild +++ b/network/weechat/weechat.SlackBuild @@ -23,6 +23,7 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20240213 bkw: update for v4.2.1. # 20231219 bkw: update for v4.1.2. # 20231111 bkw: update for v4.1.1. # 20230907 bkw: update for v4.0.4. @@ -46,7 +47,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=weechat -VERSION=${VERSION:-4.1.2} +VERSION=${VERSION:-4.2.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -98,7 +99,8 @@ find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} + -o \ # requiring data (javascript, fonts) on external websites (potential # privacy breach). Patch was slightly modified for Slackware. # 20230104 bkw: patch updated, used as-is from Debian this time. -#patch -p1 < $CWD/01_fix_asciidoctor_options.patch +# 20240213 bkw: patch no longer applies, it's a one-liner, just use sed. +sed -i 's,icons=font,icons=text,' doc/CMakeLists.txt # 20211019 bkw: hardcoded paths suck. DOC=/usr/doc/$PRGNAM-$VERSION diff --git a/network/weechat/weechat.info b/network/weechat/weechat.info index f1800d8534..85db3dc94f 100644 --- a/network/weechat/weechat.info +++ b/network/weechat/weechat.info @@ -1,8 +1,8 @@ PRGNAM="weechat" -VERSION="4.1.2" +VERSION="4.2.1" HOMEPAGE="https://www.weechat.org" -DOWNLOAD="https://weechat.org/files/src/weechat-4.1.2.tar.xz" -MD5SUM="02db908661b46d0ff8c552991e7c2124" +DOWNLOAD="https://weechat.org/files/src/weechat-4.2.1.tar.xz" +MD5SUM="1d6fe2613e1e33a3cb8fc11a0c6d322a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES=""