xref: /haiku/build/jam/images/definitions/regular (revision 6c2abee2f5e73c3fc81c33da51ac610f8bf1117a)
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 mkdos mount_nfs
13	play playfile playsound playwav
14	screenshot setdecor spamdbm
15	translate
16	WindowShade
17] ;
18
19SYSTEM_APPS += [ FFilterByBuildFeatures
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 SoundRecorder
28	TV
29	WebWatch
30] ;
31
32DESKBAR_APPLICATIONS +=
33	CodyCam
34	HaikuDepot
35	Icon-O-Matic Installer
36	Magnify Mail MediaConverter MediaPlayer MidiPlayer
37	People PoorMan
38	SerialConnect SoundRecorder
39	TV
40;
41
42DESKBAR_DESKTOP_APPLETS +=
43	LaunchBox
44	PowerStatus
45;
46
47SYSTEM_PREFERENCES += [ FFilterByBuildFeatures
48	Bluetooth
49	DataTranslations
50	E-mail
51	Media
52	Printers
53	ScreenSaver Sounds
54] ;
55
56SYSTEM_DEMOS += [ FFilterByBuildFeatures
57	Chart Clock Cortex@expat FontDemo GLTeapot@mesa
58	$(HAIKU_INCLUDE_TRADEMARKS)Haiku3d@mesa Mandelbrot OverlayImage Pairs
59	PatchBay Playground Pulse Sudoku
60] ;
61
62
63rule HaikuImageGetSystemLibs
64{
65	return
66		# libs with special grist
67		[ MultiArchDefaultGristFiles libroot.so : revisioned ]
68		[ Libstdc++ForImage ]
69		# libs with standard grist
70		[ MultiArchDefaultGristFiles [ FFilterByBuildFeatures
71			libalm.so
72			libbe.so libbsd.so libbnetapi.so
73			libbluetooth.so
74			libdebug.so
75			libdebugger.so@primary
76			libdevice.so
77			libgame.so libglut.so@mesa libgnu.so
78			libmail.so libmedia.so libmidi.so libmidi2.so
79			libnetwork.so
80			libpackage.so
81			libscreensaver.so
82			libtextencoding.so libtracker.so libtranslation.so
83		] ]
84		;
85}
86
87
88rule HaikuImageGetPrivateSystemLibs
89{
90	return [ MultiArchDefaultGristFiles [ FFilterByBuildFeatures
91		libalm.so
92		libfluidsynth.so
93		libilmimf.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
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	PDF\ Writer
169	PS\ Compatible
170	Preview
171] ;
172
173SYSTEM_ADD_ONS_PRINT_TRANSPORT +=
174	HP\ JetDirect
175	IPP
176	LPR
177	# Parallel\ Port
178	Print\ To\ File
179	Serial\ Port
180	USB\ Port
181;
182
183SYSTEM_ADD_ONS_SCREENSAVERS += [ FFilterByBuildFeatures
184	Butterfly
185	DebugNow
186	Flurry@mesa
187	GLife@mesa Gravity@mesa
188	$(HAIKU_INCLUDE_TRADEMARKS)Haiku
189	Icons IFS
190	Leaves
191	Message
192	Nebula
193	Spider
194] ;
195
196SYSTEM_ADD_ONS_DRIVERS_AUDIO +=
197	auich auvia
198	echo3g emuxki
199	hda
200	ice1712
201	sis7018
202;
203
204SYSTEM_ADD_ONS_DRIVERS_AUDIO_OLD +=
205	#cmedia usb_audio
206;
207
208SYSTEM_ADD_ONS_DRIVERS_GRAPHICS += [ FFilterByBuildFeatures
209	x86,x86_64 @{
210		intel_810 intel_extreme
211		matrox
212		nvidia
213		radeon radeon_hd
214		via
215	}@ # x86,x86_64
216	x86 @{
217		3dfx
218		ati
219		neomagic
220		s3
221	}@ # x86
222] ;
223
224SYSTEM_ADD_ONS_DRIVERS_MIDI +=
225	emuxki
226	ice1712
227	usb_midi
228;
229
230SYSTEM_ADD_ONS_DRIVERS_POWER += [ FFilterByBuildFeatures
231	acpi_battery@x86,x86_64
232] ;
233
234SYSTEM_ADD_ONS_FILE_SYSTEMS +=
235	cdda
236	#googlefs
237	nfs nfs4
238;
239
240# Mailbox folders and symlink
241AddDirectoryToHaikuImage home mail draft ;
242AddDirectoryToHaikuImage home mail in ;
243AddDirectoryToHaikuImage home mail out ;
244
245# Add boot launch directory
246AddDirectoryToHaikuImage home config settings boot launch ;
247
248# Add mail provider infos.
249AddFilesToHaikuImage home config settings Mail ProviderInfo :
250	$(HAIKU_PROVIDER_INFOS) ;
251
252# Add Tracker New Templates
253AddFilesToHaikuImage home config settings Tracker "Tracker New Templates"
254	:
255	"<tracker-new-templates>C++ header"
256	"<tracker-new-templates>C++ source"
257	"<tracker-new-templates>Makefile"
258	"<tracker-new-templates>text file"
259;
260
261# decorators
262AddFilesToHaikuImage system non-packaged add-ons decorators
263	: BeDecorator ;
264# MacDecorator WinDecorator
265
266# printers
267AddDirectoryToHaikuImage home config settings printers Preview
268	: home-config-settings-printers-preview.rdef ;
269AddDirectoryToHaikuImage home config settings printers "Save as PDF"
270	: home-config-settings-printers-save-as-pdf.rdef ;
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