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