4e87ae1bbe
It is now declared with architecture x86_gcc2, though it probably has been built with gcc4. That issue has to be solved for real eventually, since the package resolver won't allow mixing of gcc2 and gcc4 packages.
1738 lines
52 KiB
Plaintext
1738 lines
52 KiB
Plaintext
# 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
|
|
|
|
|
|
# Available Optional Packages:
|
|
# ABI-compliance-checker - tool for checking ABI compatibility between libs
|
|
# APR - support libraries used for example by Subversion
|
|
# APR-util - Apache portable runtime utility library
|
|
# ArmyKnife - tool for editing audio file metadata and attributes
|
|
# Bazaar - the distributed version control system
|
|
# BeAE - open source Audio Editor
|
|
# 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
|
|
# BeZillaBrowser - fork of Mozilla's 1.8 branch.
|
|
# Bluetooth - experimental Haiku components for Bluetooth
|
|
# BurnItNow - CD burning app
|
|
# Bzip - file archiving utility
|
|
# CCache - fast compiler cache
|
|
# CDRecord - the command line CD writing tools
|
|
# Clockwerk - native audio/video compositing
|
|
# CLucene - indexed file search
|
|
# Curl - a client that groks URLs
|
|
# CMake - cross platform make
|
|
# CVS - the version control system
|
|
# Development - more complete dev environment (including autotools)
|
|
# DevelopmentBase - basic development environment (gcc, headers, libs,...)
|
|
# DevelopmentJava - JamVM, a Java Virtual machine, GNU Classpath, ECJ
|
|
# DevelopmentMin - development headers, libs, tools, from sources only
|
|
# Doxygen - Generate documentation from source code
|
|
# Expat - XML parsing libraries
|
|
# Fastdep - fast dependency generator for C/C++ files
|
|
# friss - RSS/ATOM/... feeds reader
|
|
# GetText - a framework to help produce multi-lingual messages.
|
|
# Git - the distributed version control system
|
|
# GPerf - the perfect hash function generator.
|
|
# Groff - text formatter used for man pages
|
|
# ICU-devel - the headers and lib-links for ICU (for development)
|
|
# KeymapSwitcher - Easy to use keymap switcher
|
|
# LibEvent - An event notification library
|
|
# LibIconv - text encoding conversion library
|
|
# LibLayout - GCC2 package needed by some BeOS apps to compile
|
|
# Libmng - mng support library
|
|
# LibXML2 - the XML support library
|
|
# LibXSLT - xslt library and utility
|
|
# Links - the web browser
|
|
# Lua - the scripting language
|
|
# Man - standard commands to read man pages
|
|
# Mercurial - the distributed version control system
|
|
# Nano - the command line text editor
|
|
# Neon - support libraries used for example by SVN
|
|
# NetFS - the native networked file system components
|
|
# NetSurf - the web browser
|
|
# OCaml - the Objective Caml language
|
|
# OpenSound - additional audio driver package
|
|
# OpenSSH - the secure shell
|
|
# OpenSSL - secure sockets library
|
|
# P7zip - file archiving utility
|
|
# Paladin - a Haiku IDE
|
|
# PCRE - the (Perl-compatible) regex engine
|
|
# Pe - the powerful native Programmer's Editor
|
|
# Perl - the scripting language
|
|
# Python - the scripting language
|
|
# Rsync - remote directory synchronization
|
|
# Ruby - the programming language
|
|
# Sed - the ultimate stream editor
|
|
# SQLite - the database implementation
|
|
# Subversion - the version control system
|
|
# TagLib - id3 tag library
|
|
# Tar - archiving utility
|
|
# TimGMSoundFont - a good quality General MIDI Sound Font
|
|
# TrackerNewTemplates - template files for Tracker's New menu
|
|
# Transmission - a fast, easy, and free BitTorrent Client
|
|
# UserlandFS - aids native file system development (like FUSE)
|
|
# Vim - Vi IMproved. Highly configurable text editor
|
|
# Vision - powerful native IRC client
|
|
# WebPositive - native, WebKit-based web browser
|
|
# Welcome - introductory documentation to Haiku
|
|
# WifiFirmwareScriptData - data files needed by install-wifi-firmwares.sh
|
|
# WonderBrush - native graphics application
|
|
# wpa_supplicant - a WPA Supplicant with support for WPA and WPA2
|
|
# WQY-MicroHei - Chinese font
|
|
# XZ-Utils - file archiving utility
|
|
# Yasm - the assembler utility
|
|
|
|
local baseURL = http://haiku-files.org/files/optional-packages ;
|
|
local hpkgBaseURL = http://haiku-files.org/files/hpkg ;
|
|
local baseSourceURL = http://haiku-files.org/files/sources ;
|
|
|
|
# ABI-compliance-checker
|
|
if [ IsOptionalHaikuImagePackageAdded ABI-compliance-checker ] {
|
|
if $(HAIKU_GCC_VERSION[1]) < 4 {
|
|
Echo "No optional package ABI-compliance-checker for gcc2" ;
|
|
} else {
|
|
InstallOptionalHaikuImagePackage
|
|
ABI-compliance-checker-1.12-noarch-gcc4-2010-02-01.zip
|
|
: $(baseURL)/ABI-compliance-checker-1.12-noarch-gcc4-2010-02-01.zip ;
|
|
}
|
|
}
|
|
|
|
|
|
# APR
|
|
if [ IsOptionalHaikuImagePackageAdded APR ] {
|
|
if $(TARGET_ARCH) != x86 {
|
|
Echo "No optional package APR available for $(TARGET_ARCH)" ;
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
InstallOptionalHaikuImagePackage
|
|
apr-1.4.2-r1a3-x86-gcc4-2011-05-24.zip
|
|
: $(baseURL)/apr-1.4.2-r1a3-x86-gcc4-2011-05-24.zip
|
|
: : true ;
|
|
} else {
|
|
InstallOptionalHaikuImagePackage
|
|
apr-1.4.2-1-x86_gcc2.hpkg
|
|
: $(hpkgBaseURL)/apr-1.4.2-1-x86_gcc2.hpkg
|
|
: common packages ;
|
|
}
|
|
}
|
|
|
|
|
|
# APR-util
|
|
if [ IsOptionalHaikuImagePackageAdded APR-util ] {
|
|
if $(TARGET_ARCH) != x86 {
|
|
Echo "No optional package APR-util available for $(TARGET_ARCH)" ;
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
InstallOptionalHaikuImagePackage
|
|
apr-util-1.3.10-r1a3-x86-gcc4-2011-05-24.zip
|
|
: $(baseURL)/apr-util-1.3.10-r1a3-x86-gcc4-2011-05-24.zip
|
|
: : true ;
|
|
} else {
|
|
InstallOptionalHaikuImagePackage
|
|
apr-util-1.3.10-1-x86_gcc2.hpkg
|
|
: $(hpkgBaseURL)/apr-util-1.3.10-1-x86_gcc2.hpkg
|
|
: common packages ;
|
|
}
|
|
}
|
|
|
|
|
|
# ArmyKnife
|
|
if [ IsOptionalHaikuImagePackageAdded ArmyKnife ] {
|
|
if $(TARGET_ARCH) != x86 {
|
|
Echo "No optional package ArmyKnife available for $(TARGET_ARCH)" ;
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
Echo "No optional package ArmyKnife for gcc4" ;
|
|
} else {
|
|
InstallOptionalHaikuImagePackage
|
|
armyknife-63-r1a3-x86-gcc2-2011-06-04.zip
|
|
: $(baseURL)/armyknife-63-r1a3-x86-gcc2-2011-06-04.zip ;
|
|
AddSymlinkToHaikuImage home config settings deskbar Applications
|
|
: /boot/apps/ArmyKnife/ArmyKnife ;
|
|
}
|
|
}
|
|
|
|
|
|
# Bazaar
|
|
if [ IsOptionalHaikuImagePackageAdded Bazaar ] {
|
|
if $(TARGET_ARCH) != x86 {
|
|
Echo "No optional package Bazaar available for $(TARGET_ARCH)" ;
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
InstallOptionalHaikuImagePackage bzr-2.2.2-r1a3-x86-gcc4-2011-05-23.zip
|
|
: $(baseURL)/bzr-2.2.2-r1a3-x86-gcc4-2011-05-23.zip ;
|
|
} else {
|
|
InstallOptionalHaikuImagePackage bzr-2.2.2-r1a3-x86-gcc2-2011-05-17.zip
|
|
: $(baseURL)/bzr-2.2.2-r1a3-x86-gcc2-2011-05-17.zip ;
|
|
}
|
|
}
|
|
|
|
|
|
# BeAE
|
|
if [ IsOptionalHaikuImagePackageAdded BeAE ] {
|
|
if $(TARGET_ARCH) != x86 {
|
|
Echo "No optional package BeAE available for $(TARGET_ARCH)" ;
|
|
} else {
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
InstallOptionalHaikuImagePackage
|
|
beae-22-r1a3-x86-gcc4-2011-05-24.zip
|
|
: $(baseURL)/beae-22-r1a3-x86-gcc4-2011-05-24.zip ;
|
|
} else {
|
|
InstallOptionalHaikuImagePackage
|
|
beae-22-r1a3-x86-gcc2-2011-05-18.zip
|
|
: $(baseURL)/beae-22-r1a3-x86-gcc2-2011-05-18.zip ;
|
|
}
|
|
AddSymlinkToHaikuImage home config settings deskbar Applications
|
|
: /boot/apps/BeAE/BeAE ;
|
|
}
|
|
}
|
|
|
|
|
|
# Beam
|
|
if [ IsOptionalHaikuImagePackageAdded Beam ] {
|
|
if $(TARGET_ARCH) != x86 {
|
|
Echo "No optional package Beam available for $(TARGET_ARCH)" ;
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
Echo "No optional package Beam available for gcc4" ;
|
|
} else {
|
|
InstallOptionalHaikuImagePackage Beam-1.2alpha-x86-gcc2-2010-04-29.zip
|
|
: $(baseURL)/Beam-1.2alpha-x86-gcc2-2010-04-29.zip ;
|
|
AddSymlinkToHaikuImage home config settings deskbar Applications
|
|
: /boot/apps/Beam/Beam ;
|
|
}
|
|
}
|
|
|
|
|
|
# BeBook
|
|
if [ IsOptionalHaikuImagePackageAdded BeBook ] {
|
|
InstallOptionalHaikuImagePackage bebook-2008-10-26-1.hpkg
|
|
: $(hpkgBaseURL)/bebook-2008-10-26-1.hpkg
|
|
: system packages ;
|
|
AddSymlinkToHaikuImage home Desktop
|
|
: /boot/system/documentation/bebook/index.html
|
|
: BeBook ;
|
|
}
|
|
|
|
|
|
# BeHappy
|
|
if [ IsOptionalHaikuImagePackageAdded BeHappy ] {
|
|
if $(TARGET_ARCH) != x86 {
|
|
Echo "No optional package BeHappy available for $(TARGET_ARCH)" ;
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
Echo "No optional package BeHappy available for gcc4" ;
|
|
} else {
|
|
Echo "No optional package BeHappy available for gcc2" ;
|
|
}
|
|
}
|
|
|
|
|
|
# BeOSCompatibility
|
|
if [ IsOptionalHaikuImagePackageAdded BeOSCompatibility ] {
|
|
if $(TARGET_ARCH) != x86 {
|
|
Echo "No optional package BeOSCompatibility available for $(TARGET_ARCH)" ;
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
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 : ../common/settings/etc ;
|
|
AddSymlinkToHaikuImage beos : ../system/preferences ;
|
|
AddSymlinkToHaikuImage beos : ../system ;
|
|
AddDirectoryToHaikuImage var ;
|
|
AddSymlinkToHaikuImage var : /boot/common/var/log ;
|
|
AddSymlinkToHaikuImage var : /boot/common/cache/tmp ;
|
|
}
|
|
}
|
|
|
|
|
|
# BePDF
|
|
if [ IsOptionalHaikuImagePackageAdded BePDF ] {
|
|
if $(TARGET_ARCH) != x86 {
|
|
Echo "No optional package BePDF available for $(TARGET_ARCH)" ;
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
Echo "No optional package BePDF available for gcc4" ;
|
|
} else {
|
|
InstallOptionalHaikuImagePackage
|
|
bepdf-1.1.1b4-1-x86_gcc2.hpkg
|
|
: $(hpkgBaseURL)/bepdf-1.1.1b4-1-x86_gcc2.hpkg
|
|
: common packages ;
|
|
AddSymlinkToHaikuImage home config settings deskbar Applications
|
|
: /boot/apps/BePDF/BePDF ;
|
|
}
|
|
}
|
|
|
|
|
|
# BeZillaBrowser
|
|
if [ IsOptionalHaikuImagePackageAdded BeZillaBrowser ] {
|
|
if $(TARGET_ARCH) != x86 {
|
|
Echo "No optional package BeZillaBrowser available for $(TARGET_ARCH)" ;
|
|
} else {
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
InstallOptionalHaikuImagePackage
|
|
BeZillaBrowser-2.0.0.22pre-r1a2-x86-gcc4-2010-05-04.zip
|
|
: $(baseURL)/BeZillaBrowser-2.0.0.22pre-r1a2-x86-gcc4-2010-05-04.zip ;
|
|
} else {
|
|
InstallOptionalHaikuImagePackage
|
|
bezillabrowser-2.0.0.22pre_2010_05_02-1-x86_gcc2.hpkg
|
|
: $(hpkgBaseURL)/bezillabrowser-2.0.0.22pre_2010_05_02-1-x86_gcc2.hpkg
|
|
: common packages ;
|
|
}
|
|
AddSymlinkToHaikuImage home config settings deskbar Applications
|
|
: /boot/common/apps/BeZillaBrowser/BeZillaBrowser ;
|
|
InstallSourceArchive BeZillaBrowser-2.0.0.22pre-r1a2-sources.tar.xz
|
|
: $(baseSourceURL)/2010/BeZillaBrowser-2.0.0.22pre-r1a2-sources.tar.xz ;
|
|
}
|
|
}
|
|
|
|
|
|
# Bluetooth stack
|
|
if [ IsOptionalHaikuImagePackageAdded Bluetooth ] {
|
|
local bluetoothDrivers = h2generic ;
|
|
AddDriversToHaikuImage bluetooth : $(bluetoothDrivers) ;
|
|
AddFilesToHaikuImage system servers : bluetooth_server ;
|
|
AddFilesToHaikuImage system lib : libbluetooth.so ;
|
|
AddFilesToHaikuImage
|
|
system add-ons kernel network protocols : l2cap ;
|
|
AddFilesToHaikuImage system add-ons kernel bluetooth
|
|
: btCoreData hci ;
|
|
AddFilesToHaikuImage system preferences : Bluetooth ;
|
|
AddFilesToHaikuImage system bin
|
|
: bt_dev_info bt_discovery ;
|
|
AddSymlinkToHaikuImage home config settings deskbar Preferences
|
|
: /boot/system/preferences/Bluetooth ;
|
|
if [ IsOptionalHaikuImagePackageAdded DevelopmentMin ]
|
|
&& $(HAIKU_GCC_VERSION[1]) in 2 4 {
|
|
local arch = $(TARGET_ARCH) ;
|
|
local abi = gcc$(HAIKU_GCC_VERSION[1]) ;
|
|
AddSymlinkToHaikuImage system develop lib
|
|
: /system/lib libbluetooth.so ;
|
|
}
|
|
}
|
|
|
|
|
|
# BurnItNow
|
|
if [ IsOptionalHaikuImagePackageAdded BurnItNow ] {
|
|
if $(TARGET_ARCH) != x86 {
|
|
Echo "No optional package BurnItNow available for $(TARGET_ARCH)" ;
|
|
} else {
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
InstallOptionalHaikuImagePackage
|
|
burnitnow-39-r1a3-x86-gcc4-2011-05-24.zip
|
|
: $(baseURL)/burnitnow-39-r1a3-x86-gcc4-2011-05-24.zip ;
|
|
} else {
|
|
InstallOptionalHaikuImagePackage
|
|
burnitnow-39-r1a3-x86-gcc2-2011-05-18.zip
|
|
: $(baseURL)/burnitnow-39-r1a3-x86-gcc2-2011-05-18.zip ;
|
|
}
|
|
AddSymlinkToHaikuImage home config settings deskbar Applications
|
|
: /boot/apps/BurnItNow/BurnItNow ;
|
|
}
|
|
}
|
|
|
|
|
|
# Bzip
|
|
if [ IsOptionalHaikuImagePackageAdded Bzip ] {
|
|
if $(TARGET_ARCH) != x86 {
|
|
Echo "No optional package Bzip available for $(TARGET_ARCH)" ;
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
InstallOptionalHaikuImagePackage
|
|
bzip2-1.0.6-r1a3-x86-gcc4-2011-05-24.zip
|
|
: $(baseURL)/bzip2-1.0.6-r1a3-x86-gcc4-2011-05-24.zip
|
|
: : true ;
|
|
} else {
|
|
InstallOptionalHaikuImagePackage
|
|
bzip2-1.0.6-1-x86_gcc2.hpkg
|
|
: $(hpkgBaseURL)/bzip2-1.0.6-1-x86_gcc2.hpkg
|
|
: common packages ;
|
|
}
|
|
}
|
|
|
|
|
|
# CCache
|
|
if [ IsOptionalHaikuImagePackageAdded CCache ] {
|
|
if $(TARGET_ARCH) != x86 {
|
|
Echo "No optional package CCache available for $(TARGET_ARCH)" ;
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
InstallOptionalHaikuImagePackage
|
|
ccache-3.0.1-r1a3-x86-gcc4-2011-05-23.zip
|
|
: $(baseURL)/ccache-3.0.1-r1a3-x86-gcc4-2011-05-23.zip ;
|
|
} else {
|
|
InstallOptionalHaikuImagePackage
|
|
ccache-3.0.1-r1a3-x86-gcc2-2011-05-17.zip
|
|
: $(baseURL)/ccache-3.0.1-r1a3-x86-gcc2-2011-05-17.zip ;
|
|
}
|
|
}
|
|
|
|
|
|
# CDRecord
|
|
if [ IsOptionalHaikuImagePackageAdded CDRecord ] {
|
|
if $(TARGET_ARCH) != x86 {
|
|
Echo "No optional package CDRecord available for $(TARGET_ARCH)" ;
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
InstallOptionalHaikuImagePackage
|
|
cdrtools-3.01a01-r1a3-x86-gcc4-2011-05-23.zip
|
|
: $(baseURL)/cdrtools-3.01a01-r1a3-x86-gcc4-2011-05-23.zip ;
|
|
} else {
|
|
InstallOptionalHaikuImagePackage
|
|
cdrtools-3.00-1-x86_gcc2.hpkg
|
|
: $(hpkgBaseURL)/cdrtools-3.00-1-x86_gcc2.hpkg
|
|
: common packages ;
|
|
}
|
|
}
|
|
|
|
|
|
# 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.2-x86-gcc4-2010-10-13-1.zip
|
|
: $(baseURL)/Clockwerk-0.0.2-x86-gcc4-2010-10-13-1.zip ;
|
|
} else {
|
|
InstallOptionalHaikuImagePackage
|
|
Clockwerk-0.0.2-x86-gcc2-2010-10-13-1.zip
|
|
: $(baseURL)/Clockwerk-0.0.2-x86-gcc2-2010-10-13-1.zip ;
|
|
}
|
|
AddSymlinkToHaikuImage home config settings deskbar Applications
|
|
: /boot/apps/Clockwerk/Clockwerk ;
|
|
}
|
|
}
|
|
|
|
|
|
# CLucene
|
|
if [ IsOptionalHaikuImagePackageAdded CLucene ] {
|
|
if $(TARGET_ARCH) != x86 {
|
|
Echo "No optional package CLucene available for $(TARGET_ARCH)" ;
|
|
} else if $(HAIKU_GCC_VERSION[1]) < 4 {
|
|
Echo "No optional package CLucene available for GCC2" ;
|
|
} else {
|
|
InstallOptionalHaikuImagePackage
|
|
clucene-0.9.21-x86-gcc4-haiku-2009-08-11.zip
|
|
: $(baseURL)/clucene-0.9.21-x86-gcc4-haiku-2009-08-11.zip
|
|
: : true ;
|
|
}
|
|
}
|
|
|
|
|
|
# CMake
|
|
if [ IsOptionalHaikuImagePackageAdded CMake ] {
|
|
if $(TARGET_ARCH) != x86 {
|
|
Echo "No optional package CMake available for $(TARGET_ARCH)" ;
|
|
} else {
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
InstallOptionalHaikuImagePackage
|
|
cmake-2.8.4-r1a3-x86-gcc4-2011-05-23.zip
|
|
: $(baseURL)/cmake-2.8.4-r1a3-x86-gcc4-2011-05-23.zip
|
|
: : true ;
|
|
} else {
|
|
InstallOptionalHaikuImagePackage
|
|
cmake-2.8.5-2-gcc2_x86.hpkg
|
|
: $(hpkgBaseURL)/cmake-2.8.5-2-gcc2_x86.hpkg
|
|
: common packages ;
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
# Curl
|
|
if [ IsOptionalHaikuImagePackageAdded Curl ] {
|
|
if $(TARGET_ARCH) != x86 {
|
|
Echo "No optional package Curl available for $(TARGET_ARCH)" ;
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
InstallOptionalHaikuImagePackage curl-7.21.7-x86-gcc4-2011-06-23.zip
|
|
: $(baseURL)/curl-7.21.7-x86-gcc4-2011-06-23.zip ;
|
|
} else {
|
|
InstallOptionalHaikuImagePackage curl-7.21.6-1-x86_gcc2.hpkg
|
|
: $(hpkgBaseURL)/curl-7.21.6-1-x86_gcc2.hpkg
|
|
: common packages ;
|
|
}
|
|
}
|
|
|
|
|
|
# CVS
|
|
if [ IsOptionalHaikuImagePackageAdded CVS ] {
|
|
if $(TARGET_ARCH) != x86 {
|
|
Echo "No optional package CVS available for $(TARGET_ARCH)" ;
|
|
} else {
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
InstallOptionalHaikuImagePackage
|
|
cvs-1.12.13.1-r1a3-x86-gcc4-2011-05-24.zip
|
|
: $(baseURL)/cvs-1.12.13.1-r1a3-x86-gcc4-2011-05-24.zip
|
|
: : true ;
|
|
} else {
|
|
InstallOptionalHaikuImagePackage
|
|
cvs-1.12.13.1-1-x86_gcc2.hpkg
|
|
: $(hpkgBaseURL)/curl-7.21.6-1-x86_gcc2.hpkg
|
|
: common packages ;
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
# Development
|
|
if [ IsOptionalHaikuImagePackageAdded Development ] && $(TARGET_ARCH) = x86 {
|
|
# autotools
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
InstallOptionalHaikuImagePackage
|
|
autoconf-2.68-r1a3-x86-gcc4-2011-05-23.zip
|
|
: $(baseURL)/autoconf-2.68-r1a3-x86-gcc4-2011-05-23.zip
|
|
: : true ;
|
|
InstallOptionalHaikuImagePackage
|
|
automake-1.11.1-r1a3-x86-gcc4-2011-05-23.zip
|
|
: $(baseURL)/automake-1.11.1-r1a3-x86-gcc4-2011-05-23.zip
|
|
: : true ;
|
|
InstallOptionalHaikuImagePackage
|
|
libtool-2.4-r1a3-x86-gcc4-2011-05-23.zip
|
|
: $(baseURL)/libtool-2.4-r1a3-x86-gcc4-2011-05-23.zip
|
|
: : true ;
|
|
InstallOptionalHaikuImagePackage
|
|
texinfo-4.13a-r1a3-x86-gcc4-2011-05-24.zip
|
|
: $(baseURL)/texinfo-4.13a-r1a3-x86-gcc4-2011-05-24.zip
|
|
: : true ;
|
|
} else {
|
|
InstallOptionalHaikuImagePackage
|
|
autoconf-2.68-1-x86_gcc2.hpkg
|
|
: $(hpkgBaseURL)/autoconf-2.68-1-x86_gcc2.hpkg
|
|
: common packages ;
|
|
InstallOptionalHaikuImagePackage
|
|
automake-1.11.1-1-x86_gcc2.hpkg
|
|
: $(hpkgBaseURL)/automake-1.11.1-1-x86_gcc2.hpkg
|
|
: common packages ;
|
|
InstallOptionalHaikuImagePackage
|
|
libtool-2.4-1-x86_gcc2.hpkg
|
|
: $(hpkgBaseURL)/libtool-2.4-1-x86_gcc2.hpkg
|
|
: common packages ;
|
|
InstallOptionalHaikuImagePackage
|
|
texinfo-4.13a-1-x86_gcc2.hpkg
|
|
: $(hpkgBaseURL)/texinfo-4.13a-1-x86_gcc2.hpkg
|
|
: common packages ;
|
|
}
|
|
}
|
|
|
|
|
|
# DevelopmentBase
|
|
if [ IsOptionalHaikuImagePackageAdded DevelopmentBase ]
|
|
&& $(TARGET_ARCH) = x86 {
|
|
# gcc and binutils
|
|
if $(HAIKU_GCC_VERSION[1]) = 2 {
|
|
InstallOptionalHaikuImagePackage gcc-2.95.3_110711-1-x86_gcc2.hpkg
|
|
: $(hpkgBaseURL)/gcc-2.95.3_110711-1-x86_gcc2.hpkg
|
|
: common packages ;
|
|
|
|
# TODO: remove this when we have a mechanism to switch gcc via PATH
|
|
AddSymlinkToHaikuImage common settings develop tools
|
|
: /boot/common/develop/tools/gcc-2.95.3-110711
|
|
: current ;
|
|
}
|
|
|
|
if $(HAIKU_GCC_VERSION[1]) = 4 {
|
|
InstallOptionalHaikuImagePackage
|
|
gcc-4.5.3-r1a3-x86-gcc4-2011-06-20.zip
|
|
: $(baseURL)/gcc-4.5.3-r1a3-x86-gcc4-2011-06-20.zip ;
|
|
}
|
|
|
|
# other commonly used tools
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
InstallOptionalHaikuImagePackage
|
|
bison-2.4.3-r1a3-x86-gcc4-2011-05-23.zip
|
|
: $(baseURL)/bison-2.4.3-r1a3-x86-gcc4-2011-05-23.zip ;
|
|
InstallOptionalHaikuImagePackage
|
|
m4-1.4.16-r1a3-x86-gcc4-2011-05-23.zip
|
|
: $(baseURL)/m4-1.4.16-r1a3-x86-gcc4-2011-05-23.zip ;
|
|
InstallOptionalHaikuImagePackage
|
|
flex-2.5.35-r1a3-x86-gcc4-2011-05-23.zip
|
|
: $(baseURL)/flex-2.5.35-r1a3-x86-gcc4-2011-05-23.zip ;
|
|
InstallOptionalHaikuImagePackage
|
|
jam-2.5-r1a3-x86-gcc4-2011-05-23.zip
|
|
: $(baseURL)/jam-2.5-r1a3-x86-gcc4-2011-05-23.zip ;
|
|
InstallOptionalHaikuImagePackage
|
|
mkdepend-1.7-r1a3-x86-gcc4-2011-05-23.zip
|
|
: $(baseURL)/mkdepend-1.7-r1a3-x86-gcc4-2011-05-23.zip ;
|
|
InstallOptionalHaikuImagePackage
|
|
make-3.82-r1a3-x86-gcc4-2011-05-23.zip
|
|
: $(baseURL)/make-3.82-r1a3-x86-gcc4-2011-05-23.zip ;
|
|
} else {
|
|
InstallOptionalHaikuImagePackage
|
|
bison-2.4.3-1-x86_gcc2.hpkg
|
|
: $(hpkgBaseURL)/bison-2.4.3-1-x86_gcc2.hpkg
|
|
: common packages ;
|
|
InstallOptionalHaikuImagePackage
|
|
m4-1.4.16-1-x86_gcc2.hpkg
|
|
: $(hpkgBaseURL)/m4-1.4.16-1-x86_gcc2.hpkg
|
|
: common packages ;
|
|
InstallOptionalHaikuImagePackage
|
|
flex-2.5.35-1-x86_gcc2.hpkg
|
|
: $(hpkgBaseURL)/flex-2.5.35-1-x86_gcc2.hpkg
|
|
: common packages ;
|
|
InstallOptionalHaikuImagePackage
|
|
jam-2.5-1-x86_gcc2.hpkg
|
|
: $(hpkgBaseURL)/jam-2.5-1-x86_gcc2.hpkg
|
|
: common packages ;
|
|
InstallOptionalHaikuImagePackage
|
|
mkdepend-1.7-1-x86_gcc2.hpkg
|
|
: $(hpkgBaseURL)/mkdepend-1.7-1-x86_gcc2.hpkg
|
|
: common packages ;
|
|
InstallOptionalHaikuImagePackage
|
|
make-3.82-1-x86_gcc2.hpkg
|
|
: $(hpkgBaseURL)/make-3.82-1-x86_gcc2.hpkg
|
|
: common packages ;
|
|
}
|
|
}
|
|
|
|
|
|
# DevelopmentJava
|
|
if [ IsOptionalHaikuImagePackageAdded DevelopmentJava ] {
|
|
if $(TARGET_ARCH) != x86 {
|
|
Echo "No optional package DevelopmentJava available for $(TARGET_ARCH)" ;
|
|
} else if $(HAIKU_GCC_VERSION[1]) < 4 && ! $(isHybridBuild) {
|
|
Echo "No optional package DevelopmentJava available for gcc2" ;
|
|
} else {
|
|
InstallOptionalHaikuImagePackage
|
|
gnu-classpath-0.98-r1a3-x86-gcc4-2011-06-08.zip
|
|
: $(baseURL)/gnu-classpath-0.98-r1a3-x86-gcc4-2011-06-08.zip ;
|
|
InstallOptionalHaikuImagePackage
|
|
jamvm-1.5.4-r1a3-x86-gcc4-2011-06-08.zip
|
|
: $(baseURL)/jamvm-1.5.4-r1a3-x86-gcc4-2011-06-08.zip ;
|
|
AddSymlinkToHaikuImage common bin
|
|
: /boot/common/bin/jamvm : java ;
|
|
InstallOptionalHaikuImagePackage
|
|
ecj-3.6.2-haiku-2011-06-08.zip
|
|
: $(baseURL)/ecj-3.6.2-haiku-2011-06-08.zip ;
|
|
}
|
|
}
|
|
|
|
|
|
# DevelopmentMin
|
|
if [ IsOptionalHaikuImagePackageAdded DevelopmentMin ] && $(TARGET_ARCH) = x86 {
|
|
if ! ( $(HAIKU_GCC_VERSION[1]) in 2 4 ) {
|
|
Exit "Optional package DevelopmentMin: Unsupported GCC version:"
|
|
$(HAIKU_GCC_VERSION[1]) ;
|
|
}
|
|
|
|
AddFilesToHaikuImage system packages : haiku-devel.hpkg ;
|
|
AddFilesToHaikuImage common packages : makefile-engine.hpkg ;
|
|
}
|
|
|
|
|
|
# DMIDecode
|
|
if [ IsOptionalHaikuImagePackageAdded DMIDecode ] {
|
|
if $(TARGET_ARCH) != x86 {
|
|
Echo "No optional package DMIDecode available for $(TARGET_ARCH)" ;
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
InstallOptionalHaikuImagePackage
|
|
dmidecode-2.11-x86-gcc4-2011-11-02.zip
|
|
: http://revolf.free.fr/beos/dmidecode-2.11-x86-gcc4-2011-11-02.zip ;
|
|
} else {
|
|
InstallOptionalHaikuImagePackage
|
|
dmidecode-2.11-x86-gcc2-2011-11-02.zip
|
|
: http://revolf.free.fr/beos/dmidecode-2.11-x86-gcc2-2011-11-02.zip ;
|
|
}
|
|
}
|
|
|
|
|
|
# Doxygen
|
|
if [ IsOptionalHaikuImagePackageAdded Doxygen ] {
|
|
if $(TARGET_ARCH) != x86 {
|
|
Echo "No optional package Doxygen available for $(TARGET_ARCH)" ;
|
|
} else {
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
InstallOptionalHaikuImagePackage
|
|
doxygen-1.6.3-x86-gcc4-2010-05-17.zip
|
|
: $(baseURL)/doxygen-1.6.3-x86-gcc4-2010-05-17.zip
|
|
: : true ;
|
|
} else {
|
|
InstallOptionalHaikuImagePackage
|
|
doxygen-1.6.3-1-gcc2_x86.hpkg
|
|
: $(hpkgBaseURL)/doxygen-1.6.3-1-gcc2_x86.hpkg
|
|
: common packages ;
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
# Expat
|
|
if [ IsOptionalHaikuImagePackageAdded Expat ] {
|
|
if $(TARGET_ARCH) != x86 {
|
|
Echo "No optional package Expat available for $(TARGET_ARCH)" ;
|
|
} else {
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
InstallOptionalHaikuImagePackage
|
|
expat-2.0.1-r1a3-x86-gcc4-2011-05-24.zip
|
|
: $(baseURL)/expat-2.0.1-r1a3-x86-gcc4-2011-05-24.zip
|
|
: : true ;
|
|
} else {
|
|
InstallOptionalHaikuImagePackage
|
|
expat-2.0.1-1-x86_gcc2.hpkg
|
|
: $(hpkgBaseURL)/expat-2.0.1-1-x86_gcc2.hpkg
|
|
: common packages ;
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
# Fastdep
|
|
if [ IsOptionalHaikuImagePackageAdded Fastdep ] {
|
|
if $(TARGET_ARCH) != x86 {
|
|
Echo "No optional package Fastdep available for $(TARGET_ARCH)" ;
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
InstallOptionalHaikuImagePackage
|
|
fastdep-0.16-r1a3-x86-gcc4-2011-05-24.zip
|
|
: $(baseURL)/fastdep-0.16-r1a3-x86-gcc4-2011-05-24.zip ;
|
|
} else {
|
|
InstallOptionalHaikuImagePackage
|
|
fastdep-0.16-r1a3-x86-gcc2-2011-05-18.zip
|
|
: $(baseURL)/fastdep-0.16-r1a3-x86-gcc2-2011-05-18.zip ;
|
|
}
|
|
}
|
|
|
|
|
|
# friss
|
|
if [ IsOptionalHaikuImagePackageAdded friss ] {
|
|
if $(TARGET_ARCH) != x86 {
|
|
Echo "No optional package friss available for $(TARGET_ARCH)" ;
|
|
} else {
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
InstallOptionalHaikuImagePackage
|
|
friss-24-r1a3-x86-gcc4-2011-05-31.zip
|
|
: $(baseURL)/friss-24-r1a3-x86-gcc4-2011-05-31.zip ;
|
|
} else {
|
|
InstallOptionalHaikuImagePackage
|
|
friss-24-r1a3-x86-gcc2-2011-05-31.zip
|
|
: $(baseURL)/friss-24-r1a3-x86-gcc2-2011-05-31.zip ;
|
|
}
|
|
# AddSymlinkToHaikuImage home config settings deskbar Desktop\ applets
|
|
# : /boot/apps/FRiSS/FRiSS ;
|
|
}
|
|
}
|
|
|
|
|
|
# GetText
|
|
if [ IsOptionalHaikuImagePackageAdded GetText ] {
|
|
if $(TARGET_ARCH) != x86 {
|
|
Echo "No optional package GetText available for $(TARGET_ARCH)" ;
|
|
} else {
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
InstallOptionalHaikuImagePackage
|
|
gettext-0.18.1.1-r1a3-x86-gcc4-2011-05-24.zip
|
|
: $(baseURL)/gettext-0.18.1.1-r1a3-x86-gcc4-2011-05-24.zip
|
|
: : true ;
|
|
} else {
|
|
InstallOptionalHaikuImagePackage
|
|
gettext-0.18.1.1-x86-gcc2-2011-02-07.zip
|
|
: $(baseURL)/gettext-0.18.1.1-x86-gcc2-2011-02-07.zip
|
|
: : true ;
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
# Git
|
|
if [ IsOptionalHaikuImagePackageAdded Git ] {
|
|
if $(TARGET_ARCH) != x86 {
|
|
Echo "No optional package Git available for $(TARGET_ARCH)" ;
|
|
} else {
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
InstallOptionalHaikuImagePackage
|
|
git-1.7.5-r1a3-x86-gcc4-2011-05-24.zip
|
|
: $(baseURL)/git-1.7.5-r1a3-x86-gcc4-2011-05-24.zip
|
|
: : true ;
|
|
} else {
|
|
InstallOptionalHaikuImagePackage
|
|
git-1.7.5-1-x86_gcc2.hpkg
|
|
: $(hpkgBaseURL)/git-1.7.5-1-x86_gcc2.hpkg
|
|
: common packages ;
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
# GPerf
|
|
if [ IsOptionalHaikuImagePackageAdded GPerf ] {
|
|
if $(TARGET_ARCH) != x86 {
|
|
Echo "No optional package GPerf available for $(TARGET_ARCH)" ;
|
|
} else {
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
InstallOptionalHaikuImagePackage
|
|
gperf-3.0.4-r1a3-x86-gcc4-2011-05-24.zip
|
|
: $(baseURL)/gperf-3.0.4-r1a3-x86-gcc4-2011-05-24.zip
|
|
: : true ;
|
|
} else {
|
|
InstallOptionalHaikuImagePackage
|
|
gperf-3.0.4-r1a3-x86-gcc2-2011-05-18.zip
|
|
: $(baseURL)/gperf-3.0.4-r1a3-x86-gcc2-2011-05-18.zip
|
|
: : true ;
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
# Groff
|
|
if [ IsOptionalHaikuImagePackageAdded Groff ] {
|
|
if $(TARGET_ARCH) != x86 {
|
|
Echo "No optional package Groff available for $(TARGET_ARCH)" ;
|
|
} else {
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
InstallOptionalHaikuImagePackage
|
|
groff-1.20.1-r1a3-x86-gcc4-2011-05-24.zip
|
|
: $(baseURL)/groff-1.20.1-r1a3-x86-gcc4-2011-05-24.zip
|
|
: : true ;
|
|
} else {
|
|
InstallOptionalHaikuImagePackage
|
|
groff-1.20.1-r1a3-x86-gcc2-2011-05-18.zip
|
|
: $(baseURL)/groff-1.20.1-r1a3-x86-gcc2-2011-05-18.zip
|
|
: : true ;
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
# ICU
|
|
if [ IsOptionalHaikuImagePackageAdded ICU ] {
|
|
if $(TARGET_ARCH) != x86 {
|
|
Echo "No optional package ICU available for $(TARGET_ARCH)" ;
|
|
} else {
|
|
if $(HAIKU_GCC_VERSION[1]) = 2 {
|
|
# unzip gcc2
|
|
InstallOptionalHaikuImagePackage $(HAIKU_ICU_GCC_2_PACKAGE)
|
|
: $(hpkgBaseURL)/$(HAIKU_ICU_GCC_2_PACKAGE)
|
|
: system packages ;
|
|
} else {
|
|
# unzip gcc4
|
|
InstallOptionalHaikuImagePackage $(HAIKU_ICU_GCC_4_PACKAGE)
|
|
: $(baseURL)/$(HAIKU_ICU_GCC_4_PACKAGE)
|
|
: system lib ;
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
# ICU-devel
|
|
if [ IsOptionalHaikuImagePackageAdded ICU-devel ] {
|
|
InstallOptionalHaikuImagePackage $(HAIKU_ICU_DEVEL_PACKAGE)
|
|
: $(hpkgBaseURL)/$(HAIKU_ICU_DEVEL_PACKAGE)
|
|
: common packages ;
|
|
|
|
local arch = $(TARGET_ARCH) ;
|
|
local abi = gcc$(HAIKU_GCC_VERSION[1]) ;
|
|
for abiVersionedLib in $(HAIKU_ICU_LIBS) {
|
|
abiVersionedLib = $(abiVersionedLib:B:G=) ;
|
|
local lib = $(abiVersionedLib:B) ;
|
|
AddSymlinkToHaikuImage develop abi $(arch) $(abi) lib
|
|
: /system/lib $(abiVersionedLib) ;
|
|
AddSymlinkToHaikuImage develop abi $(arch) $(abi) lib
|
|
: $(abiVersionedLib) : $(lib) ;
|
|
}
|
|
}
|
|
|
|
|
|
# KeymapSwitcher
|
|
if [ IsOptionalHaikuImagePackageAdded KeymapSwitcher ] {
|
|
if $(TARGET_ARCH) != x86 {
|
|
Echo "No optional package KeymapSwitcher available for $(TARGET_ARCH)" ;
|
|
} else {
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
InstallOptionalHaikuImagePackage
|
|
KeymapSwitcher-1.2.6-r1a3-x86-gcc4-2011-06-12.zip
|
|
: $(baseURL)/KeymapSwitcher-1.2.6-r1a3-x86-gcc4-2011-06-12.zip ;
|
|
} else {
|
|
InstallOptionalHaikuImagePackage
|
|
KeymapSwitcher-1.2.6-r1a3-x86-gcc2-2011-06-12.zip
|
|
: $(baseURL)/KeymapSwitcher-1.2.6-r1a3-x86-gcc2-2011-06-12.zip ;
|
|
}
|
|
AddSymlinkToHaikuImage home config settings deskbar Preferences
|
|
: /boot/common/bin/KeymapSwitcher ;
|
|
}
|
|
}
|
|
|
|
|
|
# LibEvent
|
|
if [ IsOptionalHaikuImagePackageAdded LibEvent ] {
|
|
if $(TARGET_ARCH) != x86 {
|
|
Echo "No optional package LibEvent available for $(TARGET_ARCH)" ;
|
|
} else {
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
InstallOptionalHaikuImagePackage
|
|
libevent-2.0.10-r1a3-x86-gcc4-2011-05-24.zip
|
|
: $(baseURL)/lib/libevent-2.0.10-r1a3-x86-gcc4-2011-05-24.zip
|
|
: : true ;
|
|
} else {
|
|
InstallOptionalHaikuImagePackage
|
|
libevent-2.0.10-r1a3-x86-gcc2-2011-05-18.zip
|
|
: $(baseURL)/lib/libevent-2.0.10-r1a3-x86-gcc2-2011-05-18.zip
|
|
: : true ;
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
# LibIconv
|
|
if [ IsOptionalHaikuImagePackageAdded LibIconv ] {
|
|
if $(TARGET_ARCH) != x86 {
|
|
Echo "No optional package LibIconv available for $(TARGET_ARCH)" ;
|
|
} else {
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
InstallOptionalHaikuImagePackage
|
|
libiconv-1.13.1-r1a3-x86-gcc4-2011-05-24.zip
|
|
: $(baseURL)/libiconv-1.13.1-r1a3-x86-gcc4-2011-05-24.zip ;
|
|
} else {
|
|
InstallOptionalHaikuImagePackage
|
|
libiconv-1.13.1-1-x86_gcc2.hpkg
|
|
: $(hpkgBaseURL)/libiconv-1.13.1-1-x86_gcc2.hpkg
|
|
: common packages ;
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
# 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 {
|
|
InstallOptionalHaikuImagePackage liblayout-1.4.0-gcc2-2009-03-08.zip
|
|
: $(baseURL)/liblayout-1.4.0-gcc2-2009-03-08.zip ;
|
|
}
|
|
}
|
|
|
|
|
|
# Libmng library
|
|
if [ IsOptionalHaikuImagePackageAdded Libmng ] {
|
|
if $(TARGET_ARCH) != x86 {
|
|
Echo "No optional package Libmng available for $(TARGET_ARCH)" ;
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
InstallOptionalHaikuImagePackage
|
|
libmng-1.0.10-r1a3-x86-gcc4-2011-05-24.zip
|
|
: $(baseURL)/lib/libmng-1.0.10-r1a3-x86-gcc4-2011-05-24.zip ;
|
|
} else {
|
|
InstallOptionalHaikuImagePackage
|
|
libmng-1.0.10-r1a3-x86-gcc2-2011-05-18.zip
|
|
: $(baseURL)/lib/libmng-1.0.10-r1a3-x86-gcc2-2011-05-18.zip ;
|
|
}
|
|
}
|
|
|
|
|
|
# LibXML2
|
|
if [ IsOptionalHaikuImagePackageAdded LibXML2 ] {
|
|
if $(TARGET_ARCH) != x86 {
|
|
Echo "No optional package LibXML2 available for $(TARGET_ARCH)" ;
|
|
} else {
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
InstallOptionalHaikuImagePackage
|
|
libxml2-2.7.8-r1a3-x86-gcc4-2011-05-24.zip
|
|
: $(baseURL)/libxml2-2.7.8-r1a3-x86-gcc4-2011-05-24.zip ;
|
|
} else {
|
|
InstallOptionalHaikuImagePackage
|
|
libxml2-2.7.8-1-x86_gcc2.hpkg
|
|
: $(hpkgBaseURL)/libxml2-2.7.8-1-x86_gcc2.hpkg
|
|
: common packages ;
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
# LibXSLT
|
|
if [ IsOptionalHaikuImagePackageAdded LibXSLT ] {
|
|
if $(TARGET_ARCH) != x86 {
|
|
Echo "No optional package LibXSLT available for $(TARGET_ARCH)" ;
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
InstallOptionalHaikuImagePackage
|
|
libxslt-1.1.26-r1a3-x86-gcc4-2011-05-24.zip
|
|
: $(baseURL)/libxslt-1.1.26-r1a3-x86-gcc4-2011-05-24.zip ;
|
|
} else {
|
|
InstallOptionalHaikuImagePackage
|
|
libxslt-1.1.26-r1a3-x86-gcc2-2011-05-18.zip
|
|
: $(baseURL)/libxslt-1.1.26-r1a3-x86-gcc2-2011-05-18.zip
|
|
: : true ;
|
|
}
|
|
}
|
|
|
|
|
|
# Links web browser
|
|
if [ IsOptionalHaikuImagePackageAdded Links ] {
|
|
if $(TARGET_ARCH) != x86 {
|
|
Echo "No optional package Links available for $(TARGET_ARCH)" ;
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
Echo "No optional package Links available for gcc4" ;
|
|
} else {
|
|
InstallOptionalHaikuImagePackage Links.zip
|
|
: $(baseURL)/links-x86-gcc2-2008-05-03.zip ;
|
|
AddSymlinkToHaikuImage home config settings deskbar Applications
|
|
: /boot/home/config/bin/links ;
|
|
}
|
|
}
|
|
|
|
|
|
# Lua
|
|
if [ IsOptionalHaikuImagePackageAdded Lua ] {
|
|
if $(TARGET_ARCH) != x86 {
|
|
Echo "No optional package Lua available for $(TARGET_ARCH)" ;
|
|
} else {
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
InstallOptionalHaikuImagePackage
|
|
lua-5.1.4-x86-gcc4-2010-10-30.zip
|
|
: $(baseURL)/lua-5.1.4-x86-gcc4-2010-10-30.zip
|
|
: : true ;
|
|
} else {
|
|
InstallOptionalHaikuImagePackage
|
|
lua-5.1.4-3-r1a3-x86-gcc2-2011-05-18.zip
|
|
: $(baseURL)/lua-5.1.4-3-r1a3-x86-gcc2-2011-05-18.zip
|
|
: : true ;
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
# Man
|
|
if [ IsOptionalHaikuImagePackageAdded Man ] {
|
|
if $(TARGET_ARCH) != x86 {
|
|
Echo "No optional package Man available for $(TARGET_ARCH)" ;
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
InstallOptionalHaikuImagePackage
|
|
man-1.6f-r1a3-x86-gcc4-2011-05-24.zip
|
|
: $(baseURL)/man-1.6f-r1a3-x86-gcc4-2011-05-24.zip ;
|
|
} else {
|
|
InstallOptionalHaikuImagePackage
|
|
man-1.6f-r1a3-x86-gcc2-2011-05-18.zip
|
|
: $(baseURL)/man-1.6f-r1a3-x86-gcc2-2011-05-18.zip ;
|
|
}
|
|
}
|
|
|
|
|
|
# MandatoryPackages
|
|
if [ IsOptionalHaikuImagePackageAdded MandatoryPackages ] {
|
|
# Pseudo package for grouping packages, which are added to all images.
|
|
}
|
|
|
|
|
|
# Mercurial
|
|
if [ IsOptionalHaikuImagePackageAdded Mercurial ] {
|
|
if $(TARGET_ARCH) != x86 {
|
|
Echo "No optional package Mercurial available for $(TARGET_ARCH)" ;
|
|
} else {
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
InstallOptionalHaikuImagePackage
|
|
mercurial-1.8.3-r1a3-x86-gcc4-2011-05-24.zip
|
|
: $(baseURL)/mercurial-1.8.3-r1a3-x86-gcc4-2011-05-24.zip
|
|
: : true ;
|
|
} else {
|
|
InstallOptionalHaikuImagePackage
|
|
mercurial-1.8.3-1-x86_gcc2.hpkg
|
|
: $(hpkgBaseURL)/mercurial-1.8.3-1-x86_gcc2.hpkg
|
|
: common packages ;
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
# Nano
|
|
if [ IsOptionalHaikuImagePackageAdded Nano ] {
|
|
if $(TARGET_ARCH) != x86 {
|
|
Echo "No optional package Nano available for $(TARGET_ARCH)" ;
|
|
} else {
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
InstallOptionalHaikuImagePackage
|
|
nano-2.2.6-r1a3-x86-gcc4-2011-05-24.zip
|
|
: $(baseURL)/nano-2.2.6-r1a3-x86-gcc4-2011-05-24.zip ;
|
|
} else {
|
|
InstallOptionalHaikuImagePackage
|
|
nano-2.2.6-1-x86_gcc2.hpkg
|
|
: $(hpkgBaseURL)/nano-2.2.6-1-x86_gcc2.hpkg
|
|
: common packages ;
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
# Neon
|
|
if [ IsOptionalHaikuImagePackageAdded Neon ] {
|
|
if $(TARGET_ARCH) != x86 {
|
|
Echo "No optional package Neon available for $(TARGET_ARCH)" ;
|
|
} else {
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
InstallOptionalHaikuImagePackage
|
|
neon-0.29.6-r1a3-x86-gcc4-2011-05-24.zip
|
|
: $(baseURL)/neon-0.29.6-r1a3-x86-gcc4-2011-05-24.zip ;
|
|
} else {
|
|
InstallOptionalHaikuImagePackage
|
|
neon-0.29.6-1-x86_gcc2.hpkg
|
|
: $(hpkgBaseURL)/neon-0.29.6-1-x86_gcc2.hpkg
|
|
: common packages ;
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
# NetFS network file system
|
|
if [ IsOptionalHaikuImagePackageAdded NetFS ] {
|
|
# userlandfs module
|
|
AddFilesToHaikuImage home config add-ons userlandfs
|
|
: netfs ;
|
|
|
|
# servers
|
|
AddFilesToHaikuImage system servers : netfs_server ;
|
|
AddFilesToHaikuImage system servers
|
|
: authentication_server ;
|
|
|
|
# tools
|
|
AddFilesToHaikuImage system bin : netfs_config ;
|
|
AddFilesToHaikuImage system bin : netfs_server_prefs ;
|
|
|
|
#example settings for netfs_server
|
|
local netfsServerSettingsFiles = <driver-settings>netfs-server ;
|
|
SEARCH on $(netfsServerSettingsFiles)
|
|
= [ FDirName $(HAIKU_TOP) src add-ons kernel file_systems netfs ] ;
|
|
AddFilesToHaikuImage home config settings kernel drivers
|
|
: $(netfsServerSettingsFiles) ;
|
|
|
|
#userlandfs settings are needed for netfs_config to work (ioctls)
|
|
local userlandfsServerSettingsFiles = <driver-settings>userlandfs ;
|
|
SEARCH on $(userlandfsServerSettingsFiles)
|
|
= [ FDirName $(HAIKU_TOP) src add-ons kernel file_systems userlandfs ] ;
|
|
AddFilesToHaikuImage home config settings kernel drivers
|
|
: $(userlandfsServerSettingsFiles) ;
|
|
}
|
|
|
|
|
|
# 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 {
|
|
Echo "No optional package NetSurf available for gcc4" ;
|
|
} else {
|
|
InstallOptionalHaikuImagePackage
|
|
netsurf-2.7-r1a3-x86-gcc2-2011-06-04.zip
|
|
: $(baseURL)/netsurf-2.7-r1a3-x86-gcc2-2011-06-04.zip ;
|
|
AddSymlinkToHaikuImage home config settings deskbar Applications
|
|
: /boot/apps/NetSurf/NetSurf ;
|
|
}
|
|
}
|
|
|
|
|
|
# OCaml
|
|
if [ IsOptionalHaikuImagePackageAdded OCaml ] {
|
|
if $(TARGET_ARCH) != x86 {
|
|
Echo "No optional package OCaml available for $(TARGET_ARCH)" ;
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
Echo "No optional package OCaml available for gcc4" ;
|
|
} else {
|
|
InstallOptionalHaikuImagePackage
|
|
ocaml-3.11.1-r1a1-x86-gcc2-2009-09-06.zip
|
|
: $(baseURL)/ocaml-3.11.1-r1a1-x86-gcc2-2009-09-06.zip ;
|
|
InstallOptionalHaikuImagePackage
|
|
camlp5-5.12-r1a1-x86-gcc2-2009-09-06.zip
|
|
: $(baseURL)/camlp5-5.12-r1a1-x86-gcc2-2009-09-06.zip ;
|
|
}
|
|
}
|
|
|
|
|
|
# OpenSound drivers
|
|
if [ IsOptionalHaikuImagePackageAdded OpenSound ] {
|
|
if $(TARGET_ARCH) != x86 {
|
|
Echo "No optional package OpenSound available for $(TARGET_ARCH)" ;
|
|
} else {
|
|
InstallOptionalHaikuImagePackage
|
|
opensound-4.2-r1a2-x86-gcc2-2010-05-01.zip
|
|
: $(baseURL)/opensound-4.2-r1a2-x86-gcc2-2010-05-01.zip ;
|
|
}
|
|
}
|
|
|
|
|
|
# OpenSSH
|
|
if [ IsOptionalHaikuImagePackageAdded OpenSSH ] {
|
|
if $(TARGET_ARCH) != x86 {
|
|
Echo "No optional package OpenSSH available for $(TARGET_ARCH)" ;
|
|
} else {
|
|
if ! $(HAIKU_IMAGE_HOST_NAME) && ! $(HAIKU_IGNORE_USER_BUILD_CONFIG) {
|
|
Exit "Optional package OpenSSH requires the HAIKU_IMAGE_HOST_NAME"
|
|
"variable to be set!" ;
|
|
}
|
|
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
InstallOptionalHaikuImagePackage
|
|
openssh-5.9p1-x86-gcc4-2011-09-08.zip
|
|
: $(baseURL)/openssh-5.9p1-x86-gcc4-2011-09-08.zip ;
|
|
} else {
|
|
InstallOptionalHaikuImagePackage
|
|
openssh-5.8p2-1-x86_gcc2.hpkg
|
|
: $(hpkgBaseURL)/openssh-5.8p2-1-x86_gcc2.hpkg
|
|
: common packages ;
|
|
}
|
|
|
|
AddUserToHaikuImage sshd : 1001 : 100 : /var/empty : /bin/true
|
|
: "sshd user" ;
|
|
}
|
|
}
|
|
|
|
|
|
# OpenSSL
|
|
if [ IsOptionalHaikuImagePackageAdded OpenSSL ] {
|
|
if $(TARGET_ARCH) != x86 {
|
|
Echo "No optional package OpenSSL available for $(TARGET_ARCH)" ;
|
|
} else {
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
InstallOptionalHaikuImagePackage $(HAIKU_OPENSSL_PACKAGE)
|
|
: $(HAIKU_OPENSSL_URL) ;
|
|
} else {
|
|
InstallOptionalHaikuImagePackage $(HAIKU_OPENSSL_PACKAGE)
|
|
: $(HAIKU_OPENSSL_URL)
|
|
: common packages ;
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
# P7zip
|
|
if [ IsOptionalHaikuImagePackageAdded P7zip ] {
|
|
if $(TARGET_ARCH) != x86 {
|
|
Echo "No optional package P7zip available for $(TARGET_ARCH)" ;
|
|
} else {
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
InstallOptionalHaikuImagePackage
|
|
p7zip-9.13-r1a3-x86-gcc4-2011-05-24.zip
|
|
: $(baseURL)/p7zip-9.13-r1a3-x86-gcc4-2011-05-24.zip ;
|
|
} else {
|
|
InstallOptionalHaikuImagePackage
|
|
p7zip-9.13-1-x86_gcc2.hpkg
|
|
: $(hpkgBaseURL)/p7zip-9.13-1-x86_gcc2.hpkg
|
|
: common packages ;
|
|
}
|
|
AddExpanderRuleToHaikuImage "application/x-7z-compressed" : .7z
|
|
: "7za l \\0045s"
|
|
: "7za x -y \\0045s"
|
|
;
|
|
|
|
}
|
|
}
|
|
|
|
|
|
# Paladin
|
|
if [ IsOptionalHaikuImagePackageAdded Paladin ] {
|
|
if $(TARGET_ARCH) != x86 {
|
|
Echo "No optional package Paladin available for $(TARGET_ARCH)" ;
|
|
} else {
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
InstallOptionalHaikuImagePackage
|
|
paladin-1.3-r1a3-x86-gcc4-2011-05-24.zip
|
|
: $(baseURL)/paladin-1.3-r1a3-x86-gcc4-2011-05-24.zip ;
|
|
} else {
|
|
InstallOptionalHaikuImagePackage
|
|
paladin-1.3-r1a3-x86-gcc2-2011-05-18.zip
|
|
: $(baseURL)/paladin-1.3-r1a3-x86-gcc2-2011-05-18.zip ;
|
|
}
|
|
|
|
AddSymlinkToHaikuImage home config settings deskbar Applications
|
|
: /boot/apps/Paladin/Paladin ;
|
|
AddSymlinkToHaikuImage common bin
|
|
: /boot/apps/Paladin/Paladin ;
|
|
}
|
|
}
|
|
|
|
|
|
# PCRE regex engine
|
|
if [ IsOptionalHaikuImagePackageAdded PCRE ] {
|
|
if $(TARGET_ARCH) != x86 {
|
|
Echo "No optional package PCRE available for $(TARGET_ARCH)" ;
|
|
} else {
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
InstallOptionalHaikuImagePackage
|
|
libpcre-8.12-r1a3-x86-gcc4-2011-05-24.zip
|
|
: $(baseURL)/libpcre-8.12-r1a3-x86-gcc4-2011-05-24.zip ;
|
|
} else {
|
|
InstallOptionalHaikuImagePackage
|
|
libpcre-8.12-1-x86_gcc2.hpkg
|
|
: $(hpkgBaseURL)/libpcre-8.12-1-x86_gcc2.hpkg
|
|
: common packages ;
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
# Pe text editor
|
|
if [ IsOptionalHaikuImagePackageAdded Pe ] {
|
|
if $(TARGET_ARCH) != x86 {
|
|
Echo "No optional package Pe available for $(TARGET_ARCH)" ;
|
|
} else {
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
InstallOptionalHaikuImagePackage
|
|
pe-2.4.3-600-r1a3-x86-gcc4-2011-05-24.zip
|
|
: $(baseURL)/pe-2.4.3-600-r1a3-x86-gcc4-2011-05-24.zip ;
|
|
} else {
|
|
InstallOptionalHaikuImagePackage
|
|
pe-2.4.3_600-1-x86_gcc2.hpkg
|
|
: $(hpkgBaseURL)/pe-2.4.3_600-1-x86_gcc2.hpkg
|
|
: common packages ;
|
|
}
|
|
AddSymlinkToHaikuImage home config settings deskbar Applications
|
|
: /boot/apps/Pe/Pe ;
|
|
}
|
|
}
|
|
|
|
|
|
# Perl
|
|
if [ IsOptionalHaikuImagePackageAdded Perl ] {
|
|
if $(TARGET_ARCH) != x86 {
|
|
Echo "No optional package Perl available for $(TARGET_ARCH)" ;
|
|
} else {
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
InstallOptionalHaikuImagePackage
|
|
perl-5.10.1-r1a3-x86-gcc4-2011-05-24.zip
|
|
: $(baseURL)/perl-5.10.1-r1a3-x86-gcc4-2011-05-24.zip
|
|
: : true ;
|
|
} else {
|
|
InstallOptionalHaikuImagePackage
|
|
perl-5.10.1-1-x86_gcc2.hpkg
|
|
: $(hpkgBaseURL)/perl-5.10.1-1-x86_gcc2.hpkg
|
|
: common packages ;
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
# Python
|
|
if [ IsOptionalHaikuImagePackageAdded Python ] {
|
|
if $(TARGET_ARCH) != x86 {
|
|
Echo "No optional package Python available for $(TARGET_ARCH)" ;
|
|
} else {
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
InstallOptionalHaikuImagePackage
|
|
python-2.6.7-x86-gcc4-2011-06-24.zip
|
|
: $(baseURL)/python-2.6.7-x86-gcc4-2011-06-24.zip
|
|
: : true ;
|
|
} else {
|
|
InstallOptionalHaikuImagePackage
|
|
python-2.6.6-1-x86_gcc2.hpkg
|
|
: $(hpkgBaseURL)/python-2.6.6-1-x86_gcc2.hpkg
|
|
: common packages ;
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
# Rsync
|
|
if [ IsOptionalHaikuImagePackageAdded Rsync ] {
|
|
if $(TARGET_ARCH) != x86 {
|
|
Echo "No optional package Rsync available for $(TARGET_ARCH)" ;
|
|
} else {
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
InstallOptionalHaikuImagePackage
|
|
rsync-3.0.7-r1a3-x86-gcc4-2011-05-24.zip
|
|
: $(baseURL)/rsync-3.0.7-r1a3-x86-gcc4-2011-05-24.zip
|
|
: : true ;
|
|
} else {
|
|
InstallOptionalHaikuImagePackage
|
|
rsync-3.0.7-r1a3-x86-gcc2-2011-05-18.zip
|
|
: $(baseURL)/rsync-3.0.7-r1a3-x86-gcc2-2011-05-18.zip
|
|
: : true ;
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
# Ruby
|
|
if [ IsOptionalHaikuImagePackageAdded Ruby ] {
|
|
if $(TARGET_ARCH) != x86 {
|
|
Echo "No optional package Ruby available for $(TARGET_ARCH)" ;
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
InstallOptionalHaikuImagePackage
|
|
ruby-1.9.1-r1a3-x86-gcc4-2011-05-24.zip
|
|
: $(baseURL)/ruby-1.9.1-r1a3-x86-gcc4-2011-05-24.zip ;
|
|
} else {
|
|
InstallOptionalHaikuImagePackage
|
|
ruby-1.9.1-r1a3-x86-gcc2-2011-05-31.zip
|
|
: $(baseURL)/ruby-1.9.1-r1a3-x86-gcc2-2011-06-01.zip ;
|
|
}
|
|
}
|
|
|
|
|
|
# Sed
|
|
if [ IsOptionalHaikuImagePackageAdded Sed ] {
|
|
if $(TARGET_ARCH) != x86 {
|
|
Echo "No optional package Sed available for $(TARGET_ARCH)" ;
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
InstallOptionalHaikuImagePackage
|
|
sed-4.2.1-r1a3-x86-gcc4-2011-05-24.zip
|
|
: $(baseURL)/sed-4.2.1-r1a3-x86-gcc4-2011-05-24.zip ;
|
|
} else {
|
|
InstallOptionalHaikuImagePackage
|
|
sed-4.2.1-1-x86_gcc2.hpkg
|
|
: $(hpkgBaseURL)/sed-4.2.1-1-x86_gcc2.hpkg
|
|
: common packages ;
|
|
}
|
|
}
|
|
|
|
|
|
# SQLite
|
|
if [ IsOptionalHaikuImagePackageAdded SQLite ] {
|
|
if $(TARGET_ARCH) != x86 {
|
|
Echo "No optional package SQLite available for $(TARGET_ARCH)" ;
|
|
} else {
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
InstallOptionalHaikuImagePackage
|
|
sqlite-3.7.5-r1a3-x86-gcc4-2011-05-24.zip
|
|
: $(baseURL)/sqlite-3.7.5-r1a3-x86-gcc4-2011-05-24.zip ;
|
|
} else {
|
|
InstallOptionalHaikuImagePackage
|
|
sqlite3-3.7.5-1-x86_gcc2.hpkg
|
|
: $(hpkgBaseURL)/sqlite3-3.7.5-1-x86_gcc2.hpkg
|
|
: common packages ;
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
# Subversion
|
|
if [ IsOptionalHaikuImagePackageAdded Subversion ] {
|
|
if $(TARGET_ARCH) != x86 {
|
|
Echo "No optional package Subversion available for $(TARGET_ARCH)" ;
|
|
} else {
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
InstallOptionalHaikuImagePackage
|
|
subversion-1.6.17-x86-gcc4-2011-08-03.zip
|
|
: $(baseURL)/subversion-1.6.17-x86-gcc4-2011-08-03.zip
|
|
: : true ;
|
|
} else {
|
|
InstallOptionalHaikuImagePackage
|
|
subversion-1.6.15-1-x86_gcc2.hpkg
|
|
: $(hpkgBaseURL)/subversion-1.6.15-1-x86_gcc2.hpkg
|
|
: common packages ;
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
# TagLib
|
|
if [ IsOptionalHaikuImagePackageAdded TagLib ] {
|
|
if $(TARGET_ARCH) != x86 {
|
|
Echo "No optional package TagLib available for $(TARGET_ARCH)" ;
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
InstallOptionalHaikuImagePackage
|
|
taglib-1.6.3-r1r3-x86-gcc4-2011-05-24.zip
|
|
: $(baseURL)/taglib-1.6.3-r1r3-x86-gcc4-2011-05-24.zip ;
|
|
} else {
|
|
InstallOptionalHaikuImagePackage
|
|
taglib-1.6.3-r1a3-x86-gcc2-2011-05-20.zip
|
|
: $(baseURL)/taglib-1.6.3-r1a3-x86-gcc2-2011-05-20.zip ;
|
|
}
|
|
}
|
|
|
|
|
|
# Tar
|
|
if [ IsOptionalHaikuImagePackageAdded Tar ] {
|
|
if $(TARGET_ARCH) != x86 {
|
|
Echo "No optional package Tar available for $(TARGET_ARCH)" ;
|
|
} else {
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
InstallOptionalHaikuImagePackage
|
|
tar-1.25-r1a3-x86-gcc4-2011-05-24.zip
|
|
: $(baseURL)/tar-1.25-r1a3-x86-gcc4-2011-05-24.zip ;
|
|
} else {
|
|
InstallOptionalHaikuImagePackage
|
|
tar-1.25-1-x86_gcc2.hpkg
|
|
: $(hpkgBaseURL)/tar-1.25-1-x86_gcc2.hpkg
|
|
: common packages ;
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
# TimGMSoundFont
|
|
if [ IsOptionalHaikuImagePackageAdded TimGMSoundFont ] {
|
|
InstallOptionalHaikuImagePackage TimGMSoundFont-2010-06-16.hpkg
|
|
: $(hpkgBaseURL)/TimGMSoundFont-2010-06-16.hpkg
|
|
: system packages ;
|
|
}
|
|
|
|
|
|
# TrackerNewTemplates
|
|
if [ IsOptionalHaikuImagePackageAdded TrackerNewTemplates ] {
|
|
InstallOptionalHaikuImagePackage TrackerNewTemplates-2010-04-26.zip
|
|
: $(baseURL)/TrackerNewTemplates-2010-04-26.zip
|
|
: home config settings Tracker "Tracker New Templates"
|
|
;
|
|
}
|
|
|
|
|
|
# Transmission
|
|
if [ IsOptionalHaikuImagePackageAdded Transmission ] {
|
|
if $(TARGET_ARCH) != x86 {
|
|
Echo "No optional package Transmission available for $(TARGET_ARCH)" ;
|
|
} else {
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
InstallOptionalHaikuImagePackage
|
|
transmission-2.21-r1a3-x86-gcc4-2011-05-27.zip
|
|
: $(baseURL)/transmission-2.21-r1a3-x86-gcc4-2011-05-27.zip
|
|
: : true ;
|
|
} else {
|
|
InstallOptionalHaikuImagePackage
|
|
transmission-2.21-r1a3-x86-gcc2-2011-05-27.zip
|
|
: $(baseURL)/transmission-2.21-r1a3-x86-gcc2-2011-05-27.zip
|
|
: : true ;
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
# UserlandFS
|
|
if [ IsOptionalHaikuImagePackageAdded UserlandFS ] {
|
|
local arch = $(TARGET_ARCH) ;
|
|
local abi = gcc$(HAIKU_GCC_VERSION[1]) ;
|
|
|
|
# kernel module
|
|
AddFilesToHaikuImage system add-ons kernel file_systems
|
|
: userlandfs ;
|
|
|
|
# server
|
|
AddFilesToHaikuImage system servers : userlandfs_server ;
|
|
|
|
# libs
|
|
local userlandfsLibs =
|
|
libuserlandfs_beos_kernel.so
|
|
libuserlandfs_haiku_kernel.so
|
|
libuserlandfs_fuse.so
|
|
;
|
|
AddFilesToHaikuImage system lib : $(userlandfsLibs) ;
|
|
|
|
# development goodies
|
|
if [ IsOptionalHaikuImagePackageAdded DevelopmentMin ] {
|
|
if ! ( $(HAIKU_GCC_VERSION[1]) in 2 4 ) {
|
|
Exit "Optional package UserlandFS: Unsupported GCC version:"
|
|
$(HAIKU_GCC_VERSION[1]) ;
|
|
}
|
|
|
|
# library symlinks
|
|
local lib ;
|
|
for lib in $(userlandfsLibs) {
|
|
AddSymlinkToHaikuImage develop abi $(arch) $(abi) lib
|
|
: /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) ;
|
|
}
|
|
}
|
|
|
|
|
|
# Vim
|
|
if [ IsOptionalHaikuImagePackageAdded Vim ] {
|
|
if $(TARGET_ARCH) != x86 {
|
|
Echo "No optional package Vim available for $(TARGET_ARCH)" ;
|
|
} else {
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
InstallOptionalHaikuImagePackage vim-7.3-r1a3-x86-gcc4-2011-05-26.zip
|
|
: $(baseURL)/vim-7.3-r1a3-x86-gcc4-2011-05-26.zip
|
|
: : true ;
|
|
} else {
|
|
InstallOptionalHaikuImagePackage vim-7.3-r1a3-x86-gcc2-2011-05-26.zip
|
|
: $(baseURL)/vim-7.3-r1a3-x86-gcc2-2011-05-26.zip
|
|
: : true ;
|
|
}
|
|
AddSymlinkToHaikuImage home config settings deskbar Applications
|
|
: /boot/common/bin/gvim ;
|
|
# TODO: move this symlink to the archive
|
|
AddSymlinkToHaikuImage common bin : vim : vi ;
|
|
}
|
|
}
|
|
|
|
|
|
# Vision
|
|
if [ IsOptionalHaikuImagePackageAdded Vision ] {
|
|
if $(TARGET_ARCH) != x86 {
|
|
Echo "No optional package Vision available for $(TARGET_ARCH)" ;
|
|
} else {
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
InstallOptionalHaikuImagePackage vision-908-r1a3-x86-gcc4-2011-06-07.zip
|
|
: $(baseURL)/vision-908-r1a3-x86-gcc4-2011-06-07.zip ;
|
|
} else {
|
|
InstallOptionalHaikuImagePackage
|
|
vision-908-1-x86_gcc2.hpkg
|
|
: $(hpkgBaseURL)/vision-908-1-x86_gcc2.hpkg
|
|
: common packages ;
|
|
}
|
|
AddSymlinkToHaikuImage home config settings deskbar Applications
|
|
: /boot/apps/Vision/Vision ;
|
|
}
|
|
}
|
|
|
|
|
|
# WebPositive
|
|
if [ IsOptionalHaikuImagePackageAdded WebPositive ] {
|
|
if $(TARGET_ARCH) != x86 {
|
|
Echo "No optional package WebPositive available for $(TARGET_ARCH)" ;
|
|
} else if $(HAIKU_GCC_VERSION[1]) < 4 {
|
|
Echo "No optional package WebPositive available for gcc2" ;
|
|
} else {
|
|
InstallOptionalHaikuImagePackage
|
|
WebPositive-r1a3-gcc4-x86-r580-2011-06-02.zip
|
|
: $(baseURL)/WebPositive-r1a3-gcc4-x86-r580-2011-06-02.zip ;
|
|
AddSymlinkToHaikuImage home config settings deskbar Applications
|
|
: /boot/apps/WebPositive/WebPositive ;
|
|
}
|
|
}
|
|
|
|
|
|
# Welcome
|
|
if [ IsOptionalHaikuImagePackageAdded Welcome ] {
|
|
AddFilesToHaikuImage system packages : haiku-userguide.hpkg ;
|
|
AddFilesToHaikuImage system packages : haiku-welcome.hpkg ;
|
|
|
|
AddSymlinkToHaikuImage home Desktop : /boot/system/bin/welcome
|
|
: Welcome ;
|
|
AddSymlinkToHaikuImage home Desktop : /boot/system/bin/userguide
|
|
: User\ Guide ;
|
|
}
|
|
|
|
|
|
# WifiFirmwareScriptData
|
|
# This optional package is for people who build their own images & have wifi
|
|
# hardware that requires install-wifi-firmwares.sh & have no active network
|
|
# connection. This is not to be added to default images.
|
|
if [ IsOptionalHaikuImagePackageAdded WifiFirmwareScriptData ] {
|
|
if $(TARGET_ARCH) != x86 {
|
|
Echo "No optional package WifiFirmwareScriptData available for"
|
|
$(TARGET_ARCH) ;
|
|
} else {
|
|
# broadcom43xx
|
|
# firmware cutter
|
|
local broadcomFWCutterArchive = b43-fwcutter-012.tar.bz2 ;
|
|
local broadcomFWCutterURL =
|
|
http://bu3sch.de/b43/fwcutter/$(broadcomFWCutterArchive) ;
|
|
local broadcomFWCutterFile = [ DownloadFile $(broadcomFWCutterArchive)
|
|
: $(broadcomFWCutterURL) ] ;
|
|
AddFilesToHaikuImage
|
|
system data firmware broadcom43xx b43-fwcutter
|
|
: $(broadcomFWCutterFile) ;
|
|
|
|
# headers needed to compile firmware cutter
|
|
local glibcDir = [ FDirName
|
|
$(HAIKU_TOP) src system libroot posix glibc ] ;
|
|
local byteswapHeader = [ FDirName $(glibcDir) string byteswap.h ] ;
|
|
AddFilesToHaikuImage
|
|
system data firmware broadcom43xx b43-fwcutter
|
|
: $(byteswapHeader) ;
|
|
local bitByteswapHeader = [ FDirName
|
|
$(glibcDir) include arch x86 bits byteswap.h ] ;
|
|
AddFilesToHaikuImage
|
|
system data firmware broadcom43xx b43-fwcutter bits
|
|
: $(bitByteswapHeader) ;
|
|
|
|
# file containing firmware
|
|
local broadcom43xxFile ;
|
|
broadcom43xxFile = [ DownloadFile wl_apsta-3.130.20.0.o
|
|
: http://downloads.openwrt.org/sources/wl_apsta-3.130.20.0.o ] ;
|
|
AddFilesToHaikuImage system data firmware broadcom43xx
|
|
: $(broadcom43xxFile) ;
|
|
|
|
# marvell88w8335
|
|
local marvelArchive = malo-firmware-1.4.tgz ;
|
|
local marvelURL = http://www.nazgul.ch/malo/$(marvelArchive) ;
|
|
local marvelFile = [ DownloadFile $(marvelArchive) : $(marvelURL) ] ;
|
|
AddFilesToHaikuImage
|
|
system data firmware marvell88w8335
|
|
: $(marvelFile) ;
|
|
}
|
|
}
|
|
|
|
|
|
# WonderBrush
|
|
if [ IsOptionalHaikuImagePackageAdded WonderBrush ] {
|
|
if $(TARGET_ARCH) != x86 {
|
|
Echo "No optional package WonderBrush available for $(TARGET_ARCH)" ;
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
Echo "No optional package WonderBrush available for gcc4" ;
|
|
} else {
|
|
# TODO: Package as HPKG!
|
|
# InstallOptionalHaikuImagePackage WonderBrush-2.1.2.zip
|
|
# : $(baseURL)/WonderBrush-2.1.2-x86-gcc2-2008-11-08.zip
|
|
# : common apps ;
|
|
# AddSymlinkToHaikuImage home config settings deskbar Applications
|
|
# : /boot/apps/WonderBrush/WonderBrush ;
|
|
}
|
|
}
|
|
|
|
|
|
# wpa_supplicant
|
|
if [ IsOptionalHaikuImagePackageAdded wpa_supplicant ] {
|
|
if $(TARGET_ARCH) != x86 {
|
|
Echo "No optional package wpa_supplicant available for $(TARGET_ARCH)" ;
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
InstallOptionalHaikuImagePackage
|
|
wpa_supplicant-0.7.3-x86-gcc4-2011-10-05.zip
|
|
: $(baseURL)/wpa_supplicant-0.7.3-x86-gcc4-2011-10-05.zip ;
|
|
} else {
|
|
InstallOptionalHaikuImagePackage
|
|
wpa_supplicant-0.7.3-x86-gcc2-2011-10-05.zip
|
|
: $(baseURL)/wpa_supplicant-0.7.3-x86-gcc2-2011-10-05.zip ;
|
|
}
|
|
}
|
|
|
|
|
|
# WQY-MicroHei
|
|
if [ IsOptionalHaikuImagePackageAdded WQY-MicroHei ] {
|
|
InstallOptionalHaikuImagePackage
|
|
wqy-microhei-0.2.0-beta-1-x86_gcc2.hpkg
|
|
: $(hpkgBaseURL)/wqy-microhei-0.2.0-beta-1-x86_gcc2.hpkg
|
|
: common packages ;
|
|
}
|
|
|
|
|
|
# XZ-Utils
|
|
if [ IsOptionalHaikuImagePackageAdded XZ-Utils ] {
|
|
if $(TARGET_ARCH) != x86 {
|
|
Echo "No optional package XZ-Utils available for $(TARGET_ARCH)" ;
|
|
} else {
|
|
InstallOptionalHaikuImagePackage
|
|
xz-utils-5.0.1-2-x86_gcc2.hpkg
|
|
: $(hpkgBaseURL)/xz-utils-5.0.1-2-x86_gcc2.hpkg
|
|
: common packages ;
|
|
AddExpanderRuleToHaikuImage "application/x-xz" : .tar.xz
|
|
: "tar -Jtvf \\0045s"
|
|
: "tar -Jxvf \\0045s"
|
|
;
|
|
AddExpanderRuleToHaikuImage "application/x-xz" : .txz
|
|
: "tar -Jtvf \\0045s"
|
|
: "tar -Jxvf \\0045s"
|
|
;
|
|
AddExpanderRuleToHaikuImage "application/x-xz" : .xz
|
|
: "echo \\0045s | sed 's/.xz\\\$//g'"
|
|
: "xz -df \\0045s"
|
|
;
|
|
}
|
|
}
|
|
|
|
|
|
# Yasm
|
|
if [ IsOptionalHaikuImagePackageAdded Yasm ] {
|
|
if $(TARGET_ARCH) != x86 {
|
|
Echo "No optional package Yasm available for $(TARGET_ARCH)" ;
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
InstallOptionalHaikuImagePackage
|
|
yasm-1.1.0-r1a3-x86-gcc4-2011-05-24.zip
|
|
: $(baseURL)/yasm-1.1.0-r1a3-x86-gcc4-2011-05-24.zip ;
|
|
} else {
|
|
InstallOptionalHaikuImagePackage
|
|
yasm-1.1.0-1-x86_gcc2.hpkg
|
|
: $(hpkgBaseURL)/yasm-1.1.0-1-x86_gcc2.hpkg
|
|
: common packages ;
|
|
}
|
|
}
|