Commit Graph

70 Commits

Author SHA1 Message Date
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
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