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