1# This file defines the content of the regular Haiku image. 2 3# import everything from the minimum image 4include [ FDirName $(HAIKU_BUILD_RULES_DIR) images definitions minimum ] ; 5 6SYSTEM_BIN += [ FFilterByBuildFeatures 7 CortexAddOnHost 8 FirstBootPrompt fwcontrol@x86 9 gdb@x86 10 installsound 11 mail2mbox mbox2mail mkdos mount_nfs 12 play playfile playsound playwav 13 screenshot setdecor spamdbm 14 translate 15] ; 16 17SYSTEM_APPS += [ FFilterByBuildFeatures 18 CDPlayer CodyCam 19 GLInfo@mesa 20 HaikuDepot 21 Icon-O-Matic Installer LaunchBox 22 Magnify Mail MediaConverter MediaPlayer MidiPlayer 23 PackageInstaller People PoorMan PowerStatus 24 Screenshot SerialConnect SoundRecorder 25 TV 26 WebWatch 27] ; 28 29DESKBAR_APPLICATIONS += 30 CodyCam CDPlayer 31 HaikuDepot 32 Icon-O-Matic Installer 33 Magnify Mail MediaConverter MediaPlayer MidiPlayer 34 People PoorMan 35 TV 36; 37 38DESKBAR_DESKTOP_APPLETS += 39 LaunchBox 40 PowerStatus 41; 42 43SYSTEM_PREFERENCES += [ FFilterByBuildFeatures 44 DataTranslations 45 E-mail 46 Media 47 Printers 48 ScreenSaver Sounds 49] ; 50 51SYSTEM_DEMOS += [ FFilterByBuildFeatures 52 BSnow Chart Clock Cortex FontDemo GLTeapot@mesa 53 $(HAIKU_INCLUDE_TRADEMARKS)Haiku3d@mesa Mandelbrot OverlayImage Pairs 54 PatchBay Playground Pulse Sudoku 55] ; 56 57 58rule HaikuImageGetSystemLibs 59{ 60 return 61 # libs with special grist 62 [ MultiArchDefaultGristFiles libroot.so : revisioned ] 63 $(HAIKU_SHARED_LIBSTDC++_$(TARGET_PACKAGING_ARCH)) 64 $(HAIKU_SHARED_LIBSUPC++_$(TARGET_PACKAGING_ARCH)) 65 # libs with standard grist 66 [ MultiArchDefaultGristFiles [ FFilterByBuildFeatures 67 libalm.so 68 libbe.so libbsd.so libbnetapi.so 69 libdebug.so libdevice.so 70 libgame.so libglut.so@mesa libgnu.so 71 libmail.so libmedia.so libmidi.so libmidi2.so 72 libnetwork.so 73 libpackage.so 74 libscreensaver.so 75 libtextencoding.so libtracker.so libtranslation.so 76 ] ] 77 ; 78} 79 80 81rule HaikuImageGetPrivateSystemLibs 82{ 83 return [ MultiArchDefaultGristFiles [ FFilterByBuildFeatures 84 libalm.so 85 libfluidsynth.so 86 libilmimf.so 87 libpackage-add-on-libsolv.so 88 libroot-addon-icu.so 89 ] ] ; 90} 91 92 93SYSTEM_SERVERS += [ FFilterByBuildFeatures 94 cddb_daemon 95 mail_daemon media_addon_server media_server midi_server 96 nfs4_idmapper_server 97 print_server print_addon_server 98] ; 99 100SYSTEM_ADD_ONS_ACCELERANTS += [ FFilterByBuildFeatures 101 x86,x86_64 @{ 102 intel_810.accelerant intel_extreme.accelerant 103 matrox.accelerant 104 nvidia.accelerant 105 radeon.accelerant radeon_hd.accelerant 106 #via.accelerant 107 }@ # x86,x86_64 108 x86 @{ 109 3dfx.accelerant ati.accelerant neomagic.accelerant s3.accelerant 110 }@ # x86 111] ; 112 113SYSTEM_ADD_ONS_TRANSLATORS += [ FFilterByBuildFeatures 114 BMPTranslator 115 EXRTranslator 116 GIFTranslator 117 HVIFTranslator 118 ICOTranslator ICNSTranslator 119 JPEGTranslator JPEG2000Translator 120 PCXTranslator PNGTranslator PPMTranslator PSDTranslator 121 RAWTranslator RTFTranslator 122 SGITranslator 123 TGATranslator TIFFTranslator@tiff 124 WebPTranslator WonderBrushTranslator 125] ; 126 127SYSTEM_ADD_ONS_MEDIA += [ FFilterByBuildFeatures 128 cortex_audioadapter.media_addon cortex_flanger.media_addon 129 dvb.media_addon@x86 130 equalizer.media_addon 131 firewire_dv.media_addon@x86 132 hmulti_audio.media_addon 133 #legacy.media_addon 134 mixer.media_addon 135 opensound.media_addon 136 tone_producer_demo.media_addon 137 usb_webcam.media_addon 138 video_producer_demo.media_addon video_window_demo.media_addon 139 vst_host.media_addon 140] ; 141 142SYSTEM_ADD_ONS_MEDIA_PLUGINS += [ FFilterByBuildFeatures 143 ffmpeg@ffmpeg 144 raw_decoder 145] ; 146 147SYSTEM_ADD_ONS_PRINT += [ FFilterByBuildFeatures 148 Canon\ LIPS3\ Compatible 149 Canon\ LIPS4\ Compatible 150 Gutenprint@gutenprint 151 PCL5\ Compatible 152 PCL6\ Compatible 153 PDF\ Writer 154 PS\ Compatible 155 Preview 156] ; 157 158SYSTEM_ADD_ONS_PRINT_TRANSPORT += 159 HP\ JetDirect 160 IPP 161 LPR 162 # Parallel\ Port 163 Print\ To\ File 164 Serial\ Port 165 USB\ Port 166; 167 168SYSTEM_ADD_ONS_SCREENSAVERS += [ FFilterByBuildFeatures 169 Butterfly 170 DebugNow 171 Flurry@mesa 172 GLife@mesa Gravity@mesa 173 $(HAIKU_INCLUDE_TRADEMARKS)Haiku 174 Icons IFS 175 Leaves 176 Message 177 Spider 178] ; 179 180SYSTEM_ADD_ONS_DRIVERS_AUDIO += 181 auich auvia 182 echo3g emuxki 183 hda 184 ice1712 185 sis7018 186; 187 188SYSTEM_ADD_ONS_DRIVERS_AUDIO_OLD += 189 #cmedia usb_audio 190; 191 192SYSTEM_ADD_ONS_DRIVERS_GRAPHICS += [ FFilterByBuildFeatures 193 x86,x86_64 @{ 194 intel_810 intel_extreme 195 matrox 196 nvidia 197 radeon radeon_hd 198 #via 199 }@ # x86,x86_64 200 x86 @{ 201 3dfx 202 ati 203 neomagic 204 s3 205 }@ # x86 206] ; 207 208SYSTEM_ADD_ONS_DRIVERS_MIDI += 209 emuxki 210 ice1712 211 usb_midi 212; 213 214SYSTEM_ADD_ONS_DRIVERS_POWER += [ FFilterByBuildFeatures 215 acpi_battery@x86,x86_64 216] ; 217 218SYSTEM_ADD_ONS_FILE_SYSTEMS += 219 cdda 220 googlefs 221 nfs nfs4 222; 223 224# Mailbox folders and symlink 225AddDirectoryToHaikuImage home mail draft ; 226AddDirectoryToHaikuImage home mail in ; 227AddDirectoryToHaikuImage home mail out ; 228 229# Add boot launch directory 230AddDirectoryToHaikuImage home config settings boot launch ; 231 232# Add mail provider infos. 233AddFilesToHaikuImage home config settings Mail ProviderInfo : 234 $(HAIKU_PROVIDER_INFOS) ; 235 236# Add Tracker New Templates 237AddFilesToHaikuImage home config settings Tracker "Tracker New Templates" 238 : 239 "<tracker-new-templates>C++ header" 240 "<tracker-new-templates>C++ source" 241 "<tracker-new-templates>makefile" 242 "<tracker-new-templates>text file" 243; 244 245#local bashCompletionFiles = [ Glob $(etcDir)/bash_completion.d : * ] ; 246#local bashCompletionHelperFiles 247# = [ Glob $(etcDir)/bash_completion.d/helpers : * ] ; 248#bashCompletionFiles = $(bashCompletionFiles:G=bash-completion) ; 249#bashCompletionHelperFiles = $(bashCompletionHelperFiles:G=bash-completion-hlp) ; 250#AddDirectoryToHaikuImage system etc bash_completion.d ; 251#AddDirectoryToHaikuImage system etc bash_completion.d helpers ; 252#AddFilesToHaikuImage system etc bash_completion.d : $(bashCompletionFiles) ; 253#AddFilesToHaikuImage system etc bash_completion.d helpers 254# : $(bashCompletionHelperFiles) ; 255 256# decorators 257#AddFilesToHaikuImage system non-packaged add-ons decorators 258# : BeDecorator MacDecorator WinDecorator ; 259 260# printers 261AddDirectoryToHaikuImage home config settings printers Preview 262 : home-config-settings-printers-preview.rdef ; 263AddDirectoryToHaikuImage home config settings printers "Save as PDF" 264 : home-config-settings-printers-save-as-pdf.rdef ; 265 266# dvb channel settings 267CopyDirectoryToHaikuImage home config settings Media 268 : [ FDirName $(HAIKU_TOP) data settings media dvb ] 269 : dvb : -x Jamfile ; 270 271# repository config and cache files 272local repositories = $(HAIKU_REPOSITORIES) ; 273if $(HAIKU_ADD_HAIKU_REPOSITORY_CONFIG) { 274 repositories += <repository>haiku ; 275} 276local repository ; 277for repository in $(repositories) { 278 local config = [ on $(repository) return $(HAIKU_REPOSITORY_CONFIG_FILE) ] ; 279 local cache = [ on $(repository) return $(HAIKU_REPOSITORY_CACHE_FILE) ] ; 280 if $(HAIKU_UPDATE_ALL_PACKAGES) { 281 HAIKU_INCLUDE_IN_IMAGE on $(config) $(cache) = 1 ; 282 } 283 AddFilesToHaikuImage system settings package-repositories 284 : $(config) : $(repository:G=) ; 285 AddFilesToHaikuImage system cache package-repositories 286 : $(cache) : $(repository:G=) ; 287} 288