Files
haiku-beta6/build/jam/OptionalPackages
T

184 lines
5.1 KiB
Plaintext
Raw Normal View History

# This file defines the optional packages that can be added to the Haiku image.
# It is directly included from HaikuImage -- all variables defined there can
# be used.
2008-03-30 20:01:25 +00:00
# Available Optional Packages:
# BeOSCompatibility - creates links within the system to support old apps
# Development - more complete dev environment (including autotools)
# DevelopmentBase - basic development environment (gcc, headers, libs,...)
# DevelopmentMin - development headers, libs, tools, from sources only
# Git - the distributed version control system
2010-04-23 18:06:34 +00:00
# WebPositive - native, WebKit-based web browser
# Welcome - introductory documentation to Haiku
2010-09-16 02:34:38 +00:00
# dependencies between optional packages
OptionalPackageDependencies Development : DevelopmentBase ;
OptionalPackageDependencies DevelopmentBase : DevelopmentMin ;
OptionalPackageDependencies DevelopmentPowerPC : DevelopmentMin ;
OptionalPackageDependencies NetFS : UserlandFS ;
2018-08-20 20:56:17 -04:00
# Haiku sources
if $(HAIKU_INCLUDE_SOURCES) = 1 {
AddPackageFilesToHaikuImage _sources_
2018-08-20 20:56:17 -04:00
:
haiku_source.hpkg
:
nameFromMetaInfo
;
}
# BeBook
if [ IsOptionalHaikuImagePackageAdded BeBook ] {
AddHaikuImageSystemPackages be_book ;
AddSymlinkToHaikuImage home Desktop
: /boot/system/documentation/BeBook/index.html
: BeBook ;
}
# BeOSCompatibility
if [ IsOptionalHaikuImagePackageAdded BeOSCompatibility ] {
if $(TARGET_ARCH) != x86
|| $(TARGET_CC_IS_LEGACY_GCC_$(TARGET_PACKAGING_ARCH)) != 1 {
Echo "No optional package BeOSCompatibility available for"
"$(TARGET_ARCH)" ;
} else {
Echo "Warning: Adding BeOS compatibility symlinks. This will go away."
"Please fix your apps!" ;
AddSymlinkToHaikuImage beos : ../system/apps ;
AddSymlinkToHaikuImage beos : ../system/bin ;
AddSymlinkToHaikuImage beos
: ../system/documentation ;
2013-09-29 22:09:00 +02:00
AddSymlinkToHaikuImage beos : ../system/settings/etc ;
AddSymlinkToHaikuImage beos : ../system/preferences ;
AddSymlinkToHaikuImage beos : ../system ;
AddDirectoryToHaikuImage var ;
2013-09-29 22:09:00 +02:00
AddSymlinkToHaikuImage var : /boot/system/var/log ;
AddSymlinkToHaikuImage var : /boot/system/cache/tmp ;
}
}
# Development
if [ IsOptionalHaikuImagePackageAdded Development ] {
# autotools
AddHaikuImageDisabledPackages autoconf automake texinfo ;
AddHaikuImageSourcePackages autoconf automake texinfo ;
# some other build tools
AddHaikuImageDisabledPackages pkgconfig ;
AddHaikuImageSourcePackages pkgconfig ;
# devel packages for some of the base set
local architectureObject ;
for architectureObject in [ MultiArchSubDirSetup ] {
on $(architectureObject) {
2024-06-02 19:00:23 +02:00
AddHaikuImageDisabledPackages openssl3_devel
libjpeg_turbo_devel libpng16_devel zlib_devel zstd_devel ;
}
}
}
# DevelopmentBase
if [ IsOptionalHaikuImagePackageAdded DevelopmentBase ] {
# gcc and binutils (for all target architectures)
local architectureObject ;
for architectureObject in [ MultiArchSubDirSetup ] {
on $(architectureObject) {
2021-04-17 21:41:55 +02:00
AddHaikuImageDisabledPackages binutils gcc !gcc2 @{ mpc mpfr }@ ;
AddHaikuImageSystemPackages gmp@!gcc2 ;
AddHaikuImageSourcePackages binutils gcc !gcc2 @{ gmp mpc mpfr }@ ;
}
}
# other commonly used tools
2022-07-08 00:18:31 -04:00
AddHaikuImageDisabledPackages bison cdrtools flex jam make mawk mkdepend
m4@!gcc2 m4_x86@secondary_x86 nasm@!gcc2 nasm_x86@secondary_x86 patch ;
AddHaikuImageSourcePackages bison cdrtools make patch
m4@!gcc2 m4_x86@secondary_x86 ;
}
# DevelopmentMin
if [ IsOptionalHaikuImagePackageAdded DevelopmentMin ]
&& ( $(TARGET_ARCH) = x86 || $(TARGET_ARCH) = x86_64 ) {
AddPackageFilesToHaikuImage _packages_
:
haiku_devel.hpkg
haiku_$(TARGET_PACKAGING_ARCHS[2-])_devel.hpkg
2013-10-09 03:47:28 +02:00
:
nameFromMetaInfo
;
if $(HAIKU_IS_BOOTSTRAP) != 1 {
AddPackageFilesToHaikuImage _packages_
:
makefile_engine.hpkg
:
nameFromMetaInfo
;
2020-04-23 16:19:03 +02:00
AddHaikuImageDisabledPackages make mkdepend ;
AddHaikuImageSourcePackages make ;
}
}
# Git
if [ IsOptionalHaikuImagePackageAdded Git ] {
2024-08-11 00:05:33 -04:00
AddHaikuImageSystemPackages git@!gcc2 git_x86@secondary_x86 perl@!gcc2 perl_x86@secondary_x86 ;
AddHaikuImageSourcePackages git@!gcc2 git_x86@secondary_x86 perl@!gcc2 perl_x86@secondary_x86 ;
}
# WebPositive
if [ IsOptionalHaikuImagePackageAdded WebPositive ] {
2013-08-10 15:06:55 +02:00
local architectureObject ;
for architectureObject in [ MultiArchSubDirSetup ] {
on $(architectureObject) {
if [ FIsBuildFeatureEnabled webpositive ] {
AddPackageFilesToHaikuImage system packages : webpositive.hpkg
2013-10-09 03:47:28 +02:00
: nameFromMetaInfo ;
2013-08-10 15:06:55 +02:00
break ;
}
}
}
2013-06-13 18:46:34 +02:00
}
# Welcome
if [ IsOptionalHaikuImagePackageAdded Welcome ] {
2022-11-12 23:46:54 -05:00
AddHaikuImageSystemPackages
haiku_userguide_ca
haiku_userguide_de
haiku_userguide_en
haiku_userguide_es
haiku_userguide_fi
haiku_userguide_fur
haiku_userguide_fr
haiku_userguide_hu
haiku_userguide_id
haiku_userguide_jp
haiku_userguide_pl
haiku_userguide_pt_br
haiku_userguide_pt_pt
haiku_userguide_ro
haiku_userguide_ru
haiku_userguide_sk
haiku_userguide_sv_se
haiku_userguide_tr
haiku_userguide_uk
haiku_userguide_zh_cn
haiku_welcome
;
2013-06-13 18:46:34 +02:00
2019-10-20 08:20:43 +02:00
AddSymlinkToHaikuImage home Desktop : /boot/system/bin/quicktour
: Quick\ Tour ;
AddSymlinkToHaikuImage home Desktop : /boot/system/bin/userguide
: User\ Guide ;
}