Commit Graph

2503 Commits

Author SHA1 Message Date
Oliver Tappe
68f8b94e2a Drop --remote-user configuration option again.
* as Ingo has pointed out, the remote user settings doesn't
  relate to the build configuration at all, so setting the
  remote user via HAIKU_REMOTE_USER in UserBuildConfig or
  via shell environment is the way to go
* additionally: drop debug output
2014-01-22 17:31:26 +01:00
Oliver Tappe
86d7e28306 Add support for specifying remote ssh login user.
* add option --remote-user to configure, which sets HAIKU_REMOTE_USER
* add evaluation of HAIKU_REMOTE_USER variable when ssh-ing
  into git.haiku-os.org
2014-01-22 09:36:26 +01:00
Alexander von Gluck IV
e1cb851018 mesa: update x86 packages to 10.0.2-2
* Revision bump goes from llvm-3.2 to llvm-3.4 internally
* mesa_swpipe gallium llvmpipe renderer is working again, enjoy!
2014-01-22 00:55:54 -06:00
Alexander von Gluck IV
1fe66815b7 mesa: update x86 packages to 10.0.2-1
* Fixes x86 primary side of #10456
* x86 secondary still needs rebuilt
2014-01-21 22:08:06 -06:00
Rene Gollent
6a5f0f4da6 Vision: fix missing icon. 2014-01-19 17:41:38 -05:00
Ingo Weinhold
be5e6fefdf Add repository config for the Haiku repository to the image
* HaikuRepository rule: Create the repository config.
* HaikuImage: Add the repository config for the Haiku image. The
repository cache is not added, though (it would only be available, if
the repository had been built before).

Implements #10287. The Haiku repository is now available in Haiku by
default.
2014-01-19 00:49:11 +01:00
Ingo Weinhold
f0b99b54bb RepositoryConfig rule: Make a bit more generic
Instead of the repository the URL can now be passed. It can use the
"$version" placeholder, which will be replaced by the content of the
given version file. If the URL is not given, the one from the repository
info will be used.
2014-01-19 00:49:11 +01:00
Ingo Weinhold
12c19e6362 Move creating the Haiku repo info to jam
* PreprocessPackageInfo rule: Pull out new rule
PreprocessPackageOrRepositoryInfo which does the sed substituation and
optionally the filtering through the C preprocessor.
* HaikuRepository rule: Generate the repository info file (from the
given template). No longer do that in the build_haiku_repository
script.
2014-01-19 00:49:10 +01:00
Ingo Weinhold
af559cd6ee Add DetermineEffectiveHaikuRevision rule
Simplifies PreprocessPackageInfo a bit.
2014-01-19 00:49:10 +01:00
Ingo Weinhold
d4bfbab374 Implement generic Sed rule 2014-01-19 00:49:10 +01:00
Rene Gollent
e5ebc99d20 Update gcc4 webkit package to 1.2.3. 2014-01-18 12:20:45 -05:00
Ingo Weinhold
495b360b6b Add support for explicitly preventing rebuilding packages
Due to depending on dynamically built files, package files will always
be rebuilt when they are needed (e.g. when an image is built). The build
variable HAIKU_DONT_REBUILD_PACKAGES can be defined to prevent
rebuilding existing package files (even ones that are out-of-date).

Main target for this change is buildbot. We want to make sure that the
packages in the repository it builds are exactly identical to the ones
in the images, which may not be the case when the packages are rebuilt
(due to different timestamps of contained files). The respective build
order should be:

1. Build repository.
2. Without cleaning the generated directory, build different image types
   with HAIKU_DONT_REBUILD_PACKAGES defined.
2014-01-18 16:08:57 +01:00
Rene Gollent
c1bcd68267 Update Vision x86{_gcc2} packages to r949.
Updated to no longer rely on deprecated get_system_info() call.
2014-01-18 09:36:27 -05:00
Adrien Destugues
0876ab98f9 fixed gcc2 package, following atomic_add change. 2014-01-17 10:53:29 +01:00
Pawel Dziepak
d0f2d8282f Merge branch 'scheduler'
Conflicts:
	build/jam/packages/Haiku
	headers/os/kernel/OS.h
	headers/os/opengl/GLRenderer.h
	headers/private/shared/cpu_type.h
	src/add-ons/kernel/drivers/power/acpi_battery/acpi_battery.h
	src/bin/sysinfo.cpp
	src/bin/top.c
	src/system/kernel/arch/x86/arch_system_info.cpp
	src/system/kernel/port.cpp
