Commit Graph

96 Commits

Author SHA1 Message Date
Adrien Destugues
1bad1ff34a Prepare for ICU update
- libicule and libiculx do not exist anymore in newer ICU versions
  (harfbuzz replaces them), but we didn't actually use them, so remove
  them from the build feature and from the package dependencies
- Add namespace usage marcos since the newer ICU packages put ICU things
  in a namespace, making it easier to have multiple versions of ICU used
  side by side.

No functional change intended, but this makes it possible to build the
code with either ICU 57 (for gcc2) or 66 (for other architectures).
2020-08-02 11:58:14 +02:00
Augustin Cavalier
f5a84636ec build: Replace jpeg with libjpeg_turbo for JPEGTranslator.
It works!
2020-04-19 18:00:31 -04:00
Augustin Cavalier
14af814156 build: Merge ilmbase and openexr build features.
Also only declare dependencies on OpenEXR libraries,
and let the ilmbase ones (which are now in the same package anyway)
get pulled in implicitly.
2020-04-19 17:59:57 -04:00
Augustin Cavalier
470db787dc BuildFeatures: Remove the gnuefi build feature.
Now unused since the switch to the Fuchsia EFI headers.
2019-12-23 12:38:47 -05:00
Jérôme Duval
89f1fd6512 Bump gutenprint version.
needs gutenprint8 packages to be uploaded.

Change-Id: I1204ff8b1bb85cc0eb615082b205280daabbc290
Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
2019-05-14 19:11:41 -04:00
Augustin Cavalier
7930fb5b5e build: Print unavailable build features in one rather than multiple lines.
Reduces Jam noise and significantly improves readability.
2019-02-25 16:11:39 -05:00
Barrett17
a92a085d1d BuildFeatures: Add libdvdnav and libdvdcss deps 2019-02-18 23:40:08 +01:00
waddlesplash
0dd0b40f89 BuildFeatures: Remove curl buildfeature.
No longer used.

Change-Id: I3a97e18e76da0995f9ab8599b796144c5bc0452c
Reviewed-on: https://review.haiku-os.org/606
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2018-09-30 04:33:42 +00:00
Augustin Cavalier
b58a151493 build: Link against libgcc_s.so.1 instead of libgcc_s.so.
The latter is not just a symlink to the former, but is a small pseudo-
library that tells the linker to use the .so.1 version instead. As we
do not pass -L to this directory to the linker invocation, the linker
thus cannot find it, and so errors out.

We rightly do not want the linker doing "magic" things for us that
we don't expect, and so even if this one case is fine, we shouldn't
allow the linker to take care of this automatically for us when
it comes to libroot and other core system functionality, especially
as going forward we may indeed add a second libgcc version due to ABI
breaks. Instead, link against .so.1 directly.

Fixes the build breakage caused by the GCC 7 bump.
2018-08-26 13:35:40 -04:00
Alexander von Gluck IV
3718fb861d efi: Drop x86_64 assumptions.
Change-Id: I3d806f43ef951013369fd0bf906eca5977e8d34c
2018-08-08 10:18:06 -05:00
Kacper Kasper
c49f045421 Link WebPositive with libWebKitLegacy on x86_64
Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
2018-06-17 12:58:19 -04:00
Jessica Hamilton
74bfec3b96 build/jam: whitespace cleanup.
Change-Id: I80c9a51417631b1f283923451f5bb530097b74f3
2018-05-07 13:12:16 +12:00
Adrien Destugues
2ecf221b74 Fix name of libWebKit for newer releases.
Yes, we're now officially using "legacy" WebKit!
2018-05-06 20:22:25 +02:00
Fredrik Holmqvist
73159ec931 Make UEFI boot-platform build again
gnuefi package was replaced by gnu_efi_kernel, but build
was not updated. This is guesswork, as I couldn't track down what changed.
It finds headers, headers_arch and lib and works so should be ok.
2017-12-27 18:51:30 +01:00
Adrien Destugues
ab75d3b5a8 Do not advertise libavdevice in ffmpeg build feature.
It is not actually used by our ffmpeg plugin.
2017-12-24 16:39:23 +01:00
Kacper Kasper
b875d6d43b Outsource OpenEXR.
* Style fixes in EXRTranslator.
2017-12-17 17:57:53 +01:00
Augustin Cavalier
5f8613a22c build: Cleanup and fixes following previous commits.
* Hashing semantics for the new build repositories are different than
   the old ones, so update those (if the x86 build was not broken before
   it is now...)
 * OptionalPackages has been updated slightly (removed libtool and git_cvs
   from the default images, as they are rarely used nowadays and would pull
   in a bunch of dependencies we don't really care for either)
 * Removed lib:libqrencode from Haiku package requires (qrencode_kdl is a
   static library, the userland libqrencode is not used anywhere in the tree,
   as far as I can tell)
 * Fix build of JPEG2000 translator after update
 * Decouple fluidsynth build machinery and remove from image now that it
   is no longer used
 * Update repository URL in Repositories preflet
2017-11-25 21:15:10 +01:00
Jérôme Duval
6ac3a280f4 Add ZstdCompressionAlgorithm.
* kernel lib is decompress only (like zlib).
* expand compression_test for zstd.
2017-11-24 21:35:49 +01:00
Augustin Cavalier
ff0184bed0 Remove GPL-add-ons build machinery.
No longer used by anything (it appears some old kernel drivers that
are not included in the build might use it, but I don't know why
they need it -- we already ship GPL'd code [libntfs] for the kernel
in the default build unconditionally.)

Briefly discussed with js a few weeks back.
2017-07-30 14:13:42 -04:00
Jérôme Duval
51e278c70b Adjust jasper soname for x86_64. 2017-07-10 22:15:19 +02:00
Alexander von Gluck IV
7600fdd8e2 ide: Remove old IDE bus + stack.
* Hasn't been used for quite some time
* Everything was ported over to a new ATA stack
  some time ago.
* No huge regressions were seen from the new ATA
  stack.
2017-06-28 08:13:37 -05:00
dsizzle
9b6b158b88 Implementation of BFont::Blocks
BFont::Blocks is now implemented in ServerFont, via a call through the
app_server.  It uses fontconfig to iterate through a charset of a font
and stores the defined blocks in a bitmap.

A new API was added, BFont::IncludesBlock, that will allow for arbitrary
testing of a given Unicode block. Since nothing is cached, searching
through an entire charset for a series of Unicode blocks can be quite
slow. In a given block there may be only 1 or 2 characters actually
defined so every character within a block needs to be checked until one
is found, which in a degenerate case will mean the entire block is
checked.

Signed-off-by: Axel Dörfler <axeld@pinc-software.de>
2017-05-08 22:17:53 +02:00
Jérôme Duval
ec39b68443 Mass update for x86.
* Boost and Qt5 left out for now.
2017-04-28 17:48:35 +02:00
Jérôme Duval
95a7451112 Adjust liwebp soname for x86_64. 2017-04-08 13:45:10 +02:00
Adrien Destugues
2c953daef7 Fix build also for secondary arch
Use a variable not affected by MultiArchBuildSetup, so we use the new
libwebp when gcc2 is the main arch, even when building for secondary.
2017-04-08 13:29:49 +02:00
Adrien Destugues
ac0cb4e046 Fix build after libwebp update.
The update is only for gcc2 for now. This needs to be adjusted once the
other archs make the switch too.
2017-04-08 12:09:13 +02:00
Jessica Hamilton
f4ff9cb02c Merge branch 'uefi-support' 2016-11-14 03:21:59 +13:00
Jérôme Duval
7e9b90f7e4 Midi: use fluidlite as fluidsynth replacement.
* SF3 support.
2016-11-01 08:50:03 +01:00
Fredrik Holmqvist
211483cb51 EFI: Initial test EFI application
* Only set HAIKU_BOOT_PLATFORM to bios_ia32 if not defined
* Add gnuefi build feature
* Introduce BOOT_LDFLAGS, and move options for passing to linker
  into ArchitectureSetup
* x86_64 compile fixes for warnings in boot loader
* loader/elf.cpp: don't include ELF32 support when targeting EFI
* relocation_func.cpp: copy of the relocation code from gnuefi
  to make _relocate extern "C", and avoid including <efilib.h>
* boot_loader_efi.ld: copy of gnuefi's elf_x86_64_efi.lds,
  modified to include support for C++ constructors, etc. Keep in
  sync with the gnuefi package

Signed-off-by: Jessica Hamilton <jessica.l.hamilton@gmail.com>
2016-09-02 19:02:29 +12:00
Dario Casalinuovo
5029fabd08 live555: Library order caused missing symbols 2016-06-02 19:06:06 +02:00
Dario Casalinuovo
ec8626dea0 Add live555 BuildFeature 2016-05-24 23:20:57 +02:00
Jérôme Duval
dd1c718026 Update libwebp packages.
* added libwebp5 packages for compatibility.
* updated library soname of the build feature.
2016-01-10 19:28:02 +01:00
Jessica Hamilton
1941c9054e ffmpeg addon: add missing dependency on libswresample. 2015-11-21 07:42:44 +13:00
Jérôme Duval
d43720add9 Switch to tiff4 as system dependency. 2015-10-18 10:00:02 +02:00
Jérôme Duval
5b3c88f1da Switch to ncurses 6 as system dependency.
* remove traces from libpng (as opposed to libpng16).
2015-10-18 00:44:30 +02:00
Alexander von Gluck IV
7e24b659c4 build: Convert to external libedit build package
* Drop lib/edit and matching bsd header
* Convert Debugger to libedit build package
* Should solve problems with libedit consumers
  not defining _BSD_SOURCE
* Progress on #10267
2015-07-04 15:29:05 -05:00
Jérôme Duval
e22a18e9f3 Add a feature for expat.
* Icon-O-Matic and Cortex are dependent on the feature.
* remove expat lib from the build and from the tree.
* expat package is added to regular builds.
2015-06-10 23:31:55 +02:00
Adrien Destugues
6eb464d8e5 ncurses: remove non-existing headers directory
The build feature depended on a non-existing directory, causing all
dependencies to always be considered out of date by Jam.

Fixes #11664.
2015-01-27 11:07:50 +01:00
Adrien Destugues
9a539f9e80 Outsource ncurses. 2014-12-18 10:18:39 +01:00
Jérôme Duval
242c022af8 Build against libpng16 instead of libpng.
* Also migrate freetype at the same time, otherwise freetype_devel
wouldn't install anymore.
2014-11-12 22:59:26 +01:00
Jessica Hamilton
8e145c66d7 qrencode addon: use KDL-specific qrencode library
Fixes #11351
2014-10-19 22:41:31 +00:00
PulkoMandy
90520f9b43 Second attempt at fixing non-bootstrap ARM build
- Revert the change to BuildFeature since the latest version of the zlib
sources package indeed uses the correct "sources" directory.
- Make the fake zlib package for ARM use the same revision number as the
current zlib version (4) so it can use the current version of the source
package instead of some older one.
2014-09-02 09:16:54 +02:00
PulkoMandy
2ba0ffcef0 Fix zlib source directory name.
This fixes the non-bootstrap ARM build.
I'm not sure this is the right fix, the zlib package seems to come with a
"source" (not "sources") folder on both ARM and x86_gcc2 but then I
don't understand how this worked for the x86_gcc2 build before.
2014-09-01 23:00:31 +02:00
Jérôme Duval
d977c0da56 BuildFeatures: add a feature for libicns 2014-08-26 20:26:31 +02:00
Jérôme Duval
cbe75ce5b7 BuildFeatures: add Giflib, Libwebp, Jasper features. 2014-08-25 20:24:04 +02:00
Oliver Tappe
5bddecbc3b Add build features gcc_syslibs and gcc_syslibs_devel.
* gcc_syslibs contains the shared libraries that are being built
  as part of gcc, i.e. libgcc_s.so, libsupc++.so and libstdc++.so
* gcc_syslibs_devel contains the static versions of the respective
  libraries plus additionally kernel versions of libgcc.a and
  libsupc++.a (which do not provide support for pthreads or TLS
  and thus do not have any external dependencies). Additionally,
  this build feature contains the c++ and gcc headers from the
  non-legacy compiler.
2014-07-31 10:59:07 +02:00
Jérôme Duval
9cd7c6a433 tiff: use the outsourced packages.
* packages for secondary architectures would be welcomed.
2014-06-02 23:45:19 +02:00
Jérôme Duval
c73c8e2367 gutenprint: add gutenprint as a mandatory package.
* use the shared library libgutenprint.so
* remove the xml data files from the tree and the Haiku package.
2014-05-10 13:08:35 +02:00
Jérôme Duval
0584f69356 gutenprint: use outsourced package.
* data files are still in the source tree.
* gutenprint headers contain a image.h header file which collides
with ours. This is solved by forcing include search first on
os/kernel directory.
2014-05-09 20:19:35 +02:00
Oliver Tappe
8c54af563c Whitespace cleanup in root and 'build' folder.
* Removed trailing whitespace and empty lines at top of files.
2014-05-01 12:55:41 +02:00