Commit Graph

2109 Commits

Author SHA1 Message Date
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 3fed1a15f5 Get app_server working on x86_64.
With this commit, app_server now compiles and runs at boot! Nothing
particularly interesting happens, just the blue background and a mouse
pointer. Remote backends are broken and not compiled in, see #8834.
Note that it won't be possible to build this quite yet, need to get
the FreeType package uploaded.
2012-08-05 08:46:30 +01:00
Alex Smith 92f09f1aeb Added AHCI driver to image. 2012-08-04 10:14:22 +01:00
Alex Smith a9ee7a5132 Added new BIOS module for calling BIOS interrupts.
This module provides an interface for drivers to use to perform calls
to the BIOS (only really for use by graphics drivers which need to use
the VESA BIOS). It uses the x86emu library from X.org which emulates
a real mode x86 CPU. This is necessary for x86_64 as virtual 8086 mode
no longer exists there.
2012-08-03 15:42:30 +01:00
Alex Smith 50cedfd5b0 Build registrar for x86_64. 2012-08-02 10:45:42 +01:00
Alex Smith 8110732b03 Added some more binaries to the image. 2012-08-01 11:00:35 +01:00
Alexander von Gluck IV 66f16cca0a JamFile: Remove SerialConnect from HaikuImage
* It's not ready *just* yet.
* Accidently added in hrev44447
2012-07-31 12:14:41 -05:00
Alexander von Gluck IV f8af317470 radeon_hd: Final round of header cleanup
* This puts the registers in a better state and ensures
  all model dependant defines are prefixed with card series
* Consolidate evergreen defines into single header
2012-07-31 12:10:51 -05:00
Alex Smith d4ec857af3 Merge branch 'master' into x86_64 2012-07-31 12:10:24 +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
Alex Smith ef67788fba Ported ISA bus manager and PS/2 driver. 2012-07-30 14:37:28 +01:00
Matt Madia caf06f6e06 Added 'device' to the library name map. Fixes #8800 per korli. 2012-07-30 09:28:54 +00:00
Alex Smith 5568c5055c Added coreutils to the x86_64 image. 2012-07-30 08:59:19 +01:00
Alex Smith e27109c167 Merge branch 'master' into x86_64 2012-07-30 08:24:31 +01:00
Alex Smith e715eca04c Worked around broken GCC 2 on OS X hosts.
GCC 2 built for OS X 10.7/10.8 was broken, the Haiku build would fail
with some strange errors. Forcing compilation of GCC 2 in 32-bit mode
results in a working GCC.
2012-07-29 21:03:14 +01:00
Alex Smith 12b3e8a8a0 Support x86_64 in the runtime loader.
* Added x86_64 linker script and relocation code.
* Some 64-bit safety fixes to the heap code.
* Added runtime_loader, libroot and bash to the x86_64 image. The boot
  script will be launched, but will panic shortly after because fork
  is broken.
2012-07-28 17:00:52 +01:00
Alex Smith 0efc5e72dc Merge branch 'master' into x86_64 2012-07-28 16:29:41 +01:00
Scott McCreary dc321a67d6 Fixed pair of typos in hgrep script. 2012-07-23 22:23:41 +00:00
Scott McCreary 2c1dcd1fee Added hgrep and lgrep as OptionalPackages, this fixes #3376. 2012-07-23 21:52:41 +00:00
Adrien Destugues - PulkoMandy fc3f40765a Merge branch 'master' of ssh://git.haiku-os.org/haiku 2012-07-23 21:32:24 +02:00
Alex Smith 700c8d3078 Support building images for x86_64.
Added a temporary Haiku64Image file that gets included instead of
HaikuImage when building for x86_64, which I will add to as I port
stuff. Images currently only include the boot loader, kernel and
a bunch of add-ons.
2012-07-22 11:36:50 +01:00
Alex Smith 1c24ebaa5f 64-bit compilation fixes for BFS, add to x86_64 boot image. 2012-07-22 10:42:35 +01:00
Alex Smith 5f6b522746 Merge branch 'master' into x86_64 2012-07-21 14:17:22 +01:00
Alex Smith 4451c47c64 Compile generic_x86 CPU module for x86_64. 2012-07-21 08:32:07 +01:00
Rene Gollent 667fd4d0ea Update webkit package with one additional bugfix. 2012-07-20 23:01:23 -04:00
Rene Gollent fd2ea9d893 Fix #8737.
- Updated haikuwebkit package with fixes for context menus and file downloads
  from aldeck's github repository.
2012-07-20 22:41:54 -04:00
Alex Smith 82694bd124 Merge branch 'master' into x86_64
Conflicts:
	headers/posix/arch/x86_64/arch_setjmp.h
	src/system/kernel/cache/block_cache.cpp
2012-07-20 18:33:46 +01:00
Alex Smith a9fdaec18a Added disk drivers and CD file system modules to the boot image for x86_64.
This adds disk drivers, intel/session partitioning systems, and ISO9660
(+ write/attribute_overlay) modules to the CD/floppy boot image targets
for x86_64. The kernel now detects and mounts the boot CD, and runs up
to attempting to start the boot script.
2012-07-20 17:55:26 +01:00
Alex Smith 12bd7812dd Ported PCI module to x86_64.
Uses the x86 architecture code, made fixes to printf formats and a
couple of 64-bit fixes. Only potentially intrusive change is that I've
changed PCI.h to use uint32 rather than ulong. I don't see any way
this would cause any issues, though.
2012-07-20 12:00:20 +01:00
Rene Gollent 0b4ae86086 Fix #8751 and possibly also #7198.
- The cdrecord port was using the wrong path for searching for SCSI
  devices. This led to it failing to find SATA CD drives. Updated
  package by Chris Roberts.
2012-07-19 20:58:57 -04:00
Adrien Destugues - PulkoMandy f01f7fec8f Merge branch 'master' of ssh://git.haiku-os.org/haiku 2012-07-19 21:01:31 +02:00
Alex Smith 385d69fc01 Made it possible to build kernel modules for x86_64.
Added the necessary build flags for modules, and added a module (dpc)
to the floppy image for x86_64 builds for testing purposes. The module
gets loaded correctly and its code runs without issue. Only non-trivial
addition is the different method for generating kernel.so, this is
explained in the kernel Jamfile.
2012-07-19 17:53:46 +01:00
Scott McCreary af2f75a016 Updated cmake to 2.8.5 2012-07-18 23:38:53 +00:00
Scott McCreary 0783fe388d Updated build for LibXML2 2012-07-18 23:37:00 +00:00
Scott McCreary 95c8d9513a Updated build for XZ-Utils 2012-07-18 23:33:36 +00:00
Scott McCreary 1820d4fd15 Added XZ-Utils as a dependency for LibXML2 2012-07-18 23:32:47 +00:00
Alex Smith 368f253347 Merge branch 'master' into x86_64 2012-07-14 08:49:14 +01:00
Adrien Destugues - PulkoMandy ab3e5e110a Merge branch 'master' of ssh://git.haiku-os.org/haiku 2012-07-13 20:54:01 +02:00
Matt Madia 792c13dbf9 Added WebPositive to nightly-* build profiles. 2012-07-12 20:53:20 +00:00
Matt Madia 29c5696ed7 Changes relating to building WebPositive from source.
* Add WebKit optional package.
 * Make WebKit a dependency of WebPositive
 * Enable building of WebPositive from source.

