* [gentoo-dev] xorg's RDEPEND
@ 2005-05-18 17:09 Rafael Espíndola
2005-05-18 17:59 ` Donnie Berkholz
2005-05-18 18:07 ` [gentoo-dev] " Diego 'Flameeyes' Pettenò
0 siblings, 2 replies; 12+ messages in thread
From: Rafael Espíndola @ 2005-05-18 17:09 UTC (permalink / raw
To: gentoo-dev
I noticed that xorg-x11-6.8.2-r1.ebuild has a very big RDEPEND. For
example, is there really a need for flex after xorg has been compiled?
Thanks for comments,
Rafael
The RDEPEND:
>=sys-libs/zlib-1.1.3-r2
>=sys-devel/flex-2.5.4a-r5
>=dev-libs/expat-1.95.3
>=media-libs/freetype-2.1.8
>=media-libs/fontconfig-2.1-r1
opengl? ( >=x11-base/opengl-update-2.1.1 )
>=x11-misc/ttmkfdir-3.0.9-r2
media-libs/libpng
>=sys-libs/ncurses-5.1
!<=app-emulation/emul-linux-x86-xlibs-1.2-r3
!virtual/xft
!virtual/x11
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-dev] xorg's RDEPEND
2005-05-18 17:09 [gentoo-dev] xorg's RDEPEND Rafael Espíndola
@ 2005-05-18 17:59 ` Donnie Berkholz
2005-05-18 23:51 ` [gentoo-dev] " Rafael Espíndola
2005-05-18 18:07 ` [gentoo-dev] " Diego 'Flameeyes' Pettenò
1 sibling, 1 reply; 12+ messages in thread
From: Donnie Berkholz @ 2005-05-18 17:59 UTC (permalink / raw
To: gentoo-dev
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Rafael Espíndola wrote:
> I noticed that xorg-x11-6.8.2-r1.ebuild has a very big RDEPEND. For
> example, is there really a need for flex after xorg has been compiled?
Let me know once you've tested removing each thing individually, then
run every application in the X distribution in every configuration to
show that there are no dependencies.
I'll be awaiting the bug eagerly.
Thanks,
Donnie
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQFCi4KPXVaO67S1rtsRAhPCAJ43SHimztkpwDLBf7h/+Uh9QzTbVgCgq3CZ
LvrwcG5k70KIMXcfyxhHPns=
=9SY1
-----END PGP SIGNATURE-----
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-dev] xorg's RDEPEND
2005-05-18 17:09 [gentoo-dev] xorg's RDEPEND Rafael Espíndola
2005-05-18 17:59 ` Donnie Berkholz
@ 2005-05-18 18:07 ` Diego 'Flameeyes' Pettenò
2005-05-18 18:52 ` Mike Frysinger
1 sibling, 1 reply; 12+ messages in thread
From: Diego 'Flameeyes' Pettenò @ 2005-05-18 18:07 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 467 bytes --]
On Wednesday 18 May 2005 19:09, Rafael Espíndola wrote:
> I noticed that xorg-x11-6.8.2-r1.ebuild has a very big RDEPEND. For
> example, is there really a need for flex after xorg has been compiled?
You probably need it, because it has not only the flex binary itself in it,
but also libfl which is linked to flex-created binaries.
--
Diego "Flameeyes" Pettenò
Gentoo Developer (Gentoo/FreeBSD, Video, Gentoo/AMD64)
http://dev.gentoo.org/~flameeyes/
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-dev] xorg's RDEPEND
2005-05-18 18:07 ` [gentoo-dev] " Diego 'Flameeyes' Pettenò
@ 2005-05-18 18:52 ` Mike Frysinger
2005-05-18 19:35 ` Diego 'Flameeyes' Pettenò
0 siblings, 1 reply; 12+ messages in thread
From: Mike Frysinger @ 2005-05-18 18:52 UTC (permalink / raw
To: gentoo-dev
On Wednesday 18 May 2005 02:07 pm, Diego 'Flameeyes' Pettenò wrote:
> On Wednesday 18 May 2005 19:09, Rafael Espíndola wrote:
> > I noticed that xorg-x11-6.8.2-r1.ebuild has a very big RDEPEND. For
> > example, is there really a need for flex after xorg has been compiled?
>
> You probably need it, because it has not only the flex binary itself in it,
> but also libfl which is linked to flex-created binaries.
except we dont have a libfl.so which means anything that links against flex
uses the static library
-mike
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-dev] xorg's RDEPEND
2005-05-18 18:52 ` Mike Frysinger
@ 2005-05-18 19:35 ` Diego 'Flameeyes' Pettenò
2005-05-18 19:46 ` Mike Frysinger
0 siblings, 1 reply; 12+ messages in thread
From: Diego 'Flameeyes' Pettenò @ 2005-05-18 19:35 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 368 bytes --]
On Wednesday 18 May 2005 20:52, Mike Frysinger wrote:
> except we dont have a libfl.so which means anything that links against flex
> uses the static library
Fair enough, I just knew of the library and didn't looked to the type of it.
--
Diego "Flameeyes" Pettenò
Gentoo Developer (Gentoo/FreeBSD, Video, Gentoo/AMD64)
http://dev.gentoo.org/~flameeyes/
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-dev] xorg's RDEPEND
2005-05-18 19:35 ` Diego 'Flameeyes' Pettenò
@ 2005-05-18 19:46 ` Mike Frysinger
0 siblings, 0 replies; 12+ messages in thread
From: Mike Frysinger @ 2005-05-18 19:46 UTC (permalink / raw
To: gentoo-dev
On Wednesday 18 May 2005 03:35 pm, Diego 'Flameeyes' Pettenò wrote:
> On Wednesday 18 May 2005 20:52, Mike Frysinger wrote:
> > except we dont have a libfl.so which means anything that links against
> > flex uses the static library
>
> Fair enough, I just knew of the library and didn't looked to the type of
> it.
FACED
-mike
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 12+ messages in thread
* [gentoo-dev] Re: xorg's RDEPEND
2005-05-18 17:59 ` Donnie Berkholz
@ 2005-05-18 23:51 ` Rafael Espíndola
2005-05-19 2:21 ` Donnie Berkholz
0 siblings, 1 reply; 12+ messages in thread
From: Rafael Espíndola @ 2005-05-18 23:51 UTC (permalink / raw
To: gentoo-dev
On 5/18/05, Donnie Berkholz <spyderous@gentoo.org> wrote:
> Let me know once you've tested removing each thing individually, then
> run every application in the X distribution in every configuration to
> show that there are no dependencies.
Thats a lot of work, but I can offer a smaller evidence that flex is not needed:
epm -ql xorg-x11 | xargs file | grep ELF | cut -f 1 -d : | xargs strings | grep -i flex | grep -v circumflex
epm -ql xorg-x11 | xargs file | grep ELF | cut -f 1 -d : | xargs grep "flex scanner"
Binary file /usr/bin/twm matches
Binary file /usr/bin/xgc matches
Binary file /usr/bin/pswrap matches
those programs work after a emerge -C flex
> I'll be awaiting the bug eagerly.
>
> Thanks,
> Donnie
Rafael
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-dev] Re: xorg's RDEPEND
2005-05-18 23:51 ` [gentoo-dev] " Rafael Espíndola
@ 2005-05-19 2:21 ` Donnie Berkholz
2005-05-19 16:52 ` Rafael Espíndola
0 siblings, 1 reply; 12+ messages in thread
From: Donnie Berkholz @ 2005-05-19 2:21 UTC (permalink / raw
To: gentoo-dev
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Rafael Espíndola wrote:
> On 5/18/05, Donnie Berkholz <spyderous@gentoo.org> wrote:
>
>>Let me know once you've tested removing each thing individually, then
>>run every application in the X distribution in every configuration to
>>show that there are no dependencies.
>
> Thats a lot of work, but I can offer a smaller evidence that flex is not needed:
>
> epm -ql xorg-x11 | xargs file | grep ELF | cut -f 1 -d : | xargs strings | grep -i flex | grep -v circumflex
>
> epm -ql xorg-x11 | xargs file | grep ELF | cut -f 1 -d : | xargs grep "flex scanner"
How is it that you know those two greps will catch everything?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQFCi/geXVaO67S1rtsRAuZiAJ9sisHFYWRdMfrrCPLEOoiqhHQwSgCfedpD
LbQ2Sz3W4GqQPhVPWKHBEps=
=UX0J
-----END PGP SIGNATURE-----
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 12+ messages in thread
* [gentoo-dev] Re: xorg's RDEPEND
2005-05-19 2:21 ` Donnie Berkholz
@ 2005-05-19 16:52 ` Rafael Espíndola
2005-05-19 17:14 ` Chris Gianelloni
0 siblings, 1 reply; 12+ messages in thread
From: Rafael Espíndola @ 2005-05-19 16:52 UTC (permalink / raw
To: gentoo-dev
On 5/18/05, Donnie Berkholz <spyderous@gentoo.org> wrote:
> How is it that you know those two greps will catch everything?
I don't. In fact I am sure they don't catch everything: given a Turing
machine one can replace all halts by a "do something with flex". So it
is undecidable if x11 rdepends on flex (or xbill) and one must prove
it to be sure. I just want to give some indications that flex is not a
dependency.
Another one:
epm -ql flex:
there is some docs, some infos and a man page. I assume that X doesn't
need those.
there is a static lib and a header. As far as I know X doesn't compile
anything after it is installed.
there is the flex binary. As far as I know X doesn't create lexical
analyzer after it is installed.
Please don't missunderstand me. I am not being pedantic. I am creating
a thin-client with gentoo and would like to make it easier for someone
that wants to do that something similar afterwards.
Thanks,
Rafael
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-dev] Re: xorg's RDEPEND
2005-05-19 16:52 ` Rafael Espíndola
@ 2005-05-19 17:14 ` Chris Gianelloni
2005-05-21 8:59 ` Henrik Brix Andersen
0 siblings, 1 reply; 12+ messages in thread
From: Chris Gianelloni @ 2005-05-19 17:14 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 1272 bytes --]
On Thu, 2005-05-19 at 13:52 -0300, Rafael Espíndola wrote:
> On 5/18/05, Donnie Berkholz <spyderous@gentoo.org> wrote:
> > How is it that you know those two greps will catch everything?
> I don't. In fact I am sure they don't catch everything: given a Turing
> machine one can replace all halts by a "do something with flex". So it
> is undecidable if x11 rdepends on flex (or xbill) and one must prove
> it to be sure. I just want to give some indications that flex is not a
> dependency.
>
> Another one:
> epm -ql flex:
> there is some docs, some infos and a man page. I assume that X doesn't
> need those.
> there is a static lib and a header. As far as I know X doesn't compile
> anything after it is installed.
> there is the flex binary. As far as I know X doesn't create lexical
> analyzer after it is installed.
>
> Please don't missunderstand me. I am not being pedantic. I am creating
> a thin-client with gentoo and would like to make it easier for someone
> that wants to do that something similar afterwards.
emerge pxes
:P
OK, so it isn't exactly the same thing, but I don't see much point in
reinventing the wheel.
--
Chris Gianelloni
Release Engineering - Strategic Lead/QA Manager
Games - Developer
Gentoo Linux
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-dev] Re: xorg's RDEPEND
2005-05-19 17:14 ` Chris Gianelloni
@ 2005-05-21 8:59 ` Henrik Brix Andersen
2005-05-23 19:00 ` Chris Gianelloni
0 siblings, 1 reply; 12+ messages in thread
From: Henrik Brix Andersen @ 2005-05-21 8:59 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 532 bytes --]
On Thu, 2005-05-19 at 13:14 -0400, Chris Gianelloni wrote:
> emerge pxes
Last time I checked this package, it didn't support XOrg X11 (only
XFree86-4.3) and neither did it support linux-2.6 (only linux-2.4) -
both showstoppers for me since the hardware, on which I wanted to deploy
the thin clients, isn't supported by those versions.
I ended up writing a small perl script for automating the build process
of the thin client image instead.
Sincerely,
Brix
--
Henrik Brix Andersen <brix@gentoo.org>
Gentoo Linux
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-dev] Re: xorg's RDEPEND
2005-05-21 8:59 ` Henrik Brix Andersen
@ 2005-05-23 19:00 ` Chris Gianelloni
0 siblings, 0 replies; 12+ messages in thread
From: Chris Gianelloni @ 2005-05-23 19:00 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 894 bytes --]
On Sat, 2005-05-21 at 10:59 +0200, Henrik Brix Andersen wrote:
> On Thu, 2005-05-19 at 13:14 -0400, Chris Gianelloni wrote:
> > emerge pxes
>
> Last time I checked this package, it didn't support XOrg X11 (only
> XFree86-4.3) and neither did it support linux-2.6 (only linux-2.4) -
> both showstoppers for me since the hardware, on which I wanted to deploy
> the thin clients, isn't supported by those versions.
I'm working on getting PXES 1.0 (which is based on xorg/2.6) into
portage, but I don't understand the perl-module eclass quite as well as
I wish I did, and something has changed between the versions that makes
simply copying the ebuild not work.
> I ended up writing a small perl script for automating the build process
> of the thin client image instead.
--
Chris Gianelloni
Release Engineering - Strategic Lead/QA Manager
Games - Developer
Gentoo Linux
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2005-05-23 19:01 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-18 17:09 [gentoo-dev] xorg's RDEPEND Rafael Espíndola
2005-05-18 17:59 ` Donnie Berkholz
2005-05-18 23:51 ` [gentoo-dev] " Rafael Espíndola
2005-05-19 2:21 ` Donnie Berkholz
2005-05-19 16:52 ` Rafael Espíndola
2005-05-19 17:14 ` Chris Gianelloni
2005-05-21 8:59 ` Henrik Brix Andersen
2005-05-23 19:00 ` Chris Gianelloni
2005-05-18 18:07 ` [gentoo-dev] " Diego 'Flameeyes' Pettenò
2005-05-18 18:52 ` Mike Frysinger
2005-05-18 19:35 ` Diego 'Flameeyes' Pettenò
2005-05-18 19:46 ` Mike Frysinger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox