Your message dated Sun, 19 Apr 2009 19:08:01 +0000
with message-id <[email protected]>
and subject line Bug#506960: fixed in bibutils 4.1-1
has caused the Debian Bug report #506960,
regarding bibutils: Wrong SGML tag name for the Medline format
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
506960: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=506960
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: bibutils
Version: 3.40-4
Severity: normal
Tags: patch upstream

According to the NCBI standard Medline format [1], the first name of the
authors are specified by the <FirstName> SGML tag.  The med2xml program does
not comply with the specification, because the code in lib/medlin.c wrongly
uses the <ForeName> tag.  

In the debdiff file attached below you will find the quilt patch 
debian/patches/medline-author-firstname.patch that fixes the problem.
Please, apply it to the Debian package and feel free to forward it to the
upstream author.

Last note: I checked the code for release 3.43 of bibutils [2] and the bug is
still present.

[1] http://xml.coverpages.org/ncbiPubFormat.html
[2] http://www.scripps.edu/~cdputnam/software/bibutils/bibutils_3.43_src.tgz

Thanks,

Rafael Laboissiere

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (650, 'unstable'), (600, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.18-3-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US (charmap=UTF-8) (ignored: LC_ALL set 
to en_US.UTF-8)

Versions of packages bibutils depends on:
ii  libbibutils0                  3.40-4     bibliography file converter, share
ii  libc6                         2.7-3      GNU C Library: Shared libraries

bibutils recommends no packages.

-- no debconf information

diff -u bibutils-3.40/debian/changelog bibutils-3.40/debian/changelog
--- bibutils-3.40/debian/changelog
+++ bibutils-3.40/debian/changelog
@@ -1,3 +1,11 @@
+bibutils (3.40-4.1) UNRELEASED; urgency=low
+
+  * debian/patches/medline-author-firstname.patch: Use FirstName instead
+    of ForeName tag in the Author record, which is the correct SGML tag
+    name according to the NCBI Medline format specification.
+
+ -- Rafael Laboissiere <[email protected]>  Wed, 26 Nov 2008 13:34:04 +0100
+
 bibutils (3.40-4) unstable; urgency=low
 
   * added reftypes.h (Closes: #477654)
diff -u bibutils-3.40/debian/patches/series bibutils-3.40/debian/patches/series
--- bibutils-3.40/debian/patches/series
+++ bibutils-3.40/debian/patches/series
@@ -6,0 +7 @@
+medline-author-firstname.patch
only in patch2:
unchanged:
--- bibutils-3.40.orig/debian/patches/medline-author-firstname.patch
+++ bibutils-3.40/debian/patches/medline-author-firstname.patch
@@ -0,0 +1,27 @@
+Use FirstName instead of ForeName tag in the Author record, which is the
+correct SGML tag name according to the NCBI Medline format specification
+(see http://xml.coverpages.org/ncbiPubFormat.html).
+
+ -- Rafael Laboissiere <[email protected]>  Wed, 26 Nov 2008 13:34:04 +0100
+
+--- a/lib/medin.c
++++ b/lib/medin.c
+@@ -201,8 +201,7 @@
+ /* <AuthorList CompleteYN="Y">
+  *    <Author>
+  *        <LastName>Barondeau</LastName>
+- *        <ForeName>David P</ForeName>
+- *        <Initials>DP</Initials>
++ *        <FirstName>David P</FirstName>
+  *    </Author>
+  * </AuthorList>
+  */
+@@ -216,7 +215,7 @@
+                       newstr_prepend( name, node->value->data );
+               }
+               else newstr_strcat( name, node->value->data );
+-      } else if ( xml_tagexact( node, "ForeName" ) ) {
++      } else if ( xml_tagexact( node, "FirstName" ) ) {
+               p = node->value->data;
+               while ( p && *p ) {
+                       if ( name->len ) newstr_addchar( name, '|' );

--- End Message ---
--- Begin Message ---
Source: bibutils
Source-Version: 4.1-1

We believe that the bug you reported is fixed in the latest version of
bibutils, which is due to be installed in the Debian FTP archive:

bibutils_4.1-1.diff.gz
  to pool/main/b/bibutils/bibutils_4.1-1.diff.gz
bibutils_4.1-1.dsc
  to pool/main/b/bibutils/bibutils_4.1-1.dsc
bibutils_4.1-1_i386.deb
  to pool/main/b/bibutils/bibutils_4.1-1_i386.deb
bibutils_4.1.orig.tar.gz
  to pool/main/b/bibutils/bibutils_4.1.orig.tar.gz
libbibutils-dev_4.1-1_i386.deb
  to pool/main/b/bibutils/libbibutils-dev_4.1-1_i386.deb
libbibutils1_4.1-1_i386.deb
  to pool/main/b/bibutils/libbibutils1_4.1-1_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
David Bremner <[email protected]> (supplier of updated bibutils package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sun, 15 Mar 2009 12:48:29 -0300
Source: bibutils
Binary: bibutils libbibutils-dev libbibutils1
Architecture: source i386
Version: 4.1-1
Distribution: unstable
Urgency: low
Maintainer: Yaroslav Halchenko <[email protected]>
Changed-By: David Bremner <[email protected]>
Description: 
 bibutils   - interconvert various bibliographic data formats
 libbibutils-dev - bibliography file converter, development kit
 libbibutils1 - bibliography file converter, shared library
Closes: 485243 506960
Changes: 
 bibutils (4.1-1) unstable; urgency=low
 .
   * New Upstream Version (Closes: #506960)
   * Convert to topgit (Closes: #485243)
   * Change maintainer to [email protected]
   * Update Vcs-Git and Vcs-Browser
   * Converted packaging to topgit
   * Upgraded to standards version 3.8.1 (added debian/README.source)
Checksums-Sha1: 
 f89baa974349d5bccb7b9d11c5ec4c19ac3d1cda 1316 bibutils_4.1-1.dsc
 f8e714594d13c15656e55539f860869fc7243019 405014 bibutils_4.1.orig.tar.gz
 625f190ce3853ccd3b994a690a6746a548354f11 7819 bibutils_4.1-1.diff.gz
 27e56952bf6f6a78b0a1ba4afe4c035c973dc82e 3812062 bibutils_4.1-1_i386.deb
 f2b32db38f909b768bad17abce0421db0562a75c 339560 libbibutils-dev_4.1-1_i386.deb
 0d89c1f5a7c0950830e7d63fea316d28b063cb9f 313822 libbibutils1_4.1-1_i386.deb
Checksums-Sha256: 
 2ba285cbf086d0cf78973e1d35f2d9fdb64632c3fba10fbd02b2cf46f1762d98 1316 
bibutils_4.1-1.dsc
 236ea65c6cfa84df5031663e99303ef73c635065759de5407507c572f06ed1e4 405014 
bibutils_4.1.orig.tar.gz
 a8a2bd910b52a068642677e711e2d8bdd2d1369e2a2b050a59b7c6f5a9f173fe 7819 
bibutils_4.1-1.diff.gz
 294529b42ab005bdd60c0f146c0fb026d4607a3de73045ef45b346cbe32b9f70 3812062 
bibutils_4.1-1_i386.deb
 155b651c5ddb6d978f5c81d6b14015e64b2266cd29ec70c0e40b45186a3d0d1d 339560 
libbibutils-dev_4.1-1_i386.deb
 ed0dc97e24aa8acfbadbee28b3452f593999f41c8c01304828ed9919b12d968a 313822 
libbibutils1_4.1-1_i386.deb
Files: 
 179987b01dc3cf0560892ed325a918d8 1316 text optional bibutils_4.1-1.dsc
 4781d1f53aa9527b1eb17b218027b604 405014 text optional bibutils_4.1.orig.tar.gz
 573122c52e9c81017a9e7a7065a25877 7819 text optional bibutils_4.1-1.diff.gz
 7378e87c1ad6fc95cd198d352c80d023 3812062 text optional bibutils_4.1-1_i386.deb
 e00873f4dd73c7fb44d2cd596b36a8e7 339560 libdevel optional 
libbibutils-dev_4.1-1_i386.deb
 888dd8191d822e1466e38069375210ef 313822 libs optional 
libbibutils1_4.1-1_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAknramMACgkQjRFFY3XAJMh+ywCgpUG46ZzlxaYztdXp3pIlnsey
hD0An3uSmnX3Xhey8XOu6pRCa8WW+2M7
=Seck
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to