Commit Graph

298 Commits

Author SHA1 Message Date
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
Stephan Aßmus
7d6047f97c * moved Pulse from Apps to Demos
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21325 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-05 09:50:21 +00:00
Axel Dörfler
96bde26d12 Added the cdda file system to the image; note: you still have to mount the disks
manually because of some not-yet-fixed deficiencies in the disk device manager.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21205 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-22 13:21:58 +00:00
Ingo Weinhold
7661e44405 Renamed AboutHaiku to AboutSystem.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21179 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-20 17:53:22 +00:00
Ingo Weinhold
a66c32dde5 Introduced new configure option --distro-compatibility to specify the
compatibility relation to the official Haiku distribution. "official"
is for the official Haiku distribution itself, "compatible" for Haiku
Compatible (tm) distros, and "default" for all others (the default value
for the option). The build system variable HAIKU_DISTRO_COMPATIBILITY is
defined accordingly, and one of the
HAIKU_DISTRO_COMPATIBILITY_{OFFICIAL,COMPATIBLE,DEFAULT} macros is
defined for source code and rdefs.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21177 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-20 17:50:11 +00:00
Ingo Weinhold
bdf8a2e1e7 Added Haiku revision number to the kernel (same mechanism as used for
libroot). It's available in the kernel through the private
get_haiku_revision() and added to the kernel syslog output.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21173 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-19 15:36:32 +00:00
Ingo Weinhold
c033041c9f Using a temporary file doesn't seem to work very well in this case.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21169 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-18 17:27:17 +00:00
Ingo Weinhold
31ef846e36 Missed the usual compatibility context.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21168 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-18 17:00:18 +00:00
Ingo Weinhold
b696213351 Added rule AddFileDataAttribute to add an attribute to a file. The
attribute value is read from another file.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21166 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-18 16:50:47 +00:00
Ingo Weinhold
6dcd0ccf23 Patch by Morgan Howe (slightly modified): Several changes to support
building on Mac OS X (Darwin). A problem with makebootable remains.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21165 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-18 15:59:04 +00:00
François Revol
74a5ba5b30 Add nbd and setdecor to the image.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21148 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-15 17:58:12 +00:00
Ithamar R. Adema
8528239c6e * Add hda audio driver to image for public testing
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21132 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-13 20:24:38 +00:00
Ingo Weinhold
13246f99ab Apparently _GNU_SOURCE doesn't imply 64 bit off_t on all glibc
platforms. Funny that it still isn't the default, anyway.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21083 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-09 09:48:35 +00:00
Jérôme Duval
1667315c1f avoids building libGL.so for ppc
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21023 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-04 18:31:33 +00:00
Ingo Weinhold
1ba4119dda Get more features on glibc host platforms, among those ISO C 99
definitions (like LLONG_{MIN,MAX}).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21012 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-04 09:55:31 +00:00
Axel Dörfler
a5667a5b8b * Renamed nv.driver to "nvidia", nm.driver to "neomagic", and mga.driver to "matrox";
also renamed their accelerants and settings files accordingly.
* Added Mandelbrot and GLDirectMode as demo applications.
* Moved CortexAddOnHost to /bin.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21010 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-04 07:49:53 +00:00
Ingo Weinhold
991a7f3309 Create the Haiku image using the new FS shell. Successfully tested on
BeOS R5 and x86 Linux so far.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20975 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-02 14:12:04 +00:00
Jérôme Duval
70d85a2465 added an empty input methods system directory, to be able to add the canna IM
in fact, the directory is only monitored when existing


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20957 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-01 18:58:22 +00:00
Jérôme Duval
fa1d29d138 added mail_daemon addons
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20953 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-01 17:30:29 +00:00
Ingo Weinhold
4ce381e26c Fixed "jam run" feature for older shells.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20925 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-30 16:55:27 +00:00