Skip to content

Support 'flutter create' for Linux targets #30705

Closed

Description

@stuartmorgan-g

Once the shell is sufficiently mature, we need to support creation of a Linux runner from a template using flutter create.

The lack of a de-facto standard toolchain means we'll need to figure out what the default runner will use, both in terms of compiler (gcc? clang? try to support both?) and build system (make? cmake? gn+ninja?), as well as whether we'll require them to be installed by the developer, or use internally-managed copies.

Relatedly, we'll need to figure out how to handle runner dependencies. E.g., if the shell ends up being GTK-based, then the runner will have GTK dependencies, which will need to either be managed internally, or covered by flutter doctor

Activity

  1. added
    toolAffects the "flutter" command-line tool. See also t: labels.
    platform-linuxBuilding on or for Linux specifically
    on Apr 8, 2019
  2. handicraftsman commented on May 9, 2019

    @handicraftsman

    It would be a nice choice to provide some means of packaging for Linux applications, like flatpak or snap. Meanwhile building for flatpak means that you can just get the toolchain and the build system there, so there is no need to ask users to install an additional toolchain. Although flatpak enforces CamelCase application name (the last segment) in its id iirc.

  3. added this to the milestone on Aug 13, 2019
  4. stuartmorgan-g commented on Mar 17, 2020

    @stuartmorgan-g
    ContributorAuthor

    Closing since the pre-stable support for create landed. Remaining work to make it stable is tracked in #52749.

  5. lock commented on Apr 2, 2020

    @lock

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  6. locked and limited conversation to collaborators on Apr 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

a: desktopRunning on desktopplatform-linuxBuilding on or for Linux specificallytoolAffects the "flutter" command-line tool. See also t: labels.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions