From 4a431629c2168701c8a28c12a0b7e94793911e86 Mon Sep 17 00:00:00 2001 From: Arch Librarian Date: Thu, 14 Jul 2005 13:06:14 +0000 Subject: [PATCH] Get rid of groff warnings when formatting pkg-config(1)... Author: tfheen Date: 2005-02-21 07:53:41 GMT Get rid of groff warnings when formatting pkg-config(1) on an 80-column terminal. Thanks to Colin Watson and Ubuntu for the fix. (Freedesktop #148) --- ChangeLog | 6 ++++++ pkg-config.1 | 25 ++++++++++++++++++++++++- 2 files changed, 30 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 4445e78..683bdcc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2005-02-21 Tollef Fog Heen + + * pkg-config.1: Get rid of groff warnings when formatting + pkg-config(1) on an 80-column terminal. Thanks to Colin Watson + and Ubuntu for the fix. (Freedesktop #148) + 2005-02-21 Tollef Fog Heen * glib-patches/*: Add patches for compiling with modern autotools. diff --git a/pkg-config.1 b/pkg-config.1 index 3cf1505..5bbb57c 100644 --- a/pkg-config.1 +++ b/pkg-config.1 @@ -2,6 +2,26 @@ .\" pkg-config manual page. .\" (C) Red Hat, Inc. based on gnome-config man page (C) Miguel de Icaza (miguel@gnu.org) .\" +. +.\" Macros to disable groff line adjustment warnings that we can't easily +.\" fix in the text. +.ie \n(.g \{\ +. de DW +. nr .oldwarn \n[.warn] +. warn 0 +. . +. de EW +. warn \n[.oldwarn] +. . +.\} +.el \ +.\{ \ +. de DW +. . +. de EW +. . +.\} +. .TH pkg-config 1 .SH NAME pkg-config \- Return metainformation about installed libraries @@ -130,7 +150,8 @@ This sets a global value for a variable, overriding the value in any \fI.pc\fP files. Most packages define the variable "prefix", for example, so you can say: .nf - $ pkg-config --print-errors --define-variable=prefix=/foo --variable=prefix glib-2.0 + $ pkg-config --print-errors --define-variable=prefix=/foo \e + --variable=prefix glib-2.0 /foo .fi @@ -243,7 +264,9 @@ file accordingly. In addition to the \fIPKG_CONFIG_PATH\fP environment variable, the Registry keys +.DW \fIHKEY_CURRENT_USER\\Software\\pkgconfig\\PKG_CONFIG_PATH\fP and +.EW \fIHKEY_LOCAL_MACHINE\\Software\\pkgconfig\\PKG_CONFIG_PATH\fP can be used to specify directories to search for .pc files. Each (string) value in these keys is treated as a directory where to look for .pc -- 2.39.5