8 Usage: ${0##*/} [DISTRO_NAME]
9 Print packages to install for each distro.
10 Default DISTRO_NAME is the one currently running.
13 -h|--help Print help and exit.
15 Note: Uses GNU getopt options parsing style
28 debian|trisquel|ubuntu
)
35 bool_opt
=false
# default
36 long_opt
=foo
# default
37 temp
=$
(getopt
-l help,long-opt
: hso
: "$@") || usage
1
41 -s) bool_opt
=true
; shift ;;
42 -o|
--long-opt) long_opt
="$2"; shift 2 ;;
45 *) echo "$0: Internal error! unexpected args: $*" ; exit 1 ;;
52 # ubuntu 14.04 uses b-cron,
53 # but its not maintained in arch.
54 # of the ones in the main repos, cronie is only one maintained.
55 # fcron appears abandoned software.
58 *) : ;; # other distros come with cron.
63 *) : ;; # other distros come with tk from git
67 arch
) e the_silver_searcher
;;
68 debian|trisquel|ubuntu
) e silversearcher-ag
;;
73 # for debconf-get-selections
77 # needed for checkrestart
82 ###### quit now for li/lj
90 debian
) e gnome-session-flashback
;;
91 # flidas is missing dependency gnome-panel. others unknown
95 trisquel|ubuntu|debian
) e ack-grep
;;
103 # not packaged in flidas. in ubuntu it is in multiverse
112 debian|trisquel|ubuntu
)
113 # for gui bug reporting
116 # no equivalent in other distros:
121 trisquel|ubuntu|debian
) e nfs-common
;;
125 trisquel|ubuntu|debian
) e par2
;;
126 arch|fedora
) e par2cmdline
;;
129 # needed for my tex resume
131 trisquel|ubuntu|debian
) e texlive-full
;;
132 arch
) e texlive-most
;;
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
154 arch
) e firefox pulseaudio
;;
155 trisquel
) e abrowser
;;
156 *) : ;; # comes default or with other packages, or uknown
162 debian|trisquel|ubuntu
) e fonts-dejavu
;;
169 debian|trisquel|ubuntu
) e x11-utils
;;
174 arch
) e virt-install
;;&
175 debian|trisquel|ubuntu
) e virtinst
;;&
176 *) e virt-manager
;; # creates the libvirt group in debian at least
184 debian|trisquel|ubuntu
) e genisoimage
;;
189 arch
) e spice-gtk3
;;
190 debian|trisquel|ubuntu
) e spice-client-gtk
;;
195 debian|trisquel|ubuntu
)
196 # fdroidcl dependency
203 ### stuff brought in through deps in other distros
206 # for nat networking in libvirt
208 # dmidecode just because syslog complains
210 e
unzip xorg-xmodmap bridge-utils qemu virtviewer apg
217 fedora
) cabal
install shellcheck
;;
219 # unknown for older ubuntu
223 arch|debian|trisquel|ubuntu
) e pumpa
;;
224 # others unknown. do have a buildscript:
225 # /a/bin/buildscripts/pumpa ;;
230 debian|trisquel|ubuntu
) e android-tools-adbd
;;
231 # todo: not sure this is needed anymore, or if trisqel etc works even
232 # debian) e android-tools-adbd/unstable ;;
233 arch
) e android-tools
;;
234 # other distros unknown
243 # mate-indicator-applet and beyond are msc things I noticed diffing a
244 # standard install with mine.
245 e xorg lightdm mate-desktop-environment mate-desktop-environment-extras mate-indicator-applet anacron
251 debian|trisquel|ubuntu
)