Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] profanity: Add qrcode support
@ 2024-01-05 21:57 AnInternetTroll
  2024-01-06  8:48 ` [PR PATCH] [Updated] " AnInternetTroll
  2024-01-06 23:23 ` [PR PATCH] [Merged]: " classabbyamp
  0 siblings, 2 replies; 3+ messages in thread
From: AnInternetTroll @ 2024-01-05 21:57 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 640 bytes --]

There is a new pull request by AnInternetTroll against master on the void-packages repository

https://github.com/AnInternetTroll/void-packages user/luca/profanity-qrcode
https://github.com/void-linux/void-packages/pull/48084

profanity: Add qrcode support
#### Testing the changes
- I tested the changes in this PR: **YES**

#### Local build testing
- I built this PR locally for my native architecture, (x86\_64-glibc)

Fixes the following error when running `/omemo qrcode`:
```
This version of Profanity has not been built with libqrencode
```


A patch file from https://github.com/void-linux/void-packages/pull/48084.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-user/luca/profanity-qrcode-48084.patch --]
[-- Type: text/x-diff, Size: 2139 bytes --]

From aca6aa6dd6f4e1687ee20a9df417edf6bc1239ef Mon Sep 17 00:00:00 2001
From: Luca Matei Pintilie <luca@lucamatei.com>
Date: Fri, 5 Jan 2024 22:56:45 +0100
Subject: [PATCH] profanity: Add qrcode support

---
 srcpkgs/profanity/template | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/profanity/template b/srcpkgs/profanity/template
index 2642a12ec0d71..d43724435b57e 100644
--- a/srcpkgs/profanity/template
+++ b/srcpkgs/profanity/template
@@ -1,7 +1,7 @@
 # Template file for 'profanity'
 pkgname=profanity
 version=0.14.0
-revision=1
+revision=2
 build_style=gnu-configure
 configure_args="$(vopt_enable notify notifications) $(vopt_enable otr)
  $(vopt_enable pgp) $(vopt_enable python python-plugins) $(vopt_enable plugins)
@@ -12,7 +12,7 @@ makedepends="libcurl-devel libglib-devel libstrophe-devel readline-devel sqlite-
  $(vopt_if notify libnotify-devel) $(vopt_if otr 'libotr-devel libgcrypt-devel')
  $(vopt_if pgp gpgme-devel) $(vopt_if python python3-devel) $(vopt_if gtk gtk+3-devel)
  $(vopt_if xscreensaver libXScrnSaver-devel)
- $(vopt_if omemo 'libsignal-protocol-c-devel libgcrypt-devel')"
+ $(vopt_if omemo 'libsignal-protocol-c-devel libgcrypt-devel') $(vopt_if qrcode qrencode-devel)"
 checkdepends="cmocka-devel"
 short_desc="Console based XMPP client"
 maintainer="Orphaned <orphan@voidlinux.org>"
@@ -29,10 +29,11 @@ case "$XBPS_TARGET_MACHINE" in
 esac
 
 # Package build options
-build_options="notify otr pgp omemo gtk python xscreensaver cplugins plugins"
-build_options_default="notify otr pgp gtk omemo python cplugins plugins xscreensaver"
+build_options="notify otr pgp omemo gtk python xscreensaver cplugins plugins qrcode"
+build_options_default="notify otr pgp gtk omemo python cplugins plugins xscreensaver qrcode"
 desc_option_otr="Enable support for OTR encryption"
 desc_option_pgp="Enable support for OpenPGP encryption"
 desc_option_omemo="Enable support for OMEMO encryption"
 desc_option_plugins="Enable support for plugins"
 desc_option_cplugins="Enable support for c-plugins"
+desc_option_qrcode="Enable support for exchanging OMEMO information via QR code"

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PR PATCH] [Updated] profanity: Add qrcode support
  2024-01-05 21:57 [PR PATCH] profanity: Add qrcode support AnInternetTroll
@ 2024-01-06  8:48 ` AnInternetTroll
  2024-01-06 23:23 ` [PR PATCH] [Merged]: " classabbyamp
  1 sibling, 0 replies; 3+ messages in thread
From: AnInternetTroll @ 2024-01-06  8:48 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 645 bytes --]

There is an updated pull request by AnInternetTroll against master on the void-packages repository

https://github.com/AnInternetTroll/void-packages user/luca/profanity-qrcode
https://github.com/void-linux/void-packages/pull/48084

profanity: Add qrcode support
#### Testing the changes
- I tested the changes in this PR: **YES**

#### Local build testing
- I built this PR locally for my native architecture, (x86\_64-glibc)

Fixes the following error when running `/omemo qrcode`:
```
This version of Profanity has not been built with libqrencode
```


A patch file from https://github.com/void-linux/void-packages/pull/48084.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-user/luca/profanity-qrcode-48084.patch --]
[-- Type: text/x-diff, Size: 2689 bytes --]

