* Re: [PR PATCH] [Updated] kgpg: fix
2019-09-26 16:07 [PR PATCH] kgpg: fix voidlinux-github
@ 2019-09-26 16:09 ` voidlinux-github
2019-09-26 16:09 ` voidlinux-github
` (9 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: voidlinux-github @ 2019-09-26 16:09 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 711 bytes --]
There is an updated pull request by k4leg against master on the void-packages repository
https://github.com/k4leg/void-packages patch-4
https://github.com/void-linux/void-packages/pull/14741
kgpg: fix
As we know in Void Linux, there are two packages: gnupg & gnupg2. So, although the first time you launch kgpg, it gives you the opportunity to indicate where it is (gpg), but does not apply your actions, although it also indicates by default the correct path to gpg2.
Why not just add gnupg to the dependency, as it refers to /usr/bin/gpg? Because for some reason he does not want to work with him, he wants gnupg2.
A patch file from https://github.com/void-linux/void-packages/pull/14741.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-patch-4-14741.patch --]
[-- Type: text/x-diff, Size: 1526 bytes --]
From c579bcd64b306abbfa09465f2ab45552bcace338 Mon Sep 17 00:00:00 2001
From: k4leg <39882583+k4leg@users.noreply.github.com>
Date: Sun, 22 Sep 2019 22:58:12 +0300
Subject: [PATCH] kgpg: fix
---
srcpkgs/kgpg/template | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
create mode 100644 srcpkgs/kgpg/template
diff --git a/srcpkgs/kgpg/template b/srcpkgs/kgpg/template
new file mode 100644
index 00000000000..b307c8c3720
--- /dev/null
+++ b/srcpkgs/kgpg/template
@@ -0,0 +1,26 @@
+# Template file for 'kgpg'
+pkgname=kgpg
+version=19.08.1
+revision=2
+build_style=cmake
+configure_args="-DBUILD_TESTING=OFF"
+hostmakedepends="extra-cmake-modules"
+makedepends="kwindowsystem-devel kcrash-devel kdbusaddons-devel
+ kiconthemes-devel kjobwidgets-devel kio-devel
+ kservice-devel ktextwidgets-devel kxmlgui-devel
+ kwidgetsaddons-devel knotifications-devel kdoctools-devel
+ akonadi-contacts-devel kcontacts-devel boost-devel"
+short_desc="Simple interface for GnuPG, a powerful encryption utility"
+maintainer="k4leg <d0xi@inbox.ru>"
+license="GPL-2.0-only"
+homepage="https://kde.org/applications/utilities/kgpg/"
+distfiles="${KDE_SITE}/applications/${version}/src/${pkgname}-${version}.tar.xz"
+checksum=441a0bfa58df14bad87f5f446b89113dc20365424f6a87aec30125c9221815c5
+
+if [ "$CROSS_BUILD" ]; then
+ hostmakedepends+=" qt5-qmake kcoreaddons-devel kdoctools kconfig"
+fi
+
+post_extract() {
+ sed -i "s/<default>gpg<\/default>/<default>gpg2<\/default>/g" ${XBPS_BUILDDIR}/${pkgname}-${version}/kgpg.kcfg
+}
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PR PATCH] [Updated] kgpg: fix
2019-09-26 16:07 [PR PATCH] kgpg: fix voidlinux-github
2019-09-26 16:09 ` [PR PATCH] [Updated] " voidlinux-github
@ 2019-09-26 16:09 ` voidlinux-github
2019-09-26 16:29 ` voidlinux-github
` (8 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: voidlinux-github @ 2019-09-26 16:09 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 711 bytes --]
There is an updated pull request by k4leg against master on the void-packages repository
https://github.com/k4leg/void-packages patch-4
https://github.com/void-linux/void-packages/pull/14741
kgpg: fix
As we know in Void Linux, there are two packages: gnupg & gnupg2. So, although the first time you launch kgpg, it gives you the opportunity to indicate where it is (gpg), but does not apply your actions, although it also indicates by default the correct path to gpg2.
Why not just add gnupg to the dependency, as it refers to /usr/bin/gpg? Because for some reason he does not want to work with him, he wants gnupg2.
A patch file from https://github.com/void-linux/void-packages/pull/14741.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-patch-4-14741.patch --]
[-- Type: text/x-diff, Size: 1526 bytes --]
From c579bcd64b306abbfa09465f2ab45552bcace338 Mon Sep 17 00:00:00 2001
From: k4leg <39882583+k4leg@users.noreply.github.com>
Date: Sun, 22 Sep 2019 22:58:12 +0300
Subject: [PATCH] kgpg: fix
---
srcpkgs/kgpg/template | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
create mode 100644 srcpkgs/kgpg/template
diff --git a/srcpkgs/kgpg/template b/srcpkgs/kgpg/template
new file mode 100644
index 00000000000..b307c8c3720
--- /dev/null
+++ b/srcpkgs/kgpg/template
@@ -0,0 +1,26 @@
+# Template file for 'kgpg'
+pkgname=kgpg
+version=19.08.1
+revision=2
+build_style=cmake
+configure_args="-DBUILD_TESTING=OFF"
+hostmakedepends="extra-cmake-modules"
+makedepends="kwindowsystem-devel kcrash-devel kdbusaddons-devel
+ kiconthemes-devel kjobwidgets-devel kio-devel
+ kservice-devel ktextwidgets-devel kxmlgui-devel
+ kwidgetsaddons-devel knotifications-devel kdoctools-devel
+ akonadi-contacts-devel kcontacts-devel boost-devel"
+short_desc="Simple interface for GnuPG, a powerful encryption utility"
+maintainer="k4leg <d0xi@inbox.ru>"
+license="GPL-2.0-only"
+homepage="https://kde.org/applications/utilities/kgpg/"
+distfiles="${KDE_SITE}/applications/${version}/src/${pkgname}-${version}.tar.xz"
+checksum=441a0bfa58df14bad87f5f446b89113dc20365424f6a87aec30125c9221815c5
+
+if [ "$CROSS_BUILD" ]; then
+ hostmakedepends+=" qt5-qmake kcoreaddons-devel kdoctools kconfig"
+fi
+
+post_extract() {
+ sed -i "s/<default>gpg<\/default>/<default>gpg2<\/default>/g" ${XBPS_BUILDDIR}/${pkgname}-${version}/kgpg.kcfg
+}
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PR PATCH] [Updated] kgpg: fix
2019-09-26 16:07 [PR PATCH] kgpg: fix voidlinux-github
2019-09-26 16:09 ` [PR PATCH] [Updated] " voidlinux-github
2019-09-26 16:09 ` voidlinux-github
@ 2019-09-26 16:29 ` voidlinux-github
2019-09-26 16:29 ` voidlinux-github
` (7 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: voidlinux-github @ 2019-09-26 16:29 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 711 bytes --]
There is an updated pull request by k4leg against master on the void-packages repository
https://github.com/k4leg/void-packages patch-4
https://github.com/void-linux/void-packages/pull/14741
kgpg: fix
As we know in Void Linux, there are two packages: gnupg & gnupg2. So, although the first time you launch kgpg, it gives you the opportunity to indicate where it is (gpg), but does not apply your actions, although it also indicates by default the correct path to gpg2.
Why not just add gnupg to the dependency, as it refers to /usr/bin/gpg? Because for some reason he does not want to work with him, he wants gnupg2.
A patch file from https://github.com/void-linux/void-packages/pull/14741.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-patch-4-14741.patch --]
[-- Type: text/x-diff, Size: 929 bytes --]
From 900cbf336ad863867ebfc2ac187e46c8d80e9d6b Mon Sep 17 00:00:00 2001
From: k4leg <d0xi@inbox.ru>
Date: Thu, 26 Sep 2019 19:28:53 +0300
Subject: [PATCH] kgpg: fix
---
srcpkgs/kgpg/template | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/srcpkgs/kgpg/template b/srcpkgs/kgpg/template
index a4d7326380d..b307c8c3720 100644
--- a/srcpkgs/kgpg/template
+++ b/srcpkgs/kgpg/template
@@ -1,7 +1,7 @@
# Template file for 'kgpg'
pkgname=kgpg
version=19.08.1
-revision=1
+revision=2
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="extra-cmake-modules"
@@ -20,3 +20,7 @@ checksum=441a0bfa58df14bad87f5f446b89113dc20365424f6a87aec30125c9221815c5
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-qmake kcoreaddons-devel kdoctools kconfig"
fi
+
+post_extract() {
+ sed -i "s/<default>gpg<\/default>/<default>gpg2<\/default>/g" ${XBPS_BUILDDIR}/${pkgname}-${version}/kgpg.kcfg
+}
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PR PATCH] [Updated] kgpg: fix
2019-09-26 16:07 [PR PATCH] kgpg: fix voidlinux-github
` (2 preceding siblings ...)
2019-09-26 16:29 ` voidlinux-github
@ 2019-09-26 16:29 ` voidlinux-github
2019-09-26 18:03 ` voidlinux-github
` (6 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: voidlinux-github @ 2019-09-26 16:29 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 711 bytes --]
There is an updated pull request by k4leg against master on the void-packages repository
https://github.com/k4leg/void-packages patch-4
https://github.com/void-linux/void-packages/pull/14741
kgpg: fix
As we know in Void Linux, there are two packages: gnupg & gnupg2. So, although the first time you launch kgpg, it gives you the opportunity to indicate where it is (gpg), but does not apply your actions, although it also indicates by default the correct path to gpg2.
Why not just add gnupg to the dependency, as it refers to /usr/bin/gpg? Because for some reason he does not want to work with him, he wants gnupg2.
A patch file from https://github.com/void-linux/void-packages/pull/14741.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-patch-4-14741.patch --]
[-- Type: text/x-diff, Size: 929 bytes --]
From 900cbf336ad863867ebfc2ac187e46c8d80e9d6b Mon Sep 17 00:00:00 2001
From: k4leg <d0xi@inbox.ru>
Date: Thu, 26 Sep 2019 19:28:53 +0300
Subject: [PATCH] kgpg: fix
---
srcpkgs/kgpg/template | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/srcpkgs/kgpg/template b/srcpkgs/kgpg/template
index a4d7326380d..b307c8c3720 100644
--- a/srcpkgs/kgpg/template
+++ b/srcpkgs/kgpg/template
@@ -1,7 +1,7 @@
# Template file for 'kgpg'
pkgname=kgpg
version=19.08.1
-revision=1
+revision=2
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="extra-cmake-modules"
@@ -20,3 +20,7 @@ checksum=441a0bfa58df14bad87f5f446b89113dc20365424f6a87aec30125c9221815c5
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-qmake kcoreaddons-devel kdoctools kconfig"
fi
+
+post_extract() {
+ sed -i "s/<default>gpg<\/default>/<default>gpg2<\/default>/g" ${XBPS_BUILDDIR}/${pkgname}-${version}/kgpg.kcfg
+}
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: kgpg: fix
2019-09-26 16:07 [PR PATCH] kgpg: fix voidlinux-github
` (3 preceding siblings ...)
2019-09-26 16:29 ` voidlinux-github
@ 2019-09-26 18:03 ` voidlinux-github
2019-09-26 18:35 ` voidlinux-github
` (5 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: voidlinux-github @ 2019-09-26 18:03 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 341 bytes --]
New comment by Hoshpak on void-packages repository
https://github.com/void-linux/void-packages/pull/14741#issuecomment-535620193
Comment:
I don't quite understand what the issue here is. I just launched kgpg and specifically selected gpg which is version 1.4.23 on my system. kgpg detected the version correctly, launched and worked fine.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: kgpg: fix
2019-09-26 16:07 [PR PATCH] kgpg: fix voidlinux-github
` (4 preceding siblings ...)
2019-09-26 18:03 ` voidlinux-github
@ 2019-09-26 18:35 ` voidlinux-github
2019-09-27 15:14 ` voidlinux-github
` (4 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: voidlinux-github @ 2019-09-26 18:35 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 530 bytes --]
New comment by k4leg on void-packages repository
https://github.com/void-linux/void-packages/pull/14741#issuecomment-535632150
Comment:
Hmm, strange... I donât have a choice of algorithms when trying to create keys, and if I try to create them, it will either give an error or it will be created forever. Then maybe add gnupg to the dependency? Apparently he does not install gnupg. Or still do it and tell him to use a newer version?
Could this be due to the fact that I have gnupg and gnupg2 installed at the same time?
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: kgpg: fix
2019-09-26 16:07 [PR PATCH] kgpg: fix voidlinux-github
` (5 preceding siblings ...)
2019-09-26 18:35 ` voidlinux-github
@ 2019-09-27 15:14 ` voidlinux-github
2019-09-27 15:15 ` voidlinux-github
` (3 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: voidlinux-github @ 2019-09-27 15:14 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 575 bytes --]
New comment by k4leg on void-packages repository
https://github.com/void-linux/void-packages/pull/14741#issuecomment-535632150
Comment:
Hmm, strange... I donât have a choice of algorithms when trying to create keys, and if I try to create them, it will either give an error or create the illusion that it is being created, but actually does nothing. Then maybe add gnupg to the dependency? Apparently he does not install gnupg. Or still do it and tell him to use a newer version?
Could this be due to the fact that I have gnupg and gnupg2 installed at the same time?
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: kgpg: fix
2019-09-26 16:07 [PR PATCH] kgpg: fix voidlinux-github
` (6 preceding siblings ...)
2019-09-27 15:14 ` voidlinux-github
@ 2019-09-27 15:15 ` voidlinux-github
2019-09-27 15:26 ` voidlinux-github
` (2 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: voidlinux-github @ 2019-09-27 15:15 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 357 bytes --]
New comment by k4leg on void-packages repository
https://github.com/void-linux/void-packages/pull/14741#issuecomment-535632150
Comment:
Hmm, strange... I donât have a choice of algorithms when trying to create keys, and if I try to create them, it will either give an error or create the illusion that it is being created, but actually does nothing.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: kgpg: fix
2019-09-26 16:07 [PR PATCH] kgpg: fix voidlinux-github
` (7 preceding siblings ...)
2019-09-27 15:15 ` voidlinux-github
@ 2019-09-27 15:26 ` voidlinux-github
2019-09-30 18:21 ` voidlinux-github
2019-10-02 14:13 ` voidlinux-github
10 siblings, 0 replies; 12+ messages in thread
From: voidlinux-github @ 2019-09-27 15:26 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 874 bytes --]
New comment by k4leg on void-packages repository
https://github.com/void-linux/void-packages/pull/14741#issuecomment-535632150
Comment:
Hmm, strange... I donât have a choice of algorithms when trying to create keys, and if I try to create them, it will either give an error or create the illusion that it is being created, but actually does nothing.
In addition, if Iâm not mistaken, as you said, it sets gpgme as a transistor dependence, and gpgme, in turn, depends on gnupg2, so, as for me, itâs better not to add this dependence (gnupg), but fix it in compilation time. As I said, for example, for some reason, he does not apply the actions that I told him during the first run (use /usr/bin/gpg2, and not /usr/bin/gpg) (maybe this is due to that by default it shows the correct path to gpg2 and believes that it has already set the place gpg -> gpg2).
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: kgpg: fix
2019-09-26 16:07 [PR PATCH] kgpg: fix voidlinux-github
` (8 preceding siblings ...)
2019-09-27 15:26 ` voidlinux-github
@ 2019-09-30 18:21 ` voidlinux-github
2019-10-02 14:13 ` voidlinux-github
10 siblings, 0 replies; 12+ messages in thread
From: voidlinux-github @ 2019-09-30 18:21 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 371 bytes --]
New comment by Hoshpak on void-packages repository
https://github.com/void-linux/void-packages/pull/14741#issuecomment-536687641
Comment:
I can reproduce the missing algorithms while generating the key. This is a bug that should be reported upstream. Usually if a package can work with several other packages, we let the user decide and don't create a hard dependency.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: kgpg: fix
2019-09-26 16:07 [PR PATCH] kgpg: fix voidlinux-github
` (9 preceding siblings ...)
2019-09-30 18:21 ` voidlinux-github
@ 2019-10-02 14:13 ` voidlinux-github
10 siblings, 0 replies; 12+ messages in thread
From: voidlinux-github @ 2019-10-02 14:13 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 255 bytes --]
New comment by k4leg on void-packages repository
https://github.com/void-linux/void-packages/pull/14741#issuecomment-537511860
Comment:
@Hoshpak Thank you, I didnât even think about it. I reported a bug: https://bugs.kde.org/show_bug.cgi?id=412511
^ permalink raw reply [flat|nested] 12+ messages in thread