Skip to content

Commit fbe280c

Browse files
committed
bump version and tweak README
helping Wayland find EGL is no longer necessary on my laptop
1 parent c5ebc75 commit fbe280c

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "Gtk4"
22
uuid = "9db2cae5-386f-4011-9d63-a5602296539b"
3-
version = "0.7.8"
3+
version = "0.7.9"
44

55
[deps]
66
BitFlags = "d1d4a3ce-64b1-5f1a-9ba4-7e7e69966f35"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Gtk4.jl can interfere with [PyPlot.jl](https://github.com/JuliaPy/PyPlot.jl). Ca
3636
Gtk4.jl has also been reported to interfere with [GLMakie.jl](https://github.com/MakieOrg/Makie.jl), though this doesn't always seem to happen. To use Gtk4 based packages with Makie, you can use [Gtk4Makie.jl](https://github.com/JuliaGtk/Gtk4Makie.jl).
3737

3838
## Enabling GTK4's EGL backend (Linux)
39-
On Wayland, a Cairo-based fallback backend will be used unless you tell `libglvnd_jll` where to find libEGL. This can be done by setting the environment variable __EGL_VENDOR_LIBRARY_DIRS. See [here](https://gitlab.freedesktop.org/glvnd/libglvnd/-/blob/master/src/EGL/icd_enumeration.md) for details.
39+
On older versions of Wayland, a Cairo-based fallback rendering backend may be used unless you tell `libglvnd_jll` where to find libEGL. This can be done by setting the environment variable __EGL_VENDOR_LIBRARY_DIRS. See [here](https://gitlab.freedesktop.org/glvnd/libglvnd/-/blob/master/src/EGL/icd_enumeration.md) for details.
4040

4141
For convenience, in Gtk4.jl this can be set as a preference for a particular Julia environment using Preferences.jl:
4242
```julia

src/Gdk4.jl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@ const color_formats = Dict(ColorTypes.RGB{N0f8}=>MemoryFormat_R8G8B8,
8080
ColorTypes.BGRA{N0f8}=>MemoryFormat_B8G8R8A8,
8181
ColorTypes.RGB{N0f16}=>MemoryFormat_R16G16B16,
8282
ColorTypes.RGBA{N0f16}=>MemoryFormat_R16G16B16A16,
83-
# Available since GTK 4.12
8483
ColorTypes.Gray{N0f8}=>MemoryFormat_G8,
8584
ColorTypes.Gray{N0f16}=>MemoryFormat_G16,
8685
ColorTypes.GrayA{N0f8}=>MemoryFormat_G8A8,
@@ -91,7 +90,6 @@ const color_formats_premultiplied = Dict(ColorTypes.RGBA{N0f8}=>MemoryFormat_R8G
9190
ColorTypes.ARGB{N0f8}=>MemoryFormat_A8R8G8B8_PREMULTIPLIED,
9291
ColorTypes.BGRA{N0f8}=>MemoryFormat_B8G8R8A8_PREMULTIPLIED,
9392
ColorTypes.RGBA{N0f16}=>MemoryFormat_R16G16B16A16_PREMULTIPLIED,
94-
# Available since GTK 4.12
9593
ColorTypes.GrayA{N0f8}=>MemoryFormat_G8A8_PREMULTIPLIED,
9694
ColorTypes.GrayA{N0f16}=>MemoryFormat_G16A16_PREMULTIPLIED,
9795
)

0 commit comments

Comments
 (0)