2014-01-17 04:06:15 +01:00
Jérôme Duval
66a7f29f59 x86_64: include the "32" dir when targeting 32-bit
* helps with building boot loader with GCC 4.8
2014-01-15 22:45:45 +01:00
Alexander von Gluck IV
b11772acca build: Update x86_gcc2 gcc packages
* Resolves problem with secondary arch builds
  not picking up secondary os kit headers
* Still need to build x86 gcc packages
* No binary changes, shouldn't need a bootstrap
2014-01-15 00:45:59 -06:00
Adrien Destugues
aa5101ce5c Update HaikuWebKit package to version 1.2.3.
Older versions will not work anymore because of the API changes in
network kit (removal of nonstandard B_PROT_* status codes). x86 and
x86_64 packages have to be updated again.
2014-01-13 09:02:35 +01:00
Adrien Destugues
024e81af86 Update UserBuildConfig readme and sample
AddOptionalHaikuImagePackage is replaced with AddHaikuImagePackages.
2014-01-13 08:05:34 +01:00
Adrien Destugues
121a158f9c Lua: update to bugfixed package
The previous version didn't work at all.
2014-01-13 08:05:33 +01:00
Jonathan Schleifer
624435c494 Add flags needed for Clang to the build system.
This uses a variable CLANG that should be set to the Clang version. For
now, this has to be done manually (e.g. when invoking jam using jam
-sCLANG=34), but later, this will be auto-detected.

Work towards bug #10396
2014-01-11 17:33:36 -06:00
Jérôme Duval
2bc399a932 x86_64: Update haikuwebkit to 1.2.2 and add/update...
various dependent packages.
2014-01-08 20:07:27 +01:00
Rene Gollent
868c3d95cc Add updated libxml2 and zlib packages. 2014-01-07 18:03:09 -05:00
Rene Gollent
baec9c1bf3 Update x86 webkit package to 1.2.2 + dependencies. 2014-01-06 21:35:39 -05:00
Adrien Destugues
27b702f11a Update haikuwebkit to latest version.
* Also update dependencies cmake and libxml2
* Bonus package: Milkytracker

This is for gcc2hybrids only. gcc4 and x86_64 users are welcome to
contribute an haikuwebkit package for their architectures using the
haikuporter recipe.
2014-01-06 11:20:57 +01:00
Alexander von Gluck IV
64d7ff778b BuildSetup: Refactor 5e97cd45cf to better detect b.e.
* Looking back, we should not assume little endian if
  we see armv* as armv7l is little endian while armv7b
  is big endian
