3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/build-support/setup-hooks
Guillaume Maudoux 7b9fd5d1c9
rewrite autoPatchelfHook in python (#149731)
* rewrite autoPatchelfHook in python

* Update pkgs/build-support/setup-hooks/auto-patchelf.py

Co-authored-by: aszlig <aszlig@redmoonstudios.org>

* Update pkgs/build-support/setup-hooks/auto-patchelf.py

Co-authored-by: aszlig <aszlig@redmoonstudios.org>

* Apply suggestions from code review

Co-authored-by: aszlig <aszlig@redmoonstudios.org>

* Fix issues discovered during tests

* Apply suggestions from code review

Co-authored-by: aszlig <aszlig@redmoonstudios.org>

* fixup line wrapping

* autoPatchelfHook: Improve compatibility with bash version

* autoPatchelfHook: Fix symlink-reated issues

* autoPatchelfHook: Revert dubious patchelf invocation test

* autoPatchelfHook: Untangle the executable detection logic

* fixup! autoPatchelfHook: Untangle the executable detection logic

* autoPatchelfHook: Fix invalid borrow issue

* autoPatchelfHook: Handle runtimeDependencies as the bare string it is

* autoPatchelfHook: add bintools dependency

For the very rare cases where it is not included by default.

* autoPatchelfHook: replace old hook with the rewrite

* autoPatchelfHook: get rid of the old hook content

* autoPatchelfHook: fix wrong ordering of debug info

* autoPatchelfHook: persist extra search path across incovations

* autoPatchelfHook: fix wrong usage of global variables

* Update auto-patchelf.py

PEP8: ignoreMissing -> ignore_missing

* Apply suggestions from code review

Co-authored-by: aszlig <aszlig@redmoonstudios.org>

* autoPatchelfHook: remove imprecise and incorrect warning

* Apply explicit types from code review

Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>

* Complement and polish types and snake_casing

Co-authored-by: aszlig <aszlig@redmoonstudios.org>
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2022-02-04 10:08:27 +01:00
..
wrap-gapps-hook
audit-blas.sh
audit-tmpdir.sh
auto-patchelf.py rewrite autoPatchelfHook in python (#149731) 2022-02-04 10:08:27 +01:00
auto-patchelf.sh rewrite autoPatchelfHook in python (#149731) 2022-02-04 10:08:27 +01:00
autoreconf.sh
breakpoint-hook.sh
canonicalize-jars.sh canonicalize-jars-hook: add 2021-10-27 13:21:27 +03:00
compress-man-pages.sh
copy-desktop-items.sh copyDesktopItems: fix handling of plain paths 2021-10-08 01:36:13 +01:00
die.sh
enable-coverage-instrumentation.sh
find-xml-catalogs.sh
fix-darwin-dylib-names.sh
gog-unpack.sh
install-shell-files.sh
keep-build-tree.sh
ld-is-cc-hook.sh
make-binary-wrapper.sh makeBinaryWrapper: create destination directory 2021-12-21 18:22:49 +01:00
make-coverage-analysis-report.sh
make-symlinks-relative.sh
make-wrapper.sh makeWrapper: Don't readd existing values in prefix/suffix 2022-02-02 19:46:58 +01:00
move-docs.sh
move-lib64.sh
move-sbin.sh
move-systemd-user-units.sh
multiple-outputs.sh
patch-shebangs.sh
prune-libtool-files.sh
reproducible-builds.sh
role.bash pkgs/build-support: Redirect to standard error rather than file "2" 2021-11-11 18:14:21 +13:00
separate-debug-info.sh separateDebugInfo: skip files objcopy can't read 2021-11-21 21:44:27 +00:00
set-java-classpath.sh
set-source-date-epoch-to-latest.sh
setup-debug-info-dirs.sh
shorten-perl-shebang.sh misc: Replace tab indentation with spaces 2021-11-14 16:04:46 +13:00
strip.sh stdenv: move --enable-deterministic-archives flag into GNU wrapper 2021-09-18 15:11:17 +02:00
update-autotools-gnu-config-scripts.sh
use-old-cxx-abi.sh
validate-pkg-config.sh validatePkgConfig: fix cross-compilation 2021-10-23 15:50:21 -07:00
win-dll-link.sh