Re: [blfs-dev] Dependency is missing (xinit)

2016-02-14 Thread Igor Živković

On 02/14/2016 12:12 PM, Pierre Labastie wrote:


Agreed: I meant the book was correct respective to the OP claim. The deps you
cite could be made recommended (instructions given later for starting X depend
on them).
Xorg-server is also only required at run-time, so, as you say, strictly
speaking, the only required dep for building is the xorg libraires. But I am
inclined to keep the server as required, because who would want to build xinit
without a server?


Yes, xorg7-lib as required with xorg-server as required (runtime) and 
all the others as recommended (runtime) would be correct in my opinion. 
xauth from xorg7-app is also used at runtime if available but doesn't 
seem to be pulled by the dependency chain as it's currently laid out in 
BLFS book.


--
Igor Živković
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-dev] Dependency is missing (xinit)

2016-02-14 Thread Bruce Dubbs

Igor Živković wrote:

On 02/13/2016 06:26 PM, Pierre Labastie wrote:

On 12/02/2016 16:36, Yukio Shiiya wrote:

Hi,

I encountered an error on the following page.
http://www.linuxfromscratch.org/blfs/view/7.8/x/xinit.html

# ./configure $XORG_CONFIG \
 --with-xinitdir=/etc/X11/app-defaults
No package 'x11' found
No package 'xproto' found

I think that "Xorg Libraries" and "Xorg Protocol Headers" should be
described as "Required Dependency".

Thanks,



Those packages are in the (very long) chain of required dependencies for
xinit:
(writing -> for "depends on") :
xinit -> twm -> xorg-server -> Xorg fonts -> font-utils ->
xcursor-themes ->
bdftopcf -> mesa -> X libraries (inclidung libX11) -> libxcb -> libXau
-> Xorg
protos (including xproto).

The book is correct.


No, it is not. The technically correct thing to do would be to list
xorg7-lib as required dependency to satisfy the build chain. twm, xclock
and xterm are used by default xinitrc at *runtime* but can be easily
commented out.


That seems like a reasonable compromise.  I'll go ahead and do that.

  -- Bruce




--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-dev] Dependency is missing (xinit)

2016-02-14 Thread akhiezer
> From: Pierre Labastie <pierre.labas...@neuf.fr>
> Date: Sun, 14 Feb 2016 12:12:24 +0100
> Subject: Re: [blfs-dev] Dependency is missing (xinit)
>
> On 14/02/2016 11:24, Igor ??ivkovi?? wrote:
> > On 02/13/2016 06:26 PM, Pierre Labastie wrote:
> >> On 12/02/2016 16:36, Yukio Shiiya wrote:
> >>> Hi,
> >>>
> >>> I encountered an error on the following page.
> >>> http://www.linuxfromscratch.org/blfs/view/7.8/x/xinit.html
> >>>
> >>> # ./configure $XORG_CONFIG \
> >>>  --with-xinitdir=/etc/X11/app-defaults
> >>> No package 'x11' found
> >>> No package 'xproto' found
> >>>
> >>> I think that "Xorg Libraries" and "Xorg Protocol Headers" should be
> >>> described as "Required Dependency".
> >>>
> >>> Thanks,
> >>>
> >>
> >> Those packages are in the (very long) chain of required dependencies for 
> >> xinit:
> >> (writing -> for "depends on") :
> >> xinit -> twm -> xorg-server -> Xorg fonts -> font-utils -> xcursor-themes 
> >> ->
> >> bdftopcf -> mesa -> X libraries (inclidung libX11) -> libxcb -> libXau -> 
> >> Xorg
> >> protos (including xproto).
> >>
> >> The book is correct.
> > 
> > No, it is not. The technically correct thing to do would be to list 
> > xorg7-lib
> > as required dependency to satisfy the build chain. twm, xclock and xterm are
> > used by default xinitrc at *runtime* but can be easily commented out.
> > 
> > 
> Agreed: I meant the book was correct respective to the OP claim. The deps you
> cite could be made recommended (instructions given later for starting X depend
> on them).
> Xorg-server is also only required at run-time, so, as you say, strictly
> speaking, the only required dep for building is the xorg libraires. But I am
> inclined to keep the server as required, because who would want to build xinit
> without a server?


This is the old mixup/conflation too-prevalent in b/lfs, between
'recommended' and 'required'; it makes the b/lfs deps infos less
reliable than they might/could and should be.


