WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: pixman-0.14.0  (Read 2900 times)

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9730
pixman-0.14.0
« on: February 19, 2009, 12:00:59 PM »
pixman-0.14.0 is needed for the next update to the gtk2 libs - atk, cairo, pango, gtk.  Those will each be their own extensions to ease maintenance and will be available now for testing purposes.  Use this pixman along with atk, cairo, pango and gtk+-2 for testing the next release of the gtk2 extension.  If you have Xorg installed, make sure you overwrite the existing pixman libs as you will need this newer version and not the one included in Xorg.  The update to gtk2 is scheduled to coincide with the next update to Xorg but for now I would like for the newer gtk2 libs to be tested for a while before the current gtk2 is replaced.  For now this and atk, cairo, pango and gtk will be available for testing.

NOTE:  This change is simply making gtk2 modular, there are no new dependencies and the resulting size of a gtk2 install will be roughly the same as with the present gtk2.

Code: [Select]
Title:          pixman-0.14.0-devs.tce
Description:    Pixel manipulation library development files.  (TESTING)
Version:        0.14.0
Author:         Xorg Foundation
Original-site:  http://www.X.org
Copying-policy: OpenSource
Size: 108K
Extension_by:   Jason W
Comments:       This extension is currently for testing the updated modular
gtk2 libs with.
This extension is PPI compatible.
Change-log:     2008/09/10 First version
                2009/01/10 Rebuilt for i486, size.
Current: 2009/02/19 Updated to 0.14.0 for testing

Code: [Select]
Title:          pixman-0.14.0-devs.tcz
Description:    Pixel manipulation library development files. (TESTING)
Version:        0.14.0
Author:         Xorg Foundation
Original-site:  http://www.X.org
Copying-policy: OpenSource
Size: 488K
Extension_by:   Jason W
Comments:       for testing new modular gtk2 with.
Change-log:     2008/09/10 First version
                2009/01/10 Rebuilt for i486, size, cramfs.
Current: 2009/02/19 Updated to 0.14.0 for testing.

Code: [Select]
Title:          pixman-0.14.0.tcel
Description:    Pixel manipulation library.  (TESTING)
Version:        0.14.0
Author:         Xorg Foundation
Original-site:  http://www.X.org
Copying-policy: OpenSource
Size: 100K
Extension_by:   Jason W
Comments:       For testing modular gtk2 with.
This extension is PPI compatible.
Change-log:     2008/09/10 First version
                2008/01/10 Rebuilt for i486, size.
Current: 2009/02/19 updated to 0.14.0 for testing.
[code]

[code]
Title:          pixman-0.14.0.tczl
Description:    Pixel manipulation library. (TESTING)
Version:        0.14.0
Author:         Xorg Foundation
Original-site:  http://www.X.org
Copying-policy: OpenSource
Size: 464K
Extension_by:   Jason W
Comments:       For testing modular gtk2 with.
Change-log:     2008/09/10 First version
                2009/01/10 Rebuilt for i486, size, cramfs.
Current: 2009/02/19 Updated to 0.14.0 for testing.

[/code][/code]
« Last Edit: February 19, 2009, 05:15:28 PM by Jason W »

Offline Roberto A. Foglietta

  • Full Member
  • ***
  • Posts: 212
    • personal home page
Re: pixman-0.14.0
« Reply #1 on: April 05, 2009, 06:11:18 PM »
trying to install pixman-devs.tcz application center says "installed successfully" but only pixman.tcz was installed (at boot time):

Code: [Select]
root@box:/# df | grep pix
/dev/loop44                244       244         0 100% /tmp/tcloop/pixman

because pixmap-devs is just installed into Xorg-7.4-devs:

Code: [Select]
tc@box:~/$ ls -al /usr/local/tce.installed | grep pix   
-rw-r--r--    1 tc       staff           0 Apr  6 02:42 pixman
lrwxrwxrwx    1 tc       staff          60 Apr  5 19:02 pixman-devs -> /tmp/tcloop/Xorg-7.4-dev/usr/local/tce.installed/pixman-devs

however pixmaps version is not new enough in order to compile with cairo

Code: [Select]
tc@box:~/$ cat /usr/local/lib/pkgconfig/cairo.pc
prefix=/usr/local
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include

Name: cairo
Description: Multi-platform 2D graphics library
Version: 1.8.6

Requires.private:  pixman-1 >= 0.12.0    freetype2 >= 9.7.3 fontconfig libpng12 xrender >= 0.6 x11
Libs: -L${libdir} -lcairo
Libs.private:    -lz -lz      -lm
Cflags: -I${includedir}/cairo

Code: [Select]
tc@box:~/$ cat /usr/local/lib/pkgconfig/pixman-1.pc
prefix=/usr/local
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include

Name: Pixman
Description: The pixman library (version 1)
Version: 0.11.8
Cflags: -I${includedir}/pixman-1
Libs: -L${libdir} -lpixman-1

in order to overload the previous version of pixman-devs I manually download pixman-devs.tcz, renamed it as 0-pixman-devs.tcz, create the md5sum signature file, load it with tce-load and the copied in /usr/local overwritting the existing:

Code: [Select]
sudo cp -arf /tmp/tcloop/0-pixman-devs/usr/local/* /usr/local/
« Last Edit: April 05, 2009, 06:26:16 PM by robang »

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9730
Re: pixman-0.14.0
« Reply #2 on: April 05, 2009, 06:43:49 PM »
What has happened is if Xorg-devs gets installed as a tcz before pixman, the older pixman in Xorg is not overwritten by the newer pixman files in the pixman extension.  I noticed the same thing when trying to compile a gtk2 app, and even built pixman again a time or two to make sure it was ok.  The best thing in the meantime is to install pixman and pixman-devs as a tce over an already installed Xorg-devs and it should work.  I looked inside the pixman-devs extensions, both tcz and tce, and here is the pkgconfig file and the .la file:

Code: [Select]
# libpixman-1.la - a libtool library file
# Generated by ltmain.sh - GNU libtool 1.5.26 (1.1220.2.493 2008/02/01 16:58:18)
#
# Please DO NOT delete this file!
# It is necessary for linking the library.

# The name that we can dlopen(3).
dlname='libpixman-1.so.0'

# Names of this library.
library_names='libpixman-1.so.0.14.0 libpixman-1.so.0 libpixman-1.so'

# The name of the static archive.
old_library='libpixman-1.a'

# Libraries that this one depends upon.
dependency_libs=' -lm'

# Version information for libpixman-1.
current=14
age=14
revision=0

# Is this an already installed library?
installed=yes

# Should we warn about portability when linking against -modules?
shouldnotlink=no

# Files to dlopen/dlpreopen
dlopen=''
dlpreopen=''

# Directory that this library needs to be installed in:
libdir='/usr/local/lib'

Code: [Select]
prefix=/usr/local
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include

Name: Pixman
Description: The pixman library (version 1)
Version: 0.14.0
Cflags: -I${includedir}/pixman-1
Libs: -L${libdir} -lpixman-1

So the pixman-devs extension itself is ok.

As for the loading of the extensions, that is a tcz loading thing that I will check into.