From 99b21bf7af0231dd4bbe028d01207a7b4d930550 Mon Sep 17 00:00:00 2001 From: Eduardo Hopperdietzel Date: Sat, 7 Sep 2024 19:04:50 -0400 Subject: [PATCH] Update version to 2.9.0 --- CHANGES | 23 ++++++++ README.md | 2 +- VERSION | 2 +- doxygen/md/Downloads.md | 56 +++++++++---------- doxygen/md/Examples.md | 3 +- scripts/docs/cap_%d | 0 .../graphic/DRM/LGraphicBackendDRM.cpp | 1 - src/backends/graphic/DRM/meson.build | 1 - src/lib/core/LActivationToken.h | 2 +- src/meson.build | 32 +++++------ 10 files changed, 68 insertions(+), 54 deletions(-) delete mode 100644 scripts/docs/cap_%d diff --git a/CHANGES b/CHANGES index 89cdfdd16..5ec7f364a 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,26 @@ +Louvre (2.9.0-1) + + # API Additions + + * Added LScene::enableAutoRepaint() option to temporarily prevent child views from triggering output repaints when modified. + + # Examples + + * louvre-views: Added Meta + Ctrl + Scroll gesture for zooming in and out. Thanks to @mishoo for the idea. + * louvre-views: Enabled tap-to-click by default. Thanks to @renhiyama for the suggestion. + + # Bug Fixes + + * Corrected the calculation of LRenderBuffer::size() when the scale factor changes. + + # Dependencies + + * Removed GBM dependency. + * Specified the minimum required versions for all dependencies. + + -- Eduardo Hopperdietzel Sat, 07 Sep 2024 18:39:10 -0400 + + Louvre (2.8.0-1) # New Protocols diff --git a/README.md b/README.md index 040df10ef..32c657c98 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ Louvre is released under the MIT license. - Current Louvre version. + Current Louvre version.

