Hello,
please find below a diff to update profanity to 0.15.0. The full
changelog is available here:
https://github.com/profanity-im/profanity/releases/tag/0.15.0
it's quite long, but it fixes so many things that it'd be really nice to
have it in stable. in particular, /save now finally works! that's the
best fix in this release IMHO!
the USE_GMAKE thingy is because otherwise it fails at configure with:
<<<<<<<
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/config.h
config.status: executing libtool commands
config.status: executing depfiles commands
config.status: error: in `/usr/ports/pobj/profanity-0.15.0/build-amd64':
config.status: error: Something went wrong bootstrapping makefile fragments
for automatic dependency tracking. If GNU make was not used, consider
re-running the configure script with MAKE="gmake" (or whatever is
necessary). You can also try re-running configure with the
'--disable-dependency-tracking' option to at least be able to build
the package (albeit without support for automatic dependency tracking).
>>>>>>>
tests/oks are welcome :)
Index: Makefile
===================================================================
RCS file: /home/cvs/ports/net/profanity/Makefile,v
diff -u -p -r1.36 Makefile
--- Makefile 25 Dec 2024 15:59:24 -0000 1.36
+++ Makefile 2 Apr 2025 20:42:51 -0000
@@ -1,6 +1,5 @@
COMMENT = console based XMPP client
-DISTNAME = profanity-0.14.0
-REVISION = 3
+DISTNAME = profanity-0.15.0
CATEGORIES = net
HOMEPAGE = https://profanity-im.github.io/
@@ -35,6 +34,8 @@ LIB_DEPENDS += databases/sqlite3 \
# Only needed for tests, but cannot be a TEST_DEPENDS.
# Check must be present at build time for tests to work.
BUILD_DEPENDS += devel/cmocka
+
+USE_GMAKE = Yes
CONFIGURE_STYLE = autoconf
AUTOCONF_VERSION = 2.71
Index: distinfo
===================================================================
RCS file: /home/cvs/ports/net/profanity/distinfo,v
diff -u -p -r1.17 distinfo
--- distinfo 25 Sep 2023 09:12:42 -0000 1.17
+++ distinfo 2 Apr 2025 17:57:12 -0000
@@ -1,2 +1,2 @@
-SHA256 (profanity-0.14.0.tar.gz) = /SP/04oxkHl0poCjkAyVnhTUThbx+33yvbf2xnvXz38=
-SIZE (profanity-0.14.0.tar.gz) = 936272
+SHA256 (profanity-0.15.0.tar.gz) = Sp9Xj3UOyafCpEEroi5gGBG5K7qHfGNmMcw8zHzqx/s=
+SIZE (profanity-0.15.0.tar.gz) = 967640
Index: patches/patch-configure_ac
===================================================================
RCS file: /home/cvs/ports/net/profanity/patches/patch-configure_ac,v
diff -u -p -r1.11 patch-configure_ac
--- patches/patch-configure_ac 13 Oct 2022 07:19:27 -0000 1.11
+++ patches/patch-configure_ac 2 Apr 2025 20:39:08 -0000
@@ -4,7 +4,7 @@ Use ${LOCALBASE} instead of hard-coded /
Index: configure.ac
--- configure.ac.orig
+++ configure.ac
-@@ -104,7 +104,7 @@ elif test "x$enable_python_plugins" != xno; then
+@@ -110,7 +110,7 @@ elif test "x$enable_python_plugins" != xno; then
rm -f Python.framework
ln -s $PYTHON_FRAMEWORK Python.framework ])
PKG_CHECK_MODULES([python], [python-embed], [PYTHON_CONFIG_EXISTS=yes], [PYTHON_CONFIG_EXISTS=no])
@@ -13,7 +13,7 @@ Index: configure.ac
if test "$PYTHON_CONFIG_EXISTS" = "yes" || test "$PYTHON3_CONFIG_EXISTS" = "yes"; then
AM_CONDITIONAL([BUILD_PYTHON_API], [true])
AC_DEFINE([HAVE_PYTHON], [1], [Python support])
-@@ -223,10 +223,10 @@ AS_IF([test "x$PLATFORM" = xosx],
+@@ -229,10 +229,10 @@ AS_IF([test "x$PLATFORM" = xosx],
[AC_MSG_ERROR([libreadline is required for profanity. Install it with Homebrew, MacPorts, or manually into /usr/local])])],
[test "x$PLATFORM" = xopenbsd],
Index: patches/patch-src_pgp_gpg_c
===================================================================
RCS file: patches/patch-src_pgp_gpg_c
diff -N patches/patch-src_pgp_gpg_c
--- patches/patch-src_pgp_gpg_c 25 Dec 2024 15:59:24 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,15 +0,0 @@
-Fix crashes on startup.
-Taken from upstream commit 0995b1a180e24ebc0383621d3d5bfaff98e1f877.
-
-Index: src/pgp/gpg.c
---- src/pgp/gpg.c.orig
-+++ src/pgp/gpg.c
-@@ -889,7 +889,8 @@ out:
- static ProfPGPKey*
- _gpgme_key_to_ProfPGPKey(gpgme_key_t key)
- {
-- if (key == NULL) {
-+ if (key == NULL || key->uids == NULL
-+ || key->subkeys == NULL || key->uids->uid == NULL) {
- return NULL;
- }
Index: pkg/PLIST
===================================================================
RCS file: /home/cvs/ports/net/profanity/pkg/PLIST,v
diff -u -p -r1.12 PLIST
--- pkg/PLIST 25 Sep 2023 09:12:42 -0000 1.12
+++ pkg/PLIST 2 Apr 2025 20:44:23 -0000
@@ -72,6 +72,7 @@ lib/libprofanity.la
@man man/man1/profanity-quit.1
@man man/man1/profanity-receipts.1
@man man/man1/profanity-reconnect.1
+@man man/man1/profanity-redraw.1
@man man/man1/profanity-register.1
@man man/man1/profanity-reload.1
@man man/man1/profanity-resource.1
No comments:
Post a Comment