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
|
diff --git a/wscript b/wscript
index 0ea49c44..c7cd9591 100644
--- a/wscript
+++ b/wscript
@@ -161,7 +161,7 @@ def configure(conf):
conf.env['LIB_EXPAT'] = ['expat']
- build_gui = True
+ build_gui = False
if build_gui and not conf.check_cfg(
package = 'glib-2.0',
@@ -649,20 +649,20 @@ def build(bld):
bld.install_files('${PREFIX}/bin', 'ladish_control', chmod=0o0755)
# 'Desktop' file (menu entry, icon, etc)
- bld.install_files('${PREFIX}/share/applications/', 'gui/gladish.desktop', chmod=0o0644)
+ # bld.install_files('${PREFIX}/share/applications/', 'gui/gladish.desktop', chmod=0o0644)
# Icons
- icon_sizes = ['16x16', '22x22', '24x24', '32x32', '48x48', '256x256']
- for icon_size in icon_sizes:
- bld.path.ant_glob('art/' + icon_size + '/apps/*.png')
- bld.install_files('${PREFIX}/share/icons/hicolor/' + icon_size + '/apps/', 'art/' + icon_size + '/apps/gladish.png')
+ # icon_sizes = ['16x16', '22x22', '24x24', '32x32', '48x48', '256x256']
+ # for icon_size in icon_sizes:
+ # bld.path.ant_glob('art/' + icon_size + '/apps/*.png')
+ # bld.install_files('${PREFIX}/share/icons/hicolor/' + icon_size + '/apps/', 'art/' + icon_size + '/apps/gladish.png')
- status_images = []
- for status in ["down", "unloaded", "started", "stopped", "warning", "error"]:
- status_images.append("art/status_" + status + ".png")
+ # status_images = []
+ # for status in ["down", "unloaded", "started", "stopped", "warning", "error"]:
+ # status_images.append("art/status_" + status + ".png")
- bld.install_files('${DATA_DIR}', status_images)
- bld.install_files('${DATA_DIR}', "art/ladish-logo-128x128.png")
+ #bld.install_files('${DATA_DIR}', status_images)
+ #bld.install_files('${DATA_DIR}', "art/ladish-logo-128x128.png")
bld.install_files('${DOCDIR}', ["AUTHORS", "README", "NEWS"])
bld.install_as('${DATA_DIR}/COPYING', "gpl2.txt")
|