| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
useful if there are special python-containing shebangs that should not
be rewritten, for example with Ghidra's embedded jython.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
only sort shlib-deps, as those are automatically found.
regular dependencies should not be sorted as that can mess with the
order for things like virtual packages or alternatives groups, notably
for gawk (needs to be before anything that depends on the awk virtual
package) and dash (needs to be before bash to select the correct sh
alternatives group).
partial revert of 5ec2556004b445a7d50a043606619722c630fde4
|
|
|
|
|
|
|
|
| |
This should fix issues where -32bit packages are missing the runtime
dependencies, since the common/hooks/post-install/98-shlib-provides.sh
hook depends on the 32bit files being copied and the runtime and the
rdep part of the common/hooks/post-install/80-prepare-32bit.sh depends
on the common/hooks/post-install/98-shlib-provides.sh.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
In a later change, we will generate shlib-depends cross subpkgs during
pre-pkg stage. Thus we need shlib-provides information of all subpkgs
ready before pre-pkg is run.
Those information can only be read in post-install stage at the
eariliest.
Let's move the shlib-provides to post-install. This hook requires
prepare-32bit, so, let's move that hook, too.
|
|
|
|
| |
While we're at it, mark one more variables as local
|
|
|
|
|
|
|
|
|
|
| |
Using a non-local `broken` variable in the hook
common/hooks/prepkg/04-generate-runtime-deps.sh
will cause a spurious shlib error when building templates marked broken
are built with `xbps-src -b`. Declaring the variable local is
sufficient, but let's make the name a bit more distinctive anyway.
|
|
|
|
|
| |
gschemas.compiled is generated by glib-compile-schemas and should not be
overriden by a package
|
| |
|
| |
|
| |
|
|
|
|
| |
data files should go to /usr/share, config files should go to /etc
|
| |
|
|
|
|
| |
fixes #36641
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Instead of using file(1) to check for ELF files, just read bytes
directly from the file and check if they are the ELF magic bytes.
Should probably be factored out into a common function that can be used
in other places, if necessary.
Also use awk instead of "grep|awk" for some minor speedup.
|
|
|
|
|
|
| |
All *-devel dependencies of 32bit packages are replaced
with *-devel-32bit. Missing dependencies made some
uninstallable.
|
|
|
|
| |
fixes cases like 'ruby-devel-doc'
|
| |
|
|
|
|
| |
While at it, relax the pkglint for base-files only.
|
|
|
|
|
|
|
| |
This saves us one sed execution per file in the destdir, resulting
in a major speedup.
Grep will only consider text files and only look at the first line.
|
| |
|
| |
|
|
|
|
|
|
|
| |
On experience with 100 subpkgs, this change reduces execution time from
284ms to 4ms
Closes: #27137 [via git-merge-pr]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
As discussing in [1], on template with "subpackages" as multilines will
report false positive on some packages will never be built.
There're multiple problems here:
- expanded "subpackages" will have an empty line if it has a newline
inside template
- "sed" expression couldn't work with multilines "subpackages"
Let's not quote "$subpkgs" and "$subpackages" in "printf" to let the
shell do expansion and trim the empty lines for us. And rewrite the
"sed" expression to work with multilines "subpackages"
[1]: https://github.com/void-linux/void-packages/pull/26939#issuecomment-739098547
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Closes: #21209 [via git-merge-pr]
|
| |
|
|
|
|
|
|
|
| |
- Grepping whole files is inefficient
- git-instaweb (in git package) has the code to generate python file in
a here doc in the middle of its code, old hook generates false
positive with this package
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- use xbps-checkvers(1) to resolve dependencies.
- all dependencies are installed at once for the host and target.
- the show-build-deps target is now much faster.
- the update-bulk/show-repo-updates targets are now much faster.
- the update-sys/show-sys-updates targets are now much faster.
- the bootstrap target now works on musl hosts.
- simplified some loops.
- use cut(1) rather than awk(1) where applicable.
- multiple random changes to improve performance.
Based on work started by @Duncaen on #12433
Close #12433
Close #11282
|
|
|
|
| |
This reverts commit 2a4e178e3536d800bc58f9001ecf3ec8e6d77011.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- use xbps-checkvers(1) to resolve dependencies.
- all dependencies are installed at once for the host and target.
- the `show-build-deps` target is now much faster.
- the `update-bulk/show-repo-updates` targets are now much faster.
- the `update-sys/show-sys-updates` targets are now much faster.
- the `bootstrap` target now works on musl hosts.
- simplified some loops.
- use cut(1) rather than awk(1) where applicable.
- multiple random changes to improve performance.
Based on work started by @Duncaen on https://github.com/void-linux/void-packages/pull/12433
Close https://github.com/void-linux/void-packages/pull/12433
Close https://github.com/void-linux/void-packages/pull/11282
|
|
|
|
| |
Signed-off-by: Cameron Nemo <cnemo@tutanota.com>
|
|
|
|
| |
Thanks @huglovefan
|
|
|
|
|
| |
This one was on my TODO for a long while... fixes unportable
arguments (checked with the NetBSD's manual page).
|
|
|
|
|
|
|
|
|
| |
If lib32symlinks contains plain library names without a path as in
the case of glibc (lib32symlinks="ld-linux.so.2") the expression
${f%/*} is not empty, but returns the basename.
Handle that case by verifying that ${f%/*} is different from ${f}.
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
|
| |
|
| |
|
| |
|
| |
|
| |
|