Gentoo Archives: gentoo-commits

From: "Johannes Huber (johu)" <johu@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-util/kdevplatform/files: kdevplatform-1.6.0-appwizard.patch
Date: Tue, 29 Jul 2014 16:53:31
Message-Id: 20140729165324.EF3B62004F@flycatcher.gentoo.org
1 johu 14/07/29 16:53:23
2
3 Added: kdevplatform-1.6.0-appwizard.patch
4 Log:
5 Revision bump adds upstream patch to fix new project creation with wizard spotted by Nanzikambe <janus.nanzikambe+gentoobugs@×××××.com>, bug #518486.
6
7 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key F3CFD2BD)
8
9 Revision Changes Path
10 1.1 dev-util/kdevplatform/files/kdevplatform-1.6.0-appwizard.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/kdevplatform/files/kdevplatform-1.6.0-appwizard.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/kdevplatform/files/kdevplatform-1.6.0-appwizard.patch?rev=1.1&content-type=text/plain
14
15 Index: kdevplatform-1.6.0-appwizard.patch
16 ===================================================================
17 commit 33b660dfefe02ecd4391a284f6fd6de9439b2b45
18 Author: Milian Wolff <mail@×××××××.de>
19 Date: Thu Mar 20 11:50:07 2014 +0100
20
21 Keep backwards compatibility: replace "dest" variable.
22
23 Its an alias for PROJECTDIR and used in quite some templates
24 apparently.
25
26 BUG: 329392
27
28 diff --git a/plugins/appwizard/appwizardplugin.cpp b/plugins/appwizard/appwizardplugin.cpp
29 index 3e22183..7948e47 100644
30 --- a/plugins/appwizard/appwizardplugin.cpp
31 +++ b/plugins/appwizard/appwizardplugin.cpp
32 @@ -238,6 +238,8 @@ QString AppWizardPlugin::createProject(const ApplicationInfo& info)
33 m_variables["APPNAMELC"] = info.name.toLower();
34 m_variables["APPNAMEID"] = generateIdentifier(info.name);
35 m_variables["PROJECTDIR"] = dest.toLocalFile();
36 + // backwards compatibility
37 + m_variables["dest"] = m_variables["PROJECTDIR"];
38 m_variables["PROJECTDIRNAME"] = dest.fileName();
39 m_variables["VERSIONCONTROLPLUGIN"] = info.vcsPluginName;