Commit Graph

106 Commits

Author SHA1 Message Date
Augustin Cavalier
a3e794ae45 be_apps/Deskbar: Remove.
The only file in here was Deskbar.h, which just included the "real"
Deskbar.h. Considering nothing in-tree cares about this, and only
a small number of applications at HaikuArchives do, and that Haiku already
broke BeOS source compatibility in lots of other ways, let's just remove
this deprecated cruft.
2016-07-29 18:41:30 -04:00
Axel Dörfler
d2eca26b73 Moved per user post install actions to first-login script.
* The same mechanism (and the same PostInstallScript) is used for this.
* If a file first_login exists in ~/config/settings/boot, the first-login
  scripts are launched, and the file removed.
* This fixes adding the deskbar tray icons even when there is no Deskbar
  running yet (for example on first boot when the FirstBootPrompt
  starts), or, IOW bug #12275.
2015-10-19 21:27:02 +02:00
Axel Dörfler
65ed8a5e87 Added post-install script, and start UserBootscript again.
* This is the final missing piece of the former boot process.
* Removed the unused Bootscript, and Bootscript.cd files.
2015-07-22 20:45:43 +02:00
Axel Dörfler
2889e51c4e SetupEnvironment: removed old audio legacy cruft.
* Haiku never supported this.
2015-04-02 13:25:54 +02:00
Axel Dörfler
c733458294 Removed old, and unused Netscript. 2015-04-02 13:25:49 +02:00
Ingo Weinhold
f73f5d4c42 Initial changes to remove /boot/common
* find_directory() and hard-coded paths use /boot/system instead of
  /boot/common.
* The build system creates the writable directories in /boot/system
  instead of /boot/common.
* The build system no longer installs any packages in /boot/common.
2013-10-03 21:52:25 +02:00
Ingo Weinhold
a532c57308 Remove /boot/{apps,preferences} symlinks
And adjust all remained occurrence in the tree accordingly (->
/boot/common/{apps,preferences}).
2013-06-04 23:36:46 +02:00
Ingo Weinhold
e63bdfec75 Rename post_install dir to post-install 2013-05-29 02:24:54 +02:00
Ingo Weinhold
a085e81e62 Move ~/config/boot to ~/config/settings/ 2013-05-11 09:57:57 +02:00
Ingo Weinhold
25a7b01d15 Merge branch 'master' into package-management
Additional changes:
* Add src/system/kernel/lib/zlib, which builds a kernel version of zlib,
  needed by packagefs.
* BuildFeatures: Add a build feature "gcc2" to allow for easier checks.
* Referenceable.cpp: Include <OS.h> instead of <debugger.h>. The latter
  is not needed and prevents building for the build platform.
* zlib/zutil.h: Fix gcc 2 build. We really should use the external
  package instead.

