repo/proj/guru:dev commit in: gui-apps/danksearch/, gui-apps/danksearch/files/

"Emi" <[email protected]>
Newsgroups gmane.linux.gentoo.cvs
Message-ID <1785955712.0daba592a3c2c411f1e215e7af2975a78a319b46.reedy.sailors.8t@gentoo>
commit:     0daba592a3c2c411f1e215e7af2975a78a319b46
Author:     Emi <reedy.sailors.8t <AT> icloud <DOT> com>
AuthorDate: Wed Aug  5 18:48:32 2026 +0000
Commit:     Emi <reedy.sailors.8t <AT> icloud <DOT> com>
CommitDate: Wed Aug  5 18:48:32 2026 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0daba592

gui-apps/danksearch: add no-strip patch

Signed-off-by: Emi <reedy.sailors.8t <AT> icloud.com>

 gui-apps/danksearch/danksearch-0.2.1-r1.ebuild        |  2 +-
 gui-apps/danksearch/danksearch-0.3.2.ebuild           |  2 +-
 .../danksearch/files/danksearch-0.3.2-no-strip.patch  | 19 +++++++++++++++++++
 3 files changed, 21 insertions(+), 2 deletions(-)

diff --git a/gui-apps/danksearch/danksearch-0.2.1-r1.ebuild b/gui-apps/danksearch/danksearch-0.2.1-r1.ebuild
index a17b064c7a..ed2988409e 100644
--- a/gui-apps/danksearch/danksearch-0.2.1-r1.ebuild
+++ b/gui-apps/danksearch/danksearch-0.2.1-r1.ebuild
@@ -17,7 +17,7 @@ KEYWORDS="~amd64"
 
 BDEPEND=">=dev-lang/go-1.25.0"
 
-RESTRICT="strip"
+PATCHES=("${FILESDIR}"/"${PN}-0.3.2-no-strip.patch")
 
 src_compile() {
 	sed -i '/^GOFLAGS=/d' "${S}/Makefile"

diff --git a/gui-apps/danksearch/danksearch-0.3.2.ebuild b/gui-apps/danksearch/danksearch-0.3.2.ebuild
index a17b064c7a..ed2988409e 100644
--- a/gui-apps/danksearch/danksearch-0.3.2.ebuild
+++ b/gui-apps/danksearch/danksearch-0.3.2.ebuild
@@ -17,7 +17,7 @@ KEYWORDS="~amd64"
 
 BDEPEND=">=dev-lang/go-1.25.0"
 
-RESTRICT="strip"
+PATCHES=("${FILESDIR}"/"${PN}-0.3.2-no-strip.patch")
 
 src_compile() {
 	sed -i '/^GOFLAGS=/d' "${S}/Makefile"

diff --git a/gui-apps/danksearch/files/danksearch-0.3.2-no-strip.patch b/gui-apps/danksearch/files/danksearch-0.3.2-no-strip.patch
new file mode 100644
index 0000000000..4cffa6b649
--- /dev/null
+++ b/gui-apps/danksearch/files/danksearch-0.3.2-no-strip.patch
@@ -0,0 +1,19 @@
+diff --git a/Makefile b/Makefile
+index d258a8a..84b64af 100644
+--- a/Makefile
++++ b/Makefile
+@@ -9,13 +9,12 @@ SYSTEMD_USER_DIR=$(HOME)/.config/systemd/user
+ SERVICE_NAME=dsearch
+ 
+ GO=go
+-GOFLAGS=-ldflags="-s -w"
+ 
+ VERSION=$(shell git describe --tags --always 2>/dev/null || echo "dev")
+ BUILD_TIME=$(shell date -u '+%Y-%m-%d_%H:%M:%S')
+ COMMIT=$(shell git rev-parse --short HEAD 2>/dev/null || echo "unknown")
+ 
+-BUILD_LDFLAGS=-ldflags="-s -w -X main.Version=$(VERSION) -X main.buildTime=$(BUILD_TIME) -X main.commit=$(COMMIT)"
++BUILD_LDFLAGS=-ldflags="-X main.Version=$(VERSION) -X main.buildTime=$(BUILD_TIME) -X main.commit=$(COMMIT)"
+ 
+ .PHONY: all build clean install uninstall test fmt vet deps help install-service uninstall-service
+
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.