Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Build] Rename "linux" to "gtk3" #6

Closed
lytico opened this issue Apr 28, 2021 · 3 comments
Closed

[Build] Rename "linux" to "gtk3" #6

lytico opened this issue Apr 28, 2021 · 3 comments

Comments

@lytico
Copy link
Collaborator

lytico commented Apr 28, 2021

Description

rename all build variables / directories / file extensions from linux -> gkt3

Reason

  • gtk is os-agnostic, runs on mutliple *nix os'es (eg. FreeBsd, NetBsd)
  • there are more than on linux-gui-frameworks (eg. kde, qt)
  • there will (hopefully) an gkt4-implementation, and it needs to be offered in paralell with gtk3 for a long time to support linux-distros not changing to gtk4
@lytico
Copy link
Collaborator Author

lytico commented Apr 28, 2021

current Directory.Build.props: https://github.com/dotnet/maui/blob/73264c777d533930d75eb6329b0b88d57b899a41/Directory.Build.props

there could be:

<BuildForGtk3 Condition="'???'">true</BuildForGtk3>

<MauiPlatforms>net6.0-ios;net6.0-maccatalyst;net6.0-android;net6.0-gtk3</MauiPlatforms>

<BuildNonNet6ForGtk3>....</BuildNonNet6ForGtk3>
<BuildNonNet6ForGtk3 Condition="'$(SolutionFileName)' == 'Microsoft.Maui.Gtk3.sln'">true</BuildNonNet6ForGtk3>

so we have to introduce an Microsoft.Maui.Gtk3.sln maybe?

@lytico
Copy link
Collaborator Author

lytico commented Apr 29, 2021

in Microsoft.Maui.Graphics "Linux" is especially confusing, as there is https://github.com/dotnet/Microsoft.Maui.Graphics/tree/main/src/Microsoft.Maui.Graphics.Skia.GtkSharp
that runs on linux over skia

and there will be an implementation over Gtk directly, implementing a
NativeCanvas
using https://github.com/GtkSharp/GtkSharp/blob/develop/Source/Libs/CairoSharp/Context.cs

@lytico
Copy link
Collaborator Author

lytico commented Apr 30, 2021

#5 (comment)

@lytico lytico closed this as completed Jun 14, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Apr 14, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant