haiku/build/jam/DefaultBuildProfiles
Augustin Cavalier 2423ba8470 Revert "Switch from DejaVu to Noto font"
This reverts commit 945566ff43583e4f8102b4440c88f53dae775cb4.

As discussed on the mailing lists and with Humdinger off-list:
 * The general design concensus tends slightly towards DejaVu, as metrics
   of DejaVu look much better (DejaVu 12 and Noto 13 are roughly the same size,
   but Noto has much wider margins with that)
 * While Noto does have a wider set of fonts with support for lots of
   different languages, DejaVu actually has built-in support for more
   Unicode languages (the default Noto has, as far as I can tell, only
   Latin/Greek/Cyrillic [2416 glyphs], while DejaVu also has Armenian, Georgian,
   and a few other scripts too [5119 glyphs].)
 * The worse rendering of DejaVu appears to have been somewhat rectified by
   disabling the average-based subpixel filter in app_server.
2017-02-18 14:36:36 -05:00

243 lines
5.9 KiB
Plaintext

# set HAIKU_BUILD_TYPE early
switch $(HAIKU_BUILD_PROFILE) {
case "bootstrap-*" : {
HAIKU_BUILD_TYPE = bootstrap ;
EnableBuildFeatures bootstrap_image ;
# Add a third pseudo target for the platform used when building anything
# for stage0 of the bootstrap process.
NotFile bootstrap_stage0 ;
HAIKU_DEFINES += HAIKU_BOOTSTRAP_BUILD ;
TARGET_DEFINES += HAIKU_BOOTSTRAP_BUILD ;
}
case "minimum-*" : {
HAIKU_BUILD_TYPE = minimum ;
EnableBuildFeatures minimum_image ;
HAIKU_DEFINES += HAIKU_MINIMUM_BUILD ;
TARGET_DEFINES += HAIKU_MINIMUM_BUILD ;
}
case "*" : {
HAIKU_BUILD_TYPE = regular ;
EnableBuildFeatures regular_image ;
HAIKU_DEFINES += HAIKU_REGULAR_BUILD ;
TARGET_DEFINES += HAIKU_REGULAR_BUILD ;
}
}
Echo "Starting build of type $(HAIKU_BUILD_TYPE) ..." ;
rule DefineDefaultBuildProfiles
{
# release profiles
DefineBuildProfile release-raw : image : "haiku-release.image" ;
DefineBuildProfile release-vmware : vmware-image : "haiku-release.vmdk" ;
DefineBuildProfile release-cd : cd-image : "haiku-release.iso" ;
DefineBuildProfile release-anyboot : anyboot-image
: "haiku-release-anyboot.iso" ;
# nightly profiles
DefineBuildProfile nightly-raw : image : "haiku-nightly.image" ;
DefineBuildProfile nightly-vmware : vmware-image : "haiku-nightly.vmdk" ;
DefineBuildProfile nightly-cd : cd-image : "haiku-nightly.iso" ;
DefineBuildProfile nightly-anyboot : anyboot-image
: "haiku-nightly-anyboot.iso" ;
# bootstrap profiles
DefineBuildProfile bootstrap-raw : image : "haiku-bootstrap.image" ;
DefineBuildProfile bootstrap-mmc : haiku-mmc-image : "haiku-bootstrap.mmc" ;
DefineBuildProfile bootstrap-vmware : vmware-image
: "haiku-bootstrap.vmdk" ;
DefineBuildProfile bootstrap-anyboot : anyboot-image
: "haiku-bootstrap-anyboot.iso" ;
# minimum profiles
DefineBuildProfile minimum-raw : image : "haiku-minimum.image" ;
DefineBuildProfile minimum-mmc : haiku-mmc-image : "haiku-minimum.mmc" ;
DefineBuildProfile minimum-vmware : vmware-image : "haiku-minimum.vmdk" ;
DefineBuildProfile minimum-anyboot : anyboot-image
: "haiku-minimum-anyboot.iso" ;
switch $(HAIKU_BUILD_PROFILE) {
case "release-*" : {
Echo Building Haiku R1/development preview ;
HAIKU_ROOT_USER_NAME ?= user ;
HAIKU_ROOT_USER_REAL_NAME ?= "Yourself" ;
AddGroupToHaikuImage party : 101 : user sshd ;
HAIKU_IMAGE_HOST_NAME ?= shredder ;
HAIKU_IMAGE_SIZE ?= 800 ;
AddHaikuImagePackages
bepdf
cvs
dejavu
keymapswitcher
llvm
man
mercurial
nano
openssh
p7zip
pe
python
subversion
timgmsoundfont
vision
vl_gothic
wpa_supplicant
wqy_microhei
# xz_utils can't be built with gcc2, so we install it for
# primary gcc 4 architectures or gcc 2 hybrids.
xz_utils@!gcc2
gcc2 @{ xz_utils_x86@secondary_x86 }@
;
local architectureObject ;
for architectureObject in [ MultiArchSubDirSetup ] {
on $(architectureObject) {
AddHaikuImagePackages openssl wonderbrush@gcc2 ;
}
}
AddOptionalHaikuImagePackages BeBook Development Git Welcome ;
# WebPositive can only built for x86_gcc2, x86 and x86_64
if $(HAIKU_PACKAGING_ARCHS) in x86_gcc2 x86 x86_64 {
AddOptionalHaikuImagePackages WebPositive ;
} else {
Echo "WebPositive not available on $(HAIKU_PACKAGING_ARCHS)" ;
}
}
case "alpha-*" : {
Echo The alpha-* build profiles have been renamed to release-* ;
}
case "nightly-*" : {
Echo Building Haiku Nightly ;
HAIKU_ROOT_USER_NAME ?= user ;
HAIKU_ROOT_USER_REAL_NAME ?= "Yourself" ;
AddGroupToHaikuImage party : 101 : user sshd ;
HAIKU_IMAGE_HOST_NAME ?= shredder ;
if $(DEBUG) != 0 {
HAIKU_IMAGE_SIZE ?= 700 ;
}
HAIKU_IMAGE_SIZE ?= 600 ;
AddHaikuImagePackages
dejavu
man
nano
openssh
openssl
p7zip
pe
vision
wpa_supplicant
# xz_utils can't be built with gcc2, so we install it for
# primary gcc 4 architectures or gcc 2 hybrids.
xz_utils@!gcc2
gcc2 @{ xz_utils_x86@secondary_x86 }@
;
AddOptionalHaikuImagePackages Development Git ;
# WebPositive can only built for x86_gcc2, x86 and x86_64
if $(HAIKU_PACKAGING_ARCHS) in x86_gcc2 x86 x86_64 {
AddOptionalHaikuImagePackages WebPositive ;
} else {
Echo "WebPositive not available on $(HAIKU_PACKAGING_ARCHS)" ;
}
}
case "bootstrap-*" : {
Echo Building Haiku Bootstrap ;
HAIKU_IMAGE_HOST_NAME ?= shredder ;
HAIKU_IMAGE_SIZE ?= 20000 ;
AddHaikuImagePackages
binutils
bison
curl_devel
dejavu
expat
flex
freetype_devel
gawk
gcc
grep
haikuporter
less
libedit
libedit_devel
m4
make
ncurses6
ncurses6_devel
python
sed
texinfo
zlib_devel
;
# secondary architecture packages
local architectureObject ;
for architectureObject
in [ MultiArchSubDirSetup $(TARGET_PACKAGING_ARCHS[2-]) ] {
on $(architectureObject) {
AddHaikuImagePackages
binutils
curl
curl_devel
expat
freetype
freetype_devel
gcc
icu
libsolv
libedit
libedit_devel
ncurses6
ncurses6_devel
zlib
zlib_devel
;
}
}
AddOptionalHaikuImagePackages DevelopmentMin ;
}
case "minimum-*" : {
Echo Building Haiku Minimum Target ;
HAIKU_IMAGE_HOST_NAME ?= shredder ;
AddHaikuImagePackages
;
}
}
# Uncomment in official release branch.
#HAIKU_DEFINES += HAIKU_OFFICIAL_RELEASE ;
#TARGET_DEFINES += HAIKU_OFFICIAL_RELEASE ;
# If a build profile was specified on the command line, now is the time to
# check whether it is unknown or one of the default profiles.
if $(HAIKU_BUILD_PROFILE) && ! $(HAIKU_BUILD_PROFILE_DEFINED) {
# define the obvious default profiles
if $(HAIKU_BUILD_PROFILE) in anyboot-image cd-image image install
vmware-image {
DefineBuildProfile $(HAIKU_BUILD_PROFILE) : $(HAIKU_BUILD_PROFILE) ;
} else {
Exit "Build profile" $(HAIKU_BUILD_PROFILE) "not defined." ;
}
}
}