Skip to content

Commit 2cfc356

Browse files
committed
bash: stop providing .pdb files
There seems to be a problem with code-signing the `sh.exe` provided by the Git for Windows project, and I suspect that it has something to do with running `cv2pdb` on the executable. And since nobody, ever, made good use out of these `bash.pdb` files anyway, let's just stop building them. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
1 parent 056c313 commit 2cfc356

2 files changed

Lines changed: 2 additions & 50 deletions

File tree

bash/0008-Generate-a-.pdb-file-too.patch

Lines changed: 0 additions & 43 deletions
This file was deleted.

bash/PKGBUILD

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@ arch=('i686' 'x86_64')
1212
license=('GPL')
1313
url="https://www.gnu.org/software/bash/bash.html"
1414
validpgpkeys=('7C0135FB088AAF6C66C650B9BB5869F064EA74AB') # Chet Ramey
15-
makedepends=('gettext-devel' 'libreadline-devel>=7.0' 'ncurses-devel' 'gcc'
16-
"mingw-w64-$(uname -m)-cv2pdb")
15+
makedepends=('gettext-devel' 'libreadline-devel>=7.0' 'ncurses-devel' 'gcc')
1716
if [ "${CARCH}" == 'x86_64' ]; then
1817
# Git for Windows' i686-bit SDK does not have the `autotools` package
1918
makedepends+=('autotools')
@@ -23,8 +22,7 @@ source=(https://ftp.gnu.org/gnu/bash/bash-${_basever}.tar.gz{,.sig}
2322
0002-bash-4.3-msysize.patch
2423
0005-bash-4.3-msys2-fix-lineendings.patch
2524
0006-bash-4.3-add-pwd-W-option.patch
26-
0007-fix-static-build.patch
27-
0008-Generate-a-.pdb-file-too.patch)
25+
0007-fix-static-build.patch)
2826
if [ $_patchlevel -gt 000 ]; then
2927
for (( p=1; p<=$((10#${_patchlevel})); p++ )); do
3028
source=(${source[@]} https://ftp.gnu.org/gnu/bash/bash-${_basever}-patches/bash${_basever//./}-$(printf "%03d" $p){,.sig})
@@ -51,7 +49,6 @@ prepare() {
5149
patch -p1 -i ${srcdir}/0005-bash-4.3-msys2-fix-lineendings.patch
5250
patch -p1 -i ${srcdir}/0006-bash-4.3-add-pwd-W-option.patch
5351
patch -p1 -i ${srcdir}/0007-fix-static-build.patch
54-
patch -p1 -i ${srcdir}/0008-Generate-a-.pdb-file-too.patch
5552

5653
autoconf
5754
}
@@ -124,7 +121,6 @@ package_bash-devel() {
124121

125122
mkdir -p ${pkgdir}/usr/{include,lib,bin}
126123
cd ${srcdir}/bash-$_basever
127-
cp -f bash.pdb ${pkgdir}/usr/bin/
128124
cp -f libbash.dll.a ${pkgdir}/usr/lib/
129125

130126
mkdir -p ${pkgdir}/usr/include/bash
@@ -141,7 +137,6 @@ sha256sums=('cc012bc860406dcf42f64431bcd3d2fa7560c02915a601aba9cd597a39329baa'
141137
'c866eeb043090c13ab2ce6777ca6a24b31929fb58c4a6a221bca541fcc5d9949'
142138
'9ef0a4686385a36c7a094ea8f5e9e973ee427c868952b2778f2f659347f74b32'
143139
'82578a38798bfcfd85707c08e4f7b22c3fa7acc7a01d083faf86eb923511d60e'
144-
'cb37088b6db6abf04259ff4f777b3c467a8ad48a3f46bcecb5c508e3c8f0b8cf'
145140
'ebb07b3dbadd98598f078125d0ae0d699295978a5cdaef6282fe19adef45b5fa'
146141
'SKIP'
147142
'15ea6121a801e48e658ceee712ea9b88d4ded022046a6147550790caf04f5dbe'

0 commit comments

Comments
 (0)