Commit Graph

297 Commits

Author SHA1 Message Date
Jérôme Duval
b797f706f3 added via driver and accelerant to the image
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22218 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-10 19:33:32 +00:00
Ingo Weinhold
96b421b83d Added support for "optional packages". Those can be defined in
HaikuImage and enabled individually using the
AddOptionalHaikuImagePackages rule or all at once by setting
HAIKU_ADD_ALL_OPTIONAL_PACKAGES. In principle an optional package can
be any kind of addition to the Haiku image, but usually a zip file will
be downloaded from somewhere and unzipped onto the image. I've added a
WonderBrush package as an example.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22184 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-05 18:36:17 +00:00
Ingo Weinhold
16df02e515 New DownloadFile rule, downloading a file using wget.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22181 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-05 03:08:38 +00:00
Ingo Weinhold
0d469404ed Added support for unzipping archives onto the Haiku image. The new rule
to do that is UnzipArchiveToHaikuImage. Cf. UserBuildConfig.sample for
a usage example.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22173 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-04 21:50:00 +00:00
Jérôme Duval
a44ef21361 added fwcontrol, fw_raw and firewire. This could break someone's build :)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22157 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-03 18:44:57 +00:00
Ingo Weinhold
c0d613f845 Obsolete variable was still checked, which led to source directories
being copied onto the image even when updating only and alwaysUpdate
unspecified.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22118 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-08-30 01:03:36 +00:00
Jérôme Duval
0ec9f6f4a0 added dpc to the image
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22112 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-08-29 19:36:43 +00:00
Axel Dörfler
def5fadafc Added Mail's spell checker files to the image, thus closing bug #1221.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22111 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-08-29 19:31:32 +00:00
Axel Dörfler
d578543aa6 * Added a first game to the image: Sudoku. It comes with a solver and generator
for three different levels (from "Very Easy" to "Hard"). Have fun!
* Feel free to do a nicer icon!
* Stack.h is actually verbatim copy of a kernel header which we might want
  to move to a more public place (like shared).
* ProgressWindow is taken from ShowImage, but adapted to suit different
  needs.
* It seems to trigger a bug in the interface kit or app_server: when moving
  the mouse around, the right border of a field is sometimes lost. This
  does not happen in BeOS, and there is actually no code that looks responsible
  for this - it might be an off by one error in the region code, though?


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22056 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-08-25 17:39:46 +00:00
Ingo Weinhold
61ca8e04bb * Added a common directory for missing system on BeOS systems.
* Added the old fella <stdint.h>.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22050 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-08-24 21:05:20 +00:00
Axel Dörfler
8be13cd585 * SCSI SIM module driver shell for the AHCI driver for Marcus.
It is loaded on boot, and the SCSI bus manager tries to scan its bus which
  of course fails at the moment. Hope that helps :-)
* Moved the driver to its new location; it's a SCSI bus controller, so it
  should be placed in busses/scsi.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22048 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-08-23 23:29:08 +00:00
Ingo Weinhold
0385b0657b Patch by Samuel Rodriguez Perez, slightly modified by myself: New
configure flag "--use-32bit" enabling 32 bit builds with a 64 bit host
compiler.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22046 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-08-22 22:07:03 +00:00
Axel Dörfler
3460c2c4eb * Fixes to let the device manager try to use the driver:
- module name didn't have the "/device_v1" suffix (which is used to
    differentiate device modules, as they can be everywhere in the path).
  - ahci_get_supported_paths() now tells the device manager that it
    exports a PCI disk device.
* Moved ahci out of the "scsi" sub-directory.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22041 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-08-22 18:44:38 +00:00
Marcus Overhagen
1bb5a6b3d3 driver interface for ahci
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22033 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-08-21 20:11:32 +00:00
Axel Dörfler
9b60051929 Added the Network preferences application in its early state to the image; it's
already a helpful addition.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22028 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-08-21 17:47:53 +00:00
Axel Dörfler
9d6482b1fd The vlance driver is apparently broken, and call acquire_sem() from an interrupt routine.
Therefore, I've removed it from the image for now.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21991 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-08-16 21:37:33 +00:00
Marcus Overhagen
f6ed9e7b0a remove ide/ahci and put reuseable stuff into scsi/ahci
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21968 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-08-15 21:19:06 +00:00
Ithamar R. Adema
957200056f Fixes for legacy_sata driver. It now:
* boots Haiku successfully on 2 different test boxes here
	* no longer screws up when trying to write to PCI config space :)
	* Supports nVidia nForce chipsets
TODO:
	* Make 4 channel SATA controllers work (currently only recognizes first 2)
	* SATA PHY initialisation (needed for some BIOSes who might not do it)

