xref: /haiku/build/jam/images/definitions/regular (revision 6889394848e2dc9f41ff53b12141d572822ca0c6)
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	CodyCam
20	GLInfo@mesa
21	HaikuDepot
22	Icon-O-Matic@expat Installer LaunchBox LegacyPackageInstaller
23	Magnify Mail MediaConverter MediaPlayer MidiPlayer
24	People PoorMan PowerStatus
25	RemoteDesktop
26	Screenshot SerialConnect SoftwareUpdater SoundRecorder
27	TV
28] ;
29
30DESKBAR_APPLICATIONS +=
31	CodyCam
32	HaikuDepot
33	Icon-O-Matic Installer
34	Magnify Mail MediaConverter MediaPlayer MidiPlayer
35	People PoorMan
36	SerialConnect SoftwareUpdater SoundRecorder
37	TV
38;
39
40DESKBAR_DESKTOP_APPLETS +=
41	LaunchBox
42	PowerStatus
43;
44
45SYSTEM_PREFERENCES += [ FFilterByBuildFeatures
46	Bluetooth
47	DataTranslations
48	E-mail
49	Media
50	Printers
51	Repositories
52	ScreenSaver Sounds
53] ;
54
55SYSTEM_DEMOS += [ FFilterByBuildFeatures
56	Chart Clock Cortex@expat FontDemo GLTeapot@mesa
57	$(HAIKU_INCLUDE_TRADEMARKS)Haiku3d@mesa Mandelbrot OverlayImage Pairs
58	PatchBay Playground Pulse Sudoku
59] ;
60
61
62rule HaikuImageGetSystemLibs
63{
64	return
65		# libs with special grist
66		[ MultiArchDefaultGristFiles libroot.so : revisioned ]
67		[ Libstdc++ForImage ]
68		# libs with standard grist
69		[ MultiArchDefaultGristFiles [ FFilterByBuildFeatures
70			libalm.so
71			libbe.so libbsd.so libbnetapi.so
72			libbluetooth.so
73			libdebug.so
74			libdebugger.so@primary
75			libdevice.so
76			libgame.so libglut.so@mesa libgnu.so
77			libmail.so libmedia.so libmidi.so libmidi2.so
78			libnetwork.so
79			libpackage.so
80			libscreensaver.so
81			libtextencoding.so libtracker.so libtranslation.so
82		] ]
83		;
84}
85
86
87rule HaikuImageGetPrivateSystemLibs
88{
89	return [ MultiArchDefaultGristFiles [ FFilterByBuildFeatures
90		libalm.so
91		libfluidsynth.so@gcc2
92		libilmimf.so
93		libpackage-add-on-libsolv.so
94		libroot-addon-icu.so
95	] ] ;
96}
97
98
99SYSTEM_SERVERS += [ FFilterByBuildFeatures
100	mail_daemon media_addon_server media_server midi_server
101	nfs4_idmapper_server bluetooth_server
102	print_server print_addon_server
103] ;
104
105# Bluetooth stack + drivers
106SYSTEM_BT_STACK = hci btCoreData ;
107SYSTEM_ADD_ONS_DRIVERS_BT_H2 +=
108	h2generic
109;
110
111SYSTEM_ADD_ONS_ACCELERANTS += [ FFilterByBuildFeatures
112	x86,x86_64 @{
113		intel_810.accelerant intel_extreme.accelerant
114		matrox.accelerant
115		nvidia.accelerant
116		radeon.accelerant radeon_hd.accelerant
117		via.accelerant
118	}@ # x86,x86_64
119	x86 @{
120		3dfx.accelerant ati.accelerant neomagic.accelerant s3.accelerant
121	}@ # x86
122] ;
123
124SYSTEM_ADD_ONS_TRANSLATORS += [ FFilterByBuildFeatures
125	BMPTranslator
126	EXRTranslator
127	GIFTranslator
128	HVIFTranslator
129	ICOTranslator ICNSTranslator@libicns
130	JPEGTranslator@jpeg	JPEG2000Translator@jasper
131	PCXTranslator PNGTranslator@libpng PPMTranslator PSDTranslator
132	RAWTranslator RTFTranslator
133	SGITranslator
134	TGATranslator TIFFTranslator@tiff
135	WebPTranslator@libwebp WonderBrushTranslator
136] ;
137
138SYSTEM_ADD_ONS_MEDIA += [ FFilterByBuildFeatures
139	cortex_audioadapter.media_addon	cortex_flanger.media_addon
140	cortex_logging_consumer.media_addon
141	dvb.media_addon@x86
142	equalizer.media_addon
143	firewire_dv.media_addon@x86
144	hmulti_audio.media_addon
145	#legacy.media_addon
146	mixer.media_addon
147	opensound.media_addon
148	tone_producer_demo.media_addon
149	usb_webcam.media_addon
150	video_producer_demo.media_addon	video_window_demo.media_addon
151	vst_host.media_addon
152] ;
153
154SYSTEM_ADD_ONS_MEDIA_PLUGINS += [ FFilterByBuildFeatures
155	ape_reader@x86
156	ffmpeg@ffmpeg
157	http_streamer
158	raw_decoder
159] ;
160
161SYSTEM_ADD_ONS_PRINT += [ FFilterByBuildFeatures
162	Canon\ LIPS3\ Compatible
163	Canon\ LIPS4\ Compatible
164	Gutenprint@gutenprint
165	PCL5\ Compatible
166	PCL6\ Compatible
167	PDF\ Writer
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	$(HAIKU_INCLUDE_TRADEMARKS)Haiku
188	Icons IFS
189	Leaves
190	Message
191	Nebula
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_POWER += [ FFilterByBuildFeatures
230	acpi_battery@x86,x86_64
231] ;
232
233SYSTEM_ADD_ONS_FILE_SYSTEMS +=
234	cdda
235	#googlefs
236	nfs nfs4
237;
238
239# Mailbox folders and symlink
240AddDirectoryToHaikuImage home mail draft ;
241AddDirectoryToHaikuImage home mail in ;
242AddDirectoryToHaikuImage home mail out ;
243
244# Add boot launch directory
245AddDirectoryToHaikuImage home config settings boot launch ;
246
247# Add mail provider infos.
248AddFilesToHaikuImage home config settings Mail ProviderInfo :
249	$(HAIKU_PROVIDER_INFOS) ;
250
251# Add Tracker New Templates
252AddFilesToHaikuImage home config settings Tracker "Tracker New Templates"
253	:
254	"<tracker-new-templates>C++ header"
255	"<tracker-new-templates>C++ source"
256	"<tracker-new-templates>Makefile"
257	"<tracker-new-templates>text file"
258;
259
260# printers
261AddDirectoryToHaikuImage home config settings printers Preview
262	: home-config-settings-printers-preview.rdef ;
263AddDirectoryToHaikuImage home config settings printers "Save as PDF"
264	: home-config-settings-printers-save-as-pdf.rdef ;
265
266# repository config and cache files
267local repository ;
268for repository in $(HAIKU_REPOSITORIES) {
269	local config = [ on $(repository) return $(HAIKU_REPOSITORY_CONFIG_FILE) ] ;
270	local cache = [ on $(repository) return $(HAIKU_REPOSITORY_CACHE_FILE) ] ;
271	if $(HAIKU_UPDATE_ALL_PACKAGES) {
272		HAIKU_INCLUDE_IN_IMAGE on $(config) $(cache) = 1 ;
273	}
274	AddFilesToHaikuImage system settings package-repositories
275		: $(config) : $(repository:G=) ;
276	AddFilesToHaikuImage system cache package-repositories
277		: $(cache) : $(repository:G=) ;
278}
279