Commit Graph

291 Commits

Author SHA1 Message Date
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
Érico Rolim d6c8f1b99e Disable Travis CI.
- Remove .travis.yml, common/travis/docker.sh.
- Change references to travis to be more generic.
- Manual.md: Orient against using CI logs in broken= or nocross=.
2020-11-21 00:11:30 +01:00
Andrew J. Hesford c6a07be350 Manual.md: relax and clarify the "no scripts" policy
Closes: #25707.
2020-11-13 18:17:24 -05:00
Isaac Freund 4712555551 Manual.md: system groups should also use _ prefix 2020-11-08 20:13:56 -03:00
amak 0ffd34ae54 Manual.md: fix package naming conventions anchor 2020-10-30 14:05:14 -05:00
fosslinux 96cd808ab0 Manual.md: remove mentions of noarch, note it should not be used. 2020-09-13 14:11:35 +02:00
Helmut Pozimski e0979275b4 11-pkglint-elf-in-usrshare: allow explicit setting of exceptions
Co-authored-by: Piotr Wójcik <chocimier@tlen.pl>
2020-08-25 21:18:59 +02:00
fosslinux 2464e6e4a4 Manual.md: add dotpoint on nopie_files. 2020-08-22 10:29:12 +00:00
Alexis 4e8df59c12 Manual.md: Note when `archs` should be used. 2020-08-16 20:02:57 -04:00
Alexis dccf8fffff Manual.md: Mention policy on browser forks. 2020-08-14 07:03:20 -04:00
Érico Rolim 813d893710 common/build-helper/qemu.sh: add vtargetrun function.
It's a function to call the qemu executable for the target arch, or a
noop if the build isn't a cross build.
2020-07-28 04:24:40 +00:00