From 7ef5a940472ca89129b307baf996557da010a0e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20A=C3=9Fmus?= Date: Sat, 4 Oct 2008 18:28:15 +0000 Subject: [PATCH] Added optional package "Welcome". The welcome package documation is copied to /boot/beos/documetation/welcome and a link to welcome.html is placed on the Desktop. The mime_update.sh script makes sure that the mime type of the html files is set. However, Firefox has a problem when it is launched for the first time via double clicking an HTML file. Apparently, it initializes some settings and relaunches itself, which in turn makes it forget to open the file. A second problem is annoying as well: When launching Firefox to display a local file, it will always open a second window with the default web location. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27868 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- build/jam/OptionalPackages | 9 +++++++++ data/common/boot/post_install/mime_update.sh | 1 + 2 files changed, 10 insertions(+) diff --git a/build/jam/OptionalPackages b/build/jam/OptionalPackages index 90b0867eaf..df80f9ea5e 100644 --- a/build/jam/OptionalPackages +++ b/build/jam/OptionalPackages @@ -27,6 +27,7 @@ if $(HAIKU_ADD_ALTERNATIVE_GCC_LIBS) && $(HAIKU_ALTERNATIVE_GCC_OUTPUT_DIR) { # Subversion # Vision # VLC +# Welcome # WonderBrush # Yasm @@ -413,6 +414,14 @@ if [ IsOptionalHaikuImagePackageAdded VLC ] { } } +# Welcome +if [ IsOptionalHaikuImagePackageAdded Welcome ] { + CopyDirectoryToHaikuImage beos documentation + : [ FDirName $(HAIKU_TOP) docs welcome ] + : welcome : -x .svn ; + AddSymlinkToHaikuImage home Desktop + : /boot/beos/documentation/welcome/welcome.html : Welcome ; +} # WonderBrush if [ IsOptionalHaikuImagePackageAdded WonderBrush ] { diff --git a/data/common/boot/post_install/mime_update.sh b/data/common/boot/post_install/mime_update.sh index 78f7bca9b7..d3b0308de8 100755 --- a/data/common/boot/post_install/mime_update.sh +++ b/data/common/boot/post_install/mime_update.sh @@ -3,6 +3,7 @@ # Make sure all apps have a MIME DB entry. mimeset -apps -f /boot/beos/apps +mimeset -f /boot/beos/documentation mimeset -apps -f /boot/beos/preferences mimeset -apps -f /boot/beos/system/servers mimeset -apps -f /boot/apps