Note: WebKit currently expands to lib/.  Alternative gcc-subdirectories
are not taken into consideration. Though it is trivial to change.
2012-07-12 19:45:32 +00:00
Matt Madia dada4f4116 OptionalBuildFeatures changes for building WebPositive.
* Detect hybrid builds.
 * Only enable WebKit build feature when WebPositive is added
 * Provide a more accurate message for gcc2hybrids.
2012-07-12 19:45:30 +00:00
Alex Smith 98614a9658 Merge branch 'master' into x86_64 2012-07-12 11:33:39 +01:00
Alexandre Deckner 41a212d241 Update haiku-webkit build package. Use new version info 2012-07-11 22:43:22 +02:00
Alex Smith fc644104ac Merge branch 'master' into x86_64 2012-07-11 12:24:47 +01:00
Alex Smith 0962132cc6 Fixed Mac OS X 10.7 as a build platform (for GCC 4).
* Use gcc and g++ rather than cc and c++, as the latter now point to
  clang with recent Xcode versions and compilation of the host tools
  fail for various reasons with it.
* Replace the case-sensitive filesystem check with a more basic one,
  as diskutil no longer supports the behaviour of getting info for the
  volume that any path is on.
* Updated ReadMe with a correct list of prerequisites for OS X.
* GCC 2 builds are still broken due to a strange error that only
  occurs with a GCC 2 built on OS X 10.7
2012-07-10 19:33:39 +01:00
Matt Madia 7101dd4b29 Whitespace cleanup. No functional change. 2012-07-08 20:12:07 +00:00
Matt Madia fbd52296f3 Consolidate baseURL variables. No functional change. 2012-07-08 20:07:24 +00:00
Adrien Destugues - PulkoMandy e914c544a7 Merge branch 'master' of ssh://git.haiku-os.org/haiku 2012-07-08 15:07:25 +02:00
Alex Smith 7444a55ce5 Merge branch 'master' into x86_64 2012-07-06 15:55:59 +01:00
Alex Smith 898b29e362 Added temporary stack trace function to x86_64.
Will be merged with the x86 one later on. Requires -fno-omit-frame-pointer on
the kernel build flags, GCC defaults to not generating stack frames on x86_64.
2012-07-05 15:35:43 +01:00
Matt Madia eb97152649 Updated CARootCertificates. 2012-07-04 20:37:22 -04:00
Alexandre Deckner 8ae2b062a6 Fix control flow, stop if gcc < 4. Change package URL 2012-07-04 01:49:32 +02:00
Alexandre Deckner 69914905f5 Remove left-over echo 2012-07-04 01:21:57 +02:00
Alexandre Deckner 36aac7c55f Fix typo 2012-07-04 01:15:26 +02:00
Alexandre Deckner c4ba387bf8 Adapt WebPositive build to make use of a webkit optional build package 2012-07-04 00:58:25 +02:00
Pawel Dziepak b2cea80ce5 nfs4: Add id mapper 2012-07-03 21:52:57 +02:00
Alex Smith da80a0500c Preparation for merge of x86 and x86_64 kernel sources.
Since x86 and x86_64 share a lot of common code, x86_64 kernel sources/headers
are going to reside under headers/private/kernel/arch/x86 and
src/system/kernel/arch/x86 along with the existing x86 code. This commit
changes the build system to handle this. A new variable, TARGET_KERNEL_ARCH,
has been added. This is the name of the kernel/boot architecture directory
name, set to x86 on both x86 and x86_64. This is now used in all places where
TARGET_ARCH was used to get to kernel arch sources/headers (I've changed
everything necessary as far as I can tell). Kernel won't build for x86_64
at the moment as the sources have not been merged, loader does.
2012-07-02 14:07:49 +01:00
Alex Smith 120585d549 Merge branch 'master' into x86_64 2012-07-02 09:39:42 +01:00
Michael Lotz c95456a699 Add qrencode kernel debugger add-on to the image. 2012-07-01 06:37:28 +02:00
Pawel Dziepak 21769ef603 Add dns_resolver module
dns_resolver module provides a means for all kernel mode code to resolve
DNS hostnames.
2012-06-29 02:14:54 +02:00
Pawel Dziepak 8fe02d0c04 nfs4: Initial commit
Empty file system with only mounting supported.
2012-06-29 02:14:05 +02:00
Alex Smith 575a67c7a1 Merge branch 'master' into x86_64 2012-06-27 11:28:28 +01:00
Jérôme Duval 342e3b2c1b Updated optional package for Freetype ppc.
* Fix the PPC build.
2012-06-27 00:07:10 +02:00
Rene Gollent d6f3ff4030 Another build fix.
Incorrect URLs for SSL optional packages.
2012-06-25 19:31:40 -04:00
Rene Gollent 234eed6b0d Fix build.
gcc2 freetype package's name was wrong, and the uploaded package was in the wrong subdir.
2012-06-25 18:38:25 -04:00
Scott McCreary 14fc8a0138 Corrected build dates for gcc2 builds of sdl-sound and sdl-net 2012-06-25 21:12:37 +00:00
Scott McCreary a420070ece Updated gcc2 packages for sdl and related libraries. 2012-06-25 21:12:30 +00:00
Scott McCreary 1ed63ff99d Updated filename for taglib 2012-06-25 21:12:23 +00:00
Scott McCreary 4daad1e105 Fixed url dates for gcc4 packages for bzr and cvs.
Updated taglib gcc4 package name to match typo from alpha3 release.
2012-06-25 21:12:17 +00:00
Scott McCreary 6ccbb9012f Fixed urls for a few gcc2 OptionalPacakges.
Changing talib back to 1.6.3 as 1.7.2 is failing to build with gcc4.
2012-06-25 21:12:10 +00:00
Scott McCreary 893996e358 Updated gcc2 packages for p7zip, mercurial, expat, cvs,
curl, bzr, apr, and apr-util
2012-06-25 21:12:03 +00:00
Scott McCreary cc41587c17 Updated optionalpackages for apr, apr-util, curl,subversion, git, mercurial, openssh, sqlite,
cdrtools, man, p7zip, tar, libxml2, and yasm.
2012-06-25 21:11:56 +00:00
Scott McCreary d1556a0e0f Updated optional packages for curl, freetype, libxml2, mercurial,
openssl, p7zip, sqlite and tar.
2012-06-25 21:11:49 +00:00
Alex Smith 6f6d78e877 Cleaned up ELF64 address handling.
* platform_allocate_elf_region() is removed, it is implemented in platform-
  independent code now (ELF*Class::AllocateRegion). For ELF64 it is now
  assumed that 64-bit addresses are mapped in the loader's 32-bit address space
  as (address - KERNEL_BASE_64BIT + KERNEL_BASE).
* mapped_delta field from preloaded_*_image removed, now handled compile-time
  using the ELF*Class::Map method.
* Also link the kernel with -z max-page-size=0x1000, removes the need for
  2MB alignment on the data segment (not going to map the kernel with large
  pages for the time being).
2012-06-25 13:00:50 +01:00
Alex Smith 1651dd72d9 Merge branch 'master' into x86_64 2012-06-21 19:48:43 +01:00
Matt Madia 55713eef96 Updated URL's for WifiFirmwareScriptData. Fixes #8645. 2012-06-20 22:11:33 -04:00
Alex Smith cfd1c1802f Add -march=pentium to boot {CC,C++}FLAGS on x86_64, prevents GCC from generating SSE code. 2012-06-19 21:54:40 +01:00
Alex Smith 7c488bff70 Modified the floppy boot image target so that it can be used to build an x86_64 boot image.
* set_haiku_revision doesn't currently support ELF64, don't use a
  revisioned kernel image on x86_64 for now.