Feel free to test this, and assign any problems with this driver to me.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21949 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-08-14 17:12:08 +00:00
Ingo Weinhold
063ebe49ae Added the headers/os dir to FStandardOSHeaders and FStandardHeaders.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21948 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-08-14 15:23:52 +00:00
Ingo Weinhold
8535c47c30 PublicHeaders always added the header/os directory too. Let's see, what
removing it will break...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21946 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-08-14 15:12:04 +00:00
Ingo Weinhold
7e8ac2903b * Prefixed the variables NETWORK_LIBS, NETAPI_LIB, and
SELECT_UNAME_ETC_LIB with TARGET_ and introduced HAIKU_* and HOST_*
  counterparts.
* Use HOST_NETWORK_LIBS for building remote_disk_server.
* Also got rid of {R5,BONE,DANO,HAIKU}_COMPATIBLE.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21912 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-08-12 22:15:10 +00:00
Ingo Weinhold
5378efc0db New rule UsePrivateKernelHeaders. It adds header/private/kernel as well
as all directories that might be needed by private kernel headers (arch,
platform,... headers).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21872 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-08-09 19:42:21 +00:00
Ingo Weinhold
c100c71354 Remove mpu401 driver from the netboot archive.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21871 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-08-09 19:40:19 +00:00
Ingo Weinhold
90aa265896 Made the compatibility level for target libbe_test depend on the compatibility
of the host platform. The libtracker Jamfile seems to be the only one that
needs another exception.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21827 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-08-05 01:13:27 +00:00
Ingo Weinhold
da0f9ae040 Added Haiku as host platform supported by the build system ("haiku_host").
Completely untested yet.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21802 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-08-02 21:13:56 +00:00
Jérôme Duval
d96381dd5d reverted r21757 which is now fixed by the following
added $(HAIKU_GCC_LIBGCC) to HAIKU_KERNEL_ADDON_END_GLUE_CODE as suggested by Ingo


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21795 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-08-02 17:50:17 +00:00
Ingo Weinhold
80b44527b1 Added bison to the image.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21786 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-08-02 12:29:02 +00:00
Axel Dörfler
7fe764cce5 bonefish: Fixed bug #1346. The relative output directory for the root directory was
computed as '.' which resulted in output path ending with '/.', causing mkdir to choke.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21778 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-07-31 22:37:21 +00:00
Michael Pfeiffer
2535e771cf Renamed printer spool folder to 'Save as PDF'.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21769 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-07-31 16:36:28 +00:00
Ingo Weinhold
81bb654dfb Made the ResComp and ResAttr actions spaces-in-file-names-proof.
AddDirectoryToHaikuImage with attributes does also work for directory
names with spaces now.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21761 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-07-31 01:54:24 +00:00
Jérôme Duval
3c25084c0e only add libglut.so on x86
added keymap symlinks Finnish, Brazilian, Croatian
Keymap preferences app wasn't able to load symlinked keymaps


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21756 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-07-30 18:43:32 +00:00
Michael Pfeiffer
f00954fc65 Added "default" printers to image (Preview and Save as PDF). Thank you
Ingo, for providing the necessary build infrastructure!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21727 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-07-28 07:17:23 +00:00
Ingo Weinhold
1ca065fa88 * Added second parameter to AddDirectoryToHaikuImage, a list of resource
(or rdef) files which will be converted to attributes and added to the
  installed directory. Adjusted build_haiku_image script accordingly.
* Added directory data/image_directories, which is where the resource
  files for the directories attributes shall be stored. As naming
  convention I suggest using the target directory path with slashes
  replaced by hyphens, e.g. home-config-bin.rdef for home/config/bin.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21711 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-07-26 23:20:58 +00:00
Ingo Weinhold
3ddb7b1df4 * ResComp can now deal with multiple input files at once.
* Added ResAttr rule, which converts resource (or rdef) files to a
  file with attributes.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21708 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-07-26 23:08:05 +00:00
Axel Dörfler
fe452e51f0 Fixed update-image and update-install which were broken after the NetBootArchive changes, courtesy Ingo.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21640 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-07-17 23:37:40 +00:00
Ingo Weinhold
5f4b58a4d1 * Removed stuff not strictly necessary for the net boot (ps2 bus
manager, some drivers).
* Commented out nbd for the time being and added remote_disk.
* Consequent use of boot links.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21604 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-07-15 00:15:54 +00:00
Ingo Weinhold
1485d7a2d7 Added small tool source_to_data, which takes an arbitrary data file and
generates a C source file defining an array variable containing the file's
data. DataFileToSourceFile is the respective jam rule.

