10 Commits

Author SHA1 Message Date
827b9fc902 Change freetype ABI.
All checks were successful
Build / build (push) Successful in 2m14s
2024-06-21 12:27:08 +03:00
ad8845c13b Change the directory again.
All checks were successful
Build / build (push) Successful in 2m14s
2024-06-20 15:13:35 +03:00
a77f4c8be5 Fix cmake compile options?
Some checks failed
Build / build (push) Failing after 36s
2024-06-20 15:12:36 +03:00
db07a2daff Modify build script.
All checks were successful
Build / build (push) Successful in 38s
2024-06-20 15:04:39 +03:00
166839eb8a Add execute flag to publish.sh
All checks were successful
Build / build (push) Successful in 2m18s
2024-06-20 13:05:32 +03:00
5b55dbb64e Update docker-cross-compiler.
Some checks failed
Build / build (push) Failing after 2m17s
2024-06-20 12:58:42 +03:00
1c5f73ceb8 Fix build script.
Some checks failed
Build / build (push) Failing after 7s
2024-06-20 12:46:07 +03:00
dfd585c939 Fix URI for freetype. 2024-06-20 12:42:19 +03:00
a0ddeefe76 Add docker cross compiler module. 2024-06-20 12:41:16 +03:00
3eeb41c1c9 Rename project and namespace. 2024-06-20 12:39:15 +03:00
13 changed files with 29 additions and 23 deletions

5
.gitmodules vendored
View File

@@ -1,3 +1,6 @@
[submodule "freetype"]
path = freetype
url = https://git.mixedup.dev/QUIK/freetype.git
url = https://git.mixedup.dev/ReFuel/freetype.git
[submodule "docker-cross-compiler"]
path = docker-cross-compiler
url = https://git.mixedup.dev/ReFuel/docker-cross-compiler

2
FT.cs
View File

@@ -2,7 +2,7 @@ using System;
using System.Reflection;
using System.Runtime.InteropServices;
namespace Quik.FreeType
namespace ReFuel.FreeType
{
public static class FT
{

View File

@@ -1,4 +1,4 @@
namespace Quik.FreeType
namespace ReFuel.FreeType
{
public enum FTError : int
{

View File

@@ -1,6 +1,6 @@
using System;
namespace Quik.FreeType
namespace ReFuel.FreeType
{
[Flags]
public enum FTLoadFlags

View File

@@ -1,4 +1,4 @@
namespace Quik.FreeType
namespace ReFuel.FreeType
{
public enum FTRenderMode
{

View File

@@ -1,6 +1,6 @@
using System;
namespace Quik.FreeType
namespace ReFuel.FreeType
{
[Flags]
public enum FaceFlag : int

View File

@@ -10,8 +10,8 @@
<PropertyGroup>
<!-- Nuget Properties. -->
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<PackageId>Quik.FreeType</PackageId>
<Version>1.1.0</Version>
<PackageId>ReFuel.FreeType</PackageId>
<Version>0.1.0-rc.2</Version>
<Authors>FreeType Authors, H. Utku Maden</Authors>
<Description>
A C# wrapper for the FreeType font loading library.

View File

@@ -1,25 +1,22 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.5.002.0
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Quik.FreeType", "Quik.FreeType.csproj", "{A19CFEF1-19F1-41DD-A784-29AEE6072315}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ReFuel.FreeType", "ReFuel.FreeType.csproj", "{983377DF-BE92-42A5-A1B7-C2E1D5F3AAF2}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{A19CFEF1-19F1-41DD-A784-29AEE6072315}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{A19CFEF1-19F1-41DD-A784-29AEE6072315}.Debug|Any CPU.Build.0 = Debug|Any CPU
{A19CFEF1-19F1-41DD-A784-29AEE6072315}.Release|Any CPU.ActiveCfg = Release|Any CPU
{A19CFEF1-19F1-41DD-A784-29AEE6072315}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {F64EFC25-A7C1-4A63-8068-D5626B24871F}
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{983377DF-BE92-42A5-A1B7-C2E1D5F3AAF2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{983377DF-BE92-42A5-A1B7-C2E1D5F3AAF2}.Debug|Any CPU.Build.0 = Debug|Any CPU
{983377DF-BE92-42A5-A1B7-C2E1D5F3AAF2}.Release|Any CPU.ActiveCfg = Release|Any CPU
{983377DF-BE92-42A5-A1B7-C2E1D5F3AAF2}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal

View File

@@ -4,7 +4,7 @@ using System.Runtime.InteropServices;
// Disable unused warnings for native types.
#pragma warning disable CS0649
namespace Quik.FreeType
namespace ReFuel.FreeType
{
public struct FTLibrary
{

View File

@@ -1,11 +1,16 @@
#!/bin/bash
cd $(dirname "$0")
export CMAKE_DIR="$PWD/Quik.Common/cmake"
export CMAKE_DIR="$PWD/docker-cross-compiler/cmake"
export NOINSTALL=1
export QUIK_ADDITIONAL_CMAKE="-D BUILD_SHARED_LIBS=true -D NO_SONAME=true"
export REFUEL_ADDITIONAL_CMAKE="-D BUILD_SHARED_LIBS=true -D NO_SONAME=true"
./Quik.Common/sh/quik_build_native.sh "$PWD/freetype"
# Clang Builds
./docker-cross-compiler/sh/build_native.sh "$PWD/freetype" "osx-arm64 osx-x64"
# GCC Builds
export REFUEL_ADDITIONAL_CMAKE="$REFUEL_ADDITIONAL_CMAKE -D COMPILE_OPTIONS=\"-static-libgcc;-static-libstdc++;-fno-exceptions\""
./docker-cross-compiler/sh/build_native.sh "$PWD/freetype" "linux-arm linux-arm64 linux-x64 win-x64 win-x86"
# Copy out natives from their respective directories into runtimes
mkdir -p \

1
docker-cross-compiler Submodule

Submodule docker-cross-compiler added at 518969e2c9

0
publish.sh Normal file → Executable file
View File