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