Skip to content

Commit 8d540f0

Browse files
committed
sysutils/conky: update to 1.20.1
Bugfix over the short-lived 1.20.0 ChangeLog: https://github.com/brndnmtthws/conky/releases/tag/v1.20.0 Features * Build AppImage separately per OS * Rotate appimage signing key * Add/use clang 15 on ubuntu builds * Define text_object.data.l as "long long" * Bump web deps, fix lint * Updated flake per NixOS/nix#5532 * Fix bad imlib2 typedefs for imlib<1.10 * Use --force with brew install, block upgrades * Tidy up docs * Update README.md * Update README.md * Handle external PropertyNotify events * Label dependency changes * Tweak XSendEvent arguments * Add modified date to web docs * Improve documentation for window types and hints * Refactor x11 event handling * Issue template: Link docs to obtain stack traces * Exclusive XInput event handling Bug fixes * Enable wayland in appimage build * Fix regression in lua_load path handling * Lua imlib2 fixes * Increase max length of ACPI temp (fixes #977) * Skip propagation of non-input events * Fix render order in draw_stuff * Fix event propagation on Openbox * Fix missing y_abs argument copy
1 parent c220304 commit 8d540f0

File tree

5 files changed

+35
-9
lines changed

5 files changed

+35
-9
lines changed

‎sysutils/conky/Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
PORTNAME= conky
2-
PORTVERSION= 1.19.8
2+
PORTVERSION= 1.20.1
33
DISTVERSIONPREFIX= v
44
CATEGORIES= sysutils
55

‎sysutils/conky/distinfo‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
TIMESTAMP = 1709105678
2-
SHA256 (brndnmtthws-conky-v1.19.8_GH0.tar.gz) = 8ac01452554559ace15e5966cb65eb37ef73b98c72967e6e0974c7ba98a1a88d
3-
SIZE (brndnmtthws-conky-v1.19.8_GH0.tar.gz) = 1711683
1+
TIMESTAMP = 1713443191
2+
SHA256 (brndnmtthws-conky-v1.20.1_GH0.tar.gz) = 5e0531d1bbb589ee2369876340c341073d3bc13f8a79c05f89ec6170d6374085
3+
SIZE (brndnmtthws-conky-v1.20.1_GH0.tar.gz) = 1839204

‎sysutils/conky/files/patch-lua_CMakeLists.txt‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
--- lua/CMakeLists.txt.orig 2023-02-18 14:34:53 UTC
1+
--- lua/CMakeLists.txt.orig 2024-04-17 02:04:14 UTC
22
+++ lua/CMakeLists.txt
3-
@@ -31,6 +31,8 @@ if(BUILD_X11)
3+
@@ -30,6 +30,8 @@ if(BUILD_X11)
44
get_filename_component(X11_SM_LIB_PATH ${X11_SM_LIB} DIRECTORY)
55
link_directories(${X11_SM_LIB_PATH})
66

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
--- src/display-x11.cc.orig 2024-04-17 02:04:14 UTC
2+
+++ src/display-x11.cc
3+
@@ -762,7 +762,9 @@ bool handle_event<x_event_handler::BORDER_CROSSING>(
4+
conky::display_output_x11 *surface, Display *display, XEvent &ev,
5+
bool *consumed, void **cookie) {
6+
if (ev.type != EnterNotify && ev.type != LeaveNotify) return false;
7+
+#ifdef BUILD_XINPUT
8+
if (window.xi_opcode != 0) return true; // handled by mouse_input already
9+
+#endif
10+
11+
bool not_over_conky = ev.xcrossing.x_root <= window.x ||
12+
ev.xcrossing.y_root <= window.y ||
13+
@@ -771,11 +773,13 @@ bool handle_event<x_event_handler::BORDER_CROSSING>(
14+
15+
if ((not_over_conky && ev.xcrossing.type == LeaveNotify) ||
16+
(!not_over_conky && ev.xcrossing.type == EnterNotify)) {
17+
+#ifdef BUILD_MOUSE_EVENTS
18+
llua_mouse_hook(mouse_crossing_event(
19+
ev.xcrossing.type == EnterNotify ? mouse_event_t::AREA_ENTER
20+
: mouse_event_t::AREA_LEAVE,
21+
ev.xcrossing.x, ev.xcrossing.y, ev.xcrossing.x_root,
22+
ev.xcrossing.y_root));
23+
+#endif
24+
}
25+
return true;
26+
}

‎sysutils/conky/files/patch-src_x11.h‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
--- src/x11.h.orig 2022-12-26 18:54:10 UTC
1+
--- src/x11.h.orig 2024-04-17 02:04:14 UTC
22
+++ src/x11.h
33
@@ -22,6 +22,7 @@
44
*
@@ -7,8 +7,8 @@
77
+#ifdef BUILD_X11
88
#pragma once
99

10-
#include <X11/Xatom.h>
11-
@@ -157,3 +158,5 @@ extern priv::use_xpmdb_setting use_xpmdb;
10+
#include "config.h"
11+
@@ -246,3 +247,5 @@ extern priv::use_xpmdb_setting use_xpmdb;
1212
#else
1313
extern priv::use_xpmdb_setting use_xpmdb;
1414
#endif

0 commit comments

Comments
 (0)