summaryrefslogtreecommitdiffhomepage
path: root/frameworks
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2026-03-13 21:35:13 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2026-03-13 21:35:13 +0100
commit863ff1367e914e5e45ec866feb2ff9babfc51a98 (patch)
tree3ed4a66893879d5f957ecc357bbfdc869aeef659 /frameworks
parent1aad3e2aa11cd56fc12d0e1e5d398921d7cef911 (diff)
[CHORE] Update the NeSystem architecture.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'frameworks')
-rw-r--r--frameworks/.keep0
-rw-r--r--frameworks/X11.fwrk/X11.fwrk.json21
-rw-r--r--frameworks/X11.fwrk/dist/.keep0
-rw-r--r--frameworks/X11.fwrk/headers/Foundation.h15
-rw-r--r--frameworks/X11.fwrk/src/.gitkeep0
-rw-r--r--frameworks/X11.fwrk/xml/app.xml4
6 files changed, 40 insertions, 0 deletions
diff --git a/frameworks/.keep b/frameworks/.keep
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/frameworks/.keep
diff --git a/frameworks/X11.fwrk/X11.fwrk.json b/frameworks/X11.fwrk/X11.fwrk.json
new file mode 100644
index 0000000..9c10910
--- /dev/null
+++ b/frameworks/X11.fwrk/X11.fwrk.json
@@ -0,0 +1,21 @@
+{
+ "compiler_path": "x86_64-w64-mingw32-g++",
+ "compiler_std": "c++20",
+ "headers_path": ["../", "./", "../../../src", "../../../src/kernel"],
+ "sources_path": ["src/*.cc"],
+ "output_name": "./dist/libX11.fwrk.dylib",
+ "compiler_flags": [
+ "-ffreestanding",
+ "-shared",
+ "-fno-rtti",
+ "-fno-exceptions",
+ "-Wl,--subsystem=17"
+ ],
+ "cpp_macros": [
+ "kKTVersion=0x0100",
+ "kKTVersionHighest=0x0100",
+ "kKTVersionLowest=0x0100",
+ "__NE_AMD64__"
+ ]
+ }
+
diff --git a/frameworks/X11.fwrk/dist/.keep b/frameworks/X11.fwrk/dist/.keep
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/frameworks/X11.fwrk/dist/.keep
diff --git a/frameworks/X11.fwrk/headers/Foundation.h b/frameworks/X11.fwrk/headers/Foundation.h
new file mode 100644
index 0000000..0880774
--- /dev/null
+++ b/frameworks/X11.fwrk/headers/Foundation.h
@@ -0,0 +1,15 @@
+// SPDX-License-Identifier: Apache-2.0
+// Copyright 2026, Amlal El Mahrouss (amlal@nekernel.org)
+// Licensed under the Apache License, Version 2.0 (see LICENSE file)
+// Official repository: https://github.com/ne-foss-org/ne_system
+
+#ifndef X11_FOUNDATION_H
+#define X11_FOUNDATION_H
+
+#include <System/X11+Fwd.h>
+
+struct XFCURSOR; // Cursor struct
+struct XFDISPLAY; // Display struct
+struct XFCONN; // Connection struct
+
+#endif
diff --git a/frameworks/X11.fwrk/src/.gitkeep b/frameworks/X11.fwrk/src/.gitkeep
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/frameworks/X11.fwrk/src/.gitkeep
diff --git a/frameworks/X11.fwrk/xml/app.xml b/frameworks/X11.fwrk/xml/app.xml
new file mode 100644
index 0000000..63feb04
--- /dev/null
+++ b/frameworks/X11.fwrk/xml/app.xml
@@ -0,0 +1,4 @@
+<PropertyList>
+<PLEntry Type="CFString" Name="LibraryName" Len="10" Value="X11" />
+<PLEntry Type="BOOL" Name="CacheLibs" Value="YES" />
+</PropertyList> \ No newline at end of file