Can I use our PC with existing SCXI setup (conencted to a PC by PCI-MIO-16E4) and use one labview application to communicate with FP and SCXI systems at the same time?

We have an existing PC with SCXI setup. can i plug in a PCI-485/2 card connected to a FP-1001 network, and get both systems to be utilized in a single labview VI?

Yes, you can utilize both sets of resources (SCXI and FieldPoint) at the same time from the same VI.
If you were using the SCXI RS-485 interface, the SCXI and FieldPoint system would have to be on separate serial ports. Beyond that, there should be no real restrictions on accessing both of them.
Regards,
Aaron

Similar Messages

  • Some email was received and deleted by system at the same time

    Background:Email Server :Exchange 2007Client Outllok:2007/2013Recently,We got a problem case.Colleague A send a email (Subject A) to Colleague B,C,D,E and F at 6/29/2015 4:09 PM.After she send out this email,she send to one wrong recipient .and then she use re-call function for this email.Colleague A base on (Subject A ) and draft a new email (subject B) to Colleague B,C,D,E and G at 6/29/2015 4:12 PM.Colleague A also draft a new email (subject C ) to Colleague B,C,D,E and G at 6/29/2015 4:12 PM.Colleague B and C report they received all email.Colleague D and F said never got those email.After investigate on Colleague D and F 's outlook.I found those email in their deleted item but not in trash.The deleted time was same as received time.Does anyone know is that related to a bug or some settings?
    This topic first appeared in the Spiceworks Community

    Background:Email Server :Exchange 2007Client Outllok:2007/2013Recently,We got a problem case.Colleague A send a email (Subject A) to Colleague B,C,D,E and F at 6/29/2015 4:09 PM.After she send out this email,she send to one wrong recipient .and then she use re-call function for this email.Colleague A base on (Subject A ) and draft a new email (subject B) to Colleague B,C,D,E and G at 6/29/2015 4:12 PM.Colleague A also draft a new email (subject C ) to Colleague B,C,D,E and G at 6/29/2015 4:12 PM.Colleague B and C report they received all email.Colleague D and F said never got those email.After investigate on Colleague D and F 's outlook.I found those email in their deleted item but not in trash.The deleted time was same as received time.Does anyone know is that related to a bug or some settings?
    This topic first appeared in the Spiceworks Community

  • Suddenly I cannot select just one file in a folder, all of them get selected at the same time.  Happens in Lightroom also when scrolling through the filmstrip. what did I do?

    My Mac Pro is acting wonky all of a sudden. This all began after someone in my family spilled water on the keyboard and tried to clean it up while still turned on. I bought a new keyboard but now I cannot select just one file in a folder, all get selected. Same thing happens in Lightroom 3 when editing in the filmstrip mode, I cannot just select one photo, they all get selected. Plus, after awhile I cannot type in small letters either, just capitals. If I restart it is ok for about 15 minutes then the problems start. I did a reinstall of the OS but it is still happening. I zapped the pram, fixed permissions, etc but no luck. I am on a 2x2.4 GHz Quad-Core Intel Xeon machine with 900 gigs unused. Any suggestions? 

    Try also resetting smc.
    Also check your keyboard preferences.  And just to possibly reset some keyboard related caches and prefs you might go through the "Change Keyboard Type..." (Keyboard tab in the Keyboard preferences).

  • How can I merge all of the new FF windows that are open into one window with multiple tabs? Safari has a merge windows feature that I like. This is really nice when conducting reasearch on multiple sites at the same time.

    When I clik on weblinks they all open into new windows making it somewhat painful to clik on window in the menu bar to go to each new page. I would rather have a feature that would allow me to merge all of those individual windows into tabs within one page.
    == This happened ==
    Every time Firefox opened

    Thank you. That worked. I was able to open 1 window with multiple tabs. Thanks cor-el!

  • Running 2 Messenger systems at the same time

    Hey All,
    We are running Messenger 2.0 on Win 2003 currently. I am building a new 2008 R2 64 bit server and I want to
    install a new Messenger 2.2 on this (as well as a new eDir replica). The idea I have is to get the new one running
    and then cut the users over to it. The one snag I am having is that we archive the messages. I need to know if
    it is possible to move the archives from the old server to the new one. If not, is it possible to export the messages
    to be stored offline in a text format. Only about 6 users actually use Messenger so there won't be a huge about of
    archives to move or export.
    Anyone have any thoughts on this?
    Thanks!

    RJLayton,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Visit http://support.novell.com and search the knowledgebase and/or check all
    the other self support options and support programs available.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://forums.novell.com)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://forums.novell.com/faq.php
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://forums.novell.com/

  • How to use multiple languages at the same time for spell checking?

    I use two different languages all the time and words are mostly so different (English and Finnish) that I could have spell checking on for both languages at the same time.
    Now it seem to allow to select only one language at the time and I have to switch back and fort zillion of times per day.

    Thanks for the quick answer.
    The Dictionary Switcher doesn't seem to work with Finnish language, it doesn't detect it at all to be one of the choices although in the Firefox context menu Languages -> Finnish/Finland is shown.
    Also, if it would work, I would need to get rid of multiple EN_* langauges. I just need EN_UK or EN_US, not all 22 different EN_*.
    One option would be to create a custom dictionary, which would have words from both languages. The next task is then to find out how to make this kind of custom ENFI-dictionary, which would have words from both English and Finnish languages.
    Finnish may be a some kind of special case for spell checking anyway, because the support is in its separate plugin:
    http://voikko.sourceforge.net/

  • I want to have 2 windows open at the same time using Windows7

    Using any application, I want to have 2 windows open at the same time - 1 excel sheet & 1 Word document, or 2 diff pages from Blackboard, or email & Blackboard. How do I do this. Multiple tabs show, but only one will display

    Are you saying that you can't open a new window using {Ctrl + N} or with File > New Window?
    If so, something added to Firefox is blocking the opening of new windows, and you need to do a little troubleshooting to discover what is causing that fault.
    Try the Firefox SafeMode. <br />
    ''A troubleshooting mode, which disables most Add-ons.'' <br />
    ''(If you're not using it, switch to the Default Theme.)''
    # You can open the Firefox 4/5/6/7 SafeMode by holding the '''Shft''' key when you use the Firefox desktop or Start menu shortcut.
    # Or use the Help menu item, click on '''Restart with Add-ons Disabled...''' while Firefox is running. <br />
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before using the Firefox shortcut (without the Shft key) to open it again.''
    If it is good in the Firefox SafeMode, your problem is probably caused by an extension, and you need to figure out which one. <br />
    http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes

  • How to press 2 keys with "keyPress" event" at the same time?

    Hi~~
    I 'm now developing a Java Application that need to press 2 key(keyEvent) at the same time, but it seem not to work after trying.
    So, I wonder how to make it work?
    Thank~~

    You can use a "modifier" (Control, Alt, Shift) key in combination with a regular key, but you can't combine regular keys unless you add some custom logic.
    Basically in the keyPressed event you need to store the previous key that was pressed and add some comparison logic to see if the two keys you are monitoring where pressed back to back.

  • Which BW components must be upgraded at the same time as our BI 7?

    Hello,
    We have scheduled to upgrade our Javastack and BI 7 server to a more recent version (with the support pack preceding the last available one)
    Could someone tell me which component must be upgraded at the same time  of our javastack and SAP BW system ?
    Hereunder our current situation of BW Support package&javastack level:
    SAP_BASIS (SAP Basis Component)                700 0014
    SAP_ABA (Cross-Application Component)           700 0014
    ST-PI (SAP Solution Tools Plug In)                2005_1_700 0006
    PI_BASIS (PI_BASIS 2005_1_700)                2005_1_700 0014
    SAP_BW (SAP Netweaver BI 7.0)               700 0016
    FINBASIS (FINBASIS 600 : Add-On Supplement)          600 0011
    SEM-BW (SEM-BW 600: Add-On Supplement)          600 0011     
    ST-A/PI (Servicetools for the other App/Netweaver 04)     01J_BC0700 0000     
    BI_CONT (Business     Intelligence Content)          703 0008
    Javastack                         7.0 SP 14
    Thanks in advance
    Dominique

    if your SAP_BW support package level is 16. then java level also should be level 16.
    As you mentioned, you java stack level would be 14. so upgrade the level to level 16.
    Before upgrading please take up this point in mind. Now the latest level of SAP_BW is level 19
    so upgrade the BW system SAP_BW support package level to 19 and others SAP_BASIS and SAP_ABA would be 17.
    then upgrade the java stack level to 19.
    Hope this would help you.

  • How can i use both Windows and Mac os at the same time on my iMac

    How can i use both Windows and Mac os at the same time on my iMac

    You can use Parallels desktop or VM Fusion to run both operating systems at the same time. Both programs work well, but I personally perfer VM Fusion.

  • Need to dial 5 extensions at the same time in case of emergency

    Hi, our company uses Communications Manager 8.6.2 and has a requirement which I haven't been able to fill using normal methods.
    We need to call 5 mobile numbers at the same time when an emergency exists at our location.  Only one of the 5 called numbers has to respond to the call for help in our 3 km long, 2 kilometer wide company site.
    Thought 1 line number with remote destinations would work but this doesn't seem to handle multiple mobile numbers well. Strangely, it doesn't ring all lines at the same time. It will ring max 2 mobile phones at the same time in our test. There were enough free lines on the PMX to dial out to all phones during the test period.
    Doesn anyone have this situation and how did you handle it?
    Thanks,
    Randy

    Hi,  Thanks for the quick responce,  unfortunately we dont have contact center installed. Actually we would like one DN number for these 5 people, because these people are continually moving around their respective areas, there is no physical local endpoint.
    When the number is dialed it should ring out to the 5 mobile numbers, when one answers the others should stop ringing.
    We could in theory install the uccx solution but this will cost some time to get up and running and at present we do not have any additional need for uccx.
    Randy

  • WDS 2012 R2 - Cannot PXE multiple clients at the same time

    Hello All,
    This is my first post on here so I apologize if this is the wrong place.  I work for a school district and we are implementing WDS 2012 R2.  We've been extremely satisfied with the speeds and ease of use through unattend files.  However, for
    the past month I've been looking for a possible answer to a problem that has plagued us from day one of implementation.
    So here's the problem:
    I have a stand alone WDS server which is not a domain controller and is not our DHCP server.  I have IP helpers and broadcast forwarders setup on the network.  As well as option 66 and 67 in DHCP.  So far so good right!
    Well that's partially right.  When we boot one client at a time to the WDS server.  Everything works as intended.  We can TFTP the necessary files from the WDS server.  Everything boots up and we're off and running.
    However, if we boot up two or more clients at the same time.  The WDS server never responds to the traffic.  The clients get their DHCP information.  They start the referral and download from the WDS server, but get no response.  I'm
    really hoping that someone on here would have some insight of something I can try.  I've about exhausted my list of peers and contacts.  They're all stumped as well and were smart enough to stay with 2008 WDS.
    I would prefer to stick with 2012 R2 since it's setup and working for the most part.  With only this one hiccup.
    Thanks in advance for any guidance!

    Hello Daniel,
    I appreciate the reply and apologize for taking so long to get back to this.   Things have been a little hectic over here.
    I have tried everything on this forum and I am still unsuccessful in PXE booting multiple clients at the same time.
    Multicast is enabled on the server, and it works for the clients.  However, as stated in the original post.  I cannot boot multiple machines at the same time.  I can start them from the image selection screen around the same time though.  So,
    that appears to be working fine.

  • Can I have two versions of firefox at the same time?

    Hi,
    Probably a dumb question but can I have two versions of Firefox on my system at the same time?
    The reason is because of Add Ons that are not compatible with v4. I'd like to be able to close v4 when I need to use an Add On in v3.
    Thanks.

    You can install them both but there are a few steps to take.
    When you install Firefox 4 use the custom installation option and choose a different location to install Firefox.
    In order to use both versions, you need to create a new profile for Firefox 4 (Firefox stores user data in the profile). Using the same profile with different versions can cause problems. Once you create a new profile you can copy certain data such as bookmarks and passwords between them. You can also use Firefox Sync to keep the profiles synchronized. Finally, you will need to set up shortcuts to launch the correct profile for each version.
    The following links show how to do this:
    * http://kb.mozillazine.org/Creating_a_new_Firefox_profile_on_Windows
    * http://kb.mozillazine.org/Shortcut_to_a_specific_profile
    * http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox
    * https://addons.mozilla.org/firefox/addon/firefox-sync (only needed for Firefox 3.6, it is built into Firefox 4)

  • Is it possible to see two libraries via home sharing on a single ipad at the same time?

    I have an iMac with an itunes library (and unique Apple ID) and a MacBook Pro with a different itunes library (and different Apple ID).  I would like to see both libraries at the same time on my iPad.  So far, I have only been able to figure out how to see a single library at a time.  I see the library associated with the Apple ID entered in the home sharing setting.  Again, I want my ipad to see both libraries at the same time.  I don;t want to have to keep changing the Apple ID setting in home sharing on my ipad to see a different library.

    Use the same ID for homesharing on all devices, the ID used for homesharing does not need to be the same as the one used for the iTunes Store on each device.
    You will see both libraries in the sharing option and be able to load either without changing any settings. It won't however combine both libraries into one list of content.

  • [Solved?] Installing multiple versions of Firefox at the same time

    I would like to install the normal Firefox in the repositories and also firefox-pgo-minefield-smp from the AUR so that I may use either one as desired. 
    Looking at the current PKGBUILD from http://aur.archlinux.org/packages.php?ID=33506 (pkgbuild @ http://aur.archlinux.org/packages/firef … p/PKGBUILD ) I am thinking that perhaps I would modify this line:
    export LDFLAGS="-Wl,-rpath,/usr/lib/firefox-$_prever -Wl,-O1,--sort-common,--hash-style=gnu,--as-needed"
    to reflect the path where I would like to install it like so:
    export LDFLAGS="-Wl,-rpath,/opt/firefox-$_prever -Wl,-O1,--sort-common,--hash-style=gnu,--as-needed"
    And then presumably fix my symlink at /usr/bin/firefox to point back to /usr/lib/firefox-2.6 again. (and also fix the menu links and I realize I would have to use an ugly 'pacman -U tarball --force' to install it -- there's got to be a better way as that is very ugly and wrong surely???? Perhaps modify the pkgname as well as conflicts and provides so I could install it more normally?)
    Correct?  Would I also need to modify a prefix or such besides this and if so where in the pkgbuild (ideally) or source would you recommend (must I change the actual makefile or does my modification in the PKGBUILD take care of this?  Would you in your experience recommend another approach for this?
    I thought it wise to ask here before hacking away with this stuff and possibly hosing my system in unforeseen ways.   Please forgive my greenness.  I have spent a few hours researching this but still am not quite sure thus I ask. While I think I could do it with a straight compile with a modified configure I'm unsure of how to do it best using the arch tools...
    Thanks for your time.
    Last edited by davidm (2010-02-08 14:51:21)

    Basically solved but not yet mastered.
    So I've figured out how to do this, it works, but not yet optimally and I am unsure about some things.  Namely:
    [david@arch-desktop opt]$ ls -l /opt/bin
    total 0
    lrwxrwxrwx 1 root root 33 Feb 8 07:27 firefox -> /opt/lib/firefox-3.7a1pre/firefox
    [david@arch-desktop opt]$ ls -l /opt/lib
    total 8
    drwxr-xr-x 12 root root 4096 Feb 8 07:27 firefox-3.7a1pre
    drwxr-xr-x 3 root root 4096 Feb 8 07:27 firefox-devel-3.7a1pre
    [david@arch-desktop opt]$ ls -l /opt/lib/firefox-devel-3.7a1pre
    total 8
    lrwxrwxrwx 1 root root 25 Feb 8 07:27 bin -> /opt/lib/firefox-3.7a1pre
    lrwxrwxrwx 1 root root 31 Feb 8 07:27 idl -> /opt/share/idl/firefox-3.7a1pre
    lrwxrwxrwx 1 root root 29 Feb 8 07:27 include -> /opt/include/firefox-3.7a1pre
    lrwxrwxrwx 1 root root 39 Feb 8 07:27 lib -> /opt/lib/firefox-devel-3.7a1pre/sdk/lib
    drwxr-xr-x 3 root root 4096 Feb 8 07:27 sdk
    -rw-r--r-- 1 root root 2082 Feb 8 05:06 xpcom-config.h
    [david@arch-desktop lib]$ ls -l /opt/lib/firefox-3.7a1pre
    total 17428
    -rw-r--r-- 1 root root 2102 Feb 8 07:27 application.ini
    -rw-r--r-- 1 root root 2531 Feb 8 07:27 blocklist.xml
    -rw-r--r-- 1 root root 232 Feb 8 07:27 browserconfig.properties
    drwxr-xr-x 3 root root 4096 Feb 8 07:27 chrome
    drwxr-xr-x 2 root root 4096 Feb 8 07:27 components
    drwxr-xr-x 5 root root 4096 Feb 8 07:27 defaults
    -rw-r--r-- 1 root root 139 Feb 8 07:27 dependentlibs.list
    drwxr-xr-x 2 root root 4096 Feb 8 07:27 dictionaries
    drwxr-xr-x 3 root root 4096 Feb 8 07:27 extensions
    -rwxr-xr-x 1 root root 3913 Feb 8 07:27 firefox
    -rwxr-xr-x 1 root root 56788 Feb 8 07:27 firefox-bin
    -rw-r--r-- 1 root root 76888 Feb 8 07:27 greprefs.js
    drwxr-xr-x 2 root root 4096 Feb 8 07:27 icons
    -rwxr-xr-x 1 root root 1846520 Feb 8 07:27 libmozjs.so
    -rwxr-xr-x 1 root root 900176 Feb 8 07:27 libmozsqlite3.so
    -rwxr-xr-x 1 root root 11540 Feb 8 07:27 libxpcom.so
    -rwxr-xr-x 1 root root 14796800 Feb 8 07:27 libxul.so
    -rw-r--r-- 1 root root 30826 Feb 8 07:27 LICENSE
    drwxr-xr-x 2 root root 4096 Feb 8 07:27 modules
    -rwxr-xr-x 1 root root 3108 Feb 8 07:27 mozilla-runtime
    -rwxr-xr-x 1 root root 10720 Feb 8 07:27 mozilla-xremote-client
    -rw-r--r-- 1 root root 154 Feb 8 07:27 platform.ini
    drwxr-xr-x 2 root root 4096 Feb 8 07:27 plugins
    -rw-r--r-- 1 root root 177 Feb 8 07:27 README.txt
    -rw-r--r-- 1 root root 16712 Feb 8 07:27 removed-files
    drwxr-xr-x 6 root root 4096 Feb 8 07:27 res
    -rwxr-xr-x 1 root root 10370 Feb 8 07:27 run-mozilla.sh
    drwxr-xr-x 2 root root 4096 Feb 8 07:27 searchplugins
    [david@arch-desktop include]$ ls -l /opt/include
    total 80
    drwxr-xr-x 11 root root 77824 Feb 8 07:27 firefox-3.7a1pre
    It seems as though it is a bit messy, as if I have more than I need installed. Especially the two entries in /opt/lib/.  Do I really need all this?
    PKGBUILD:
    # Maintainer: Devin Cofer <ranguvar{AT]archlinux[DOT}us>
    # Contributor: blasse <koralik(at)gmail(dot)com>
    # PKGBUILD MODIFIED The above info does not apply. Modified by davidm for personal use, not intended for distribution.
    # This package is not a normal -hg package. I manually bump $_workingrev every now and again when
    # a revision of Firefox passes all of the Linux tests on http://bit.ly/1O4siz
    pkgname=firefox-electrolysis-nightly-opt
    pkgver=999901
    pkgrel=1
    _prever=3.7a1pre
    _workingrev='d2bed0c20e89'
    _mozver=central
    pkgdesc="Mozilla Firefox customizable web browser Electrolysis Nightly installed in opt (XULRunner independent, PGO optimized, 64-bit TraceMonkey, Dev tree, Multithreaded)"
    url="http://www.mozilla.org/projects/firefox"
    arch=('i686' 'x86_64')
    license=('MPL' 'GPL' 'LGPL')
    _soundsystem='alsa-lib' # 'alsa-lib' for ALSA, 'oss' for OSS
    makedepends=('mercurial' 'autoconf-compat' 'gcc>=4.4' 'zip' 'pkgconfig'
    'diffutils' 'libgnomeui>=2.24.1' 'python' 'wireless_tools')
    depends=('gtk2>=2.18.0' 'gcc-libs>=4.4' 'libidl2>=0.8.13' 'mozilla-common'
    'nss>=3.12.4' 'libxt' 'hunspell>=1.2.8' 'startup-notification>=0.10'
    'libnotify>=0.4' 'mime-types' 'dbus-glib>=0.82' 'desktop-file-utils'
    'cairo' ${_soundsystem})
    #provides=("firefox-electrolysis-nightly-opt=$_pkgver")
    #conflicts=('firefox-electrolysis-nightly-opt')
    install=$pkgname.install
    source=('mozconfig'
    'firefox-minefield-smp.desktop'
    'firefox-safe-minefield-smp.desktop'
    'fix-mozilla-launcher.patch'
    'mozilla-firefox-1.0-lang.patch'
    'ldflags-namespec.patch'
    'jemalloc-enable-pgo.patch'
    'potential-pgo-fix.patch')
    #Original hashes
    # sha256sums=('8d08ee111b88473a53e8c0852d463971af7a827f796a94d3fe74ca2eed76ca0b'
    # '21722965bb0bab05e3fbd2f584dbcaeb9f0726ed755f59bbf6fb26a7f964e6ec'
    # '00641e2d7ba45a607522a621aa86c21e13b2951ebca920b1e0b538b0e1188445'
    # 'd4948cc5878b2100b4d19b0fbc09119c34377593c5847678d5788db2b4e0fe43'
    # '0ca095ff2af57297f615877a7e79ddc84d1a3f62509a8af6ca50aad7a8671f6a'
    # '0e9631fdad5efa3fd7a95b59171f5d15420d10aa61748b920cc994ee9227915c'
    # 'e6b8345215eb0c595cadfd6b1abb3a12a1cad8b8b1f3528e6affc58900695215'
    # 'bf53a9712aada73dbecb45516bf932b52e7b8debf25cf19294adbfcc54d80028')
    #My MODIFIED HAshes
    md5sums=('ee857ec52fe3c7a047a282cfc5587d07'
    '68cf02788491c6e846729b2f2913bf79'
    '5e68cabfcf3c021806b326f664ac505e'
    '63eee2d1da3b43c9d604f2253f242f40'
    'bd5db57c23c72a02a489592644f18995'
    '9e461e5fc73b241d68d08be908405a5e'
    'df6fde73c9fdb38245f50b9b5bb09024'
    '9587e0e6da42c883e34a46ee35cc3b7d')
    # Don't use normal _hgroot/_hgrepo, we don't want Pacman automagically changing the pkgver.
    _ff_hgroot="http://hg.mozilla.org/projects/electrolysis"
    build() {
    msg "* Note: If the build fails, try again, try without jemalloc PGO, and try *"
    msg "* without PGO at all. Also, try with 'potential-pgo-fix.patch'. PGO can be *"
    msg "* temperamental -- it can sometimes take two or three builds before you'll *"
    msg "* get a good one. *"
    sleep 15
    cd "$srcdir"
    # It can take a long time to re-fetch the Mozilla source...
    # The commented lines are for use by experienced users who build often.
    hg clone "$_ff_hgroot/mozilla-$_mozver" "mozilla-$_mozver" || return 1
    # tar xf "$startdir/mozilla-$_mozver.tar.gz" || return 1
    cd "mozilla-$_mozver"
    # hg pull || return 1
    # hg update || return 1
    # cd ..
    # tar czf "$startdir/mozilla-$_mozver.tar.gz" "mozilla-$_mozver" || return 1
    # cd "mozilla-$_mozver"
    # hg up "$_workingrev" || return 1 # Comment out this line to use the untested latest source.
    cp "$srcdir/mozconfig" .mozconfig || return 1
    # Don't strip if the user doesn't want to... ;p
    if [ "$(check_option strip)" = "n" ]; then
    sed -i 's/--enable-strip/--disable-strip/' \
    .mozconfig || return 1
    sed -i 's/--enable-install-strip/--disable-install-strip/' \
    .mozconfig || return 1
    fi
    if [ "$_soundsystem" = "oss" ]; then
    msg "Using OSS instead of ALSA."
    sed -i 's/sydney_audio_alsa/sydney_audio_oss/' \
    media/libsydneyaudio/src/Makefile.in || return 1
    # Get rid of ALSA config system stuff (requires autoconf rerun)
    sed -i '/alsa\//d' config/system-headers || return 1
    sed -i '/alsa\//d' js/src/config/system-headers || return 1
    sed -i '/LIB(asound/d' configure.in || return 1
    fi
    msg "Patching source."
    msg "Patches from main Arch xulrunner/firefox packages..."
    # Fix stub launcher - Arch
    patch -Np0 -i "$srcdir"/fix-mozilla-launcher.patch || return 1
    # Use LANG environment variable to choose locale
    patch -Np1 -i "$srcdir"/mozilla-firefox-1.0-lang.patch || return 1
    msg "Patches from this package..."
    # PGO compilation LDFLAGS fix
    patch -Np1 -i "$srcdir"/ldflags-namespec.patch || return 1
    # Enable experimental PGO for jemalloc (speed).
    # See Mozilla bugs #418866 and #419470.
    patch -Np0 -i "$srcdir"/jemalloc-enable-pgo.patch || return 1
    # Sometimes necessary for PGO build to work, especially when PGO compile
    # aborts with an error about control sum mismatch (thx to methuselah!)
    # patch -Np1 -i "$srcdir/potential-pgo-fix.patch" || return 1
    msg "Setting up build."
    # Changing the user's optimization flags is justified, because this is
    # a package specifically for an optimized software build, and because of
    # the official branding, binaries can't be redistributed anyways.
    # These flags just set guidelines for the build, they are overridden in
    # most compile job pieces by Firefox's better judgement.
    #export CFLAGS="-march=native -O2 -pipe"
    #export CXXFLAGS="-march=native -O2 -pipe"
    export CFLAGS="-march=i686 -mtune=pentium4 -O2 -pipe -fomit-frame-pointer"
    export CXXFLAGS="-march=i686 -mtune=pentium4 -O2 -pipe -fomit-frame-pointer"
    # The hash-style and as-needed flags are in Arch defaults anyways,
    # and the other optimization falgs are almost definitely safe.
    export LDFLAGS="-Wl,-rpath,/opt/lib/firefox-$_prever -Wl,-O1,--sort-common,--hash-style=gnu,--as-needed"
    autoconf-2.13 || return 1
    msg "Actual build."
    # Yes, all this is SMP. MOZ_MAKE_FLAGS takes care of it.
    # Compile a non-PGO build first to reduce chance of error in PGO build.
    make -j1 -f client.mk build MOZ_MAKE_FLAGS="$MAKEFLAGS" || return 1
    # Comment out remaining lines for a non-PGO build.
    msg "Profiled build now."
    # Don't let PGO disrupt the user, use a virtual framebuffer.
    LD_PRELOAD="" /usr/bin/Xvfb -nolisten tcp -extension GLX :99 &
    XPID=$!
    DISPLAY=:99 LD_PRELOAD="" make -j1 -f client.mk profiledbuild \
    MOZ_MAKE_FLAGS="$MAKEFLAGS" || return 1
    kill -9 $XPID
    package() {
    cd "$srcdir/mozilla-$_mozver"
    make -j1 DESTDIR="$pkgdir" -C ff-pgo install || return 1
    # install -Dm644 "$srcdir/mozilla-$_mozver/other-licenses/branding/firefox/mozicon128.png" \
    # "$pkgdir/usr/share/pixmaps/firefox.png" || return 1
    # install -Dm644 "$srcdir/firefox--minefield-smp.desktop" \
    # "$pkgdir/usr/share/applications/firefox-minefield-smp.desktop" || return 1
    # install -Dm644 "$srcdir/firefox-safe-minefield-smp.desktop" \
    # "$pkgdir/usr/share/applications/firefox-safe-minefield-smp.desktop" \
    # || return 1
    # Remove devel stuff.
    rm -rf "$pkgdir/usr/include/"
    rm -rf "$pkgdir/usr/lib/firefox-devel-$_prever/"
    rm -rf "$pkgdir/usr/share/idl/"
    mozconfig:
    ac_add_options --enable-application=browser
    mk_add_options MOZ_CO_PROJECT=browser
    ac_add_options --prefix=/opt --libdir=/opt/lib
    ## System libs are preferred
    ac_add_options --with-system-nss --with-system-jpeg --with-pthread
    ac_add_options --with-system-zlib --with-system-libpng --with-system-bz2
    ac_add_options --enable-system-cairo --with-system-hunspell --with-system-sqlite
    ac_add_options --with-system-nspr
    ## GNU/Linux stuff
    ac_add_options --disable-installer --disable-updater
    ac_add_options --enable-official-branding
    ac_add_options --enable-startup-notification
    ## Optimize
    ac_add_options --disable-pedantic --enable-jemalloc --enable-xterm-updates
    ### Reverse these lines (enable vs disable) for a debug build
    ac_add_options --enable-optimize --disable-debug --disable-tests
    ac_add_options --enable-profile-guided-optimization
    ac_add_options --enable-strip --enable-install-strip
    ## Edit these as you see fit
    ac_add_options --disable-crashreporter --disable-parental-controls
    ac_add_options --enable-printing --enable-xinerama
    # Sane settings include cairo-gtk2-df, cairo-gtk2, and cairo-qt.
    ac_add_options --enable-default-toolkit=cairo-gtk2
    ac_add_options --enable-places --enable-svg --enable-pango --enable-canvas
    ac_add_options --enable-smil --disable-java-xpcom --enable-canvas3d
    # This is disabled in order to speed Firefox up, it prevents checking Google
    # for every single URL Firefox processes. If you're using this package, it's likely you already
    # know enough to be safe online, or are paranoid (perhaps with reason) about
    # Google getting your URLs. Also, this is GNU/Linux, we have somewhat less to fear ;-)
    ac_add_options --disable-safe-browsing
    mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/ff-pgo
    mk_add_options PROFILE_GEN_SCRIPT='$(PYTHON) $(MOZ_OBJDIR)/_profile/pgo/profileserver.py'
    export BUILD_OFFICIAL=1
    export MOZILLA_OFFICIAL=1
    mk_add_options BUILD_OFFICIAL=1
    mk_add_options MOZILLA_OFFICIAL=1
    # Want to change the compiler?
    #export CC='gcc-4.5'
    #export CXX='g++-4.5'
    ^ A dirty hack to download the latest nightly of the electrolysis tree, pgo optimized for an intel i686 P4 (not native to get around the seg fault bug). I just commented out the .desktop files as well as the icon for now. Also the conflicts and provides section have merely been commented out. The goal is to have this work independently from the standard firefox allowing me to run both on the system at the same time.
    Anyone see anything that I have missed and could fix as far as doing the separate install in /opt using makepkg and the pkgbuild?   I've been using arch less than a month and this is the first I've really hacked with a PKGBUILD and mozconfig so I feel I could really use the help. Any insight appreciated greatly.
    Last edited by davidm (2010-02-08 15:25:49)

Maybe you are looking for

  • Change Page Size Equally

    I'm working on a book that is 130 pages. It needs to print regualry (offset) and also needs to print digitally at a slightly reduced size -- original size is 6.5 x 9.25 in. The digital size will be 6.125 x 9.25. I know how to change a page size, but

  • How do I clear unread message in Apple Mail?

    Using Apple Mail 6.6 on a MacBook Pro running OX X 10.8.5.  Our Exchange server is 2007/2010. Besides my Exchange mail, I have 2 Gmail accounts and one iCloud account in Apple Mail.  I have no issues with the Gmail or iCloud accounts. Currently, I ha

  • Is there a way to show files in finder?

    I was wondering if there is a menu command [or even better, a keyboard shortcut] to view the actual file of a photo in the finder? Something very similar to what iTunes has when you choose 'Show Song File' or apple-R?

  • Is there a way to change the key photo on iPhoto Faces?

    Hi The picture on the corkboard for each person appears to be the first photo you identify for that person. Is there any way to change the key photo, like you can do with Events? Thanks Dave

  • Development Performance Guidlines

    Could you please send me information if you know about guidlines for J2EE developers regarding performance. We will develop client desktop application running in browser and communicating with application server BEA WebLogic.