Re: [Cellar] EBML Schema
Moritz Bunkus <[email protected]> Tue, 1 Dec 2015 17:01:03 +0100
| Newsgroups | gmane.comp.multimedia.matroska.devel |
|---|---|
| Message-ID | <[email protected]> |
Hey, > I’m preparing a pull request on specdata.xml but want to update the > utilities in spectool at the same time so that spec2data, data2lib, > and data2spec still function properly. I’m having trouble getting the > spectool utilities to build properly so that I can test them. All of that is Steve's code and I don't know a lot about coremake and the assorted build process (and there's zero documentation), but I do manage to get it to compile most of the time ;) From a fresh checkout of the foundation repository[1] in ~/foundation: -------------------- 1. Build and install coremake: cd ~/foundationcorec/tools/coremake make make install Unfortunately coremake has /usr/local/share/coremake hardcoded on Linux for looking up its include files; therefore the "make install" is actually really necessary. 2. Configure the rest of the project with coremake: cd ~/foundation coremake gcc_linux_x64 3. Compile the tools (mkvtree, mkvalidator, mkclean; optional): cd ~/foundation make 4. Compile the programs in spectool: cd ~/foundation make -C spectool 5. Use the programs: # This creates spec.xml from specdata.xml. spec.xml is basically the # HTML table you see on www.matroska.org/technical/specs/: cd ~/foundation/spectools ../release/gcc_linux_x64/data2spec -------------------- > I was able to build coremake but not sure where to go from here. The whole foundation repo could use a serious rewrite of its build system. Steve had reasons why he created coremake, but the result is very, very complicated to use. If you (or anyone else) want to give such a rewrite a try I'd highly welcome it. > Any advice on which route to take: continue trying with getting > spectool utilities to build or redo the utilities in xsl? I'd prefer established technologies like XSLT in this case as it allows you to use a plethora of proven tools like xsltproc or any other XSLT processor (Saxon?). You can (and should) still build the tools with the instructions above so that you verify stuff works :) Kind regards, mosu [1] https://github.com/Matroska-Org/foundation-source/ _______________________________________________ Matroska-devel mailing list [email protected] http://lists.matroska.org/cgi-bin/mailman/listinfo/matroska-devel Read Matroska-Devel on GMane: http://dir.gmane.org/gmane.comp.multimedia.matroska.devel
signature.asc
(application/pgp-signature, 819 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAABCAAGBQJWXcQ4AAoJEHSvAK3y4yyF9+wQANsoRoDdUyWsl+dCMXW+J4mO ncKuANuLkVvpaHryTKzBJGvkpb+LSXeW9K7TX2MdybNmwboz/zk3WzY2Q86Weztc VhpCNotitSTLafKHUAJVnGkqpt19iBCiMXjbr41hvCR+AdySANlycQDZ86IYPe4i 0bzgYD5OOykXiAR9G3hOY8SPc3CprXcw+SzHcJe2lX/rY+KRy3g7kw4F8uAULzWQ TSeGYbCUsU4Ni/HPkPtaNsIVez4VZOaCnzWompiL1/O6DkMwIfgwd+tT9fjdQbA+ AoFkkC1z9JEidtwP0vA4atS3xqmmiSgnqEuHIFHhmeShZmh/WDoI8aifgxltzXFX exwTPx1KtdIgVys42ZaYe9UstnGkZImXw1x3pkjuNNXAAwuSm/hb+263CrWLgtMk TWH3rclqex/Weq8spXhtCsL7ZUoKIKlYHSHd3TDQ1Ll1lNyHcFZs4zSn/iJZ3hhP MDZA+jb/p/rmsTS7DhhWQ4yQWNAq+COVCxLEruwB8g/Y8pHwNbuESTB3wEBXTJ/a 0a7pbbCCT3Md/WG5MzvW72fExIrLpnDkILFfinZQmuNy01SW4vinB/dNhQHpHRAb A5cb0yZBQrxfAETEx/7iV8yD7Lty2yyAiPqHts9WxTD2+jRH+efydCMLkp/G9JDO elF2cqbVWzhCrrY7h03Q =pTf7 -----END PGP SIGNATURE-----