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