Commit Graph

36 Commits

Author SHA1 Message Date
Michael Forney 2eddb78d1b Store dist files in config.distdir
This makes it easy to remove old distfiles with `git clean -f dist`.
2026-03-12 16:40:37 -07:00
Michael Forney 49f23a0c28 bc, bubblewrap: Avoid use of -std=c23
-std=c23 is not supported by some older compilers. I originally
switched because bc used legacy K&R-style declarations, but that
has been fixed as of 1.08.2.
2026-03-03 16:43:05 -08:00
Michael Forney bee63f757b bc: Update to 1.08.2 2026-03-03 15:44:16 -08:00
Michael Forney 1f05b9a1a0 bc: Switch back to GNU bc
The 1.07 release means we don't have to apply a bunch of patches,
and it is a smaller binary anyway.
2020-12-03 02:02:23 -08:00
Michael Forney e657b5e701 bc: Update to 3.1.6 2020-10-02 02:33:54 -07:00
Michael Forney 9e2c69dc55 bc: Update to 3.1.5 2020-08-13 02:13:21 -07:00
Michael Forney e1f101f352 bc: Update to 3.1.4 2020-08-04 02:29:58 -07:00
Michael Forney 8be1f8f5bc bc: Update to 3.1.3 2020-07-09 20:53:11 -07:00
Michael Forney c716a36e63 bc: Update to 3.1.1 2020-07-07 12:32:21 -07:00
Michael Forney ba251fc30f bc: Update to 3.0.1 2020-06-23 15:30:40 -07:00
Michael Forney 6d6e9f4988 bc: Update to 2.7.2 2020-05-11 21:52:27 -07:00
Michael Forney 75ecf574c4 bc: Update to 2.6.1 2020-04-14 21:43:53 -07:00
Michael Forney c31f9339b2 bc: Update to 2.6.0 2020-03-20 16:12:23 -07:00
Michael Forney 44508a958a bc: Use host toolchain to build strgen 2020-02-12 16:58:26 -08:00
Michael Forney 43300d1d81 bc: Update to 2.5.3 2020-02-05 18:47:08 -08:00
Michael Forney 5e4d4573d6 bc: Update to 2.4.0 2019-12-09 01:19:17 -08:00
Michael Forney 19b46cf1c7 bc: Update to 2.3.1 2019-11-25 20:42:24 -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 b164db4c3d bc: Update to 2.3.0 2019-11-13 21:03:33 -08:00
Michael Forney ba3080cc54 bc: Update to 2.2.0 2019-11-07 11:17:22 -08:00
Michael Forney e50379b3bc bc: Update to 2.1.3 2019-09-20 00:22:23 -07:00
Michael Forney f6198cfeb5 bc: Update to 2.1.0 2019-07-07 15:15:05 -07:00
Michael Forney 31f88045c5 bc: Update to 2.0.3 2019-06-12 22:09:05 -07:00
Michael Forney 68c67d3d84 bc: Update to 2.0.2 2019-06-04 20:45:36 -07:00
Michael Forney b5aec6c94a bc: Update to 1.2.8 2019-04-23 21:37:12 -07:00
Michael Forney 798fabcf52 bc: Update to 1.2.3 2019-04-05 00:37:51 -07:00
Michael Forney 22b47e1ab9 bc: Update to 1.2.2 2019-04-03 23:53:20 -07:00
Michael Forney 6ada14b864 bc: Fix version string 2019-03-19 11:35:56 -07:00
Michael Forney f9a9ca9704 bc: Update to 1.2.0 2019-03-19 01:07:28 -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 c7d55edad4 bc: Replace with Gavin Howard's implementation 2019-03-06 01:38:57 -08:00
Michael Forney 069f295257 bc: Don't use config-posix.h 2017-10-23 21:43:52 -07:00
Michael Forney ba94a8513d Rewrite ninja generation scripts in Lua 2017-09-25 19:23:06 -07:00
Michael Forney 6fa5f88e60 Don't use -isystem
This way we can use -MMD to exclude system header files and still retain
dependency tracking within oasis.
2017-08-19 19:07:18 -07:00
Michael Forney 2420bcc6b1 Compress man pages 2016-12-19 00:05:57 -08: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