Commit Graph

264 Commits

Author SHA1 Message Date
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
maxice8 77c1e19d22 Manual.md: document nostrip_files= 2019-01-02 02:02:18 -05:00
maxice8 aa44d7b21b
Manual.md: document XBPS_CROSS_BASE 2018-12-27 21:08:51 -02:00
maxice8 40cc1e3439 Manual.md: document XBPS_WRAPPERDIR 2018-12-27 20:56:54 -02:00
maxice8 7f62c3570c Manual.md: document more paths for -devel 2018-12-05 09:00:05 -05:00
Andy Weidenbaum afdfdf9991 build_style=perl6-dist: add 2018-11-26 04:11:50 -02:00
maxice8 1eb7fd1825 Manual.md: document metapackage license
This will raise eyebrowns of people and they will say:

"Why just not setting the license= field in the first place ?"
2018-11-18 15:54:07 -02:00
maxice8 f9156e822e Manual.md: use YYYY-MM-DD instead of DD-MM-YYYY when removing packages. 2018-11-17 01:43:50 -02:00
maxice8 3a063a381f Manual.md: update removal procedures 2018-11-16 20:19:46 -02:00
B. Wilson 3519c61856 Manual.md: Reference SPDX license identifiers 2018-11-02 22:34:25 -07:00
maxice8 03ea181231 build_style: Add gemspec build_style 2018-11-02 07:15:08 -03:00
maxice8 49e11e1ca5 build_style: Add gem build_style 2018-11-02 07:15:08 -03:00
maxice8 ac47bd4df3 Manual.md: mention we convert bzipped manpages. 2018-10-17 11:28:58 -03:00
Rasmus Thomsen 0318d0385a build-style/cargo.sh: add 2018-10-15 20:58:51 +02:00
Piotr 57b9af1d74 Manual.md: clarify not defined build_style 2018-09-29 20:21:21 +02:00
maxice8 aa4cd5a8af Manual.md: document xbps triggers.
[ci skip]
2018-09-22 15:27:57 -03:00
maxice8 1cb337fa20
Manual.md: Document a few good practices when removing a package. 2018-09-18 23:57:04 -03:00
maxice8 716406bd9d
Manual.md: document preserve variable
[ci skip]
2018-09-10 11:25:39 -03:00
maxice8 54443ba8f6
Manual.md: document system accounts with underscore requirement. 2018-09-06 21:18:29 -03:00
maxice8 20bce59ed3 Manual.md: make declaration of an example consistent.
-> Replace i.e with Example:
-> Replace Example with Example:
-> also add : to Example that are multiple words like
   'Example for qutebrowser:'

now all examples can be searched with Example.*:
2018-09-05 09:13:05 +02:00
maxice8 238583ce0b Manual.md: reword skiprdeps to be more like other variables that take a
list.
2018-09-04 23:40:23 -04:00
maxice8 ec1e707cb0
Manual.md: document perl_configure_dirs 2018-09-02 13:48:19 -03:00
maxice8 5364b6d261
Manual.md: document the tags variable.
[ci skip]
2018-08-27 18:52:58 -03:00
maxice8 e4b96f571f
Manual.md: fix missing backtick in register_shell. 2018-08-22 08:46:03 -03:00
maxice8 aef04e7239
Manual.md: document register_shell variable. 2018-08-21 23:35:48 -03:00
maxice8 f4dae33164
Manual.md: document `checkdepends` on #explain_depends 2018-08-21 20:37:47 -03:00
maxice8 4fe3e7c9c7
Manual.md: minor grammar fix overriden -> overridden 2018-08-20 21:28:27 -03:00
maxice8 3c86ef4abe Manual.md: document meson build system 2018-08-20 08:01:45 +02:00
maxice8 e52b319009
Manual.md: document dkms_modules variable
[ci skip]
2018-08-19 21:01:38 -03:00
maxice8 9ac0e2c87b
Manual.md: document Font packages and font_dirs variable
resolves void-linux/void-packages#1229

[ci skip]
2018-08-19 20:19:00 -03:00
maxice8 94bacea9e1
Manual.md: document how vman() deals with gzipped (.gz) manpages
[ci skip]
2018-08-12 04:21:46 -03:00
Daniel Lewan bbf6cad158 change URLs to new Github organization
closes #140
2018-06-16 19:37:30 +02:00
Alessio Sergi 014cd960f8 xbps-src: search.cpan.org -> metacpan.org
See https://log.perl.org/2018/05/goodbye-search-dot-cpan-dot-org.html.
2018-06-12 19:50:25 +02:00
maxice8 27c5d77aa5 Manual.md: make example templates more consistent with the common form.
- there is no space between the header and pkgname=
- pkgname= and version= shouldn't be quoted
- all shell wildcards must be quoted

[ci skip]
2018-05-17 14:28:01 +02:00
Duncaen 94ed33657b Revert "common/: add support for changelog field."
This reverts commit 8599efd9fd.
2018-05-04 16:46:46 +02:00
maxice8 daf68c6d59 rename vopt_onoff to vopt_bool which returns -D<prop>=true|false
This makes it more generic and allows us to use it freely between
cmake and meson build styles.
2018-05-04 10:56:26 +02:00
maxice8 8599efd9fd common/: add support for changelog field.
This commits allows ./xbps-src show to show the changelog field and for
changelog to be included with the -c/--changelog option via xbps-create.

Closes: #14102 [via git-merge-pr]
2018-05-03 22:58:27 -04:00
Michael Carlberg d5c58a3c60 xbps-src: new vopt_onoff helper
CMake helper function used to set bool argument values

