<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Oct 29, 2017 at 11:43 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:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 10/29/2017 05:47 AM, deloptes wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
1. I get following error:<br>
</blockquote>
<br>
Strange, I don't get that error. Maybe we're using a slightly different version of TQt3...<br>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
=> removing hasMarkedText (as it is flagged obsolete) solves the problem<br>
</blockquote>
<br>
OK.<br>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
2. Compile still failed with: > [...]<br>
=> creating version.texi in doc solves the problem and packages are build<br>
correctly<br>
</blockquote>
<br>
Are you building directly from a Git checkout? Then you need to call the configure script with --enable-maintainer-mode. And you should also call the the autogen.sh script before that.<br>
<br>
To test building a package I would suggest creating first a proper tarball:<br>
<br>
  $ ./autogen.sh<br>
  $ ./configure --enable-maintainer-mode<br>
  $ make<br>
  $ make distcheck<br></blockquote><div><br></div><div>Thanks for the mainainer-mode - this solved the problem. I indeed build from the git directory by running "debuild -b -uc -us". The autogen.sh is invoked by debuild automatically.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
This will create a tarball that you should be able to use in your packaging script as if it came directly from GnuPG upstream.<br>
<br>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
3. How we can set pinentry-tqt to default?<br>
</blockquote>
<br>
As far as I know the current build system has no option to explicitly set the default pinentry. The default pinentry is automatically selected among the enabled pinentries, using a hardcoded preference order.<br>
<br>
Since we're adding a new pinentry, I have put it at the end of the preference list, so it will never be selected as the default unless all other pinentries are disabled. I don't want to change that without prior approval from other pinentry developers.<br>
<br>
Making a pinentry the default simply means installing a symlink from $prefix/bin/pinentry to the selected pinentry. So if you're building a package for TDE, where it makes perfect sense to use pinentry-tqt as the default, I would suggest that in your packaging script, you remove the symlink created by pinentry's "make install" and replace it by your own symlink to pinentry-tqt.<span class="gmail-HOEnZb"><font color="#888888"><br>
<br>
<br></font></span></blockquote><div>Ok, thanks this explains why pinentry-tty is marked default by the configure script. I'll need to adjust this and that in the debian directory and I think I'll give it a try later and report back on how it works.</div><div><br></div><div>Cool Damien, thank you very much for the help.</div><div><br></div><div>regards<br></div></div><br></div></div>