Skip to content
Open
Show file tree
Hide file tree
Changes from 30 commits
Commits
Show all changes
581 commits
Select commit Hold shift + click to select a range
a345c53
(#13314) gcem: add version 1.16.0
toge Oct 5, 2022
78ae835
(#13247) [flatbuffers] update to 2.0.8
chausner Oct 5, 2022
03246e9
(#13316) meson: add version 0.63.3
ericLemanissier Oct 6, 2022
847b782
(#13326) (#13323) Bump perfetto to v30.0
miklelappo Oct 6, 2022
debec9e
(#13137) Pixman apply fix for clang-16
planetmarshall Oct 6, 2022
8157c44
(#13236) libmodbus: add version 3.1.8
dubvulture Oct 6, 2022
56f9cdc
(#13328) ninja: add version 1.11.1
ericLemanissier Oct 6, 2022
47bac9d
(#13309) Add KB-H072 and KB-H073 to docs
uilianries Oct 6, 2022
9cd0fcb
(#13331) [docs] Apply python black formatter over recipe templates
uilianries Oct 6, 2022
22d8d24
(#12881) Add mold 142 as build system changed from makefiles to cmake
AndreyMlashkin Oct 6, 2022
3180533
(#13102) docs: Document working locally + Conan 2.0 commands
Oct 6, 2022
ae6f8ce
(#13337) [docs] Regenerate tables of contents
github-actions[bot] Oct 7, 2022
cb835ef
(#13225) Modernize opengv recipe
ericriff Oct 7, 2022
2b07729
(#13334) aws-c-event-stream: add version 0.2.15 and support conan v2
toge Oct 7, 2022
fb53808
(#13335) simdjson: add version 3.0.0
theirix Oct 7, 2022
4bb5388
(#12331) - [glib] use MesonToolchain
SSE4 Oct 7, 2022
54a05ea
(#13345) dbus/1.15.2
ericLemanissier Oct 7, 2022
278e7aa
(#13324) boost: fix output shared library extension on iOS/tvOS/watchOS
kambala-decapitator Oct 7, 2022
f47ff29
(#13340) protopuf: add recipe
toge Oct 7, 2022
d77b5cd
(#12516) [conan 2] Migrate box2d 2.4.x recipe
danimtb Oct 7, 2022
4bf114e
(#13354) qt5: don't create PrintSupport module for iOS/tvOS/watchOS
kambala-decapitator Oct 8, 2022
516a304
Merge branch 'conan-io:master' into CURA-8831_autoconf
jellespijker Oct 8, 2022
6b771d6
(#13167) fmtlog: add recipe
toge Oct 10, 2022
367027d
(#13344) leptonica recipe enhancement: option with_jpeg: select jpeg …
cguentherTUChemnitz Oct 10, 2022
f28fd51
(#13338) restinio: update to conan v2
Oct 10, 2022
123ee20
(#13346) osmanip: update dependencies
toge Oct 10, 2022
46780ac
(#13348) Ignore CMakeUserPresets.json files
jwillikers Oct 10, 2022
f947a5d
(#13350) rapidyaml: update dependencies and support conan v2
toge Oct 10, 2022
75962ea
(#13360) aws-c-cal: add version 0.5.20
toge Oct 10, 2022
65825f5
(#13368) harfbuzz: add version 5.3.0
ericLemanissier Oct 10, 2022
3a4a0ea
(#13173) gdcm: conan v2 support
Nekto89 Oct 10, 2022
64f422e
(#13374) cppzmq: add version v4.9.0
gummif Oct 10, 2022
a86301c
(#13376) Bump plf_list/2.52
SpaceIm Oct 10, 2022
f5ffb92
(#13377) Bump plf_colony/7.03
SpaceIm Oct 10, 2022
de87dc9
(#13378) Bump plf_queue/1.21
SpaceIm Oct 10, 2022
431d1f9
(#13380) libyuv: add 1845 + modernize more
SpaceIm Oct 10, 2022
07c8af0
(#13385) templates: Update cmake templates usage of cache variables
Oct 10, 2022
9c9dfca
(#13391) jom: modernize
ericLemanissier Oct 10, 2022
65a681f
(#13375) boost-ext-ut: Minor updates
jwillikers Oct 10, 2022
8445a7b
(#13336) libpng 1.6.38: pass PNG_EXECUTABLES=OFF + fix v2 linter error
kambala-decapitator Oct 11, 2022
8e8536d
(#12902) antlr4-cppruntime: Upgrade to 4.11.0/4.11.1
0xFireWolf Oct 11, 2022
e4b2df4
(#13303) Update/jfalcou eve
jfalcou Oct 11, 2022
954ccbb
(#13361) sdl_image: build improvements for ImageIO option for Apple p…
kambala-decapitator Oct 11, 2022
5e0941c
(#13363) wayland: Fix missing libffi and cross-compilation
jwillikers Oct 12, 2022
757999d
(#13367) Opengv: Try to re enable gcc/shared builds
ericriff Oct 12, 2022
4d974c4
(#13372) qt5: fix dependencies for static build on Apple platforms
kambala-decapitator Oct 12, 2022
eb56cb7
(#13379) Bump plf_stack/1.63
SpaceIm Oct 12, 2022
1583d53
(#13383) draco: modernize more for conan v2
SpaceIm Oct 12, 2022
feb510e
(#13388) libx264: fix building for Apple non-macOS
kambala-decapitator Oct 12, 2022
558efd7
(#13390) gainput: conan v2 support
SpaceIm Oct 12, 2022
1d887da
(#13393) wasmedge: add version 0.11.1
KingKili Oct 12, 2022
0d1f263
(#13396) vulkan-headers: add version 1.3.224.1
KingKili Oct 12, 2022
e124e9d
(#13409) wayland-protocols: add 1.27
KingKili Oct 12, 2022
3e29edf
(#12971) xsimd: add version 9.0.1
toge Oct 13, 2022
2681fc5
(#13333) aws-c-http: add version 0.6.22 and support conan v2
toge Oct 13, 2022
1690229
(#13381) vk-bootstrap: add 0.6 + modernize more
SpaceIm Oct 13, 2022
683391e
(#13382) uriparser: add 0.9.7 + modernize more
SpaceIm Oct 13, 2022
9af05be
(#13387) ffmpeg: add version 4.4.3
kambala-decapitator Oct 13, 2022
41e6e9d
(#13404) docs: note how to run docker images with sysreq mode
Oct 13, 2022
b0d3b06
(#13410) cmake: add 3.24.2
KingKili Oct 13, 2022
78c7b40
(#13416) libmysqlclient: remove wrong options
ericLemanissier Oct 13, 2022
4e0e814
(#13394) glib: Add missing pkg_config_names for PkgConfigDeps generator
jwillikers Oct 13, 2022
78adc3d
(#13419) [sqlite3] Refactor handling of math library
jcar87 Oct 13, 2022
aa071a6
(#13420) aravis: modernize
ericLemanissier Oct 13, 2022
e610d70
(#13426) unordered_dense: add version 2.0.0
toge Oct 13, 2022
5f7d027
(#13438) fontconfig: bump expat
ericLemanissier Oct 13, 2022
17d5fb9
(#13401) c-blosc: conan v2 support
SpaceIm Oct 13, 2022
eb76524
(#13439) glib: bump libffi
ericLemanissier Oct 14, 2022
0321acd
(#13397) volk: add 1.3.224.1
KingKili Oct 14, 2022
525cb30
(#13437) shield: add v0.3
lkotsonis Oct 14, 2022
701efb0
(#13412) Bug/zlib/CVE 2022 37434
miklelappo Oct 14, 2022
2aa6ade
(#13423) luau: add version 0.548 and support conan v2
toge Oct 14, 2022
a955211
(#13197) Migrate diligent core to conan v2
AndreyMlashkin Oct 14, 2022
15bf556
(#13364) swig: Link against dl on Linux, not just for GCC
jwillikers Oct 14, 2022
f513109
(#13392) lunasvg: add version 2.3.4 and support conan v2
toge Oct 14, 2022
44dc411
(#13405) docs: add a copy of the CLA for new contributors
Oct 14, 2022
05366f2
(#13428) [gdk-pixbuf] remove windows glib version exception
planetmarshall Oct 14, 2022
1ba694f
(#13434) SDL: add v2.24.1
kambala-decapitator Oct 14, 2022
399efd2
(#13455) daw_header_libraries: add version 2.71.0
toge Oct 14, 2022
46194a6
(#13421) libsass: modernize
ericLemanissier Oct 14, 2022
d55b66e
(#13315) dbus: Add with_systemd option and build 1.15.0 with Meson
jwillikers Oct 14, 2022
43736c6
(#13351) p7zip: Add initial package based on 16.02 sources
jave27 Oct 14, 2022
0cdd4db
(#13398) move option config to configure
cguentherTUChemnitz Oct 14, 2022
df7efc1
(#13442) qcbor: add version 1.1 and support conan v2
toge Oct 14, 2022
bc13057
(#13445) libelf: conan v2 support
SpaceIm Oct 14, 2022
489c55e
(#13450) libtar: conan v2 support
SpaceIm Oct 14, 2022
0acba59
(#13403) ccfits: conan v2 support
SpaceIm Oct 14, 2022
79e0679
(#13459) openssl 1.x: add empty layout & factorize tests of CMake var…
SpaceIm Oct 14, 2022
76f7604
(#13399) qt5: bump reqs
ericLemanissier Oct 14, 2022
e126415
(#13460) avahi: Small fix in configure method
jwillikers Oct 14, 2022
7f9fdc9
(#13464) (#13463) zlib: Bump to 1.2.13
miklelappo Oct 14, 2022
1c28d5c
(#13283) Pybind11 fix linkage
planetmarshall Oct 14, 2022
2cdd95a
(#13468) nss 3.84
ericLemanissier Oct 14, 2022
966c99a
(#13471) (#13469) Protobuf: Add 3.19.6
miklelappo Oct 14, 2022
05a2fa8
(#13473) aws-c-auth: add version 0.6.17 and support conan v2
toge Oct 14, 2022
d5bb680
(#13476) boost-ext-ut: Use upstream CMake target namespace in 1.1.9
friendlyanon Oct 14, 2022
b535c15
(#13477) modern-cpp-kafka: add version 2022.10.12
toge Oct 14, 2022
5a52fa1
(#13444) opengv | Extend patch so conan also handles the -march flags
ericriff Oct 14, 2022
dbf9f46
(#13465) quickjs: add recipe
toge Oct 14, 2022
6d5250d
(#13479) frozen: conan v2 support
SpaceIm Oct 14, 2022
66b2cc0
(#13480) stc: conan v2 support
SpaceIm Oct 14, 2022
9611eed
(#13481) sassc: modernize
ericLemanissier Oct 14, 2022
ab18bcf
(#13483) aws-c-mqtt: add version 0.7.12 and support conan v2
toge Oct 14, 2022
90dff75
(#13458) cyrus-sasl: conan v2 support
SpaceIm Oct 15, 2022
5a274d8
(#13493) daw_json_link: add version 3.1.0
toge Oct 15, 2022
e1a1fe6
Merge branch 'conan-io:master' into CURA-8831_autoconf
jellespijker Oct 16, 2022
0000f38
Move conf keys to user space
jellespijker Oct 16, 2022
ea1b563
Use *_folder in favor of undocumented *_path
jellespijker Oct 16, 2022
1c1abb9
Reuse source files from test_package
jellespijker Oct 16, 2022
b1bfcc0
(#13528) minizip-ng: add version 3.0.7
toge Oct 16, 2022
db07471
(#13486) sole: add version 1.0.4 and support conan v2
toge Oct 17, 2022
fbd4d02
(#13482) qt5: disable bitcode
kambala-decapitator Oct 17, 2022
bd0f087
(#13533) osmanip: add version 4.3.0
toge Oct 17, 2022
e5fba9e
(#13536) [docs] Add Changelog October 17, 2022
uilianries Oct 17, 2022
57f3015
(#13441) bzip3: add version 1.1.6
toge Oct 17, 2022
aeb40c6
(#13451) [freetype] update toolchain and add layout
planetmarshall Oct 17, 2022
d83019d
(#13457) [bot] Add Access Request users (2022-10-13)
conan-center-bot Oct 17, 2022
0426ea1
(#13461) Move myself to community
jgsogo Oct 17, 2022
8c9e633
(#13491) cmake: add new versions + remove old ones + use official src…
Croydon Oct 17, 2022
63292eb
(#13495) aws-c-http: change dependeant recipe version for aws-c-s3
toge Oct 17, 2022
e236d41
(#13498) libbacktrace: conan v2 support
SpaceIm Oct 17, 2022
c6b5db7
(#13502) xerces-c: conan v2 support
SpaceIm Oct 17, 2022
3e2db9b
(#13504) oatpp-sqlite: conan v2 support
SpaceIm Oct 17, 2022
126c82e
(#13505) oatpp-openssl: conan v2 support
SpaceIm Oct 17, 2022
936eef0
(#13113) qpdf/11.1.1 add (lib only) package
cguentherTUChemnitz Oct 17, 2022
7c9b065
(#13430) cgltf: add version 1.13
jfaust Oct 17, 2022
dac3d78
(#13501) libe57format: conan v2 support
SpaceIm Oct 17, 2022
c6aba06
(#13443) cgal: add version 5.5.1
lrineau Oct 17, 2022
24ea2b4
(#13492) libsvm: Add version 330 & modernize recipe
ericriff Oct 17, 2022
1678062
(#13506) oatpp-postgresql: conan v2 support
SpaceIm Oct 17, 2022
64732d6
(#13507) oatpp-swagger: conan v2 support
SpaceIm Oct 17, 2022
0f355ca
(#13386) onetbb: add version 2021.6.0
kambala-decapitator Oct 17, 2022
21fc6a1
(#13435) openssl: updated url for old 1.x versions
morningstar1 Oct 17, 2022
4a24d76
(#13508) oatpp-libressl: conan v2 support
SpaceIm Oct 17, 2022
5f0b933
(#13509) oatpp-websocket: conan v2 support
SpaceIm Oct 17, 2022
e6f38f5
(#13510) flecs: add 3.1.0 + build either shared or static if >= 3.0.1
SpaceIm Oct 17, 2022
f38adf2
(#13512) zstr: conan v2 support
SpaceIm Oct 17, 2022
2296ee1
(#13513) zint: conan v2 support
SpaceIm Oct 17, 2022
6d2a713
(#13365) grpc: update abseil
toge Oct 17, 2022
fafe0cd
(#13514) zeromq: conan v2 support
SpaceIm Oct 17, 2022
0742f46
(#13515) libcorrect: conan v2 support
SpaceIm Oct 17, 2022
962095c
(#13516) lurlparser: add recipe
toge Oct 17, 2022
9cbc92f
(#13517) qt-advanced-docking-system/3.8.3
ericLemanissier Oct 17, 2022
ecdf7fa
(#13518) qarchive/2.1.1
ericLemanissier Oct 17, 2022
b596851
(#13520) libevent: conan v2 support
SpaceIm Oct 17, 2022
2017422
(#13521) tmxlite: conan v2 support
SpaceIm Oct 17, 2022
5d957b4
(#13522) tmx: conan v2 support
SpaceIm Oct 17, 2022
9520538
(#13523) brynet: conan v2 support
SpaceIm Oct 18, 2022
5dd60f9
(#13525) jxrlib: conan v2 support
SpaceIm Oct 18, 2022
c6d36e2
(#13529) ecos: conan v2 support
SpaceIm Oct 18, 2022
41737f9
(#13531) arcus: conan v2 support
SpaceIm Oct 18, 2022
5ac7587
(#13532) gamma: conan v2 support
SpaceIm Oct 18, 2022
1a17b4c
(#13538) xorg: allow cross compilation
ericLemanissier Oct 18, 2022
7920782
(#13541) opengl: allow cross compilation
ericLemanissier Oct 18, 2022
901aebb
(#13542) egl: allow cross compilation
ericLemanissier Oct 18, 2022
03118e8
(#13543) [bot] Add Access Request users (2022-10-17)
conan-center-bot Oct 18, 2022
2af0b4f
(#13544) bump github actions
ericLemanissier Oct 18, 2022
d78fefe
(#13545) Create dependabot.yml
ericLemanissier Oct 18, 2022
42faf2b
(#13527) tcb-span: add vercion cci.20220616 and support conan v2
toge Oct 18, 2022
71f7dfb
(#13549) [doc] Update supported platforms and configurations (2022-10…
conan-center-bot Oct 18, 2022
dfd7ddc
(#12747) migrate hash-library to conan v2
AndreyMlashkin Oct 18, 2022
0bb4601
(#13524) embree3: conan v2 support
SpaceIm Oct 18, 2022
f9ac9d9
(#13553) libmaxminddb: add version 1.7.1
toge Oct 18, 2022
72c8359
(#13185) [yasm/xxx] Conan v2 migration
MartinDelille Oct 18, 2022
4abc68a
(#13496) aws-c-auth: change dependeant recipe version for aws-c-s3
toge Oct 18, 2022
2fb7710
(#13557) freetype: v2 touchups + use `cmake_layout`
Oct 18, 2022
5336e48
(#13558) meshoptimizer: conan v2 support
SpaceIm Oct 18, 2022
50945a3
(#13559) conan v2: ignore the files in `test_output/`
Oct 18, 2022
583751d
(#13556) fmt: touchup how layout is being used
Oct 18, 2022
20fd806
(#13429) strawberryperl: conan v2
Oct 18, 2022
07419eb
(#13565) libudev: allow cross compilation
ericLemanissier Oct 18, 2022
f6be60d
(#13566) vdpau: allow cross compilation
ericLemanissier Oct 18, 2022
b6f44a4
(#13567) vaapi: allow cross compilation
ericLemanissier Oct 18, 2022
a3b6451
(#13568) gtk/system: allow cross compilation
ericLemanissier Oct 18, 2022
356dc04
(#13569) glu: allow cross compilation
ericLemanissier Oct 18, 2022
ad92cda
(#13571) egl: use new system helper
ericLemanissier Oct 18, 2022
7eafaf9
(#13573) yasm: fix MinGW
SpaceIm Oct 18, 2022
23b6941
(#13576) libevent: build either shared or static
SpaceIm Oct 18, 2022
2ad024b
(#13580) [actions] Revert tj-actions/changed-file to version v20
uilianries Oct 18, 2022
c4f45d4
(#13579) Revert "Create dependabot.yml"
uilianries Oct 18, 2022
fcb0b18
(#13357) Declare package_type and prevent Conan 2 errors with self.en…
System-Arch Oct 18, 2022
42393a6
(#13563) avcpp: add version 2.1.0 and suppport conan v2
toge Oct 18, 2022
85be44d
(#13560) lmdb: conan v2 support
SpaceIm Oct 18, 2022
f39baf7
(#13494) aws-c-s3: add version 0.1.49 and support conan v2
toge Oct 19, 2022
843317a
(#13526) lief: support conan v2 and update dependencies
toge Oct 19, 2022
e18b9c9
(#13575) Add libde265/1.0.9 recipe
theirix Oct 19, 2022
aa8b85a
(#13488) wayland: Modernize test package
jwillikers Oct 19, 2022
d30e231
(#13581) strawberryperl: few improvements
SpaceIm Oct 19, 2022
ce26ee8
(#13299) opentelemetry-cpp: add version 1.6.1 and support conan v2
toge Oct 19, 2022
64298d8
(#13487) wayland-protocols: Conan V2
jwillikers Oct 19, 2022
ca6b7e7
(#13598) opentdf-client: add version 1.3.2
sujankota Oct 19, 2022
5253b77
(#13597) zlib: fix lib name on windows for other compilers than msvc/…
SpaceIm Oct 19, 2022
5c33ec9
(#11877) add marisa/0.2.6 recipe
tuduongquyet Oct 19, 2022
ba36805
(#13196) usockets: add version 0.8.2 and support conan v2
toge Oct 19, 2022
fdba199
(#13582) onetbb: Android: workaround for current AndroidNDK builds
cguentherTUChemnitz Oct 19, 2022
c7c4025
(#13595) add xtrans/system
ericLemanissier Oct 19, 2022
842c55b
(#13490) docs: v2 migration guidence for `conf_info`
Oct 19, 2022
3d29d5d
(#13603) [docs] Add Meson template
uilianries Oct 19, 2022
1bf681d
(#13591) Add vulkan-headers 1.3.231
Ahajha Oct 19, 2022
a0cdbcb
(#13570) opengl: use new system helpers
ericLemanissier Oct 19, 2022
46a73a7
(#13592) xorg: remove xkeyboard-config and xtrans
ericLemanissier Oct 19, 2022
39f4ce8
(#13599) alac: improvements for conan 2.x client
SpaceIm Oct 19, 2022
60a4b62
(#13610) docs: remove lines to make frameworkdirs and resdirs empty o…
toge Oct 19, 2022
3906097
(#13594) add xkeyboard-config/system
ericLemanissier Oct 19, 2022
111b041
(#13609) aws-c-mqtt: change dependant recipe version for aws-crt-cpp
toge Oct 19, 2022
7154dbe
(#13600) emsdk: fixes for conan 2.x client
SpaceIm Oct 19, 2022
a85bc26
(#13615) amqp-cpp: add version 4.3.18
qchateau Oct 19, 2022
caff0f9
(#13624) harfbuzz: add version 5.3.1
ericLemanissier Oct 20, 2022
c7c1d8f
(#13499) glaze: add recipe
toge Oct 20, 2022
9c774bf
(#13611) [docs] Regenerate tables of contents
github-actions[bot] Oct 20, 2022
1739efa
(#13617) zopfli: fixes for conan v2 client
SpaceIm Oct 20, 2022
c2c60d9
(#13616) xerces-c: hotfix - honor `shared=False` option
SpaceIm Oct 20, 2022
c50e33c
(#13604) xkbcommon: finer grain requirements
ericLemanissier Oct 20, 2022
7c6b9e4
(#13564) Add libmicrohttpd/0.9.75 recipe
madebr Oct 20, 2022
f0cdd76
(#13608) aws-c-event-stream: change dependant recipe version for aws-…
toge Oct 20, 2022
86de5ed
(#13618) spdlog: several fixes for conan v2 client
SpaceIm Oct 20, 2022
26482f9
(#13629) meson-template: several improvements
SpaceIm Oct 21, 2022
ee8874d
(#13633) aws-crt-cpp: add version 0.18.8 and suppport conan v2
toge Oct 21, 2022
4b20708
(#13642) wayland-protocols: Check tools.gnu:pkg_config setting
jwillikers Oct 21, 2022
5d069ec
(#13622) libaec: upgrade for conan v2
paulharris Oct 21, 2022
5170e61
(#13654) daw_header_libraries: add version 2.72.0
toge Oct 21, 2022
f862a06
(#13601) android-ndk: fix for conan 2.x client
SpaceIm Oct 21, 2022
0274209
(#13587) libexif: add 0.6.24 + conan v2 support
theirix Oct 21, 2022
0852a31
(#13632) meson: handle `tools.meson.mesontoolchain:backend` & fix for…
SpaceIm Oct 21, 2022
9ac069d
(#13636) autotools template: several improvements
SpaceIm Oct 21, 2022
f2a80c1
(#13649) fp16: conan v2 support
SpaceIm Oct 21, 2022
a7ee4fb
(#13612) xkbcommon: Use PkgConfigDeps build context for wayland
jwillikers Oct 21, 2022
4924cfd
(#13644) header-only template: several improvements
SpaceIm Oct 21, 2022
18dda6c
(#13647) pcre2: bump zlib
madebr Oct 21, 2022
4bff4d2
(#13659) cpuinfo: conan v2 support
SpaceIm Oct 21, 2022
5dad5f6
(#13663) sfml: conan v2 support
SpaceIm Oct 21, 2022
dd9380f
(#13627) [bot] Add Access Request users (2022-10-20)
conan-center-bot Oct 22, 2022
60b30ab
(#13661) sophus: add version 22.10
VladyslavUsenko Oct 22, 2022
010c142
(#13648) xnnpack: conan v2 support
SpaceIm Oct 22, 2022
923318d
(#12657) psimd: conan v2 support
SpaceIm Oct 22, 2022
abf39ae
(#12956) [libcurl/xxx] Conan v2 migration
MartinDelille Oct 22, 2022
b4c7827
(#13589) orcania: add orcania/2.3.1 recipe
madebr Oct 22, 2022
b485b94
(#13656) [cmake-template] Simplify test_v1_package CMakeLists.txt
uilianries Oct 22, 2022
a3d69d4
(#13675) cli11: add version 2.3.0
Oct 22, 2022
9fb6fea
(#13676) wolfssl: add version 5.5.1
Oct 22, 2022
4e412b1
(#13643) asio-grpc: Add 2.2.0
Tradias Oct 22, 2022
075c614
(#13561) restbed: add restbed/4.8 recipe
madebr Oct 22, 2022
03c3802
(#13692) daw_json_link: add version 3.1.1
toge Oct 23, 2022
ed0ea5d
Apply suggestions from code review
jellespijker Oct 23, 2022
a2d8510
Use export_conandata_patches
jellespijker Oct 23, 2022
642c352
Removed unused conf_info values
jellespijker Oct 23, 2022
afa1246
Merge branch 'conan-io:master' into CURA-8831_autoconf
jellespijker Oct 23, 2022
53275c4
Check against empty string for conf value bash path
jellespijker Oct 29, 2022
f05d39a
Update recipes/autoconf/all/conanfile.py
jellespijker Oct 31, 2022
f76bdfe
Apply suggestions from code review
jellespijker Nov 2, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions recipes/autoconf/all/conandata.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,13 @@ sources:
patches:
"2.71":
- patch_file: "patches/2.71-0001-autom4te-relocatable.patch"
base_path: "source_subfolder"
- patch_file: "patches/2.71-0002-no-perl-path-in-shebang.patch"
base_path: "source_subfolder"
- patch_file: "patches/2.71-0003-uppercase-autom4te_perllibdir.patch"
base_path: "source_subfolder"
- patch_file: "patches/2.71-0004-no-embedded-m4-paths.patch"
base_path: "source_subfolder"
- patch_file: "patches/2.71-0005-disable-man-regeneration.patch"
base_path: "source_subfolder"
- patch_file: "patches/2.71-0006-autoconf-no-embedded-trailer_m4-path.patch"
base_path: "source_subfolder"
"2.69":
- patch_file: "patches/2.69-0001-autom4te-relocatable.patch"
base_path: "source_subfolder"
- patch_file: "patches/2.69-0002-no-perl-path-in-shebang.patch"
base_path: "source_subfolder"
- patch_file: "patches/2.69-0003-uppercase-autom4te_perllibdir.patch"
base_path: "source_subfolder"
- patch_file: "patches/2.69-0004-no-embedded-m4-paths.patch"
base_path: "source_subfolder"
203 changes: 113 additions & 90 deletions recipes/autoconf/all/conanfile.py
Original file line number Diff line number Diff line change
@@ -1,122 +1,145 @@
from conans import AutoToolsBuildEnvironment, ConanFile, tools
import contextlib
import os
from conan import ConanFile
from conan.tools.env import VirtualBuildEnv
from conan.tools.files import copy, get, rmdir, apply_conandata_patches
from conan.tools.gnu import Autotools, AutotoolsToolchain, AutotoolsDeps
from conan.tools.layout import basic_layout
from conan.tools.microsoft import unix_path, is_msvc

required_conan_version = ">=1.33.0"
required_conan_version = ">=1.51.3"


class AutoconfConan(ConanFile):
name = "autoconf"
description = "Autoconf is an extensible package of M4 macros that produce shell scripts to automatically configure software source code packages"
license = ("GPL-2.0-or-later", "GPL-3.0-or-later")
url = "https://github.com/conan-io/conan-center-index"
homepage = "https://www.gnu.org/software/autoconf/"
description = "Autoconf is an extensible package of M4 macros that produce shell scripts to automatically configure software source code packages"
topics = ("autoconf", "configure", "build")
license = ("GPL-2.0-or-later", "GPL-3.0-or-later")
settings = "os", "arch", "compiler", "build_type"

exports_sources = "patches/*"

_autotools = None

@property
def _source_subfolder(self):
return os.path.join(self.source_folder, "source_subfolder")

@property
def _settings_build(self):
# TODO: Remove for Conan v2
return getattr(self, "settings_build", self.settings)

@property
def win_bash(self):
return self._settings_build.os == "Windows"
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This can just be a property; conan will only apply the setting if OS=windows

The self.win_bash is an attribute of the conanfile, when set to True and only when running in Windows (you don’t need to check if you are in Windows), it will run the self.run() commands inside a bash shell.

https://docs.conan.io/en/latest/systems_cross_building/windows_subsystems.html#self-win-bash


def export_sources(self):
for p in self.conan_data.get("patches", {}).get(self.version, []):
copy(self, p["patch_file"], self.recipe_folder, self.export_sources_folder)

def layout(self):
basic_layout(self, src_folder="autoconf")

def requirements(self):
self.requires("m4/1.4.19")

def build_requirements(self):
if hasattr(self, "settings_build"):
self.build_requires("m4/1.4.19")
if self._settings_build.os == "Windows" and not tools.get_env("CONAN_BASH_PATH"):
self.build_requires("msys2/cci.latest")

def package_id(self):
self.info.header_only()
self.info.clear()

def build_requirements(self):
if self._settings_build.os == "Windows" and not self.conf.get("tools.microsoft.bash:path", default=False, check_type=bool):
self.tool_requires("msys2/cci.latest")

def source(self):
tools.get(**self.conan_data["sources"][self.version],
destination=self._source_subfolder, strip_root=True)
get(self, **self.conan_data["sources"][self.version],
destination=self.source_folder, strip_root=True)

@property
def _datarootdir(self):
return os.path.join(self.package_folder, "bin", "share")
def generate(self):
tc = AutotoolsToolchain(self)
tc.configure_args.extend([
"--datarootdir=${prefix}/res",
])

@property
def _autoconf_datarootdir(self):
return os.path.join(self._datarootdir, "autoconf")

def _configure_autotools(self):
if self._autotools:
return self._autotools
self._autotools = AutoToolsBuildEnvironment(self, win_bash=tools.os_info.is_windows)
datarootdir = self._datarootdir
prefix = self.package_folder
if self.settings.os == "Windows":
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These two statements can be combined

Suggested change
if self.settings.os == "Windows":
if self.settings.os == "Windows" and is_msvc(self):

datarootdir = tools.unix_path(datarootdir)
prefix = tools.unix_path(prefix)
conf_args = [
"--datarootdir={}".format(datarootdir),
"--prefix={}".format(prefix),
]
self._autotools.configure(args=conf_args, configure_dir=self._source_subfolder)
return self._autotools

def _patch_files(self):
for patch in self.conan_data.get("patches", {}).get(self.version, []):
tools.patch(**patch)

@contextlib.contextmanager
def _build_context(self):
with tools.environment_append(tools.RunEnvironment(self).vars):
yield
if is_msvc(self):
build = "{}-{}-{}".format(
"x86_64" if self._settings_build.arch == "x86_64" else "i686",
"pc" if self._settings_build.arch == "x86" else "win64",
"mingw32")
host = "{}-{}-{}".format(
"x86_64" if self.settings.arch == "x86_64" else "i686",
"pc" if self.settings.arch == "x86" else "win64",
"mingw32")
tc.configure_args.append(f"--build={build}")
tc.configure_args.append(f"--host={host}")

env = tc.environment()
env.define("INSTALL", unix_path(self, str(self.source_path.joinpath('build-aux', 'install-sh'))))
tc.generate(env)

deps = AutotoolsDeps(self)
deps.generate()

ms = VirtualBuildEnv(self)
ms.generate(scope="build")

def build(self):
self._patch_files()
with self._build_context():
autotools = self._configure_autotools()
autotools.make()
apply_conandata_patches(self)

autotools = Autotools(self)
autotools.configure()
autotools.make()

def package(self):
self.copy("COPYING*", src=self._source_subfolder, dst="licenses")
with self._build_context():
autotools = self._configure_autotools()
autotools.install()
tools.rmdir(os.path.join(self.package_folder, "bin", "share", "info"))
tools.rmdir(os.path.join(self.package_folder, "bin", "share", "man"))
autotools = Autotools(self)
autotools.install(args=[f"DESTDIR={unix_path(self, self.package_folder)}"]) # Need to specify the `DESTDIR` as a Unix path, aware of the subsystem

copy(self, "COPYING*", src=self.source_folder, dst=self.package_path.joinpath("licenses"))
rmdir(self, self.package_path.joinpath("res", "info"))
rmdir(self, self.package_path.joinpath("res", "man"))

def package_info(self):
self.cpp_info.libdirs = []
self.cpp_info.includedirs = []

bin_path = os.path.join(self.package_folder, "bin")
self.output.info("Appending PATH env var with : {}".format(bin_path))
self.env_info.PATH.append(bin_path)

ac_macrodir = self._autoconf_datarootdir
self.output.info("Setting AC_MACRODIR to {}".format(ac_macrodir))
self.env_info.AC_MACRODIR = ac_macrodir

autoconf = tools.unix_path(os.path.join(self.package_folder, "bin", "autoconf"))
self.output.info("Setting AUTOCONF to {}".format(autoconf))
self.env_info.AUTOCONF = autoconf

autoreconf = tools.unix_path(os.path.join(self.package_folder, "bin", "autoreconf"))
self.output.info("Setting AUTORECONF to {}".format(autoreconf))
self.env_info.AUTORECONF = autoreconf

autoheader = tools.unix_path(os.path.join(self.package_folder, "bin", "autoheader"))
self.output.info("Setting AUTOHEADER to {}".format(autoheader))
self.env_info.AUTOHEADER = autoheader

autom4te = tools.unix_path(os.path.join(self.package_folder, "bin", "autom4te"))
self.output.info("Setting AUTOM4TE to {}".format(autom4te))
self.env_info.AUTOM4TE = autom4te

autom4te_perllibdir = self._autoconf_datarootdir
self.output.info("Setting AUTOM4TE_PERLLIBDIR to {}".format(autom4te_perllibdir))
self.env_info.AUTOM4TE_PERLLIBDIR = autom4te_perllibdir
bin_path = self.package_path.joinpath("bin")
self.output.info(f"Appending PATH environment variable: {bin_path}")
self.env_info.PATH.append(str(bin_path))

dataroot_path = self.package_path.joinpath("res", "autoconf")
self.output.info(f"Defining AC_MACRODIR environment variable: {dataroot_path}")
self.env_info.AC_MACRODIR = str(dataroot_path)
self.buildenv_info.define_path("AC_MACRODIR", str(dataroot_path))

self.output.info(f"Defining AUTOM4TE_PERLLIBDIR environment variable: {dataroot_path}")
self.env_info.AUTOM4TE_PERLLIBDIR = str(dataroot_path)
self.buildenv_info.define_path("AUTOM4TE_PERLLIBDIR", str(dataroot_path))

autoconf_bin = bin_path.joinpath("autoconf")
self.output.info(f"Defining AUTOCONF environment variable: {autoconf_bin}")
self.env_info.AUTOCONF = str(autoconf_bin)
self.buildenv_info.define_path("AUTOCONF", str(autoconf_bin))

autoconf_bin_conf_key = "tools.autoconf:autoconf"
self.output.info(f"Defining path to autoconf binary in configuration as `{autoconf_bin_conf_key}` with value: {autoconf_bin}")
self.conf_info.define(autoconf_bin_conf_key, str(autoconf_bin))

autoreconf_bin = bin_path.joinpath("autoreconf")
self.output.info(f"Defining AUTORECONF environment variable: {autoreconf_bin}")
self.env_info.AUTORECONF = str(autoreconf_bin)
self.buildenv_info.define_path("AUTORECONF", str(autoreconf_bin))

autoreconf_bin_conf_key = "tools.autoconf:autoreconf"
self.output.info(f"Defining path to autoreconf binary in configuration as `{autoreconf_bin_conf_key}` with value: {autoreconf_bin}")
self.conf_info.define(autoreconf_bin_conf_key, str(autoreconf_bin))

autoheader_bin = bin_path.joinpath("autoheader")
self.output.info(f"Defining AUTOHEADER environment variable: {autoheader_bin}")
self.env_info.AUTOHEADER = str(autoheader_bin)
self.buildenv_info.define_path("AUTOHEADER", str(autoheader_bin))

autoheader_bin_conf_key = "tools.autoconf:autoheader"
self.output.info(f"Defining path to autoheader binary in configuration as `{autoheader_bin_conf_key}` with value: {autoheader_bin}")
self.conf_info.define(autoheader_bin_conf_key, str(autoheader_bin))

autom4te_bin = bin_path.joinpath("autom4te")
self.output.info(f"Defining AUTOM4TE environment variable: {autom4te_bin}")
self.env_info.AUTOM4TE = str(autom4te_bin)
self.buildenv_info.define_path("AUTOM4TE", str(autom4te_bin))

autom4te_bin_conf_key = "tools.autoconf:autom4te"
self.output.info(f"Defining path to autom4te binary in configuration as `{autom4te_bin_conf_key}` with value: {autom4te_bin}")
self.conf_info.define(autom4te_bin_conf_key, str(autom4te_bin))
62 changes: 34 additions & 28 deletions recipes/autoconf/all/test_package/conanfile.py
Original file line number Diff line number Diff line change
@@ -1,47 +1,53 @@
from conans import AutoToolsBuildEnvironment, ConanFile, tools
from conan.tools.microsoft import is_msvc
import contextlib
import os
import shutil
from os import path

required_conan_version = ">=1.45.0"
from conan import ConanFile
from conan.tools.build import can_run
from conan.tools.gnu import Autotools
from conan.tools.microsoft import unix_path

required_conan_version = ">=1.50.0"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
required_conan_version = ">=1.50.0"
required_conan_version = ">=1.51.3"

Not necessary, just suggested since it is easy to commit.



class TestPackageConan(ConanFile):
settings = "os", "compiler", "build_type", "arch"
exports_sources = "configure.ac", "config.h.in", "Makefile.in", "test_package_c.c", "test_package_cpp.cpp",
generators = "AutotoolsDeps", "AutotoolsToolchain", "VirtualBuildEnv"
test_type = "explicit"

@property
def _settings_build(self):
# TODO: Remove for Conan v2
return getattr(self, "settings_build", self.settings)

@property
def win_bash(self):
return self._settings_build.os == "Windows"

def build_requirements(self):
self.build_requires(self.tested_reference_str)
if self._settings_build.os == "Windows" and not tools.get_env("CONAN_BASH_PATH"):
self.build_requires("msys2/cci.latest")

@contextlib.contextmanager
def _build_context(self):
if is_msvc(self):
with tools.vcvars(self):
with tools.environment_append({"CC": "cl -nologo", "CXX": "cl -nologo",}):
yield
else:
yield
if self._settings_build.os == "Windows" and not self.conf.get("tools.microsoft.bash:path", default=False, check_type=bool):
self.tool_requires("msys2/cci.latest") # The conf `tools.microsoft.bash:path` and `tools.microsoft.bash:subsystem` aren't injected for test_package
self.tool_requires(self.tested_reference_str)

def build(self):
if self._settings_build.os == "Windows" and not self.conf.get("tools.microsoft.bash:path", default=False, check_type=bool):
return # autoconf needs a bash if there isn't a bash no need to build

for src in self.exports_sources:
shutil.copy(os.path.join(self.source_folder, src), self.build_folder)
self.run("{} --verbose".format(os.environ["AUTOCONF"]),
win_bash=tools.os_info.is_windows, run_environment=True)
self.run("{} --help".format(os.path.join(self.build_folder, "configure").replace("\\", "/")),
win_bash=tools.os_info.is_windows, run_environment=True)
autotools = AutoToolsBuildEnvironment(self, win_bash=tools.os_info.is_windows)
with self._build_context():
autotools.configure()
autotools.make()
shutil.copy(path.join(self.source_folder, src), self.build_folder)

self.run(f"autoconf --verbose", env="conanbuild")
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does not need to be a f-string

Suggested change
self.run(f"autoconf --verbose", env="conanbuild")
self.run("autoconf --verbose", env="conanbuild")


autotools = Autotools(self)
autotools.configure(build_script_folder=self.build_folder)
autotools.make()

def test(self):
if not tools.cross_building(self):
self.run(os.path.join(".", "test_package"), run_environment=True)
if self._settings_build.os == "Windows" and not self.conf.get("tools.microsoft.bash:path", default=False, check_type=bool):
return # autoconf needs a bash if there isn't a bash no need to build

if can_run(self):
ext = ".exe" if self.settings.os == "Windows" else ""
test_cmd = unix_path(self, path.join(self.build_folder, f"test_package{ext}"))

self.run(test_cmd, env="conanbuild")
14 changes: 14 additions & 0 deletions recipes/autoconf/all/test_v1_package/Makefile.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# @configure_input@

SRCS = test_package_c.c test_package_cpp.cpp

OBJS := $(patsubst %.c,%.@OBJEXT@,$(patsubst %.cpp,%.@OBJEXT@,$(SRCS)))

test_package@EXEEXT@: $(OBJS)
@CXX@ @CXXFLAGS@ @LDFLAGS@ $^ -o $@

%.@OBJEXT@: %.cpp
@CXX@ @CXXFLAGS@ @CPPFLAGS@ -c $< @CC_MINUS_O@ $@

%.@OBJEXT@: %.c
@CC@ @CFLAGS@ @CPPFLAGS@ -c $< @CC_MINUS_O@ $@
Loading