commit pinentry for openSUSE:Factory

2019-07-31 Thread root
Hello community,

here is the log from the commit of package pinentry for openSUSE:Factory 
checked in at 2019-07-31 14:13:59

Comparing /work/SRC/openSUSE:Factory/pinentry (Old)
 and  /work/SRC/openSUSE:Factory/.pinentry.new.4126 (New)


Package is "pinentry"

Wed Jul 31 14:13:59 2019 rev:59 rq:718568 version:1.1.0

Changes:

--- /work/SRC/openSUSE:Factory/pinentry/pinentry.changes2018-02-28 
19:54:53.440987619 +0100
+++ /work/SRC/openSUSE:Factory/.pinentry.new.4126/pinentry.changes  
2019-07-31 14:14:01.542880310 +0200
@@ -1,0 +2,11 @@
+Thu Jul 25 12:48:45 UTC 2019 - Pedro Monreal Gonzalez 

+
+- Fix a dangling pointer in qt/main.cpp [bsc#1141883]
+  * Added pinentry-qt-Fix-use-of-dangling-pointer.patch
+
+---
+Thu Jul 25 10:24:55 UTC 2019 - Pedro Monreal Gonzalez 

+
+- Updated spec file with spec-cleaner
+
+---

New:

  pinentry-qt-Fix-use-of-dangling-pointer.patch



Other differences:
--
++ pinentry.spec ++
--- /var/tmp/diff_new_pack.MOF0ml/_old  2019-07-31 14:14:02.238879793 +0200
+++ /var/tmp/diff_new_pack.MOF0ml/_new  2019-07-31 14:14:02.242879789 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package pinentry
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -22,9 +22,9 @@
 Version:1.1.0
 Release:0
 Summary:Collection of Simple PIN or Passphrase Entry Dialogs
-License:GPL-2.0+
+License:GPL-2.0-or-later
 Group:  Productivity/Other
-Url:http://www.gnupg.org/aegypten/
+URL:https://www.gnupg.org/aegypten/
 Source: ftp://ftp.gnupg.org/gcrypt/pinentry/%{name}-%{version}.tar.bz2
 Source1:
ftp://ftp.gnupg.org/gcrypt/pinentry/%{name}-%{version}.tar.bz2.sig
 Source2:pinentry.keyring
@@ -32,6 +32,8 @@
 Patch1: pinentry-0.7.2-gtk+-2.4.diff
 # PATCH-FIX-SUSE make it build with ncurses ABI 6
 Patch7: pinentry-ncurses6.diff
+# PATCH-FIX-SUSE bsc#1141883 pinentry-qt crashes with QtCurve
+Patch8: pinentry-qt-Fix-use-of-dangling-pointer.patch
 BuildRequires:  fltk-devel >= 1.3
 BuildRequires:  libassuan-devel >= 2.1.0
 BuildRequires:  libgpg-error-devel >= 1.16
@@ -47,7 +49,6 @@
 BuildRequires:  pkgconfig(libsecret-1)
 Requires(post): %{install_info_prereq}
 Provides:   pinentry-dialog
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
 This is a collection of simple PIN or passphrase entry dialogs which
@@ -121,6 +122,7 @@
 %setup -q
 %patch1 -p1
 %patch7
+%patch8 -p1
 
 %build
 # Regenerate moc's
@@ -167,9 +169,9 @@
 
 %install
 cd tui
-make %{?_smp_mflags} DESTDIR=%{buildroot} install
+%make_install
 cd ../gui
-make %{?_smp_mflags} DESTDIR=%{buildroot} install
+%make_install
 
 # remove symlink
 rm -rf %{buildroot}%{_bindir}/pinentry
@@ -185,7 +187,6 @@
 %install_info_delete --info-dir=.%{_infodir} .%{_infodir}/pinentry.info.gz
 
 %files
-%defattr(-,root,root)
 %license COPYING
 %doc AUTHORS ChangeLog NEWS README
 %{_infodir}/pinentry*
@@ -194,25 +195,20 @@
 %attr(755,root,root) %{_bindir}/pinentry-curses
 
 %files qt5
-%defattr(-,root,root)
 %attr(755,root,root) %{_bindir}/pinentry-qt5
 %attr(755,root,root) %{_bindir}/pinentry-qt4
 %attr(755,root,root) %{_bindir}/pinentry-qt
 
 %files gtk2
-%defattr(-,root,root)
 %attr(755,root,root) %{_bindir}/pinentry-gtk-2
 
 %files gnome3
-%defattr(-,root,root)
 %attr(755,root,root) %{_bindir}/pinentry-gnome3
 
 %files emacs
-%defattr(-,root,root)
 %attr(755,root,root) %{_bindir}/pinentry-emacs
 
 %files fltk
-%defattr(-,root,root)
 %attr(755,root,root) %{_bindir}/pinentry-fltk
 
 %changelog


++ pinentry-qt-Fix-use-of-dangling-pointer.patch ++
>From 0e2e53c8987d6f236aaef515eb005e8e86397fbc Mon Sep 17 00:00:00 2001
From: Andre Heinecke 
Date: Thu, 25 Jul 2019 14:20:51 +0200
Subject: [PATCH 1/1] qt: Fix use of dangling pointer in QApplication

* qt/main.cpp (main): Use a new variable for argc that stays
valid.
--
The QApplication constructor takes argc as a reference and the referenced
integer has to stay alive for at least as long as the QApplication.

GnuPG-Bug-Id: T4658
Based on a Patch from: Fabian Vogt 
Thanks!
---
 qt/main.cpp | 12 

commit pinentry for openSUSE:Factory

2018-02-28 Thread root
Hello community,

here is the log from the commit of package pinentry for openSUSE:Factory 
checked in at 2018-02-28 19:54:50

Comparing /work/SRC/openSUSE:Factory/pinentry (Old)
 and  /work/SRC/openSUSE:Factory/.pinentry.new (New)


Package is "pinentry"

Wed Feb 28 19:54:50 2018 rev:58 rq:580139 version:1.1.0

Changes:

--- /work/SRC/openSUSE:Factory/pinentry/pinentry.changes2017-12-15 
13:59:30.557636257 +0100
+++ /work/SRC/openSUSE:Factory/.pinentry.new/pinentry.changes   2018-02-28 
19:54:53.440987619 +0100
@@ -1,0 +2,5 @@
+Thu Feb 22 15:10:43 UTC 2018 - fv...@suse.com
+
+- Use %license (boo#1082318)
+
+---



Other differences:
--
++ pinentry.spec ++
--- /var/tmp/diff_new_pack.pkg1ST/_old  2018-02-28 19:54:54.632944485 +0100
+++ /var/tmp/diff_new_pack.pkg1ST/_new  2018-02-28 19:54:54.632944485 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package pinentry
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -186,7 +186,8 @@
 
 %files
 %defattr(-,root,root)
-%doc AUTHORS COPYING ChangeLog NEWS README
+%license COPYING
+%doc AUTHORS ChangeLog NEWS README
 %{_infodir}/pinentry*
 %attr(755,root,root) %{_bindir}/pinentry
 %attr(755,root,root) %{_bindir}/pinentry-tty





commit pinentry for openSUSE:Factory

2017-12-15 Thread root
Hello community,

here is the log from the commit of package pinentry for openSUSE:Factory 
checked in at 2017-12-15 13:59:27

Comparing /work/SRC/openSUSE:Factory/pinentry (Old)
 and  /work/SRC/openSUSE:Factory/.pinentry.new (New)


Package is "pinentry"

Fri Dec 15 13:59:27 2017 rev:57 rq:556383 version:1.1.0

Changes:

--- /work/SRC/openSUSE:Factory/pinentry/pinentry.changes2016-12-26 
21:40:03.377000627 +0100
+++ /work/SRC/openSUSE:Factory/.pinentry.new/pinentry.changes   2017-12-15 
13:59:30.557636257 +0100
@@ -1,0 +2,13 @@
+Mon Dec 11 19:01:27 UTC 2017 - astie...@suse.com
+
+- pinentry 1.1.0:
+  * Add FLTK1.3-based pinentry
+  * New option --ttyalert for pinentry-curses to alert the user.
+  * Don't show "save passphrase" checkbox if secret service is
+unavailable.
+  * The GTK Pinentry shows on Linux some information anout the
+process which invoked the Pinentry.
+  * The GTK Pinentry does not anymore show tooltips when keyboard
+grabbing is enabled.
+
+---

Old:

  pinentry-1.0.0.tar.bz2
  pinentry-1.0.0.tar.bz2.sig

New:

  pinentry-1.1.0.tar.bz2
  pinentry-1.1.0.tar.bz2.sig



Other differences:
--
++ pinentry.spec ++
--- /var/tmp/diff_new_pack.s3IvLX/_old  2017-12-15 13:59:31.193605556 +0100
+++ /var/tmp/diff_new_pack.s3IvLX/_new  2017-12-15 13:59:31.193605556 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package pinentry
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +19,7 @@
 %define ncurses %(xxx="`readlink -f %{_includedir}/ncurses.h`"; echo $xxx)
 %define nmajor  %(grep NCURSES_VERSION_MAJOR < %{_includedir}/ncurses.h)
 Name:   pinentry
-Version:1.0.0
+Version:1.1.0
 Release:0
 Summary:Collection of Simple PIN or Passphrase Entry Dialogs
 License:GPL-2.0+
@@ -32,6 +32,7 @@
 Patch1: pinentry-0.7.2-gtk+-2.4.diff
 # PATCH-FIX-SUSE make it build with ncurses ABI 6
 Patch7: pinentry-ncurses6.diff
+BuildRequires:  fltk-devel >= 1.3
 BuildRequires:  libassuan-devel >= 2.1.0
 BuildRequires:  libgpg-error-devel >= 1.16
 BuildRequires:  ncurses-devel
@@ -104,6 +105,18 @@
 This is a collection of simple PIN or passphrase entry dialogs which
 utilize the Assuan protocol as described by the Aegypten project.
 
+%package fltk
+Summary:Collection of Simple PIN or Passphrase Entry Dialogs
+Group:  Productivity/Other
+Requires:   pinentry
+Provides:   pinentry-dialog
+Provides:   pinentry-gui
+Provides:   pinentry:%{_bindir}/pinentry-fltk
+
+%description fltk
+This package contains a simple PIN or passphrase entry dialog built
+using the fltk GUI toolkit.
+
 %prep
 %setup -q
 %patch1 -p1
@@ -132,6 +145,7 @@
--enable-pinentry-gnome3 \
--enable-pinentry-emacs \
--enable-inside-emacs \
+   --enable-pinentry-fltk \
--without-ncurses-include-dir
 make %{?_smp_mflags}
 # build text version without libsecret (bnc#934214)
@@ -147,6 +161,7 @@
--disable-pinentry-gnome3 \
--disable-pinentry-emacs \
--disable-inside-emacs \
+   --disable-pinentry-fltk \
--without-ncurses-include-dir
 make %{?_smp_mflags}
 
@@ -195,4 +210,8 @@
 %defattr(-,root,root)
 %attr(755,root,root) %{_bindir}/pinentry-emacs
 
+%files fltk
+%defattr(-,root,root)
+%attr(755,root,root) %{_bindir}/pinentry-fltk
+
 %changelog

++ pinentry ++
--- /var/tmp/diff_new_pack.s3IvLX/_old  2017-12-15 13:59:31.213604590 +0100
+++ /var/tmp/diff_new_pack.s3IvLX/_new  2017-12-15 13:59:31.217604397 +0100
@@ -80,6 +80,10 @@
 elif [ -n "$DISPLAY" -a -x /usr/bin/pinentry-qt ]
 then
export PINENTRY_BINARY="/usr/bin/pinentry-qt"
+# otherwise test if pinentry-fltk exists
+elif [ -n "$DISPLAY" -a -x /usr/bin/pinentry-fltk ]
+then
+   export PINENTRY_BINARY="/usr/bin/pinentry-fltk"
 # use pinentry-tty for modem / serial
 elif [ "$TERM" = "dumb" ]
 then

++ pinentry-1.0.0.tar.bz2 -> pinentry-1.1.0.tar.bz2 ++
 14415 lines of diff (skipped)

++ pinentry-ncurses6.diff ++
--- /var/tmp/diff_new_pack.s3IvLX/_old  2017-12-15 13:59:31.509590302 +0100
+++ /var/tmp/diff_new_pack.s3IvLX/_new  2017-12-15 13:59:31.509590302 +0100
@@ -2,13 +2,15 @@
  pinentry/pinentry.h |1 +
  1 file changed, 1 insertion(+)
 
 pinentry/pinentry.h
-+++ pinentry/pinentry.h2015-07-10 08:19:18.801518702 +
-@@ -74,6 +74,7 @@ struct pinentry
+Index: pinentry/pinentry.h

commit pinentry for openSUSE:Factory

2016-08-06 Thread h_root
Hello community,

here is the log from the commit of package pinentry for openSUSE:Factory 
checked in at 2016-08-06 20:37:06

Comparing /work/SRC/openSUSE:Factory/pinentry (Old)
 and  /work/SRC/openSUSE:Factory/.pinentry.new (New)


Package is "pinentry"

Changes:

--- /work/SRC/openSUSE:Factory/pinentry/pinentry.changes2016-01-30 
11:34:12.0 +0100
+++ /work/SRC/openSUSE:Factory/.pinentry.new/pinentry.changes   2016-08-06 
20:37:09.0 +0200
@@ -1,0 +2,6 @@
+Fri Jul 29 09:15:06 UTC 2016 - tchva...@suse.com
+
+- Update the conflict to bring back the self-deprecation broken in
+  previous change wrt boo#989554
+
+---



Other differences:
--
++ pinentry.spec ++
--- /var/tmp/diff_new_pack.HgDKgA/_old  2016-08-06 20:37:10.0 +0200
+++ /var/tmp/diff_new_pack.HgDKgA/_new  2016-08-06 20:37:10.0 +0200
@@ -59,8 +59,8 @@
 Provides:   pinentry-gui
 Provides:   pinentry-qt = %{version}
 Obsoletes:  pinentry-qt <= 0.8.3
-Provides:   pinentry-qt4 = %{version}
-Obsoletes:  pinentry-qt4 < 0.9.7
+Provides:   pinentry-qt4 = %{version}-%{release}
+Obsoletes:  pinentry-qt4 <= 0.9.7
 
 %description qt5
 This is a collection of simple PIN or passphrase entry dialogs which





commit pinentry for openSUSE:Factory

2016-01-30 Thread h_root
Hello community,

here is the log from the commit of package pinentry for openSUSE:Factory 
checked in at 2016-01-30 11:34:11

Comparing /work/SRC/openSUSE:Factory/pinentry (Old)
 and  /work/SRC/openSUSE:Factory/.pinentry.new (New)


Package is "pinentry"

Changes:

--- /work/SRC/openSUSE:Factory/pinentry/pinentry.changes2016-01-20 
09:54:13.0 +0100
+++ /work/SRC/openSUSE:Factory/.pinentry.new/pinentry.changes   2016-01-30 
11:34:12.0 +0100
@@ -1,0 +2,6 @@
+Wed Jan 20 08:49:48 UTC 2016 - astie...@suse.com
+
+- completely rename to qt5 [boo#962076]
+- fix self-deprecation rpmlint warning
+
+---



Other differences:
--
++ pinentry.spec ++
--- /var/tmp/diff_new_pack.t1EGao/_old  2016-01-30 11:34:14.0 +0100
+++ /var/tmp/diff_new_pack.t1EGao/_new  2016-01-30 11:34:14.0 +0100
@@ -60,7 +60,7 @@
 Provides:   pinentry-qt = %{version}
 Obsoletes:  pinentry-qt <= 0.8.3
 Provides:   pinentry-qt4 = %{version}
-Obsoletes:  pinentry-qt4 <= 0.9.7
+Obsoletes:  pinentry-qt4 < 0.9.7
 
 %description qt5
 This is a collection of simple PIN or passphrase entry dialogs which
@@ -156,7 +156,8 @@
 
 # remove symlink
 rm -rf %{buildroot}%{_bindir}/pinentry
-# backward compatibility symlink
+# backward compatibility symlinks
+ln -s pinentry-qt %{buildroot}%{_bindir}/pinentry-qt5
 ln -s pinentry-qt %{buildroot}%{_bindir}/pinentry-qt4
 cp %{SOURCE3} %{buildroot}%{_bindir}
 
@@ -176,6 +177,7 @@
 
 %files qt5
 %defattr(-,root,root)
+%attr(755,root,root) %{_bindir}/pinentry-qt5
 %attr(755,root,root) %{_bindir}/pinentry-qt4
 %attr(755,root,root) %{_bindir}/pinentry-qt
 

++ pinentry ++
--- /var/tmp/diff_new_pack.t1EGao/_old  2016-01-30 11:34:14.0 +0100
+++ /var/tmp/diff_new_pack.t1EGao/_new  2016-01-30 11:34:14.0 +0100
@@ -15,7 +15,7 @@
 # Boris Ranto  2014
 # Andreas Stieger  2014
 #
-# use proper binary (pinentry-qt4, pinentry-qt, pinentry-gtk-2 or 
pinentry-curses)
+# use proper binary (pinentry-qt5, pinentry-qt, pinentry-gtk-2 or 
pinentry-curses)
 
 kde_running=
 arg=
@@ -56,10 +56,10 @@
 if [ -n "$PINENTRY_BINARY" ];
 then
export PINENTRY_BINARY="$PINENTRY_BINARY"
-# if KDE is detected and pinentry-qt4 exists, use pinentry-qt4
-elif [ -n "$kde_running" -a "$kde_ver"x = 4x -a -x /usr/bin/pinentry-qt4 ]
+# if KDE is detected and pinentry-qt5 exists, use pinentry-qt5
+elif [ -n "$kde_running" -a "$kde_ver"x = 4x -a -x /usr/bin/pinentry-qt5 ]
 then
-   export PINENTRY_BINARY="/usr/bin/pinentry-qt4"
+   export PINENTRY_BINARY="/usr/bin/pinentry-qt5"
 # if KDE is detected and pinentry-qt exists, use pinentry-qt
 elif [ -n "$kde_running" -a -x /usr/bin/pinentry-qt ]
 then
@@ -72,10 +72,10 @@
 elif [ -n "$DISPLAY" -a -x /usr/bin/pinentry-gtk-2 ]
 then
export PINENTRY_BINARY="/usr/bin/pinentry-gtk-2"
-# otherwise test if pinentry-qt4 exists although KDE is not detected
-elif [ -n "$DISPLAY" -a -x /usr/bin/pinentry-qt4 ]
+# otherwise test if pinentry-qt5 exists although KDE is not detected
+elif [ -n "$DISPLAY" -a -x /usr/bin/pinentry-qt5 ]
 then
-   export PINENTRY_BINARY="/usr/bin/pinentry-qt4"
+   export PINENTRY_BINARY="/usr/bin/pinentry-qt5"
 # otherwise test if pinentry-qt exists although KDE is not detected
 elif [ -n "$DISPLAY" -a -x /usr/bin/pinentry-qt ]
 then





commit pinentry for openSUSE:Factory

2016-01-20 Thread h_root
Hello community,

here is the log from the commit of package pinentry for openSUSE:Factory 
checked in at 2016-01-20 09:54:11

Comparing /work/SRC/openSUSE:Factory/pinentry (Old)
 and  /work/SRC/openSUSE:Factory/.pinentry.new (New)


Package is "pinentry"

Changes:

--- /work/SRC/openSUSE:Factory/pinentry/pinentry.changes2015-12-18 
21:52:14.0 +0100
+++ /work/SRC/openSUSE:Factory/.pinentry.new/pinentry.changes   2016-01-20 
09:54:13.0 +0100
@@ -1,0 +2,5 @@
+Wed Jan 13 10:07:36 UTC 2016 - tchva...@suse.com
+
+- Use qt5 instead of qt4 in pinentry-qt
+
+---



Other differences:
--
++ pinentry.spec ++
--- /var/tmp/diff_new_pack.UUQMoj/_old  2016-01-20 09:54:15.0 +0100
+++ /var/tmp/diff_new_pack.UUQMoj/_new  2016-01-20 09:54:15.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package pinentry
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,8 +16,6 @@
 #
 
 
-#%define nmajor %(xxx="`grep NCURSES_VERSION_MAJOR /usr/include/ncurses.h`"; 
test -z "$xxx" && xxx=leer; echo $xxx)
-#%define nmajor %(xxx="leer"; xxx="`grep NCURSES_VERSION_MAJOR 
/usr/include/ncurses.h 2> /dev/null`"; echo $xxx)
 %define ncurses %(xxx="`readlink -f %{_includedir}/ncurses.h`"; echo $xxx)
 %define nmajor  %(grep NCURSES_VERSION_MAJOR < %{_includedir}/ncurses.h)
 Name:   pinentry
@@ -36,9 +34,11 @@
 Patch7: pinentry-ncurses6.diff
 BuildRequires:  libassuan-devel >= 2.1.0
 BuildRequires:  libgpg-error-devel >= 1.16
-BuildRequires:  libqt4-devel
 BuildRequires:  ncurses-devel
 BuildRequires:  update-desktop-files
+BuildRequires:  pkgconfig(Qt5Core)
+BuildRequires:  pkgconfig(Qt5Gui)
+BuildRequires:  pkgconfig(Qt5Widgets)
 BuildRequires:  pkgconfig(gcr-3)
 BuildRequires:  pkgconfig(gcr-base-3)
 BuildRequires:  pkgconfig(gtk+-2.0) >= 2.4.0
@@ -51,17 +51,18 @@
 This is a collection of simple PIN or passphrase entry dialogs which
 utilize the Assuan protocol as described by the Aegypten project.
 
-%package qt4
+%package qt5
 Summary:Collection of Simple PIN or Passphrase Entry Dialogs
 Group:  Productivity/Other
 Requires:   pinentry
 Provides:   pinentry-dialog
 Provides:   pinentry-gui
 Provides:   pinentry-qt = %{version}
-Provides:   pinentry:%{_bindir}/pinentry-qt4
 Obsoletes:  pinentry-qt <= 0.8.3
+Provides:   pinentry-qt4 = %{version}
+Obsoletes:  pinentry-qt4 <= 0.9.7
 
-%description qt4
+%description qt5
 This is a collection of simple PIN or passphrase entry dialogs which
 utilize the Assuan protocol as described by the Aegypten project.
 
@@ -109,8 +110,8 @@
 
 %build
 # Regenerate moc's
-moc qt/pinentrydialog.h > qt/pinentrydialog.moc
-moc qt/pinentryconfirm.h > qt/pinentryconfirm.moc
+moc-qt5 qt/pinentrydialog.h > qt/pinentrydialog.moc
+moc-qt5 qt/pinentryconfirm.h > qt/pinentryconfirm.moc
 nmajor=$(sed -rn 's/^#define\s+NCURSES_VERSION_MAJOR\s+([0-9]+)/\1/p' 
%{_includedir}/ncurses.h)
 CFLAGS="%{optflags} $(ncursesw${nmajor}-config --cflags)"
 CXXFLAGS="%{optflags} -std=gnu++11 $(ncursesw${nmajor}-config --cflags)"
@@ -173,7 +174,7 @@
 %attr(755,root,root) %{_bindir}/pinentry-tty
 %attr(755,root,root) %{_bindir}/pinentry-curses
 
-%files qt4
+%files qt5
 %defattr(-,root,root)
 %attr(755,root,root) %{_bindir}/pinentry-qt4
 %attr(755,root,root) %{_bindir}/pinentry-qt





commit pinentry for openSUSE:Factory

2015-12-18 Thread h_root
Hello community,

here is the log from the commit of package pinentry for openSUSE:Factory 
checked in at 2015-12-18 21:52:13

Comparing /work/SRC/openSUSE:Factory/pinentry (Old)
 and  /work/SRC/openSUSE:Factory/.pinentry.new (New)


Package is "pinentry"

Changes:

--- /work/SRC/openSUSE:Factory/pinentry/pinentry.changes2015-10-28 
17:17:33.0 +0100
+++ /work/SRC/openSUSE:Factory/.pinentry.new/pinentry.changes   2015-12-18 
21:52:14.0 +0100
@@ -1,0 +2,10 @@
+Mon Dec 14 19:50:38 UTC 2015 - andr...@suse.de
+
+- pinentry 0.9.7:
+ * Fix regressions in the Qt pinentry.
+   (previsouly patched, removed 
+   pinentry-qt4-fix-qstring-conversion.patch)
+ * Fix minor problems pinnetyr-tty.
+ * New option --invisible-char.
+
+---

Old:

  pinentry-0.9.6.tar.bz2
  pinentry-0.9.6.tar.bz2.sig
  pinentry-qt4-fix-qstring-conversion.patch

New:

  pinentry-0.9.7.tar.bz2
  pinentry-0.9.7.tar.bz2.sig



Other differences:
--
++ pinentry.spec ++
--- /var/tmp/diff_new_pack.WG61qB/_old  2015-12-18 21:52:15.0 +0100
+++ /var/tmp/diff_new_pack.WG61qB/_new  2015-12-18 21:52:15.0 +0100
@@ -21,7 +21,7 @@
 %define ncurses %(xxx="`readlink -f %{_includedir}/ncurses.h`"; echo $xxx)
 %define nmajor  %(grep NCURSES_VERSION_MAJOR < %{_includedir}/ncurses.h)
 Name:   pinentry
-Version:0.9.6
+Version:0.9.7
 Release:0
 Summary:Collection of Simple PIN or Passphrase Entry Dialogs
 License:GPL-2.0+
@@ -34,7 +34,6 @@
 Patch1: pinentry-0.7.2-gtk+-2.4.diff
 # PATCH-FIX-SUSE make it build with ncurses ABI 6
 Patch7: pinentry-ncurses6.diff
-Patch8: pinentry-qt4-fix-qstring-conversion.patch
 BuildRequires:  libassuan-devel >= 2.1.0
 BuildRequires:  libgpg-error-devel >= 1.16
 BuildRequires:  libqt4-devel
@@ -107,7 +106,6 @@
 %setup -q
 %patch1 -p1
 %patch7
-%patch8 -p1
 
 %build
 # Regenerate moc's

++ pinentry-0.9.6.tar.bz2 -> pinentry-0.9.7.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pinentry-0.9.6/ChangeLog new/pinentry-0.9.7/ChangeLog
--- old/pinentry-0.9.6/ChangeLog2015-09-10 20:33:10.0 +0200
+++ new/pinentry-0.9.7/ChangeLog2015-12-07 10:36:13.0 +0100
@@ -1,3 +1,53 @@
+2015-12-07  Werner Koch  
+
+   Release 0.9.7.
+
+2015-12-01  Werner Koch  
+
+   Remove unused code.
+   * secmem/util.c (lower_privs, raise_privs): Remove commented
+   functions.
+
+2015-11-27  Neal H. Walfield  
+
+   tty: Fix formatting.
+   * tty/pinentry-tty.c (password): Remove trailing space.
+
+2015-11-18  Neal H. Walfield  
+
+   tty: Flush output.  Show an error if an invalid option is selected.
+   * tty/pinentry-tty.c (confirm): Flush the output after printing the
+   prompt.  Echo what the user typed.  If the user's selection is
+   invalid, indicate as much.
+
+2015-10-22  Dirk Mueller  
+
+   Qt: Do not use temporary reference to utf8 pin.
+   * qt/main.cpp (qt_cmd_handler): Keep utf8 pin byte array.
+
+2015-10-02  Andre Heinecke  
+
+   Qt: Fix assignment of have_qt5_libs variable.
+   * m4/qt.m4 (FIND_QT): Remove spaces in variable assignment.
+
+   Qt: Fix quoting of have_qt5_libs init in FIND_QT.
+   * m4/qt.m4 (FIND_QT): Quote initialization of have_qt5_libs var.
+
+2015-09-25  Andre Heinecke  
+
+   Add option to disable looking for qt5.
+   * m4/qt.m4 (FIND_QT): Add --disable-pinentry-qt5 option to
+   disable qt5 support even if it is available.
+
+2015-09-16  Werner Koch  
+
+   Add option "invisible-char".
+   * pinentry/pinentry.h (struct pinentry): Add field invisible_char.
+   * pinentry/pinentry.c (pinentry_reset): Restore that.
+   (option_handler): Add option "invisible-char".
+   * gtk+-2/pinentry-gtk-2.c (create_window): Set the invisible char if
+   given.
+
 2015-09-10  Werner Koch  
 
Release 0.9.6.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pinentry-0.9.6/NEWS new/pinentry-0.9.7/NEWS
--- old/pinentry-0.9.6/NEWS 2015-09-10 20:30:37.0 +0200
+++ new/pinentry-0.9.7/NEWS 2015-12-07 10:32:54.0 +0100
@@ -1,3 +1,13 @@
+Noteworthy changes in version 0.9.7 (2015-12-07)
+
+
+ * Fix regressions in the Qt pinentry.
+
+ * Fix minor problems pinnetyr-tty.
+
+ * New option --invisible-char.
+
+
 Noteworthy changes in version 0.9.6 (2015-09-10)
 

commit pinentry for openSUSE:Factory

2015-10-28 Thread h_root
Hello community,

here is the log from the commit of package pinentry for openSUSE:Factory 
checked in at 2015-10-28 17:17:32

Comparing /work/SRC/openSUSE:Factory/pinentry (Old)
 and  /work/SRC/openSUSE:Factory/.pinentry.new (New)


Package is "pinentry"

Changes:

--- /work/SRC/openSUSE:Factory/pinentry/pinentry.changes2015-10-17 
16:37:44.0 +0200
+++ /work/SRC/openSUSE:Factory/.pinentry.new/pinentry.changes   2015-10-28 
17:17:33.0 +0100
@@ -1,0 +2,5 @@
+Wed Oct 21 12:28:42 UTC 2015 - dmuel...@suse.com
+
+- add pinentry-qt4-fix-qstring-conversion.patch (bsc#951307)
+
+---

New:

  pinentry-qt4-fix-qstring-conversion.patch



Other differences:
--
++ pinentry.spec ++
--- /var/tmp/diff_new_pack.K1lSXj/_old  2015-10-28 17:17:34.0 +0100
+++ /var/tmp/diff_new_pack.K1lSXj/_new  2015-10-28 17:17:34.0 +0100
@@ -34,6 +34,7 @@
 Patch1: pinentry-0.7.2-gtk+-2.4.diff
 # PATCH-FIX-SUSE make it build with ncurses ABI 6
 Patch7: pinentry-ncurses6.diff
+Patch8: pinentry-qt4-fix-qstring-conversion.patch
 BuildRequires:  libassuan-devel >= 2.1.0
 BuildRequires:  libgpg-error-devel >= 1.16
 BuildRequires:  libqt4-devel
@@ -106,6 +107,7 @@
 %setup -q
 %patch1 -p1
 %patch7
+%patch8 -p1
 
 %build
 # Regenerate moc's


++ pinentry-qt4-fix-qstring-conversion.patch ++
Index: pinentry-0.9.6/qt/main.cpp
===
--- pinentry-0.9.6.orig/qt/main.cpp
+++ pinentry-0.9.6/qt/main.cpp
@@ -190,15 +190,15 @@ qt_cmd_handler (pinentry_t pe)
   if (!ret)
return -1;
 
-  const char *pin = pinentry.pin().toUtf8().constData();
+  QByteArray pin = pinentry.pin().toUtf8();
 
-  int len = strlen (pin);
+  int len = strlen (pin.constData());
   if (len >= 0)
{
  pinentry_setbufferlen (pe, len + 1);
  if (pe->pin)
{
- strcpy (pe->pin, pin);
+ strcpy (pe->pin, pin.constData());
  return len;
}
}



commit pinentry for openSUSE:Factory

2015-10-17 Thread h_root
Hello community,

here is the log from the commit of package pinentry for openSUSE:Factory 
checked in at 2015-10-17 16:37:43

Comparing /work/SRC/openSUSE:Factory/pinentry (Old)
 and  /work/SRC/openSUSE:Factory/.pinentry.new (New)


Package is "pinentry"

Changes:

--- /work/SRC/openSUSE:Factory/pinentry/pinentry.changes2015-07-25 
07:44:09.0 +0200
+++ /work/SRC/openSUSE:Factory/.pinentry.new/pinentry.changes   2015-10-17 
16:37:44.0 +0200
@@ -1,0 +2,21 @@
+Tue Oct  6 13:10:29 UTC 2015 - kstreit...@suse.com
+
+- update to 0.9.6
+  * changelog:
++ Many improvements for the dump tty pinentry
++ Use the standard GTK+-2 text entry widget instead of our outdated
+  and back-then-it-was-more-secure text widget
++ Use the standard Qt text widget
++ Allow for building a static Qt variant
++ Fix regression in w32 pinentry
+  * remove qt4-disable-inputmethod-for-passwords.diff (patched file
+is no longer present)
+  * remove regenerating of qt4/qsecurelineedit.moc in specfile as 
+qt4/qsecurelineedit.h was deleted. Adjust paths for the rest
+of the moc files (qt4 -> qt).
+  * '--enable-pinentry-qt4' is now '--enable-pinentry-qt'
+  * '--enable-pinentry-qt4-clipboard' option was removed
+  * add backward compatibility link for pinentry-qt4
+- use spec-cleaner
+
+---

Old:

  pinentry-0.9.5.tar.bz2
  pinentry-0.9.5.tar.bz2.sig
  qt4-disable-inputmethod-for-passwords.diff

New:

  pinentry-0.9.6.tar.bz2
  pinentry-0.9.6.tar.bz2.sig



Other differences:
--
++ pinentry.spec ++
--- /var/tmp/diff_new_pack.umYbFi/_old  2015-10-17 16:37:45.0 +0200
+++ /var/tmp/diff_new_pack.umYbFi/_new  2015-10-17 16:37:45.0 +0200
@@ -16,8 +16,12 @@
 #
 
 
+#%define nmajor %(xxx="`grep NCURSES_VERSION_MAJOR /usr/include/ncurses.h`"; 
test -z "$xxx" && xxx=leer; echo $xxx)
+#%define nmajor %(xxx="leer"; xxx="`grep NCURSES_VERSION_MAJOR 
/usr/include/ncurses.h 2> /dev/null`"; echo $xxx)
+%define ncurses %(xxx="`readlink -f %{_includedir}/ncurses.h`"; echo $xxx)
+%define nmajor  %(grep NCURSES_VERSION_MAJOR < %{_includedir}/ncurses.h)
 Name:   pinentry
-Version:0.9.5
+Version:0.9.6
 Release:0
 Summary:Collection of Simple PIN or Passphrase Entry Dialogs
 License:GPL-2.0+
@@ -28,8 +32,6 @@
 Source2:pinentry.keyring
 Source3:pinentry
 Patch1: pinentry-0.7.2-gtk+-2.4.diff
-# PATCH-FIX-SUSE fix qt4 password entry not to allow IM (bnc#725471)
-Patch6: qt4-disable-inputmethod-for-passwords.diff
 # PATCH-FIX-SUSE make it build with ncurses ABI 6
 Patch7: pinentry-ncurses6.diff
 BuildRequires:  libassuan-devel >= 2.1.0
@@ -44,10 +46,6 @@
 Requires(post): %{install_info_prereq}
 Provides:   pinentry-dialog
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-#%define nmajor %(xxx="`grep NCURSES_VERSION_MAJOR /usr/include/ncurses.h`"; 
test -z "$xxx" && xxx=leer; echo $xxx)
-#%define nmajor %(xxx="leer"; xxx="`grep NCURSES_VERSION_MAJOR 
/usr/include/ncurses.h 2> /dev/null`"; echo $xxx)
-%define ncurses %(xxx="`readlink -f /usr/include/ncurses.h`"; echo $xxx)
-%define nmajor  %(grep NCURSES_VERSION_MAJOR < /usr/include/ncurses.h)
 
 %description
 This is a collection of simple PIN or passphrase entry dialogs which
@@ -107,15 +105,13 @@
 %prep
 %setup -q
 %patch1 -p1
-%patch6 -p1
-%patch7 -p0
+%patch7
 
 %build
 # Regenerate moc's
-moc qt4/pinentrydialog.h > qt4/pinentrydialog.moc
-moc qt4/qsecurelineedit.h > qt4/qsecurelineedit.moc
-moc qt4/pinentryconfirm.h > qt4/pinentryconfirm.moc
-nmajor=$(sed -rn 's/^#define\s+NCURSES_VERSION_MAJOR\s+([0-9]+)/\1/p' 
/usr/include/ncurses.h)
+moc qt/pinentrydialog.h > qt/pinentrydialog.moc
+moc qt/pinentryconfirm.h > qt/pinentryconfirm.moc
+nmajor=$(sed -rn 's/^#define\s+NCURSES_VERSION_MAJOR\s+([0-9]+)/\1/p' 
%{_includedir}/ncurses.h)
 CFLAGS="%{optflags} $(ncursesw${nmajor}-config --cflags)"
 CXXFLAGS="%{optflags} -std=gnu++11 $(ncursesw${nmajor}-config --cflags)"
 LDFLAGS="$(ncursesw${nmajor}-config --libs)"
@@ -129,8 +125,7 @@
--disable-pinentry-curses \
--disable-pinentry-tty \
--enable-libsecret \
-   --enable-pinentry-qt4 \
-   --enable-pinentry-qt4-clipboard \
+   --enable-pinentry-qt \
--enable-pinentry-gtk2 \
--enable-pinentry-gnome3 \
--enable-pinentry-emacs \
@@ -145,7 +140,7 @@
--enable-pinentry-curses \
--enable-pinentry-tty \
--disable-libsecret \
-   --disable-pinentry-qt4 \
+   --disable-pinentry-qt \
--disable-pinentry-gtk2 \
--disable-pinentry-gnome3 \
--disable-pinentry-emacs \
@@ -160,6 +155,8 @@

commit pinentry for openSUSE:Factory

2015-07-24 Thread h_root
Hello community,

here is the log from the commit of package pinentry for openSUSE:Factory 
checked in at 2015-07-25 07:44:08

Comparing /work/SRC/openSUSE:Factory/pinentry (Old)
 and  /work/SRC/openSUSE:Factory/.pinentry.new (New)


Package is pinentry

Changes:

--- /work/SRC/openSUSE:Factory/pinentry/pinentry.changes2015-07-16 
17:18:04.0 +0200
+++ /work/SRC/openSUSE:Factory/.pinentry.new/pinentry.changes   2015-07-25 
07:44:09.0 +0200
@@ -1,0 +2,6 @@
+Fri Jul 10 08:54:22 UTC 2015 - wer...@suse.de
+
+- Make it build with every ncurses library ABI 
+  adding pinentry-ncurses6.diff
+
+---

New:

  pinentry-ncurses6.diff



Other differences:
--
++ pinentry.spec ++
--- /var/tmp/diff_new_pack.0ZmWrE/_old  2015-07-25 07:44:09.0 +0200
+++ /var/tmp/diff_new_pack.0ZmWrE/_new  2015-07-25 07:44:09.0 +0200
@@ -16,7 +16,6 @@
 #
 
 
-%global ncursesw_config %(set -- %{_bindir}/ncursesw*-config; echo 
${1})
 Name:   pinentry
 Version:0.9.5
 Release:0
@@ -31,6 +30,8 @@
 Patch1: pinentry-0.7.2-gtk+-2.4.diff
 # PATCH-FIX-SUSE fix qt4 password entry not to allow IM (bnc#725471)
 Patch6: qt4-disable-inputmethod-for-passwords.diff
+# PATCH-FIX-SUSE make it build with ncurses ABI 6
+Patch7: pinentry-ncurses6.diff
 BuildRequires:  libassuan-devel = 2.1.0
 BuildRequires:  libgpg-error-devel = 1.16
 BuildRequires:  libqt4-devel
@@ -43,6 +44,10 @@
 Requires(post): %{install_info_prereq}
 Provides:   pinentry-dialog
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+#%define nmajor %(xxx=`grep NCURSES_VERSION_MAJOR /usr/include/ncurses.h`; 
test -z $xxx  xxx=leer; echo $xxx)
+#%define nmajor %(xxx=leer; xxx=`grep NCURSES_VERSION_MAJOR 
/usr/include/ncurses.h 2 /dev/null`; echo $xxx)
+%define ncurses %(xxx=`readlink -f /usr/include/ncurses.h`; echo $xxx)
+%define nmajor  %(grep NCURSES_VERSION_MAJOR  /usr/include/ncurses.h)
 
 %description
 This is a collection of simple PIN or passphrase entry dialogs which
@@ -103,14 +108,18 @@
 %setup -q
 %patch1 -p1
 %patch6 -p1
+%patch7 -p0
 
 %build
 # Regenerate moc's
 moc qt4/pinentrydialog.h  qt4/pinentrydialog.moc
 moc qt4/qsecurelineedit.h  qt4/qsecurelineedit.moc
 moc qt4/pinentryconfirm.h  qt4/pinentryconfirm.moc
-export CFLAGS=%{optflags} $(%{ncursesw_config} --cflags)
-export CXXFLAGS=%{optflags} -std=gnu++11 $(%{ncursesw_config} --cflags)
+nmajor=$(sed -rn 's/^#define\s+NCURSES_VERSION_MAJOR\s+([0-9]+)/\1/p' 
/usr/include/ncurses.h)
+CFLAGS=%{optflags} $(ncursesw${nmajor}-config --cflags)
+CXXFLAGS=%{optflags} -std=gnu++11 $(ncursesw${nmajor}-config --cflags)
+LDFLAGS=$(ncursesw${nmajor}-config --libs)
+export CFLAGS CXXFLAGS LDFLAGS
 
 %define _configure ../configure
 # build gui version with libsecret (bnc#934214)


++ pinentry-ncurses6.diff ++
---
 pinentry/pinentry.h |1 +
 1 file changed, 1 insertion(+)

--- pinentry/pinentry.h
+++ pinentry/pinentry.h 2015-07-10 08:19:18.801518702 +
@@ -74,6 +74,7 @@ struct pinentry
  supported.  (Assuan: OPTION ttyname TTYNAME.)  */
   char *ttyname;
   /* The type of the terminal.  (Assuan: OPTION ttytype TTYTYPE.)  */
+#undef ttytype
   char *ttytype;
   /* The LC_CTYPE value for the terminal.  (Assuan: OPTION lc-ctype
  LC_CTYPE.)  */



commit pinentry for openSUSE:Factory

2015-07-16 Thread h_root
Hello community,

here is the log from the commit of package pinentry for openSUSE:Factory 
checked in at 2015-07-16 17:18:03

Comparing /work/SRC/openSUSE:Factory/pinentry (Old)
 and  /work/SRC/openSUSE:Factory/.pinentry.new (New)


Package is pinentry

Changes:

--- /work/SRC/openSUSE:Factory/pinentry/pinentry.changes2015-06-12 
20:29:47.0 +0200
+++ /work/SRC/openSUSE:Factory/.pinentry.new/pinentry.changes   2015-07-16 
17:18:04.0 +0200
@@ -1,0 +2,11 @@
+Wed Jul  1 18:28:48 UTC 2015 - astie...@suse.com
+
+- pinentry 0.9.5:
+  * Replaced the internal Assuan and gpg-error code by the standard
+libassuan and libgpg-error libraries.
+  * Add a new Emacs pinentry and use as fallback for GUI programs.
+  * gnome3: The use-password-manager checkbox does now work.
+  * Gtk: Improved fallback to curses feature.
+  * curses: Recognize DEL as backspace.
+
+---

Old:

  pinentry-0.9.4.tar.bz2
  pinentry-0.9.4.tar.bz2.sig

New:

  pinentry-0.9.5.tar.bz2
  pinentry-0.9.5.tar.bz2.sig



Other differences:
--
++ pinentry.spec ++
--- /var/tmp/diff_new_pack.KgOiKo/_old  2015-07-16 17:18:05.0 +0200
+++ /var/tmp/diff_new_pack.KgOiKo/_new  2015-07-16 17:18:05.0 +0200
@@ -18,7 +18,7 @@
 
 %global ncursesw_config %(set -- %{_bindir}/ncursesw*-config; echo 
${1})
 Name:   pinentry
-Version:0.9.4
+Version:0.9.5
 Release:0
 Summary:Collection of Simple PIN or Passphrase Entry Dialogs
 License:GPL-2.0+
@@ -31,6 +31,8 @@
 Patch1: pinentry-0.7.2-gtk+-2.4.diff
 # PATCH-FIX-SUSE fix qt4 password entry not to allow IM (bnc#725471)
 Patch6: qt4-disable-inputmethod-for-passwords.diff
+BuildRequires:  libassuan-devel = 2.1.0
+BuildRequires:  libgpg-error-devel = 1.16
 BuildRequires:  libqt4-devel
 BuildRequires:  ncurses-devel
 BuildRequires:  update-desktop-files
@@ -84,6 +86,19 @@
 This is a collection of simple PIN or passphrase entry dialogs which
 utilize the Assuan protocol as described by the Aegypten project.
 
+%package emacs
+Summary:Collection of Simple PIN or Passphrase Entry Dialogs
+Group:  Productivity/Other
+Requires:   emacs
+Requires:   pinentry
+Provides:   pinentry-dialog
+Provides:   pinentry-gui
+Provides:   pinentry:%{_bindir}/pinentry-emacs
+
+%description emacs
+This is a collection of simple PIN or passphrase entry dialogs which
+utilize the Assuan protocol as described by the Aegypten project.
+
 %prep
 %setup -q
 %patch1 -p1
@@ -96,6 +111,7 @@
 moc qt4/pinentryconfirm.h  qt4/pinentryconfirm.moc
 export CFLAGS=%{optflags} $(%{ncursesw_config} --cflags)
 export CXXFLAGS=%{optflags} -std=gnu++11 $(%{ncursesw_config} --cflags)
+
 %define _configure ../configure
 # build gui version with libsecret (bnc#934214)
 mkdir gui
@@ -108,6 +124,8 @@
--enable-pinentry-qt4-clipboard \
--enable-pinentry-gtk2 \
--enable-pinentry-gnome3 \
+   --enable-pinentry-emacs \
+   --enable-inside-emacs \
--without-ncurses-include-dir
 make %{?_smp_mflags}
 # build text version without libsecret (bnc#934214)
@@ -121,6 +139,8 @@
--disable-pinentry-qt4 \
--disable-pinentry-gtk2 \
--disable-pinentry-gnome3 \
+   --disable-pinentry-emacs \
+   --disable-inside-emacs \
--without-ncurses-include-dir
 
 %install
@@ -159,4 +179,8 @@
 %defattr(-,root,root)
 %attr(755,root,root) %{_bindir}/pinentry-gnome3
 
+%files emacs
+%defattr(-,root,root)
+%attr(755,root,root) %{_bindir}/pinentry-emacs
+
 %changelog

++ pinentry-0.9.4.tar.bz2 - pinentry-0.9.5.tar.bz2 ++
 8852 lines of diff (skipped)




commit pinentry for openSUSE:Factory

2015-06-12 Thread h_root
Hello community,

here is the log from the commit of package pinentry for openSUSE:Factory 
checked in at 2015-06-12 20:29:46

Comparing /work/SRC/openSUSE:Factory/pinentry (Old)
 and  /work/SRC/openSUSE:Factory/.pinentry.new (New)


Package is pinentry

Changes:

--- /work/SRC/openSUSE:Factory/pinentry/pinentry.changes2015-06-08 
08:28:44.0 +0200
+++ /work/SRC/openSUSE:Factory/.pinentry.new/pinentry.changes   2015-06-12 
20:29:47.0 +0200
@@ -1,0 +2,12 @@
+Thu Jun 11 14:49:54 UTC 2015 - lnus...@suse.de
+
+- build gui version with libsecret and text mode versions without to
+  avoid pulling in dbus-x11 on minimal installs (bnc#934214)
+
+---
+Wed Jun 10 21:14:04 UTC 2015 - astie...@suse.com
+
+- pinentry 0.9.4:
+  * Fix regression in GTK+ and curses pinentries [boo#934207]
+
+---

Old:

  pinentry-0.9.3.tar.bz2
  pinentry-0.9.3.tar.bz2.sig

New:

  pinentry-0.9.4.tar.bz2
  pinentry-0.9.4.tar.bz2.sig



Other differences:
--
++ pinentry.spec ++
--- /var/tmp/diff_new_pack.QZr8RB/_old  2015-06-12 20:29:48.0 +0200
+++ /var/tmp/diff_new_pack.QZr8RB/_new  2015-06-12 20:29:48.0 +0200
@@ -18,7 +18,7 @@
 
 %global ncursesw_config %(set -- %{_bindir}/ncursesw*-config; echo 
${1})
 Name:   pinentry
-Version:0.9.3
+Version:0.9.4
 Release:0
 Summary:Collection of Simple PIN or Passphrase Entry Dialogs
 License:GPL-2.0+
@@ -96,18 +96,37 @@
 moc qt4/pinentryconfirm.h  qt4/pinentryconfirm.moc
 export CFLAGS=%{optflags} $(%{ncursesw_config} --cflags)
 export CXXFLAGS=%{optflags} -std=gnu++11 $(%{ncursesw_config} --cflags)
+%define _configure ../configure
+# build gui version with libsecret (bnc#934214)
+mkdir gui
+cd gui
 %configure \
-   --enable-pinentry-curses \
+   --disable-pinentry-curses \
+   --disable-pinentry-tty \
+   --enable-libsecret \
--enable-pinentry-qt4 \
--enable-pinentry-qt4-clipboard \
--enable-pinentry-gtk2 \
--enable-pinentry-gnome3 \
-   --enable-pinentry-tty \
-   --enable-libsecret \
--without-ncurses-include-dir
 make %{?_smp_mflags}
+# build text version without libsecret (bnc#934214)
+cd ..
+mkdir tui
+cd tui
+%configure \
+   --enable-pinentry-curses \
+   --enable-pinentry-tty \
+   --disable-libsecret \
+   --disable-pinentry-qt4 \
+   --disable-pinentry-gtk2 \
+   --disable-pinentry-gnome3 \
+   --without-ncurses-include-dir
 
 %install
+cd tui
+make DESTDIR=%{buildroot} install %{?_smp_mflags}
+cd ../gui
 make DESTDIR=%{buildroot} install %{?_smp_mflags}
 
 # remove symlink

++ pinentry-0.9.3.tar.bz2 - pinentry-0.9.4.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pinentry-0.9.3/ChangeLog new/pinentry-0.9.4/ChangeLog
--- old/pinentry-0.9.3/ChangeLog2015-06-01 18:26:22.0 +0200
+++ new/pinentry-0.9.4/ChangeLog2015-06-05 20:44:10.0 +0200
@@ -1,3 +1,32 @@
+2015-06-05  Werner Koch  w...@gnupg.org
+
+   Release 0.9.4.
+
+2015-06-05  Neal H. Walfield  n...@gnu.org
+
+   secmem: When clearing memory, don't clear beyond the end of the buffer.
+   * secmem/secmem.c (secmem_malloc): Only clear the user memory; don't
+   clear beyond the end of the buffer.
+
+2015-06-04  Daniel Kahn Gillmor  d...@fifthhorseman.net
+
+   Make pinentry_setbufferlen always return the pin buffer.
+   * pinentry/pinentry.c (pinentry_setbufferlen): When the pin buffer is
+   already large enough, return the buffer instead of NULL.
+
+2015-06-02  Werner Koch  w...@gnupg.org
+
+   Fixed compiler warnings - mostly unused parameter.
+
+   Add more GCC warnings flags.
+   * configure.ac: Add GCC specific -W flags.
+
+2015-06-02  Daniel Kahn Gillmor  d...@fifthhorseman.net
+
+   use g_debug(format, ...) safely.
+   * pinentry/password-cache.c (password_cache_clear): use g_debug safely
+ in case error-message is malformed.
+
 2015-06-01  Werner Koch  w...@gnupg.org
 
Release 0.9.3.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pinentry-0.9.3/NEWS new/pinentry-0.9.4/NEWS
--- old/pinentry-0.9.3/NEWS 2015-06-01 18:13:08.0 +0200
+++ new/pinentry-0.9.4/NEWS 2015-06-05 20:40:06.0 +0200
@@ -1,3 +1,9 @@
+Noteworthy changes in version 0.9.4 (2015-06-05)
+
+
+ * Fix regression in GTK+ and curses pinentries.
+
+
 Noteworthy changes in version 0.9.3 (2015-06-01)
 

commit pinentry for openSUSE:Factory

2015-05-15 Thread h_root
Hello community,

here is the log from the commit of package pinentry for openSUSE:Factory 
checked in at 2015-05-15 09:02:53

Comparing /work/SRC/openSUSE:Factory/pinentry (Old)
 and  /work/SRC/openSUSE:Factory/.pinentry.new (New)


Package is pinentry

Changes:

--- /work/SRC/openSUSE:Factory/pinentry/pinentry.changes2015-03-29 
20:17:55.0 +0200
+++ /work/SRC/openSUSE:Factory/.pinentry.new/pinentry.changes   2015-05-15 
09:02:54.0 +0200
@@ -1,0 +2,9 @@
+Tue May 12 20:41:19 UTC 2015 - astie...@suse.com
+
+- pinentry 0.9.2:
+ * Escape key works in the Gtk+ pinentry.
+ * Improvements for pinentry-tty.
+- Upstream supported but not enabled:
+ * Support for saving the passphrase with libsecret.
+
+---

Old:

  pinentry-0.9.1.tar.bz2
  pinentry-0.9.1.tar.bz2.sig

New:

  pinentry-0.9.2.tar.bz2
  pinentry-0.9.2.tar.bz2.sig



Other differences:
--
++ pinentry.spec ++
--- /var/tmp/diff_new_pack.3OtcJu/_old  2015-05-15 09:02:56.0 +0200
+++ /var/tmp/diff_new_pack.3OtcJu/_new  2015-05-15 09:02:56.0 +0200
@@ -17,8 +17,9 @@
 
 
 %global ncursesw_config %(set -- %{_bindir}/ncursesw*-config; echo 
${1})
+%bcond_withlibsecret
 Name:   pinentry
-Version:0.9.1
+Version:0.9.2
 Release:0
 Summary:Collection of Simple PIN or Passphrase Entry Dialogs
 License:GPL-2.0+
@@ -39,6 +40,9 @@
 Requires(post): %{install_info_prereq}
 Provides:   pinentry-dialog
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+%if 0%{?with libsecret}
+BuildRequires:  pkgconfig(libsecret-1)
+%endif
 
 %description
 This is a collection of simple PIN or passphrase entry dialogs which
@@ -89,6 +93,9 @@
--enable-pinentry-qt4-clipboard \
--enable-pinentry-gtk2 \
--enable-pinentry-tty \
+%if 0%{with libsecret}
+   --enable-libsecret \
+%endif
--without-ncurses-include-dir
 make %{?_smp_mflags}
 
@@ -108,7 +115,7 @@
 %files
 %defattr(-,root,root)
 %doc AUTHORS COPYING ChangeLog NEWS README
-%doc %{_infodir}/pinentry*
+%{_infodir}/pinentry*
 %attr(755,root,root) %{_bindir}/pinentry
 %attr(755,root,root) %{_bindir}/pinentry-tty
 %attr(755,root,root) %{_bindir}/pinentry-curses

++ pinentry-0.9.1.tar.bz2 - pinentry-0.9.2.tar.bz2 ++
 2943 lines of diff (skipped)




commit pinentry for openSUSE:Factory

2015-03-29 Thread h_root
Hello community,

here is the log from the commit of package pinentry for openSUSE:Factory 
checked in at 2015-03-29 20:17:54

Comparing /work/SRC/openSUSE:Factory/pinentry (Old)
 and  /work/SRC/openSUSE:Factory/.pinentry.new (New)


Package is pinentry

Changes:

--- /work/SRC/openSUSE:Factory/pinentry/pinentry.changes2015-03-25 
21:04:15.0 +0100
+++ /work/SRC/openSUSE:Factory/.pinentry.new/pinentry.changes   2015-03-29 
20:17:55.0 +0200
@@ -1,0 +2,6 @@
+Thu Mar 26 19:46:55 UTC 2015 - astie...@suse.com
+
+- qt4 pasting was available upstream since 0.8.4 but not enabled.
+  Enable through configure option [boo#905155]
+
+---



Other differences:
--
++ pinentry.spec ++
--- /var/tmp/diff_new_pack.AlxuAU/_old  2015-03-29 20:17:55.0 +0200
+++ /var/tmp/diff_new_pack.AlxuAU/_new  2015-03-29 20:17:55.0 +0200
@@ -86,6 +86,7 @@
 %configure \
--enable-pinentry-curses \
--enable-pinentry-qt4 \
+   --enable-pinentry-qt4-clipboard \
--enable-pinentry-gtk2 \
--enable-pinentry-tty \
--without-ncurses-include-dir


-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit pinentry for openSUSE:Factory

2015-03-25 Thread h_root
Hello community,

here is the log from the commit of package pinentry for openSUSE:Factory 
checked in at 2015-03-25 21:04:14

Comparing /work/SRC/openSUSE:Factory/pinentry (Old)
 and  /work/SRC/openSUSE:Factory/.pinentry.new (New)


Package is pinentry

Changes:

--- /work/SRC/openSUSE:Factory/pinentry/pinentry.changes2014-11-14 
09:18:24.0 +0100
+++ /work/SRC/openSUSE:Factory/.pinentry.new/pinentry.changes   2015-03-25 
21:04:15.0 +0100
@@ -1,0 +2,14 @@
+Mon Mar 23 23:35:05 UTC 2015 - crrodrig...@opensuse.org
+
+- Use -std=gnu++11 in CXXFLAGS, fix build with gcc5. 
+
+---
+Thu Mar 19 16:35:14 UTC 2015 - astie...@suse.com
+
+- pinentry 0.9.1:
+ * Fixed build problems for systems without ncurses.
+ * Reworked the option parser to allow building on systems without
+   getopt_long.
+ * Fixed Qt4 build problems.
+
+---

Old:

  pinentry-0.9.0.tar.bz2
  pinentry-0.9.0.tar.bz2.sig

New:

  pinentry-0.9.1.tar.bz2
  pinentry-0.9.1.tar.bz2.sig



Other differences:
--
++ pinentry.spec ++
--- /var/tmp/diff_new_pack.UoEYqM/_old  2015-03-25 21:04:15.0 +0100
+++ /var/tmp/diff_new_pack.UoEYqM/_new  2015-03-25 21:04:15.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package pinentry
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
 
 %global ncursesw_config %(set -- %{_bindir}/ncursesw*-config; echo 
${1})
 Name:   pinentry
-Version:0.9.0
+Version:0.9.1
 Release:0
 Summary:Collection of Simple PIN or Passphrase Entry Dialogs
 License:GPL-2.0+
@@ -82,7 +82,7 @@
 moc qt4/qsecurelineedit.h  qt4/qsecurelineedit.moc
 moc qt4/pinentryconfirm.h  qt4/pinentryconfirm.moc
 export CFLAGS=%{optflags} $(%{ncursesw_config} --cflags)
-export CXXFLAGS=%{optflags} $(%{ncursesw_config} --cflags)
+export CXXFLAGS=%{optflags} -std=gnu++11 $(%{ncursesw_config} --cflags)
 %configure \
--enable-pinentry-curses \
--enable-pinentry-qt4 \

++ pinentry-0.9.0.tar.bz2 - pinentry-0.9.1.tar.bz2 ++
 12966 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit pinentry for openSUSE:Factory

2014-11-14 Thread h_root
Hello community,

here is the log from the commit of package pinentry for openSUSE:Factory 
checked in at 2014-11-14 09:18:22

Comparing /work/SRC/openSUSE:Factory/pinentry (Old)
 and  /work/SRC/openSUSE:Factory/.pinentry.new (New)


Package is pinentry

Changes:

--- /work/SRC/openSUSE:Factory/pinentry/pinentry.changes2014-10-31 
18:27:17.0 +0100
+++ /work/SRC/openSUSE:Factory/.pinentry.new/pinentry.changes   2014-11-14 
09:18:24.0 +0100
@@ -1,0 +2,14 @@
+Sat Nov  1 19:00:59 UTC 2014 - andreas.stie...@gmx.de
+
+- pinentry 0.9.0:
+  * New command SETREPEAT.  Currently only supported for Gtk+-2.
+  * Gtk+-2: Pasting using the mouse is now supported.
+  * curses: Check that it is actually connected to a tty.
+  * Removed the old qt-3 and gtk+-1 pinentries.
+- remove obsolete patches:
+  pinentry-0.7.2-bnc179996_disable_inputmethod_for_passords.patch
+  pinentry-0.8.1-allow_paste_gtk2.patch
+- remove build dependencies and autoconf call, removing patch
+  pinentry-0.8.1-tinfo.patch
+
+---

Old:

  pinentry-0.7.2-bnc179996_disable_inputmethod_for_passords.patch
  pinentry-0.8.1-allow_paste_gtk2.patch
  pinentry-0.8.1-tinfo.patch
  pinentry-0.8.4.tar.bz2
  pinentry-0.8.4.tar.bz2.sig

New:

  pinentry-0.9.0.tar.bz2
  pinentry-0.9.0.tar.bz2.sig



Other differences:
--
++ pinentry.spec ++
--- /var/tmp/diff_new_pack.BnHlHK/_old  2014-11-14 09:18:25.0 +0100
+++ /var/tmp/diff_new_pack.BnHlHK/_new  2014-11-14 09:18:25.0 +0100
@@ -18,7 +18,7 @@
 
 %global ncursesw_config %(set -- %{_bindir}/ncursesw*-config; echo 
${1})
 Name:   pinentry
-Version:0.8.4
+Version:0.9.0
 Release:0
 Summary:Collection of Simple PIN or Passphrase Entry Dialogs
 License:GPL-2.0+
@@ -30,18 +30,8 @@
 Source3:pinentry
 Patch0: moreSecureMemoryForPinentry-qt.diff
 Patch1: pinentry-0.7.2-gtk+-2.4.diff
-Patch2: pinentry-0.7.2-bnc179996_disable_inputmethod_for_passords.patch
-# PATCH-FIX-UPSTREAM allow paste for pinentry-gtk-2 (bnc#690514)
-Patch5: pinentry-0.8.1-allow_paste_gtk2.patch
 # PATCH-FIX-SUSE fix qt4 password entry not to allow IM (bnc#725471)
 Patch6: qt4-disable-inputmethod-for-passwords.diff
-# PATCH-FIX-SUSE add -ltinfo to fix build
-Patch8: pinentry-0.8.1-tinfo.patch
-BuildRequires:  automake = 1.10
-BuildRequires:  cmake
-BuildRequires:  libcap-devel
-BuildRequires:  libdrm-devel
-BuildRequires:  libjpeg-devel
 BuildRequires:  libqt4-devel
 BuildRequires:  ncurses-devel
 BuildRequires:  update-desktop-files
@@ -84,14 +74,9 @@
 %setup -q
 %patch0 -p1
 %patch1 -p1
-%patch2 -p1
-%patch5 -p1
 %patch6 -p1
-%patch8 -p1
 
 %build
-cp %{_datadir}/gettext/config.rpath .
-autoreconf -fi
 # Regenerate moc's
 moc qt4/pinentrydialog.h  qt4/pinentrydialog.moc
 moc qt4/qsecurelineedit.h  qt4/qsecurelineedit.moc

++ pinentry-0.8.4.tar.bz2 - pinentry-0.9.0.tar.bz2 ++
 15683 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit pinentry for openSUSE:Factory

2014-10-31 Thread h_root
Hello community,

here is the log from the commit of package pinentry for openSUSE:Factory 
checked in at 2014-10-31 18:27:14

Comparing /work/SRC/openSUSE:Factory/pinentry (Old)
 and  /work/SRC/openSUSE:Factory/.pinentry.new (New)


Package is pinentry

Changes:

--- /work/SRC/openSUSE:Factory/pinentry/pinentry.changes2014-10-01 
11:22:13.0 +0200
+++ /work/SRC/openSUSE:Factory/.pinentry.new/pinentry.changes   2014-10-31 
18:27:17.0 +0100
@@ -1,0 +2,8 @@
+Tue Oct 21 10:57:43 UTC 2014 - tchva...@suse.com
+
+- Remove qt3 helpers
+- Remove gpg verification in spec, it is done by obs automatically
+- Some whitespace changes
+- Add default defattr
+
+---



Other differences:
--
++ pinentry.spec ++
--- /var/tmp/diff_new_pack.KrhwFG/_old  2014-10-31 18:27:18.0 +0100
+++ /var/tmp/diff_new_pack.KrhwFG/_new  2014-10-31 18:27:18.0 +0100
@@ -16,6 +16,7 @@
 #
 
 
+%global ncursesw_config %(set -- %{_bindir}/ncursesw*-config; echo 
${1})
 Name:   pinentry
 Version:0.8.4
 Release:0
@@ -45,13 +46,9 @@
 BuildRequires:  ncurses-devel
 BuildRequires:  update-desktop-files
 BuildRequires:  pkgconfig(gtk+-2.0) = 2.4.0
-%if %suse_version = 1230
-BuildRequires:  gpg-offline
-%endif
-PreReq: %install_info_prereq
+Requires(post): %{install_info_prereq}
 Provides:   pinentry-dialog
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-%global ncursesw_config %(set -- %{_bindir}/ncursesw*-config; echo 
${1})
 
 %description
 This is a collection of simple PIN or passphrase entry dialogs which
@@ -64,7 +61,7 @@
 Provides:   pinentry-dialog
 Provides:   pinentry-gui
 Provides:   pinentry-qt = %{version}
-Provides:   pinentry:/usr/bin/pinentry-qt4
+Provides:   pinentry:%{_bindir}/pinentry-qt4
 Obsoletes:  pinentry-qt = 0.8.3
 
 %description qt4
@@ -77,24 +74,23 @@
 Requires:   pinentry
 Provides:   pinentry-dialog
 Provides:   pinentry-gui
-Provides:   pinentry:/usr/bin/pinentry-gtk-2
+Provides:   pinentry:%{_bindir}/pinentry-gtk-2
 
 %description gtk2
 This is a collection of simple PIN or passphrase entry dialogs which
 utilize the Assuan protocol as described by the Aegypten project.
 
 %prep
-%{?gpg_verify: %gpg_verify %{S:1}}
 %setup -q
-%patch0 -p 1
-%patch1 -p 1
-%patch2 -p 1
+%patch0 -p1
+%patch1 -p1
+%patch2 -p1
 %patch5 -p1
 %patch6 -p1
 %patch8 -p1
 
 %build
-cp /usr/share/gettext/config.rpath .
+cp %{_datadir}/gettext/config.rpath .
 autoreconf -fi
 # Regenerate moc's
 moc qt4/pinentrydialog.h  qt4/pinentrydialog.moc
@@ -107,14 +103,11 @@
--enable-pinentry-qt4 \
--enable-pinentry-gtk2 \
--enable-pinentry-tty \
-   --with-qt-dir=%{_libdir}/qt3/ \
-   --with-qt-includes=%{_libdir}/qt3/include/ \
-   --with-qt-libraries=%{_libdir}/qt3/%{_lib}/ \
--without-ncurses-include-dir
 make %{?_smp_mflags}
 
 %install
-%makeinstall DESTDIR=%{buildroot}
+make DESTDIR=%{buildroot} install %{?_smp_mflags}
 
 # remove symlink
 rm -rf %{buildroot}%{_bindir}/pinentry
@@ -135,9 +128,11 @@
 %attr(755,root,root) %{_bindir}/pinentry-curses
 
 %files qt4
+%defattr(-,root,root)
 %attr(755,root,root) %{_bindir}/pinentry-qt4
 
 %files gtk2
+%defattr(-,root,root)
 %attr(755,root,root) %{_bindir}/pinentry-gtk-2
 
 %changelog


-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit pinentry for openSUSE:Factory

2014-10-01 Thread h_root
Hello community,

here is the log from the commit of package pinentry for openSUSE:Factory 
checked in at 2014-10-01 11:22:12

Comparing /work/SRC/openSUSE:Factory/pinentry (Old)
 and  /work/SRC/openSUSE:Factory/.pinentry.new (New)


Package is pinentry

Changes:

--- /work/SRC/openSUSE:Factory/pinentry/pinentry.changes2013-12-30 
10:27:59.0 +0100
+++ /work/SRC/openSUSE:Factory/.pinentry.new/pinentry.changes   2014-10-01 
11:22:13.0 +0200
@@ -1,0 +2,14 @@
+Sun Sep 21 22:21:38 UTC 2014 - andreas.stie...@gmx.de
+
+- pinentry 0.8.4:
+  * New pinentry-tty version for dumb terminals.
+  * Qt4: New option to enable pasting the passphrase from clipboard
+  * Qt4: Improved accessiblity
+  * Qt4: Raise confirm message windows into foreground
+  * Improved the build system.
+- remove pinentry-0.8.1-allow_paste_qt4.patch, functionality
+  implemented
+- sync pinentry wrapper with Fedora
+- update pinentry wrapper to use pinentry-tty on dumb terminals
+
+---

Old:

  pinentry-0.8.1-allow_paste_qt4.patch
  pinentry-0.8.3.tar.bz2
  pinentry-0.8.3.tar.bz2.sig

New:

  pinentry-0.8.4.tar.bz2
  pinentry-0.8.4.tar.bz2.sig



Other differences:
--
++ pinentry.spec ++
--- /var/tmp/diff_new_pack.E3PkQV/_old  2014-10-01 11:22:15.0 +0200
+++ /var/tmp/diff_new_pack.E3PkQV/_new  2014-10-01 11:22:15.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package pinentry
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:   pinentry
-Version:0.8.3
+Version:0.8.4
 Release:0
 Summary:Collection of Simple PIN or Passphrase Entry Dialogs
 License:GPL-2.0+
@@ -30,8 +30,6 @@
 Patch0: moreSecureMemoryForPinentry-qt.diff
 Patch1: pinentry-0.7.2-gtk+-2.4.diff
 Patch2: pinentry-0.7.2-bnc179996_disable_inputmethod_for_passords.patch
-# PATCH-FIX-UPSTREAM allow paste for pinentry-qt4 (bnc#690514)
-Patch4: pinentry-0.8.1-allow_paste_qt4.patch
 # PATCH-FIX-UPSTREAM allow paste for pinentry-gtk-2 (bnc#690514)
 Patch5: pinentry-0.8.1-allow_paste_gtk2.patch
 # PATCH-FIX-SUSE fix qt4 password entry not to allow IM (bnc#725471)
@@ -46,7 +44,7 @@
 BuildRequires:  libqt4-devel
 BuildRequires:  ncurses-devel
 BuildRequires:  update-desktop-files
-BuildRequires:  pkgconfig(gtk+-2.0)
+BuildRequires:  pkgconfig(gtk+-2.0) = 2.4.0
 %if %suse_version = 1230
 BuildRequires:  gpg-offline
 %endif
@@ -59,9 +57,7 @@
 This is a collection of simple PIN or passphrase entry dialogs which
 utilize the Assuan protocol as described by the Aegypten project.
 
-%package -n pinentry-qt4
-Version:%{version}
-Release:0
+%package qt4
 Summary:Collection of Simple PIN or Passphrase Entry Dialogs
 Group:  Productivity/Other
 Requires:   pinentry
@@ -71,13 +67,11 @@
 Provides:   pinentry:/usr/bin/pinentry-qt4
 Obsoletes:  pinentry-qt = 0.8.3
 
-%description -n pinentry-qt4
+%description qt4
 This is a collection of simple PIN or passphrase entry dialogs which
 utilize the Assuan protocol as described by the Aegypten project.
 
-%package -n pinentry-gtk2
-Version:%{version}
-Release:0
+%package gtk2
 Summary:Collection of Simple PIN or Passphrase Entry Dialogs
 Group:  Productivity/Other
 Requires:   pinentry
@@ -85,7 +79,7 @@
 Provides:   pinentry-gui
 Provides:   pinentry:/usr/bin/pinentry-gtk-2
 
-%description -n pinentry-gtk2
+%description gtk2
 This is a collection of simple PIN or passphrase entry dialogs which
 utilize the Assuan protocol as described by the Aegypten project.
 
@@ -95,7 +89,6 @@
 %patch0 -p 1
 %patch1 -p 1
 %patch2 -p 1
-%patch4 -p1
 %patch5 -p1
 %patch6 -p1
 %patch8 -p1
@@ -106,12 +99,14 @@
 # Regenerate moc's
 moc qt4/pinentrydialog.h  qt4/pinentrydialog.moc
 moc qt4/qsecurelineedit.h  qt4/qsecurelineedit.moc
+moc qt4/pinentryconfirm.h  qt4/pinentryconfirm.moc
 export CFLAGS=%{optflags} $(%{ncursesw_config} --cflags)
 export CXXFLAGS=%{optflags} $(%{ncursesw_config} --cflags)
 %configure \
--enable-pinentry-curses \
--enable-pinentry-qt4 \
--enable-pinentry-gtk2 \
+   --enable-pinentry-tty \
--with-qt-dir=%{_libdir}/qt3/ \
--with-qt-includes=%{_libdir}/qt3/include/ \
--with-qt-libraries=%{_libdir}/qt3/%{_lib}/ \
@@ -136,12 +131,13 @@
 %doc AUTHORS COPYING ChangeLog NEWS README
 %doc %{_infodir}/pinentry*
 

commit pinentry for openSUSE:Factory

2013-12-30 Thread h_root
Hello community,

here is the log from the commit of package pinentry for openSUSE:Factory 
checked in at 2013-12-30 10:27:58

Comparing /work/SRC/openSUSE:Factory/pinentry (Old)
 and  /work/SRC/openSUSE:Factory/.pinentry.new (New)


Package is pinentry

Changes:

--- /work/SRC/openSUSE:Factory/pinentry/pinentry.changes2013-08-21 
15:00:19.0 +0200
+++ /work/SRC/openSUSE:Factory/.pinentry.new/pinentry.changes   2013-12-30 
10:27:59.0 +0100
@@ -1,0 +2,5 @@
+Sat Dec 21 08:07:10 UTC 2013 - co...@suse.com
+
+- disable qt3 support to avoid maintaining qt3 forever
+
+---



Other differences:
--
++ pinentry.spec ++
--- /var/tmp/diff_new_pack.wzAQg1/_old  2013-12-30 10:28:00.0 +0100
+++ /var/tmp/diff_new_pack.wzAQg1/_new  2013-12-30 10:28:00.0 +0100
@@ -45,7 +45,6 @@
 BuildRequires:  libjpeg-devel
 BuildRequires:  libqt4-devel
 BuildRequires:  ncurses-devel
-BuildRequires:  qt3-devel
 BuildRequires:  update-desktop-files
 BuildRequires:  pkgconfig(gtk+-2.0)
 %if %suse_version = 1230
@@ -60,31 +59,17 @@
 This is a collection of simple PIN or passphrase entry dialogs which
 utilize the Assuan protocol as described by the Aegypten project.
 
-%package -n pinentry-qt
-Version:%{version}
-Release:0
-Summary:Collection of Simple PIN or Passphrase Entry Dialogs
-License:GPL-2.0
-Group:  Productivity/Other
-Requires:   pinentry
-Provides:   pinentry-dialog
-Provides:   pinentry-gui
-Provides:   pinentry:/usr/bin/pinentry-qt
-
-%description -n pinentry-qt
-This is a collection of simple PIN or passphrase entry dialogs which
-utilize the Assuan protocol as described by the Aegypten project.
-
 %package -n pinentry-qt4
 Version:%{version}
 Release:0
 Summary:Collection of Simple PIN or Passphrase Entry Dialogs
-License:GPL-2.0+
 Group:  Productivity/Other
 Requires:   pinentry
 Provides:   pinentry-dialog
 Provides:   pinentry-gui
+Provides:   pinentry-qt = %{version}
 Provides:   pinentry:/usr/bin/pinentry-qt4
+Obsoletes:  pinentry-qt = 0.8.3
 
 %description -n pinentry-qt4
 This is a collection of simple PIN or passphrase entry dialogs which
@@ -94,7 +79,6 @@
 Version:%{version}
 Release:0
 Summary:Collection of Simple PIN or Passphrase Entry Dialogs
-License:GPL-2.0+
 Group:  Productivity/Other
 Requires:   pinentry
 Provides:   pinentry-dialog
@@ -126,7 +110,6 @@
 export CXXFLAGS=%{optflags} $(%{ncursesw_config} --cflags)
 %configure \
--enable-pinentry-curses \
-   --enable-pinentry-qt \
--enable-pinentry-qt4 \
--enable-pinentry-gtk2 \
--with-qt-dir=%{_libdir}/qt3/ \
@@ -155,9 +138,6 @@
 %attr(755,root,root) %{_bindir}/pinentry
 %attr(755,root,root) %{_bindir}/pinentry-curses
 
-%files -n pinentry-qt
-%attr(755,root,root) %{_bindir}/pinentry-qt
-
 %files -n pinentry-qt4
 %attr(755,root,root) %{_bindir}/pinentry-qt4
 


-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit pinentry for openSUSE:Factory

2013-08-21 Thread h_root
Hello community,

here is the log from the commit of package pinentry for openSUSE:Factory 
checked in at 2013-08-21 15:00:18

Comparing /work/SRC/openSUSE:Factory/pinentry (Old)
 and  /work/SRC/openSUSE:Factory/.pinentry.new (New)


Package is pinentry

Changes:

--- /work/SRC/openSUSE:Factory/pinentry/pinentry.changes2013-04-22 
14:31:33.0 +0200
+++ /work/SRC/openSUSE:Factory/.pinentry.new/pinentry.changes   2013-08-21 
15:00:19.0 +0200
@@ -1,0 +2,14 @@
+Mon Aug 19 21:53:03 UTC 2013 - andreas.stie...@gmx.de
+
+- update to 0.8.3
+  * Add SETTIMEOUT command for the gtk+-2 pinentry.
+- includes changes from 0.8.2:
+  * New SETTIMEOUT command for the qt4 pinentry.
+  * Wide character support for the curses pinentry.
+( already present in openSUSE patched version)
+  * Various bug fixes.
+- drop pinentry-0.7.2-curses-utf-8.diff, implemented upstream
+- drop pinentry-0.8.1-editing-cancelled_warning.patch, same
+- refresh qt4-disable-inputmethod-for-passwords.diff
+
+---

Old:

  pinentry-0.7.2-curses-utf-8.diff
  pinentry-0.8.1-editing-cancelled_warning.patch
  pinentry-0.8.1.tar.gz
  pinentry-0.8.1.tar.gz.sig

New:

  pinentry-0.8.3.tar.bz2
  pinentry-0.8.3.tar.bz2.sig



Other differences:
--
++ pinentry.spec ++
--- /var/tmp/diff_new_pack.Hwnn0b/_old  2013-08-21 15:00:20.0 +0200
+++ /var/tmp/diff_new_pack.Hwnn0b/_new  2013-08-21 15:00:20.0 +0200
@@ -17,31 +17,28 @@
 
 
 Name:   pinentry
-Version:0.8.1
+Version:0.8.3
 Release:0
 Summary:Collection of Simple PIN or Passphrase Entry Dialogs
 License:GPL-2.0+
 Group:  Productivity/Other
 Url:http://www.gnupg.org/aegypten/
-Source: ftp://ftp.gnupg.org/gcrypt/pinentry/pinentry-%{version}.tar.gz
-Source1:ftp://ftp.gnupg.org/gcrypt/pinentry/pinentry-0.8.1.tar.gz.sig
+Source: ftp://ftp.gnupg.org/gcrypt/pinentry/%{name}-%{version}.tar.bz2
+Source1:
ftp://ftp.gnupg.org/gcrypt/pinentry/%{name}-%{version}.tar.bz2.sig
 Source2:pinentry.keyring
 Source3:pinentry
 Patch0: moreSecureMemoryForPinentry-qt.diff
 Patch1: pinentry-0.7.2-gtk+-2.4.diff
 Patch2: pinentry-0.7.2-bnc179996_disable_inputmethod_for_passords.patch
-Patch3: pinentry-0.7.2-curses-utf-8.diff
 # PATCH-FIX-UPSTREAM allow paste for pinentry-qt4 (bnc#690514)
 Patch4: pinentry-0.8.1-allow_paste_qt4.patch
 # PATCH-FIX-UPSTREAM allow paste for pinentry-gtk-2 (bnc#690514)
 Patch5: pinentry-0.8.1-allow_paste_gtk2.patch
 # PATCH-FIX-SUSE fix qt4 password entry not to allow IM (bnc#725471)
 Patch6: qt4-disable-inputmethod-for-passwords.diff
-# PATCH-FIX-UPSTREAM prevents glib warning (bnc#690514)
-Patch7: pinentry-0.8.1-editing-cancelled_warning.patch
 # PATCH-FIX-SUSE add -ltinfo to fix build
 Patch8: pinentry-0.8.1-tinfo.patch
-BuildRequires:  automake
+BuildRequires:  automake = 1.10
 BuildRequires:  cmake
 BuildRequires:  libcap-devel
 BuildRequires:  libdrm-devel
@@ -114,11 +111,9 @@
 %patch0 -p 1
 %patch1 -p 1
 %patch2 -p 1
-%patch3
 %patch4 -p1
 %patch5 -p1
 %patch6 -p1
-%patch7 -p1
 %patch8 -p1
 
 %build

++ pinentry-0.8.1-tinfo.patch ++
--- /var/tmp/diff_new_pack.Hwnn0b/_old  2013-08-21 15:00:20.0 +0200
+++ /var/tmp/diff_new_pack.Hwnn0b/_new  2013-08-21 15:00:20.0 +0200
@@ -1,13 +1,17 @@
-Index: pinentry-0.8.1/m4/curses.m4
+---
+ m4/curses.m4 |2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+Index: pinentry-0.8.3/m4/curses.m4
 ===
 pinentry-0.8.1.orig/m4/curses.m4   2011-11-22 15:56:56.0 +0100
-+++ pinentry-0.8.1/m4/curses.m42011-11-22 16:33:06.707257991 +0100
-@@ -28,7 +28,7 @@
+--- pinentry-0.8.3.orig/m4/curses.m4   2013-08-19 22:44:42.0 +0100
 pinentry-0.8.3/m4/curses.m42013-08-19 22:44:56.0 +0100
+@@ -28,7 +28,7 @@ AC_DEFUN([IU_LIB_NCURSES], [
AC_ARG_ENABLE(ncurses,[  --disable-ncurses   don't prefer -lncurses 
over -lcurses],
, enable_ncurses=yes)
if test $enable_ncurses = yes; then
--AC_CHECK_LIB(ncursesw, initscr, LIBNCURSES=-lncursesw)
-+AC_CHECK_LIB(ncursesw, initscr, LIBNCURSES=-lncursesw -ltinfo)
- if test $LIBNCURSES; then
-   # Use ncurses header files instead of the ordinary ones, if possible;
-   # is there a better way of doing this, that avoids looking in specific
+-AC_CHECK_LIB(ncursesw, initscr, LIBNCURSES=-lncursesw,
++AC_CHECK_LIB(ncursesw, initscr, LIBNCURSES=-lncursesw -ltinfo,
+   AC_CHECK_LIB(ncurses, initscr, LIBNCURSES=-lncurses))

commit pinentry for openSUSE:Factory

2011-12-06 Thread h_root
Hello community,

here is the log from the commit of package pinentry for openSUSE:Factory 
checked in at 2011-12-06 16:24:29

Comparing /work/SRC/openSUSE:Factory/pinentry (Old)
 and  /work/SRC/openSUSE:Factory/.pinentry.new (New)


Package is pinentry, Maintainer is vci...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/pinentry/pinentry.changes2011-11-23 
19:37:38.0 +0100
+++ /work/SRC/openSUSE:Factory/.pinentry.new/pinentry.changes   2011-12-06 
16:24:29.0 +0100
@@ -1,0 +2,10 @@
+Mon Dec  5 09:02:39 UTC 2011 - vci...@suse.com
+
+- fixed licence of the pinentry-qt subpackage (bnc#734792)
+
+---
+Wed Nov 30 14:22:55 UTC 2011 - co...@suse.com
+
+- add automake as buildrequire to avoid implicit dependency
+
+---



Other differences:
--
++ pinentry.spec ++
--- /var/tmp/diff_new_pack.dwU3E4/_old  2011-12-06 16:24:31.0 +0100
+++ /var/tmp/diff_new_pack.dwU3E4/_new  2011-12-06 16:24:31.0 +0100
@@ -19,8 +19,8 @@
 
 Name:   pinentry
 Version:0.8.1
-Release:1
-License:GPLv2+
+Release:0
+License:GPL-2.0+
 Summary:Collection of Simple PIN or Passphrase Entry Dialogs
 Url:http://www.gnupg.org/aegypten/
 Group:  Productivity/Other
@@ -40,6 +40,7 @@
 Patch7: pinentry-0.8.1-editing-cancelled_warning.patch
 # PATCH-FIX-SUSE add -ltinfo to fix build
 Patch8: pinentry-0.8.1-tinfo.patch
+BuildRequires:  automake
 BuildRequires:  cmake
 BuildRequires:  libcap-devel
 BuildRequires:  libdrm-devel
@@ -60,10 +61,9 @@
 
 %package -n pinentry-qt
 Version:%{version}
-Release:19
-License:GPLv2+
+Release:0
+License:GPL-2.0
 Summary:Collection of Simple PIN or Passphrase Entry Dialogs
-Group:  Productivity/Other
 Requires:   pinentry
 Provides:   pinentry-dialog
 Provides:   pinentry-gui
@@ -75,10 +75,8 @@
 
 %package -n pinentry-qt4
 Version:%{version}
-Release:10
-License:GPLv2+
+Release:0
 Summary:Collection of Simple PIN or Passphrase Entry Dialogs
-Group:  Productivity/Other
 Requires:   pinentry
 Provides:   pinentry-dialog
 Provides:   pinentry-gui
@@ -90,10 +88,8 @@
 
 %package -n pinentry-gtk2
 Version:%{version}
-Release:19
-License:GPLv2+
+Release:0
 Summary:Collection of Simple PIN or Passphrase Entry Dialogs
-Group:  Productivity/Other
 Requires:   pinentry
 Provides:   pinentry-dialog
 Provides:   pinentry-gui

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit pinentry for openSUSE:Factory

2011-11-23 Thread h_root
Hello community,

here is the log from the commit of package pinentry for openSUSE:Factory 
checked in at 2011-11-23 19:37:34

Comparing /work/SRC/openSUSE:Factory/pinentry (Old)
 and  /work/SRC/openSUSE:Factory/.pinentry.new (New)


Package is pinentry, Maintainer is vci...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/pinentry/pinentry.changes2011-10-26 
15:43:42.0 +0200
+++ /work/SRC/openSUSE:Factory/.pinentry.new/pinentry.changes   2011-11-23 
19:37:38.0 +0100
@@ -1,0 +2,6 @@
+Tue Nov 22 15:57:45 UTC 2011 - vci...@suse.com
+
+- patch that fixes Glib warning (bnc#730453)
+- add -ltinfo to fix build
+
+---

New:

  pinentry-0.8.1-editing-cancelled_warning.patch
  pinentry-0.8.1-tinfo.patch



Other differences:
--
++ pinentry.spec ++
--- /var/tmp/diff_new_pack.pAqWIo/_old  2011-11-23 19:37:40.0 +0100
+++ /var/tmp/diff_new_pack.pAqWIo/_new  2011-11-23 19:37:40.0 +0100
@@ -36,6 +36,10 @@
 Patch5: pinentry-0.8.1-allow_paste_gtk2.patch
 # PATCH-FIX-SUSE fix qt4 password entry not to allow IM (bnc#725471)
 Patch6: qt4-disable-inputmethod-for-passwords.diff
+# PATCH-FIX-UPSTREAM prevents glib warning (bnc#690514)
+Patch7: pinentry-0.8.1-editing-cancelled_warning.patch
+# PATCH-FIX-SUSE add -ltinfo to fix build
+Patch8: pinentry-0.8.1-tinfo.patch
 BuildRequires:  cmake
 BuildRequires:  libcap-devel
 BuildRequires:  libdrm-devel
@@ -108,6 +112,8 @@
 %patch4 -p1
 %patch5 -p1
 %patch6 -p1
+%patch7 -p1
+%patch8 -p1
 
 %build
 cp /usr/share/gettext/config.rpath .

++ pinentry-0.8.1-editing-cancelled_warning.patch ++
Index: pinentry-0.8.1/gtk+-2/gtksecentry.c
===
--- pinentry-0.8.1.orig/gtk+-2/gtksecentry.c2011-11-22 15:56:56.909315227 
+0100
+++ pinentry-0.8.1/gtk+-2/gtksecentry.c 2011-11-22 15:56:56.941316154 +0100
@@ -22,7 +22,7 @@
  * Modified by the GTK+ Team and others 1997-2000.  See the AUTHORS
  * file for a list of people on the GTK+ Team.  See the ChangeLog
  * files for a list of changes.  These files are distributed with
- * GTK+ at ftp://ftp.gtk.org/pub/gtk/. 
+ * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
  */
 
 /*
@@ -71,7 +71,8 @@
 PROP_ACTIVATES_DEFAULT,
 PROP_WIDTH_CHARS,
 PROP_SCROLL_OFFSET,
-PROP_TEXT
+PROP_TEXT,
+PROP_EDITING_CANCELED
 };
 
 static guint signals[LAST_SIGNAL] = { 0 };
@@ -428,6 +429,10 @@
 class-delete_from_cursor = gtk_secure_entry_delete_from_cursor;
 class-activate = gtk_secure_entry_real_activate;
 
+g_object_class_override_property (gobject_class,
+  PROP_EDITING_CANCELED,
+  editing-canceled);
+
 g_object_class_install_property(gobject_class,
PROP_CURSOR_POSITION,
g_param_spec_int(cursor_position,
@@ -723,6 +728,14 @@
gtk_secure_entry_set_text(entry, g_value_get_string(value));
break;
 
+case PROP_EDITING_CANCELED:
+  /* We may want to implement the GtkCelllEditable methods.
+ However it is only used by GtkTreeView and we don't use that
+ here.  We provide this property only to get rid of a Gtk+
+ runtime warning.  */
+entry-editing_canceled = g_value_get_boolean (value);
+break;
+
 case PROP_SCROLL_OFFSET:
 case PROP_CURSOR_POSITION:
 default:
@@ -766,6 +779,9 @@
 case PROP_TEXT:
g_value_set_string(value, gtk_secure_entry_get_text(entry));
break;
+case PROP_EDITING_CANCELED:
+g_value_set_boolean (value, entry-editing_canceled);
+break;
 
 default:
G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec);
@@ -2704,14 +2720,14 @@
  *   be clamped to the range 0-65536.
  *
  * Creates a new #GtkSecureEntry widget with the given maximum length.
- * 
+ *
  * Note: the existence of this function is inconsistent
  * with the rest of the GTK+ API. The normal setup would
  * be to just require the user to make an extra call
  * to gtk_secure_entry_set_max_length() instead. It is not
  * expected that this function will be removed, but
  * it would be better practice not to use it.
- * 
+ *
  * Return value: a new #GtkSecureEntry.
  **/
 GtkWidget *
@@ -2784,7 +2800,7 @@
  * gtk_secure_entry_set_invisible_char:
  * @entry: a #GtkSecureEntry
  * @ch: a Unicode character
- * 
+ *
  * Sets the character to use in place of the actual text when
  * gtk_secure_entry_set_visibility() has been called to set text visibility
  * to %FALSE. i.e. this is the character used in password mode to
@@ -2792,7 +2808,7 @@
  * invisible 

commit pinentry for openSUSE:Factory

2011-10-26 Thread h_root
Hello community,

here is the log from the commit of package pinentry for openSUSE:Factory 
checked in at 2011-10-26 15:32:09

Comparing /work/SRC/openSUSE:Factory/pinentry (Old)
 and  /work/SRC/openSUSE:Factory/.pinentry.new (New)


Package is pinentry, Maintainer is vci...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/pinentry/pinentry.changes2011-09-23 
12:41:09.0 +0200
+++ /work/SRC/openSUSE:Factory/.pinentry.new/pinentry.changes   2011-10-26 
15:43:42.0 +0200
@@ -1,0 +2,5 @@
+Fri Oct 21 14:08:20 CEST 2011 - ti...@suse.de
+
+- fix pinentry-qt4 not to allow triggering IM (bnc#725471)
+
+---

New:

  qt4-disable-inputmethod-for-passwords.diff



Other differences:
--
++ pinentry.spec ++
--- /var/tmp/diff_new_pack.0kIDsQ/_old  2011-10-26 15:43:49.0 +0200
+++ /var/tmp/diff_new_pack.0kIDsQ/_new  2011-10-26 15:43:49.0 +0200
@@ -34,6 +34,8 @@
 Patch4: pinentry-0.8.1-allow_paste_qt4.patch
 # PATCH-FIX-UPSTREAM allow paste for pinentry-gtk-2 (bnc#690514)
 Patch5: pinentry-0.8.1-allow_paste_gtk2.patch
+# PATCH-FIX-SUSE fix qt4 password entry not to allow IM (bnc#725471)
+Patch6: qt4-disable-inputmethod-for-passwords.diff
 BuildRequires:  cmake
 BuildRequires:  libcap-devel
 BuildRequires:  libdrm-devel
@@ -105,6 +107,7 @@
 %patch3
 %patch4 -p1
 %patch5 -p1
+%patch6 -p1
 
 %build
 cp /usr/share/gettext/config.rpath .

++ qt4-disable-inputmethod-for-passwords.diff ++
--- a/qt4/qsecurelineedit.cpp
+++ b/qt4/qsecurelineedit.cpp
@@ -2690,7 +2690,7 @@
 q-setCursor(Qt::IBeamCursor);
 #endif
 q-setFocusPolicy(Qt::StrongFocus);
-q-setAttribute(Qt::WA_InputMethodEnabled);
+q-setAttribute(Qt::WA_InputMethodEnabled, false);
 //   Specifies that this widget can use more, but is able to survive on
 //   less, horizontal space; and is fixed vertically.
 q-setSizePolicy(QSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed, 
QSizePolicy::LineEdit));
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit pinentry for openSUSE:Factory

2011-09-19 Thread h_root

Hello community,

here is the log from the commit of package pinentry for openSUSE:Factory
checked in at Mon Sep 19 18:01:26 CEST 2011.




--- pinentry/pinentry.changes   2011-03-25 09:54:35.0 +0100
+++ pinentry/pinentry.changes   2011-09-16 15:28:11.0 +0200
@@ -1,0 +2,10 @@
+Wed Sep 14 15:43:02 UTC 2011 - vci...@suse.com
+
+- enable paste for pinentry-gtk2 (bnc#690514)
+
+---
+Tue Sep 13 15:41:23 UTC 2011 - vci...@suse.com
+
+- enable paste for pinentry-qt4 (bnc#690514)
+
+---

calling whatdependson for head-i586


New:

  pinentry-0.8.1-allow_paste_gtk2.patch
  pinentry-0.8.1-allow_paste_qt4.patch



Other differences:
--
++ pinentry.spec ++
--- /var/tmp/diff_new_pack.hVVc3b/_old  2011-09-19 18:01:23.0 +0200
+++ /var/tmp/diff_new_pack.hVVc3b/_new  2011-09-19 18:01:23.0 +0200
@@ -30,6 +30,10 @@
 Patch1: pinentry-0.7.2-gtk+-2.4.diff
 Patch2: pinentry-0.7.2-bnc179996_disable_inputmethod_for_passords.patch
 Patch3: pinentry-0.7.2-curses-utf-8.diff
+# PATCH-FIX-UPSTREAM allow paste for pinentry-qt4 (bnc#690514)
+Patch4: pinentry-0.8.1-allow_paste_qt4.patch
+# PATCH-FIX-UPSTREAM allow paste for pinentry-gtk-2 (bnc#690514)
+Patch5: pinentry-0.8.1-allow_paste_gtk2.patch
 BuildRequires:  cmake
 BuildRequires:  libcap-devel
 BuildRequires:  libdrm-devel
@@ -99,6 +103,8 @@
 %patch1 -p 1
 %patch2 -p 1
 %patch3
+%patch4 -p1
+%patch5 -p1
 
 %build
 cp /usr/share/gettext/config.rpath .

++ pinentry-0.8.1-allow_paste_gtk2.patch ++
Index: pinentry-0.8.1/gtk+-2/gtksecentry.c
===
--- pinentry-0.8.1.orig/gtk+-2/gtksecentry.c2010-04-19 13:25:38.0 
+0200
+++ pinentry-0.8.1/gtk+-2/gtksecentry.c 2011-09-16 15:07:38.317559117 +0200
@@ -56,6 +56,7 @@
 ACTIVATE,
 MOVE_CURSOR,
 INSERT_AT_CURSOR,
+PASTE_CLIPBOARD,
 DELETE_FROM_CURSOR,
 LAST_SIGNAL
 };
@@ -166,6 +167,7 @@
 gboolean extend_selection);
 static void gtk_secure_entry_insert_at_cursor(GtkSecureEntry * entry,
  const gchar * str);
+static void gtk_secure_entry_paste_clipboard(GtkSecureEntry * entry);
 static void gtk_secure_entry_delete_from_cursor(GtkSecureEntry * entry,
GtkDeleteType type,
gint count);
@@ -422,6 +424,7 @@
 
 class-move_cursor = gtk_secure_entry_move_cursor;
 class-insert_at_cursor = gtk_secure_entry_insert_at_cursor;
+class-paste_clipboard = gtk_secure_entry_paste_clipboard;
 class-delete_from_cursor = gtk_secure_entry_delete_from_cursor;
 class-activate = gtk_secure_entry_real_activate;
 
@@ -530,6 +533,14 @@
 _gtk_marshal_VOID__STRING, G_TYPE_NONE, 1,
 G_TYPE_STRING);
 
+signals[PASTE_CLIPBOARD] =
+   g_signal_new(paste_clipboard,
+G_OBJECT_CLASS_TYPE(gobject_class),
+G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION,
+G_STRUCT_OFFSET(GtkSecureEntryClass, paste_clipboard),
+NULL, NULL,
+_gtk_marshal_VOID__VOID, G_TYPE_NONE, 0);
+
 signals[DELETE_FROM_CURSOR] =
g_signal_new(delete_from_cursor,
 G_OBJECT_CLASS_TYPE(gobject_class),
@@ -650,6 +661,13 @@
 GDK_CONTROL_MASK, delete_from_cursor, 2,
 G_TYPE_ENUM, GTK_DELETE_WORD_ENDS,
 G_TYPE_INT, -1);
+
+/* activate clipboard */
+/* TODO: mouse middle button */
+gtk_binding_entry_add_signal (binding_set, GDK_v, GDK_CONTROL_MASK,
+ paste_clipboard, 0);
+gtk_binding_entry_add_signal (binding_set, GDK_Insert, GDK_SHIFT_MASK,
+ paste_clipboard, 0);
 }
 
 static void
@@ -1253,6 +1271,7 @@
 gtk_secure_entry_key_press(GtkWidget * widget, GdkEventKey * event)
 {
 GtkSecureEntry *entry = GTK_SECURE_ENTRY(widget);
+GtkEditable *editable = GTK_EDITABLE (widget);
 
 gtk_secure_entry_pend_cursor_blink(entry);
 
@@ -1804,6 +1823,36 @@
 }
 
 static void
+paste_from_clipboard (GtkClipboard *clipboard,
+  const gchar *text, gpointer data)
+{
+GtkSecureEntry *entry = GTK_SECURE_ENTRY(data);
+GtkEditable *editable = GTK_EDITABLE(entry);
+gint length;
+
+if (!text) return;
+
+length = strlen(text);
+gint pos = entry-current_pos + length;
+
+gtk_secure_entry_insert_text(entry, text, length, pos);
+gtk_editable_set_position(editable, pos);
+}
+
+/* TODO: gtk_secure_entry_copy_clipboard (editable); */
+/* TODO: