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
|
|
|
|
|
|
|
|
2013-06-16 05:54:50 +04:00
|
|
|
# BeBook
|
2008-10-28 05:44:39 +03:00
|
|
|
if [ IsOptionalHaikuImagePackageAdded BeBook ] {
|
2013-09-30 00:09:00 +04:00
|
|
|
AddHaikuImagePackages 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 ] {
|
2009-04-21 00:49:09 +04:00
|
|
|
if $(TARGET_ARCH) != x86 {
|
2013-07-05 12:51:42 +04:00
|
|
|
Echo "No optional package BeOSCompatibility available for"
|
|
|
|
"$(TARGET_ARCH)" ;
|
2013-08-01 10:51:16 +04:00
|
|
|
} else if $(TARGET_GCC_VERSION_$(TARGET_PACKAGING_ARCH)[1]) >= 4 {
|
2009-04-21 00:49:09 +04:00
|
|
|
Echo "No optional package BeOSCompatibility available for gcc4" ;
|
|
|
|
} 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 ] {
|
2018-07-02 06:16:29 +03:00
|
|
|
# autotools and perl
|
2017-11-25 14:01:30 +03:00
|
|
|
AddHaikuImagePackages autoconf automake perl texinfo ;
|
2018-07-01 21:25:10 +03:00
|
|
|
AddHaikuImageSourcePackages autoconf automake texinfo ;
|
2013-07-05 12:51:42 +04:00
|
|
|
|
2013-08-17 11:21:06 +04:00
|
|
|
# some other build tools
|
2015-02-12 06:39:57 +03:00
|
|
|
AddHaikuImagePackages pkgconfig scons ;
|
2018-07-01 21:25:10 +03:00
|
|
|
AddHaikuImageSourcePackages pkgconfig ;
|
2013-08-17 11:21:06 +04:00
|
|
|
|
2013-07-05 12:51:42 +04:00
|
|
|
# devel packages for mandatory packages
|
2013-08-12 19:23:20 +04:00
|
|
|
local architectureObject ;
|
|
|
|
for architectureObject in [ MultiArchSubDirSetup ] {
|
|
|
|
on $(architectureObject) {
|
2016-03-11 08:38:32 +03:00
|
|
|
AddHaikuImagePackages curl_devel ffmpeg_devel fontconfig_devel
|
|
|
|
freetype_devel glu_devel jpeg_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) {
|
|
|
|
AddHaikuImagePackages binutils gcc ;
|
2018-07-01 21:25:10 +03:00
|
|
|
AddHaikuImageSourcePackages binutils gcc ;
|
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
|
2015-02-16 21:58:26 +03:00
|
|
|
AddHaikuImagePackages bison cdrtools flex jam m4 make mkdepend nasm patch ;
|
2018-07-01 21:25:10 +03:00
|
|
|
AddHaikuImageSourcePackages bison cdrtools m4 make patch ;
|
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 ) {
|
2013-08-06 05:33:36 +04:00
|
|
|
AddPackageFilesToHaikuImage system
|
|
|
|
:
|
|
|
|
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 {
|
|
|
|
AddPackageFilesToHaikuImage system
|
|
|
|
:
|
|
|
|
makefile_engine.hpkg
|
|
|
|
:
|
|
|
|
nameFromMetaInfo
|
|
|
|
;
|
|
|
|
}
|
2008-03-29 18:18:35 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2013-07-05 12:51:42 +04:00
|
|
|
# Git
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded Git ] {
|
2018-07-01 21:25:10 +03:00
|
|
|
AddHaikuImagePackages git git_daemon ;
|
|
|
|
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 ] {
|
2013-10-09 05:47:28 +04:00
|
|
|
AddPackageFilesToHaikuImage system : webpositive.hpkg
|
|
|
|
: 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 ] {
|
2015-10-25 12:13:04 +03:00
|
|
|
AddPackageFilesToHaikuImage system : haiku_userguide_ca.hpkg
|
2013-10-09 05:47:28 +04:00
|
|
|
: nameFromMetaInfo ;
|
2015-10-25 12:13:04 +03:00
|
|
|
AddPackageFilesToHaikuImage system : haiku_userguide_de.hpkg
|
|
|
|
: nameFromMetaInfo ;
|
|
|
|
AddPackageFilesToHaikuImage system : haiku_userguide_en.hpkg
|
|
|
|
: nameFromMetaInfo ;
|
|
|
|
AddPackageFilesToHaikuImage system : haiku_userguide_es.hpkg
|
|
|
|
: nameFromMetaInfo ;
|
|
|
|
AddPackageFilesToHaikuImage system : haiku_userguide_fi.hpkg
|
|
|
|
: nameFromMetaInfo ;
|
|
|
|
AddPackageFilesToHaikuImage system : haiku_userguide_fr.hpkg
|
|
|
|
: nameFromMetaInfo ;
|
|
|
|
AddPackageFilesToHaikuImage system : haiku_userguide_hu.hpkg
|
|
|
|
: nameFromMetaInfo ;
|
|
|
|
AddPackageFilesToHaikuImage system : haiku_userguide_it.hpkg
|
|
|
|
: nameFromMetaInfo ;
|
|
|
|
AddPackageFilesToHaikuImage system : haiku_userguide_jp.hpkg
|
|
|
|
: nameFromMetaInfo ;
|
|
|
|
AddPackageFilesToHaikuImage system : haiku_userguide_pl.hpkg
|
|
|
|
: nameFromMetaInfo ;
|
|
|
|
AddPackageFilesToHaikuImage system : haiku_userguide_pt_BR.hpkg
|
|
|
|
: nameFromMetaInfo ;
|
|
|
|
AddPackageFilesToHaikuImage system : haiku_userguide_pt_PT.hpkg
|
|
|
|
: nameFromMetaInfo ;
|
|
|
|
AddPackageFilesToHaikuImage system : haiku_userguide_ru.hpkg
|
|
|
|
: nameFromMetaInfo ;
|
|
|
|
AddPackageFilesToHaikuImage system : haiku_userguide_sk.hpkg
|
|
|
|
: nameFromMetaInfo ;
|
|
|
|
AddPackageFilesToHaikuImage system : haiku_userguide_sv_SE.hpkg
|
|
|
|
: nameFromMetaInfo ;
|
|
|
|
AddPackageFilesToHaikuImage system : haiku_userguide_uk.hpkg
|
|
|
|
: nameFromMetaInfo ;
|
|
|
|
AddPackageFilesToHaikuImage system : haiku_userguide_zh_CN.hpkg
|
|
|
|
: nameFromMetaInfo ;
|
|
|
|
|
2013-10-09 05:47:28 +04:00
|
|
|
AddPackageFilesToHaikuImage system : haiku_welcome.hpkg : nameFromMetaInfo ;
|
2013-06-13 20:46:34 +04:00
|
|
|
|
2013-07-05 12:51:42 +04:00
|
|
|
AddSymlinkToHaikuImage home Desktop : /boot/system/bin/welcome
|
|
|
|
: Welcome ;
|
|
|
|
AddSymlinkToHaikuImage home Desktop : /boot/system/bin/userguide
|
|
|
|
: User\ Guide ;
|
2008-10-04 22:28:15 +04:00
|
|
|
}
|