Re: About GNUrl and cURL

Martin Schanzenbach <[email protected]>
Newsgroups gmane.network.gnunet.devel
Message-ID <1662530654-sup-4137@werkbank>
Excerpts from madmurphy's message of 2022-09-06 22:17:53 +0100:
> Okay, about the libcurl-gnutls package, Martin was right. If I add this
> line to the PKGBUILD of that package,
> 
> ln -s libcurl-gnutls.so.4.8.0 "${pkgdir}"/usr/lib/libcurl-gnutls.so
> 
> Everything goes well in GNUnet and the configure script prints
> 
> ...
> HTTP Client:                    curl-gnutls
> ...
> 
> Now the question is what to do. In theory I could publish my own version of
> libcurl-gnutls on AUR with only that line added, and make GNUnet depend on
> it. But I wonder why Arch developers did that. My guess is that for
> creating the libcurl-gnutls package they copied and hacked the section of
> the PKGBUILD that builds libcurl-compat
> <https://archlinux.org/packages/core/x86_64/libcurl-compat/>, which is a
> glue package that also does not ship the unversioned .so file
> <https://archlinux.org/packages/core/x86_64/libcurl-compat/files/>. Who
> knows…
> 

Ah look here: https://github.com/archlinux/svntogit-packages/blob/packages/curl/trunk/PKGBUILD#L94
The curl-compat package does link libcurl.so against the versioned
files.
And curl-gnutls does the same: https://github.com/archlinux/svntogit-packages/blob/packages/curl/trunk/PKGBUILD#L94

So, this would actually confirm my initial thoughts that those are
drop-in replacements and that we should not check for libcurl-gnutls at
all.
I have no idea how to "detect" the version of curl in this case.
But, I also do not think it really matters.
So maybe we should just remove the logic that tries to identify the curl
version.

> Jacki, what do you suggest? The PKGBUILD of libcurl-gnutls attached to this
> email works well for GNUnet. But for publishing on AUR we would need to
> rename it in some way.
> 
> --madmurphy
> 
> On Tue, Sep 6, 2022 at 9:06 PM Martin Schanzenbach <[email protected]>
> wrote:
> 
> > Excerpts from Christian Grothoff's message of 2022-09-06 21:34:45 +0200:
> > > On 9/6/22 14:43, madmurphy wrote:
> > > > Just out of curiosity, why do I get
> > > >
> > > > gstreamer:                      no
> > >
> > > You need also certain related gstreamer libraries
> > > (gstreamer-plugins-base or something like that) before gstreamer is
> > > considered "complete enough" to work for GNUnet.
> > >
> >
> > I have to disagree that this is what configure.ac checks. I invite you
> > to investigate as well. I am at a loss as what exactly the logic
> > currently is. It sais "gstreamer no" for me, too, but conversation is
> > built with the "gst" "backend". Whatever that means. Anyway.
> >
> > > -Christian
> >
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEPREGPBD5jRS9JNFHCwmY74b1m2oFAmMYNPwACgkQCwmY74b1
m2pyoQ//SYsbMvqhsUYeVRnB8e5yDlw1sFoTHX7jPV0Eho7CdnXfCyzWpfJf8tbX
ZE9lVQt3uyh6r8/gpSXIgQDalnwHeQAEyqLNGhpuSGWyCAAFWMhZvEewBR1urHIV
5AmDdht6fqE2nYoxl6UHgx8U0GX2qqS5wfm2gNryaVk+QI3EnDO09mK1yF1jvhWm
nbmRO8PedHaslEhmBDYl7x3zFTy5Rcx/y+ay/O1zWM8A2t4O2vhHQxghul/ma5+9
zDN2CdKZo7M2CZ0tdDFzAX+65H6mBA5Zra34FGNph4Qs0E64nvhQehew9d+byqiP
6zV5hX6Cx6FYm+/b+Q84L1GdeoGupsT3bjrIUjHaBtOAojymiQvZx0XfPvLnCqA0
QC8XJzxbsWW1SEB8SfvM0PuZW3BfOAwbepwi87RQsUfst/KfI0S5YfBJgqvKEYfX
YBHNpy5xqiZ32qN2AMF4x2ohzPcbmof8mYFCSFuptt0Sx/JK6D32XowsDfEtovzw
HcBU7AjkuKawleSfkwMgAAZAbqghuyS4P6fkGKPyF7rIPzwJPwYsQaVtHC5tnLSB
fZxTytzhXVBK324ptxMrhyoaiB9eghT0mB0oEi7f/Ifmd86Sdpti3JlYBjKVVCP1
fEC+3qetcmqEfcmKSBVliqKiHNO1Uj7NzbwbuggTEsfR2kmWpIc=
=Bajv
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.