Rename package to OpenMaui.Controls.Linux
- Changed package ID from Microsoft.Maui.Controls.Linux to OpenMaui.Controls.Linux - Updated all project files, namespaces, and documentation - Renamed template from maui-linux to openmaui-linux - Updated NuGet badges and install commands - Maintained MarketAlly LLC as owner/author Package: OpenMaui.Controls.Linux Template: OpenMaui.Linux.Templates Install: dotnet add package OpenMaui.Controls.Linux --prerelease
This commit is contained in:
parent
2535f16893
commit
071df4eb28
|
|
@ -4,26 +4,26 @@
|
||||||
<TargetFramework>net9.0</TargetFramework>
|
<TargetFramework>net9.0</TargetFramework>
|
||||||
<ImplicitUsings>enable</ImplicitUsings>
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
<RootNamespace>Microsoft.Maui.Platform.Linux</RootNamespace>
|
<RootNamespace>OpenMaui.Platform.Linux</RootNamespace>
|
||||||
<AssemblyName>Microsoft.Maui.Controls.Linux</AssemblyName>
|
<AssemblyName>OpenMaui.Controls.Linux</AssemblyName>
|
||||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||||
<GenerateDocumentationFile>true</GenerateDocumentationFile>
|
<GenerateDocumentationFile>true</GenerateDocumentationFile>
|
||||||
<NoWarn>$(NoWarn);CS0108;CS1591;CS0618</NoWarn>
|
<NoWarn>$(NoWarn);CS0108;CS1591;CS0618</NoWarn>
|
||||||
|
|
||||||
<!-- NuGet Package Properties -->
|
<!-- NuGet Package Properties -->
|
||||||
<PackageId>Microsoft.Maui.Controls.Linux</PackageId>
|
<PackageId>OpenMaui.Controls.Linux</PackageId>
|
||||||
<Version>1.0.0-preview.4</Version>
|
<Version>1.0.0-preview.1</Version>
|
||||||
<Authors>MAUI Linux Community Contributors</Authors>
|
<Authors>MarketAlly LLC, David H. Friedel Jr.</Authors>
|
||||||
<Company>.NET Foundation</Company>
|
<Company>MarketAlly LLC</Company>
|
||||||
<Product>.NET MAUI Linux Controls</Product>
|
<Product>OpenMaui Linux Controls</Product>
|
||||||
<Description>Linux desktop support for .NET MAUI applications using SkiaSharp rendering. Supports X11 and Wayland display servers.</Description>
|
<Description>Linux desktop support for .NET MAUI applications using SkiaSharp rendering. Supports X11 and Wayland display servers with 35+ controls, platform services, and accessibility support.</Description>
|
||||||
<Copyright>Copyright 2024-2025 .NET Foundation and Contributors</Copyright>
|
<Copyright>Copyright 2025 MarketAlly LLC</Copyright>
|
||||||
<PackageLicenseExpression>MIT</PackageLicenseExpression>
|
<PackageLicenseExpression>MIT</PackageLicenseExpression>
|
||||||
<PackageProjectUrl>https://github.com/dotnet/maui</PackageProjectUrl>
|
<PackageProjectUrl>https://github.com/open-maui/maui-linux</PackageProjectUrl>
|
||||||
<RepositoryUrl>https://github.com/dotnet/maui.git</RepositoryUrl>
|
<RepositoryUrl>https://github.com/open-maui/maui-linux.git</RepositoryUrl>
|
||||||
<RepositoryType>git</RepositoryType>
|
<RepositoryType>git</RepositoryType>
|
||||||
<PackageTags>maui;linux;desktop;skia;gui;cross-platform;dotnet;x11;wayland</PackageTags>
|
<PackageTags>maui;linux;desktop;skia;gui;cross-platform;dotnet;x11;wayland;openmaui</PackageTags>
|
||||||
<PackageReleaseNotes>Preview 2 with Image, ImageButton, and GraphicsView controls.</PackageReleaseNotes>
|
<PackageReleaseNotes>Initial preview release with 35+ controls and full platform services.</PackageReleaseNotes>
|
||||||
<PackageReadmeFile>README.md</PackageReadmeFile>
|
<PackageReadmeFile>README.md</PackageReadmeFile>
|
||||||
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
|
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
|
||||||
<IsPackable>true</IsPackable>
|
<IsPackable>true</IsPackable>
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<package xmlns="http://schemas.microsoft.com/packaging/2013/05/nuspec.xsd">
|
<package xmlns="http://schemas.microsoft.com/packaging/2013/05/nuspec.xsd">
|
||||||
<metadata>
|
<metadata>
|
||||||
<id>Microsoft.Maui.Controls.Linux</id>
|
<id>OpenMaui.Controls.Linux</id>
|
||||||
<version>1.0.0-preview.1</version>
|
<version>1.0.0-preview.1</version>
|
||||||
<title>.NET MAUI Linux Controls</title>
|
<title>OpenMaui Linux Controls</title>
|
||||||
<authors>MarketAlly LLC, David H. Friedel Jr.</authors>
|
<authors>MarketAlly LLC, David H. Friedel Jr.</authors>
|
||||||
<owners>MarketAlly LLC</owners>
|
<owners>MarketAlly LLC</owners>
|
||||||
<license type="expression">MIT</license>
|
<license type="expression">MIT</license>
|
||||||
|
|
@ -33,7 +33,7 @@ Initial release:
|
||||||
- 216 unit tests
|
- 216 unit tests
|
||||||
</releaseNotes>
|
</releaseNotes>
|
||||||
<copyright>Copyright 2025 MarketAlly LLC</copyright>
|
<copyright>Copyright 2025 MarketAlly LLC</copyright>
|
||||||
<tags>maui linux desktop skia gui cross-platform dotnet</tags>
|
<tags>maui linux desktop skia gui cross-platform dotnet openmaui</tags>
|
||||||
<repository type="git" url="https://github.com/open-maui/maui-linux.git" />
|
<repository type="git" url="https://github.com/open-maui/maui-linux.git" />
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<group targetFramework="net9.0">
|
<group targetFramework="net9.0">
|
||||||
|
|
@ -47,8 +47,8 @@ Initial release:
|
||||||
</frameworkAssemblies>
|
</frameworkAssemblies>
|
||||||
</metadata>
|
</metadata>
|
||||||
<files>
|
<files>
|
||||||
<file src="bin/Release/net9.0/Microsoft.Maui.Controls.Linux.dll" target="lib/net9.0" />
|
<file src="bin/Release/net9.0/OpenMaui.Controls.Linux.dll" target="lib/net9.0" />
|
||||||
<file src="bin/Release/net9.0/Microsoft.Maui.Controls.Linux.xml" target="lib/net9.0" />
|
<file src="bin/Release/net9.0/OpenMaui.Controls.Linux.xml" target="lib/net9.0" />
|
||||||
<file src="README.md" target="" />
|
<file src="README.md" target="" />
|
||||||
</files>
|
</files>
|
||||||
</package>
|
</package>
|
||||||
12
README.md
12
README.md
|
|
@ -1,9 +1,9 @@
|
||||||
# .NET MAUI Linux Platform
|
# OpenMaui Linux Platform
|
||||||
|
|
||||||
A comprehensive Linux platform implementation for .NET MAUI using SkiaSharp rendering.
|
A comprehensive Linux platform implementation for .NET MAUI using SkiaSharp rendering.
|
||||||
|
|
||||||
[](https://github.com/open-maui/maui-linux/actions)
|
[](https://github.com/open-maui/maui-linux/actions)
|
||||||
[](https://www.nuget.org/packages/Microsoft.Maui.Controls.Linux)
|
[](https://www.nuget.org/packages/OpenMaui.Controls.Linux)
|
||||||
[](LICENSE)
|
[](LICENSE)
|
||||||
|
|
||||||
**Developed by [MarketAlly LLC](https://marketally.com)**
|
**Developed by [MarketAlly LLC](https://marketally.com)**
|
||||||
|
|
@ -28,10 +28,10 @@ This project brings .NET MAUI to Linux desktops with native X11/Wayland support,
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Install the template
|
# Install the template
|
||||||
dotnet new install Microsoft.Maui.Linux.Templates
|
dotnet new install OpenMaui.Linux.Templates
|
||||||
|
|
||||||
# Create a new project
|
# Create a new project
|
||||||
dotnet new maui-linux -n MyApp
|
dotnet new openmaui-linux -n MyApp
|
||||||
cd MyApp
|
cd MyApp
|
||||||
|
|
||||||
# Run
|
# Run
|
||||||
|
|
@ -41,7 +41,7 @@ dotnet run
|
||||||
### Manual Installation
|
### Manual Installation
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
dotnet add package Microsoft.Maui.Controls.Linux --prerelease
|
dotnet add package OpenMaui.Controls.Linux --prerelease
|
||||||
```
|
```
|
||||||
|
|
||||||
## Supported Controls
|
## Supported Controls
|
||||||
|
|
@ -110,7 +110,7 @@ sudo dnf install libX11-devel libXrandr-devel libXcursor-devel libXi-devel mesa-
|
||||||
## Sample Application
|
## Sample Application
|
||||||
|
|
||||||
```csharp
|
```csharp
|
||||||
using Microsoft.Maui.Platform;
|
using OpenMaui.Platform.Linux;
|
||||||
|
|
||||||
var app = new LinuxApplication();
|
var app = new LinuxApplication();
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -31,7 +31,7 @@ sudo pacman -S libx11 libxrandr libxcursor libxi mesa fontconfig
|
||||||
|
|
||||||
1. Install the template:
|
1. Install the template:
|
||||||
```bash
|
```bash
|
||||||
dotnet new install Microsoft.Maui.Linux.Templates
|
dotnet new install OpenMaui.Linux.Templates
|
||||||
```
|
```
|
||||||
|
|
||||||
2. Create a new project:
|
2. Create a new project:
|
||||||
|
|
@ -55,13 +55,13 @@ cd MyMauiLinuxApp
|
||||||
|
|
||||||
2. Add the NuGet package:
|
2. Add the NuGet package:
|
||||||
```bash
|
```bash
|
||||||
dotnet add package Microsoft.Maui.Controls.Linux --prerelease
|
dotnet add package OpenMaui.Controls.Linux --prerelease
|
||||||
```
|
```
|
||||||
|
|
||||||
3. Update your `Program.cs`:
|
3. Update your `Program.cs`:
|
||||||
```csharp
|
```csharp
|
||||||
using Microsoft.Maui.Platform;
|
using Microsoft.Maui.Platform;
|
||||||
using Microsoft.Maui.Platform.Linux;
|
using OpenMaui.Platform.Linux;
|
||||||
|
|
||||||
var app = new LinuxApplication();
|
var app = new LinuxApplication();
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,28 +0,0 @@
|
||||||
<Project Sdk="Microsoft.NET.Sdk">
|
|
||||||
|
|
||||||
<PropertyGroup>
|
|
||||||
<PackageType>Template</PackageType>
|
|
||||||
<PackageVersion>1.0.0-preview.4</PackageVersion>
|
|
||||||
<PackageId>Microsoft.Maui.Linux.Templates</PackageId>
|
|
||||||
<Title>.NET MAUI Linux Project Templates</Title>
|
|
||||||
<Authors>MAUI Linux Community Contributors</Authors>
|
|
||||||
<Description>Project templates for building .NET MAUI applications on Linux desktop.</Description>
|
|
||||||
<PackageTags>dotnet-new;templates;maui;linux;desktop</PackageTags>
|
|
||||||
<PackageProjectUrl>https://github.com/dotnet/maui</PackageProjectUrl>
|
|
||||||
<PackageLicenseExpression>MIT</PackageLicenseExpression>
|
|
||||||
|
|
||||||
<TargetFramework>netstandard2.0</TargetFramework>
|
|
||||||
|
|
||||||
<IncludeContentInPack>true</IncludeContentInPack>
|
|
||||||
<IncludeBuildOutput>false</IncludeBuildOutput>
|
|
||||||
<ContentTargetFolders>content</ContentTargetFolders>
|
|
||||||
<NoWarn>$(NoWarn);NU5128</NoWarn>
|
|
||||||
<NoDefaultExcludes>true</NoDefaultExcludes>
|
|
||||||
</PropertyGroup>
|
|
||||||
|
|
||||||
<ItemGroup>
|
|
||||||
<Content Include="maui-linux-app\**\*" Exclude="maui-linux-app\**\bin\**;maui-linux-app\**\obj\**" />
|
|
||||||
<Compile Remove="**\*" />
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
</Project>
|
|
||||||
|
|
@ -0,0 +1,30 @@
|
||||||
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
|
<PropertyGroup>
|
||||||
|
<PackageType>Template</PackageType>
|
||||||
|
<PackageVersion>1.0.0-preview.1</PackageVersion>
|
||||||
|
<PackageId>OpenMaui.Linux.Templates</PackageId>
|
||||||
|
<Title>OpenMaui Linux Project Templates</Title>
|
||||||
|
<Authors>MarketAlly LLC, David H. Friedel Jr.</Authors>
|
||||||
|
<Company>MarketAlly LLC</Company>
|
||||||
|
<Description>Project templates for building .NET MAUI applications on Linux desktop using OpenMaui.</Description>
|
||||||
|
<PackageTags>dotnet-new;templates;maui;linux;desktop;openmaui</PackageTags>
|
||||||
|
<PackageProjectUrl>https://github.com/open-maui/maui-linux</PackageProjectUrl>
|
||||||
|
<PackageLicenseExpression>MIT</PackageLicenseExpression>
|
||||||
|
<Copyright>Copyright 2025 MarketAlly LLC</Copyright>
|
||||||
|
|
||||||
|
<TargetFramework>netstandard2.0</TargetFramework>
|
||||||
|
|
||||||
|
<IncludeContentInPack>true</IncludeContentInPack>
|
||||||
|
<IncludeBuildOutput>false</IncludeBuildOutput>
|
||||||
|
<ContentTargetFolders>content</ContentTargetFolders>
|
||||||
|
<NoWarn>$(NoWarn);NU5128</NoWarn>
|
||||||
|
<NoDefaultExcludes>true</NoDefaultExcludes>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<Content Include="openmaui-linux-app\**\*" Exclude="openmaui-linux-app\**\bin\**;openmaui-linux-app\**\obj\**" />
|
||||||
|
<Compile Remove="**\*" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
</Project>
|
||||||
|
|
@ -1,15 +1,15 @@
|
||||||
{
|
{
|
||||||
"$schema": "http://json.schemastore.org/template",
|
"$schema": "http://json.schemastore.org/template",
|
||||||
"author": "MAUI Linux Community",
|
"author": "MarketAlly LLC",
|
||||||
"classifications": ["MAUI", "Linux", "Desktop", "App"],
|
"classifications": ["MAUI", "Linux", "Desktop", "App", "OpenMaui"],
|
||||||
"identity": "Microsoft.Maui.Linux.App",
|
"identity": "OpenMaui.Linux.App",
|
||||||
"name": ".NET MAUI Linux Application",
|
"name": "OpenMaui Linux Application",
|
||||||
"shortName": "maui-linux",
|
"shortName": "openmaui-linux",
|
||||||
"tags": {
|
"tags": {
|
||||||
"language": "C#",
|
"language": "C#",
|
||||||
"type": "project"
|
"type": "project"
|
||||||
},
|
},
|
||||||
"sourceName": "MauiLinuxApp",
|
"sourceName": "OpenMauiLinuxApp",
|
||||||
"preferNameDirectory": true,
|
"preferNameDirectory": true,
|
||||||
"symbols": {
|
"symbols": {
|
||||||
"Framework": {
|
"Framework": {
|
||||||
|
|
@ -57,7 +57,7 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"primaryOutputs": [
|
"primaryOutputs": [
|
||||||
{ "path": "MauiLinuxApp.csproj" }
|
{ "path": "OpenMauiLinuxApp.csproj" }
|
||||||
],
|
],
|
||||||
"postActions": [
|
"postActions": [
|
||||||
{
|
{
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
using Microsoft.Maui.Controls;
|
using Microsoft.Maui.Controls;
|
||||||
|
|
||||||
namespace MauiLinuxApp;
|
namespace OpenMauiLinuxApp;
|
||||||
|
|
||||||
public class App : Application
|
public class App : Application
|
||||||
{
|
{
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
using Microsoft.Maui.Controls;
|
using Microsoft.Maui.Controls;
|
||||||
using Microsoft.Maui.Graphics;
|
using Microsoft.Maui.Graphics;
|
||||||
|
|
||||||
namespace MauiLinuxApp;
|
namespace OpenMauiLinuxApp;
|
||||||
|
|
||||||
public class MainPage : ContentPage
|
public class MainPage : ContentPage
|
||||||
{
|
{
|
||||||
|
|
@ -13,7 +13,7 @@ public class MainPage : ContentPage
|
||||||
|
|
||||||
public MainPage()
|
public MainPage()
|
||||||
{
|
{
|
||||||
Title = "MauiLinuxApp";
|
Title = "OpenMauiLinuxApp";
|
||||||
|
|
||||||
_counterLabel = new Label
|
_counterLabel = new Label
|
||||||
{
|
{
|
||||||
|
|
@ -5,14 +5,14 @@
|
||||||
<TargetFramework>net9.0</TargetFramework>
|
<TargetFramework>net9.0</TargetFramework>
|
||||||
<ImplicitUsings>enable</ImplicitUsings>
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
<RootNamespace>MauiLinuxApp</RootNamespace>
|
<RootNamespace>OpenMauiLinuxApp</RootNamespace>
|
||||||
<AssemblyName>MauiLinuxApp</AssemblyName>
|
<AssemblyName>OpenMauiLinuxApp</AssemblyName>
|
||||||
<ApplicationTitle>MauiLinuxApp</ApplicationTitle>
|
<ApplicationTitle>OpenMauiLinuxApp</ApplicationTitle>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<!-- .NET MAUI Linux Platform -->
|
<!-- OpenMaui Linux Platform -->
|
||||||
<PackageReference Include="Microsoft.Maui.Controls.Linux" Version="1.0.0-preview.4" />
|
<PackageReference Include="OpenMaui.Controls.Linux" Version="1.0.0-preview.1" />
|
||||||
|
|
||||||
<!-- Core MAUI packages -->
|
<!-- Core MAUI packages -->
|
||||||
<PackageReference Include="Microsoft.Maui.Controls" Version="9.0.40" />
|
<PackageReference Include="Microsoft.Maui.Controls" Version="9.0.40" />
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
// Licensed to the .NET Foundation under one or more agreements.
|
// Licensed to the .NET Foundation under one or more agreements.
|
||||||
// The .NET Foundation licenses this file to you under the MIT license.
|
// The .NET Foundation licenses this file to you under the MIT license.
|
||||||
|
|
||||||
using Microsoft.Maui.Platform.Linux;
|
using OpenMaui.Platform.Linux.Linux;
|
||||||
|
|
||||||
namespace MauiLinuxApp;
|
namespace OpenMauiLinuxApp;
|
||||||
|
|
||||||
public class Program
|
public class Program
|
||||||
{
|
{
|
||||||
|
|
@ -25,7 +25,7 @@
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ProjectReference Include="..\Microsoft.Maui.Controls.Linux.csproj" />
|
<ProjectReference Include="..\OpenMaui.Controls.Linux.csproj" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
Loading…
Reference in New Issue