diff --git a/VERSION b/VERSION index 834f26295..c8e38b614 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2.8.0 +2.9.0 diff --git a/doxygen/md/Downloads.md b/doxygen/md/Downloads.md index 741a4bc0c..0a64e6f1d 100644 --- a/doxygen/md/Downloads.md +++ b/doxygen/md/Downloads.md @@ -12,29 +12,29 @@ Pre-built binaries are provided for the following distributions. Please be aware Louvre relies on the following libraries: -* **Wayland Server** >= 1.16 -* **EGL** >= 1.5.0 -* **GLES 2.0** >= 13.0.6 -* **DRM** >= 2.4.85 -* **SRM** >= 0.7.0 -* **GBM** >= 22.2.0 -* **Evdev** >= 1.5.6 -* **Libinput** >= 1.6.3 -* **XCursor** >= 1.1.15 -* **XKB Common** >= 0.7.1 -* **Pixman** >= 0.40.0 -* **Libseat** >= 0.6.4 - -Wayland also backends require: - -* **Wayland Client** >= 1.22.0 -* **Wayland EGL** >= 18.1.0 - -And the examples also require: - -* **Libicu** >= 72.1 -* **FontConfig** >= 2.14.1 -* **FreeType** >= 2.8.1 +* **wayland-server** >= 1.20.0 +* **gl** >= 1.2 +* **egl** >= 1.5 +* **glesv2** >= 3.2 +* **libdrm** >= 2.4.113 +* **srm** >= 0.7.2 +* **libudev** >= 249 +* **libinput** >= 1.20.0 +* **xcursor** >= 1.2.0 +* **xkbcommon** >= 1.4.0 +* **pixman-1** >= 0.40.0 +* **libseat** >= 0.6.4 + +Wayland backends require: + +* **wayland-client** >= 1.20.0 +* **wayland-egl** >= 18.1.0 + +And the examples require: + +* **iccu** >= 72.1 +* **fontconfig** >= 2.13.1 +* **freetype2** >= 24.1.18 And can easily be built with [Meson](https://mesonbuild.com/). @@ -45,15 +45,9 @@ If your distribution is based on Debian, all tools and almost all dependencies c ``` $ sudo apt update $ sudo apt upgrade -$ sudo apt install build-essential meson libegl-dev mesa-common-dev libgles2-mesa-dev libdrm-dev libgbm-dev libevdev-dev libinput-dev libxcursor-dev libxkbcommon-dev libpixman-1-dev libwayland-dev hwinfo libseat-dev libicu-dev libfontconfig-dev libfreetype-dev +$ sudo apt install build-essential meson libegl-dev mesa-common-dev libgles2-mesa-dev libdrm-dev libevdev-dev libinput-dev libxcursor-dev libxkbcommon-dev libpixman-1-dev libwayland-dev hwinfo libseat-dev libicu-dev libfontconfig-dev libfreetype-dev ``` -If the [hwinfo](https://github.com/vcrhonek/hwdata) or [libdisplay-info](https://gitlab.freedesktop.org/emersion/libdisplay-info) packages are not available in your distribution, please download and install them manually in the specified order: - -1. [hwinfo](https://packages.debian.org/buster/hwinfo) -2. [libdisplay-info1](https://packages.debian.org/sid/libdisplay-info1) -3. [libdisplay-info-dev](https://packages.debian.org/unstable/libdisplay-info-dev) - To install SRM, follow the instructions provided [here](https://cuarzosoftware.github.io/SRM/md_md__downloads.html). It is also recommended to install [weston-terminal](https://gitlab.freedesktop.org/wayland/weston), which is compatible with Wayland and is used throughout the tutorial and the examples. @@ -68,7 +62,7 @@ If your distribution is based on Red Hat, all tools and almost all dependencies ``` $ sudo dnf update -$ sudo dnf install @development-tools make automake gcc gcc-c++ meson libwayland-client libwayland-server wayland-devel libinput-devel libevdev-devel libudev-devel mesa-libEGL-devel libxkbcommon-devel libXcursor-devel pixman-devel libdrm-devel libgbm-devel libseat-devel fontconfig-devel freetype-devel libicu-devel +$ sudo dnf install @development-tools make automake gcc gcc-c++ meson libwayland-client libwayland-server wayland-devel libinput-devel libevdev-devel libudev-devel mesa-libEGL-devel libxkbcommon-devel libXcursor-devel pixman-devel libdrm-devel libseat-devel fontconfig-devel freetype-devel libicu-devel ``` To install SRM, follow the instructions provided [here](https://cuarzosoftware.github.io/SRM/md_md__downloads.html). diff --git a/doxygen/md/Examples.md b/doxygen/md/Examples.md index 681744a26..ab9dff94c 100644 --- a/doxygen/md/Examples.md +++ b/doxygen/md/Examples.md @@ -23,7 +23,7 @@ The dock icons featured in the screenshot were sourced from #include #include -#include #include #include diff --git a/src/backends/graphic/DRM/meson.build b/src/backends/graphic/DRM/meson.build index 2ea270b9b..82957a97f 100644 --- a/src/backends/graphic/DRM/meson.build +++ b/src/backends/graphic/DRM/meson.build @@ -12,7 +12,6 @@ GraphicBackendDRM = library( egl_dep, gl_dep, drm_dep, - gbm_dep, srm_dep ], install : true, diff --git a/src/lib/core/LActivationToken.h b/src/lib/core/LActivationToken.h index 72aefbe8e..97f145b98 100644 --- a/src/lib/core/LActivationToken.h +++ b/src/lib/core/LActivationToken.h @@ -18,7 +18,7 @@ class Louvre::LActivationToken final : public LObject { public: - LCLASS_NO_COPY(LActivationToken); + LCLASS_NO_COPY(LActivationToken) /** * @brief The client that requested the token creation. diff --git a/src/meson.build b/src/meson.build index ffa9a09ca..d5cc535b7 100644 --- a/src/meson.build +++ b/src/meson.build @@ -46,19 +46,18 @@ endif # -------------- DEPENDENCIES -------------- pkg = import('pkgconfig') -wayland_server_dep = dependency('wayland-server') -gl_dep = dependency('gl') +wayland_server_dep = dependency('wayland-server', version: '>= 1.20.0') +gl_dep = dependency('gl', version: '>= 1.2') egl_dep = dependency('egl', version : '>=1.5') -glesv2_dep = dependency('glesv2') -udev_dep = dependency('libudev') -xcursor_dep = dependency('xcursor') -xkbcommon_dep = dependency('xkbcommon') -pixman_dep = dependency('pixman-1') -drm_dep = dependency('libdrm') -gbm_dep = dependency('gbm') -input_dep = dependency('libinput') -libseat_dep = dependency('libseat') -srm_dep = dependency('SRM', version : '>=0.7.1') +glesv2_dep = dependency('glesv2', version: '>= 3.2') +udev_dep = dependency('libudev', version: '>= 249') +xcursor_dep = dependency('xcursor', version: '>= 1.2.0') +xkbcommon_dep = dependency('xkbcommon', version: '>= 1.4.0') +pixman_dep = dependency('pixman-1', version: '>= 0.40.0') +drm_dep = dependency('libdrm', version: '>= 2.4.113') +input_dep = dependency('libinput', version: '>= 1.20.0') +libseat_dep = dependency('libseat', version: '>= 0.6.4') +srm_dep = dependency('SRM', version : '>=0.7.2') pthread_dep = cpp.find_library('pthread') dl_dep = cpp.find_library('dl') @@ -141,7 +140,6 @@ louvre = library( pixman_dep, dl_dep, drm_dep, - gbm_dep, libseat_dep, pixman_dep ], @@ -173,8 +171,8 @@ endif if get_option('backend-wayland-graphic') or get_option('backend-wayland-input') - wayland_client_dep = dependency('wayland-client') - wayland_egl_dep = dependency('wayland-egl') + wayland_client_dep = dependency('wayland-client', version: '>= 1.20.0') + wayland_egl_dep = dependency('wayland-egl', version: '>= 18.1.0') if get_option('backend-wayland-graphic') subdir('backends/graphic/Wayland') @@ -187,8 +185,8 @@ if get_option('backend-wayland-graphic') or get_option('backend-wayland-input') endif if get_option('build_examples') - fontconfig_dep = dependency('fontconfig') - freetype_dep = dependency('freetype2') + fontconfig_dep = dependency('fontconfig', version: '>= 2.13.1') + freetype_dep = dependency('freetype2', version: '>= 24.1.18') icuuc_dep = cpp.find_library('icuuc') subdir('examples') endif