unused packages.

This commit is contained in:
Storm Dragon 2020-01-03 09:23:47 -05:00
parent 7e4f67ce47
commit 8ac8899ac5
2 changed files with 0 additions and 177 deletions

View File

@ -1,7 +1,6 @@
base base
linux-raspberrypi4 linux-raspberrypi4
linux-raspberrypi4-headers linux-raspberrypi4-headers
ne
nodm nodm
notify-osd notify-osd
ntp ntp
@ -43,10 +42,8 @@ espeak-ng-extended-git
epub2txt epub2txt
fake-hwclock fake-hwclock
fenrir fenrir
firefox
fleacollar-git fleacollar-git
fribidi fribidi
galculator
git git
glipper glipper
gst-plugins-bad gst-plugins-bad
@ -69,53 +66,12 @@ libpulse
libsonic-git libsonic-git
liburcu liburcu
lios-git lios-git
lxterminal
mbrola-git
mbrola-voices-af1
mbrola-voices-ar1
mbrola-voices-ar2
mbrola-voices-br1
mbrola-voices-br2
mbrola-voices-br3
mbrola-voices-br4
mbrola-voices-de1
mbrola-voices-de2
mbrola-voices-de3
mbrola-voices-de4
mbrola-voices-de5
mbrola-voices-de6
mbrola-voices-de7
mbrola-voices-de8
mbrola-voices-es1
mbrola-voices-es2
mbrola-voices-es3
mbrola-voices-es4
mbrola-voices-fr1
mbrola-voices-fr2
mbrola-voices-fr3
mbrola-voices-fr4
mbrola-voices-fr5
mbrola-voices-fr6
mbrola-voices-fr7
mbrola-voices-hu1
mbrola-voices-id1
mbrola-voices-in1
mbrola-voices-in2
mbrola-voices-pl1
mbrola-voices-tr1
mbrola-voices-tr2
mbrola-voices-us1
mbrola-voices-us2
mbrola-voices-us3
mhwaveedit mhwaveedit
mlterm
modemmanager modemmanager
mpv mpv
mutt mutt
mygtkmenu
parted parted
pcaudiolib pcaudiolib
pcmanfm
pdmenu-git pdmenu-git
perl-json-xs perl-json-xs
perl-text-charwidth perl-text-charwidth
@ -123,20 +79,16 @@ perl-term-readline-gnu
pianobar pianobar
pidgin pidgin
pidgin-otr pidgin-otr
pluma
portaudio portaudio
pulseaudio pulseaudio
pulseaudio-alsa pulseaudio-alsa
pulseaudio-bluetooth pulseaudio-bluetooth
python python
python2
python-aiml
python-cairo python-cairo
python-daemonize python-daemonize
python-dbus python-dbus
python-evdev python-evdev
magic-wormhole magic-wormhole
python2-pip
python-pip python-pip
python-pyalsaaudio python-pyalsaaudio
python-pyenchant python-pyenchant
@ -145,12 +97,9 @@ python-pyte
python-pyudev python-pyudev
python-setuptools python-setuptools
python-xlsx2csv python-xlsx2csv
ratpoison
rhvoice-git rhvoice-git
ripit
rpi-clone-git rpi-clone-git
rsync rsync
rxvt-unicode
sbc sbc
sc-im-git sc-im-git
screen screen
@ -163,11 +112,9 @@ simpleorcapluginsystem-git
socat socat
sox sox
speech-dispatcher speech-dispatcher
storebackup
sudo sudo
surfraw surfraw
t4kcommon-git t4kcommon-git
telegram-cli-git
telegram-purple telegram-purple
tesseract-data-ara tesseract-data-ara
tesseract-data-eng tesseract-data-eng
@ -186,7 +133,6 @@ unzip
w3m w3m
wget wget
wireless_tools wireless_tools
wordgrinder-git
wpa_supplicant wpa_supplicant
xarchiver xarchiver
xclip xclip
@ -257,27 +203,9 @@ orca
recoll recoll
hunspell-en_US hunspell-en_US
# Arabic language packages
aspell-ar
firefox-i18n-ar
hunspell-ar
libreoffice-still-ar
thunderbird-i18n-ar
ttf-arabeyes-fonts
# Portuguese language packages # Portuguese language packages
firefox-i18n-pt-br firefox-i18n-pt-br
libreoffice-still-pt-br libreoffice-still-pt-br
aspell-pt aspell-pt
hunspell-pt-br hunspell-pt-br
thunderbird-i18n-pt-br thunderbird-i18n-pt-br
# Spanish language packages
aspell-es
firefox-i18n-es-es
hunspell-es_any
hunspell-es_es
hyphen-es
libreoffice-still-es
mythes-es
thunderbird-i18n-es-es

View File

@ -1,105 +0,0 @@
#!/bin/bash
#
# aur-install
#
# Copyright 2018 F123 Consulting, <information@f123.org>
# Copyright 2018, Kyle, <kyle@free2.ml>
#
# This is free software; you can redistribute it and/or modify it under the
# terms of the GNU General Public License as published by the Free
# Software Foundation; either version 3, or (at your option) any later
# version.
#
# This software is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this package; see the file COPYING. If not, write to the Free
# Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301, USA.
#
#--code--
export TEXTDOMAIN=aur-install
export TEXTDOMAINDIR=../locale
#export TEXTDOMAINDIR=/usr/local/share/locale
. gettext.sh
. ./functions
set -e
if ! check_root ; then
PROGNAME=$0
echo $(eval_gettext "Script must be run as root, try: sudo \$PROGNAME") ; echo
exit 1
fi
packagelist=
while getopts ':hl:' flag
do
case $flag in
h)
usage
exit 0
;;
l)
packagelist=$OPTARG
;;
:)
msg=$(gettext "Option requires an argument")
die '%s: %s -- '\''%s'\' "${0##*/}" "${msg}" "$OPTARG"
;;
?)
msg=$(gettext "Invalid option")
die '%s: %s -- '\''%s'\' "${0##*/}" "${msg}" "$OPTARG"
;;
esac
done
shift $(( OPTIND - 1 ))
(( $# )) || die "No root directory specified"
newroot=$1; shift
[[ -z "${packagelist}" ]] && die "No package list supplied"
[[ -f "${packagelist}" ]] || die "Package list ${packagelist} does not exist"
[[ -r "${packagelist}" ]] || die "Package list ${packagelist} is not readable"
# A temporary directory holding all build files should be created on the mounted image file.
# It must be owned by the regular user, which will be given the uid 1000.
# This whole directory will be removed once the AUR packages are installed.
mkdir -p "${newroot}/aur"
chown 1000 "${newroot}/aur"
# From the image chroot, Clone the package build information from the AUR, then build and install each package.
for package in $(cat "$packagelist"); do
systemd-nspawn -a -q -D "${newroot}" sudo -u \#1000 /bin/bash -c \
"{
cd /aur;
git clone https://aur.archlinux.org/${package}.git;
cd $package;
MAKEFLAGS=-j$(nproc) makepkg -d -A;
}"
systemd-nspawn -a -q -D "${newroot}" /bin/bash -c \
"{
# It is assumed that someone building an image knows what he/she is doing, and won't install AUR packages that make forced installations or dependency skips dangerous.
# That said, some packages have been found not to build properly unless forceably installed to overwrite conflicting files or certain dependencies are skipped.
cd /aur/$package;
yes | pacman -Udd *pkg.tar.xz --noprogressbar --force;
}"
done
# cleanup the working package build directory
rm -R "${newroot}/aur"
echo done
exit 0