Commit Graph

216 Commits

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