* Don't try to build add-ons for x86_64 yet.
2012-06-19 21:36:13 +01:00
Adrien Destugues - PulkoMandy 7d395500ef Merge branch 'master' of ssh://git.haiku-os.org/haiku 2012-06-18 20:47:41 +02:00
Alex Smith 8c0e3c951a Add -mno-red-zone to the kernel CCFLAGS/C++FLAGS.
The red zone is a 128-byte area below the stack pointer specified by the
AMD64 ABI that can be used by leaf functions for their stack frame without
modifying the stack pointer. It is guaranteed not to be modified by signal
handlers. This cannot be used in kernel mode code, as an interrupt handler
could overwrite it, so stop GCC from generating code that uses it.
2012-06-15 20:05:25 +01:00
Alex Smith ced5037133 Merge branch 'master' into x86_64 2012-06-13 17:47:34 +01:00
Matt Madia a2a39af76f Adjusted size of @alpha-* 2012-06-11 22:26:30 -04:00
Matt Madia deb33d666a Disabled stripping of debug information from optional packages.
Fixes #8603
http://www.freelists.org/post/haiku-commits/r41812-in-haikutrunkbuild-jam-scripts,2
2012-06-11 19:14:27 -04:00
Alex Smith 07b33113a3 Merge branch 'master' into x86_64 2012-06-11 12:01:35 +01:00
Adrien Destugues - PulkoMandy 4c08828e0b Merge branch 'master' of ssh://git.haiku-os.org/haiku 2012-06-09 13:50:34 +02:00
Adrien Destugues - PulkoMandy 558e33f79f Add MikMod to libs available at build time.
Going to use it for a media decoder, and there is no way to do that outside of Haiku
sourcetree so far...
2012-06-09 13:49:22 +02:00
Alexander von Gluck IV b18a4c6073 mesa: Update Mesa optional package to latest mainline mesa 2012-06-07 12:05:53 -05:00
Humdinger 76f066c2a1 Newly built Beam package fixes ticket #8611 2012-06-04 15:35:28 +02:00
François Revol 68a593ba2a Sam460ex: Change load address for debugging
* Change haiku_loader load address to leave U-Boot's exceptions vector for easier debugging.
2012-06-02 01:21:59 +02:00
Rene Gollent 983f0b53d9 Add Gerald Zajac's Intel 810 driver to the image. 2012-06-01 17:24:27 -04:00
Fredrik Modeen 87a8b1c97b change wlan iwp2100 to use iprowifi2100 and the right firmware, should fix Ticket #7938 and #7898 2012-06-01 22:29:26 +02:00
François Revol 264aaaeeb5 Sam460ex: force using hardware floating point
* our current gcc can't be built with multilib for ppc anyway,
* this allows going further on real hardware, though dprintf() sends wrong data to the serial port.
2012-05-31 01:04:09 +02:00
Alex Smith 65ad1ba320 Made it possible to build the bootloader when targetting x86_64.
* x86_64 is using the existing *_ia32 boot platforms.
* Special flags are required when compiling the loader to get GCC to compile
  32-bit code. This adds a new set of rules for compiling boot code rather
  than using the kernel rules, which compile using the necessary flags.
* Some x86_64 private headers have been stubbed by #include'ing the x86
  versions. These will be replaced later.
2012-05-26 21:47:27 +01:00
Matt Madia 87a01ad64e Added Caya as an optional package.
Provided by Barrett. Fixes #7439.
2012-05-20 14:31:11 +00:00
Matt Madia 96e2080d5e Updated Keymap Switcher. Provided by Siarzhuk Zharski. 2012-05-20 10:23:08 +00:00
Humdinger 0ae4e1b785 Added wpa_supplicant to alpha and nightly profiles. Fixes #8585. 2012-05-19 18:25:55 +02:00
Alexander von Gluck IV 8b99a08215 rPi: Fix Raspberry Pi binaries
* Since mmu_man fixed these vars to actually be used,
  we now know these floating point flags cause issues
  on the Raspberry Pi currently.
2012-05-18 04:05:33 -05:00
François Revol 55cf6de91b Fix passing flags from BoardSetup
* since we include BoardSetup earlier now, the TARGET_* flags were discarded. Use HAIKU_* instead.
* Add variables to hold the default entry point and the desired uimage OS emulation.
2012-05-18 01:22:50 +02:00
François Revol 693b3532c7 Sam460ex: Add a Linux-type kernel entry point
* the onboard U-Booot and 2nd-stage loader only know a few OS types,
we'll try faking Linux there.
2012-05-17 17:36:19 +02:00
Alexander von Gluck IV 08a1406831 rpi: Remove firmware blobs
* Pi firmware was updated to note that Broadcom
  had to be included with firmware blobs.
* While we have permission from Eben to have the
  blobs in-tree, they are now offically on github
  in a fixed location removing the need to have
  these in-tree.
* Clean up BoardConfig, note firmware URL and
  files needed
* Update info.txt with how Haiku boot process works
2012-05-16 08:03:35 -05:00
Alexander von Gluck IV 56b0f60189 rpi: Add new beta loader
* Sets uart up for us
* Enhanced non-linux os loading
* Supports device trees
* Add config.txt example with sample settings
2012-05-16 03:55:32 -05:00
Matt Madia cffe509843 Updated KeymapSwitcher. Provided by Siarzhuk Zharski. 2012-05-14 16:44:50 +00:00
François Revol 93a13fb071 No need to force TARGET_BOOT_PLATFORM now. 2012-05-11 18:23:15 +02:00
François Revol 3884764492 Include BoardSetup from BuildSetup
* while it seemed to work before, BuildSetup was actually adding includes from the default boot platform, before BoardSetup had a chance of changing it.
2012-05-11 17:53:30 +02:00
François Revol 935a9b24cf Add board definition for ACube Sam460ex
* It's a PowerPC embedded board that uses U-Boot.
* We don't want an SD image (yet?)
* tune for the ppc440 with soft-float for now.
2012-05-11 02:29:46 +02:00
François Revol 730a376b32 Hardcode the boot platform for the Raspberry Pi
* for now at least the board uses a custom boot platform.
This way one only has to define HAIKU_BOOT_BOARD now.
2012-05-11 02:17:38 +02:00
Alexander von Gluck IV 19b42424c6 rpi: Remove need for first32k.bin
* Thanks go out to Simon Arlott for replacing
  the first32k.bin blob with assembly removing
  the need for first32k.bin hack.
* This assembly is a modified version removing
  the Linux kernel boot args.
* haiku_loader renamed to kernel.img will boot
  on Raspberry Pi directly.
2012-05-06 12:06:17 -05:00
Alexander von Gluck IV b4a80cfb69 Pi: Add GPIO controls to Raspberry Pi Haiku Loader
* When first32k.bin is added in front of haiku_loader,
  the OK led comes on verifying haiku_loader is actually
  running on the Pi.
