Skip to content

Port Sato to Gtk+3

Jussi Kukkonen openembedded-core 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest30 patches 5 repliesIn review
  2. v23 of 36 patches 1 replySuperseded
  3. v137 patches 5 repliesSuperseded

Changes in v3 from the cover letter

* Rebased
* avahi-ui: Make sure GtkBuilder ui files are installed with GTK+3
* sysprof: Add patch to fix "cast to pointer from integer of different size" (on 32bit)
* sysprof: Forward port memory barrier patches for arm & mips
* sysprof: Avoid Werror by setting "--enable-compile-warnings"
* matchbox-desktop: Don't use "install -D --target-directory":
some versions of install do not like it
* vte: Add SECURITY_NO_PIE_CFLAGS as workaround to avoid linking failure in libc_nonshared.a: "undefined reference to __init_array_start" when building with security_flags.inc
* gnome-themes-standard: Add distro feature check

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/30matchbox-theme-sato: Upgrade to 0.2meta/recipes-sato/matchbox-theme-sato/matchbox-theme-sato_0.1.bb meta/recipes-sato/matchbox-theme-sato/matchbox-theme-sato_0.2.bb meta/recipes-sato/matchbox-theme-sato/matchbox-theme-sato_git.bb+7 -200 replies
2/30matchbox-desktop: Ugrade to 2.1meta/recipes-sato/matchbox-desktop/matchbox-desktop_2.1.bb+4 -70 replies
3/30matchbox-panel-2: Upgrade to 2.10meta/recipes-sato/matchbox-panel-2/files/silence-warnings.patch meta/recipes-sato/matchbox-panel-2/matchbox-panel-2_2.10.bb+7 -720 replies
4/30sato-screenshot: Upgrade to 0.2meta/recipes-sato/sato-screenshot/sato-screenshot_0.2.bb+3 -40 replies
5/30settings-daemon: Upgrade to 0.0.2meta/recipes-sato/settings-daemon/files/dso_linking_change_build_fix.patch meta/recipes-sato/settings-daemon/settings-daemon_0.0.2.bb+4 -360 replies
6/30matchbox-wm: Upgrade to 1.2.1meta/recipes-graphics/matchbox-wm/matchbox-wm_1.2.1.bb+2 -30 replies
7/30connman-gnome: Add patch to port to Gtk+3meta/recipes-connectivity/connman/connman-gnome/0001-Port-to-Gtk3.patch meta/recipes-connectivity/connman/connman-gnome_0.7.bb+280 -20 replies
8/30matchbox-keyboard: Enable GTK+3 IM modulemeta/recipes-sato/matchbox-keyboard/matchbox-keyboard_git.bb+4 -20 replies
9/30packagegroup-core-x11: Use adwaita icons instead of satometa/recipes-sato/packagegroups/packagegroup-core-x11-sato.bb+1 -10 replies
10/30vte: Upgrade to 0.44.1meta/conf/distro/include/security_flags.inc meta/recipes-support/vte/vte-0.28.2/cve-2012-2738.patch meta/recipes-support/vte/vte-0.28.2/obsolete_automake_macros.patch +4 more+55 -18114 replies
11/30matchbox-terminal: Upgrade to 0.1meta/recipes-sato/matchbox-terminal/matchbox-terminal_0.1.bb+4 -40 replies
12/30puzzles: Use Gtk+3 by defaultmeta/recipes-sato/puzzles/puzzles_git.bb+15 -30 replies
13/30gst-player: Start building with Gtk+3meta/recipes-multimedia/gstreamer/gst-player/gst-player.desktop meta/recipes-multimedia/gstreamer/gst-player/gtk2.patch meta/recipes-multimedia/gstreamer/gst-player_git.bb+3 -750 replies
14/30matchbox-config-gtk: Upgrade to 0.2meta/recipes-sato/matchbox-config-gtk/files/no-handed.patch meta/recipes-sato/matchbox-config-gtk/matchbox-config-gtk_0.2.bb+20 -170 replies
15/30leafpad: Replace with L3afpadmeta/recipes-core/packagegroups/packagegroup-self-hosted.bb meta/recipes-graphics/builder/files/builder_session.sh meta/recipes-sato/l3afpad/l3afpad_git.bb +5 more+27 -1950 replies
16/30pcmanfm: switch to GTK3 versionmeta/recipes-sato/pcmanfm/pcmanfm_1.2.4.bb+3 -20 replies
17/30libfm: switch to GTK3 versionmeta/recipes-support/libfm/libfm_1.2.4.bb+4 -20 replies
18/30libowl: Remove as unusedmeta/recipes-sato/libowl/libowl_git.bb+0 -230 replies
19/30packagegroup-core-x11-sato: Remove gtk-sato-enginemeta/recipes-sato/packagegroups/packagegroup-core-x11-sato.bb+0 -10 replies
20/30gtk+: RRECOMMEND adwaita thememeta/recipes-gnome/gtk+/gtk+.inc+8 -10 replies
21/30webkitgtk: Disable Gtk2 plugin process by defaultmeta/recipes-sato/webkit/webkitgtk_2.12.3.bb+0 -10 replies
22/30avahi-ui: Build with Gtk+3meta/recipes-connectivity/avahi/avahi-ui_0.6.32.bb meta/recipes-connectivity/avahi/files/0001-configure.ac-install-GtkBuilder-interface-files-for-.patch+34 -50 replies
23/30sysprof: Upgrade to git version slightly past 3.20meta/recipes-kernel/sysprof/files/0001-Avoid-building-docs.patch meta/recipes-kernel/sysprof/files/0001-Disable-check-for-polkit-for-UI.patch meta/recipes-kernel/sysprof/files/0001-Forward-port-mips-arm-memory-barrier-patches.patch +6 more+163 -940 replies
24/30matchbox-session-sato: Update session startupmeta/recipes-sato/matchbox-sato/matchbox-session-sato/index.theme meta/recipes-sato/matchbox-sato/matchbox-session-sato/session meta/recipes-sato/matchbox-sato/matchbox-session-sato_0.1.bb+17 -100 replies
25/30matchbox-desktop: Add Sato folder configurationmeta/recipes-sato/matchbox-desktop-sato/matchbox-desktop-sato_git.bb meta/recipes-sato/matchbox-desktop/files/vfolders/All.directory meta/recipes-sato/matchbox-desktop/files/vfolders/Applications.directory +5 more+43 -240 replies
26/30packagegroup-self-hosted: Remove unused theme, use Adwaita iconsmeta/recipes-core/packagegroups/packagegroup-self-hosted.bb+1 -30 replies
27/30gtk-sato-engine: Remove as unusedmeta/recipes-sato/gtk-engines/gtk-sato-engine.inc meta/recipes-sato/gtk-engines/gtk-sato-engine_git.bb+0 -390 replies
28/30sato-icon-theme: remove as unusedmeta/recipes-sato/sato-icon-theme/sato-icon-theme/0001-Inherit-the-GNOME-icon-theme.patch meta/recipes-sato/sato-icon-theme/sato-icon-theme_0.4.1.bb+0 -710 replies
29/30gtk-engines: Remove as unusedmeta/recipes-gnome/gtk-engines/gtk-engines-2.20.2/glib-2.32.patch meta/recipes-gnome/gtk-engines/gtk-engines-2.20.2/substitute-tests.patch meta/recipes-gnome/gtk-engines/gtk-engines_2.20.2.bb+0 -1150 replies
30/30gnome-themes-standard: Use distro_features_check for GTK+2meta/recipes-gnome/gnome/gnome-themes-standard_3.18.0.bb+3 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCHv3 00/30] Port Sato to Gtk+3

