Libproxy

From CBLFS
Revision as of 22:33, 26 August 2009 by Michael.six (talk | contribs)
Jump to navigationJump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Download Source: http://libproxy.googlecode.com/files/libproxy-0.4.6.tar.gz

Introduction to Libproxy

Libproxy is a library that provides automatic proxy configuration management.

Project Homepage: http://code.google.com/p/libproxy/

Dependencies

Optional

Configuration Information

--with-gnome Enables support for GConf
--with-networkmanager Enables support for NetworkManager
--with-wekbit Enables support for WebKit

Note

The following assumes that you have XULRunner installed and that pkg-config can find its .pc files. If either one of these things is not true, then omit setting the mozjs_* variables below and change --with-mozjs to --without-mozjs

Non-Multilib

Compile the package:

export mozjs_CFLAGS="-DXP_UNIX `pkg-config libxul-unstable --cflags`" &&
export mozjs_LIBS="`pkg-config libxul-unstable --libs`" &&
./configure --prefix=/usr --without-gnome \
    --without-networkmanager --without-webkit \
    --with-mozjs &&
make

Install the package:

make install &&
unset mozjs_CFLAGS &&
unset mozjs_LIBS

Multilib

32Bit

Compile the package:

export PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" &&
export mozjs_CFLAGS="-DXP_UNIX `pkg-config libxul-unstable --cflags`" &&
export mozjs_LIBS="`pkg-config libxul-unstable --libs`" &&
CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" USE_ARCH=32 \
./configure --prefix=/usr --without-gnome \
    --without-networkmanager --without-webkit \
    --with-mozjs &&
make

Install the package:

make install &&
unset mozjs_CFLAGS &&
unset mozjs_LIBS &&
unset PKG_CONFIG_PATH

N32

Compile the package:

export PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" &&
export mozjs_CFLAGS="-DXP_UNIX `pkg-config libxul-unstable --cflags`" &&
export mozjs_LIBS="`pkg-config libxul-unstable --libs`" &&
CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" USE_ARCH=n32 \
./configure --prefix=/usr --libdir=/usr/lib32 \
    --without-gnome --without-networkmanager \
    --without-webkit --with-mozjs &&
make

Install the package:

make install &&
unset mozjs_CFLAGS &&
unset mozjs_LIBS &&
unset PKG_CONFIG_PATH

64Bit

Compile the package:

export PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" &&
export mozjs_CFLAGS="-DXP_UNIX `pkg-config libxul-unstable --cflags`" &&
export mozjs_LIBS="`pkg-config libxul-unstable --libs`" &&
CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" USE_ARCH=64 \
./configure --prefix=/usr --libdir=/usr/lib64 \
    --without-gnome --without-networkmanager \
    --without-webkit --with-mozjs &&
make

Install the package:

make install &&
unset mozjs_CFLAGS &&
unset mozjs_LIBS &&
unset PKG_CONFIG_PATH

Contents

Installed Directories:
Installed Programs: proxy
Installed Libraries: libproxy.{so,a}

Short Descriptions