Commit Graph

376 Commits

Author SHA1 Message Date
classabbyamp 91367b5ab9 common/environment/setup/install.sh: fix v* funcs for paths with spaces
also quote, fix tabs, and shellcheck the file
2024-06-13 22:49:15 -05:00
fosslinux 29a7759a75 texlive-core: update to 2023.66587. 2024-02-08 06:23:24 -05:00
fosslinux 627d3ef413 texlive-bibtexextra: update to 2023.66579. 2024-02-08 06:23:24 -05:00
fosslinux ee6b3e602c texlive: update to 20230313. 2024-02-08 06:23:24 -05:00
oreo639 48e03efdf4 environment/configure/hardening.sh: fix copy-paste error with nopie=yes
CFLAGS => CXXFLAGS
2024-02-03 14:59:52 -08:00
Đoàn Trần Công Danh ea2839018e setup/archive: non-tar gz/xz fix non non-supplied $dst 2024-01-20 14:30:19 +07:00
oreo639 b8edfe56a5 setup/archive: fix extraction of non-tar gz/bz2/xz/zst archives
Extract archive in the destination directory instead of the source
directory.
2024-01-18 13:44:17 -08:00
Gonzalo Tornaría fc7a5ce24c xbps-src: fix NOCOLORS 2023-12-31 16:05:45 +01:00
Andrew J. Hesford a3c8698631 python3, python3-tkinter: update to 3.12.0
Also mark this installation as "externally managed" to prevent users
from installing system-wide packages using pip.

Closes: #43735.
2023-10-06 12:12:20 -04:00
Andrew J. Hesford c6431f06c5 common/build-helper/meson.sh: new build helper, used by meson build style 2023-09-22 10:16:59 -04:00
q66 937272e967 xbps-src: abstract away non-portable stat(1)
This implements semi-portable abstractions for both GNU and BSD
flavors of stat.
2023-09-14 08:48:59 +07:00
q66 4349108b68 setup/git.sh: fix non-portable sed invocation
This lets xbps-src work in non-GNU environments.
2023-09-14 08:48:59 +07:00
Đoàn Trần Công Danh a6c4206699 vsrccopy: fix detection of last argument 2023-08-30 22:48:53 +07:00
Đoàn Trần Công Danh fe0d548527 vsrcextract: drop the heuristic to prefer tar over bsdtar
Only kexec-tools has problem with bsdtar, the heuristic is problematic
with those packages with tar in hostmakedepends
2023-08-28 17:03:37 +07:00
Leah Neukirchen 26ee82b72c add configure/autoconf_cache/riscv64-linux 2023-08-25 17:06:56 +02:00
John 5de81f076a go: add riscv64 2023-08-25 17:06:56 +02:00
Đoàn Trần Công Danh c359aaaa46 build-style/go: allow override GOTOOLCHAIN 2023-08-24 21:05:07 +07:00
Kirill 4c22fd9b48 common/build-style/go.sh: update go build style for go1.21.0 2023-08-23 16:06:44 -05:00
Đoàn Trần Công Danh 77a4de4385 xen: use vsrcextract 2023-08-21 11:27:32 +07:00
Đoàn Trần Công Danh a1d3f7de1d kexec-tools: drop custom do_extract 2023-08-21 11:27:32 +07:00
Đoàn Trần Công Danh 2deec738e1 do-extract: move main logic into helper function 2023-08-21 11:27:32 +07:00
Đoàn Trần Công Danh 1f2932447a build-style/cmake: set PATH in environment 2023-08-21 09:11:59 +07:00
Đoàn Trần Công Danh 6b9c9c7dfa build-style/cmake: support build with cmake-bootstrap 2023-08-17 19:59:36 +07:00
cinerea0 5bb9d7c856 xbps-src: new vopt_feature helper 2023-07-26 20:31:47 +02:00
Đoàn Trần Công Danh 4fcd6a35a9 setup: unset bash exported function
Fix: #45239
2023-07-26 07:58:23 +07:00
Michal Vasilek 9e47b517b0 common: remove unused python-module build style
python-module build style is now unused, all projects that want to have
a python2 and a python3 package should be split to two templates
2023-06-18 20:24:37 +02:00
Marcin Puc 6bb50c7e2d common/environment/build-style/cargo.sh: remove obsolete sparse crates.io config 2023-06-09 15:52:10 -04:00
Leah Neukirchen 4f0c3eccbd autoconf_cache/common-linux: remove broken line
This typo was added in 2014 and now starts to break gnulib autoconf. :clown:
Kill the whole thing with fire.
2023-05-19 21:18:58 +02:00
classabbyamp 7b4a6ddb05 common/environment/setup/install.sh: support encoding in vman
`vman out/foo.fr.UTF-8.1` should install `usr/share/man/fr.UTF-8/man1/foo.1`,
not `usr/share/man/fr/man1/foo.UTF-8.1`
2023-05-06 10:39:38 -04:00
OpenSauce04 f3888e3b54 xbps-src: Replace non-standard English "unexistent" with "nonexistent" 2023-04-17 12:44:48 -05:00
Đoàn Trần Công Danh cfcb6dafb5 build-style/R-cran: fix do_fetch 2023-04-06 16:45:22 +07:00
Marcin Puc 3641d47af7 build-style/cargo: use env var to select sparse index mode 2023-04-02 16:16:10 -04:00
mhmdanas 0fa47e5979 common: use HTTPS where working. 2023-03-07 07:44:23 +07:00
classabbyamp f134b1d39c common/environment/setup/install.sh: always add log service
- overridable by having a log service at `$pkgname/files/$service/log`
- warns if stderr is not redirected in the main service
- uses a sane default run script with the service name set as tag and
  daemon facility
