Commit Graph

26 Commits

Author SHA1 Message Date
hovercats dc7887f6b8 file: 5.45 2024-02-07 20:50:18 -08:00
Michael Forney 1fa0f436fb file: Update to 5.42 2022-09-08 12:27:54 -07:00
Michael Forney 15186e1639 file: Missed update to magic.txt and ver 2021-11-29 10:45:03 -08:00
Michael Forney 3150f27348 file: Update to 5.41 2021-11-17 13:42:34 -08:00
Michael Forney 3163d5418d file: Update to 5.40 2021-04-13 16:03:43 -07:00
Michael Forney bf4acc611a file: Build strlcpy into host magic compiler
If the host system is glibc-based, we need the fallback strlcpy
implementation.
2021-04-13 16:03:43 -07:00
Michael Forney 699ed0a112 file: Use tool built for host to generate magic.mgc
It turns out file has an undocumented define COMPILE_ONLY that
enables building a tool to just generate the magic database with a
minimal set of sources. Use that to build a tool for the host system
to avoid version incompatibilities.

Fixes #24.
2021-02-14 03:36:52 -08:00
Michael Forney 1136d2d241 file: Update to 5.39 2020-06-16 02:41:45 -07:00
Michael Forney d4297a13c8 Use -isystem to include library headers
This way, warnings from headers that come from another package (in
particular linux-headers) won't show up when they get included.

To make sure we still track dependencies, use -MD instead of -MMD.
2020-06-05 03:01:44 -07:00
Michael Forney f0fb0e5177 Start to support configurable prefix 2020-05-25 21:11:21 -07: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 f29547f5c5 file: Update to 5.38 2019-12-20 23:58:34 -08:00
Michael Forney abaacce6fa file: Fix cast in initializer 2019-06-19 10:02:38 -07:00
Michael Forney e434212aca file: Update to 5.37 2019-05-22 01:16:54 -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 0c5dea9564 file: Update to 5.36 2019-03-03 23:12:44 -08:00
Michael Forney e25cd51852 file: Update to 5.35 2018-11-03 01:16:52 -07:00
Michael Forney d3a6844ca3 file: Update to 5.34 2018-08-11 17:54:14 -07:00
Michael Forney aa86f4ffb5 file: Update to 5.33 2018-04-17 14:22:20 -07:00
Michael Forney ba94a8513d Rewrite ninja generation scripts in Lua 2017-09-25 19:23:06 -07:00
Michael Forney 6285fc0e48 file: Update to 5.32 2017-09-03 00:58:18 -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 e1267ca479 file: Update to 5.31 2017-05-28 17:10:35 -07:00
Michael Forney 3ce1f65b20 file: Update to 5.30 2017-02-10 17:12:43 -08: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