From nobody Wed May 15 17:12:26 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Vfft251r9z5LBbD; Wed, 15 May 2024 17:12:26 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Vfft24WKyz4dft; Wed, 15 May 2024 17:12:26 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1715793146; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=I0GvMHHvW+kiLlLTGVZ+iTJPp+G2EEsfVkirf4qe4rw=; b=hOX1v/NvMcYG4DVHimL4sFuatF0vJMnAyxWxGKE8sK8aqM3cqgGnm1dCRdi3vOX/SLmhix dePUsBBvQor5EdXFpe2FB3KYSQp9R6MGb9uEceXGbq5/TxET8B4cNu+hCjm2tlrrZkigTj orq5wojW8hCDEHYsKWOXgVJTiOvXMQcU6olVMlkgKQ6GwQyQ7LyMqnN3DZ0ON4DHqlRAxA YrrTKmwNHCdwZzO0ydHV7s6e/Bjy9/O+UKKXbzDYKWWF9wpzCzeyXDGXGM6duZrTM41+4X xw3XmT7tN+StvVYnJGBxX5OkJgpN6KCdgW8BMz+KEOFmfJ96Nfu+FHKV7o8J3w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1715793146; a=rsa-sha256; cv=none; b=goMw/bw1TK4TXyZIGbamabAmc4sfHdKTc/gI4z/zXg/BYj0WpSn7GwD0NLl6GNSo8OGQDK pswbCw6i57dDyCtLPB9FRiPGA72Fp0EmOqXV/6MsjoEr7XBeSb5JrnuEzooSxE1PWBbpZl bMtZ2MnlMu3C27oB+aE1R0JBEbPq7OKYTx02W5b8k9F0x7MHuiVe8P0Y4SlOOac1kA4eYi lK6GiESstRzUrUonVRkSvdds2SeJmBmLgvezeH+B+7Z8XWlX59eUB2+2mFHwdRIlluGxja cZ3113BIviB6Ii7G4+NFxkasXd6E99rhQiXPmJYbA6Vy3AbgRIyIqUZG3Jdo1g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1715793146; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=I0GvMHHvW+kiLlLTGVZ+iTJPp+G2EEsfVkirf4qe4rw=; b=wbx2PrQjAyLIpWt+8BJvau6ZEzzlp+0aUR2H3z1Mn4Lnbkq9YdJvdcqz+OSCZnsJ0ChtIw DJpX9Dy5QhUKML5w55tK1HHIeVQgg4mOo+ReiqmS1AT6E4LCAgd2c3QjaKm51lm86ygecb TOf3YSWG0iBEZhTwgx6iHPj1ZlRenpgnUJ4+u9fKUmsMYSol0taLSnjyMBil7kGxZmbdQO RWq7SDzG2wd59Ud9ggab4xzvvTztEWfyh3g66xWfOaIFFve0oSNg51K8vSep+MYSbQLDgm zROvq5Vi6k7jwxrPh0MeonWjeuG/PoMlK0w2d+r2xL9be44ywW68jcga3XsxKA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Vfft246fTzNdf; Wed, 15 May 2024 17:12:26 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 44FHCQFl088529; Wed, 15 May 2024 17:12:26 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 44FHCQak088526; Wed, 15 May 2024 17:12:26 GMT (envelope-from git) Date: Wed, 15 May 2024 17:12:26 GMT Message-Id: <202405151712.44FHCQak088526@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Fernando =?utf-8?Q?Apestegu=C3=ADa?= Subject: git: 6c950196d9e2 - main - sysutils/conky{-awesome}: update to 1.21.0 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: fernape X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 6c950196d9e285218f9ad0e1c3517a7dfc9f5336 Auto-Submitted: auto-generated The branch main has been updated by fernape: URL: https://cgit.FreeBSD.org/ports/commit/?id=6c950196d9e285218f9ad0e1c3517a7dfc9f5336 commit 6c950196d9e285218f9ad0e1c3517a7dfc9f5336 Author: Fernando ApesteguĂ­a AuthorDate: 2024-05-11 18:30:35 +0000 Commit: Fernando ApesteguĂ­a CommitDate: 2024-05-15 17:11:57 +0000 sysutils/conky{-awesome}: update to 1.21.0 ChangeLog: https://github.com/brndnmtthws/conky/releases/tag/v1.21.0 Features * Update DPI when changed in resource manager * CLI: -V now displays a short version string * Make version string semver compliant, add git sha * Add BUILD_COLOUR_NAME_MAP build flag * Docker: updated base image to Ubuntu 24.04 LTS * Docker: improve tagging, distinguish main and latest * Introduce geometry primitives Bug fixes * Fix bad query_x11_windows early returns * Re-enable RSS in AppImage, also enable in Nix flake * Disable -Wregister on gperf output * Simplify binary include handling (and fix build) * Require gperf at build-time * Docker: Add gperf, enable Lua Cairo Xlib bindings * Fix conky-cairo_imlib2_helper dependency conditions * Use private mapping from provided shm_pool buffer * Remove dpi scaling of maximum width * Use _NET_VIRTUAL_ROOTS for querying virtual roots * Use MODULE library type for Lua libs * Fix AppImage version naming * Ensure we use correct LLVM in nix dev shell * Fix alignment documentation & enable HTML in docs Miscellaneous * Bump version * Explicitly note updated time is UTC * Link to latest commit in web footer * Update nix flake w/ LLVM 18 * shared_ptr::unique() deprecated, use use_count() * Bump minor version * Fix this env var handling (derp) * Try to fix this quote handling again * Move docker build to separate script for less jank * Docker build separate script --- sysutils/conky/Makefile | 9 +++++++-- sysutils/conky/distinfo | 6 +++--- sysutils/conky/files/patch-src_display-x11.cc | 26 -------------------------- sysutils/conky/files/patch-src_llua.h | 10 ++++++++++ sysutils/conky/files/patch-src_x11-settings.cc | 11 +++++++++++ sysutils/conky/files/patch-src_x11.cc | 16 ++++++++++++++++ 6 files changed, 47 insertions(+), 31 deletions(-) diff --git a/sysutils/conky/Makefile b/sysutils/conky/Makefile index 349b704907b7..e991646e9e4b 100644 --- a/sysutils/conky/Makefile +++ b/sysutils/conky/Makefile @@ -1,5 +1,5 @@ PORTNAME= conky -PORTVERSION= 1.20.2 +PORTVERSION= 1.21.0 DISTVERSIONPREFIX= v CATEGORIES= sysutils @@ -28,7 +28,8 @@ CMAKE_ARGS= -DAPP_SED=${LOCALBASE}/bin/gsed \ CONFLICTS?= conky-awesome SLAVEDIRS= sysutils/conky-awesome -PLIST_FILES= bin/conky +PLIST_FILES= bin/conky \ + lib/libVc.a PORTDOCS= config_settings.yaml lua.yaml variables.yaml PORTEXAMPLES= conky.conf conky_no_x11.conf convert.lua @@ -163,4 +164,8 @@ post-install-DOCS-on: ${INSTALL_MAN} ${WRKSRC}/doc/${FILE} ${STAGEDIR}${DOCSDIR} .endfor +post-install: + ${RM} -rf ${STAGEDIR}${PREFIX}/include + ${RM} -rf ${STAGEDIR}${PREFIX}/lib/cmake + .include diff --git a/sysutils/conky/distinfo b/sysutils/conky/distinfo index fd80db491a5a..28921e65f13d 100644 --- a/sysutils/conky/distinfo +++ b/sysutils/conky/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1714027251 -SHA256 (brndnmtthws-conky-v1.20.2_GH0.tar.gz) = 16f2e17d35252c1c3b97363016ede5cd68be719c32a51961420fcd46859bf503 -SIZE (brndnmtthws-conky-v1.20.2_GH0.tar.gz) = 1837320 +TIMESTAMP = 1715452113 +SHA256 (brndnmtthws-conky-v1.21.0_GH0.tar.gz) = fff08ee35c15caf85ca62119c2694b9392f770eb4a8f1b5e07738d96edd0e5ac +SIZE (brndnmtthws-conky-v1.21.0_GH0.tar.gz) = 2146867 diff --git a/sysutils/conky/files/patch-src_display-x11.cc b/sysutils/conky/files/patch-src_display-x11.cc deleted file mode 100644 index e98b4f3e347a..000000000000 --- a/sysutils/conky/files/patch-src_display-x11.cc +++ /dev/null @@ -1,26 +0,0 @@ ---- src/display-x11.cc.orig 2024-04-24 13:56:28 UTC -+++ src/display-x11.cc -@@ -683,7 +683,9 @@ bool handle_event( - conky::display_output_x11 *surface, Display *display, XEvent &ev, - bool *consumed, void **cookie) { - if (ev.type != EnterNotify && ev.type != LeaveNotify) return false; -+#ifdef BUILD_XINPUT - if (window.xi_opcode != 0) return true; // handled by mouse_input already -+#endif - - bool not_over_conky = ev.xcrossing.x_root <= window.x || - ev.xcrossing.y_root <= window.y || -@@ -692,11 +694,13 @@ bool handle_event( - - if ((not_over_conky && ev.xcrossing.type == LeaveNotify) || - (!not_over_conky && ev.xcrossing.type == EnterNotify)) { -+#ifdef BUILD_MOUSE_EVENTS - llua_mouse_hook(mouse_crossing_event( - ev.xcrossing.type == EnterNotify ? mouse_event_t::AREA_ENTER - : mouse_event_t::AREA_LEAVE, - ev.xcrossing.x, ev.xcrossing.y, ev.xcrossing.x_root, - ev.xcrossing.y_root)); -+#endif - } - return true; - } diff --git a/sysutils/conky/files/patch-src_llua.h b/sysutils/conky/files/patch-src_llua.h new file mode 100644 index 000000000000..f5486ed1186f --- /dev/null +++ b/sysutils/conky/files/patch-src_llua.h @@ -0,0 +1,10 @@ +--- src/llua.h.orig 2024-05-07 20:02:47 UTC ++++ src/llua.h +@@ -31,6 +31,7 @@ extern "C" { + } + + #include ++#include "geometry.h" + + #ifdef BUILD_MOUSE_EVENTS + #include "mouse-events.h" diff --git a/sysutils/conky/files/patch-src_x11-settings.cc b/sysutils/conky/files/patch-src_x11-settings.cc new file mode 100644 index 000000000000..d5602d3839a7 --- /dev/null +++ b/sysutils/conky/files/patch-src_x11-settings.cc @@ -0,0 +1,11 @@ +--- src/x11-settings.cc.orig 2024-05-07 20:02:47 UTC ++++ src/x11-settings.cc +@@ -77,7 +77,7 @@ bool use_xpmdb_setting::set_up(lua::state &l) { + if (!out_to_x.get(l)) return false; + + window.back_buffer = +- XCreatePixmap(display, window.window, window.width + 1, window.height + 1, ++ XCreatePixmap(display, window.window, window.geometry.get_width() + 1, window.geometry.get_height() + 1, + DefaultDepth(display, screen)); + if (window.back_buffer != None) { + window.drawable = window.back_buffer; diff --git a/sysutils/conky/files/patch-src_x11.cc b/sysutils/conky/files/patch-src_x11.cc new file mode 100644 index 000000000000..b341e374a623 --- /dev/null +++ b/sysutils/conky/files/patch-src_x11.cc @@ -0,0 +1,16 @@ +--- src/x11.cc.orig 2024-05-14 16:06:21 UTC ++++ src/x11.cc +@@ -1215,10 +1215,10 @@ void xpmdb_swap_buffers(void) { + void xpmdb_swap_buffers(void) { + if (use_xpmdb.get(*state)) { + XCopyArea(display, window.back_buffer, window.window, window.gc, 0, 0, +- window.width, window.height, 0, 0); ++ window.geometry.get_width(), window.geometry.get_height(), 0, 0); + XSetForeground(display, window.gc, 0); +- XFillRectangle(display, window.drawable, window.gc, 0, 0, window.width, +- window.height); ++ XFillRectangle(display, window.drawable, window.gc, 0, 0, window.geometry.get_width(), ++ window.geometry.get_height()); + XFlush(display); + } + }