Port Sato to Gtk+3
cover Port Sato to Gtk+3
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)
Cheers,
Jussi
The following changes since commit 9c75c64cb99a3d5103b7bb4e2a700e5bb5af516b:
kernel-dev: Fix the locations of .config and source directory (2016-06-06 22:53:35 +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 (35):
gnome-themes-standard: Add new GTK+2 theme
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
connman-gnome: Add patch to port to Gtk+3
matchbox-terminal: Upgrade to 0.1 packagegroup-core-x11-sato: Use puzzles instead of oh-puzzles
puzzles: Use Gtk+3 by default
oh-puzzles: Remove as we're using puzzles now
gst-player: Start building with Gtk+3
matchbox-config-gtk: Upgrade to 0.2
distcc: Disable GTK UI by default
leafpad: Replace with L3afpad
gtk-immodules-cache: Support both GTKs at same time
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 gtk+3: Add RRECOMMENDS to match gtk+
adwaita-icon-theme: Split symbolic icons into 2 packages
matchbox-session-sato: Update session startup
matchbox-desktop-sato: Upgrade to remove Utilities folder
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
Maxin B. John (2):
pcmanfm: switch to GTK3 version
libfm: switch to GTK3 version
meta/classes/gtk-immodules-cache.bbclass | 6 +-
meta/recipes-connectivity/avahi/avahi-ui_0.6.32.bb | 6 +-
.../connman/connman-gnome/0001-Port-to-Gtk3.patch | 277 +++++++++++++++++++++
.../connman/connman-gnome_0.7.bb | 5 +-
.../connman/connman/0001-Port-to-Gtk3.patch | 277 +++++++++++++++++++++
.../packagegroups/packagegroup-self-hosted.bb | 6 +-
meta/recipes-devtools/distcc/distcc_3.2.bb | 5 +-
.../gnome/adwaita-icon-theme_3.18.0.bb | 9 +-
.../gnome/gnome-themes-standard_3.18.0.bb | 37 +++
meta/recipes-gnome/gtk+/gtk+.inc | 9 +-
meta/recipes-gnome/gtk+/gtk+3.inc | 17 +-
.../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 +++
.../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 | 32 +--
.../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 | 3 +-
...hbox-desktop_git.bb => matchbox-desktop_2.1.bb} | 11 +-
.../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 | 7 +-
meta/recipes-sato/pcmanfm/pcmanfm_1.2.4.bb | 5 +-
.../puzzles/files/oh-puzzles-owl-menu.patch | 203 ---------------
meta/recipes-sato/puzzles/oh-puzzles_git.bb | 73 ------
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 --
meta/recipes-support/vte/vte_0.28.2.bb | 16 --
meta/recipes-support/vte/vte_0.44.1.bb | 18 ++
65 files changed, 868 insertions(+), 1280 deletions(-)
create mode 100644 meta/recipes-connectivity/connman/connman-gnome/0001-Port-to-Gtk3.patch
create mode 100644 meta/recipes-connectivity/connman/connman/0001-Port-to-Gtk3.patch
create mode 100644 meta/recipes-gnome/gnome/gnome-themes-standard_3.18.0.bb
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
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%)
rename meta/recipes-sato/matchbox-desktop/{matchbox-desktop_git.bb => matchbox-desktop_2.1.bb} (65%)
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/puzzles/files/oh-puzzles-owl-menu.patch
delete mode 100644 meta/recipes-sato/puzzles/oh-puzzles_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
delete mode 100644 meta/recipes-support/vte/vte_0.28.2.bb
create mode 100644 meta/recipes-support/vte/vte_0.44.1.bbSignature · 1 line
2.1.4
PATCH 1/37 gnome-themes-standard: Add new GTK+2 theme
This is useful as it matches the default GTK+3 theme well. Only the Adwaita theme currently gets installed.
--- .../gnome/gnome-themes-standard_3.18.0.bb | 37 ++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 meta/recipes-gnome/gnome/gnome-themes-standard_3.18.0.bb
meta/recipes-gnome/gnome/gnome-themes-standard_3.18.0.bb new file +37 -0
@@ -0,0 +1,37 @@ +SUMMARY = "GTK+2 standard themes" +HOMEPAGE = "http://ftp.gnome.org/pub/GNOME/sources/gnome-themes-standard/" +BUGTRACKER = "https://bugzilla.gnome.org/" +SECTION = "x11/gnome" + +LICENSE = "LGPL-2.1" +LIC_FILES_CHKSUM = "file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1" + +inherit autotools pkgconfig gettext gtk-icon-cache upstream-version-is-even + +DEPENDS += "intltool-native gtk+" + +MAJ_VER = "${@oe.utils.trim_version("${PV}", 2)}" +SRC_URI = "${GNOME_MIRROR}/${BPN}/${MAJ_VER}/${BPN}-${PV}.tar.xz \ + " + +SRC_URI[md5sum] = "4d17bc62e4d0c5440fc4eda3d9271367" +SRC_URI[sha256sum] = "e646eb04c225282b7df7fff65741adaad4cf9ed2c12616b7310e7edd27d2bacb" + +EXTRA_OECONF = "--disable-gtk3-engine" + +do_install_append() { + # Only building Adwaita, remove highcontrast files + rm -rf ${D}${prefix}/share/themes/HighContrast \ + ${D}${prefix}/share/icons +} + +# There could be gnome-theme-highcontrast as well but that requires +# gtk+3 and includes lots of icons (is also broken with B != S). +PACKAGES += "gnome-theme-adwaita \ + gnome-theme-adwaita-dbg \ + gnome-theme-adwaita-dev" + +FILES_gnome-theme-adwaita = "${prefix}/share/themes/Adwaita \ + ${libdir}/gtk-2.0/2.10.0/engines/libadwaita.so" +FILES_gnome-theme-adwaita-dev = "${libdir}/gtk-2.0/2.10.0/engines/libadwaita.la" +FILES_gnome-theme-adwaita-dbg = "${libdir}/gtk-2.0/2.10.0/engines/.debug/libadwaita.so"
Signature · 1 line
2.1.4
PATCH 2/37 matchbox-theme-sato: Upgrade to 0.2
New theme is tries to be more compatible with Adwaita: titlebar is thinner, colors are mostly uniform gray instead of green.
--- .../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 ------------ 3 files changed, 7 insertions(+), 20 deletions(-) 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
meta/recipes-sato/matchbox-theme-sato/matchbox-theme-sato_0.1.bb deleted +0 -8
@@ -1,8 +0,0 @@ -require matchbox-theme-sato.inc - -PR = "r1" - -SRC_URI = "http://pokylinux.org/releases/sato/matchbox-theme-sato-0.1.tar.gz" - -SRC_URI[md5sum] = "72ae272ef7803141a3dcb69e670cff97" -SRC_URI[sha256sum] = "5b59f9646edbfb907a309332db3bd6fa7080dc1fe24df549480cfae7d974a3fb"
meta/recipes-sato/matchbox-theme-sato/matchbox-theme-sato_0.2.bb new file +7 -0
@@ -0,0 +1,7 @@ +require matchbox-theme-sato.inc + +# SRCREV tagged 0.2 +SRCREV = "df085ba9cdaeaf2956890b0e29d7ea1779bf6c78" +SRC_URI = "git://git.yoctoproject.org/matchbox-sato" + +S = "${WORKDIR}/git"
meta/recipes-sato/matchbox-theme-sato/matchbox-theme-sato_git.bb deleted +0 -12
@@ -1,12 +0,0 @@ -require matchbox-theme-sato.inc - -SRCREV = "f72cf4ed7d71ad9e47b0f2d3dbc593bc2f3e76f8" -PV = "0.2+git${SRCPV}" - -DEFAULT_PREFERENCE = "-1" - -SRC_URI = "git://git.yoctoproject.org/matchbox-sato" - -EXTRA_OECONF += "${@bb.utils.contains('MACHINE_FEATURES', 'qvga', '--with-mode=qvga', '',d)}" - -S = "${WORKDIR}/git"
Signature · 1 line
2.1.4
PATCH 3/37 matchbox-desktop: Ugrade to 2.1
In reply to Jussi KukkonenChanges since 2.0
* Ported to GTK+3
* Removed deprecated API use, started using new GTK+ features like FlowBox instead of custom code
* Added --mode for easier debugging
One of the LIC_FILES_CHKSUM files was removed upstream.
---
.../{matchbox-desktop_git.bb => matchbox-desktop_2.1.bb} | 11 ++++-------
1 file changed, 4 insertions(+), 7 deletions(-)
rename meta/recipes-sato/matchbox-desktop/{matchbox-desktop_git.bb => matchbox-desktop_2.1.bb} (65%)meta/recipes-sato/matchbox-desktop/matchbox-desktop_2.1.bb renamed from meta/recipes-sato/matchbox-desktop/matchbox-desktop_git.bb +4 -7
@@ -4,18 +4,15 @@ BUGTRACKER = "http://bugzilla.yoctoproject.org/" LICENSE = "GPLv2+ & LGPLv2+" LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ - file://libtaku/eggsequence.h;endline=20;md5=b91f68f7642a1459fa1f4c9df94a8f15 \ file://src/desktop.c;endline=20;md5=36c9bf295e6007f3423095f405af5a2d \ file://src/main.c;endline=19;md5=2044244f97a195c25b7dc602ac7e9a00" -DEPENDS = "gtk+ startup-notification dbus" +DEPENDS = "gtk+3 startup-notification dbus" SECTION = "x11/wm" -SRCREV = "71e3e6e04271e9d5a14f1c231ef100c7f320134d" -PV = "2.0+git${SRCPV}" -SRC_URI = "git://git.yoctoproject.org/${BPN}-2 \ - file://0001-Do-nothing-on-delete-event-when-not-STANDALONE.patch \ - " +# SRCREV tagged 2.1 +SRCREV = "c8473519a0f37488b8b3e839e275b000cdde0b80" +SRC_URI = "git://git.yoctoproject.org/${BPN}-2" EXTRA_OECONF = "--enable-startup-notification --with-dbus"
Signature · 1 line
2.1.4
PATCH 4/37 matchbox-panel-2: Upgrade to 2.10
In reply to Jussi Kukkonen* Changes in 2.10:
- Port to GTK3, avoid all deprecated API
- Add --mode for easier testing
* Remove a backported patch.
* License checksum changes because copyright years change
---
.../matchbox-panel-2/files/silence-warnings.patch | 64 ----------------------
...box-panel-2_git.bb => matchbox-panel-2_2.10.bb} | 15 +++--
2 files changed, 7 insertions(+), 72 deletions(-)
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%)meta/recipes-sato/matchbox-panel-2/files/silence-warnings.patch deleted +0 -64
@@ -1,64 +0,0 @@ -Don't warn if the machine doesn't actually have a battery, or if the applets -string contains consecutive separators. - -Upstream-Status: Backport -Signed-off-by: Ross Burton <[email protected]> - -diff --git a/applets/battery/battery-acpi.c b/applets/battery/battery-acpi.c -index 6515cb0..c44dd12 100644 ---- a/applets/battery/battery-acpi.c -+++ b/applets/battery/battery-acpi.c -@@ -14,8 +14,6 @@ int batt_state, ac_state; - int pm_support(void) - { - if(check_acpi_support() == NOT_SUPPORTED){ -- g_warning("No ACPI support\n"); -- - return 0; - } - -@@ -32,8 +30,9 @@ const char* pm_battery_icon(void) - const char *icon; - battery_t *binfo; - -+ /* No battery available (not present, disabled, or something -+ else. Silently do nothing. */ - if (batt_state != SUCCESS) { -- g_warning("Couldnt initialize ACPI battery\n"); - return NULL; - } - -diff --git a/applets/battery/battery-apm.c b/applets/battery/battery-apm.c -index 5467438..2f39cb6 100644 ---- a/applets/battery/battery-apm.c -+++ b/applets/battery/battery-apm.c -@@ -10,8 +10,6 @@ - int pm_support(void) - { - if (1 == apm_exists ()) { -- g_warning ("No APM support"); -- - return 0; - } - -diff --git a/matchbox-panel/mb-panel.c b/matchbox-panel/mb-panel.c -index 2d8cafd..828a36d 100644 ---- a/matchbox-panel/mb-panel.c -+++ b/matchbox-panel/mb-panel.c -@@ -110,10 +110,15 @@ load_applets (const char *applets_desc, - applets = g_strsplit (applets_desc, ",", -1); - - for (i = 0; applets[i]; i++) { -+ char *s; - char **bits; - GtkWidget *applet; - -- bits = g_strsplit (applets[i], ":", 2); -+ s = applets[i]; -+ if (s == NULL || s[0] == '\0') -+ continue; -+ -+ bits = g_strsplit (s, ":", 2); - - applet = load_applet (bits[0], - bits[1],
meta/recipes-sato/matchbox-panel-2/matchbox-panel-2_2.10.bb renamed from meta/recipes-sato/matchbox-panel-2/matchbox-panel-2_git.bb +7 -8
@@ -5,25 +5,23 @@ BUGTRACKER = "http://bugzilla.yoctoproject.org/" LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ file://matchbox-panel/mb-panel.h;endline=10;md5=0b7db28f4b6863fb853d0467e590019a \ - file://applets/startup/startup.c;endline=22;md5=b0a64fbef3097d79f8264e6907a98f03" + file://applets/startup/startup.c;endline=22;md5=7cbcea60b667f609495222faf3e07917" -DEPENDS = "gnome-common gtk+ startup-notification dbus dbus-glib dbus-glib-native" +DEPENDS = "gnome-common gtk+3 startup-notification dbus dbus-glib dbus-glib-native" DEPENDS += " ${@bb.utils.contains("MACHINE_FEATURES", "acpi", "libacpi", "",d)}" DEPENDS += " ${@bb.utils.contains("MACHINE_FEATURES", "apm", "apmd", "",d)}" # The startup-notification requires x11 in DISTRO_FEATURES REQUIRED_DISTRO_FEATURES = "x11" -SRCREV = "26a3a67b41c50e0ae163d8fe86ccf7a0f0a671ae" -PV = "2.0+git${SRCPV}" +# SRCREV tagged 2.10 +SRCREV = "145a8075c66952dad9ab5f36d944c78c1ae3f4ab" RPROVIDES_${PN} = "matchbox-panel" RREPLACES_${PN} = "matchbox-panel" RCONFLICTS_${PN} = "matchbox-panel" -SRC_URI = "git://git.yoctoproject.org/${BPN} \ - file://0001-showdesktop-Make-sure-active-state-is-initialized.patch \ - file://silence-warnings.patch" +SRC_URI = "git://git.yoctoproject.org/${BPN}" EXTRA_OECONF = "--enable-startup-notification --enable-dbus" EXTRA_OECONF += " ${@bb.utils.contains("MACHINE_FEATURES", "acpi", "--with-battery=acpi", "",d)}"
@@ -33,7 +31,8 @@ S = "${WORKDIR}/git" FILES_${PN} += "${libdir}/matchbox-panel/*.so \ ${datadir}/matchbox-panel/brightness/*.png \ - ${datadir}/matchbox-panel/startup/*.png " + ${datadir}/matchbox-panel/startup/*.png \ + ${datadir}/icons/" FILES_${PN}-dev += "${libdir}/matchbox-panel/*.la" inherit autotools pkgconfig distro_features_check
Signature · 1 line
2.1.4
PATCH 5/37 sato-screenshot: Upgrade to 0.2
In reply to Jussi KukkonenNew version supports Gtk+3.
---
.../{sato-screenshot_git.bb => sato-screenshot_0.2.bb} | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
rename meta/recipes-sato/sato-screenshot/{sato-screenshot_git.bb => sato-screenshot_0.2.bb} (86%)meta/recipes-sato/sato-screenshot/sato-screenshot_0.2.bb renamed from meta/recipes-sato/sato-screenshot/sato-screenshot_git.bb +3 -4
@@ -7,11 +7,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ file://main.c;endline=9;md5=023e14d6404d0a961eb97cbd011fc141 \ file://screenshot-ui.h;endline=9;md5=638d9ffa83e9325a36df224166ed6ad0" -DEPENDS = "matchbox-panel-2" -SRCREV = "3a9688e8a01b63a78f402b4e7c0b8b005fcdfa29" -PV = "0.1+git${SRCPV}" -PR = "r2" +DEPENDS = "matchbox-panel-2 gtk+3" +# SRCREV tagged 0.2 +SRCREV = "5db2672fb857b2c80b949d8fce92e0f0029cc947" SRC_URI = "git://git.yoctoproject.org/screenshot" S = "${WORKDIR}/git"
Signature · 1 line
2.1.4
PATCH 6/37 settings-daemon: Upgrade to 0.0.2
In reply to Jussi Kukkonen* New versions builds with gdk-x11-3.0 and supports gconf key "matchbox_theme".
* Remove patch that's already upstream.
---
.../files/dso_linking_change_build_fix.patch | 31 ----------------------
...ings-daemon_git.bb => settings-daemon_0.0.2.bb} | 9 +++----
2 files changed, 4 insertions(+), 36 deletions(-)
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%)meta/recipes-sato/settings-daemon/files/dso_linking_change_build_fix.patch deleted +0 -31
@@ -1,31 +0,0 @@ -Upstream-Status: Inappropriate [configuration] - -after gcc linking has changed, all the libraries must be explicitely specified to for linking. -This patch avoids this linking error: - -| make all-am^M -| make[1]: Entering directory `/disk0/pokybuild/build1/tmp/work/i586-poky-linux/settings-daemon-0.0+svnr2059-r3/settings-daemon'^M -| ccache i586-poky-linux-gcc -march=i586 --sysroot=/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux -Wall -fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 -ggdb -feliminate-unused-debug-types -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -o settings-daemon settings_daemon-xsettings-common.o settings_daemon-xsettings-manager.o settings_daemon-settings-daemon.o -pthread -lgconf-2 -ldbus-glib-1 -ldbus-1 -lpthread -lgdk-x11-2.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0^M -| /disk0/pokybuild/build1/tmp/sysroots/x86_64-linux/usr/libexec/i586-poky-linux/gcc/i586-poky-linux/4.5.1/ld: *^A: invalid DSO for symbol `XCreateSimpleWindow' definition^M -| /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libX11.so.6: could not read symbols: Bad value^M -| collect2: ld returned 1 exit status^M -| make[1]: *** [settings-daemon] Error 1^M -| make[1]: Leaving directory `/disk0/pokybuild/build1/tmp/work/i586-poky-linux/settings-daemon-0.0+svnr2059-r3/settings-daemon'^M -| make: *** [all] Error 2^M - -Nitin A Kamble <[email protected]> -Date: 2011/01/11 - -Index: settings-daemon/configure.ac -=================================================================== ---- settings-daemon.orig/configure.ac -+++ settings-daemon/configure.ac -@@ -14,7 +14,7 @@ AC_PROG_CC - - - dnl TODO: make gconf optional --PKG_CHECK_MODULES(APP, [gconf-2.0 gdk-x11-2.0]) -+PKG_CHECK_MODULES(APP, [gconf-2.0 gdk-x11-2.0 x11]) - - - AC_SUBST(APP_CFLAGS)
meta/recipes-sato/settings-daemon/settings-daemon_0.0.2.bb renamed from meta/recipes-sato/settings-daemon/settings-daemon_git.bb +4 -5
@@ -4,16 +4,15 @@ BUGTRACKER = "http://bugzilla.yoctoproject.org/" LICENSE = "MIT-style" LIC_FILES_CHKSUM = "file://xsettings-manager.h;endline=22;md5=7cfac9d2d4dc3694cc7eb605cf32a69b \ file://xsettings-common.h;endline=22;md5=7cfac9d2d4dc3694cc7eb605cf32a69b" -DEPENDS = "gconf glib-2.0 gtk+" +DEPENDS = "gconf glib-2.0 gtk+3" SECTION = "x11" -SRCREV = "9a99528b02255450db81176abd9bbcc1dab9a4c1" -PV = "0.0+git${SRCPV}" - +# SRCREV tagged 0.0.2 +SRCREV = "b2e5da502f8c5ff75e9e6da771372ef8e40fd9a2" SRC_URI = "git://git.yoctoproject.org/xsettings-daemon \ file://addsoundkeys.patch;apply=yes \ file://70settings-daemon.sh \ - file://dso_linking_change_build_fix.patch" + " S = "${WORKDIR}/git"
Signature · 1 line
2.1.4
PATCH 7/37 matchbox-wm: Upgrade to 1.2.1
In reply to Jussi KukkonenNew version does not change MBWM theme when the Gtk+ theme is changed using Net/ThemeName X property.
---
.../matchbox-wm/{matchbox-wm_git.bb => matchbox-wm_1.2.1.bb} | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
rename meta/recipes-graphics/matchbox-wm/{matchbox-wm_git.bb => matchbox-wm_1.2.1.bb} (94%)meta/recipes-graphics/matchbox-wm/matchbox-wm_1.2.1.bb renamed from meta/recipes-graphics/matchbox-wm/matchbox-wm_git.bb +2 -3
@@ -10,9 +10,8 @@ LIC_FILES_CHKSUM = "file://src/wm.h;endline=21;md5=a7e844465edbcf79c282369f93caa SECTION = "x11/wm" DEPENDS = "libmatchbox virtual/libx11 libxext libxrender startup-notification expat gconf libxcursor libxfixes" -SRCREV = "8178e70d5c742c4cd63b51df228cc8aa3594d518" -PV = "1.2+git${SRCPV}" - +# SRCREV tagged 1.2.1 +SRCREV = "9fd1806dfa7c8f2202db18b7bc880857a3019f8c" SRC_URI = "git://git.yoctoproject.org/matchbox-window-manager \ file://kbdconfig"
Signature · 1 line
2.1.4
PATCH 8/37 connman-gnome: Add patch to port to Gtk+3
In reply to Jussi KukkonenUpstream is not really active anymore: patch the Gtk+3 upgrade in for now (long term solution is to change to another UI).
--- .../connman/connman-gnome_0.7.bb | 3 +- .../connman/connman/0001-Port-to-Gtk3.patch | 277 +++++++++++++++++++++ 2 files changed, 279 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-connectivity/connman/connman/0001-Port-to-Gtk3.patch
meta/recipes-connectivity/connman/connman-gnome_0.7.bb +2 -1
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=eb723b61539feef013de476e68b5c50a \ file://properties/main.c;beginline=1;endline=20;md5=50c77c81871308b033ab7a1504626afb \ file://common/connman-dbus.c;beginline=1;endline=20;md5=de6b485c0e717a0236402d220187717a" -DEPENDS = "gtk+ dbus-glib dbus-glib-native intltool-native gettext-native" +DEPENDS = "gtk+3 dbus-glib dbus-glib-native intltool-native gettext-native" # 0.7 tag SRCREV = "cf3c325b23dae843c5499a113591cfbc98acb143"
@@ -15,6 +15,7 @@ SRC_URI = "git://github.com/connectivity/connman-gnome.git \ file://null_check_for_ipv4_config.patch \ file://images/* \ file://connman-gnome-fix-dbus-interface-name.patch \ + file://0001-Port-to-Gtk3.patch \ " S = "${WORKDIR}/git"
meta/recipes-connectivity/connman/connman/0001-Port-to-Gtk3.patch new file +277 -0
277 lines not on this page · raw message
Signature · 1 line
2.1.4
PATCH 9/37 matchbox-keyboard: Enable GTK+3 IM module
In reply to Jussi Kukkonen* Build GTK+3 im module (and no GTK+2 by default)
* Fix FILES for this case
--- meta/recipes-sato/matchbox-keyboard/matchbox-keyboard_git.bb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
meta/recipes-sato/matchbox-keyboard/matchbox-keyboard_git.bb +4 -2
@@ -26,7 +26,7 @@ REQUIRED_DISTRO_FEATURES = "x11" EXTRA_OECONF = "--disable-cairo" -PACKAGECONFIG ??= "gtk2-im applet" +PACKAGECONFIG ??= "gtk3-im applet" PACKAGECONFIG[applet] = "--enable-applet,--disable-applet,matchbox-panel-2" PACKAGECONFIG[gtk2-im] = "--enable-gtk-im,--disable-gtk-im,gtk+" PACKAGECONFIG[gtk3-im] = "--enable-gtk3-im,--disable-gtk3-im,gtk+3"
@@ -39,7 +39,8 @@ FILES_${PN} = "${bindir}/ \ ${datadir}/pixmaps \ ${datadir}/matchbox-keyboard" -FILES_${PN}-im = "${libdir}/gtk-2.0/*/immodules/*.so" +FILES_${PN}-im = "${libdir}/gtk-2.0/*/immodules/*.so \ + ${libdir}/gtk-3.0/*/immodules/*.so" FILES_${PN}-applet = "${libdir}/matchbox-panel/*.so"
@@ -49,6 +50,7 @@ do_install_append () { install -m 755 ${WORKDIR}/80matchboxkeyboard.sh ${D}/${sysconfdir}/X11/Xsession.d/ rm -f ${D}${libdir}/gtk-2.0/*/immodules/*.la + rm -f ${D}${libdir}/gtk-3.0/*/immodules/*.la rm -f ${D}${libdir}/matchbox-panel/*.la }
Signature · 1 line
2.1.4
A message that is not in the archive (sent off-list or not yet received): 7ecc446309e1c0368ff482dce7f7978cff3fd6d7.1465288175.git.jussi.kukkone
[email protected]
Re: [PATCH 09/37] matchbox-keyboard: Enable GTK+3 IM module
Quoted 2 lines
* Build GTK+3 im module (and no GTK+2 by default)
* Fix FILES for this case
The upstream needs a version tag, used as PV in the recipe.
Alex
PATCH 10/37 packagegroup-core-x11: Use adwaita icons instead of sato
In reply to Jussi KukkonenAdwaita icon set is significantly more extensive (8MB vs 2MB). However, as pcmanfm already rrecommends adwaita-icon-theme, this change actually makes typical packagegroup-core-x11 smaller as a whole since sato-icon-theme is no longer required.
--- meta/recipes-sato/packagegroups/packagegroup-core-x11-sato.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-sato/packagegroups/packagegroup-core-x11-sato.bb +1 -1
@@ -30,7 +30,7 @@ RDEPENDS_${PN}-base = "\ matchbox-keyboard-im \ matchbox-config-gtk \ xcursor-transparent-theme \ - sato-icon-theme \ + adwaita-icon-theme \ settings-daemon \ gtk-sato-engine \ shutdown-desktop \
Signature · 1 line
2.1.4
PATCH 11/37 vte: Upgrade to 0.44.1
In reply to Jussi Kukkonen* License change LGPL 2.0 -> LGPL 2.1+
* vte-termcap is no more
* API break: current version seems to be parallel installable with old one, but I did not opt for that.
--- .../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 --- meta/recipes-support/vte/vte_0.28.2.bb | 16 --- meta/recipes-support/vte/vte_0.44.1.bb | 18 +++ 5 files changed, 18 insertions(+), 181 deletions(-) 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 delete mode 100644 meta/recipes-support/vte/vte_0.28.2.bb create mode 100644 meta/recipes-support/vte/vte_0.44.1.bb
meta/recipes-support/vte/vte-0.28.2/cve-2012-2738.patch deleted +0 -136
@@ -1,136 +0,0 @@ -Upstream-Status: Backport -CVE: CVE-2012-2738 -Signed-off-by: Ross Burton <[email protected]> - -From e524b0b3bd8fad844ffa73927c199545b892cdbd Mon Sep 17 00:00:00 2001 -From: Christian Persch <[email protected]> -Date: Sat, 19 May 2012 19:36:09 +0200 -Subject: [PATCH 1/2] emulation: Limit integer arguments to 65535 - -To guard against malicious sequences containing excessively big numbers, -limit all parsed numbers to 16 bit range. Doing this here in the parsing -routine is a catch-all guard; this doesn't preclude enforcing -more stringent limits in the handlers themselves. - -https://bugzilla.gnome.org/show_bug.cgi?id=676090 ---- - src/table.c | 2 +- - src/vteseq.c | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -diff --git a/src/table.c b/src/table.c -index 140e8c8..85cf631 100644 ---- a/src/table.c -+++ b/src/table.c -@@ -550,7 +550,7 @@ _vte_table_extract_numbers(GValueArray **array, - if (G_UNLIKELY (*array == NULL)) { - *array = g_value_array_new(1); - } -- g_value_set_long(&value, total); -+ g_value_set_long(&value, CLAMP (total, 0, G_MAXUSHORT)); - g_value_array_append(*array, &value); - } while (i++ < arginfo->length); - g_value_unset(&value); -diff --git a/src/vteseq.c b/src/vteseq.c -index 7ef4c8c..10991db 100644 ---- a/src/vteseq.c -+++ b/src/vteseq.c -@@ -557,7 +557,7 @@ vte_sequence_handler_multiple(VteTerminal *terminal, - GValueArray *params, - VteTerminalSequenceHandler handler) - { -- vte_sequence_handler_multiple_limited(terminal, params, handler, G_MAXLONG); -+ vte_sequence_handler_multiple_limited(terminal, params, handler, G_MAXUSHORT); - } - - static void --- -2.4.9 (Apple Git-60) - - -From cf1ad453a8def873c49cf6d88162593402f32bb2 Mon Sep 17 00:00:00 2001 -From: Christian Persch <[email protected]> -Date: Sat, 19 May 2012 20:04:12 +0200 -Subject: [PATCH 2/2] emulation: Limit repetitions - -Don't allow malicious sequences to cause excessive repetitions. - -https://bugzilla.gnome.org/show_bug.cgi?id=676090 ---- - src/vteseq.c | 25 ++++++++++++++++++------- - 1 file changed, 18 insertions(+), 7 deletions(-) - -diff --git a/src/vteseq.c b/src/vteseq.c -index 10991db..209522f 100644 ---- a/src/vteseq.c -+++ b/src/vteseq.c -@@ -1392,7 +1392,7 @@ vte_sequence_handler_dc (VteTerminal *terminal, GValueArray *params) - static void - vte_sequence_handler_DC (VteTerminal *terminal, GValueArray *params) - { -- vte_sequence_handler_multiple(terminal, params, vte_sequence_handler_dc); -+ vte_sequence_handler_multiple_r(terminal, params, vte_sequence_handler_dc); - } - - /* Delete a line at the current cursor position. */ -@@ -1785,7 +1785,7 @@ vte_sequence_handler_reverse_index (VteTerminal *terminal, GValueArray *params) - static void - vte_sequence_handler_RI (VteTerminal *terminal, GValueArray *params) - { -- vte_sequence_handler_multiple(terminal, params, vte_sequence_handler_nd); -+ vte_sequence_handler_multiple_r(terminal, params, vte_sequence_handler_nd); - } - - /* Save cursor (position). */ -@@ -2777,8 +2777,7 @@ vte_sequence_handler_insert_lines (VteTerminal *terminal, GValueArray *params) - { - GValue *value; - VteScreen *screen; -- long param, end, row; -- int i; -+ long param, end, row, i, limit; - screen = terminal->pvt->screen; - /* The default is one. */ - param = 1; -@@ -2796,7 +2795,13 @@ vte_sequence_handler_insert_lines (VteTerminal *terminal, GValueArray *params) - } else { - end = screen->insert_delta + terminal->row_count - 1; - } -- /* Insert the new lines at the cursor. */ -+ -+ /* Only allow to insert as many lines as there are between this row -+ * and the end of the scrolling region. See bug #676090. -+ */ -+ limit = end - row + 1; -+ param = MIN (param, limit); -+ - for (i = 0; i < param; i++) { - /* Clear a line off the end of the region and add one to the - * top of the region. */ -@@ -2817,8 +2822,7 @@ vte_sequence_handler_delete_lines (VteTerminal *terminal, GValueArray *params) - { - GValue *value; - VteScreen *screen; -- long param, end, row; -- int i; -+ long param, end, row, i, limit; - - screen = terminal->pvt->screen; - /* The default is one. */ -@@ -2837,6 +2841,13 @@ vte_sequence_handler_delete_lines (VteTerminal *terminal, GValueArray *params) - } else { - end = screen->insert_delta + terminal->row_count - 1; - } -+ -+ /* Only allow to delete as many lines as there are between this row -+ * and the end of the scrolling region. See bug #676090. -+ */ -+ limit = end - row + 1; -+ param = MIN (param, limit); -+ - /* Clear them from below the current cursor. */ - for (i = 0; i < param; i++) { - /* Insert a line at the end of the region and remove one from --- -2.4.9 (Apple Git-60) -
meta/recipes-support/vte/vte-0.28.2/obsolete_automake_macros.patch deleted +0 -14
@@ -1,14 +0,0 @@ -Upstream-Status: Submitted [https://bugzilla.gnome.org/show_bug.cgi?id=691545] - -Signed-off-by: Marko Lindqvist <[email protected]> -diff -Nurd vte-0.28.2/gnome-pty-helper/configure.in vte-0.28.2/gnome-pty-helper/configure.in ---- vte-0.28.2/gnome-pty-helper/configure.in 2010-07-15 20:08:44.000000000 +0300 -+++ vte-0.28.2/gnome-pty-helper/configure.in 2013-01-11 14:50:34.971027440 +0200 -@@ -8,7 +8,6 @@ - AC_ISC_POSIX - AC_PROG_CC - AC_STDC_HEADERS --AM_PROG_CC_STDC - - if test -z "$enable_maintainer_mode"; then - enable_maintainer_mode=yes
meta/recipes-support/vte/vte.inc deleted +0 -15
@@ -1,15 +0,0 @@ -SUMMARY = "Virtual terminal emulator GTK+ widget library" -BUGTRACKER = "https://bugzilla.gnome.org/buglist.cgi?product=vte" -LICENSE = "LGPLv2.0" -DEPENDS = " glib-2.0 gtk+ intltool-native ncurses" -RDEPENDS_libvte = "vte-termcap" - -inherit gnome gtk-doc distro_features_check upstream-version-is-even gobject-introspection -ANY_OF_DISTRO_FEATURES = "${GTK2DISTROFEATURES}" - -EXTRA_OECONF = "--disable-python" - -PACKAGES =+ "libvte vte-termcap" -FILES_libvte = "${libdir}/*.so.* ${libexecdir}/gnome-pty-helper" -FILES_vte-termcap = "${datadir}/vte/termcap-0.0" -
meta/recipes-support/vte/vte_0.28.2.bb deleted +0 -16
@@ -1,16 +0,0 @@ -require vte.inc - -LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7" - -PR = "r6" - -SRC_URI += "file://obsolete_automake_macros.patch \ - file://cve-2012-2738.patch \ - " - -CFLAGS += "-D_GNU_SOURCE" - -SRC_URI[archive.md5sum] = "497f26e457308649e6ece32b3bb142ff" -SRC_URI[archive.sha256sum] = "86cf0b81aa023fa93ed415653d51c96767f20b2d7334c893caba71e42654b0ae" - -RECIPE_NO_UPDATE_REASON = "matchbox-terminal needs to be ported over to new vte first"
meta/recipes-support/vte/vte_0.44.1.bb new file +18 -0
@@ -0,0 +1,18 @@ +SUMMARY = "Virtual terminal emulator GTK+ widget library" +BUGTRACKER = "https://bugzilla.gnome.org/buglist.cgi?product=vte" +LICENSE = "LGPLv2.1+" +DEPENDS = "glib-2.0 gtk+3 intltool-native" + +LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" +SRC_URI[archive.md5sum] = "20916d97a5902657e54307cc2757beee" +SRC_URI[archive.sha256sum] = "712dd548339f600fd7e221d12b2670a13a4361b2cd23ba0e057e76cc19fe5d4e" + +inherit gnomebase gtk-doc distro_features_check upstream-version-is-even vala gobject-introspection +ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}" + +PACKAGECONFIG[gnutls] = "--with-gnutls,--without-gnutls,gnutls" + +CFLAGS += "-D_GNU_SOURCE" + +PACKAGES =+ "libvte" +FILES_libvte = "${libdir}/*.so.*"
Signature · 1 line
2.1.4
PATCH 12/37 connman-gnome: Add patch to port to Gtk+3
In reply to Jussi KukkonenUpstream is not really active anymore: patch the Gtk+3 upgrade in for now (long term solution is to change to another UI).
--- .../connman/connman-gnome/0001-Port-to-Gtk3.patch | 277 +++++++++++++++++++++ .../connman/connman-gnome_0.7.bb | 2 +- 2 files changed, 278 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-connectivity/connman/connman-gnome/0001-Port-to-Gtk3.patch
meta/recipes-connectivity/connman/connman-gnome/0001-Port-to-Gtk3.patch new file +277 -0
@@ -0,0 +1,277 @@ +From a59b0fac02e74a971ac3f08bf28c17ce361a9526 Mon Sep 17 00:00:00 2001 +From: Jussi Kukkonen <[email protected]> +Date: Wed, 2 Mar 2016 15:47:49 +0200 +Subject: [PATCH] Port to Gtk3 + +Some unused (or not useful) code was removed, functionality should stay +the same. + +Code still contains quite a few uses of deprecated API. + +Upstream-Status: Submitted +Signed-off-by: Jussi Kukkonen <[email protected]> +--- + applet/agent.c | 3 +-- + applet/main.c | 43 ------------------------------------------- + applet/status.c | 8 -------- + configure.ac | 3 +-- + properties/ethernet.c | 14 +++++++------- + properties/main.c | 2 +- + properties/wifi.c | 12 ++++++------ + 7 files changed, 16 insertions(+), 69 deletions(-) + +diff --git a/applet/agent.c b/applet/agent.c +index 65bed08..04fe86a 100644 +--- a/applet/agent.c ++++ b/applet/agent.c +@@ -126,7 +126,6 @@ static void request_input_dialog(GHashTable *request, + gtk_window_set_position(GTK_WINDOW(dialog), GTK_WIN_POS_CENTER); + gtk_window_set_keep_above(GTK_WINDOW(dialog), TRUE); + gtk_window_set_urgency_hint(GTK_WINDOW(dialog), TRUE); +- gtk_dialog_set_has_separator(GTK_DIALOG(dialog), FALSE); + input->dialog = dialog; + + gtk_dialog_add_button(GTK_DIALOG(dialog), +@@ -139,7 +138,7 @@ static void request_input_dialog(GHashTable *request, + gtk_table_set_row_spacings(GTK_TABLE(table), 4); + gtk_table_set_col_spacings(GTK_TABLE(table), 20); + gtk_container_set_border_width(GTK_CONTAINER(table), 12); +- gtk_container_add(GTK_CONTAINER(GTK_DIALOG(dialog)->vbox), table); ++ gtk_container_add(GTK_CONTAINER(gtk_dialog_get_content_area (GTK_DIALOG(dialog))), table); + + label = gtk_label_new(_("Please provide some network information:")); + gtk_misc_set_alignment(GTK_MISC(label), 0.0, 0.0); +diff --git a/applet/main.c b/applet/main.c +index f12d371..cd16285 100644 +--- a/applet/main.c ++++ b/applet/main.c +@@ -157,46 +157,6 @@ static void name_owner_changed(DBusGProxy *proxy, const char *name, + } + } + +-static void open_uri(GtkWindow *parent, const char *uri) +-{ +- GtkWidget *dialog; +- GdkScreen *screen; +- GError *error = NULL; +- gchar *cmdline; +- +- screen = gtk_window_get_screen(parent); +- +- cmdline = g_strconcat("xdg-open ", uri, NULL); +- +- if (gdk_spawn_command_line_on_screen(screen, +- cmdline, &error) == FALSE) { +- dialog = gtk_message_dialog_new(parent, +- GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_ERROR, +- GTK_BUTTONS_CLOSE, "%s", error->message); +- gtk_dialog_run(GTK_DIALOG(dialog)); +- gtk_widget_destroy(dialog); +- g_error_free(error); +- } +- +- g_free(cmdline); +-} +- +-static void about_url_hook(GtkAboutDialog *dialog, +- const gchar *url, gpointer data) +-{ +- open_uri(GTK_WINDOW(dialog), url); +-} +- +-static void about_email_hook(GtkAboutDialog *dialog, +- const gchar *email, gpointer data) +-{ +- gchar *uri; +- +- uri = g_strconcat("mailto:", email, NULL); +- open_uri(GTK_WINDOW(dialog), uri); +- g_free(uri); +-} +- + static void about_callback(GtkWidget *item, gpointer user_data) + { + const gchar *authors[] = { +@@ -204,9 +164,6 @@ static void about_callback(GtkWidget *item, gpointer user_data) + NULL + }; + +- gtk_about_dialog_set_url_hook(about_url_hook, NULL, NULL); +- gtk_about_dialog_set_email_hook(about_email_hook, NULL, NULL); +- + gtk_show_about_dialog(NULL, "version", VERSION, + "copyright", "Copyright \xc2\xa9 2008 Intel Corporation", + "comments", _("A connection manager for the GNOME desktop"), +diff --git a/applet/status.c b/applet/status.c +index aed6f1e..015ff29 100644 +--- a/applet/status.c ++++ b/applet/status.c +@@ -102,8 +102,6 @@ static void icon_animation_start(IconAnimation *animation, + { + available = TRUE; + +- gtk_status_icon_set_tooltip(statusicon, NULL); +- + animation->start = start; + animation->end = (end == 0) ? animation->count - 1 : end; + +@@ -120,8 +118,6 @@ static void icon_animation_stop(IconAnimation *animation) + { + available = TRUE; + +- gtk_status_icon_set_tooltip(statusicon, NULL); +- + if (animation->id > 0) + g_source_remove(animation->id); + +@@ -251,8 +247,6 @@ void status_unavailable(void) + available = FALSE; + + gtk_status_icon_set_from_pixbuf(statusicon, pixbuf_notifier); +- gtk_status_icon_set_tooltip(statusicon, +- "Connection Manager daemon is not running"); + + gtk_status_icon_set_visible(statusicon, TRUE); + } +@@ -299,7 +293,6 @@ static void set_ready(gint signal) + + if (signal < 0) { + gtk_status_icon_set_from_pixbuf(statusicon, pixbuf_wired); +- gtk_status_icon_set_tooltip(statusicon, NULL); + return; + } + +@@ -311,7 +304,6 @@ static void set_ready(gint signal) + index = 4; + + gtk_status_icon_set_from_pixbuf(statusicon, pixbuf_signal[index]); +- gtk_status_icon_set_tooltip(statusicon, NULL); + } + + struct timeout_data { +diff --git a/configure.ac b/configure.ac +index b972e07..a4dad5d 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -55,8 +55,7 @@ AC_SUBST(DBUS_LIBS) + DBUS_BINDING_TOOL="dbus-binding-tool" + AC_SUBST(DBUS_BINDING_TOOL) + +-PKG_CHECK_MODULES(GTK, gtk+-2.0 >= 2.8, dummy=yes, +- AC_MSG_ERROR(gtk+ >= 2.8 is required)) ++PKG_CHECK_MODULES(GTK, gtk+-3.0) + AC_SUBST(GTK_CFLAGS) + AC_SUBST(GTK_LIBS) + +diff --git a/properties/ethernet.c b/properties/ethernet.c +index 31db7a0..0b6b423 100644 +--- a/properties/ethernet.c ++++ b/properties/ethernet.c +@@ -82,7 +82,7 @@ void add_ethernet_switch_button(GtkWidget *mainbox, GtkTreeIter *iter, + gtk_container_set_border_width(GTK_CONTAINER(vbox), 24); + gtk_box_pack_start(GTK_BOX(mainbox), vbox, FALSE, FALSE, 0); + +- table = gtk_table_new(1, 1, TRUE); ++ table = gtk_table_new(1, 1, FALSE); + gtk_table_set_row_spacings(GTK_TABLE(table), 10); + gtk_table_set_col_spacings(GTK_TABLE(table), 10); + gtk_box_pack_start(GTK_BOX(vbox), table, FALSE, FALSE, 0); +@@ -136,7 +136,7 @@ void add_ethernet_service(GtkWidget *mainbox, GtkTreeIter *iter, struct config_d + gtk_container_set_border_width(GTK_CONTAINER(vbox), 24); + gtk_box_pack_start(GTK_BOX(mainbox), vbox, FALSE, FALSE, 0); + +- table = gtk_table_new(5, 5, TRUE); ++ table = gtk_table_new(5, 5, FALSE); + gtk_table_set_row_spacings(GTK_TABLE(table), 10); + gtk_table_set_col_spacings(GTK_TABLE(table), 10); + gtk_box_pack_start(GTK_BOX(vbox), table, FALSE, FALSE, 0); +@@ -144,9 +144,9 @@ void add_ethernet_service(GtkWidget *mainbox, GtkTreeIter *iter, struct config_d + label = gtk_label_new(_("Configuration:")); + gtk_table_attach_defaults(GTK_TABLE(table), label, 1, 2, 0, 1); + +- combo = gtk_combo_box_new_text(); +- gtk_combo_box_append_text(GTK_COMBO_BOX(combo), "DHCP"); +- gtk_combo_box_append_text(GTK_COMBO_BOX(combo), "MANUAL"); ++ combo = gtk_combo_box_text_new(); ++ gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(combo), "DHCP"); ++ gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(combo), "MANUAL"); + gtk_combo_box_set_row_separator_func(GTK_COMBO_BOX(combo), + separator_function, NULL, NULL); + gtk_table_attach_defaults(GTK_TABLE(table), combo, 2, 4, 0, 1); +@@ -219,7 +219,7 @@ void update_ethernet_ipv4(struct config_data *data, guint policy) + case CONNMAN_POLICY_DHCP: + gtk_combo_box_set_active(GTK_COMBO_BOX(combo), 0); + for (i = 0; i < 3; i++) { +- gtk_entry_set_editable(GTK_ENTRY(entry[i]), 0); ++ gtk_editable_set_editable(GTK_EDITABLE(entry[i]), 0); + gtk_widget_set_sensitive(entry[i], 0); + gtk_entry_set_text(GTK_ENTRY(entry[i]), _("")); + } +@@ -227,7 +227,7 @@ void update_ethernet_ipv4(struct config_data *data, guint policy) + case CONNMAN_POLICY_MANUAL: + gtk_combo_box_set_active(GTK_COMBO_BOX(combo), 1); + for (i = 0; i < 3; i++) { +- gtk_entry_set_editable(GTK_ENTRY(entry[i]), 1); ++ gtk_editable_set_editable(GTK_EDITABLE(entry[i]), 1); + gtk_widget_set_sensitive(entry[i], 1); + } + break; +diff --git a/properties/main.c b/properties/main.c +index c05f443..6f76361 100644 +--- a/properties/main.c ++++ b/properties/main.c +@@ -429,7 +429,7 @@ static GtkWidget *create_interfaces(GtkWidget *window) + + scrolled = gtk_scrolled_window_new(NULL, NULL); + gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(scrolled), +- GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); ++ GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC); + gtk_scrolled_window_set_shadow_type(GTK_SCROLLED_WINDOW(scrolled), + GTK_SHADOW_OUT); + gtk_box_pack_start(GTK_BOX(hbox), scrolled, FALSE, TRUE, 0); +diff --git a/properties/wifi.c b/properties/wifi.c +index bd325ef..a5827e0 100644 +--- a/properties/wifi.c ++++ b/properties/wifi.c +@@ -125,7 +125,7 @@ void add_wifi_switch_button(GtkWidget *mainbox, GtkTreeIter *iter, + gtk_container_set_border_width(GTK_CONTAINER(vbox), 24); + gtk_box_pack_start(GTK_BOX(mainbox), vbox, FALSE, FALSE, 0); + +- table = gtk_table_new(1, 1, TRUE); ++ table = gtk_table_new(1, 1, FALSE); + gtk_table_set_row_spacings(GTK_TABLE(table), 10); + gtk_table_set_col_spacings(GTK_TABLE(table), 10); + gtk_box_pack_start(GTK_BOX(vbox), table, FALSE, FALSE, 0); +@@ -185,9 +185,9 @@ static void wifi_ipconfig(GtkWidget *table, struct config_data *data, GtkTreeIte + gtk_table_attach_defaults(GTK_TABLE(table), label, 1, 2, 3, 4); + data->ipv4.label[0] = label; + +- combo = gtk_combo_box_new_text(); +- gtk_combo_box_append_text(GTK_COMBO_BOX(combo), "DHCP"); +- gtk_combo_box_append_text(GTK_COMBO_BOX(combo), "Manual"); ++ combo = gtk_combo_box_text_new(); ++ gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(combo), "DHCP"); ++ gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(combo), "Manual"); + + gtk_combo_box_set_row_separator_func(GTK_COMBO_BOX(combo), + separator_function, NULL, NULL); +@@ -335,14 +335,14 @@ void update_wifi_ipv4(struct config_data *data, guint policy) + case CONNMAN_POLICY_DHCP: + gtk_combo_box_set_active(GTK_COMBO_BOX(combo), 0); + for (i = 0; i < 3; i++) { +- gtk_entry_set_editable(GTK_ENTRY(entry[i]), 0); ++ gtk_editable_set_editable(GTK_EDITABLE(entry[i]), 0); + gtk_widget_set_sensitive(entry[i], 0); + } + break; + case CONNMAN_POLICY_MANUAL: + gtk_combo_box_set_active(GTK_COMBO_BOX(combo), 1); + for (i = 0; i < 3; i++) { +- gtk_entry_set_editable(GTK_ENTRY(entry[i]), 1); ++ gtk_editable_set_editable(GTK_EDITABLE(entry[i]), 1); + gtk_widget_set_sensitive(entry[i], 1); + } + break; +-- +2.8.1 +
meta/recipes-connectivity/connman/connman-gnome_0.7.bb +1 -1
@@ -21,7 +21,7 @@ SRC_URI = "git://github.com/connectivity/connman-gnome.git \ S = "${WORKDIR}/git" inherit autotools-brokensep gtk-icon-cache pkgconfig distro_features_check -ANY_OF_DISTRO_FEATURES = "${GTK2DISTROFEATURES}" +ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}" RDEPENDS_${PN} = "connman"
Signature · 1 line
2.1.4
A message that is not in the archive (sent off-list or not yet received): 32a173b655f72d7fa125f2207dfb8be29029fc3a.1465288175.git.jussi.kukkone
[email protected]
Re: [PATCH 12/37] connman-gnome: Add patch to port to Gtk+3
Quoted 2 lines
Upstream is not really active anymore: patch the Gtk+3 upgrade in for now (long term solution is to change to another UI).
This should be squashed with 08/37.
Alex
PATCH 13/37 matchbox-terminal: Upgrade to 0.1
In reply to Jussi KukkonenNew version uses Gtk+3 and a more modern Vte.
---
.../{matchbox-terminal_git.bb => matchbox-terminal_0.1.bb} | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
rename meta/recipes-sato/matchbox-terminal/{matchbox-terminal_git.bb => matchbox-terminal_0.1.bb} (76%)meta/recipes-sato/matchbox-terminal/matchbox-terminal_0.1.bb renamed from meta/recipes-sato/matchbox-terminal/matchbox-terminal_git.bb +4 -4
@@ -6,15 +6,15 @@ LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ file://main.c;endline=20;md5=96e39176d9e355639a0b8b1c7a840820" -DEPENDS = "gtk+ vte" +DEPENDS = "gtk+3 vte" SECTION = "x11/utils" -SRCREV = "452bca253492a97a587f440289b9ab27d217353e" -PV = "0.0+git${SRCPV}" +#SRCREV tagged 0.1 +SRCREV = "3ad357db2302760b8a8817b5f4478dd87479442f" SRC_URI = "git://git.yoctoproject.org/${BPN}" S = "${WORKDIR}/git" inherit autotools pkgconfig distro_features_check -ANY_OF_DISTRO_FEATURES = "${GTK2DISTROFEATURES}" +ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
Signature · 1 line
2.1.4
PATCH 14/37 packagegroup-core-x11-sato: Use puzzles instead of oh-puzzles
In reply to Jussi Kukkonenpuzzles has Gtk+3 support, let's use that instead of the oh fork.
--- meta/recipes-sato/packagegroups/packagegroup-core-x11-sato.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-sato/packagegroups/packagegroup-core-x11-sato.bb +1 -1
@@ -57,5 +57,5 @@ RDEPENDS_${PN}-apps = "\ SUMMARY_${PN}-games = "Sato desktop - games" RDEPENDS_${PN}-games = "\ - oh-puzzles \ + puzzles \ "
Signature · 1 line
2.1.4
PATCH 15/37 puzzles: Use Gtk+3 by default
In reply to Jussi KukkonenAlso split the puzzles into two packages (just like the old oh-puzzles).
--- meta/recipes-sato/puzzles/puzzles_git.bb | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-)
meta/recipes-sato/puzzles/puzzles_git.bb +15 -3
@@ -23,16 +23,28 @@ S = "${WORKDIR}/git" inherit autotools-brokensep distro_features_check pkgconfig -PACKAGECONFIG ??= "gtk2" +PACKAGECONFIG ??= "gtk3" PACKAGECONFIG[gtk2] = "--with-gtk=2,,gtk+," PACKAGECONFIG[gtk3] = "--with-gtk=3,,gtk+3," +PACKAGES += "${PN}-extra" +FILES_${PN} = "" +FILES_${PN}-extra = "${prefix}/bin ${datadir}/applications" + +python __anonymous () { + var = bb.data.expand("FILES_${PN}", d, 1) + data = d.getVar(var, True) + for name in ("bridges", "fifteen", "inertia", "map", "samegame", "slant"): + data = data + " ${prefix}/bin/%s" % name + data = data + " ${datadir}/applications/%s.desktop" % name + d.setVar(var, data) +} + + do_configure_prepend () { ./mkfiles.pl } -FILES_${PN} = "${prefix}/bin/* ${datadir}/applications/*" - do_install () { rm -rf ${D}/* export prefix=${D}
Signature · 1 line
2.1.4
PATCH 16/37 oh-puzzles: Remove as we're using puzzles now
In reply to Jussi Kukkonen--- .../puzzles/files/oh-puzzles-owl-menu.patch | 203 --------------------- meta/recipes-sato/puzzles/oh-puzzles_git.bb | 73 -------- 2 files changed, 276 deletions(-) delete mode 100644 meta/recipes-sato/puzzles/files/oh-puzzles-owl-menu.patch delete mode 100644 meta/recipes-sato/puzzles/oh-puzzles_git.bb
meta/recipes-sato/puzzles/files/oh-puzzles-owl-menu.patch deleted +0 -203
@@ -1,203 +0,0 @@ -This patch enable owl menu, which is hidden in the title bar to save space on -small screen. It has not been used for a long time, rebase needed. - -Upstream-Status: Inappropriate [enable feature] - -Index: src/gtk.c -=================================================================== ---- src/gtk.c (revision 22) -+++ src/gtk.c (working copy) -@@ -28,6 +28,8 @@ - #include <gdk/gdkx.h> - #include <gdk-pixbuf/gdk-pixbuf.h> - -+#include <libowl/owlwindowmenu.h> -+ - #include <librsvg/rsvg.h> - - #include <X11/Xlib.h> -@@ -1237,6 +1239,7 @@ - } - } - -+#if 0 - static void - add_widget (GtkUIManager *merge, - GtkWidget *widget, -@@ -1247,10 +1250,11 @@ - gtk_box_pack_start (box, widget, FALSE, FALSE, 0); - - toplevel = gtk_widget_get_toplevel (GTK_WIDGET (box)); -- gtk_widget_show_all (toplevel); - } -+#endif - - static GtkActionEntry toplevel_actions[] = { -+ { "Top", NULL, "" }, - { "Game", NULL, N_("Game") }, - { "Settings", NULL, N_("Settings") }, - { "Help", NULL, N_("Help") }, -@@ -1303,11 +1307,13 @@ - frontend *fe) - { - GString *xml; -+ GError *error = NULL; - gboolean presets = FALSE; - GSList *radio_group = NULL; - int i; - -- xml = g_string_new ("<ui><menubar><placeholder name=\"TypePlaceholder\">" -+ xml = g_string_new ("<ui><menubar><menu name=\"TopMenu\" action=\"Top\">" -+ "<placeholder name=\"TypePlaceholder\">" - "<menu name=\"SettingsMenu\" action=\"Settings\">"); - - for (i = 0; i < midend_num_presets(fe->me); i++) { -@@ -1359,8 +1365,14 @@ - "<menuitem name=\"CustomMenu\" action=\"Custom\"/>"); - } - -- g_string_append (xml, "</menu></placeholder></menubar></ui>"); -- gtk_ui_manager_add_ui_from_string (merge, xml->str, -1, NULL); -+ g_string_append (xml, "</menu></placeholder></menu></menubar></ui>"); -+ -+ gtk_ui_manager_add_ui_from_string (merge, xml->str, -1, &error); -+ if (error != NULL) { -+ g_warning ("Error adding custom: %s", error->message); -+ g_error_free (error); -+ } -+ - g_string_free (xml, TRUE); - } - -@@ -1434,6 +1446,7 @@ - new_window(char *arg, char **error) - { - frontend *fe; -+ GError *err = NULL; - GtkBox *vbox; - GtkUIManager *merge; - GtkActionGroup *actions; -@@ -1496,8 +1509,6 @@ - gtk_window_add_accel_group(GTK_WINDOW(fe->window), fe->accelgroup); - - merge = gtk_ui_manager_new (); -- g_signal_connect (G_OBJECT (merge), "add_widget", -- G_CALLBACK (add_widget), vbox); - - actions = gtk_action_group_new ("PuzzleActions"); - gtk_action_group_add_actions (actions, toplevel_actions, -@@ -1509,22 +1520,39 @@ - - gtk_ui_manager_insert_action_group (merge, actions, 0); - -- gtk_ui_manager_add_ui_from_file (merge, DATADIR "/oh-puzzles/ui/menu.xml", NULL); -+ gtk_ui_manager_add_ui_from_file (merge, DATADIR "/oh-puzzles/ui/menu.xml", -+ &err); -+ if (err != NULL) { -+ g_warning ("Error making UI: %s", err->message); -+ g_error_free (err); -+ err = NULL; -+ } - - if (thegame.can_solve) { -- char *str = "<ui><menubar><menu name=\"GameMenu\" action=\"Game\">" -+ char *str = "<ui><menubar><menu name=\"TopMenu\" action=\"Top\">" -+ "<menu name=\"GameMenu\" action=\"Game\">" - "<placeholder name=\"SolvePlaceholder\">" - "<separator name=\"SolveSep\"/>" - "<menuitem name=\"SolveMenu\" action=\"Solve\"/>" -- "</placeholder></menu></menubar></ui>"; -+ "</placeholder></menu></menu></menubar></ui>"; - -- gtk_ui_manager_add_ui_from_string (merge, str, -1, NULL); -+ gtk_ui_manager_add_ui_from_string (merge, str, -1, &err); -+ if (err != NULL) { -+ g_warning ("Error adding solve. %s", err->message); -+ g_error_free (err); -+ } - } - - if ((n = midend_num_presets(fe->me)) > 0 || thegame.can_configure) { - generate_settings_menu (merge, actions, fe); - } - -+ /* Do this so that the menu is packed now instead of in the idle loop */ -+ gtk_ui_manager_ensure_update (merge); -+ -+ owl_set_window_menu_item (GTK_WINDOW (fe->window), -+ GTK_MENU_ITEM (gtk_ui_manager_get_widget (merge, "/menubar/TopMenu"))); -+ - setup_colours (fe); - setup_pixbufs (fe); - -@@ -1572,7 +1600,7 @@ - GDK_BUTTON_RELEASE_MASK | - GDK_BUTTON_MOTION_MASK); - -- /* The window is shown once the menubar has been added */ -+ gtk_widget_show_all (fe->window); - return fe; - } - -Index: src/menu.xml -=================================================================== ---- src/menu.xml (revision 22) -+++ src/menu.xml (working copy) -@@ -1,26 +1,25 @@ - <ui> - <menubar> --<menu name="GameMenu" action="Game"> -- <menuitem name="NewMenu" action="New"/> -- <menuitem name="RestartMenu" action="Restart"/> --<!-- <menuitem name="SpecificMenu" action="Specific"/> --> -- <menuitem name="RandomMenu" action="Random"/> -- <separator name="GameSep1"/> -- <menuitem name="LoadMenu" action="Load"/> -- <menuitem name="SaveMenu" action="Save"/> -- <separator name="GameSep2"/> -- <menuitem name="UndoMenu" action="Undo"/> -- <menuitem name="RedoMenu" action="Redo"/> -- <placeholder name="CopyPlaceholder"/> -- <placeholder name="SolvePlaceholder"/> -- <separator name="GameSep3"/> -- <menuitem name="QuitMenu" action="Quit"/> --</menu> -+<menu name="TopMenu" action="Top"> -+ <menu name="GameMenu" action="Game"> -+ <menuitem name="NewMenu" action="New"/> -+ <menuitem name="RestartMenu" action="Restart"/> -+ <!-- <menuitem name="SpecificMenu" action="Specific"/> --> -+ <menuitem name="RandomMenu" action="Random"/> -+ <separator name="GameSep1"/> -+ <menuitem name="LoadMenu" action="Load"/> -+ <menuitem name="SaveMenu" action="Save"/> -+ <separator name="GameSep2"/> -+ <menuitem name="UndoMenu" action="Undo"/> -+ <menuitem name="RedoMenu" action="Redo"/> -+ <placeholder name="CopyPlaceholder"/> -+ <placeholder name="SolvePlaceholder"/> -+ </menu> - --<placeholder name="TypePlaceholder"/> -- --<menu name="HelpMenu" action="Help"> -+ <placeholder name="TypePlaceholder"/> - <menuitem name="AboutMenu" action="About"/> -+ <menuitem name="QuitMenu" action="Quit"/> -+ - </menu> - </menubar> - </ui> -Index: src/Makefile.am -=================================================================== ---- src/Makefile.am (revision 22) -+++ src/Makefile.am (working copy) -@@ -10,7 +10,7 @@ - lightup loopy map mines net netslide pattern pegs rect samegame \ - sixteen slant solo tents twiddle untangle - --libpuzzles_la_LIBADD = $(PUZZLES_LIBS) -+libpuzzles_la_LIBADD = $(PUZZLES_LIBS) -lowl - libpuzzles_la_SOURCES = combi.c \ - configuration.c \ - drawing.c \
meta/recipes-sato/puzzles/oh-puzzles_git.bb deleted +0 -73
73 lines not on this page · raw message
Signature · 1 line
2.1.4
PATCH 17/37 gst-player: Start building with Gtk+3
In reply to Jussi KukkonenDrop the patch that added gtk+2 support.
Use an icon that is found in adwaita icon theme.
--- .../gstreamer/gst-player/gst-player.desktop | 2 +- .../gstreamer/gst-player/gtk2.patch | 71 ---------------------- .../recipes-multimedia/gstreamer/gst-player_git.bb | 5 +- 3 files changed, 3 insertions(+), 75 deletions(-) delete mode 100644 meta/recipes-multimedia/gstreamer/gst-player/gtk2.patch
meta/recipes-multimedia/gstreamer/gst-player/gst-player.desktop +1 -1
@@ -1,7 +1,7 @@ [Desktop Entry] Name=Media Player Comment=Basic media player -Icon=audio-player +Icon=multimedia-player TryExec=gtk-play Exec=gtk-play StartupNotify=true
meta/recipes-multimedia/gstreamer/gst-player/gtk2.patch deleted +0 -71
71 lines not on this page · raw message
meta/recipes-multimedia/gstreamer/gst-player_git.bb +2 -3
@@ -2,11 +2,10 @@ SUMMARY = "GStreamer playback helper library and examples" LICENSE = "LGPL-2.0+" LIC_FILES_CHKSUM = "file://lib/gst/player/gstplayer.c;beginline=1;endline=19;md5=03aeca9d8295f811817909075a15ff65" -DEPENDS = "glib-2.0 gstreamer1.0 gstreamer1.0-plugins-base gtk+" +DEPENDS = "glib-2.0 gstreamer1.0 gstreamer1.0-plugins-base gtk+3" SRC_URI = "git://github.com/sdroege/gst-player.git \ file://filechooser.patch \ - file://gtk2.patch \ file://Fix-pause-play.patch \ file://Add-error-signal-emission-for-missing-plugins.patch \ file://gst-player.desktop"
@@ -17,7 +16,7 @@ S = "${WORKDIR}/git" inherit autotools gtk-doc lib_package pkgconfig distro_features_check gobject-introspection -ANY_OF_DISTRO_FEATURES = "${GTK2DISTROFEATURES}" +ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}" do_configure_prepend() { touch ${S}/ChangeLog
Signature · 1 line
2.1.4
PATCH 18/37 matchbox-config-gtk: Upgrade to 0.2
In reply to Jussi KukkonenNew version supports Gtk+3.
Rebase the patch.
---
.../matchbox-config-gtk/files/no-handed.patch | 26 +++++++++++++---------
...onfig-gtk_git.bb => matchbox-config-gtk_0.2.bb} | 11 +++++----
2 files changed, 20 insertions(+), 17 deletions(-)
rename meta/recipes-sato/matchbox-config-gtk/{matchbox-config-gtk_git.bb => matchbox-config-gtk_0.2.bb} (80%)meta/recipes-sato/matchbox-config-gtk/files/no-handed.patch +15 -11
@@ -1,10 +1,13 @@ Upstream-Status: Inappropriate [configuration] +--- + appearance/mb-appearance.c | 4 ++++ + 1 file changed, 4 insertions(+) -Index: appearance/mb-appearance.c -=================================================================== ---- appearance/mb-appearance.c (revision 1614) -+++ appearance/mb-appearance.c (working copy) -@@ -300,11 +300,13 @@ +diff --git a/appearance/mb-appearance.c b/appearance/mb-appearance.c +index 6af8376..71fd57b 100644 +--- a/appearance/mb-appearance.c ++++ b/appearance/mb-appearance.c +@@ -317,11 +317,13 @@ on_gconf_value_changed (GConfClient* client, const gchar* key, GConfValue* value gtk_font_button_set_font_name (GTK_FONT_BUTTON (font_button), gconf_value_get_string (value)); } else if (strcmp (key, HANDED_KEY) == 0) {
@@ -18,18 +21,19 @@ Index: appearance/mb-appearance.c } } -@@ -395,12 +397,13 @@ - gtk_container_add (GTK_CONTAINER (align), font_button); +@@ -408,10 +410,12 @@ main (int argc, char **argv) { /* Left/Right Handed */ -- + +#if 0 - frame = new_frame (_("Orientation"), &align); - gtk_box_pack_start (GTK_BOX (box), frame, TRUE, TRUE, 0); handed_check = gtk_check_button_new_with_mnemonic (_("_Left-handed")); + frame = new_frame (_("Orientation"),handed_check); + gtk_box_pack_start (GTK_BOX (box), frame, TRUE, TRUE, 0); g_signal_connect (handed_check, "toggled", G_CALLBACK (on_handed_set), NULL); - gtk_container_add (GTK_CONTAINER (align), handed_check); +#endif gconf_client_add_dir (gconf, INTERFACE_DIR, GCONF_CLIENT_PRELOAD_ONELEVEL, NULL); g_signal_connect (gconf, "value-changed", G_CALLBACK (on_gconf_value_changed), NULL); +-- +2.8.1 +
meta/recipes-sato/matchbox-config-gtk/matchbox-config-gtk_0.2.bb renamed from meta/recipes-sato/matchbox-config-gtk/matchbox-config-gtk_git.bb +5 -6
@@ -6,17 +6,16 @@ LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ file://appearance/mb-appearance.c;endline=25;md5=ea92333cf8a6802639d62d874c114a28" -DEPENDS = "gconf gtk+" +DEPENDS = "gconf gtk+3" RDEPENDS_${PN} = "settings-daemon" -SRCREV = "3ed74dfb7c57be088a5ab36e446c0ccde9fa1028" -PV = "0.0+git${SRCPV}" +# SRCREV tagged 0.2 +SRCREV = "ef2192ce98d9374ffdad5f78544c3f8f353c16aa" +SRC_URI = "git://git.yoctoproject.org/${BPN} \ + file://no-handed.patch" S = "${WORKDIR}/git" -SRC_URI = "git://git.yoctoproject.org/${BPN} \ - file://no-handed.patch;striplevel=0" - inherit autotools pkgconfig distro_features_check # The settings-daemon requires x11 in DISTRO_FEATURES
Signature · 1 line
2.1.4
PATCH 19/37 distcc: Disable GTK UI by default
In reply to Jussi KukkonenIn the effort to drop GTK+2 from typical images, disable distcc GUI by default. distccmon-text is still available.
--- meta/recipes-devtools/distcc/distcc_3.2.bb | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)
meta/recipes-devtools/distcc/distcc_3.2.bb +1 -4
@@ -7,10 +7,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" DEPENDS = "avahi binutils" -GTKCONFIG = "gtk" -GTKCONFIG_libc-uclibc = "" - -PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', '${GTKCONFIG}', '', d)} popt" +PACKAGECONFIG ??= "popt" PACKAGECONFIG[gtk] = "--with-gtk,--without-gtk --without-gnome,gtk+" # use system popt by default PACKAGECONFIG[popt] = "--without-included-popt,--with-included-popt,popt"
Signature · 1 line
2.1.4
PATCH 20/37 leafpad: Replace with L3afpad
In reply to Jussi KukkonenL3afpad is a GTK+3 fork of leafpad.
--- .../packagegroups/packagegroup-self-hosted.bb | 2 +- .../builder/files/builder_session.sh | 4 +- 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 ---------- .../packagegroups/packagegroup-core-x11-sato.bb | 2 +- 8 files changed, 27 insertions(+), 195 deletions(-) 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
meta/recipes-core/packagegroups/packagegroup-self-hosted.bb +1 -1
@@ -193,7 +193,7 @@ RDEPENDS_packagegroup-self-hosted-graphics = "\ gtk-theme-clearlooks \ xdg-utils \ epiphany \ - leafpad \ + l3afpad \ pcmanfm \ vte \ "
meta/recipes-graphics/builder/files/builder_session.sh +2 -2
@@ -23,8 +23,8 @@ if [ ! -d /home/builder/.local/share/applications ]; then xdg-mime default epiphany.desktop x-scheme-handler/https xdg-mime default epiphany.desktop text/html - #register text files with leafpad text editor - xdg-mime default leafpad.desktop text/plain + #register text files with l3afpad text editor + xdg-mime default l3afpad.desktop text/plain fi cd /home/builder/poky
meta/recipes-sato/l3afpad/l3afpad_git.bb new file +23 -0
@@ -0,0 +1,23 @@ +SUMMARY = "Simple GTK+ Text Editor" +HOMEPAGE = "https://github.com/stevenhoneyman/l3afpad" + +# Note that COPYING seems to mistakenly contain LGPLv2.1. +# The source code is marked GPLv2+ and COPYING used to contain +# that as well. +LICENSE = "GPLv2+" +LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c \ + file://src/l3afpad.h;endline=20;md5=8848fd645cd45115d8cb47ca5c42a50e \ + file://src/utils.c;endline=20;md5=ae4792f69d3bb7b7ba91d582ba9b1a05" + +DEPENDS = "gtk+3 intltool-native gettext-native" + +PV = "0.8.18.1.11+git${SRCPV}" +SRC_URI = "git://github.com/stevenhoneyman/l3afpad.git" +SRCREV ="3cdccdc9505643e50f8208171d9eee5de11a42ff" + +S = "${WORKDIR}/git" + +inherit autotools pkgconfig distro_features_check + +EXTRA_OECONF = "--disable-emacs --disable-print" +FILES_${PN} += "${datadir}/icons"
meta/recipes-sato/leafpad/files/leafpad.desktop deleted +0 -10
@@ -1,10 +0,0 @@ -[Desktop Entry] -Name=Notes -Exec=/usr/bin/leafpad -Comment=Text Editor -Icon=accessories-text-editor -Terminal=false -Type=Application -Categories=GTK;Utility;TextEditor; -X-MB-SingleInstance=true -StartupNotify=true
meta/recipes-sato/leafpad/files/owl-menu.patch deleted +0 -63
63 lines not on this page · raw message
meta/recipes-sato/leafpad/files/src-dialog-gtkprint-.c-Fix-security-formatting-issue.patch deleted +0 -81
81 lines not on this page · raw message
meta/recipes-sato/leafpad/leafpad_0.8.18.1.bb deleted +0 -37
@@ -1,37 +0,0 @@ -SUMMARY = "Simple GTK+ Text Editor" -HOMEPAGE = "http://tarot.freeshell.org/leafpad/" - -LICENSE = "GPLv2 & GPLv2+" -LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ - file://src/leafpad.h;endline=20;md5=d3d6a89f5e61e8b13bdea537511ba1fa \ - file://src/utils.c;endline=20;md5=0d2cc6584ba3202448bb274f62739571" - -DEPENDS = "gtk+ intltool-native libowl gettext-native" -# The libowl requires x11 in DISTRO_FEATURES -REQUIRED_DISTRO_FEATURES = "x11" - -SRC_URI = "${SAVANNAH_NONGNU_MIRROR}/${BPN}/${BPN}-${PV}.tar.gz \ - file://leafpad.desktop \ - file://src-dialog-gtkprint-.c-Fix-security-formatting-issue.patch \ - " - -SRC_URI[md5sum] = "254a72fc67505e3aa52884c729cd7b97" -SRC_URI[sha256sum] = "959d22ae07f22803bc66ff40d373a854532a6e4732680bf8a96a3fbcb9f80a2c" -PR = "r2" - -SRC_URI_append_poky = " file://owl-menu.patch;apply=yes " - -inherit autotools pkgconfig distro_features_check - -EXTRA_OECONF = " --enable-chooser --disable-emacs --disable-print" - -do_install_append () { - install -d ${D}/${datadir} - install -d ${D}/${datadir}/applications - install -m 0644 ${WORKDIR}/leafpad.desktop ${D}/${datadir}/applications -} - -FILES_${PN} += "${datadir}/applications/leafpad.desktop" - -PACKAGES += "leafpad-stock-icons" -FILES_leafpad-stock-icons = "${datadir}/icons/hicolor/"
meta/recipes-sato/packagegroups/packagegroup-core-x11-sato.bb +1 -1
@@ -47,7 +47,7 @@ WEB ?= "" SUMMARY_${PN}-apps = "Sato desktop - applications" RDEPENDS_${PN}-apps = "\ - leafpad \ + l3afpad \ gst-player-bin \ matchbox-terminal \ sato-screenshot \
Signature · 1 line
2.1.4
PATCH 21/37 gtk-immodules-cache: Support both GTKs at same time
In reply to Jussi Kukkonen--- meta/classes/gtk-immodules-cache.bbclass | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
meta/classes/gtk-immodules-cache.bbclass +4 -2
@@ -15,7 +15,8 @@ if [ "x$D" != "x" ]; then ${@qemu_run_binary(d, '$D', '${bindir}/gtk-query-immodules-2.0')} \ $IMFILES > $D${libdir}/gtk-2.0/2.10.0/immodules.cache 2>/dev/null && sed -i -e "s:$D::" $D${libdir}/gtk-2.0/2.10.0/immodules.cache - elif [ -x $D${bindir}/gtk-query-immodules-3.0 ]; then + fi + if [ -x $D${bindir}/gtk-query-immodules-3.0 ]; then IMFILES=$(ls $D${libdir}/gtk-3.0/*/immodules/*.so) ${@qemu_run_binary(d, '$D', '${bindir}/gtk-query-immodules-3.0')} \ $IMFILES > $D${libdir}/gtk-3.0/3.0.0/immodules.cache 2>/dev/null &&
@@ -40,7 +41,8 @@ if [ "x$D" != "x" ]; then ${@qemu_run_binary(d, '$D', '${bindir}/gtk-query-immodules-2.0')} \ $IMFILES > $D${libdir}/gtk-2.0/2.10.0/immodules.cache 2>/dev/null && sed -i -e "s:$D::" $D${libdir}/gtk-2.0/2.10.0/immodules.cache - elif [ -x $D${bindir}/gtk-query-immodules-3.0 ]; then + fi + if [ -x $D${bindir}/gtk-query-immodules-3.0 ]; then IMFILES=$(ls $D${libdir}/gtk-3.0/*/immodules/*.so) ${@qemu_run_binary(d, '$D', '${bindir}/gtk-query-immodules-3.0')} \ $IMFILES > $D${libdir}/gtk-3.0/3.0.0/immodules.cache 2>/dev/null &&
Signature · 1 line
2.1.4
PATCH 22/37 pcmanfm: switch to GTK3 version
In reply to Jussi KukkonenFrom: "Maxin B. John" <[email protected]>
Build GTK3 version of pcmanfm.
--- meta/recipes-sato/pcmanfm/pcmanfm_1.2.4.bb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
meta/recipes-sato/pcmanfm/pcmanfm_1.2.4.bb +3 -2
@@ -7,8 +7,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \ file://src/gseal-gtk-compat.h;endline=21;md5=46922c8691f58d124f9420fe16149ce2" SECTION = "x11" -DEPENDS = "gtk+ startup-notification libfm intltool-native gettext-native" -DEPENDS_append_poky = " libowl" +DEPENDS = "gtk+3 startup-notification libfm intltool-native gettext-native" COMPATIBLE_HOST = '(x86_64.*|i.86.*|aarch64.*|arm.*|mips.*|powerpc.*|sh.*)-(linux|freebsd.*)'
@@ -30,6 +29,8 @@ inherit autotools pkgconfig distro_features_check # The startup-notification requires x11 in DISTRO_FEATURES REQUIRED_DISTRO_FEATURES = "x11" +EXTRA_OECONF = "--with-gtk=3" + do_install_append () { install -d ${D}/${datadir} install -d ${D}/${datadir}/pixmaps/
Signature · 1 line
2.1.4
PATCH 23/37 libfm: switch to GTK3 version
In reply to Jussi KukkonenFrom: "Maxin B. John" <[email protected]>
Build GTK3 version of libfm.
--- meta/recipes-support/libfm/libfm_1.2.4.bb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
meta/recipes-support/libfm/libfm_1.2.4.bb +4 -2
@@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=4641e94ec96f98fabc56ff9cc48be14b \ SECTION = "x11/libs" -DEPENDS = "glib-2.0 pango gtk+ menu-cache intltool-native libexif libfm-extra gettext-native" +DEPENDS = "glib-2.0 pango gtk+3 menu-cache intltool-native libexif libfm-extra gettext-native" SRC_URI = "${SOURCEFORGE_MIRROR}/pcmanfm/libfm-${PV}.tar.xz"
@@ -17,7 +17,9 @@ SRC_URI[md5sum] = "74997d75e7e87dc73398746fd373bf52" SRC_URI[sha256sum] = "7804f6f28cb3d1bc8ffb3151ab7ff0c063b27c5f9b06c682eb903e01cf25502f" inherit autotools pkgconfig gtk-doc distro_features_check -ANY_OF_DISTRO_FEATURES = "${GTK2DISTROFEATURES}" +ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}" + +EXTRA_OECONF = "--with-gtk=3" do_configure[dirs] =+ "${S}/m4"
Signature · 1 line
2.1.4
PATCH 24/37 libowl: Remove as unused
In reply to Jussi Kukkonen--- meta/recipes-sato/libowl/libowl_git.bb | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 meta/recipes-sato/libowl/libowl_git.bb
meta/recipes-sato/libowl/libowl_git.bb deleted +0 -23
@@ -1,23 +0,0 @@ -SUMMARY = "OpenedHand Widget Library" -HOMEPAGE = "http://www.o-hand.com" -BUGTRACKER = "http://bugzilla.yoctoproject.org/" - -LICENSE = "GPLv2 & LGPLv2+" -LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ - file://libowl/owlpaned.h;endline=20;md5=7fef844c4cc01b10541a7ab6ab5971af \ - file://libowl/owltreemodelslice.h;endline=20;md5=a5421f2cdae8debe5e4c48c09a02beb9 \ - file://libowl/owlcolourswatch.h;endline=24;md5=063c415c58719d536990ca8f606b5730" - -SECTION = "libs" -DEPENDS = "gtk+" -SRCREV = "6ebc8ac8f8575278dd40a535cadefa26374e44b1" -PV = "0.1+git${SRCPV}" - -SRC_URI = "git://git.yoctoproject.org/${BPN}" - -S = "${WORKDIR}/git" - -inherit autotools pkgconfig distro_features_check - -# Requires gdk/gdkx.h which is provided by gtk when x11 in DISTRO_FEATURES -REQUIRED_DISTRO_FEATURES = "x11"
Signature · 1 line
2.1.4
PATCH 25/37 packagegroup-core-x11-sato: Remove gtk-sato-engine
In reply to Jussi KukkonenThe theme engine is no longer needed with GTK+3.
--- meta/recipes-sato/packagegroups/packagegroup-core-x11-sato.bb | 1 - 1 file changed, 1 deletion(-)
meta/recipes-sato/packagegroups/packagegroup-core-x11-sato.bb +0 -1
@@ -32,7 +32,6 @@ RDEPENDS_${PN}-base = "\ xcursor-transparent-theme \ adwaita-icon-theme \ settings-daemon \ - gtk-sato-engine \ shutdown-desktop \ libsdl \ ${NETWORK_MANAGER} \
Signature · 1 line
2.1.4
PATCH 26/37 gtk+: RRECOMMEND adwaita theme
In reply to Jussi KukkonenWithout this a gtk+2 app appended to an image is going to look awful.
--- meta/recipes-gnome/gtk+/gtk+.inc | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-)
meta/recipes-gnome/gtk+/gtk+.inc +8 -1
@@ -58,7 +58,14 @@ FILES_libgail = " \ ${libdir}/gtk-2.0/modules/libferret.so \ " -GTKBASE_RRECOMMENDS ?= "liberation-fonts gdk-pixbuf-loader-png gdk-pixbuf-loader-jpeg gdk-pixbuf-loader-gif gdk-pixbuf-loader-xpm shared-mime-info" +GTKBASE_RRECOMMENDS ?= "liberation-fonts \ + gdk-pixbuf-loader-png \ + gdk-pixbuf-loader-jpeg \ + gdk-pixbuf-loader-gif \ + gdk-pixbuf-loader-xpm \ + shared-mime-info \ + gnome-theme-adwaita \ + " GTKGLIBC_RRECOMMENDS ?= "${GTKBASE_RRECOMMENDS} glibc-gconv-iso8859-1" RRECOMMENDS_${PN} = "${GTKBASE_RRECOMMENDS}"
Signature · 1 line
2.1.4
PATCH 27/37 webkitgtk: Disable Gtk2 plugin process by default
In reply to Jussi Kukkonen--- meta/recipes-sato/webkit/webkitgtk_2.12.3.bb | 1 - 1 file changed, 1 deletion(-)
meta/recipes-sato/webkit/webkitgtk_2.12.3.bb +0 -1
@@ -36,7 +36,6 @@ DEPENDS = "zlib libsoup-2.4 curl libxml2 cairo libxslt libxt libidn gnutls \ PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', 'wayland' ,d)} \ ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'webgl', '' ,d)} \ enchant \ - gtk2 \ libsecret \ "
Signature · 1 line
2.1.4
PATCH 28/37 avahi-ui: Build with Gtk+3
In reply to Jussi Kukkonen--- meta/recipes-connectivity/avahi/avahi-ui_0.6.32.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
meta/recipes-connectivity/avahi/avahi-ui_0.6.32.bb +3 -3
@@ -7,14 +7,14 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=2d5025d4aa3495befef8f17206a5b0a1 \ require avahi.inc inherit distro_features_check -ANY_OF_DISTRO_FEATURES = "${GTK2DISTROFEATURES}" +ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}" SRC_URI[md5sum] = "22b5e705d3eabb31d26f2e1e7b074013" SRC_URI[sha256sum] = "d54991185d514a0aba54ebeb408d7575b60f5818a772e28fa0e18b98bc1db454" -DEPENDS += "avahi gtk+ libglade" +DEPENDS += "avahi gtk+3" -AVAHI_GTK = "--enable-gtk --disable-gtk3 --disable-pygtk" +AVAHI_GTK = "--disable-gtk --enable-gtk3 --disable-pygtk" S = "${WORKDIR}/avahi-${PV}"
Signature · 1 line
2.1.4
PATCH 29/37 sysprof: Upgrade to git version slightly past 3.20
In reply to Jussi KukkonenNew version uses Gtk+3.
3.20 release requires a bunch of fixes to build without polkit, this git revision inclues those fixes.
--- .../sysprof/files/0001-Avoid-building-docs.patch | 42 ++++++++++++++++++++++ .../0001-Disable-check-for-polkit-for-UI.patch | 32 +++++++++++++++++ .../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 | 32 +++++++++-------- 7 files changed, 93 insertions(+), 95 deletions(-) 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 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
meta/recipes-kernel/sysprof/files/0001-Avoid-building-docs.patch new file +42 -0
@@ -0,0 +1,42 @@ +From 27df521c68e7c8b5b050dab15f40aa15fd03623a Mon Sep 17 00:00:00 2001 +From: Jussi Kukkonen <[email protected]> +Date: Wed, 4 May 2016 14:58:24 +0300 +Subject: [PATCH] Avoid building docs + +Upstream-Status: Inappropriate +Signed-off-by: Jussi Kukkonen <[email protected]> +--- + Makefile.am | 2 +- + m4/yelp.m4 | 6 ------ + 2 files changed, 1 insertion(+), 7 deletions(-) + +diff --git a/Makefile.am b/Makefile.am +index b919a3f..3a3851d 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -1,4 +1,4 @@ +-SUBDIRS = daemon data help lib po src tools tests ++SUBDIRS = daemon data lib po src tools tests + + EXTRA_DIST = AUTHORS tap-test COPYING.gpl-2 + +diff --git a/m4/yelp.m4 b/m4/yelp.m4 +index 5db847f..1b6ede4 100644 +--- a/m4/yelp.m4 ++++ b/m4/yelp.m4 +@@ -27,12 +27,6 @@ AC_ARG_WITH([help-dir], + HELP_DIR="$with_help_dir" + AC_SUBST(HELP_DIR) + +-AC_ARG_VAR([ITSTOOL], [Path to the `itstool` command]) +-AC_CHECK_PROG([ITSTOOL], [itstool], [itstool]) +-if test x"$ITSTOOL" = x; then +- AC_MSG_ERROR([itstool not found]) +-fi +- + AC_ARG_VAR([XMLLINT], [Path to the `xmllint` command]) + AC_CHECK_PROG([XMLLINT], [xmllint], [xmllint]) + if test x"$XMLLINT" = x; then +-- +2.1.4 +
meta/recipes-kernel/sysprof/files/0001-Disable-check-for-polkit-for-UI.patch new file +32 -0
@@ -0,0 +1,32 @@ +From 765d578145e31ddc9495adfab8037ade33c6a9cc Mon Sep 17 00:00:00 2001 +From: Jussi Kukkonen <[email protected]> +Date: Wed, 4 May 2016 10:59:36 +0300 +Subject: [PATCH] Disable check for polkit for UI + +The check is not technically required: sysprof just needs +to be able to access system perf counters at runtime. + +Upstream-Status: Pending +Signed-off-by: Jussi Kukkonen <[email protected]> +--- + configure.ac | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 8559597..ecf93ad 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -131,8 +131,8 @@ AS_IF([test "$enable_gtk" = auto],[ + AS_IF([test "$have_gtk" = "yes" && test "$have_polkit" = "yes"],[enable_gtk=yes],[enable_gtk=no]) + ]) + AS_IF([test "$enable_gtk" = "yes"],[ +- AS_IF([test "$have_gtk" = "yes" && test "$have_polkit" = "yes"],[],[ +- AC_MSG_ERROR([--enable-gtk requires gtk+-3.0 >= gtk_required_version and polkit-gobject-1]) ++ AS_IF([test "$have_gtk" = "yes"],[],[ ++ AC_MSG_ERROR([--enable-gtk requires gtk+-3.0 >= gtk_required_version]) + ]) + ]) + AM_CONDITIONAL(ENABLE_GTK, test "$enable_gtk" = "yes") +-- +2.8.1 +
meta/recipes-kernel/sysprof/files/define-NT_GNU_BUILD_ID.patch +2 -2
@@ -7,8 +7,8 @@ Upstream-Status: Pending Index: git/elfparser.h =================================================================== ---- git.orig/elfparser.h 2011-07-16 18:57:41.000000000 -0700 -+++ git/elfparser.h 2011-07-16 20:28:54.733829895 -0700 +--- git.orig/lib/util/elfparser.h 2011-07-16 18:57:41.000000000 -0700 ++++ git/lib/util/elfparser.h 2011-07-16 20:28:54.733829895 -0700 @@ -17,6 +17,10 @@ */ #include <glib.h>
meta/recipes-kernel/sysprof/files/gui-argument.patch deleted +0 -35
@@ -1,35 +0,0 @@ -Add the ability to explicitly enable/disable GUI support - -Signed-off-by: Christopher Larson <[email protected]> -Upstream-Status: Pending - ---- git.orig/configure.ac -+++ git/configure.ac -@@ -62,12 +62,24 @@ KMICRO=`uname -r | cut -d"." -f 3 | cut - # Pkgconfig dependencies - - core_dep="glib-2.0 >= 2.6.0" --gui_dep="gtk+-2.0 > 2.6.0 gdk-pixbuf-2.0 pangoft2 libglade-2.0" - - PKG_CHECK_MODULES(CORE_DEP, $core_dep, [], AC_MSG_ERROR([sysprof dependencies not satisfied])) - --build_gui=yes --PKG_CHECK_MODULES(GUI_DEP, $gui_dep, [], build_gui=no) -+gui_dep="gtk+-2.0 > 2.6.0 gdk-pixbuf-2.0 pangoft2 libglade-2.0" -+ -+AC_ARG_ENABLE([gui], -+ [AS_HELP_STRING([--disable-gui], -+ [Disable GUI functionality (requires gtk+, gdk-pixbuf, pangoft2, libglade) @<:@default=auto@:>@])], -+ [], -+ [enable_gui=auto]) -+ -+build_gui=no -+AS_IF([test "x$enable_gui" != xno], -+ [PKG_CHECK_MODULES(GUI_DEP, $gui_dep, build_gui=yes, -+ [if test "x$enable_gui" != xauto; then -+ AC_MSG_FAILURE( -+ [--enable-gui was given, but gui dependencies were not satisfied]) -+ fi])]) - - AM_CONDITIONAL([BUILD_GUI], [test "$build_gui" = yes]) -
meta/recipes-kernel/sysprof/files/rmb-arm.patch deleted +0 -21
@@ -1,21 +0,0 @@ - -Upstream-Status: Pending - -Index: git/util.h -=================================================================== ---- git.orig/util.h 2010-12-07 22:41:57.156243001 -0600 -+++ git/util.h 2010-12-07 22:43:47.616243002 -0600 -@@ -37,4 +37,13 @@ - #define cpu_relax() asm volatile("" ::: "memory"); - #endif - -+#ifdef __arm__ -+/* -+ * Use the __kuser_memory_barrier helper in the CPU helper page. See -+ * arch/arm/kernel/entry-armv.S in the kernel source for details. -+ */ -+#define rmb() ((void(*)(void))0xffff0fa0)() -+#define cpu_relax() asm volatile("":::"memory") -+#endif -+ - #endif
meta/recipes-kernel/sysprof/files/rmb-mips.patch deleted +0 -22
@@ -1,22 +0,0 @@ -Upstream-Status: Pending - -Index: git/util.h -=================================================================== ---- git.orig/util.h 2010-12-08 01:22:44.486243001 -0600 -+++ git/util.h 2010-12-08 01:23:27.836243001 -0600 -@@ -37,4 +37,15 @@ - #define cpu_relax() asm volatile("" ::: "memory"); - #endif - -+#ifdef __mips__ -+#define rmb() asm volatile( \ -+ ".set mips2\n\t" \ -+ "sync\n\t" \ -+ ".set mips0" \ -+ : /* no output */ \ -+ : /* no input */ \ -+ : "memory") -+#define cpu_relax() asm volatile("" ::: "memory") -+#endif -+ - #endif
meta/recipes-kernel/sysprof/sysprof_git.bb +17 -15
@@ -1,29 +1,31 @@ SUMMARY = "System-wide Performance Profiler for Linux" -LICENSE = "GPLv2" -LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" +LICENSE = "GPLv3+" +LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \ + file://src/sp-application.c;endline=17;md5=40e55577ef122c88fe20052acda64875" + +inherit gnomebase gettext DEPENDS = "glib-2.0" -SRCREV = "cd44ee6644c3641507fb53b8a2a69137f2971219" -PV = "1.2.0+git${SRCPV}" +S = "${WORKDIR}/git" +SRCREV = "9c6cec9b49766bf77c1713bc5a7c6d651e628068" +PV = "3.20.0+git${SRCPV}" SRC_URI = "git://git.gnome.org/sysprof \ file://define-NT_GNU_BUILD_ID.patch \ - file://gui-argument.patch \ + file://0001-Disable-check-for-polkit-for-UI.patch \ + file://0001-Avoid-building-docs.patch \ " +SRC_URI[archive.md5sum] = "d56e8492033b60e247634731e7f760b9" +SRC_URI[archive.sha256sum] = "4a338ad41bfffae87ef281f6e75c9660b3e0c6671bf5233be0c3f55a5e5b1ce5" -SRC_URI_append_arm = " file://rmb-arm.patch" -SRC_URI_append_armeb = " file://rmb-arm.patch" -SRC_URI_append_mips = " file://rmb-mips.patch" -SRC_URI_append_mips64 = " file://rmb-mips.patch" -SRC_URI_append_mips64n32 = " file://rmb-mips.patch" - -S = "${WORKDIR}/git" +AUTOTOOLS_AUXDIR = "${S}/build-aux" -inherit autotools pkgconfig +PACKAGECONFIG ?= "${@bb.utils.contains_any('DISTRO_FEATURES', '${GTK3DISTROFEATURES}', 'gtk', '', d)}" +PACKAGECONFIG[gtk] = "--enable-gtk,--disable-gtk,gtk+3" -PACKAGECONFIG ?= "${@bb.utils.contains_any('DISTRO_FEATURES', '${GTK2DISTROFEATURES}', 'gui', '', d)}" -PACKAGECONFIG[gui] = "--enable-gui,--disable-gui,gtk+ gdk-pixbuf pango libglade" +FILES_${PN} += "${datadir}/icons/ ${libdir}" +FILES_${PN}-dev = "${prefix}/include" # We do not yet work for aarch64. #
Signature · 1 line
2.1.4
Re: [PATCH 29/37] sysprof: Upgrade to git version slightly past 3.20
This upgrade seems to cause following issues:
sysprof-3.20.0+gitAUTOINC+9c6cec9b49: sysprof: Files/directories were installed but not shipped in any package:
/lib
/usr/share/dbus-1
/usr/share/dbus-1/system.d
/usr/share/dbus-1/system-services /usr/share/dbus-1/system.d/org.gnome.Sysprof2.conf /usr/share/dbus-1/system-services/org.gnome.Sysprof2.service /lib/systemd
/lib/systemd/system
/lib/systemd/system/sysprof2.service
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
sysprof: 9 installed and not shipped files. [installed-vs-shipped] sysprof-3.20.0+gitAUTOINC+9c6cec9b49: sysprof rdepends on polkit, but it isn't a build dependency, missing polkit in DEPENDS or PACKAGECONFIG? [build-deps]
Quoted 304 lines · Jussi Kukkonen
New version uses Gtk+3.
3.20 release requires a bunch of fixes to build without polkit, this git revision inclues those fixes.
Signed-off-by Jussi Kukkonen <[email protected]>--- .../sysprof/files/0001-Avoid-building-docs.patch | 42 ++++++++++++++++++++++ .../0001-Disable-check-for-polkit-for-UI.patch | 32 +++++++++++++++++ .../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 | 32 +++++++++-------- 7 files changed, 93 insertions(+), 95 deletions(-) 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 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.patchdiff --git
a/meta/recipes-kernel/sysprof/files/0001-Avoid-building-docs.patchb/meta/recipes-kernel/sysprof/files/0001-Avoid-building-docs.patchnew file mode 100644
index 0000000..202f354meta/recipes-kernel/sysprof/files/0001-Avoid-building-docs.patch new file +42
-0@@ -0,0 +1,42 @@ +From 27df521c68e7c8b5b050dab15f40aa15fd03623a Mon Sep 17 00:00:00 2001 +From: Jussi Kukkonen <[email protected]> +Date: Wed, 4 May 2016 14:58:24 +0300 +Subject: [PATCH] Avoid building docs + +Upstream-Status: Inappropriate +Signed-off-by: Jussi Kukkonen <[email protected]> +--- + Makefile.am | 2 +- + m4/yelp.m4 | 6 ------ + 2 files changed, 1 insertion(+), 7 deletions(-) + +diff --git a/Makefile.am b/Makefile.am +index b919a3f..3a3851d 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -1,4 +1,4 @@ +-SUBDIRS = daemon data help lib po src tools tests ++SUBDIRS = daemon data lib po src tools tests + + EXTRA_DIST = AUTHORS tap-test COPYING.gpl-2 + +diff --git a/m4/yelp.m4 b/m4/yelp.m4 +index 5db847f..1b6ede4 100644 +--- a/m4/yelp.m4 ++++ b/m4/yelp.m4 +@@ -27,12 +27,6 @@ AC_ARG_WITH([help-dir], + HELP_DIR="$with_help_dir" + AC_SUBST(HELP_DIR) + +-AC_ARG_VAR([ITSTOOL], [Path to the `itstool` command]) +-AC_CHECK_PROG([ITSTOOL], [itstool], [itstool]) +-if test x"$ITSTOOL" = x; then +- AC_MSG_ERROR([itstool not found]) +-fi +- + AC_ARG_VAR([XMLLINT], [Path to the `xmllint` command]) + AC_CHECK_PROG([XMLLINT], [xmllint], [xmllint]) + if test x"$XMLLINT" = x; then +-- +2.1.4 +diff --git
a/meta/recipes-kernel/sysprof/files/0001-Disable-check-for-polkit-for-UI.patchb/meta/recipes-kernel/sysprof/files/0001-Disable-check-for-polkit-for-UI.patchnew file mode 100644
index 0000000..6085232
---/dev/null
+++b/meta/recipes-kernel/sysprof/files/0001-Disable-check-for-polkit-for-UI.patchmeta/recipes-kernel/sysprof/files/0001-Avoid-building-docs.patch new file +20
-0@@ -0,0 +1,32 @@ +From 765d578145e31ddc9495adfab8037ade33c6a9cc Mon Sep 17 00:00:00 2001 +From: Jussi Kukkonen <[email protected]> +Date: Wed, 4 May 2016 10:59:36 +0300 +Subject: [PATCH] Disable check for polkit for UI + +The check is not technically required: sysprof just needs +to be able to access system perf counters at runtime. + +Upstream-Status: Pending +Signed-off-by: Jussi Kukkonen <[email protected]> +--- + configure.ac | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 8559597..ecf93ad 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -131,8 +131,8 @@ AS_IF([test "$enable_gtk" = auto],[ + AS_IF([test "$have_gtk" = "yes" && test "$have_polkit" ="yes"],[enable_gtk=yes],[enable_gtk=no])
+ ])
+ AS_IF([test "$enable_gtk" = "yes"],[
+- AS_IF([test "$have_gtk" = "yes" && test "$have_polkit" =
"yes"],[],[
+- AC_MSG_ERROR([--enable-gtk requires gtk+-3.0 >=gtk_required_versionand polkit-gobject-1])
++ AS_IF([test "$have_gtk" = "yes"],[],[
++ AC_MSG_ERROR([--enable-gtk requires gtk+-3.0 >=gtk_required_version])meta/recipes-kernel/sysprof/files/0001-Avoid-building-docs.patch new file +6
-0+ ]) + ]) + AM_CONDITIONAL(ENABLE_GTK, test "$enable_gtk" = "yes") +-- +2.8.1 +diff --git
a/meta/recipes-kernel/sysprof/files/define-NT_GNU_BUILD_ID.patchb/meta/recipes-kernel/sysprof/files/define-NT_GNU_BUILD_ID.patchindex dcc2cbe..f75ddad 100644meta/recipes-kernel/sysprof/files/define-NT_GNU_BUILD_ID.patch +2
-2@@ -7,8 +7,8 @@ Upstream-Status: Pending Index: git/elfparser.h =================================================================== ---- git.orig/elfparser.h 2011-07-16 18:57:41.000000000 -0700 -+++ git/elfparser.h 2011-07-16 20:28:54.733829895 -0700 +--- git.orig/lib/util/elfparser.h 2011-07-16 18:57:41.000000000 -0700 ++++ git/lib/util/elfparser.h 2011-07-16 20:28:54.733829895 -0700 @@ -17,6 +17,10 @@ */ #include <glib.h>meta/recipes-kernel/sysprof/files/gui-argument.patch deleted +0
-14@@ -1,35 +0,0 @@ -Add the ability to explicitly enable/disable GUI support - -Signed-off-by: Christopher Larson <[email protected]> -Upstream-Status: Pending - ---- git.orig/configure.ac -+++ git/configure.ac -@@ -62,12 +62,24 @@ KMICRO=`uname -r | cut -d"." -f 3 | cut - # Pkgconfig dependencies - - core_dep="glib-2.0 >= 2.6.0" --gui_dep="gtk+-2.0 > 2.6.0 gdk-pixbuf-2.0 pangoft2 libglade-2.0" - - PKG_CHECK_MODULES(CORE_DEP, $core_dep, [], AC_MSG_ERROR([sysprofdependencies not satisfied]))
-
--build_gui=yes
--PKG_CHECK_MODULES(GUI_DEP, $gui_dep, [], build_gui=no) -+gui_dep="gtk+-2.0 > 2.6.0 gdk-pixbuf-2.0 pangoft2 libglade-2.0" -+
-+AC_ARG_ENABLE([gui],
-+ [AS_HELP_STRING([--disable-gui],
-+ [Disable GUI functionality (requires gtk+, gdk-pixbuf, pangoft2,
libglade) @<:@default=auto@:>@])],
-+ [],
-+ [enable_gui=auto])
-+
-+build_gui=no
-+AS_IF([test "x$enable_gui" != xno],
-+ [PKG_CHECK_MODULES(GUI_DEP, $gui_dep, build_gui=yes,
-+ [if test "x$enable_gui" != xauto; then
-+ AC_MSG_FAILURE(
-+ [--enable-gui was given, but gui dependencies were not
satisfied])
-+ fi])])meta/recipes-kernel/sysprof/files/gui-argument.patch deleted +0
-3- - AM_CONDITIONAL([BUILD_GUI], [test "$build_gui" = yes]) -meta/recipes-kernel/sysprof/files/rmb-arm.patch deleted +0
-21@@ -1,21 +0,0 @@ - -Upstream-Status: Pending - -Index: git/util.h -=================================================================== ---- git.orig/util.h 2010-12-07 22:41:57.156243001 -0600 -+++ git/util.h 2010-12-07 22:43:47.616243002 -0600 -@@ -37,4 +37,13 @@ - #define cpu_relax() asm volatile("" ::: "memory"); - #endif - -+#ifdef __arm__ -+/* -+ * Use the __kuser_memory_barrier helper in the CPU helper page. See -+ * arch/arm/kernel/entry-armv.S in the kernel source for details. -+ */ -+#define rmb() ((void(*)(void))0xffff0fa0)() -+#define cpu_relax() asm volatile("":::"memory") -+#endif -+ - #endifmeta/recipes-kernel/sysprof/files/rmb-mips.patch deleted +0
-22@@ -1,22 +0,0 @@ -Upstream-Status: Pending - -Index: git/util.h -=================================================================== ---- git.orig/util.h 2010-12-08 01:22:44.486243001 -0600 -+++ git/util.h 2010-12-08 01:23:27.836243001 -0600 -@@ -37,4 +37,15 @@ - #define cpu_relax() asm volatile("" ::: "memory"); - #endif - -+#ifdef __mips__ -+#define rmb() asm volatile( \ -+ ".set mips2\n\t" \ -+ "sync\n\t" \ -+ ".set mips0" \ -+ : /* no output */ \ -+ : /* no input */ \ -+ : "memory") -+#define cpu_relax() asm volatile("" ::: "memory") -+#endif -+ - #endifmeta/recipes-kernel/sysprof/sysprof_git.bb +3
-2@@ -1,29 +1,31 @@ SUMMARY = "System-wide Performance Profiler for Linux" -LICENSE = "GPLv2" -LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" +LICENSE = "GPLv3+" +LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \ +file://src/sp-application.c;endline=17;md5=40e55577ef122c88fe20052acda64875"
meta/recipes-kernel/sysprof/sysprof_git.bb +9
-3+ +inherit gnomebase gettext DEPENDS = "glib-2.0" -SRCREV = "cd44ee6644c3641507fb53b8a2a69137f2971219" -PV = "1.2.0+git${SRCPV}" +S = "${WORKDIR}/git" +SRCREV = "9c6cec9b49766bf77c1713bc5a7c6d651e628068" +PV = "3.20.0+git${SRCPV}" SRC_URI = "git://git.gnome.org/sysprof \ file://define-NT_GNU_BUILD_ID.patch \ - file://gui-argument.patch \ + file://0001-Disable-check-for-polkit-for-UI.patch \ + file://0001-Avoid-building-docs.patch \ " +SRC_URI[archive.md5sum] = "d56e8492033b60e247634731e7f760b9" +SRC_URI[archive.sha256sum] ="
4a338ad41bfffae87ef281f6e75c9660b3e0c6671bf5233be0c3f55a5e5b1ce5"meta/recipes-kernel/sysprof/sysprof_git.bb +2
-8-SRC_URI_append_arm = " file://rmb-arm.patch" -SRC_URI_append_armeb = " file://rmb-arm.patch" -SRC_URI_append_mips = " file://rmb-mips.patch" -SRC_URI_append_mips64 = " file://rmb-mips.patch" -SRC_URI_append_mips64n32 = " file://rmb-mips.patch" - -S = "${WORKDIR}/git" +AUTOTOOLS_AUXDIR = "${S}/build-aux" -inherit autotools pkgconfig +PACKAGECONFIG ?= "${@bb.utils.contains_any('DISTRO_FEATURES','${GTK3DISTROFEATURES}', 'gtk', '', d)}"
meta/recipes-kernel/sysprof/sysprof_git.bb +1
-1+PACKAGECONFIG[gtk] = "--enable-gtk,--disable-gtk,gtk+3" -PACKAGECONFIG ?= "${@bb.utils.contains_any('DISTRO_FEATURES','${GTK2DISTROFEATURES}', 'gui', '', d)}"
-PACKAGECONFIG[gui] = "--enable-gui,--disable-gui,gtk+ gdk-pixbuf pango libglade"meta/recipes-kernel/sysprof/sysprof_git.bb +2
-1+FILES_${PN} += "${datadir}/icons/ ${libdir}" +FILES_${PN}-dev = "${prefix}/include" # We do not yet work for aarch64. # --2.1.4
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [PATCH 29/37] sysprof: Upgrade to git version slightly past 3.20
Quoted 9 lines · Martin Jansa
sysprof-3.20.0+gitAUTOINC+9c6cec9b49: sysprof: Files/directories were installed but not shipped in any package:
/lib
/usr/share/dbus-1
/usr/share/dbus-1/system.d/usr/share/dbus-1/system-services/usr/share/dbus-1/system.d/org.gnome.Sysprof2.conf/usr/share/dbus-1/system-services/org.gnome.Sysprof2.service/lib/systemd
Quoted 9 lines
/lib/systemd/system
/lib/systemd/system/sysprof2.service
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them withindo_install.
sysprof: 9 installed and not shipped files. [installed-vs-shipped] sysprof-3.20.0+gitAUTOINC+9c6cec9b49: sysprof rdepends on polkit, but it isn't a build dependency, missing polkit in DEPENDS or PACKAGECONFIG? [build-deps]
Thanks, I noticed this in a long-running build but was travelling so couldn't reply.
Jussi, this happens if you have systemd and policykit present in the sysroot.
Ross
PATCH 30/37 gtk+3: Add RRECOMMENDS to match gtk+
In reply to Jussi KukkonenRrecommend a similar set of packages as the gtk+ recipe.
Most importantly this actually makes icons render even when other packages do not drag in the relevant gdkpixbuf loaders.
--- meta/recipes-gnome/gtk+/gtk+3.inc | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-)
meta/recipes-gnome/gtk+/gtk+3.inc +12 -5
@@ -61,10 +61,6 @@ FILES_${PN}-demo = "${bindir}/gtk3-demo \ ${datadir}/icons/hicolor/*/apps/gtk3-demo*.png \ ${datadir}/icons/hicolor/*/apps/gtk3-widget-factory*.png" -# The demo uses PNG files and mime type sniffing, so ensure that these -# dependencies are present. -RDEPENDS_${PN}-demo += "gdk-pixbuf-loader-png shared-mime-info" - FILES_${PN}_append = " ${bindir}/gtk-update-icon-cache-3.0 \ ${bindir}/gtk-query-immodules-3.0 \ ${bindir}/gtk-launch \
@@ -86,7 +82,18 @@ FILES_${PN}-dev += " \ ${bindir}/gtk-builder-tool \ " -RRECOMMENDS_${PN} = "adwaita-icon-theme-symbolic" +GTKBASE_RRECOMMENDS ?= "liberation-fonts \ + gdk-pixbuf-loader-png \ + gdk-pixbuf-loader-jpeg \ + gdk-pixbuf-loader-gif \ + gdk-pixbuf-loader-xpm \ + shared-mime-info \ + adwaita-icon-theme-symbolic \ + " +GTKGLIBC_RRECOMMENDS ?= "${GTKBASE_RRECOMMENDS} glibc-gconv-iso8859-1" + +RRECOMMENDS_${PN} = "${GTKBASE_RRECOMMENDS}" +RRECOMMENDS_${PN}_libc-glibc = "${GTKGLIBC_RRECOMMENDS}" PACKAGES_DYNAMIC += "^gtk3-immodule-.* ^gtk3-printbackend-.*"
Signature · 1 line
2.1.4
PATCH 31/37 adwaita-icon-theme: Split symbolic icons into 2 packages
In reply to Jussi KukkonenSymbolic icons are tiny but there's a lot of them and they actually take multiple times their apparent size on a typical filesystem.
Split the symbolic icons: adwaita-icon-theme-symbolic contains the icon sizes that seem to be typically used by GTK+ and applications (16x16 & 24x24). Other sizes are in adwaita-icon-theme-symbolic-hires.
--- meta/recipes-gnome/gnome/adwaita-icon-theme_3.18.0.bb | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-)
meta/recipes-gnome/gnome/adwaita-icon-theme_3.18.0.bb +7 -2
@@ -24,14 +24,19 @@ do_install_append() { ${D}${prefix}/share/icons/Adwaita/scalable/*/*-symbolic-rtl.svg } -PACKAGES = "${PN}-cursors ${PN}-symbolic ${PN}-hires ${PN}" +PACKAGES = "${PN}-cursors ${PN}-symbolic-hires ${PN}-symbolic ${PN}-hires ${PN}" RREPLACES_${PN} = "gnome-icon-theme" RCONFLICTS_${PN} = "gnome-icon-theme" RPROVIDES_${PN} = "gnome-icon-theme" FILES_${PN}-cursors = "${prefix}/share/icons/Adwaita/cursors/" -FILES_${PN}-symbolic = "${prefix}/share/icons/Adwaita/*/*/*.symbolic.png" +FILES_${PN}-symbolic-hires = "${prefix}/share/icons/Adwaita/96x96/*/*.symbolic.png \ + ${prefix}/share/icons/Adwaita/64x64/*/*.symbolic.png \ + ${prefix}/share/icons/Adwaita/48x48/*/*.symbolic.png \ + ${prefix}/share/icons/Adwaita/32x32/*/*.symbolic.png" +FILES_${PN}-symbolic = "${prefix}/share/icons/Adwaita/16x16/*/*.symbolic.png \ + ${prefix}/share/icons/Adwaita/24x24/*/*.symbolic.png" FILES_${PN}-hires = "${prefix}/share/icons/Adwaita/256x256/" FILES_${PN} = "${prefix}/share/icons/Adwaita/ \ ${prefix}/share/pkgconfig/adwaita-icon-theme.pc"
Signature · 1 line
2.1.4
PATCH 32/37 matchbox-session-sato: Update session startup
In reply to Jussi Kukkonen* Use Adwaita Gtk+ theme
* sato-gtk-engine is no longer needed with Adwaita
* GTK_CSD tricks are no longer needed since the panel
does not draw on top windows
* Add meta-theme index file: it used to be provided by gtk-sato-engine and is used by matchbox-config-gtk only (to be able to show a single selection for Gtk+, icon and Matchbox themes). This is a more logical place for it.
* Set matchbox-theme gconf key (just to be explicit, this is the default already)
--- .../matchbox-sato/matchbox-session-sato/index.theme | 7 +++++++ meta/recipes-sato/matchbox-sato/matchbox-session-sato/session | 9 ++------- meta/recipes-sato/matchbox-sato/matchbox-session-sato_0.1.bb | 11 ++++++++--- 3 files changed, 17 insertions(+), 10 deletions(-) create mode 100644 meta/recipes-sato/matchbox-sato/matchbox-session-sato/index.theme
meta/recipes-sato/matchbox-sato/matchbox-session-sato/index.theme new file +7 -0
@@ -0,0 +1,7 @@ +[X-GNOME-Metatheme] +Encoding=UTF-8 +Type=X-GNOME-Metatheme +Name=Sato +GtkTheme=Adwaita +IconTheme=Sato +MatchboxTheme=Sato
meta/recipes-sato/matchbox-sato/matchbox-session-sato/session +2 -7
@@ -14,11 +14,6 @@ else KEYBOARD_APPLET="keyboard" fi -# Tell GTK+3 we really want server side decorations, even with -# GtkHeaderBar using applications: Without that mb-panel will render -# on top of the client side decorations. -export GTK_CSD=0 - matchbox-desktop & # Lines containing feature-[foo] are removed at build time if the machine
@@ -28,6 +23,6 @@ START_APPLETS=showdesktop,windowselector END_APPLETS=clock,battery,$KEYBOARD_APPLET,systray,startup-notify,notify END_APPLETS=openmoko-panel-gsm,$END_APPLETS # feature-phone -matchbox-panel --titlebar --start-applets $START_APPLETS --end-applets $END_APPLETS & +matchbox-panel --start-applets $START_APPLETS --end-applets $END_APPLETS & -exec matchbox-window-manager -theme Sato -use_desktop_mode decorated -use_cursor $SHOWCURSOR $@ +exec matchbox-window-manager -theme Sato -use_cursor $SHOWCURSOR $@
meta/recipes-sato/matchbox-sato/matchbox-session-sato_0.1.bb +8 -3
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://session;endline=3;md5=f8a5c5b9c279e52dc094d10e11c2be6 SECTION = "x11" DEPENDS = "gconf-native" -RDEPENDS_${PN} = "formfactor gtk-sato-engine matchbox-theme-sato gtk-theme-sato matchbox-panel-2 matchbox-desktop-sato matchbox-session gconf" +RDEPENDS_${PN} = "formfactor matchbox-theme-sato matchbox-panel-2 matchbox-desktop-sato matchbox-session gconf" PR = "r30" # This package is architecture specific because the session script is modified
@@ -19,9 +19,12 @@ inherit distro_features_check # The matchbox-theme-sato requires x11 in DISTRO_FEATURES REQUIRED_DISTRO_FEATURES = "x11" -SRC_URI = "file://session" +SRC_URI = "file://session \ + file://index.theme" S = "${WORKDIR}" +FILES_${PN} += "${datadir}/themes/Sato/index.theme" + do_install() { # This is the set of machine features that the script has markers for FEATURES="phone"
@@ -34,6 +37,7 @@ do_install() { fi done + install -D ${S}/index.theme ${D}/${datadir}/themes/Sato/index.theme install -d ${D}/${sysconfdir}/matchbox sed -f "$SCRIPT" ${S}/session > ${D}/${sysconfdir}/matchbox/session chmod +x ${D}/${sysconfdir}/matchbox/session
@@ -44,7 +48,8 @@ pkg_postinst_${PN} () { #type, name, value gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults --direct --type $1 --set /desktop/poky/interface/$2 "$3" } - set_value string theme Sato + set_value string theme Adwaita + set_value string matchbox_theme Sato set_value string icon_theme Sato set_value bool touchscreen true set_value string font_name "Sans 9"
Signature · 1 line
2.1.4
PATCH 33/37 matchbox-desktop-sato: Upgrade to remove Utilities folder
In reply to Jussi KukkonenThis version merges Utilities into Applications to make the common case a little more useful: Now e.g. Terminal icon should be visible on startup.
--- meta/recipes-sato/matchbox-desktop-sato/matchbox-desktop-sato_git.bb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
meta/recipes-sato/matchbox-desktop-sato/matchbox-desktop-sato_git.bb +1 -2
@@ -9,9 +9,8 @@ SECTION = "x11" DEPENDS = "" RCONFLICTS_${PN} = "matchbox-common" -SRCREV = "810b0b08eb79e4685202da2ec347b990bb467e07" +SRCREV = "4a02b6408565f083802592f152e05dee9b40e05b" PV = "0.1+git${SRCPV}" -PR = "r1" SRC_URI = "git://git.yoctoproject.org/${BPN}"
Signature · 1 line
2.1.4
A message that is not in the archive (sent off-list or not yet received): 8a877e57a8b8613493c463a1ba6296490d3d04f0.1465288175.git.jussi.kukkone
[email protected]
Re: [PATCH 33/37] matchbox-desktop-sato: Upgrade to remove Utilities folder
meta/recipes-sato/matchbox-desktop-sato/matchbox-desktop-sato_git.bb SECTION = "x11" · line 15
Quoted 9 lines
This version merges Utilities into Applications to make the common case a little more useful: Now e.g. Terminal icon should be visible on startup.
meta/recipes-sato/matchbox-desktop-sato/matchbox-desktop-sato_git.bb +1
-2-SRCREV = "810b0b08eb79e4685202da2ec347b990bb467e07" +SRCREV = "4a02b6408565f083802592f152e05dee9b40e05b" PV = "0.1+git${SRCPV}" -PR = "r1" SRC_URI = "git://git.yoctoproject.org/${BPN}"
I think it's better to just move the files into oe-core and merge their installation into matchbox-desktop recipe. It's not likely someone will want to use a different configuration, and so maintaining a separate autoconf-based upstream is just overhead.
Alex
PATCH 34/37 packagegroup-self-hosted: Remove unused theme, use Adwaita icons
In reply to Jussi KukkonenGTK+3 default theme is included in GTK+3. The corresponding GTK+2 theme would be in gnome-theme-adwaita, but the packagegroup does not have GTK+2 apps anymore.
Also move icons to -graphics package.
--- meta/recipes-core/packagegroups/packagegroup-self-hosted.bb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
meta/recipes-core/packagegroups/packagegroup-self-hosted.bb +1 -3
@@ -124,8 +124,6 @@ RDEPENDS_packagegroup-self-hosted-extended = "\ groff \ gzip \ settings-daemon \ - hicolor-icon-theme \ - sato-icon-theme \ libaio \ libusb1 \ libxml2 \
@@ -190,7 +188,7 @@ RDEPENDS_packagegroup-self-hosted-graphics = "\ libsdl \ libsdl-dev \ libx11-dev \ - gtk-theme-clearlooks \ + adwaita-icon-theme \ xdg-utils \ epiphany \ l3afpad \
Signature · 1 line
2.1.4
PATCH 35/37 gtk-sato-engine: Remove as unused
In reply to Jussi Kukkonen--- meta/recipes-sato/gtk-engines/gtk-sato-engine.inc | 25 ---------------------- .../gtk-engines/gtk-sato-engine_git.bb | 14 ------------ 2 files changed, 39 deletions(-) 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
meta/recipes-sato/gtk-engines/gtk-sato-engine.inc deleted +0 -25
@@ -1,25 +0,0 @@ -SUMMARY = "Sato theme engine for GTK+" -HOMEPAGE = "http://www.o-hand.com" -BUGTRACKER = "http://bugzilla.yoctoproject.org/" - -LICENSE = "LGPLv2.1 & LGPLv2+" - -SECTION = "x11/base" -DEPENDS = "gtk+" -RDEPENDS_gtk-theme-sato = "gtk-sato-engine" - -inherit distro_features_check -ANY_OF_DISTRO_FEATURES = "${GTK2DISTROFEATURES}" - -PACKAGES += "gtk-theme-sato" -FILES_${PN} = "${libdir}/gtk-2.0/*/engines/*.so " -FILES_${PN}-dev = "${libdir}/gtk-2.0/*/engines/*.la" -FILES_gtk-theme-sato = "${datadir}/icons ${datadir}/themes" - -inherit autotools-brokensep pkgconfig - -do_configure_prepend() { - for i in `ls gtk-common`; do - ln -sf ../gtk-common/$i gtk2-engine/$i - done -}
meta/recipes-sato/gtk-engines/gtk-sato-engine_git.bb deleted +0 -14
@@ -1,14 +0,0 @@ -require gtk-sato-engine.inc - -LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1 \ - file://src/sato-utils.h;endline=24;md5=708f28cfe7fe028d497aaf4389b80b62 \ - file://src/sato-main.c;endline=24;md5=b5e5dddebca570275becb51b526e4c5a" - -SRCREV = "4740ad8d53aba4368ce3e03b06cfdc69eb86dcdc" -PV = "0.3.3+git${SRCPV}" - -SRC_URI = "git://git.yoctoproject.org/${BPN}" - -S = "${WORKDIR}/git" - -EXTRA_OECONF += "${@bb.utils.contains('MACHINE_FEATURES', 'qvga', '--with-mode=qvga', '',d)}"
Signature · 1 line
2.1.4
PATCH 36/37 sato-icon-theme: remove as unused
In reply to Jussi Kukkonen--- .../0001-Inherit-the-GNOME-icon-theme.patch | 31 ----------------- .../sato-icon-theme/sato-icon-theme_0.4.1.bb | 40 ---------------------- 2 files changed, 71 deletions(-) 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
meta/recipes-sato/sato-icon-theme/sato-icon-theme/0001-Inherit-the-GNOME-icon-theme.patch deleted +0 -31
@@ -1,31 +0,0 @@ -From b9f02989310a3c920589f1aa646bcbf16b2572a0 Mon Sep 17 00:00:00 2001 -From: Ross Burton <[email protected]> -Date: Wed, 13 Jun 2012 11:07:33 +0100 -Subject: [PATCH] Inherit the GNOME icon theme - -If the GNOME icon theme isn't installed this is a no-op, but if it is then -you'll get fallback from Sato to GNOME for icons that are not in Sato. - -As applications that use the full GNOME icon theme depend on gnome-icon-theme, -this just works. - -Upstream-Status: Backport ---- - index.theme | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/index.theme b/index.theme -index c4b03a7..688fbbf 100644 ---- a/index.theme -+++ b/index.theme -@@ -1,6 +1,7 @@ - [Icon Theme] - Name=Sato - Comment=Sato icon theme -+Inherits=Adwaita - - Directories=16x16/apps,16x16/status,16x16/stock,16x16/places,16x16/mimetypes,16x16/devices,16x16/actions,22x22/apps,22x22/status,22x22/stock,22x22/places,22x22/mimetypes,22x22/devices,22x22/actions,32x32/apps,32x32/status,32x32/stock,32x32/places,32x32/mimetypes,32x32/devices,32x32/actions,48x48/apps,48x48/status,48x48/stock,48x48/places,48x48/mimetypes,48x48/devices,48x48/actions,64x64/apps,64x64/status,64x64/stock,64x64/places,64x64/mimetypes,64x64/devices,64x64/actions, - --- -1.7.10 -
meta/recipes-sato/sato-icon-theme/sato-icon-theme_0.4.1.bb deleted +0 -40
@@ -1,40 +0,0 @@ -SUMMARY = "Sato icon theme" -HOMEPAGE = "http://www.o-hand.com" -BUGTRACKER = "http://bugzilla.yoctoproject.org/" - -LICENSE = "CC-BY-SA-3.0" -LIC_FILES_CHKSUM = "file://COPYING;md5=56a830bbe6e4697fe6cbbae01bb7c2b2" -SECTION = "x11" - -PR = "r6" - -DEPENDS = "icon-naming-utils-native libxml-simple-perl-native" - -SRC_URI = "http://pokylinux.org/releases/sato/${BPN}-${PV}.tar.gz \ - file://0001-Inherit-the-GNOME-icon-theme.patch" - -SRC_URI[md5sum] = "86a847f3128a43a9cf23b7029a656f50" -SRC_URI[sha256sum] = "0b0a2807a6a96918ac799a86094ec3e8e2c892be0fd679a4232c2a77f2f61732" - -inherit autotools pkgconfig allarch gtk-icon-cache perlnative - -# The configure script uses pkg-config to find native binaries to execute, so -# tell it to use our pkg-config-native wrapper. -export PKG_CONFIG = "pkg-config-native" - -FILES_${PN} += "${datadir}/icons/Sato" - -do_install_append() { - find ${D}${datadir}/icons/Sato/ -maxdepth 1 -type d -exec ln -s preferences-system.png {}/apps/preferences-desktop.png \; - find ${D}${datadir}/icons/Sato/ -maxdepth 1 -type d -exec ln -s file-manager.png {}/apps/system-file-manager.png \; - find ${D}${datadir}/icons/Sato/ -maxdepth 1 -type d -exec ln -s ../apps/terminal.png {}/places/computer.png \; -} - -# Explictly setting "Sato" as the default icon theme to avoid flickering from -# the desktop and settings daemon racing. This shouldn't be done here but in the sato image -pkg_postinst_${PN} () { - mkdir -p $D/etc/gtk-2.0 - - grep -s -q -e ^gtk-icon-theme-name.*\"Sato\" $D/etc/gtk-2.0/gtkrc || \ - echo 'gtk-icon-theme-name = "Sato"' >> $D/etc/gtk-2.0/gtkrc -}
Signature · 1 line
2.1.4
PATCH 37/37 gtk-engines: Remove as unused
In reply to Jussi Kukkonengtk-engines is no longer used by any theme in oe-core
--- .../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 ---------------------- 3 files changed, 115 deletions(-) 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
meta/recipes-gnome/gtk-engines/gtk-engines-2.20.2/glib-2.32.patch deleted +0 -23
@@ -1,23 +0,0 @@ -From 8d49a386f467cbf8e0842d2218126f643e50f834 Mon Sep 17 00:00:00 2001 -From: Dominique Leuenberger <[email protected]> -Date: Sun, 27 Nov 2011 14:24:57 +0000 -Subject: Fix build with glib 2.31: Only glib.h can be #include'd. Fixes bug #664914 - -Upstream-Status: Backport - ---- -diff --git a/engines/clearlooks/src/animation.c b/engines/clearlooks/src/animation.c -index 1f7a41f..56a9286 100644 ---- a/engines/clearlooks/src/animation.c -+++ b/engines/clearlooks/src/animation.c -@@ -28,7 +28,7 @@ - #include "animation.h" - - #ifdef HAVE_WORKING_ANIMATION --#include <glib/gtimer.h> -+#include <glib.h> - - struct _AnimationInfo { - GTimer *timer; --- -cgit v0.9.0.2
meta/recipes-gnome/gtk-engines/gtk-engines-2.20.2/substitute-tests.patch deleted +0 -37
@@ -1,37 +0,0 @@ -Upstream-Status: Pending - -Signed-off-by: Marko Lindqvist <[email protected]> -diff -Nurd gtk-engines-2.20.2/configure.ac gtk-engines-2.20.2/configure.ac ---- gtk-engines-2.20.2/configure.ac 2010-10-01 15:42:37.000000000 +0300 -+++ gtk-engines-2.20.2/configure.ac 2013-08-20 02:50:27.930510565 +0300 -@@ -166,6 +166,9 @@ - - AC_SUBST(DEVELOPMENT_CFLAGS) - -+AC_SUBST([exported_symbols_tests], [[$(EXPORTED_SYMBOLS_TESTS)]]) -+AC_SUBST([torture_test_tests], [[$(TORTURE_TEST_TESTS)]]) -+ - AM_CONFIG_HEADER([engines/support/config.h]) - - AC_CONFIG_FILES([ -diff -Nurd gtk-engines-2.20.2/test/Makefile.am gtk-engines-2.20.2/test/Makefile.am ---- gtk-engines-2.20.2/test/Makefile.am 2010-09-19 18:18:21.000000000 +0300 -+++ gtk-engines-2.20.2/test/Makefile.am 2013-08-20 02:50:36.842510865 +0300 -@@ -66,7 +66,7 @@ - # Prefix with exported_ - EXPORTED_SYMBOLS_TESTS = $(patsubst %,exported_%,$(BUILD_ENGINES)) - --TESTS += $(EXPORTED_SYMBOLS_TESTS) -+TESTS += @exported_symbols_tests@ - - - ############################################################# -@@ -88,7 +88,7 @@ - TORTURE_TEST_TESTS = torture_buildin $(patsubst %,torture_%,$(TORTURE_TEST_ENGINES)) - - # Add TORTURE_TEST_ENGINES to list of tests --TESTS += $(TORTURE_TEST_TESTS) -+TESTS += @torture_test_tests@ - - # Possible other tests: - # - An extensive theme switch tests that loads/unloads the engine
meta/recipes-gnome/gtk-engines/gtk-engines_2.20.2.bb deleted +0 -55
55 lines not on this page · raw message
Signature · 1 line
2.1.4