regular revision 277f3ec6
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	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	CDPlayer CodyCam
19	GLInfo@mesa
20	HaikuDepot
21	Icon-O-Matic Installer LaunchBox
22	Magnify Mail MediaConverter MediaPlayer MidiPlayer
23	PackageInstaller People	PoorMan PowerStatus
24	Screenshot SerialConnect SoundRecorder
25	TV
26	WebWatch
27] ;
28
29DESKBAR_APPLICATIONS +=
30	CodyCam CDPlayer
31	HaikuDepot
32	Icon-O-Matic Installer
33	Magnify Mail MediaConverter MediaPlayer MidiPlayer
34	People PoorMan
35	TV
36;
37
38DESKBAR_DESKTOP_APPLETS +=
39	LaunchBox
40	PowerStatus
41;
42
43SYSTEM_PREFERENCES += [ FFilterByBuildFeatures
44	DataTranslations
45	E-mail
46	Media
47	Printers
48	ScreenSaver Sounds
49] ;
50
51SYSTEM_DEMOS += [ FFilterByBuildFeatures
52	BSnow Chart Clock Cortex FontDemo GLTeapot@mesa
53	$(HAIKU_INCLUDE_TRADEMARKS)Haiku3d@mesa Mandelbrot OverlayImage Pairs
54	PatchBay Playground Pulse Sudoku
55] ;
56
57
58rule HaikuImageGetSystemLibs
59{
60	return
61		# libs with special grist
62		[ MultiArchDefaultGristFiles libroot.so : revisioned ]
63		$(HAIKU_SHARED_LIBSTDC++_$(TARGET_PACKAGING_ARCH))
64		$(HAIKU_SHARED_LIBSUPC++_$(TARGET_PACKAGING_ARCH))
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			libtiff.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 +=
115	BMPTranslator
116	EXRTranslator
117	GIFTranslator
118	HVIFTranslator
119	ICOTranslator ICNSTranslator
120	JPEGTranslator	JPEG2000Translator
121	PCXTranslator PNGTranslator PPMTranslator PSDTranslator
122	RAWTranslator RTFTranslator
123	SGITranslator
124	TGATranslator TIFFTranslator
125	WebPTranslator 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	ffmpeg@ffmpeg
145	raw_decoder
146] ;
147
148SYSTEM_ADD_ONS_PRINT += [ FFilterByBuildFeatures
149	Canon\ LIPS3\ Compatible
150	Canon\ LIPS4\ Compatible
151	Gutenprint@gutenprint
152	PCL5\ Compatible
153	PCL6\ Compatible
154	PDF\ Writer
155	PS\ Compatible
156	Preview
157] ;
158
159SYSTEM_ADD_ONS_PRINT_TRANSPORT +=
160	HP\ JetDirect
161	IPP
162	LPR
163	# Parallel\ Port
164	Print\ To\ File
165	Serial\ Port
166	USB\ Port
167;
168
169SYSTEM_ADD_ONS_SCREENSAVERS += [ FFilterByBuildFeatures
170	Butterfly
171	DebugNow
172	Flurry@mesa
173	GLife@mesa Gravity@mesa
174	$(HAIKU_INCLUDE_TRADEMARKS)Haiku
175	Icons IFS
176	Leaves
177	Message
178	Spider
179] ;
180
181SYSTEM_ADD_ONS_DRIVERS_AUDIO +=
182	auich auvia
183	echo3g emuxki
184	hda
185	ice1712
186	sis7018
187;
188
189SYSTEM_ADD_ONS_DRIVERS_AUDIO_OLD +=
190	#cmedia usb_audio
191;
192
193SYSTEM_ADD_ONS_DRIVERS_GRAPHICS += [ FFilterByBuildFeatures
194	x86,x86_64 @{
195		intel_810 intel_extreme
196		matrox
197		nvidia
198		radeon radeon_hd
199		#via
200	}@ # x86,x86_64
201	x86 @{
202		3dfx
203		ati
204		neomagic
205		s3
206	}@ # x86
207] ;
208
209SYSTEM_ADD_ONS_DRIVERS_MIDI +=
210	emuxki
211	ice1712
212	usb_midi
213;
214
215SYSTEM_ADD_ONS_DRIVERS_POWER += [ FFilterByBuildFeatures
216	acpi_battery@x86,x86_64
217] ;
218
219SYSTEM_ADD_ONS_FILE_SYSTEMS +=
220	cdda
221	googlefs
222	nfs nfs4
223;
224
225# Mailbox folders and symlink
226AddDirectoryToHaikuImage home mail draft ;
227AddDirectoryToHaikuImage home mail in ;
228AddDirectoryToHaikuImage home mail out ;
229
230# Add boot launch directory
231AddDirectoryToHaikuImage home config settings boot launch ;
232
233# Add mail provider infos.
234AddFilesToHaikuImage home config settings Mail ProviderInfo :
235	$(HAIKU_PROVIDER_INFOS) ;
236
237# Add Tracker New Templates
238AddFilesToHaikuImage home config settings Tracker "Tracker New Templates"
239	:
240	"<tracker-new-templates>C++ header"
241	"<tracker-new-templates>C++ source"
242	"<tracker-new-templates>makefile"
243	"<tracker-new-templates>text file"
244;
245
246#local bashCompletionFiles = [ Glob $(etcDir)/bash_completion.d : * ] ;
247#local bashCompletionHelperFiles
248#    = [ Glob $(etcDir)/bash_completion.d/helpers : * ] ;
249#bashCompletionFiles = $(bashCompletionFiles:G=bash-completion) ;
250#bashCompletionHelperFiles = $(bashCompletionHelperFiles:G=bash-completion-hlp) ;
251#AddDirectoryToHaikuImage system etc bash_completion.d ;
252#AddDirectoryToHaikuImage system etc bash_completion.d helpers ;
253#AddFilesToHaikuImage system etc bash_completion.d : $(bashCompletionFiles) ;
254#AddFilesToHaikuImage system etc bash_completion.d helpers
255#    : $(bashCompletionHelperFiles) ;
256
257# decorators
258#AddFilesToHaikuImage system non-packaged add-ons decorators
259#	: BeDecorator MacDecorator WinDecorator ;
260
261# printers
262AddDirectoryToHaikuImage home config settings printers Preview
263	: home-config-settings-printers-preview.rdef ;
264AddDirectoryToHaikuImage home config settings printers "Save as PDF"
265	: home-config-settings-printers-save-as-pdf.rdef ;
266
267# dvb channel settings
268CopyDirectoryToHaikuImage home config settings Media
269	: [ FDirName $(HAIKU_TOP) data settings media dvb ]
270	: dvb : -x Jamfile ;
271
272# repository config and cache files
273local repositories = $(HAIKU_REPOSITORIES) ;
274if $(HAIKU_ADD_HAIKU_REPOSITORY_CONFIG) {
275	repositories += <repository>haiku ;
276}
277local repository ;
278for repository in $(repositories) {
279	local config = [ on $(repository) return $(HAIKU_REPOSITORY_CONFIG_FILE) ] ;
280	local cache = [ on $(repository) return $(HAIKU_REPOSITORY_CACHE_FILE) ] ;
281	if $(HAIKU_UPDATE_ALL_PACKAGES) {
282		HAIKU_INCLUDE_IN_IMAGE on $(config) $(cache) = 1 ;
283	}
284	AddFilesToHaikuImage system settings package-repositories
285		: $(config) : $(repository:G=) ;
286	AddFilesToHaikuImage system cache package-repositories
287		: $(cache) : $(repository:G=) ;
288}
289