${INTLTOOL}: ${PERL_MOD_XML_PARSER}
${GTKMM}: ${PANGOMM}
-${INKSCAPE}: ${POPPLER} ${BOOST} ${INTLTOOL} ${GTKMM}
+${INKSCAPE}: ${POPPLER} ${BOOST} ${INTLTOOL} ${GTKMM} ${GSL}
${PHP}: ${CURL}
# Audio utilities
${AUDACITY}: ${LIBID3TAG} wxgtk
-# Rhythmbox-0.11.6 needs latest totem
-${RHYTHMBOX}: ${LIBID3TAG}
# Easytag requiert id3lib pour les MP3
${EASYTAG}: id3lib OR ${LIBID3TAG}
${AUDACIOUS}: taglib, libmowgli, mcs
--- /dev/null
+#!/bin/bash
+
+# Create a list of mimetypes for PCManFM.
+
+MIMEAPPS_FILE="${HOME}/.local/share/applications/mimeapps.list"
+
+# Arg 1: Desktop file prefix
+function add_mime_association()
+{
+ if [ ${#} -ne 1 ]; then
+ echo "Missing application name"
+ exit 1
+ fi
+
+ local APP=${1}
+ local DESKTOP_FILE=/usr/share/applications/${APP}.desktop
+
+ if [ -f ${DESKTOP_FILE} ]; then
+ for t in $(cat ${DESKTOP_FILE} | grep MimeType | \
+ sed 's!^MimeType=!!' | tr -s ";" "\n"); do
+ echo "${t}=${APP}.desktop;" >> ${MIMEAPPS_FILE}
+ done
+ fi
+}
+
+cat > ${MIMEAPPS_FILE} << EOF
+[Added Associations]
+application/pdf=evince.desktop;
+application/postscript=evince.desktop;
+application/x-dvi=evince.desktop;
+application/msword=abiword.desktop;
+EOF
+
+add_mime_association "viewnior"
+add_mime_association "vlc"
+add_mime_association "gnumeric"
+add_mime_association "inkscape"
+add_mime_association "emacs"
+add_mime_association "transmission"
update_packages_init ${*}
fpkg -m gnu ${HELP2MAN}
+fpkg -m gnu ${GSL}
fpkg -s "$(get_pkg_ver ${CUPS})" -f "${CUPS}-source" ${CUPS} \
"http://ftp.easysw.com/pub/cups"
fpkg -e "tar.gz" -f "$(get_pkg_name ${CUPS_PDF})_$(get_pkg_ver ${CUPS_PDF})" ${CUPS_PDF} \