Leah Neukirchen
bd739bd45f
environment/build-style/python*-module: makedepends on the appropriate versions.
2019-12-23 17:34:15 +01:00
Leah Neukirchen
915fe2de9f
common/environment/setup/python.sh: update to Python 3.8.
2019-12-23 14:11:45 +01:00
q66
80b96a0ea0
common: better location for config.{sub,guess} + update
2019-11-18 20:36:27 +01:00
Doan Tran Cong Danh
bbce69f036
vsed: reduce number of digest cmd call
...
For a vsed call to `nf' files and `nr' regex,
the old code will make `2 * nf * nr' digest calls.
the new code will make `nf * (nr + 1)' digest calls.
Refereance: https://github.com/void-linux/void-packages/issues/11238
2019-05-14 16:33:30 +02:00
Doan Tran Cong Danh
9374b6938e
vsed: strip non-digest part before comparing
...
Accidentally, this change also fixs a potential bug
if `XBPS_DIGEST_CMD` is changed to something other than
its current value: `xbps-uhelper digest'.
Because the old code compares:
- non-stripped old digest; and
- stripped new digest
2019-05-14 16:33:30 +02:00
Doan Tran Cong Danh
c384f85d2b
vsed: refactor digest variables' name
...
We don't specify any specific digest function in this function,
and the old variables' name doesn't reflect the fact that they're
a pair of old and new digest built by the same hash function.
2019-05-14 16:33:30 +02:00
Jürgen Buchmüller
f636a5f078
environment/setup/sourcepkg.sh: unset GIR_EXTRA_...
...
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
2019-05-07 15:33:47 +02:00
maxice8
df5886d7d7
vsed.sh: use XBPS_DIGEST_CMD instead of sha256sum
2019-04-15 12:18:00 -03:00
Doan Tran Cong Danh
13901bc715
xbps-src: vsv: force linking on forced rebuild
...
re-run `xbps-src -f install pkg` on packages with service files failed
because the link was created from previous run.
2019-04-15 10:53:55 -03:00
maxice8
c5b6940949
setup/install.sh: remove dirname usage
2019-04-14 06:22:09 -03:00
maxice8
a5bc81adf7
meta: remove supporting code for noarch
2019-03-14 19:22:06 -03:00
maxice8
415e6cd701
meta: remove support code for only_for_archs=
2019-03-14 19:20:07 -03:00
maxice8
15df6ba5b6
meta: link .sh from configure into patch envrionment.
2019-03-03 13:08:23 -03:00
maxice8
1ba87eee57
meta: unset the pre_patch() do_patch() post_patch()
2019-02-27 22:56:19 -03:00
maxice8
1bda166a6c
meta: fix unsetting of only_for_archs
2019-02-26 09:45:25 -03:00
Enno Boland
8f6d534cac
vsed: make more compatible with sed commandline semantics.
2019-02-18 17:23:52 -03:00
maxice8
dfd0cde930
setup/install.sh: remove support for 'all' special arg.
2019-02-18 08:32:27 -03:00
maxice8
0f76ad0f76
environment/build-style/gem.sh: set noarch=yes to archs=noarch
2019-02-16 04:02:31 -02:00
Enno Boland
38c457e1aa
add compatibility code for noarch/only_for_archs
2019-02-15 13:19:44 +01:00
Enno Boland
6eb37e35b2
common: merge only_for_archs and noarch=yes into one.
...
* noarch=yes is replaced with archs=noarch
* only_for_archs= is renamed to archs=
* archs= allows the use of wildcards and negations; first matching rule applies:
* archs="*-musl" will build the pkg only for musl-libcs
* archs="~*-musl" will build the pkg only on non-musl-libc
* archs="x86_64-musl ~*-musl" will build for x86_64-musl and any non-musl
arch.
* archs= defaults to "*"
2019-02-15 13:19:44 +01:00
Piotr Wójcik
43e2545baf
build-style/perl-ModuleBuild: add perl to makedepends
2019-01-27 10:09:46 +01:00
maxice8
6e0a917d01
environment/build-style/cargo.sh: use rust build_helper
2019-01-25 20:44:42 -02:00
maxice8
5465d131f6
environment/setup/sourcepkg.sh: unset build_helper
2019-01-25 20:44:41 -02:00
maxice8
670f41a585
environment/fetch: add cmd_fetch variable.
2019-01-21 16:17:02 -02:00
maxice8
202b6a7b97
setup/sourcepkg.sh: unset fetch_cmd
2019-01-21 16:17:02 -02:00
maxice8
26eb17f941
setup/sourcepkg.sh: unset more variables that can be set by the template
2019-01-19 23:02:28 -02:00
maxice8
977766323c
setup-subpkg/subpkg.sh: unset register_shell.
2019-01-19 19:22:14 -02:00
Thomas Batten
c785cfd34e
common: Add ppc target
2019-01-19 10:15:01 +01:00
maxice8
673504e524
meta: add vsed function
2019-01-16 17:25:46 -02:00
Leah Neukirchen
6b81302e38
environment/configure/hardening.sh: enable -fstack-clash-protection
...
This flag will make GCC 8 touch all space allocated using alloca(3)
and thus detect code jumping over the "stack gap".
2019-01-11 16:20:18 +01:00
q66
151f876627
common: add ppc64 build profiles and other ppc64 bits
...
This adds the build profiles for ppc64 targets as well as
modifications in other parts of the infra.
These targets are supported:
- ppc64le (glibc little endian elfv2)
- ppc64le-musl (musl little endian)
- ppc64-musl (musl big endian)
ELFv1 targets are explicitly not supported at this point.
Big endian musl supports ppc 970 or newer, while little endian
targets are set to a generic powerpc64le which effectively means
POWER8 and newer. Tuning is always set for POWER9, which is the
most likely target hardware. We also make sure AltiVec is always
on, because it is supported on all hardware we target.
[ci skip]
2019-01-05 23:38:00 +01:00
Andy Weidenbaum
afdfdf9991
build_style=perl6-dist: add
2018-11-26 04:11:50 -02:00
Johannes
5f5a55c2bb
build-style/cargo.sh: export common variables to avoid static linking
2018-11-22 18:18:11 -02:00
Johannes
3aa797cb3a
build-style cargo: move cargo config from wrksrc to home
...
since cargo 0.31.0 ${wrksrc}/.cargo/config is ignored for cargo install
fixes: https://github.com/void-linux/void-packages/issues/4328
2018-11-02 13:39:53 +01: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
c714d13f37
setup/install.sh: support bzipped (.bz2) manpages
2018-10-17 11:28:58 -03:00
Johannes
acd2241ba4
build-style cargo: do not pull complete rustc for target
2018-10-16 00:23:41 +02:00
Rasmus Thomsen
0318d0385a
build-style/cargo.sh: add
2018-10-15 20:58:51 +02:00
Toyam Cox
1edc8846ca
xbps-src: Migrate from build_style for 32bit pkgs
...
This allows dxpb to have a simpler test for whether or not a 32bit
package will be built.
2018-10-04 10:28:27 +02:00
Alessio Sergi
08408ed943
common/environment/setup/python.sh: always expose py{2,3}_* vars
...
Their values are static now, so remove the tests.
2018-09-15 01:49:45 +02:00
Jürgen Buchmüller
e9cbfacb5a
build style go.sh: split gocache for glibc/muslc
...
Closes : #2542
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
2018-09-11 12:39:29 +02:00
Michael Aldridge
a4dd50388a
xbps-src: Always enable the gocache
...
[ci_skip]
2018-09-01 22:05:07 -07:00
maxice8
b2221a8071
build-style/scons.sh: add scons to hostmakedepends=
2018-08-21 20:37:47 -03:00
maxice8
e42406c070
setup/install.sh: transparently deal with gzipped manpages
...
[ci skip]
2018-08-12 04:21:46 -03:00
Piotr Wójcik
31097aca86
common/environment/fetch/misc.sh: use https for MOZILLA_SITE
...
Closes #14901 .
Signed-off-by: Enno Boland <gottox@voidlinux.eu>
2018-06-05 09:17:45 +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