If a package B is not _required_ for building package A, then it
should not be listed as _required_ .

If it is _recommended_, then list it as _recommended_ ; and if nec
mark that it is e.g. strongly-recommended, and give brief parenthesised
few-words note why (as is done for various packages/pages).



rgds,
akh





--
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-dev] Dependency is missing (xinit)

2016-02-14 Thread Igor Živković

On 02/13/2016 06:26 PM, Pierre Labastie wrote:

On 12/02/2016 16:36, Yukio Shiiya wrote:

Hi,

I encountered an error on the following page.
http://www.linuxfromscratch.org/blfs/view/7.8/x/xinit.html

# ./configure $XORG_CONFIG \
 --with-xinitdir=/etc/X11/app-defaults
No package 'x11' found
No package 'xproto' found

I think that "Xorg Libraries" and "Xorg Protocol Headers" should be
described as "Required Dependency".

Thanks,



Those packages are in the (very long) chain of required dependencies for xinit:
(writing -> for "depends on") :
xinit -> twm -> xorg-server -> Xorg fonts -> font-utils -> xcursor-themes ->
bdftopcf -> mesa -> X libraries (inclidung libX11) -> libxcb -> libXau -> Xorg
protos (including xproto).

The book is correct.


No, it is not. The technically correct thing to do would be to list 
xorg7-lib as required dependency to satisfy the build chain. twm, xclock 
and xterm are used by default xinitrc at *runtime* but can be easily 
commented out.



--
Igor Živković
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-dev] Dependency is missing (xinit)

2016-02-14 Thread Pierre Labastie
On 14/02/2016 11:24, Igor Živković wrote:
> On 02/13/2016 06:26 PM, Pierre Labastie wrote:
>> On 12/02/2016 16:36, Yukio Shiiya wrote:
>>> Hi,
>>>
>>> I encountered an error on the following page.
>>> http://www.linuxfromscratch.org/blfs/view/7.8/x/xinit.html
>>>
>>> # ./configure $XORG_CONFIG \
>>>  --with-xinitdir=/etc/X11/app-defaults
>>> No package 'x11' found
>>> No package 'xproto' found
>>>
>>> I think that "Xorg Libraries" and "Xorg Protocol Headers" should be
>>> described as "Required Dependency".
>>>
>>> Thanks,
>>>
>>
>> Those packages are in the (very long) chain of required dependencies for 
>> xinit:
>> (writing -> for "depends on") :
>> xinit -> twm -> xorg-server -> Xorg fonts -> font-utils -> xcursor-themes ->
>> bdftopcf -> mesa -> X libraries (inclidung libX11) -> libxcb -> libXau -> 
>> Xorg
>> protos (including xproto).
>>
>> The book is correct.
> 
> No, it is not. The technically correct thing to do would be to list xorg7-lib
> as required dependency to satisfy the build chain. twm, xclock and xterm are
> used by default xinitrc at *runtime* but can be easily commented out.
> 
> 
Agreed: I meant the book was correct respective to the OP claim. The deps you
cite could be made recommended (instructions given later for starting X depend
on them).
Xorg-server is also only required at run-time, so, as you say, strictly
speaking, the only required dep for building is the xorg libraires. But I am
inclined to keep the server as required, because who would want to build xinit
without a server?

Pierre
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-dev] Dependency is missing (xinit)

2016-02-13 Thread Pierre Labastie
On 12/02/2016 16:36, Yukio Shiiya wrote:
> Hi,
> 
> I encountered an error on the following page.
> http://www.linuxfromscratch.org/blfs/view/7.8/x/xinit.html
> 
> # ./configure $XORG_CONFIG \
> --with-xinitdir=/etc/X11/app-defaults
> No package 'x11' found
> No package 'xproto' found
> 
> I think that "Xorg Libraries" and "Xorg Protocol Headers" should be 
> described as "Required Dependency".
> 
> Thanks,
> 

Those packages are in the (very long) chain of required dependencies for xinit:
(writing -> for "depends on") :
xinit -> twm -> xorg-server -> Xorg fonts -> font-utils -> xcursor-themes ->
bdftopcf -> mesa -> X libraries (inclidung libX11) -> libxcb -> libXau -> Xorg
protos (including xproto).

The book is correct.

Regards,
Pierre
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page