aboutsummaryrefslogtreecommitdiff
path: root/debian/patches/01-change-prefix.diff
blob: 8a610ab06871bf2dee41685367f6f3c26db4a91d (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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
Description: Change the prefix from /usr/local to /usr
 Change installation prefix to /usr
 .
 lumina-desktop (0.6.2.14-1nano) unstable; urgency=low
 .
   * Initial release
Author: Christopher Roy Bratusek <nano@jpberlin.de>

--- lumina-desktop-0.6.2.14.orig/libLumina/libLumina.pro
+++ lumina-desktop-0.6.2.14/libLumina/libLumina.pro
@@ -2,7 +2,7 @@
 QT       += core
 
 TARGET=LuminaUtils
-target.path = /usr/local/lib
+target.path = /usr/lib
 
 DESTDIR= $$_PRO_FILE_PWD_/
 
@@ -21,11 +21,11 @@ SOURCES	+= LuminaXDG.cpp \
 	LuminaOS-FreeBSD.cpp \
 	LuminaOS-Linux.cpp
 
-INCLUDEPATH += /usr/local/include
+INCLUDEPATH += /usr/include
 
 LIBS	+= -lX11 -lXrender -lXcomposite
 
-include.path=/usr/local/include/
+include.path=/usr/include/
 include.files=LuminaXDG.h \
 	LuminaUtils.h \
 	LuminaX11.h \
@@ -33,4 +33,4 @@ include.files=LuminaXDG.h \
 
 INSTALLS += target include 
 
-QMAKE_LIBDIR = /usr/local/lib/qt4 /usr/local/lib
+QMAKE_LIBDIR = /usr/lib/qt4 /usr/lib
--- lumina-desktop-0.6.2.14.orig/lumina-config/lumina-config.pro
+++ lumina-desktop-0.6.2.14/lumina-config/lumina-config.pro
@@ -2,7 +2,7 @@
 QT       += core gui
 
 TARGET = lumina-config
-target.path = /usr/local/bin
+target.path = /usr/bin
 
 TEMPLATE = app
 
@@ -20,7 +20,7 @@ FORMS    += mainUI.ui \
 
 # RESOURCES+= lumina-config.qrc
 
-INCLUDEPATH += ../libLumina /usr/local/include
+INCLUDEPATH += ../libLumina /usr/include
 
 linux-g++-64 {
   LIBS     += -L../libLumina -lLuminaUtils 
@@ -93,7 +93,7 @@ TRANSLATIONS =  i18n/lumina-config_af.ts
                 i18n/lumina-config_zh_TW.ts \
                 i18n/lumina-config_zu.ts
 
-dotrans.path=/usr/local/share/Lumina-DE/i18n/
-dotrans.extra=cd i18n && lrelease-qt4 -nounfinished *.ts && cp *.qm $(INSTALL_ROOT)/usr/local/share/Lumina-DE/i18n/
+dotrans.path=/usr/share/Lumina-DE/i18n/
+dotrans.extra=cd i18n && lrelease-qt4 -nounfinished *.ts && cp *.qm $(INSTALL_ROOT)/usr/share/Lumina-DE/i18n/
 
 INSTALLS += target dotrans
--- lumina-desktop-0.6.2.14.orig/lumina-desktop/lumina-desktop.pro
+++ lumina-desktop-0.6.2.14/lumina-desktop/lumina-desktop.pro
@@ -2,7 +2,7 @@
 QT       += core gui network phonon
 
 TARGET = Lumina-DE
-target.path = /usr/local/bin
+target.path = /usr/bin
 
 LIBS     += -L../libLumina -lLuminaUtils -lXdamage -lX11
 QMAKE_LIBDIR	= ../libLumina
@@ -78,25 +78,25 @@ FORMS    += SystemWindow.ui \
 
 RESOURCES+= Lumina-DE.qrc
 
-INCLUDEPATH += ../libLumina /usr/local/include
+INCLUDEPATH += ../libLumina /usr/include
 
 desktop.files = Lumina-DE.desktop
 linux-g++-64 {
 desktop.path = /usr/share/xsessions
 } else {
-desktop.path = /usr/local/share/xsessions
+desktop.path = /usr/share/xsessions
 }
 
 icons.files = Lumina-DE.png \
 		Insight-FileManager.png
 
-icons.path = /usr/local/share/pixmaps
+icons.path = /usr/share/pixmaps
 
 wallpapers.files = wallpapers/Lumina_Wispy_gold_1920x1080.jpg \
 			wallpapers/Lumina_Wispy_green_1920x1080.jpg \
 			wallpapers/Lumina_Wispy_purple_1920x1080.jpg \
 			wallpapers/Lumina_Wispy_red_1920x1080.jpg
-wallpapers.path = /usr/local/share/wallpapers/Lumina-DE
+wallpapers.path = /usr/share/wallpapers/Lumina-DE
 
 defaults.files = defaults/desktop-background.jpg \
 		defaults/defaultapps.conf \
@@ -104,7 +104,7 @@ defaults.files = defaults/desktop-backgr
 		defaults/stylesheet.qss \
 		audiofiles/Logout.ogg \
 		audiofiles/Login.ogg
-defaults.path = /usr/local/share/Lumina-DE/
+defaults.path = /usr/share/Lumina-DE/
 
 TRANSLATIONS =  i18n/lumina-desktop_af.ts \
                 i18n/lumina-desktop_ar.ts \
@@ -169,7 +169,7 @@ TRANSLATIONS =  i18n/lumina-desktop_af.t
                 i18n/lumina-desktop_zh_TW.ts \
                 i18n/lumina-desktop_zu.ts
 
-dotrans.path=/usr/local/share/Lumina-DE/i18n/
-dotrans.extra=cd i18n && lrelease-qt4 -nounfinished *.ts && cp *.qm $(INSTALL_ROOT)/usr/local/share/Lumina-DE/i18n/
+dotrans.path=/usr/share/Lumina-DE/i18n/
+dotrans.extra=cd i18n && lrelease-qt4 -nounfinished *.ts && cp *.qm $(INSTALL_ROOT)/usr/share/Lumina-DE/i18n/
 
 INSTALLS += target desktop icons wallpapers defaults dotrans
--- lumina-desktop-0.6.2.14.orig/lumina-fm/lumina-fm.pro
+++ lumina-desktop-0.6.2.14/lumina-fm/lumina-fm.pro
@@ -2,7 +2,7 @@
 QT       += core gui phonon
 
 TARGET = lumina-fm
-target.path = /usr/local/bin
+target.path = /usr/bin
 
 TEMPLATE = app
 
@@ -22,7 +22,7 @@ FORMS    += MainUI.ui \
 
 # RESOURCES+= lumina-fm.qrc
 
-INCLUDEPATH += ../libLumina /usr/local/include
+INCLUDEPATH += ../libLumina /usr/include
 
 linux-g++-64 {
   LIBS     += -L../libLumina -lLuminaUtils 
@@ -95,10 +95,10 @@ TRANSLATIONS =  i18n/lumina-fm_af.ts \
                 i18n/lumina-fm_zh_TW.ts \
                 i18n/lumina-fm_zu.ts
 
-dotrans.path=/usr/local/share/Lumina-DE/i18n/
-dotrans.extra=cd i18n && lrelease-qt4 -nounfinished *.ts && cp *.qm $(INSTALL_ROOT)/usr/local/share/Lumina-DE/i18n/
+dotrans.path=/usr/share/Lumina-DE/i18n/
+dotrans.extra=cd i18n && lrelease-qt4 -nounfinished *.ts && cp *.qm $(INSTALL_ROOT)/usr/share/Lumina-DE/i18n/
 
 desktop.files=lumina-fm.desktop
-desktop.path=/usr/local/share/applications/
+desktop.path=/usr/share/applications/
 
 INSTALLS += target dotrans desktop
--- lumina-desktop-0.6.2.14.orig/lumina-open/lumina-open.pro
+++ lumina-desktop-0.6.2.14/lumina-open/lumina-open.pro
@@ -2,7 +2,7 @@
 QT       += core gui
 
 TARGET = lumina-open
-target.path = /usr/local/bin
+target.path = /usr/bin
 
 TEMPLATE = app
 
@@ -15,7 +15,7 @@ FORMS    += LFileDialog.ui
 
 RESOURCES+= lumina-open.qrc
 
-INCLUDEPATH += ../libLumina /usr/local/include
+INCLUDEPATH += ../libLumina /usr/include
 LIBS     += -L../libLumina -lLuminaUtils
 QMAKE_LIBDIR	= ../libLumina
 DEPENDPATH	+= ../libLumina
@@ -83,7 +83,7 @@ TRANSLATIONS =  i18n/lumina-open_af.ts \
                 i18n/lumina-open_zh_TW.ts \
                 i18n/lumina-open_zu.ts
 
-dotrans.path=/usr/local/share/Lumina-DE/i18n/
-dotrans.extra=cd i18n && lrelease-qt4 -nounfinished *.ts && cp *.qm $(INSTALL_ROOT)/usr/local/share/Lumina-DE/i18n/
+dotrans.path=/usr/share/Lumina-DE/i18n/
+dotrans.extra=cd i18n && lrelease-qt4 -nounfinished *.ts && cp *.qm $(INSTALL_ROOT)/usr/share/Lumina-DE/i18n/
 
 INSTALLS += target dotrans
--- lumina-desktop-0.6.2.14.orig/lumina-screenshot/lumina-screenshot.pro
+++ lumina-desktop-0.6.2.14/lumina-screenshot/lumina-screenshot.pro
@@ -2,7 +2,7 @@
 QT       += core gui
 
 TARGET = lumina-screenshot
-target.path = /usr/local/bin
+target.path = /usr/bin
 
 TEMPLATE = app
 
@@ -13,7 +13,7 @@ HEADERS  += MainUI.h
 
 FORMS    += MainUI.ui
 
-INCLUDEPATH += ../libLumina /usr/local/include
+INCLUDEPATH += ../libLumina /usr/include
 
 linux-g++-64 {
   LIBS     += -L../libLumina -lLuminaUtils 
@@ -86,10 +86,10 @@ TRANSLATIONS =  i18n/lumina-screenshot_a
                 i18n/lumina-screenshot_zh_TW.ts \
                 i18n/lumina-screenshot_zu.ts
 
-dotrans.path=/usr/local/share/Lumina-DE/i18n/
-dotrans.extra=cd i18n && lrelease-qt4 -nounfinished *.ts && cp *.qm $(INSTALL_ROOT)/usr/local/share/Lumina-DE/i18n/
+dotrans.path=/usr/share/Lumina-DE/i18n/
+dotrans.extra=cd i18n && lrelease-qt4 -nounfinished *.ts && cp *.qm $(INSTALL_ROOT)/usr/share/Lumina-DE/i18n/
 
 desktop.files=lumina-screenshot.desktop
-desktop.path=/usr/local/share/applications/
+desktop.path=/usr/share/applications/
 
 INSTALLS += target dotrans desktop
bgstack15