From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-qk0-f193.google.com (mail-qk0-f193.google.com [209.85.220.193]) by fantadrom.bsd.lv (OpenSMTPD) with ESMTP id 5a0db157 for ; Mon, 27 Feb 2017 15:56:19 -0500 (EST) Received: by mail-qk0-f193.google.com with SMTP id r90so19976241qki.3 for ; Mon, 27 Feb 2017 12:56:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=i3wm-org.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=C6/Tcnw6CBRcf7OHTEmwQ25ZfRfU3CQjJPYoq+mrA4M=; b=tW4DIW+1lGr3SVeTj5YzjlpFyh9YCuB+loNVDWQXncIgDQRsP44ZoWUqm0ie/WGjru YiCKVRCB8ArcYCFZDiNMQ3G6DqDXHnOlkq3bXjhm6rPNRWwDTFp8D3jbAVIV+Z8cqeKq GER6XLJYuvmqPb7o1j0fL/J6w8RK3q+merrOI7K8Cb2dzmIoEy0ABfVHVbHbgZBCiG3Q wu1dETAxCytvDW/F2kzVnwQxdYhzau10R3OtJ0J2ylSWDiqWI3m7d9KkNglWWZUBH4IX Ytpb9FGuEC/Nir91Pg9Tu67U2Fsz/lDxj9uctyYPrAya9o0KDwIQCt0WcNlI1rY0LHNt XvxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=C6/Tcnw6CBRcf7OHTEmwQ25ZfRfU3CQjJPYoq+mrA4M=; b=ANhp5VV8XO9i6fAN0+60qXIkU0ToCBvwISRJAdtvKQqDvh1zFcHWh705frVfAvQ16b 41vHca5NsXgP2h+gycpqw2qMg2Ov/W6MBB8Cm6KzcKZ2I2YCCVj/dSy0PPoiY3ahkMkK NF4J9/C5I7NnK1QuU8nJsMpaV28aCWiFF6AqKpWYLqq0B4nWtVHbOBh5XLbSmDXUrxFg roi/DKM5us8NJYAf3OisNgktAE6gM5t+egfdqu+M0EOMmJloq30Tj3Nz+TkEtWXHa08b jP0gnsUYd4831UJv/rCeY1Ff7q5kSUCMAwYrtL7fLMWqL61+cWoqzTeF6zxJfCYfQnvM Dqzw== X-Gm-Message-State: AMke39lPtzOfGv6BG3sGpnFx6wHAD1y6NtqkJBtvwAgmKKy5IXBO6db1T2RV/zTJtHFslB4Sf+U7Gxk/ELbu0g== X-Received: by 10.55.146.135 with SMTP id u129mr17471513qkd.219.1488228978459; Mon, 27 Feb 2017 12:56:18 -0800 (PST) X-Mailinglist: mdocml-tech Reply-To: tech@mdocml.bsd.lv MIME-Version: 1.0 Sender: michael@i3wm.org Received: by 10.200.57.111 with HTTP; Mon, 27 Feb 2017 12:55:58 -0800 (PST) X-Originating-IP: [2a02:168:4a00:0:225:90ff:fe5d:53a2] In-Reply-To: <20170222000746.GC43745@athene.usta.de> References: <20170221023444.GB51369@athene.usta.de> <20170222000746.GC43745@athene.usta.de> From: Michael Stapelberg Date: Mon, 27 Feb 2017 21:55:58 +0100 X-Google-Sender-Auth: uz3UFnr9xcgkl-P0mANgbF_eO1w Message-ID: Subject: Re: mandoc-1.14.1 released To: Ingo Schwarze Cc: tech@mdocml.bsd.lv Content-Type: multipart/alternative; boundary=94eb2c08b9249b2c970549894f37 --94eb2c08b9249b2c970549894f37 Content-Type: text/plain; charset=UTF-8 Thanks for the quick response. Only afterwards I realized that the relative symlink technique also needs to be applied to the remaining symlinks, i.e. not only for manpages but also for programs such as makewhatis: https://anonscm.debian.org/git/collab-maint/mdocml.git/commit/?id=1f60c369afdf849168b7f11c0a5188f16be2817c On Wed, Feb 22, 2017 at 1:07 AM, Ingo Schwarze wrote: > Hi Michael, > > Michael Stapelberg wrote on Tue, Feb 21, 2017 at 10:12:33PM +0100: > > > using LN="ln -sf" results in an absolute symlink for the whatis.1 > > manpage, which we need to then change into a relative one to prevent our > > tooling from choking on them: > > https://anonscm.debian.org/git/collab-maint/mdocml.git/commit/?id= > 86403b72b1c47780cc626e046d65db04d2e3b622 > > That was easy to change. 1.14.2 (release not yet planned) > and 1.13.5 (to be released soon) will do it the way you want, > see below. > > > The following lintian warning indicates a spelling error: > > I: mandoc: spelling-error-in-manpage usr/share/man/man7/mandoc_ > roff.7.gz > > parantheses parentheses > > Fixed in OpenBSD and bsd.lv HEAD and VERSION_1_13. > > Thanks for reporting! > Ingo > > > Log Message: > ----------- > Debian wants relative, not absolute symlinks for man pages; > suggested by Michael Stapelberg > > Modified Files: > -------------- > mdocml: > Makefile > > Revision Data > ------------- > Index: Makefile > =================================================================== > RCS file: /home/cvs/mdocml/mdocml/Makefile,v > retrieving revision 1.504 > retrieving revision 1.505 > diff -LMakefile -LMakefile -u -p -r1.504 -r1.505 > --- Makefile > +++ Makefile > @@ -397,8 +397,7 @@ base-install: mandoc demandoc soelim > $(INSTALL_MAN) soelim.1 $(DESTDIR)$(MANDIR)/man1/$(BINM_SOELIM).1 > $(INSTALL_MAN) man.1 $(DESTDIR)$(MANDIR)/man1/$(BINM_MAN).1 > $(INSTALL_MAN) apropos.1 $(DESTDIR)$(MANDIR)/man1/$( > BINM_APROPOS).1 > - $(LN) $(DESTDIR)$(MANDIR)/man1/$(BINM_APROPOS).1 \ > - $(DESTDIR)$(MANDIR)/man1/$(BINM_WHATIS).1 > + cd $(DESTDIR)$(MANDIR)/man1 && $(LN) $(BINM_APROPOS).1 > $(BINM_WHATIS).1 > $(INSTALL_MAN) man.conf.5 $(DESTDIR)$(MANDIR)/man5/$( > MANM_MANCONF).5 > $(INSTALL_MAN) mandoc.db.5 $(DESTDIR)$(MANDIR)/man5 > $(INSTALL_MAN) man.7 $(DESTDIR)$(MANDIR)/man7/$(MANM_MAN).7 > > > Log Message: > ----------- > fix spelling error; > found by Michael with Lintian > > Modified Files: > -------------- > mdocml: > roff.7 > > Revision Data > ------------- > Index: roff.7 > =================================================================== > RCS file: /home/cvs/mdocml/mdocml/roff.7,v > retrieving revision 1.75 > retrieving revision 1.76 > diff -Lroff.7 -Lroff.7 -u -p -r1.75 -r1.76 > --- roff.7 > +++ roff.7 > @@ -1780,7 +1780,7 @@ maximum (not available in C) > .El > .Pp > There is no concept of precedence; evaluation proceeds from left to right, > -except when subexpressions are enclosed in parantheses. > +except when subexpressions are enclosed in parentheses. > Inside parentheses, whitespace is ignored. > .Sh ESCAPE SEQUENCE REFERENCE > The > -- Best regards, Michael --94eb2c08b9249b2c970549894f37 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Thanks for the quick response. Only afterwards I realized = that the relative symlink technique also needs to be applied to the remaini= ng symlinks, i.e. not only for manpages but also for programs such as makew= hatis:


