Ken Moffat wrote:
> On 4 August 2010 23:32, Bruce Dubbs <[email protected]> wrote:
>> I ran into the same thing with mysql. Â Perhaps we need something like:
>>
>> <!ENTITY lfssvn_checked "<para>This package is known to build and work
>> properly using an LFS-SVN-"
>>
>> <!ENTITY platform "platform.</para>">
>>
>>
>> Then, in the page,
>>
>> &lfssvn_checked;20100804 &platform;
>>
>> Change the date as appropriate.
>>
> I can't get that to pass the validation, the problem seems to be
> (a) the entities are no longer a whole paragraph
> (b) the bit in between (the date) isn't a recognised entity.
> I've got it rendering (in test - I don't have any svn updates
> at the moment, and I'm not sure which version you used for
> mysql) with:
>
> <!-- usage: <para>&lfssvn_checked;ccyymmdd platform.</para> -->
> <!ENTITY lfssvn_checked "This package is known to build and work
> properly
> using an LFS-svn-">
>
> The 'platform' entity is redundant, but the result does render.
>
> Also, no _needs_update version for 6.6 (seems redundant),
> and no _built version for svn (too much text needed with it, perhaps
> another entity for "platform but has not been tested.".
>
> Those can be added if someone finds a use case.
The following works for me.
-- Bruce
===================================================================
--- general.ent (revision 8454)
+++ general.ent (working copy)
@@ -66,6 +66,11 @@
using an LFS-6.5 platform if you use
current package
sources. See <xref
linkend='package_updates'/>
for more information.</para>">
+<!ENTITY svn_built "This package is known to build and work
properly
+ using an LFS-SVN-">
+
+<!ENTITY svn_built2 " platform.">
+
<!-- End special entities about LFS compatibility -->
<!-- Part II -->
Index: server/databases/mysql.xml
===================================================================
--- server/databases/mysql.xml (revision 8454)
+++ server/databases/mysql.xml (working copy)
@@ -41,6 +41,8 @@
existing BLFS instructions. Note that versions other than the one
shown
in the download URLs have not been tested in a BLFS
environment.</para>
+ <para>&svn_built;20100806&svn_built2;</para>
+
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
--
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page