Conflicts:
	.gitignore
	build/jam/BuildSetup
	build/jam/FileRules
	build/jam/FloppyBootImage
	build/jam/HaikuImage
	build/jam/ImageRules
	build/jam/KernelRules
	build/jam/NetBootArchive
	build/jam/OptionalBuildFeatures
	build/jam/OptionalLibPackages
	build/jam/OptionalPackageDependencies
	build/jam/OptionalPackages
	build/scripts/build_haiku_image
	configure
	data/bin/installoptionalpackage
	data/system/boot/Bootscript
	headers/os/app/Message.h
	headers/os/package/PackageInfo.h
	headers/os/package/PackageInfoAttributes.h
	headers/os/package/PackageInfoSet.h
	headers/os/package/PackageRoster.h
	headers/os/package/PackageVersion.h
	headers/os/package/hpkg/PackageInfoAttributeValue.h
	headers/os/storage/FindDirectory.h
	headers/os/storage/Node.h
	headers/os/support/StringList.h
	headers/private/system/directories.h
	src/add-ons/kernel/drivers/audio/ac97/es1370/Jamfile
	src/add-ons/kernel/file_systems/packagefs/AttributeIndex.cpp
	src/add-ons/kernel/file_systems/packagefs/Jamfile
	src/add-ons/kernel/file_systems/packagefs/Package.cpp
	src/add-ons/kernel/file_systems/packagefs/Package.h
	src/add-ons/kernel/file_systems/packagefs/PackageDomain.cpp
	src/add-ons/kernel/file_systems/packagefs/PackageDomain.h
	src/add-ons/kernel/file_systems/packagefs/PackageFSRoot.cpp
	src/add-ons/kernel/file_systems/packagefs/PackageLinkDirectory.cpp
	src/add-ons/kernel/file_systems/packagefs/PackageLinkDirectory.h
	src/add-ons/kernel/file_systems/packagefs/PackageLinkSymlink.cpp
	src/add-ons/kernel/file_systems/packagefs/PackageLinkSymlink.h
	src/add-ons/kernel/file_systems/packagefs/PackageLinksDirectory.cpp
	src/add-ons/kernel/file_systems/packagefs/PackageNode.h
	src/add-ons/kernel/file_systems/packagefs/ResolvableFamily.cpp
	src/add-ons/kernel/file_systems/packagefs/Version.cpp
	src/add-ons/kernel/file_systems/packagefs/Version.h
	src/add-ons/kernel/file_systems/packagefs/Volume.cpp
	src/add-ons/kernel/file_systems/packagefs/Volume.h
	src/add-ons/kernel/file_systems/packagefs/kernel_interface.cpp
	src/add-ons/kernel/file_systems/userlandfs/shared/driver_settings.c
	src/apps/deskbar/BarApp.cpp
	src/apps/deskbar/BarMenuBar.cpp
	src/apps/deskbar/BarMenuBar.h
	src/apps/deskbar/BarView.cpp
	src/apps/deskbar/BarView.h
	src/apps/deskbar/BarWindow.cpp
	src/apps/deskbar/BarWindow.h
	src/apps/deskbar/DeskbarMenu.cpp
	src/apps/deskbar/DeskbarMenu.h
	src/apps/deskbar/DeskbarUtils.cpp
	src/apps/deskbar/DeskbarUtils.h
	src/apps/deskbar/ExpandoMenuBar.cpp
	src/apps/deskbar/ExpandoMenuBar.h
	src/apps/deskbar/TeamMenu.cpp
	src/apps/processcontroller/ProcessController.cpp
	src/apps/remotedesktop/RemoteDesktop.cpp
	src/bin/bash/config-top.h
	src/bin/finddir.c
	src/bin/package/Jamfile
	src/bin/package/command_add.cpp
	src/bin/package/command_create.cpp
	src/bin/package/command_list.cpp
	src/bin/package_repo/command_list.cpp
	src/bin/pkgman/command_refresh.cpp
	src/build/libbe/support/Jamfile
	src/build/libpackage/Jamfile
	src/build/libroot/Jamfile
	src/build/libroot/fs.cpp
	src/build/libroot/remapped_functions.h
	src/kits/locale/MutableLocaleRoster.cpp
	src/kits/opengl/GLRendererRoster.cpp
	src/kits/package/PackageInfo.cpp
	src/kits/package/PackageInfoSet.cpp
	src/kits/package/PackageRoster.cpp
	src/kits/package/PackageVersion.cpp
	src/kits/package/RepositoryCache.cpp
	src/kits/package/hpkg/PackageWriterImpl.cpp
	src/kits/package/hpkg/ReaderImplBase.cpp
	src/kits/package/hpkg/WriterImplBase.cpp
	src/kits/print/PrintTransport.cpp
	src/kits/print/Printer.cpp
	src/kits/screensaver/ScreenSaverRunner.cpp
	src/kits/support/StringList.cpp
	src/kits/tracker/ContainerWindow.cpp
	src/kits/tracker/DeskWindow.cpp
	src/kits/tracker/PoseView.cpp
	src/libs/print/libprint/Transport.cpp
	src/preferences/printers/AddPrinterDialog.cpp
	src/preferences/screensaver/ScreenSaverWindow.cpp
	src/servers/debug/DebugServer.cpp
	src/servers/input/AddOnManager.cpp
	src/servers/media_addon/MediaAddonServer.cpp
	src/system/boot/Jamfile
	src/system/boot/loader/Jamfile
	src/system/boot/loader/loader.cpp
	src/system/boot/loader/vfs.cpp
	src/system/kernel/fs/vfs.cpp
	src/system/kernel/fs/vfs_boot.cpp
	src/system/libroot/os/find_directory.cpp
	src/system/runtime_loader/runtime_loader.cpp
	src/tools/package/Jamfile
2013-05-05 15:03:26 +02:00
Ingo Weinhold
44f60330e1 SetupEnvironment: Remove BELIBRARIES
It is no longer needed with the current gcc 2 package.
2013-04-25 18:00:08 +02:00
Oliver Tappe
083234daa2 Drop legacy scripts 'cc' and 'c++'
* no longer put compiler wrappers onto image
* removed corresponding environment variables
2013-04-22 01:00:36 +02:00
Oliver Tappe
86b3c7a416 Drop symlink common/develop/tools/current
* drop the symlink itself (system development tools are now symlinked
  from /boot/common/bin directly)
* remove that symlink from PATH
2013-04-22 00:56:02 +02:00
Ingo Weinhold
26296b0aa4 Add the humble beginnings of the package daemon
It doesn't really do anything yet save for tracking what packagefs
volumes are mounted and unmounted.
2013-04-06 04:29:34 +02:00
Matt Madia
e4ba645c45 Changed the logic for launching FirstBootPrompt.
Always launch on read only medium.
Launch when the Locale settings file does not exist.

