Skip to content

Commit

Permalink
Replace Fenster with FensterB Fork
Browse files Browse the repository at this point in the history
Bump Version

Strip binaries on Workflow
  • Loading branch information
CardealRusso committed Oct 14, 2024
1 parent 9ec6029 commit b4e0504
Show file tree
Hide file tree
Showing 11 changed files with 10 additions and 243 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/blank.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
for file in examples/*.nim; do
filename=$(basename "$file" .nim)
echo "Compiling $filename"
nim c -f -d:danger -d:lto --mm:arc --passC:"-march=native" -o:"build/${filename}_${{ runner.os }}" "$file"
nim c -f -d:danger -d:lto -d:strip --mm:arc --passC:"-march=native" -o:"build/${filename}_${{ runner.os }}" "$file"
done
shell: bash

Expand Down
6 changes: 3 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[submodule "src/fenster"]
path = src/fenster
url = https://github.com/zserge/fenster
[submodule "src/fensterb"]
path = src/fensterb
url = https://github.com/CardealRusso/fensterb/
14 changes: 0 additions & 14 deletions examples/performance_test/README.md

This file was deleted.

1 change: 0 additions & 1 deletion examples/performance_test/config.nims

This file was deleted.

18 changes: 0 additions & 18 deletions examples/performance_test/plasma_with_fps.nim

This file was deleted.

4 changes: 2 additions & 2 deletions fenstim.nimble
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Package

version = "1.0.1"
version = "1.0.2"
author = "Comunity"
description = "The most minimal cross-platform GUI library - in Nim"
skipDirs = @["examples"]
Expand All @@ -9,4 +9,4 @@ license = "MIT"
# Deps
requires "nim >= 1.0.0"

srcDir = "src"
srcDir = "src"
1 change: 0 additions & 1 deletion src/fenster
Submodule fenster deleted from e70058
200 changes: 0 additions & 200 deletions src/fenster_modified/fenster_audio.h

This file was deleted.

1 change: 1 addition & 0 deletions src/fensterb
Submodule fensterb added at 7eb7a8
4 changes: 2 additions & 2 deletions src/fenstim.nim
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import os

const fensterHeader = currentSourcePath().parentDir() / "fenster/fenster.h"
const fensterHeader = currentSourcePath().parentDir() / "fensterb/src/fenster/fenster.h"

when defined(linux): {.passl: "-lX11".}
elif defined(windows): {.passl: "-lgdi32".}
Expand Down Expand Up @@ -114,4 +114,4 @@ proc getFonts*(self: Fenster): seq[string] =
result = newSeq[string]()
for pattern in searchPatterns:
for entry in walkPattern(pattern):
result.add(entry)
result.add(entry)
2 changes: 1 addition & 1 deletion src/fenstim_audio.nim
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import os

const fensterAudioHeader = currentSourcePath().parentDir() / "fenster_modified/fenster_audio.h"
const fensterAudioHeader = currentSourcePath().parentDir() / "fensterb/src/fenster_audio/fenster_audio.h"

when defined(linux): {.passL: "-lasound".}
elif defined(windows): {.passL: "-lwinmm".}
Expand Down

0 comments on commit b4e0504

Please sign in to comment.