Difference between revisions of "WxWidgets"
(Add project homepage) |
|||
(7 intermediate revisions by 6 users not shown) | |||
Line 7: | Line 7: | ||
---- | ---- | ||
− | {{ | + | {{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 13: | Line 13: | ||
=== Required === | === Required === | ||
* [[Gtk2]] | * [[Gtk2]] | ||
+ | |||
=== Optional === | === Optional === | ||
* [[libpng]] | * [[libpng]] | ||
Line 35: | Line 36: | ||
--with-gnomeprint | --with-gnomeprint | ||
+ | |||
+ | --enable-unicode | ||
+ | |||
+ | --enable-compat24 | ||
== Non-Multilib == | == Non-Multilib == | ||
Line 47: | 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 == | ||
Line 55: | Line 64: | ||
sed -i "/^SEARCH_INCLUDE=/a\ ${XORG_PREFIX}/include" configure && | sed -i "/^SEARCH_INCLUDE=/a\ ${XORG_PREFIX}/include" configure && | ||
− | + | 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 64: | 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 70: | 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 80: | 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 86: | Line 103: | ||
sed -i "/^SEARCH_INCLUDE=/a\ ${XORG_PREFIX}/include" configure && | sed -i "/^SEARCH_INCLUDE=/a\ ${XORG_PREFIX}/include" configure && | ||
− | + | 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 97: | Line 114: | ||
mv -v /usr/bin/wx-config{,-64} && | mv -v /usr/bin/wx-config{,-64} && | ||
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 = | ||
Line 111: | Line 132: | ||
| /usr/lib/wx, /usr/include/wx-{{wxWidgets-Version2}} | | /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 |