xref: /haiku/build/jam/images/definitions/regular (revision 81ec973846ea4816c53ed8901822e43c8b06878d)
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	clipboard CortexAddOnHost
8	FirstBootPrompt	fwcontrol@x86
9	gdb@x86
10	installsound
11	mail2mbox mbox2mail mkdos mount_nfs
12	play playfile playsound playwav
13	screenshot setdecor spamdbm
14	translate
15] ;
16
17SYSTEM_APPS += [ FFilterByBuildFeatures
18	CodyCam
19	GLInfo@mesa
20	HaikuDepot
21	Icon-O-Matic Installer LaunchBox
22	Magnify Mail MediaConverter MediaPlayer MidiPlayer
23	PackageInstaller People PoorMan PowerStatus
24	RemoteDesktop
25	Screenshot SerialConnect SoundRecorder
26	TV
27	WebWatch
28] ;
29
30DESKBAR_APPLICATIONS +=
31	CodyCam
32	HaikuDepot
33	Icon-O-Matic Installer
34	Magnify Mail MediaConverter MediaPlayer MidiPlayer
35	People PoorMan
36	SerialConnect SoundRecorder
37	TV
38;
39
40DESKBAR_DESKTOP_APPLETS +=
41	LaunchBox
42	PowerStatus
43;
44
45SYSTEM_PREFERENCES += [ FFilterByBuildFeatures
46	DataTranslations
47	E-mail
48	Media
49	Printers
50	ScreenSaver Sounds
51] ;
52
53SYSTEM_DEMOS += [ FFilterByBuildFeatures
54	Chart Clock Cortex FontDemo GLTeapot@mesa
55	$(HAIKU_INCLUDE_TRADEMARKS)Haiku3d@mesa Mandelbrot OverlayImage Pairs
56	PatchBay Playground Pulse Sudoku
57] ;
58
59
60rule HaikuImageGetSystemLibs
61{
62	return
63		# libs with special grist
64		[ MultiArchDefaultGristFiles libroot.so : revisioned ]
65		[ Libstdc++ForImage ]
66		# libs with standard grist
67		[ MultiArchDefaultGristFiles [ FFilterByBuildFeatures
68			libalm.so
69			libbe.so libbsd.so libbnetapi.so
70			libdebug.so libdevice.so
71			libgame.so libglut.so@mesa libgnu.so
72			libmail.so libmedia.so libmidi.so libmidi2.so
73			libnetwork.so
74			libpackage.so
75			libscreensaver.so
76			libtextencoding.so libtracker.so libtranslation.so
77		] ]
78		;
79}
80
81
82rule HaikuImageGetPrivateSystemLibs
83{
84	return [ MultiArchDefaultGristFiles [ FFilterByBuildFeatures
85		libalm.so
86		libfluidsynth.so
87		libilmimf.so
88		libpackage-add-on-libsolv.so
89		libroot-addon-icu.so
90	] ] ;
91}
92
93
94SYSTEM_SERVERS += [ FFilterByBuildFeatures
95	cddb_daemon
96	mail_daemon media_addon_server media_server midi_server
97	nfs4_idmapper_server
98	print_server print_addon_server
99] ;
100
101SYSTEM_ADD_ONS_ACCELERANTS += [ FFilterByBuildFeatures
102	x86,x86_64 @{
103		intel_810.accelerant intel_extreme.accelerant
104		matrox.accelerant
105		nvidia.accelerant
106		radeon.accelerant radeon_hd.accelerant
107		#via.accelerant
108	}@ # x86,x86_64
109	x86 @{
110		3dfx.accelerant ati.accelerant neomagic.accelerant s3.accelerant
111	}@ # x86
112] ;
113
114SYSTEM_ADD_ONS_TRANSLATORS += [ FFilterByBuildFeatures
115	BMPTranslator
116	EXRTranslator
117	GIFTranslator
118	HVIFTranslator
119	ICOTranslator ICNSTranslator@libicns
120	JPEGTranslator@jpeg	JPEG2000Translator@jasper
121	PCXTranslator PNGTranslator@libpng PPMTranslator PSDTranslator
122	RAWTranslator RTFTranslator
123	SGITranslator
124	TGATranslator TIFFTranslator@tiff
125	WebPTranslator@libwebp WonderBrushTranslator
126] ;
127
128SYSTEM_ADD_ONS_MEDIA += [ FFilterByBuildFeatures
129	cortex_audioadapter.media_addon	cortex_flanger.media_addon
130	dvb.media_addon@x86
131	equalizer.media_addon
132	firewire_dv.media_addon@x86
133	hmulti_audio.media_addon
134	#legacy.media_addon
135	mixer.media_addon
136	opensound.media_addon
137	tone_producer_demo.media_addon
138	usb_webcam.media_addon
139	video_producer_demo.media_addon	video_window_demo.media_addon
140	vst_host.media_addon
141] ;
142
143SYSTEM_ADD_ONS_MEDIA_PLUGINS += [ FFilterByBuildFeatures
144	ape_reader@x86
145	ffmpeg@ffmpeg
146	raw_decoder
147] ;
148
149SYSTEM_ADD_ONS_PRINT += [ FFilterByBuildFeatures
150	Canon\ LIPS3\ Compatible
151	Canon\ LIPS4\ Compatible
152	Gutenprint@gutenprint
153	PCL5\ Compatible
154	PCL6\ Compatible
155	PDF\ Writer
156	PS\ Compatible
157	Preview
158] ;
159
160SYSTEM_ADD_ONS_PRINT_TRANSPORT +=
161	HP\ JetDirect
162	IPP
163	LPR
164	# Parallel\ Port
165	Print\ To\ File
166	Serial\ Port
167	USB\ Port
168;
169
170SYSTEM_ADD_ONS_SCREENSAVERS += [ FFilterByBuildFeatures
171	Butterfly
172	DebugNow
173	Flurry@mesa
174	GLife@mesa Gravity@mesa
175	$(HAIKU_INCLUDE_TRADEMARKS)Haiku
176	Icons IFS
177	Leaves
178	Message
179	Spider
180] ;
181
182SYSTEM_ADD_ONS_DRIVERS_AUDIO +=
183	auich auvia
184	echo3g emuxki
185	hda
186	ice1712
187	sis7018
188;
189
190SYSTEM_ADD_ONS_DRIVERS_AUDIO_OLD +=
191	#cmedia usb_audio
192;
193
194SYSTEM_ADD_ONS_DRIVERS_GRAPHICS += [ FFilterByBuildFeatures
195	x86,x86_64 @{
196		intel_810 intel_extreme
197		matrox
198		nvidia
199		radeon radeon_hd
200		#via
201	}@ # x86,x86_64
202	x86 @{
203		3dfx
204		ati
205		neomagic
206		s3
207	}@ # x86
208] ;
209
210SYSTEM_ADD_ONS_DRIVERS_MIDI +=
211	emuxki
212	ice1712
213	usb_midi
214;
215
216SYSTEM_ADD_ONS_DRIVERS_POWER += [ FFilterByBuildFeatures
217	acpi_battery@x86,x86_64
218] ;
219
220SYSTEM_ADD_ONS_FILE_SYSTEMS +=
221	cdda
222	#googlefs
223	nfs nfs4
224;
225
226# Mailbox folders and symlink
227AddDirectoryToHaikuImage home mail draft ;
228AddDirectoryToHaikuImage home mail in ;
229AddDirectoryToHaikuImage home mail out ;
230
231# Add boot launch directory
232AddDirectoryToHaikuImage home config settings boot launch ;
233
234# Add mail provider infos.
235AddFilesToHaikuImage home config settings Mail ProviderInfo :
236	$(HAIKU_PROVIDER_INFOS) ;
237
238# Add Tracker New Templates
239AddFilesToHaikuImage home config settings Tracker "Tracker New Templates"
240	:
241	"<tracker-new-templates>C++ header"
242	"<tracker-new-templates>C++ source"
243	"<tracker-new-templates>Makefile"
244	"<tracker-new-templates>text file"
245;
246
247# decorators
248#AddFilesToHaikuImage system non-packaged add-ons decorators
249#	: BeDecorator MacDecorator WinDecorator ;
250
251# printers
252AddDirectoryToHaikuImage home config settings printers Preview
253	: home-config-settings-printers-preview.rdef ;
254AddDirectoryToHaikuImage home config settings printers "Save as PDF"
255	: home-config-settings-printers-save-as-pdf.rdef ;
256
257# dvb channel settings
258CopyDirectoryToHaikuImage home config settings Media
259	: [ FDirName $(HAIKU_TOP) data settings media dvb ]
260	: dvb : -x Jamfile ;
261
262# repository config and cache files
263local repository ;
264for repository in $(HAIKU_REPOSITORIES) {
265	local config = [ on $(repository) return $(HAIKU_REPOSITORY_CONFIG_FILE) ] ;
266	local cache = [ on $(repository) return $(HAIKU_REPOSITORY_CACHE_FILE) ] ;
267	if $(HAIKU_UPDATE_ALL_PACKAGES) {
268		HAIKU_INCLUDE_IN_IMAGE on $(config) $(cache) = 1 ;
269	}
270	AddFilesToHaikuImage system settings package-repositories
271		: $(config) : $(repository:G=) ;
272	AddFilesToHaikuImage system cache package-repositories
273		: $(cache) : $(repository:G=) ;
274}
275