xref: /haiku/build/jam/images/definitions/regular (revision b247f935d133a42c427cad8a759a1bf2f65bc290)
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 screenshot setdecor spamdbm
14	translate
15	WindowShade
16] ;
17
18SYSTEM_APPS += [ FFilterByBuildFeatures
19	ActivityMonitor
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	LaunchBox
44	PowerStatus
45;
46
47SYSTEM_PREFERENCES += [ FFilterByBuildFeatures
48	Bluetooth
49	DataTranslations
50	E-mail
51	Media
52	Printers
53	Repositories
54	ScreenSaver Sounds
55] ;
56
57SYSTEM_DEMOS += [ FFilterByBuildFeatures
58	Chart Clock Cortex@expat FontDemo GLTeapot@mesa
59	$(HAIKU_INCLUDE_TRADEMARKS)Haiku3d@mesa Mandelbrot OverlayImage Pairs
60	PatchBay Playground Pulse Sudoku
61] ;
62
63
64rule HaikuImageGetSystemLibs
65{
66	return
67		# libs with special grist
68		[ MultiArchDefaultGristFiles libroot.so : revisioned ]
69		[ Libstdc++ForImage ]
70		# libs with standard grist
71		[ MultiArchDefaultGristFiles [ FFilterByBuildFeatures
72			libalm.so
73			libbe.so libbsd.so libbnetapi.so
74			libbluetooth.so
75			libdebug.so
76			libdebugger.so@primary
77			libdevice.so
78			libgame.so libglut.so@mesa libgnu.so
79			libmail.so libmedia.so libmidi.so libmidi2.so
80			libnetwork.so
81			libpackage.so
82			libscreensaver.so
83			libtextencoding.so libtracker.so libtranslation.so
84		] ]
85		;
86}
87
88
89rule HaikuImageGetPrivateSystemLibs
90{
91	return [ MultiArchDefaultGristFiles [ FFilterByBuildFeatures
92		libalm.so
93		libfluidsynth.so@gcc2
94		libilmimf.so
95		libpackage-add-on-libsolv.so
96		libroot-addon-icu.so
97	] ] ;
98}
99
100
101SYSTEM_SERVERS += [ FFilterByBuildFeatures
102	mail_daemon media_addon_server media_server midi_server
103	nfs4_idmapper_server bluetooth_server
104	print_server print_addon_server
105] ;
106
107# Bluetooth stack + drivers
108SYSTEM_BT_STACK = hci btCoreData ;
109SYSTEM_ADD_ONS_DRIVERS_BT_H2 +=
110	h2generic
111;
112
113SYSTEM_ADD_ONS_ACCELERANTS += [ FFilterByBuildFeatures
114	x86,x86_64 @{
115		intel_810.accelerant intel_extreme.accelerant
116		matrox.accelerant
117		nvidia.accelerant
118		radeon.accelerant radeon_hd.accelerant
119		via.accelerant
120	}@ # x86,x86_64
121	x86 @{
122		3dfx.accelerant ati.accelerant neomagic.accelerant s3.accelerant
123	}@ # x86
124] ;
125
126SYSTEM_ADD_ONS_TRANSLATORS += [ FFilterByBuildFeatures
127	BMPTranslator
128	EXRTranslator
129	GIFTranslator
130	HVIFTranslator
131	ICOTranslator ICNSTranslator@libicns
132	JPEGTranslator@jpeg	JPEG2000Translator@jasper
133	PCXTranslator PNGTranslator@libpng PPMTranslator PSDTranslator
134	RAWTranslator RTFTranslator
135	SGITranslator
136	TGATranslator TIFFTranslator@tiff
137	WebPTranslator@libwebp WonderBrushTranslator
138] ;
139
140SYSTEM_ADD_ONS_MEDIA += [ FFilterByBuildFeatures
141	cortex_audioadapter.media_addon	cortex_flanger.media_addon
142	cortex_logging_consumer.media_addon
143	dvb.media_addon@x86
144	equalizer.media_addon
145	firewire_dv.media_addon@x86
146	hmulti_audio.media_addon
147	#legacy.media_addon
148	mixer.media_addon
149	opensound.media_addon
150	tone_producer_demo.media_addon
151	usb_webcam.media_addon
152	video_producer_demo.media_addon	video_window_demo.media_addon
153	vst_host.media_addon
154] ;
155
156SYSTEM_ADD_ONS_MEDIA_PLUGINS += [ FFilterByBuildFeatures
157	ape_reader@x86
158	ffmpeg@ffmpeg
159	http_streamer
160	raw_decoder
161] ;
162
163SYSTEM_ADD_ONS_PRINT += [ FFilterByBuildFeatures
164	Canon\ LIPS3\ Compatible
165	Canon\ LIPS4\ Compatible
166	Gutenprint@gutenprint
167	PCL5\ Compatible
168	PCL6\ Compatible
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# 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# repository config and cache files
268local repository ;
269for repository in $(HAIKU_REPOSITORIES) {
270	local config = [ on $(repository) return $(HAIKU_REPOSITORY_CONFIG_FILE) ] ;
271	local cache = [ on $(repository) return $(HAIKU_REPOSITORY_CACHE_FILE) ] ;
272	if $(HAIKU_UPDATE_ALL_PACKAGES) {
273		HAIKU_INCLUDE_IN_IMAGE on $(config) $(cache) = 1 ;
274	}
275	AddFilesToHaikuImage system settings package-repositories
276		: $(config) : $(repository:G=) ;
277	AddFilesToHaikuImage system cache package-repositories
278		: $(cache) : $(repository:G=) ;
279}
280