Commit Graph

2473 Commits

Author SHA1 Message Date
Alexander von Gluck IV
ecbdee63cf Mesa 9.0.1: Build cleanup
* Try to keep each renderer designed
  the same.
* swrast will build... swpipe won't
  build until we have an llvm build
  package. (should in a few days once
  llvm 3.2 is released)
2012-12-21 19:23:41 -06:00
Alexander von Gluck IV
e685ddf799 libGL: Major shakeup
* libmesa and libgallium no longer live in libGL
* opengl kit gets libglapi for dispatch
* swrast will get libmesa
* swpipe will get libmesagallium + gallium drivers + llvm
2012-12-21 19:23:39 -06:00
Alex Smith
c8d82cf6db Started adding x86_64 support to Debugger.
Stack tracing doesn't work yet, nor does single stepping (somehow
manages to completely freeze the system).
2012-12-19 19:54:20 +00:00
Rene Gollent
bbdb605224 Switch over to using Debugger as the primary system debugger.
- When a crash occurs that requires using consoled, use Debugger
  in CLI mode.

- Closes #1078.
2012-12-18 23:55:49 -05:00
Alex Smith
6e5f42ccc9 Added OpenSSL for x86_64. 2012-12-18 14:47:02 +00:00
Fredrik Holmqvist
f236b941d0 Display controls driver stub.
Work I did at Begeistert, trying to use the new driver manager and
detecting display controls. It should probably be a good example of
how a new driver is built. It currently loads and detects
display controls correctly but doesn't do any actual work yet.
Not sure when I have the time to finish the driver, it shouldn't be
that hard but I currently have have other priorities. Feel free to
work on it in the meantime.
2012-12-15 14:44:13 +01:00
Alex Smith
fbcad4e5e5 Added some more x86_64 optional packages from scottmc. 2012-12-14 17:20:03 +00:00
Ingo Weinhold
f0cacbb32b OptionalBuildFeatures -> BuildFeatures, make use of new rules
Got rid of X86_ONLY and friends in HaikuImage, FloppyBootImage, etc.
Instead we use build feature specification annotated lists with
FFilterByBuildFeatures (either explicitly or implicitly where passing
the list directly to the image rules).

I just translated the variables to the respective annotatation in most
cases, though in some cases different annotation would be more correct
(e.g. for the OpenGL stuff).

Provides a simple framework for addressing #3798. The interested reader
may add the build features and add/adjust the annotations accordingly.
2012-12-09 04:07:48 +01:00
Ingo Weinhold
33c254876c ImageRules: Allow build feature annotated params in Add* rules
More precisely in the rules that take multiple targets. It doesn't make
that much sense e.g. for AddSymlinkTo*.
2012-12-09 04:07:48 +01:00
Ingo Weinhold
ffa0014b8e MiscRule: Add new rules to deal with build features
* EnableBuildFeatures: Enables build features.
* FIsBuildFeatureEnabled: Checks whether a build feature is enabled.
* FMatchesBuildFeatures: Checks more complex build feature
  specifications.
* FFilterByBuildFeatures: Filters lists annotated with build feature
  specifications.
2012-12-09 04:07:48 +01:00
Ingo Weinhold
a3674601c0 HelperRules: Add FSetConditionsHold
A rule to check simple element containment conditions on sets.
2012-12-09 04:07:48 +01:00
Alex Smith
abe053eb03 Added missing libbsd.so and a bunch of optional packages for x86_64 from scottmc. 2012-12-08 12:49:15 +00:00
Alex Smith
dda60bf93a Added ftp to x86_64 image. 2012-12-07 11:12:14 +00:00
Axel Dörfler
f0ae953990 Added libmedia.so, ActivityMonitor, and Sudoku to the 64 bit image. 2012-11-30 13:16:38 +01:00
Alex Smith
133a094f80 Added Python optional package for x86_64. 2012-11-28 21:32:32 +00:00
Alexander von Gluck IV
f125673c3f Rpi: Update instructions based on mmlr's recent work 2012-11-28 14:09:51 -06:00
Michael Lotz
046e01014d Add boot archive base and size and map the boot archive.
An archive (ramfs) to be loaded can be specified in the raspberry pi
config.txt with a certain base address. We can use this to put our
floppy boot archive into memory on startup.

During the start procedure we now map that archive so we can later
load the kernel from it.
2012-11-28 02:00:00 +01:00
Oliver Tappe
7c3985c617 Fix build of gcc2 on BSD (with bsdmake)
* apparently, -j1 doesn't work as intended with bsdmake, so we drop
  any multiple-job specification from MAKEFLAGS, instead
2012-11-23 21:10:24 +01:00
Ithamar R. Adema
c59d7b390f ARM: add optional packages 2012-11-22 00:00:15 +01:00
Alex Smith
5196d5dad0 Merge branch 'master' into x86_64
Conflicts:
	build/jam/HaikuImage
	src/add-ons/kernel/generic/Jamfile
