Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37599176
en ru br
ALT Linux repos
S:23.04.3-alt1

Group :: File tools
RPM: kde5-kgpg

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: alt-gpg-bin.patch
Download


--- a/kgpg.kcfg
+++ b/kgpg.kcfg
@@ -61,7 +61,7 @@
         </entry>
         <entry name="GpgBinaryPath" type="Path" key="gpg_bin_path">
             <label>The path of the gpg binary used by KGpg.</label>
-            <default>gpg</default>
+            <default>gpg2</default>
         </entry>
     </group>
 
--- a/kgpgfirstassistant.cpp
+++ b/kgpgfirstassistant.cpp
@@ -114,7 +114,7 @@ KGpgFirstAssistant::KGpgFirstAssistant(Q
 	if (gpgBin.isEmpty())
 		gpgBin = QStandardPaths::findExecutable(QLatin1String("gpg"));
 	if (gpgBin.isEmpty())
-		gpgBin = QLatin1String("gpg");
+		gpgBin = QLatin1String("gpg2");
 	binURL->setUrl(QUrl::fromLocalFile(gpgBin));
 
 	connect(binURL, &KUrlRequester::textChanged, this, &KGpgFirstAssistant::slotBinaryChanged);
--- a/kgpgexternalactions.cpp
+++ b/kgpgexternalactions.cpp
@@ -452,7 +452,7 @@ void KGpgExternalActions::firstRun()
 	QProcess *createConfigProc = new QProcess(this);
 	QStringList args;
 	args << QLatin1String( "--no-tty" ) << QLatin1String( "--list-secret-keys" );
-	createConfigProc->start(QLatin1String( "gpg" ), args);	// start GnuPG so that it will create a config file
+	createConfigProc->start(QLatin1String( "gpg2" ), args);	// start GnuPG so that it will create a config file
 	createConfigProc->waitForFinished();
 	startAssistant();
 }
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin