Skip to content

Extension points incorrectly pull in runtime #3173

Closed

Description

@TingPing

Some extensions are used against multiple runtimes like org.gtk.Gtk3theme and org.freedesktop.Platform.GL.nvidia.

Since 1.6 is being phased out we are encountering a situation where these extensions are pulling in the old runtime even though it got pulled in by 19.08 for example.

One possible solution is to add metadata saying that the extension point has no runtime ("--metadata=NoRuntime") similar to the existing metadata the nvidia extension already uses.

EDIT: Actually using metadata to solve this is problematic for the gtk themes since that requires updating 100 packages...

Activity

  1. alexlarsson commented on Oct 17, 2019

    @alexlarsson
    Member

    Hmm, this is a regression from #2954
    Before that we never installed runtimes that an extension depends upon, because that is not generally needed, since you never run the extension directly.

    I think we should change this code to only pull the extension if the extension uses extra-data.

  2. alexlarsson commented on Oct 17, 2019

    @alexlarsson
    Member

    Eh, only pull the runtime i mean.

  3. Othko97 commented on Oct 17, 2019

    @Othko97

    I don't think that solves the problem with the NVIDIA driver extension, or the openh264 extension (when I actually find time to finish it). Neither of these extensions (will, in the openh264 case) actually need a runtime installed to install themselves. Perhaps it could be restricted to "only pull the runtime if the extension uses extra-data AND the extension does not specify NoRuntime in the ExtraData metadata"?

  4. alexlarsson commented on Oct 17, 2019

    @alexlarsson
    Member

    Yeah, that too.

  5. changed the title [-]Extension points used across runtime versions incorrectly pull in old runtime[/-] [+]Extension points incorrectly pull in runtime[/+] on Nov 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions