Skip to content

Commit

Permalink
sysutils/conky: update to 1.21.1
Browse files Browse the repository at this point in the history
ChangeLog: https://github.com/brndnmtthws/conky/releases/tag/v1.21.1

 * Bug fixes

	* Disable Vc_ENABLE_INSTALL
	* Remove _member_access from geometry
	* Fix build with specific option combination.
	* Disable Xinput

 * Miscellaneous

	* Bump version
	* Refactor the CMake 3rdparty/Vc-related bits
	* Fix dockerhub login
	* build(deps): bump DeterminateSystems/magic-nix-cache-action from 4 to 6
	* build(deps): bump DeterminateSystems/nix-installer-action from 10 to 11
	* Group all actions dependabot updates
  • Loading branch information
fernape committed May 19, 2024
1 parent afaedf7 commit 507134d
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 31 deletions.
9 changes: 2 additions & 7 deletions sysutils/conky/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PORTNAME= conky
PORTVERSION= 1.21.0
PORTVERSION= 1.21.1
DISTVERSIONPREFIX= v
CATEGORIES= sysutils

Expand Down Expand Up @@ -28,8 +28,7 @@ CMAKE_ARGS= -DAPP_SED=${LOCALBASE}/bin/gsed \
CONFLICTS?= conky-awesome

SLAVEDIRS= sysutils/conky-awesome
PLIST_FILES= bin/conky \
lib/libVc.a
PLIST_FILES= bin/conky
PORTDOCS= config_settings.yaml lua.yaml variables.yaml
PORTEXAMPLES= conky.conf conky_no_x11.conf convert.lua

Expand Down Expand Up @@ -164,8 +163,4 @@ 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 <bsd.port.mk>
6 changes: 3 additions & 3 deletions sysutils/conky/distinfo
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
TIMESTAMP = 1715452113
SHA256 (brndnmtthws-conky-v1.21.0_GH0.tar.gz) = fff08ee35c15caf85ca62119c2694b9392f770eb4a8f1b5e07738d96edd0e5ac
SIZE (brndnmtthws-conky-v1.21.0_GH0.tar.gz) = 2146867
TIMESTAMP = 1716140477
SHA256 (brndnmtthws-conky-v1.21.1_GH0.tar.gz) = dccfee01fc208c4fde2bfb7c39c0fdc692d82de0f94e733ddf22e1199969bc5d
SIZE (brndnmtthws-conky-v1.21.1_GH0.tar.gz) = 2146994
10 changes: 0 additions & 10 deletions sysutils/conky/files/patch-src_llua.h

This file was deleted.

6 changes: 3 additions & 3 deletions sysutils/conky/files/patch-src_x11-settings.cc
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
--- src/x11-settings.cc.orig 2024-05-07 20:02:47 UTC
--- src/x11-settings.cc.orig 2024-05-19 17:48:45 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,
- XCreatePixmap(display, window.window, window.geometry.get_width() + 1, window.geometry.get_height() + 1,
+ XCreatePixmap(display, window.window, window.geometry.width() + 1, window.geometry.height() + 1,
DefaultDepth(display, screen));
if (window.back_buffer != None) {
window.drawable = window.back_buffer;
16 changes: 8 additions & 8 deletions sysutils/conky/files/patch-src_x11.cc
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
--- src/x11.cc.orig 2024-05-14 16:06:21 UTC
--- src/x11.cc.orig 2024-05-19 17:48:25 UTC
+++ src/x11.cc
@@ -1215,10 +1215,10 @@ void xpmdb_swap_buffers(void) {
@@ -1219,10 +1219,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);
- window.geometry.get_width(), window.geometry.get_height(), 0, 0);
+ window.geometry.width(), window.geometry.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());
- XFillRectangle(display, window.drawable, window.gc, 0, 0, window.geometry.get_width(),
- window.geometry.get_height());
+ XFillRectangle(display, window.drawable, window.gc, 0, 0, window.geometry.width(),
+ window.geometry.height());
XFlush(display);
}
}

0 comments on commit 507134d

Please sign in to comment.