2 # Copyright (C) 2019 Ian Kelling
3 # SPDX-License-Identifier: AGPL-3.0-or-later
4 if [[ -s ~
/.bashrc
]];then . ~
/.bashrc
;fi
9 Usage: ${0##*/} [DISTRO_NAME]
10 Print packages to install for each distro.
11 Default DISTRO_NAME is the one currently running.
14 -h|--help Print help and exit.
16 Note: Uses GNU getopt options parsing style
29 debian|trisquel|ubuntu
)
36 bool_opt
=false
# default
37 long_opt
=foo
# default
38 temp
=$
(getopt
-l help,long-opt
: hso
: "$@") || usage
1
42 -s) bool_opt
=true
; shift ;;
43 -o|
--long-opt) long_opt
="$2"; shift 2 ;;
46 *) echo "$0: Internal error! unexpected args: $*" ; exit 1 ;;
53 # ubuntu 14.04 uses b-cron,
54 # but its not maintained in arch.
55 # of the ones in the main repos, cronie is only one maintained.
56 # fcron appears abandoned software.
59 *) : ;; # other distros come with cron.
64 *) : ;; # other distros come with tk from git
68 arch
) e the_silver_searcher
;;
69 debian|trisquel|ubuntu
) e silversearcher-ag
;;
74 # for debconf-get-selections
78 # needed for checkrestart
83 ###### quit now for li/lj
91 debian
) e gnome-session-flashback
;;
92 # flidas is missing dependency gnome-panel. others unknown
96 trisquel|ubuntu|debian
) e ack-grep
;;
104 # not packaged in flidas. in ubuntu it is in multiverse
114 # for gui bug reporting
120 # no equivalent in other distros:
125 trisquel|ubuntu|debian
) e nfs-common
;;
129 trisquel|ubuntu|debian
) e par2
;;
130 arch|fedora
) e par2cmdline
;;
133 # needed for my tex resume
135 trisquel|ubuntu|debian
) e texlive-full
;;
136 arch
) e texlive-most
;;
141 # optional dep for firefox for h.264 video
143 # other distros, probably come by default
147 fedora|trisquel|ubuntu|debian
) e gnupg-agent
;;
153 fedora
) e pinentry-gtk
;;
154 *) : ;; # comes default or with other packages
159 arch
) e ttf-dejavu
;;
160 debian|trisquel|ubuntu
) e fonts-dejavu
;;
167 debian|trisquel|ubuntu
) e x11-utils
;;
173 debian|trisquel|ubuntu
) e genisoimage
;;
178 arch
) e spice-gtk3
;;
179 debian|trisquel|ubuntu
) e spice-client-gtk
;;
184 ### stuff brought in through deps in other distros
187 # for nat networking in libvirt
189 # dmidecode just because syslog complains
191 e
unzip xorg-xmodmap bridge-utils qemu virtviewer apg
198 arch|debian|trisquel|ubuntu
) e pumpa
;;
199 # others unknown. do have a buildscript:
200 # /a/bin/buildscripts/pumpa ;;
205 debian|trisquel|ubuntu
) e android-tools-adbd
;;
206 # todo: not sure this is needed anymore, or if trisqel etc works even
207 # debian) e android-tools-adbd/unstable ;;
208 arch
) e android-tools
;;
209 # other distros unknown
214 debian|trisquel|ubuntu
)