Commit Graph

42 Commits

Author SHA1 Message Date
Michael Forney 99b0bf11c5 lua: Update to 5.5.0 2026-04-08 00:55:27 -07:00
Michael Forney c02969de44 Mark fetch-curl dependency on pax as order-only
We don't need to re-extract everything when pax changes.
2026-03-20 14:12:23 -07:00
Michael Forney 73c664d1f1 mc: Remove
I have no plans to use this for anything in oasis, and it's easy
enough to install separately.
2026-03-05 18:27:22 -08:00
Michael Forney a6dbef0e2d Local fetch scripts need pax, too 2025-06-04 02:33:30 -07:00
Michael Forney ea3cbbd89c Use our own pax for extracting archives
This reduces dependencies and variability in pax implementations.
2025-04-28 14:27:49 -07:00
Randy Palamar 59de97e941 man: don't duplicate section extension 2024-02-08 16:12:05 -08:00
Michael Forney 43fe67e5cb Make man page compression optional 2024-02-07 20:50:18 -08:00
Randy Palamar b0dafd8b6f replace tail component of src with srcsection in man()
This is useful when man() is called with the optional 'section'
parameter and can be used to replace components such as '.nro'
with a '.(section)'.

This was always the intention and fixes man page names for pciutils.

Co-authored-by: Michael Forney <mforney@mforney.org>
2024-02-07 20:50:18 -08:00
Michael Forney 4019636cfa Allow nested tables in copy() file list 2024-01-01 11:56:14 -08:00
Michael Forney 9efcfba5d4 Handle absolute paths in build scripts
This is useful to link with system libraries for testing.
2022-10-30 15:30:25 -07:00
Michael Forney 198a8744e0 ninja.lua: Add optional args to objects()
This could be useful to specify cflags for each of several source
files.
2021-06-17 22:27:15 -07:00
Michael Forney 2df90914df Add blake3 hashes to fspec files 2020-06-22 23:33:21 -07:00
Michael Forney dbe1077c3f Remove unnecessary fetch rules 2020-06-22 23:33:21 -07:00
Michael Forney 5cbbb9e377 Use hyphenated rule names 2020-06-22 23:07:53 -07:00
Michael Forney 7d33f5bb5e Add sortedpairs helper function 2020-06-22 22:59:35 -07:00
Michael Forney b4ced98b9d Generate root.perms from fspec 2020-06-22 22:59:35 -07:00
Michael Forney 2e91c9c4ce Add gitfile helper function 2020-06-22 22:47:59 -07:00
Michael Forney adc036f58e Style 2020-06-22 22:47:59 -07:00
Michael Forney 481eb203bf Simplify object collection slightly 2020-06-22 22:47:59 -07:00
Michael Forney 8494d08ca9 Add fspec output 2020-06-15 23:35:02 -07:00
Michael Forney 83d28a0cd3 Use variable name that matches ninja variable 2020-06-15 23:35:02 -07:00
Michael Forney 2dfb6db807 Lua 5.1 compatibility 2020-05-10 02:15:55 -07:00
Michael Forney ae1a07197c Add support for architecture-dependent sources 2020-03-01 19:24:52 -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 482d996d73 Add more short command descriptions 2019-11-17 20:09:14 -08:00
Michael Forney 564557663b Use wayland-scanner public-code to avoid warning 2019-11-17 15:24:25 -08:00
Michael Forney 71e6699d92 Use table to control waylandproto outputs 2019-09-19 20:41:23 -07:00
Michael Forney 3655a64059 Revert "tz: Honor config.fs when writing tzdata.index"
This reverts commit 8b0c936479.
2019-07-08 01:30:51 -07:00
Michael Forney 8b0c936479 tz: Honor config.fs when writing tzdata.index 2019-07-07 15:16:06 -07:00
Michael Forney f16ecebbc4 No C++ components anymore 2019-07-06 01:24:36 -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 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 5a4f3899c1 mpv: Update to 0.28.2
This removes wayland SHM support for now (to be re-added later after adapting to
the new wayland code).
2018-05-10 13:00:22 -07:00
Michael Forney 241c6fb3da ncurses: Build ticlib, generated structured source list 2018-02-18 12:43:17 -08:00
Michael Forney 3441db2f43 Add ability to build ffmpeg and libass into PIEs 2018-02-16 02:52:34 -08:00
Michael Forney 741d252822 Port build scripts to POSIX shell
Since we are now using Lua to generate ninja files, use of rc in build scripts
seems unnecessary and adds an additional bootstrap dependency. None of them are
too fancy, so just port to POSIX sh instead.
2018-02-16 02:52:34 -08:00
Michael Forney f4c50108da Add raw mode for iterlines 2017-12-30 22:43:47 -08:00
Michael Forney b5d6c2aaed Make a couple functions local 2017-12-30 22:38:12 -08:00
Michael Forney e5cfa84477 Move $outdir/fetch.stamp -> $dir/fetch 2017-10-23 21:43:33 -07:00
Michael Forney 3319306c6c Just prepend $outdir/ to -b rather than changing directory 2017-09-25 19:36:41 -07:00
Michael Forney ba94a8513d Rewrite ninja generation scripts in Lua 2017-09-25 19:23:06 -07:00