WPrefs binary path
Andreas Metzler
ametzler at bebt.de
Sun Sep 2 13:50:52 BST 2018
On 2018-08-19 Doug Torrance <dtorrance at piedmont.edu> wrote:
> On 08/18/2018 07:33 AM, Andreas Metzler wrote:
[...]
>> However "/usr/share/lib/" just looks wrong. I have browsed over
>> GNUstep packages
>> https://qa.debian.org/developer.php?login=pkg-gnustep-maintainers@lists.alioth.debian.org
>> and they seem to use a saner layout:
>> arch-indep data: below /usr/share/GNUstep/
>> arch-dep data: below /usr/lib/GNUstep/
>> program binary: /usr/bin/
>> The wmaker build system does not support this layout (yet). So we have
>> two choices:
>> 1. Use abovementioned hotfix
>> 2. patch wmaker
>> 3. go upstream
>> Thoughts?
> I think going upstream is definitely the correct choice, at least in the
> long term -- the GNUstep directory stuff is very out of date. I was puzzled
> by the whole "/usr/share/lib" thing when I noticed it while responding to
> the Ubuntu bug. I got some advice from the GNUstep maintainers about what's
> usually done in [1], which looks to be what you've found as well.
> Correcting things upstream has been on my TODO list for a while, but I
> haven't gotten around to it yet...
> Of course you're absolutely right about no arch-dependent files in
> /usr/share. I'm not sure why I didn't think about that!
> The problem right now appears to be that Window Maker throws all the WPrefs
> stuff under the directory indicated by the "--with-gnustepdir" configure
> option, regardless of whether it's arch-dependent or arch-independent. So
> we'd need to separate that out.
Hello,
I have looked at this (and slept over it some more). Afaict the GNUstep
system
https://www.gnu.org/software/gnustep/resources/documentation/User/GNUstep/filesystem_7.html
does not really support separation of arch-indep/arch-dep data upstream.
This seems to happen downstream (dh_gnustep?). So on 2nd thought this
does not seem to be a wmaker upstream issue.
Also separating WPrefs into arch-indep/arch-dep is simple - main binary
versus the rest.
Therefore I propose the following:
#1 patch ./configure to install WPrefs to bindir (/usr/bin) even if
--with-gnustepdir is set.
#2 build with GNUSTEPDIR := $(SHAREDIR)/GNUstep/System
What do you think?
cu Andreas
--
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'
More information about the Pkg-wmaker-devel
mailing list