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

DEB & RPM packages for ThemisPP #506

Merged
merged 1 commit into from
Jul 23, 2019
Merged

Conversation

ilammy
Copy link
Collaborator

@ilammy ilammy commented Jul 22, 2019

Introduce DEB and RPM packages for ThemisPP. Since C++ is system language related to C, it's natural to provide our C++ wrapper as a system package. The wrapper requires Themis Core to be installed so this plays out nicely in the end.

Alternatively, we can provide a package for various other package managers for C++ (such as Conan, vcpkg, CMake, Meson, and a zillion others) but there isn't much demand for that, and we'd have to provide Themis Core there as well for proper versioning and dependencies. So let's not complicate it more than necessary.

Since ThemisPP is header-only we provide development packages: libthemispp-dev and libthemispp-devel. There is no libthemispp package that's required at runtime: just libthemis is enough.

While we're here, cleanup some name duplication in package names and dependencies.

Packaging isn't tested by CircleCI. I have verified this manually on Ubuntu 16.04 and CentOS 7, but only @shadinua knows whether this will work with BuildBot.

Introduce DEB and RPM packages for ThemisPP. Since C++ is system
language related to C, it's natural to provide our C++ wrapper as
a system package. The wrapper requires Themis Core to be installed
so this plays out nicely in the end.

Alternatively, we can provide a package for various other package
managers for C++ (such as Conan, vcpkg, CMake, Meson, and a zillion
others) but there isn't much demand for that, and we'd have to provide
Themis Core there as well for proper versioning and dependencies.
So let's not complicate it more than necessary.

Since ThemisPP is header-only we provide development packages:
"libthemispp-dev" and "libthemispp-devel". There is no "libthemispp"
package that's required at runtime: just "libthemis" is enough.

While we're here, cleanup some name duplication in package names and
dependencies.
@ilammy ilammy added W-ThemisPP ⚔️ Wrapper: ThemisPP, C++ API infrastructure Automated building and packaging labels Jul 22, 2019
Copy link
Collaborator

@Lagovas Lagovas left a comment

Choose a reason for hiding this comment

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

lgtm

@vixentael
Copy link
Contributor

We will need to update Install documentation and to show users the easy way to install ThemisPP

@ilammy ilammy merged commit 3bb9256 into cossacklabs:master Jul 23, 2019
@ilammy ilammy deleted the themispp-package branch July 23, 2019 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
infrastructure Automated building and packaging W-ThemisPP ⚔️ Wrapper: ThemisPP, C++ API
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants