1# This file defines the optional packages that can be added to the Haiku image. 2# It is directly included from HaikuImage -- all variables defined there can 3# be used 4 5# Available Optional Packages: 6# Development 7# Firefox 8# Links 9# OpenSound 10# OpenSSL 11# Pe 12# Perl 13# Vision 14# VLC 15# WonderBrush 16 17 18# package dependencies 19OptionalPackageDependencies Development : Perl ; 20 21 22# Development 23if [ IsOptionalHaikuImagePackageAdded Development ] 24 && $(TARGET_ARCH) = x86 { 25 # glue code 26 AddFilesToHaikuImage develop lib x86 27 : <src!system!glue!arch!x86>crti.o <src!system!glue!arch!x86>crtn.o 28 <src!system!glue>init_term_dyn.o <src!system!glue>start_dyn.o ; 29 30 # library symlinks 31 local lib ; 32 for lib in $(BEOS_SYSTEM_LIBS) 33 $(BEOS_SYSTEM_LIBS_LIBNETWORK_ALIASES) libglut.so { 34 AddSymlinkToHaikuImage develop lib x86 : /system/lib/$(lib:BS) ; 35 } 36 37 # static libraries 38 AddFilesToHaikuImage develop lib x86 : libncurses.a ; 39 40 # cc and c++ wrapper scripts 41 AddFilesToHaikuImage beos bin : cc c++ ; 42 43 # headers 44 AddHeaderDirectoryToHaikuImage gnu : 3rdparty ; 45 AddHeaderDirectoryToHaikuImage os ; 46 AddHeaderDirectoryToHaikuImage posix ; 47 48 # add _G_config.h to posix/ 49 SEARCH on <header>_G_config.h = [ FDirName $(HAIKU_TOP) headers glibc ] ; 50 AddFilesToHaikuImage develop headers posix : <header>_G_config.h ; 51 52 # create be -> os symlink for now 53 AddSymlinkToHaikuImage develop headers : os : be ; 54 55 # create gnu -> 3rdparty symlink 56 AddSymlinkToHaikuImage develop headers : 3rdparty : gnu ; 57 # TODO: Change BEINCLUDES and gcc to refer to 3rdparty rather than gnu. 58 59 # third party libs headers 60 AddHeaderDirectoryToHaikuImage libs ncurses : 3rdparty ; 61 AddHeaderDirectoryToHaikuImage libs png : 3rdparty ; 62 AddHeaderDirectoryToHaikuImage libs zlib : 3rdparty ; 63 64 if $(HAIKU_GCC_VERSION[1]) > 2 { 65 # gcc 4 66 67 # symlink cpp to g++'s headers 68 AddSymlinkToHaikuImage develop headers 69 : /boot/develop/tools/gnupro/include/g++ : cpp ; 70 } else { 71 # gcc 2.95.3 72 73 AddHeaderDirectoryToHaikuImage cpp ; 74 75 # gcc and binutils 76 local baseURL = http://haiku-files.org/files/optional-packages ; 77 InstallOptionalHaikuImagePackage gcc-2.95.3-haiku-080323 78 : $(baseURL)/gcc-2.95.3-haiku-080323.zip 79 : develop tools 80 ; 81 AddSymlinkToHaikuImage develop tools : gcc-2.95.3-haiku-080323 82 : gnupro ; 83 84 # other tools 85 InstallOptionalHaikuImagePackage autoconf-2.61-gcc2-2008-03-24 86 : $(baseURL)/autoconf-2.61-gcc2-2008-03-24.zip 87 : home 88 ; 89 InstallOptionalHaikuImagePackage automake-1.10.1-gcc2-2008-03-24 90 : $(baseURL)/automake-1.10.1-gcc2-2008-03-24.zip 91 : home 92 ; 93 InstallOptionalHaikuImagePackage bison-2.3-gcc2-2008-03-28 94 : $(baseURL)/bison-2.3-gcc2-2008-03-28.zip 95 : home 96 ; 97 InstallOptionalHaikuImagePackage flex-2.5.35-gcc2-2008-03-28 98 : $(baseURL)/flex-2.5.35-gcc2-2008-03-28.zip 99 : home 100 ; 101 InstallOptionalHaikuImagePackage jam-haiku-gcc2-2008-03-27 102 : $(baseURL)/jam-haiku-gcc2-2008-03-27.zip 103 : home config bin 104 ; 105 InstallOptionalHaikuImagePackage libtool-1.5.26-gcc2-2008-04-07 106 : $(baseURL)/libtool-1.5.26-gcc2-2008-04-07.zip 107 : home 108 ; 109 InstallOptionalHaikuImagePackage texinfo-4.11-gcc2-2008-03-24 110 : $(baseURL)/texinfo-4.11-gcc2-2008-03-24.zip 111 : home 112 ; 113 } 114} 115 116 117# Firefox web browser 118if [ IsOptionalHaikuImagePackageAdded Firefox ] { 119 if $(HAIKU_GCC_VERSION[1]) >= 4 { 120 Echo "No optional package Firefox available for gcc4" ; 121 } else { 122 InstallOptionalHaikuImagePackage Firefox 123 : http://www.sheltonfamily.org/firefoxbuilds/firefox-2.0.0.12.en-US.beosR5-i586.zip 124 : apps 125 ; 126 AddSymlinkToHaikuImage home config be Applications 127 : /boot/apps/firefox/firefox ; 128 } 129} 130 131 132# Links web browser 133if [ IsOptionalHaikuImagePackageAdded Links ] { 134 if $(HAIKU_GCC_VERSION[1]) >= 4 { 135 Echo "No optional package Links available for gcc4" ; 136 } else { 137 InstallOptionalHaikuImagePackage Links 138 : http://revolf.free.fr/beos/links-beos-bin.zip 139 : 140 ; 141 AddSymlinkToHaikuImage home config be Applications 142 : /boot/home/config/bin/links ; 143 } 144} 145 146 147# OpenSound drivers 148if [ IsOptionalHaikuImagePackageAdded OpenSound ] { 149 if $(HAIKU_GCC_VERSION[1]) >= 4 { 150 Echo "No optional package OpenSound available for gcc4" ; 151 } else { 152 InstallOptionalHaikuImagePackage OpenSound 153 : http://revolf.free.fr/beos/oss-beos-v4.1test-bin.zip 154 : 155 ; 156 } 157 #UnzipArchiveToHaikuImage home : data/vv.mp3.zip : 0 ; 158} 159 160 161# OpenSSL 162if [ IsOptionalHaikuImagePackageAdded OpenSSL ] { 163 if $(HAIKU_GCC_VERSION[1]) >= 4 { 164 Echo "No optional package Pe available for gcc4" ; 165 } else { 166 local baseURL = http://haiku-files.org/files/optional-packages ; 167 InstallOptionalHaikuImagePackage openssl-0.9.8g-gcc2-2008-03-28 168 : $(baseURL)/openssl-0.9.8g-gcc2-2008-03-28.zip 169 : home 170 ; 171 } 172} 173 174 175# Pe text editor 176if [ IsOptionalHaikuImagePackageAdded Pe ] { 177 if $(HAIKU_GCC_VERSION[1]) >= 4 { 178 Echo "No optional package Pe available for gcc4" ; 179 } else { 180 InstallOptionalHaikuImagePackage pe-2.4.1-x86 181 : http://dl.hirschkaefer.de/beos/pe-2.4.1-x86.zip 182 : apps 183 ; 184 185 # TODO: The installation directory should probably be renamed to just 186 # "pe" (or "Pe") and the contained "(drag lpe here...)" be removed. 187 AddSymlinkToHaikuImage home config be Applications 188 : /boot/apps/pe-2.4.1-x86/pe ; 189 AddSymlinkToHaikuImage home config bin 190 : /boot/apps/pe-2.4.1-x86/lpe ; 191 } 192} 193 194 195# Perl 196if [ IsOptionalHaikuImagePackageAdded Perl ] { 197 if $(HAIKU_GCC_VERSION[1]) >= 4 { 198 Echo "No optional package Perl available for gcc4" ; 199 } else { 200 local baseURL = http://haiku-files.org/files/optional-packages ; 201 InstallOptionalHaikuImagePackage perl-5.10.0-gcc2-2008-03-24 202 : $(baseURL)/perl-5.10.0-gcc2-2008-03-24.zip 203 : home 204 ; 205 } 206} 207 208 209# Vision 210if [ IsOptionalHaikuImagePackageAdded Vision ] { 211 if $(HAIKU_GCC_VERSION[1]) >= 4 { 212 Echo "No optional package Vision available for gcc4" ; 213 } else { 214 InstallOptionalHaikuImagePackage Vision 215 : http://vision.sf.net/Vision-0.9.7-H-30032008.zip 216 : apps 217 ; 218 AddSymlinkToHaikuImage home config be Applications 219 : /boot/apps/Vision-0.9.7-H-30032008/Vision ; 220 } 221} 222 223# VLC media player 224if [ IsOptionalHaikuImagePackageAdded VLC ] { 225 if $(HAIKU_GCC_VERSION[1]) >= 4 { 226 Echo "No optional package VLC available for gcc4" ; 227 } else { 228 InstallOptionalHaikuImagePackage VLC 229 : http://www.yellowbites.com/downloads/vlc-0.8.6c.zip 230 : apps 231 ; 232 AddSymlinkToHaikuImage home config be Applications 233 : /boot/apps/vlc-0.8.6c/vlc ; 234 } 235} 236 237 238# WonderBrush 239if [ IsOptionalHaikuImagePackageAdded WonderBrush ] { 240 if $(HAIKU_GCC_VERSION[1]) >= 4 { 241 Echo "No optional package WonderBrush available for gcc4" ; 242 } else { 243 InstallOptionalHaikuImagePackage WonderBrush 244 : http://www.yellowbites.com/downloads/WonderBrush-2.1.1-demo-x86-R5.zip 245 : apps 246 ; 247 AddSymlinkToHaikuImage home config be Applications 248 : /boot/apps/WonderBrush/WonderBrush ; 249 } 250} 251