2012-05-04 22:00:23 -05:00
Matt Madia bb4e1d3e6f Updated CA Root Certificates. 2012-05-02 18:49:30 +00:00
John Scipione ab0d7676f8 Added Colors\! optional package 2012-05-01 23:22:26 -04:00
czeidler 99a7ed4d4b Remove lp_solve from the source and from the image.
Its not used anymore and should be an optional package otherwise.
2012-04-30 14:58:14 +12:00
Alexander von Gluck IV 80a215135a BuildSetup: Enable other platforms besides u-boot on arm 2012-04-28 18:35:38 -05:00
Alexander von Gluck IV d0b8e45eb1 rpi: Fix remaining raspberry_pi firmwares
* I missed these on my HTML sweep
* Were HTML documents vs real firmware
* Sorry for the spam.
* Firmware: Apr 18, 2012
2012-04-25 06:21:32 -05:00
Alexander von Gluck IV b88e2fc940 rpi: Remove start.elf
* Was an oops on my part, start.elf is actually one
  of the arm*_start.elf files.
2012-04-19 19:06:30 -05:00
Alexander von Gluck IV 4cbccbb196 rpi: Add updated firmware from Rasp. Pi. foundation
* Update 4/18/2012
* Commit 47123009e
* Add missing start.elf
2012-04-19 18:54:40 -05:00
Oliver Tappe 248f2283dd Final part of cleanup in Catalog.h.
* move versions of the B_TRANSLATE_...-macros used during collecting
  of catalog keys to a specific header file, which will only be picked
  up when running collectcatkeys
* fix a couple of build problems during the preprocessing of the libbe-
  sources when extracting catalog keys, all due to private headers not
  being found
* move ZombieReplicantView.h from kits/interface to
  headers/private/interface, as this way it can be picked up when
  building the libbe catalog
2012-04-16 00:04:41 +02:00
Oliver Tappe 7ae67a9920 Drop empty 'zeta' catalog add-on, wouldn't be useful anyway. 2012-04-16 00:04:40 +02:00
Jérôme Duval 3af8da0ef8 use system zlib when cross building gcc4 to fix #8242
* this add a dependency on package zlib1g-dev for Linux systems.
2012-04-15 13:28:50 +02:00
John Scipione 70c5197318 Rename 3D Rendering to GL Info and move it.
* Rename 3D Rendering to GL Info
* Moved it in the source tree from src/preferences/3drendering/
  to src/tests/kits/opengl/glinfo/
* Moved in HaikuImage from SYSTEM_PREFERENCES to SYSTEM_APPS
* Does not show up in DESKBAR_APPLICATIONS like AboutSystem
  but can be found in the resulting image in /boot/system/apps/
2012-04-13 23:27:40 -04:00
Alexander von Gluck IV 44fcb75e77 GLife: Add new screensaver into image. 2012-04-09 22:00:19 -05:00
Alex Smith 81eb68f280 Fixed a compilation failure for the x86_64 toolchain.
This appears to be a problem with GCC's build system: it defaults to having
multilib enabled, but if it is explicitly enabled with --enable-multilib,
the build fails.

Signed-off-by: Ingo Weinhold <ingo_weinhold@gmx.de>
2012-04-05 13:15:24 +02:00
Matt Madia 71cfb0c8d0 Updated BeZillaBrowser. Built on hrev43937. Fixes #8417. 2012-04-04 18:46:49 +00:00
Oliver Tappe 60f75e901c Merge liblocale.so into libbe.so.
* Make the locale kit a part of libbe.
* Drop the LocaleBackend kludge used from within libbe (and from
  other places, too) in order to access system catalog strings. 
  This is now done via gSystemCatalog, which is provided and initialized
  by libbe.
* Drop all references to liblocale.so from all Jamfiles.
* Add legacy symlink liblocale.so in order to keep optional packages
  that rely on it in a working state.

TODO: the documentation hasn't been updated.
2012-04-04 22:44:42 +02:00
Jérôme Duval bc11edcdb5 wpa_supplicant: updated to 0.7.3 2012-04-03
* compiles against updated FreeBSD compat layer headers.
2012-04-04 19:40:55 +02:00
Oliver Tappe 94cefc8f79 Fix target folder of libgutenberg data.
* as pointed out by diver: libgutenberg has been configured to
  expect its data files in /system/data, but we used to install them
  into common.
This way, the Gutenberg printer add-on actually shows some printers.
2012-04-01 18:47:16 +02:00
Jerome Duval 57c324a753 arm: added some missing arch bits and changed asm section for arm compat. 2012-04-01 14:03:36 +02:00
scottmc2@gmail.com c106a6bc2e Updated optionalpackages for texinfo, sqlite and bzr. 2012-03-31 17:58:24 -07:00
Rene Gollent 484afd3a08 Updated Web+ package.
Fixes an oversight in yesterday's bug fix.
2012-03-31 14:21:04 -04:00
Rene Gollent ab2948538e Update Web+ optional package.
- Fixes a problem in Web+'s autocompletion handler that would
  result in it eating things like workspace switching shortcuts
  if Web+'s URL input had focus.
2012-03-30 22:23:58 -04:00
Alexander von Gluck IV 67fd0d069c mesa: Use updated gcc4 Mesa build 2012-03-30 10:38:48 -05:00
Jérôme Duval 66bcbd98fc ffmpeg: updated to 0.10.2 2012-03-29 00:04:17 +02:00
Jérôme Duval 4d498fcbe6 ffmpeg: gcc2 seems to produce crashing code with -O3, switch to -O2.
* should help with #8393
2012-03-28 22:55:47 +02:00
Axel Dörfler 647cff2e59 Imported BFS-Tools (without docs), added bfsinfo to the image.
* The sources are unchanged, and most of it doesn't follow Haiku's coding
  style -- stuff that I updated over the years might also have seen a coding
  style update.
* This was also the basis on which Haiku's BFS has been written.
* In the long run, the stuff in 'lib' that is already part of BFS should
  be removed, and used directly from BFS itself.
* I haven't yet added any other of the tools to the image. Not sure if they
  are ready for inclusion yet; 'recover' could also be renamed to reflect that
  it is BFS specific.
2012-03-26 22:48:07 +02:00
Alexander von Gluck IV 8a7256ae14 jamfile: Update speex package name
* Not sure where this optional package went however
  it is no longer on haiku-files.org
* A newer speex package does exist however.
* Should fix #8371
* If this doesn't work speex (and maybe sdl) optional
  packages need rebuilt
2012-03-26 15:36:31 -05:00
JackBurton 74bf282400 Added correct dependency to freetype. I couldn't build a hybrid image
without this change.
2012-03-23 20:51:20 +01:00
Jérôme Duval 5b93b4477e ffmpeg: updated gcc2 package and fixed crashes on exit.
* replaced calls to free() with calls to av_free().
* updated gcc2 package to disable SSE and a few options like we had
  before with 0.6.
2012-03-22 01:20:06 +01:00
Jérôme Duval ea702bff5f ffmpeg: updated optional packages removing --disable-mmx option. 2012-03-19 01:13:41 +01:00
Jérôme Duval f659f955ba Added an optional package DevelopmentPowerPC
* haiku-devlibs-ppc-gcc4 zip archive contains libroot and glue (but no stdc++).
* fixed /boot/develop/lib/$arch symlink to point to the right dir instead of current.
* setgcc now handles the ppc arch and updates the arch link /boot/develop/lib.
2012-03-18 15:36:26 +01:00
Jérôme Duval 65bce31ef8 Freetype: FreetypeRules isn't needed anymore.
* fixed copy of freetype headers, now part of the optional package.
2012-03-17 22:52:10 +01:00
Jérôme Duval 93e180d06b ice1712: added to the image 2012-03-17 20:54:57 +01:00
Jérôme Duval 362efe0c9f freetype: builds against the 2.4.6 optional package.
* added optional feature package for freetype 2.4.6 gcc4/gcc2 x86 and gcc4 ppc.
* FT_CONFIG_OPTION_SUBPIXEL_RENDERING is disabled, --include-patented-code doesn't
  change this setting anymore. This would require different packages.
