Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 560500 - app-crypt/pinentry-0.9.6: Automagic usage of Qt 5 or 4
Summary: app-crypt/pinentry-0.9.6: Automagic usage of Qt 5 or 4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Crypto team [DISABLED]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-15 01:10 UTC by Arfrever Frehtes Taifersar Arahesis
Modified: 2015-09-20 21:48 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arfrever Frehtes Taifersar Arahesis 2015-09-15 01:10:57 UTC
configure: WARNING: unrecognized options: --enable-pinentry-qt4, --enable-pinentry-qt4-clipboard


Apparently support for Qt 5 was added in pinentry-0.9.6.
FIND_QT macro in m4/qt.m4 firstly looks for Qt 5 before Qt 4.


configure.ac:

dnl
dnl Check for Qt pinentry program.
dnl
AC_ARG_ENABLE(pinentry-qt,
            AC_HELP_STRING([--enable-pinentry-qt], [build qt pinentry]),
            pinentry_qt=$enableval, pinentry_qt=maybe)


dnl
dnl Checks for qt libraries.  Deal correctly with $pinentry_qt = maybe.
dnl Tries to find Qt5, falls back on Qt4
dnl
if test "$pinentry_qt" != "no"; then
  FIND_QT     <<<<<<
  if test "$have_qt4_libs" != "yes" -a "$have_qt5_libs" != "yes"; then
    if test "$pinentry_qt" = "yes"; then
        AC_MSG_ERROR([[
    ***
    *** Qt4 (QtCore, QtGui) or Qt5 (Qt5Core, Qt5Gui, Qt5Widgets) is required.
    ***]])
    else
        pinentry_qt=no
    fi
  fi
fi
Comment 1 Kristian Fiskerstrand (RETIRED) gentoo-dev 2015-09-18 16:12:37 UTC
This issue should be fixed in 0.9.6-r1

commit 0de8be361ceb11c54aec127c23269e926515ed26
Author: Kristian Fiskerstrand <k_f@gentoo.org>
Date:   Fri Sep 18 18:08:02 2015 +0200

    app-crypt/pinentry: Fix Qt4 support
    
    Pinentry 0.9.6 introduced automatic detection of Qt version and added support
    for Qt5 using automagic. This revbump removes Qt5 support and explicitly
    require Qt4 as in previous versions until this can be set using USE flag
    to get proper dependencies.
    
    Additionally upstream renamed the pinentry-qt4 binary to pinentry-qt, so a
    symlink is generated to ensure backwards compatibility.
    
    Package-Manager: portage-2.2.20.1