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

ppa to include source #791

Closed
jgsuess opened this issue Oct 18, 2017 · 3 comments
Closed

ppa to include source #791

jgsuess opened this issue Oct 18, 2017 · 3 comments

Comments

@jgsuess
Copy link

jgsuess commented Oct 18, 2017

Hi!
We are using cmake and Ubuntu in our build. Would you be willing to make a PPA so json can be shipped in the ubuntu sphere.
And Yes - I am aware that:

  • it is just a single source file
  • I can use wget to simply grab it of the repository for each release.
    Consideration would be welcome though!
@nlohmann
Copy link
Owner

No problem. Is there anything I need to do?

@jgsuess
Copy link
Author

jgsuess commented Oct 19, 2017

Basically this: https://askubuntu.com/questions/71510/how-do-i-create-a-ppa#answer-71516
That would allow anyone wanting to use it to say
apt install json.h to get it. It also mirrors the version number.
And if you are really good you pack a pkg-config file with it: https://www.freedesktop.org/wiki/Software/pkg-config/
This will allow cmake-based projects to integrate json.h without any effort:
https://cmake.org/Wiki/CMake:How_To_Find_Libraries#Piggybacking_on_pkg-config
I know cmake is a bit old hat, compared to meson, but it is still pretty common...

@nlohmann
Copy link
Owner

As I am not actively using Ubuntu myself, I don't think it's a good idea to create this. If anyone is willing to do this, I would be happy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants