Commit Graph

1024 Commits

Author SHA1 Message Date
François Revol 4dc69971bc Force 64bit for i686-apple-darwin10 (OSX), since it seems to fool everyone about it being still 32bit (well the kernel maybe but not the rest). This makes the build go further along on OSX 10.6.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34522 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-06 14:22:44 +00:00
Ingo Weinhold fc7864091e Attempt at allowing to use C++ structures in C only code: We use the
CreateAsmStructOffsetsHeader mechanism to generate a header with macros
defined to the sizes of the structures we're interested in and when compiling
in C mode define the structures as "struct { char bytes[size]; }".
It works in principle, but due to how jam works, one would have to specify the
dependency to the generated header for all sources that include it directly or
indirectly.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34441 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-02 10:56:10 +00:00
Ingo Weinhold ba829ba0f9 Adjusted gcc2 work-around to renamed file.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34418 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-01 17:07:10 +00:00
Rene Gollent bef04468c3 Add missing optional package dependency between Curl and OpenSSL as pointed out by Adrian Panasiuk. Resolves ticket #5059.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34396 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-30 23:43:39 +00:00
Colin Günther 048efdbc0a Including atheros wlan driver and atheros813x ethernet driver into the build
images. The atheros wlan driver isn't included in the NetBootArchive, because
you can't tell the driver, which wlan it should connect to.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34369 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-30 11:42:19 +00:00
Scott McCreary c6406d4645 Updated autoconf to 2.65.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34327 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-28 12:57:44 +00:00
Scott McCreary e49733cf63 Updated python build to use newer patch which was updated by Chris Roberts. Added Bzip2 and made it a dependency for python. This now allows python to extraxt .bz2 files.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34277 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-26 12:53:30 +00:00
Ingo Weinhold d52f7d5214 Added potential HAIKU_OFFICIAL_RELEASE macro definition to be defined in the
release branch. This completes the build system part of #5036.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34275 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-26 11:34:55 +00:00
Ingo Weinhold 6236ae8570 Also include HaikuBuildCompatibility.h on a Haiku host platform and
conditionally define some of the new stuff there. That fixes the build under
a r34172 Haiku, though it also causes some problems that needed working around.
Haven't tested under newer Haiku revisions yet. Will do tomorrow.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34267 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-25 23:48:45 +00:00
Axel Dörfler 2f1e464a8c * We need to define __STDC_FORMAT_MACROS, and __STDC_LIMIT_MACROS under BeOS
compatible platforms as well, Ingo. This fixes building Haiku under Haiku.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34248 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-25 16:33:10 +00:00
Ingo Weinhold a79e0ef1ad Also add __STDC_LIMIT_MACROS to the host defines. It gives us macros like
INT32_MAX.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34240 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-25 11:58:09 +00:00
Ingo Weinhold bdfce0e900 Define __STDC_FORMAT_MACROS directly in HOST_DEFINES.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34217 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-24 20:19:08 +00:00
Ingo Weinhold 2222d0559d * Introduced new header directory "config", which ATM contains HaikuConfig.h
and types.h. The idea is to provide a basic architecture/compiler
  abstraction by defining types and macros that allow the posix/ and os/
  headers to be mostly architecture/compiler agnostic. 
* Adjusted the posix/ and os/ headers accordingly.
* <SupportDefs.h>: Introduced B_PRI* and B_SCN* macros similar to the PRI*
  and SCN* macros defined in <inttypes.h>, just for the BeOS/Haiku [u]int*
  types and some POSIX types (e.g. off_t, dev_t, ino_t) that don't have POSIX
  macros. Also the B_PRI* and B_SCN* macros are available unconditionally,
  unlike the <inttypes.h> macros, which require __STDC_FORMAT_MACROS to be
  defined in C++ mode.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34214 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-24 19:44:07 +00:00
Ingo Weinhold a85cf9d793 * configure: Pass gcc's host machine string to the jam build system.
* BuildSetup: Set jam variable HOST_PLATFORM_IS_64_BIT and add host define
  HAIKU_HOST_PLATFORM_64_BIT if the host platform is 64 bit. Removed the
  check from BeOSBuildCompatibility.h.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34211 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-24 18:57:49 +00:00
Ingo Weinhold 60d8d8fcc5 * Added -j<n> option to configure. It is passed to the
build_cross_tools[_gcc4] script which in turn passes it to make. Cores and
  hyperthreads are plentiful these days; no need to let most of them idle when
  building the cross tools.
* Sorted the configure options alphabetically again.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34199 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-23 19:34:55 +00:00
Scott McCreary 964a28d1ec Updated cmake to release 2.8.0 and libtool to 2.2.6b
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34124 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-19 09:05:46 +00:00
Ingo Weinhold 9d14ecca03 Build package and packagefs with -Werror.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34067 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-15 23:22:27 +00:00
Axel Dörfler d0f7736d3a * Moved spell check files to /system/data/spell_check.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33988 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-10 16:29:47 +00:00
Axel Dörfler 492dd892ce * Removed /system/etc directory.
* /etc now points to /boot/common/etc/, and the remaining contents of the former
  "etc" are put there now, as well.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33986 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-10 14:26:42 +00:00
Axel Dörfler 3734adc5b3 * Build fix of the timezone/keymap move. Sorry!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33985 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-10 14:21:27 +00:00
Axel Dörfler 3578c56a15 * Moved timezone and keymap source files to the correct place in the repository.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33984 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-10 13:48:56 +00:00
Axel Dörfler f9a80fec95 * LocaleRoster.h was not self-containing.
* Moved the locale stuff to the data directory as well (some parts were in /etc).
* The DefaultCatalog will now also scan the user directory for catalogs.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33983 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-10 13:44:22 +00:00
Axel Dörfler c6106a595d * Fixed bug in "fortune" that would let it crash if you'd point it to an empty
directory.
* Moved fortune files to "data/system/data" in the repository, and /system/data/
  in the file system.
* Got teapot.data location wrong in the repository.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33982 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-10 13:09:32 +00:00
Axel Dörfler 0491552bc3 * Moved the "fonts" directory into the "data" directory.
* Moved fonts to where they belong.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33981 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-10 12:30:06 +00:00
Axel Dörfler 126fd25b7a * Moved teapod.data from /etc to B_SYSTEM_DATA_DIRECTORY.
* Automatic whitespace cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33975 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-10 11:08:14 +00:00
Scott McCreary dd346d1228 Updated openssl to 0.9.8l.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33962 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-09 16:45:00 +00:00
Axel Dörfler 66570f5d3b * Replaced "Mark As New" with a "Mark As…" Tracker add-on that let you choose
among all defined status.
* Note, until bug #4851 is solved, the list Mail shows might differ from the
  one "Mark As…" shows.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33960 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-09 13:17:47 +00:00
Axel Dörfler 6242fd5977 * Added the possibility to debug latency issues with spinlocks.
* When DEBUG_SPINLOCK_LATENCIES is 1, the system will panic if any spinlock is
  held longer than DEBUG_LATENCY micro seconds (currently 200). If your system
  doesn't boot anymore, a new safemode setting can disable the panic.
* Besides some problems during boot when the MTRRs are set up, 200 usecs work
  fine here if all debug output is turned off (the output stuff is definitely
  problematic, though I don't have a good idea on how to improve upon it a lot).
* Renamed the formerly BeOS compatible safemode settings to look better; there
  is no need to be compatible there.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33953 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-08 20:26:48 +00:00
Fredrik Modeen 17d16e0e61 The last commit in this serie, I have a datafile shoul I unclude that in some way?
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33849 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-30 21:42:18 +00:00
Scott McCreary ae3eeac13b Updated build of python-2.6.4 to include patch from Chris Roberts which fixed zlib support. This fixes HaikuPorts ticket #239
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33810 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-28 14:07:36 +00:00
Scott McCreary 145eef6021 Added CMake as an Optional Package.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33802 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-28 02:26:36 +00:00
Axel Dörfler 3ac4f1f258 * I even had a second look, but didn't spot this one - thanks Urias!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33786 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-27 12:12:27 +00:00
Scott McCreary 94aefa169e Updated python to 2.6.4
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33784 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-27 05:36:14 +00:00
Jérôme Duval 106e455e76 Patch from Joseph Protsko: P7zip optional package for GCC4 (#4842)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33763 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-25 20:01:33 +00:00
Axel Dörfler 4cadec3d6e * Thanks for the heads up, David! :-))
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33738 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-23 00:20:53 +00:00
Axel Dörfler f28dd36b82 * The alphabet is obviously hard, moved some tracing defines at their
(hopefully) correct place.
* It seems to be even harder to understand basic locking primitives: when you
  think about it, it shouldn't surprise you that conditional variables never
  return B_WOULD_BLOCK. This fixes gdb again.
