Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
freedesktop-sdk
freedesktop-sdk
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 190
    • Issues 190
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 60
    • Merge requests 60
  • Requirements
    • Requirements
    • List
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI/CD
    • Code Review
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • freedesktop-sdk
  • freedesktop-sdkfreedesktop-sdk
  • Merge requests
  • !4569

Open
Created Feb 26, 2021 by Thomas Coldrick@coldtomMaintainer
  • Report abuse
Report abuse

Include tkinter module for Python

  • Overview 26
  • 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
None
Milestone
None
Assign milestone
Time tracking
Source branch: coldtom/tkinter