This repository has been archived by the owner on Jun 7, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
218 changed files
with
115,331 additions
and
650 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,21 @@ | ||
[submodule "dependencies/libpng/src"] | ||
path = dependencies/libpng/src | ||
url = https://gitea.thebrokenrail.com/minecraft-pi-reborn/libpng.git | ||
[submodule "dependencies/zlib/src"] | ||
path = dependencies/libpng/zlib/src | ||
url = https://github.com/madler/zlib.git | ||
ignore = dirty | ||
[submodule "dependencies/glfw/src"] | ||
path = media-layer/core/dependencies/glfw/src | ||
path = dependencies/glfw/src | ||
url = https://github.com/glfw/glfw.git | ||
[submodule "dependencies/zenity/src"] | ||
path = dependencies/zenity/src | ||
url = https://gitea.thebrokenrail.com/minecraft-pi-reborn/zenity.git | ||
[submodule "dependencies/LIEF/src"] | ||
path = dependencies/LIEF/src | ||
url = https://github.com/lief-project/LIEF.git | ||
[submodule "dependencies/qemu/src"] | ||
path = dependencies/qemu/src | ||
url = https://gitlab.com/qemu-project/qemu.git | ||
ignore = dirty | ||
[submodule "media-layer/core/gles/dependencies/gles-compatibility-layer"] | ||
path = media-layer/core/gles/dependencies/gles-compatibility-layer/src | ||
path = dependencies/gles-compatibility-layer/src | ||
url = https://gitea.thebrokenrail.com/minecraft-pi-reborn/gles-compatibility-layer.git | ||
[submodule "dependencies/stb_image/include"] | ||
path = dependencies/stb_image/include | ||
url = https://github.com/nothings/stb.git | ||
[submodule "dependencies/utf8cpp/src"] | ||
path = dependencies/utf8cpp/src | ||
url = https://github.com/nemtrif/utfcpp.git | ||
[submodule "archives"] | ||
path = archives | ||
url = https://gitea.thebrokenrail.com/minecraft-pi-reborn/archives.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
2.5.1 | ||
2.5.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
project(gles-compatibility-layer) | ||
|
||
# GLES Compatibility Layer | ||
set(GLES_COMPATIBILITY_LAYER_USE_ES3 FALSE CACHE BOOL "" FORCE) | ||
set(GLES_COMPATIBILITY_LAYER_USE_SDL FALSE CACHE BOOL "" FORCE) | ||
set(GLES_COMPATIBILITY_LAYER_DEPENDENCY glfw CACHE STRING "" FORCE) | ||
add_subdirectory(src) |
Submodule src
added at
5bf535
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
image: | ||
- Visual Studio 2015 | ||
branches: | ||
only: | ||
- ci | ||
- master | ||
- latest | ||
- 3.3-stable | ||
skip_tags: true | ||
environment: | ||
matrix: | ||
- GENERATOR: MinGW Makefiles | ||
BUILD_SHARED_LIBS: ON | ||
CFLAGS: -Werror | ||
- GENERATOR: MinGW Makefiles | ||
BUILD_SHARED_LIBS: OFF | ||
CFLAGS: -Werror | ||
- GENERATOR: Visual Studio 10 2010 | ||
BUILD_SHARED_LIBS: ON | ||
CFLAGS: /WX | ||
- GENERATOR: Visual Studio 10 2010 | ||
BUILD_SHARED_LIBS: OFF | ||
CFLAGS: /WX | ||
matrix: | ||
fast_finish: true | ||
for: | ||
- | ||
matrix: | ||
only: | ||
- GENERATOR: MinGW Makefiles | ||
build_script: | ||
- set PATH=%PATH:C:\Program Files\Git\usr\bin=C:\MinGW\bin% | ||
- cmake -S . -B build -G "%GENERATOR%" -DBUILD_SHARED_LIBS=%BUILD_SHARED_LIBS% | ||
- cmake --build build | ||
- | ||
matrix: | ||
only: | ||
- GENERATOR: Visual Studio 10 2010 | ||
build_script: | ||
- cmake -S . -B build -G "%GENERATOR%" -DBUILD_SHARED_LIBS=%BUILD_SHARED_LIBS% | ||
- cmake --build build --target glfw | ||
notifications: | ||
- provider: Email | ||
to: | ||
- ci@glfw.org | ||
on_build_failure: true | ||
on_build_success: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
*.m linguist-language=Objective-C | ||
.gitignore export-ignore | ||
.gitattributes export-ignore | ||
.travis.yml export-ignore | ||
.appveyor.yml export-ignore |
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
|
||
* @elmindreda | ||
|
||
src/wl_* @linkmauve | ||
|
||
docs/*.css @glfw/webdev | ||
docs/*.scss @glfw/webdev | ||
docs/*.html @glfw/webdev | ||
docs/*.xml @glfw/webdev | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,94 @@ | ||
name: Build | ||
on: | ||
pull_request: | ||
push: | ||
branches: [ ci, master, latest, 3.3-stable ] | ||
workflow_dispatch: | ||
permissions: | ||
statuses: write | ||
contents: read | ||
|
||
jobs: | ||
build-linux-x11-clang: | ||
name: X11 (Linux, Clang) | ||
runs-on: ubuntu-latest | ||
env: | ||
CC: clang | ||
CFLAGS: -Werror | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Install dependencies | ||
run: | | ||
sudo apt update | ||
sudo apt install libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev libxext-dev | ||
- name: Configure static library | ||
run: cmake -S . -B build-static | ||
- name: Build static library | ||
run: cmake --build build-static --parallel | ||
|
||
- name: Configure shared library | ||
run: cmake -S . -B build-shared -D BUILD_SHARED_LIBS=ON | ||
- name: Build shared library | ||
run: cmake --build build-shared --parallel | ||
|
||
build-linux-full-clang: | ||
name: X11+Wayland (Linux, Clang) | ||
runs-on: ubuntu-latest | ||
env: | ||
CC: clang | ||
CFLAGS: -Werror | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Install dependencies | ||
run: | | ||
sudo apt update | ||
sudo apt install libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev libxext-dev wayland-protocols libwayland-dev libxkbcommon-dev | ||
- name: Configure static library | ||
run: cmake -S . -B build-static -D GLFW_BUILD_WAYLAND=ON | ||
- name: Build static library | ||
run: cmake --build build-static --parallel | ||
|
||
- name: Configure shared library | ||
run: cmake -S . -B build-shared -D GLFW_BUILD_WAYLAND=ON -D BUILD_SHARED_LIBS=ON | ||
- name: Build shared library | ||
run: cmake --build build-shared --parallel | ||
|
||
build-macos-cocoa-clang: | ||
name: Cocoa (macOS, Clang) | ||
runs-on: macos-latest | ||
env: | ||
CFLAGS: -Werror | ||
MACOSX_DEPLOYMENT_TARGET: 10.8 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Configure static library | ||
run: cmake -S . -B build-static | ||
- name: Build static library | ||
run: cmake --build build-static --parallel | ||
|
||
- name: Configure shared library | ||
run: cmake -S . -B build-shared -D BUILD_SHARED_LIBS=ON | ||
- name: Build shared library | ||
run: cmake --build build-shared --parallel | ||
|
||
build-windows-win32-vs2022: | ||
name: Win32 (Windows, VS2022) | ||
runs-on: windows-latest | ||
env: | ||
CFLAGS: /WX | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Configure static library | ||
run: cmake -S . -B build-static -G "Visual Studio 17 2022" | ||
- name: Build static library | ||
run: cmake --build build-static --parallel | ||
|
||
- name: Configure shared library | ||
run: cmake -S . -B build-shared -G "Visual Studio 17 2022" -D BUILD_SHARED_LIBS=ON | ||
- name: Build shared library | ||
run: cmake --build build-shared --parallel | ||
|
Oops, something went wrong.