Latest version of Sato-gtk3 branch. The main problem is with vte and I'd appreciate input on that: First, it fails to link with "-pie -fpie". I've added a workaround (see below) but on musl vte still fails at runtime because /lib/gcc_s.so.1 seems to be missing symbols?

    # ldd /lib/libgcc_s.so.1 
    ...
    Error relocating /lib/libgcc_s.so.1: __cpu_indicator_init: symbol not found
    Error relocating /lib/libgcc_s.so.1: __cpu_model: symbol not found
Is this a gcc bug?

Changes since v2:
* Rebased
* avahi-ui: Make sure GtkBuilder ui files are installed with GTK+3
* sysprof: Add patch to fix "cast to pointer from integer of different size" (on 32bit)
* sysprof: Forward port memory barrier patches for arm & mips
* sysprof: Avoid Werror by setting "--enable-compile-warnings"
* matchbox-desktop: Don't use "install -D --target-directory":
some versions of install do not like it
* vte: Add SECURITY_NO_PIE_CFLAGS as workaround to avoid linking failure in libc_nonshared.a: "undefined reference to __init_array_start" when building with security_flags.inc
* gnome-themes-standard: Add distro feature check

Changes since v1:
* vte: disable vala if gobject-introspection is disabled. This fixes build on musl.
* matchbox-desktop: combine the configuration from matchbox-desktop-sato into matchbox-desktop recipe
* connman-gnome: Squash two patches that were not supposed to be separate

