summaryrefslogtreecommitdiffstats
path: root/patches/0008-Moved-symbianpkgrules-profiles-to-be-feature-profile.patch
blob: 1462df5c34b902b87cee728bf4c2ee16936ff138 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
From 33756c1d5fa770eb7e00e7301e9296cff4a93bd8 Mon Sep 17 00:00:00 2001
From: axis <qt-info@nokia.com>
Date: Tue, 16 Nov 2010 14:31:27 +0100
Subject: [PATCH] Moved symbianpkgrules profiles to be feature profiles.

---
 qtbase/demos/symbianpkgrules.pri               |   19 -------------------
 qtbase/examples/symbianpkgrules.pri            |   20 --------------------
 qtbase/mkspecs/features/symbian/qt_demo.prf    |   17 +++++++++++++++++
 qtbase/mkspecs/features/symbian/qt_example.prf |   17 +++++++++++++++++
 4 files changed, 34 insertions(+), 39 deletions(-)
 delete mode 100644 qtbase/demos/symbianpkgrules.pri
 delete mode 100644 qtbase/examples/symbianpkgrules.pri
 create mode 100644 qtbase/mkspecs/features/symbian/qt_demo.prf
 create mode 100644 qtbase/mkspecs/features/symbian/qt_example.prf

diff --git a/qtbase/demos/symbianpkgrules.pri b/qtbase/demos/symbianpkgrules.pri
deleted file mode 100644
index ef6dfd8..0000000
--- a/qtbase/demos/symbianpkgrules.pri
+++ /dev/null
@@ -1,19 +0,0 @@
-!symbian: error(Only include this file for Symbian platforms)
-
-RSS_RULES ="group_name=\"QtDemos\";"
-
-nokiaVendor = "Nokia, Qt"
-vendorinfo = \
-    "; Localised Vendor name" \
-    "%{$$addLanguageDependentPkgItem(nokiaVendor)}" \
-    " " \
-    "; Unique Vendor name" \
-    ":\"$$nokiaVendor\"" \
-    " "
-
-demos_deployment.pkg_prerules += vendorinfo
-DEPLOYMENT += demos_deployment
-
-isEmpty(ICON):contains(TEMPLATE, ".*app"):contains(QT, gui):contains(CONFIG, qt):!contains(CONFIG, "no_icon") {
-    ICON = $$QT_SOURCE_TREE/src/s60installs/qt.svg
-}
diff --git a/qtbase/examples/symbianpkgrules.pri b/qtbase/examples/symbianpkgrules.pri
deleted file mode 100644
index fe9b487..0000000
--- a/qtbase/examples/symbianpkgrules.pri
+++ /dev/null
@@ -1,20 +0,0 @@
-!symbian: error(Only include this file for Symbian platforms)
-
-RSS_RULES ="group_name=\"QtExamples\";"
-
-nokiaVendor = "Nokia, Qt"
-vendorinfo = \
-    "; Localised Vendor name" \
-    "%{$$addLanguageDependentPkgItem(nokiaVendor)}" \
-    " " \
-    "; Unique Vendor name" \
-    ":\"$$nokiaVendor\"" \
-    " "
-
-examples_deployment.pkg_prerules += vendorinfo
-DEPLOYMENT += examples_deployment
-
-isEmpty(ICON):contains(TEMPLATE, ".*app"):contains(QT, gui):contains(CONFIG, qt):!contains(CONFIG, "no_icon") {
-    ICON = $$QT_SOURCE_TREE/src/s60installs/qt.svg
-}
-
diff --git a/qtbase/mkspecs/features/symbian/qt_demo.prf b/qtbase/mkspecs/features/symbian/qt_demo.prf
new file mode 100644
index 0000000..9c4d96c
--- /dev/null
+++ b/qtbase/mkspecs/features/symbian/qt_demo.prf
@@ -0,0 +1,17 @@
+RSS_RULES ="group_name=\"QtDemos\";"
+
+nokiaVendor = "Nokia, Qt"
+vendorinfo = \
+    "; Localised Vendor name" \
+    "%{$$addLanguageDependentPkgItem(nokiaVendor)}" \
+    " " \
+    "; Unique Vendor name" \
+    ":\"$$nokiaVendor\"" \
+    " "
+
+demos_deployment.pkg_prerules += vendorinfo
+DEPLOYMENT += demos_deployment
+
+isEmpty(ICON):contains(TEMPLATE, ".*app"):contains(QT, gui):contains(CONFIG, qt):!contains(CONFIG, "no_icon") {
+    ICON = $$QT_SOURCE_TREE/src/s60installs/qt.svg
+}
diff --git a/qtbase/mkspecs/features/symbian/qt_example.prf b/qtbase/mkspecs/features/symbian/qt_example.prf
new file mode 100644
index 0000000..8c523fb
--- /dev/null
+++ b/qtbase/mkspecs/features/symbian/qt_example.prf
@@ -0,0 +1,17 @@
+RSS_RULES ="group_name=\"QtExamples\";"
+
+nokiaVendor = "Nokia, Qt"
+vendorinfo = \
+    "; Localised Vendor name" \
+    "%{$$addLanguageDependentPkgItem(nokiaVendor)}" \
+    " " \
+    "; Unique Vendor name" \
+    ":\"$$nokiaVendor\"" \
+    " "
+
+examples_deployment.pkg_prerules += vendorinfo
+DEPLOYMENT += examples_deployment
+
+isEmpty(ICON):contains(TEMPLATE, ".*app"):contains(QT, gui):contains(CONFIG, qt):!contains(CONFIG, "no_icon") {
+    ICON = $$QT_SOURCE_TREE/src/s60installs/qt.svg
+}
-- 
1.7.3.4