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
|
|
|
|
# be used
|
|
|
|
|
2008-05-29 14:22:59 +04:00
|
|
|
# Detect a hybrid GCC2/GCC4 image and disable the checks for unavailable GCC4
|
|
|
|
# packages. (It does not matter if a package was built with either compiler,
|
|
|
|
# the system should have the respective other system libs.)
|
|
|
|
local isHybridBuild = 0 ;
|
|
|
|
if $(HAIKU_ADD_ALTERNATIVE_GCC_LIBS) && $(HAIKU_ALTERNATIVE_GCC_OUTPUT_DIR) {
|
|
|
|
isHybridBuild = 1 ;
|
|
|
|
}
|
|
|
|
|
2008-11-12 00:47:12 +03:00
|
|
|
|
2008-03-31 00:01:25 +04:00
|
|
|
# Available Optional Packages:
|
2008-05-29 14:22:59 +04:00
|
|
|
# APR
|
|
|
|
# APR-util
|
|
|
|
# Beam
|
2008-10-28 05:44:39 +03:00
|
|
|
# BeBook
|
2008-10-17 01:31:17 +04:00
|
|
|
# BeHappy
|
2008-09-18 16:55:59 +04:00
|
|
|
# BePDF
|
2008-05-29 01:52:51 +04:00
|
|
|
# Bluetooth
|
2008-07-24 13:50:58 +04:00
|
|
|
# CVS
|
2008-03-31 00:01:25 +04:00
|
|
|
# Development
|
|
|
|
# Firefox
|
2009-03-09 02:35:08 +03:00
|
|
|
# LibLayout
|
2008-03-31 00:01:25 +04:00
|
|
|
# Links
|
2008-10-06 17:24:40 +04:00
|
|
|
# NetSurf
|
2008-03-31 00:01:25 +04:00
|
|
|
# OpenSound
|
2008-10-18 02:40:17 +04:00
|
|
|
# OpenSSH
|
2008-03-31 00:01:25 +04:00
|
|
|
# OpenSSL
|
2008-12-13 01:17:05 +03:00
|
|
|
# P7zip
|
2008-03-31 00:01:25 +04:00
|
|
|
# Pe
|
|
|
|
# Perl
|
2008-06-29 00:51:43 +04:00
|
|
|
# Subversion
|
2009-02-11 01:18:06 +03:00
|
|
|
# Tar
|
2009-03-18 17:03:42 +03:00
|
|
|
# UserlandFS
|
2008-03-31 00:01:25 +04:00
|
|
|
# Vision
|
|
|
|
# VLC
|
2008-10-04 22:28:15 +04:00
|
|
|
# Welcome
|
2008-03-31 00:01:25 +04:00
|
|
|
# WonderBrush
|
2008-10-02 02:52:48 +04:00
|
|
|
# Yasm
|
2008-03-31 00:01:25 +04:00
|
|
|
|
|
|
|
|
2008-03-29 18:18:35 +03:00
|
|
|
# package dependencies
|
2008-05-16 00:47:42 +04:00
|
|
|
OptionalPackageDependencies APR-util : APR ;
|
2008-10-28 05:44:39 +03:00
|
|
|
OptionalPackageDependencies BeHappy : BeBook NetSurf ;
|
2008-03-29 18:18:35 +03:00
|
|
|
OptionalPackageDependencies Development : Perl ;
|
2009-03-09 02:35:08 +03:00
|
|
|
OptionalPackageDependencies LibLayout : Development ;
|
2008-10-06 17:24:40 +04:00
|
|
|
OptionalPackageDependencies NetSurf : OpenSSL ;
|
2008-05-04 17:19:57 +04:00
|
|
|
OptionalPackageDependencies OpenSSH : OpenSSL ;
|
2008-06-29 00:51:43 +04:00
|
|
|
OptionalPackageDependencies Subversion : OpenSSL ;
|
2008-03-29 18:18:35 +03:00
|
|
|
|
2008-05-29 14:22:59 +04:00
|
|
|
|
2008-05-14 02:15:45 +04:00
|
|
|
# APR
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded APR ] {
|
2008-05-29 14:22:59 +04:00
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package APR available for $(TARGET_ARCH)" ;
|
2008-05-14 02:15:45 +04:00
|
|
|
} else {
|
|
|
|
local baseURL = http://haiku-files.org/files/optional-packages ;
|
2008-05-21 00:43:28 +04:00
|
|
|
InstallOptionalHaikuImagePackage apr-0.9.17-gcc2-2008-05-20
|
|
|
|
: $(baseURL)/apr-0.9.17-gcc2-2008-05-20.zip
|
2008-05-14 02:15:45 +04:00
|
|
|
:
|
|
|
|
;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2008-05-16 00:47:42 +04:00
|
|
|
# APR-util
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded APR-util ] {
|
2008-05-29 14:22:59 +04:00
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package APR-util available for $(TARGET_ARCH)" ;
|
2008-05-16 00:47:42 +04:00
|
|
|
} else {
|
|
|
|
local baseURL = http://haiku-files.org/files/optional-packages ;
|
|
|
|
InstallOptionalHaikuImagePackage apr-util-0.9.15-gcc2-2008-05-15
|
|
|
|
: $(baseURL)/apr-util-0.9.15-gcc2-2008-05-15.zip
|
|
|
|
:
|
|
|
|
;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2008-05-29 14:22:59 +04:00
|
|
|
# Beam
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded Beam ] {
|
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package Beam available for $(TARGET_ARCH)" ;
|
|
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 && $(isHybridBuild) = 0 {
|
|
|
|
Echo "No optional package Beam available for gcc4" ;
|
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage Beam
|
|
|
|
# : http://dl.hirschkaefer.de/beam/beam-1-1-2-bone-with-libs.zip
|
|
|
|
: http://dl.hirschkaefer.de/beam/beam-1-1-2-r5-with-libs.zip
|
|
|
|
: apps
|
|
|
|
;
|
|
|
|
AddSymlinkToHaikuImage home config be Applications
|
2008-06-02 01:18:08 +04:00
|
|
|
# : /boot/apps/beam-1-1-2-bone-with-libs/Beam ;
|
|
|
|
: /boot/apps/beam-1-1-2-r5-with-libs/Beam ;
|
2008-05-29 14:22:59 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2008-10-28 05:44:39 +03:00
|
|
|
# BeBook
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded BeBook ] {
|
|
|
|
InstallOptionalHaikuImagePackage bebook_20081026
|
|
|
|
: http://haiku-files.org/files/optional-packages/bebook_20081026.zip
|
2009-04-03 13:02:44 +04:00
|
|
|
: system documentation
|
2008-10-28 05:44:39 +03:00
|
|
|
;
|
|
|
|
AddSymlinkToHaikuImage home Desktop
|
2009-04-03 13:02:44 +04:00
|
|
|
: /boot/system/documentation/bebook/index.html : BeBook ;
|
2008-10-28 05:44:39 +03:00
|
|
|
}
|
|
|
|
|
2008-11-12 00:47:12 +03:00
|
|
|
|
2008-10-17 01:31:17 +04:00
|
|
|
# BeHappy
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded BeHappy ] {
|
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package BeHappy available for $(TARGET_ARCH)" ;
|
|
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 && $(isHybridBuild) = 0 {
|
|
|
|
Echo "No optional package BeHappy available for gcc4" ;
|
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage BeHappy
|
|
|
|
: http://revolf.free.fr/beos/behappy-bone.zip
|
2008-10-18 13:36:14 +04:00
|
|
|
:
|
2008-10-17 01:31:17 +04:00
|
|
|
;
|
|
|
|
AddSymlinkToHaikuImage home config be Applications
|
|
|
|
: /boot/apps/BeHappy/BeHappy ;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2008-09-18 16:55:59 +04:00
|
|
|
# BePDF
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded BePDF ] {
|
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package BePDF available for $(TARGET_ARCH)" ;
|
|
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 && $(isHybridBuild) = 0 {
|
|
|
|
Echo "No optional package BePDF available for gcc4" ;
|
|
|
|
} else {
|
2009-03-23 09:46:18 +03:00
|
|
|
InstallOptionalHaikuImagePackage BePDF-1.1.1b1.x86
|
|
|
|
: http://haiku-files.org/files/optional-packages/BePDF-1.1.1b1.x86.zip
|
2008-09-18 16:55:59 +04:00
|
|
|
: apps
|
|
|
|
;
|
|
|
|
AddSymlinkToHaikuImage home config be Applications
|
|
|
|
: /boot/apps/BePDF/BePDF ;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2008-05-29 14:22:59 +04:00
|
|
|
# Bluetooth stack
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded Bluetooth ] {
|
2008-06-01 01:01:05 +04:00
|
|
|
local bluetoothDrivers = h2generic ;
|
|
|
|
AddDriversToHaikuImage bluetooth : $(bluetoothDrivers) ;
|
2009-04-03 13:02:44 +04:00
|
|
|
AddFilesToHaikuImage system servers : bluetooth_server ;
|
|
|
|
AddFilesToHaikuImage system lib : libbluetooth.so ;
|
|
|
|
AddFilesToHaikuImage system add-ons kernel network devices : bluetooth ;
|
|
|
|
AddFilesToHaikuImage system add-ons kernel network protocols : l2cap ;
|
|
|
|
AddFilesToHaikuImage system add-ons kernel bluetooth : btCoreData ;
|
|
|
|
AddFilesToHaikuImage system preferences : Bluetooth ;
|
|
|
|
AddFilesToHaikuImage system bin : bt_dev_info bt_discovery ;
|
|
|
|
AddSymlinkToHaikuImage home config be Preferences
|
|
|
|
: /boot/system/preferences/Bluetooth ;
|
2008-05-29 14:22:59 +04:00
|
|
|
if [ IsOptionalHaikuImagePackageAdded Development ] {
|
|
|
|
AddSymlinkToHaikuImage develop lib x86 : /system/lib/libbluetooth.so ;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2008-07-24 13:50:58 +04:00
|
|
|
# CVS
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded CVS ] {
|
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package CVS available for $(TARGET_ARCH)" ;
|
|
|
|
} else {
|
|
|
|
local baseURL = http://haiku-files.org/files/optional-packages ;
|
2008-12-05 07:13:34 +03:00
|
|
|
InstallOptionalHaikuImagePackage cvs-1.12.13-gcc2-2008-12-04
|
|
|
|
: $(baseURL)/cvs-1.12.13-gcc2-2008-12-04.zip
|
2008-07-24 13:50:58 +04:00
|
|
|
:
|
|
|
|
;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2008-03-29 18:18:35 +03:00
|
|
|
# Development
|
2008-11-09 01:47:53 +03:00
|
|
|
if [ IsOptionalHaikuImagePackageAdded Development ] && $(TARGET_ARCH) = x86 {
|
2008-03-29 18:18:35 +03:00
|
|
|
# glue code
|
|
|
|
AddFilesToHaikuImage develop lib x86
|
|
|
|
: <src!system!glue!arch!x86>crti.o <src!system!glue!arch!x86>crtn.o
|
|
|
|
<src!system!glue>init_term_dyn.o <src!system!glue>start_dyn.o ;
|
|
|
|
|
2008-08-14 03:38:39 +04:00
|
|
|
# kernel
|
|
|
|
AddFilesToHaikuImage develop lib x86 : kernel.so : _KERNEL_ ;
|
|
|
|
|
2008-03-29 18:18:35 +03:00
|
|
|
# library symlinks
|
|
|
|
local lib ;
|
2008-05-04 04:32:26 +04:00
|
|
|
for lib in $(BEOS_SYSTEM_LIBS) libglut.so {
|
2008-03-29 18:18:35 +03:00
|
|
|
AddSymlinkToHaikuImage develop lib x86 : /system/lib/$(lib:BS) ;
|
|
|
|
}
|
|
|
|
|
|
|
|
# static libraries
|
|
|
|
AddFilesToHaikuImage develop lib x86 : libncurses.a ;
|
|
|
|
|
2009-03-22 18:43:03 +03:00
|
|
|
# the POSIX error code mapper library
|
|
|
|
AddFilesToHaikuImage develop lib x86 : libposix_error_mapper.a ;
|
|
|
|
|
2008-03-29 18:18:35 +03:00
|
|
|
# cc and c++ wrapper scripts
|
2009-04-03 13:02:44 +04:00
|
|
|
AddFilesToHaikuImage system bin : cc c++ ;
|
2008-03-29 18:18:35 +03:00
|
|
|
|
2009-03-19 15:19:41 +03:00
|
|
|
# mkdepend build tool, which is part of the Haiku source tree
|
|
|
|
# (same as make, but make is already included independent of the
|
|
|
|
# Development package)
|
2009-04-03 13:02:44 +04:00
|
|
|
AddFilesToHaikuImage system bin : mkdepend ;
|
2009-03-19 15:19:41 +03:00
|
|
|
|
|
|
|
# skeleton makefile and makefile-engine
|
|
|
|
local makefileEngineFiles =
|
|
|
|
<makefile-engine>makefile
|
|
|
|
<makefile-engine>makefile-engine
|
|
|
|
;
|
|
|
|
SEARCH on $(makefileEngineFiles)
|
|
|
|
= [ FDirName $(HAIKU_TOP) data develop ] ;
|
|
|
|
AddFilesToHaikuImage develop etc
|
|
|
|
: $(makefileEngineFiles) ;
|
|
|
|
|
2008-03-29 18:18:35 +03:00
|
|
|
# headers
|
|
|
|
AddHeaderDirectoryToHaikuImage gnu : 3rdparty ;
|
|
|
|
AddHeaderDirectoryToHaikuImage os ;
|
|
|
|
AddHeaderDirectoryToHaikuImage posix ;
|
|
|
|
|
|
|
|
# add _G_config.h to posix/
|
|
|
|
SEARCH on <header>_G_config.h = [ FDirName $(HAIKU_TOP) headers glibc ] ;
|
|
|
|
AddFilesToHaikuImage develop headers posix : <header>_G_config.h ;
|
|
|
|
|
|
|
|
# create be -> os symlink for now
|
|
|
|
AddSymlinkToHaikuImage develop headers : os : be ;
|
|
|
|
|
2008-04-25 01:33:08 +04:00
|
|
|
# BSD compatibility headers
|
|
|
|
AddHeaderDirectoryToHaikuImage compatibility bsd : bsd ;
|
|
|
|
|
2008-03-29 18:18:35 +03:00
|
|
|
# third party libs headers
|
2008-11-09 01:47:53 +03:00
|
|
|
AddHeaderDirectoryToHaikuImage libs freetype2 : 3rdparty ;
|
2008-11-12 22:40:03 +03:00
|
|
|
AddHeaderDirectoryToHaikuImage libs iconv : 3rdparty ;
|
2008-03-29 18:18:35 +03:00
|
|
|
AddHeaderDirectoryToHaikuImage libs ncurses : 3rdparty ;
|
|
|
|
AddHeaderDirectoryToHaikuImage libs png : 3rdparty ;
|
|
|
|
AddHeaderDirectoryToHaikuImage libs zlib : 3rdparty ;
|
|
|
|
|
2009-02-08 15:47:29 +03:00
|
|
|
if $(HAIKU_GCC_VERSION[1]) = 2 {
|
|
|
|
# gcc and binutils
|
|
|
|
local baseURL = http://haiku-files.org/files/optional-packages ;
|
|
|
|
InstallOptionalHaikuImagePackage gcc-2.95.3-haiku-081024
|
|
|
|
: $(baseURL)/gcc-2.95.3-haiku-081024.zip
|
|
|
|
:
|
|
|
|
;
|
2008-03-29 18:18:35 +03:00
|
|
|
|
|
|
|
AddHeaderDirectoryToHaikuImage cpp ;
|
2008-05-29 14:22:59 +04:00
|
|
|
}
|
2008-03-29 18:18:35 +03:00
|
|
|
|
2009-02-08 15:47:29 +03:00
|
|
|
if $(HAIKU_GCC_VERSION[1]) = 4 {
|
2008-03-29 18:18:35 +03:00
|
|
|
# gcc and binutils
|
2009-02-08 15:47:29 +03:00
|
|
|
local baseURL = http://haiku.mlotz.ch ;
|
2009-03-14 00:19:12 +03:00
|
|
|
InstallOptionalHaikuImagePackage gcc-4.3.3-haiku-090313
|
|
|
|
: $(baseURL)/gcc-4.3.3-haiku-090313.zip
|
2008-10-25 18:17:10 +04:00
|
|
|
:
|
2008-03-29 18:18:35 +03:00
|
|
|
;
|
2009-02-08 15:47:29 +03:00
|
|
|
|
|
|
|
# symlink cpp to g++'s headers
|
|
|
|
AddSymlinkToHaikuImage develop headers
|
|
|
|
: /boot/develop/tools/gnupro/include/g++ : cpp ;
|
2008-03-29 18:18:35 +03:00
|
|
|
}
|
2009-01-26 10:33:08 +03:00
|
|
|
|
2009-02-08 15:40:16 +03:00
|
|
|
# other tools
|
2009-02-08 17:53:53 +03:00
|
|
|
local baseURL = http://haiku-files.org/files/optional-packages ;
|
2009-02-08 15:40:16 +03:00
|
|
|
InstallOptionalHaikuImagePackage autoconf-2.63-gcc2-2008-11-05
|
|
|
|
: $(baseURL)/autoconf-2.63-gcc2-2008-11-05.zip
|
|
|
|
:
|
|
|
|
;
|
|
|
|
InstallOptionalHaikuImagePackage automake-1.10.1-gcc2-2008-11-06
|
|
|
|
: $(baseURL)/automake-1.10.1-gcc2-2008-11-06.zip
|
|
|
|
:
|
|
|
|
;
|
|
|
|
InstallOptionalHaikuImagePackage bison-2.4-gcc2-2008-11-09
|
|
|
|
: $(baseURL)/bison-2.4-gcc2-2008-11-09.zip
|
|
|
|
:
|
|
|
|
;
|
|
|
|
InstallOptionalHaikuImagePackage flex-2.5.35-gcc2-2008-11-09
|
|
|
|
: $(baseURL)/flex-2.5.35-gcc2-2008-11-09.zip
|
|
|
|
:
|
|
|
|
;
|
|
|
|
InstallOptionalHaikuImagePackage jam-haiku-gcc2-2008-03-27-2
|
|
|
|
: $(baseURL)/jam-haiku-gcc2-2008-03-27-2.zip
|
|
|
|
:
|
|
|
|
;
|
|
|
|
InstallOptionalHaikuImagePackage libtool-2.2.6a-gcc2-2008-11-09
|
|
|
|
: $(baseURL)/libtool-2.2.6a-gcc2-2008-11-09.zip
|
|
|
|
:
|
|
|
|
;
|
|
|
|
InstallOptionalHaikuImagePackage m4-1.4.12-gcc2-2008-11-04
|
|
|
|
: $(baseURL)/m4-1.4.12-gcc2-2008-11-04.zip
|
|
|
|
:
|
|
|
|
;
|
|
|
|
InstallOptionalHaikuImagePackage texinfo-4.13a-gcc2-2008-11-09
|
|
|
|
: $(baseURL)/texinfo-4.13a-gcc2-2008-11-09.zip
|
|
|
|
:
|
|
|
|
;
|
2008-03-29 18:18:35 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
# Firefox web browser
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded Firefox ] {
|
2008-05-29 14:22:59 +04:00
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package Firefox available for $(TARGET_ARCH)" ;
|
|
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 && $(isHybridBuild) = 0 {
|
2009-03-07 05:21:45 +03:00
|
|
|
InstallOptionalHaikuImagePackage BeZillaBrowser-2.0.0.21pre-haiku-gcc4-x86-09-03-01
|
|
|
|
: http://haiku-files.org/files/optional-packages/BeZillaBrowser-2.0.0.21pre-haiku-gcc4-x86-09-03-01.zip
|
|
|
|
: apps
|
|
|
|
;
|
|
|
|
AddSymlinkToHaikuImage home config be Applications
|
|
|
|
: /boot/apps/BeZillaBrowser/BeZillaBrowser ;
|
|
|
|
|
|
|
|
|
2008-03-29 18:18:35 +03:00
|
|
|
} else {
|
2009-02-21 00:10:10 +03:00
|
|
|
InstallOptionalHaikuImagePackage BeZillaBrowser-gcc2-20090218
|
|
|
|
: http://bezilla.beuser.de/builds/BeZillaBrowser-gcc2-20090218.zip
|
2008-05-29 14:22:59 +04:00
|
|
|
: apps
|
|
|
|
;
|
|
|
|
AddSymlinkToHaikuImage home config be Applications
|
2009-02-21 00:10:10 +03:00
|
|
|
: /boot/apps/BeZillaBrowser/BeZillaBrowser ;
|
2008-03-29 18:18:35 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2009-03-09 02:35:08 +03:00
|
|
|
# LibLayout library
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded LibLayout ] {
|
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package LibLayout available for $(TARGET_ARCH)" ;
|
|
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
|
|
Echo "No optional package LibLayout available for gcc4" ;
|
|
|
|
} else {
|
|
|
|
local baseURL = http://haiku-files.org/files/optional-packages ;
|
|
|
|
InstallOptionalHaikuImagePackage liblayout-1.4.0-gcc2-2009-03-08
|
|
|
|
: $(baseURL)/liblayout-1.4.0-gcc2-2009-03-08.zip
|
|
|
|
:
|
|
|
|
;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2008-03-29 18:18:35 +03:00
|
|
|
# Links web browser
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded Links ] {
|
2008-05-29 14:22:59 +04:00
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package Links available for $(TARGET_ARCH)" ;
|
|
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 && $(isHybridBuild) = 0 {
|
2008-03-29 18:18:35 +03:00
|
|
|
Echo "No optional package Links available for gcc4" ;
|
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage Links
|
|
|
|
: http://revolf.free.fr/beos/links-beos-bin.zip
|
|
|
|
:
|
|
|
|
;
|
|
|
|
AddSymlinkToHaikuImage home config be Applications
|
|
|
|
: /boot/home/config/bin/links ;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2008-10-06 17:24:40 +04:00
|
|
|
# NetSurf web browser
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded NetSurf ] {
|
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package NetSurf available for $(TARGET_ARCH)" ;
|
|
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 && $(isHybridBuild) = 0 {
|
|
|
|
Echo "No optional package NetSurf available for gcc4" ;
|
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage NetSurf
|
|
|
|
: http://revolf.free.fr/beos/netsurf-bone.zip
|
|
|
|
:
|
|
|
|
;
|
|
|
|
AddSymlinkToHaikuImage home config be Applications
|
|
|
|
: /boot/apps/netsurf/NetSurf ;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2008-03-29 18:18:35 +03:00
|
|
|
# OpenSound drivers
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded OpenSound ] {
|
2008-05-29 14:22:59 +04:00
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package OpenSound available for $(TARGET_ARCH)" ;
|
2008-03-29 18:18:35 +03:00
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage OpenSound
|
2008-06-21 17:48:08 +04:00
|
|
|
: http://www.yellowbites.com/downloads/OpenSound_Haiku20080621.zip
|
2008-03-29 18:18:35 +03:00
|
|
|
:
|
|
|
|
;
|
|
|
|
}
|
|
|
|
#UnzipArchiveToHaikuImage home : data/vv.mp3.zip : 0 ;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2008-05-04 17:19:57 +04:00
|
|
|
# OpenSSH
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded OpenSSH ] {
|
2008-05-29 14:22:59 +04:00
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package OpenSSH available for $(TARGET_ARCH)" ;
|
2008-05-04 17:19:57 +04:00
|
|
|
} else {
|
2008-10-18 13:36:14 +04:00
|
|
|
if ! $(HAIKU_IMAGE_HOST_NAME) {
|
|
|
|
Exit "Optional package OpenSSH requires the HAIKU_IMAGE_HOST_NAME"
|
|
|
|
"variable to be set!" ;
|
|
|
|
}
|
|
|
|
|
2008-05-04 17:19:57 +04:00
|
|
|
local baseURL = http://haiku-files.org/files/optional-packages ;
|
2008-05-07 02:47:38 +04:00
|
|
|
InstallOptionalHaikuImagePackage openssh-5.0p1-gcc2-2008-05-04-1
|
|
|
|
: $(baseURL)/openssh-5.0p1-gcc2-2008-05-04-1.zip
|
2008-05-04 17:19:57 +04:00
|
|
|
:
|
|
|
|
;
|
|
|
|
|
|
|
|
AddUserToHaikuImage sshd : 1001 : 100 : /var/empty : /bin/true
|
|
|
|
: "sshd user" ;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2008-03-31 00:01:25 +04:00
|
|
|
# OpenSSL
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded OpenSSL ] {
|
2008-05-29 14:22:59 +04:00
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package OpenSSL available for $(TARGET_ARCH)" ;
|
2008-03-31 00:01:25 +04:00
|
|
|
} else {
|
|
|
|
local baseURL = http://haiku-files.org/files/optional-packages ;
|
2009-01-31 19:04:12 +03:00
|
|
|
InstallOptionalHaikuImagePackage openssl-0.9.8j-gcc2-2009-01-28
|
|
|
|
: $(baseURL)/openssl-0.9.8j-gcc2-2009-01-28.zip
|
|
|
|
:
|
2008-03-31 00:01:25 +04:00
|
|
|
;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2008-12-13 01:17:05 +03:00
|
|
|
|
|
|
|
# P7zip
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded P7zip ] {
|
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package P7zip available for $(TARGET_ARCH)" ;
|
|
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 && $(isHybridBuild) = 0 {
|
|
|
|
Echo "No optional package P7zip available for gcc4" ;
|
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage p7zip-4.61-gcc2-2008-12-03
|
2009-02-04 02:08:42 +03:00
|
|
|
: http://haiku-files.org/files/optional-packages/p7zip-4.61-gcc2-2008-12-03.zip
|
2009-03-18 17:03:42 +03:00
|
|
|
:
|
2008-12-13 01:17:05 +03:00
|
|
|
;
|
2009-03-18 17:03:42 +03:00
|
|
|
|
2008-12-13 01:17:05 +03:00
|
|
|
actions BuildHaikuImageExpanderRules
|
|
|
|
{
|
|
|
|
echo "\"application/x-7z-compressed\"\t.7z\t\"7za l \0045s\"\t\"7za x -y \0045s\"" > $(1)
|
|
|
|
}
|
2009-03-18 17:03:42 +03:00
|
|
|
|
2008-12-13 01:17:05 +03:00
|
|
|
Always expander.rules ;
|
|
|
|
MakeLocate expander.rules : $(HAIKU_COMMON_PLATFORM_OBJECT_DIR) ;
|
|
|
|
BuildHaikuImageExpanderRules expander.rules ;
|
|
|
|
AddFilesToHaikuImage home config etc : expander.rules ;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-03-29 18:18:35 +03:00
|
|
|
# Pe text editor
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded Pe ] {
|
2008-05-29 14:22:59 +04:00
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package Pe available for $(TARGET_ARCH)" ;
|
2008-03-29 18:18:35 +03:00
|
|
|
} else {
|
2009-03-27 14:32:09 +03:00
|
|
|
local baseURL = http://haiku-files.org/files/optional-packages ;
|
|
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
|
|
InstallOptionalHaikuImagePackage pe-2.4.1-x86-rc3-gcc4-2009-03-27
|
|
|
|
: $(baseURL)/pe-2.4.1-x86-rc3-gcc4-2009-03-27.zip
|
|
|
|
: apps
|
|
|
|
;
|
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage pe-2.4.1-x86-rc3-gcc2-2009-03-07
|
|
|
|
: $(baseURL)/pe-2.4.1-x86-rc3-gcc2-2009-03-07.zip
|
|
|
|
: apps
|
|
|
|
;
|
|
|
|
}
|
2008-03-29 18:18:35 +03:00
|
|
|
|
|
|
|
AddSymlinkToHaikuImage home config be Applications
|
2008-11-04 01:26:37 +03:00
|
|
|
: /boot/apps/Pe/Pe ;
|
2008-03-29 18:18:35 +03:00
|
|
|
AddSymlinkToHaikuImage home config bin
|
2008-11-04 01:26:37 +03:00
|
|
|
: /boot/apps/Pe/lpe ;
|
2008-03-29 18:18:35 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
# Perl
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded Perl ] {
|
2008-05-29 14:22:59 +04:00
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package Perl available for $(TARGET_ARCH)" ;
|
2008-03-29 18:18:35 +03:00
|
|
|
} else {
|
|
|
|
local baseURL = http://haiku-files.org/files/optional-packages ;
|
2008-10-29 05:31:01 +03:00
|
|
|
InstallOptionalHaikuImagePackage perl-5.10.0-gcc2-2008-10-29
|
|
|
|
: $(baseURL)/perl-5.10.0-gcc2-2008-10-29.zip
|
|
|
|
:
|
2008-03-29 18:18:35 +03:00
|
|
|
;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2008-06-29 00:51:43 +04:00
|
|
|
# Subversion
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded Subversion ] {
|
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package Subversion available for $(TARGET_ARCH)" ;
|
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage Subversion
|
|
|
|
: http://haiku.mlotz.ch/subversion-1.4.6-haiku-20080628.zip
|
|
|
|
: home
|
|
|
|
;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2009-02-11 01:18:06 +03:00
|
|
|
# Tar
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded Tar ] {
|
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package Tar available for $(TARGET_ARCH)" ;
|
|
|
|
} else {
|
|
|
|
local baseURL = http://haiku-files.org/files/optional-packages ;
|
|
|
|
InstallOptionalHaikuImagePackage tar-1.21-gcc2-2009-02-08
|
|
|
|
: $(baseURL)/tar-1.21-gcc2-2009-02-08.zip
|
2009-03-18 17:03:42 +03:00
|
|
|
:
|
2009-02-11 01:18:06 +03:00
|
|
|
;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2009-03-18 17:03:42 +03:00
|
|
|
# UserlandFS
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded UserlandFS ] {
|
2009-03-18 19:44:10 +03:00
|
|
|
# kernel module
|
2009-04-03 13:02:44 +04:00
|
|
|
AddFilesToHaikuImage system add-ons kernel file_systems : userlandfs ;
|
2009-03-18 19:44:10 +03:00
|
|
|
|
|
|
|
# server
|
2009-04-03 13:02:44 +04:00
|
|
|
AddFilesToHaikuImage system servers : userlandfs_server ;
|
2009-03-18 19:44:10 +03:00
|
|
|
|
|
|
|
# libs
|
|
|
|
local userlandfsLibs =
|
|
|
|
libuserlandfs_beos_kernel.so
|
|
|
|
libuserlandfs_haiku_kernel.so
|
|
|
|
libuserlandfs_fuse.so
|
|
|
|
;
|
2009-04-03 13:02:44 +04:00
|
|
|
AddFilesToHaikuImage system lib : $(userlandfsLibs) ;
|
2009-03-18 19:44:10 +03:00
|
|
|
|
|
|
|
# development goodies
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded Development ] {
|
|
|
|
# library symlinks
|
|
|
|
local lib ;
|
|
|
|
for lib in $(userlandfsLibs) {
|
|
|
|
AddSymlinkToHaikuImage develop lib x86 : /system/lib/$(lib:BS) ;
|
|
|
|
}
|
|
|
|
|
|
|
|
# FUSE headers
|
|
|
|
local fuseHeaders =
|
|
|
|
fuse_common_compat.h
|
|
|
|
fuse_common.h
|
|
|
|
fuse_compat.h
|
|
|
|
fuse.h
|
|
|
|
fuse_lowlevel_compat.h
|
|
|
|
fuse_lowlevel.h
|
|
|
|
fuse_opt.h
|
|
|
|
;
|
|
|
|
fuseHeaders = $(fuseHeaders:G=userlandfs!fuse) ;
|
|
|
|
SEARCH on $(fuseHeaders)
|
|
|
|
= [ FDirName $(HAIKU_TOP) headers private userlandfs fuse ] ;
|
|
|
|
AddFilesToHaikuImage develop headers userlandfs fuse : $(fuseHeaders) ;
|
|
|
|
}
|
2009-03-18 17:03:42 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2008-03-29 18:18:35 +03:00
|
|
|
# Vision
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded Vision ] {
|
2008-05-29 14:22:59 +04:00
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package Vision available for $(TARGET_ARCH)" ;
|
|
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
2009-03-27 02:21:08 +03:00
|
|
|
InstallOptionalHaikuImagePackage Vision-0.9.7-H-090326-gcc4
|
|
|
|
: http://vision.sf.net/Vision-0.9.7-H-090326-gcc4.zip
|
2008-05-17 02:31:35 +04:00
|
|
|
: apps
|
|
|
|
;
|
|
|
|
AddSymlinkToHaikuImage home config be Applications
|
2009-03-27 02:21:08 +03:00
|
|
|
: /boot/apps/Vision-0.9.7-H-090326/Vision ;
|
2008-03-29 18:18:35 +03:00
|
|
|
} else {
|
2009-03-27 02:21:08 +03:00
|
|
|
InstallOptionalHaikuImagePackage Vision-0.9.7-H-090326
|
|
|
|
: http://vision.sf.net/Vision-0.9.7-H-090326.zip
|
2008-03-29 18:18:35 +03:00
|
|
|
: apps
|
|
|
|
;
|
|
|
|
AddSymlinkToHaikuImage home config be Applications
|
2009-03-27 02:21:08 +03:00
|
|
|
: /boot/apps/Vision-0.9.7-H-090326/Vision ;
|
2008-03-29 18:18:35 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2008-11-12 00:47:12 +03:00
|
|
|
|
2008-03-29 18:18:35 +03:00
|
|
|
# VLC media player
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded VLC ] {
|
2008-05-29 14:22:59 +04:00
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package VLC available for $(TARGET_ARCH)" ;
|
|
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 && $(isHybridBuild) = 0 {
|
2008-03-29 18:18:35 +03:00
|
|
|
Echo "No optional package VLC available for gcc4" ;
|
|
|
|
} else {
|
2008-11-04 01:26:37 +03:00
|
|
|
InstallOptionalHaikuImagePackage VLC-0.8.6c
|
2008-03-29 18:18:35 +03:00
|
|
|
: http://www.yellowbites.com/downloads/vlc-0.8.6c.zip
|
|
|
|
: apps
|
|
|
|
;
|
|
|
|
AddSymlinkToHaikuImage home config be Applications
|
2008-11-04 01:26:37 +03:00
|
|
|
: "/boot/apps/vlc-0.8.6c/VLC media player" ;
|
2008-11-08 14:02:14 +03:00
|
|
|
AddSymlinkToHaikuImage common bin
|
|
|
|
: "/boot/apps/vlc-0.8.6c/VLC media player" : vlc ;
|
2008-03-29 18:18:35 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2008-11-12 00:47:12 +03:00
|
|
|
|
2008-10-04 22:28:15 +04:00
|
|
|
# Welcome
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded Welcome ] {
|
2009-04-03 13:02:44 +04:00
|
|
|
CopyDirectoryToHaikuImage system documentation
|
2008-10-04 22:28:15 +04:00
|
|
|
: [ FDirName $(HAIKU_TOP) docs welcome ]
|
|
|
|
: welcome : -x .svn ;
|
2009-04-03 13:02:44 +04:00
|
|
|
CopyDirectoryToHaikuImage system documentation
|
2008-10-17 13:53:43 +04:00
|
|
|
: [ FDirName $(HAIKU_TOP) docs userguide ]
|
|
|
|
: userguide : -x .svn ;
|
2009-04-03 13:02:44 +04:00
|
|
|
AddFilesToHaikuImage system documentation
|
2009-02-21 18:45:55 +03:00
|
|
|
: [ FDirName $(HAIKU_TOP) docs Haiku-doc.css ]
|
|
|
|
: Haiku-doc.css ;
|
2008-10-04 22:28:15 +04:00
|
|
|
AddSymlinkToHaikuImage home Desktop
|
2009-04-03 13:02:44 +04:00
|
|
|
: /boot/system/documentation/welcome/welcome.html : Welcome ;
|
2008-10-04 22:28:15 +04:00
|
|
|
}
|
2008-03-29 18:18:35 +03:00
|
|
|
|
2008-11-12 00:47:12 +03:00
|
|
|
|
2008-03-29 18:18:35 +03:00
|
|
|
# WonderBrush
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded WonderBrush ] {
|
2008-05-29 14:22:59 +04:00
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package WonderBrush available for $(TARGET_ARCH)" ;
|
|
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 && $(isHybridBuild) = 0 {
|
2008-03-29 18:18:35 +03:00
|
|
|
Echo "No optional package WonderBrush available for gcc4" ;
|
|
|
|
} else {
|
2008-11-09 02:07:16 +03:00
|
|
|
local baseURL = http://www.yellowbites.com/downloads ;
|
2008-11-09 01:47:53 +03:00
|
|
|
InstallOptionalHaikuImagePackage WonderBrush-2.1.2-Haiku
|
|
|
|
: $(baseURL)/WonderBrush-2.1.2-gcc2-x86-Haiku.zip
|
2008-03-29 18:18:35 +03:00
|
|
|
: apps
|
|
|
|
;
|
|
|
|
AddSymlinkToHaikuImage home config be Applications
|
|
|
|
: /boot/apps/WonderBrush/WonderBrush ;
|
|
|
|
}
|
|
|
|
}
|
2008-05-29 01:52:51 +04:00
|
|
|
|
2008-11-12 00:47:12 +03:00
|
|
|
|
2008-10-02 02:52:48 +04:00
|
|
|
# Yasm
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded Yasm ] {
|
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package Yasm available for $(TARGET_ARCH)" ;
|
|
|
|
} else {
|
|
|
|
local baseURL = http://haiku-files.org/files/optional-packages ;
|
2008-12-03 05:46:59 +03:00
|
|
|
InstallOptionalHaikuImagePackage yasm-0.7.2-gcc2-2008-11-25
|
|
|
|
: $(baseURL)/yasm-0.7.2-gcc2-2008-11-25.zip
|
2008-10-02 02:52:48 +04:00
|
|
|
:
|
|
|
|
;
|
|
|
|
}
|
|
|
|
}
|