Commit Graph

146 Commits

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