bugGNU roff - Bugs: bug #60604, m4/groff.m4:...

 
 

bug #60604: m4/groff.m4: GROFF_URW_FONTS_CHECK: stale URL

Submitter:  None
Submitted:  Fri 14 May 2021 07:02:22 AM UTC
   
 
Category:  General Severity:  4 - Important
Item Group:  Build/Installation Status:  Fixed
Privacy:  Public Assigned to:  gbranden
Open/Closed:  Closed Planned Release:  1.23.0
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Wed 19 May 2021 04:53:20 AM UTC, comment #9: 

comment #4:

> Is there a reason why there is separate logic in the configure
> script from that used in BuildFoundries.pl?


Now being addressed in bug #60613, also for the record.

Dave <barx>
Group Member
Sun 16 May 2021 10:47:08 PM UTC, comment #8: 

comment #7:

> comment #5:
> > Quasi-relatedly, IIRC a few days ago Werner pointed out that we
> > should add a versioned check for Ghostscript
>
> Bug #59531, for the record.


Thanks, Dave!  And to further clarify the record, Werner's observation about a new autoconf macro was back in November, and it was Bjarni, a few days ago, who pointed out that that Ghostscript 9.54 (with the bugfix) had been released.

If I'd had that bug number handy when commenting, my memory might have made less of a hash of things.  :)

G. Branden Robinson <gbranden>
Group administrator
Sun 16 May 2021 12:56:58 PM UTC, comment #7: 

comment #5:

> Quasi-relatedly, IIRC a few days ago Werner pointed out that we
> should add a versioned check for Ghostscript


Bug #59531, for the record.

Dave <barx>
Group Member
Sun 16 May 2021 01:55:04 AM UTC, comment #6: 

Hi Deri,

comment #4:

> Is there a reason why there is separate logic in the configure script from that used in BuildFoundries.pl? In commit f61c6ca5b84b488cbd324f2d23285fff1d807f04 a facility to do a dry run search was added to BuildFoundries.pl, which could be used. See bug #56748


No good reason--I wasn't aware of it.  I'll look at that bug.

G. Branden Robinson <gbranden>
Group administrator
Sun 16 May 2021 01:37:26 AM UTC, comment #5: 

Hi Dave,

comment #3:

> Branden, do you have an opinion on the related issue brought up in bug #55300?  I don't know whether Ghostscript is required; I've never installed/run groff on a system without it.


Ghostscript appears to be optional, but our configure script does gripe pretty hard if it's not found.


configure: WARNING: missing program:

  The program
     'gs'
  cannot be found in the PATH.
  Consequently, groff's HTML backend (grohtml) will not work properly;
  therefore, it will neither be possible to prepare, nor to install,
  documentation in HTML format.

configure: WARNING: missing program:

  The program 'gs' cannot be found in the PATH.
  Consequently, groff's PDF formatter (pdfroff) will not work properly;
  therefore, it will neither be possible to prepare, nor to install,
  documentation and most of the examples in PDF format.


One will also likely get the squawkage discussed in this ticket.


configure:
  No URW fonts in Type 1/PFB format were found on your system; URW font
  generation for groff's 'gropdf' output driver will not work properly.
  You can obtain the URW base 35 fonts from their GitHub project.

  As of this writing (2021-05-15), you can find them in the 'fonts'
  directory of the following archives (choose one).

    https://github.com/ArtifexSoftware/urw-base35-fonts/archive/refs/
      tags/20200910.zip
    https://github.com/ArtifexSoftware/urw-base35-fonts/archive/refs/
      tags/20200910.tar.gz

  You may wish to check for a newer release.

    https://github.com/ArtifexSoftware/urw-base35-fonts/releases

  By default, groff will look for these fonts in the search path shown
  by the 'gs -h' command and in the two directories
    /usr/share/fonts/type1/gsfonts/
  and
    /opt/local/share/fonts/urw-fonts/
  (these locations are specified in font/devpdf/Foundry.in).  You will
  need to re-run the 'configure' script after installing these fonts.

  Alternatively, you can pass the option '--with-urw-fonts-dir=DIR'
  to 'configure' to look for them in the directory DIR you specify.


