2008-03-29 18:18:35 +03:00
|
|
|
# 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
|
2013-07-05 12:51:42 +04:00
|
|
|
# be used.
|
2008-11-12 00:47:12 +03:00
|
|
|
|
2008-03-31 00:01:25 +04:00
|
|
|
# Available Optional Packages:
|
2009-12-27 03:13:08 +03:00
|
|
|
# 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 22:06:34 +04:00
|
|
|
# WebPositive - native, WebKit-based web browser
|
2009-12-27 03:13:08 +03:00
|
|
|
# Welcome - introductory documentation to Haiku
|
2010-09-16 06:34:38 +04:00
|
|
|
|
|
|
|
|
2013-07-05 12:51:42 +04:00
|
|
|
# dependencies between optional packages
|
|
|
|
OptionalPackageDependencies Development : DevelopmentBase ;
|
|
|
|
OptionalPackageDependencies DevelopmentBase : DevelopmentMin ;
|
|
|
|
OptionalPackageDependencies DevelopmentPowerPC : DevelopmentMin ;
|
|
|
|
OptionalPackageDependencies NetFS : UserlandFS ;
|
2010-03-14 10:19:45 +03:00
|
|
|
|
|
|
|
|
2018-08-21 03:56:17 +03:00
|
|
|
# Haiku sources
|
|
|
|
if $(HAIKU_INCLUDE_SOURCES) = 1 {
|
2020-01-26 00:27:48 +03:00
|
|
|
AddPackageFilesToHaikuImage _sources_
|
2018-08-21 03:56:17 +03:00
|
|
|
:
|
|
|
|
haiku_source.hpkg
|
|
|
|
:
|
|
|
|
nameFromMetaInfo
|
|
|
|
;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2013-06-16 05:54:50 +04:00
|
|
|
# BeBook
|
2008-10-28 05:44:39 +03:00
|
|
|
if [ IsOptionalHaikuImagePackageAdded BeBook ] {
|
2020-01-26 00:27:48 +03:00
|
|
|
AddHaikuImageSystemPackages be_book ;
|
2008-10-28 05:44:39 +03:00
|
|
|
AddSymlinkToHaikuImage home Desktop
|
2013-04-29 01:50:46 +04:00
|
|
|
: /boot/system/documentation/BeBook/index.html
|
2011-06-16 11:00:06 +04:00
|
|
|
: BeBook ;
|
2008-10-28 05:44:39 +03:00
|
|
|
}
|
|
|
|
|
2008-11-12 00:47:12 +03:00
|
|
|
|
2009-04-05 12:57:29 +04:00
|
|
|
# BeOSCompatibility
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded BeOSCompatibility ] {
|
2020-10-07 06:46:18 +03:00
|
|
|
if $(TARGET_ARCH) != x86
|
|
|
|
|| $(TARGET_CC_IS_LEGACY_GCC_$(TARGET_PACKAGING_ARCH)) != 1 {
|
2013-07-05 12:51:42 +04:00
|
|
|
Echo "No optional package BeOSCompatibility available for"
|
|
|
|
"$(TARGET_ARCH)" ;
|
2009-04-21 00:49:09 +04:00
|
|
|
} else {
|
2013-07-05 12:51:42 +04:00
|
|
|
Echo "Warning: Adding BeOS compatibility symlinks. This will go away."
|
|
|
|
"Please fix your apps!" ;
|
2009-04-21 00:49:09 +04:00
|
|
|
AddSymlinkToHaikuImage beos : ../system/apps ;
|
|
|
|
AddSymlinkToHaikuImage beos : ../system/bin ;
|
2011-06-16 11:00:06 +04:00
|
|
|
AddSymlinkToHaikuImage beos
|
|
|
|
: ../system/documentation ;
|
2013-09-30 00:09:00 +04:00
|
|
|
AddSymlinkToHaikuImage beos : ../system/settings/etc ;
|
2009-04-21 00:49:09 +04:00
|
|
|
AddSymlinkToHaikuImage beos : ../system/preferences ;
|
|
|
|
AddSymlinkToHaikuImage beos : ../system ;
|
2010-02-05 17:18:20 +03:00
|
|
|
AddDirectoryToHaikuImage var ;
|
2013-09-30 00:09:00 +04:00
|
|
|
AddSymlinkToHaikuImage var : /boot/system/var/log ;
|
|
|
|
AddSymlinkToHaikuImage var : /boot/system/cache/tmp ;
|
2009-04-21 00:49:09 +04:00
|
|
|
}
|
2009-04-05 12:57:29 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2008-03-29 18:18:35 +03:00
|
|
|
# Development
|
2012-08-17 16:03:31 +04:00
|
|
|
if [ IsOptionalHaikuImagePackageAdded Development ] {
|
2020-04-20 01:01:59 +03:00
|
|
|
# autotools
|
2020-04-24 04:26:43 +03:00
|
|
|
AddHaikuImageDisabledPackages autoconf automake texinfo ;
|
|
|
|
AddHaikuImageSourcePackages autoconf automake texinfo ;
|
2013-07-05 12:51:42 +04:00
|
|
|
|
2013-08-17 11:21:06 +04:00
|
|
|
# some other build tools
|
2020-04-20 01:01:59 +03:00
|
|
|
AddHaikuImageDisabledPackages pkgconfig ;
|
2018-07-01 21:25:10 +03:00
|
|
|
AddHaikuImageSourcePackages pkgconfig ;
|
2013-08-17 11:21:06 +04:00
|
|
|
|
2018-08-26 19:33:36 +03:00
|
|
|
# devel packages for some of the base set
|
2013-08-12 19:23:20 +04:00
|
|
|
local architectureObject ;
|
|
|
|
for architectureObject in [ MultiArchSubDirSetup ] {
|
|
|
|
on $(architectureObject) {
|
2021-04-17 22:41:55 +03:00
|
|
|
AddHaikuImageDisabledPackages openssl_devel
|
2020-04-20 01:01:59 +03:00
|
|
|
libjpeg_turbo_devel libpng16_devel zlib_devel ;
|
2013-08-12 19:23:20 +04:00
|
|
|
}
|
|
|
|
}
|
2009-04-19 01:26:26 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
# DevelopmentBase
|
2012-08-16 23:32:29 +04:00
|
|
|
if [ IsOptionalHaikuImagePackageAdded DevelopmentBase ] {
|
2013-08-12 19:23:20 +04:00
|
|
|
# gcc and binutils (for all target architectures)
|
|
|
|
local architectureObject ;
|
|
|
|
for architectureObject in [ MultiArchSubDirSetup ] {
|
|
|
|
on $(architectureObject) {
|
2021-04-17 22:41:55 +03:00
|
|
|
AddHaikuImageDisabledPackages binutils gcc !gcc2 @{ mpc mpfr }@ ;
|
|
|
|
AddHaikuImageSystemPackages gmp@!gcc2 ;
|
|
|
|
AddHaikuImageSourcePackages binutils gcc !gcc2 @{ gmp mpc mpfr }@ ;
|
2013-08-12 19:23:20 +04:00
|
|
|
}
|
|
|
|
}
|
2009-04-19 01:26:26 +04:00
|
|
|
|
2013-07-05 12:51:42 +04:00
|
|
|
# other commonly used tools
|
2022-07-08 07:18:31 +03: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 ;
|
2009-04-19 01:26:26 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
# DevelopmentMin
|
2012-08-16 23:32:29 +04:00
|
|
|
if [ IsOptionalHaikuImagePackageAdded DevelopmentMin ]
|
|
|
|
&& ( $(TARGET_ARCH) = x86 || $(TARGET_ARCH) = x86_64 ) {
|
2020-01-26 00:27:48 +03:00
|
|
|
AddPackageFilesToHaikuImage _packages_
|
2013-08-06 05:33:36 +04:00
|
|
|
:
|
|
|
|
haiku_devel.hpkg
|
|
|
|
haiku_$(TARGET_PACKAGING_ARCHS[2-])_devel.hpkg
|
2013-10-09 05:47:28 +04:00
|
|
|
:
|
|
|
|
nameFromMetaInfo
|
2013-08-06 05:33:36 +04:00
|
|
|
;
|
2017-12-03 17:16:52 +03:00
|
|
|
|
|
|
|
if $(HAIKU_IS_BOOTSTRAP) != 1 {
|
2020-01-26 00:27:48 +03:00
|
|
|
AddPackageFilesToHaikuImage _packages_
|
2017-12-03 17:16:52 +03:00
|
|
|
:
|
|
|
|
makefile_engine.hpkg
|
|
|
|
:
|
|
|
|
nameFromMetaInfo
|
|
|
|
;
|
2020-04-23 17:19:03 +03:00
|
|
|
AddHaikuImageDisabledPackages make mkdepend ;
|
|
|
|
AddHaikuImageSourcePackages make ;
|
2017-12-03 17:16:52 +03:00
|
|
|
}
|
2008-03-29 18:18:35 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2013-07-05 12:51:42 +04:00
|
|
|
# Git
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded Git ] {
|
2020-04-20 01:01:59 +03:00
|
|
|
AddHaikuImageSystemPackages git git_daemon perl ;
|
2018-07-01 21:25:10 +03:00
|
|
|
AddHaikuImageSourcePackages git ;
|
2010-04-14 01:47:04 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2013-07-05 12:51:42 +04:00
|
|
|
# WebPositive
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded WebPositive ] {
|
2013-08-10 17:06:55 +04:00
|
|
|
local architectureObject ;
|
|
|
|
for architectureObject in [ MultiArchSubDirSetup ] {
|
|
|
|
on $(architectureObject) {
|
|
|
|
if [ FIsBuildFeatureEnabled webpositive ] {
|
2020-01-26 00:27:48 +03:00
|
|
|
AddPackageFilesToHaikuImage system packages : webpositive.hpkg
|
2013-10-09 05:47:28 +04:00
|
|
|
: nameFromMetaInfo ;
|
2013-08-10 17:06:55 +04:00
|
|
|
break ;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2013-06-13 20:46:34 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2013-07-05 12:51:42 +04:00
|
|
|
# Welcome
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded Welcome ] {
|
2022-11-13 07:46:54 +03:00
|
|
|
AddHaikuImageSystemPackages
|
2022-10-26 01:34:31 +03:00
|
|
|
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 20:46:34 +04:00
|
|
|
|
2019-10-20 09:20:43 +03:00
|
|
|
AddSymlinkToHaikuImage home Desktop : /boot/system/bin/quicktour
|
|
|
|
: Quick\ Tour ;
|
|
|
|
|
2013-07-05 12:51:42 +04:00
|
|
|
AddSymlinkToHaikuImage home Desktop : /boot/system/bin/userguide
|
|
|
|
: User\ Guide ;
|
2008-10-04 22:28:15 +04:00
|
|
|
}
|