Mercurial > projects > doodle
annotate configure.d @ 138:a1c2b56cb44d
Beginnings of rst doc with embedded plantuml
author | David Bryant <bagnose@gmail.com> |
---|---|
date | Sun, 30 Sep 2012 15:25:53 +0930 |
parents | be50d20643a1 |
children |
rev | line source |
---|---|
28
1754cb773d41
Part-way through getting to compile with configure/builder.
Graham St Jack <graham.stjack@internode.on.net>
parents:
diff
changeset
|
1 // |
134 | 2 // Configure script for the reuse repo |
28
1754cb773d41
Part-way through getting to compile with configure/builder.
Graham St Jack <graham.stjack@internode.on.net>
parents:
diff
changeset
|
3 // |
1754cb773d41
Part-way through getting to compile with configure/builder.
Graham St Jack <graham.stjack@internode.on.net>
parents:
diff
changeset
|
4 |
134 | 5 import configure_functions; |
28
1754cb773d41
Part-way through getting to compile with configure/builder.
Graham St Jack <graham.stjack@internode.on.net>
parents:
diff
changeset
|
6 |
134 | 7 import std.process; |
8 import std.string; | |
28
1754cb773d41
Part-way through getting to compile with configure/builder.
Graham St Jack <graham.stjack@internode.on.net>
parents:
diff
changeset
|
9 import std.file; |
134 | 10 |
11 | |
12 void main(string args[]) { | |
13 auto data = initialise(args, "doodle"); | |
14 | |
15 // | |
16 // open | |
17 // | |
18 | |
135
be50d20643a1
Depend on only the things we need.
David Bryant <bagnose@gmail.com>
parents:
134
diff
changeset
|
19 /* |
134 | 20 // libssh2 and dependencies required by net |
21 usePackage(data, "libssh2", Constraint.AtLeast, "1.2"); | |
22 useHeader( data, "gcrypt.h"); | |
23 useLibrary(data, "libgcrypt.so"); | |
135
be50d20643a1
Depend on only the things we need.
David Bryant <bagnose@gmail.com>
parents:
134
diff
changeset
|
24 */ |
134 | 25 |
26 // TAO is required by corba-tao | |
27 //useTao(data); | |
28
1754cb773d41
Part-way through getting to compile with configure/builder.
Graham St Jack <graham.stjack@internode.on.net>
parents:
diff
changeset
|
28 |
1754cb773d41
Part-way through getting to compile with configure/builder.
Graham St Jack <graham.stjack@internode.on.net>
parents:
diff
changeset
|
29 |
134 | 30 // |
31 // reuse | |
32 // | |
28
1754cb773d41
Part-way through getting to compile with configure/builder.
Graham St Jack <graham.stjack@internode.on.net>
parents:
diff
changeset
|
33 |
135
be50d20643a1
Depend on only the things we need.
David Bryant <bagnose@gmail.com>
parents:
134
diff
changeset
|
34 /* |
134 | 35 usePackage(data, "libxml-2.0"); |
36 usePackage(data, "libpng"); | |
37 usePackage(data, "freetype2"); | |
38 usePackage(data, "gtkmm-2.4", Constraint.AtLeast, "2.18"); | |
39 usePackage(data, "gtkglext-1.0"); | |
40 usePackage(data, "gstreamer-0.10", Constraint.AtLeast, "0.10.22"); | |
41 usePackage(data, "gstreamermm-0.10", Constraint.AtLeast, "0.10.1"); | |
42 usePackage(data, "xv"); | |
43 usePackage(data, "xext"); | |
44 usePackage(data, "xextproto"); | |
45 usePackage(data, "neon", Constraint.AtLeast, "0.28.2"); | |
46 usePackage(data, "libconfig", Constraint.AtLeast, "1.3.1"); | |
47 usePackage(data, "libconfig++", Constraint.AtLeast, "1.3.1"); | |
48 | |
49 useHeader( data, "jpeglib.h"); | |
50 useLibrary(data, "libjpeg.so"); | |
51 | |
52 useExecutable(data, "IMAGE_MAGICK_CONVERT", ["convert"]); | |
53 useExecutable(data, "ZIP", ["zip"]); | |
135
be50d20643a1
Depend on only the things we need.
David Bryant <bagnose@gmail.com>
parents:
134
diff
changeset
|
54 */ |
28
1754cb773d41
Part-way through getting to compile with configure/builder.
Graham St Jack <graham.stjack@internode.on.net>
parents:
diff
changeset
|
55 |
135
be50d20643a1
Depend on only the things we need.
David Bryant <bagnose@gmail.com>
parents:
134
diff
changeset
|
56 /* |
134 | 57 appendBobVar(data, "CCFLAGS", |
58 ["-DGTKMM_MACRO_SHADOW_ERROR", | |
59 "-DGTKMM_DISABLE_DEPRECATED", | |
60 "-DGDKMM_DISABLE_DEPRECATED", | |
61 "-DGLIBMM_DISABLE_DEPRECATED", | |
62 "-DGDK_DISABLE_DEPRECATED", | |
63 "-DG_DISABLE_DEPRECATED", | |
64 "-DLIBSIGC_DISABLE_DEPRECATED", | |
65 "-DGTK_DISABLE_DEPRECATED", | |
66 "-DGSEAL_ENABLE"]); | |
135
be50d20643a1
Depend on only the things we need.
David Bryant <bagnose@gmail.com>
parents:
134
diff
changeset
|
67 */ |
28
1754cb773d41
Part-way through getting to compile with configure/builder.
Graham St Jack <graham.stjack@internode.on.net>
parents:
diff
changeset
|
68 |
135
be50d20643a1
Depend on only the things we need.
David Bryant <bagnose@gmail.com>
parents:
134
diff
changeset
|
69 /* |
134 | 70 if (exists("/opt/acacia/ecw")) { |
71 string[][Use] dirs; | |
72 dirs[Use.Inc] = ["/opt/acacia/ecw/include"]; | |
73 dirs[Use.Lib] = ["/opt/acacia/ecw/lib"]; | |
74 setProjectDirs(data, dirs); | |
75 | |
76 useHeader( data, "NCSFile.h"); | |
77 useLibrary(data, "libNCSUtil.so"); | |
78 useLibrary(data, "libNCSCnet.so"); | |
79 useLibrary(data, "libNCSEcw.so"); | |
80 | |
81 appendBobVar(data, "CCFLAGS", ["-DUSE_ECW_CHARTING_RASTER_SOURCE"]); | |
82 appendBobVar(data, "ECW_LIBRARIES", ["NCSEcw", "NCSUtil", "NCSCnet"]); | |
28
1754cb773d41
Part-way through getting to compile with configure/builder.
Graham St Jack <graham.stjack@internode.on.net>
parents:
diff
changeset
|
83 } |
135
be50d20643a1
Depend on only the things we need.
David Bryant <bagnose@gmail.com>
parents:
134
diff
changeset
|
84 */ |
28
1754cb773d41
Part-way through getting to compile with configure/builder.
Graham St Jack <graham.stjack@internode.on.net>
parents:
diff
changeset
|
85 |
1754cb773d41
Part-way through getting to compile with configure/builder.
Graham St Jack <graham.stjack@internode.on.net>
parents:
diff
changeset
|
86 |
135
be50d20643a1
Depend on only the things we need.
David Bryant <bagnose@gmail.com>
parents:
134
diff
changeset
|
87 /* |
134 | 88 appendRunVar(data, "GST_PLUGIN_PATH", ["${DIST_PATH}/lib/plugins"]); |
135
be50d20643a1
Depend on only the things we need.
David Bryant <bagnose@gmail.com>
parents:
134
diff
changeset
|
89 */ |
134 | 90 |
91 | |
92 finalise(data, [/*"open"*/]); | |
28
1754cb773d41
Part-way through getting to compile with configure/builder.
Graham St Jack <graham.stjack@internode.on.net>
parents:
diff
changeset
|
93 } |