Fixes #9427.
2013-02-16 11:23:37 -05:00
Matt Madia
1fbd0a5319 Minor white space cleanup. No functional change. 2013-01-27 20:15:57 -05:00
Matt Madia
37fb247341 Renamed ReadOnlyBootPrompt to FirstBootPrompt.
The previous name is no longer applicable, as *BootPrompt is now launched on
the first boot of writable medium (e.g., USB thumb drive and hard drives).
Fixes part of #9399.

Notes:
 * BootPrompt.rdef may have lost its history.
 * The renaming was done with the following command:
   git mv src/apps/readonlybootprompt src/apps/firstbootprompt
2013-01-23 18:58:42 -05:00
Matt Madia
85004907bf Symlink Installer to the Desktop only on read-only medium.
Fixes part of #9399
2013-01-23 18:58:41 -05:00
Matt Madia
afc33db942 Launch ReadOnlyBootPrompt if $freshInstallIndicator exists.
That file will exist on every read-only media, first boot of writable images
(usb,vmdk), and (if installing directly to partition via the build system or a
mounted image file) hard disk.

The last scenario (of installing directly to hard disk through the build system
or mounted image file) may not be ideal, but it generally tends to be an
advanced installation method. Additionally, it will occur only on first boot.

Fixes #8945.
2013-01-20 18:03:31 -05:00
Alex Smith
602d9c96a5 Added some of the development optional packages.
This adds some of the development packages for x86_64. All of the
DevelopmentBase packages (gcc, make, jam, bison, flex, m4, mkdepend)
have been built and uploaded.
2012-08-16 20:32:29 +01:00
Alex Smith
5084d0d451 Added more things to x86_64 image.
Some preference apps, mount_server and AboutSystem. Removed the check
for x86_64 in the boot script, the normal path through the script will
work now. Also removed a temporary hack to workaround AboutSystem not
being there in build_haiku_image.
2012-08-10 09:32:54 +01:00
Alex Smith
e963289800 Added Tracker and Deskbar to x86_64 build. 2012-08-09 19:36:52 +01:00
Alex Smith
adf8818ec0 Compilation fixes for Terminal, add to image.
It runs, but has shown up various bugs: app_server crashes, kernel
panics, rendering problems. Working on fixing these now.
2012-08-05 10:24:22 +01:00
Alex Smith
50cedfd5b0 Build registrar for x86_64. 2012-08-02 10:45:42 +01:00
Alex Smith
666b46e2e3 Added libbe, ICU and consoled to the image.
The boot script now launches consoled instead if app_server does not
exist, so there is now an interactive Bash prompt! libbe requires ICU,
which is an optional package, so I've built the packages and they've
been uploaded to haiku-files.org (thanks umccullough).
2012-07-30 21:42:49 +01:00
Oliver Tappe
c4389ee8b2 Add setting of LC_* env-vars to SetupEnvironment.
* setting those environment variables in SetupEnvironment makes them
  available to applications started during system boot (like Deskbar
  and Tracker)
2012-02-23 23:15:37 +01:00
Ingo Weinhold
19ae20e67e Merge branch 'master' into pm-flat
Conflicts:
	build/jam/HaikuImage
	build/jam/OptionalBuildFeatures
	build/jam/OptionalPackages
	build/jam/UserBuildConfig.sample
	data/bin/installoptionalpackage
	src/apps/deskbar/DeskbarMenu.cpp
	src/servers/debug/DebugServer.cpp
	src/system/kernel/fs/vfs.cpp