Issues:
* vte link failure worked around with SECURITY_NO_PIE_CFLAGS
* vte on musl fails to work, see discussion above

Original cover letter is included below.

Thanks,
Jussi

This patchset updates Sato desktop to Gtk+3. This means some work on matchbox-* components maintained on yp.org, quite a bit of integration work, and changes to other recipes to build with Gtk+3 instead of Gtk+2. It's not visually amazing but works in my tests so I think it's time to get it to master so others can start improving/complaining on the work so far.

Main changes:
* Separate panel and window title bars: The combo was clever but does not work with client side window decorations.
* No more green: The Gtk+ theme is Adwaita (upstream default) and the window manager theme tries to work with that.
* gtk+ is no longer part of core-image-sato, gtk+3 is.
* matchbox-desktop-2 had major refactoring, should function the same
* Image size seems to increase 3-4% (would have increased more but icon packages were split).
* Leafpad editor was replaced with L3afpad, a GTK+3 fork. Suggestions for a better alternative are welcome.

Related To-Do list:
* Desktop styling could use some work (e.g. panel should probably be more distinguishable from the desktop)
* GTK+3 depends on libepoxy which depends on virtual/egl, there's no runtime dependency though (#8643)
* gst-plugins-bad and gst-player should be updated (#9715)
* connman-gnome should be replaced at some point (#8606)
* gtk-engines should be moved to meta-gnome (will send a patch)

The following changes since commit a1a0ce1a0064e29159555011ebd667192132e0ce:

scripts/lib/bsp/engine.py: Added missing parentheses to string formatting (2016-06-12 23:47:19 +0100)

are available in the git repository at:

git://git.yoctoproject.org/poky-contrib jku/sato-gtk3
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=jku/sato-gtk3

Jussi Kukkonen (28):
matchbox-theme-sato: Upgrade to 0.2
matchbox-desktop: Ugrade to 2.1
matchbox-panel-2: Upgrade to 2.10
sato-screenshot: Upgrade to 0.2
settings-daemon: Upgrade to 0.0.2
matchbox-wm: Upgrade to 1.2.1
connman-gnome: Add patch to port to Gtk+3
matchbox-keyboard: Enable GTK+3 IM module
packagegroup-core-x11: Use adwaita icons instead of sato
vte: Upgrade to 0.44.1
matchbox-terminal: Upgrade to 0.1
puzzles: Use Gtk+3 by default
gst-player: Start building with Gtk+3
matchbox-config-gtk: Upgrade to 0.2
leafpad: Replace with L3afpad
libowl: Remove as unused
packagegroup-core-x11-sato: Remove gtk-sato-engine gtk+: RRECOMMEND adwaita theme
webkitgtk: Disable Gtk2 plugin process by default
avahi-ui: Build with Gtk+3
sysprof: Upgrade to git version slightly past 3.20
matchbox-session-sato: Update session startup
matchbox-desktop: Add Sato folder configuration
packagegroup-self-hosted: Remove unused theme, use Adwaita icons
gtk-sato-engine: Remove as unused
sato-icon-theme: remove as unused
gtk-engines: Remove as unused
gnome-themes-standard: Use distro_features_check for GTK+2

Maxin B. John (2):
pcmanfm: switch to GTK3 version
libfm: switch to GTK3 version

 meta/conf/distro/include/security_flags.inc        |   2 +
 meta/recipes-connectivity/avahi/avahi-ui_0.6.32.bb |  11 +-
 ...c-install-GtkBuilder-interface-files-for-.patch |  28 +++
 .../connman/connman-gnome/0001-Port-to-Gtk3.patch  | 277 +++++++++++++++++++++
 .../connman/connman-gnome_0.7.bb                   |   5 +-
 .../packagegroups/packagegroup-self-hosted.bb      |   6 +-
 .../gnome/gnome-themes-standard_3.18.0.bb          |   4 +-
 meta/recipes-gnome/gtk+/gtk+.inc                   |   9 +-
 .../gtk-engines/gtk-engines-2.20.2/glib-2.32.patch |  23 --
 .../gtk-engines-2.20.2/substitute-tests.patch      |  37 ---
 .../gtk-engines/gtk-engines_2.20.2.bb              |  55 ----
 .../builder/files/builder_session.sh               |   4 +-
 .../{matchbox-wm_git.bb => matchbox-wm_1.2.1.bb}   |   5 +-
 .../sysprof/files/0001-Avoid-building-docs.patch   |  42 ++++
 .../0001-Disable-check-for-polkit-for-UI.patch     |  32 +++
 ...ward-port-mips-arm-memory-barrier-patches.patch |  38 +++
 .../files/0001-callgraph-Use-U64_TO_POINTER.patch  |  29 +++
 .../sysprof/files/define-NT_GNU_BUILD_ID.patch     |   4 +-
 .../sysprof/files/gui-argument.patch               |  35 ---
 meta/recipes-kernel/sysprof/files/rmb-arm.patch    |  21 --
 meta/recipes-kernel/sysprof/files/rmb-mips.patch   |  22 --
 meta/recipes-kernel/sysprof/sysprof_git.bb         |  34 +--
 .../gstreamer/gst-player/gst-player.desktop        |   2 +-
 .../gstreamer/gst-player/gtk2.patch                |  71 ------
 .../recipes-multimedia/gstreamer/gst-player_git.bb |   5 +-
 meta/recipes-sato/gtk-engines/gtk-sato-engine.inc  |  25 --
 .../gtk-engines/gtk-sato-engine_git.bb             |  14 --
 meta/recipes-sato/l3afpad/l3afpad_git.bb           |  23 ++
 meta/recipes-sato/leafpad/files/leafpad.desktop    |  10 -
 meta/recipes-sato/leafpad/files/owl-menu.patch     |  63 -----
 ...gtkprint-.c-Fix-security-formatting-issue.patch |  81 ------
 meta/recipes-sato/leafpad/leafpad_0.8.18.1.bb      |  37 ---
 meta/recipes-sato/libowl/libowl_git.bb             |  23 --
 .../matchbox-config-gtk/files/no-handed.patch      |  26 +-
 ...onfig-gtk_git.bb => matchbox-config-gtk_0.2.bb} |  11 +-
 .../matchbox-desktop-sato_git.bb                   |  22 --
 .../matchbox-desktop/files/vfolders/All.directory  |   5 +
 .../files/vfolders/Applications.directory          |   6 +
 .../files/vfolders/Games.directory                 |   9 +
 .../matchbox-desktop/files/vfolders/Root.order     |   4 +
 .../files/vfolders/Settings.directory              |   8 +
 ...hbox-desktop_git.bb => matchbox-desktop_2.1.bb} |  16 +-
 .../matchbox-keyboard/matchbox-keyboard_git.bb     |   6 +-
 .../matchbox-panel-2/files/silence-warnings.patch  |  64 -----
 ...box-panel-2_git.bb => matchbox-panel-2_2.10.bb} |  15 +-
 .../matchbox-session-sato/index.theme              |   7 +
 .../matchbox-sato/matchbox-session-sato/session    |   9 +-
 .../matchbox-sato/matchbox-session-sato_0.1.bb     |  11 +-
 ...ox-terminal_git.bb => matchbox-terminal_0.1.bb} |   8 +-
 .../matchbox-theme-sato/matchbox-theme-sato_0.1.bb |   8 -
 .../matchbox-theme-sato/matchbox-theme-sato_0.2.bb |   7 +
 .../matchbox-theme-sato/matchbox-theme-sato_git.bb |  12 -
 .../packagegroups/packagegroup-core-x11-sato.bb    |   5 +-
 meta/recipes-sato/pcmanfm/pcmanfm_1.2.4.bb         |   5 +-
 meta/recipes-sato/puzzles/puzzles_git.bb           |  18 +-
 .../0001-Inherit-the-GNOME-icon-theme.patch        |  31 ---
 .../sato-icon-theme/sato-icon-theme_0.4.1.bb       |  40 ---
 ...to-screenshot_git.bb => sato-screenshot_0.2.bb} |   7 +-
 .../files/dso_linking_change_build_fix.patch       |  31 ---
 ...ings-daemon_git.bb => settings-daemon_0.0.2.bb} |   9 +-
 meta/recipes-sato/webkit/webkitgtk_2.12.3.bb       |   1 -
 meta/recipes-support/libfm/libfm_1.2.4.bb          |   6 +-
 .../vte/vte-0.28.2/cve-2012-2738.patch             | 136 ----------
 .../vte/vte-0.28.2/obsolete_automake_macros.patch  |  14 --
 meta/recipes-support/vte/vte.inc                   |  15 --
 ...-Don-t-enable-stack-protection-by-default.patch |  29 +++
 meta/recipes-support/vte/vte_0.28.2.bb             |  16 --
 meta/recipes-support/vte/vte_0.44.1.bb             |  24 ++
 68 files changed, 708 insertions(+), 1010 deletions(-)
 create mode 100644 meta/recipes-connectivity/avahi/files/0001-configure.ac-install-GtkBuilder-interface-files-for-.patch
 create mode 100644 meta/recipes-connectivity/connman/connman-gnome/0001-Port-to-Gtk3.patch
 delete mode 100644 meta/recipes-gnome/gtk-engines/gtk-engines-2.20.2/glib-2.32.patch
 delete mode 100644 meta/recipes-gnome/gtk-engines/gtk-engines-2.20.2/substitute-tests.patch
 delete mode 100644 meta/recipes-gnome/gtk-engines/gtk-engines_2.20.2.bb
 rename meta/recipes-graphics/matchbox-wm/{matchbox-wm_git.bb => matchbox-wm_1.2.1.bb} (94%)
 create mode 100644 meta/recipes-kernel/sysprof/files/0001-Avoid-building-docs.patch
 create mode 100644 meta/recipes-kernel/sysprof/files/0001-Disable-check-for-polkit-for-UI.patch
 create mode 100644 meta/recipes-kernel/sysprof/files/0001-Forward-port-mips-arm-memory-barrier-patches.patch
 create mode 100644 meta/recipes-kernel/sysprof/files/0001-callgraph-Use-U64_TO_POINTER.patch
 delete mode 100644 meta/recipes-kernel/sysprof/files/gui-argument.patch
 delete mode 100644 meta/recipes-kernel/sysprof/files/rmb-arm.patch
 delete mode 100644 meta/recipes-kernel/sysprof/files/rmb-mips.patch
 delete mode 100644 meta/recipes-multimedia/gstreamer/gst-player/gtk2.patch
 delete mode 100644 meta/recipes-sato/gtk-engines/gtk-sato-engine.inc
 delete mode 100644 meta/recipes-sato/gtk-engines/gtk-sato-engine_git.bb
 create mode 100644 meta/recipes-sato/l3afpad/l3afpad_git.bb
 delete mode 100644 meta/recipes-sato/leafpad/files/leafpad.desktop
 delete mode 100644 meta/recipes-sato/leafpad/files/owl-menu.patch
 delete mode 100644 meta/recipes-sato/leafpad/files/src-dialog-gtkprint-.c-Fix-security-formatting-issue.patch
 delete mode 100644 meta/recipes-sato/leafpad/leafpad_0.8.18.1.bb
 delete mode 100644 meta/recipes-sato/libowl/libowl_git.bb
 rename meta/recipes-sato/matchbox-config-gtk/{matchbox-config-gtk_git.bb => matchbox-config-gtk_0.2.bb} (80%)
 delete mode 100644 meta/recipes-sato/matchbox-desktop-sato/matchbox-desktop-sato_git.bb
 create mode 100644 meta/recipes-sato/matchbox-desktop/files/vfolders/All.directory
 create mode 100644 meta/recipes-sato/matchbox-desktop/files/vfolders/Applications.directory
 create mode 100644 meta/recipes-sato/matchbox-desktop/files/vfolders/Games.directory
 create mode 100644 meta/recipes-sato/matchbox-desktop/files/vfolders/Root.order
 create mode 100644 meta/recipes-sato/matchbox-desktop/files/vfolders/Settings.directory
 rename meta/recipes-sato/matchbox-desktop/{matchbox-desktop_git.bb => matchbox-desktop_2.1.bb} (67%)
 delete mode 100644 meta/recipes-sato/matchbox-panel-2/files/silence-warnings.patch
 rename meta/recipes-sato/matchbox-panel-2/{matchbox-panel-2_git.bb => matchbox-panel-2_2.10.bb} (74%)
 create mode 100644 meta/recipes-sato/matchbox-sato/matchbox-session-sato/index.theme
 rename meta/recipes-sato/matchbox-terminal/{matchbox-terminal_git.bb => matchbox-terminal_0.1.bb} (76%)
 delete mode 100644 meta/recipes-sato/matchbox-theme-sato/matchbox-theme-sato_0.1.bb
 create mode 100644 meta/recipes-sato/matchbox-theme-sato/matchbox-theme-sato_0.2.bb
 delete mode 100644 meta/recipes-sato/matchbox-theme-sato/matchbox-theme-sato_git.bb
 delete mode 100644 meta/recipes-sato/sato-icon-theme/sato-icon-theme/0001-Inherit-the-GNOME-icon-theme.patch
 delete mode 100644 meta/recipes-sato/sato-icon-theme/sato-icon-theme_0.4.1.bb
 rename meta/recipes-sato/sato-screenshot/{sato-screenshot_git.bb => sato-screenshot_0.2.bb} (86%)
 delete mode 100644 meta/recipes-sato/settings-daemon/files/dso_linking_change_build_fix.patch
 rename meta/recipes-sato/settings-daemon/{settings-daemon_git.bb => settings-daemon_0.0.2.bb} (85%)
 delete mode 100644 meta/recipes-support/vte/vte-0.28.2/cve-2012-2738.patch
 delete mode 100644 meta/recipes-support/vte/vte-0.28.2/obsolete_automake_macros.patch
 delete mode 100644 meta/recipes-support/vte/vte.inc
 create mode 100644 meta/recipes-support/vte/vte/0001-Don-t-enable-stack-protection-by-default.patch
 delete mode 100644 meta/recipes-support/vte/vte_0.28.2.bb
 create mode 100644 meta/recipes-support/vte/vte_0.44.1.bb
Signature · 1 line
2.1.4