2012-11-18 19:18:00 +00:00
Alex Smith
5f4df83cbd Fixed ARM build. 2012-11-18 19:09:35 +00:00
Alex Smith
5ccc0cb224 Merge branch 'master' into x86_64 2012-11-18 16:42:27 +00:00
Fredrik Holmqvist
553f1ebfc1 Add disabled cpuidle driver and module to haikuImage.
CPU idle still needs some polish, but it should work on
newer cpus.
2012-11-18 17:39:21 +01:00
Alexander von Gluck IV
8a6451b9fd Mesa: Update gcc4 to Mesa 9.0 release
* This is a release version of Mesa
 * A Bep exists on haikuports to generate
   the zip :)
2012-11-18 09:53:14 -06:00
Alex Smith
2913b1dbd2 Compilation fixes for x86_64. 2012-11-18 15:48:47 +00:00
Jérôme Duval
37b14b15ab adding missing ARM_ONLY variable 2012-11-18 15:31:35 +01:00
Alex Smith
11c9f9a1d6 Merge branch 'master' into x86_64
Conflicts:
	build/jam/FloppyBootImage
	build/jam/OptionalBuildFeatures
	build/jam/OptionalPackages
	headers/private/shared/cpu_type.h
	src/bin/ps.c
	src/bin/sysinfo.cpp
	src/kits/tracker/PoseView.cpp
	src/preferences/appearance/DecorSettingsView.cpp
	src/preferences/virtualmemory/Settings.cpp
	src/servers/input/AddOnManager.cpp
	src/servers/input/InputServer.cpp
	src/servers/input/InputServerMethod.cpp
	src/system/boot/Jamfile
	src/system/boot/platform/raspberrypi_arm/mmu.cpp
	src/system/boot/platform/u-boot/arch/arm/Jamfile
	src/system/kernel/arch/x86/arch_cpu.cpp
	src/system/kernel/arch/x86/arch_thread.cpp
	src/system/kernel/cache/block_cache.cpp
	src/system/kernel/vm/VMAnonymousCache.cpp
2012-11-18 14:02:07 +00:00
Alexander von Gluck IV
4ff9f11a00 GLUT: Break GLUT out from libGL
* It was confirmed that GLUT was *not* in libGL
2012-11-16 13:02:21 -06:00
Ithamar R. Adema
d9e5bb0df7 ARM/ICU: add "optional" packages for ICU on ARM 2012-11-16 03:04:27 +01:00
Alexander von Gluck IV
fb7f48a9eb OpenGL Kit: Use GLU-9.0 for gcc2 and gcc4
* As of Mesa3D 9.0+, GLU is a seperate project
 * Our in-tree GLUT builds with GLU-9.0  without
   modification.
 * We ignore the GLU libraries that Mesa-7.8.2 and
   Mesa-8.1-devel provide and use the glu-9.0 ones
 * This is kind of a limbo state, but works for now.
 * Eventually we will be on Mesa 9.0 (which requires
   the external GLU) and Mesa 7.8.2 (which works with
   the newer external GLU) and will rip GLU out of the
   7.8.2 OptionalBuildPackage.
 * I don't *think* we are using the Mesa GLU headers...
   we will know for sure when I pull'em out of the
   OptionalBuildPackages :D
2012-11-13 10:52:06 -06:00
Ithamar R. Adema
5f78788af9 ARM: Initial work on a NOR flash driver
Currently hardcoded to Verdex target. Code prepared to pick up configuration
details from FDT when implemented. Only enabled in FloppyImage for ARM.

This actually enables the kernel to read the content of the image file
passed using the "-pflash" parameter to QEMU....
2012-11-13 00:45:42 +01:00
Jerome Duval
1e6ae0de3a Development: don't link to libs with minor version numbers (for real)
* should help with #9126
2012-11-12 21:06:12 +01:00
threedeyes
caaa0c01ae Add Apple icon translator to the image 2012-11-08 22:28:47 +11:00
Rene Gollent
9fe1a5533f Fix typo in zlib symlink.
Should resolve #9126.
2012-11-08 11:21:35 +01:00
Oliver Tappe
29468041f9 Explicitly use -j1 when building gcc2
* specifying -j1 guards against potential multi-job arguments in
  MAKEFLAGS
2012-11-07 21:56:20 +01:00
Oliver Tappe
d006487564 Force POSIX-locale when building the buildtools
* using a non-POSIX locale may break the build (especially makeinfo),
  so we explicitly set the locale to POSIX
