xref: /haiku/build/jam/images/definitions/regular (revision eea5774f46bba925156498abf9cb1a1165647bf7)
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
6SEARCH on [ FGristFiles userguide quicktour welcome ]
7	= [ FDirName $(HAIKU_TOP) data bin ] ;
8SYSTEM_BIN += userguide quicktour welcome ;
9
10SYSTEM_BIN += [ FFilterByBuildFeatures
11	cddb_lookup
12	clipboard
13	CortexAddOnHost
14	dpms
15	FirstBootPrompt
16	<bin>i2c@x86,x86_64
17	installsound
18	mail
19	mail2mbox
20	mbox2mail
21	media_client
22	mount_nfs
23	pidof
24	recover
25	screenshot
26	setcontrollook
27	setdecor
28	spamdbm
29	translate
30	WindowShade
31] ;
32
33SYSTEM_APPS += [ FFilterByBuildFeatures
34	ActivityMonitor
35	AutoRaise
36	CodyCam
37	GLInfo@mesa
38	HaikuDepot
39	Icon-O-Matic@expat
40	LaunchBox
41	LegacyPackageInstaller
42	Magnify
43	Mail
44	MediaConverter
45	MediaPlayer
46	MidiPlayer
47	People
48	PoorMan
49	PowerStatus
50	RemoteDesktop
51	Screenshot
52	SerialConnect
53	SoftwareUpdater
54	SoundRecorder
55] ;
56
57DESKBAR_APPLICATIONS +=
58	ActivityMonitor
59	CodyCam
60	HaikuDepot
61	Icon-O-Matic
62	Magnify
63	Mail
64	MediaConverter
65	MediaPlayer
66	MidiPlayer
67	People
68	PoorMan
69	SerialConnect
70	SoftwareUpdater
71	SoundRecorder
72;
73
74DESKBAR_DESKTOP_APPLETS +=
75	AutoRaise
76	LaunchBox
77	PowerStatus
78;
79
80SYSTEM_PREFERENCES += [ FFilterByBuildFeatures
81	Bluetooth
82	DataTranslations
83	E-mail
84	Media
85	Printers
86	Repositories
87	ScreenSaver
88	Sounds
89] ;
90
91SYSTEM_DEMOS += [ FFilterByBuildFeatures
92	Chart
93	Clock
94	Cortex@expat
95	FontDemo
96	GLTeapot@mesa
97	$(HAIKU_INCLUDE_TRADEMARKS)Haiku3d@mesa
98	Mandelbrot
99	OverlayImage
100	Pairs
101	PatchBay
102	Playground
103	Pulse
104	Sudoku
105] ;
106
107
108rule HaikuImageGetSystemLibs
109{
110	return
111		# libs with special grist
112		[ MultiArchDefaultGristFiles libroot.so : revisioned ]
113		[ Libstdc++ForImage ]
114		# libs with standard grist
115		[ MultiArchDefaultGristFiles [ FFilterByBuildFeatures
116			libalm.so
117			libbe.so
118			libbsd.so
119			libbnetapi.so
120			libbluetooth.so
121			libdebug.so
122			libdebugger.so@primary
123			libdevice.so
124			libgame.so
125			libglut.so@mesa
126			libgnu.so
127			libmail.so
128			libmedia.so
129			libmidi.so
130			libmidi2.so
131			libnetwork.so
132			libpackage.so
133			libscreensaver.so
134			libtextencoding.so
135			libtracker.so
136			libtranslation.so
137		] ]
138		;
139}
140
141
142rule HaikuImageGetPrivateSystemLibs
143{
144	return [ MultiArchDefaultGristFiles [ FFilterByBuildFeatures
145		libalm.so
146		libpackage-add-on-libsolv.so
147		libroot-addon-icu.so
148	] ] ;
149}
150
151
152SYSTEM_SERVERS += [ FFilterByBuildFeatures
153	mail_daemon
154	media_addon_server
155	media_server
156	midi_server
157	nfs4_idmapper_server
158	bluetooth_server
159	print_server
160	print_addon_server
161] ;
162
163# Bluetooth stack + drivers
164SYSTEM_NETWORK_PROTOCOLS +=
165#	l2cap
166;
167SYSTEM_BT_STACK =
168	hci
169	btCoreData
170;
171SYSTEM_ADD_ONS_DRIVERS_BT_H2 +=
172	h2generic
173;
174
175SYSTEM_ADD_ONS_ACCELERANTS += [ FFilterByBuildFeatures
176	x86,x86_64 @{
177		ati.accelerant
178		intel_810.accelerant
179		intel_extreme.accelerant
180		matrox.accelerant
181		nvidia.accelerant
182		radeon.accelerant
183		radeon_hd.accelerant
184		via.accelerant
185	}@ # x86,x86_64
186	x86 @{
187		3dfx.accelerant
188		neomagic.accelerant
189		s3.accelerant
190	}@ # x86
191	virtio_gpu.accelerant
192] ;
193
194SYSTEM_ADD_ONS_TRANSLATORS += [ FFilterByBuildFeatures
195	AVIFTranslator@libavif
196	BMPTranslator
197	GIFTranslator
198	HVIFTranslator
199	ICOTranslator
200	ICNSTranslator@libicns
201	JPEGTranslator@jpeg	JPEG2000Translator@jasper
202	PCXTranslator
203	PNGTranslator@libpng
204	PPMTranslator
205	PSDTranslator
206	RAWTranslator
207	RTFTranslator
208	SGITranslator
209	TGATranslator
210	TIFFTranslator@tiff
211	WebPTranslator@libwebp
212	WonderBrushTranslator
213] ;
214
215SYSTEM_ADD_ONS_MEDIA += [ FFilterByBuildFeatures
216	cortex_audioadapter.media_addon
217	cortex_flanger.media_addon
218	cortex_logging_consumer.media_addon
219	dvb.media_addon@x86
220	equalizer.media_addon
221	hmulti_audio.media_addon
222	#legacy.media_addon
223	mixer.media_addon
224	opensound.media_addon
225	tone_producer_demo.media_addon
226	usb_webcam.media_addon
227	video_producer_demo.media_addon
228	video_window_demo.media_addon
229	vst_host.media_addon
230] ;
231
232SYSTEM_ADD_ONS_MEDIA_PLUGINS += [ FFilterByBuildFeatures
233	ape_reader@x86
234	ffmpeg@ffmpeg
235	http_streamer
236	raw_decoder
237] ;
238
239SYSTEM_ADD_ONS_PRINT += [ FFilterByBuildFeatures
240	Canon\ LIPS3\ Compatible
241	Canon\ LIPS4\ Compatible
242	Gutenprint@gutenprint
243	PCL5\ Compatible
244	PCL6\ Compatible
245	PS\ Compatible
246	Preview
247] ;
248
249SYSTEM_ADD_ONS_PRINT_TRANSPORT +=
250	HP\ JetDirect
251	IPP
252	LPR
253	# Parallel\ Port
254	Print\ To\ File
255	Serial\ Port
256	USB\ Port
257;
258
259SYSTEM_ADD_ONS_SCREENSAVERS += [ FFilterByBuildFeatures
260	Butterfly
261	DebugNow
262	Flurry@mesa
263	GLife@mesa
264	Gravity@mesa
265	Icons
266	IFS
267	Leaves
268	Message
269	Nebula
270	Shelf
271	Spider
272] ;
273
274SYSTEM_ADD_ONS_DRIVERS_AUDIO +=
275	auich
276	auvia
277	echo3g
278	emuxki
279	es1370
280	hda
281	ice1712
282	usb_audio
283	sis7018
284;
285
286SYSTEM_ADD_ONS_DRIVERS_AUDIO_OLD +=
287	#cmedia
288;
289
290SYSTEM_ADD_ONS_DRIVERS_GRAPHICS += [ FFilterByBuildFeatures
291	x86,x86_64 @{
292		ati
293		intel_810
294		intel_extreme
295		matrox
296		nvidia
297		radeon
298		radeon_hd
299		via
300	}@ # x86,x86_64
301	x86 @{
302		3dfx
303		neomagic
304		s3
305	}@ # x86
306] ;
307
308SYSTEM_ADD_ONS_DRIVERS_MIDI +=
309	emuxki
310	ice1712
311	usb_midi
312;
313
314SYSTEM_ADD_ONS_DRIVERS_NET += [ FFilterByBuildFeatures
315	# WLAN drivers
316	x86,x86_64,riscv64 @{
317		aironetwifi
318		atheroswifi
319		broadcom43xx
320		iaxwifi200
321		idualwifi7260
322		iprowifi2100
323		iprowifi2200
324		iprowifi3945
325		iprowifi4965
326		marvell88w8363
327		marvell88w8335
328		ralinkwifi
329		realtekwifi
330	}@ # x86,x86_64,riscv64
331] ;
332
333SYSTEM_ADD_ONS_DRIVERS_POWER += [ FFilterByBuildFeatures
334	acpi_battery@x86,x86_64
335] ;
336
337SYSTEM_ADD_ONS_FILE_SYSTEMS +=
338	cdda
339	#googlefs
340	nfs
341	nfs4
342	ufs2
343;
344
345# Mailbox folders and symlink
346AddDirectoryToHaikuImage home mail : home-mail.rdef ;
347AddDirectoryToHaikuImage home mail draft : home-mail-draft.rdef ;
348AddDirectoryToHaikuImage home mail in : home-mail-in.rdef ;
349AddDirectoryToHaikuImage home mail out : home-mail-out.rdef ;
350AddDirectoryToHaikuImage home mail queries : home-mail-queries.rdef ;
351AddDirectoryToHaikuImage home mail sent : home-mail-sent.rdef ;
352AddDirectoryToHaikuImage home mail spam : home-mail-spam.rdef ;
353
354# Add boot launch directory
355AddDirectoryToHaikuImage home config settings boot launch ;
356
357# Add mail provider infos.
358AddFilesToHaikuImage home config settings Mail ProviderInfo :
359	$(HAIKU_PROVIDER_INFOS) ;
360
361# Add Tracker New Templates
362AddDirectoryToHaikuImage home config settings Tracker "Tracker New Templates"
363	:  tracker-new-templates.rdef ;
364AddFilesToHaikuImage home config settings Tracker "Tracker New Templates"
365	:
366	"<tracker-new-templates>C++ header"
367	"<tracker-new-templates>C++ source"
368	"<tracker-new-templates>Makefile"
369	"<tracker-new-templates>Person"
370	"<tracker-new-templates>text file"
371;
372
373# printers
374AddDirectoryToHaikuImage home config settings printers Preview
375	: home-config-settings-printers-preview.rdef ;
376AddDirectoryToHaikuImage home config settings printers "Save as PDF"
377	: home-config-settings-printers-save-as-pdf.rdef ;
378
379# padblocker
380AddDirectoryToHaikuImage home config settings touchpad ;
381
382# shortcuts defaults
383local shortcutsSettingsFile = <settings>shortcuts_settings ;
384SEARCH on $(shortcutsSettingsFile) = [ FDirName $(HAIKU_TOP) data settings ] ;
385AddFilesToHaikuImage home config settings : $(shortcutsSettingsFile) ;
386