Skip to contentSkip to conversation

Remove /xorg-lib/pixman_* in favor of /libpixman/libpixman_*

Review Leon Woestenberg 3 participants 6 messages Mar 31, 2008 – Apr 7, 2008

lore
Share & tools
lore
#0 lore raw

Hello,

(lib)pixman is present at two locations:

/libpixman/libpixman_*
/xorg-lib/pixman_*

The latter has a false/redundant DEPENDS = "util-macros xorg-headers-native" as it includes xorg-lib/xorg-lib-common.inc.

That these are redundant can be tested with the latest 0.9.6 recipes, present in both directories, which have been *identical* and present since 2007-11-10.

* I propose to remove the xorg-lib/ ones, as pixman is independent of X. That's also the way I use it.

* I would like to hear if anyone using X and /libpixman/libpixman 0.9.6 found any problems so far, as I don't use X on my targets (yet).

Regards,

Signature · 1 line
Leon
#1 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Leon Woestenberg schreef:

| Hello,
|
| (lib)pixman is present at two locations:
|
| /libpixman/libpixman_*
| /xorg-lib/pixman_*
|
| The latter has a false/redundant DEPENDS = "util-macros
| xorg-headers-native" as it includes xorg-lib/xorg-lib-common.inc.
|
| That these are redundant can be tested with the latest 0.9.6 recipes,
| present in both directories, which have been *identical* and present
| since 2007-11-10.
|
| * I propose to remove the xorg-lib/ ones, as pixman is independent of
| X. That's also the way I use it.
|
| * I would like to hear if anyone using X and /libpixman/libpixman
| 0.9.6 found any problems so far, as I don't use X on my targets (yet).

How about dropping the xorg-lib one and renaming libpixman to pixman?

regards,

Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFH8dnlMkyGM64RGpERAigbAJ4541CA5X/zMvP1WOzYWJWIJaYzcACeKwgD 59VCHHpCF2mR/2Rrxs0QMGs=
=6hH/
-----END PGP SIGNATURE-----

#2 lore raw

Hello Koen,

Quoted 2 lines · Koen Kooi

How about dropping the xorg-lib one and renaming libpixman to pixman?

+1 on both. I'll commit tomorrow if nobody beat me to it.

Regards,

Signature · 1 line
Leon
#3 lore raw
Quoted 8 lines · Leon Woestenberg

Hello Koen,

Quoted 2 lines · Koen Kooi

How about dropping the xorg-lib one and renaming libpixman to pixman?

+1 on both. I'll commit tomorrow if nobody beat me to it.

Sorry I'm late, but I kind of maybe disagree a bit. I might be confused about the cairo/xorg source locations, but as I understand it, xorg.freedesktop.org/releases/individual/lib is the canonical upstream version. So why not put it in xorg-lib and make use of xorg-lib-common.inc?

+1 on the libpixman -> pixman part though.

regards
Philipp

#4 lore raw

Hello Philipp,

Quoted 7 lines · pHilipp Zabel
Quoted 5 lines · Leon Woestenberg

Hello Koen,

Quoted 2 lines · Koen Kooi

How about dropping the xorg-lib one and renaming libpixman to pixman?

Quoted 8 lines
Quoted 1 line

+1 on both. I'll commit tomorrow if nobody beat me to it.

Sorry I'm late, but I kind of maybe disagree a bit. I might be confused about the cairo/xorg source locations, but as I understand it, xorg.freedesktop.org/releases/individual/lib is the canonical upstream version. So why not put it in xorg-lib and make use of xorg-lib-common.inc?

Putting it in xorg-lib is not the big issue. However including xorg-lib-common.inc is a big issue.

For a system that only uses pixman, and not anything else, it starts building a complete X server etc. etc. because the xorg include adds those dependencies.

These dependencies are NOT in pixman. Maybe in upper libraries, but even then it depends on their configuration etc. etc.

I'ld like to keep the "embedded" in OpenEmbedded, also for small embedded Linux systems.

Quoted 2 lines

+1 on the libpixman -> pixman part though.

OK, that sounds easy enough.

What would be the good reason to keep pixman in the xorg-lib directory? Why do we have this directory, we don't have a gnome/ directory where gtk+ lives, I do not really see the benefit?

Regards,

Signature · 1 line
Leon
#5 lore raw
Quoted 20 lines · Leon Woestenberg

Hello Philipp,

Quoted 7 lines · pHilipp Zabel
Quoted 5 lines · Leon Woestenberg

Hello Koen,

Quoted 2 lines · Koen Kooi

How about dropping the xorg-lib one and renaming libpixman to pixman?

Quoted 8 lines
Quoted 1 line

+1 on both. I'll commit tomorrow if nobody beat me to it.

Sorry I'm late, but I kind of maybe disagree a bit. I might be confused about the cairo/xorg source locations, but as I understand it, xorg.freedesktop.org/releases/individual/lib is the canonical upstream version. So why not put it in xorg-lib and make use of xorg-lib-common.inc?

Quoted 6 lines

Putting it in xorg-lib is not the big issue. However including xorg-lib-common.inc is a big issue.

For a system that only uses pixman, and not anything else, it starts building a complete X server etc. etc. because the xorg include adds those dependencies.

Argh, I didn't see that.
I guess we could start including xorg-lib-common.inc and overwriting DEPENDS = "" in pixman.bb, but that's a bit hackish...
As pixman doesn't gain too much from xorg-lib-common.inc, I'm just as fine with putting it outside xorg-lib.

Quoted 5 lines

These dependencies are NOT in pixman. Maybe in upper libraries, but even then it depends on their configuration etc. etc.

I'ld like to keep the "embedded" in OpenEmbedded, also for small embedded Linux systems.

Sure thing. Especially as this is not even an optional dependency, but just plain wrong :)

Quoted 3 lines

What would be the good reason to keep pixman in the xorg-lib directory? Why do we have this directory, we don't have a gnome/ directory where gtk+ lives, I do not really see the benefit?

The main reason was to group the common fields of many very similar recipes into -common.inc files so they wouldn't have to be duplicated all the time. This also decreased the number of entries in the packages dir quite a bit. And I figured it's just easier to check for updates / new xorg packages by running some scripts against the xorg-* dirs and $XORG_MIRROR/.../index.html than to maintain a list of xorg packages or even watch them manually.
The only reason left I see for putting pixman in xorg-lib is a) consistency and b) I have to add an exception for pixman to my shell script so it doesn't show up as missing :)

regards
Philipp