2012-11-07 21:54:02 +01:00
Adrien Destugues - PulkoMandy
f8cdd31970 Update to fRiSS version 0.7
+alpha4
2012-11-06 22:54:19 +01:00
Siarzhuk Zharski
79936aa571 Ensure that KeymapSwitcher does not get stripped on Release build.
See #8603 for history.
2012-11-06 22:20:23 +01:00
Siarzhuk Zharski
5c09b872a6 Added KeymapSwitcher package into release build profile.
+alpha4
2012-11-06 20:22:47 +01:00
Siarzhuk Zharski
d111de5e7f KeymapSwitcher package updated to version 1.2.7.5
* Fixed issue with unwanted keymap switching in case UnZip started in
* background (expanding optional packages during Haiku build, for
* example). UnZip executable has no background application flag
* for unknown reason.

+alpha4
2012-11-06 20:22:44 +01:00
François Revol
d091af40ea Revert hrev44743
Downloaded optional packages aren't actually removed as I thought on jam clean,
so it's not that much useful...
2012-11-04 10:47:37 +01:00
threedeyes
e1f99aae59 NTFS: Added simple disk_system add-on for ntfs 2012-11-04 00:48:07 +00:00
François Revol
962eb4be43 Allow local caching of optional packages
Introduce HAIKU_DOWNLOAD_CACHE variable that can point to a directory.
containing optional packages to check first before downloading.
Missing packages are also added to the cache.
This allows sharing and reusing them to make builds without a connection.
2012-11-04 01:17:00 +01:00
Joseph R. Prostko
ab4ed6e33b Update Puri optional package for libpng update
* Puri wouldn't work after the update to libpng 1.5
* It was still looking for libpng.so.1.4
* Not intended for r1alpha4 branch, as it's still on libpng 1.4
2012-11-01 16:31:10 -04:00
Joseph R. Prostko
e49510df49 Updated GCC2 and GCC4 optional packages
* These were updated again due to recent changes to the buildtools
* Packages are based on btrev43045, whereas the previous set was based on btrev43040
+alpha 4 (GCC2 package needed to match recent date versioning change to configure script)
2012-11-01 11:50:50 -04:00
Joseph R. Prostko
c5af98dce4 Revert of hrev44719
* The buildtool sources were updated in btrev43044 to include the gnu directory
* Now xattr.h (or any future headers in gnu) will be found
2012-11-01 00:11:26 -04:00
Jérôme Duval
4107ac9cda Cleanup of remains of subversion in the build system 2012-10-30 22:36:32 +01:00
Jérôme Duval
0d6a077db2 Development: don't link to libs with minor version numbers
This change should be backported to alpha4 (without the zlib part).
2012-10-30 22:18:42 +01:00
Jérôme Duval
7be608abc4 HPGSTranslator: fix the build
* add missing definition since libpng upgrades
* don't treat warnings as errors
2012-10-30 21:51:23 +01:00
Jérôme Duval
a6a99fce04 zlib: added an optional build package, integrated to the build
* optional package for zlib 1.2.7
* keep zlib in build for the bootloader tarfs
2012-10-30 21:50:24 +01:00
Siarzhuk Zharski
bf855d3754 sys/xattr.h should be installed under 3rdparty instead of gnu directory 2012-10-25 20:47:18 +02:00
Joseph R. Prostko
fd720fd2da Update the GCC4 optional package...yes, again
* This package is current as of btrev43040
* Primarily did this rebuild to assure the GCC4 package was made with the latest buildtool sources
* This invalidates the need to cherry pick hrev44704 for R1A4
+alpha4
2012-10-19 17:29:24 -04:00
Joseph R. Prostko
cb8f90c0c8 Update Perl 5.10.1 GCC4 package for R1A4
* After the SSP fix committed recently for GCC, Perl can now build again correctly
+alpha4
2012-10-17 13:30:12 -04:00
Joseph R. Prostko
02a7951ec0 Update GCC4 package
* This package is smaller in size than the previous due to the fix in btrev43038
* This package addresses issue building code with SSP due to fix in btrev43039
* This commit along with btrev43039 fixes #8931
+alpha4 (and hopefully last update to GCC before R1A4 release)
2012-10-17 08:15:23 -04:00
threedeyes
36a4449ff7 Added Equalizer and VSTHost add-ons to the HaikuImage. 2012-10-13 18:50:36 +11:00
Joseph R. Prostko
e7defb0055 Update GCC2 and GCC4 optional packages for R1A4
* GCC4 was updated to GCC 4.6.3 to fix ICE issue while building natively
+ alpha4
2012-10-12 20:21:12 -04:00
Scott McCreary
e8a905efef Fixed typo 2012-10-02 19:23:13 -07:00
Scott McCreary
ae978eb9ca Updated caya to r279 2012-10-02 08:08:03 -07:00
Scott McCreary
2cf4bb44cf Fix typo. 2012-10-01 23:27:42 -07:00
Scott McCreary
6687d08375 Updated r1a4 builds for a few OptionalPackages 2012-10-01 23:23:01 -07:00
Humdinger
dfefaf1514 Extract demo packages to /boot. Added image package. 2012-09-22 12:32:22 +02:00
Matt Madia
244fb0a393 Rebuilt BeZillaBrowser (for libjpeg update).
Note: This is not for the r1alpha4 branch. That will come later.
2012-09-21 19:38:12 +00:00
Matt Madia
d4cc0de33e Re-enable stripping of debug symbols for @alpha-*, @nightly-*
For a GCC 2 hybrid image, this brings the size down from 781MiB to 743MiB.
2012-09-16 19:47:29 -04:00
Matt Madia
5114fc1dd3 Ensure that wpa_supplicant does not get stripped. See #8603 for history. 2012-09-16 19:45:44 -04:00
Matt Madia
7ae330f46b Updated comment. 2012-09-16 19:45:09 -04:00
Matt Madia
1a53a4d3f5 Refactored the stripping of debug symbols to be a per-archive basis.
Setting 'HAIKU_STRIP_DEBUG_FROM_OPTIONAL_PACKAGES = 1' will enable the
mechanism. By default all packages will be stripped. Passing anything
other than '1' or 'true' in the InstallOptionalHaikuImagePackage call
will disable it for a particular package.
2012-09-16 19:41:24 -04:00
Scott McCreary
c2ff7a30e3 Add OptionalPackage Droid, font from Google's Android project 2012-09-13 20:25:40 -07:00
Scott McCreary
4f444fab2e Add OptionalPackage Nanumfont, a Korean monospace font 2012-09-13 20:10:00 -07:00
Scott McCreary
8e77147bfc Rebuilt some more packages mostly to fix directory issues. 2012-09-12 22:48:04 -07:00
Jérôme Duval
ce14ea0c3e DevelopmentMin optional package: add 3rdparty headers
* Add freetype, libpng and jpeg headers
2012-09-12 22:12:32 +02:00
Scott McCreary
30aeebc716 Rebuilf beam and transmission gcc4 packages 2012-09-11 23:45:07 -07:00
Scott McCreary
554fe146cb Updated several more OptionalPackages 2012-09-11 23:45:06 -07:00
Alexander von Gluck IV
1946d374f2 rPi: Update boot process for later Pi firmwares
* The bootprocess is better documented now.
  Put technical info in linker script, user info
  into info.txt
