summaryrefslogtreecommitdiffstats
path: root/perl-install/install
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2021-10-29 16:20:04 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2021-10-29 17:00:28 +0200
commit01d5e5cc1aa7c7df1a3c67e34c839094d479b20e (patch)
treea400cb5a12eeae28ab9c7056cc1d4c9424228c51 /perl-install/install
parentb5b8c3c9158db2c230201215a94c2df9abda9ef1 (diff)
downloaddrakx-01d5e5cc1aa7c7df1a3c67e34c839094d479b20e.tar
drakx-01d5e5cc1aa7c7df1a3c67e34c839094d479b20e.tar.gz
drakx-01d5e5cc1aa7c7df1a3c67e34c839094d479b20e.tar.bz2
drakx-01d5e5cc1aa7c7df1a3c67e34c839094d479b20e.tar.xz
drakx-01d5e5cc1aa7c7df1a3c67e34c839094d479b20e.zip
Add a wrapper to easily debug Xorg
Diffstat (limited to 'perl-install/install')
-rw-r--r--perl-install/install/NEWS1
-rw-r--r--perl-install/install/share/list.xml10
2 files changed, 11 insertions, 0 deletions
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS
index 0edbabc11..cdb86f099 100644
--- a/perl-install/install/NEWS
+++ b/perl-install/install/NEWS
@@ -2,6 +2,7 @@
- Debug mode:
o Adapt to the fact that gdb-11.1 uses guile-3
o Adapt to gdb-11.1 (missing scm files)
+ o Add a wrapper to easily debug Xorg
Version 18.46 - 6 June 2021
diff --git a/perl-install/install/share/list.xml b/perl-install/install/share/list.xml
index 000b18909..77c2fb60b 100644
--- a/perl-install/install/share/list.xml
+++ b/perl-install/install/share/list.xml
@@ -703,6 +703,16 @@
upgrade
</to>
+ <if set="DEBUG_INSTALL">
+ <to dir="/bin">
+ <!-- abusing '<from expand="command">' -->
+ <from expand="command">
+ echo 'gdb -q --args /usr/libexec/Xorg.wrap :0 -allowMouseOpenFail -xf86config /tmp/Xconf vt7 -dpi 75 -nolisten tcp'> share/gdb-x11;
+ chmod +x share/gdb-x11; echo gdb-x11
+ </from>
+ </to>
+ </if>
+
<!-- for gtk+3 that needs dbus to be initialized -->
<to dir="/etc">
<!-- abusing '<from expand="command">' -->