Quasi-relatedly, IIRC a few days ago Werner pointed out that we should add a versioned check for Ghostscript so we can steer people to the left-pointing hand glyph bugfix, which recently made it into a GS release.

G. Branden Robinson <gbranden>
Group administrator
Sat 15 May 2021 12:51:46 PM UTC, comment #4: 

Is there a reason why there is separate logic in the configure script from that used in BuildFoundries.pl? In commit f61c6ca5b84b488cbd324f2d23285fff1d807f04 a facility to do a dry run search was added to BuildFoundries.pl, which could be used. See bug #56748

Deri James <deri>
Group Member
Sat 15 May 2021 05:51:17 AM UTC, comment #3: 

Branden, do you have an opinion on the related issue brought up in bug #55300?  I don't know whether Ghostscript is required; I've never installed/run groff on a system without it.

Dave <barx>
Group Member
Sat 15 May 2021 01:29:18 AM UTC, comment #2: 

While I was at it I made our configure check play nicely with more recent releases of the URW Base 35 fonts, which use different names for the font files, most notably no longer naming them with a ".pfb" suffix.


commit d6b6183a2d6f7a6ab45fc017f401f9c7a54b9832
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
Date:   Sat May 15 10:13:30 2021 +1000

    m4/groff.m4 (GROFF_URW_FONTS_CHECK): Freshen URL.

    * m4/groff.m4 (GROFF_URW_FONTS_CHECK): Update wording of notice when URW
      fonts are not found.  Replace dead URL with working one.  Try to hedge
      against the future, but the Web is an ephemeral place, as are the file
      names Artifex gives to its fonts.  Thanks to T. Kurt Bond and Thomas
      Dupond for reporting and investigating the problem.

    Fixes <https://savannah.gnu.org/bugs/index.php?60604>.

commit 39de1019dec24631f204f72a434b62a56f384b9c
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
Date:   Sat May 15 09:42:01 2021 +1000

    m4/groff.m4 (GROFF_URW_FONTS): Match newer names.

    * m4/groff.m4 (GROFF_URW_FONTS): Update configure script check for URW
      fonts to recognize recent releases of the URW Base 35 fonts from
      Artifex Software.  Look for the AR (Arial roman equivalent) font under
      all of the names recognized by fonts/devpdf/Foundry.in.

    Also tighten and generalize wording of checking message; these days it
    is misleading to suggest that people must find fonts with a .pfb suffix.


G. Branden Robinson <gbranden>
Group administrator
Sat 15 May 2021 12:19:48 AM UTC, comment #1: 

Setting severity to important.  This is pretty important to get right for the 1.23.0 release.

G. Branden Robinson <gbranden>
Group administrator
Fri 14 May 2021 07:02:22 AM UTC, original submission:  

As first reported in http://lists.gnu.org/archive/html/groff/2021-04/msg00064.html

In the GROFF_URW_FONTS_CHECK step of configure, if URW fonts aren't found, a message points the user to a URL that is no longer valid:

http://downloads.ghostscript.com/public/fonts/urw-base35-v1.10.zip

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by deri (Posted a comment)
  • -email is unavailable- added by barx (Posted a comment)
  • -email is unavailable- added by gbranden (Updated the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 9 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-03-05 gbranden CategoryNone General
    2021-05-17 gbranden Item GroupDocumentation Build/Installation
    2021-05-17 gbranden CategoryFont devpdf None
    2021-05-15 gbranden StatusIn Progress Fixed
        Open/ClosedOpen Closed
        Planned ReleaseNone 1.23.0
    2021-05-15 gbranden Severity3 - Normal 4 - Important
    2021-05-15 gbranden StatusNone In Progress
        Assigned toNone gbranden

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code