Skip to content
This repository was archived by the owner on Aug 5, 2022. It is now read-only.

Conversation

@ipuustin
Copy link
Contributor

Compile Python 3 without readline, gdbm, and db support. This removes the need for GPLv3 depedencies.

The patch was submitted upstream (https://patchwork.openembedded.org/patch/136368/) but never merged. This is the .bbappend version of it.

@mythi
Copy link
Contributor

mythi commented Mar 28, 2017

@ipuustin I think this is OK but perhaps follow-up with Ross if it was simply forgotten.

PACKAGECONFIG_remove_pn-pulseaudio = "avahi"

# leave out readline, gdbm, and db
PACKAGECONFIG_pn-python3 = ""
Copy link
Contributor

Choose a reason for hiding this comment

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

?= is preferred.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Right.

@ipuustin
Copy link
Contributor Author

@rossburton: what's your take on this? Should we have this in refkit or could we add the functionality to oe-core?

@rossburton
Copy link

Sorry, slipped through. Yes, I think the PACKAGECONFIGs should be in core. It's very late but I'll review that properly and see what we can do.

ipuustin added 2 commits April 6, 2017 14:13
The three libraries' (readline, gdbm, and db) licenses belong to the
GPLv3 family. Add them to to PACKAGECONFIG so they can be switched off
if the licensing doesn't allow using them. Python build system
autodetects the dependencies but doesn't allow them to be explicitly
disabled, so just deal with the dependencies.

The defaults in PACKAGECONFIG are the same as before, so there should be
no change to current users.

Signed-off-by: Ismo Puustinen <ismo.puustinen@intel.com>
Signed-off-by: Ismo Puustinen <ismo.puustinen@intel.com>
@mythi
Copy link
Contributor

mythi commented Apr 6, 2017

This is on it's way to oe-core but let's take the bbappend in until then.

@mythi mythi merged commit 1f7f1be into intel:master Apr 6, 2017
@ipuustin
Copy link
Contributor Author

It seems that this is somewhat broken now due to openembedded/openembedded-core@54a2549 . Need to investigate a bit.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants