Commit Graph

43 Commits

Author SHA1 Message Date
Michael Forney f3514f4255 swc: Add missing dependency on generated wayland proto headers
Thanks to wkbwxca for reporting.
2025-07-27 12:22:04 -07:00
Michael Forney 9324802b67 swc: Update to latest git 2023-07-01 13:59:22 -07:00
Michael Forney fcfe41367c swc: Update to latest git 2022-02-10 13:33:29 -08:00
Michael Forney 4812c12f97 swc: Update to latest git 2021-10-05 14:54:01 -07:00
Michael Forney d9dce088e2 swc, libinput: Listen for uevents with group mask 4 2020-09-15 23:01:36 -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 c3a19d3117 libinput: Add header target 2020-06-02 04:22:27 -07:00
Michael Forney fa02fa9d7b libxkbcommon: Add header target 2020-06-02 04:22:27 -07:00
Michael Forney 4f9e793714 fontconfig: Add header target 2020-06-02 04:20:10 -07:00
Michael Forney 644b989f2d swc: Update to latest git 2020-03-01 19:24:52 -08:00
Michael Forney aea11e0e4a Use our own linux-headers 2020-02-20 20:10:31 -08:00
Michael Forney 08cca5431f Move toolchain config into config.lua 2020-01-29 22:14:33 -08:00
Michael Forney 13876852ca libdrm: Use header directory 2020-01-29 15:41:37 -08:00
Michael Forney 572f2b7f8e swc: Update to latest git 2020-01-29 15:41:37 -08:00
Michael Forney d0794443aa swc: Update to latest git 2020-01-10 21:40:44 -08:00
Michael Forney a695987176 swc: Update to latest git 2020-01-03 11:07:04 -08:00
Michael Forney b166c369b4 swc: Update to latest git 2019-12-20 23:58:34 -08:00
Michael Forney 2255c43da7 Use $basedir to refer to paths relative to base source tree 2019-12-16 23:48:22 -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 e2426a7f9b swc: Update to latest git 2019-09-20 00:22:23 -07:00
Michael Forney 71e6699d92 Use table to control waylandproto outputs 2019-09-19 20:41:23 -07:00
Michael Forney 51fe47e6ce swc: Update to latest git 2019-08-13 13:05:37 -07:00
Michael Forney 797e9388f6 swc: Update to latest git 2019-07-10 23:36:11 -07:00
Michael Forney 3574d85264 swc: Update to latest git 2019-06-19 23:05:04 -07:00
Michael Forney 618ddec19a swc: Update to latest git 2019-03-19 00:52:21 -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 aedf14582b swc: Update to latest git 2019-01-28 16:41:24 -08:00
Michael Forney bba4833013 Update to stable xdg-shell
Since xdg-shell-unstable-5-protocol.c and xdg-shell-protocol.c
define conflicting symbols, this commit updates swc, netsurf, mupdf,
and st all at once.
2018-11-03 01:20:57 -07:00
Michael Forney e5cfa84477 Move $outdir/fetch.stamp -> $dir/fetch 2017-10-23 21:43:33 -07:00
Michael Forney ba94a8513d Rewrite ninja generation scripts in Lua 2017-09-25 19:23:06 -07:00
Michael Forney 4e2dfee79e swc: Define _POSIX_C_SOURCE for convert_font
This is built on the host system, and recent glibc requires this for
strdup.
2017-09-13 10:55:45 -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 4c1d3fc1fc swc: Build convert_font with -std=c99 2017-08-04 20:34:24 -07:00
Michael Forney 37ec3bca51 swc: Update to latest git 2017-07-03 19:24:45 -07:00
Michael Forney 7a6c9843ba swc: Use libinput netlink seat 2017-03-14 13:04:09 -07:00
Michael Forney ad2d337e3e swc: Update to latest git, enabling libinput 2017-03-11 18:06:40 -08:00
Michael Forney 306f131991 swc: Update to latest git 2017-02-10 17:01:57 -08:00
Michael Forney b50e1d2b05 swc: Update to latest git 2017-02-07 14:36:26 -08:00
Michael Forney 370101c340 swc: Update to latest git 2017-01-01 17:42:00 -08:00
Michael Forney ff2a8a4ae2 Minor style fix 2017-01-01 16:48:53 -08:00
Michael Forney 3089cd112c swc: Update to latest git 2016-12-29 23:29:18 -08:00
Michael Forney cdb65e99c7 Move {cc,cxx,ld}flags settings from toolchain to config 2016-12-13 23:10:30 -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