2014-01-02 10:26:34 -07:00
Alexander von Gluck IV
5e97cd45cf BuildSetup: Add better arm host detection
* rather unlikely... unless you're insane like me
* BeagleBoard is armv7l-, so lets look for armv*
  (I don't want to do arm* as it is less precise)
2014-01-01 22:20:12 -07:00
Humdinger
f1227e7220 Updated WebPositiveBookmarks optional package
Changed a few icons so they're not all the same...
Added a link to the "Community links" on the website.
2014-01-01 18:52:55 +01:00
Alexander von Gluck IV
d068e94ca1 mesa: Update Mesa 10.0.1 package
* Resolves #10360 for Mesa 10.0.1 (gcc4)
* The changes in this revision are queued for upstream
2013-12-31 16:44:15 -06:00
Alexander von Gluck IV
852730f036 mesa: Update Mesa 7.9.2 package
* Resolves #10360 for Mesa 7.9.2 (gcc2)
2013-12-30 23:33:29 -06:00
Matt Madia
5ed8c605ef Enable WebPositive for x86_64 in DefaultBuildProfiles.
Thanks waddlesplash for the note!
2013-12-30 19:29:45 -05:00
François Revol
9307c47ea3 Revert "Add getconf to the image"
This reverts commit c229671d8e.
2013-12-28 09:58:16 +01:00
François Revol
c229671d8e Add getconf to the image 2013-12-27 19:49:17 +01:00
Ingo Weinhold
1d6ca1dadd rule DetermineHaikuRevision: Avoid duplicate command execution
... when HAIKU_REVISION is set.
2013-12-26 00:22:45 +01:00
Alexander von Gluck IV
5cc9170f08 GL: Activate x86_gcc2 secondary package
* Hybrids should all work again
2013-12-23 13:46:03 -06:00
Alexander von Gluck IV
ebe57d49cc GL: Activate x86_gcc2 secondary package
* Seems I misunderstood how much of the hpkg build
  process was automated. Should fix hybrid build.
2013-12-23 10:21:35 -06:00
Alexander von Gluck IV
e8bfbcee18 GL: Update x86_gcc2 package
* Fix issue where mesa_devel attempted to lay
  a symlink over a directory causing instability
  installing mesa_devel
2013-12-23 01:00:37 -06:00
Alexander von Gluck IV
c80d3b3634 GL: Update x86 package
* Fix issue where mesa_devel attempted to lay
  a symlink over a directory causing instability
  installing mesa_devel
* Add mesa_swpipe to repos (LLVM enabled Gallium softpipe)
2013-12-23 00:51:03 -06:00
Alexander von Gluck IV
195d39a430 GL: Remove OpenGL kit, x86_gcc2 Mesa
* Depend on new Mesa packages to provide functionality
2013-12-23 00:06:11 -06:00
Alexander von Gluck IV
eb45d168e1 GL: Remove OpenGL kit, x86 Mesa
* Depend on Mesa packages to provide functionality
2013-12-22 23:36:02 -06:00
Ingo Weinhold
657769a986 x86: Add cpio and openjdk packages 2013-12-23 00:58:53 +01:00
Rene Gollent
04f1008900 x86_gcc2: Update sdl_mixer package. 2013-12-22 16:12:15 -05:00
Rene Gollent
91cf2ff272 Update gcc4 cmake to version 2.8.11.2-6. 2013-12-22 14:19:24 -05:00
Rene Gollent
73c60419cf Add gcc4 ruby{_devel}package. 2013-12-22 11:44:00 -05:00
Scott McCreary
7166099626 Removed vorbis-tools from this round as the gcc2 build has issues 2013-12-22 04:15:41 -08:00
Scott McCreary
f55cb7b729 Removed non-existing x86 builds of sdl_mixer 2013-12-22 03:58:36 -08:00
Scott McCreary
98394e3448 Fixed typo in physfs name 2013-12-22 01:15:18 -08:00
Scott McCreary
e26858162b Missed libpaper_x86 2013-12-22 01:04:41 -08:00
Scott McCreary
2120a51923 Added first wave of libpak files 2013-12-22 00:53:49 -08:00
Adrien Destugues
edba5ea016 Add icon for Cereal... I mean SerialConnect.
* Icon drawn by Humdinger and myself.
* Also add SerialConnect entry in deskbat applications.
2013-12-21 16:59:24 +01:00
Jonathan Schleifer
bd50e8aedb Get rid of a workaround; building with Clang works now. 2013-12-19 12:57:20 +01:00
Rene Gollent
d3a119a2b4 x86_64: Update haikuwebkit to 1.2.1 and add/update...
various dependent packages.
2013-12-18 22:59:53 -05:00
Rene Gollent
ac8612008b Update x86_64 Vision package.
Fixes #10317.
2013-12-18 20:58:51 -05:00
Stefano Ceccherini
1666d18503 Correct source package name 2013-12-14 15:28:03 +01:00
Stefano Ceccherini
3daa96baf1 Add BeScreenCapture to the haikuports repo 2013-12-14 15:24:47 +01:00
Rene Gollent
928188b096 Add QuickLaunch package. 2013-12-14 09:21:38 -05:00
Ingo Weinhold
c17e350c3b HaikuPorts x86: Update pe package
Meta data cosmetics only.
2013-12-13 15:32:47 +01:00
Rene Gollent
b38580f902 Add x86_64 which package. 2013-12-12 21:51:22 -05:00
Ingo Weinhold
685dd8a6fb HaikuPorts x86: Update pe package
Fixes "Find Function" dialog and adds haikuporter recipe highlighting.
2013-12-12 21:06:13 +01:00
Adrien Destugues
de9cdfb46c Update HaikuWebkit to version 1.2.1.
* This fixes the crash on trying to download something, and has some new
features as well.
2013-12-11 17:30:00 +01:00
Ingo Weinhold
523b866f89 HaikuImage*: Create missing writable dirs in ~/config
Also reduce code duplication by moving the respective code to
HaikuImageCommon.
2013-12-10 23:17:43 +01:00
Ingo Weinhold
b28411fdfe HaikuPorts x86_gcc2: Add missing libpcre_devel package 2013-12-10 21:06:32 +01:00
Jérôme Duval
67ba05e6db FloppyBootImage: removed special case for x86_64
* completes hrev46470
* to be noted, adding generic_x86 for x86_64 let Haiku crash on boot.
2013-12-09 19:48:13 +01:00
Ingo Weinhold
1604cdaef8 Update -Werror work-around for arch_debug_console.o
Fixes the gcc 2 build again.
2013-12-05 20:42:06 +01:00
Jerome Duval
9e46d51cc2 ffmpeg plugin only needs to link against ffmpeg libs.
* clean the ffmpeg build feature.
2013-12-05 18:04:13 +01:00
Ingo Weinhold
724f4e2d38 Fix kernel -Werror support
The introduction of secondary arch support for kernel files disabled
-Werror for all kernel files, since the -Werror flags were moved from
{CC,C++}FLAGS to TARGET_WARNING_{CC,C++}FLAGS_<arch>, which, however,
was overwritten by the SetupKernel rule. This commit introduces new
global variables {HAIKU,HOST,TARGET}_WERROR_FLAGS[_<arch>], which
contain the additional -Werror flags to be applied for the architecture.
The config variable WARNINGS can be set to "treatAsErrors" to cause
-Werror and {HOST,TARGET}_WERROR_FLAGS[_<arch>] to be appended to the
compilation flags.

Fixes #10280.
2013-12-05 12:48:22 +01:00
Jerome Duval
23e82de9fa x86_64: publish some media libraries
* ffmpeg, libogg, libtheora, libvorbis, libvpx, speex
2013-12-04 21:37:35 +01:00
Adrien Destugues
6d9f0064ff Bring the hybrid translators back into the image. 2013-12-03 21:00:14 +01:00
Ingo Weinhold
043ffc015a Update gcc 4 package for x86
Disables ASLR for the executables, so pre-compiled headers will work
correctly.
2013-12-02 17:02:32 +01:00
Gerasim Troeglazov
8e3ba61f64 Sort translators list in alphabetical order 2013-12-02 09:43:40 +00:00
Jérôme Duval
44b4797910 FloppyBootImage: removed special case for x86_64
* now includes acpi, should help for #10266.
2013-12-01 21:16:29 +01:00
Gerasim Troeglazov
592be1fc7a Add PSDTranslator to image 2013-12-01 11:55:27 +00:00
Matt Madia
542c71fa50 Need to account for WebPositive not building on x86_64.
Commented out the previous if statement and added a TODO as a reminder
for when it builds on x86_64.
2013-11-30 21:28:15 -05:00
Matt Madia
dbe9499e72 Add the webpositive hpkg to the repository haiku.
e.g., jam -q @release-raw build \<repository\>haiku
2013-11-30 19:12:12 -05:00
Matt Madia
0d9151c9ff Add genisoimage support to actions BuildCDBootImage1. 2013-11-30 08:27:48 -05:00
Pawel Dziepak
7db89e8dc3 kernel: Rework cpuidle module
* Create new interface for cpuidle modules (similar to the cpufreq
   interface)
 * Generic cpuidle module is no longer needed
 * Fix and update Intel C-State module
2013-11-25 23:50:27 +01:00
Adrien Destugues
72086dfe17 Update gcc_x86 to use --with-gnu-ld
Somehow gcc doesn't detect the linker is GNU ld when run in Haikuporter.
We now force this in the recipe. This allows gcc to invoke the linker
with response files, avoiding "command line too long" errors, for
example when building WebKit.
2013-11-25 16:38:22 +01:00
Alexander von Gluck IV
f3c471f44c build: Only build WebPositive on x86, x86_gcc2
* Should fix the non-x86 builds
2013-11-24 14:07:27 -06:00
Ingo Weinhold
047b2d25f5 DefineDefaultBuildProfiles: Various fixes
* Fix adding WebPositive optional package.
* Fix adding wonderbrush package. Add it only for gcc2 to avoid a
  warning by AddHaikuImagePackages.
* Simplify adding xz_utils package.
2013-11-24 13:34:20 +01:00
Ingo Weinhold
5ce49bd3db rule FFilterByBuildFeatures: Fix output 2013-11-24 13:34:20 +01:00
Alexander von Gluck IV
29996a0199 build: Disable WebPositive on x86_64 to fix build
* This commit is temporary and should be reverted
  when the x86_64 build is fixed.
2013-11-23 12:32:36 -06:00
Ingo Weinhold
a1c42e7189 Replace missed alpha-raw release build profile occurrences 2013-11-23 16:58:53 +01:00
Matt Madia
54de8bbe8f Replace alpha-* profiles with release-*. Remove beta-*. 2013-11-23 16:58:53 +01:00
Ingo Weinhold
d85bab41bd Add target for building a Haiku package repository
* Add rule HaikuRepository to build a repository from a repository info
  file and a list of package files. It calls a build_haiku_repository
  script which does all the work.
* Add target <repository>haiku for building the Haiku package
repository.
  It should be built via "jam -q @alpha-raw build <repository>haiku";
  the build profile is only needed to activate all build features.
2013-11-23 01:46:04 +01:00
Ingo Weinhold
b2806f310e RepositoryRules: Automatic whitespace cleanup 2013-11-22 23:36:06 +01:00
Adrien Destugues
ef3d8f5731 Fix missing revision indicator for haikuwebkit. 2013-11-22 19:23:38 +01:00
Adrien Destugues
3451901447 Add libxslt package (required by haikuwebkit). 2013-11-22 19:10:10 +01:00
Adrien Destugues
d0826b6a53 Update haikuwebkit packages for gcc4.
This should bring the nightlies again.
2013-11-22 17:30:02 +01:00
Ingo Weinhold
2b76973fa2 mimeset: Use TextSnifferAddon when using a custom MIME DB
That addresses the problem that packaged text files aren't correctly
identified (ticket #9972). All concerned packages have to be rebuilt,
of course.
2013-11-22 12:24:13 +01:00
Pawel Dziepak
208f76e578 preferences: Remove CPUFrequency
We can't reliably set contemporary processors to an arbitrary frequency.
There are dependencies between cores and thechnologies like Turbo Boost
which may make actual frequency significantly different than the requested.

Moreover, it is the scheduler job to decide how much CPU performance is
needed and user shouldn't interfere with that.
2013-11-22 05:24:44 +01:00
Pawel Dziepak
99a2e56579 drivers: Remove Intel Enhanced SpeedStep driver
In current state this driver is useless anyway. It's not MP safe.
The P-state values stored in hardcoded tables are only for processors
on which we can't use SpeedStep, because of lack of invariant TSC.

Proper driver should get P-states from ACPI, ensure that the CPU offers
invariant TSC and obviouslt be MP safe.
2013-11-22 05:11:03 +01:00
Scott McCreary
64c8d8c126 Updated cdrtools to 3.01~a18, and added _devel package 2013-11-21 08:32:48 -08:00
Adrien Destugues
3d5714e20d Add SerialConnect to HaikuImage.
It's now complete enough.
2013-11-20 22:39:17 +01:00
Ingo Weinhold
5fc2757a74 Add user settable HAIKU_REVISION build variable
Can be set to a revision string (hrev4...) to override the revision
determined via git. Useful when the repository doesn't have tags.
2013-11-20 16:42:05 +01:00
Adrien Destugues
60cb47a410 Add Ruby package.
Works well enough for building WebKit, but probably not much more.
2013-11-18 11:31:28 +01:00
Adrien Destugues
0cb0b65d3e Add the secondary arch version of libroot_debug
Some gristing mixup caused the non-secondary version of the lib to be
added to the non-secondary directory, which is what the main
architecture HaikuDevel is already doing.
2013-11-18 10:59:59 +01:00
Ingo Weinhold
4f5e938576 Add setarch and getarch commands 2013-11-17 02:09:37 +01:00
Ingo Weinhold
b83f9b3940 HAIKU_DEFINES: Add __HAIKU_PRIMARY_PACKAGING_ARCH
* It is set to the primary architecture we're building for.
* Remove __HAIKU__. The macro is already defined by the compiler.
2013-11-17 02:09:36 +01:00
Adrien Destugues
e4b939faa4 Change version number for haikuwebkit.
* Overwriting the test package with the final one doesn't work.
2013-11-15 20:23:42 +01:00
Adrien Destugues
cb7df3b1da Update webkit and cmake packages
* Some changes required in WebPositive to store the cookies on disk
2013-11-15 18:39:07 +01:00