Github messages for voidlinux
 help / color / mirror / Atom feed
From: cinerea0 <cinerea0@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] nwg-launchers: update to 0.7.1.1
Date: Tue, 29 Nov 2022 04:12:55 +0100	[thread overview]
Message-ID: <20221129031255.tOyDSa083jnmqYziDlahyCoW4ti9yluLxGDWVWdBMAk@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-40432@inbox.vuxu.org>

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

There is an updated pull request by cinerea0 against master on the void-packages repository

https://github.com/cinerea0/void-packages launch
https://github.com/void-linux/void-packages/pull/40432

nwg-launchers: update to 0.7.1.1
#### Testing the changes
- I tested the changes in this PR: **YES**


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

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

From 751ae72e018af43838a0872f7b517c671e3c0e41 Mon Sep 17 00:00:00 2001
From: cinerea0 <cinerea0@disroot.org>
Date: Mon, 28 Nov 2022 22:11:35 -0500
Subject: [PATCH] nwg-launchers: update to 0.7.1.1

---
 .../patches/disable-readme-generation.patch   | 47 +++++++++++++++++++
 srcpkgs/nwg-launchers/template                |  8 ++--
 2 files changed, 51 insertions(+), 4 deletions(-)
 create mode 100644 srcpkgs/nwg-launchers/patches/disable-readme-generation.patch

diff --git a/srcpkgs/nwg-launchers/patches/disable-readme-generation.patch b/srcpkgs/nwg-launchers/patches/disable-readme-generation.patch
new file mode 100644
index 0000000000000..93049467e3392
--- /dev/null
+++ b/srcpkgs/nwg-launchers/patches/disable-readme-generation.patch
@@ -0,0 +1,47 @@
+# https://github.com/nwg-piotr/nwg-launchers/commit/c4d8d369782d32becfe8a8105abec9b61119a629
+diff --git a/meson.build b/meson.build
+index f6159b4..fc5ef60 100644
+--- a/meson.build
++++ b/meson.build
+@@ -67,14 +67,15 @@ if get_option('grid')
+ 	subdir('grid')
+ endif
+ 
+-python = find_program('python3', required: false)
+-if not python.found()
+-	python = find_program('python', required: false)
+-endif
++if get_option('generate-readme')
++	python = find_program('python3', required: false)
++	if not python.found()
++		message('python3 not found in PATH, trying python...')
++		python = find_program('python', required: true)
++	endif
+ 
+-# generate README.md from template
+-# make sure to copy it to the source directory!
+-if python.found()
++	# generate README.md from template
++	# make sure to copy it to the source directory!
+ 	readme = custom_target('readme',
+ 		output: [ 'README.md' ],
+ 		input: [ 'README.md.in' ],
+@@ -90,8 +91,6 @@ if python.found()
+ 		install_dir: conf_data.get('datadir'),
+ 		install: true
+ 	)
+-else
+-	message('Python was not found, fresh README.md will not be generated')
+ endif
+ 
+ install_data(
+diff --git a/meson_options.txt b/meson_options.txt
+index 683699e..65888ae 100644
+--- a/meson_options.txt
++++ b/meson_options.txt
+@@ -3,3 +3,4 @@ option('dmenu', type: 'boolean', value: true, description: 'Build the dmenu app.
+ option('grid', type: 'boolean', value: true, description: 'Build the grid app.')
+ option('layer-shell', type: 'feature', value: 'auto', description: 'Enable layer-shell support')
+ option('gdk-x11', type: 'feature', value: 'auto', description: 'Use Gdk X11 API')
++option('generate-readme', type: 'boolean', value: false, description: 'Generate fresh README.md in build directory')
+
diff --git a/srcpkgs/nwg-launchers/template b/srcpkgs/nwg-launchers/template
index acf5bfc583497..beece5edef550 100644
--- a/srcpkgs/nwg-launchers/template
+++ b/srcpkgs/nwg-launchers/template
@@ -1,7 +1,7 @@
 # Template file for 'nwg-launchers'
 pkgname=nwg-launchers
-version=0.6.3
-revision=2
+version=0.7.1.1
+revision=1
 build_style=meson
 hostmakedepends="pkg-config"
 makedepends="gtkmm-devel gtk-layer-shell-devel json-c++"
@@ -9,5 +9,5 @@ short_desc="GTK-based launchers for window managers"
 maintainer="Érico Nogueira <ericonr@disroot.org>"
 license="GPL-3.0-or-later"
 homepage="https://github.com/nwg-piotr/nwg-launchers"
-distfiles="${homepage}/archive/v${version}.tar.gz"
-checksum=8be219ef7e8aead08b46215c9c545b1bf9d108cefee580ffcf297553dee9dfaf
+distfiles="https://github.com/nwg-piotr/nwg-launchers/archive/refs/tags/v${version}.tar.gz"
+checksum=3700fe67870ecead091abe672c93ce01a6351cb1e0be1904233050c22e86a7c4

  parent reply	other threads:[~2022-11-29  3:12 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-10  4:10 [PR PATCH] " cinerea0
2022-11-10  4:54 ` [PR REVIEW] " sgn
2022-11-10  4:54 ` [PR PATCH] [Updated] " sgn
2022-11-10  4:58 ` [PR REVIEW] " sgn
2022-11-10  4:59 ` [PR PATCH] [Updated] " sgn
2022-11-10  5:00 ` [PR REVIEW] " classabbyamp
2022-11-10  5:06 ` sgn
2022-11-10  5:06 ` [PR PATCH] [Updated] " sgn
2022-11-10  5:27 ` cinerea0
2022-11-29  3:12 ` cinerea0 [this message]
2022-12-16 18:30 ` [PR PATCH] [Merged]: " paper42

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221129031255.tOyDSa083jnmqYziDlahyCoW4ti9yluLxGDWVWdBMAk@z \
    --to=cinerea0@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).