* drop freetype sources and headers from the tree.
* fix decorators, test app server and appearance to use feature package headers.
* hybrid build untested.
2012-03-17 20:37:00 +01:00
Jérôme Duval 08de244f9c bzip2: switched to optional package and drop in-tree sources. 2012-03-14 22:51:35 +01:00
Jérôme Duval 538a2ec29c ffmpeg: added dependency on libvpx.
* added libvpx-1.0.0 optional package.
* updated ffmpeg optional package to depend on libvpx.
2012-03-14 01:56:15 +01:00
Alexander von Gluck IV 5874758653 Merge branch 'mesasplit' 2012-03-12 16:44:49 -05:00
Alexander von Gluck IV 0b15050616 swrasts: Clean up build system
* Make two independent rast add-ons to avoid
  file name collisions
* Clean up some gcc2 vs gcc4 jamfile defines
2012-03-12 15:41:09 -05:00
Jérôme Duval 991c18ad36 ffmpeg: added libs packages as dependencies.
* updated ffmpeg to enable previously enabled decoders/encoders
  based on libogg, libspeex, libtheora, libvorbis.
* removed sources for these libs.
2012-03-12 21:25:39 +01:00
Matt Madia 1d368d9b78 Updated CARootCertificates package. 2012-03-10 21:20:45 +00:00
Jerome Duval 5a58211db2 dvb.media_addon: only for x86 builds.
* only for x86 builds until we have a FFmpeg PPC package or headers only package.
2012-03-10 11:26:34 +01:00
Alexander von Gluck IV 8fb9e2dbb8 jam: Add clang binary optional package
* Created from haikuporter ticket #313
* Tested as functional under gcc4h
2012-03-09 15:07:46 -06:00
Jérôme Duval e40d995cf4 FFMpeg plugin: now build against the optional package for 0.10
* added optional feature package for ffmpeg 0.10 gcc4 and gcc2
* increased probe buffer size to 8K for now.
* built the optional packages the default way, it might need adjustments
  like dependencies on speex, ogg, theora, vorbis, which I left out for now.
2012-03-07 02:05:50 +01:00
Alexander von Gluck IV 33e204adee jam: Add binary bootloader for Raspberry Pi
* Version 17-02-2012
* Used to initialize the Raspberry Pi GPU and boot it
* License is permissive, I've also included the
  confirmation email on this license.
* Little bootloader documentation.
* Still nothing to get excited about, preliminary.
2012-03-05 20:44:54 -06:00
Humdinger 935af17a2f Recompiled gcc2 version of optional package Clockwerk. 2012-03-04 20:25:18 +01:00
Alexander von Gluck IV fe4fdaad2e jam: Add board definition for Raspberry Pi
* used by HAIKU_BOOT_BOARD.
* gcc machine options from Raspberry Pi wiki.
* don't get too excited, or expect any Haiku
  love for it anytime soon.
2012-03-04 07:44:27 -06:00
Stephan Aßmus b860013aa0 Removed Fonts preflet from the image. 2012-02-26 10:46:44 +01:00
Rene Gollent 3d4db3d64e Update Vision packages to account for BControlLook changes.
Fixes #8355.
2012-02-26 14:26:18 -05:00
Stephan Aßmus 0ef4598ff0 Updated Clockwerk optional packages for gcc2 and gcc4.
* Changes to the layout API broke the old packages.
 * The update to GCC4.6 broke compiling.
2012-02-25 17:33:26 +01:00
Jerome Duval eb5f363978 Fixes some occurrences of 'variable set but not used', disables Werror for problematic items. 2012-02-23 20:32:11 +01:00
Matt Madia 9498da9c14 Seems even my fix was off by one. 2012-02-20 15:20:00 +00:00
Alexander von Gluck IV 47cede7b8c swrast: Fix gcc4 Pentium compatibility
* Move to new mesa optional package whih build options:
  -march=i586 -mtune=i686 -mmmx (removing all -msse*)
* SSE asm still executes based on CPU flags
* Fixes blocker #8318
2012-02-20 12:56:53 -06:00
Humdinger 5721015d44 Added demo packages for audio, video, data and images. 2012-02-20 19:49:36 +01:00
Matt Madia 5227cdd195 Fixed an off by one error. 2012-02-20 09:58:21 +00:00
Matt Madia 743d0826f7 Updated the cert package, to one with a date stamp.
The haiku-files.org cron script will create a new package only when the cert
has been updated. An email will inform me of such an update.
2012-02-19 14:00:48 +00:00
Matt Madia 07a95d0fec Removed the R1a3 release notes from the alpha build profile. 2012-02-19 09:41:18 +00:00
Matt Madia bff40a31c1 Updated WebPositive. Supports common/data/ssl/cert.pem
This package contains only the app + libs. The certificate file
is satisfied through OptionalPackageDependencies. The bookmarks
have been moved (and updated) to a separate archive.

Thanks Rene Gollent and Chris Roberts for the help!

This group of changesets should close #7707, though it is possible
that other optional-packages, pre-built software will still fail to
locate the certificates file in the new location.
2012-02-19 09:29:31 +00:00
Matt Madia ea70913a5c Rebuilt Curl 7.21.7 (haikuports r1815) to support cert.pem
Thanks Chris Roberts for the help with Curl!
2012-02-19 09:29:30 +00:00
Matt Madia 94c3d306db Created CARootCertificates, extracts to common/data/ssl/cert.pem
Via a cron script, www.haiku-files.org will automatically create a new package
from http://curl.haxx.se/ca/cacert.pem. This new package satisfies our
OpenSSL's expectations of where the certificate file lives. It also ensures
that new builds of Haiku will have the newest certificate file. As an example,
the cacert.pem included in Web+ was from Sept-2009.

Updated builds of Curl and Web+ to follow.
2012-02-19 09:29:29 +00:00
Ingo Weinhold 65f03741af Add GPT module to the boot modules
This is necessary so a disk with a protective MBR is not incorrectly
recognized when the kernel first scans it.
2012-02-10 22:55:45 +01:00
Michael Lotz dd2116b8eb Update wpa_supplicant package for gcc2.
It should work on current images again and contains a few usability
tweaks that make it simpler to navigate/use.
2012-02-03 21:25:09 +01:00
Alexander von Gluck IV 64629da639 3DRender preferences: Remove OpenGL text
* Prevent trademark issues with "OpenGL" text.
* Rename OpenGL preference pane "3D Rendering"
* Update catkeys
* Add a better image to 3D Rendering preferences
  (we can change this if there are objections, just
  trying to pretty the pane up a little)
