From aa823e24b5001f36290246c909b143431973586b Mon Sep 17 00:00:00 2001 From: Ørjan Malde Date: Nov 26 2020 18:30:37 +0000 Subject: groups/241.native_packages_inet.group: weechat: bump to v3.0 Signed-off-by: Lucio Andrés Illanes Albornoz --- diff --git a/groups/241.native_packages_inet.group b/groups/241.native_packages_inet.group index 3b1f708..70d67de 100644 --- a/groups/241.native_packages_inet.group +++ b/groups/241.native_packages_inet.group @@ -216,8 +216,8 @@ pacman proxytunnel rsync socat thttpd w3m weechat wget whois")"; : ${PKG_W3M_MAKEFLAGS_BUILD:=-j1}; : ${PKG_W3M_SUBDIR:=w3m-0.5.3-git20190105}; : ${PKG_WEECHAT_DEPENDS:="curl gnutls libgcrypt libz ncursesw"}; -: ${PKG_WEECHAT_SHA256SUM:=3a78063b76c42ba306eacf8f74cb8c9a260f8a61d1915d0b5d76f11d2be69a53}; -: ${PKG_WEECHAT_VERSION:=2.9}; +: ${PKG_WEECHAT_SHA256SUM:=bd23fe4c775fea5e140ad6aed696daa22dee97a298a37211d0da2b45935bf076}; +: ${PKG_WEECHAT_VERSION:=3.0}; : ${PKG_WEECHAT_URL:=https://weechat.org/files/src/weechat-${PKG_WEECHAT_VERSION}.tar.gz}; : ${PKG_WEECHAT_CONFIGURE_ARGS_EXTRA:="--disable-aspell --disable-guile --disable-javascript --disable-lua --disable-perl --disable-python --disable-ruby --disable-tcl"}; : ${PKG_WEECHAT_ENV_VARS_EXTRA:="CURL_CONFIG=${PREFIX_NATIVE}/bin/curl-config:LIBGCRYPT_CONFIG=${PREFIX_NATIVE}/bin/libgcrypt-config:PKGCONFIG=${DEFAULT_TARGET}-pkg-config"}; diff --git a/patches/weechat-2.9_pre.local.patch b/patches/weechat-2.9_pre.local.patch deleted file mode 100644 index 1144a86..0000000 --- a/patches/weechat-2.9_pre.local.patch +++ /dev/null @@ -1,55 +0,0 @@ -diff -ru weechat-2.9.orig/configure.ac weechat-2.9/configure.ac ---- weechat-2.9.orig/configure.ac 2020-07-18 13:59:02.000000000 +0200 -+++ weechat-2.9/configure.ac 2020-10-06 22:27:28.776471083 +0200 -@@ -192,18 +192,6 @@ - fi - - # ------------------------------------------------------------------------------ --# pkg-config --# ------------------------------------------------------------------------------ -- --PKGCONFIG="" --AC_CHECK_PROGS(PKGCONFIG, pkg-config) --if test "x$PKGCONFIG" = "x"; then -- AC_MSG_ERROR([ --*** "pkg-config" couldn't be found on your system. --*** Try to install it with your software package manager.]) --fi -- --# ------------------------------------------------------------------------------ - # dynamic loader - # ------------------------------------------------------------------------------ - -@@ -1049,8 +1037,8 @@ - *** or try to install it with your software package manager.]) - else - AC_MSG_RESULT(yes) -- GCRYPT_CFLAGS=`libgcrypt-config --cflags` -- GCRYPT_LFLAGS=`libgcrypt-config --libs` -+ GCRYPT_CFLAGS=`$LIBGCRYPT_CONFIG --cflags` -+ GCRYPT_LFLAGS=`$LIBGCRYPT_CONFIG --libs` - AC_SUBST(GCRYPT_CFLAGS) - AC_SUBST(GCRYPT_LFLAGS) - fi -@@ -1070,8 +1058,8 @@ - *** or try to install it with your software package manager.]) - else - AC_MSG_RESULT(yes) -- GNUTLS_CFLAGS=`pkg-config gnutls --cflags` -- GNUTLS_LFLAGS=`pkg-config gnutls --libs` -+ GNUTLS_CFLAGS=`$PKGCONFIG gnutls --cflags` -+ GNUTLS_LFLAGS=`$PKGCONFIG gnutls --libs` - AC_SUBST(GNUTLS_CFLAGS) - AC_SUBST(GNUTLS_LFLAGS) - fi -@@ -1160,8 +1148,8 @@ - *** or try to install it with your software package manager.]) - else - AC_MSG_RESULT(yes) -- ZLIB_CFLAGS=`pkg-config zlib --cflags` -- ZLIB_LFLAGS=`pkg-config zlib --libs` -+ ZLIB_CFLAGS=`$PKGCONFIG zlib --cflags` -+ ZLIB_LFLAGS=`$PKGCONFIG zlib --libs` - AC_SUBST(ZLIB_CFLAGS) - AC_SUBST(ZLIB_LFLAGS) - fi diff --git a/patches/weechat-3.0_pre.local.patch b/patches/weechat-3.0_pre.local.patch new file mode 100644 index 0000000..1144a86 --- /dev/null +++ b/patches/weechat-3.0_pre.local.patch @@ -0,0 +1,55 @@ +diff -ru weechat-2.9.orig/configure.ac weechat-2.9/configure.ac +--- weechat-2.9.orig/configure.ac 2020-07-18 13:59:02.000000000 +0200 ++++ weechat-2.9/configure.ac 2020-10-06 22:27:28.776471083 +0200 +@@ -192,18 +192,6 @@ + fi + + # ------------------------------------------------------------------------------ +-# pkg-config +-# ------------------------------------------------------------------------------ +- +-PKGCONFIG="" +-AC_CHECK_PROGS(PKGCONFIG, pkg-config) +-if test "x$PKGCONFIG" = "x"; then +- AC_MSG_ERROR([ +-*** "pkg-config" couldn't be found on your system. +-*** Try to install it with your software package manager.]) +-fi +- +-# ------------------------------------------------------------------------------ + # dynamic loader + # ------------------------------------------------------------------------------ + +@@ -1049,8 +1037,8 @@ + *** or try to install it with your software package manager.]) + else + AC_MSG_RESULT(yes) +- GCRYPT_CFLAGS=`libgcrypt-config --cflags` +- GCRYPT_LFLAGS=`libgcrypt-config --libs` ++ GCRYPT_CFLAGS=`$LIBGCRYPT_CONFIG --cflags` ++ GCRYPT_LFLAGS=`$LIBGCRYPT_CONFIG --libs` + AC_SUBST(GCRYPT_CFLAGS) + AC_SUBST(GCRYPT_LFLAGS) + fi +@@ -1070,8 +1058,8 @@ + *** or try to install it with your software package manager.]) + else + AC_MSG_RESULT(yes) +- GNUTLS_CFLAGS=`pkg-config gnutls --cflags` +- GNUTLS_LFLAGS=`pkg-config gnutls --libs` ++ GNUTLS_CFLAGS=`$PKGCONFIG gnutls --cflags` ++ GNUTLS_LFLAGS=`$PKGCONFIG gnutls --libs` + AC_SUBST(GNUTLS_CFLAGS) + AC_SUBST(GNUTLS_LFLAGS) + fi +@@ -1160,8 +1148,8 @@ + *** or try to install it with your software package manager.]) + else + AC_MSG_RESULT(yes) +- ZLIB_CFLAGS=`pkg-config zlib --cflags` +- ZLIB_LFLAGS=`pkg-config zlib --libs` ++ ZLIB_CFLAGS=`$PKGCONFIG zlib --cflags` ++ ZLIB_LFLAGS=`$PKGCONFIG zlib --libs` + AC_SUBST(ZLIB_CFLAGS) + AC_SUBST(ZLIB_LFLAGS) + fi