2012-09-09 21:10:16 -05:00
Alex Smith
c88f4908d8 Added missing AHCI driver in FloppyBootImage, should fix #8943. 2012-09-08 09:33:13 +01:00
Scott McCreary
d9cfdbd1e9 Fix typo 2012-09-04 21:38:00 -07:00
Scott McCreary
aa8be1fc17 Update several more packages for R1A4 2012-09-04 21:19:22 -07:00
John Scipione
e85dfa6bad Update optional package for Colors! 2012-09-03 17:23:06 -04:00
Matt Madia
cd9b8bf005 FIXED the urls of several optional packages. 2012-09-02 17:29:13 +00:00
Rene Gollent
6cf32e83ad Update webkit package to incorporate fixes for #8871. 2012-08-31 23:27:00 -04:00
Rene Gollent
e652fc18b6 Update webkit package to account for newer libpng/libjpeg. 2012-08-31 21:11:43 -04:00
Rene Gollent
fb5ef78df0 Slight cleanup. Fix missing separator in texinfo path. 2012-08-31 20:34:56 -04:00
Scott McCreary
61306f15a1 Rebuilt many OptionalPackages for R1A4 2012-08-31 00:14:57 -07:00
Alex Smith
ceb29f6dac Add ProcessController, NetworkStatus and StyledEdit to image. 2012-08-30 16:19:06 +01:00
Jérôme Duval
17ce10a770 fix libpng link introduced in 61cb4d8c6d 2012-08-29 20:44:42 +02:00
Jérôme Duval
61cb4d8c6d libpng and jpeg: build against optional packages.
* added optional feature package for libpng 1.5.12 gcc4/gcc2 x86 and ppc
* drop libpng sources and headers from the tree.
* added optional feature package for jpeg 8d gcc4/gcc2 x86 and ppc
* drop jpeg sources and headers from the tree.
2012-08-27 22:03:18 +02:00
Matt Madia
a441887328 Added 'diskimage' to image.
Allows one to register a file as disk, which  can then be mounted.
To note, one application of this is to allow mounting of anyboot images.
Fixes #5578.
2012-08-22 17:51:13 +00:00
Joseph R. Prostko
f49d27c7ed Allow Puri to be added to GCC2 hybrid builds 2012-08-21 22:20:13 -04:00
Alex Smith
4591ebc99a Fixes for building Haiku x86_64 from itself. 2012-08-18 19:57:46 +01:00
Alex Smith
aecb9567e3 Rebuilt flex package for x86_64.
The original package was cross-compiled to Haiku, turns out flex's
build system uses paths to stuff from the host system, so the package
was broken. Rebuilt from Haiku.
2012-08-18 19:07:25 +01:00
Alex Smith
6314232f45 Added VirtualMemory preferences to image. 2012-08-18 12:12:36 +01:00
Alex Smith
3c230971db 64-bit fixes for sis900 network driver. 2012-08-18 11:51:17 +01:00
Alex Smith
be2f57f0de 64-bit fixes for wb840 network driver. 2012-08-18 11:47:03 +01:00
Alex Smith
816aded4c1 Added Installer and DriveSetup to image. 2012-08-18 10:36:00 +01:00
Scott McCreary
b9398be907 Added chess game Puri as an OptionalPackage 2012-08-17 05:33:02 -07:00
Matt Madia
efb1039348 Increase the size of the nightly images. 2012-08-18 10:36:41 -04:00
Matt Madia
467f607aa3 Add WebPositive catalogs to gcc2hybrid images. Fixes #8846. 2012-08-18 10:33:39 -04:00
Alex Smith
3bf3aa2e2c Added the rest of the basic development packages.
Added autoconf, automake, libtool, texinfo, perl, gettext and nano.
Building an image with the nightly targets should give you an image
with these included.
2012-08-17 13:03:31 +01:00
Alex Smith
55e16d9d43 Added OHCI to image (thanks mmlr), RTF-Translator -> RTFTranslator. 2012-08-16 21:24:48 +01:00
Alex Smith
e688bf23d4 Merge branch 'master' into x86_64
Conflicts:
	src/servers/app/ServerWindow.cpp
