[ALFS Trac] #1743: BLFS: scriptlets should not generate a linefeed for <userinput>

"ALFS Trac" ([email protected] via alfs-discuss Mailing List) <[email protected]> Sat, 04 Jan 2025 09:00:46 -0000
Newsgroups gmane.linux.lfs.automated
Message-ID <[email protected]>
#1743: BLFS: scriptlets should not generate a linefeed for <userinput>
-----------------------------+------------------------
 Reporter:  Pierre Labastie  |      Owner:  alfs-log@…
     Type:  defect           |     Status:  new
 Priority:  normal           |  Milestone:
Component:  ablfs            |    Version:  GIT
 Severity:  normal           |   Keywords:
-----------------------------+------------------------
 Recently, the dbus commands have been changed to include the following:
 {{{
 meson setup --prefix=/usr          \
             --buildtype=release    \
             --wrap-mode=nofallback \</userinput><userinput
 revision='sysv'>
             -D systemd=disabled    \</userinput><userinput>
             .. &amp;&amp;
 ninja</userinput></screen>
 }}}
 This breaks ablfs, because the xsl (wrongly) generates a linefeed before
 each <userinput> tag.

 Note that generating a linefeed between each block of commands is
 necessary, because otherwise the following xml:
 {{{
 <screen><userinput>text1</userinput></screen>
 <para>
   blah
 </para>
 <screen><userinput>text2</userinput></screen>
 }}}
 would generate:
 {{{
 text1text2
 }}}
 which is not what we want.

 But the linefeed should be added before each <screen>, not before each
 <userinput>
-- 
Ticket URL: <https://wiki.linuxfromscratch.org/alfs /ticket/1743>
ALFS Trac <https://wiki.linuxfromscratch.org/alfs/>
Automated Linux From Scratch

-- 
http://lists.linuxfromscratch.org/sympa/info/alfs-discuss
Unsubscribe: See the above information page