2012-02-02 17:07:46 +00:00
Fredrik Modéen 6e64d21af7 First commit on git, making the sis19x driver part of the nightly images
* just making the sis19x driver part of the nightly images.
2012-01-27 12:58:17 +01:00
Jérôme Duval 1a4cf8161e Moved ctags to an optional package
* removed ctags from Haiku sources and from haiku image
* added ctags to mandatory packages for the time being.
2012-01-23 23:50:20 +01:00
Rene Gollent 612e834851 Update package again due to a few stray attributes that were missed.
Should really fix #8290.
2012-01-23 15:52:14 -05:00
Alexander von Gluck IV bec3facc5e mesa: Use latest Mesa optional package
* Use non-debug version which is a *lot* smaller
* Represents bug fixes to Mesa under Haiku, x86
  assembly + sse is now used with swrast.
* Remove state.h requirement as I can't find anything
  that actually uses it.
2012-01-23 13:45:06 -06:00
Rene Gollent 8154b8ae5e Updated Web+ optional package to remove stray Tracker attributes.
Fixes #8290.
2012-01-23 09:59:36 -05:00
Jérôme Duval 5c015f8811 Updated gcc 4 native package to 4.6.2 2012-01-22 19:41:25 +01:00
Jérôme Duval c59b279b71 Added workarounds and options for gcc 4.6.2
* add -Wno-unused-but-set-variable for gcc 4.6.x with a TODO
* fix warnings about wrong size of pointer cast in ioapic.cpp and AudioBuffer.cpp
2012-01-19 19:44:42 +01:00
Alexander von Gluck IV 3c0d5dcaf1 opengl: Improve libGL linking and Mesa optional package
* Move compiled binaries into lib.haiku within Mesa optional
  pacakge, this enables us to use Make or scons to build Mesa
* Untangle libGL linking and order library inclusion
* Remove zmuldef hacks
* Compile libgallium into the libGL on Mesa 8.0 / gcc4 images
* Don't Mesa calculate cpu optimizations due to visibility
  issues, use Mesa cpu functions for this.
* Don't allow undefined symbols in libGL.so to ensure sanity.
* Move Mesa optional packages to haiku-files
2012-01-17 14:57:49 +00:00
Aleksas Pantechovskis 1a7322a09e Command line 'writembr' tool implemented
* Implemented writembr tool used to update MBR area with easy boot
  loader starting the system from currently active partition;
* This work fixes #5595;
* This is result of GCI2011 task.

Signed-off-by: Siarzhuk Zharski <zharik@gmx.li>
2012-01-15 15:03:24 +00:00
Alexander von Gluck IV eb3e388241 GL: Disable OpenGL applications and libraries on non-x86
* This should definitely be undone once we figure out a
  way to cross compile stuff under haiku.
* setgcc ppc gcc4 anyone?
2012-01-13 17:42:45 -06:00
Alexander von Gluck IV 367834c6ba mesa: include GL public headers in image 2012-01-11 16:56:28 -06:00
Alexander von Gluck IV defd6ec79a mesa: Bump gcc4 optional package to 8.0-devel 2012-01-11 00:14:54 -06:00
Alexander von Gluck IV 016d04966a Add optional build feature to pull Mesa optional package 2012-01-08 00:22:07 -06:00
Michael Lotz 17e82349a7 Remove coreutils and tcpdump from the DEBUG blacklist.
The DEBUG build for these has been fixed in hrev43636 and hrev43637
respectively.
2012-01-07 03:47:46 +01:00
Urias McCullough 31c110be6e Remaining subdirs that cannot be compiled with DEBUG=1
Signed-off-by: Michael Lotz <mmlr@mlotz.ch>
2012-01-07 03:45:56 +01:00
François Revol 430fc0e90c Fix build for !x86 && !ppc
At least this should fix other platform builds to the point they worked before.
The ICU_DEVEL zip name assign was moved inside the if block, making it empty for other archs, and ExtractArchive was of course having issues with this.
So I moved the rest inside the if block as well. Should fix at least kernel builds.
2012-01-05 03:30:10 +01:00
François Revol 577d81a9b6 Add proper error on ExtractArchive with missing filename
The * case was not generating any message due to empty string expansion I suppose...
2012-01-05 03:30:10 +01:00
Matt Madia 83cbfa5e0e Rebuilt BeZillaBrowser for gcc4. 2011-12-26 23:02:48 -05:00
Matt Madia d5b5b51e6c Updated the jam packages to 2011-12-22 2011-12-26 16:04:15 -05:00
Matt Madia 81275d20c7 Utilize JAMJOBS (jam 2.5-haiku-20111222) in InvokeSubJam.
Note:
As InvokeSubJam invokes a jam process separate from the first, JAMJOBS may
result in up to 2 * n - 1 jobs in total being run. While this is not accurate,
it is a better scenario than only a single job running.
2011-12-26 14:05:18 -05:00
Joseph R. Prostko 68fe8a9edc * Update KeymapSwitcher and Vim optional packages 2011-12-23 18:20:08 -05:00
Oliver Tappe bb6b6a1504 Correct explicitly created symlinks for ICU-devel package
* skip the right amount of extensions until the actual abi version
  is reached
2011-12-20 21:59:33 +01:00
Oliver Tappe 63ffb518f8 Update icu-devel packages again, as they were broken. 2011-12-20 00:29:58 +01:00
Oliver Tappe e94fa361f3 Fix #8098 (icu-devel breaking current abi symlink)
* provide separate icu-devel packages for x86/gcc{2,4} and ppc, in
  order to bypass problems with this package trying to make use of
  the /boot/develop/abi/current symlink.
2011-12-19 11:46:15 +01:00
Rene Gollent 730714fea5 Update Pe gcc4 optional package. 2011-12-18 16:09:29 -05:00
Rene Gollent f7d5d48f98 Updated Vision packages. 2011-12-17 16:15:35 -05:00
Rene Gollent bae0f6db21 Updated Web+ package due to layout API changes. 2011-12-17 00:03:23 -05:00
Rene Gollent 8a6af348bb Add Git to nightlies rather than Subversion. 2011-12-16 11:08:00 -05:00
Aleksas Pantechovskis 099d5afd11 Second part of 'setmime' implementation is completed
* Support for bitmap and vector icons added;
* Attribute type representation is improved;
* Fixed problem with current attributes loading;
* sniffer rule checking fixed;
* supress useless lines in -dumpIcons and -dumpSniffRules for MIME types
  without icons and sniffer rules correspondently.

Signed-off-by: Siarzhuk Zharski <zharik@gmx.li>
2011-12-15 21:51:10 +01:00
Oliver Tappe 8ad8d2e5d2 Activate -Werror for POSIX locale backend and the code using it. 2011-12-15 13:26:45 +01:00
Oliver Tappe ec99f3b2a6 Adjust mbstate_t to embed the state of the ICU converter.
* make room in mbstate_t for containing an ICU-converter's state
  (well, in fact the whole converter object)
* adjust libroot's locale add-on to clone converters into a given
  mbstate_t directly
* adjust ICUThreadLocalStorageValue to contain the converter pointer
  instead of a converter-ID (if the converter is related to an
  mbstate_t, it points into the mbstate_t).
* adjust users of converters to directly use converter pointers
  instead of ICUConverterRef
* drop now unused ICUConverterManager and ICUConverterRef
* update gcc4 optional package

This brings our multibyte implementation into a fully working state,
both non-ascii and non-8-bit characters can now be handled normally
in the Terminal, i.e. this finally fixes #6276.

