Ticket #3798: 0002-Use-finer-grained-capability-indicators-for-HaikuIma.patch

File 0002-Use-finer-grained-capability-indicators-for-HaikuIma.patch, 5.5 KB (added by umccullough, 12 years ago)
  • build/jam/HaikuImage

    From cbb47ecd5bd3459acd840340a995313d1ce70d92 Mon Sep 17 00:00:00 2001
    From: Urias McCullough <umccullough@gmail.com>
    Date: Sat, 24 Nov 2012 09:35:09 -0800
    Subject: [PATCH 2/2] Use finer-grained capability indicators for HaikuImage targets
    
    * FFmpeg
    * OpenGL
    * FreeBSD Net Compat
    ---
     build/jam/HaikuImage |   67 ++++++++++++++++++++++++++++++++++---------------
     1 files changed, 46 insertions(+), 21 deletions(-)
    
    diff --git a/build/jam/HaikuImage b/build/jam/HaikuImage
    index b04d140..27f476f 100644
    a b if $(HAIKU_ATA_STACK) = 1 {  
    3030    IDE_ONLY = "" ;
    3131}
    3232
     33local FBSD_NET_ONLY = ;
     34if $(HAIKU_FREEBSD_NETWORK_COMPAT_ENABLED) = 1 {
     35    FBSD_NET_ONLY = "" ;
     36}
     37
     38local FFMPEG_ONLY = ;
     39if $(HAIKU_FFMPEG_ENABLED) = 1 {
     40    FFMPEG_ONLY = "" ;
     41}
     42
     43local OPENGL_ONLY = ;
     44if $(HAIKU_OPENGL_ENABLED = 1 {
     45    OPENGL_ONLY = "" ;
     46}
     47
    3348SYSTEM_BIN = "[" addattr alert arp base64 basename bash bc beep bfsinfo
    3449    cal cat catattr checkfs checkitout chgrp chmod chop chown chroot cksum clear
    3550    clockconfig cmp collectcatkeys comm compress copyattr CortexAddOnHost cp
    SYSTEM_BIN = "[" addattr alert arp base64 basename bash bc beep bfsinfo  
    7085
    7186SYSTEM_APPS = AboutSystem ActivityMonitor $(X86_ONLY)BootManager CharacterMap
    7287    CodyCam DeskCalc Devices DiskProbe DiskUsage DriveSetup CDPlayer Expander
    73     $(X86_ONLY)GLInfo Icon-O-Matic Installer LaunchBox Magnify Mail
     88    $(OPENGL_ONLY)GLInfo Icon-O-Matic Installer LaunchBox Magnify Mail
    7489    MediaConverter MediaPlayer MidiPlayer NetworkStatus PackageInstaller People
    7590    PoorMan PowerStatus ProcessController Screenshot ShowImage SoundRecorder
    7691    StyledEdit Terminal TextSearch TV WebWatch Workspaces
    SYSTEM_PREFERENCES = Appearance Backgrounds CPUFrequency DataTranslations  
    8095    Mouse Network Notifications Printers Screen ScreenSaver
    8196    Shortcuts Sounds Time Touchpad <preference>Tracker VirtualMemory
    8297;
    83 SYSTEM_DEMOS = BSnow Chart Clock Cortex FontDemo $(X86_ONLY)GLTeapot
    84     $(HAIKU_INCLUDE_TRADEMARKS)$(X86_ONLY)Haiku3d Mandelbrot OverlayImage Pairs
    85     Playground Pulse Sudoku
     98SYSTEM_DEMOS = BSnow Chart Clock Cortex FontDemo $(OPENGL_ONLY)GLTeapot
     99    $(HAIKU_INCLUDE_TRADEMARKS)$(OPENGL_ONLY)Haiku3d Mandelbrot OverlayImage
     100    Pairs Playground Pulse Sudoku
    86101;
    87102SYSTEM_LIBS =
    88103    libbe.so libbsd.so libbnetapi.so
    89104    libdebug.so libdevice.so
    90     libgame.so $(X86_ONLY)libGL.so $(X86_ONLY)libglut.so
    91     libgnu.so libmail.so libmedia.so libmidi.so libmidi2.so
     105    libgame.so $(OPENGL_ONLY)libGL.so $(OPENGL_ONLY)libglut.so libgnu.so
     106    libmail.so libmedia.so libmidi.so libmidi2.so
    92107    libnetwork.so
    93108    <revisioned>libroot.so libroot-addon-icu.so
    94109    libscreensaver.so
    SYSTEM_ADD_ONS_MEDIA = cortex_audioadapter.media_addon  
    148163    equalizer.media_addon
    149164    vst_host.media_addon
    150165;
    151 SYSTEM_ADD_ONS_MEDIA_PLUGINS = $(X86_ONLY)ffmpeg raw_decoder ;
     166SYSTEM_ADD_ONS_MEDIA_PLUGINS = $(FFMPEG_ONLY)ffmpeg raw_decoder ;
    152167SYSTEM_ADD_ONS_PRINT =
    153168    Canon\ LIPS3\ Compatible
    154169    Canon\ LIPS4\ Compatible
    SYSTEM_ADD_ONS_PRINT_TRANSPORT = HP\ JetDirect IPP LPR  
    163178    # Parallel\ Port
    164179    Print\ To\ File Serial\ Port USB\ Port
    165180;
    166 SYSTEM_ADD_ONS_SCREENSAVERS = Butterfly DebugNow $(X86_ONLY)Flurry
    167     $(X86_ONLY)GLife $(HAIKU_INCLUDE_TRADEMARKS)Haiku Icons IFS Leaves
     181SYSTEM_ADD_ONS_SCREENSAVERS = Butterfly DebugNow $(OPENGL_ONLY)Flurry
     182    $(OPENGL_ONLY)GLife $(HAIKU_INCLUDE_TRADEMARKS)Haiku Icons IFS Leaves
    168183    Message Spider ;
    169184SYSTEM_ADD_ONS_DRIVERS_AUDIO = auich auvia echo3g emuxki hda ice1712 sis7018 ;
    170185SYSTEM_ADD_ONS_DRIVERS_AUDIO_OLD = ; #cmedia usb_audio ;
    SYSTEM_ADD_ONS_DRIVERS_GRAPHICS = $(X86_ONLY)radeon $(X86_ONLY)nvidia  
    175190    $(X86_ONLY)intel_810
    176191;
    177192SYSTEM_ADD_ONS_DRIVERS_MIDI = emuxki ice1712 usb_midi ;
    178 SYSTEM_ADD_ONS_DRIVERS_NET = $(X86_ONLY)3com $(X86_ONLY)atheros813x
    179     $(X86_ONLY)ar81xx $(X86_ONLY)attansic_l1 $(X86_ONLY)attansic_l2
    180     $(X86_ONLY)broadcom440x $(X86_ONLY)broadcom570x $(X86_ONLY)dec21xxx etherpci
    181     $(X86_ONLY)ipro100 $(X86_ONLY)ipro1000 $(X86_ONLY)jmicron2x0
    182     $(X86_ONLY)marvell_yukon $(X86_ONLY)nforce $(X86_ONLY)pcnet pegasus
    183     $(X86_ONLY)rtl8139 $(X86_ONLY)rtl81xx $(X86_ONLY)sis19x sis900
    184     $(X86_ONLY)syskonnect usb_davicom usb_asix usb_ecm $(X86_ONLY)via_rhine
    185     $(X86_ONLY)vt612x wb840
     193SYSTEM_ADD_ONS_DRIVERS_NET = $(FBSD_NET_ONLY)3com
     194    $(FBSD_NET_ONLY)ar81xx $(FBSD_NET_ONLY)atheros813x
     195    $(FBSD_NET_ONLY)attansic_l1 $(FBSD_NET_ONLY)attansic_l2
     196    $(FBSD_NET_ONLY)broadcom440x $(FBSD_NET_ONLY)broadcom570x
     197    $(FBSD_NET_ONLY)dec21xxx
     198    etherpci
     199    $(FBSD_NET_ONLY)ipro100 $(FBSD_NET_ONLY)ipro1000
     200    $(FBSD_NET_ONLY)jmicron2x0
     201    $(FBSD_NET_ONLY)marvell_yukon
     202    $(FBSD_NET_ONLY)nforce
     203    $(FBSD_NET_ONLY)pcnet pegasus
     204    $(FBSD_NET_ONLY)rtl8139 $(FBSD_NET_ONLY)rtl81xx
     205    $(X86_ONLY)sis19x sis900 $(FBSD_NET_ONLY)syskonnect
     206    usb_asix usb_davicom usb_ecm
     207    $(FBSD_NET_ONLY)via_rhine $(FBSD_NET_ONLY)vt612x
     208    wb840
    186209
    187210    # WLAN drivers
    188     $(X86_ONLY)aironetwifi $(X86_ONLY)atheroswifi $(X86_ONLY)broadcom43xx
    189     $(X86_ONLY)iprowifi2100 $(X86_ONLY)iprowifi2200 $(X86_ONLY)iprowifi3945
    190     $(X86_ONLY)iprowifi4965 $(X86_ONLY)marvell88w8363 $(X86_ONLY)marvell88w8335
    191     $(X86_ONLY)ralink2860 $(X86_ONLY)ralinkwifi $(X86_ONLY)wavelanwifi
     211    $(FBSD_NET_ONLY)aironetwifi $(FBSD_NET_ONLY)atheroswifi
     212    $(FBSD_NET_ONLY)broadcom43xx $(FBSD_NET_ONLY)iprowifi2100
     213    $(FBSD_NET_ONLY)iprowifi2200 $(FBSD_NET_ONLY)iprowifi3945
     214    $(FBSD_NET_ONLY)iprowifi4965 $(FBSD_NET_ONLY)marvell88w8363
     215    $(FBSD_NET_ONLY)marvell88w8335 $(FBSD_NET_ONLY)ralink2860
     216    $(FBSD_NET_ONLY)ralinkwifi $(FBSD_NET_ONLY)wavelanwifi
    192217
    193218    # WWAN drivers
    194219    #$(GPL_ONLY)usb_beceemwmx