* Added tracing support to the ports subsystem.
* get_port_message() will now resize the port heap if needed (but will also
  take timeouts into account while doing so, more or less). The initial port
  space is 4MB (as before), the growth rate is the same, and the system wide
  limit is arbitrarily set to 64 MB (all swappable). A team limit has been set
  to 8 MB, but is not enforced yet. Since ports are using up address space in
  the kernel, those seems to be proper limits.
* This also fixes a strange, and rare lockup where the mouse cursor would still
  move, but everything else would basically hang, but look perfectly normal from
  KDL on the first look. As recently happened on Brecht's laptop, and debugged
  by mmlr and me: the cbuf space got used up when lots of windows wanted to
  redraw after a workspace switch. The app_server wouldn't answer anymore to
  client requests, but thought it would have done so, as LinkSender::Flush()
  doesn't care if it got a B_NO_MEMORY (the ports will now block until memory
  is available if possible, so that should not be a problem anymore).
* Improved "port" KDL command, it now also prints the messages in the port.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33735 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-22 23:14:10 +00:00
François Revol 449b4c4192 Board definition file for the Openmoko Neo FreeRunner I just got given by a generous donator. ;)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33664 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-19 20:34:55 +00:00
Scott McCreary 1f57d0422c updated libxml2 2.7.6
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33648 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-19 05:48:20 +00:00
Stephan Aßmus 55b42c2b4d Patch by Pieter Panman:
* Rewrote Devices application. -> Thanks a bunch!! Nice work!
* Put Devices onto the image.

Changes by myself:
* Merge some code from the old "preflet" which the new app still relied on.
* Fixed some coding style issues. I didn't review all of the code yet, though.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33640 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-18 17:59:07 +00:00
Scott McCreary 978c92db2f Updated apr to 1.3.9
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33634 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-18 10:28:45 +00:00
Adrien Destugues 67bcc8cb69 Removed accidental debug. Thanks Stephan !
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33627 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-17 21:20:04 +00:00
Adrien Destugues e983ba85e9 Move the Locale Kit catalogs in a common place in data/catalogs.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33624 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-17 19:04:55 +00:00
Michael Lotz cf723bc673 Make the nightlies a bit bigger. They were completely filled and probably missed
some files from optional packages.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33611 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-17 11:41:25 +00:00
Axel Dörfler 6a6aa9bdb0 * Someone forgot to add the mount_server to the image, causing Haiku to wait
forever for it on boot... :-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33569 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-13 07:17:34 +00:00
Michael Lotz 39e251f2d2 Remove the -U option when building the CD. It's not needed as we use rockridge
anyway and makes the CD more compliant.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33565 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-13 02:03:01 +00:00
Scott McCreary c5e5cd3b04 Fixed neon build to remove dependency on gettext
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33538 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-11 21:38:56 +00:00
Axel Dörfler 31d18c5c55 * For some reason, the ICOTranslator was not included in the image.
* Automatic whitespace cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33537 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-11 21:06:59 +00:00
Scott McCreary 79273df015 Updated builds of openssh and neon
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33509 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-11 05:37:21 +00:00
Michael Pfeiffer afa7938a8d - Cleaned up usb_printer driver.
- Fixed issues sending data over USB bus (actually write data when
requested to; increased timeout when writing data).
- Added usb_printer to build and Haiku image.
- Sending data to printer over USB bus works now in Haiku (cat ... >
/dev/priner/usb/0). Not sure if it works when printing from an
application as I don't have a driver that supports my printer yet.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33501 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-10 15:08:58 +00:00
Michael Pfeiffer 56cd7d5c50 Added Print folder to user settings add-on folder. Some third party
printer drivers expect the existence of this folder (for instance
Philippes Canon bubblejet driver).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33500 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-10 14:58:54 +00:00