2012-08-16 21:11:15 +01:00
Alex Smith
602d9c96a5 Added some of the development optional packages.
This adds some of the development packages for x86_64. All of the
DevelopmentBase packages (gcc, make, jam, bison, flex, m4, mkdepend)
have been built and uploaded.
2012-08-16 20:32:29 +01:00
Oliver Tappe
e19d7089a7 Fix #8841 (broken localization support for 3rd-party apps).
* made private Catalog.h header public by moving it to 
  os/locale/tools/CollectingCatalog.h
* reintroduce B_COLLECTING_CATKEYS define (which is expected to be set
  during a collectcatkeys session) in order to decide whether or not
  to automatically include the CollecingCatalog.h header from Catalog.h
* adjust jam rule for collecting catalog keys accordingly
2012-08-16 21:12:55 +02:00
Alex Smith
aaeadfcb02 Do a separate libgcc build for the kernel as well.
Turns out that libgcc is needed, for some reason building the kernel
with -O0 does not end up referencing libgcc but -O2 does. A separate
build of it is done with -mno-red-zone, same reason as for libsupc++.
Ended up being easy to rebuild with different CFLAGS: previously I'd
tried doing `CFLAGS="-mno-red-zone" make` in the libgcc dir which
didn't override, the correct way is `make CFLAGS="-mno-red-zone"`
2012-08-16 17:38:01 +01:00
Alex Smith
c864ba1a2d Build a separate libsupc++ for the kernel with correct flags.
Kernel mode code on x86_64 needs to be built with -mno-red-zone as
interrupts would corrupt the red zone if it were in use. However, the
kernel is linked with libsupc++, which was not compiled with
-mno-red-zone. If an interrupt occurred in libsupc++ code the red zone
would get corrupted. This was causing random panics, particularly under
heavy system load. Therefore, on x86_64 a separate build of libsupc++
with -mno-red-zone is now done for the kernel to use. Note: this commit
will require a rerun of configure and rebuild of cross tools.
2012-08-16 13:57:04 +01:00
Matt Madia
51014b9eb6 Revert "ffmpeg: switch to 0.11.1" (hrev44483)
This reverts commit 14b654326d.

Unfortunately that changeset causes a regression on GCC 2, which
makes playback of (some?) video impossible. This is due to Libavcodec
being miscompiled, which requires gcc >= 4.2

Resolves the regression of #8856, but does not fix the root issue.
2012-08-14 18:24:12 -04:00
Rene Gollent
ebe79dfe77 Added GCC4 packages of liblayout, BePDF and Beam.
Provided by Chris Roberts. Thanks!
2012-08-12 16:01:50 -04:00
Ryan Leavengood
315d8b69d7 Rename RTF-Translator to RTFTranslator. 2012-08-12 12:41:01 -04:00
Rene Gollent
e68cc8b0a4 Fix typo. 2012-08-11 10:08:52 -04:00
Alex Smith
d384cac443 Support ELF64 in set_haiku_revision. 2012-08-11 09:17:15 +01:00
Alex Smith
8098ef47db Added Network preferences. 2012-08-10 16:55:53 +01:00
Alex Smith
6d796a84bd Fixed up network stack and drivers for x86_64.
* Various compilation fixes.
* Fixes to the FreeBSD compatibility layer (from comparing the x86-
  specific bits with the equivalent amd64 sources in FreeBSD).
