revert upstream installation location switch from xsession.d to xinitrc.d
between xapp 2.0.0 and 2.0.1, upstream switched from installing
the Xsession file into /etc/X11/Xsession.d/ to /etc/X11/xinit/xinitrc.d/
Debian does not support the later, but Xinit load the Xsession.
Norbert Preining
2 years ago
11 | 11 | -D libexecdir=lib/$(DEB_TARGET_MULTIARCH) \ |
12 | 12 | -D docs=true \ |
13 | 13 | -D deprecated_warnings=false |
14 | ||
15 | # | |
16 | # between xapp 2.0.0 and 2.0.1, upstream switched from installing | |
17 | # the Xsession file into /etc/X11/Xsession.d/ to /etc/X11/xinit/xinitrc.d/ | |
18 | # Debian does not support the later, but Xinit load the Xsession. | |
19 | # Thus, undo this changes here | |
20 | execute_before_dh_install: | |
21 | mkdir -p debian/tmp/etc/X11/Xsession.d/ | |
22 | mv debian/tmp/etc/X11/xinit/xinitrc.d/80xapp-gtk3-module.sh \ | |
23 | debian/tmp/etc/X11/Xsession.d/80xapp-gtk3-module | |
24 | rmdir debian/tmp/etc/X11/xinit/xinitrc.d | |
25 | rmdir debian/tmp/etc/X11/xinit | |
26 |