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.)
|
2009-06-20 15:15:05 +04:00
|
|
|
local isHybridBuild ;
|
2008-05-29 14:22:59 +04:00
|
|
|
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:
|
2009-08-04 20:25:24 +04:00
|
|
|
# APR - support libraries used for example by SVN
|
2008-05-29 14:22:59 +04:00
|
|
|
# APR-util
|
2009-08-04 20:25:24 +04:00
|
|
|
# Beam - powerful native e-mail client
|
|
|
|
# BeBook - the classic BeOS API documentation
|
|
|
|
# BeHappy - special documentation (i.e. BeBook) browser
|
|
|
|
# BeOSCompatibility - creates links within the system to support old apps
|
|
|
|
# BePDF - native PDF reader
|
|
|
|
# Bluetooth - experimental Haiku components for Bluetooth
|
|
|
|
# CDRecord - the command line CD writing tools
|
|
|
|
# Clockwerk - native audio/video compositing
|
|
|
|
# CLucene - indexed file search
|
|
|
|
# CVS - the version control system
|
2009-04-19 01:26:26 +04:00
|
|
|
# Development - more complete dev environment (including autotools)
|
|
|
|
# DevelopmentBase - basic development environment (gcc, headers, libs,...)
|
|
|
|
# DevelopmentMin - development headers, libs, tools, from sources only
|
2009-08-04 20:25:24 +04:00
|
|
|
# Firefox - the webbrowser
|
|
|
|
# KeymapSwitcher - Desktop utility
|
|
|
|
# LibIconv - text encoding conversion library
|
|
|
|
# LibLayout - GCC2 package needed by some BeOS apps to compile
|
|
|
|
# LibXML2 - the XML support libary
|
|
|
|
# Links - the web browser
|
|
|
|
# Nano - the command line text editor
|
|
|
|
# Neon - support libraries used for example by SVN
|
|
|
|
# NetSurf - the web browser
|
|
|
|
# OpenSound - additional audio driver package
|
|
|
|
# OpenSSH - the secure shell
|
|
|
|
# OpenSSL - secure sockets library
|
|
|
|
# P7zip - file archiving utility
|
|
|
|
# Pe - the powerful native Programmer's Editor
|
|
|
|
# Perl - the scripting language
|
|
|
|
# Python - the scripting language
|
|
|
|
# Rsync - remote directory synchronization
|
|
|
|
# SQLite - the database implementation
|
|
|
|
# Subversion - the version control system
|
|
|
|
# Tar - archiving utility
|
|
|
|
# UserlandFS - aids native file system development (like FUSE)
|
|
|
|
# Vim - the command line text editor
|
|
|
|
# Vision - powerful native IRC client
|
|
|
|
# VLC - the multi media player with native interface
|
|
|
|
# Welcome - introductory documentation to Haiku
|
|
|
|
# WonderBrush - native graphics application
|
|
|
|
# Yasm - the assembler utility
|
2008-03-31 00:01:25 +04:00
|
|
|
|
2009-07-07 14:30:09 +04:00
|
|
|
local baseURL = http://haiku-files.org/files/optional-packages ;
|
2008-03-31 00:01:25 +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 {
|
2009-07-07 14:30:09 +04:00
|
|
|
InstallOptionalHaikuImagePackage apr-1.3.5-x86-gcc2-2009-07-05
|
|
|
|
: $(baseURL)/apr-1.3.5-x86-gcc2-2009-07-05.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 {
|
2009-07-07 14:30:09 +04:00
|
|
|
InstallOptionalHaikuImagePackage apr-util-1.3.7-x86-gcc2-2009-07-05
|
|
|
|
: $(baseURL)/apr-util-1.3.7-x86-gcc2-2009-07-05.zip
|
2008-05-16 00:47:42 +04:00
|
|
|
:
|
|
|
|
;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
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)" ;
|
2009-06-20 15:15:05 +04:00
|
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 && ! $(isHybridBuild) {
|
2008-05-29 14:22:59 +04:00
|
|
|
Echo "No optional package Beam available for gcc4" ;
|
|
|
|
} else {
|
2009-07-07 14:30:09 +04:00
|
|
|
InstallOptionalHaikuImagePackage Beam-1.1.2
|
|
|
|
: $(baseURL)/Beam-1.1.2-x86-gcc2-2008-03-27.zip
|
2008-05-29 14:22:59 +04:00
|
|
|
: apps
|
|
|
|
;
|
|
|
|
AddSymlinkToHaikuImage home config be Applications
|
2008-06-02 01:18:08 +04:00
|
|
|
: /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
|
2009-07-07 14:30:09 +04:00
|
|
|
: $(baseURL)/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)" ;
|
2009-06-20 15:15:05 +04:00
|
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 && ! $(isHybridBuild) {
|
2008-10-17 01:31:17 +04:00
|
|
|
Echo "No optional package BeHappy available for gcc4" ;
|
|
|
|
} else {
|
2009-07-07 14:30:09 +04:00
|
|
|
InstallOptionalHaikuImagePackage BeHappy-1.0.6-x86-gcc2-2008-10-16
|
|
|
|
: $(baseURL)/BeHappy-1.0.6-x86-gcc2-2008-10-16.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 ;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2009-04-05 12:57:29 +04:00
|
|
|
# BeOSCompatibility
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded BeOSCompatibility ] {
|
2009-04-21 00:49:09 +04:00
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package BeOSCompatibility available for $(TARGET_ARCH)" ;
|
2009-06-20 15:15:05 +04:00
|
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 && ! $(isHybridBuild) {
|
2009-04-21 00:49:09 +04:00
|
|
|
Echo "No optional package BeOSCompatibility available for gcc4" ;
|
|
|
|
} 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 ;
|
|
|
|
AddSymlinkToHaikuImage beos : ../system/etc ;
|
|
|
|
AddSymlinkToHaikuImage beos : ../system/preferences ;
|
|
|
|
AddSymlinkToHaikuImage beos : ../system ;
|
|
|
|
}
|
2009-04-05 12:57:29 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
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)" ;
|
2009-06-20 15:15:05 +04:00
|
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 && ! $(isHybridBuild) {
|
2008-09-18 16:55:59 +04:00
|
|
|
Echo "No optional package BePDF available for gcc4" ;
|
|
|
|
} else {
|
2009-03-23 09:46:18 +03:00
|
|
|
InstallOptionalHaikuImagePackage BePDF-1.1.1b1.x86
|
2009-07-07 14:30:09 +04:00
|
|
|
: $(baseURL)/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 ;
|
2009-05-27 05:12:34 +04:00
|
|
|
if [ IsOptionalHaikuImagePackageAdded DevelopmentMin ]
|
|
|
|
&& $(HAIKU_GCC_VERSION[1]) in 2 4 {
|
|
|
|
local arch = $(TARGET_ARCH) ;
|
|
|
|
local abi = gcc$(HAIKU_GCC_VERSION[1]) ;
|
|
|
|
AddSymlinkToHaikuHybridImage develop abi $(arch) $(abi) lib
|
|
|
|
: /system/lib libbluetooth.so : : true ;
|
2008-05-29 14:22:59 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2009-05-30 05:26:28 +04:00
|
|
|
# CDRecord
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded CDRecord ] {
|
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package CDRecord available for $(TARGET_ARCH)" ;
|
|
|
|
} else {
|
2009-07-07 14:30:09 +04:00
|
|
|
InstallOptionalHaikuImagePackage cdrecord-2.01.01a59-x86-gcc2-2009-05-26
|
|
|
|
: $(baseURL)/cdrecord-2.01.01a59-x86-gcc2-2009-05-26.zip
|
2009-05-30 05:26:28 +04:00
|
|
|
:
|
|
|
|
;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2009-08-04 20:25:24 +04:00
|
|
|
# Clockwerk
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded Clockwerk ] {
|
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package Clockwerk available for $(TARGET_ARCH)" ;
|
|
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
|
|
InstallOptionalHaikuImagePackage Clockwerk-0.0.1-2009-08-04
|
|
|
|
: $(baseURL)/Clockwerk-0.0.1-x86-gcc4-2009-08-04.zip
|
|
|
|
:
|
|
|
|
;
|
|
|
|
AddSymlinkToHaikuImage home config be Applications
|
|
|
|
: /boot/apps/Clockwerk/Clockwerk ;
|
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage Clockwerk-0.0.1-2009-08-04
|
|
|
|
: $(baseURL)/Clockwerk-0.0.1-x86-gcc2-2009-08-04.zip
|
|
|
|
:
|
|
|
|
;
|
|
|
|
AddSymlinkToHaikuImage home config be Applications
|
|
|
|
: /boot/apps/Clockwerk/Clockwerk ;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2009-06-15 04:13:37 +04:00
|
|
|
# CLucene
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded CLucene ] {
|
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package CLucene available for $(TARGET_ARCH)" ;
|
2009-06-20 15:15:05 +04:00
|
|
|
} else if $(HAIKU_GCC_VERSION[1]) < 4 && ! $(isHybridBuild) {
|
2009-06-15 04:13:37 +04:00
|
|
|
Echo "No optional package CLucene available for GCC2" ;
|
|
|
|
} else {
|
2009-08-04 20:25:24 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
2009-07-07 14:30:09 +04:00
|
|
|
clucene-0.9.21svn-x86-gcc4-haiku-2009-06-11
|
2009-06-15 04:13:37 +04:00
|
|
|
: $(baseURL)/clucene-0.9.21svn-x86-gcc4-haiku-2009-06-11.zip
|
|
|
|
:
|
|
|
|
;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
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 {
|
2009-07-07 14:30:09 +04:00
|
|
|
InstallOptionalHaikuImagePackage cvs-1.12.13-x86-gcc2-2009-07-06
|
|
|
|
: $(baseURL)/cvs-1.12.13-x86-gcc2-2009-07-06.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 {
|
2009-04-19 01:26:26 +04:00
|
|
|
# autotools
|
|
|
|
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 ;
|
2009-07-09 21:54:33 +04:00
|
|
|
InstallOptionalHaikuImagePackage libtool-2.2.6a-gcc2-2008-11-09
|
|
|
|
: $(baseURL)/libtool-2.2.6a-gcc2-2008-11-09.zip ;
|
2009-04-19 01:26:26 +04:00
|
|
|
InstallOptionalHaikuImagePackage texinfo-4.13a-gcc2-2008-11-09
|
|
|
|
: $(baseURL)/texinfo-4.13a-gcc2-2008-11-09.zip ;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
# DevelopmentBase
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded DevelopmentBase ]
|
|
|
|
&& $(TARGET_ARCH) = x86 {
|
|
|
|
# gcc and binutils
|
2009-05-27 05:12:34 +04:00
|
|
|
if $(HAIKU_GCC_VERSION[1]) = 2 || $(isHybridBuild) {
|
2009-07-07 14:30:09 +04:00
|
|
|
InstallOptionalHaikuImagePackage gcc-2.95.3-x86-gcc2-2009-06-29
|
|
|
|
: $(baseURL)/gcc-2.95.3-x86-gcc2-2009-06-29.zip ;
|
2009-05-27 05:12:34 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
if $(HAIKU_GCC_VERSION[1]) = 4 || $(isHybridBuild) {
|
2009-07-08 03:56:50 +04:00
|
|
|
InstallOptionalHaikuImagePackage gcc-4.3.3-x86-gcc4-2009-06-29-1
|
|
|
|
: $(baseURL)/gcc-4.3.3-x86-gcc4-2009-06-29-1.zip ;
|
2009-04-19 01:26:26 +04:00
|
|
|
|
|
|
|
# symlink cpp to g++'s headers
|
2009-05-27 05:12:34 +04:00
|
|
|
AddSymlinkToHaikuImage develop abi x86 gcc4 headers
|
|
|
|
: ../tools/current/include/g++ : cpp ;
|
|
|
|
}
|
|
|
|
|
2009-04-19 01:26:26 +04:00
|
|
|
# other commonly used tools
|
2009-07-07 14:30:09 +04:00
|
|
|
InstallOptionalHaikuImagePackage bison-2.4.1-x86-gcc2-2009-07-05
|
|
|
|
: $(baseURL)/bison-2.4.1-x86-gcc2-2009-07-05.zip ;
|
2009-04-19 01:26:26 +04:00
|
|
|
InstallOptionalHaikuImagePackage m4-1.4.12-gcc2-2008-11-04
|
|
|
|
: $(baseURL)/m4-1.4.12-gcc2-2008-11-04.zip ;
|
2009-07-07 14:30:09 +04:00
|
|
|
InstallOptionalHaikuImagePackage flex-2.5.35-x86-gcc2-2009-07-05
|
|
|
|
: $(baseURL)/flex-2.5.35-x86-gcc2-2009-07-05.zip ;
|
|
|
|
InstallOptionalHaikuImagePackage jam-2.5-x86-gcc2-2009-05-26
|
|
|
|
: $(baseURL)/jam-2.5-x86-gcc2-2009-05-26.zip ;
|
2009-05-30 04:41:49 +04:00
|
|
|
|
2009-04-19 01:26:26 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
# DevelopmentMin
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded DevelopmentMin ] && $(TARGET_ARCH) = x86 {
|
2009-05-27 05:12:34 +04:00
|
|
|
if ! ( $(HAIKU_GCC_VERSION[1]) in 2 4 ) {
|
|
|
|
Exit "Optional package DevelopmentMin: Unsupported GCC version:"
|
|
|
|
$(HAIKU_GCC_VERSION[1]) ;
|
|
|
|
}
|
|
|
|
|
|
|
|
local arch = $(TARGET_ARCH) ;
|
|
|
|
local abi = gcc$(HAIKU_GCC_VERSION[1]) ;
|
|
|
|
local abiDirTokens = develop abi $(arch) $(abi) ;
|
|
|
|
|
2008-03-29 18:18:35 +03:00
|
|
|
# glue code
|
2009-05-27 05:12:34 +04:00
|
|
|
AddFilesToHaikuHybridImage $(abiDirTokens) lib :
|
|
|
|
<src!system!glue!arch!$(arch)>crti.o
|
|
|
|
<src!system!glue!arch!$(arch)>crtn.o
|
|
|
|
<src!system!glue>init_term_dyn.o
|
|
|
|
<src!system!glue>start_dyn.o
|
2009-05-21 19:04:37 +04:00
|
|
|
<src!system!glue>haiku_version_glue.o
|
|
|
|
;
|
2008-03-29 18:18:35 +03:00
|
|
|
|
2008-08-14 03:38:39 +04:00
|
|
|
# kernel
|
2009-05-27 05:12:34 +04:00
|
|
|
AddFilesToHaikuHybridImage $(abiDirTokens) lib : kernel.so : _KERNEL_ ;
|
2008-08-14 03:38:39 +04:00
|
|
|
|
2008-03-29 18:18:35 +03:00
|
|
|
# library symlinks
|
|
|
|
local lib ;
|
2009-06-20 12:44:54 +04:00
|
|
|
for lib in $(SYSTEM_LIBS) $(SYSTEM_LIBS_LIBGL_ALIASES) {
|
2009-05-27 05:12:34 +04:00
|
|
|
AddSymlinkToHaikuHybridImage $(abiDirTokens) lib
|
|
|
|
: /system/lib $(lib:BS) : : true ;
|
2008-03-29 18:18:35 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
# static libraries
|
2009-05-27 05:12:34 +04:00
|
|
|
AddFilesToHaikuHybridImage $(abiDirTokens) lib : libncurses.a ;
|
2008-03-29 18:18:35 +03:00
|
|
|
|
2009-03-22 18:43:03 +03:00
|
|
|
# the POSIX error code mapper library
|
2009-05-27 05:12:34 +04:00
|
|
|
AddFilesToHaikuHybridImage $(abiDirTokens) lib : libposix_error_mapper.a ;
|
|
|
|
|
|
|
|
# symlinks for ABI abstraction
|
|
|
|
AddSymlinkToHaikuImage develop abi : $(arch)/$(abi) : current ;
|
|
|
|
AddSymlinkToHaikuImage develop lib : /boot/develop/abi/current/lib
|
|
|
|
: $(arch) ;
|
|
|
|
AddSymlinkToHaikuImage develop tools
|
|
|
|
: /boot/develop/abi/current/tools/current : gnupro ;
|
|
|
|
AddSymlinkToHaikuImage develop headers
|
|
|
|
: /boot/develop/abi/current/headers/cpp ;
|
|
|
|
AddSymlinkToHaikuHybridImage $(abiDirTokens) library-paths
|
|
|
|
: /boot/common/lib : common : true ;
|
|
|
|
AddSymlinkToHaikuHybridImage $(abiDirTokens) library-paths
|
|
|
|
: /boot/home/config/lib : home : true ;
|
|
|
|
|
|
|
|
# ABI independent stuff
|
|
|
|
|
2009-05-29 01:22:36 +04:00
|
|
|
# scripts: cc and c++ wrapper, freetype-config, setgcc
|
|
|
|
local scripts = cc c++ freetype-config setgcc ;
|
2009-05-27 05:12:34 +04:00
|
|
|
SEARCH on $(scripts) = [ FDirName $(HAIKU_TOP) data bin ] ;
|
|
|
|
AddFilesToHaikuImage system bin : $(scripts) ;
|
2008-03-29 18:18:35 +03:00
|
|
|
|
2009-04-19 01:26:26 +04:00
|
|
|
# make and mkdepend build tool, which are part of the Haiku source tree
|
|
|
|
# TODO: Both should be removed from the tree, made download packages
|
|
|
|
# and moved to the DevelopmentBase package.
|
|
|
|
AddFilesToHaikuImage system bin : make 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 ] ;
|
2009-05-27 05:12:34 +04:00
|
|
|
AddFilesToHaikuImage develop etc : $(makefileEngineFiles) ;
|
2009-03-19 15:19:41 +03:00
|
|
|
|
2008-03-29 18:18:35 +03:00
|
|
|
# headers
|
|
|
|
AddHeaderDirectoryToHaikuImage gnu : 3rdparty ;
|
2009-07-07 14:30:09 +04:00
|
|
|
AddHeaderDirectoryToHaikuImage glibc ;
|
2008-03-29 18:18:35 +03:00
|
|
|
AddHeaderDirectoryToHaikuImage os ;
|
|
|
|
AddHeaderDirectoryToHaikuImage posix ;
|
|
|
|
|
|
|
|
# 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-03-29 18:18:35 +03:00
|
|
|
AddHeaderDirectoryToHaikuImage libs ncurses : 3rdparty ;
|
|
|
|
AddHeaderDirectoryToHaikuImage libs png : 3rdparty ;
|
|
|
|
AddHeaderDirectoryToHaikuImage libs zlib : 3rdparty ;
|
|
|
|
|
2009-05-27 05:12:34 +04:00
|
|
|
# cpp headers
|
2009-02-08 15:47:29 +03:00
|
|
|
if $(HAIKU_GCC_VERSION[1]) = 2 {
|
2009-05-27 05:12:34 +04:00
|
|
|
# GCC 2 only -- for GCC 4 they come with the DevelopmentBase package
|
|
|
|
CopyDirectoryToHaikuImage $(abiDirTokens) headers
|
|
|
|
: [ FDirName $(HAIKU_TOP) headers cpp ] : : -x .svn ;
|
|
|
|
CopyDirectoryToAlternativeGCCArchive $(abiDirTokens) headers
|
|
|
|
: [ FDirName $(HAIKU_TOP) headers cpp ] : : -x .svn ;
|
2008-05-29 14:22:59 +04:00
|
|
|
}
|
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)" ;
|
2009-08-05 18:28:58 +04:00
|
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
|
|
InstallOptionalHaikuImagePackage
|
|
|
|
BeZillaBrowser-2.0.0.21pre-haiku-gcc4-x86-09-03-01
|
|
|
|
: $(baseURL)/BeZillaBrowser-2.0.0.21pre-haiku-gcc4-x86-09-03-01.zip
|
|
|
|
: apps
|
|
|
|
;
|
|
|
|
AddSymlinkToHaikuImage home config be Applications
|
|
|
|
: /boot/apps/BeZillaBrowser/BeZillaBrowser ;
|
2009-08-04 20:25:24 +04:00
|
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 && ! $(isHybridBuild) {
|
|
|
|
Echo "No optional package Firefox available for GCC4" ;
|
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-04-07 00:23:18 +04:00
|
|
|
# KeymapSwitcher
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded KeymapSwitcher ] {
|
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package KeymapSwitcher available for $(TARGET_ARCH)" ;
|
2009-08-01 21:10:34 +04:00
|
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
2009-08-04 20:25:24 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
2009-07-07 14:30:09 +04:00
|
|
|
KeymapSwitcher-1.2.3-x86-gcc4-2009-05-31
|
|
|
|
: $(baseURL)/KeymapSwitcher-1.2.3-x86-gcc4-2009-05-31.zip
|
2009-05-31 23:38:25 +04:00
|
|
|
:
|
|
|
|
;
|
|
|
|
AddSymlinkToHaikuImage home config be Desktop\ Applets
|
|
|
|
: /boot/common/bin/KeymapSwitcher ;
|
2009-04-07 00:23:18 +04:00
|
|
|
} else {
|
2009-08-04 20:25:24 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
2009-07-07 14:30:09 +04:00
|
|
|
KeymapSwitcher-1.2.3-x86-gcc2-2009-05-31
|
|
|
|
: $(baseURL)/KeymapSwitcher-1.2.3-x86-gcc2-2009-05-31.zip
|
2009-04-07 00:23:18 +04:00
|
|
|
:
|
|
|
|
;
|
|
|
|
AddSymlinkToHaikuImage home config be Desktop\ Applets
|
|
|
|
: /boot/common/bin/KeymapSwitcher ;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2009-05-30 05:26:28 +04:00
|
|
|
# LibIconv
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded LibIconv ] {
|
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package LibIconv available for $(TARGET_ARCH)" ;
|
|
|
|
} else {
|
2009-07-08 03:56:50 +04:00
|
|
|
InstallOptionalHaikuImagePackage libiconv-1.13.1-x86-gcc2-2009-07-07
|
|
|
|
: $(baseURL)/libiconv-1.13.1-x86-gcc2-2009-07-07.zip
|
2009-05-30 05:26:28 +04: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)" ;
|
2009-08-01 21:10:34 +04:00
|
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 && ! $(isHybridBuild) {
|
2009-03-09 02:35:08 +03:00
|
|
|
Echo "No optional package LibLayout available for gcc4" ;
|
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage liblayout-1.4.0-gcc2-2009-03-08
|
|
|
|
: $(baseURL)/liblayout-1.4.0-gcc2-2009-03-08.zip
|
|
|
|
:
|
|
|
|
;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2009-05-30 05:26:28 +04:00
|
|
|
# LibXML2
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded LibXML2 ] {
|
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package LibXML2 available for $(TARGET_ARCH)" ;
|
|
|
|
} else {
|
2009-07-07 14:30:09 +04:00
|
|
|
InstallOptionalHaikuImagePackage libxml2-2.7.3-x86-gcc2-2009-07-06
|
|
|
|
: $(baseURL)/libxml2-2.7.3-x86-gcc2-2009-07-06.zip
|
2009-05-30 05:26:28 +04:00
|
|
|
:
|
|
|
|
;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
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)" ;
|
2009-06-20 15:15:05 +04:00
|
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 && ! $(isHybridBuild) {
|
2008-03-29 18:18:35 +03:00
|
|
|
Echo "No optional package Links available for gcc4" ;
|
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage Links
|
2009-07-07 14:30:09 +04:00
|
|
|
: $(baseURL)/links-x86-gcc2-2008-05-03.zip
|
2008-03-29 18:18:35 +03:00
|
|
|
:
|
|
|
|
;
|
|
|
|
AddSymlinkToHaikuImage home config be Applications
|
|
|
|
: /boot/home/config/bin/links ;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2009-05-30 05:26:28 +04:00
|
|
|
# Nano
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded Nano ] {
|
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package Nano available for $(TARGET_ARCH)" ;
|
|
|
|
} else {
|
2009-07-07 14:30:09 +04:00
|
|
|
InstallOptionalHaikuImagePackage nano-2.0.9-x86-gcc2-2009-07-06
|
|
|
|
: $(baseURL)/nano-2.0.9-x86-gcc2-2009-07-06.zip
|
2009-05-30 05:26:28 +04:00
|
|
|
:
|
|
|
|
;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
# Neon
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded Neon ] {
|
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package Neon available for $(TARGET_ARCH)" ;
|
|
|
|
} else {
|
2009-07-07 14:30:09 +04:00
|
|
|
InstallOptionalHaikuImagePackage neon-0.28.5-x86-gcc2-2009-07-06
|
|
|
|
: $(baseURL)/neon-0.28.5-x86-gcc2-2009-07-06.zip
|
2009-05-30 05:26:28 +04:00
|
|
|
:
|
|
|
|
;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
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)" ;
|
2009-06-20 15:15:05 +04:00
|
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 && ! $(isHybridBuild) {
|
2008-10-06 17:24:40 +04:00
|
|
|
Echo "No optional package NetSurf available for gcc4" ;
|
|
|
|
} else {
|
2009-07-07 14:30:09 +04:00
|
|
|
InstallOptionalHaikuImagePackage NetSurf-r7117
|
|
|
|
: $(baseURL)/NetSurf-r7117-x86-gcc2-2009-04-17.zip
|
2008-10-06 17:24:40 +04:00
|
|
|
:
|
|
|
|
;
|
|
|
|
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
|
2009-07-07 14:30:09 +04:00
|
|
|
: $(baseURL)/OpenSound-x86-gcc2-2008-06-21.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 {
|
2009-05-27 05:12:34 +04:00
|
|
|
if ! $(HAIKU_IMAGE_HOST_NAME) && ! $(HAIKU_IGNORE_USER_BUILD_CONFIG) {
|
2008-10-18 13:36:14 +04:00
|
|
|
Exit "Optional package OpenSSH requires the HAIKU_IMAGE_HOST_NAME"
|
|
|
|
"variable to be set!" ;
|
|
|
|
}
|
|
|
|
|
2009-07-07 14:30:09 +04:00
|
|
|
InstallOptionalHaikuImagePackage openssh-5.2p1-x86-gcc2-2009-05-27
|
|
|
|
: $(baseURL)/openssh-5.2p1-x86-gcc2-2009-05-27.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 {
|
2009-04-08 14:07:17 +04:00
|
|
|
InstallOptionalHaikuImagePackage $(HAIKU_OPENSSL_PACKAGE)
|
|
|
|
: $(HAIKU_OPENSSL_URL)
|
2009-01-31 19:04:12 +03:00
|
|
|
:
|
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)" ;
|
2009-06-20 15:15:05 +04:00
|
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 && ! $(isHybridBuild) {
|
2008-12-13 01:17:05 +03:00
|
|
|
Echo "No optional package P7zip available for gcc4" ;
|
|
|
|
} else {
|
2009-07-07 14:30:09 +04:00
|
|
|
InstallOptionalHaikuImagePackage p7zip-4.65-x86-gcc2-2009-05-24
|
|
|
|
: $(baseURL)/p7zip-4.65-x86-gcc2-2009-05-24.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
|
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
2009-08-04 20:25:24 +04:00
|
|
|
InstallOptionalHaikuImagePackage Pe-2.4.2-x86-gcc4-2009-08-04
|
|
|
|
: $(baseURL)/Pe-2.4.2-x86-gcc4-2009-08-04.zip
|
2009-03-27 14:32:09 +03:00
|
|
|
;
|
|
|
|
} else {
|
2009-07-07 14:30:09 +04:00
|
|
|
InstallOptionalHaikuImagePackage Pe-2.4.2-x86-gcc2-2009-07-05
|
|
|
|
: $(baseURL)/Pe-2.4.2-x86-gcc2-2009-07-05.zip
|
2009-03-27 14:32:09 +03:00
|
|
|
;
|
|
|
|
}
|
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 ;
|
2009-04-06 17:15:16 +04:00
|
|
|
AddSymlinkToHaikuImage common 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 {
|
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
|
|
|
;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2009-05-30 05:26:28 +04:00
|
|
|
# Python
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded Python ] {
|
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package Python available for $(TARGET_ARCH)" ;
|
|
|
|
} else {
|
2009-07-12 21:15:57 +04:00
|
|
|
InstallOptionalHaikuImagePackage python-2.6.2-x86-gcc2-2009-07-12
|
|
|
|
: $(baseURL)/python-2.6.2-x86-gcc2-2009-07-12.zip
|
2009-05-30 05:26:28 +04:00
|
|
|
:
|
|
|
|
;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2009-07-09 01:52:43 +04:00
|
|
|
# Rsync
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded Rsync ] {
|
2009-05-30 05:26:28 +04:00
|
|
|
if $(TARGET_ARCH) != x86 {
|
2009-07-09 01:52:43 +04:00
|
|
|
Echo "No optional package Rsync available for $(TARGET_ARCH)" ;
|
2009-05-30 05:26:28 +04:00
|
|
|
} else {
|
2009-07-09 01:52:43 +04:00
|
|
|
InstallOptionalHaikuImagePackage rsync-3.0.6-x86-gcc2-2009-05-26
|
|
|
|
: $(baseURL)/rsync-3.0.6-x86-gcc2-2009-05-26.zip
|
2009-05-30 05:26:28 +04:00
|
|
|
:
|
|
|
|
;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2009-07-09 01:52:43 +04:00
|
|
|
# SQLite
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded SQLite ] {
|
2009-05-26 15:39:09 +04:00
|
|
|
if $(TARGET_ARCH) != x86 {
|
2009-07-09 01:52:43 +04:00
|
|
|
Echo "No optional package SQLite available for $(TARGET_ARCH)" ;
|
2009-05-26 15:39:09 +04:00
|
|
|
} else {
|
2009-07-09 01:52:43 +04:00
|
|
|
InstallOptionalHaikuImagePackage sqlite-3.6.16-x86-gcc2-2009-07-06
|
|
|
|
: $(baseURL)/sqlite-3.6.16-x86-gcc2-2009-07-06.zip
|
2009-05-26 15:39:09 +04: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 {
|
2009-07-09 21:54:33 +04:00
|
|
|
InstallOptionalHaikuImagePackage subversion-1.6.2-x86-gcc2-2009-05-20
|
|
|
|
: $(baseURL)/subversion-1.6.2-x86-gcc2-2009-05-20.zip
|
2009-05-30 05:26:28 +04:00
|
|
|
:
|
2008-06-29 00:51:43 +04:00
|
|
|
;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2009-02-11 01:18:06 +03:00
|
|
|
# Tar
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded Tar ] {
|
2009-07-07 14:30:09 +04:00
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package Tar available for $(TARGET_ARCH)" ;
|
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage tar-1.21-gcc2-2009-02-08
|
|
|
|
: $(baseURL)/tar-1.21-gcc2-2009-02-08.zip
|
|
|
|
:
|
|
|
|
;
|
|
|
|
}
|
2009-02-11 01:18:06 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2009-03-18 17:03:42 +03:00
|
|
|
# UserlandFS
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded UserlandFS ] {
|
2009-05-27 05:12:34 +04:00
|
|
|
local arch = $(TARGET_ARCH) ;
|
|
|
|
local abi = gcc$(HAIKU_GCC_VERSION[1]) ;
|
|
|
|
|
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-05-27 05:12:34 +04:00
|
|
|
AddFilesToHaikuHybridImage system lib : $(userlandfsLibs) : : true ;
|
2009-03-18 19:44:10 +03:00
|
|
|
|
|
|
|
# development goodies
|
2009-04-19 01:26:26 +04:00
|
|
|
if [ IsOptionalHaikuImagePackageAdded DevelopmentMin ] {
|
2009-05-27 05:12:34 +04:00
|
|
|
if ! ( $(HAIKU_GCC_VERSION[1]) in 2 4 ) {
|
|
|
|
Exit "Optional package UserlandFS: Unsupported GCC version:"
|
|
|
|
$(HAIKU_GCC_VERSION[1]) ;
|
|
|
|
}
|
|
|
|
|
2009-03-18 19:44:10 +03:00
|
|
|
# library symlinks
|
|
|
|
local lib ;
|
|
|
|
for lib in $(userlandfsLibs) {
|
2009-05-27 05:12:34 +04:00
|
|
|
AddSymlinkToHaikuImage develop abi $(arch) $(abi) lib
|
|
|
|
: /system/lib/$(lib:BS) ;
|
|
|
|
AddSymlinkToAlternativeGCCArchive develop abi $(arch) $(abi) lib
|
|
|
|
: /system/lib/$(arch)/$(lib:BS) ;
|
2009-03-18 19:44:10 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
# 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
|
|
|
}
|
|
|
|
|
|
|
|
|
2009-06-02 00:21:55 +04:00
|
|
|
# Vim
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded Vim ] {
|
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package Vim available for $(TARGET_ARCH)" ;
|
2009-08-01 21:10:34 +04:00
|
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
2009-07-07 14:30:09 +04:00
|
|
|
InstallOptionalHaikuImagePackage vim-7.2-x86-gcc4-2009-05-31
|
|
|
|
: $(baseURL)/vim-7.2-x86-gcc4-2009-05-31.zip
|
2009-06-02 00:21:55 +04:00
|
|
|
:
|
|
|
|
;
|
|
|
|
AddSymlinkToHaikuImage home config be Applications
|
|
|
|
: /boot/common/bin/gvim ;
|
|
|
|
} else {
|
2009-07-07 14:30:09 +04:00
|
|
|
InstallOptionalHaikuImagePackage vim-7.2-x86-gcc2-2009-05-31
|
|
|
|
: $(baseURL)/vim-7.2-x86-gcc2-2009-05-31.zip
|
2009-06-02 00:21:55 +04:00
|
|
|
:
|
|
|
|
;
|
|
|
|
AddSymlinkToHaikuImage home config be Applications
|
|
|
|
: /boot/common/bin/gvim ;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
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)" ;
|
2009-08-05 02:54:54 +04:00
|
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
|
|
InstallOptionalHaikuImagePackage Vision-0.9.7-H-090423-1
|
|
|
|
: $(baseURL)/Vision-0.9.7-H-x86-gcc4-2009-04-23.zip
|
|
|
|
: apps
|
|
|
|
;
|
|
|
|
AddSymlinkToHaikuImage home config be Applications
|
|
|
|
: /boot/apps/Vision-0.9.7-H-090423/Vision ;
|
2008-03-29 18:18:35 +03:00
|
|
|
} else {
|
2009-04-24 07:59:39 +04:00
|
|
|
InstallOptionalHaikuImagePackage Vision-0.9.7-H-090423
|
2009-07-07 14:30:09 +04:00
|
|
|
: $(baseURL)/Vision-0.9.7-H-x86-gcc2-2009-04-23.zip
|
2008-03-29 18:18:35 +03:00
|
|
|
: apps
|
|
|
|
;
|
|
|
|
AddSymlinkToHaikuImage home config be Applications
|
2009-04-24 07:59:39 +04:00
|
|
|
: /boot/apps/Vision-0.9.7-H-090423/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)" ;
|
2009-06-20 15:15:05 +04:00
|
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 && ! $(isHybridBuild) {
|
2008-03-29 18:18:35 +03:00
|
|
|
Echo "No optional package VLC available for gcc4" ;
|
|
|
|
} else {
|
2009-04-18 19:01:25 +04:00
|
|
|
InstallOptionalHaikuImagePackage VLC-0.8.6d
|
|
|
|
: $(baseURL)/vlc-0.8.6d-gcc2-2009-04-18.zip
|
2008-03-29 18:18:35 +03:00
|
|
|
: apps
|
|
|
|
;
|
|
|
|
AddSymlinkToHaikuImage home config be Applications
|
2009-04-18 19:01:25 +04:00
|
|
|
: "/boot/apps/vlc-0.8.6d/VLC media player" ;
|
2008-11-08 14:02:14 +03:00
|
|
|
AddSymlinkToHaikuImage common bin
|
2009-04-18 19:01:25 +04:00
|
|
|
: "/boot/apps/vlc-0.8.6d/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)" ;
|
2009-06-20 15:15:05 +04:00
|
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 && ! $(isHybridBuild) {
|
2008-03-29 18:18:35 +03:00
|
|
|
Echo "No optional package WonderBrush available for gcc4" ;
|
|
|
|
} else {
|
2009-07-07 14:30:09 +04:00
|
|
|
InstallOptionalHaikuImagePackage WonderBrush-2.1.2
|
|
|
|
: $(baseURL)/WonderBrush-2.1.2-x86-gcc2-2008-11-08.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 {
|
2009-07-07 14:30:09 +04:00
|
|
|
InstallOptionalHaikuImagePackage yasm-0.8.0-x86-gcc2-2009-07-06
|
|
|
|
: $(baseURL)/yasm-0.8.0-x86-gcc2-2009-07-06.zip
|
2008-10-02 02:52:48 +04:00
|
|
|
:
|
|
|
|
;
|
|
|
|
}
|
|
|
|
}
|