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