2 # I, Ian Kelling, follow the GNU license recommendations at
3 # https://www.gnu.org/licenses/license-recommendations.en.html. They
4 # recommend that small programs, < 300 lines, be licensed under the
5 # Apache License 2.0. This file contains or is part of one or more small
6 # programs. If a small program grows beyond 300 lines, I plan to switch
9 # Copyright 2024 Ian Kelling
11 # Licensed under the Apache License, Version 2.0 (the "License");
12 # you may not use this file except in compliance with the License.
13 # You may obtain a copy of the License at
15 # http://www.apache.org/licenses/LICENSE-2.0
17 # Unless required by applicable law or agreed to in writing, software
18 # distributed under the License is distributed on an "AS IS" BASIS,
19 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20 # See the License for the specific language governing permissions and
21 # limitations under the License.
23 # shellcheck source=/a/bin/ds/.bashrc
24 if [[ -s ~
/.bashrc
]];then . ~
/.bashrc
;fi
29 Usage: ${0##*/} [DISTRO_NAME]
30 Print packages to install for each distro.
31 Default DISTRO_NAME is the one currently running.
34 -h|--help Print help and exit.
36 Note: Uses GNU getopt options parsing style
49 debian|trisquel|ubuntu
)
56 temp
=$
(getopt
-l help h
"$@") || usage
1
62 *) echo "$0: Internal error! unexpected args: $*" ; exit 1 ;;
69 # ubuntu 14.04 uses b-cron,
70 # but its not maintained in arch.
71 # of the ones in the main repos, cronie is only one maintained.
72 # fcron appears abandoned software.
75 *) : ;; # other distros come with cron.
80 *) : ;; # other distros come with tk from git
84 arch
) e the_silver_searcher
;;
85 debian|trisquel|ubuntu
) e silversearcher-ag
;;
90 # for debconf-get-selections
98 ###### quit now for li/lj
106 debian
) e gnome-session-flashback
;;
107 # flidas is missing dependency gnome-panel. others unknown
113 # not packaged in flidas. in ubuntu it is in multiverse
123 trisquel|ubuntu|debian
) e nfs-common
;;
127 trisquel|ubuntu|debian
) e par2
;;
128 arch|fedora
) e par2cmdline
;;
131 # for my tex resume. commented, due to t9 gnome causing package version conflict
133 # trisquel|ubuntu|debian) e texlive-full ;;
137 # optional dep for firefox for h.264 video
139 # other distros, probably come by default
143 fedora|trisquel|ubuntu|debian
) e gnupg-agent
;;
149 fedora
) e pinentry-gtk
;;
150 *) : ;; # comes default or with other packages
155 arch
) e ttf-dejavu
;;
156 debian|trisquel|ubuntu
) e fonts-dejavu
;;
163 debian|trisquel|ubuntu
) e x11-utils
;;
169 debian|trisquel|ubuntu
) e genisoimage
;;
174 arch
) e spice-gtk3
;;
175 debian|trisquel|ubuntu
) e spice-client-gtk
;;
180 ### stuff brought in through deps in other distros
183 # for nat networking in libvirt
185 # dmidecode just because syslog complains
187 e
unzip xorg-xmodmap bridge-utils qemu virtviewer apg
194 arch|debian|trisquel|ubuntu
) e pumpa
;;
195 # others unknown. do have a buildscript:
196 # /a/bin/buildscripts/pumpa ;;
200 debian|trisquel|ubuntu
)
214 case $
(debian-codename
) in