bugGNU troff - Bugs: bug #53271, m4/groff.m4: improve search for...

 
 

bug #53271: m4/groff.m4: improve search for paper size on machines using /etc/papersize

Submitted by:  Bjarni Ingi Gislason <bjarniig>
Submitted on:  Sat 03 Mar 2018 12:18:36 AM UTC  
 
Category:  None Severity:  1 - Wish
Item Group:  Build/Installation Status:  Fixed
Privacy:  Public Assigned to:  G. Branden Robinson <gbranden>
Open/Closed:  Closed Planned Release:  1.22.4

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Mon 12 Nov 2018 10:52:30 PM UTC, comment #5:

Fixed in efea81c75f831ddc6717c2ef25556e0f49d1f679.

G. Branden Robinson <gbranden>
Project MemberIn charge of this item.
Mon 12 Nov 2018 07:45:31 PM UTC, comment #4:

Why not just do this?

If /etc/papersize exists, use it.

(I also reverted some variable quoting that wasn't needed; thanks to Colin Watson for the helpful citations.)

G. Branden Robinson <gbranden>
Project MemberIn charge of this item.
Sat 28 Apr 2018 03:03:23 AM UTC, comment #3:
Bjarni Ingi Gislason <bjarniig>
Mon 23 Apr 2018 12:18:37 PM UTC, comment #2:

Bjarni is referring to the GROFF_PAGE macro in m4/groff.m4.

G. Branden Robinson <gbranden>
Project MemberIn charge of this item.
Sat 03 Mar 2018 12:47:08 AM UTC, comment #1:

In Debian the DESC file contains "papersize /etc/papersize a4" so
nothing is found.

Bjarni Ingi Gislason <bjarniig>
Sat 03 Mar 2018 12:18:36 AM UTC, original submission:

Subject: configure: Missing places for finding "PAGE"

The right paper size is not found on a computer without a fully
qualified domain name (FQDN).

1) Search the file "/etc/papersize" if it exists
Example:

a4

2) use the output from "locale LC_PAPER"
Example:

297
210
ISO-8859-1

3) Use the value of "LANG" or the output of "locale" to find the
country.

Bjarni Ingi Gislason <bjarniig>

 

(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 gbranden (Updated the item)
  • -email is unavailable- added by bjarniig (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    Follow 8 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-11-12 gbranden StatusIn Progress => Fixed
        Open/ClosedOpen => Closed
        Planned ReleaseNone => 1.22.4
    2018-11-12 gbranden StatusNone => In Progress
        Assigned toNone => gbranden
        Summarym4/groff.m4: improve search for paper size on machines without domain names => m4/groff.m4: improve search for paper size on machines using /etc/papersize
    2018-04-23 gbranden Severity3 - Normal => 1 - Wish
        Summaryconfigure: Missing places for finding "PAGE => m4/groff.m4: improve search for paper size on machines without domain names

    Back to the top


    Powered by Savane 3.4