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