repo/proj/guru:dev commit in: gui-apps/dgop/, gui-apps/dgop/files/
"Emi" <[email protected]>
| Newsgroups | gmane.linux.gentoo.cvs |
|---|---|
| Message-ID | <1785955358.78bad0de89c0a7fd0a6b90d77dc06209fe7a18a3.reedy.sailors.8t@gentoo> |
commit: 78bad0de89c0a7fd0a6b90d77dc06209fe7a18a3
Author: Emi <reedy.sailors.8t <AT> icloud <DOT> com>
AuthorDate: Wed Aug 5 18:42:38 2026 +0000
Commit: Emi <reedy.sailors.8t <AT> icloud <DOT> com>
CommitDate: Wed Aug 5 18:42:38 2026 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=78bad0de
gui-apps/dgop: add no-strip patch
Signed-off-by: Emi <reedy.sailors.8t <AT> icloud.com>
gui-apps/dgop/dgop-0.2.2-r1.ebuild | 2 +-
gui-apps/dgop/dgop-0.2.3.ebuild | 2 +-
gui-apps/dgop/files/dgop-0.2.3-no-strip.patch | 21 +++++++++++++++++++++
3 files changed, 23 insertions(+), 2 deletions(-)
diff --git a/gui-apps/dgop/dgop-0.2.2-r1.ebuild b/gui-apps/dgop/dgop-0.2.2-r1.ebuild
index 2ee283a5ce..6718e9884f 100644
--- a/gui-apps/dgop/dgop-0.2.2-r1.ebuild
+++ b/gui-apps/dgop/dgop-0.2.2-r1.ebuild
@@ -15,7 +15,7 @@ KEYWORDS="~amd64"
BDEPEND=">=dev-lang/go-1.25.0"
-RESTRICT="strip"
+PATCHES=("${FILESDIR}"/"${PN}-0.2.3-no-strip.patch")
src_configure() {
sed -i '/^GOFLAGS=/d' "${S}/Makefile"
diff --git a/gui-apps/dgop/dgop-0.2.3.ebuild b/gui-apps/dgop/dgop-0.2.3.ebuild
index 2ee283a5ce..6718e9884f 100644
--- a/gui-apps/dgop/dgop-0.2.3.ebuild
+++ b/gui-apps/dgop/dgop-0.2.3.ebuild
@@ -15,7 +15,7 @@ KEYWORDS="~amd64"
BDEPEND=">=dev-lang/go-1.25.0"
-RESTRICT="strip"
+PATCHES=("${FILESDIR}"/"${PN}-0.2.3-no-strip.patch")
src_configure() {
sed -i '/^GOFLAGS=/d' "${S}/Makefile"
diff --git a/gui-apps/dgop/files/dgop-0.2.3-no-strip.patch b/gui-apps/dgop/files/dgop-0.2.3-no-strip.patch
new file mode 100644
index 0000000000..9ac11b7702
--- /dev/null
+++ b/gui-apps/dgop/files/dgop-0.2.3-no-strip.patch
@@ -0,0 +1,21 @@
+diff --git a/Makefile b/Makefile
+index f51a98b..1410ed2 100644
+--- a/Makefile
++++ b/Makefile
+@@ -8,7 +8,6 @@ INSTALL_DIR=/usr/local/bin
+
+ # Go settings
+ GO=go
+-GOFLAGS=-ldflags="-s -w"
+
+ # Version and build info
+ VERSION=$(shell git describe --tags --always 2>/dev/null || echo "dev")
+@@ -16,7 +15,7 @@ BUILD_TIME=$(shell date -u '+%Y-%m-%d_%H:%M:%S')
+ COMMIT=$(shell git rev-parse --short HEAD 2>/dev/null || echo "unknown")
+
+ # Build flags with version info
+-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
+