Can you run the tests? cpp-httplib-git does it too.
Search Criteria
Package Details: cpp-httplib-compiled 0.37.2-1
Package Actions
| Git Clone URL: | https://aur.archlinux.org/cpp-httplib-compiled.git (read-only, click to copy) |
|---|---|
| Package Base: | cpp-httplib-compiled |
| Description: | A C++ HTTP/HTTPS server and client library (compiled version) |
| Upstream URL: | https://github.com/yhirose/cpp-httplib |
| Keywords: | networking requests |
| Licenses: | MIT |
| Conflicts: | cpp-httplib |
| Provides: | cpp-httplib, libcpp-httplib.so |
| Submitter: | sum01 |
| Maintainer: | sum01 |
| Last Packager: | sum01 |
| Votes: | 4 |
| Popularity: | 0.000018 |
| First Submitted: | 2020-05-29 03:12 (UTC) |
| Last Updated: | 2026-03-13 13:12 (UTC) |
Dependencies (8)
- brotli (brotli-gitAUR)
- openssl (openssl-gitAUR, openssl-aegisAUR, openssl-staticAUR, openssl-staticAUR, openssl-staticAUR, openssl-staticAUR, openssl-staticAUR, openssl-staticAUR)
- zlib (zlib-gitAUR, zlib-ng-compat-gitAUR, zlib-ng-compat)
- zstd (zstd-gitAUR, zstd-staticAUR)
- cmake (cmake3AUR, cmake-gitAUR) (make)
- ninja (ninja-gitAUR, ninja-memAUR, ninja-noemacs-gitAUR, ninja-kitwareAUR, ninja-fuchsia-gitAUR) (make)
- python (make)
- gtest (googletest-gitAUR) (check)
Required by (8)
- dpitunnel (requires cpp-httplib) (make)
- dpitunnel-git (requires cpp-httplib) (make)
- eden-beta (requires cpp-httplib) (make, aarch64)
- eden-git (requires cpp-httplib) (make)
- eden-mp4fixes (requires cpp-httplib) (make)
- falco (requires cpp-httplib) (make)
- falco-probe-ebpf (requires cpp-httplib) (make)
- neobox-git (requires cpp-httplib)
Sources (1)
Spixmaster commented on 2026-02-13 12:33 (UTC)
sum01 commented on 2026-02-06 04:19 (UTC)
@Spixmaster I will once it's in a tagged release.
Spixmaster commented on 2026-02-02 18:06 (UTC)
Can you apply HTTPLIB_BUILD_MODULES=ON in CMake, https://github.com/yhirose/cpp-httplib/pull/2291 ?
sum01 commented on 2024-06-12 04:06 (UTC)
Sorry for any dependencies, but upstream namechanged the solib to libcpp-httplib.so (see https://github.com/yhirose/cpp-httplib/issues/1851)
sum01 commented on 2022-03-17 17:49 (UTC)
I looked into making it a split package, but since the header-only and compiled versions aren't using the same build I'm not sure it's worth doing. As far as I can tell, it would require anyone using the header-only package to still compile the whole thing, even though they don't need it.
Didn't realize having DESTDIR on the end vs front mattered, but I'll change that.
abouvier commented on 2022-02-25 00:02 (UTC) (edited on 2022-02-25 00:02 (UTC) by abouvier)
DESTDIR must be an environment variable to work with all cmake generators: DESTDIR="$pkgdir" cmake --build . --target install
abouvier commented on 2021-07-24 03:52 (UTC) (edited on 2021-07-24 04:26 (UTC) by abouvier)
You should make a split package to ease maintenance, because the source code and version are the same for both the header-only and compiled packages :p
abouvier commented on 2021-07-19 19:59 (UTC) (edited on 2021-07-19 20:36 (UTC) by abouvier)
Sorry, it's just me who finds the -compiled suffix ugly :p
Otherwise, could you add libhttplib.so to provides=() [1] and set CMAKE_BUILD_TYPE to None [2]? :D
[1] https://wiki.archlinux.org/title/Arch_package_guidelines#Package_relations
sum01 commented on 2021-07-19 18:02 (UTC)
@abouvier I'm not sure there's much benefit to renaming it now. libhttplib also seems a bit redundant. I believe the pinned comment is enough to explain the differences between the two (as well as what I have in the description).
See the previous conversation I had with FabioLolix about there not really being any "standard" way to go about something like this.
abouvier commented on 2021-07-19 01:21 (UTC)
And what do you think of the name libhttplib for the compiled version? :p
Pinned Comments
sum01 commented on 2021-04-23 19:40 (UTC)
@Spixmaster so
cpp-httplibis header-only, and must be compiled in any project you use it in.cpp-httplib-compiledsplits the header into an interface (header) and implementation, allowing you to just link against it. Lets you avoid having to compile it every time.