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>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
<RootNamespace>Microsoft.Maui.Platform.Linux</RootNamespace>
|
||||
<AssemblyName>Microsoft.Maui.Controls.Linux</AssemblyName>
|
||||
<RootNamespace>OpenMaui.Platform.Linux</RootNamespace>
|
||||
<AssemblyName>OpenMaui.Controls.Linux</AssemblyName>
|
||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||
<GenerateDocumentationFile>true</GenerateDocumentationFile>
|
||||
<NoWarn>$(NoWarn);CS0108;CS1591;CS0618</NoWarn>
|
||||
|
||||
<!-- NuGet Package Properties -->
|
||||
<PackageId>Microsoft.Maui.Controls.Linux</PackageId>
|
||||
<Version>1.0.0-preview.4</Version>
|
||||
<Authors>MAUI Linux Community Contributors</Authors>
|
||||
<Company>.NET Foundation</Company>
|
||||
<Product>.NET MAUI Linux Controls</Product>
|
||||
<Description>Linux desktop support for .NET MAUI applications using SkiaSharp rendering. Supports X11 and Wayland display servers.</Description>
|
||||
<Copyright>Copyright 2024-2025 .NET Foundation and Contributors</Copyright>
|
||||
<PackageId>OpenMaui.Controls.Linux</PackageId>
|
||||
<Version>1.0.0-preview.1</Version>
|
||||
<Authors>MarketAlly LLC, David H. Friedel Jr.</Authors>
|
||||
<Company>MarketAlly LLC</Company>
|
||||
<Product>OpenMaui Linux Controls</Product>
|
||||
<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 2025 MarketAlly LLC</Copyright>
|
||||
<PackageLicenseExpression>MIT</PackageLicenseExpression>
|
||||
<PackageProjectUrl>https://github.com/dotnet/maui</PackageProjectUrl>
|
||||
<RepositoryUrl>https://github.com/dotnet/maui.git</RepositoryUrl>
|
||||
<PackageProjectUrl>https://github.com/open-maui/maui-linux</PackageProjectUrl>
|
||||
<RepositoryUrl>https://github.com/open-maui/maui-linux.git</RepositoryUrl>
|
||||
<RepositoryType>git</RepositoryType>
|
||||
<PackageTags>maui;linux;desktop;skia;gui;cross-platform;dotnet;x11;wayland</PackageTags>
|
||||
<PackageReleaseNotes>Preview 2 with Image, ImageButton, and GraphicsView controls.</PackageReleaseNotes>
|
||||
<PackageTags>maui;linux;desktop;skia;gui;cross-platform;dotnet;x11;wayland;openmaui</PackageTags>
|
||||
<PackageReleaseNotes>Initial preview release with 35+ controls and full platform services.</PackageReleaseNotes>
|
||||
<PackageReadmeFile>README.md</PackageReadmeFile>
|
||||
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
|
||||
<IsPackable>true</IsPackable>
|
||||
|
|
@ -1,9 +1,9 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<package xmlns="http://schemas.microsoft.com/packaging/2013/05/nuspec.xsd">
|
||||
<metadata>
|
||||
<id>Microsoft.Maui.Controls.Linux</id>
|
||||
<id>OpenMaui.Controls.Linux</id>
|
||||
<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>
|
||||
<owners>MarketAlly LLC</owners>
|
||||
<license type="expression">MIT</license>
|
||||
|
|
@ -33,7 +33,7 @@ Initial release:
|
|||
- 216 unit tests
|
||||
</releaseNotes>
|
||||
<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" />
|
||||
<dependencies>
|
||||
<group targetFramework="net9.0">
|
||||
|
|
@ -47,8 +47,8 @@ Initial release:
|
|||
</frameworkAssemblies>
|
||||
</metadata>
|
||||
<files>
|
||||
<file src="bin/Release/net9.0/Microsoft.Maui.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.dll" target="lib/net9.0" />
|
||||
<file src="bin/Release/net9.0/OpenMaui.Controls.Linux.xml" target="lib/net9.0" />
|
||||
<file src="README.md" target="" />
|
||||
</files>
|
||||
</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.
|
||||
|
||||
[](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)
|
||||
|
||||
**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
|
||||
# Install the template
|
||||
dotnet new install Microsoft.Maui.Linux.Templates
|
||||
dotnet new install OpenMaui.Linux.Templates
|
||||
|
||||
# Create a new project
|
||||
dotnet new maui-linux -n MyApp
|
||||
dotnet new openmaui-linux -n MyApp
|
||||
cd MyApp
|
||||
|
||||
# Run
|
||||
|
|
@ -41,7 +41,7 @@ dotnet run
|
|||
### Manual Installation
|
||||
|
||||
```bash
|
||||
dotnet add package Microsoft.Maui.Controls.Linux --prerelease
|
||||
dotnet add package OpenMaui.Controls.Linux --prerelease
|
||||
```
|
||||
|
||||
## Supported Controls
|
||||
|
|
@ -110,7 +110,7 @@ sudo dnf install libX11-devel libXrandr-devel libXcursor-devel libXi-devel mesa-
|
|||
## Sample Application
|
||||
|
||||
```csharp
|
||||
using Microsoft.Maui.Platform;
|
||||
using OpenMaui.Platform.Linux;
|
||||
|
||||
var app = new LinuxApplication();
|
||||
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ sudo pacman -S libx11 libxrandr libxcursor libxi mesa fontconfig
|
|||
|
||||
1. Install the template:
|
||||
```bash
|
||||
dotnet new install Microsoft.Maui.Linux.Templates
|
||||
dotnet new install OpenMaui.Linux.Templates
|
||||
```
|
||||
|
||||
2. Create a new project:
|
||||
|
|
@ -55,13 +55,13 @@ cd MyMauiLinuxApp
|
|||
|
||||
2. Add the NuGet package:
|
||||
```bash
|
||||
dotnet add package Microsoft.Maui.Controls.Linux --prerelease
|
||||
dotnet add package OpenMaui.Controls.Linux --prerelease
|
||||
```
|
||||
|
||||
3. Update your `Program.cs`:
|
||||
```csharp
|
||||
using Microsoft.Maui.Platform;
|
||||
using Microsoft.Maui.Platform.Linux;
|
||||
using OpenMaui.Platform.Linux;
|
||||
|
||||
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",
|
||||
"author": "MAUI Linux Community",
|
||||
"classifications": ["MAUI", "Linux", "Desktop", "App"],
|
||||
"identity": "Microsoft.Maui.Linux.App",
|
||||
"name": ".NET MAUI Linux Application",
|
||||
"shortName": "maui-linux",
|
||||
"author": "MarketAlly LLC",
|
||||
"classifications": ["MAUI", "Linux", "Desktop", "App", "OpenMaui"],
|
||||
"identity": "OpenMaui.Linux.App",
|
||||
"name": "OpenMaui Linux Application",
|
||||
"shortName": "openmaui-linux",
|
||||
"tags": {
|
||||
"language": "C#",
|
||||
"type": "project"
|
||||
},
|
||||
"sourceName": "MauiLinuxApp",
|
||||
"sourceName": "OpenMauiLinuxApp",
|
||||
"preferNameDirectory": true,
|
||||
"symbols": {
|
||||
"Framework": {
|
||||
|
|
@ -57,7 +57,7 @@
|
|||
}
|
||||
},
|
||||
"primaryOutputs": [
|
||||
{ "path": "MauiLinuxApp.csproj" }
|
||||
{ "path": "OpenMauiLinuxApp.csproj" }
|
||||
],
|
||||
"postActions": [
|
||||
{
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
using Microsoft.Maui.Controls;
|
||||
|
||||
namespace MauiLinuxApp;
|
||||
namespace OpenMauiLinuxApp;
|
||||
|
||||
public class App : Application
|
||||
{
|
||||
|
|
@ -4,7 +4,7 @@
|
|||
using Microsoft.Maui.Controls;
|
||||
using Microsoft.Maui.Graphics;
|
||||
|
||||
namespace MauiLinuxApp;
|
||||
namespace OpenMauiLinuxApp;
|
||||
|
||||
public class MainPage : ContentPage
|
||||
{
|
||||
|
|
@ -13,7 +13,7 @@ public class MainPage : ContentPage
|
|||
|
||||
public MainPage()
|
||||
{
|
||||
Title = "MauiLinuxApp";
|
||||
Title = "OpenMauiLinuxApp";
|
||||
|
||||
_counterLabel = new Label
|
||||
{
|
||||
|
|
@ -5,14 +5,14 @@
|
|||
<TargetFramework>net9.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
<RootNamespace>MauiLinuxApp</RootNamespace>
|
||||
<AssemblyName>MauiLinuxApp</AssemblyName>
|
||||
<ApplicationTitle>MauiLinuxApp</ApplicationTitle>
|
||||
<RootNamespace>OpenMauiLinuxApp</RootNamespace>
|
||||
<AssemblyName>OpenMauiLinuxApp</AssemblyName>
|
||||
<ApplicationTitle>OpenMauiLinuxApp</ApplicationTitle>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<!-- .NET MAUI Linux Platform -->
|
||||
<PackageReference Include="Microsoft.Maui.Controls.Linux" Version="1.0.0-preview.4" />
|
||||
<!-- OpenMaui Linux Platform -->
|
||||
<PackageReference Include="OpenMaui.Controls.Linux" Version="1.0.0-preview.1" />
|
||||
|
||||
<!-- Core MAUI packages -->
|
||||
<PackageReference Include="Microsoft.Maui.Controls" Version="9.0.40" />
|
||||
|
|
@ -1,9 +1,9 @@
|
|||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// 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
|
||||
{
|
||||
|
|
@ -25,7 +25,7 @@
|
|||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\Microsoft.Maui.Controls.Linux.csproj" />
|
||||
<ProjectReference Include="..\OpenMaui.Controls.Linux.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
Loading…
Reference in New Issue