2023-02-09 21:36:13 -05:00
zlice 12e6985c34 common: cleanup trailing whitespaces 2023-02-07 03:26:02 -05:00
Tiago Carvalho 6bbd4166a0 common/environment/build-style/go.sh: allow setting CGO_ENABLED from templates 2023-01-13 18:57:23 -05:00
Piraty d4b50ed2cf
common/environment/setup/misc.sh: fix typo 2023-01-11 22:04:36 +01:00
Đoàn Trần Công Danh 3dcac23aff environment: set -ffile-prefix-map
We're setting -fdebug-prefix-map to strip directory prefixes from debug
info, which will help ccache and reproducibility.

However, -fdebug-prefix-map doesn't help with those macros like __FILE__
and __BASE_FILE__, which needs another flags: -fmacro-prefix-map.

Replaces -fdebug-prefix-map with -ffile-prefix-map which is an alias for
both `-fdebug-prefix-map` and `-fmacro-prefix-map`. (This flag is
available since GCC 8 and Clang 10)
2023-01-05 08:23:26 +07:00
Gonzalo Tornaría 1d4a9d6c71 xbps-src: keep http_proxy and other lowercase proxy variables 2023-01-04 22:24:13 +07:00
oreo639 647562d909 environment/autoconf_cache: Disable 64-bit time_t by default 2022-12-17 10:41:49 +07:00
classabbyamp 120dbc7fc6
common/environment/setup/sourcepkg.sh: don't unset $UBUNTU_SITE 2022-12-12 13:42:39 -05:00
Đoàn Trần Công Danh aa3a922c52 env/setup/sourcepkg: fix for multiple env variables' value 2022-12-09 08:31:27 +07:00
Đoàn Trần Công Danh 6174bd6afd env/setup/sourcepkg: unset all exported variables
except known to be good one.

See 581cdacc5b and 253b9f0b98
2022-12-03 17:27:29 +07:00
Andrew J. Hesford 936a6ed85d build-style/python3-pep517.sh: abandon pip 2022-11-09 21:24:02 -05:00
Đoàn Trần Công Danh f6a99075c6 built-style: R-cran: build inside build_wrksrc 2022-11-09 18:50:32 +07:00
Đoàn Trần Công Danh 74ba0a8d67 environment: remove create_wrksrc from all build-style 2022-11-08 22:30:37 +07:00
Đoàn Trần Công Danh 581cdacc5b env/setup/sourcepkg: unset python3 build-helper variables 2022-11-05 20:03:57 +07:00
Andrew J. Hesford 6504d8e133 python3: update to 3.11.0.
Also include bluez headers at build time to allow Bluetooth sockets in
the Python stdlib.

h/t: @sgn
2022-11-05 08:21:20 -04:00
Jan Christian Grünhage ca8c4fb08f build-style/cargo: produce auditable binaries 2022-11-03 03:50:11 -04:00
Đoàn Trần Công Danh ddb9e6eb19 environment: set -fdebug-prefix-map relative to build_wrksrc 2022-09-18 20:37:21 +07:00