Closed lazka closed 1 year ago
Fixes #22
The main conflict was the strip code, where I dropped the code copying source files based on the debug info. This only ever worked for elf files anyway, and now it uses debugedit which doesn't support Windows.
git range-diff v6.0.1..msys2-v6.0.1-v2 v6.0.2..wip/msys2-v6.0.2
Fixes #22
The main conflict was the strip code, where I dropped the code copying source files based on the debug info. This only ever worked for elf files anyway, and now it uses debugedit which doesn't support Windows.
git range-diff v6.0.1..msys2-v6.0.1-v2 v6.0.2..wip/msys2-v6.0.2
range-diff
``` 1: fc1289b4 = 1: 8f868132 makepkg: clean up more things 2: 6b52c600 = 2: 67116916 makepkg: bash v4 compat 3: 43ce58f3 = 3: d78b0671 makepkg: find_libdepends: port to Windows 4: b2306f50 = 4: 2517b408 makepkg: build env export 5: e9aef783 = 5: 177be576 makepkg: find_libprovides: port to Windows 6: b4df7d36 = 6: 021897d8 fill_progress 7: 8ba367e3 = 7: 96da61e5 test fixes 8: f344d31a = 8: 2a69e2ad Remove everything related to sudo/fakeroot/file permissions 9: 60b14175 = 9: 0d20d7a3 change shebang 10: 59280ed7 = 10: 665948ce Set fixed paths for various tools 11: 8371eee2 = 11: 8d6b87b5 makepkg: port staticlibs to Windows 12: 2dccb801 ! 12: b4ef84e9 makepkg: port strip/debug to Windows @@ scripts/libmakepkg/tidy/strip.sh.in: packaging_options+=('strip' 'debug') - LANG=C readelf -n "$1" | sed -n '/Build ID/ { s/.*: //p; q; }' -} - - source_files() { - LANG=C readelf "$1" --debug-dump 2>/dev/null | \ - awk '/DW_AT_name +:/{name=$NF}/DW_AT_comp_dir +:/{{if (name == "