slackware-current/source/t/texlive/dump.unused.internal.libraries.from.sources.sh

18 lines
902 B
Bash
Raw Normal View History

#!/bin/sh
# Repacks the texlive tarball to remove unused sources.
VERSION=${VERSION:-$(echo texlive-*source.tar.?z* | rev | cut -f 2 -d - | cut -f 1 -d - | rev)}
tar xf texlive-${VERSION}-source.tar.xz || exit 1
mv texlive-${VERSION}-source.tar.xz texlive-${VERSION}-source.tar.xz.orig
( cd texlive-${VERSION}-source/libs && rm -rf cairo freetype2 gd gmp graphite2 harfbuzz mpfr icu libpng pixman zlib libpaper )
( cd texlive-${VERSION}-source/utils && rm -rf asymptote )
( cd texlive-${VERSION}-source/utils && rm -rf texdoctk )
( cd texlive-${VERSION}-source/utils && rm -rf m-tx )
( cd texlive-${VERSION}-source/texk/texlive && rm -rf w*_wrapper )
tar cf texlive-${VERSION}-source.tar texlive-${VERSION}-source
rm -r texlive-${VERSION}-source
Tue Jul 6 20:44:20 UTC 2021 ap/mc-4.8.26-x86_64-3.txz: Rebuilt. Rebuilt with --enable-aspell. Thanks to Ressy and bassmadrigal. ap/slackpkg-15.0.6-noarch-1.txz: Upgraded. Fix getting gpg key on ARM ; use only www.slackware.com. Remove support for Slackintosh project - it's dead, Jim. Thanks to Robby Workman. d/python-setuptools-57.1.0-x86_64-1.txz: Upgraded. kde/bluedevil-5.22.3-x86_64-1.txz: Upgraded. kde/breeze-5.22.3-x86_64-1.txz: Upgraded. kde/breeze-grub-5.22.3-x86_64-1.txz: Upgraded. kde/breeze-gtk-5.22.3-x86_64-1.txz: Upgraded. kde/digikam-7.2.0-x86_64-4.txz: Rebuilt. Recompiled against opencv-4.5.3. kde/drkonqi-5.22.3-x86_64-1.txz: Upgraded. kde/kactivitymanagerd-5.22.3-x86_64-1.txz: Upgraded. kde/kde-cli-tools-5.22.3-x86_64-1.txz: Upgraded. kde/kde-gtk-config-5.22.3-x86_64-1.txz: Upgraded. kde/kdecoration-5.22.3-x86_64-1.txz: Upgraded. kde/kdeplasma-addons-5.22.3-x86_64-1.txz: Upgraded. kde/kgamma5-5.22.3-x86_64-1.txz: Upgraded. kde/khotkeys-5.22.3-x86_64-1.txz: Upgraded. kde/kinfocenter-5.22.3-x86_64-1.txz: Upgraded. kde/kio-extras-21.04.2-x86_64-2.txz: Rebuilt. Recompiled against kdsoap-2.0.0. kde/kmenuedit-5.22.3-x86_64-1.txz: Upgraded. kde/kscreen-5.22.3-x86_64-1.txz: Upgraded. kde/kscreenlocker-5.22.3-x86_64-1.txz: Upgraded. kde/ksshaskpass-5.22.3-x86_64-1.txz: Upgraded. kde/ksystemstats-5.22.3-x86_64-1.txz: Upgraded. kde/kwallet-pam-5.22.3-x86_64-1.txz: Upgraded. kde/kwayland-integration-5.22.3-x86_64-1.txz: Upgraded. kde/kwayland-server-5.22.3-x86_64-1.txz: Upgraded. kde/kwin-5.22.3-x86_64-1.txz: Upgraded. kde/kwrited-5.22.3-x86_64-1.txz: Upgraded. kde/layer-shell-qt-5.22.3-x86_64-1.txz: Upgraded. kde/libkscreen-5.22.3-x86_64-1.txz: Upgraded. kde/libksysguard-5.22.3-x86_64-1.txz: Upgraded. kde/milou-5.22.3-x86_64-1.txz: Upgraded. kde/oxygen-5.22.3-x86_64-1.txz: Upgraded. kde/plasma-browser-integration-5.22.3-x86_64-1.txz: Upgraded. kde/plasma-desktop-5.22.3-x86_64-1.txz: Upgraded. kde/plasma-disks-5.22.3-x86_64-1.txz: Upgraded. kde/plasma-firewall-5.22.3-x86_64-1.txz: Upgraded. kde/plasma-integration-5.22.3-x86_64-1.txz: Upgraded. kde/plasma-nm-5.22.3-x86_64-1.txz: Upgraded. kde/plasma-pa-5.22.3-x86_64-1.txz: Upgraded. kde/plasma-sdk-5.22.3-x86_64-1.txz: Upgraded. kde/plasma-systemmonitor-5.22.3-x86_64-1.txz: Upgraded. kde/plasma-vault-5.22.3-x86_64-1.txz: Upgraded. kde/plasma-workspace-5.22.3-x86_64-1.txz: Upgraded. kde/plasma-workspace-wallpapers-5.22.3-x86_64-1.txz: Upgraded. kde/polkit-kde-agent-1-5.22.3-x86_64-1.txz: Upgraded. kde/powerdevil-5.22.3-x86_64-1.txz: Upgraded. kde/qqc2-breeze-style-5.22.3-x86_64-1.txz: Upgraded. kde/sddm-kcm-5.22.3-x86_64-1.txz: Upgraded. kde/systemsettings-5.22.3-x86_64-1.txz: Upgraded. kde/xdg-desktop-portal-kde-5.22.3-x86_64-1.txz: Upgraded. l/kdsoap-2.0.0-x86_64-1.txz: Upgraded. Shared library .so-version bump. l/opencv-4.5.3-x86_64-1.txz: Upgraded. Changed ABI. n/getmail-6.18.1-x86_64-1.txz: Upgraded. t/texlive-2021.210418-x86_64-1.txz: Upgraded. Thanks to Johannes Schoepfer.
2021-07-06 22:44:20 +02:00
xz texlive-${VERSION}-source.tar
touch -r texlive-${VERSION}-source.tar.xz.orig texlive-${VERSION}-source.tar.xz
rm texlive-${VERSION}-source.tar.xz.orig