xref: /haiku/build/jam/images/definitions/regular (revision a5a3b2d9a3d95cbae71eaf371708c73a1780ac0d)
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	DataTranslations
49	E-mail
50	Media
51	Printers
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			libdebug.so libdevice.so
73			libgame.so libglut.so@mesa libgnu.so
74			libmail.so libmedia.so libmidi.so libmidi2.so
75			libnetwork.so
76			libpackage.so
77			libscreensaver.so
78			libtextencoding.so libtracker.so libtranslation.so
79		] ]
80		;
81}
82
83
84rule HaikuImageGetPrivateSystemLibs
85{
86	return [ MultiArchDefaultGristFiles [ FFilterByBuildFeatures
87		libalm.so
88		libfluidsynth.so
89		libilmimf.so
90		libpackage-add-on-libsolv.so
91		libroot-addon-icu.so
92	] ] ;
93}
94
95
96SYSTEM_SERVERS += [ FFilterByBuildFeatures
97	mail_daemon media_addon_server media_server midi_server
98	nfs4_idmapper_server
99	print_server print_addon_server
100] ;
101
102SYSTEM_ADD_ONS_ACCELERANTS += [ FFilterByBuildFeatures
103	x86,x86_64 @{
104		intel_810.accelerant intel_extreme.accelerant
105		matrox.accelerant
106		nvidia.accelerant
107		radeon.accelerant radeon_hd.accelerant
108		#via.accelerant
109	}@ # x86,x86_64
110	x86 @{
111		3dfx.accelerant ati.accelerant neomagic.accelerant s3.accelerant
112	}@ # x86
113] ;
114
115SYSTEM_ADD_ONS_TRANSLATORS += [ FFilterByBuildFeatures
116	BMPTranslator
117	EXRTranslator
118	GIFTranslator
119	HVIFTranslator
120	ICOTranslator ICNSTranslator@libicns
121	JPEGTranslator@jpeg	JPEG2000Translator@jasper
122	PCXTranslator PNGTranslator@libpng PPMTranslator PSDTranslator
123	RAWTranslator RTFTranslator
124	SGITranslator
125	TGATranslator TIFFTranslator@tiff
126	WebPTranslator@libwebp WonderBrushTranslator
127] ;
128
129SYSTEM_ADD_ONS_MEDIA += [ FFilterByBuildFeatures
130	cortex_audioadapter.media_addon	cortex_flanger.media_addon
131	cortex_logging_consumer.media_addon
132	dvb.media_addon@x86
133	equalizer.media_addon
134	firewire_dv.media_addon@x86
135	hmulti_audio.media_addon
136	#legacy.media_addon
137	mixer.media_addon
138	opensound.media_addon
139	tone_producer_demo.media_addon
140	usb_webcam.media_addon
141	video_producer_demo.media_addon	video_window_demo.media_addon
142	vst_host.media_addon
143] ;
144
145SYSTEM_ADD_ONS_MEDIA_PLUGINS += [ FFilterByBuildFeatures
146	ape_reader@x86
147	ffmpeg@ffmpeg
148	raw_decoder
149] ;
150
151SYSTEM_ADD_ONS_PRINT += [ FFilterByBuildFeatures
152	Canon\ LIPS3\ Compatible
153	Canon\ LIPS4\ Compatible
154	Gutenprint@gutenprint
155	PCL5\ Compatible
156	PCL6\ Compatible
157	PDF\ Writer
158	PS\ Compatible
159	Preview
160] ;
161
162SYSTEM_ADD_ONS_PRINT_TRANSPORT +=
163	HP\ JetDirect
164	IPP
165	LPR
166	# Parallel\ Port
167	Print\ To\ File
168	Serial\ Port
169	USB\ Port
170;
171
172SYSTEM_ADD_ONS_SCREENSAVERS += [ FFilterByBuildFeatures
173	Butterfly
174	DebugNow
175	Flurry@mesa
176	GLife@mesa Gravity@mesa
177	$(HAIKU_INCLUDE_TRADEMARKS)Haiku
178	Icons IFS
179	Leaves
180	Message
181	Nebula
182	Spider
183] ;
184
185SYSTEM_ADD_ONS_DRIVERS_AUDIO +=
186	auich auvia
187	echo3g emuxki
188	hda
189	ice1712
190	sis7018
191;
192
193SYSTEM_ADD_ONS_DRIVERS_AUDIO_OLD +=
194	#cmedia usb_audio
195;
196
197SYSTEM_ADD_ONS_DRIVERS_GRAPHICS += [ FFilterByBuildFeatures
198	x86,x86_64 @{
199		intel_810 intel_extreme
200		matrox
201		nvidia
202		radeon radeon_hd
203		#via
204	}@ # x86,x86_64
205	x86 @{
206		3dfx
207		ati
208		neomagic
209		s3
210	}@ # x86
211] ;
212
213SYSTEM_ADD_ONS_DRIVERS_MIDI +=
214	emuxki
215	ice1712
216	usb_midi
217;
218
219SYSTEM_ADD_ONS_DRIVERS_POWER += [ FFilterByBuildFeatures
220	acpi_battery@x86,x86_64
221] ;
222
223SYSTEM_ADD_ONS_FILE_SYSTEMS +=
224	cdda
225	#googlefs
226	nfs nfs4
227;
228
229# Mailbox folders and symlink
230AddDirectoryToHaikuImage home mail draft ;
231AddDirectoryToHaikuImage home mail in ;
232AddDirectoryToHaikuImage home mail out ;
233
234# Add boot launch directory
235AddDirectoryToHaikuImage home config settings boot launch ;
236
237# Add mail provider infos.
238AddFilesToHaikuImage home config settings Mail ProviderInfo :
239	$(HAIKU_PROVIDER_INFOS) ;
240
241# Add Tracker New Templates
242AddFilesToHaikuImage home config settings Tracker "Tracker New Templates"
243	:
244	"<tracker-new-templates>C++ header"
245	"<tracker-new-templates>C++ source"
246	"<tracker-new-templates>Makefile"
247	"<tracker-new-templates>text file"
248;
249
250# decorators
251#AddFilesToHaikuImage system non-packaged add-ons decorators
252#	: BeDecorator MacDecorator WinDecorator ;
253
254# printers
255AddDirectoryToHaikuImage home config settings printers Preview
256	: home-config-settings-printers-preview.rdef ;
257AddDirectoryToHaikuImage home config settings printers "Save as PDF"
258	: home-config-settings-printers-save-as-pdf.rdef ;
259
260# repository config and cache files
261local repository ;
262for repository in $(HAIKU_REPOSITORIES) {
263	local config = [ on $(repository) return $(HAIKU_REPOSITORY_CONFIG_FILE) ] ;
264	local cache = [ on $(repository) return $(HAIKU_REPOSITORY_CACHE_FILE) ] ;
265	if $(HAIKU_UPDATE_ALL_PACKAGES) {
266		HAIKU_INCLUDE_IN_IMAGE on $(config) $(cache) = 1 ;
267	}
268	AddFilesToHaikuImage system settings package-repositories
269		: $(config) : $(repository:G=) ;
270	AddFilesToHaikuImage system cache package-repositories
271		: $(cache) : $(repository:G=) ;
272}
273