slackware-current/source/d/rust-bindgen/fetch-sources.sh
Patrick J Volkerding a259c4df1e Wed Aug 21 18:08:47 UTC 2024
d/python-setuptools-73.0.1-x86_64-1.txz:  Upgraded.
d/rust-bindgen-0.70.1-x86_64-1.txz:  Upgraded.
n/ModemManager-1.22.0-x86_64-1.txz:  Upgraded.
n/dhcpcd-10.0.10-x86_64-1.txz:  Upgraded.
n/epic5-2.4-x86_64-1.txz:  Upgraded.
n/libqmi-1.34.0-x86_64-2.txz:  Rebuilt.
  Build against libqrtr-glib with -Dqrtr=true.
n/libqrtr-glib-1.2.2-x86_64-1.txz:  Added.
  ModemManager-1.22.0 needs libqmi to be linked with this.
x/xorg-server-21.1.13-x86_64-3.txz:  Rebuilt.
  Patched changing a type from unsigned long to unsigned long long which fixes
  the black screen seen on 32-bit with the modesetting driver. Seems fine on
  64-bit as well, so the patch is applied for all builds. The patch to default
  to modesetting for Intel graphics is restored (and the one for nouveau is kept
  as well).
  Thanks to Lenard Spencer for reporting that nouveau was also hitting this.
  Thanks to Petri Kaukasoina for the patch.
x/xorg-server-xephyr-21.1.13-x86_64-3.txz:  Rebuilt.
x/xorg-server-xnest-21.1.13-x86_64-3.txz:  Rebuilt.
x/xorg-server-xvfb-21.1.13-x86_64-3.txz:  Rebuilt.
2024-08-21 20:30:25 +02:00

35 lines
898 B
Bash
Executable file

#!/bin/bash
#VERSION=$1
VERSION=0.70.1
rm -rf rust-bindgen-*.tar.?z cargo-rust-bindgen*
echo "Downloading rust-bindgen-$VERSION..."
wget --content-disposition "https://github.com/rust-lang/rust-bindgen/archive/refs/tags/v$VERSION.tar.gz"
tar xf rust-bindgen-$VERSION.tar.gz
tar cf rust-bindgen-$VERSION.tar rust-bindgen-$VERSION
cd rust-bindgen-$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-rust-bindgen-$VERSION
cd ..
tar cf cargo-rust-bindgen-$VERSION.tar cargo-rust-bindgen-$VERSION
plzip -9 cargo-rust-bindgen-$VERSION.tar
plzip -9 rust-bindgen-$VERSION.tar
rm -rf rust-bindgen-$VERSION
rm -rf cargo-rust-bindgen-$VERSION
rm -f rust-bindgen-$VERSION.tar.gz