Usage example:

    configure_args+=" $(vopt_onoff logging WITH_LOGGING)"

    configure_args+=" -DWITH_LOGGING=OFF"
2018-05-03 01:26:32 -04:00
maxice8 c846470acf Manual.md: grammar fixes. 2018-04-26 11:09:33 +01:00
maxice8 7a7e83c578 Manual.md: document KDE_SITE. 2018-04-22 19:16:50 -04:00
Jürgen Buchmüller 3f2456473c
Manual.md: fix definition of skiprdeps
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
2018-04-10 19:28:42 +02:00
Jürgen Buchmüller 4847e250c4
Manual.md: describe noverifyrdeps and skiprdeps
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
2018-04-10 18:31:25 +02:00
Jürgen Buchmüller c1fd6c389e hooks/do-fetch/00-distfiles.sh: contents checksum
Add support for contents checksums. This is meant to be used for tarballs
like the ones coming from https://*.googlesource.com/ which on every download
change their outer checksum due to being packaged with different date/time
stamps or similar.

If such a distfile still contains the same files as the author of a template
found, then the checksum of its contents can be specified by prepending a
commercial at (@) to the corresponding checksum="..." line.

Depending on the format of the distfile its entire contents will then be
piped into sha256sum and the resulting digest is verified against what
follows after the @.
2018-03-02 23:28:36 +01:00
Michael Aldridge 92d6e1a521 go build style: move GOPATH creation to do_configure() 2017-11-26 00:41:26 -08:00
Michael Gehring 7e9e76706f Manual.md: add make_check_{args,target} 2017-11-21 14:39:57 +01:00
yopito f26e6d1025 Manual.md: no underscore or shell subst allowed in version 2017-09-24 15:57:32 +02:00
Enno Boland 86908c48e0 Manual.md: engrish splelling 2017-08-20 13:04:00 +02:00
Radagast be41975480 Manual.md: Readability fix (#6897) 2017-06-29 21:03:19 -04:00
Dominic Monroe 36ac446b2a haskell-stack: Add support for stack.yaml in source 2017-06-26 23:21:09 -07:00
Michael Aldridge ec69da540b Manual.md: clarify the maintainer field 2017-06-22 01:29:21 -07:00
Florian Wagner f2c0f7885e Add and document R-cran build style; support CRAN in update-check. 2017-06-08 13:32:40 +02:00
Jürgen Buchmüller 5a11957d14 Merge branch 'master' into check 2017-05-02 09:18:52 +02:00
Toyam Cox 81bcc70bcd Manual.md: mention the comments at template start 2017-04-30 13:36:54 -04:00
Toyam Cox 2b19b7eb58 build_style/gnu-makefile: allow good makefiles 2017-04-25 16:20:59 -04:00
Toyam Cox 4a58163112 Manual.md: document restricted=yes 2017-03-26 00:19:56 -04:00
Toyam Cox b40126ab75 Manual.md: state desire for useful nocross, broken
Maybe this way we can have less `nocross=yes` and more
`nocross=http://this.link/to/a/failed/cross/build` to make it easier to
debug later.
2017-03-16 15:20:59 -04:00
Jürgen Buchmüller c31dd888f6 xbps-src: implement a 'check' stage
Add another stage 'check' between 'build' and 'install'. It is be enabled using the
variable XBPS_CHECK_PKGS=yes and disabled if unset, set to "0" or "no" in your
local etc/conf.

A new xbps-src option `-q` for `quick` will disable XBPS_CHECK_PKGS by overriding it to 0.
If enabled, `common/xbps-src/shutils/xbps-src-docheck.sh` checks for an existing
`do_check()` function in the package's template and, if it exists, calls it.

A new template variable `checkdepends` may be present and list packages required
to run the `do_check()` function. Example: `checkdepends="bc unittest-cpp"`.
2017-03-08 11:33:48 +01:00
Piraty 317a459d63 Manual.md: improve language 2017-02-02 11:32:27 +01:00
Toyam Cox 6425225eea Manual.md: base-devel isn't always in hostmakedeps 2017-01-16 08:00:37 -05:00
Toyam Cox e3daf4a966 Manual.md: clarify only_for_archs (#5488) 2017-01-08 13:46:15 +01:00
Piraty 99152e09c7 Manual: build option commands were incomplete (#5178) 2016-11-25 14:29:16 +01:00
Alessio Sergi 29c37543cf xbps-src: introduce python_version 2016-11-17 17:42:54 +01:00
Alessio Sergi 4e6576e7a4 xbps-src: add support for python3 pkgs
- python_module build style now builds modules for python2/3 by default
- new python2_module and python3_module build styles for building
  python2-only and python3-only packages respectively
- no more python_versions
- no need to define pycompile_version for Python modules anymore
  (still needed for non-Python modules though)
- Python version and paths are now guessed automatically and a set of
  useful variables can now be used in templates
- #!/usr/bin/python2 and #!/usr/bin/python3 are now the default shebangs
- /usr/bin/foo2 and /usr/bin/foo3 are now the default names for bin
  scripts (for use with alternatives)
2016-10-16 16:59:31 +02:00
Toyam Cox 6e8c89dc20 Manual.md: Clarify the role of {{host,}make,}depends 2016-10-11 12:49:36 -04:00
DirectorX 8dc62472ad Manual.md: whitespace fixes 2016-08-03 00:25:57 +03:00
Alessio Sergi da4d9b7f23 xbps-src: PYPI_SITE: use files.pythonhosted.org for less redirections 2016-05-13 17:35:35 +02:00