Ajout xarchiver (pour pcmanfm) et xdvi.desktop.
authorgobo72 <gobo72@364a67c3-989e-7be9-548d-dae8560ea662>
Sun, 2 Oct 2011 03:30:18 +0000 (03:30 +0000)
committergobo72 <gobo72@364a67c3-989e-7be9-548d-dae8560ea662>
Sun, 2 Oct 2011 03:30:18 +0000 (03:30 +0000)
config/packages-list
stage5/hv-install-1
stage5/misc/pcmanfm-mimelist-setup.sh
stage5/packages-update
stage5/pkg/texlive

index e569f92..d7e97a2 100644 (file)
@@ -416,6 +416,7 @@ XCB_PROTO="xcb-proto-1.6"
 XCB_UTIL="xcb-util-0.3.6"
 LIBXCB="libxcb-1.7"
 
+XARCHIVER="xarchiver-0.5.2"
 XINETD="xinetd-2.3.14"
 XMLTO="xmlto-0.0.23"
 XMLTOMAN="xmltoman-0.4"
index 716cc96..e68890b 100755 (executable)
@@ -149,6 +149,7 @@ fi
 ipkg ${LIBGAMIN} "--libexecdir=/usr/sbin"
 ipkg ${MENU_CACHE}
 ipkg ${GVFS}
+ipkg ${XARCHIVER}
 ipkg -m acnb ${LIBFM}
 ipkg ${PCMANFM}
 
index cdf8c17..204208c 100755 (executable)
@@ -33,7 +33,9 @@ EOF
 
 add_mime_association "viewnior"
 add_mime_association "vlc"
+add_mime_association "xdvi"
 add_mime_association "gnumeric"
 add_mime_association "inkscape"
 add_mime_association "emacs"
 add_mime_association "transmission"
+add_mime_association "xarchiver"
index 3dc0a29..843ed96 100755 (executable)
@@ -172,6 +172,7 @@ fpkg -m sf -s "lxde" ${MENU_CACHE}
 
 fpkg -m gnome ${GVFS}
 
+fpkg -m sf -e "tar.bz2" ${XARCHIVER}
 fpkg -m sf -s "pcmanfm" -e "tar.gz" ${LIBFM}
 fpkg -m sf ${PCMANFM}
 
index b3ecea3..1d81ba9 100644 (file)
@@ -82,4 +82,15 @@ hvbuild_post()
         /usr/share/texmf-var    \
         /usr/share/texmf-local  \
         /var/lib/livetex/fonts
+
+    # Add xdvi desktop file
+    if [ ! -f /usr/share/applications/xdvi.desktop ]; then
+        cat > /usr/share/applications/xdvi.desktop << EOF
+[Desktop Entry]
+Type=Application
+Name=Xdvi
+Exec=xdvi
+MimeType=application/x-dvi;
+EOF
+    fi
 }