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