N.B.: Since the size of mbstate_t has changed, everything (including
the compiler!) needs to be rebuilt.
2011-12-15 13:18:11 +01:00
Rene Gollent ebc0d47cc6 Add Debugger to Development package. 2011-12-11 20:59:43 -05:00
Fredrik Holmqvist 34b63b5b9d Remove libbe_build linking m from earlier commit and add -lm to HOST_LINK_FLAGS on non BeOS compatible platforms.
(HOST_LIBROOT would need more work than just adding m so I went the easy route.)
2011-12-11 00:45:44 +01:00
Siarzhuk Zharski 7f4de88213 GLTeapot 3D model "teapot.data" is not needed anymore.
* 'teapot.data' was obsoleted by completing GCI 2011 task and should not
  be installed on the target systems.
2011-12-05 23:36:59 +01:00
Stephan Aßmus df30e677a7 Replaced mention of "SVN" with "version control system". 2011-12-04 14:51:47 +01:00
Michael Lotz 5cbe06f482 Allow replacing the object cache with the guarded heap.
This allows to use the debug features of the guarded heap also on
allocations made through the object cache API. This is obivously
horrible for performance and uses up huge amounts of memory, so the
initial and grow sizes are adjusted accordingly.

Note that this is a rather simple hack, using the object_cache pointer
to transport the allocation size. The alignment is neglected completely.
2011-12-04 13:52:06 +01:00
Michael Lotz 1fe24d0cd0 Add heap with guard pages to detect out of bound reads/writes.
This is a very simple heap implementation that allocates memory so that
the end of each allocation always coincides with a page end and is
followed by a guard page which is marked non-present. Out of bounds
access (both read and write) therefore cause a crash (unhandled page
fault).

Note that this allocator is neither speed nor space efficient, indeed it
wastes huge amounts of pages and address space so it is quite easy to
hit limits. It is intended as a pure debug feature.
2011-12-03 20:09:13 +01:00
Scott McCreary 9bcf0b2e39 Merge branch 'master' of ssh://git.haiku-os.org/haiku 2011-12-02 17:00:49 +00:00
Michael Lotz 15b483ebe7 Revert "Add temporary workaround for moved etc directory."
Revert the workaround in hrev43361 to be fixed by adjusting the path.
2011-12-02 14:18:50 +01:00
Scott McCreary f8631ec46e Merge branch 'master' of ssh://git.haiku-os.org/haiku 2011-12-02 01:08:23 +00:00
Oliver Tappe 3032f55d28 Fix #8167: create compatibility symlink in /boot/home/config/be
* instead of in /boot/home/config/settings/be, the compatibility
  link has to live directly in the config folder, as otherwise
  it doesn't help compatibility-wise at all ;-)
2011-12-01 10:39:32 +01:00
Scott McCreary 64e63a6bb5 Updated openssh optionalpackage
* Updated sshd_keymaker.sh script to use --group instead of --app
2011-11-30 20:57:01 +00:00
François Revol 99fc86822b Add WebWatch to the image, as it just works 2011-11-30 01:50:27 +01:00
Michael Lotz d58a4a2478 Add temporary workaround for moved etc directory.
Package management will move the directory from common/etc to
common/settings/etc. The kernel side change that sets up the etc symlink
in the rootfs was already commited, everything still installs into the
old dir however. This symlink makes things that depend on /etc work for
now and can be removed once the files aren't populated to the old place
anymore.
2011-11-29 17:03:03 +01:00
Oliver Tappe 692e9b11e4 Build fix part 2: active libroot_build.a again:
* uncomment the building of libroot_build.a again
* add function remapper to HOST_STATIC_LIBROOT
* drop TODO about the function remapper not working with the static
  libroot

Ingo: please review - I think this should work, but I'm not so sure
where HOST_STATIC_LIBROOT should be in the list of libraries of its
only user (<build>bfs_fuse): where it is now or right at the end?

As it is now, the resulting binary still contains references to
host-libc-implementations of close() & others, which are triggered by
the other libs (like libfuse.so). If I put HOST_STATIC_LIBROOT right at
the end, those references are gone, though. But which is correct?
2011-11-25 22:04:51 +01:00
Ingo Weinhold 14f94ae7d4 Fix location of the Deskbar menu symlinks
Conflicts:

	build/jam/OptionalPackages
2011-11-25 06:19:34 +01:00
Ingo Weinhold 55bc371993 Wrap POSIX FD functions in libroot_build
This makes opening symlinks work universally in the build system tools.
Two mechanisms have been implemented, both of which don't always work.
The first is remapping via preprocessor macros. This fails where equally
named methods are used (e.g. STL fstream::open()). The other is using
hidden functions in the new libroot_build_function_remapper.a that is
linked into everything that is linked against libroot_build.so. This one
fails for functions that are defined inline in headers (Linux/glibc does
that). Together they seem to cover our build system needs ATM.
2011-11-25 06:18:41 +01:00
Oliver Tappe 323b65468e Filtered flat import of Oliver's svn package management branch
Bring the changes that aren't package management related and the ones
that are but don't take effect as long as they are ignored by the build
system into the master.

Summary of changes:
* Introduce private header <directories.h> with constants for a good
  deal of paths that should usually be retrieved via find_directory().
* Replace hard-coded paths by using find_directory() or the
  <directories.h> constants (e.g. in drivers and the kernel).
* Add find_directory() constants needed for package management.
* Add __HAIKU_ABI_NAME and B_HAIKU_ABI_NAME macros.
* src/apps/deskbar: BeMenu.* -> DeskbarMenu.*,
  DeskBarUtils.* -> DeskbarUtils.*
* Change deskbar menu settings directory from ~/config/be to
  ~/config/settings/deskbar.
* Other smaller cleanups, changes, and fixes.
2011-11-25 06:17:07 +01:00
Oliver Tappe 210361191d Update gcc4 optional package. 2011-11-24 00:26:10 +01:00
Oliver Tappe c33232c167 Update optional gcc2 package. 2011-11-23 20:19:33 +01:00
Oliver Tappe cdb7744bc7 Avoid warning about missing math.h.
* Apparently caused by the fact that we no longer run fixincludes,
  math.h is not being generated anymore. I haven't removed the rm
  from the script in order to be compatible with older compilers.
2011-11-23 17:02:23 +01:00
Oliver Tappe 25389523bd Touch c-gperf.h before building legacy gcc. 2011-11-22 22:28:09 +01:00
Oliver Tappe 489c0689ec Fix typo in build_cross_tools. 2011-11-22 16:21:06 +01:00
Ingo Weinhold 2f7b75b323 Fix the gcc bison issue for real
Also touch cp/parse.{c,h}, which apparently are the culprit.
2011-11-15 20:22:23 +01:00
Ingo Weinhold 4f23d85e4f Work around issue with newer bison versions
Touch the source files generated by bison, so that make won't try to
have them updated.
2011-11-15 19:49:25 +01:00
François Revol b33a1b1c5f PowerPC platform might not always be OpenFirmware 2011-11-12 23:46:40 +01:00
Travis Geiselbrecht 6c6edebce8 [build][OSX] revise the darwin test to darwin10 and darwin11, not a wildcard
As PulkoMandy pointed out on IRC, darwin10 and 11 (10.6 and 10.7) are at least partially 64bit, so
the test only applies there. When darwin12 comes out it'll have to be fixed.
2011-11-12 13:25:16 -08:00
Travis Geiselbrecht b2916b0c6e Fix build on OSX Lion, which has apparently bumped the darwin version to darwin11 2011-11-12 13:01:10 -08:00
Ingo Weinhold a235c39ee4 Added BuildPlatformStaticLibraryPIC rule.
It works like BuildPlatformStaticLibrary, but generates position
independent code.
2011-11-12 15:40:17 +01:00
Ingo Weinhold e89f127b9e KernelLd rule: opt-out linking against libsupc++
Introduced HAIKU_NO_LIBSUPC++ variable on target to prevent linking
against libsupc++.
2011-11-12 15:40:17 +01:00
Ingo Weinhold cd3e093133 Fix x86_64 BuildConfig issues
* Resolve TODO: HOST_GCC_BASE_FLAGS should not be included in
  HOST_LDFLAGS. Enable adding "-fno-strict-aliasing -fno-tree-vrp"
  accordingly.
