Recent Changes - Search:

edit SideBar

gtk2

Description

GTK+ is a multi-platform toolkit for creating graphical user interfaces. Offering a complete set of widgets, GTK+ is suitable for projects ranging from small one-off tools to complete application suites.

The library is available as 32-bit and 64-bit:

  • If you are compiling a 32-bit program, no special compiler options are needed.
  • If you are compiling a 64-bit program, you have to compile and link your application with "xlc_r -q64" or "gcc -maix64".

Please note:

  • gtk2 is now not dependent on gettext >= 0.17 anymore!
  • The core dumps caused by the '%post' and '%postun' scripts should not occur anymore.

Homepage: http://www.gtk.org

Version: 2.20.1-2

Downloads

RPM:

Source RPM:

Package dependencies:


Older version

RPM:

Source RPM:

Package dependencies:


Even older version

RPM:

Source RPM:

Package dependencies:


Please note:

  • If your gtk2-based applications show the character IDs instead of the actual characters then you need to adjust your X11 fonts setup, please scroll further down for details.
  • The reason for this is that gtk2 - actually fontconfig - can not find any proper fonts.
  • In order to make it work with the default configuration of fontconfig you need to at least install the fileset X11.fnt.iso_T1.
  • Alternatively, you can also add a local /opt/freeware/etc/fonts/local.conf file and list the directories containing fonts. An example for that is listed below.
  • Recommended would be to install urw-fonts and add /opt/freeware/share/fonts/default/Type1 to the list of fonts above.
  • If you have ghostscript-fonts installed you could also add /opt/freeware/share/fonts/default/ghostscript/fonts to the list of fonts above.
  • For details please look at the screen shots below.

Before (fileset X11.fnt.iso_T1 not installed), not working:

root@aix51:/opt/freeware/etc/fonts> lslpp -l | grep X11.fnt
  X11.fnt.coreX              5.1.0.0  COMMITTED  AIXwindows X Consortium Fonts
  X11.fnt.defaultFonts       5.1.0.0  COMMITTED  AIXwindows Default Fonts
  X11.fnt.iso1              5.1.0.25  COMMITTED  AIXwindows Latin 1 Fonts


Wrong behavior, gtk2 (actually fontconfig) can not find any proper fonts:

Afterwards (fileset X11.fnt.iso_T1 installed), working:

root@aix51:/opt/freeware/etc/fonts> lslpp -l | grep X11.fnt
  X11.fnt.coreX              5.1.0.0  COMMITTED  AIXwindows X Consortium Fonts
  X11.fnt.defaultFonts       5.1.0.0  COMMITTED  AIXwindows Default Fonts
  X11.fnt.iso1              5.1.0.25  COMMITTED  AIXwindows Latin 1 Fonts
  X11.fnt.iso_T1             5.1.0.0  COMMITTED  AIXwindows Latin Type1 Fonts


Correct gtk2 behavior, gtk2 (actually fontconfig) can find some decent fonts:

This is my /opt/freeware/etc/fonts/local.conf file:

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!-- /opt/freeware/etc/fonts/local.conf file for local customizations -->
<fontconfig>

<!-- Font directory list -->

        <dir>/opt/freeware/share/fonts/default/Type1</dir>
        <dir>/opt/freeware/share/fonts/default/ghostscript/fonts</dir>
        <dir>/usr/lib/X11/fonts/Type1</dir>
        <dir>~/.fonts</dir>

</fontconfig>



All versions:

Edit - History - Print - Recent Changes - Search
Page last modified on February 05, 2013, at 11:51 PM