FelixKratz / JankyBorders

A lightweight window border system for macOS
GNU General Public License v3.0
1.1k stars 18 forks source link

Project not available on macOS Ventura #68

Closed oscarmrad closed 7 months ago

oscarmrad commented 7 months ago

I tried installing the janky borders on my 2017 intel macbook pro running on macOS Ventura 13.6.5 but i got an error saying that I need macOS Sonoma. However my mac does not support this OS because it is only available till 2018 macs. Is there a way to integrate it for macOS Ventura?

FelixKratz commented 7 months ago

There are several reports that the software will work on ventura, however, I can not guarantee functionality because I have no mac running Ventura anymore and the project development began with Sonoma.

I think you can force brew to install the software anyways:

brew install --ignore-dependencies borders

If that doesnt work, you can always compile from source.

oscarmrad commented 7 months ago

Thanks for your answer i got it working now just needed the ignore dependencies options. Cheers!

gbxhq commented 7 months ago

Thanks for your answer i got it working now just needed the ignore dependencies options. Cheers!

archcst commented 7 months ago

It seem ignore-dependencies command not working on Monterey:

$ brew install --ignore-dependencies borders

==> Downloading https://formulae.brew.sh/api/formula.jws.json
##O=-#     #
Warning: `--ignore-dependencies` is an unsupported Homebrew developer option!
Adjust your PATH to put any preferred versions of applications earlier in the
PATH rather than using this unsupported option!

==> Downloading https://formulae.brew.sh/api/cask.jws.json
############################################################################################################################################################################## 100.0%
==> Fetching felixkratz/formulae/borders
==> Downloading https://github.com/FelixKratz/JankyBorders/archive/refs/tags/v1.5.1.tar.gz
Already downloaded: /Users/chenshitong/Library/Caches/Homebrew/downloads/275be15be7045df663a61f9461ab0e5f6cd2d66fab8beee05988652d1d09d898--JankyBorders-1.5.1.tar.gz
==> Installing borders from felixkratz/formulae
==> make
Last 15 lines from /Users/chenshitong/Library/Logs/Homebrew/borders/01.make:
2024-03-04 13:30:08 +0000

make
mkdir bin
clang -std=c99 -O3 -g src/main.c src/parse.c src/mach.c src/hashtable.c src/events.c src/windows.c src/border.c  -o bin/borders -framework AppKit -framework CoreVideo -F/System/Library/PrivateFrameworks/ -framework SkyLight
Undefined symbols for architecture x86_64:
  "_SLSWindowManagementBridgeSetDelegate", referenced from:
      _main in main-8d4cf3.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [all] Error 1

If reporting this issue please do so at (not Homebrew/brew or Homebrew/homebrew-core):
  https://github.com/felixkratz/homebrew-formulae/issues

Then I clone the repo and tried to run make in the folder:

$ make
clang -std=c99 -O3 -g src/main.c src/parse.c src/mach.c src/hashtable.c src/events.c src/windows.c src/border.c  -o bin/borders -framework AppKit -framework CoreVideo -F/System/Library/PrivateFrameworks/ -framework SkyLight

$ ./bin/borders
Connection: Wrong message received.
dyld[8830]: missing symbol called
[1]    8830 abort      ./bin/borders

I'm not familiar with C++, am I doing it wrong?

FelixKratz commented 7 months ago

Monterey is entirely unsupported because it does not have the required system APIs.