Difference between revisions of "WxWidgets"
(→Contents) |
(Add project homepage) |
||
(13 intermediate revisions by 6 users not shown) | |||
Line 2: | Line 2: | ||
|- | |- | ||
!Download Source: | !Download Source: | ||
− | | http://prdownloads.sourceforge.net/wxwindows/wxWidgets- | + | | http://prdownloads.sourceforge.net/wxwindows/wxWidgets-{{wxWidgets-Version}}.tar.bz2 |
|} | |} | ||
---- | ---- | ||
+ | |||
+ | {{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 == | ||
Line 11: | Line 13: | ||
=== Required === | === Required === | ||
* [[Gtk2]] | * [[Gtk2]] | ||
+ | |||
=== Optional === | === Optional === | ||
* [[libpng]] | * [[libpng]] | ||
Line 20: | Line 23: | ||
* [[unixODBC]] | * [[unixODBC]] | ||
* [[libmspack]] | * [[libmspack]] | ||
+ | * [[CppUnit]] | ||
== Configuration Information == | == Configuration Information == | ||
Line 32: | Line 36: | ||
--with-gnomeprint | --with-gnomeprint | ||
+ | |||
+ | --enable-unicode | ||
+ | |||
+ | --enable-compat24 | ||
== Non-Multilib == | == Non-Multilib == | ||
Line 44: | Line 52: | ||
make install | make install | ||
+ | |||
+ | Install the ''setup'' header file that is needed by some packages: | ||
+ | |||
+ | cp include/msvc/wx/setup.h /usr/include/wx-{{wxWidgets-Version2}}/wx | ||
== Multilib == | == Multilib == | ||
− | |||
=== 32Bit === | === 32Bit === | ||
Line 53: | Line 64: | ||
sed -i "/^SEARCH_INCLUDE=/a\ ${XORG_PREFIX}/include" configure && | sed -i "/^SEARCH_INCLUDE=/a\ ${XORG_PREFIX}/include" configure && | ||
− | 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 62: | Line 73: | ||
make install && | make install && | ||
mv -v /usr/bin/wx-config{,-32} | 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-{{wxWidgets-Version2}}/wx | ||
=== N32 === | === N32 === | ||
Line 68: | Line 83: | ||
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 78: | Line 93: | ||
make install && | make install && | ||
mv -v /usr/bin/wx-config{,-n32} | 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-{{wxWidgets-Version2}}/wx | ||
=== 64Bit === | === 64Bit === | ||
Line 84: | Line 103: | ||
sed -i "/^SEARCH_INCLUDE=/a\ ${XORG_PREFIX}/include" configure && | sed -i "/^SEARCH_INCLUDE=/a\ ${XORG_PREFIX}/include" configure && | ||
− | 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 \ | ||
Line 96: | Line 115: | ||
ln -sfv multiarch_wrapper /usr/bin/wx-config | 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-{{wxWidgets-Version2}}/wx | ||
= Contents = | = Contents = | ||
− | Installed Programs: wx-config wxrc wxrc- | + | {| style="text-align: left;" |
− | + | |-valign="top" | |
− | Installed Libraries: | + | ! Installed Programs: |
+ | | wx-config wxrc wxrc-{{wxWidgets-Version2}} | ||
+ | |-valign="top" | ||
+ | ! Installed Libraries: | ||
+ | | libwx_base-{{wxWidgets-Version2}}.so, libwx_base_net-{{wxWidgets-Version2}}.so, libwx_base_xml-{{wxWidgets-Version2}}.so, libwx_gtk2_adv-{{wxWidgets-Version2}}.so, libwx_gtk2_aui-{{wxWidgets-Version2}}.so, libwx_gtk2_core-{{wxWidgets-Version2}}.so, libwx_gtk2_dbgrid-{{wxWidgets-Version2}}.so, libwx_gtk2_html-{{wxWidgets-Version2}}.so, libwx_gtk2_qa-{{wxWidgets-Version2}}.so, libwx_gtk2_richtext-{{wxWidgets-Version2}}.so, libwx_gtk2_xrc-{{wxWidgets-Version2}}.so | ||
+ | |-valign="top" | ||
+ | ! Installed Directories: | ||
+ | | /usr/lib/wx, /usr/include/wx-{{wxWidgets-Version2}} | ||
+ | |} | ||
− | + | [[Category:X Libs]] |
Latest revision as of 04:59, 30 April 2010
Download Source: | http://prdownloads.sourceforge.net/wxwindows/wxWidgets-2.9.0.tar.bz2 |
---|
Contents
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 |