* Compile all the Ethernet drivers except for sis900 and wb840, these
  require a bit more work to fix (will file a ticket soon). Tested
  ipro1000 and rtl81xx, no issues.
2012-08-10 14:30:54 +01:00
Alex Smith
2b861dd2a5 Added translator add-ons. 2012-08-10 11:35:24 +01:00
Alex Smith
5084d0d451 Added more things to x86_64 image.
Some preference apps, mount_server and AboutSystem. Removed the check
for x86_64 in the boot script, the normal path through the script will
work now. Also removed a temporary hack to workaround AboutSystem not
being there in build_haiku_image.
2012-08-10 09:32:54 +01:00
Alex Smith
e963289800 Added Tracker and Deskbar to x86_64 build. 2012-08-09 19:36:52 +01:00
Alex Smith
f3e4f18be7 Debugging fixes.
* INT3 had the wrong DPL set in the IDT, could not be raised from
  userland.
* Need the debug server running.
2012-08-09 09:17:04 +01:00
Alex Smith
a5e96a301e Merge branch 'master' into x86_64 2012-08-09 08:24:50 +01:00
Alex Smith
a3802ca967 x86_64 support for GDB.
As mentioned in one of the previous commits, breakpoints don't work
properly yet, and I haven't done much extensive testing yet, but the
basic functionality works.
2012-08-07 20:24:55 +01:00
Jérôme Duval
14b654326d ffmpeg: switch to 0.11.1 2012-08-07 00:53:29 +02:00
Alex Smith
2997a19125 Fixed UHCI for x86_64. 2012-08-06 12:29:12 +01:00
Rene Gollent
44672ada83 Add usb_hid to image and get it building/working. 2012-08-06 09:54:18 +01:00
Alex Smith
abfb41a2ab Added USB modules to image. 2012-08-06 09:47:12 +01:00
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
Ingo Weinhold
19ae20e67e Merge branch 'master' into pm-flat
Conflicts:
	build/jam/HaikuImage
	build/jam/OptionalBuildFeatures
	build/jam/OptionalPackages
	build/jam/UserBuildConfig.sample
	data/bin/installoptionalpackage
	src/apps/deskbar/DeskbarMenu.cpp
	src/servers/debug/DebugServer.cpp
	src/system/kernel/fs/vfs.cpp
2011-11-05 17:00:01 +01: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
Alexander von Gluck IV
1c623886b3 * undo accidental change
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42565 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-04 03:56:54 +00:00
Alexander von Gluck IV
f0b0d6cb37 * use create_area correctly
* AtomBIOS is now loaded and passed into the radeon_hd accelerant
* correct pointer passing in bios_init
* AtomBIOS is now read and initialized by AtomBIOS parser
* feel free to start testing the driver again :-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42564 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-04 03:55:01 +00:00
Scott McCreary
360ac869d3 Updated apr to 1.4.5, apr-util to 1.3.12 and subversion to 1.6.17.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42562 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-03 23:34:01 +00:00
Fredrik Holmqvist
fae1d2ab81 Adding a sample on how to add a gfx driver, which is a driver and an accelerant. Makes a good example imo.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42559 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-03 22:25:04 +00:00
Scott McCreary
b0af58132b Fixed url for sdl-gfx.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42525 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-01 00:34:22 +00:00
Clemens Zeidler
6a0ed7da53 Move S&T back into the app server.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42501 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-26 22:18:55 +00:00
Clemens Zeidler
93a0b8fa8b Remove not working decorators.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42480 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-25 01:10:51 +00:00
Ingo Weinhold
8212d04704 Repackage BeZillaBrowser as hpkg 2011-07-18 21:04:33 +02:00
Ingo Weinhold
f642202ae8 Updated gcc 2.95.3 package
The /boot/common include paths are now built in.
2011-07-17 16:55:17 +02:00
Ingo Weinhold
a0f6347784 Fix location of the Deskbar menu symlinks 2011-07-17 16:55:14 +02:00
Ingo Weinhold
e96cbb12b4 Update cmake package, create doxygen package 2011-07-17 16:55:13 +02:00
Ingo Weinhold
e94674ce75 cmake 2.8.5 optional package repackaged as hpkg 2011-07-17 16:55:13 +02:00
Ingo Weinhold
b489481920 Create /boot/apps and /boot/preferences symlinks 2011-07-17 16:55:01 +02:00
Ingo Weinhold
b5831cdf17 Disable WonderBrush until repackaged 2011-07-17 16:55:00 +02:00
Ingo Weinhold
c9c6e36537 Use PropagateContainerUpdateTargetFlags rule
Propagate all update variables in CopySetHaikuRevision and for the
kernel pseudo target.
2011-07-17 16:54:59 +02:00
Ingo Weinhold
b059c5e4fc Add PropagateContainerUpdateTargetFlags rule
It propagates the HAIKU_INCLUDE_IN_IMAGE and HAIKU_INCLUDE_IN_PACKAGES
variables from one target to another.
2011-07-17 16:54:59 +02:00
Ingo Weinhold
5e2b650281 Update support for update-* targets
Set HAIKU_PACKAGES_UPDATE_ONLY and HAIKU_INCLUDE_IN_PACKAGES when one of
the pre-build-profile update-* targets are used.
2011-07-17 16:54:59 +02:00
Ingo Weinhold
fd03be4838 ExtractArchiveToContainer: Add update support
Add an alwaysUpdate parameter like the ExtractArchiveTo{Image,Package}
rules have and do the handling in the base rule.
2011-07-17 16:54:58 +02:00
Ingo Weinhold
319b1a7b3b Don't add directories explicitly to packages
Directories are added implicitly when entries are added, so there's no
need to add those directories. Directories without content don't need to
be added either, since due to the read-only nature of packages they will
remain empty.
2011-07-17 16:54:58 +02:00
Ingo Weinhold
204261b63a AddFilesToContainer: avoid unnecessary work
* If after filtering the list of targets is empty, return.
* Get the directory only afterwards.
2011-07-17 16:54:58 +02:00
Ingo Weinhold
161d45feb5 Support for package "update" build profile action
* Add global HAIKU_PACKAGES_UPDATE_ONLY build system variable, which is
  set for the "update" and "update-all" build profile actions.
