Difference between revisions of "WxWidgets"

From CBLFS
Jump to navigationJump to search
Line 55: Line 55:
  
 
  sed -i "/^SEARCH_INCLUDE=/a\    ${XORG_PREFIX}/include" configure &&
 
  sed -i "/^SEARCH_INCLUDE=/a\    ${XORG_PREFIX}/include" configure &&
  USEARCH=32 CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \
+
  USE_ARCH=32 CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \
 
  PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
 
  PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
 
  ./configure --prefix=/usr &&
 
  ./configure --prefix=/usr &&
Line 70: Line 70:
  
 
  sed -i "/^SEARCH_INCLUDE=/a\    ${XORG_PREFIX}/include" configure &&
 
  sed -i "/^SEARCH_INCLUDE=/a\    ${XORG_PREFIX}/include" configure &&
  CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \
+
  USE_ARCH=N32 CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \
 
  PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \
 
  PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \
 
  ./configure --prefix=/usr \
 
  ./configure --prefix=/usr \
Line 86: Line 86:
  
 
  sed -i "/^SEARCH_INCLUDE=/a\    ${XORG_PREFIX}/include" configure &&
 
  sed -i "/^SEARCH_INCLUDE=/a\    ${XORG_PREFIX}/include" configure &&
  USEARCH=64 CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \
+
  USE_ARCH=64 CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \
 
  PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
 
  PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
 
  ./configure --prefix=/usr \
 
  ./configure --prefix=/usr \

Revision as of 18:43, 28 June 2007

Download Source: http://prdownloads.sourceforge.net/wxwindows/wxWidgets-2.9.0.tar.bz2

Introduction to WxWidgets

Project Homepage: Unknown

Dependencies

Required

Optional

Configuration Information

The options below speak for themselves:

--with-odbc
--with-libmspack
--with-sdl
--with-gnomeprint

Non-Multilib

Compile the package:

sed -i "/^SEARCH_INCLUDE=/a\    ${XORG_PREFIX}/include" configure &&
./configure --prefix=/usr &&
make

Install the package

make install

Multilib

32Bit

Compile the package:

sed -i "/^SEARCH_INCLUDE=/a\    ${XORG_PREFIX}/include" configure &&
USE_ARCH=32 CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \
PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
./configure --prefix=/usr &&
make

Install the package

make install &&
mv -v /usr/bin/wx-config{,-32}

N32

Compile the package:

sed -i "/^SEARCH_INCLUDE=/a\    ${XORG_PREFIX}/include" configure &&
USE_ARCH=N32 CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \
PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \
./configure --prefix=/usr \
    --libdir=/usr/lib32 &&
make

Install the package

make install &&
mv -v /usr/bin/wx-config{,-n32}

64Bit

Compile the package:

sed -i "/^SEARCH_INCLUDE=/a\    ${XORG_PREFIX}/include" configure &&
USE_ARCH=64 CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \
PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
./configure --prefix=/usr \
    --libdir=/usr/lib64 &&
make

Install the package

make install &&
mv -v /usr/bin/wx-config{,-64} &&
ln -sfv multiarch_wrapper /usr/bin/wx-config

Contents

Installed Programs: wx-config wxrc wxrc-2.9
Installed Libraries: libwx_base-2.9.so, libwx_base_net-2.9.so, libwx_base_xml-2.9.so, libwx_gtk2_adv-2.9.so, libwx_gtk2_aui-2.9.so, libwx_gtk2_core-2.9.so, libwx_gtk2_dbgrid-2.9.so, libwx_gtk2_html-2.9.so, libwx_gtk2_qa-2.9.so, libwx_gtk2_richtext-2.9.so, libwx_gtk2_xrc-2.9.so
Installed Directories: /usr/lib/wx, /usr/include/wx-2.9