Difference between revisions of "WxWidgets"

From CBLFS
Jump to navigationJump to search
m
(Add project homepage)
 
(2 intermediate revisions by one other user not shown)
Line 7: Line 7:
 
----
 
----
  
{{Blank-Package-Introduction}}
+
{{Package-Introduction|wxWidgets is a C++ library that lets developers create applications for Windows, OS X, Linux and UNIX on 32-bit and 64-bit architectures as well as several mobile platforms. It has popular language bindings for Python, Perl, Ruby and many other languages. wxWidgets gives its applications a native look and feel because it uses the platform's native API rather than emulating the GUI.|http://wxwidgets.org/}}
  
 
== Dependencies ==
 
== Dependencies ==

Latest revision as of 04:59, 30 April 2010

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

Introduction to WxWidgets

wxWidgets is a C++ library that lets developers create applications for Windows, OS X, Linux and UNIX on 32-bit and 64-bit architectures as well as several mobile platforms. It has popular language bindings for Python, Perl, Ruby and many other languages. wxWidgets gives its applications a native look and feel because it uses the platform's native API rather than emulating the GUI.

Project Homepage: http://wxwidgets.org/

Dependencies

Required

Optional

Configuration Information

The options below speak for themselves:

--with-odbc
--with-libmspack
--with-sdl
--with-gnomeprint
--enable-unicode
--enable-compat24

Non-Multilib

Compile the package:

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

Install the package

make install

Install the setup header file that is needed by some packages:

cp include/msvc/wx/setup.h /usr/include/wx-2.9/wx

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}

Install the setup header file that is needed by some packages:

cp include/msvc/wx/setup.h /usr/include/wx-2.9/wx

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}

Install the setup header file that is needed by some packages:

cp include/msvc/wx/setup.h /usr/include/wx-2.9/wx

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

Install the setup header file that is needed by some packages:

cp include/msvc/wx/setup.h /usr/include/wx-2.9/wx

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