public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: gui-apps/aylurs-gtk-shell/files/, gui-apps/aylurs-gtk-shell/
@ 2024-07-15 12:36 Lucio Sauer
  0 siblings, 0 replies; only message in thread
From: Lucio Sauer @ 2024-07-15 12:36 UTC (permalink / raw
  To: gentoo-commits

commit:     2f01813be7d5f8bd9a0b6685072acdbe38ba865c
Author:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Mon Jul 15 12:26:15 2024 +0000
Commit:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Mon Jul 15 12:32:44 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2f01813b

gui-apps/aylurs-gtk-shell: patch the symbol link

make the symbol link point to the right position instead of path inside
image dir

Signed-off-by: Haitian Song <sht852680833 <AT> gmail.com>
Closes: https://github.com/gentoo/guru/pull/212
Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>

 .../aylurs-gtk-shell/aylurs-gtk-shell-1.8.2-r1.ebuild     |  4 ++++
 .../files/aylurs-gtk-shell-1.8.2-correct_bin_src.patch    | 15 +++++++++++++++
 2 files changed, 19 insertions(+)

diff --git a/gui-apps/aylurs-gtk-shell/aylurs-gtk-shell-1.8.2-r1.ebuild b/gui-apps/aylurs-gtk-shell/aylurs-gtk-shell-1.8.2-r1.ebuild
index 31984618d..f2358a7de 100644
--- a/gui-apps/aylurs-gtk-shell/aylurs-gtk-shell-1.8.2-r1.ebuild
+++ b/gui-apps/aylurs-gtk-shell/aylurs-gtk-shell-1.8.2-r1.ebuild
@@ -48,6 +48,10 @@ BDEPEND="
 	dev-util/glib-utils
 "
 
+PATCHES=(
+	"${FILESDIR}/${P}-correct_bin_src.patch"
+)
+
 src_prepare() {
 	default
 	mv "${WORKDIR}/node_modules" "${S}"

diff --git a/gui-apps/aylurs-gtk-shell/files/aylurs-gtk-shell-1.8.2-correct_bin_src.patch b/gui-apps/aylurs-gtk-shell/files/aylurs-gtk-shell-1.8.2-correct_bin_src.patch
new file mode 100644
index 000000000..602c4c0e8
--- /dev/null
+++ b/gui-apps/aylurs-gtk-shell/files/aylurs-gtk-shell-1.8.2-correct_bin_src.patch
@@ -0,0 +1,15 @@
+#Patch post_install.sh to make the symbole link point to the correct path instead of a path inside build image
+
+Bug: https://github.com/gentoo/guru/pull/212
+Bug: https://github.com/Aylur/ags/pull/503
+--- a/post_install.sh
++++ b/post_install.sh
+@@ -7,7 +7,7 @@ APP_ID=$4
+ 
+ mkdir -p $BIN_DIR
+ 
+-BIN_SRC="$PKGDATA_DIR/$APP_ID"
++BIN_SRC="$2/$APP_ID"
+ BIN_DEST="$BIN_DIR/ags"
+ ln -s -f $BIN_SRC $BIN_DEST
+ 


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2024-07-15 12:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-15 12:36 [gentoo-commits] repo/proj/guru:dev commit in: gui-apps/aylurs-gtk-shell/files/, gui-apps/aylurs-gtk-shell/ Lucio Sauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox