regular revision 136a82ff
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	installsound
10	mail2mbox mbox2mail mkdos mount_nfs
11	play playfile playsound playwav
12	screenshot setdecor spamdbm
13	translate
14] ;
15
16SYSTEM_APPS += [ FFilterByBuildFeatures
17	CodyCam
18	GLInfo@mesa
19	HaikuDepot
20	Icon-O-Matic Installer LaunchBox
21	Magnify Mail MediaConverter MediaPlayer MidiPlayer
22	PackageInstaller People PoorMan PowerStatus
23	RemoteDesktop
24	Screenshot SerialConnect SoundRecorder
25	TV
26	WebWatch
27] ;
28
29DESKBAR_APPLICATIONS +=
30	CodyCam
31	HaikuDepot
32	Icon-O-Matic Installer
33	Magnify Mail MediaConverter MediaPlayer MidiPlayer
34	People PoorMan
35	SerialConnect SoundRecorder
36	TV
37;
38
39DESKBAR_DESKTOP_APPLETS +=
40	LaunchBox
41	PowerStatus
42;
43
44SYSTEM_PREFERENCES += [ FFilterByBuildFeatures
45	DataTranslations
46	E-mail
47	Media
48	Printers
49	ScreenSaver Sounds
50] ;
51
52SYSTEM_DEMOS += [ FFilterByBuildFeatures
53	Chart Clock Cortex FontDemo GLTeapot@mesa
54	$(HAIKU_INCLUDE_TRADEMARKS)Haiku3d@mesa Mandelbrot OverlayImage Pairs
55	PatchBay Playground Pulse Sudoku
56] ;
57
58
59rule HaikuImageGetSystemLibs
60{
61	return
62		# libs with special grist
63		[ MultiArchDefaultGristFiles libroot.so : revisioned ]
64		[ Libstdc++ForImage ]
65		# libs with standard grist
66		[ MultiArchDefaultGristFiles [ FFilterByBuildFeatures
67			libalm.so
68			libbe.so libbsd.so libbnetapi.so
69			libdebug.so libdevice.so
70			libgame.so libglut.so@mesa libgnu.so
71			libmail.so libmedia.so libmidi.so libmidi2.so
72			libnetwork.so
73			libpackage.so
74			libscreensaver.so
75			libtextencoding.so libtracker.so libtranslation.so
76		] ]
77		;
78}
79
80
81rule HaikuImageGetPrivateSystemLibs
82{
83	return [ MultiArchDefaultGristFiles [ FFilterByBuildFeatures
84		libalm.so
85		libfluidsynth.so
86		libilmimf.so
87		libpackage-add-on-libsolv.so
88		libroot-addon-icu.so
89	] ] ;
90}
91
92
93SYSTEM_SERVERS += [ FFilterByBuildFeatures
94	cddb_daemon
95	mail_daemon media_addon_server media_server midi_server
96	nfs4_idmapper_server
97	print_server print_addon_server
98] ;
99
100SYSTEM_ADD_ONS_ACCELERANTS += [ FFilterByBuildFeatures
101	x86,x86_64 @{
102		intel_810.accelerant intel_extreme.accelerant
103		matrox.accelerant
104		nvidia.accelerant
105		radeon.accelerant radeon_hd.accelerant
106		#via.accelerant
107	}@ # x86,x86_64
108	x86 @{
109		3dfx.accelerant ati.accelerant neomagic.accelerant s3.accelerant
110	}@ # x86
111] ;
112
113SYSTEM_ADD_ONS_TRANSLATORS += [ FFilterByBuildFeatures
114	BMPTranslator
115	EXRTranslator
116	GIFTranslator
117	HVIFTranslator
118	ICOTranslator ICNSTranslator@libicns
119	JPEGTranslator@jpeg	JPEG2000Translator@jasper
120	PCXTranslator PNGTranslator@libpng PPMTranslator PSDTranslator
121	RAWTranslator RTFTranslator
122	SGITranslator
123	TGATranslator TIFFTranslator@tiff
124	WebPTranslator@libwebp WonderBrushTranslator
125] ;
126
127SYSTEM_ADD_ONS_MEDIA += [ FFilterByBuildFeatures
128	cortex_audioadapter.media_addon	cortex_flanger.media_addon
129	cortex_logging_consumer.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