Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cura 9575 automake conan v2 #5

Open
wants to merge 565 commits into
base: cura-dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 16 commits
Commits
Show all changes
565 commits
Select commit Hold shift + click to select a range
c21d14b
(#13301) aws-checksums: add version 0.1.13 and update dependencies
toge Oct 5, 2022
bdde7ec
(#13302) aws-c-sdkutils: update dependencies and support conan v2
toge Oct 5, 2022
c4aacc9
(#13304) aws-c-io: add version 0.13.4 and support conan v2
toge Oct 5, 2022
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
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
6829fcd
Merge branch 'conan-io:master' into CURA-9575_automake_conan_v2
jellespijker Oct 16, 2022
0abf603
move conf key from tools to user space
jellespijker Oct 16, 2022
7a780b2
use *_folder in favor of *_path
jellespijker Oct 16, 2022
bdfa9ad
reuse test_package source files
jellespijker Oct 16, 2022
51ca852
Reformat windows path
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
b5d8452
Merge branch 'conan-io:master' into CURA-9575_automake_conan_v2
jellespijker Oct 23, 2022
7fcccd1
use export_conandata_patches
jellespijker Oct 23, 2022
303355e
Use src folder as name for consistency
jellespijker Oct 23, 2022
070119f
Removed unused conf_info values
jellespijker Oct 23, 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
60 changes: 20 additions & 40 deletions recipes/automake/all/conandata.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,47 +16,27 @@ sources:
sha256: "608a97523f97db32f1f5d5615c98ca69326ced2054c9f82e65bade7fc4c9dea8"
patches:
"1.16.5":
- base_path: "source_subfolder"
patch_file: "patches/0001-help2man-no-discard-stderr-0.16.4.patch"
- base_path: "source_subfolder"
patch_file: "patches/0002-no-perl-path-in-shebang-0.16.4.patch"
- base_path: "source_subfolder"
patch_file: "patches/0003-remove-embedded-datadirs-introduce-automake-conan-includes-0.16.3.patch"
- base_path: "source_subfolder"
patch_file: "patches/0004-introduce-automake_perllibdir-0.16.3.patch"
- patch_file: "patches/0001-help2man-no-discard-stderr-0.16.4.patch"
- patch_file: "patches/0002-no-perl-path-in-shebang-0.16.4.patch"
- patch_file: "patches/0003-remove-embedded-datadirs-introduce-automake-conan-includes-0.16.3.patch"
- patch_file: "patches/0004-introduce-automake_perllibdir-0.16.3.patch"
"1.16.4":
- base_path: "source_subfolder"
patch_file: "patches/0001-help2man-no-discard-stderr-0.16.4.patch"
- base_path: "source_subfolder"
patch_file: "patches/0002-no-perl-path-in-shebang-0.16.4.patch"
- base_path: "source_subfolder"
patch_file: "patches/0003-remove-embedded-datadirs-introduce-automake-conan-includes-0.16.3.patch"
- base_path: "source_subfolder"
patch_file: "patches/0004-introduce-automake_perllibdir-0.16.3.patch"
- patch_file: "patches/0001-help2man-no-discard-stderr-0.16.4.patch"
- patch_file: "patches/0002-no-perl-path-in-shebang-0.16.4.patch"
- patch_file: "patches/0003-remove-embedded-datadirs-introduce-automake-conan-includes-0.16.3.patch"
- patch_file: "patches/0004-introduce-automake_perllibdir-0.16.3.patch"
"1.16.3":
- base_path: "source_subfolder"
patch_file: "patches/0001-help2man-no-discard-stderr-0.16.3.patch"
- base_path: "source_subfolder"
patch_file: "patches/0002-no-perl-path-in-shebang-0.16.3.patch"
- base_path: "source_subfolder"
patch_file: "patches/0003-remove-embedded-datadirs-introduce-automake-conan-includes-0.16.3.patch"
- base_path: "source_subfolder"
patch_file: "patches/0004-introduce-automake_perllibdir-0.16.3.patch"
- patch_file: "patches/0001-help2man-no-discard-stderr-0.16.3.patch"
- patch_file: "patches/0002-no-perl-path-in-shebang-0.16.3.patch"
- patch_file: "patches/0003-remove-embedded-datadirs-introduce-automake-conan-includes-0.16.3.patch"
- patch_file: "patches/0004-introduce-automake_perllibdir-0.16.3.patch"
"1.16.2":
- base_path: "source_subfolder"
patch_file: "patches/0001-help2man-no-discard-stderr-0.16.2.patch"
- base_path: "source_subfolder"
patch_file: "patches/0002-no-perl-path-in-shebang-0.16.2.patch"
- base_path: "source_subfolder"
patch_file: "patches/0003-remove-embedded-datadirs-introduce-automake-conan-includes-0.16.2.patch"
- base_path: "source_subfolder"
patch_file: "patches/0004-introduce-automake_perllibdir-0.16.2.patch"
- patch_file: "patches/0001-help2man-no-discard-stderr-0.16.2.patch"
- patch_file: "patches/0002-no-perl-path-in-shebang-0.16.2.patch"
- patch_file: "patches/0003-remove-embedded-datadirs-introduce-automake-conan-includes-0.16.2.patch"
- patch_file: "patches/0004-introduce-automake_perllibdir-0.16.2.patch"
"1.16.1":
- base_path: "source_subfolder"
patch_file: "patches/0001-help2man-no-discard-stderr-0.16.1.patch"
- base_path: "source_subfolder"
patch_file: "patches/0002-no-perl-path-in-shebang-0.16.1.patch"
- base_path: "source_subfolder"
patch_file: "patches/0003-remove-embedded-datadirs-introduce-automake-conan-includes-0.16.1.patch"
- base_path: "source_subfolder"
patch_file: "patches/0004-introduce-automake_perllibdir-0.16.1.patch"
- patch_file: "patches/0001-help2man-no-discard-stderr-0.16.1.patch"
- patch_file: "patches/0002-no-perl-path-in-shebang-0.16.1.patch"
- patch_file: "patches/0003-remove-embedded-datadirs-introduce-automake-conan-includes-0.16.1.patch"
- patch_file: "patches/0004-introduce-automake_perllibdir-0.16.1.patch"
251 changes: 146 additions & 105 deletions recipes/automake/all/conanfile.py
Original file line number Diff line number Diff line change
@@ -1,140 +1,181 @@
from conans import AutoToolsBuildEnvironment, ConanFile, tools
import os
from conan import ConanFile
from conan.tools.env import VirtualBuildEnv
from conan.tools.files import apply_conandata_patches, copy, get, replace_in_file, rmdir
from conan.tools.gnu import Autotools, AutotoolsDeps, AutotoolsToolchain
from conan.tools.layout import basic_layout
from conan.tools.microsoft import is_msvc, unix_path
from conan.tools.scm import Version

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


class AutomakeConan(ConanFile):
name = "automake"
description = "Automake is a tool for automatically generating Makefile.in files compliant with the GNU Coding Standards."
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/automake/"
description = "Automake is a tool for automatically generating Makefile.in files compliant with the GNU Coding Standards."
topics = ("conan", "automake", "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")
def _settings_build(self):
# TODO: Remove for Conan v2
return getattr(self, "settings_build", self.settings)

@property
def _version_major_minor(self):
[major, minor, _] = self.version.split(".", 2)
return '{}.{}'.format(major, minor)
def win_bash(self):
return self._settings_build.os == "Windows"

@property
def _settings_build(self):
return getattr(self, "settings_build", self.settings)
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 configure(self):
del self.settings.compiler.cppstd
del self.settings.compiler.libcxx
try:
del self.settings.compiler.libcxx # for plain C projects only
except ValueError:
pass
try:
del self.settings.compiler.cppstd # for plain C projects only
except ValueError:
pass
Comment on lines +33 to +40
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
try:
del self.settings.compiler.libcxx # for plain C projects only
except ValueError:
pass
try:
del self.settings.compiler.cppstd # for plain C projects only
except ValueError:
pass
try:
del self.settings.compiler.libcxx # for plain C projects only
del self.settings.compiler.cppstd # for plain C projects only
except ValueError:
pass

Copy link
Member Author

Choose a reason for hiding this comment

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

Then the second won't be deleted if the first fails. That would mess with the hash for the package.


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

def requirements(self):
self.requires("autoconf/2.71")
# automake requires perl-Thread-Queue package

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

def package_id(self):
del self.info.settings.arch
del self.info.settings.compiler
del self.info.settings.build_type
try:
del self.info.settings.arch
except ValueError:
pass
try:
del self.info.settings.compiler
except ValueError:
pass
try:
del self.info.settings.build_type
except ValueError:
pass
jellespijker marked this conversation as resolved.
Show resolved Hide resolved
Comment on lines +50 to +61
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
try:
del self.info.settings.arch
except ValueError:
pass
try:
del self.info.settings.compiler
except ValueError:
pass
try:
del self.info.settings.build_type
except ValueError:
pass
try:
del self.info.settings.arch
del self.info.settings.compiler
del self.info.settings.build_type
except ValueError:
pass

Copy link
Member Author

Choose a reason for hiding this comment

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

See above


def source(self):
tools.get(**self.conan_data["sources"][self.version],
destination=self._source_subfolder, strip_root=True)
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")

@property
def _datarootdir(self):
return os.path.join(self.package_folder, "res")
def source(self):
get(self, **self.conan_data["sources"][self.version],
destination=self.source_folder, strip_root=True)

def generate(self):
tc = AutotoolsToolchain(self)
tc.configure_args.extend([
"--datarootdir=${prefix}/res",
])
jellespijker marked this conversation as resolved.
Show resolved Hide resolved

if is_msvc(self):
build = "{}-{}-{}".format(

Choose a reason for hiding this comment

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

I like the mix of .format and string interpolation. This code is really clear.

"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}")
tc.generate()

deps = AutotoolsDeps(self)
deps.generate()

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

@property
def _automake_libdir(self):
return os.path.join(self._datarootdir, "automake-{}".format(self._version_major_minor))

def _configure_autotools(self):
if self._autotools:
return self._autotools
self._autotools = AutoToolsBuildEnvironment(self, win_bash=tools.os_info.is_windows)
conf_args = [
"--datarootdir={}".format(tools.unix_path(self._datarootdir)),
"--prefix={}".format(tools.unix_path(self.package_folder)),
]
self._autotools.configure(args=conf_args, configure_dir=self._source_subfolder)
return self._autotools

def _patch_files(self):
for patch in self.conan_data["patches"][self.version]:
tools.patch(**patch)
def build(self):
apply_conandata_patches(self)
if self.settings.os == "Windows":
# tracing using m4 on Windows returns Windows paths => use cygpath to convert to unix paths
tools.replace_in_file(os.path.join(self._source_subfolder, "bin", "aclocal.in"),
" $map_traced_defs{$arg1} = $file;",
" $file = `cygpath -u $file`;\n"
" $file =~ s/^\\s+|\\s+$//g;\n"
" $map_traced_defs{$arg1} = $file;")

def build(self):
self._patch_files()
autotools = self._configure_autotools()
replace_in_file(self, self.source_path.joinpath("bin", "aclocal.in"),
" $map_traced_defs{$arg1} = $file;",
" $file = `cygpath -u $file`;\n"
" $file =~ s/^\\s+|\\s+$//g;\n"
" $map_traced_defs{$arg1} = $file;")

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

def package(self):
self.copy("COPYING*", src=self._source_subfolder, dst="licenses")
autotools = self._configure_autotools()
autotools.install()
tools.rmdir(os.path.join(self._datarootdir, "info"))
tools.rmdir(os.path.join(self._datarootdir, "man"))
tools.rmdir(os.path.join(self._datarootdir, "doc"))
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

if self.settings.os == "Windows":
binpath = os.path.join(self.package_folder, "bin")
for filename in os.listdir(binpath):
fullpath = os.path.join(binpath, filename)
if not os.path.isfile(fullpath):
continue
os.rename(fullpath, fullpath + ".exe")
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"))
rmdir(self, self.package_path.joinpath("res", "doc"))

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 environment variable:: {}".format(bin_path))
self.env_info.PATH.append(bin_path)

bin_ext = ".exe" if self.settings.os == "Windows" else ""

aclocal = tools.unix_path(os.path.join(self.package_folder, "bin", "aclocal" + bin_ext))
self.output.info("Appending ACLOCAL environment variable with: {}".format(aclocal))
self.env_info.ACLOCAL.append(aclocal)

automake_datadir = tools.unix_path(self._datarootdir)
self.output.info("Setting AUTOMAKE_DATADIR to {}".format(automake_datadir))
self.env_info.AUTOMAKE_DATADIR = automake_datadir

automake_libdir = tools.unix_path(self._automake_libdir)
self.output.info("Setting AUTOMAKE_LIBDIR to {}".format(automake_libdir))
self.env_info.AUTOMAKE_LIBDIR = automake_libdir

automake_perllibdir = tools.unix_path(self._automake_libdir)
self.output.info("Setting AUTOMAKE_PERLLIBDIR to {}".format(automake_perllibdir))
self.env_info.AUTOMAKE_PERLLIBDIR = automake_perllibdir

automake = tools.unix_path(os.path.join(self.package_folder, "bin", "automake" + bin_ext))
self.output.info("Setting AUTOMAKE to {}".format(automake))
self.env_info.AUTOMAKE = automake

self.output.info("Append M4 include directories to AUTOMAKE_CONAN_INCLUDES environment variable")

self.user_info.compile = os.path.join(self._automake_libdir, "compile")
self.user_info.ar_lib = os.path.join(self._automake_libdir, "ar-lib")
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")
self.output.info(f"Defining AUTOMAKE_DATADIR environment variable: {dataroot_path}")
self.env_info.AUTOMAKE_DATADIR = str(dataroot_path)
self.buildenv_info.define_path("AUTOMAKE_DATADIR", str(dataroot_path))

version = Version(self.version)
automake_dataroot_path = dataroot_path.joinpath(f"automake-{version.major}.{version.minor}")
self.output.info(f"Defining AUTOMAKE_LIBDIR environment variable: {automake_dataroot_path}")
self.env_info.AUTOMAKE_LIBDIR = str(automake_dataroot_path)
self.buildenv_info.define_path("AUTOMAKE_LIBDIR", str(automake_dataroot_path))

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

aclocal_bin = bin_path.joinpath("aclocal")
self.output.info(f"Defining ACLOCAL environment variable: {aclocal_bin}")
self.env_info.ACLOCAL = str(aclocal_bin)
self.buildenv_info.define_path("ACLOCAL", str(aclocal_bin))

aclocal_bin_conf_key = "tools.automake:aclocal"
self.output.info(f"Defining path to aclocal binary in configuration as `{aclocal_bin_conf_key}` with value: {aclocal_bin}")
self.conf_info.define(aclocal_bin_conf_key, str(aclocal_bin))

automake_bin = bin_path.joinpath("automake")
self.output.info(f"Defining AUTOMAKE environment variable: {automake_bin}")
self.env_info.AUTOMAKE = str(automake_bin)
self.buildenv_info.define_path("AUTOMAKE", str(automake_bin))

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

compile_bin = automake_dataroot_path.joinpath("compile")
self.output.info(f"Define path to `compile` binary in user_info as: {compile_bin}")
self.user_info.compile = str(compile_bin)
compile_conf_key = "tools.automake:compile"
self.output.info(f"Defining path to `compile` binary in configuration as `{compile_conf_key}` with value: {compile_bin}")
self.conf_info.define(compile_conf_key, str(compile_bin))

ar_lib_bin = automake_dataroot_path.joinpath("ar-lib")
self.output.info(f"Define path to ar_lib binary in user_info as: {ar_lib_bin}")
self.user_info.ar_lib = str(ar_lib_bin)
ar_lib_conf_key = "tools.automake:ar-lib"
self.output.info(f"Defining path to ar-lib binary in configuration as `{ar_lib_conf_key}` with value: {ar_lib_bin}")
self.conf_info.define(ar_lib_conf_key, str(ar_lib_bin))

install_sh_bin = automake_dataroot_path.joinpath("install-sh")
self.output.info(f"Define path to install_sh binary in user_info as: {install_sh_bin}")
self.user_info.install_sh = str(install_sh_bin)
install_sh_conf_key = "tools.automake:install-sh"
self.output.info(f"Defining path to install_sh binary in configuration as `{install_sh_conf_key}` with value: {install_sh_bin}")
self.conf_info.define(install_sh_conf_key, str(install_sh_bin))
Loading