Commit Graph

301 Commits

Author SHA1 Message Date
Joel Beckmeyer 9e8a442818 Manual.md: correct reference to `etc/defaults.virtual` 2022-09-23 17:38:11 -04:00
classabbyamp eb68b92652 Manual.md: document `XBPS_BUILD_ENVIRONMENT` 2022-09-20 17:26:03 +02:00
classabbyamp f321eaa2a9
Manual.md: update description of make_install_args
make_install_args is not set to anything by default.
STRIP=true PREFIX=/usr prefix=/usr DESTDIR=${DESTDIR} is set outside of
make_install_args for gnu-makefile only.
2022-08-24 14:59:25 -04:00
classabbyamp c9871df9f2 Manual.md, CONTRIBUTING.md: move quality requirements to CONTRIBUTING
rename to Package Requirements
2022-08-12 15:52:07 -04:00
Piotr Wójcik 2b7d3192b1 Manual.md: python_version does not default to 2 anymore. 2022-08-10 17:38:29 +02:00
Cameron Nemo b391af3f6f Manual.md: recommend keeping systemd units
Ref #32154
Closes #32481
2022-08-01 22:35:04 +02:00
Đoàn Trần Công Danh 3aa11f5097 Manual.md: document go_ldflags 2022-07-30 08:56:25 +07:00
Ishaan Bhimwal 40f04c011a Manual.md: fix multiple typos 2022-07-18 22:37:54 +02:00
cinerea0 480debca8b Manual.md: fix working directories of build phases 2022-06-29 12:08:13 +00:00
classabbyamp 5984b7d3b8 Manual.md: document disable_parallel_check 2022-06-23 23:08:03 -05:00
classabbyamp 7e70ea35c9 xbps-triggers: add openjdk-profile trigger
This removes the need for each openjdk package to provide their own
/etc/profile.d entry, and fixes the conflict caused by each providing
their own.
2022-05-04 23:14:05 -04:00
Michal Vasilek 71b11fdbdb xbps-src: add make_check_pre
$make_check_pre can be used for wrapper commands like xvfb-run or
dbus-run-session which are common ways to make tests work. This way many
templates can avoid defining their own do_check function.
2022-05-04 10:46:53 +02:00
0x5c b29e333bea Manual.md: document the check functions
The pre_/do_/post_check functions were not listed in the list of building
phase functions, and were not mentioned elsewhere (do_check was mentioned
once). This documents their existence.
2022-04-02 18:39:20 +02:00
tibequadorian 37af10f4ba Manual.md: document ${VIDEOLAN_SITE} 2022-03-20 08:02:18 +01:00
classabbyamp 3d6a794814 Manual.md: add documentation for XBPS_ORIG_MAKEJOBS
documents the variable added in #34989
2022-02-22 17:54:03 +01:00
Piotr Wójcik 3d79d6dea9 Manual.md: document renaming a package 2022-02-12 22:43:00 +01:00
Piotr Wójcik 19ae84f562 Manual.md: extend archs= description 2022-02-12 17:10:46 +01:00
Evgeny Ermakov 50b852412b Manual.md: fix typo 2022-01-13 19:45:54 +00:00
Gonzalo Tornaría 17e9801568 nostrip_files: allow full path
The option `nostrip_files` takes a filename without path, in contrast to
option `nopie_files` which takes only full path.

This commit makes it so that `nostrip_files` can take either the
filename or the full path.
2022-01-08 17:51:54 +01:00
Piotr Wójcik 677ff61fa8 Manual.md: correct working directory for build phases 2022-01-05 20:32:41 +01:00
Đoàn Trần Công Danh 72a964d457 Manual: correct example for XBPS_CROSS_BASE 2021-11-15 21:09:22 +07:00
Gonzalo Tornaría 90ba0d8ef0 Manual.md: clarify default build target 2021-11-14 15:37:24 -03:00
Isaac Freund 020e1aa54b build-styles: add zig-build
We call this "zig-build" instead of just "zig" as this build-style
relies on usage of the zig build system. In the future, other build
systems such as meson may support zig code. Furthermore, the zig
build system may be used to build C/C++ code as well, not just zig.
2021-11-13 11:46:21 -03:00
Đoàn Trần Công Danh ed2abbeaab Documentation: replace git protocol with https
git protocol will be retired by GitHub soon.
Replace it with supported https instead.
2021-11-04 06:48:08 +07:00
Piotr Wójcik 071d4ddd6b Manual.md: require justification for make_check 2021-10-25 19:27:12 +02:00
Michal Vasilek b30ea3cffe hooks/post-install: add fix permissions hook 2021-08-26 21:46:44 +02:00
meator 7bcf0537b2 Manual.md: document changelog and modify homepage 2021-08-23 21:10:04 +02:00
Érico Nogueira ebc2028529 Manual.md: fix license for meta packages.
All but 4 meta packages already use "Public Domain" for their licensing
instead of the original "BSD-2-Clause" recommendation.
2021-07-22 11:33:03 -03:00
Piotr Wójcik bec0f791b7 Manual.md: disallow variables in version back
- xbps-checkvers substitute whole parameters ignoring #, %, :N
varieties, that's captious
- templates can be updated mechanically with scripts like xupdate
- easier to lint
2021-06-21 18:10:56 +02:00
Đoàn Trần Công Danh 8b25a1449b do-patch: switch default patch_args to -Np1
All templates that require -Np0 have patch_args appended.
Let's flip the switch.
2021-06-20 13:17:29 +07:00
Andrew J. Hesford 876b6ed3a4 xbps-triggers: add initramfs-regenerate trigger
This abstracts away the `dracut -f -q --regenerate-all` that appears in
nvidia and zfs packages, allowing users to disable global regeneration,
use dracut (by default, to preserve existing behavior) or mkinitcpio.
Eventually, this can be extended with initramfs-tools if we like.

