Bug#993690: goban-ss: Goban-ss binary in incorrect location
Control: tags -1 + patch
I believe the following patch will solve the issue. It is now commited to
the salsa git repository.
diff --git a/debian/install b/debian/install
index 6a80854..92225f1 100644
--- a/debian/install
+++ b/debian/install
@@ -1,3 +1,3 @@
debian/share usr
-usr/bin/goban usr/lib/xscreensaver
+usr/libexec/xscreensaver/goban
usr/share/xscreensaver usr/share
diff --git a/debian/patches/libexec-install.patch b/debian/patches/libexec-install.patch
new file mode 100644
index 0000000..38e3dd1
--- /dev/null
+++ b/debian/patches/libexec-install.patch
@@ -0,0 +1,20 @@
+Description: Install binary where xscreensaver find it.
+ Move upstream install location from /usr/bin/ to /usr/libexec/xscreensaver/,
+ and drop Debian specific renaming of location.
+Author: Petter Reinholdtsen <pere@debian.org>
+Bug-Debian: https://bugs.debian.org/993690
+Forwarded: no
+Last-Update: 2024-09-09
+---
+Index: goban-salsa/src/Makefile.am
+===================================================================
+--- goban-salsa.orig/src/Makefile.am 2024-09-09 07:50:53.535309077 +0200
++++ goban-salsa/src/Makefile.am 2024-09-09 07:56:34.199062314 +0200
+@@ -2,6 +2,7 @@
+
+ AM_CFLAGS = -DPACKAGE_DATA_DIR=\"$(pkgdatadir)\"
+
++bindir = $(libexecdir)/xscreensaver
+ bin_PROGRAMS = goban
+
+ goban_SOURCES = abut.c abut_help.c abut_msg.c arena.c board.c box.c but.c canvas.c cgbuts.c cgoban.c checkbox.c client.c client_main.c client_setup.c clp.c clp-x.c cm2pm.c conn.c control.c crwin.c ctext.c data.c drawStone.c editBoard.c editInfo.c editTool.c engine.c fsel.c game.c gameSetup.c goban.c goBoard.c goGame.c goHash.c goPic.c goScore.c goTime.c help.c i_finder.c i_general.c i_snd.c i_win.c list.c local.c login.c look.c lsetup.c main.c match.c menu.c menu_snd.c msg.c net.c plain.c plasma.c play.c player.c radio.c rcur.c rnd.c screensaver.c server.c setup.c sgf.c sgfIn.c sgfMap.c sgfOut.c sgfPlay.c slide.c snd.c str.c swin.c tbin.c tblock.c term.c text.c textin.c timer.c wms.c write.c
diff --git a/debian/patches/series b/debian/patches/series
index 97a362e..a83bcfe 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -5,3 +5,4 @@ gnu-destdir.patch
nonexecutable.patch
noabout.patch
integer-wid
+libexec-install.patch
--
Happy hacking
Petter Reinholdtsen
Reply to: