Commit graph

98 commits

Author SHA1 Message Date
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
Juan RP
e43ebd7883 Manual: document system_accounts=foo:id. 2014-07-30 12:17:27 +02:00
Juan RP
c49e01fc15 xbps-src: make it possible to override the subpackages list via ${subpackages}.
This overrides the automatic list generated by xbps-src and it's overridable
to change the processing order of subpackages.
2014-07-23 15:44:36 +02:00
Juan RP
e372fcc6e0 xbps-src: fix pkg options parsing in package names containing dashes.
When using per-pkg options via etc/conf, all dashes should be replaced by
underscores, i.e:

	XBPS_PKG_OPTIONS_xorg_server=opt,~opt2
2014-07-19 10:39:22 +02:00
Christian Neukirchen
fb96a25cfc add vconf helper to install in /etc 2014-07-17 19:43:32 +02:00
Juan RP
805fc50cf0 New build_style: "fetch" to only fetch files and copy them to ${wrksrc}.
This is based on the first approach by chneukirchen.
2014-07-12 17:44:54 +02:00
Juan RP
adace6585e Use the third field in common/shlibs to skip checks in soname bumps.
Any value can be used in this field, but as reference I've used "ignore".
2014-07-12 17:06:25 +02:00
Ypnose
e6d20e364e Manual.md: path is obvious now 2014-07-05 18:17:01 +02:00
Ypnose
c6db2fcf14 vman: add newline after examples 2014-07-05 18:01:35 +02:00
Dominik Honnef
94556b367f change vman helper to automatically detect section
Given a filename like "foo.1" or "foo.fr.1", it is possible to calculate
the correct directory to install to, without requiring the user to
specify it.

Suggested-by: Christian Neukirchen <chneukirchen@gmail.com>
2014-07-04 16:55:04 +02:00
Dominik Honnef
d7b66721b6 add vbin, vman, vdoc, vsconf and vlicense helpers 2014-07-04 08:03:36 +02:00
Juan RP
3871a393c3 Manual.md: mention where pkg build options are defined. 2014-07-04 07:47:57 +02:00
Juan RP
eda7a6f351 Manual.md: add a Python packages section. 2014-07-04 07:37:05 +02:00
Juan RP
9d34c36e0a Implemented support for permanent pkg build options (globally or per-pkg).
Permanent global pkg build options can be defined via 'XBPS_PKG_OPTIONS' in etc/conf.
Permament per-pkg build options can be defined via 'XBPS_PKG_OPTIONS_<pkgname>' in etc/conf.

Close GH #452.
2014-06-30 11:32:07 +02:00
Enno Boland
7f726373e2 Manual.md: explicitly state that development packages should be named after their libraries 2014-05-20 11:02:25 +02:00
Enno Boland
d67aa5cd13 Manual.md: fixing typo 2014-05-20 10:56:26 +02:00
Juan RP
5636615e43 Manual.md: update python_versions example. 2014-05-06 10:50:34 +02:00
Juan RP
bfb4c27839 Manual.md: describe install phase a bit more. 2014-05-02 09:05:29 +02:00
Juan RP
dc3eed9f73 Manual: describe python_versions a bit more. 2014-05-02 09:00:59 +02:00
Juan RP
07a321f0d3 Manual.md: themselfes -> themselves; another grammar tweak. 2014-05-02 08:05:55 +02:00
Enno Boland
9d7639745a Manual.md: add naming conventions and describe python_versions variable 2014-05-01 22:05:45 +02:00
Juan RP
20f6b92873 Manual.md: describe clean phase and do_clean(). 2014-04-30 11:06:38 +02:00
Juan RP
16f6021455 Manual.md: sync with current xbps-packages. 2014-04-28 11:43:17 +02:00
Ypnose
2507720ea8 Manual.md: missing 'A' 2014-04-27 22:02:45 +02:00
Juan RP
8c860fed5a Manual.md: sync with reality. 2014-04-22 17:01:03 +02:00
Juan RP
f6e4b32b24 Manual: fix XBPS_BUILDDIR descr. 2014-04-04 13:10:04 +02:00
Juan RP
d0ca317455 Manual: use the ssh github repo url instead for forked repos. 2014-04-03 11:52:07 +02:00
Juan RP
b6281b33d0 Manual: improve 'contributing via git' section. 2014-04-03 11:47:46 +02:00
Juan RP
b0a55b8e78 Manual: update git instruction to set up upstream remote. 2014-04-03 10:18:39 +02:00
Juan RP
b8f0fc5de5 Manual.md: add a note about updating pkgs with SONAME bumps. 2014-03-22 19:35:20 +01:00
Juan RP
da0ecc4184 Update Manual.md 2014-03-22 07:19:51 +01:00
Juan RP
0de3a37543 Update Manual.md 2014-03-22 07:05:45 +01:00
Juan RP
7b7f104ac1 Update Manual.md 2014-03-22 06:56:05 +01:00
Juan RP
85d97c5f41 Manual.md: last conversion tweak. 2014-03-22 06:35:22 +01:00
Juan RP
c8049843f6 Manual.md: more tweaks. 2014-03-22 06:32:58 +01:00
Juan RP
7f36168305 Start conversion of doc/manual.txt file from asciidoc to markdown. 2014-03-22 06:26:09 +01:00