summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--CITATION.cff14
-rw-r--r--binaries/.keep (renamed from ports/.keep)0
-rw-r--r--binaries/README.md (renamed from ports/README.md)2
-rw-r--r--compile_flags.txt13
-rw-r--r--conanfile.txt7
-rw-r--r--drivers/X11.drv/X11.json21
-rw-r--r--drivers/X11.drv/dist/.keep (renamed from root/boot/.keep)0
-rw-r--r--frameworks/.keep (renamed from root/devices/.keep)0
-rw-r--r--frameworks/X11.fwrk/X11.fwrk.json21
-rw-r--r--frameworks/X11.fwrk/dist/.keep (renamed from root/guest/.keep)0
-rw-r--r--frameworks/X11.fwrk/headers/Foundation.h15
-rw-r--r--frameworks/X11.fwrk/src/.gitkeep (renamed from root/include/.keep)0
-rw-r--r--frameworks/X11.fwrk/xml/app.xml4
-rw-r--r--include/Drivers/NeSystem.h (renamed from include/Drivers/Ne.h)0
-rw-r--r--include/System/Wayland.h14
-rw-r--r--include/System/X11+Fwd.h2
l---------libs1
-rw-r--r--root/include/local/.keep0
-rw-r--r--root/include/super/.keep0
-rw-r--r--root/libraries/.keep0
-rw-r--r--root/libraries/local/.keep0
-rw-r--r--root/libraries/super/.keep0
-rw-r--r--root/media/.keep0
-rw-r--r--root/media/null/.keep0
-rw-r--r--root/network/.keep0
-rw-r--r--root/system/.keep0
-rw-r--r--root/system/local/.keep0
-rw-r--r--root/system/super/.keep0
-rwxr-xr-xupdater/updater.py3
29 files changed, 101 insertions, 16 deletions
diff --git a/CITATION.cff b/CITATION.cff
index fbec807..adf99a4 100644
--- a/CITATION.cff
+++ b/CITATION.cff
@@ -1,6 +1,6 @@
cff-version: 1.2.0
-title: NeKernel.org System
-message: The NeKernel.org System
+title: Ne.org System
+message: The Ne.org System
type: software
authors:
- given-names: Amlal
@@ -9,14 +9,16 @@ authors:
identifiers:
- type: url
value: 'https://nekernel.org'
- description: NeKernel.org
-repository-code: 'https://github.com/ne-foss-org/src'
+ description: Ne.org System
+repository-code: 'https://github.com/ne-foss-org/ne_system'
url: 'https://nekernel.org'
abstract: >-
- This is the NeKernel.org System. Built upon its papers and frameworks.
+ This is the Ne.org System. Built upon its papers and frameworks.
keywords:
- kernel
- - operating-system
+ - operating-systems
+ - c-plus-plus
+ - computer-science
- bootloader
- library
- firmware
diff --git a/ports/.keep b/binaries/.keep
index e69de29..e69de29 100644
--- a/ports/.keep
+++ b/binaries/.keep
diff --git a/ports/README.md b/binaries/README.md
index 6538e40..660b249 100644
--- a/ports/README.md
+++ b/binaries/README.md
@@ -1,4 +1,4 @@
-# The NeSystem Ports
+# The NeSystem Tools
Currently no software has been ported to NeSystem. However this effort is exactly about addressing this.
diff --git a/compile_flags.txt b/compile_flags.txt
index fe075c4..1f71a88 100644
--- a/compile_flags.txt
+++ b/compile_flags.txt
@@ -1,10 +1,9 @@
-Ilib
-std=c++20
-xc++
--Idev/neboot/
--Idev/nebuild/dev
--Idev/nekernel/dev
--Idev/necti/dev
--Ilib/libsteps/include/
--Ilib/libocl/include/ocl
--I/opt/homebrew/Cellar/boost/1.89.0/include
+-Idev/boot/
+-Idev/build/dev
+-Idev/kernel/dev
+-Isrc/necar/dev
+-I/opt/homebrew/Cellar/boost/1.90.0/include
+-Iinclude/ \ No newline at end of file
diff --git a/conanfile.txt b/conanfile.txt
new file mode 100644
index 0000000..e0de5ca
--- /dev/null
+++ b/conanfile.txt
@@ -0,0 +1,7 @@
+[requires]
+boost/1.90.0
+[generators]
+CMakeDeps
+CMakeToolchain
+[layout]
+cmake_layout
diff --git a/drivers/X11.drv/X11.json b/drivers/X11.drv/X11.json
new file mode 100644
index 0000000..a53c801
--- /dev/null
+++ b/drivers/X11.drv/X11.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/x11.ddk.out",
+ "compiler_flags": [
+ "-ffreestanding",
+ "-shared",
+ "-fno-rtti",
+ "-fno-exceptions",
+ "-Wl,--subsystem=17"
+ ],
+ "cpp_macros": [
+ "kKTVersion=0x0100",
+ "kKTVersionHighest=0x0100",
+ "kKTVersionLowest=0x0100",
+ "__NE_AMD64__"
+ ]
+ }
+
diff --git a/root/boot/.keep b/drivers/X11.drv/dist/.keep
index e69de29..e69de29 100644
--- a/root/boot/.keep
+++ b/drivers/X11.drv/dist/.keep
diff --git a/root/devices/.keep b/frameworks/.keep
index e69de29..e69de29 100644
--- a/root/devices/.keep
+++ 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/root/guest/.keep b/frameworks/X11.fwrk/dist/.keep
index e69de29..e69de29 100644
--- a/root/guest/.keep
+++ 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/root/include/.keep b/frameworks/X11.fwrk/src/.gitkeep
index e69de29..e69de29 100644
--- a/root/include/.keep
+++ 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
diff --git a/include/Drivers/Ne.h b/include/Drivers/NeSystem.h
index fe042fa..fe042fa 100644
--- a/include/Drivers/Ne.h
+++ b/include/Drivers/NeSystem.h
diff --git a/include/System/Wayland.h b/include/System/Wayland.h
new file mode 100644
index 0000000..3c7cfb0
--- /dev/null
+++ b/include/System/Wayland.h
@@ -0,0 +1,14 @@
+// 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/src
+
+#ifndef _NE_WAYLAND_H_
+#define _NE_WAYLAND_H_
+
+#define _NE_WAYLAND_SYSTEM 202603L
+
+#include <System/X11+Fwd.h>
+
+
+#endif \ No newline at end of file
diff --git a/include/System/X11+Fwd.h b/include/System/X11+Fwd.h
index 5d30d9c..f06a3f4 100644
--- a/include/System/X11+Fwd.h
+++ b/include/System/X11+Fwd.h
@@ -6,6 +6,8 @@
#ifndef _NE_X11_H_
#define _NE_X11_H_
+#define _NE_X11_SYSTEM 202603L
+
// NeSystem Header.
#include <System/NeSystem.h>
diff --git a/libs b/libs
deleted file mode 120000
index e831038..0000000
--- a/libs
+++ /dev/null
@@ -1 +0,0 @@
-src \ No newline at end of file
diff --git a/root/include/local/.keep b/root/include/local/.keep
deleted file mode 100644
index e69de29..0000000
--- a/root/include/local/.keep
+++ /dev/null
diff --git a/root/include/super/.keep b/root/include/super/.keep
deleted file mode 100644
index e69de29..0000000
--- a/root/include/super/.keep
+++ /dev/null
diff --git a/root/libraries/.keep b/root/libraries/.keep
deleted file mode 100644
index e69de29..0000000
--- a/root/libraries/.keep
+++ /dev/null
diff --git a/root/libraries/local/.keep b/root/libraries/local/.keep
deleted file mode 100644
index e69de29..0000000
--- a/root/libraries/local/.keep
+++ /dev/null
diff --git a/root/libraries/super/.keep b/root/libraries/super/.keep
deleted file mode 100644
index e69de29..0000000
--- a/root/libraries/super/.keep
+++ /dev/null
diff --git a/root/media/.keep b/root/media/.keep
deleted file mode 100644
index e69de29..0000000
--- a/root/media/.keep
+++ /dev/null
diff --git a/root/media/null/.keep b/root/media/null/.keep
deleted file mode 100644
index e69de29..0000000
--- a/root/media/null/.keep
+++ /dev/null
diff --git a/root/network/.keep b/root/network/.keep
deleted file mode 100644
index e69de29..0000000
--- a/root/network/.keep
+++ /dev/null
diff --git a/root/system/.keep b/root/system/.keep
deleted file mode 100644
index e69de29..0000000
--- a/root/system/.keep
+++ /dev/null
diff --git a/root/system/local/.keep b/root/system/local/.keep
deleted file mode 100644
index e69de29..0000000
--- a/root/system/local/.keep
+++ /dev/null
diff --git a/root/system/super/.keep b/root/system/super/.keep
deleted file mode 100644
index e69de29..0000000
--- a/root/system/super/.keep
+++ /dev/null
diff --git a/updater/updater.py b/updater/updater.py
index b86fcec..0f6f855 100755
--- a/updater/updater.py
+++ b/updater/updater.py
@@ -1,5 +1,6 @@
# Copyright 2026, Amlal El Mahrouss and Ne.org contributors.
-# Open C++ Libraries is licensed under BSL-1.0
+# NeSystem is licensed under Apache-2.0.
+# SPDX-Identifier: Apache-2.0
from os import system