Closes: #31403
2021-06-15 11:21:40 -04:00
Érico Nogueira 25a332e848 Manual.md: move to libera for IRC. 2021-05-22 00:50:49 -03:00
Kye Shi 0f451e9da9 Manual.md: add instructions for PEP 517 Python package build backends
Closes: #30552 [via git-merge-pr]
2021-05-18 23:01:01 -04:00
Piotr Wójcik aa83569fcb xbps-src: add make_check=ci-skip 2021-04-26 18:49:15 +02:00
Érico Nogueira 2f232340db Manual: add 80 column line break suggestion.
Also:
- rework most of the language in the Introduction
- move note about special characters in pkgname or version
- note restrictions to version field are caused partly by xbps-checkvers
- fix indentation of 'maintainer' item
2021-04-07 17:37:15 -03:00
q66 1088eba15b cross*: drop the cross_triplet and _triplet variables 2021-03-15 23:37:10 +01:00
Piotr Wójcik c7a074aabf Manual.md: document requirement of tagged release in place linked from PR template 2021-03-10 17:18:51 +01:00
Érico Rolim d9c83dbe8b common/build-style: remove go_get from Go style.
Fix Manual accordingly, and also fix indentation to be compatible with
nearby items.

The two packages which set this variable set it explicitly to "no", so
it wasn't relied upon. From its description, it was recommended only for
git packages, which by default don't fit Void's packaging guidelines.
Removing to avoid anyone coming to rely on it.
2021-02-20 02:01:31 -03:00
Érico Rolim 44a3b59406 Manual.md: link deps_runtime section when referring to it. 2021-02-14 16:56:30 -03:00
Érico Rolim 2a748e7e6d xbps-src/libexec: add make_check option.
Allows a template to define in which circumstances its do_check phase
should run, without requiring custom do_check definitions in each
template (also makes it easier to change how build styles do things
without checking as many templates).

Add to Manual and CONTRIBUTING as well.
2021-02-11 02:40:09 -03:00
q66 76f3a1d0b7 build-style/void-cross: remove linux and libucontext arch vars 2021-01-20 15:25:14 +01:00
q66 cb804fbf85 xbps-src: remove noarch 2021-01-20 13:09:59 +01:00
Piotr Wójcik 361f3d9d8a Manual.md: add package to removed-packages on removal 2021-01-05 10:31:49 -08:00
q66 210a2823ef common/build-style: add void-cross
this introduces a new build-style void-cross, which can be used
to write system crosstoolchain templates; this is to reduce the
amount of maintenance, resolve existing problems with the cross
toolchain templates and remove repeated code
2020-12-31 23:48:57 +01:00
Érico Rolim 9dccdc5ff4 Manual: some git info to CONTRIB, explain how to use different branch in PR. 2020-12-30 14:01:03 -08:00
John 31e4259c1c common: Add new cmake-wxWidgets-gtk3 build-helper 2020-12-30 17:58:36 +01:00
Piotr Wójcik 8ff299ccb6 Manual.md: designate place for Void-specific documentation 2020-12-29 23:25:33 -08:00
Érico Rolim 83cc290601 xbps-src: add -K option for running the full testsuite.
Some packages have rather long test suites, with an option for a shorter
one. With this option, one can choose between shorter tests (-Q) or the
complete longer ones (-K).

This also allows CI to run only the shorter testsuites.

Make the appropriate changes to etc/default.conf and Manual.md as well.
2020-12-14 00:18:04 -03:00
Andrew J. Hesford 2dff49c420 build-style/python3-pep517: new style for PEP517 Python packages 2020-12-08 15:26:38 -05:00
Érico Rolim 65ee7c0782 Manual.md: revamp explain_depends section.
Add useful examples of checkdepends that might not be obvious.
2020-11-21 21:09:08 -08:00