* Change the HAIKU_INCLUDE_IN_CONTAINER_VAR variable on packages to
  HAIKU_INCLUDE_IN_PACKAGES for all packages. The variable is also
  set for the "update" and "update-all" build profile actions.
* Introduce HAIKU_CONTAINER_INHERIT_UPDATE_VARIABLE on container
  variable. If set, the contained variable will be set on the container
  when one or more files in it are updated. It is set on packages so an
  update of a file in a package causes the package to be updated in the
  image.
* Introduce HAIKU_CONTAINER_ALWAYS_CREATE_DIRECTORIES on container
  variable. If set, directories will be created also in update mode. It
  is set on packages.
2011-07-17 16:54:58 +02:00
Ingo Weinhold
32081667b1 Make use of package create -i option 2011-07-17 16:54:51 +02:00
Ingo Weinhold
fd0e9e33d0 Fix bison hpkg package name 2011-07-17 16:54:50 +02:00
Ingo Weinhold
dfa6888fb2 Remove InstallCommonPackage rule 2011-07-17 16:54:49 +02:00
Ingo Weinhold
00043b5320 Use InstallOptionalHaikuImagePackage for gcc too 2011-07-17 16:54:49 +02:00
Ingo Weinhold
80399d67d3 Don't create empty non-writable common directories 2011-07-17 16:54:48 +02:00
Ingo Weinhold
78c665f2c3 lpe symlink is in the pe package now 2011-07-17 16:54:48 +02:00
Ingo Weinhold
075913f32d Move gutenprint data files to system 2011-07-17 16:54:48 +02:00
Ingo Weinhold
a6e73cb9e8 Remove installoptionalpackage 2011-07-17 16:54:48 +02:00
Ingo Weinhold
4dbc245798 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-07-17 16:54:47 +02:00
Ingo Weinhold
d3deb18a2d Repackage default optional packages as hpkg files 2011-07-17 16:54:46 +02:00
Ingo Weinhold
64b8c37680 Move post install files to system package 2011-07-17 16:54:46 +02:00
Ingo Weinhold
430689a688 Move hpkgBaseURL definition before its first use 2011-07-17 16:54:44 +02:00
Ingo Weinhold
b478cc3fc5 Put TimGMSoundFont package in the right directory 2011-07-17 16:54:22 +02:00
Ingo Weinhold
3f6ca2fdca Move remaining /boot/system contents into packages
* Build system: Create packages haiku-devel, haiku-welcome,
  haiku-userguide, and makefile-engine.
* The TimGMSoundFont and BeBook zip files have been repackaged as hpkg
  files.
* Adjust the optional package definitions accordingly.
2011-07-17 16:54:19 +02:00
Ingo Weinhold
fdc30d62ce Fix gcc2 and ICU optional packages
* InstallOptionalHaikuImagePackage: In case of hpkg packages, copy them
  to the target directory, instead of extracting them.
* Correct gcc 2 package download URL.
* The ICU gcc 2 optional packages has been repackaged as hpkg. Use that.
  For gcc 4 things are broken, now.
