<div dir="ltr"><div><div><div><div>Thank you for the clarification.<br></div>I was using the debian source as base for my work. <br><br></div>The above made tqt visible, but when trying to compile (create debian packages on stretch) <br></div><div>configure:<br><br> Pinentry v1.0.1-beta34 has been configured as follows:<br><br> Revision: 4ebfa0b (20159)<br> Platform: x86_64-pc-linux-gnu<br><br> Curses Pinentry ..: no<br> TTY Pinentry .....: yes<br> Emacs Pinentry ...: no<br> GTK+-2 Pinentry ..: no<br> GNOME 3 Pinentry .: no<br> Qt Pinentry ......: no<br> TQt Pinentry .....: yes<br> W32 Pinentry .....: no<br> FLTK Pinentry ....: no<br><br> Fallback to Curses: no<br> Emacs integration : no<br><br> libsecret ........: no<br><br> Default Pinentry .: pinentry-tty<br><br></div>1. I get following error:<br><br>In file included from ../../tqt/secqlineedit.cpp:1955:0:<br>./secqlineedit.moc: In member function 'virtual bool SecTQLineEdit::tqt_property(int, int, TQVariant*)':<br>./secqlineedit.moc:355:32: error: 'class SecTQLineEdit' has no member named 'hasMarkedText'; did you mean 'hasSelectedText'?<br> case 1: *v = TQVariant( this->hasMarkedText(), 0 ); break;<br> ^~~~~~~~~~~~~<br>Makefile:486: recipe for target 'secqlineedit.o' failed<br></div><div><br></div><div>=> I see #include "secqlineedit.moc" was introduced<br></div><div><br>--- pinentry-0.9.7-trinity/tqt/secqlineedit.cpp 2017-08-19 21:42:59.326843222 +0000<br>+++ pinentry-tqt/tqt/secqlineedit.cpp 2017-10-28 21:11:55.000000000 +0000<br>@@ -1951,3 +1951,5 @@<br> textDirty = TRUE;<br> }<br> }<br>+<br>+#include "secqlineedit.moc"<br><br></div>=> removing hasMarkedText (as it is flagged obsolete) solves the problem<br><div><br></div><div>2. Compile still failed with:<br></div><div><br>rm -rf $backupdir; exit $rc<br>../../doc/pinentry.texi:5: @include: could not find version.texi<br>../../doc/pinentry.texi:63: warning: undefined flag: EDITION<br>../../doc/pinentry.texi:63: warning: undefined flag: UPDATED<br>../../doc/pinentry.texi:64: warning: undefined flag: VERSION<br>../../doc/pinentry.texi:79: warning: undefined flag: VERSION<br>../../doc/pinentry.texi:80: warning: undefined flag: UPDATED<br>Makefile:402: recipe for target '../../doc/<a href="http://pinentry.info">pinentry.info</a>' failed<br>make[4]: *** [../../doc/<a href="http://pinentry.info">pinentry.info</a>] Error 1<br></div><div><br></div><div>=> creating version.texi in doc solves the problem and packages are build correctly</div><div><br></div><div>3. How we can set pinentry-tqt to default?<br></div><div><br></div><div>How can be above issues approached? I did not install and tested the packages. </div><div><br></div><div>thanks and regards<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Oct 28, 2017 at 11:01 AM, Damien Goutte-Gattat <span dir="ltr"><<a href="mailto:dgouttegattat@incenp.org" target="_blank">dgouttegattat@incenp.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 10/28/2017 01:19 AM, deloptes wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Damien,<br>
I'm sorry for bothering, but I had 5min free and cloned pinentry-tqt - I<br>
did not see tqt in this location.<br>
git clone git://<a href="http://git.incenp.org/pinentry.git" rel="noreferrer" target="_blank">git.incenp.org/pinentry.<wbr>git</a> pinentry-tqt<br>
ls pinentry-tqt/tqt<br>
ls: cannot access 'pinentry-tqt/tqt': No such file or directory<br>
<br>
I surely missed something.<br>
</blockquote>
<br></span>
The TQt code is in the "pinentry-tqt" branch. Here, you cloned my repo in the pinentry-tqt folder, but the repo's current branch is still "master". You need to switch to the "pinentry-tqt" branch first.<br>
<br>
$ git clone git://<a href="http://git.incenp.org/pinentry.git" rel="noreferrer" target="_blank">git.incenp.org/pinentry.<wbr>git</a> pinentry-tqt<br>
$ cd pinentry-tqt<br>
$ git checkout pinentry-tqt<br>
<br>
When I said "pull", I was expecting you to actually run<br>
<br>
git pull git://<a href="http://git.incenp.org/pinentry.git" rel="noreferrer" target="_blank">git.incenp.org/pinentry.<wbr>git</a> pinentry-tqt<br>
<br>
from an already existing copy of the upstream pinentry repo. That command would have had the effect of merging the pinentry-tqt branch<br>
of the remote repo to your current local branch.<br>
<br>
(In other words, the two following commands have similar syntax but completely different effects:<br>
<br>
$ git clone git://<a href="http://git.incenp.org/pinentry.git" rel="noreferrer" target="_blank">git.incenp.org/pinentry.<wbr>git</a> pinentry-tqt<br>
$ git pull git://<a href="http://git.incenp.org/pinentry.git" rel="noreferrer" target="_blank">git.incenp.org/pinentry.<wbr>git</a> pinentry-tqt<br>
<br>
The first one creates a copy of the remote repo in the pinentry-tqt directory.<br>
<br>
The second one fetches and merges the pinentry-tqt branch from the remote repo into the current repo.)<span class="HOEnZb"><font color="#888888"><br>
<br>
Damien<br>
<br>
</font></span></blockquote></div><br></div>