2 # Copyright (C) 2019 Ian Kelling
3 # SPDX-License-Identifier: AGPL-3.0-or-later
4 # shellcheck source=/a/bin/ds/.bashrc
5 if [[ -s ~
/.bashrc
]];then . ~
/.bashrc
;fi
10 Usage: ${0##*/} [DISTRO_NAME]
11 Print packages to install for each distro.
12 Default DISTRO_NAME is the one currently running.
15 -h|--help Print help and exit.
17 Note: Uses GNU getopt options parsing style
30 debian|trisquel|ubuntu
)
37 temp
=$
(getopt
-l help h
"$@") || usage
1
43 *) echo "$0: Internal error! unexpected args: $*" ; exit 1 ;;
50 # ubuntu 14.04 uses b-cron,
51 # but its not maintained in arch.
52 # of the ones in the main repos, cronie is only one maintained.
53 # fcron appears abandoned software.
56 *) : ;; # other distros come with cron.
61 *) : ;; # other distros come with tk from git
65 arch
) e the_silver_searcher
;;
66 debian|trisquel|ubuntu
) e silversearcher-ag
;;
71 # for debconf-get-selections
75 # needed for checkrestart
80 ###### quit now for li/lj
88 debian
) e gnome-session-flashback
;;
89 # flidas is missing dependency gnome-panel. others unknown
93 trisquel|ubuntu|debian
) e ack-grep
;;
101 # not packaged in flidas. in ubuntu it is in multiverse
111 trisquel|ubuntu|debian
) e nfs-common
;;
115 trisquel|ubuntu|debian
) e par2
;;
116 arch|fedora
) e par2cmdline
;;
119 # for my tex resume. commented, due to t9 gnome causing package version conflict
121 # trisquel|ubuntu|debian) e texlive-full ;;
125 # optional dep for firefox for h.264 video
127 # other distros, probably come by default
131 fedora|trisquel|ubuntu|debian
) e gnupg-agent
;;
137 fedora
) e pinentry-gtk
;;
138 *) : ;; # comes default or with other packages
143 arch
) e ttf-dejavu
;;
144 debian|trisquel|ubuntu
) e fonts-dejavu
;;
151 debian|trisquel|ubuntu
) e x11-utils
;;
157 debian|trisquel|ubuntu
) e genisoimage
;;
162 arch
) e spice-gtk3
;;
163 debian|trisquel|ubuntu
) e spice-client-gtk
;;
168 ### stuff brought in through deps in other distros
171 # for nat networking in libvirt
173 # dmidecode just because syslog complains
175 e
unzip xorg-xmodmap bridge-utils qemu virtviewer apg
182 arch|debian|trisquel|ubuntu
) e pumpa
;;
183 # others unknown. do have a buildscript:
184 # /a/bin/buildscripts/pumpa ;;
188 debian|trisquel|ubuntu
)