Commit graph

273 commits

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