On Wed, Feb 22, 2017 at 1:07 AM, Ingo Schw= arze <schwarze@usta.de> wrote:
Hi Michael,

Michael Stapelberg wrote on Tue, Feb 21, 2017 at 10:12:33PM +0100:

> using LN=3D"ln -sf" results in an absolute symlink for the w= hatis.1
> manpage, which we need to then change into a relative one to prevent o= ur
> tooling from choking on them:
> https://anonscm.debian.org/git/collab-maint/mdocml.git/commit/?id=3D86403b72b1c47780cc626e046d65db04d2e3b622

That was easy to change.=C2=A0 1.14.2 (release not yet planned)
and 1.13.5 (to be released soon) will do it the way you want,
see below.

> The following lintian warning indicates a spelling error:
>=C2=A0 =C2=A0I: mandoc: spelling-error-in-manpage usr/share/man/man7/ma= ndoc_roff.7.gz
> parantheses parentheses

Fixed in OpenBSD and bsd.lv HEAD and VERSION_1_13.

Thanks for reporting!
=C2=A0 Ingo


Log Message:
-----------
Debian wants relative, not absolute symlinks for man pages;
suggested by Michael Stapelberg

Modified Files:
--------------
=C2=A0 =C2=A0 mdocml:
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Makefile

Revision Data
-------------
Index: Makefile
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /home/cvs/mdocml/mdocml/Makefile,v
retrieving revision 1.504
retrieving revision 1.505
diff -LMakefile -LMakefile -u -p -r1.504 -r1.505
--- Makefile
+++ Makefile
@@ -397,8 +397,7 @@ base-install: mandoc demandoc soelim
=C2=A0 =C2=A0 =C2=A0 =C2=A0 $(INSTALL_MAN) soelim.1 $(DESTDIR)$(MANDIR)/man= 1/$(BINM_SOELIM).1
=C2=A0 =C2=A0 =C2=A0 =C2=A0 $(INSTALL_MAN) man.1 $(DESTDIR)$(MANDIR)/man1/$= (BINM_MAN).1
=C2=A0 =C2=A0 =C2=A0 =C2=A0 $(INSTALL_MAN) apropos.1 $(DESTDIR)$(MANDIR)/ma= n1/$(BINM_APROPOS).1
-=C2=A0 =C2=A0 =C2=A0 =C2=A0$(LN) $(DESTDIR)$(MANDIR)/man1/$(BINM_APRO= POS).1 \
-=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0$(DESTDIR)$(MANDIR)= /man1/$(BINM_WHATIS).1
+=C2=A0 =C2=A0 =C2=A0 =C2=A0cd $(DESTDIR)$(MANDIR)/man1 && $(LN) $(= BINM_APROPOS).1 $(BINM_WHATIS).1
=C2=A0 =C2=A0 =C2=A0 =C2=A0 $(INSTALL_MAN) man.conf.5 $(DESTDIR)$(MANDIR)/m= an5/$(MANM_MANCONF).5
=C2=A0 =C2=A0 =C2=A0 =C2=A0 $(INSTALL_MAN) mandoc.db.5 $(DESTDIR)$(MANDIR)/= man5
=C2=A0 =C2=A0 =C2=A0 =C2=A0 $(INSTALL_MAN) man.7 $(DESTDIR)$(MANDIR)/man7/$= (MANM_MAN).7


Log Message:
-----------
fix spelling error;
found by Michael <Stapelberg at debian dot org> with Lintian

Modified Files:
--------------
=C2=A0 =C2=A0 mdocml:
=C2=A0 =C2=A0 =C2=A0 =C2=A0 roff.7

Revision Data
-------------
Index: roff.7
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /home/cvs/mdocml/mdocml/roff.7,v
retrieving revision 1.75
retrieving revision 1.76
diff -Lroff.7 -Lroff.7 -u -p -r1.75 -r1.76
--- roff.7
+++ roff.7
@@ -1780,7 +1780,7 @@ maximum (not available in C)
=C2=A0.El
=C2=A0.Pp
=C2=A0There is no concept of precedence; evaluation proceeds from left to r= ight,
-except when subexpressions are enclosed in parantheses.
+except when subexpressions are enclosed in parentheses.
=C2=A0Inside parentheses, whitespace is ignored.
=C2=A0.Sh ESCAPE SEQUENCE REFERENCE
=C2=A0The



--
Best regards,
Mi= chael
--94eb2c08b9249b2c970549894f37-- -- To unsubscribe send an email to tech+unsubscribe@mdocml.bsd.lv