2011-07-17 16:54:19 +02:00
Ingo Weinhold
f724ec0e1e ExtractArchive: Add hpkg support 2011-07-17 16:54:18 +02:00
Ingo Weinhold
ba65f94667 Fix image rules wrt system/ relative entries
* Introduce on-container jam variable HAIKU_CONTAINER_SYSTEM_DIR_TOKENS
  containing the directory tokens relative to the container root to
  refer to system.
* Use the variable in *ToContainer rules that need to put something in
  system.
* AddFilesToContainer: Fix overlooked reference to AddFilesToHaikuImage.
* AddBootModuleSymlinksToContainer: Use relative symlinks. This avoids
  special-casing in the boot loader for packagefs.
2011-07-17 16:54:17 +02:00
Ingo Weinhold
6d7953ef0a Add boot module symlink for packagefs 2011-07-17 16:54:16 +02:00
Ingo Weinhold
abc3c57ba6 KernelLd rule: opt-out linking against libsupc++
Introduced HAIKU_NO_LIBSUPC++ variable on target to prevent linking
against libsupc++.
2011-07-17 16:54:14 +02:00
Ingo Weinhold
624b7c8958 Add system package to image 2011-07-17 16:54:13 +02:00
Ingo Weinhold
2bda1e84fe Package rule: introduce current package notion
The HaikuPackage rule now sets the variable
HAIKU_CURRENTLY_BUILT_HAIKU_PACKAGE to the given package and all
*ToPackage rules use that instead of a parameter. This saves passing the
package in each of those rule invocations.
2011-07-17 16:54:13 +02:00
Ingo Weinhold
dcdeed6176 AddDirectoryTo{HaikuImage,...} refactoring
Move common code from AddDirectoryToHaikuImage/AddDirectoryToPackage to
AddDirectoryToContainer. AddDirectoryToPackage was incorrect, using an
incorrect search directory for the attribute files.
2011-07-17 16:54:12 +02:00
Ingo Weinhold
d1f40ef636 HaikuPackages: Remove the "system" path component 2011-07-17 16:54:12 +02:00
Ingo Weinhold
355b8ba755 Build a system Haiku package
* Create rules (build/jam/PackageRules) and a script,
  build_haiku_package, to build hpkg files.
* Move all rule invocations that copy files and created symlinks and
  directories in the "system" directory from HaikuImage to
  HaikuPackages, which creates a package "haiku.hpkg".
* build_haiku_image: Comment out adding the copyrights info to
  AboutSystem for the moment.
2011-07-17 16:54:11 +02:00
Ingo Weinhold
9e3bdfb0ef Generalize some image rules
Pulled generalized *ToContainer versions out of several *ToHaikuImage
rules.
2011-07-17 16:54:11 +02:00
Ingo Weinhold
a1cada9784 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-07-17 16:54:10 +02:00
Ingo Weinhold
f1eeb32334 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-07-17 16:54:08 +02:00
Ingo Weinhold
bc93eff874 Added BuildPlatformStaticLibraryPIC rule.
It works like BuildPlatformStaticLibrary, but generates position
independent code.
2011-07-17 16:54:06 +02:00
Oliver Tappe
3dfd9cb95c Flat commit of all changes from package-management branch in svn 2011-07-17 16:54:06 +02:00
Ingo Weinhold
b5a7089a43 OptionalBuildFeatures: Specify a grist for ExtractArchive. We would otherwise
get clashes between target names e.g. between the "common/include/" for OpenSSL
and the one for CLucene. Should fix #7798.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42402 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-10 15:18:52 +00:00
Ryan Leavengood
83a30ba91e Implement #7495 as per Matt and Ingo's suggestions.
The various LC_ environment variables (as well as LANG) are set in
/etc/profile, based on the output of this new simple bin command locale.
LANG and LC_CTYPE are set based on the first preferred language, whereas the
formatting variables are all set based on the formatting conventions language.

The list of LC_ variables are from the locale command on Linux.

Based on my testing, at least the date command obeys these variables.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42394 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-09 04:29:20 +00:00
Siarzhuk Zharski
698b6790bc * Network driver for DEC/21143 and K° ("dc") ported from FreeBSD 8.2;
* Network drivers for 3com, ipro100, rtl8139 are updated from FreeBSD 8.2 Release branch;
* Some functions, defines and typedef required by updated and fresh ported FreeBSD
  drivers were added into freebsd_compat layer.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42393 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-08 23:00:38 +00:00
Axel Dörfler
13bec72c73 * Add IPv6 modules to the build; they shouldn't do any harm at least, and a bit
more testing can't hurt.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42382 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-06 16:51:01 +00:00
Scott McCreary
1dcae018bc Updated python to 2.6.7.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42308 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-06-25 02:08:27 +00:00