Add ocaml-atd
[fedora-ocaml-rebuild.git] / Goalfile
1 # See README.
2
3 include "fedora.gl"
4
5 let fedora-dir = "%HOME/d/fedora"
6
7 let fedora-branch = "rawhide"
8 #let fedora-branch = "f34"
9 let fedora-tag = "f37-build-side-54560"
10
11 # The magic string that must appear in %changelog when the
12 # package has been rebuilt.
13 let fedora-rebuild-name = "OCaml 4.14.0 rebuild"
14
15 # Packages that are ignored, which means they are treated as if
16 # they have been rebuilt.
17 let fedora-ignored = [
18     "ocaml-srpm-macros", "ocaml",
19
20     # These use rpmautospec and must be rebuilt by hand for now.
21     # XXX eventually need to fix stdlib/fedora.gl to deal with these
22     "ocaml-base64",
23     "ocaml-dose3",
24     "ocaml-opam-file-format",
25     "opam",
26 ]
27
28 # All OCaml-related source package names
29 let packages = [
30     "ocaml-alcotest",
31     "ocaml-ancient",
32     "ocaml-astring",
33     "ocaml-atd",
34     "ocaml-augeas",
35     "ocaml-autoconf",
36     "ocaml-base",
37     "ocaml-base64",
38     "ocaml-benchmark",
39     "ocaml-bigarray-compat",
40     "ocaml-biniou",
41     "ocaml-bin-prot",
42     "ocaml-bisect-ppx",
43     "ocaml-bos",
44     "ocaml-cairo",
45     "ocaml-calendar",
46     "ocaml-camlbz2",
47     "ocaml-camlidl",
48     "ocaml-camlimages",
49     "ocaml-camlp5",
50     "ocaml-camomile",
51     "ocaml-charinfo-width",
52     "ocaml-cil",
53     "ocaml-cinaps",
54     "ocaml-cmdliner",
55     "ocaml-compiler-libs-janestreet",
56     "ocaml-cppo",
57     "ocaml-cryptokit",
58     "ocaml-csexp",
59     "ocaml-csv",
60     "ocaml-ctypes",
61     "ocaml-cudf",
62     "ocaml-curl",
63     "ocaml-curses",
64     "ocaml-dbus",
65     "ocaml-dose3",
66     "ocaml-dune",
67     "ocaml-easy-format",
68     "ocaml-expat",
69     "ocaml-extlib",
70     "ocaml-facile",
71     "ocaml-fieldslib",
72     "ocaml-fileutils",
73     "ocaml-findlib",
74     "ocaml-fmt",
75     "ocaml-fpath",
76     "ocaml-gen",
77     "ocaml-gettext",
78     "ocaml-graphics",
79     "ocaml-gsl",
80     "ocamlify",
81     "ocaml-integers",
82     "ocaml-jane-street-headers",
83 #   "ocaml-jsonm", https://bugzilla.redhat.com/show_bug.cgi?id=1183825
84     "ocaml-jst-config",
85     "ocaml-lablgl",
86     "ocaml-lablgtk",
87     "ocaml-lablgtk3",
88     "ocaml-labltk",
89     "ocaml-lacaml",
90     "ocaml-lambda-term",
91     "ocaml-libvirt",
92     "ocaml-logs",
93     "ocaml-luv",
94     "ocaml-lwt",
95     "ocaml-lwt-log",
96     "ocaml-markup",
97     "ocaml-mccs",
98     "ocaml-mdx",
99     "ocaml-menhir",
100     "ocaml-merlin",
101     "ocaml-mew",
102     "ocaml-mew-vi",
103     "ocaml-migrate-parsetree",
104     "ocaml-mlgmpidl",
105     "ocaml-mlmpfr",
106     "ocaml-mmap",
107     "ocaml-mtime",
108     "ocamlmod",
109     "ocaml-mysql",
110     "ocaml-newt",
111     "ocaml-num",
112     "ocaml-obuild",
113     "ocaml-ocamlbuild",
114     "ocaml-ocamlgraph",
115     "ocaml-ocamlnet",
116     "ocaml-ocp-indent",
117     "ocaml-ocplib-endian",
118     "ocaml-ocplib-simplex",
119     "ocaml-octavius",
120     "ocaml-odoc",
121     "ocaml-odoc-parser",
122     "ocaml-omake",
123     "ocaml-opam-file-format",
124     "ocaml-ounit",
125     "ocaml-parmap",
126     "ocaml-parsexp",
127     "ocaml-pcre",
128     "ocaml-perl4caml",
129     "ocaml-postgresql",
130     "ocaml-ppx-assert",
131     "ocaml-ppx-base",
132     "ocaml-ppx-cold",
133     "ocaml-ppx-compare",
134     "ocaml-ppx-custom-printf",
135     "ocaml-ppx-derivers",
136     "ocaml-ppx-deriving",
137     "ocaml-ppx-deriving-yojson",
138     "ocaml-ppx-enumerate",
139     "ocaml-ppx-expect",
140     "ocaml-ppx-fields-conv",
141     "ocaml-ppx-hash",
142     "ocaml-ppx-here",
143     "ocaml-ppx-inline-test",
144     "ocaml-ppx-js-style",
145     "ocaml-ppx-let",
146     "ocaml-ppxlib",
147     "ocaml-ppx-optcomp",
148     "ocaml-ppx-sexp-conv",
149     "ocaml-ppx-variants-conv",
150     "ocaml-psmt2-frontend",
151     "ocaml-ptmap",
152     "ocaml-pyml",
153     "ocaml-qcheck",
154     "ocaml-qtest",
155     "ocaml-re",
156     "ocaml-react",
157     "ocaml-res",
158     "ocaml-result",
159     "ocaml-rresult",
160     "ocaml-SDL",
161     "ocaml-sedlex",
162     "ocaml-seq",
163     "ocaml-sexplib",
164     "ocaml-sexplib0",
165     "ocaml-sha",
166     "ocaml-sqlite",
167     "ocaml-ssl",
168     "ocaml-stdcompat",
169     "ocaml-stdint",
170     "ocaml-stdio",
171     "ocaml-time-now",
172     "ocaml-topkg",
173     "ocaml-tplib",
174     "ocaml-trie",
175     "ocaml-tyxml",
176     "ocaml-uutf",
177     "ocaml-variantslib",
178     "ocaml-version",
179     "ocaml-xml-light",
180     "ocaml-xmlm",
181     "ocaml-xmlrpc-light",
182     "ocaml-yojson",
183     "ocaml-zarith",
184     "ocaml-zed",
185     "ocaml-zip",
186     "ocaml-zmq",
187
188     "alt-ergo",
189     "apron",
190     "brltty",
191     "coccinelle",
192     "coq",
193     "flocq",
194     "frama-c",
195     "gappalib-coq",
196     "graphviz",
197     "haxe",
198     "hevea",
199     "hivex",
200     "laby",
201     "libguestfs",
202     "libnbd",
203     "opam",
204     "plplot",
205     "prooftree",
206     "supermin",
207     "utop",
208     "virt-top",
209     "virt-v2v",
210     "why3",
211     "z3",
212     "zenon",
213
214     # Causes a cyclic dependency between libnbd <-> nbdkit.  We need
215     # to fix this in goals itself, but in the meantime disable nbdkit
216     # and build it by hand.
217     #"nbdkit",
218 ]
219
220 # Get the list of source packages.
221 pure function get-source-packages () returning strings = {
222     cd %fedora-dir
223     for pkg in %packages; do
224         spec=$pkg/%fedora-branch/$pkg.spec
225         if [ -f $spec ]; then
226             # Check that all spec files have disabled the broken
227             # "package notes" misfeature.
228             if ! grep -sq "%%undefine _package_note_flags" $spec ; then
229                 echo "ERROR: $pkg does not %%undefine _package_note_flags"
230                 exit 1
231             fi
232             # OK to rebuild this package.
233             echo "$pkg"
234         elif [ -f $pkg/%fedora-branch/dead.package ]; then
235             echo "WARNING: $pkg: is a dead package, ignored" >&2
236         else
237             echo "$pkg: package is not checked out locally" >&2
238             exit 1
239         fi
240     done
241 }
242 let fedora-source-packages = get-source-packages ()
243
244 # Main goal: Rebuild all packages in Koji.
245 goal all = : wrap ("is-koji-built", fedora-source-packages)