Commit Graph

1685 Commits

Author SHA1 Message Date
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
Oliver Tappe 312e961c5d Closing #8063:
* touch all .info files before trying to build the gcc4
  buildtools in order to avoid the dependency on makeinfo.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43012 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-30 19:39:12 +00:00
François Revol 500b53f5db Add kdlhangman to the image since this wonderful thing actually still works fine ;-)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42998 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-30 14:07:57 +00:00
Fredrik Holmqvist eab1b0e87e BuildSetup wasn't caring about HAIKU_CCFLAGS or HAIKU_C++FLAGS set at configuring time.
A bit out of my comfortzone with, so please tell me if I'm wrong.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42949 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-29 13:40:53 +00:00
François Revol 159517ea26 Add power_daemon and apci_button driver back to the image. WorksForMe™. Just need to start power_daemon from Bootscript.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42935 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-28 22:07:04 +00:00
François Revol 97e22a9b50 Workaround missing mkisofs in Debian sid for ppc boot CD. It needs a rewrite anyway.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42922 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-26 00:02:02 +00:00
Alexander von Gluck IV a6c4bc423e * enable radeon_hd in the nightly build
* disable Evergreen+ cards for now as they are tested
  non-functional.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42888 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-20 14:22:30 +00:00
Michael Lotz fe8708f308 * Update the wpa_supplicant package to include the latest synchronous join
changes.
* Fix the conditional for GCC4 where I missed removing a closing parenthesis.
  Thanks to Jens Arm for pointing out that not-as-obvious-as-hoped-for syntax
  error.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42804 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-06 10:22:02 +00:00
Michael Lotz 13cf6c7044 Forgot to change the grist of the GCC4 wpa_supplicant package in r42800. Sorry.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42803 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-05 18:56:58 +00:00
Michael Lotz e3e636ae3a Update the GCC4 wpa_supplicant package to one built with GCC4.5.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42800 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-03 18:53:34 +00:00
Michael Lotz 3c920dad10 Add missing dependency of wpa_supplicant on OpenSSL.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42798 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-03 16:06:10 +00:00
Michael Lotz e94e30ff78 Add the wpa_supplicant optional package. It should be stable and is working on
the limited set of hardware I could test it with.
By installing the wpa_supplicant one can now join WEP/WPA/WPA2 networks by
either selecting them in the network prefs/network status applet or using
"ifconfig <interface> join <network name> [password]". The wpa_supplicant opens
a dialog asking for more details if it can't connect with the given information.
Note that there is no way to automatically store that extra info right now, so
it has to be provided on each join. The configuration can however be stored
manually into the /boot/common/settings/network/wireless_networks config file.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42775 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-09-28 00:33:45 +00:00
Siarzhuk Zharski 8f789932e8 usb_davicom was fixed. Add it to image.
Great thanks to Diver for his patiense and assistance 
during two-weeks long testing and driver refactoring!



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42750 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-09-12 20:34:19 +00:00
Scott McCreary f6144bf719 Updated openssl to 1.0.0e and openssh to 5.9p1.
Note that this moves the ssl directory to now be in B_COMMON_DATA_DIRECTORY/ssl, and may require rebuilding of other packages as 
well.  See Haikuports changeset1635 and Haiku r41767.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42733 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-09-09 22:27:08 +00:00
Philippe Houdoin 20cc5ae73c Update WebPositive package, new build was needed due to the
new ICU 4.8.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42692 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-26 22:16:24 +00:00
Oliver Tappe 00912ff317 * fix ICU-devel optional package to include link-time libraries (as links to the
actual libs in /system/lib)
* adjust installation code for ICU-devel to generate link for the non-versioned
  form (libicu*.so) and one matching the soname (libicu*.so.48)

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42691 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-26 19:28:39 +00:00
Rene Gollent 61f3c5c1c7 Upped alpha profile image size to 750MB.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42687 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-24 23:38:22 +00:00
Matt Madia fdecfdb35c Increase the size of the default raw and default vmware image.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42685 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-24 21:04:55 +00:00
Oliver Tappe 886b38122b Fix icu library extraction for ppc (and unite that jam-block with x86)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42676 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-22 21:15:34 +00:00
Oliver Tappe 480a26bc39 Update icu packages again:
* update icu packages for x86 in order to incorporate a fix
* add updated icu package for ppc, too

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42646 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-20 13:56:43 +00:00
Oliver Tappe 45f2f22b52 * update (not-so-)optional package ICU to 4.8.1, which contains interesting stuff
for message formatting
* adjust LocaleKit to use namespace 'icu', as ICU has been configured to no longer
  use a version specific namespace
* adjust LocaleKit to general API changes in ICU 4.8
Note: all software using ICU (like WebPositive) needs to be rebuilt!
Note: the ICU package for PPC needs to be updated before it can be used!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42638 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-18 22:13:06 +00:00
Matt Madia 5b9c0414de Added two scripts, which attempt to load the appropriate localized docs.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42630 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-13 02:34:16 +00:00
Matt Madia d98662a8a7 Automatic whitespace cleanup. No functional change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42628 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-13 01:53:39 +00:00
Scott McCreary aca6ac3cc2 Added missing gcc2 build of jgmod. This fixes trac ticket #7888.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42599 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-08 15:29:35 +00:00
Alexander von Gluck IV 5e1a7a9299 * these examples should really be commented out
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42572 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-04 14:57:34 +00:00