xref: /haiku/build/jam/images/definitions/regular (revision 3995592cdf304335132305e27c40cbb0b1ac46e3)
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		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@ilmbase,openexr
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	PS\ Compatible
168	Preview
169] ;
170
171SYSTEM_ADD_ONS_PRINT_TRANSPORT +=
172	HP\ JetDirect
173	IPP
174	LPR
175	# Parallel\ Port
176	Print\ To\ File
177	Serial\ Port
178	USB\ Port
179;
180
181SYSTEM_ADD_ONS_SCREENSAVERS += [ FFilterByBuildFeatures
182	Butterfly
183	DebugNow
184	Flurry@mesa
185	GLife@mesa Gravity@mesa
186	$(HAIKU_INCLUDE_TRADEMARKS)Haiku
187	Icons IFS
188	Leaves
189	Message
190	Nebula
191	Spider
192] ;
193
194SYSTEM_ADD_ONS_DRIVERS_AUDIO +=
195	auich auvia
196	echo3g emuxki
197	hda
198	ice1712
199	sis7018
200;
201
202SYSTEM_ADD_ONS_DRIVERS_AUDIO_OLD +=
203	#cmedia usb_audio
204;
205
206SYSTEM_ADD_ONS_DRIVERS_GRAPHICS += [ FFilterByBuildFeatures
207	x86,x86_64 @{
208		intel_810 intel_extreme
209		matrox
210		nvidia
211		radeon radeon_hd
212		via
213	}@ # x86,x86_64
214	x86 @{
215		3dfx
216		ati
217		neomagic
218		s3
219	}@ # x86
220] ;
221
222SYSTEM_ADD_ONS_DRIVERS_MIDI +=
223	emuxki
224	ice1712
225	usb_midi
226;
227
228SYSTEM_ADD_ONS_DRIVERS_POWER += [ FFilterByBuildFeatures
229	acpi_battery@x86,x86_64
230] ;
231
232SYSTEM_ADD_ONS_FILE_SYSTEMS +=
233	cdda
234	#googlefs
235	nfs nfs4
236;
237
238# Mailbox folders and symlink
239AddDirectoryToHaikuImage home mail draft ;
240AddDirectoryToHaikuImage home mail in ;
241AddDirectoryToHaikuImage home mail out ;
242
243# Add boot launch directory
244AddDirectoryToHaikuImage home config settings boot launch ;
245
246# Add mail provider infos.
247AddFilesToHaikuImage home config settings Mail ProviderInfo :
248	$(HAIKU_PROVIDER_INFOS) ;
249
250# Add Tracker New Templates
251AddFilesToHaikuImage home config settings Tracker "Tracker New Templates"
252	:
253	"<tracker-new-templates>C++ header"
254	"<tracker-new-templates>C++ source"
255	"<tracker-new-templates>Makefile"
256	"<tracker-new-templates>text file"
257;
258
259# printers
260AddDirectoryToHaikuImage home config settings printers Preview
261	: home-config-settings-printers-preview.rdef ;
262AddDirectoryToHaikuImage home config settings printers "Save as PDF"
263	: home-config-settings-printers-save-as-pdf.rdef ;
264
265# repository config and cache files
266local repository ;
267for repository in $(HAIKU_REPOSITORIES) {
268	local config = [ on $(repository) return $(HAIKU_REPOSITORY_CONFIG_FILE) ] ;
269	local cache = [ on $(repository) return $(HAIKU_REPOSITORY_CACHE_FILE) ] ;
270	if $(HAIKU_UPDATE_ALL_PACKAGES) {
271		HAIKU_INCLUDE_IN_IMAGE on $(config) $(cache) = 1 ;
272	}
273	AddFilesToHaikuImage system settings package-repositories
274		: $(config) : $(repository:G=) ;
275	AddFilesToHaikuImage system cache package-repositories
276		: $(cache) : $(repository:G=) ;
277}
278