Commit graph

284 commits

Author SHA1 Message Date
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
Toyam Cox
ca892ac605 Manual.md: mention mutable_files (#4117) 2016-05-01 10:49:30 +02:00
Toyam Cox
2ec3075932 Manual.md: mention make_dirs (#4082) 2016-04-27 11:51:06 +02:00
Alessio Sergi
f6be81e3b7 Manual: update PYPI_SITE 2016-04-25 00:27:27 +02:00
Toyam Cox
e2fe9ef294 Manual.md: Add quality requirements (#4025) 2016-04-14 08:05:31 +02:00
Toyam Cox
8e732bbf55 Manual.md: clarify New Package commit message 2016-04-06 15:07:04 -04:00
Michael Gehring
1414b8becf Manual.md: build_style perl -> perl-module 2016-03-22 02:15:01 +01:00
Dominik Honnef
795a645de4 build-style/go: add support for build tags 2016-03-16 18:46:06 +01:00
Enno Boland
be80bd01e3 Manual.md: sync MOZILLA_SITE with reality. 2016-02-14 12:08:24 +01:00
Christian Neukirchen
28d156bb91 Manual.md: adopt status quo regarding commit messages. 2016-02-01 14:22:44 +01:00
Dominik Honnef
988638a2a3 Manual.md: improve documentation of 'reverts' 2016-01-13 14:30:25 +01:00
Enno Boland
a0979f2efe Manual.md: conf_files support wildcards now. 2015-11-26 08:31:02 +01:00
Juan RP
917024dd19 Merge pull request #2998 from Gottox/no-force_debug_pkgs
common/xbps-src: remove force_debug_pkgs variable
2015-11-17 16:54:10 +01:00
Toyam Cox
743c1193ce Add nopie to the manual 2015-11-17 10:50:09 -05:00
Enno Boland
c7f2f9840f common/xbps-src: remove force_debug_pkgs variable 2015-11-17 15:36:51 +01:00
Duncan Overbruck
426859b619 Manual.md: fix typo 2015-11-10 22:04:32 +01:00
Juan RP
3e1154266f xbps-src: support "alternatives" from xbps-0.48. 2015-10-30 12:39:59 +01:00
Juan RP
500404b39b Manual.md: document lib32symlinks and improve lib32mode descr. 2015-10-19 13:00:33 +02:00
Jürgen Buchmüller
c2c10c1e8e manual: descriptions for -data and -doc pkgs 2015-09-28 09:17:59 +02:00
Christian Neukirchen
45e4ace1f6 Manual.md: document haskell-stack build_style. 2015-09-14 17:06:38 +02:00
Steve Prybylski
80d0f5ff2c Manual.md: add note about supplying licenses 2015-08-28 20:16:50 -04:00
Jürgen Buchmüller
43de55d0df Manual.md: Add descriptions of conflicts variable
Closes #2212
2015-08-21 16:15:41 +02:00
jbu
1fdd815143 xbps-src: New build-style qmake 2015-08-21 09:29:44 +02:00
beefcurtains
e30ccdc3ea build-style/cmake.sh: allow build subdirectory 2015-06-29 14:29:46 +00:00
beefcurtains
b7b4d35617 Manual.md: correkt engrish speling 😋 2015-06-28 09:14:05 +00:00
Andrea Brancaleoni
f3a9488802 Manual.md: /usr/sbin -> /usr/bin 2015-06-04 13:30:44 +02:00
jbu
6bf4be3b6b Manual.md: Fix build_style desc for gnu-makefile 2015-05-31 23:19:34 +02:00
Dominik Honnef
3b617119c7 build-style/go: support building multiple packages 2015-05-04 13:40:44 +02:00
Dominik Honnef
382449cb6e build-style/go: support building subdirectories 2015-04-17 18:27:08 +02:00
Andrea Brancaleoni
2226eb6331 Manual.md: updated documentation 2015-04-09 12:29:20 +02:00
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
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