[gtk-osx-users] Change icon theme and theme

Hello all,

I have a PyGTK/GTK2 application that builds, bundles and runs pretty good on macOS for a while now. It was always using the Clearlooks theme and the default (Tango?) icon theme.

Now I was thinking to make it look a bit more native and found some macOS icon themes[1][2][3] and a GTK2 theme[4]. Starting with the icon themes, I'm unable to get them loaded. They are in {$prefix}/share/icons/ and this was added to my bundle file:

    <icon-theme icons="all">

I can see they are bundled correctly in the app bundle. Also added the following line in /etc/gtkrc:

    gtk-icon-theme-name = "OneOfTheIconThemes"

But as said, the application starts with the default icons and don't know how to debug. The application uses the normal gtk.STOCK_* icons.

About the custom theme, it states that it requires the Murrine engine. Seeing it's listed in the modulesets, I ran:

    $ jhbuild build murrine-engine

But fails during make with:

    Undefined symbols for architecture x86_64:
      "_pixman_image_composite", referenced from:
          __blur_image_surface in gaussian-blur.o
      "_pixman_image_create_bits", referenced from:
          __blur_image_surface in gaussian-blur.o
      "_pixman_image_set_filter", referenced from:
          __blur_image_surface in gaussian-blur.o
      "_pixman_image_unref", referenced from:
          __blur_image_surface in gaussian-blur.o
    ld: symbol(s) not found for architecture x86_64
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    make[1]: *** [libmurrine.la] Error 1
    make: *** [all-recursive] Error 1
    *** Error during phase build of murrine-engine: ########## Error running make -j 5  *** [1/1]

Is this a 64-bit error in the Murrine engine (it's built for that arch on Linux) or a problem with Pixman? The entire GTK stack is built with the following setup_sdk without errors:

    setup_sdk(target="10.12", sdk_version=None, architectures=["x86_64"])

Any help with this or if it's even possible is appreciated.


[1] https://github.com/zayronxio/Macos-sierra-CT
[2] https://github.com/keeferrourke/la-capitaine-icon-theme
[3] https://github.com/USBA/Cupertino-macOS-iCons
[4] https://github.com/vinceliuice/Sierra-gtk-theme

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]