Bug#900015: missing pkg-config support is blocking switch to mbedTLS in libgit2

2019-12-01 Thread Christoph Berg
Re: James Cowgill 2019-04-30 <403b111b-ff0a-62a2-71d1-150b3c01b...@debian.org>
> > fldigi 4.1.02's configure check probes for mbedtls >= 2.16 using 
> > pkg-config (and builds the embedded copy otherwise), so it seems
> > this has been implemented upstream in mbedtls by now. Can we have
> > it in Debian, please?
> 
> I cannot find any trace of pkg-config in upstream mbedtls git. The
> issue and (newer) merge request are still open:

Retrospectively, I seem to have misinterpreted the fldigi build
system. The macro they use adds pkg-config support, but also adds
switches to manually specify the mbedtls location, and that's what
users are supposed to used, afaict.

Christoph



Bug#900015: missing pkg-config support is blocking switch to mbedTLS in libgit2

2019-04-30 Thread James Cowgill
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Hi,

On 30/04/2019 21:22, Christoph Berg wrote:
> Re: James Cowgill 2018-05-24
> 
>> I've downgraded this bug because it is a feature request. It's
>> not as if mbedtls is the only library which doesn't support
>> pkg-config :)
>> 
>> As you have seen there has been an open upstream issue about this
>> for almost 3 years. I will see what I can do about it, but I
>> would not expect it to be fixed soon.
> 
> fldigi 4.1.02's configure check probes for mbedtls >= 2.16 using 
> pkg-config (and builds the embedded copy otherwise), so it seems
> this has been implemented upstream in mbedtls by now. Can we have
> it in Debian, please?

I cannot find any trace of pkg-config in upstream mbedtls git. The
issue and (newer) merge request are still open:

https://github.com/ARMmbed/mbedtls/issues/228
https://github.com/ARMmbed/mbedtls/pull/1753

James
-BEGIN PGP SIGNATURE-

iQIzBAEBCgAdFiEE+Ixt5DaZ6POztUwQx/FnbeotAe8FAlzItGkACgkQx/Fnbeot
Ae+bJg//aLDExeX71V5VK9Nim8zLdFHQFx+1ILyEjULTGxChMZad/Bu6UiAS6FnX
76UHidW94WG03lnS26dst1KSHh5lzOlfELuGg5BKGOBstjNmFamWjUL9F6+WdgIz
fsUpf9gnZ6Yvik84BNggit9SeofJ3cyLI3BHN6ioBsTcLhzT20zYR+GffCrKnWcm
HoDp+Gv5OkXKRsa8ipAL4+Cu2nfEjKwv0/aYSLCM2cqG0DFyS4JjjnfhFdF8dXtA
zaFGda7Dffgir/heME/7mh6gZxp6cbLXgGQ3Op5ThrzrIR4R0DZl3zC5hdi8mxnk
0fR+Gwlms4TLGTqd1QQzTXBlXj+Q+j0YkDlAH4eY+QEvf73mBHh6HVYa4TljP99L
tHdosUD84vekrS9ESUjhqOpwU7PAFapLGSnj+HuWThGgWHHOyxWubCSh2mmFT7DS
DgKe7mVc6OGGA3ZgESlrFiMz+QDVPyYiHd7UKgSrJ9OAKAxs2RtaksEmbifv2qY0
+OvBha1tBnCydPCsJnqJ3wkHf2SZAkdQ+QW7PQqBpdkVQXhBscOx/enYSPpUl04p
k7dGAxJdepRPRm7/o1D8zJKZ57pcYyh2/DjUZzk/RWaG6hpKfFyUxXsThXgVFPRh
iTn0K7j7EtfQrQTQ7yF2JEPFWirIK9SVYaxm8EBWaW8C2E9yZAU=
=HbtU
-END PGP SIGNATURE-



Bug#900015: missing pkg-config support is blocking switch to mbedTLS in libgit2

2019-04-30 Thread Christoph Berg
Re: James Cowgill 2018-05-24 
> I've downgraded this bug because it is a feature request. It's not as if
> mbedtls is the only library which doesn't support pkg-config :)
> 
> As you have seen there has been an open upstream issue about this for
> almost 3 years. I will see what I can do about it, but I would not
> expect it to be fixed soon.

fldigi 4.1.02's configure check probes for mbedtls >= 2.16 using
pkg-config (and builds the embedded copy otherwise), so it seems this
has been implemented upstream in mbedtls by now. Can we have it in
Debian, please?

Thanks,
Christoph



Bug#900015: missing pkg-config support is blocking switch to mbedTLS in libgit2

2018-05-26 Thread Pirate Praveen
On Thu, 24 May 2018 18:48:20 +0100 James Cowgill  
wrote:

As you have seen there has been an open upstream issue about this for
almost 3 years. I will see what I can do about it, but I would not
expect it to be fixed soon.


I have half of the required bits here, thanks to Simon Ritcher 
https://github.com/ARMmbed/mbedtls/pull/1657 (now just need to install 
the generated files correctly)



The geany-plugins and gitgo breakage seems like a libgit2 bug. libgit2
should not have a "Requires.private: mbedtls" directive which will
obviously not work. Use Libs.private instead until this bug is fixed.


This has now been fixed in libgit2 thanks to your suggestion and 
geany-plugins build passed.




Bug#900015: missing pkg-config support is blocking switch to mbedTLS in libgit2

2018-05-24 Thread James Cowgill
Control: retitle -1 libmbedtls-dev: add pkg-config support
Control: severity -1 wishlist
Control: tags -1 upstream

Hi,

On Thu, 24 May 2018 22:43:28 +0530 Pirate Praveen 
wrote:
> Package: mbedtls-dev
> version: 2.8.0-1
> Severity: important
> Control: forwarded -1 https://github.com/ARMmbed/mbedtls/issues/228
> Control: block 899036 by -1
> Control: block 899035 by -1
> 
> lbgit2 now supports using mbedTLS but missing pkg-config support for 
> mbedTLS is causing builds of many reverse dependencies like 
> geany-plugins and gitgo.

I've downgraded this bug because it is a feature request. It's not as if
mbedtls is the only library which doesn't support pkg-config :)

As you have seen there has been an open upstream issue about this for
almost 3 years. I will see what I can do about it, but I would not
expect it to be fixed soon.

The geany-plugins and gitgo breakage seems like a libgit2 bug. libgit2
should not have a "Requires.private: mbedtls" directive which will
obviously not work. Use Libs.private instead until this bug is fixed.

James



signature.asc
Description: OpenPGP digital signature


Bug#900015: missing pkg-config support is blocking switch to mbedTLS in libgit2

2018-05-24 Thread Pirate Praveen

Package: mbedtls-dev
version: 2.8.0-1
Severity: important
Control: forwarded -1 https://github.com/ARMmbed/mbedtls/issues/228
Control: block 899036 by -1
Control: block 899035 by -1

lbgit2 now supports using mbedTLS but missing pkg-config support for 
mbedTLS is causing builds of many reverse dependencies like 
geany-plugins and gitgo.