From 5ac352c5604b0cb47c6f6bbf4a3d3a3ae46a3da9 Mon Sep 17 00:00:00 2001
From: Luca Matei Pintilie <luca@lucamatei.com>
Date: Fri, 5 Jan 2024 22:56:45 +0100
Subject: [PATCH] profanity: Add qrcode support

---
 srcpkgs/profanity/template | 29 +++++++++--------------------
 1 file changed, 9 insertions(+), 20 deletions(-)

diff --git a/srcpkgs/profanity/template b/srcpkgs/profanity/template
index 2642a12ec0d71..9a9127c648f18 100644
--- a/srcpkgs/profanity/template
+++ b/srcpkgs/profanity/template
@@ -1,18 +1,16 @@
 # Template file for 'profanity'
 pkgname=profanity
 version=0.14.0
-revision=1
+revision=2
 build_style=gnu-configure
-configure_args="$(vopt_enable notify notifications) $(vopt_enable otr)
- $(vopt_enable pgp) $(vopt_enable python python-plugins) $(vopt_enable plugins)
- $(vopt_with xscreensaver) $(vopt_enable omemo) $(vopt_enable cplugins c-plugins)
- ac_cv_prog_PYTHON_CONFIG_EXISTS=yes PYTHON_VERSION=3"
-hostmakedepends="pkg-config $(vopt_if python python3-devel) $(vopt_if gtk gtk+3-devel)"
-makedepends="libcurl-devel libglib-devel libstrophe-devel readline-devel sqlite-devel
- $(vopt_if notify libnotify-devel) $(vopt_if otr 'libotr-devel libgcrypt-devel')
- $(vopt_if pgp gpgme-devel) $(vopt_if python python3-devel) $(vopt_if gtk gtk+3-devel)
- $(vopt_if xscreensaver libXScrnSaver-devel)
- $(vopt_if omemo 'libsignal-protocol-c-devel libgcrypt-devel')"
+configure_args="--enable-notifications --enable-otr --enable-pgp
+ --enable-python-plugins --enable-plugins --with-xscreensaver --enable-omemo
+ --enable-c-plugins ac_cv_prog_PYTHON_CONFIG_EXISTS=yes PYTHON_VERSION=3"
+hostmakedepends="pkg-config python3-devel gtk+3-devel"
+makedepends="libcurl-devel libglib-devel libstrophe-devel readline-devel
+ sqlite-devel libnotify-devel libotr-devel libgcrypt-devel gpgme-devel
+ python3-devel gtk+3-devel libXScrnSaver-devel libsignal-protocol-c-devel
+ libgcrypt-devel qrencode-devel"
 checkdepends="cmocka-devel"
 short_desc="Console based XMPP client"
 maintainer="Orphaned <orphan@voidlinux.org>"
@@ -27,12 +25,3 @@ case "$XBPS_TARGET_MACHINE" in
 		export PYTHON_CPPFLAGS="-I${XBPS_CROSS_BASE}/${py3_inc}"
 		export PYTHON_EXTRA_LIBS="-L${XBPS_CROSS_BASE}/usr/lib -lpython${py3_ver}" ;;
 esac
-
-# Package build options
-build_options="notify otr pgp omemo gtk python xscreensaver cplugins plugins"
-build_options_default="notify otr pgp gtk omemo python cplugins plugins xscreensaver"
-desc_option_otr="Enable support for OTR encryption"
-desc_option_pgp="Enable support for OpenPGP encryption"
-desc_option_omemo="Enable support for OMEMO encryption"
-desc_option_plugins="Enable support for plugins"
-desc_option_cplugins="Enable support for c-plugins"

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PR PATCH] [Merged]: profanity: Add qrcode support
  2024-01-05 21:57 [PR PATCH] profanity: Add qrcode support AnInternetTroll
  2024-01-06  8:48 ` [PR PATCH] [Updated] " AnInternetTroll
@ 2024-01-06 23:23 ` classabbyamp
  1 sibling, 0 replies; 3+ messages in thread
From: classabbyamp @ 2024-01-06 23:23 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 454 bytes --]

There's a merged pull request on the void-packages repository

profanity: Add qrcode support
https://github.com/void-linux/void-packages/pull/48084

Description:
#### Testing the changes
- I tested the changes in this PR: **YES**

#### Local build testing
- I built this PR locally for my native architecture, (x86\_64-glibc)

Fixes the following error when running `/omemo qrcode`:
```
This version of Profanity has not been built with libqrencode
```


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-01-06 23:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-05 21:57 [PR PATCH] profanity: Add qrcode support AnInternetTroll
2024-01-06  8:48 ` [PR PATCH] [Updated] " AnInternetTroll
2024-01-06 23:23 ` [PR PATCH] [Merged]: " classabbyamp

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).