bug#109600 made me review gnupg dependencies. I've removed opensc dependency. It is not required. Added pcsc-lite and openct dependencies and appropriate use flags. These use flags should be added as local. Added also pinentry dependency if X.
Created attachment 96820 [details, diff] gnupg-1.9.21.ebuild.diff
Created attachment 96898 [details, diff] gnupg-1.9.21.ebuild.diff Also removed perl dependency which is not required. Also removed zlib since it is on system.
(In reply to comment #2) > Created an attachment (id=96898) [edit] > gnupg-1.9.21.ebuild.diff > > Also removed perl dependency which is not required. > Also removed zlib since it is on system. > Great start. can USE=openct or pcsc-lite control the build process to use the dependency?
(In reply to comment #3) > Great start. > can USE=openct or pcsc-lite control the build process to use the dependency? As far as I've investigated, Werner done all using dynamic invocation, copying the include files of openct and pcsc-lite into his code. So there is no conditional compilation... If the components are there, they can be used. The only think I can do is to add --disable-scdaemon if none of them available... But it has side effect... People will not be able to install a different scd, such as the the one I am working on, which will enable user to use standard smartcards using gnupg.
added to gnupg-1.9.21-r1. Thanks Alon
Hello Daniel, Please remove the: smartcard? ( >=dev-libs/opensc-0.8.0 ) From dependency... opensc is not required at all for gnupg. Why zlib and perl needs to be on dependencies? emerge --emptytree --pretend system Have both?
(In reply to comment #6) > Hello Daniel, > > Please remove the: > smartcard? ( >=dev-libs/opensc-0.8.0 ) > > From dependency... opensc is not required at all for gnupg. > > Why zlib and perl needs to be on dependencies? > emerge --emptytree --pretend system > > Have both? > k - done - thanks.