Commit Graph

17 Commits

Author SHA1 Message Date
Michael Forney 1f511fd065 fribidi: Update to 1.0.11 2021-11-17 13:42:34 -08:00
Michael Forney 377687061d fribidi: Update to 1.0.10 2020-07-07 02:52:10 -07:00
Michael Forney 379d4a92f3 fribidi: Update to 1.0.9 2020-03-02 12:44:45 -08:00
Michael Forney 08cca5431f Move toolchain config into config.lua 2020-01-29 22:14:33 -08:00
Michael Forney 051963c7fe Add support for building multiple configurations
Now, you can build in separate directories per configuration:

	mkdir foo
	(cd foo && ../setup.lua)
	samu -C foo
2020-01-29 22:14:33 -08:00
Michael Forney 45d091fa29 fribidi: Update to 1.0.8 2019-12-16 17:42:52 -08:00
Michael Forney f4720910b9 Update ninja requirement to 1.8.0 and don't bother with atomic outputs
Since ninja 1.8.0[0] and samurai 0.2[1], output mtime is always
recorded after a job succeeds, and outputs are considered dirty if
the recorded mtime is older than any input. This means that even
if a command partially writes its output then fails (for example,
if run with stdout redirected to a file), it will still get re-run
during the next build.

This means that outputs no longer have to be written atomically
(i.e. renamed into place) in order to ensure a correct build, and
we can drop the idiom `command >$out.tmp && mv $out.tmp $out`.

[0] https://github.com/ninja-build/ninja/commit/04d886b11041bb59d01df794cce7a1e8cad2250d
[1] https://github.com/michaelforney/samurai/commit/799bc5a4719b90a1026c129b55b92c0bccf97eeb
2019-11-17 15:24:25 -08:00
Michael Forney e31413f260 fribidi: Update to 1.0.7 2019-10-03 22:24:02 -07:00
Michael Forney 0eea2ddc78 Revert "fribidi: Make function declarations match definitions"
This reverts commit d80bac0f9d.
2019-07-07 22:48:33 -07:00
Michael Forney d80bac0f9d fribidi: Make function declarations match definitions 2019-06-15 20:40:38 -07:00
Michael Forney 4332740046 Rename rev to ver, and keep track of package versions as well 2019-03-19 00:14:12 -07:00
Michael Forney 99228bd135 fribidi: Update to 1.0.5 2018-08-26 13:20:01 -07:00
Michael Forney beb7fabec7 fribidi: Update to 1.0.2 2018-03-23 21:09:52 -07:00
Michael Forney e741f39ad2 fribidi: Build code generation tools with the host toolchain 2018-02-16 02:52:34 -08:00
Michael Forney df0103ca54 fribidi: Update to 1.0.1 2018-02-04 21:13:17 -08:00
Michael Forney ba94a8513d Rewrite ninja generation scripts in Lua 2017-09-25 19:23:06 -07:00
Michael Forney 293f5a93b7 Move to flat package hierarchy
Note to self: never try to move submodules again

To migrate your existing submodules (more or less):

	set -x
	set -e

	mkdir .git/modules/pkg
	for old in */*/src ; do
	        new="pkg/${old#*/}"
	        if ! [ -f "$old/.git" ] || [ "${old%%/*}" = pkg ] ; then
			continue
		fi
		git -C ".git/modules/$old" config core.worktree "../../../../../$new"
		rmdir "$new"
		mv "$old" "$new"
	        sed -e "s,$old,$new," "$new/.git" > "$new/.git.tmp"
	        mv "$new/.git.tmp" "$new/.git"
		mkdir ".git/modules/${new%/src}"
	        mv ".git/modules/$old" ".git/modules/$new"

		rm "${old%/src}"/*.ninja
		mv "${old%/src}"/*.tar.{gz,xz,bz2} "${new%/src}/"
		rmdir "${old%/src}" || true
	done
	sed -e 's,^\[submodule "[^/]*/,[submodule "pkg/,' .git/config > .git/config.tmp
	mv .git/config.tmp .git/config
2016-12-13 23:10:30 -08:00