diff --git a/net-im/profanity/Makefile b/net-im/profanity/Makefile index dd8818361aff..a4991c631310 100644 --- a/net-im/profanity/Makefile +++ b/net-im/profanity/Makefile @@ -1,52 +1,52 @@ PORTNAME= profanity -PORTVERSION= 0.12.1 +PORTVERSION= 0.13.0 CATEGORIES= net-im MAINTAINER= ashish@FreeBSD.org COMMENT= Console based XMPP client WWW= http://www.profanity.im/ LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/LICENSE.txt BUILD_DEPENDS= autoconf-archive>=0:devel/autoconf-archive -LIB_DEPENDS= libmesode.so:net-im/libmesode \ - libcurl.so:ftp/curl \ +LIB_DEPENDS= libcurl.so:ftp/curl \ libotr.so:security/libotr \ libuuid.so:misc/e2fsprogs-libuuid \ libgpgme.so:security/gpgme \ libassuan.so:security/libassuan \ libgpg-error.so:security/libgpg-error \ libgcrypt.so:security/libgcrypt \ libsignal-protocol-c.so:net/libsignal-protocol-c \ - libstrophe.so:net-im/libstrophe + libstrophe.so:net-im/libstrophe \ + libqrencode.so:graphics/libqrencode USES= cpe ncurses pkgconfig ssl python:3.8+ readline autoreconf libtool gnome \ sqlite:3 CPE_VENDOR= ${PORTNAME}_project USE_GNOME= glib20 USE_GITHUB= yes GH_ACCOUNT= profanity-im GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-otr --enable-python-plugins --enable-c-plugins \ - --enable-pgp --enable-icons-and-clipboard=no \ - --with-xscreensaver=no \ - --enable-omemo + --enable-pgp --disable-icons-and-clipboard \ + --without-xscreensaver --disable-gdk-pixbuf \ + --enable-omemo --enable-omemo-qrcode CONFIGURE_ENV= LIBS="${CFLAGS} -lcrypto" INSTALL_TARGET= install-strip OPTIONS_DEFINE= NOTIFY NOTIFY_LIB_DEPENDS= libnotify.so:devel/libnotify NOTIFY_CONFIGURE_ENABLE=notifications .include post-patch: ${REINPLACE_CMD} "s,python3-embed,python-${PYTHON_VER}-embed,g" \ ${WRKSRC}/configure.ac post-install: cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/man/man1 "-name *\.1" .include diff --git a/net-im/profanity/distinfo b/net-im/profanity/distinfo index b4ec47f790a9..e7548db0e9ec 100644 --- a/net-im/profanity/distinfo +++ b/net-im/profanity/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1649101132 -SHA256 (profanity-im-profanity-0.12.1_GH0.tar.gz) = 2a271e17dfb7b556d76eb69fb6e8b9676da6f78869172e62339937c9b774b6ea -SIZE (profanity-im-profanity-0.12.1_GH0.tar.gz) = 556300 +TIMESTAMP = 1663179502 +SHA256 (profanity-im-profanity-0.13.0_GH0.tar.gz) = ee38119ed3bd3995675d7da787f52c7576403be678bc9a8f5170812597547d7b +SIZE (profanity-im-profanity-0.13.0_GH0.tar.gz) = 566611 diff --git a/net-im/profanity/files/patch-configure.ac b/net-im/profanity/files/patch-configure.ac new file mode 100644 index 000000000000..fc5a6b1f631c --- /dev/null +++ b/net-im/profanity/files/patch-configure.ac @@ -0,0 +1,39 @@ +--- configure.ac.orig 2022-09-13 09:50:49 UTC ++++ configure.ac +@@ -104,7 +104,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]) +- PKG_CHECK_MODULES([python], [python3-embed], [PYTHON3_CONFIG_EXISTS=yes; AC_DEFINE(PY_IS_PYTHON3, [1], [Is Python version 3])], [PYTHON3_CONFIG_EXISTS=no]) ++ PKG_CHECK_MODULES([python], [python-3.9-embed], [PYTHON3_CONFIG_EXISTS=yes; AC_DEFINE(PY_IS_PYTHON3, [1], [Is Python version 3])], [PYTHON3_CONFIG_EXISTS=no]) + 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]) +@@ -272,11 +272,11 @@ AS_IF([test "x$PLATFORM" = xosx], + [AC_MSG_NOTICE([libnotify support will be disabled])])])])]) + + dnl feature: xscreensaver +-AS_IF([test "x$enable_xscreensaver" != xno], ++AS_IF([test "x$with_xscreensaver" != xno], + [PKG_CHECK_MODULES([xscrnsaver], [xscrnsaver], + [AC_MSG_NOTICE([xscreensaver support is enabled]); + LIBS="$xscrnsaver_LIBS $LIBS" CFLAGS="$CFLAGS $xscrnsaver_CFLAGS"], +- [AS_IF([test "x$enable_xscreensaver" = xyes], ++ [AS_IF([test "x$with_xscreensaver" = xyes], + [AC_MSG_ERROR([xscreensaver is required but does not exist])], + [AC_MSG_NOTICE([xscreensaver support is disabled])])])]) + +@@ -311,11 +311,11 @@ if test "x$enable_otr" != xno; then + fi + + dnl feature: pixbuf / used for scaling avatars before uploading via `/avatar set` +-AS_IF([test "x$enable_pixbuf" != xno], ++AS_IF([test "x$enable_gdk_pixbuf" != xno], + [PKG_CHECK_MODULES([gdk_pixbuf], [gdk-pixbuf-2.0 >= 2.4], + [AC_DEFINE([HAVE_PIXBUF], [1], [gdk-pixbuf module]) + LIBS="$gdk_pixbuf_LIBS $LIBS" CFLAGS="$gdk_pixbuf_CFLAGS $CFLAGS"], +- [AS_IF([test "x$enable_pixbuf" = xyes], ++ [AS_IF([test "x$enable_gdk_pixbuf" = xyes], + [AC_MSG_ERROR([gdk-pixbuf-2.0 >= 2.4 is required to scale avatars before uploading])], + [AC_MSG_NOTICE([gdk-pixbuf-2.0 >= 2.4 not found, GDK Pixbuf support not enabled])])])]) + diff --git a/net-im/profanity/pkg-plist b/net-im/profanity/pkg-plist index da172591009d..fce95199db98 100644 --- a/net-im/profanity/pkg-plist +++ b/net-im/profanity/pkg-plist @@ -1,133 +1,136 @@ bin/profanity include/profapi.h lib/libprofanity.so lib/libprofanity.so.0 lib/libprofanity.so.0.0.0 man/man1/profanity.1.gz %%DATADIR%%/themes/aqua %%DATADIR%%/themes/batman %%DATADIR%%/themes/bios %%DATADIR%%/themes/boothj5 %%DATADIR%%/themes/boothj5_laptop %%DATADIR%%/themes/boothj5_slack %%DATADIR%%/themes/gruvbox %%DATADIR%%/themes/hacker %%DATADIR%%/themes/headache +%%DATADIR%%/themes/irssi %%DATADIR%%/themes/joker %%DATADIR%%/themes/jubalian %%DATADIR%%/themes/orange %%DATADIR%%/themes/original %%DATADIR%%/themes/shade %%DATADIR%%/themes/snikket %%DATADIR%%/themes/spawn %%DATADIR%%/themes/whiteness %%DATADIR%%/themes/complex %%DATADIR%%/themes/forest %%DATADIR%%/themes/mono %%DATADIR%%/themes/original_bright %%DATADIR%%/themes/simple %%DATADIR%%/themes/solarized-dark %%DATADIR%%/themes/solarized-light %%DATADIR%%/icons/proIcon.png %%DATADIR%%/icons/proIconMsg.png man/man1/profanity-about.1.gz man/man1/profanity-account.1.gz man/man1/profanity-affiliation.1.gz man/man1/profanity-alias.1.gz man/man1/profanity-autoaway.1.gz man/man1/profanity-autoconnect.1.gz man/man1/profanity-autoping.1.gz man/man1/profanity-avatar.1.gz man/man1/profanity-ban.1.gz man/man1/profanity-beep.1.gz man/man1/profanity-blocked.1.gz man/man1/profanity-bookmark.1.gz man/man1/profanity-caps.1.gz man/man1/profanity-carbons.1.gz man/man1/profanity-changepassword.1.gz man/man1/profanity-charset.1.gz man/man1/profanity-clear.1.gz man/man1/profanity-close.1.gz man/man1/profanity-cmd.1.gz man/man1/profanity-color.1.gz man/man1/profanity-connect.1.gz man/man1/profanity-console.1.gz man/man1/profanity-correct.1.gz man/man1/profanity-correct-editor.1.gz man/man1/profanity-correction.1.gz man/man1/profanity-disco.1.gz man/man1/profanity-disconnect.1.gz man/man1/profanity-editor.1.gz man/man1/profanity-executable.1.gz man/man1/profanity-export.1.gz man/man1/profanity-flash.1.gz man/man1/profanity-form.1.gz man/man1/profanity-gone.1.gz man/man1/profanity-help.1.gz man/man1/profanity-history.1.gz man/man1/profanity-info.1.gz man/man1/profanity-inpblock.1.gz man/man1/profanity-inputwin.1.gz man/man1/profanity-intype.1.gz man/man1/profanity-invite.1.gz man/man1/profanity-join.1.gz man/man1/profanity-kick.1.gz man/man1/profanity-lastactivity.1.gz man/man1/profanity-log.1.gz man/man1/profanity-logging.1.gz man/man1/profanity-mainwin.1.gz man/man1/profanity-mam.1.gz man/man1/profanity-mood.1.gz man/man1/profanity-msg.1.gz man/man1/profanity-nick.1.gz man/man1/profanity-notify.1.gz man/man1/profanity-occupants.1.gz man/man1/profanity-omemo.1.gz man/man1/profanity-os.1.gz man/man1/profanity-otr.1.gz man/man1/profanity-outtype.1.gz man/man1/profanity-ox.1.gz +man/man1/profanity-ox-setup.1.gz man/man1/profanity-paste.1.gz man/man1/profanity-pgp.1.gz man/man1/profanity-ping.1.gz man/man1/profanity-plugins.1.gz man/man1/profanity-prefs.1.gz man/man1/profanity-presence.1.gz man/man1/profanity-priority.1.gz man/man1/profanity-privileges.1.gz man/man1/profanity-quit.1.gz man/man1/profanity-receipts.1.gz man/man1/profanity-reconnect.1.gz man/man1/profanity-register.1.gz man/man1/profanity-reload.1.gz man/man1/profanity-resource.1.gz man/man1/profanity-role.1.gz man/man1/profanity-room.1.gz man/man1/profanity-rooms.1.gz man/man1/profanity-roster.1.gz man/man1/profanity-save.1.gz man/man1/profanity-script.1.gz man/man1/profanity-sendfile.1.gz man/man1/profanity-serversoftware.1.gz man/man1/profanity-silence.1.gz man/man1/profanity-slashguard.1.gz man/man1/profanity-software.1.gz man/man1/profanity-splash.1.gz +man/man1/profanity-stamp.1.gz man/man1/profanity-states.1.gz man/man1/profanity-status.1.gz man/man1/profanity-statusbar.1.gz man/man1/profanity-sub.1.gz man/man1/profanity-subject.1.gz man/man1/profanity-theme.1.gz man/man1/profanity-time.1.gz man/man1/profanity-titlebar.1.gz man/man1/profanity-tls.1.gz man/man1/profanity-tray.1.gz man/man1/profanity-url.1.gz man/man1/profanity-vercheck.1.gz man/man1/profanity-who.1.gz man/man1/profanity-win.1.gz man/man1/profanity-wins.1.gz man/man1/profanity-wintitle.1.gz man/man1/profanity-wrap.1.gz man/man1/profanity-xmlconsole.1.gz