Re: man page inquiry

2021-10-08 Thread Valery Ushakov
Chavdar Ivanov  wrote:

>> > original package might be buggy (autoconf substitutions use @
>> > not #) and needs a fix.
>>
>> You are no doubt quite correct with that suggestion. I will
>> carry it out as simply as I can manage.
>
> I don't think it is pkgsrc's fault - the original wdm.man.in file
> contains the #configdir# string, before 'make patch'. The executable
> uses the /usr/pkg/etc/wdm directory, as uwe@ surmised. A sed command
> to replace #configdir# with ${PKG_SYSCONFDIR} should suffice.

>From a quick look wdm already tries to replace them in its own
makefile by calling config.status, but config.status looks for @var@,
not #var#, so just patch the man page to have @ instead of # and it
should work I guess.

-uwe



Re: man page inquiry

2021-10-08 Thread Bob Bernstein

On Fri, 8 Oct 2021, Chavdar Ivanov wrote:

A sed command to replace #configdir# with ${PKG_SYSCONFDIR} 
should suffice.


Yes. However, /wm/wdm seems to be without a maintainer at 
present, so I think there are no further steps I can take beyond 
the "head's-up" I put up on pkgsrc-users earlier today.


Thank you.

--
"The existence of God is not an experimental issue in the way it was."

   John Wisdom - "Gods" (1944)



Re: man page inquiry

2021-10-08 Thread Chavdar Ivanov
On Fri, 8 Oct 2021 at 17:13, Bob Bernstein  wrote:
>
> On Fri, 8 Oct 2021, Valery Ushakov wrote:
>
> >> Do you care to take a stab at what that value might be were it
> >> to be correctly displayed?
>
> > I don't have the slightest idea.  /usr/pkg/etc/wdm probably.
>
> Yes, as was kindly pointed out to me by Martin in this post from
> only a few days ago:
>
> http://mail-index.netbsd.org/netbsd-users/2021/10/06/msg027871.html
>
> I am capable of such extreme obtuseness that even I myself get
> confused by it!
>
> > You should really report this to pkgsrc folks.  I guess the
> > original package might be buggy (autoconf substitutions use @
> > not #) and needs a fix.
>
> You are no doubt quite correct with that suggestion. I will
> carry it out as simply as I can manage.
>
> Thank you again,

I don't think it is pkgsrc's fault - the original wdm.man.in file
contains the #configdir# string, before 'make patch'. The executable
uses the /usr/pkg/etc/wdm directory, as uwe@ surmised. A sed command
to replace #configdir# with ${PKG_SYSCONFDIR} should suffice.

>
> --
> "No matter how big the problem is, you can always run away from it."
>   Dom Irrera



-- 



Re: man page inquiry

2021-10-08 Thread Bob Bernstein

On Fri, 8 Oct 2021, Valery Ushakov wrote:


Do you care to take a stab at what that value might be were it
to be correctly displayed?



I don't have the slightest idea.  /usr/pkg/etc/wdm probably.


Yes, as was kindly pointed out to me by Martin in this post from 
only a few days ago:


http://mail-index.netbsd.org/netbsd-users/2021/10/06/msg027871.html

I am capable of such extreme obtuseness that even I myself get 
confused by it!


You should really report this to pkgsrc folks.  I guess the 
original package might be buggy (autoconf substitutions use @ 
not #) and needs a fix.


You are no doubt quite correct with that suggestion. I will 
carry it out as simply as I can manage.


Thank you again,

--
"No matter how big the problem is, you can always run away from it."
 Dom Irrera


Re: man page inquiry

2021-10-08 Thread Valery Ushakov
Bob Bernstein  wrote:

>> Looks like a pkgsrc bug that failed to properly substitute the 
>> actual value before installing the man page.
> 
> Do you care to take a stab at what that value might be were it 
> to be correctly displayed?

I don't have the slightest idea.  /usr/pkg/etc/wdm probably.  You
should really report this to pkgsrc folks.  I guess the original
package might be buggy (autoconf substitutions use @ not #) and needs
a fix.

-uwe



Re: man page inquiry

2021-10-07 Thread Bob Bernstein

On Thu, 7 Oct 2021, Valery Ushakov wrote:

Looks like a pkgsrc bug that failed to properly substitute the 
actual value before installing the man page.


Do you care to take a stab at what that value might be were it 
to be correctly displayed?


I'm far from certain that it even makes sense to ask the above 
question, since asking it presupposes that there *is* a default 
location for window manager configuration files, a claim I would 
not wager much money on.


9-)

Thanks,

--
"The existence of God is not an experimental issue in the way it was."

   John Wisdom - "Gods" (1944)



man page inquiry

2021-10-06 Thread Bob Bernstein

If I read 'man wdm' I see this:

--snip--
-config configuration_file
   Names the configuration file, which specifies 
resources to control the behavior of wdm. 
#configdir#/wdm-config is the default.

--snip--

Should I be seeing #configdir# thus literally, or is there -- 
apparently missing on my system -- some functionality of the 
manpage system which ought to have substituted for *configdir# 
an actual filesystem location?


What would be a typical, i.e. default, value for #configdir#?

Thank you.

--
"...that there is no getting away from the central position of the individual I believe 
anyone can see for himself merely by observing that the individual does not regard the 
following to be a senseless question: "Under what conditions would you draw the 
conclusion that everyone in the world except yourself had gone crazy?"

Percy Bridgman _The Nature of Physical Theory_
(1936)