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 ;
|
2010-04-20 22:44:54 +04:00
|
|
|
if $(HAIKU_ADD_ALTERNATIVE_GCC_LIBS) = 1
|
|
|
|
&& $(HAIKU_ALTERNATIVE_GCC_OUTPUT_DIR) {
|
2008-05-29 14:22:59 +04:00
|
|
|
isHybridBuild = 1 ;
|
|
|
|
}
|
|
|
|
|
2008-11-12 00:47:12 +03:00
|
|
|
|
2008-03-31 00:01:25 +04:00
|
|
|
# Available Optional Packages:
|
2010-02-01 20:04:49 +03:00
|
|
|
# ABI-compliance-checker - tool for checking ABI compatibility between libs
|
2009-12-27 03:13:08 +03:00
|
|
|
# APR - support libraries used for example by Subversion
|
2010-01-04 18:45:20 +03:00
|
|
|
# APR-util - Apache portable runtime utility library
|
2010-10-30 11:19:02 +04:00
|
|
|
# ArmyKnife - tool for editing audio file metadata and attributes
|
2010-09-16 06:34:38 +04:00
|
|
|
# Bazaar - the distributed version control system
|
2010-03-14 10:19:45 +03:00
|
|
|
# BeAE - open source Audio Editor
|
2009-12-27 03:13:08 +03: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
|
2010-02-12 23:45:08 +03:00
|
|
|
# BeZillaBrowser - fork of Mozilla's 1.8 branch.
|
2009-12-27 03:13:08 +03:00
|
|
|
# Bluetooth - experimental Haiku components for Bluetooth
|
2010-09-16 06:34:38 +04:00
|
|
|
# BurnItNow - CD burning app
|
2010-04-21 01:18:16 +04:00
|
|
|
# Bzip - file archiving utility
|
2010-09-08 12:01:53 +04:00
|
|
|
# CCache - fast compiler cache
|
2009-12-27 03:13:08 +03:00
|
|
|
# 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,...)
|
2011-02-26 18:33:48 +03:00
|
|
|
# DevelopmentJava - JamVM, a Java Virtual machine, GNU Classpath, ECJ
|
2009-12-27 03:13:08 +03:00
|
|
|
# DevelopmentMin - development headers, libs, tools, from sources only
|
2011-03-04 19:39:31 +03:00
|
|
|
# Doxygen - Generate documentation from source code
|
2009-12-27 03:13:08 +03:00
|
|
|
# Expat - XML parsing libraries
|
2010-09-08 12:01:53 +04:00
|
|
|
# Fastdep - fast dependency generator for C/C++ files
|
2010-04-14 01:47:04 +04:00
|
|
|
# friss - RSS/ATOM/... feeds reader
|
2010-05-06 09:48:41 +04:00
|
|
|
# GetText - a framework to help produce multi-lingual messages.
|
2009-12-27 03:13:08 +03:00
|
|
|
# Git - the distributed version control system
|
2010-06-15 23:33:25 +04:00
|
|
|
# GPerf - the perfect hash function generator.
|
2010-09-01 19:26:28 +04:00
|
|
|
# Groff - text formatter used for man pages
|
2010-07-16 01:23:45 +04:00
|
|
|
# ICU-devel - the headers and lib-links for ICU (for development)
|
2010-05-08 23:11:45 +04:00
|
|
|
# KeymapSwitcher - Easy to use keymap switcher
|
2010-05-06 09:48:41 +04:00
|
|
|
# LibEvent - An event notification library
|
2009-12-27 03:13:08 +03:00
|
|
|
# LibIconv - text encoding conversion library
|
|
|
|
# LibLayout - GCC2 package needed by some BeOS apps to compile
|
2010-09-26 20:26:55 +04:00
|
|
|
# Libmng - mng support library
|
|
|
|
# LibXML2 - the XML support library
|
2010-04-11 08:05:21 +04:00
|
|
|
# LibXSLT - xslt library and utility
|
2009-12-27 03:13:08 +03:00
|
|
|
# Links - the web browser
|
2010-10-29 20:20:25 +04:00
|
|
|
# Lua - the scripting language
|
2010-09-01 19:26:28 +04:00
|
|
|
# Man - standard commands to read man pages
|
2009-12-27 03:13:08 +03:00
|
|
|
# Mercurial - the distributed version control system
|
|
|
|
# Nano - the command line text editor
|
|
|
|
# Neon - support libraries used for example by SVN
|
2010-01-19 21:25:48 +03:00
|
|
|
# NetFS - the native networked file system components
|
2009-12-27 03:13:08 +03:00
|
|
|
# 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
|
2010-09-08 12:01:53 +04:00
|
|
|
# Paladin - a Haiku IDE
|
2009-12-27 03:13:08 +03:00
|
|
|
# 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
|
2010-09-08 12:01:53 +04:00
|
|
|
# Ruby - the programming language
|
2010-03-12 21:03:57 +03:00
|
|
|
# Sed - the ultimate stream editor
|
2009-12-27 03:13:08 +03:00
|
|
|
# SQLite - the database implementation
|
|
|
|
# Subversion - the version control system
|
2010-10-29 17:00:19 +04:00
|
|
|
# TagLib - id3 tag library
|
2009-12-27 03:13:08 +03:00
|
|
|
# Tar - archiving utility
|
2010-06-16 19:20:59 +04:00
|
|
|
# TimGMSoundFont - a good quality General MIDI Sound Font
|
2010-04-26 13:02:36 +04:00
|
|
|
# TrackerNewTemplates - template files for Tracker's New menu
|
2010-06-16 19:20:59 +04:00
|
|
|
# Transmission - a fast, easy, and free BitTorrent Client
|
2009-12-27 03:13:08 +03:00
|
|
|
# UserlandFS - aids native file system development (like FUSE)
|
2010-05-08 23:11:45 +04:00
|
|
|
# Vim - Vi IMproved. Highly configurable text editor
|
2009-12-27 03:13:08 +03:00
|
|
|
# Vision - powerful native IRC client
|
2010-04-23 22:06:34 +04:00
|
|
|
# WebPositive - native, WebKit-based web browser
|
2009-12-27 03:13:08 +03:00
|
|
|
# Welcome - introductory documentation to Haiku
|
2010-03-02 00:44:08 +03:00
|
|
|
# WifiFirmwareScriptData - data files needed by install-wifi-firmwares.sh
|
2009-12-27 03:13:08 +03:00
|
|
|
# WonderBrush - native graphics application
|
2011-02-24 09:51:48 +03:00
|
|
|
# WQY-MicroHei - Chinese font
|
2010-04-21 01:18:16 +04:00
|
|
|
# XZ-Utils - file archiving utility
|
2009-12-27 03:13:08 +03:00
|
|
|
# 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 ;
|
2010-11-21 09:28:57 +03:00
|
|
|
local baseSourceURL = http://haiku-files.org/files/sources ;
|
2008-03-31 00:01:25 +04:00
|
|
|
|
2010-02-01 20:04:49 +03:00
|
|
|
# ABI-compliance-checker
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded ABI-compliance-checker ] {
|
|
|
|
if $(HAIKU_GCC_VERSION[1]) < 4 && ! $(isHybridBuild) {
|
|
|
|
Echo "No optional package ABI-compliance-checker for gcc2" ;
|
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2010-02-27 20:48:12 +03:00
|
|
|
ABI-compliance-checker-1.12-noarch-gcc4-2010-02-01.zip
|
2011-03-06 18:10:31 +03:00
|
|
|
: $(baseURL)/ABI-compliance-checker-1.12-noarch-gcc4-2010-02-01.zip ;
|
2010-02-01 20:04:49 +03: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)" ;
|
2010-11-22 16:06:36 +03:00
|
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
2011-05-05 22:54:40 +04:00
|
|
|
InstallOptionalHaikuImagePackage apr-1.4.2-x86-gcc4-2011-05-05.zip
|
|
|
|
: $(baseURL)/apr-1.4.2-x86-gcc4-2011-05-05.zip
|
2010-11-22 16:06:36 +03:00
|
|
|
: : true ;
|
2008-05-14 02:15:45 +04:00
|
|
|
} else {
|
2011-05-19 12:47:23 +04:00
|
|
|
InstallOptionalHaikuImagePackage apr-1.4.2-r1a3-x86-gcc2-2011-05-17.zip
|
|
|
|
: $(baseURL)/apr-1.4.2-r1a3-x86-gcc2-2011-05-17.zip
|
2010-11-22 16:06:36 +03:00
|
|
|
: : true ;
|
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)" ;
|
2010-11-22 16:06:36 +03:00
|
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
2011-05-05 22:54:40 +04:00
|
|
|
InstallOptionalHaikuImagePackage apr-util-1.3.10-x86-gcc4-2011-05-05.zip
|
|
|
|
: $(baseURL)/apr-util-1.3.10-x86-gcc4-2011-05-05.zip
|
2010-11-22 16:06:36 +03:00
|
|
|
: : true ;
|
2008-05-16 00:47:42 +04:00
|
|
|
} else {
|
2011-05-19 12:47:23 +04:00
|
|
|
InstallOptionalHaikuImagePackage apr-util-1.3.10-r1a3-x86-gcc2-2011-05-17.zip
|
|
|
|
: $(baseURL)/apr-util-1.3.10-r1a3-x86-gcc2-2011-05-17.zip
|
2010-11-22 16:06:36 +03:00
|
|
|
: : true ;
|
2008-05-16 00:47:42 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2010-10-30 11:19:02 +04:00
|
|
|
# ArmyKnife
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded ArmyKnife ] {
|
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package ArmyKnife available for $(TARGET_ARCH)" ;
|
2010-10-31 15:02:35 +03:00
|
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 && ! $(isHybridBuild) {
|
2010-10-30 11:19:02 +04:00
|
|
|
Echo "No optional package ArmyKnife for gcc4" ;
|
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage armyknife-61-x86-gcc2-2010-10-30.zip
|
2011-03-05 23:12:30 +03:00
|
|
|
: $(baseURL)/armyknife-61-x86-gcc2-2010-10-30.zip ;
|
2010-10-30 11:19:02 +04:00
|
|
|
AddSymlinkToHaikuImage home config be Applications
|
|
|
|
: /boot/apps/ArmyKnife/ArmyKnife ;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2010-09-16 06:34:38 +04:00
|
|
|
# Bazaar
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded Bazaar ] {
|
|
|
|
if $(TARGET_ARCH) != x86 {
|
2011-03-01 06:16:09 +03:00
|
|
|
Echo "No optional package Bazaar available for $(TARGET_ARCH)" ;
|
2010-09-19 03:43:48 +04:00
|
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
2010-09-16 06:34:38 +04:00
|
|
|
InstallOptionalHaikuImagePackage bzr-2.2.0-gcc4-2010-09-15.zip
|
2011-03-05 23:12:30 +03:00
|
|
|
: $(baseURL)/bzr-2.2.0-x86-gcc4-2010-09-15.zip ;
|
2010-09-16 06:34:38 +04:00
|
|
|
} else {
|
2011-05-19 12:47:23 +04:00
|
|
|
InstallOptionalHaikuImagePackage bzr-2.2.2-r1a3-x86-gcc2-2011-05-17.zip
|
|
|
|
: $(baseURL)/bzr-2.2.2-r1a3-x86-gcc2-2011-05-17.zip ;
|
2010-09-16 06:34:38 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2010-03-14 10:19:45 +03:00
|
|
|
# BeAE
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded BeAE ] {
|
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package BeAE available for $(TARGET_ARCH)" ;
|
|
|
|
} else {
|
2011-03-06 18:38:20 +03:00
|
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
|
|
InstallOptionalHaikuImagePackage beae-22-x86-gcc4-2010-09-15.zip
|
|
|
|
: $(baseURL)/beae-22-x86-gcc4-2010-09-15.zip ;
|
|
|
|
} else {
|
2011-05-19 12:47:23 +04:00
|
|
|
InstallOptionalHaikuImagePackage beae-22-r1a3-x86-gcc2-2011-05-18.zip
|
|
|
|
: $(baseURL)/beae-22-r1a3-x86-gcc2-2011-05-18.zip ;
|
2011-03-06 18:38:20 +03:00
|
|
|
}
|
2010-03-14 10:19:45 +03:00
|
|
|
AddSymlinkToHaikuImage home config be Applications
|
|
|
|
: /boot/apps/BeAE/BeAE ;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
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 {
|
2010-04-29 16:23:30 +04:00
|
|
|
InstallOptionalHaikuImagePackage Beam-1.2alpha-x86-gcc2-2010-04-29.zip
|
2011-03-05 23:12:30 +03:00
|
|
|
: $(baseURL)/Beam-1.2alpha-x86-gcc2-2010-04-29.zip ;
|
2008-05-29 14:22:59 +04:00
|
|
|
AddSymlinkToHaikuImage home config be Applications
|
2010-04-29 16:23:30 +04:00
|
|
|
: /boot/apps/Beam/Beam ;
|
2008-05-29 14:22:59 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2008-10-28 05:44:39 +03:00
|
|
|
# BeBook
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded BeBook ] {
|
2010-02-27 20:48:12 +03:00
|
|
|
InstallOptionalHaikuImagePackage bebook_20081026.zip
|
2009-07-07 14:30:09 +04:00
|
|
|
: $(baseURL)/bebook_20081026.zip
|
2011-03-06 18:10:31 +03: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 {
|
2010-02-27 20:48:12 +03:00
|
|
|
InstallOptionalHaikuImagePackage BeHappy-1.0.6-x86-gcc2-2008-10-16.zip
|
2011-03-05 23:12:30 +03:00
|
|
|
: $(baseURL)/BeHappy-1.0.6-x86-gcc2-2008-10-16.zip ;
|
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 ;
|
2009-11-10 17:26:42 +03:00
|
|
|
AddSymlinkToHaikuImage beos : ../common/etc ;
|
2009-04-21 00:49:09 +04:00
|
|
|
AddSymlinkToHaikuImage beos : ../system/preferences ;
|
|
|
|
AddSymlinkToHaikuImage beos : ../system ;
|
2010-02-05 17:18:20 +03:00
|
|
|
AddDirectoryToHaikuImage var ;
|
|
|
|
AddSymlinkToHaikuImage var : /boot/common/var/log ;
|
|
|
|
AddSymlinkToHaikuImage var : /boot/common/cache/tmp ;
|
2009-04-21 00:49:09 +04:00
|
|
|
}
|
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 {
|
2010-04-29 16:23:30 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
2010-05-08 23:23:35 +04:00
|
|
|
BePDF-1.1.1b3-r1a2-x86-gcc2-2010-05-08.zip
|
|
|
|
: $(baseURL)/BePDF-1.1.1b3-r1a2-x86-gcc2-2010-05-08.zip
|
2011-03-06 18:10:31 +03:00
|
|
|
: apps ;
|
2008-09-18 16:55:59 +04:00
|
|
|
AddSymlinkToHaikuImage home config be Applications
|
|
|
|
: /boot/apps/BePDF/BePDF ;
|
2010-05-06 19:39:17 +04:00
|
|
|
AddSymlinkToHaikuImage common data licenses
|
|
|
|
: "/boot/apps/BePDF/license/locale DevKit/Open Tracker License"
|
|
|
|
: "Open Tracker" ;
|
|
|
|
AddSymlinkToHaikuImage common data licenses
|
|
|
|
: "/boot/apps/BePDF/license/locale DevKit/LICENSE"
|
|
|
|
: "48HRS Public License" ;
|
|
|
|
InstallSourceArchive bepdf-1.1.1b3-2010-05-05.tar.xz
|
2010-11-21 09:28:57 +03:00
|
|
|
: $(baseSourceURL)/2010/bepdf-1.1.1b3-2010-05-05.tar.xz ;
|
2008-09-18 16:55:59 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2010-02-12 23:45:08 +03:00
|
|
|
# BeZillaBrowser
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded BeZillaBrowser ] {
|
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package BeZillaBrowser available for $(TARGET_ARCH)" ;
|
|
|
|
} else {
|
2010-04-30 23:06:46 +04:00
|
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2010-05-04 23:18:03 +04:00
|
|
|
BeZillaBrowser-2.0.0.22pre-r1a2-x86-gcc4-2010-05-04.zip
|
2011-03-05 23:12:30 +03:00
|
|
|
: $(baseURL)/BeZillaBrowser-2.0.0.22pre-r1a2-x86-gcc4-2010-05-04.zip ;
|
2010-04-30 23:06:46 +04:00
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2010-05-04 23:18:03 +04:00
|
|
|
BeZillaBrowser-2.0.0.22pre-r1a2-x86-gcc2-2010-05-02.zip
|
2011-03-05 23:12:30 +03:00
|
|
|
: $(baseURL)/BeZillaBrowser-2.0.0.22pre-r1a2-x86-gcc2-2010-05-02.zip ;
|
2010-04-30 23:06:46 +04:00
|
|
|
}
|
2010-02-12 23:45:08 +03:00
|
|
|
AddSymlinkToHaikuImage home config be Applications
|
2011-03-05 23:12:30 +03:00
|
|
|
: /boot/apps/BeZillaBrowser/BeZillaBrowser ;
|
2010-05-04 23:18:03 +04:00
|
|
|
InstallSourceArchive BeZillaBrowser-2.0.0.22pre-r1a2-sources.tar.xz
|
2011-03-06 18:10:31 +03:00
|
|
|
: $(baseSourceURL)/2010/BeZillaBrowser-2.0.0.22pre-r1a2-sources.tar.xz ;
|
2010-02-12 23:45:08 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
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 protocols : l2cap ;
|
2010-01-17 20:23:48 +03:00
|
|
|
AddFilesToHaikuImage system add-ons kernel bluetooth : btCoreData hci ;
|
2009-04-03 13:02:44 +04:00
|
|
|
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
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2010-09-16 06:34:38 +04:00
|
|
|
# BurnItNow
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded BurnItNow ] {
|
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package BurnItNow available for $(TARGET_ARCH)" ;
|
|
|
|
} else {
|
2011-03-06 18:38:20 +03:00
|
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
|
|
InstallOptionalHaikuImagePackage burnitnow-39-x86-gcc4-2010-09-15.zip
|
|
|
|
: $(baseURL)/burnitnow-39-x86-gcc4-2010-09-15.zip ;
|
|
|
|
} else {
|
2011-05-19 12:47:23 +04:00
|
|
|
InstallOptionalHaikuImagePackage burnitnow-39-r1a3-x86-gcc2-2011-05-18.zip
|
|
|
|
: $(baseURL)/burnitnow-39-r1a3-x86-gcc2-2011-05-18.zip ;
|
2011-03-06 18:38:20 +03:00
|
|
|
}
|
2010-09-16 06:34:38 +04:00
|
|
|
AddSymlinkToHaikuImage home config be Applications
|
|
|
|
: /boot/apps/BurnItNow/BurnItNow ;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2009-11-26 15:53:30 +03:00
|
|
|
# Bzip
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded Bzip ] {
|
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package Bzip available for $(TARGET_ARCH)" ;
|
2011-05-13 10:59:13 +04:00
|
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
|
|
InstallOptionalHaikuImagePackage
|
|
|
|
bzip2-1.0.6-x86-gcc4-2011-05-12.zip
|
|
|
|
: $(baseURL)/bzip2-1.0.6-x86-gcc4-2011-05-12.zip
|
|
|
|
: : true ;
|
2009-11-26 15:53:30 +03:00
|
|
|
} else {
|
2010-04-29 16:23:30 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
2011-05-19 12:47:23 +04:00
|
|
|
bzip2-1.0.6-x86-r1a3-x86-gcc2-2011-05-17.zip
|
|
|
|
: $(baseURL)/bzip2-1.0.6-r1a3-x86-gcc2-2011-05-17.zip
|
2011-03-05 23:12:30 +03:00
|
|
|
: : true ;
|
2009-11-26 15:53:30 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2010-09-08 12:01:53 +04:00
|
|
|
# CCache
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded CCache ] {
|
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package CCache available for $(TARGET_ARCH)" ;
|
2011-05-13 19:20:53 +04:00
|
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
|
|
InstallOptionalHaikuImagePackage
|
|
|
|
ccache-3.1.4-x86-gcc4-2011-05-12.zip
|
|
|
|
: $(baseURL)/ccache-3.1.4-x86-gcc4-2011-05-12.zip ;
|
2010-09-08 12:01:53 +04:00
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2011-05-19 12:47:23 +04:00
|
|
|
ccache-3.0.1-r1a3-x86-gcc2-2011-05-17.zip
|
|
|
|
: $(baseURL)/ccache-3.0.1-r1a3-x86-gcc2-2011-05-17.zip ;
|
2010-09-08 12:01:53 +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)" ;
|
2010-11-22 16:06:36 +03:00
|
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
2011-05-04 02:47:17 +04:00
|
|
|
InstallOptionalHaikuImagePackage cdrtools-3.01a01-x86-gcc4-2011-05-03.zip
|
|
|
|
: $(baseURL)/cdrtools-3.01a01-x86-gcc4-2011-05-03.zip ;
|
2009-05-30 05:26:28 +04:00
|
|
|
} else {
|
2011-05-19 12:47:23 +04:00
|
|
|
InstallOptionalHaikuImagePackage cdrtools-3.01a01-r1a3-x86-gcc2-2011-05-17.zip
|
|
|
|
: $(baseURL)/cdrtools-3.01a01-r1a3-x86-gcc2-2011-05-17.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 {
|
2011-03-06 18:38:20 +03:00
|
|
|
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 ;
|
|
|
|
}
|
2009-08-04 20:25:24 +04:00
|
|
|
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
|
2010-10-29 01:24:50 +04:00
|
|
|
clucene-0.9.21-x86-gcc4-haiku-2009-08-11.zip
|
2009-08-11 17:48:42 +04:00
|
|
|
: $(baseURL)/clucene-0.9.21-x86-gcc4-haiku-2009-08-11.zip
|
2011-03-05 23:12:30 +03:00
|
|
|
: : true ;
|
2009-06-15 04:13:37 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2009-10-28 05:26:36 +03:00
|
|
|
# CMake
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded CMake ] {
|
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package CMake available for $(TARGET_ARCH)" ;
|
|
|
|
} else {
|
2010-10-31 03:40:25 +03:00
|
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2011-05-04 02:59:49 +04:00
|
|
|
cmake-2.8.4-x86-gcc4-2011-05-03.zip
|
|
|
|
: $(baseURL)/cmake-2.8.4-x86-gcc4-2011-05-03.zip
|
2011-03-05 23:12:30 +03:00
|
|
|
: : true ;
|
2010-10-31 03:40:25 +03:00
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2011-05-19 12:47:23 +04:00
|
|
|
cmake-2.8.4-x86-r1a3-x86-gcc2-2011-05-17.zip
|
|
|
|
: $(baseURL)/cmake-2.8.4-r1a3-x86-gcc2-2011-05-17.zip
|
2011-03-05 23:12:30 +03:00
|
|
|
: : true ;
|
2010-10-31 03:40:25 +03:00
|
|
|
}
|
2009-10-28 05:26:36 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2009-09-01 15:42:09 +04:00
|
|
|
# Curl
|
2009-09-03 01:10:19 +04:00
|
|
|
if [ IsOptionalHaikuImagePackageAdded Curl ] {
|
2009-09-01 15:42:09 +04:00
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package Curl available for $(TARGET_ARCH)" ;
|
2010-11-22 16:06:36 +03:00
|
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
2011-05-12 04:40:21 +04:00
|
|
|
InstallOptionalHaikuImagePackage curl-7.21.4-x86-gcc4-2011-05-10.zip
|
|
|
|
: $(baseURL)/curl-7.21.6-x86-gcc4-2011-05-10.zip ;
|
2009-09-01 15:42:09 +04:00
|
|
|
} else {
|
2011-05-19 12:47:23 +04:00
|
|
|
InstallOptionalHaikuImagePackage curl-7.21.6-r1a3-x86-gcc2-2011-05-17.zip
|
|
|
|
: $(baseURL)/curl-7.21.6-r1a3-x86-gcc2-2011-05-17.zip ;
|
2009-09-01 15:42:09 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
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 {
|
2010-11-22 16:06:36 +03:00
|
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
|
|
InstallOptionalHaikuImagePackage
|
Updated the gcc2 and gcc4 builds of cmake, cvs, autoconf, automake, libtool, texinfo, flex, bison, libiconv, nano, neon, libpcre, tar.
Updated m4 to 1.4.16.
Also updated the builds of sed and yasm.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40957 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-15 05:58:00 +03:00
|
|
|
cvs-1.12.13.1-x86-gcc4-2011-03-14.zip
|
|
|
|
: $(baseURL)/cvs-1.12.13.1-x86-gcc4-2011-03-14.zip
|
2010-11-22 16:06:36 +03:00
|
|
|
: : true ;
|
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2011-05-19 12:47:23 +04:00
|
|
|
cvs-1.12.13.1-r1a3-x86-gcc2-2011-05-18.zip
|
|
|
|
: $(baseURL)/cvs-1.12.13.1-r1a3-x86-gcc2-2011-05-18.zip
|
2010-11-22 16:06:36 +03:00
|
|
|
: : true ;
|
|
|
|
}
|
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
|
2010-11-22 16:06:36 +03:00
|
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
Updated the gcc2 and gcc4 builds of cmake, cvs, autoconf, automake, libtool, texinfo, flex, bison, libiconv, nano, neon, libpcre, tar.
Updated m4 to 1.4.16.
Also updated the builds of sed and yasm.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40957 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-15 05:58:00 +03:00
|
|
|
InstallOptionalHaikuImagePackage autoconf-2.68-x86-gcc4-2011-03-14.zip
|
|
|
|
: $(baseURL)/autoconf-2.68-x86-gcc4-2011-03-14.zip
|
2010-11-22 16:06:36 +03:00
|
|
|
: : true ;
|
Updated the gcc2 and gcc4 builds of cmake, cvs, autoconf, automake, libtool, texinfo, flex, bison, libiconv, nano, neon, libpcre, tar.
Updated m4 to 1.4.16.
Also updated the builds of sed and yasm.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40957 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-15 05:58:00 +03:00
|
|
|
InstallOptionalHaikuImagePackage automake-1.11.1-x86-gcc4-2011-03-14.zip
|
|
|
|
: $(baseURL)/automake-1.11.1-x86-gcc4-2011-03-14.zip
|
2010-11-22 16:06:36 +03:00
|
|
|
: : true ;
|
Updated the gcc2 and gcc4 builds of cmake, cvs, autoconf, automake, libtool, texinfo, flex, bison, libiconv, nano, neon, libpcre, tar.
Updated m4 to 1.4.16.
Also updated the builds of sed and yasm.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40957 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-15 05:58:00 +03:00
|
|
|
InstallOptionalHaikuImagePackage libtool-2.4-x86-gcc4-2011-03-14.zip
|
|
|
|
: $(baseURL)/libtool-2.4-x86-gcc4-2011-03-14.zip
|
2010-11-22 16:06:36 +03:00
|
|
|
: : true ;
|
Updated the gcc2 and gcc4 builds of cmake, cvs, autoconf, automake, libtool, texinfo, flex, bison, libiconv, nano, neon, libpcre, tar.
Updated m4 to 1.4.16.
Also updated the builds of sed and yasm.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40957 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-15 05:58:00 +03:00
|
|
|
InstallOptionalHaikuImagePackage texinfo-4.13a-x86-gcc4-2011-03-14.zip
|
|
|
|
: $(baseURL)/texinfo-4.13a-x86-gcc4-2011-03-14.zip
|
2010-11-22 16:06:36 +03:00
|
|
|
: : true ;
|
|
|
|
} else {
|
2011-05-19 12:47:23 +04:00
|
|
|
InstallOptionalHaikuImagePackage autoconf-2.68-r1a3-x86-gcc2-2011-05-17.zip
|
|
|
|
: $(baseURL)/autoconf-2.68-r1a3-x86-gcc2-2011-05-17.zip
|
2010-11-22 16:06:36 +03:00
|
|
|
: : true ;
|
|
|
|
InstallOptionalHaikuImagePackage
|
2011-05-19 12:47:23 +04:00
|
|
|
automake-1.11.1-r1a3-x86-gcc2-2011-05-17.zip
|
|
|
|
: $(baseURL)/automake-1.11.1-r1a3-x86-gcc2-2011-05-17.zip
|
2010-11-22 16:06:36 +03:00
|
|
|
: : true ;
|
2011-05-19 12:47:23 +04:00
|
|
|
InstallOptionalHaikuImagePackage libtool-2.4-r1a3-x86-gcc2-2011-05-17.zip
|
|
|
|
: $(baseURL)/libtool-2.4-r1a3-x86-gcc2-2011-05-17.zip
|
2010-11-22 16:06:36 +03:00
|
|
|
: : true ;
|
|
|
|
InstallOptionalHaikuImagePackage
|
2011-05-19 12:47:23 +04:00
|
|
|
texinfo-4.13a-r1a3-x86-gcc2-2011-05-18.zip
|
|
|
|
: $(baseURL)/texinfo-4.13a-r1a3-x86-gcc2-2011-05-18.zip
|
2010-11-22 16:06:36 +03:00
|
|
|
: : true ;
|
|
|
|
}
|
2009-04-19 01:26:26 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
# 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) {
|
2010-04-29 16:23:30 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
2011-05-19 12:47:23 +04:00
|
|
|
gcc-2.95.3-r1a3-x86-gcc2-2010-08-18.zip
|
|
|
|
: $(baseURL)/gcc-2.95.3-r1a3-x86-gcc2-2010-08-18.zip ;
|
2010-03-26 22:58:32 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
if $(HAIKU_GCC_VERSION[1]) = 2 {
|
|
|
|
# symlink to the appropriate system/lib[/gcc2] folder
|
|
|
|
AddSymlinkToHaikuHybridImage
|
2010-08-26 18:31:52 +04:00
|
|
|
develop abi x86 gcc2 tools gcc-2.95.3-haiku-100818 lib
|
2010-03-26 22:58:32 +03:00
|
|
|
: /system/lib libstdc++.r4.so : : true ;
|
2009-05-27 05:12:34 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
if $(HAIKU_GCC_VERSION[1]) = 4 || $(isHybridBuild) {
|
2010-11-22 16:06:36 +03:00
|
|
|
InstallOptionalHaikuImagePackage gcc-4.4.4-x86-gcc4-2010-11-11.zip
|
|
|
|
: $(baseURL)/gcc-4.4.4-x86-gcc4-2010-11-11.zip ;
|
2010-03-26 22:58:32 +03:00
|
|
|
}
|
2009-04-19 01:26:26 +04:00
|
|
|
|
2010-03-26 22:58:32 +03:00
|
|
|
if $(HAIKU_GCC_VERSION[1]) = 4 {
|
2010-10-09 19:41:06 +04:00
|
|
|
# symlink cpp to g++'s headers
|
2010-04-30 01:42:21 +04:00
|
|
|
AddSymlinkToHaikuHybridImage develop abi x86 gcc4 headers
|
2010-10-09 19:41:06 +04:00
|
|
|
: ../tools/current/include/g++ : cpp ;
|
2010-03-04 00:44:12 +03:00
|
|
|
|
|
|
|
# symlink to the appropriate system/lib[/gcc4] folder
|
|
|
|
local libs = libstdc++.so libsupc++.so ;
|
|
|
|
for lib in $(libs) {
|
|
|
|
AddSymlinkToHaikuHybridImage
|
2010-11-22 16:06:36 +03:00
|
|
|
develop abi x86 gcc4 tools gcc-4.4.4-haiku-101111 lib
|
2010-03-04 00:44:12 +03:00
|
|
|
: /system/lib $(lib) : : true ;
|
|
|
|
}
|
2009-05-27 05:12:34 +04:00
|
|
|
}
|
|
|
|
|
2009-04-19 01:26:26 +04:00
|
|
|
# other commonly used tools
|
2010-11-22 16:06:36 +03:00
|
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
|
|
InstallOptionalHaikuImagePackage
|
Updated the gcc2 and gcc4 builds of cmake, cvs, autoconf, automake, libtool, texinfo, flex, bison, libiconv, nano, neon, libpcre, tar.
Updated m4 to 1.4.16.
Also updated the builds of sed and yasm.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40957 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-15 05:58:00 +03:00
|
|
|
bison-2.4.3-x86-gcc4-2011-03-14.zip
|
|
|
|
: $(baseURL)/bison-2.4.3-x86-gcc4-2011-03-14.zip ;
|
2010-11-22 16:06:36 +03:00
|
|
|
InstallOptionalHaikuImagePackage
|
Updated the gcc2 and gcc4 builds of cmake, cvs, autoconf, automake, libtool, texinfo, flex, bison, libiconv, nano, neon, libpcre, tar.
Updated m4 to 1.4.16.
Also updated the builds of sed and yasm.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40957 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-15 05:58:00 +03:00
|
|
|
m4-1.4.16-x86-gcc4-2011-03-14.zip
|
|
|
|
: $(baseURL)/m4-1.4.16-x86-gcc4-2011-03-14.zip ;
|
|
|
|
InstallOptionalHaikuImagePackage flex-2.5.35-x86-gcc4-2011-03-14.zip
|
|
|
|
: $(baseURL)/flex-2.5.35-x86-gcc4-2011-03-14.zip ;
|
2010-11-22 16:06:36 +03:00
|
|
|
InstallOptionalHaikuImagePackage jam-2.5-x86-gcc4-2010-11-12.zip
|
|
|
|
: $(baseURL)/jam-2.5-x86-gcc4-2010-11-12.zip ;
|
|
|
|
InstallOptionalHaikuImagePackage mkdepend-1.7-x86-gcc4-2010-11-12.zip
|
|
|
|
: $(baseURL)/mkdepend-1.7-x86-gcc4-2010-11-12.zip ;
|
2011-03-15 19:50:45 +03:00
|
|
|
InstallOptionalHaikuImagePackage make-3.82-x86-gcc4-2011-03-15.zip
|
|
|
|
: $(baseURL)/make-3.82-x86-gcc4-2011-03-15.zip ;
|
2010-11-22 16:06:36 +03:00
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2011-05-19 12:47:23 +04:00
|
|
|
bison-2.4.3-r1a3-x86-gcc2-2011-05-17.zip
|
|
|
|
: $(baseURL)/bison-2.4.3-r1a3-x86-gcc2-2011-05-17.zip ;
|
2010-11-22 16:06:36 +03:00
|
|
|
InstallOptionalHaikuImagePackage
|
2011-05-19 12:47:23 +04:00
|
|
|
m4-1.4.16-r1a3-x86-gcc2-2011-05-17.zip
|
|
|
|
: $(baseURL)/m4-1.4.16-r1a3-x86-gcc2-2011-05-17.zip ;
|
2010-11-22 16:06:36 +03:00
|
|
|
InstallOptionalHaikuImagePackage
|
2011-05-19 12:47:23 +04:00
|
|
|
flex-2.5.35-r1a3-x86-gcc2-2011-05-17.zip
|
|
|
|
: $(baseURL)/flex-2.5.35-r1a3-x86-gcc2-2011-05-17.zip ;
|
|
|
|
InstallOptionalHaikuImagePackage jam-2.5-r1a3-x86-gcc2-2011-05-17.zip
|
|
|
|
: $(baseURL)/jam-2.5-r1a3-x86-gcc2-2011-05-17.zip ;
|
|
|
|
InstallOptionalHaikuImagePackage mkdepend-1.7-r1a3-x86-gcc2-2011-05-17.zip
|
|
|
|
: $(baseURL)/mkdepend-1.7-r1a3-x86-gcc2-2011-05-17.zip ;
|
|
|
|
InstallOptionalHaikuImagePackage make-3.82-r1a3-x86-gcc2-2011-05-17.zip
|
|
|
|
: $(baseURL)/make-3.82-r1a3-x86-gcc2-2011-05-17.zip ;
|
2010-11-22 16:06:36 +03:00
|
|
|
}
|
2009-04-19 01:26:26 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2011-02-26 18:33:48 +03:00
|
|
|
# DevelopmentJava
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded DevelopmentJava ] {
|
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package DevelopmentJava available for $(TARGET_ARCH)" ;
|
|
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2011-03-02 01:19:38 +03:00
|
|
|
gnu-classpath-0.98-x86-gcc4-2011-03-01.zip
|
2011-03-02 05:15:56 +03:00
|
|
|
: $(baseURL)/gnu-classpath-0.98-x86-gcc4-2011-03-01.zip ;
|
2011-02-26 18:33:48 +03:00
|
|
|
InstallOptionalHaikuImagePackage
|
|
|
|
jamvm-1.5.4-x86-gcc4-2011-02-13.zip
|
2011-03-02 05:15:56 +03:00
|
|
|
: $(baseURL)/jamvm-1.5.4-x86-gcc4-2011-02-13.zip ;
|
2011-02-26 18:33:48 +03:00
|
|
|
AddSymlinkToHaikuImage common bin : /boot/common/bin/jamvm : java ;
|
|
|
|
InstallOptionalHaikuImagePackage
|
2011-03-05 21:26:00 +03:00
|
|
|
ecj-3.6.2-haiku-2011-03-05.zip
|
|
|
|
: $(baseURL)/ecj-3.6.2-haiku-2011-03-05.zip ;
|
2011-02-26 18:33:48 +03:00
|
|
|
} else {
|
|
|
|
Echo "No optional package DevelopmentJava available for gcc2" ;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
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
|
|
|
|
2009-12-28 03:13:17 +03:00
|
|
|
# additional libraries
|
|
|
|
local developmentLibs = <revisioned>libroot_debug.so ;
|
|
|
|
AddFilesToHaikuHybridImage system lib : $(developmentLibs) : : true ;
|
|
|
|
|
2008-03-29 18:18:35 +03:00
|
|
|
# library symlinks
|
|
|
|
local lib ;
|
2009-12-28 03:13:17 +03:00
|
|
|
for lib in $(SYSTEM_LIBS) $(SYSTEM_LIBS_LIBGL_ALIASES) $(developmentLibs) {
|
2009-05-27 05:12:34 +04:00
|
|
|
AddSymlinkToHaikuHybridImage $(abiDirTokens) lib
|
|
|
|
: /system/lib $(lib:BS) : : true ;
|
2010-02-01 02:41:44 +03:00
|
|
|
local abiVersion = [ on $(lib) return $(HAIKU_LIB_ABI_VERSION) ] ;
|
|
|
|
if $(abiVersion) {
|
|
|
|
local abiVersionedLib = $(lib:BS).$(abiVersion) ;
|
2010-01-31 23:53:29 +03:00
|
|
|
AddSymlinkToHaikuHybridImage $(abiDirTokens) lib
|
2010-02-01 02:41:44 +03:00
|
|
|
: /system/lib $(abiVersionedLib) : : true ;
|
2010-01-31 23:53:29 +03:00
|
|
|
}
|
2008-03-29 18:18:35 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
# static libraries
|
2009-05-27 05:12:34 +04:00
|
|
|
AddFilesToHaikuHybridImage $(abiDirTokens) lib : libncurses.a ;
|
2010-07-05 00:35:57 +04:00
|
|
|
AddFilesToHaikuHybridImage $(abiDirTokens) lib : liblocalestub.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-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
|
2009-11-24 22:44:07 +03:00
|
|
|
AddHeaderDirectoryToHaikuImage config ;
|
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 ;
|
|
|
|
|
2009-08-18 01:13:51 +04:00
|
|
|
# BSD and GNU compatibility headers
|
2008-04-25 01:33:08 +04:00
|
|
|
AddHeaderDirectoryToHaikuImage compatibility bsd : bsd ;
|
2009-08-18 01:13:51 +04:00
|
|
|
AddHeaderDirectoryToHaikuImage compatibility gnu : gnu ;
|
2008-04-25 01:33:08 +04:00
|
|
|
|
2008-03-29 18:18:35 +03:00
|
|
|
# third party libs headers
|
2008-11-09 01:47:53 +03:00
|
|
|
AddHeaderDirectoryToHaikuImage libs freetype2 : 3rdparty ;
|
2009-08-21 06:17:42 +04:00
|
|
|
AddHeaderDirectoryToHaikuImage libs jpeg : 3rdparty ;
|
2008-03-29 18:18:35 +03:00
|
|
|
AddHeaderDirectoryToHaikuImage libs ncurses : 3rdparty ;
|
|
|
|
AddHeaderDirectoryToHaikuImage libs png : 3rdparty ;
|
2009-08-18 01:13:51 +04:00
|
|
|
AddHeaderDirectoryToHaikuImage libs termcap : 3rdparty ;
|
2010-05-25 23:24:25 +04:00
|
|
|
AddHeaderDirectoryToHaikuImage libs tiff : 3rdparty ;
|
2008-03-29 18:18:35 +03:00
|
|
|
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
|
|
|
}
|
|
|
|
|
|
|
|
|
2011-03-04 19:39:31 +03:00
|
|
|
# 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-x86-gcc2-2010-05-17.zip
|
|
|
|
: $(baseURL)/doxygen-1.6.3-x86-gcc2-2010-05-17.zip
|
|
|
|
: : true ;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2009-09-01 15:42:09 +04:00
|
|
|
# Expat
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded Expat ] {
|
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package Expat available for $(TARGET_ARCH)" ;
|
|
|
|
} else {
|
2010-11-22 16:06:36 +03:00
|
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2011-05-09 00:42:57 +04:00
|
|
|
expat-2.0.1-x86-gcc4-2011-05-08.zip
|
|
|
|
: $(baseURL)/expat-2.0.1-x86-gcc4-2011-05-08.zip
|
2010-11-22 16:06:36 +03:00
|
|
|
: : true ;
|
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2011-05-19 12:47:23 +04:00
|
|
|
expat-2.0.1-r1a3-x86-gcc2-2011-05-18.zip
|
|
|
|
: $(baseURL)/expat-2.0.1-r1a3-x86-gcc2-2011-05-18.zip
|
2010-11-22 16:06:36 +03:00
|
|
|
: : true ;
|
|
|
|
}
|
2009-09-01 15:42:09 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2010-09-08 12:01:53 +04:00
|
|
|
# Fastdep
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded Fastdep ] {
|
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package Fastdep available for $(TARGET_ARCH)" ;
|
2011-05-13 19:24:55 +04:00
|
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
|
|
InstallOptionalHaikuImagePackage
|
|
|
|
fastdep-0.16-x86-gcc4-2011-05-12.zip
|
|
|
|
: $(baseURL)/fastdep-0.16-x86-gcc4-2011-05-12.zip ;
|
2010-09-08 12:01:53 +04:00
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2011-05-19 12:47:23 +04:00
|
|
|
fastdep-0.16-r1a3-x86-gcc2-2011-05-18.zip
|
|
|
|
: $(baseURL)/fastdep-0.16-r1a3-x86-gcc2-2011-05-18.zip ;
|
2010-09-08 12:01:53 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2010-04-14 01:47:04 +04:00
|
|
|
# friss
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded friss ] {
|
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package friss available for $(TARGET_ARCH)" ;
|
2010-05-26 21:24:39 +04:00
|
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 || $(isHybridBuild) {
|
2010-04-14 01:47:04 +04:00
|
|
|
InstallOptionalHaikuImagePackage friss-0.5pre7-x86-gcc4.zip
|
2011-03-10 00:18:05 +03:00
|
|
|
: $(baseURL)/friss-0.5pre7-x86-gcc4.zip
|
2011-03-05 23:12:30 +03:00
|
|
|
: : true ;
|
2010-05-26 21:24:39 +04:00
|
|
|
} else {
|
|
|
|
Echo "No optional package friss available for gcc2" ;
|
2010-04-14 01:47:04 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2010-05-06 09:48:41 +04:00
|
|
|
# GetText
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded GetText ] {
|
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package GetText available for $(TARGET_ARCH)" ;
|
|
|
|
} else {
|
|
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
2010-05-07 01:32:38 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
2011-02-07 10:01:44 +03:00
|
|
|
gettext-0.18.1.1-x86-gcc4-2011-02-07.zip
|
|
|
|
: $(baseURL)/gettext-0.18.1.1-x86-gcc4-2011-02-07.zip
|
2011-03-05 23:12:30 +03:00
|
|
|
: : true ;
|
2011-03-06 16:11:24 +03:00
|
|
|
} else {
|
2010-05-07 01:32:38 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
2011-02-07 10:01:44 +03:00
|
|
|
gettext-0.18.1.1-x86-gcc2-2011-02-07.zip
|
|
|
|
: $(baseURL)/gettext-0.18.1.1-x86-gcc2-2011-02-07.zip
|
2011-03-05 23:12:30 +03:00
|
|
|
: : true ;
|
2010-05-06 09:48:41 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2009-09-01 15:42:09 +04:00
|
|
|
# Git
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded Git ] {
|
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package Git available for $(TARGET_ARCH)" ;
|
|
|
|
} else {
|
2011-05-12 07:01:17 +04:00
|
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
|
|
InstallOptionalHaikuImagePackage
|
|
|
|
git-1.7.5-x86-gcc4-2011-05-10.zip
|
|
|
|
: $(baseURL)/git-1.7.5-x86-gcc4-2011-05-10.zip
|
|
|
|
: : true ;
|
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2011-05-19 12:47:23 +04:00
|
|
|
git-1.7.5-x86-r1a3-x86-gcc2-2011-05-18.zip
|
|
|
|
: $(baseURL)/git-1.7.5-r1a3-x86-gcc2-2011-05-18.zip
|
2011-05-12 07:01:17 +04:00
|
|
|
: : true ;
|
|
|
|
}
|
2009-09-01 15:42:09 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2010-06-15 23:33:25 +04:00
|
|
|
# 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
|
2011-05-07 07:31:32 +04:00
|
|
|
gperf-3.0.4-x86-gcc4-2011-05-06.zip
|
|
|
|
: $(baseURL)/gperf-3.0.4-x86-gcc4-2011-05-06.zip
|
2011-03-05 23:12:30 +03:00
|
|
|
: : true ;
|
2010-06-15 23:33:25 +04:00
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2011-05-19 12:47:23 +04:00
|
|
|
gperf-3.0.4-r1a3-x86-gcc2-2011-05-18.zip
|
|
|
|
: $(baseURL)/gperf-3.0.4-r1a3-x86-gcc2-2011-05-18.zip
|
2011-03-05 23:12:30 +03:00
|
|
|
: : true ;
|
2010-06-15 23:33:25 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2010-09-01 19:26:28 +04:00
|
|
|
# Groff
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded Groff ] {
|
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package Groff available for $(TARGET_ARCH)" ;
|
|
|
|
} else {
|
2011-05-07 07:36:32 +04:00
|
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
|
|
InstallOptionalHaikuImagePackage
|
|
|
|
groff-1.20.1-x86-gcc4-2011-05-06.zip
|
|
|
|
: $(baseURL)/groff-1.20.1-x86-gcc4-2011-05-06.zip
|
|
|
|
: : true ;
|
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2011-05-19 12:47:23 +04:00
|
|
|
groff-1.20.1-r1a3-x86-gcc2-2011-05-18.zip
|
|
|
|
: $(baseURL)/groff-1.20.1-r1a3-x86-gcc2-2011-05-18.zip
|
2011-05-07 07:36:32 +04:00
|
|
|
: : true ;
|
|
|
|
}
|
2010-09-01 19:26:28 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2010-07-14 14:34:06 +04:00
|
|
|
# ICU
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded ICU ] {
|
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package ICU available for $(TARGET_ARCH)" ;
|
|
|
|
} else {
|
2010-07-15 06:24:17 +04:00
|
|
|
if $(HAIKU_GCC_VERSION[1]) = 2 {
|
|
|
|
# unzip gcc2
|
|
|
|
InstallOptionalHaikuImagePackage $(HAIKU_ICU_GCC_2_PACKAGE)
|
|
|
|
: $(baseURL)/$(HAIKU_ICU_GCC_2_PACKAGE)
|
|
|
|
: system lib ;
|
|
|
|
if $(isHybridBuild) {
|
|
|
|
# unzip gcc4 to gcc4 subdir
|
|
|
|
InstallOptionalHaikuImagePackage $(HAIKU_ICU_GCC_4_PACKAGE)
|
|
|
|
: $(baseURL)/$(HAIKU_ICU_GCC_4_PACKAGE)
|
2011-03-06 18:10:31 +03:00
|
|
|
: system lib gcc4 ;
|
2010-07-15 06:24:17 +04:00
|
|
|
}
|
|
|
|
} else {
|
|
|
|
# unzip gcc4
|
|
|
|
InstallOptionalHaikuImagePackage $(HAIKU_ICU_GCC_4_PACKAGE)
|
|
|
|
: $(baseURL)/$(HAIKU_ICU_GCC_4_PACKAGE)
|
|
|
|
: system lib ;
|
|
|
|
if $(isHybridBuild) {
|
|
|
|
# unzip gcc2 to gcc2 subdir
|
|
|
|
InstallOptionalHaikuImagePackage $(HAIKU_ICU_GCC_2_PACKAGE)
|
|
|
|
: $(baseURL)/$(HAIKU_ICU_GCC_2_PACKAGE)
|
2011-03-06 18:10:31 +03:00
|
|
|
: system lib gcc2 ;
|
2010-07-15 06:24:17 +04:00
|
|
|
}
|
|
|
|
}
|
2010-07-14 14:34:06 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2010-07-16 01:23:45 +04:00
|
|
|
# ICU-devel
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded ICU-devel ] {
|
2010-07-20 21:58:18 +04:00
|
|
|
InstallOptionalHaikuImagePackage $(HAIKU_ICU_DEVEL_PACKAGE)
|
2011-03-06 18:10:31 +03:00
|
|
|
: $(baseURL)/$(HAIKU_ICU_DEVEL_PACKAGE) ;
|
2010-07-16 01:23:45 +04:00
|
|
|
|
|
|
|
local arch = $(TARGET_ARCH) ;
|
|
|
|
local abi = gcc$(HAIKU_GCC_VERSION[1]) ;
|
|
|
|
for abiVersionedLib in $(HAIKU_ICU_LIBS) {
|
|
|
|
abiVersionedLib = $(abiVersionedLib:G=) ;
|
|
|
|
local lib = $(abiVersionedLib:B) ;
|
|
|
|
AddSymlinkToHaikuHybridImage develop abi $(arch) $(abi) lib
|
|
|
|
: /system/lib $(abiVersionedLib) : : true ;
|
|
|
|
AddSymlinkToHaikuHybridImage develop abi $(arch) $(abi) lib
|
|
|
|
: $(abiVersionedLib) : $(lib) ;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
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)" ;
|
|
|
|
} else {
|
2011-03-06 18:38:20 +03:00
|
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
|
|
InstallOptionalHaikuImagePackage
|
|
|
|
KeymapSwitcher-1.2.6-x86-gcc4-2011-03-01.zip
|
|
|
|
: $(baseURL)/KeymapSwitcher-1.2.6-x86-gcc4-2011-03-01.zip ;
|
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage
|
|
|
|
KeymapSwitcher-1.2.6-x86-gcc2-2011-03-01.zip
|
|
|
|
: $(baseURL)/KeymapSwitcher-1.2.6-x86-gcc2-2011-03-01.zip ;
|
|
|
|
}
|
2010-01-13 13:49:58 +03:00
|
|
|
AddSymlinkToHaikuImage home config be Desktop\ applets
|
2009-04-07 00:23:18 +04:00
|
|
|
: /boot/common/bin/KeymapSwitcher ;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2010-05-06 09:48:41 +04:00
|
|
|
# LibEvent
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded LibEvent ] {
|
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package LibEvent available for $(TARGET_ARCH)" ;
|
|
|
|
} else {
|
|
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
2010-05-07 01:32:38 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
2011-03-01 07:12:30 +03:00
|
|
|
libevent-2.0.10-x86-gcc4-2011-02-28.zip
|
|
|
|
: $(baseURL)/lib/libevent-2.0.10-x86-gcc4-2011-02-28.zip
|
2011-03-05 23:12:30 +03:00
|
|
|
: : true ;
|
2010-10-31 07:32:48 +03:00
|
|
|
} else {
|
2010-05-07 01:32:38 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
2011-05-19 12:47:23 +04:00
|
|
|
libevent-2.0.10-r1a3-x86-gcc2-2011-05-18.zip
|
|
|
|
: $(baseURL)/lib/libevent-2.0.10-r1a3-x86-gcc2-2011-05-18.zip
|
2011-03-05 23:12:30 +03:00
|
|
|
: : true ;
|
2010-05-06 09:48:41 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
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 {
|
2010-11-22 16:06:36 +03:00
|
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2011-05-14 03:57:45 +04:00
|
|
|
libiconv-1.13.1-x86-gcc4-2011-05-13.zip
|
|
|
|
: $(baseURL)/libiconv-1.13.1-x86-gcc4-2011-05-13.zip ;
|
2010-11-22 16:06:36 +03:00
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2011-05-19 12:47:23 +04:00
|
|
|
libiconv-1.13.1-r1a3-x86-gcc2-2011-05-18.zip
|
|
|
|
: $(baseURL)/libiconv-1.13.1-r1a3-x86-gcc2-2011-05-18.zip ;
|
2010-11-22 16:06:36 +03:00
|
|
|
}
|
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 {
|
2010-02-27 20:48:12 +03:00
|
|
|
InstallOptionalHaikuImagePackage liblayout-1.4.0-gcc2-2009-03-08.zip
|
2011-03-05 23:12:30 +03:00
|
|
|
: $(baseURL)/liblayout-1.4.0-gcc2-2009-03-08.zip ;
|
2009-03-09 02:35:08 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2010-09-26 20:26:55 +04:00
|
|
|
# Libmng library
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded Libmng ] {
|
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package Libmng available for $(TARGET_ARCH)" ;
|
2010-11-01 08:49:49 +03:00
|
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
2011-05-19 12:47:23 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
|
|
|
libmng-1.0.10-x86-gcc4-2010-10-30.zip
|
2011-03-05 23:12:30 +03:00
|
|
|
: $(baseURL)/lib/libmng-1.0.10-x86-gcc4-2010-10-30.zip ;
|
2010-09-26 20:26:55 +04:00
|
|
|
} else {
|
2011-05-19 12:47:23 +04:00
|
|
|
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 ;
|
2010-09-26 20:26:55 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
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 {
|
2010-11-22 16:06:36 +03:00
|
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2011-03-16 22:50:53 +03:00
|
|
|
libxml2-2.7.8-x86-gcc4-2011-03-16.zip
|
|
|
|
: $(baseURL)/libxml2-2.7.8-x86-gcc4-2011-03-16.zip ;
|
2010-11-22 16:06:36 +03:00
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2011-05-19 12:47:23 +04:00
|
|
|
libxml2-2.7.8-r1a3-x86-gcc2-2011-05-18.zip
|
|
|
|
: $(baseURL)/libxml2-2.7.8-r1a3-x86-gcc2-2011-05-18.zip ;
|
2010-11-22 16:06:36 +03:00
|
|
|
}
|
2010-04-11 08:05:21 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
# LibXSLT
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded LibXSLT ] {
|
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package LibXSLT available for $(TARGET_ARCH)" ;
|
|
|
|
} else {
|
2010-04-29 16:23:30 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
2011-05-19 12:47:23 +04:00
|
|
|
libxslt-1.1.26-r1a3-x86-gcc2-2011-05-18.zip
|
|
|
|
: $(baseURL)/libxslt-1.1.26-r1a3-x86-gcc2-2011-05-18.zip
|
2011-03-05 23:12:30 +03:00
|
|
|
: : true ;
|
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 {
|
2010-02-27 20:48:12 +03:00
|
|
|
InstallOptionalHaikuImagePackage Links.zip
|
2011-03-05 23:12:30 +03: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 ;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2010-10-29 20:20:25 +04:00
|
|
|
# Lua
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded Lua ] {
|
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package Lua available for $(TARGET_ARCH)" ;
|
|
|
|
} else {
|
2010-10-31 03:40:25 +03:00
|
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2011-04-10 06:07:52 +04:00
|
|
|
lua-5.1.4-x86-gcc4-2010-10-30.zip
|
|
|
|
: $(baseURL)/lua-5.1.4-x86-gcc4-2010-10-30.zip
|
2011-03-05 23:12:30 +03:00
|
|
|
: : true ;
|
2010-10-31 03:40:25 +03:00
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2011-05-19 12:47:23 +04:00
|
|
|
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
|
2011-03-05 23:12:30 +03:00
|
|
|
: : true ;
|
2010-10-31 03:40:25 +03:00
|
|
|
}
|
2010-10-29 20:20:25 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2010-09-01 19:26:28 +04:00
|
|
|
# Man
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded Man ] {
|
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package Man available for $(TARGET_ARCH)" ;
|
2011-05-13 19:40:53 +04:00
|
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
|
|
InstallOptionalHaikuImagePackage
|
|
|
|
man-1.6f-x86-gcc4-2011-05-12.zip
|
|
|
|
: $(baseURL)/man-1.6f-x86-gcc4-2011-05-12.zip ;
|
2010-09-01 19:26:28 +04:00
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2011-05-19 12:47:23 +04:00
|
|
|
man-1.6f-r1a3-x86-gcc2-2011-05-18.zip
|
|
|
|
: $(baseURL)/man-1.6f-r1a3-x86-gcc2-2011-05-18.zip ;
|
2010-09-01 19:26:28 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2010-03-15 19:11:47 +03:00
|
|
|
# MandatoryPackages
|
2010-04-20 22:44:54 +04:00
|
|
|
if [ IsOptionalHaikuImagePackageAdded MandatoryPackages ] {
|
2010-03-15 23:38:13 +03:00
|
|
|
# Pseudo package for grouping packages, which are added to all images.
|
2010-03-15 19:11:47 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2009-09-01 15:42:09 +04:00
|
|
|
# Mercurial
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded Mercurial ] {
|
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package Mercurial available for $(TARGET_ARCH)" ;
|
|
|
|
} else {
|
2010-11-22 16:06:36 +03:00
|
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2011-05-12 04:40:21 +04:00
|
|
|
mercurial-1.8.3-x86-gcc4-2011-05-10.zip
|
|
|
|
: $(baseURL)/mercurial-1.8.3-x86-gcc4-2011-05-10.zip
|
2010-11-22 16:06:36 +03:00
|
|
|
: : true ;
|
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2011-05-19 12:47:23 +04:00
|
|
|
mercurial-1.8.3-r1a3-x86-gcc2-2011-05-17.zip
|
|
|
|
: $(baseURL)/mercurial-1.8.3-r1a3-x86-gcc2-2011-05-17.zip
|
2010-11-22 16:06:36 +03:00
|
|
|
: : true ;
|
|
|
|
}
|
2009-09-01 15:42:09 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
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 {
|
2010-11-22 16:06:36 +03:00
|
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
|
|
InstallOptionalHaikuImagePackage
|
Updated the gcc2 and gcc4 builds of cmake, cvs, autoconf, automake, libtool, texinfo, flex, bison, libiconv, nano, neon, libpcre, tar.
Updated m4 to 1.4.16.
Also updated the builds of sed and yasm.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40957 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-15 05:58:00 +03:00
|
|
|
nano-2.2.6-x86-gcc4-2011-03-14.zip
|
|
|
|
: $(baseURL)/nano-2.2.6-x86-gcc4-2011-03-14.zip ;
|
2010-11-22 16:06:36 +03:00
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2011-05-19 12:47:23 +04:00
|
|
|
nano-2.2.6-r1a3-x86-gcc2-2011-05-18.zip
|
|
|
|
: $(baseURL)/nano-2.2.6-r1a3-x86-gcc2-2011-05-18.zip ;
|
2010-11-22 16:06:36 +03:00
|
|
|
}
|
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 {
|
2010-11-22 16:06:36 +03:00
|
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2011-05-15 10:08:33 +04:00
|
|
|
neon-0.29.6-x86-gcc4-2011-05-14.zip
|
|
|
|
: $(baseURL)/neon-0.29.6-x86-gcc4-2011-05-14.zip ;
|
2010-11-22 16:06:36 +03:00
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2011-05-19 12:47:23 +04:00
|
|
|
neon-0.29.6-r1a3-x86-gcc2-2011-05-18.zip
|
|
|
|
: $(baseURL)/neon-0.29.6-r1a3-x86-gcc2-2011-05-18.zip ;
|
2010-11-22 16:06:36 +03:00
|
|
|
}
|
2009-05-30 05:26:28 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2010-01-19 21:25:48 +03:00
|
|
|
# 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) ;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
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 {
|
2010-09-26 20:26:55 +04:00
|
|
|
InstallOptionalHaikuImagePackage netsurf-2.6-x86.gcc2-2010-09-26.zip
|
2011-03-05 23:12:30 +03:00
|
|
|
: $(baseURL)/netsurf-2.6-x86-gcc2-2010-09-26.zip ;
|
2008-10-06 17:24:40 +04:00
|
|
|
AddSymlinkToHaikuImage home config be Applications
|
|
|
|
: /boot/apps/netsurf/NetSurf ;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2009-09-07 02:18:10 +04:00
|
|
|
# OCaml
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded OCaml ] {
|
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package OCaml available for $(TARGET_ARCH)" ;
|
|
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 && ! $(isHybridBuild) {
|
|
|
|
Echo "No optional package OCaml available for gcc4" ;
|
|
|
|
} else {
|
2010-04-29 16:23:30 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
|
|
|
ocaml-3.11.1-r1a1-x86-gcc2-2009-09-06.zip
|
2011-03-05 23:12:30 +03:00
|
|
|
: $(baseURL)/ocaml-3.11.1-r1a1-x86-gcc2-2009-09-06.zip ;
|
2010-04-29 16:23:30 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
|
|
|
camlp5-5.12-r1a1-x86-gcc2-2009-09-06.zip
|
2011-03-05 23:12:30 +03:00
|
|
|
: $(baseURL)/camlp5-5.12-r1a1-x86-gcc2-2009-09-06.zip ;
|
2009-09-07 02:18:10 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
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 {
|
2010-05-04 16:37:50 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
2010-05-01 09:16:19 +04:00
|
|
|
opensound-4.2-r1a2-x86-gcc2-2010-05-01.zip
|
2011-03-05 23:12:30 +03:00
|
|
|
: $(baseURL)/opensound-4.2-r1a2-x86-gcc2-2010-05-01.zip ;
|
2008-03-29 18:18:35 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
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!" ;
|
|
|
|
}
|
2010-11-22 16:06:36 +03:00
|
|
|
|
|
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2011-05-12 04:40:21 +04:00
|
|
|
openssh-5.8p2-x86-gcc4-2011-05-11.zip
|
|
|
|
: $(baseURL)/openssh-5.8p2-x86-gcc4-2011-05-11.zip ;
|
2010-11-22 16:06:36 +03:00
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2011-05-19 12:47:23 +04:00
|
|
|
openssh-5.8p2-r1a3-x86-gcc2-2011-05-18.zip
|
|
|
|
: $(baseURL)/openssh-5.8p2-r1a3-x86-gcc2-2011-05-18.zip ;
|
2010-11-22 16:06:36 +03:00
|
|
|
}
|
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 {
|
2010-11-22 16:06:36 +03:00
|
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
|
|
InstallOptionalHaikuImagePackage $(HAIKU_OPENSSL_PACKAGE)
|
|
|
|
: $(HAIKU_OPENSSL_URL) ;
|
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage $(HAIKU_OPENSSL_PACKAGE)
|
|
|
|
: $(HAIKU_OPENSSL_URL) ;
|
|
|
|
}
|
2008-03-31 00:01:25 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2008-12-13 01:17:05 +03:00
|
|
|
# P7zip
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded P7zip ] {
|
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package P7zip available for $(TARGET_ARCH)" ;
|
|
|
|
} else {
|
2009-10-25 23:01:33 +03:00
|
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
2010-05-08 23:11:45 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
2011-03-01 06:16:09 +03:00
|
|
|
p7zip-9.13-x86-gcc4-2011-02-28.zip
|
|
|
|
: $(baseURL)/p7zip-9.13-x86-gcc4-2011-02-28.zip ;
|
2009-10-25 23:01:33 +03:00
|
|
|
} else {
|
2010-04-29 16:23:30 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
2011-05-19 12:47:23 +04:00
|
|
|
p7zip-9.13-r1a3-x86-gcc2-2011-05-18.zip
|
|
|
|
: $(baseURL)/p7zip-9.13-r1a3-x86-gcc2-2011-05-18.zip ;
|
2009-10-25 23:01:33 +03:00
|
|
|
}
|
2010-03-03 01:30:40 +03:00
|
|
|
AddExpanderRuleToHaikuImage "application/x-7z-compressed" : .7z
|
|
|
|
: "7za l \\0045s"
|
|
|
|
: "7za x -y \\0045s"
|
2010-03-02 17:41:06 +03:00
|
|
|
;
|
2009-03-18 17:03:42 +03:00
|
|
|
|
2008-12-13 01:17:05 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2010-09-08 12:01:53 +04:00
|
|
|
# Paladin
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded Paladin ] {
|
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package Paladin available for $(TARGET_ARCH)" ;
|
|
|
|
} else {
|
|
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
2011-05-19 12:47:23 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
|
|
|
paladin-1.3-x86-gcc4-2011-03-18.zip
|
2011-03-19 00:39:48 +03:00
|
|
|
: $(baseURL)/paladin-1.3-x86-gcc4-2011-03-18.zip ;
|
2010-09-08 12:01:53 +04:00
|
|
|
} else {
|
2011-05-19 12:47:23 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
|
|
|
paladin-1.3-r1a3-x86-gcc2-2011-05-18.zip
|
|
|
|
: $(baseURL)/paladin-1.3-r1a3-x86-gcc2-2011-05-18.zip ;
|
2010-09-08 12:01:53 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
AddSymlinkToHaikuImage home config be Applications
|
|
|
|
: /boot/apps/Paladin/Paladin ;
|
|
|
|
AddSymlinkToHaikuImage common bin
|
|
|
|
: /boot/apps/Paladin/Paladin ;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2009-09-30 23:06:36 +04:00
|
|
|
# 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 {
|
2011-05-19 12:47:23 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
|
|
|
libpcre-8.12-x86-gcc4-2011-05-13.zip
|
2011-05-14 03:32:11 +04:00
|
|
|
: $(baseURL)/libpcre-8.12-x86-gcc4-2011-05-13.zip ;
|
2009-09-30 23:06:36 +04:00
|
|
|
} else {
|
2010-04-29 16:23:30 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
2011-05-19 12:47:23 +04:00
|
|
|
libpcre-8.12-r1a3-x86-gcc2-2011-05-17.zip
|
|
|
|
: $(baseURL)/libpcre-8.12-r1a3-x86-gcc2-2011-05-17.zip ;
|
2009-09-30 23:06:36 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
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 {
|
2010-11-22 16:06:36 +03:00
|
|
|
InstallOptionalHaikuImagePackage
|
|
|
|
pe-2.4.3-600-x86-gcc4-2010-11-14.zip
|
|
|
|
: $(baseURL)/pe-2.4.3-600-x86-gcc4-2010-11-14.zip ;
|
2009-03-27 14:32:09 +03:00
|
|
|
} else {
|
2010-04-29 16:23:30 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
2011-05-19 12:47:23 +04:00
|
|
|
pe-2.4.3-600-r1a3-x86-gcc2-2011-05-18.zip
|
|
|
|
: $(baseURL)/pe-2.4.3-600-r1a3-x86-gcc2-2011-05-18.zip ;
|
2009-03-27 14:32:09 +03:00
|
|
|
}
|
2009-10-10 17:38:18 +04:00
|
|
|
AddSymlinkToHaikuImage home config be Applications
|
|
|
|
: /boot/apps/Pe/Pe ;
|
|
|
|
AddSymlinkToHaikuImage common bin
|
|
|
|
: /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 {
|
2010-11-22 16:06:36 +03:00
|
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
|
|
InstallOptionalHaikuImagePackage
|
|
|
|
perl-5.10.1-x86-gcc4-2010-11-12.zip
|
|
|
|
: $(baseURL)/perl-5.10.1-x86-gcc4-2010-11-12.zip
|
|
|
|
: : true ;
|
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2011-05-19 12:47:23 +04:00
|
|
|
perl-5.10.1-r1a3-x86-gcc2-2011-05-17.zip
|
|
|
|
: $(baseURL)/perl-5.10.1-r1a3-x86-gcc2-2011-05-17.zip
|
2010-11-22 16:06:36 +03:00
|
|
|
: : true ;
|
|
|
|
}
|
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 {
|
2010-11-22 16:06:36 +03:00
|
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
|
|
InstallOptionalHaikuImagePackage
|
|
|
|
python-2.6.6-x86-gcc4-2010-11-12.zip
|
|
|
|
: $(baseURL)/python-2.6.6-x86-gcc4-2010-11-12.zip
|
|
|
|
: : true ;
|
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2011-05-19 20:50:33 +04:00
|
|
|
python-2.6.6-r1a3-x86-gcc2-2011-05-19.zip
|
|
|
|
: $(baseURL)/python-2.6.6-r1a3-x86-gcc2-2011-05-19.zip
|
2010-11-22 16:06:36 +03:00
|
|
|
: : true ;
|
|
|
|
}
|
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 {
|
2011-05-07 07:41:15 +04:00
|
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
|
|
InstallOptionalHaikuImagePackage
|
|
|
|
rsync-3.0.7-x86-gcc4-2011-05-06.zip
|
|
|
|
: $(baseURL)/rsync-3.0.7-x86-gcc4-2011-05-06.zip
|
|
|
|
: : true ;
|
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2011-05-19 12:47:23 +04:00
|
|
|
rsync-3.0.7-r1a3-x86-gcc2-2011-05-18.zip
|
|
|
|
: $(baseURL)/rsync-3.0.7-r1a3-x86-gcc2-2011-05-18.zip
|
2011-05-07 07:41:15 +04:00
|
|
|
: : true ;
|
|
|
|
}
|
2009-05-30 05:26:28 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2010-09-08 12:01:53 +04:00
|
|
|
# Ruby
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded Ruby ] {
|
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package Ruby available for $(TARGET_ARCH)" ;
|
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage
|
|
|
|
ruby-1.9.1-x86-gcc2-2010-05-20.zip
|
2011-03-05 23:12:30 +03:00
|
|
|
: $(baseURL)/ruby-1.9.1-x86-gcc2-2010-05-20.zip ;
|
2010-09-08 12:01:53 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2010-03-12 21:03:57 +03:00
|
|
|
# Sed
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded Sed ] {
|
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package Sed available for $(TARGET_ARCH)" ;
|
2011-05-13 11:06:34 +04:00
|
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2011-05-14 03:27:13 +04:00
|
|
|
sed-4.2.1-x86-gcc4-2011-05-13.zip
|
|
|
|
: $(baseURL)/sed-4.2.1-x86-gcc4-2011-05-13.zip ;
|
2010-03-12 21:03:57 +03:00
|
|
|
} else {
|
2010-04-30 07:36:07 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
2011-05-19 12:47:23 +04:00
|
|
|
sed-4.2.1-r1a3-x86-gcc2-2011-05-17.zip
|
|
|
|
: $(baseURL)/sed-4.2.1-r1a3-x86-gcc2-2011-05-17.zip ;
|
2010-03-12 21:03:57 +03: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 {
|
2010-11-22 16:06:36 +03:00
|
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2011-03-17 00:31:03 +03:00
|
|
|
sqlite-3.7.5-x86-gcc4-2011-03-16.zip
|
|
|
|
: $(baseURL)/sqlite-3.7.5-x86-gcc4-2011-03-16.zip ;
|
2010-11-22 16:06:36 +03:00
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2011-05-19 12:47:23 +04:00
|
|
|
sqlite-3.7.5-r1a3-x86-gcc2-2011-05-17.zip
|
|
|
|
: $(baseURL)/sqlite-3.7.5-r1a3-x86-gcc2-2011-05-17.zip ;
|
2010-11-22 16:06:36 +03:00
|
|
|
}
|
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 {
|
2010-11-22 16:06:36 +03:00
|
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2011-05-15 10:11:39 +04:00
|
|
|
subversion-1.6.15-x86-gcc4-2011-05-14.zip
|
|
|
|
: $(baseURL)/subversion-1.6.15-x86-gcc4-2011-05-14.zip
|
2010-11-22 16:06:36 +03:00
|
|
|
: : true ;
|
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2011-05-19 12:47:23 +04:00
|
|
|
subversion-1.6.15-r1a3-x86-gcc2-2011-05-18.zip
|
|
|
|
: $(baseURL)/subversion-1.6.15-r1a3-x86-gcc2-2011-05-18.zip
|
2010-11-22 16:06:36 +03:00
|
|
|
: : true ;
|
|
|
|
}
|
2008-06-29 00:51:43 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2010-10-29 17:00:19 +04:00
|
|
|
# TagLib
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded TagLib ] {
|
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package TagLib available for $(TARGET_ARCH)" ;
|
2011-05-13 19:36:25 +04:00
|
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
|
|
InstallOptionalHaikuImagePackage
|
|
|
|
taglib-1.6.3-x86-gcc4-2011-05-13.zip
|
|
|
|
: $(baseURL)/taglib-1.6.3-x86-gcc4-2011-05-13.zip ;
|
2010-10-29 17:00:19 +04:00
|
|
|
} else {
|
2011-05-13 19:36:25 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
|
|
|
taglib-1.6.3-r1a2-x86-gcc2-2010-04-25.zip
|
|
|
|
: $(baseURL)/taglib-1.6.3-r1a2-x86-gcc2-2010-04-25.zip ;
|
2010-10-29 17:00:19 +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 {
|
2011-03-06 16:15:03 +03:00
|
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
2010-11-22 16:06:36 +03:00
|
|
|
InstallOptionalHaikuImagePackage
|
Updated the gcc2 and gcc4 builds of cmake, cvs, autoconf, automake, libtool, texinfo, flex, bison, libiconv, nano, neon, libpcre, tar.
Updated m4 to 1.4.16.
Also updated the builds of sed and yasm.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40957 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-15 05:58:00 +03:00
|
|
|
tar-1.25-x86-gcc4-2011-03-14.zip
|
|
|
|
: $(baseURL)/tar-1.25-x86-gcc4-2011-03-14.zip ;
|
2010-11-22 16:06:36 +03:00
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2011-05-19 12:47:23 +04:00
|
|
|
tar-1.25-r1a3-x86-gcc2-2011-05-18.zip
|
|
|
|
: $(baseURL)/tar-1.25-r1a3-x86-gcc2-2011-05-18.zip ;
|
2010-11-22 16:06:36 +03:00
|
|
|
}
|
2009-07-07 14:30:09 +04:00
|
|
|
}
|
2009-02-11 01:18:06 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2010-06-16 19:20:59 +04:00
|
|
|
# TimGMSoundFont
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded TimGMSoundFont ] {
|
|
|
|
InstallOptionalHaikuImagePackage TimGMSoundFont-2010-06-16.zip
|
2011-03-05 23:12:30 +03:00
|
|
|
: $(baseURL)/TimGMSoundFont-2010-06-16.zip ;
|
2010-06-16 19:20:59 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2010-04-26 13:02:36 +04:00
|
|
|
# TrackerNewTemplates
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded TrackerNewTemplates ] {
|
|
|
|
InstallOptionalHaikuImagePackage TrackerNewTemplates-2010-04-26.zip
|
|
|
|
: $(baseURL)/TrackerNewTemplates-2010-04-26.zip
|
|
|
|
: home config settings Tracker "Tracker New Templates"
|
|
|
|
;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2010-05-06 09:48:41 +04:00
|
|
|
# Transmission
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded Transmission ] {
|
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package Transmission available for $(TARGET_ARCH)" ;
|
|
|
|
} else {
|
|
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 || $(isHybridBuild) {
|
2010-05-07 01:32:38 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
2010-07-10 15:05:41 +04:00
|
|
|
transmission-2.01-x86-gcc4-2010-07-10.zip
|
|
|
|
: $(baseURL)/transmission-2.01-x86-gcc4-2010-07-10.zip
|
2011-03-05 23:12:30 +03:00
|
|
|
: : true ;
|
2010-05-06 09:48:41 +04:00
|
|
|
} else {
|
|
|
|
Echo "No optional package Transmission available for $(TARGET_ARCH)-gcc2" ;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
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)" ;
|
|
|
|
} else {
|
2011-03-06 18:38:20 +03:00
|
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
|
|
InstallOptionalHaikuImagePackage vim-7.3-x86-gcc4-2010-08-22.zip
|
|
|
|
: $(baseURL)/vim-7.3-x86-gcc4-2010-08-22.zip
|
|
|
|
: : true ;
|
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage vim-7.3-x86-gcc2-2010-08-22.zip
|
|
|
|
: $(baseURL)/vim-7.3-x86-gcc2-2010-08-22.zip
|
|
|
|
: : true ;
|
|
|
|
}
|
2009-06-02 00:21:55 +04:00
|
|
|
AddSymlinkToHaikuImage home config be Applications
|
|
|
|
: /boot/common/bin/gvim ;
|
2010-04-08 18:22:16 +04:00
|
|
|
# TODO: move this symlink to the archive
|
|
|
|
AddSymlinkToHaikuImage common bin : vim : vi ;
|
2009-06-02 00:21:55 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2008-03-29 18:18:35 +03:00
|
|
|
# Vision
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded Vision ] {
|
2008-05-29 14:22:59 +04:00
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package Vision available for $(TARGET_ARCH)" ;
|
2008-03-29 18:18:35 +03:00
|
|
|
} else {
|
2011-03-06 18:38:20 +03:00
|
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
|
|
InstallOptionalHaikuImagePackage vision-908-x86-gcc4-2010-11-14.zip
|
|
|
|
: $(baseURL)/vision-908-x86-gcc4-2010-11-14.zip ;
|
|
|
|
} else {
|
2011-05-19 12:47:23 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
|
|
|
vision-908-r1a3-x86-gcc2-2011-05-18.zip
|
|
|
|
: $(baseURL)/vision-908-r1a3-x86-gcc2-2011-05-18.zip ;
|
2011-03-06 18:38:20 +03:00
|
|
|
}
|
2008-03-29 18:18:35 +03:00
|
|
|
AddSymlinkToHaikuImage home config be Applications
|
2010-10-30 11:19:02 +04:00
|
|
|
: /boot/apps/Vision/Vision ;
|
2008-03-29 18:18:35 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2008-11-12 00:47:12 +03:00
|
|
|
|
2010-04-23 22:06:34 +04:00
|
|
|
# WebPositive
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded WebPositive ] {
|
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package WebPositive available for $(TARGET_ARCH)" ;
|
|
|
|
} else if $(HAIKU_GCC_VERSION[1]) < 4 && ! $(isHybridBuild) {
|
|
|
|
Echo "No optional package WebPositive available for gcc2" ;
|
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2011-03-13 23:01:36 +03:00
|
|
|
WebPositive-gcc4-x86-r577-2011-03-13.zip
|
|
|
|
: $(baseURL)/WebPositive-gcc4-x86-r577-2011-03-13.zip ;
|
2010-04-23 22:06:34 +04:00
|
|
|
AddSymlinkToHaikuImage home config be Applications
|
|
|
|
: /boot/apps/WebPositive/WebPositive ;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
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 ;
|
2008-10-04 22:28:15 +04:00
|
|
|
AddSymlinkToHaikuImage home Desktop
|
2010-01-16 01:57:25 +03:00
|
|
|
: /boot/system/documentation/welcome/welcome_en.html : Welcome ;
|
2009-12-19 01:43:07 +03:00
|
|
|
AddSymlinkToHaikuImage home Desktop
|
|
|
|
: /boot/system/documentation/userguide/en/contents.html : User\ Guide ;
|
2008-10-04 22:28:15 +04:00
|
|
|
}
|
2008-03-29 18:18:35 +03:00
|
|
|
|
2009-12-31 23:39:27 +03:00
|
|
|
|
2010-02-27 21:42:54 +03:00
|
|
|
# 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) ;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
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 {
|
2010-02-27 20:48:12 +03:00
|
|
|
InstallOptionalHaikuImagePackage WonderBrush-2.1.2.zip
|
2009-07-07 14:30:09 +04:00
|
|
|
: $(baseURL)/WonderBrush-2.1.2-x86-gcc2-2008-11-08.zip
|
2011-03-06 18:10:31 +03:00
|
|
|
: apps ;
|
2008-03-29 18:18:35 +03:00
|
|
|
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
|
|
|
|
2011-02-24 09:51:48 +03:00
|
|
|
# WQY-MicroHei
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded WQY-MicroHei ] {
|
2011-03-02 05:15:56 +03:00
|
|
|
InstallOptionalHaikuImagePackage
|
2011-05-19 12:47:23 +04:00
|
|
|
wqy-microhei-0.2.0-beta-r1a3-x86-gcc2-2011-05-18.zip
|
|
|
|
: $(baseURL)/wqy-microhei-0.2.0-beta-r1a3-x86-gcc2-2011-05-18.zip ;
|
2011-02-24 09:51:48 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2010-03-02 17:42:30 +03:00
|
|
|
# XZ-Utils
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded XZ-Utils ] {
|
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package XZ-Utils available for $(TARGET_ARCH)" ;
|
|
|
|
} else {
|
2011-05-05 22:47:15 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
2011-05-07 07:53:29 +04:00
|
|
|
xz-utils-5.0.1-x86-gcc4-2011-05-06.zip
|
|
|
|
: $(baseURL)/xz-utils-5.0.1-x86-gcc4-2011-05-06.zip ;
|
2010-03-02 17:42:30 +03:00
|
|
|
AddExpanderRuleToHaikuImage "application/x-xz" : .tar.xz
|
2010-03-02 20:36:08 +03:00
|
|
|
: "tar -Jtvf \\0045s"
|
|
|
|
: "tar -Jxvf \\0045s"
|
2010-03-02 17:42:30 +03:00
|
|
|
;
|
|
|
|
AddExpanderRuleToHaikuImage "application/x-xz" : .txz
|
2010-03-02 20:36:08 +03:00
|
|
|
: "tar -Jtvf \\0045s"
|
|
|
|
: "tar -Jxvf \\0045s"
|
|
|
|
;
|
|
|
|
AddExpanderRuleToHaikuImage "application/x-xz" : .xz
|
2010-03-02 17:42:30 +03:00
|
|
|
: "echo \\0045s | sed 's/.xz\\\$//g'"
|
|
|
|
: "xz -df \\0045s"
|
|
|
|
;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
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)" ;
|
2011-05-13 19:31:10 +04:00
|
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2011-05-15 07:01:33 +04:00
|
|
|
yasm-1.1.0-x86-gcc4-2011-05-14.zip
|
|
|
|
: $(baseURL)/yasm-1.1.0-x86-gcc4-2011-05-14.zip ;
|
2008-10-02 02:52:48 +04:00
|
|
|
} else {
|
2010-05-04 16:37:50 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
2011-05-19 12:47:23 +04:00
|
|
|
yasm-1.1.0-r1a3-x86-gcc2-2011-05-17.zip
|
|
|
|
: $(baseURL)/yasm-1.1.0-r1a3-x86-gcc2-2011-05-17.zip ;
|
2008-10-02 02:52:48 +04:00
|
|
|
}
|
|
|
|
}
|