Codebase list gpgme1.0 / 47f7347
Refresh patches. Debian Janitor 2 years ago
6 changed file(s) with 60 addition(s) and 206 deletion(s). Raw diff Collapse all Expand all
99 autogen.sh | 2 +-
1010 1 file changed, 1 insertion(+), 1 deletion(-)
1111
12 diff --git a/autogen.sh b/autogen.sh
13 index 9b36158..5cfc244 100755
14 --- a/autogen.sh
15 +++ b/autogen.sh
12 Index: gpgme1.0/autogen.sh
13 ===================================================================
14 --- gpgme1.0.orig/autogen.sh
15 +++ gpgme1.0/autogen.sh
1616 @@ -249,7 +249,7 @@ if [ "$myhost" = "find-version" ]; then
1717 fi
1818
66 configure.ac | 2 +-
77 1 file changed, 1 insertion(+), 1 deletion(-)
88
9 diff --git a/configure.ac b/configure.ac
10 index 4d32366..442bafb 100644
11 --- a/configure.ac
12 +++ b/configure.ac
9 Index: gpgme1.0/configure.ac
10 ===================================================================
11 --- gpgme1.0.orig/configure.ac
12 +++ gpgme1.0/configure.ac
1313 @@ -425,7 +425,7 @@ if test "$found_py" = "1"; then
1414 if test "$found_py" = "1" -o "$found_py3" = "1"; then
1515 # Reset everything, so that we can look for another Python.
88 configure.ac | 4 ++++
99 1 file changed, 4 insertions(+)
1010
11 diff --git a/configure.ac b/configure.ac
12 index 442bafb..deae501 100644
13 --- a/configure.ac
14 +++ b/configure.ac
11 Index: gpgme1.0/configure.ac
12 ===================================================================
13 --- gpgme1.0.orig/configure.ac
14 +++ gpgme1.0/configure.ac
1515 @@ -457,6 +457,10 @@ if test "$found_py" = "1"; then
1616 PYTHONS="$(echo $PYTHONS | tr '[[:space:]]' '\n' | sort | uniq | tr '\n' ' ' | sed -e 's/ $//')"
1717 PYTHON_VERSIONS="$(echo $PYTHON_VERSIONS | tr '[[:space:]]' '\n' | sort | uniq | tr '\n' ' ' | sed -e 's/ $//')"
2828 lang/python/examples/verifydetails.py | 2 +-
2929 12 files changed, 12 insertions(+), 12 deletions(-)
3030
31 diff --git a/lang/python/examples/assuan.py b/lang/python/examples/assuan.py
32 index 84f5ff0..317f5b5 100755
33 --- a/lang/python/examples/assuan.py
34 +++ b/lang/python/examples/assuan.py
31 Index: gpgme1.0/lang/python/examples/assuan.py
32 ===================================================================
33 --- gpgme1.0.orig/lang/python/examples/assuan.py
34 +++ gpgme1.0/lang/python/examples/assuan.py
3535 @@ -1,4 +1,4 @@
3636 -#!/usr/bin/env python
3737 +#!/usr/bin/env python3
3838 #
3939 # Copyright (C) 2016 g10 Code GmbH
4040 #
41 diff --git a/lang/python/examples/decryption-filter.py b/lang/python/examples/decryption-filter.py
42 index d0fc3a4..99f4240 100755
43 --- a/lang/python/examples/decryption-filter.py
44 +++ b/lang/python/examples/decryption-filter.py
41 Index: gpgme1.0/lang/python/examples/decryption-filter.py
42 ===================================================================
43 --- gpgme1.0.orig/lang/python/examples/decryption-filter.py
44 +++ gpgme1.0/lang/python/examples/decryption-filter.py
4545 @@ -1,4 +1,4 @@
4646 -#!/usr/bin/env python
4747 +#!/usr/bin/env python3
4848 #
4949 # Copyright (C) 2016, 2018 g10 Code GmbH
5050 #
51 diff --git a/lang/python/examples/delkey.py b/lang/python/examples/delkey.py
52 index f0411f4..823f384 100755
53 --- a/lang/python/examples/delkey.py
54 +++ b/lang/python/examples/delkey.py
51 Index: gpgme1.0/lang/python/examples/delkey.py
52 ===================================================================
53 --- gpgme1.0.orig/lang/python/examples/delkey.py
54 +++ gpgme1.0/lang/python/examples/delkey.py
5555 @@ -1,4 +1,4 @@
5656 -#!/usr/bin/env python
5757 +#!/usr/bin/env python3
5858 #
5959 # Copyright (C) 2016 g10 Code GmbH
6060 # Copyright (C) 2004,2008 Igor Belyi <belyi@users.sourceforge.net>
61 diff --git a/lang/python/examples/exportimport.py b/lang/python/examples/exportimport.py
62 index 235d570..9c811e8 100755
63 --- a/lang/python/examples/exportimport.py
64 +++ b/lang/python/examples/exportimport.py
61 Index: gpgme1.0/lang/python/examples/exportimport.py
62 ===================================================================
63 --- gpgme1.0.orig/lang/python/examples/exportimport.py
64 +++ gpgme1.0/lang/python/examples/exportimport.py
6565 @@ -1,4 +1,4 @@
6666 -#!/usr/bin/env python
6767 +#!/usr/bin/env python3
6868 #
6969 # Copyright (C) 2016 g10 Code GmbH
7070 # Copyright (C) 2004,2008 Igor Belyi <belyi@users.sourceforge.net>
71 diff --git a/lang/python/examples/genkey.py b/lang/python/examples/genkey.py
72 index 5df6476..bbc03a3 100755
73 --- a/lang/python/examples/genkey.py
74 +++ b/lang/python/examples/genkey.py
71 Index: gpgme1.0/lang/python/examples/genkey.py
72 ===================================================================
73 --- gpgme1.0.orig/lang/python/examples/genkey.py
74 +++ gpgme1.0/lang/python/examples/genkey.py
7575 @@ -1,4 +1,4 @@
7676 -#!/usr/bin/env python
7777 +#!/usr/bin/env python3
7878 #
7979 # Copyright (C) 2016 g10 Code GmbH
8080 # Copyright (C) 2004 Igor Belyi <belyi@users.sourceforge.net>
81 diff --git a/lang/python/examples/inter-edit.py b/lang/python/examples/inter-edit.py
82 index 2fd74c2..e89d55a 100755
83 --- a/lang/python/examples/inter-edit.py
84 +++ b/lang/python/examples/inter-edit.py
81 Index: gpgme1.0/lang/python/examples/inter-edit.py
82 ===================================================================
83 --- gpgme1.0.orig/lang/python/examples/inter-edit.py
84 +++ gpgme1.0/lang/python/examples/inter-edit.py
8585 @@ -1,4 +1,4 @@
8686 -#!/usr/bin/env python
8787 +#!/usr/bin/env python3
8888 #
8989 # Copyright (C) 2016 g10 Code GmbH
9090 # Copyright (C) 2005 Igor Belyi <belyi@users.sourceforge.net>
91 diff --git a/lang/python/examples/low_level-encrypt_to_all.py b/lang/python/examples/low_level-encrypt_to_all.py
92 index edd0197..7e9c6f4 100755
93 --- a/lang/python/examples/low_level-encrypt_to_all.py
94 +++ b/lang/python/examples/low_level-encrypt_to_all.py
91 Index: gpgme1.0/lang/python/examples/low_level-encrypt_to_all.py
92 ===================================================================
93 --- gpgme1.0.orig/lang/python/examples/low_level-encrypt_to_all.py
94 +++ gpgme1.0/lang/python/examples/low_level-encrypt_to_all.py
9595 @@ -1,4 +1,4 @@
9696 -#!/usr/bin/env python
9797 +#!/usr/bin/env python3
9898 #
9999 # Copyright (C) 2016 g10 Code GmbH
100100 # Copyright (C) 2008 Igor Belyi <belyi@users.sourceforge.net>
101 diff --git a/lang/python/examples/sign.py b/lang/python/examples/sign.py
102 index 079ccde..4c9e587 100755
103 --- a/lang/python/examples/sign.py
104 +++ b/lang/python/examples/sign.py
101 Index: gpgme1.0/lang/python/examples/sign.py
102 ===================================================================
103 --- gpgme1.0.orig/lang/python/examples/sign.py
104 +++ gpgme1.0/lang/python/examples/sign.py
105105 @@ -1,4 +1,4 @@
106106 -#!/usr/bin/env python
107107 +#!/usr/bin/env python3
108108 #
109109 # Copyright (C) 2016 g10 Code GmbH
110110 # Copyright (C) 2002 John Goerzen <jgoerzen@complete.org>
111 diff --git a/lang/python/examples/signverify.py b/lang/python/examples/signverify.py
112 index c9c6edd..8cf7932 100755
113 --- a/lang/python/examples/signverify.py
114 +++ b/lang/python/examples/signverify.py
111 Index: gpgme1.0/lang/python/examples/signverify.py
112 ===================================================================
113 --- gpgme1.0.orig/lang/python/examples/signverify.py
114 +++ gpgme1.0/lang/python/examples/signverify.py
115115 @@ -1,4 +1,4 @@
116116 -#!/usr/bin/env python
117117 +#!/usr/bin/env python3
118118 #
119119 # Copyright (C) 2016 g10 Code GmbH
120120 # Copyright (C) 2004,2008 Igor Belyi <belyi@users.sourceforge.net>
121 diff --git a/lang/python/examples/simple.py b/lang/python/examples/simple.py
122 index d2e7c07..2defb01 100755
123 --- a/lang/python/examples/simple.py
124 +++ b/lang/python/examples/simple.py
121 Index: gpgme1.0/lang/python/examples/simple.py
122 ===================================================================
123 --- gpgme1.0.orig/lang/python/examples/simple.py
124 +++ gpgme1.0/lang/python/examples/simple.py
125125 @@ -1,4 +1,4 @@
126126 -#!/usr/bin/env python
127127 +#!/usr/bin/env python3
128128 #
129129 # Copyright (C) 2016 g10 Code GmbH
130130 # Copyright (C) 2005 Igor Belyi <belyi@users.sourceforge.net>
131 diff --git a/lang/python/examples/testCMSgetkey.py b/lang/python/examples/testCMSgetkey.py
132 index 9b5a526..c5b1f21 100755
133 --- a/lang/python/examples/testCMSgetkey.py
134 +++ b/lang/python/examples/testCMSgetkey.py
131 Index: gpgme1.0/lang/python/examples/testCMSgetkey.py
132 ===================================================================
133 --- gpgme1.0.orig/lang/python/examples/testCMSgetkey.py
134 +++ gpgme1.0/lang/python/examples/testCMSgetkey.py
135135 @@ -1,4 +1,4 @@
136136 -#!/usr/bin/env python
137137 +#!/usr/bin/env python3
138138 #
139139 # Copyright (C) 2016 g10 Code GmbH
140140 # Copyright (C) 2008 Bernhard Reiter <bernhard@intevation.de>
141 diff --git a/lang/python/examples/verifydetails.py b/lang/python/examples/verifydetails.py
142 index 3733486..1bf2e48 100755
143 --- a/lang/python/examples/verifydetails.py
144 +++ b/lang/python/examples/verifydetails.py
141 Index: gpgme1.0/lang/python/examples/verifydetails.py
142 ===================================================================
143 --- gpgme1.0.orig/lang/python/examples/verifydetails.py
144 +++ gpgme1.0/lang/python/examples/verifydetails.py
145145 @@ -1,4 +1,4 @@
146146 -#!/usr/bin/env python
147147 +#!/usr/bin/env python3
+0
-66
lang/qt/src/qgpgmechangeownertrustjob.h less more
0 /*
1 qgpgmechangeownertrustjob.h
2
3 This file is part of qgpgme, the Qt API binding for gpgme
4 Copyright (c) 2008 Klarälvdalens Datakonsult AB
5 Copyright (c) 2016 by Bundesamt für Sicherheit in der Informationstechnik
6 Software engineering by Intevation GmbH
7
8 QGpgME is free software; you can redistribute it and/or
9 modify it under the terms of the GNU General Public License as
10 published by the Free Software Foundation; either version 2 of the
11 License, or (at your option) any later version.
12
13 QGpgME is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 General Public License for more details.
17
18 You should have received a copy of the GNU General Public License
19 along with this program; if not, write to the Free Software
20 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
21
22 In addition, as a special exception, the copyright holders give
23 permission to link the code of this program with any edition of
24 the Qt library by Trolltech AS, Norway (or with modified versions
25 of Qt that use the same license as Qt), and distribute linked
26 combinations including the two. You must obey the GNU General
27 Public License in all respects for all of the code used other than
28 Qt. If you modify this file, you may extend this exception to
29 your version of the file, but you are not obligated to do so. If
30 you do not wish to do so, delete this exception statement from
31 your version.
32 */
33
34 #ifndef __QGPGME_QGPGMECHANGEOWNERTRUSTJOB_H__
35 #define __QGPGME_QGPGMECHANGEOWNERTRUSTJOB_H__
36
37 #include "changeownertrustjob.h"
38
39 #include "threadedjobmixin.h"
40
41 namespace QGpgME
42 {
43
44 class QGpgMEChangeOwnerTrustJob
45 #ifdef Q_MOC_RUN
46 : public ChangeOwnerTrustJob
47 #else
48 : public _detail::ThreadedJobMixin<ChangeOwnerTrustJob>
49 #endif
50 {
51 Q_OBJECT
52 #ifdef Q_MOC_RUN
53 private Q_SLOTS:
54 void slotFinished();
55 #endif
56 public:
57 explicit QGpgMEChangeOwnerTrustJob(GpgME::Context *context);
58 ~QGpgMEChangeOwnerTrustJob();
59
60 /* from ChangeOwnerTrustJob */
61 GpgME::Error start(const GpgME::Key &key, GpgME::Key::OwnerTrust trust) Q_DECL_OVERRIDE;
62 };
63 }
64
65 #endif // __QGPGME_QGPGMECHANGEOWNERTRUSTJOB_H__
+0
-80
lang/qt/src/qgpgmeexportjob.h less more
0 /*
1 qgpgmeexportjob.h
2
3 This file is part of qgpgme, the Qt API binding for gpgme
4 Copyright (c) 2004,2008 Klarälvdalens Datakonsult AB
5 Copyright (c) 2016 by Bundesamt für Sicherheit in der Informationstechnik
6 Software engineering by Intevation GmbH
7 Copyright (c) 2022 by g10 Code GmbH
8 Software engineering by Ingo Klöcker <dev@ingo-kloecker.de>
9
10 QGpgME is free software; you can redistribute it and/or
11 modify it under the terms of the GNU General Public License as
12 published by the Free Software Foundation; either version 2 of the
13 License, or (at your option) any later version.
14
15 QGpgME is distributed in the hope that it will be useful,
16 but WITHOUT ANY WARRANTY; without even the implied warranty of
17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18 General Public License for more details.
19
20 You should have received a copy of the GNU General Public License
21 along with this program; if not, write to the Free Software
22 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
23
24 In addition, as a special exception, the copyright holders give
25 permission to link the code of this program with any edition of
26 the Qt library by Trolltech AS, Norway (or with modified versions
27 of Qt that use the same license as Qt), and distribute linked
28 combinations including the two. You must obey the GNU General
29 Public License in all respects for all of the code used other than
30 Qt. If you modify this file, you may extend this exception to
31 your version of the file, but you are not obligated to do so. If
32 you do not wish to do so, delete this exception statement from
33 your version.
34 */
35
36 #ifndef __QGPGME_QGPGMEEXPORTJOB_H__
37 #define __QGPGME_QGPGMEEXPORTJOB_H__
38
39 #include "exportjob.h"
40
41 #include "threadedjobmixin.h"
42
43 namespace QGpgME
44 {
45
46 class QGpgMEExportJob
47 #ifdef Q_MOC_RUN
48 : public ExportJob
49 #else
50 : public _detail::ThreadedJobMixin<ExportJob, std::tuple<GpgME::Error, QByteArray, QString, GpgME::Error> >
51 #endif
52 {
53 Q_OBJECT
54 #ifdef Q_MOC_RUN
55 public Q_SLOTS:
56 void slotFinished();
57 #endif
58 public:
59 explicit QGpgMEExportJob(GpgME::Context *context);
60 // Creates an export job with forced export mode @p exportMode. The
61 // export mode flags set with @p exportMode cannot be overridden with
62 // setExportFlags.
63 explicit QGpgMEExportJob(GpgME::Context *context, unsigned int exportMode);
64 ~QGpgMEExportJob() Q_DECL_OVERRIDE;
65
66 /* from ExportJob */
67 void setExportFlags(unsigned int flags) Q_DECL_OVERRIDE;
68
69 /* from ExportJob */
70 GpgME::Error start(const QStringList &patterns) Q_DECL_OVERRIDE;
71
72 private:
73 unsigned int m_exportMode;
74 unsigned int m_additionalExportModeFlags;
75 };
76
77 }
78
79 #endif // __QGPGME_QGPGMEEXPORTJOB_H__