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
Érico Rolim
d5ca039278
common/environment/setup/install.sh: add vcompletion.
...
Install function for installing shell completions in the appropriate
place according to the shell used.
2020-07-28 04:24:40 +00:00
Alexis
217432c034
Manual.md: Clarify quality requirements.
2020-07-15 15:21:58 -04:00
fosslinux
102841754a
xbps-triggers: add texmf-dist regeneration trigger
2020-07-14 02:38:24 +02:00
fosslinux
92fd1c57cc
New build-helper: texmf
...
Co-authored-by: Piotr Wójcik <chocimier@tlen.pl>
2020-07-14 02:38:24 +02:00
Érico Rolim
04424d8754
README, Manual: use local links for files in repo.
2020-07-13 18:21:02 +02:00
Andrew J. Hesford
ff61ec45ae
xbps-src: Explain python module dependencies in Manual.md
2020-07-11 17:57:47 -04:00
Piotr Wójcik
02179c9534
Manual.md: teach on rebase rather than merge
2020-07-07 18:01:04 +02:00
Piotr Wójcik
3318e17163
tree-wide: make python path variables relative
2020-07-01 20:24:23 +02:00
Piotr Wójcik
1f0693c14c
Manual.md: eliminate significant trailing whitespace
2020-07-01 20:24:23 +02:00
Alexis
70cdd41639
Manual.md: Clarify quality requirements.
2020-06-08 23:32:27 +02:00
mobinmob
0d41286691
Manual.md: Sync distfile mirrors with misc.sh, remove XORG_HOME variable
2020-05-18 08:01:34 -07:00
Andrew J. Hesford
c38d959cb5
Manual.md: expand description of virtual packages
2020-05-16 05:55:23 +02:00
Piotr Wójcik
8a09d89eac
common/hooks: remove pycompile_version, use python_version instead
2020-04-22 20:11:26 +02:00
Anjandev Momi
7c361a6883
Manual: added link to xtools' xbump
2020-04-20 20:26:22 +02:00
svenper
a9d30c2e4e
Manual.md: clean up vman
...
each example on its own row (markdown: two spaces at the end of the row)
2020-04-20 16:05:20 +02:00
svenper
c5fe27f4a3
Manual.md: fix bullets in Development packages
...
line-initial space made the markdown think it was code
2020-04-20 16:05:02 +02:00
Noah Huppert
8f5af348fa
improved wrksrc variable documentation
2020-02-11 08:59:34 +01:00
q66
4a6e326b5a
Manual.md: fix XBPS{_TARGET}_NO_ATOMIC8 documentation
2020-02-07 21:44:02 +01:00
Jürgen Buchmüller
5f60b9d3cf
Manual.md: document XBPS{,_TARGET}_NEED_ATOMIC
2020-02-07 21:29:22 +01:00
Andy Weidenbaum
e8e2b2e90a
build-style/perl6-dist: rename to raku-dist.
2020-02-05 09:58:38 +01:00
Piotr Wójcik
0139bdb524
04-create-xbps-medatada-scripts.sh: autogenerate pycompile_modules
2019-12-06 20:23:37 +01:00
Piotr Wójcik
ea66b29b62
Manual.md: cease to use empty packages in removing process
2019-12-02 20:42:23 +01:00
Piotr Wójcik
ac5805f774
Manual.md: group documentation of license in one place
2019-12-02 20:41:51 +01:00
newbluemoon
618a9a7366
New build-helper: qmake
2019-11-04 17:44:02 +01:00
John
f4273541b8
New build-helper: qemu
2019-10-26 00:59:41 +02:00
Cameron Nemo
5e35764d3f
build-style: use XBPS_MAKEJOBS to set go processes
...
Clean up some minor unnecessary bashisms, and an unquoted variable.
2019-08-09 23:09:12 +02:00
Jürgen Buchmüller
a32236ab19
Manual.md: fix typo
2019-08-09 21:37:04 +02:00
Jürgen Buchmüller
09a1446dd6
Manual.md: describe XBPS_{,TARGET_}{ENDIAN,LIBC}
2019-08-09 21:35:12 +02:00
Jürgen Buchmüller
6a1b977e0c
Revert "profiles: introduce XBPS_{,TARGET_}{ENDIAN,LIBC}"
...
This reverts commit 9b3203401d
.
It doesn't actually work. Use the method suggested by @q66 instead.
2019-08-03 23:09:36 +02:00
Jürgen Buchmüller
9b3203401d
profiles: introduce XBPS_{,TARGET_}{ENDIAN,LIBC}
...
Provide new environment variables for simplifaction of template checks:
...ENDIAN defines the (target) machine's endianness: "le" or "be".
...LIBC defines the (target) machine's C library: "glibc" or "musl".
Closes : #13356
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
2019-08-02 17:34:05 +02:00
Jürgen Buchmüller
ed4cdadcfd
common/profiles: introduce XBPS_{,TARGET_}WORDSIZE
...
The host and target word size can be used to determine whether
cross compiling certain packages is possible.
2019-07-26 15:18:11 +02:00
Piotr Wójcik
51aa330383
Manual.md: sync common hosting sites with code
2019-06-27 17:41:01 +02:00
Juan RP
f36f3fe28f
Revert "build-style/go: use XBPS_MAKEJOBS to control parallelism"
...
This reverts commit 12b15b0d72
.
I thought the conversation was already resolved, my fault.
Reverting until this gets resolved.
2019-06-25 23:05:17 +02:00
Cameron Nemo
12b15b0d72
build-style/go: use XBPS_MAKEJOBS to control parallelism
2019-06-25 22:04:46 +02:00
Piotr Wójcik
54f0eed05d
Manual.md: document version directories checking
2019-05-14 22:48:46 +02:00
Jürgen Buchmüller
3862c4b57d
Manual.md: mention build helper gir GIR_EXTRA_...
...
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
2019-05-07 15:35:36 +02:00
maxice8
c02ff51b37
Manual.md: replace pyside example with pyside2
2019-04-17 16:52:58 -03:00
maxice8
feab6e6235
Manual.md: document patching in xbps-src
2019-04-14 16:18:09 -04:00
maxice8
b708030b26
Manual.md: Empty meta-packages should have BSD-2-Clause.
2019-04-09 07:40:12 -03:00
Piotr Wójcik
db2459ae93
Manual.md: document non-SPDX licenses
2019-04-09 07:38:22 -03:00
Cameron Nemo
1da4701b3e
Manual.md: use ISO date format
2019-03-21 09:26:41 -03:00
maxice8
ce1d9a79af
Manual.md: remove noarch
2019-03-14 19:22:06 -03:00
maxice8
f0f9cfb8af
Manual.md: remove only_for_archs
2019-03-14 19:20:07 -03:00
maxice8
c17f934444
Manual.md: document archs a little better.
2019-03-14 19:14:38 -03:00
maxice8
ce14260d43
Manual.md: document guidelines for writing runit services.
2019-03-03 13:10:04 -03:00
maxice8
fed29c5379
Manual.md: document patch phase
2019-02-27 22:56:19 -03:00
Piotr Wójcik
efe1a8beb0
Manual.md: document working directory for functions
2019-02-19 09:33:47 -03:00
Piotr Wójcik
128fa9c4e8
Manual.md: complete functions list
2019-02-19 09:30:41 -03:00
maxice8
0d03347c7b
Manual.md: fix instances of noarch=yes
2019-02-16 04:02:47 -02:00
maxice8
7c4f62a513
Manual.md: document archs=
2019-02-15 13:38:59 +01:00
maxice8
f581244de2
Manual.md: document that only_for_archs and noarch are deprecated.
2019-02-15 13:38:59 +01:00
maxice8
84da77de9b
Manual.md: fix description of XBPS_MACHINE
2019-02-11 19:41:35 -02:00
maxice8
fae786dec1
build_helper: add gir build_helper
2019-02-02 23:33:48 -02:00
maxice8
64f0ba0b90
Manual.md: document rust build-helper
2019-01-25 20:44:42 -02:00
maxice8
08d876050b
Manual.md: document build_helper
2019-01-25 20:44:41 -02:00
maxice8
b2e99e0e94
Manual.md: document fetch_cmd
2019-01-21 16:17:02 -02:00
maxice8
070e74372b
Manual.md: document XBPS_RUST_TARGET
2019-01-21 03:54:41 -02:00
maxice8
9a1ba4b505
Manual.md: document that vsv makes the run script executable
2019-01-16 18:33:00 -05:00
maxice8
673504e524
meta: add vsed function
2019-01-16 17:25:46 -02:00
Cameron Nemo
5abdf75173
xbps-triggers: set homedir of disabled accounts to /var/empty
2019-01-04 17:38:25 -02:00
Noel Cower
43db1c25dc
build-styles: Add support for Go modules.
...
Adds support for Go modules by detecting a go.mod file and, if
available, using it. In addition, to continue supporting vendoring (and
avoid the need for git on all module builds), if a package includes
a vendor directory, the module mode will switch to vendor mode if not
already set. This will use vendored source code for dependencies
instead of downloading that code again using the descriptions under
go.mod.
go_mod_mode=vendor also skips the go.sum check because nothing is
downloaded that isn't already verified, so this fixes packages with
vendored code that have checksum mismatches due to Go 1.11.4 module
checksum changes.
[ci skip]
Closes : #6036 [via git-merge-pr]
2019-01-02 20:10:56 -08:00
Cameron Nemo
ca98749ce7
Manual.md: pycompile_module is usable with files
2019-01-02 07:43:04 -05:00