Skip to content

Commit

Permalink
webkitdevci: add polkit feature and tune packages installed.
Browse files Browse the repository at this point in the history
 - add sysprof: useful for performance debugging. It needs polkit
   to build sysprofd which is needed to make anything useful with it.

 - weston: enable rdp support, useful for remote debugging

 - simplify the list of gdk-pixbuf: only installing the main package
   is enough, the others are just rdepends aliases that may cause
   conflicts in the last step of the image build.

Signed-off-by: Carlos Alberto Lopez Perez <[email protected]>
  • Loading branch information
clopez committed Jul 25, 2024
1 parent 5062466 commit d5d6eb7
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
5 changes: 3 additions & 2 deletions conf/distro/webkitdevci.conf
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ DISTRO_VERSION:append = "_${WEBKIT_CROSS_VERSION}"
DISTROOVERRIDES:append = " poky:linuxstdbase"

# Distro features
DISTRO_FEATURES:append = " opengl egl pam systemd usrmerge"
DISTRO_FEATURES:append = " opengl egl pam systemd usrmerge polkit"
DISTRO_FEATURES:remove = "ptest"
DISTRO_FEATURES_NATIVESDK:append = " wayland"

Expand All @@ -40,7 +40,8 @@ PACKAGECONFIG:append:pn-gdb = " tui"
PACKAGECONFIG:append:pn-gdb-cross = " tui"
PACKAGECONFIG:append:pn-gdb-cross-canadian = " tui"

# Don't blank the screen on weston
# Don't blank the screen on weston, and build the rdp backend
PACKAGECONFIG:append:pn-weston = " rdp"
PACKAGECONFIG:append:pn-weston-init = " no-idle-timeout"
# Enable php plugins for apache (for tests)
PACKAGECONFIG:append:pn-php = " apache2"
Expand Down
4 changes: 4 additions & 0 deletions recipes-browser/images/webkit-dev-ci-tools.bb
Original file line number Diff line number Diff line change
Expand Up @@ -84,13 +84,17 @@ IMAGE_INSTALL:append = " \
perf \
pv \
screen \
sysprof \
smem \
systemd-analyze \
unifdef \
waylandeglinfo \
wayland-tools \
"

# vcgencmd and related tools for the RPi (works also with opensource stack)
IMAGE_INSTALL:append:rpi = " userland"

SDK_NATIVE_TOOLS = " \
nativesdk-bison \
nativesdk-ca-certificates \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -170,10 +170,7 @@ RDEPENDS:packagegroup-wpewebkit-depends-desktop = "\
libxtst \
libx11-locale \
xorg-minimal-fonts \
gdk-pixbuf-loader-ico \
gdk-pixbuf-loader-bmp \
gdk-pixbuf-loader-ani \
gdk-pixbuf-xlib \
gdk-pixbuf \
liberation-fonts \
atk \
at-spi2-atk \
Expand Down

0 comments on commit d5d6eb7

Please sign in to comment.