WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Re: gtk3.tcz  (Read 6522 times)

Offline AmatCoder

  • Full Member
  • ***
  • Posts: 179
    • AmatCoder Projects
Re: gtk3.tcz
« on: June 02, 2012, 10:59:25 AM »
I am sorry for the delay... I have been busy with real life... >:(

gtk3.tcz extension is ready, but one issue arise... some packages compiled against gtk3 need also to set rpath if they link libX11 library at compile-time... :(

This happens to me with zenity and ghex...Others like fille-roller or emelfm2 do not need it.

Is it still acceptable?

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: Re: gtk3.tcz
« Reply #1 on: June 02, 2012, 12:11:24 PM »
I guess since we have the base xlib versus the xcb enabled one, the issue if I recall, then we are at the mercy of needing to use rpath if we want gtk3.  So it sounds acceptable to me, as we are used to needing to use those kind of methods from time to time. 

I will split this and the above post into it's own thread since now we are on the topic of the tcz version.
« Last Edit: June 02, 2012, 12:13:21 PM by Jason W »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14815
Re: gtk3.tcz
« Reply #2 on: June 09, 2012, 04:13:06 AM »
Was gtk3.tcz ever received?

Offline AmatCoder

  • Full Member
  • ***
  • Posts: 179
    • AmatCoder Projects
Re: gtk3.tcz
« Reply #3 on: October 06, 2012, 06:08:55 AM »
Hi, I'm alive! ;)
 
I will send the gtk3 package along this weekend. Apologies for the loooong delay... :-[

Offline AmatCoder

  • Full Member
  • ***
  • Posts: 179
    • AmatCoder Projects
Re: gtk3.tcz
« Reply #4 on: October 06, 2012, 07:01:12 PM »
Gtk3 extensions has been sent. Thanks to Jason for updating pango and gdk-pixbuf2.

I would like to write some advice here:

1) Packages were compiled with export LDFLAGS="-Wl,-O1,-enable-new-dtags,-rpath,/usr/local/lib" instead standard export LDFLAGS="-Wl,-O1"  to avoid
    crash reported here: http://forum.tinycorelinux.net/index.php/topic,12815.0.html

2) Some gtk3 applications may need same LDFLAGS for the same reason. Use them if you are unsure (it does not hurt...)

3) Built without gobject-introspection support. It need at least 1.32.0 version and there is 1.31.22 version in repository right now.

4) Sometimes Openbox crash when running gtk3 programs. It's a known issue: https://bugzilla.icculus.org/show_bug.cgi?id=5460
    Arch distro use this patch with Openbox 3.5: https://projects.archlinux.org/svntogit/community.git/plain/trunk/movesize.patch?h=packages/openbox
    (to consider when updating Openbox)

5) Some gtk3 applications need a modern intltool at compile-time. Version in the repository is too old...

6) You can test extension with gtk3-demo program included into gtk3-dev.tcz

Nothing more, I hope... ;) Regards.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14815
Re: gtk3.tcz
« Reply #5 on: October 10, 2012, 06:09:56 AM »
Hmm - some applications seem to have trouble displaying icons, even with gnome-icon-theme loaded..

Do we want to have some sort of naming convention for apps compiled against gtk3 - rygel_gtk3, rhythmbox_gtk3, etc - in order to distinguish from the gtk2 version?

Offline AmatCoder

  • Full Member
  • ***
  • Posts: 179
    • AmatCoder Projects
Re: gtk3.tcz
« Reply #6 on: October 10, 2012, 08:04:25 AM »
Hmm - some applications seem to have trouble displaying icons, even with gnome-icon-theme loaded..

What type of icons? Usually, with hicolor-icon-theme loaded is enough... You can try:
Code: [Select]
gtk-update-icon-cache-3.0 -q -f -t /usr/local/share/icons/hicolor
Edited to rename from gtk-update-icon-cache to gtk-update-icon-cache-3.0
« Last Edit: October 10, 2012, 09:05:59 AM by AmatCoder »

Offline Arslan S.

  • Hero Member
  • *****
  • Posts: 825
Re: gtk3.tcz
« Reply #7 on: October 10, 2012, 08:40:23 AM »
gtk-update-icon-cache is in gtk2 extension also i see gtk-update-icon-cache-3.0 in gtk3 but is there any difference between them ? because they edit the same file (icons.cache)

btw i have updated gnome-icon-theme to 3.6.0
http://code.google.com/p/tc-ext-tools/source/detail?r=914

Offline AmatCoder

  • Full Member
  • ***
  • Posts: 179
    • AmatCoder Projects
Re: gtk3.tcz
« Reply #8 on: October 10, 2012, 09:01:58 AM »
Yes, I forgot it...
gtk-update-icon-cache was renamed to gtk-update-icon-cache-3.0 in gtk3 extension (like in Debian and derivates distros) to avoid conflicts between gtk2 and gtk3 extensions...

gtk-update-icon-cache is in gtk2 extension also i see gtk-update-icon-cache-3.0 in gtk3 but is there any difference between them ? because they edit the same file (icons.cache)

No, they are the same...gtk-update-icon-cache from gtk2 is compatible but gtk3 needs its own to avoid dependence of gtk2.
« Last Edit: October 10, 2012, 09:33:00 AM by AmatCoder »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14815
Re: gtk3.tcz
« Reply #9 on: October 13, 2012, 05:40:41 AM »
3) Built without gobject-introspection support. It need at least 1.32.0 version and there is 1.31.22 version in repository right now.

Could you update gtk3 now that gobject-introspection is updated - several packages will not compile without Gtk-3.0.gir

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14815
Re: gtk3.tcz
« Reply #10 on: October 13, 2012, 09:06:49 AM »
also, I'm wondering if gtk3 needs to create either ~/.config/gtk-3.0/settings.ini or /usr/local/etc/gtk-3.0/settings.ini to contain at least:
Code: [Select]
[Settings]
gtk-fallback-icon-theme = gnome

..even compiling gnome-icon-theme-3.6.0 I was missing icons?

Offline Arslan S.

  • Hero Member
  • *****
  • Posts: 825
Re: gtk3.tcz
« Reply #11 on: October 13, 2012, 09:52:00 AM »
also, I'm wondering if gtk3 needs to create either ~/.config/gtk-3.0/settings.ini or /usr/local/etc/gtk-3.0/settings.ini to contain at least:
Code: [Select]
[Settings]
gtk-fallback-icon-theme = gnome

..even compiling gnome-icon-theme-3.6.0 I was missing icons?

i have added a settings.ini file to gnome-icon-theme

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14815
Re: gtk3.tcz
« Reply #12 on: October 13, 2012, 10:24:31 AM »
Thanks - seems finally that gnome-icon-themes-symbolic restored the missing icons with rygel compiled against gtk3...
« Last Edit: October 13, 2012, 10:31:38 AM by Juanito »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14815
Re: gtk3.tcz
« Reply #13 on: October 15, 2012, 06:47:38 AM »
Thanks for gnome-icon-themes-symbolic  :)

Offline AmatCoder

  • Full Member
  • ***
  • Posts: 179
    • AmatCoder Projects
Re: gtk3.tcz
« Reply #14 on: October 15, 2012, 11:21:24 AM »
Could you update gtk3 now that gobject-introspection is updated - several packages will not compile without Gtk-3.0.gir

I just sent gtk3-gir extension... Thanks to Arslan for update.

Quote
5) Some gtk3 applications need a modern intltool at compile-time. Version in the repository is too old...

Your move, Juanito... ;)