Add Conan files
ClosedPublic

Authored by gladhorn on Jul 24 2017, 1:34 PM.

Details

Summary

Conan is a C++ package manager. This is an experiment to make KF5
frameworks available on Conan to make building KDE applications easier.
See also https://conan.io/ .

TODO:

  • detect version number automatically

Diff Detail

Repository
R243 KArchive
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
gladhorn created this revision.Jul 24 2017, 1:34 PM
Restricted Application added a project: Frameworks. · View Herald TranscriptJul 24 2017, 1:34 PM
Restricted Application added a subscriber: Frameworks. · View Herald Transcript
cfeck added a subscriber: cfeck.Jul 24 2017, 1:37 PM
cfeck added inline comments.
test_package/example.cpp
7

:)

apol added a subscriber: apol.Jul 24 2017, 1:40 PM
apol added inline comments.
conanfile.py
4

KArchiveConan?

6

Can we re-use the version from the CMakeLists.txt?

8

Re-use from metainfo.yml?

10

I don't understand what this means :(

test_package/conanfile.py
5

KArchiveTestConan

gladhorn updated this revision to Diff 17116.Jul 24 2017, 1:45 PM

Remove private test stuff

gladhorn updated this revision to Diff 17118.Jul 24 2017, 2:28 PM

Fix license

gladhorn updated this revision to Diff 17124.Jul 24 2017, 3:44 PM

remove -git from the version

gladhorn updated this revision to Diff 17126.Jul 24 2017, 3:49 PM

Updated according to comments

gladhorn marked 3 inline comments as done.Jul 24 2017, 3:50 PM
gladhorn added inline comments.
conanfile.py
6

The goal is to generate it.

8

For now we consider this as a proof of concept.

10

building shared libs or static ones.

gladhorn updated this revision to Diff 17127.Jul 24 2017, 3:53 PM
gladhorn marked an inline comment as done.

fix url

dfaure accepted this revision.Jul 24 2017, 4:35 PM
dfaure added a subscriber: dfaure.

I'll use this as basis for generating such files with an ECM macro, similar to what we do for pri files.

This revision is now accepted and ready to land.Jul 24 2017, 4:35 PM
This revision was automatically updated to reflect the committed changes.
Restricted Application edited subscribers, added: kde-frameworks-devel; removed: Frameworks. · View Herald TranscriptDec 1 2018, 10:49 PM