Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
  • freedesktop-sdk freedesktop-sdk
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 180
    • Issues 180
    • List
    • Boards
    • Service Desk
    • Milestones
    • Requirements
  • Merge requests 204
    • Merge requests 204
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • freedesktop-sdkfreedesktop-sdk
  • freedesktop-sdkfreedesktop-sdk
  • Merge requests
  • !4569

Include tkinter module for Python

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open Thomas Coldrick requested to merge coldtom/tkinter into master Feb 26, 2021
  • Overview 27
  • Commits 1
  • Pipelines 7
  • Changes 19

Resolves #976.

So to add Tkinter into the runtime, python needs to link against Tcl and Tk. Tk looked to have few dependencies, but it turns out it sits atop a pile of python3 dependencies, and so I was forced to bootstrap python, and also a bunch of other elements which I suppose we'll want rebuilding against the proper python3 too. This is a very rough version of this, which manages to pass the python3 -c "import tkinter" test on the built python3 element.

On top of that Tcl and Perl provide a conflicting Thread(3) manpage, of which I've arbitrarily chosen Tcl's to remove for now (I didn't fancy rebuilding autotools etc.)

Mainly looking for general feedback about if tkinter is worth the faff of building python and a litany of other modules twice, or if we should just somehow provide a "Python but more" extension.

Edited Feb 27, 2021 by Thomas Coldrick
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: coldtom/tkinter