YB2370: Build Appliance integrates a filemanager
v2 cover YB2370: Build Appliance integrates a filemanager
PCManFM filemanager is integrated in Build Appliance; It will handle folders and files navigation from within Hob.
The following changes since commit 02521a40d36d06d269ec14ce9000f2941d6980af:
busybox.inc: Avoid error when SYSLOG is not enabled (2013-08-22 15:11:13 +0100)
are available in the git repository at:
git://git.yoctoproject.org/poky-contrib ciorga/YB2370
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=ciorga/YB2370
Cristian Iorga (4):
xdg-utils: add runtime dependency on xprop Build Appliance: pcmanfm integration
build-appliance-image: changing the icon theme to sato
builder: register directories with pcmanfm
meta/recipes-core/packagegroups/packagegroup-self-hosted.bb | 5 ++++- meta/recipes-extended/xdg-utils/xdg-utils_1.1.0-rc1.bb | 1 + meta/recipes-graphics/builder/files/builder_hob_start.sh | 9 +++++++++ 3 files changed, 14 insertions(+), 1 deletion(-)
Signature · 1 line
1.8.1.2
PATCH v2 1/4 xdg-utils: add runtime dependency on xprop
xprop is called by xdg-utils scripts.
--- meta/recipes-extended/xdg-utils/xdg-utils_1.1.0-rc1.bb | 1 + 1 file changed, 1 insertion(+)
meta/recipes-extended/xdg-utils/xdg-utils_1.1.0-rc1.bb +1 -0
@@ -23,3 +23,4 @@ SRC_URI[sha256sum] = "7b05558ae4bb8ede356863cae8c42e3e012aa421bf9d45130a570fd209 inherit autotools +RDEPENDS_${PN} = "xprop"
Signature · 1 line
1.8.1.2
PATCH v2 2/4 Build Appliance: pcmanfm integration
In reply to Cristian IorgaPCManFm file manager is integrated in Build Appliance; xdg-utils is also integrated for file association support.
--- meta/recipes-core/packagegroups/packagegroup-self-hosted.bb | 2 ++ 1 file changed, 2 insertions(+)
meta/recipes-core/packagegroups/packagegroup-self-hosted.bb +2 -0
@@ -38,11 +38,13 @@ RDEPENDS_packagegroup-self-hosted-host-tools = "\ hdparm \ iptables \ lsb \ + xdg-utils \ mc \ mc-fish \ mc-helpers \ mc-helpers-perl \ mc-helpers-python \ + pcmanfm \ parted \ pseudo \ screen \
Signature · 1 line
1.8.1.2
PATCH v2 3/4 build-appliance-image: changing the icon theme to sato
In reply to Cristian IorgaHicolor icon theme does not properly displays icons for folders. Sato icon theme is working correctly.
Also, settings-daemon needs to be added to image in order to properly display folder icons.
--- meta/recipes-core/packagegroups/packagegroup-self-hosted.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
meta/recipes-core/packagegroups/packagegroup-self-hosted.bb +2 -1
@@ -123,7 +123,8 @@ RDEPENDS_packagegroup-self-hosted-extended = "\ grep \ groff \ gzip \ - hicolor-icon-theme \ + settings-daemon \ + sato-icon-theme \ libaio \ libusb1 \ libxml2 \
Signature · 1 line
1.8.1.2
PATCH v2 4/4 builder: register directories with pcmanfm
In reply to Cristian IorgaRegister directories to be opened with PCManFM
filemanager using xdg-open in Build Appliance.
--- meta/recipes-graphics/builder/files/builder_hob_start.sh | 9 +++++++++ 1 file changed, 9 insertions(+)
meta/recipes-graphics/builder/files/builder_hob_start.sh +9 -0
@@ -9,6 +9,15 @@ export PSEUDO_LOCALSTATEDIR=/home/builder/pseudo export PSEUDO_LIBDIR=/usr/lib/pseudo/lib64 export GIT_PROXY_COMMAND=/home/builder/poky/scripts/oe-git-proxy +#start pcmanfm in daemon mode to allow asynchronous launch +pcmanfm -d& + +#register folders to open with PCManFM filemanager +if [ ! -d /home/ubik/tmp/.local/share/applications ]; then + mkdir -p /home/builder/.local/share/applications/ + xdg-mime default pcmanfm.desktop inode/directory +fi + cd /home/builder/poky . ./oe-init-build-env
Signature · 1 line
1.8.1.2