From 8ac8899ac5bbd04c7c6bb84eb6135c910636bc5f Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Fri, 3 Jan 2020 09:23:47 -0500 Subject: [PATCH] unused packages. --- build/build/package_lists/packages.list | 72 ---------------- build/build/scripts/aur-install | 105 ------------------------ 2 files changed, 177 deletions(-) delete mode 100755 build/build/scripts/aur-install diff --git a/build/build/package_lists/packages.list b/build/build/package_lists/packages.list index 52b6886..d448249 100644 --- a/build/build/package_lists/packages.list +++ b/build/build/package_lists/packages.list @@ -1,7 +1,6 @@ base linux-raspberrypi4 linux-raspberrypi4-headers -ne nodm notify-osd ntp @@ -43,10 +42,8 @@ espeak-ng-extended-git epub2txt fake-hwclock fenrir -firefox fleacollar-git fribidi -galculator git glipper gst-plugins-bad @@ -69,53 +66,12 @@ libpulse libsonic-git liburcu 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 -mlterm modemmanager mpv mutt -mygtkmenu parted pcaudiolib -pcmanfm pdmenu-git perl-json-xs perl-text-charwidth @@ -123,20 +79,16 @@ perl-term-readline-gnu pianobar pidgin pidgin-otr -pluma portaudio pulseaudio pulseaudio-alsa pulseaudio-bluetooth python -python2 -python-aiml python-cairo python-daemonize python-dbus python-evdev magic-wormhole -python2-pip python-pip python-pyalsaaudio python-pyenchant @@ -145,12 +97,9 @@ python-pyte python-pyudev python-setuptools python-xlsx2csv -ratpoison rhvoice-git -ripit rpi-clone-git rsync -rxvt-unicode sbc sc-im-git screen @@ -163,11 +112,9 @@ simpleorcapluginsystem-git socat sox speech-dispatcher -storebackup sudo surfraw t4kcommon-git -telegram-cli-git telegram-purple tesseract-data-ara tesseract-data-eng @@ -186,7 +133,6 @@ unzip w3m wget wireless_tools -wordgrinder-git wpa_supplicant xarchiver xclip @@ -257,27 +203,9 @@ orca recoll 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 firefox-i18n-pt-br libreoffice-still-pt-br aspell-pt hunspell-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 diff --git a/build/build/scripts/aur-install b/build/build/scripts/aur-install deleted file mode 100755 index 637f6b7..0000000 --- a/build/build/scripts/aur-install +++ /dev/null @@ -1,105 +0,0 @@ -#!/bin/bash -# -# aur-install -# -# Copyright 2018 F123 Consulting, -# Copyright 2018, Kyle, -# -# 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 -