Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
meta-nemo
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
NemoMobile
meta-nemo
Commits
be5d77a7
Commit
be5d77a7
authored
Jan 23, 2016
by
Florent Revest
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Run mapplauncherd
parent
47b1909b
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
42 additions
and
7 deletions
+42
-7
booster-qtcomponents-qt5.service
...erd-booster-qtcomponents/booster-qtcomponents-qt5.service
+13
-0
preload.qml
...plauncherd/mapplauncherd-booster-qtcomponents/preload.qml
+13
-0
mapplauncherd-booster-qtcomponents_git.bb
...e/mapplauncherd/mapplauncherd-booster-qtcomponents_git.bb
+11
-3
mapplauncherd-qt_git.bb
recipes-nemomobile/mapplauncherd/mapplauncherd-qt_git.bb
+4
-3
mapplauncherd_git.bb
recipes-nemomobile/mapplauncherd/mapplauncherd_git.bb
+1
-1
No files found.
recipes-nemomobile/mapplauncherd/mapplauncherd-booster-qtcomponents/booster-qtcomponents-qt5.service
0 → 100644
View file @
be5d77a7
[Unit]
Description=Application launch booster for Qt Components on QtQuick2
After=pre-user-session.target
Requires=dbus.socket pre-user-session.target
[Service]
Type=notify
ExecStart=/usr/libexec/mapplauncherd/booster-qtcomponents-qt5 --systemd
EnvironmentFile=/var/lib/environment/mapplauncherd/qtcomponents-qt5.conf
OOMScoreAdjust=-250
[Install]
WantedBy=user-session.target
recipes-nemomobile/mapplauncherd/mapplauncherd-booster-qtcomponents/preload.qml
0 → 100644
View file @
be5d77a7
import
QtQuick
2.4
import
QtQuick
.
Controls
1.3
import
org
.
asteroid
.
controls
1.0
Application
{
Button
{
}
Label
{
}
Slider
{
}
Switch
{
}
TextArea
{
}
TextField
{
}
}
recipes-nemomobile/mapplauncherd/mapplauncherd-booster-qtcomponents_git.bb
View file @
be5d77a7
...
@@ -3,23 +3,31 @@ HOMEPAGE = "https://git.merproject.org/mer-core/mapplauncherd-booster-qtcomponen
...
@@ -3,23 +3,31 @@ HOMEPAGE = "https://git.merproject.org/mer-core/mapplauncherd-booster-qtcomponen
LICENSE = "LGPLv2.1"
LICENSE = "LGPLv2.1"
LIC_FILES_CHKSUM = "file://src/qmlbooster.cpp;beginline=1;endline=18;md5=7e2bc276f949feb1d8229e665a6a2559"
LIC_FILES_CHKSUM = "file://src/qmlbooster.cpp;beginline=1;endline=18;md5=7e2bc276f949feb1d8229e665a6a2559"
SRC_URI = "git://git.merproject.org/mer-core/mapplauncherd-booster-qtcomponents.git;protocol=https"
SRC_URI = "git://git.merproject.org/mer-core/mapplauncherd-booster-qtcomponents.git;protocol=https \
file://booster-qtcomponents-qt5.service \
file://preload.qml"
SRCREV = "1f9706fb9001cd350e4f6bcefbdb12d036af2ae2"
SRCREV = "1f9706fb9001cd350e4f6bcefbdb12d036af2ae2"
PR = "r1"
PR = "r1"
PV = "+git${SRCREV}"
PV = "+git${SRCREV}"
S = "${WORKDIR}/git"
S = "${WORKDIR}/git"
inherit qmake5
inherit qmake5
DEPENDS += "mapplauncherd mapplauncherd-qt qtdeclarative qtbase"
DEPENDS += "mapplauncherd mapplauncherd-qt qtdeclarative qtbase polkit"
RDEPENDS_${PN} += "polkit"
do_configure_prepend() {
do_configure_prepend() {
sed -i "s@INCLUDEPATH += /usr/include/applauncherd/@INCLUDEPATH += ${STAGING_INCDIR}/applauncherd ${STAGING_INCDIR}/mdeclarativecache5/@" ${S}/booster-qtcomponents.pro
sed -i "s@INCLUDEPATH += /usr/include/applauncherd/@INCLUDEPATH += ${STAGING_INCDIR}/applauncherd ${STAGING_INCDIR}/mdeclarativecache5/@" ${S}/booster-qtcomponents.pro
sed -i "s@LIBS += -lapplauncherd@LIBS += -lapplauncherd -lmdeclarativecache5@" ${S}/booster-qtcomponents.pro
sed -i "s@LIBS += -lapplauncherd@LIBS += -lapplauncherd -lmdeclarativecache5@" ${S}/booster-qtcomponents.pro
cp ${WORKDIR}/booster-qtcomponents-qt5.service ${S}/data/booster-qtcomponents-qt5.service
cp ${WORKDIR}/preload.qml ${S}/qml/preload.qml
}
}
do_install_append() {
do_install_append() {
install -d ${D}/usr/lib/systemd/user/default.target.wants/
install -d ${D}/usr/lib/systemd/user/default.target.wants/
# ln -s ../booster-qtcomponents-qt5.service ${D}/usr/lib/systemd/user/default.target.wants/booster-qtcomponents-qt5.service
ln -s ../booster-qtcomponents-qt5.service ${D}/usr/lib/systemd/user/default.target.wants/booster-qtcomponents-qt5.service
install -d ${D}/var/lib/environment/mapplauncherd
echo "QT_QPA_PLATFORM=wayland-egl" >> ${D}/var/lib/environment/mapplauncherd/qtcomponents-qt5.conf
}
}
FILES_${PN} += "/usr/libexec/mapplauncherd/ /usr/lib/systemd/user /usr/share/booster-qtcomponents-qt5"
FILES_${PN} += "/usr/libexec/mapplauncherd/ /usr/lib/systemd/user /usr/share/booster-qtcomponents-qt5"
...
...
recipes-nemomobile/mapplauncherd/mapplauncherd-qt_git.bb
View file @
be5d77a7
...
@@ -10,7 +10,8 @@ PV = "+git${SRCREV}"
...
@@ -10,7 +10,8 @@ PV = "+git${SRCREV}"
S = "${WORKDIR}/git"
S = "${WORKDIR}/git"
inherit qmake5
inherit qmake5
DEPENDS += "qtdeclarative qtbase mapplauncherd"
DEPENDS += "qtdeclarative qtbase mapplauncherd polkit"
RDEPENDS_${PN} += "polkit"
do_configure_prepend() {
do_configure_prepend() {
sed -i "s@INCLUDEPATH += /usr/include/applauncherd@INCLUDEPATH += ${STAGING_INCDIR}/applauncherd@" ${S}/qtbooster/qtbooster.pro
sed -i "s@INCLUDEPATH += /usr/include/applauncherd@INCLUDEPATH += ${STAGING_INCDIR}/applauncherd@" ${S}/qtbooster/qtbooster.pro
...
@@ -18,8 +19,8 @@ do_configure_prepend() {
...
@@ -18,8 +19,8 @@ do_configure_prepend() {
do_install_append() {
do_install_append() {
install -d ${D}/usr/lib/systemd/user/default.target.wants/
install -d ${D}/usr/lib/systemd/user/default.target.wants/
#
ln -s ../booster-qt5.service ${D}/usr/lib/systemd/user/default.target.wants/booster-qt5.service
ln -s ../booster-qt5.service ${D}/usr/lib/systemd/user/default.target.wants/booster-qt5.service
#
ln -s ../booster-qt5-signal.service ${D}/usr/lib/systemd/user/default.target.wants/booster-qt5-signal.service
ln -s ../booster-qt5-signal.service ${D}/usr/lib/systemd/user/default.target.wants/booster-qt5-signal.service
}
}
FILES_${PN} += "/usr/share/mkspecs/features /usr/lib/systemd/user /usr/libexec/mapplauncherd"
FILES_${PN} += "/usr/share/mkspecs/features /usr/lib/systemd/user /usr/libexec/mapplauncherd"
...
...
recipes-nemomobile/mapplauncherd/mapplauncherd_git.bb
View file @
be5d77a7
...
@@ -21,7 +21,7 @@ do_configure_prepend() {
...
@@ -21,7 +21,7 @@ do_configure_prepend() {
do_install_append() {
do_install_append() {
install -d ${D}/usr/lib/systemd/user/default.target.wants/
install -d ${D}/usr/lib/systemd/user/default.target.wants/
#
ln -s ../booster-generic.service ${D}/usr/lib/systemd/user/default.target.wants/booster-generic.service
ln -s ../booster-generic.service ${D}/usr/lib/systemd/user/default.target.wants/booster-generic.service
}
}
FILES_${PN} += "/usr/lib/systemd/user /usr/libexec/mapplauncherd/"
FILES_${PN} += "/usr/lib/systemd/user /usr/libexec/mapplauncherd/"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment