Stuart Henderson <s...@spacehopper.org> wrote:
> On 2020/02/08 23:43, Lucas wrote:
> > BTW, why was www/nghttp2 added to LIB_DEPEND? Is it for bringing HTTP/2
> > support to libcurl?
> 
> That's probably why but it doesn't make sense. Libraries should only be
> in LIB_DEPENDS if they are used directly by a port, not by a dependency.

From what I understood after a quick internet search, you have to set up
HTTP/2 support with

        curl_easy_setopt(hnd, CURLOPT_HTTP_VERSION,
            CURL_HTTP_VERSION_2_0);

which doesn't happen anywhere in the code. I propose dropping it.
Tested and it still work.

nghttp2 is in WANTLIB since rev 1.4. Without it, port-lib-depends-check
complains. It seems it's being linked in anyways because libcurl.so
references it.

-Lucas

Index: Makefile
===================================================================
RCS file: /home/cvs/ports/net/profanity/Makefile,v
retrieving revision 1.12
diff -u -p -u -p -r1.12 Makefile
--- Makefile    2 Oct 2019 17:34:33 -0000       1.12
+++ Makefile    9 Feb 2020 16:08:26 -0000
@@ -1,7 +1,7 @@
 # $OpenBSD: Makefile,v 1.12 2019/10/02 17:34:33 rsadowski Exp $
 
 COMMENT =      console based XMPP client
-DISTNAME =     profanity-0.7.1
+DISTNAME =     profanity-0.8.1
 CATEGORIES =   net
 
 HOMEPAGE =     https://profanity-im.github.io/
@@ -41,7 +41,8 @@ CONFIGURE_ENV =       CPPFLAGS="-I${LOCALBASE}
                LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
 
 CONFIGURE_ARGS +=      --with-xscreensaver=no \
-                       --enable-icons=no \
+                       --enable-icons-and-clipboard=no \
+                       --enable-notifications=no \
                        --enable-plugins=yes \
                        --enable-omemo=yes \
                        --enable-otr=yes
Index: distinfo
===================================================================
RCS file: /home/cvs/ports/net/profanity/distinfo,v
retrieving revision 1.6
diff -u -p -u -p -r1.6 distinfo
--- distinfo    2 Oct 2019 17:34:33 -0000       1.6
+++ distinfo    9 Feb 2020 15:55:11 -0000
@@ -1,2 +1,2 @@
-SHA256 (profanity-0.7.1.tar.gz) = P+RClI/y7iWGgcOBLoeNORedz5LhxnvI/g74iWRAsFs=
-SIZE (profanity-0.7.1.tar.gz) = 788754
+SHA256 (profanity-0.8.1.tar.gz) = a3/x8PG1TtOlXvzkAjfbd1/pR1ryduXk7TQukaPo2Zc=
+SIZE (profanity-0.8.1.tar.gz) = 809405
Index: pkg/PLIST
===================================================================
RCS file: /home/cvs/ports/net/profanity/pkg/PLIST,v
retrieving revision 1.3
diff -u -p -u -p -r1.3 PLIST
--- pkg/PLIST   3 Mar 2019 19:40:04 -0000       1.3
+++ pkg/PLIST   8 Feb 2020 23:06:58 -0000
@@ -16,6 +16,7 @@ share/profanity/themes/boothj5_laptop
 share/profanity/themes/boothj5_slack
 share/profanity/themes/complex
 share/profanity/themes/forest
+share/profanity/themes/gruvbox
 share/profanity/themes/hacker
 share/profanity/themes/headache
 share/profanity/themes/joker
@@ -25,5 +26,7 @@ share/profanity/themes/original
 share/profanity/themes/original_bright
 share/profanity/themes/shade
 share/profanity/themes/simple
+share/profanity/themes/solarized-dark
+share/profanity/themes/solarized-light
 share/profanity/themes/spawn
 share/profanity/themes/whiteness

Reply via email to