regular revision 503d8893
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 recover 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	Icons IFS
187	Leaves
188	Message
189	Nebula
190	Spider
191] ;
192
193SYSTEM_ADD_ONS_DRIVERS_AUDIO +=
194	auich auvia
195	echo3g emuxki
196	hda
197	ice1712
198	sis7018
199;
200
201SYSTEM_ADD_ONS_DRIVERS_AUDIO_OLD +=
202	#cmedia usb_audio
203;
204
205SYSTEM_ADD_ONS_DRIVERS_GRAPHICS += [ FFilterByBuildFeatures
206	x86,x86_64 @{
207		intel_810 intel_extreme
208		matrox
209		nvidia
210		radeon radeon_hd
211		via
212	}@ # x86,x86_64
213	x86 @{
214		3dfx
215		ati
216		neomagic
217		s3
218	}@ # x86
219] ;
220
221SYSTEM_ADD_ONS_DRIVERS_MIDI +=
222	emuxki
223	ice1712
224	usb_midi
225;
226
227SYSTEM_ADD_ONS_DRIVERS_POWER += [ FFilterByBuildFeatures
228	acpi_battery@x86,x86_64
229] ;
230
231SYSTEM_ADD_ONS_FILE_SYSTEMS +=
232	cdda
233	#googlefs
234	nfs nfs4
235;
236
237# Mailbox folders and symlink
238AddDirectoryToHaikuImage home mail draft ;
239AddDirectoryToHaikuImage home mail in ;
240AddDirectoryToHaikuImage home mail out ;
241
242# Add boot launch directory
243AddDirectoryToHaikuImage home config settings boot launch ;
244
245# Add mail provider infos.
246AddFilesToHaikuImage home config settings Mail ProviderInfo :
247	$(HAIKU_PROVIDER_INFOS) ;
248
249# Add Tracker New Templates
250AddFilesToHaikuImage home config settings Tracker "Tracker New Templates"
251	:
252	"<tracker-new-templates>C++ header"
253	"<tracker-new-templates>C++ source"
254	"<tracker-new-templates>Makefile"
255	"<tracker-new-templates>text file"
256;
257
258# printers
259AddDirectoryToHaikuImage home config settings printers Preview
260	: home-config-settings-printers-preview.rdef ;
261AddDirectoryToHaikuImage home config settings printers "Save as PDF"
262	: home-config-settings-printers-save-as-pdf.rdef ;
263
264# repository config and cache files
265local repository ;
266for repository in $(HAIKU_REPOSITORIES) {
267	local config = [ on $(repository) return $(HAIKU_REPOSITORY_CONFIG_FILE) ] ;
268	local cache = [ on $(repository) return $(HAIKU_REPOSITORY_CACHE_FILE) ] ;
269	if $(HAIKU_UPDATE_ALL_PACKAGES) {
270		HAIKU_INCLUDE_IN_IMAGE on $(config) $(cache) = 1 ;
271	}
272	AddFilesToHaikuImage system settings package-repositories
273		: $(config) : $(repository:G=) ;
274	AddFilesToHaikuImage system cache package-repositories
275		: $(cache) : $(repository:G=) ;
276}
277