Commit Graph

85 Commits

Author SHA1 Message Date
Juan RP 1c5f4690e6 xbps-src: always require current srcpkgs version in build dependencies.
That means that version comparators are not supported anymore in
hostmakedepends and makedepends.

This will ensure that a pkg is always built with the same build dependencies
everywhere, if the srcpkgs tree is uptodate.
2015-03-27 10:59:58 +01:00
Juan RP 9b50f002d3 Manual.md: typo (close #1146) 2015-03-16 06:45:04 +01:00
necrophcodr f27fa78751 Update Manual.md with Table of Contents. 2015-03-16 06:44:12 +01:00
Juan RP 4e4a7b07e8 Manual.md: improve `slashpackage` build_style descr.
Close #1016
2015-02-25 16:19:38 +01:00
TJ Vanderpoel 0aafea17f6 daemontools: fix spelling in Manual 2015-02-25 16:16:31 +01:00
TJ Vanderpoel 4fff43cc4b daemontools: add slashpackage build-style to Manual.md 2015-02-25 16:14:54 +01:00
Juan RP 7339b81b43 xbps-triggers: system-accounts: introduce <account>_pgroup to set primary group.
While here also change default home directory to /dev/null if unset.
2015-02-23 22:09:20 +01:00
Dominik Honnef bd75088422 rename import_path to go_import_path 2015-02-21 14:49:02 +01:00
Dominik Honnef 77e8751a93 New build_style: go 2015-02-21 14:49:02 +01:00
Juan RP df4c861f97 xbps-src: common/{,environment}/build_style -> common/${,environment}/build-style. 2015-02-21 12:13:07 +01:00
Juan RP 8c031993c0 Manual.md: document vsv() properly. 2015-02-17 16:23:39 +01:00
Lukas Braun 54e39b2b61 Fix vsv description in Manual.md. 2015-02-17 15:40:04 +01:00
Juan RP 5725a2e0ae xbps-src: introduce "noshlibprovides" to skip shlib-provides detection. 2015-02-05 11:37:10 +01:00
Duncaen e7058fda14 Manual.md: fix typo 2015-02-04 23:32:13 +01:00
Eivind Uggedal 3b7a76512d update_check.sh: use external update file for overrides 2015-01-15 11:16:30 +00:00
Juan RP 99becc55bd New build_style: ruby-module - for install.rb ruby modules. 2014-11-25 17:54:17 +01:00
Eivind Uggedal 154c5cd605 update_check.sh: support for update_version (upstream version). 2014-11-24 14:57:41 +00:00
Juan RP 8ade12549f xbps-src: rename disable_debug to nodebug, to follow our naming convention. 2014-11-16 11:52:36 +01:00
Enno Boland cb7c83f230 Manual.md: add documentation describing repositories and the repository variable. 2014-11-05 14:15:25 +01:00
Christian Neukirchen e7c64b5da4 Manual.md: document update_pkgname. 2014-11-01 20:39:18 +01:00
Christian Neukirchen 60ac25fd1f xbps-src: add update-check. 2014-10-31 20:43:35 +01:00
Christian Neukirchen 00abf5fbfc Manual.md: document update_* 2014-10-31 15:50:38 +01:00
Juan RP af6d6ea273 Manual: svs -> vsv. 2014-10-13 11:14:47 +02:00
Enno Boland e4b64c459c Manual.md: add description to vsv() 2014-10-13 11:12:05 +02:00
Juan RP b2976da1c8 xbps-src: use "disable_debug" to disable -dbg subpkg creation. 2014-10-11 09:57:27 +02:00
Enno Boland 35acf3dc38 Manual.md: s/xbps-packages/void-packages/g 2014-10-09 17:24:27 +02:00
Enno Boland 1bd9913ab3 Manual.md: fix typo. 2014-09-30 00:14:01 +02:00
Enno Boland 26522e4dc4 Manual.md: mention that pkgver <= reverts[x] 2014-09-30 00:03:33 +02:00
Enno Boland 2e06757bc0 Manual.md: typofix. 2014-09-30 00:03:33 +02:00
Enno Boland fcc668bc95 Manual.md: document reverts field. 2014-09-30 00:03:33 +02:00
Juan RP 5aca9bb6af Manual: mention software bin stripping. 2014-09-18 10:38:09 +02:00
Juan RP c2b011a98a Implement support for {INSTALL,REMOVE}.msg files (fix #454). 2014-09-15 16:20:25 +02:00
Juan RP 10cb7ff95e Manual: describe <subpkg>.{INSTALL,REMOVE} files. 2014-09-15 16:20:25 +02:00
Alessio Sergi 6f171bcd2f Add PyPI to master sites 2014-09-10 23:52:34 +02:00
Juan RP 289bc58776 xbps-src: added support to append additional shlibs to shlib-{provides,requires}. 2014-09-10 11:23:33 +02:00
Dominik Honnef 191c1eaf51 add vopt_conflict helper
vopt_conflict prints an error and exits if two options are set at the
same time.
2014-09-05 16:57:47 +02:00
Enno Boland 1b64ad1605 Update README.md 2014-09-04 16:45:57 +02:00
Enno Boland 07f58a3125 Manual.md: Small typo fix 2014-09-03 17:00:53 +02:00
Dominik Honnef cdd2ce0da4 add helpers for working with options
Add the helpers vopt_if, vopt_with and vopt_enable that simplify common
option-based operations.

Instead of a bunch of

if [ "$build_option_foo" ]; then
	configure_args+=" --with-foo"
	makedepends+=" foo-devel"
else
	configure_args+=" --without-foo"
fi

one can use

configure_args="... $(vopt_with foo)
makedepends="... $(vopt_if foo foo-devel)"

instead.

We're adding these functions to common/xbps-src/shutils/common.sh but
that might not be the ideal place. I would've preferred
common/helpers/options.sh, but helpers are only available in the
individual phases, not when the template itself gets parsed.
2014-08-30 00:39:46 +02:00
Juan RP 3c07a506b7 Manual: tyop in previous. 2014-08-25 22:43:06 +02:00
Juan RP a657914696 Manual: subpkg order tweaks. 2014-08-25 22:41:19 +02:00
Juan RP 325acc6e9a Manual: document subpkg order processing. 2014-08-25 17:58:46 +02:00
Dominik Honnef 71edea4755 mention *_SITE variables in Manual.md 2014-08-23 19:36:25 +02:00
Juan RP 12a3b16e42 Introduce "broken" var to skip building broken packages; make "nocross" not error out.
- broken var simply exits (without error) and skips building a pkg.
- nocross var now simply exits without an error, to make buildbot continue building pkgs.
2014-08-22 16:49:23 +02:00
Juan RP 108a6d3fac xbps-src: introduce "nocross" to not allow cross compilation. 2014-08-21 12:07:44 +02:00
Juan RP d7363394b8 Manual.md: tyop. 2014-08-20 11:48:00 +02:00
Juan RP 9b37c7107b Manual: explain "virtual?vpkg" runtime deps. 2014-08-20 11:17:26 +02:00
Juan RP dc78dfb42d Manual: twerks for previous. 2014-08-20 11:10:15 +02:00
Juan RP 16c4e6840b Manual: add a section about INSTALL/REMOVE files. 2014-08-20 11:06:19 +02:00
Juan RP 933513adaa Improve how run-time deps (aka "depends") are handled in packages.
Run-time dependencies declared via "${depends}" are now also part of the
build process, but those are not installed to the master directory; rather
those dependencies are only checked if a binary package exists in a
local repository to satisfy the required version.

Thanks to @dominikh for idea and suggestions.
2014-07-30 17:58:17 +02:00