* Fix handling of HOST_PLATFORM_IS_64_BIT and HAIKU_HOST_USE_32BIT: The
  former does now state whether the platform is effectively treated as
  64 bit platform, i.e. it actually is 64 bit and the 32 bit mode is
  not enforced. HAIKU_HOST_USE_32BIT is now only set when the platform
  is actually 64 bit, but 32 bit mode is enforced.
2011-11-12 15:40:17 +01:00
Ingo Weinhold 1c2d7d3a86 Fixed x86_64 handling by the build system.
* Map build variables HOST_CPU and HOST_ARCH to x86_64, if it they are
* x86 and
  64 bit and define the __x86_64__ C macro instead of __INTEL__ in that
case.
* <OS.h>: Also handle __x86_64__.
2011-11-12 15:40:16 +01:00
Scott McCreary 3c38636c9f Update git to version 1.7.7.2
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43236 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-11 20:56:14 +00:00
Siarzhuk Zharski 90586eb692 * KeymapSwitcher package updated to work with recent (after ~r43100) revisions of Haiku.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43224 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-08 09:53:54 +00:00
Alexander von Gluck IV 174240f9be * move DSO policy changes down a few lines to go under C/C++ flags section
* ensure host isn't darwin as Apple doesn't use binutils


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43202 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-06 13:14:47 +00:00
Alexander von Gluck IV c0ea2063b7 * undo r43186
* fix build due to changes in DSO Linking the right way
  as per bonefish.
* we may need to check host GCC version here... can't find
  when this option was introduced
* fixes #8031 


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43191 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-04 19:23:34 +00:00
Michael Lotz 90c6930ebb Add VM page allocation tracking similar to what happens in the slab already.
Introduces "page_allocation_infos" and "page_allocations_per_caller" KDL
commands.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43190 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-04 18:07:07 +00:00
Michael Lotz 865a0be1c0 Add optional stack traces to {Allocate|Free}Page[Run] tracing.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43185 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-04 17:58:50 +00:00
Fredrik Holmqvist 2d980c7f9d Reworked the way HAIKU_CCFLAGS, HAIKU_C++FLAGS and their kernel equivalents are set.
The flags given to configure are kept and the build just adds its own flags onto these.
Also the kernel flags are also based on the flags given at configure.
I suspect this will be needed for llvm.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43169 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-03 20:54:21 +00:00
Ingo Weinhold 530590d3b9 * Document that the haikuRequiredLegacyGCCVersion variable is
influencing this script.
* If haikuRequiredLegacyGCCVersion has not been specified, assume that
  the script was called manually and just use the version string from
  the gcc sources.
* Make error output a bit more consistent.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43163 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-03 14:22:31 +00:00
Alexander von Gluck IV be8c82d459 * disable the beceem wimax driver, it was enabled to
get caught in the last scan.
* the driver hardware communication works, but the
  networking bit isn't done so it's kind of pointless.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43151 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-03 03:13:11 +00:00
François Revol e88ace8082 Leave a bit more room for the boot drivers tgz archive, but sadly it's not enough.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43149 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-03 02:42:27 +00:00
Rene Gollent 2d36b8d9a7 Fix missing links in gcc2 ICU package.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43130 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-02 20:38:31 +00:00
Rene Gollent 3fa483ccda Fix ICU portion of PPC build until someone gets around to building an updated PPC package for it.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43120 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-02 16:29:05 +00:00
Rene Gollent df42e66b1b Missed this on previous commit.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43111 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-02 13:28:01 +00:00
François Revol 1bf8552a7b Added an optional package for dmidecode <http://www.nongnu.org/dmidecode/>, which provides useful information from the BIOS, including motherboard vendor and name.
Source package is at http://revolf.free.fr/beos/dmidecode-2.11_haiku-2011-11-02.tar.xz


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43109 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-02 13:19:39 +00:00
Rene Gollent b6c374c34b Update ICU to version 4.8.1.1:
- Various minor bugfixes.
	- Update to tzdata2011k.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43107 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-02 12:20:52 +00:00
John Scipione 8d15934d9b Add US and international keyboard layout files for ThinkPad, ThinkPad T400s,
ThinkPad X1 and ThinkPad X100e keyboards. The name of these layout files
correspond to the model that introduced them and should cover every US and
international laptop made by IBM and Lenovo except Japanese (and perhaps some
other Asian locale) versions.

Like the Apple Aluminum keyboard layouts these are neatly tucked away in a
ThinkPad submenu in the Keymap preference app.

Removed the 'IBM Laptop International' keyboard layout file which has been
superseded by 'ThinkPad International'. Closes #8021

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43094 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-02 04:51:30 +00:00
John Scipione 08cd4bc208 Add 3 new Apple Aluminum keyboard layout files and update and rename the
existing 'Apple Aluminium' keyboard layout to 'Apple Aluminium Extended
International.' The 3 new layout files are US mini and extended version
as well as an international mini version. This completes #7964

International corresponds to keyboard layouts for all locales except the US
and Japan. I have Japanese Apple Aluminum keyboard layout files almost
ready but I first need to determine what the special kana and eisu keys
are mapped to.

The Apple Aluminum keyboard layout files are tucked away in an Apple Aluminum
subdirectory. The Keymap preference app has been modified to turn
subdirectories into submenus of the Layout menu.

HaikuImage has been modified to include each keyboard layout file in the 
image individually as recommended by Ingo.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43093 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-02 04:30:44 +00:00
Ingo Weinhold e1c6140eaa mmlr + bonefish:
* Add optional stack trace capturing for slab memory manager tracing.
* Add allocation tracking for the slab allocator (enabled via
  SLAB_ALLOCATION_TRACKING). The allocation tracking requires tracing
  with stack traces to be enabled for object caches and/or the memory
  manager.
  - Add class AllocationTrackingInfo that associates an allocation with
    its respective tracing entry. The structure is added to the end of
    an allocation done by the memory manager. For the object caches
    there's a separate array for each slab.
  - Add code range markers to the slab code, so that the first caller
    into the slab code can be retrieved from the stack traces.
  - Add KDL command "allocations_per_caller" that lists all allocations
    summarized by caller.
* Move debug definitions from slab_private.h to slab_debug.h.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43072 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-01 18:34:21 +00:00
Michael Lotz 72156a402f bonefish+mmlr:
* Introduce "paranoid" malloc/free into the slab allocator (initializing
  allocated memory to 0xcc and setting freed memory to 0xdeadbeef).
* Allow for optional stack traces for slab object cache tracing.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43046 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-31 21:58:00 +00:00