Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] conky: update to 1.19.6
@ 2024-02-15 18:24 zlice
  2024-02-19 16:24 ` [PR PATCH] [Merged]: " leahneukirchen
  0 siblings, 1 reply; 2+ messages in thread
From: zlice @ 2024-02-15 18:24 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 743 bytes --]

There is a new pull request by zlice against master on the void-packages repository

https://github.com/zlice/void-packages conky-1.19.6
https://github.com/void-linux/void-packages/pull/48745

conky: update to 1.19.6
#### Testing the changes
- I tested the changes in this PR: **YES**

#### Local build testing
- I built this PR locally for my native architecture, **x86_64**
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - **x86_64-musl**
  - **i686**

#### Comments

pickup of

- https://github.com/void-linux/void-packages/pull/40237
- https://github.com/void-linux/void-packages/pull/42879



A patch file from https://github.com/void-linux/void-packages/pull/48745.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-conky-1.19.6-48745.patch --]
[-- Type: text/x-diff, Size: 5777 bytes --]

From d499d99e7e456913bb627d708b5c5bc0c08daeaa Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Thu, 15 Feb 2024 13:19:32 -0500
Subject: [PATCH] conky: update to 1.19.6

---
 srcpkgs/conky-cli          |  1 +
 srcpkgs/conky-cli/template | 37 ----------------------
 srcpkgs/conky-cli/update   |  2 --
 srcpkgs/conky/template     | 64 ++++++++++++++++++++++++++++++++------
 4 files changed, 55 insertions(+), 49 deletions(-)
 create mode 120000 srcpkgs/conky-cli
 delete mode 100644 srcpkgs/conky-cli/template
 delete mode 100644 srcpkgs/conky-cli/update

diff --git a/srcpkgs/conky-cli b/srcpkgs/conky-cli
new file mode 120000
index 0000000000000..50b610ce4a249
--- /dev/null
+++ b/srcpkgs/conky-cli
@@ -0,0 +1 @@
+conky
\ No newline at end of file
diff --git a/srcpkgs/conky-cli/template b/srcpkgs/conky-cli/template
deleted file mode 100644
index 3eeec06dd1ebc..0000000000000
--- a/srcpkgs/conky-cli/template
+++ /dev/null
@@ -1,37 +0,0 @@
-# Template file for 'conky-cli'
-# Keep in sync with 'conky'
-pkgname=conky-cli
-version=1.13.1
-revision=1
-build_style=cmake
-conf_files="/etc/conky/conky.conf /etc/conky/conky_no_x11.conf"
-configure_args="-DMAINTAINER_MODE=ON -DRELEASE=ON
- -DDOC_PATH=share/doc/${pkgname} -DBUILD_X11=OFF -DBUILD_CURL=ON -DBUILD_XDBE=OFF
- -DBUILD_RSS=ON -DBUILD_WEATHER_METAR=OFF -DBUILD_IMLIB2=OFF -DBUILD_WLAN=ON
- -DBUILD_DOCS=ON"
-hostmakedepends="libtool pkg-config docbook2x man-db"
-makedepends="libcurl-devel libglib-devel libxml2-devel lua53-devel
- ncurses-devel wireless_tools-devel"
-short_desc="Conky command line without X11"
-maintainer="Orphaned <orphan@voidlinux.org>"
-license="BSD-3-Clause, GPL-3.0-or-later"
-homepage="https://github.com/brndnmtthws/conky"
-distfiles="https://github.com/brndnmtthws/conky/archive/v${version}.tar.gz"
-checksum=f85c96250b501e937b9b5d2ff3f06176e14777c94cec81373bbfc8a619d7a05a
-
-provides="conky-${version}_${revision}"
-conflicts="conky>=0"
-
-post_extract() {
-	sed -i -e '1iinclude(CheckIncludeFile)' \
-		-e 's/NCURSES ncurses/NCURSES ncursesw/' \
-		cmake/ConkyPlatformChecks.cmake
-}
-
-post_install() {
-	vmkdir etc/conky
-	mv ${DESTDIR}/usr/share/doc/conky-cli/conky.conf ${DESTDIR}/etc/conky/
-	mv ${DESTDIR}/usr/share/doc/conky-cli/conky_no_x11.conf ${DESTDIR}/etc/conky/
-	rm ${DESTDIR}/usr/share/doc/conky-cli/convert.lua
-	vlicense COPYING
-}
diff --git a/srcpkgs/conky-cli/update b/srcpkgs/conky-cli/update
deleted file mode 100644
index 38312d141904c..0000000000000
--- a/srcpkgs/conky-cli/update
+++ /dev/null
@@ -1,2 +0,0 @@
-pkgname="conky"
-ignore=1.999
diff --git a/srcpkgs/conky/template b/srcpkgs/conky/template
index 016ddeab5c8a4..c89d06b3f866a 100644
--- a/srcpkgs/conky/template
+++ b/srcpkgs/conky/template
@@ -1,25 +1,48 @@
 # Template file for 'conky'
-# Keep in sync with 'conky-cli'
 pkgname=conky
-version=1.13.1
+version=1.19.6
 revision=1
 build_style=cmake
 conf_files="/etc/conky/conky.conf /etc/conky/conky_no_x11.conf"
 configure_args="-DMAINTAINER_MODE=ON -DRELEASE=ON
- -DDOC_PATH=share/doc/${pkgname} -DBUILD_X11=ON -DBUILD_CURL=ON -DBUILD_XDBE=ON
- -DBUILD_RSS=ON -DBUILD_WEATHER_METAR=ON -DBUILD_IMLIB2=ON -DBUILD_WLAN=ON
- -DBUILD_LUA_CAIRO=ON -DBUILD_LUA_IMLIB2=ON -DBUILD_LUA_RSVG=ON
- -DBUILD_XSHAPE=ON -DBUILD_DOCS=ON"
+ -DDOC_PATH=share/doc/${pkgname} -DBUILD_CURL=ON
+ -DBUILD_RSS=ON -DBUILD_WLAN=ON -DBUILD_X11=ON -DBUILD_XDBE=ON
+ -DBUILD_IMLIB2=ON -DBUILD_LUA_CAIRO=ON -DBUILD_LUA_IMLIB2=ON
+ -DBUILD_LUA_RSVG=ON -DBUILD_XSHAPE=ON"
 hostmakedepends="libtool pkg-config docbook2x man-db toluapp"
 makedepends="alsa-lib-devel imlib2-devel libXdamage-devel libXft-devel
  libXinerama-devel libcurl-devel librsvg-devel lua53-devel ncurses-devel
- toluapp-devel wireless_tools-devel"
-short_desc="Lightweight system monitor for X"
+ toluapp-devel wireless_tools-devel cairo-devel wayland-devel"
+short_desc="Lightweight system monitor for X and Wayland"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="BSD-3-Clause, GPL-3.0-or-later"
 homepage="https://github.com/brndnmtthws/conky"
-distfiles="https://github.com/brndnmtthws/conky/archive/v${version}.tar.gz"
-checksum=f85c96250b501e937b9b5d2ff3f06176e14777c94cec81373bbfc8a619d7a05a
+distfiles="https://github.com/brndnmtthws/conky/archive/v${version}.tar.gz
+ https://github.com/brndnmtthws/conky/releases/download/v${version}/conky.1.gz"
+checksum="1bf5868da44056badd4718a3c8dcc6905f7118a9f86e785b354a8ecdb157a59e
+ b733aa2a7fcf53b32464defa10b0f15561ec6c9a948a4ed21e76874c693ac570"
+
+post_extract() {
+	mv conky-*/* .
+}
+
+post_configure() { # conky-cli
+	configure_args="-DMAINTAINER_MODE=ON -DRELEASE=ON -DDOC_PATH=share/doc/${pkgname}
+	-DBUILD_X11=OFF -DBUILD_WAYLAND=OFF -DBUILD_CURL=ON -DBUILD_XDBE=OFF
+	-DBUILD_RSS=ON -DBUILD_IMLIB2=OFF -DBUILD_WLAN=ON"
+	(
+		cmake_builddir="cli-build"
+		do_configure
+	)
+}
+
+post_build() { # conky-cli
+	(
+		DESTDIR=${DESTDIR/conky/conky-cli}
+		cmake_builddir="cli-build"
+		do_build
+	)
+}
 
 post_install() {
 	vmkdir etc/conky
@@ -27,4 +50,25 @@ post_install() {
 	mv ${DESTDIR}/usr/share/doc/conky/conky_no_x11.conf ${DESTDIR}/etc/conky/
 	rm ${DESTDIR}/usr/share/doc/conky/convert.lua
 	vlicense COPYING
+	vman conky.1
+	(
+		DESTDIR=${DESTDIR/conky/conky-cli}
+		cmake_builddir="cli-build"
+		do_install
+	)
+}
+
+conky-cli_package() {
+	short_desc="Conky command line without X11 or Wayland"
+	provides="conky-${version}_${revision}"
+	conflicts="conky>=0"
+	pkg_install() {
+		DESTDIR="${pkgname}-${version}"
+		mkdir -p ${PKGDESTDIR}/etc/conky
+		mv ${PKGDESTDIR}/usr/share/doc/conky/conky.conf ${PKGDESTDIR}/etc/conky/
+		mv ${PKGDESTDIR}/usr/share/doc/conky/conky_no_x11.conf ${PKGDESTDIR}/etc/conky/
+		rm ${PKGDESTDIR}/usr/share/doc/conky/convert.lua
+		vlicense COPYING
+		vman ${wrksrc}/conky.1
+	}
 }

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PR PATCH] [Merged]: conky: update to 1.19.6
  2024-02-15 18:24 [PR PATCH] conky: update to 1.19.6 zlice
@ 2024-02-19 16:24 ` leahneukirchen
  0 siblings, 0 replies; 2+ messages in thread
From: leahneukirchen @ 2024-02-19 16:24 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 657 bytes --]

There's a merged pull request on the void-packages repository

conky: update to 1.19.6
https://github.com/void-linux/void-packages/pull/48745

Description:
#### Testing the changes
- I tested the changes in this PR: **YES** (in X11, not Wayland)

#### Local build testing
- I built this PR locally for my native architecture, **x86_64**
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - **x86_64-musl**
  - **i686**

#### Comments

pickup of

- https://github.com/void-linux/void-packages/pull/40237
- https://github.com/void-linux/void-packages/pull/42879

Combinds conky and conky-cli into 1 template

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-02-19 16:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-15 18:24 [PR PATCH] conky: update to 1.19.6 zlice
2024-02-19 16:24 ` [PR PATCH] [Merged]: " leahneukirchen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).