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
c4c75de1
Commit
c4c75de1
authored
Jun 12, 2017
by
Florent Revest
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mapplauncherd-qt: Share same mdeclarativecache_pre_initialized_qapplication for each qmlcache
parent
033d354d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
34 additions
and
1 deletion
+34
-1
0001-mdeclarativecache5-Share-same-mdeclarativecache_pre_.patch
...declarativecache5-Share-same-mdeclarativecache_pre_.patch
+32
-0
mapplauncherd-qt_git.bb
recipes-nemomobile/mapplauncherd/mapplauncherd-qt_git.bb
+2
-1
No files found.
recipes-nemomobile/mapplauncherd/mapplauncherd-qt/0001-mdeclarativecache5-Share-same-mdeclarativecache_pre_.patch
0 → 100644
View file @
c4c75de1
From d106c0397438c14cc450c20f8a7adbe83bb13a86 Mon Sep 17 00:00:00 2001
From: Florent Revest <revestflo@gmail.com>
Date: Mon, 12 Jun 2017 02:02:45 +0200
Subject: [PATCH] mdeclarativecache5: Share same
mdeclarativecache_pre_initialized_qapplication for each qmlcache
---
mdeclarativecache5/mdeclarativecache.cpp | 8 +-------
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/mdeclarativecache5/mdeclarativecache.cpp b/mdeclarativecache5/mdeclarativecache.cpp
index 622eac9..73ccdc8 100644
--- a/mdeclarativecache5/mdeclarativecache.cpp
+++ b/mdeclarativecache5/mdeclarativecache.cpp
@@ -61,13 +61,7 @@
void MDeclarativeCachePrivate::populate()
cachePopulated = true;
static const char *const emptyString = "";
- static const QString appNameFormat = "mdeclarativecache_pre_initialized_qapplication-%1";
- static QByteArray appName;
-
- // Append pid to appName to make it unique. This is required because the
- // libminputcontext.so instantiates MComponentData, which in turn registers
- // a dbus service with the application's name.
- appName = appNameFormat.arg(getpid()).toLatin1();
+ static QByteArray appName = "mdeclarativecache_pre_initialized_qapplication";
// We support at most ARGV_LIMIT arguments in QCoreApplication. These will be set when real
// arguments are known (in MDeclarativeCachePrivate::qApplication).
--
2.7.4
recipes-nemomobile/mapplauncherd/mapplauncherd-qt_git.bb
View file @
c4c75de1
...
@@ -4,7 +4,8 @@ LICENSE = "LGPLv2.1"
...
@@ -4,7 +4,8 @@ LICENSE = "LGPLv2.1"
LIC_FILES_CHKSUM = "file://qtbooster/qtbooster.cpp;beginline=1;endline=18;md5=fb70bd5bb640878875111d8161fa303c"
LIC_FILES_CHKSUM = "file://qtbooster/qtbooster.cpp;beginline=1;endline=18;md5=fb70bd5bb640878875111d8161fa303c"
SRC_URI = "git://git.merproject.org/mer-core/mapplauncherd-qt.git;protocol=https \
SRC_URI = "git://git.merproject.org/mer-core/mapplauncherd-qt.git;protocol=https \
file://booster-qt5.service"
file://0001-mdeclarativecache5-Share-same-mdeclarativecache_pre_.patch
file://booster-qt5.service"
SRCREV = "8c2d34f64c7e21bcf394e937e71361da51e6077c"
SRCREV = "8c2d34f64c7e21bcf394e937e71361da51e6077c"
PR = "r1"
PR = "r1"
PV = "+git${SRCPV}"
PV = "+git${SRCPV}"
...
...
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