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