3 source /a
/bin
/errhandle
/err
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
113 # for gui bug reporting
119 # no equivalent in other distros:
124 trisquel|ubuntu|debian
) e nfs-common
;;
128 trisquel|ubuntu|debian
) e par2
;;
129 arch|fedora
) e par2cmdline
;;
132 # needed for my tex resume
134 trisquel|ubuntu|debian
) e texlive-full
;;
135 arch
) e texlive-most
;;
140 # optional dep for firefox for h.264 video
142 # other distros, probably come by default
146 fedora|trisquel|ubuntu|debian
) e gnupg-agent
;;
152 fedora
) e pinentry-gtk
;;
153 *) : ;; # comes default or with other packages
157 arch
) e firefox pulseaudio
;;
158 trisquel
) e abrowser
;;
159 *) : ;; # comes default or with other packages, or uknown
164 arch
) e ttf-dejavu
;;
165 debian|trisquel|ubuntu
) e fonts-dejavu
;;
172 debian|trisquel|ubuntu
) e x11-utils
;;
178 debian|trisquel|ubuntu
) e genisoimage
;;
183 arch
) e spice-gtk3
;;
184 debian|trisquel|ubuntu
) e spice-client-gtk
;;
189 ### stuff brought in through deps in other distros
192 # for nat networking in libvirt
194 # dmidecode just because syslog complains
196 e
unzip xorg-xmodmap bridge-utils qemu virtviewer apg
203 arch|debian|trisquel|ubuntu
) e pumpa
;;
204 # others unknown. do have a buildscript:
205 # /a/bin/buildscripts/pumpa ;;
210 debian|trisquel|ubuntu
) e android-tools-adbd
;;
211 # todo: not sure this is needed anymore, or if trisqel etc works even
212 # debian) e android-tools-adbd/unstable ;;
213 arch
) e android-tools
;;
214 # other distros unknown
219 debian|trisquel|ubuntu
)