slackware-current/source/d/cbindgen/fetch-sources.sh
Patrick J Volkerding bfbaf18b4a Mon Aug 12 18:41:11 UTC 2024
d/cbindgen-0.26.0-x86_64-3.txz:  Rebuilt.
  Revert this until FF/TB are patched. Thanks to Lenard Spencer.
l/M2Crypto-0.42.0-x86_64-1.txz:  Upgraded.
l/libedit-20240808_3.1-x86_64-1.txz:  Upgraded.
l/python-lxml-5.3.0-x86_64-1.txz:  Upgraded.
l/python-zipp-3.20.0-x86_64-1.txz:  Upgraded.
xap/ddd-3.4.1-x86_64-1.txz:  Upgraded.
xap/pan-0.160-x86_64-1.txz:  Upgraded.
testing/packages/aaa_glibc-solibs-2.40-x86_64-2.txz:  Added.
testing/packages/glibc-2.40-x86_64-2.txz:  Added.
  Let's test building with -fno-omit-frame-pointer and
  -mno-omit-leaf-frame-pointer added to the CFLAGS (thanks alienBOB),
  and --enable-multi-arch added to the configure options as suggested
  by iive. Hopefully they will test and report if these changes fix
  the reported stability issues when running Steam.
testing/packages/glibc-i18n-2.40-x86_64-2.txz:  Added.
testing/packages/glibc-profile-2.40-x86_64-2.txz:  Added.
2024-08-12 21:02:23 +02:00

34 lines
831 B
Bash
Executable file

#!/bin/bash
VERSION=${VERSION:-0.26.0}
rm -rf cbindgen-*.tar.?z cargo-cbindgen*
echo "Downloading cbindgen-$VERSION..."
wget --content-disposition "https://github.com/eqrion/cbindgen/archive/refs/tags/v$VERSION.tar.gz"
tar xf cbindgen-$VERSION.tar.gz
tar cf cbindgen-$VERSION.tar cbindgen-$VERSION
cd cbindgen-$VERSION
if ! [ -f /usr/bin/cargo-vendor-filterer ]; then
echo "WARNING: Creating unfiltered vendor libs tarball!"
cargo vendor
else
cargo vendor-filterer --platform="x86_64-unknown-linux-gnu" --platform="i686-unknown-linux-gnu"
fi
mv vendor ../cargo-cbindgen-$VERSION
cd ..
tar cf cargo-cbindgen-$VERSION.tar cargo-cbindgen-$VERSION
plzip -9 cargo-cbindgen-$VERSION.tar
plzip -9 cbindgen-$VERSION.tar
rm -rf cbindgen-$VERSION
rm -rf cargo-cbindgen-$VERSION
rm -f cbindgen-$VERSION.tar.gz