File: 01_debug_build.patch

package info (click to toggle)
monkeystudio 1.9.0.4%2Bgit20161218-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 41,500 kB
  • ctags: 22,118
  • sloc: cpp: 144,671; ansic: 33,969; python: 2,922; makefile: 127; sh: 122; php: 73; cs: 69
file content (87 lines) | stat: -rw-r--r-- 3,128 bytes parent folder | download | duplicates (2)
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
Description: build debug instead of release
 This is needed to be able to create a monkeystudio-dbg package
Forwarded: not-needed
Author: Evgeni Golov <evgeni@debian.org>
Last-Update: 2012-04-29

diff --git a/build.pro b/build.pro
index 67e48ea..14a8396 100644
--- a/monkeystudio.pro
+++ b/monkeystudio.pro
@@ -6,8 +6,8 @@ XUP.MAC_PLATFORM_TARGET_RELEASE = bin/MonkeyStudio.app
 XUP.MAC_PLATFORM_TARGET_DEBUG = bin/MonkeyStudio_debug.app
 XUP.MAC_PLATFORM_TARGET_DEFAULT = bin/MonkeyStudio_debug.app
 XUP.OTHERS_PLATFORM_TARGET_RELEASE = bin/monkeystudio
-XUP.OTHERS_PLATFORM_TARGET_DEBUG = bin/monkeystudio_debug
-XUP.OTHERS_PLATFORM_TARGET_DEFAULT = bin/monkeystudio_debug
+XUP.OTHERS_PLATFORM_TARGET_DEBUG = bin/monkeystudio
+XUP.OTHERS_PLATFORM_TARGET_DEFAULT = bin/monkeystudio
 
 # include install script
 include( installs.pri )
diff --git a/config.pri b/config.pri
index 351f616..2378483 100644
--- a/config.pri
+++ b/config.pri
@@ -1,6 +1,6 @@
 # build mode
-CONFIG  *= qt warn_on thread x11 windows rtti release
-CONFIG  -= warn_off debug debug_and_release x86 x86_64 ppc ppc64
+CONFIG  *= qt warn_on thread x11 windows rtti debug
+CONFIG  -= warn_off release debug_and_release x86 x86_64 ppc ppc64
 QT  *= xml sql
 
 # Mac universal build from 10.4 to up to 10.5
diff --git a/functions.pri b/functions.pri
index 9301ed6..541f677 100644
--- a/functions.pri
+++ b/functions.pri
@@ -108,8 +108,7 @@ isEmpty( translations_pass ) {
         isEqual( q_mode, release ) {
             q_target    = $$quote( $$q_target )
         } else {
-            unix:q_target   = $$quote( $$join( q_target, , , _debug ) )
-            else:q_target   = $$quote( $$join( q_target, , , d ) )
+            q_target    = $$quote( $$q_target )
         }
         
         return( $$q_target )
diff --git a/ctags/ctags.pri b/ctags/ctags.pri
index c9a17cc..6e7b11e 100644
--- a/ctags/ctags.pri
+++ b/ctags/ctags.pri
@@ -17,7 +17,7 @@ LIBS    *= -L$${PACKAGE_BUILD_PATH}
 contains( TEMPLATE, .*app ) {
     CONFIG(debug, debug|release) {
         #Debug
-        unix:LIBS   *= -l$${CTAGS_TARGET}_debug
+        unix:LIBS   *= -l$${CTAGS_TARGET}
         else:LIBS   *= -l$${CTAGS_TARGET}d
     } else {
         #Release
diff --git a/fresh/fresh.pri b/fresh/fresh.pri
index ebcd46e..def27a8 100644
--- a/fresh/fresh.pri
+++ b/fresh/fresh.pri
@@ -13,7 +13,7 @@ LIBS    *= -L$${PACKAGE_BUILD_PATH}
 contains( TEMPLATE, .*app ) {
     CONFIG(debug, debug|release) {
         #Debug
-        unix:LIBS   *= -l$${FRESH_TARGET}_debug
+        unix:LIBS   *= -l$${FRESH_TARGET}
         else:LIBS   *= -l$${FRESH_TARGET}d
     } else {
         #Release
diff --git a/qCtagsSense/qCtagsSense.pri b/qCtagsSense/qCtagsSense.pri
index 6ff8e95..c7a8b3f 100644
--- a/qCtagsSense/qCtagsSense.pri
+++ b/qCtagsSense/qCtagsSense.pri
@@ -17,7 +17,7 @@ LIBS    *= -L$${PACKAGE_BUILD_PATH}
 contains( TEMPLATE, .*app ) {
     CONFIG(debug, debug|release) {
         #Debug
-        unix:LIBS   *= -l$${QCTAGSSENSE_TARGET}_debug
+        unix:LIBS   *= -l$${QCTAGSSENSE_TARGET}
         else:LIBS   *= -l$${QCTAGSSENSE_TARGET}d
     } else {
         #Release