Commit Graph

1651 Commits

Author SHA1 Message Date
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
Michael Lotz
50a9a98edb Add the pcnet driver to the image and remove reference to the old vlance driver.
It seems to work fine in VirtualBox and makes the network card work that is
emulated by default. From the log it looks like Hugo actually ported/implemented
the driver under VMWare and it worked, so that it isn't in the image looks like
an oversight.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42295 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-06-24 15:37:51 +00:00
Jérôme Duval
6289e476a9 Updated gcc 4 native package to 4.5.3
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42292 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-06-23 18:04:28 +00:00
Scott McCreary
fe55cf20bd Updated curl to 7.21.7
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42291 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-06-23 17:15:55 +00:00
Rene Gollent
c158e82214 Remove bash completion from the image for now, since as currently implemented it breaks the build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42277 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-06-21 18:12:58 +00:00
Brecht Machiels
4a135b33b7 * upgraded bash_completion to v1.3
* upgraded to subversion bash completion script shipped with subversion 1.6.17
* added git bash completion script shipped with git 1.7.5.4
* readded bash completion to the image

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42257 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-06-19 21:19:36 +00:00
Ingo Weinhold
4cc4f7bb18 * Added KMessage to libroot_build.
* libbe_build: Where possible we directly use the actual Haiku headers and
  sources, now. In the headers/build headers we just include the respective
  Haiku headers as needed. That still allows overrides where necessary. The
  intention is to make it easier to keep the build stuff in sync.
* Fixed a few printf() format and signed/unsigned comparison warnings.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42179 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-06-14 11:42:49 +00:00
Ingo Weinhold
c86c8e2163 Added PrivateBuildHeaders and UsePrivateBuildHeaders rules.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42163 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-06-14 00:46:33 +00:00
Ingo Weinhold
af9a2c4e23 Small style cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42162 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-06-14 00:41:12 +00:00
Michael Lotz
e176082424 Add the usb_serial driver and the tty module dependency to the image.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42157 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-06-13 21:35:52 +00:00
Scott McCreary
462d9019a5 Updated KeymapSwitcher which fixes an issue in the 06-11 builds, from S.Zharski.
+alpha3  


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42117 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-06-12 00:38:05 +00:00
Ingo Weinhold
24df65921b Merged signals-merge branch into trunk with the following changes:
* Reorganized the kernel locking related to threads and teams.
* We now discriminate correctly between process and thread signals. Signal
  handlers have been moved to teams. Fixes #5679.
* Implemented real-time signal support, including signal queuing, SA_SIGINFO
  support, sigqueue(), sigwaitinfo(), sigtimedwait(), waitid(), and the addition
  of the real-time signal range. Closes #1935 and #2695.
* Gave SIGBUS a separate signal number. Fixes #6704.
* Implemented <time.h> clock and timer support, and fixed/completed alarm() and
  [set]itimer(). Closes #5682.
* Implemented support for thread cancellation. Closes #5686.
* Moved send_signal() from <signal.h> to <OS.h>. Fixes #7554.
* Lots over smaller more or less related changes.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42116 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-06-12 00:00:23 +00:00
anevilyak
4bcb62ee96 Applied patch by Jean-Loïc Charroud that reworks the anyboot MBR to fix boot
problems on various systems. Resolves #3441. Thanks!

+alpha3



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42104 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-06-11 19:14:49 +00:00
scottmc
ede349bfd9 Updated KeymapSwitcher OptionalPackages with new icon from ZuMi.
+alpha3


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42102 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-06-11 16:35:36 +00:00
Jérôme Duval
32b9a38570 updated DevelopmentJava packages for r1a3 (based on .bep)
+alpha


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42071 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-06-09 18:32:20 +00:00
Scott McCreary
2efeb0d6d2 Disabled BeHappy as an OptionalPackage as it is currently broken. If/when it gets fixed, it will be easy to re-add it.
+alpha3


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42056 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-06-08 17:39:46 +00:00
Scott McCreary
0bae414087 Updated vision OptionalPackage to include a default VisionSettings file. This fixes #6040.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42024 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-06-07 20:00:52 +00:00
Ryan Leavengood
8e4f760cb8 Apply patch from mmadia to add a Release Notes file to the alpha image desktop.
Allow wget to output to files with spaces in the DownloadFile rule.

Fixes #7609.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42015 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-06-07 17:52:13 +00:00
Oliver Tappe
1b3d2b0c46 Simplify haiku-revision for git, now that we provide revision-tags in our central git repo:
* instead of describing the changeset from perspective of the current branch's root,
  we describe it relative to the last reachable hrev-tag


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41979 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-06-06 18:20:38 +00:00
Jérôme Duval
c2826da6d7 make DevelopmentJava available for hybrid builds.
+alpha


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41974 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-06-06 17:07:40 +00:00
Michael Lotz
3e144a2ffd Add the tablet input_server device add-on to the image. It supports absolute
pointing devices that publish entries into /dev/input/tablet.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41950 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-06-05 23:58:35 +00:00
Scott McCreary
0c3a8f1355 Updated armyknife OptionalPackage to fix a couple of mime-type issues
reported and patched by Humdinger.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41914 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-06-04 21:25:04 +00:00
Scott McCreary
f646869dce Updated NetSurf OptionalPackage for alpha3.
+alpha3


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41900 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-06-04 07:35:18 +00:00