AIX Open Source

AIX Open Source

Share your experiences and connect with fellow developers to discover how to build and manage open source software for the AIX operating system

 View Only
  • 1.  gtk2 - Mozilla check update fails

    Posted Mon March 06, 2017 02:29 PM

    Originally posted by: rmeyer5


    After configuring YUM, executed command yum check update.

    Result was that gtk2.ppc and pango.ppc were updated.

    Original version of gtk2 was gtk2-2.2.4-4.ppc

    Update to the package breaks Mozilla.

    Updated version is - gtk2-2.24.30-1wofX11.aix6.1.ppc.rpm  

     

    Questions

    1 - What is the difference between the 1woX11 and 1waixX11 - I could not locate in this forum.

    2 - The YUM repository does not include any files in libX11. I am directed toward Bull freeware for X11. Where is libX11? I have the IBM  installp packages for X11 installed on system.

    Available Packages
    Name        : gtk2
    Arch        : ppc
    Version     : 2.24.30
    Release     : 1wofX11
    Size        : 45 M
    Repo        : AIXHQ1_AIX_noarch
    Summary     : The GIMP ToolKit (GTK+), a library for creating GUIs for X
    URL         : http://www.gtk.org
    License     : LGPLv2+
    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.

     



  • 2.  Re: gtk2 - Mozilla check update fails

    Posted Tue March 07, 2017 02:31 AM

    Originally posted by: Nitish Mishra


    1 - What is the difference between the 1woX11 and 1waixX11 - I could not locate in this forum:

                  GTK+2.24.30 is dependent on libX11. AIX operating system base file set has libX11. The GTK+ RPM which is built with dependency on AIX's libX11 has suffix "waixX11" and the RPM which is built with official libX11 package has suffix "wofX11". "wofX11" rpm had some issue, so now we have replaced it with "waixX11", better install this one.

     

    2 - The YUM repository does not include any files in libX11. I am directed toward Bull freeware for X11. Where is libX11? I have the IBM  installp packages for X11 installed on system.

                 Because we have changed the X11 dependency from official libX11 to AIX's X11 file set for GTK, we needed to remove the libX11 rpm.

     

    Because of above dependency issue, the yum update will work fine but when it will update GTK, it will be problematic. Same is with pango as well. That's why Mozilla is breaking.

     

    ========================================

     

    So, to  make Mozilla work, yo need to reinstall GTK. Follow these steps strictly to reinstall GTK:

    Note: Don't mix IBM's and Bull's RPMs (strictly), because RPMs may vary in dependency.

    1. Uninstall following packages and subpackages in sequential order:
        gtk2
        pango
        cairo
        pixman
        libXft
        libXrender
        libXext
        libxcb
        atk
        fontconfig
        harfbuzz
        freetype2
        gdk-pixbuf

    You can also use "yum erase <all-packages-names-separated-by-space>" for above
    # yum erase gtk2 pango cairo pixman libXft libXrender libXext libxcb atk fontconfig harfbuzz freetype2 gdk-pixbuf

    2. If any devel package for above package is installed, please uninstall that as well.

    3. If any of following packages are installed, uninstall it:
        a) libXdmcp
        b) xcb-proto-------------> This will be present if you have installed GTK earlier.
        c) libXau
        d) libpthread-stubs
    Note: Even if present this section's packages are not going to do any harm, but better to remove unnecessary packages.

    4. yum install gtk2

     

     

    Thanks and Regards,

    Nitish

     



  • 3.  Re: gtk2 - Mozilla check update fails

    Posted Tue March 14, 2017 01:46 PM

    Originally posted by: rmeyer5


    Only additional steps were

    step 1,   Remove render package, which is replaced by libXrender.

    After step 4 - added a link from /opt/freeware/lib to /usr/lib

                                   ln -s /opt/freeware/lib/libgdk_pixbuf-2.0.a /usr/lib/libgdk_pixbuf-2.0.a