Skip to content

Commit

Permalink
0.116.2 m116-d2c211228d, link with EGL on Linux #63
Browse files Browse the repository at this point in the history
  • Loading branch information
tonsky committed Dec 8, 2023
1 parent e557c20 commit 856859e
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 6 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# 0.116.2 - Dec 8, 2023

Changed:

- Skia version m116-f44dbc40d8 -> m116-d2c211228d
- Link with EGL on Linux

# 0.116.1 - Aug 9, 2023

Fixed:
Expand Down
3 changes: 1 addition & 2 deletions examples/jwm/script/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,7 @@ def main():
# Java
subprocess.check_call([
'java',
'--class-path', build_utils.classpath_join(['target/classes'] + classpath)]
+ (['-XstartOnFirstThread'] if 'macos' == build_utils.system else [])
'-classpath', build_utils.classpath_join(['target/classes'] + classpath)]
+ ['-Djava.awt.headless=true',
'-enableassertions',
'-enablesystemassertions',
Expand Down
3 changes: 2 additions & 1 deletion platform/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ if(APPLE)

elseif(UNIX)
target_include_directories(skija PRIVATE $ENV{JAVA_HOME}/include $ENV{JAVA_HOME}/include/linux)
set(EGL_LIBRARY EGL)

elseif(WIN32)
set(CMAKE_C_COMPILER cl)
Expand All @@ -84,4 +85,4 @@ endif()

list(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake)
include(FindSkia)
target_link_libraries(skija skottie sksg svg skparagraph skshaper skunicode skresources skia ${FREETYPE_LIBRARIES} ${HARFBUZZ_LIBRARIES})
target_link_libraries(skija skottie sksg svg skparagraph skshaper skunicode skresources skia ${EGL_LIBRARY} ${FREETYPE_LIBRARIES} ${HARFBUZZ_LIBRARIES})
2 changes: 1 addition & 1 deletion script/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ def main():
parser.add_argument('--debug', action='store_true')
parser.add_argument('--arch', default=build_utils.arch)
parser.add_argument('--skia-dir')
parser.add_argument('--skia-release', default='m116-f44dbc40d8')
parser.add_argument('--skia-release', default='m116-d2c211228d')
parser.add_argument('--cmake-toolchain-file')
(args, _) = parser.parse_known_args()

Expand Down
2 changes: 1 addition & 1 deletion script/build_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def jar(target: str, *content: List[Tuple[str, str]], opts=[]) -> str:

@functools.lru_cache(maxsize=1)
def lombok():
return fetch_maven('org.projectlombok', 'lombok', '1.18.28')
return fetch_maven('org.projectlombok', 'lombok', '1.18.30')

def delombok(dirs: List[str], target: str, classpath: List[str] = [], modulepath: List[str] = []):
sources = files(*[dir + "/**/*.java" for dir in dirs])
Expand Down
2 changes: 1 addition & 1 deletion script/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

compile_deps = [
{'group': 'org.jetbrains', 'name': 'annotations', 'version': '20.1.0'},
{'group': 'org.projectlombok', 'name': 'lombok', 'version': '1.18.28'},
{'group': 'org.projectlombok', 'name': 'lombok', 'version': '1.18.30'},
]

@functools.lru_cache(maxsize=1)
Expand Down

0 comments on commit 856859e

Please sign in to comment.