The idea is to directly built the boot archive into the boot loader for
network booting (and thus avoiding to download it from somewhere). In
case of PXE this doesn't work, though, due to restrictions to the size
of the NBP. Maybe Open Firmware is less restrictive.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21602 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-07-15 00:04:27 +00:00
Jérôme Duval
4eab749193 added CodyCam to the menu
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21600 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-07-14 11:41:09 +00:00
François Revol
1118b1e30c Add CodyCam to the image
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21599 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-07-14 09:37:58 +00:00
Ingo Weinhold
b39c8d3711 * Refactored the image creation rules. There are now generalized rules that
work on arbitrary "containers". The image rules are just
  specializations.
* Added rules, a definition file (build/jam/NetBootArchive), and a shell
  script for creating a gzipped tar archive containing kernel and modules
  required for network booting (the contents may need some fine-tuning).
  ATM it can be built via the haiku-netboot-archive pseudo target. It is
  generated in the output directory (e.g. "generated").


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21591 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-07-11 01:04:35 +00:00
Axel Dörfler
c913d07f6d Added default "services" configuration that enables telnetd for now.
To log in, user is "baron" (if you haven't overridden the $USER environment variable),
and the password is empty (ie. just press return).
Note, the password is currently hardcoded into src/system/libroot/posix/pwd.c.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21561 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-07-04 22:26:42 +00:00
Axel Dörfler
1b446a1118 Added "login" to the image.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21549 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-07-04 16:34:43 +00:00
Ingo Weinhold
a970df44af * Include HaikuImage after the Jamfiles, so they can provide/adjust info
relevant for the image creation.
* The CopySetHaikuRevision propagates the value of the
  HAIKU_INCLUDE_IN_IMAGE variable from the source to the target.
* Propagate the value of HAIKU_INCLUDE_IN_IMAGE from "kernel" to
  "kernel_$(TARGET_ARCH)".

Now "jam update-install kernel" should work as expected.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21527 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-29 19:28:11 +00:00
Axel Dörfler
210cbb4bd1 * Removed the old LICENSE files of the previous S3 Savage driver as suggested by
Gerald.
* Added Gerald Zajac and Jan Kloetzke to the list of contributors.
* Added the s3savage driver and accelerant to the image.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21478 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-21 10:14:11 +00:00
Ingo Weinhold
f18b0dff8b * Use named parameters.
* Use Object{Cc,C++}Flags instead of setting {CC,C++}FLAGS on the
  objects directly.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21438 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-17 15:14:46 +00:00
Travis Geiselbrecht
4a9059fb38 some make system work to get x86-64 linux compiles working:
-The biggest problem with linking host libraries (libbe_build and libroot_build) was not having the source files compiled with the -fPIC flag. As far as I can tell, we want to do this on all of the other host platforms as well, so hacked the jam files a bit to add it. 
Forgive me if I've committed more Jamfile sins.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21423 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-16 19:43:53 +00:00
Philippe Houdoin
69e18975b2 Add libglut.so -> libGL.so symlink to haiku image build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21415 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-15 06:32:48 +00:00
Ryan Leavengood
2660d61ad6 As I said I would:
1. Deleted headers/shared/
2. Added a Jamfile to src/shared to build it into a static library libshared.a.
3. Removed my changes in the build/jam directory.
4. Have ShowImage include libshared.a.

I forgot to add AboutWindow.h to headers/private/shared. I will do that next.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21402 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-13 02:35:29 +00:00
Ryan Leavengood
5a1210fbef Moved the BAboutWindow implementation to the shared source directory, which
despite being talked about repeatedly, does not currently exist.

Adding this required adding some new Jam rules to deal with this shared source
directory and headers. I had some fun figuring this out. Despite writing
articles about Jam in the Haiku newsletter a few years ago I still find Jam to
be a PITA at times.

But my solution seems to work pretty well. Basically you just call the rule
UseSharedSource and pass the name of the shared source file you want to use.
This rule sets up the header directories and the right Jam variables for the
source file. You then add the source file to the source list in the Application
rule like any other source file.

I also made the authors list sent to the about window constructor null
terminated instead of passing the size of the array, as suggested by Hugo.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21391 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-12 03:54:07 +00:00
Stephan Aßmus
943ef65ef4 * cleanup in the Leaf menu: Applications is no longer a link to
/boot/beos/apps, but a folder containing links to _selected_
  apps in that folder
* a new entry "Desktop Applets" has been added, which contains
  all the apps that you either do or do not start at system boot,
  but don't need frequent access to
* some apps have been hidden:
  - ShowImage and Expander are usually not
    directly started on their own, but through double clicking documents
  - AboutSystem is invoked elsewhere from the Leaf menu, so it doesn't need
    to clutter the Applications menu
* we almost introduced a third category for rarely used apps, but in the
  end it would only have contained Installer, Icon-O-Matic and Diskprobe,
  and we felt that it is ok to leave these in the Applications menu, as long
  as their number is small


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21374 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-09 12:07:55 +00:00