Project

General

Profile

*UPS Product Installation for pixman v0 10 0 using GCC 4 7 1

cairo build requires pixman version >= 0.10.0

Prep the /uboone directory structure for the new package:

  • su products
  • mkdir -p /uboone/pixman/v0_10_0/Linux64bit+2.6-2.5-GCC_4_7_1

Download the package, configure, make, make install. The configure directs the install to the ups dir.

As you (you can do it on the second xterm window):

  • cd $HOME
  • cd /ups/products/install/GCC_4_7_1
  • mkdir pixman
  • cd pixman
  • tar -zxvf pixman-0.10.0.tar.gz
  • cd pixman-0.10.0
  • setup fontconfig v2_4_2 -q GCC_4_7_1
    (also sets up lower level products including gcc 4_7_1)
  • ./configure --prefix=/uboone/pixman/v0_10_0/Linux64bit+2.6-2.12-GCC_4_7_1
  • make >& make.log &
  • su products
  • make install

Return to the ups directory to complete the installation.

  • cd /uboone/pixman/v0_10_0
  • mkdir ups
  • cd ups
(create the pixman.table)
The pixman.table contains the setup for both pixman v0_10_0 flavor/qualifier combinations:

[rmehdi@uboonedaq-evb ups]$ more pixman.table 
File    = table
Product = pixman

Group:

  Flavor     = ANY
  Qualifiers = "" 

  Action = ExtraSetup

  Flavor     = ANY
  Qualifiers = GCC_4_7_1

  Action = ExtraSetup

    setupRequired( gcc v4_7_1 )
    setupRequired( pkgconfig v0_23 -q GCC_4_7_1 )
    setupRequired( intltool v0_35_5 -q GCC_4_7_1 )
    setupRequired( freetype v2_3_5 -q GCC_4_7_1 )
    setupRequired( expat v2_0_1 -q GCC_4_7_1 )
    setupRequired( fontconfig v2_4_2 -q GCC_4_7_1 )

Common:

  Action=setup
    setupEnv()
    prodDir()
    prodDir(_LIB, lib)
    prodDir(_INC, include)
    envPrepend(LD_LIBRARY_PATH, ${UPS_PROD_DIR}/lib)
    envPrepend(PKG_CONFIG_PATH, ${UPS_PROD_DIR}/lib/pkgconfig)

    exeActionRequired(ExtraSetup)

End:
* ups declare -f Linux64bit+2.6-2.12 -q GCC_4_7_1 -r /uboone/pixman/v0_10_0/Linux64bit+2.6-2.12-GCC_4_7_1 -M /uboone/pixman/v0_10_0/ups -m pixman.table pixman v0_10_0