You are not logged in.

#1 2013-10-13 14:12:54

ZirconiumX
Member
Registered: 2013-10-13
Posts: 1

cURL m4 files

I'm not sure where to put this, so mods feel free to move this.

I am in the awkward position of needing the m4 files in cURL. The default Arch package doesn't include them (not sure why), but a package that contains them can be found in the AUR. However, since the package and Arch's curl conflict (despite the former being a superset of the latter) I can't install it the Arch way. So I have to manually download the cURL package (after it already being downloaded) and move the m4 files over. This has gotten to the point where I am tired of doing it...

Can someone enlighten me as to why the default Arch package doesn't include them?

Matthew:out

Offline

#2 2013-10-13 14:41:12

karol
Archivist
Registered: 2009-05-06
Posts: 25,427

Re: cURL m4 files

Why can't you remove the stock Arch curl package and install the one from the AUR?

You can use ABS to modify the stock PKGBUILD by adding the install line

   # devel
  install -Dm644 docs/libcurl/libcurl.m4 "$pkgdir/usr/share/aclocal/libcurl.m4"

The PKGBUILDs otherwise seem to be functionally identical:
https://aur.archlinux.org/packages/cu/c … s/PKGBUILD
https://projects.archlinux.org/svntogit … kages/curl

Offline

#3 2013-10-13 17:31:25

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,094
Website

Re: cURL m4 files

Seems to me that you have a few options:

1) Include the file as part of your project (AC_CONFIG_MACRO_DIR makes this easy)
2) Throw a patch at upstream so that the m4 file is distributed by default
3) Pollute the AUR with a package that builds all of curl just to include a plain text file

I've chosen the 2nd option, as it starts a discussion with the people who are responsible for the file.

Offline

#4 2013-10-15 18:51:37

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,094
Website

Re: cURL m4 files

curl 7.34.0 will ship its m4 file:

https://github.com/bagder/curl/commit/c … 6364a50810

the system works....

Offline

Board footer

Powered by FluxBB