On 25.7.2015 11:54, Denis Mugnier wrote:
Hi,

I propose to change the Perl-modules.xml file to be consistent with the
others blfs xml files.

My proposal is to add at the top of the file for each module two general
entities. The first is for the URL of the perl module file, the second
is for the MD5 sum of this file.


Yes, that makes sense, especially for md5sum. URL more or less, it's
not like they change a lot (if at all). I found it a bit hard to
look for md5's in the big xml file when updating.

I propose that because it is the structure of all the others xml file...
and it is more easy for me to do the translation job ;o)

For example (for Archive-zip module) :


<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"; [
   <!ENTITY % general-entities SYSTEM "../../general.ent">
   %general-entities;

   <!ENTITY perl_modules_md5sums_download_http
"&sources-anduin-http;/perl-modules/">
   <!ENTITY perl_modules_md5sums_download_ftp
"&sources-anduin-ftp;/perl-modules/">
   <!ENTITY perl_authors  "http://cpan.metacpan.org/authors";>

   <!ENTITY URL_Archive-zip
"http://cpan.metacpan.org/authors/id/P/PH/PHRED/Archive-Zip-&Archive-Zip-version;.tar.gz";>

   <!ENTITY MD5_Archive-zip "39d3ee62aefd452b8b86094de46a9214">


Use what is used by convention: Archive-Zip-download-http and
Archive-Zip-md5sum

See template/template.xml for correct names in case I guessed it wrong
(I don't have it anywhere around atm).

]>

..............

     <itemizedlist>
       <listitem>
         <para>
           <ulink
url="&URL_Archive-zip;">Archive::Zip-&Archive-Zip-version;</ulink>
         </para>
       </listitem>
       <listitem>
<literallayout>&URL_Archive-zip;
MD5 sum: &MD5_Archive-zip;</literallayout>
       </listitem>
     </itemizedlist>



If you are agree with this proposal, I do the patch.

Regards

Denis


--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to