2011-11-05 17:00:01 +01:00
François Revol
5e70d31cc7 Start the power_daemon now.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42936 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-28 22:21:07 +00:00
Ingo Weinhold
64b8c37680 Move post install files to system package 2011-07-17 16:54:46 +02:00
Oliver Tappe
3dfd9cb95c Flat commit of all changes from package-management branch in svn 2011-07-17 16:54:06 +02:00
Ryan Leavengood
b53489edc7 Add NTP synchronization to the Bootscript, correct comment on dstcheck.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41956 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-06-06 03:25:50 +00:00
Scott McCreary
940d7808e5 Added setting of LC_CTYPE to SetupEnviroment, this fixes #7412
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41385 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-08 18:26:51 +00:00
Adrien Destugues
8ac6b88687 Only shift if there are arguments left in the list. Previous fix invalidated by Axel and hint to the proper solution given by mksh developper.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38084 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-13 12:42:46 +00:00
Adrien Destugues
1401598fed Remove bogus shift : shifting an empty list of arguments is not allowed.
This allows to boot Haiku with mksh as /bin/sh.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38081 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-13 12:02:27 +00:00
François Revol
1ed801bbd7 Launch the notification_server at boot.
Add notification when mime sniffing files on first boot, at least it gives a visual indication of why so much cpu is consumed.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37700 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-22 20:18:35 +00:00
Stephan Aßmus
f02862eb03 Moved the installation of ProcessController, NetworkStatus and the volume
control icon into a new post_install script. Tested in QEMU and the items are
persistent also for the volume control.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36805 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-13 14:27:39 +00:00
Stephan Aßmus
d38da14cdf Install NetworkStatus and volume control into the Deskbar alongside the
ProcessController replicant.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36802 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-13 11:10:33 +00:00
Ingo Weinhold
e4a4fcc9fb Moved definitions of the USER and GROUP environmental variables from
SetupEnvironment to /etc/profile and use the "id" command. No need to set
SHELL, since the shell sets it anyway. Fixes #5966.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36788 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-11 14:55:23 +00:00
Axel Dörfler
51e29291d2 * We now create the /tmp directory if it does not exist yet.
* Also, we now empty it if it already exists.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35614 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-25 10:40:58 +00:00
Axel Dörfler
04761ff76d * Updated the "tmp" directory location that the Installer creates on finish,
good catch, Matt!
* This closes at least a part of ticket #4844.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35502 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-16 22:19:37 +00:00
Michael Lotz
7f8ffb252f Also add /boot/common/add-ons to ADDON_PATH. I don't know why this wasn't done
in r23974, but seeing that it was added to the runtime_loader default paths as
well I take it this was an oversight.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35427 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-07 18:47:37 +00:00
Stephan Aßmus
b14896ee8d It Just Works(TM). Replaced the CD boot alert with ReadOnlyBootPrompt.
One just has to love the write overlay. That one really saved a lot
of work.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35224 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-21 15:14:20 +00:00
Axel Dörfler
29ddbdbb53 * Moved the "var" directory to /boot/common/.
* Moved the "tmp" directory out of /var, and to /boot/common/cache/.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35104 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-16 17:17:07 +00:00
Stephan Aßmus
c1b274fd67 * Removed auto mounter code from Tracker.
* Tracker forwards auto mounter related messages to the mount_server.
* Rewrote AutoMounterSettings to not know AutoMounter and use
  the layout-management.
* Moved the "Eject When Unmounting" setting into the Mount Settings.
* Launch the mount_server during boot, but delay the script until all
  previously mounted volumes have been mounted. This solves some annoying
  timing bugs during boot. For example when you have desktop backgrounds
  on other volumes and some servers don't deal well with the situation
  of links to add-ons on other volumes becoming valid with a delay...
* src/kits/tracker/Commands.h includes the private headers/private/
  mount/MountServer.h header, which made adjustments to the DiskUsage
  Jamfile necessary.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33555 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-12 14:52:17 +00:00
Oliver Tappe
75f1522155 * reintegrated gsoc-locale-kit branch into trunk - there's more
work to do, but it's about time to give this code more exposure.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33176 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-18 22:23:34 +00:00
Stephan Aßmus
bf81407606 * Removed Installer back into Deskbar menu by popular request.
* Changed the Bootscript and the InstallerFinishScript to only create and
  cleanup a link on the Desktop.
* Applied patch by idefix to fix removing the Installer link from volumes
  that contain spaces in the name. (Thanks!)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32995 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-08 09:58:51 +00:00
Axel Dörfler
49473fc52e * Added links to the Installer on the Desktop, and the Deskbar's Applications
list when booting from CD. Both are removed from the target in the
  InstallerFinishScript. This closes ticket #4342.
* Make Installer start in safemode as well.
* Are there any objections to always have the Installer link in the Deskbar?
  I see no real reason to leave it out.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32686 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-26 08:58:26 +00:00
Ryan Leavengood
b6b0567fbd - Change Autostart directory name to launch.
- Move the launching of files in this directory from the Bootscript to the
UserBootscript.
- This means we now ship a working UserBootscript instead of just a sample.
- Updated documentation based on this change and Humdinger's suggestions.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32544 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-20 19:21:18 +00:00
Ryan Leavengood
176b361595 Add an Autostart directory as an easy way to start applications at boot up.
The dead simple Bash code was just copied from Humdinger's patch on #1202. He
also suggested having a link on the Deskbar for this folder, but I don't know
if that is needed. We just need to document it, which I may do next.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32527 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-19 21:26:36 +00:00
Axel Dörfler
6bfb1e8b2a * Removed the fake_app_server from the build, and launch the usual system
in safe mode.
* Removed the Terminal from the Bootscript.
* Ordered the servers alphabetically in HaikuImage.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32379 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-14 17:55:28 +00:00