Your message dated Wed, 01 Nov 2006 06:47:23 -0800
with message-id <[EMAIL PROTECTED]>
and subject line Bug#369422: fixed in rcs-latex 3.1-2
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: rcs-latex
Version: 3.1-1
Severity: normal
Tags: patch

Newer CVS versions (such as the one in debian unstable) insert date
tags in ISO form, like this:

      $Date: 2006-05-29 16:16:27 $

These fail to work with the original rcs.sty.

I have included a backwards compatible patch that fixes rcs.sty; I
have also submitted the patch upstream.

--Kristoffer H Rose, ph.d. <[EMAIL PROTECTED]>


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-1-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages rcs-latex depends on:
ii  tetex-base                    3.0-17     Basic library files of teTeX

Versions of packages rcs-latex recommends:
ii  tetex-bin                     3.0-16     The teTeX binary files

-- no debconf information

--- /usr/share/texmf/tex/latex/misc/rcs.sty     2005-03-05 16:42:27.000000000 
-0500
+++ rcs.sty     2006-05-29 13:08:12.000000000 -0400
@@ -436,22 +436,35 @@
 %%% within the definition of RCSDate to avoid having to do an edef
 %%% which would expand |\today| before babel could redefine it.  ---JPG
 
-%%% \beginprog
-\def\rcs_set_date #1/#2/#3 #4\end_date{%
-    \expandafter\def \csname RCS\RCS_keyword\endcsname {%
-    \begingroup
-       \day #3                 % <-- space!
-       \month #2               % <-- space!
-       \year #1                % <-- space!
-       \today
-    \endgroup }
-    \def\RCSTime{#4}%
+%%% Further modified to use simple character parsing to allow for both
+%%% / delimiter used by original RCS and - delimiter used by modern
+%%% CVS, taking care that old 2-digit RCS years are still handled
+%%% properly.  ---KHR
+
+%%% \beginprog
+\def\rcs_set_date #1 #2\end_date{%
+    \expandafter\def \csname RCS\RCS_keyword\endcsname
+    {\begingroup\rcs_set_date_really#1\today\endgroup}%
+    \def\RCSTime{#2}%
+    }
+
+\def\rcs_set_date_really#1#2#3#4#5{%
+    \ifx#3/ % Very old RCS file with two digit year...
+       \year 19#1#2            % <-- space!
+       \def\_{\rcs_set_date_really_ii#4#5}\expandafter\_
+    \else
+       \year #1#2#3#4          % <-- space!
+        \expandafter\rcs_set_date_really_ii
+    \fi}
+
+\def\rcs_set_date_really_ii#1#2#3#4#5{%
+    \month #1#2                % <-- space!
+    \day #4#5          % <-- space!
     }
 %%% \endprog
 
 
 
-
 %%% \chap Typesetting revision logs.
 
 %%% If a revision log is to be typeset, we demand a special format.
@@ -588,7 +601,7 @@
 %%% \beginprog
 \def\RcsLogRevision#1#2#3#4{%
     \item [Revision #1]%
-      (created at \RcsLogDate #2\endDate\space \RcsLogTime{#3} % <-- space!
+      (created at \RcsLogDate #2\end_date\space \RcsLogTime{#3} % <-- space!
       by \RCS_get_author{#4})\\\relax
     }
 %%% \endprog
@@ -606,13 +619,8 @@
 %%% private macro, too.
 
 %%% \beginprog
-\def\RcsLogDate #1/#2/#3\endDate{%
-    \begingroup
-       \day #3                 % <-- space!
-       \month #2               % <-- space!
-       \year #1                % <-- space!
-       \today
-    \endgroup
+\def\RcsLogDate #1\end_date{%
+    \begingroup\rcs_set_date_really#1\today\endgroup
     }
 
 \def\RcsLogTime#1{\ignorespaces}


--- End Message ---
--- Begin Message ---
Source: rcs-latex
Source-Version: 3.1-2

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

rcs-latex_3.1-2.diff.gz
  to pool/main/r/rcs-latex/rcs-latex_3.1-2.diff.gz
rcs-latex_3.1-2.dsc
  to pool/main/r/rcs-latex/rcs-latex_3.1-2.dsc
rcs-latex_3.1-2_all.deb
  to pool/main/r/rcs-latex/rcs-latex_3.1-2_all.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.
Julian Gilbey <[EMAIL PROTECTED]> (supplier of updated rcs-latex 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.7
Date: Wed,  1 Nov 2006 14:36:35 +0000
Source: rcs-latex
Binary: rcs-latex
Architecture: source all
Version: 3.1-2
Distribution: unstable
Urgency: low
Maintainer: Julian Gilbey <[EMAIL PROTECTED]>
Changed-By: Julian Gilbey <[EMAIL PROTECTED]>
Description: 
 rcs-latex  - LaTeX macro package for handling RCS keywords
Closes: 369422 390044
Changes: 
 rcs-latex (3.1-2) unstable; urgency=low
 .
   * Apply patch from Kristoffer H Rose to allow rcs-latex to work with new
     RCS date format (Closes: #369422)
   * Update standards version and use debhelper >=5.0.0
   * Depend on tetex-* | texlive-* (Closes: #390044)
Files: 
 844273791304f94452436e638a7b23f8 559 tex optional rcs-latex_3.1-2.dsc
 8fc714b3259b9ee623cb656c0eba72f6 4433 tex optional rcs-latex_3.1-2.diff.gz
 90f44c880d86552995eb10729262bb1b 30910 tex optional rcs-latex_3.1-2_all.deb

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

iD8DBQFFSLIwDU59w/205FkRAj++AKCV6u6uz5LIbeS19m5wW9fD5PFThwCfao0L
8Sg9zcCe6/oiSLEBUo6Otj8=
=7xcR
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to