I need a solution for node-webkit and libudev.so.0

Hello there!
I'm developing the package of node-webkit in the aur. Since the first time I had trouble with libudev.so.0. The first quick fix was to generate a symbolic link to libudev.so.1, but this is not the best way and can destabilize the system.
The symbolic link is the recommended workaround for this problem at the moment. I don't think there will be a fixed version in the near future. By reading the issues on the bugtracker of node-webkit I found a solution by using a start-script and rewrite the LD_LIBRARY_PATH. This variable is missing in Arch, so I thought, I can add a file into /etc/ld.so.conf.d/. It's not what I wanted, because the library is then globally accessible, but it works on my machine.
I think there must be a better solution. Best choice would be a shell startscript in my opinion, but I don't know how.
My own package of libudev.so.0 were be deleted with the comment: "it is not needed, you can just provide a symlink to libudev.so.1". One say this, another say whatever -.-0 It's annoying. I really want a solution!
Here is the PKGBUILD:
pkgname=node-webkit
pkgver=0.6.0
pkgrel=2
pkgdesc="node-webkit is an app runtime based on Chromium and node.js."
arch=("i686" "x86_64")
url="https://github.com/rogerwang/node-webkit"
license=("MIT")
depends=("alsa-lib" "gconf" "gtk2" "nss")
optdepends=("nodejs: npm package support"
"nw-gyp: native add-on build tool for node-webkit")
if [ "$CARCH" = "i686" ]; then
_arch="ia32"
sha256sums=(
"4b3f45cbb023d043955620a1f84b239249ac00a2649834c0c675d1574462f307"
"c77f5c8bcbce1c8f12d574538845ff5b467fd1acc9e5998f459abcf6b4b7fec3"
fi
if [ "$CARCH" = "x86_64" ]; then
_arch="x64"
sha256sums=(
"a8fb4c045cc5de78d1ac784c50c1eda986d6ccbe82778f6285c5da1bfceda64e"
"fe517d0cf7f374477fcbd654b57f1bc8660069c522625bb06f4d5fc565fdede3"
fi
source=(
"https://s3.amazonaws.com/${pkgname}/v${pkgver}/${pkgname}-v${pkgver}-linux-${_arch}.tar.gz"
"http://arm.konnichi.com/core/os/${CARCH}/udev-182-4-${CARCH}.pkg.tar.xz"
package() {
msg2 "create path and copy files"
mkdir -p $pkgdir/{etc/ld.so.conf.d,usr/{lib/${pkgname}/lib,bin}}
cp -R $srcdir/${pkgname}-v$pkgver-linux-$_arch/* $pkgdir/usr/lib/node-webkit/
msg2 "copy libudev.so.0.13.1 -> /usr/lib/node-webkit/lib/libudev.so.0"
cp $srcdir/usr/lib/libudev.so.0.13.1 $pkgdir/usr/lib/node-webkit/lib/libudev.so.0
echo "/usr/lib/${pkgname}/lib" > "$pkgdir/etc/ld.so.conf.d/${pkgname}.conf"
msg2 "symlink /usr/bin/nw -> /usr/lib/${pkgname}/nw"
ln -s "/usr/lib/${pkgname}/nw" "$pkgdir/usr/bin/nw"
msg2 "symlink /usr/bin/nwsnapshot -> /usr/lib/${pkgname}/nwsnapshot"
ln -s "/usr/lib/${pkgname}/nwsnapshot" "$pkgdir/usr/bin/nwsnapshot"
Last edited by blackcat (2013-06-21 22:10:55)

Do not use prebuilt binaries, but compile the package from source with the current libudev.
sha256sums=(SKIP)
source=("$pkgname::git+https://github.com/rogerwang/node-webkit.git#tag=nw-v$pkgver")
to build it in the PKGBUILD, use nw-gyp i guess.
Last edited by progandy (2013-06-21 22:54:36)

Similar Messages

  • Need a solution for integration BPM and UCM 11.1.1.4?

    Hi all,
    Currently, I am using BPM & SOA 11.1.1.4.
    Could somebody advise me a solution for integration BPM and UCM ?
    I heard somebody said that need to wait to BPM 11G patch set 5 (11.1.1.6) version, which have basic BPM and UCM integration and haven't to using external API like RIDC or CIS.
    Thanks & Regards.
    Ming Nguyen.

    Do not use prebuilt binaries, but compile the package from source with the current libudev.
    sha256sums=(SKIP)
    source=("$pkgname::git+https://github.com/rogerwang/node-webkit.git#tag=nw-v$pkgver")
    to build it in the PKGBUILD, use nw-gyp i guess.
    Last edited by progandy (2013-06-21 22:54:36)

  • Need a solution for multiple sites and multiple cameras

    Hello,
    I have a customer who has 3 different sites all in different locations. They are not connected through VPN however they do have a terminal server at the main location. They have 6 cameras total, 2 at each location. They are looking for a way to be able to connect all of these cameras to a centeral location (i.e. website, server, ect.) so that all 6 cameras can be viewed on the same screen by different users who would be given access. I am looking for the best solution working with a tight budget. Let me know your ideas and how you would implement it.
    Thanks!

    Ben,
    Normally when you have multiple cameras you would log into the web interface and change the http port of at least one of them. The default port is 80. We normally would change one camera to use http port 1024 and the second 1025. Then you simply forward port 1024 to the first camera and 1025 to the second in the router. Just remember that when you attempt to access the cameras after you change the port it will look like this: :1024">http://:1024 (locally and remotely) Please reply if you have further questions.

  • An SAP Solution for capital planning and Budgeting of Capital Assets?

    Is there an SAP Solution for the Planning and Budgeting of Capital Assets?
    A solution that provides planning, budgeting, and tracking for capital assets through the entire life cycle of each asset, from the initial request through the final disposal.
    The solution needs to be able to run “scenarios.” A scenario contains equipment that may potentially be purchased. Scenario items are used to help determine cost, capacity, and cash flow feasibility.

    Hi
    What you suggested is the ideal approach...
    However, if they say that the budget allocated to capital purposes (70%) applies to both capital projects and expenses and they would like to control it together, but have reports separately, it is not possible with standard SAP...
    If they want to have just one IO for both cap and exp, You can suggest them a work around to capture CAPITAL or EXPENSE in a ref field (XREF1 in BSEG) and you can run KOB1 with XREF1 displayed in it....
    In standard KOB1, XREF1 is not displayed, you have to use Exit COOMEP01 to include the fields you want... Add XREF1 to the Structure CI_RKPOS and write your code in the include ZXKAEPU01 of EXIT_SAPLKAEP_001
    Without an identifier @ the time of booking the transaction in the system (Either by way of IO or a ref field), you wont be able to generate reports later on
    Regards
    Ajay M

  • I need iOS 5 for "Drive Google" and " i Cloud" where and how do I get to download it?

    I need iOS 5 for "Drive Google" and " i Cloud" where and how do I get to download it?

    You have to update by using a computer via the latest version of iTunes. You can connect the iPad to your computer and launch iTunes. Select the iPad on the left side under the devices heading. Click on the Summary Tab on the right. Click on Check for Update.
    After you update to iOS 5 or later, you will have Software Update in you settings and can update via WiFi OTA. If you have the iPad 2 - you will be updating to iOS 6.0.1.
    If you have the original iPad - iOS 5.1.1 is as high as you can go.
    How to update to iOS 5 or later.
    http://support.apple.com/kb/HT4972

  • Upgrading from 10.4.11 to 10.7. What are the steps and do I also need to pay for 10.5 and 10.6 along the way?

    Hi. I wannt to upgrade from 10.4.11 to 10.7.
    What are the steps and do I also need to pay for 10.5 and 10.6 along the way?
    According to the 10.7 lion page on 'store' it says that you need 10.6 to use it does this mean I'm going to have to do 3 upgrades?
    Thanks

    Why do yoy want Lion/10.7???
    Anyway, if your Mac meets the requirements you can skip 10.5.x, and even 10.6.x if you can afford to erase all your data.
    Snow Leopard/10.6.x Requirements...
    General requirements
       * Mac computer with an Intel processor
        * 1GB of memory (I say 4GB at least)
        * 5GB of available disk space (I say 30GB at least)
        * DVD drive for installation
        * Some features require a compatible Internet service provider; fees may apply.
        * Some features require Apple’s MobileMe service; fees and terms apply.
    Which apps work with Mac OS X 10.6?...
    http://snowleopard.wikidot.com/
    It looks like they might still have it...
    http://store.apple.com/us/product/MC573Z/A?fnode=MTY1NDAzOA
    If it's a core Duo & not a Core2Duo, then it'll only run in 32 bit mode.
    Lion/101.7 System requirements
        •    x86-64 processor (Macs with an Intel Core 2 Duo, Intel Core i3, Intel Core i5, Intel Core i7, or Xeon processor.)
        •    At least 2GB of memory[14]
        •    Latest version of Mac OS X Snow Leopard (10.6.8), with the Mac App Store installed
        •    At least 4GB of disk space for downloading[14]
    Like Snow Leopard, Lion does not support PowerPC-based Macs (e.g., Power Macs, PowerBooks, iBooks, iMacs (G3-G5), eMacs).
    Lion also does not support 32-bit Intel Core Duo or Core Solo based Macs. Rosetta is no longer available in Lion, which means Lion no longer supports PowerPC applications.
    http://en.wikipedia.org/wiki/Mac_OS_X_Lion#System_requirements
    http://www.apple.com/macosx/how-to-buy/
    What applications are not compatible with Mac OS X 10.7 "Lion"?
    http://ow.ly/5Iz09
    http://roaringapps.com/apps:table

  • HT1495 I have moved to live in Abu Dhabi. I have an iPhone with UK chip that I need to keep for UK contact and business, but now want to buy an iPhone in Abu Dhabi with a UAE chip for local use in AUH. Can I have them both sync'd, and also my other device

    I have moved to live in Abu Dhabi. I have an iPhone with UK chip that I need to keep for UK contact and business, but now want to buy an iPhone in Abu Dhabi with a UAE chip for local use in AUH. Can I have them both sync'd, and also my other devices??

    SkyDaughter29 wrote:
    My current situation: I have soooo many texts on my iphone and I haven't deleted many because I need the information contained in them for future reference and for legal purposes.  I would really like to find a means and way to save them other than on the phone itself. I've done searches for various apps yet I'm not finding what I think I would need.  It appears Apple does not sync the texts between the iphone and my MacBook Pro.
    Try the computer apps PhoneView (Mac) or TouchCopy (Mac & PC):
    http://www.ecamm.com/mac/phoneview/
    http://www.wideanglesoftware.com/touchcopy/index.php
    Best of luck.

  • Satellite 1000-Z2: I need a driver for the display and the LAN

    Hi
    I have reformatted my laptop S1000-Z2, and I am having real trouble trying to find any information on this model !
    Basically I need a driver for the display, and the LAN ?
    Best Regards,
    Austin.

    What OS do you use???
    If you use the XP you will not find the LAN driver on the recommended driver site!
    I can not give you any advices where to find such driver because I dont know what LAN card is installed in your oldie.
    But why you dont check this yourself? Try to find out what LAN card you use and googel a little bit for compatible applications ;)

  • Solution for Slow Open and Save As Dialogs under 10.4.4

    I don't know how many others out there may be experiencing this, but...
    I noticed that -- after updating to 10.4.4 -- I started getting really long delays when accessing Open and Save As file dialogs -- I mean, sometimes it would take 5 to 15 seconds for the dialog to appear!
    I did a lot of troubleshooting, and finally hit upon the solution a couple of nights ago:
    It's the Desktop iDisk!
    Going into the .Mac Preference Pane and turning off "iDisk Syncing" has totally eliminated the slowdown.
    I think it has something to do with DiskMirrorAgent, since that has frozen on me a couple of times and prevented logoff until I force-quit it.
    'Hope this helps.
    -- Steve
    Late 2005 DC G5 2.3 GHz, 4 GB RAM   Mac OS X (10.4.4)  

    Hi Matt,
    One can always manually mount the iDisk when needed, and it still syncs, albeit in real time, and kind of herky-jerky.
    As for the slowdown when multiple items are mounted, I believe I'm describing a different issue, related to DiskMirrorAgent. If and when you get this slowdown (with desktop iDisk syncing enabled), check Activity Monitor, and you'll see DiskMirrrorAgent sucking up most of the CPU time for the time it takes before the dialog appears. My record time was about 25 seconds.
    As for slow Open and Save As dialogs when multiple items are mounted: I customarily have several external FireWire drives mounted, and often a couple of CDs and/or DVDs (I produce a radio program, and have several optical drives), and I have had no Open or Save As dialog slowdowns since at least 10.3.x, maybe earlier.
    Even when the dialog opens to a directory on a CD that has spun down, the opening time on an Open or Save As dialog is nearly instantaneous for me, suggesting that Mac OS X 10.4.x is doing a good job of caching the data.
    But I hear you about the "old days," when it used to take forever to get a dialog to appear, just because a CD was mounted! Maddening!
    -- Steve
    Late 2005 DC G5 2.3 GHz, 4 GB RAM   Mac OS X (10.4.4)  

  • Need a solution for my problem. My stuff seems to be gone.

    Hi. 
    I have an annoying problem which I solution for. When I started my laptop and logged in on my account, (there are two, my account's the administrator) everything on my desktop seemed to be deleted. But when i looked in C:/ it was still there, all the foto's
    music and stuff. Before the problem, i had a background for my desktop and many shortcuts. Now i dont have any shortcut and when i go to library's, it says that the folder is empty. But when i go to -DELL is my account- C:/Users/DELL/pictures, every picture
    seems to be there. What's also weird is that when i log on to the other account which isn't an administrator and which i don't use that often, nothing has changed. 
    PS: I have a windows 7 laptop
    Please help
    (sorry for bad english)

    Wahh Wahh stfu I never asked anyone to my work for
    me. All i asked for is help. If you read your first post and honestly consider it to be a reasonable request for help, rather than a lazy twat whining to have his work done for him, then you need even more help in basic communication than you do in computer science.
    Apparently the people
    that fill this board are just too good to help or put
    anyone in the right direction to help.And yet, thousands of people get lots of very good help here. So is it just random whim, or do the people who get help do something different than knobgobblers like you?

  • Need manual updates for 9.2 and 9.55 to do clean reinstall of acrobat 9.0 pro from cd

    I just did a new nstallation of acrobat V9.0 professional from CD:
    I need a link to the master incremental update for 9.2 and the master 9.55 incremental update that goes from V9.2 to V9.55
    I am looking for a master baseline release.
    My reinstall is on an old XPSP3 machine. When acrobat professional 9.0 goes away I will still need the incremental update from V9.0 to V9.55
    I do not need to put acrobat X or acrobat XI on this machine. A new acrobat X or acrobat XI license is for a new machine.
    I keep all my master and incremental updates in archival. That way i can rebuild my machine. 
    This is the way it is normally done.
    the autoinstaller jumped me from V9.0 on CD to V9.2 and from V9.2 to V9.55.
    I dont' see master releases in the table that do the same thing.
    there were only 2 updates.
    normally support would just send me a link out-of-band. i understand I need to send the request thru the forum
    many thanks!

    Most of the manual updates are not cummulative. It sounds like you did the updates from the help menu (and many of those are cummulative -- don't know why they are not available). You may be able to find the updates you used on your harddrive -- I have seen them before, but don't remember where, probably the users folder or such.

  • Needed configuration steps for sales operations and planning...............

    hi,
    sap gurus,
    good morning to all,
    my client says that on papers our target vs achievement is fixed that is for day wise, week wise,
    month wise and quarterly wise, 6 months wise and finally yearly wise.
    but
    when it comes to practical scenario, if delhi sales are booming like any thing and agra sales are
    falling then the material fixed for sending to agra will be turned to delhi and already delhi's target also
    will be there.
    some experts is saying we cannot have SOP here because we have tentative planning on papers and
    noting is fixed.
    suggest me on this because i am confused because some says that SOP is possible and some
    says that SOP is not possible.
    and also i am expecting better solution for this.
    regards,
    balaji

    hi,
    sap gurus,
    good morning to all,
    my client says that on papers our target vs achievement is fixed that is for day wise, week wise,
    month wise and quarterly wise, 6 months wise and finally yearly wise.
    but
    when it comes to practical scenario, if delhi sales are booming like any thing and agra sales are
    falling then the material fixed for sending to agra will be turned to delhi and already delhi's target also
    will be there.
    some experts is saying we cannot have SOP here because we have tentative planning on papers and
    noting is fixed.
    suggest me on this because i am confused because some says that SOP is possible and some
    says that SOP is not possible.
    and also i am expecting better solution for this.
    regards,
    balaji

  • Satellite A135-SP4088: Need XP drivers for power management and Hotkey utility

    Hello
    I couldn't find drivers for the toshiba A135-SP4088, we bought 3 of them for the office and it's almost impossible to use with vista, so we go to XP SP2, and manage to get almost all of the drivers from other models, but i cannot find 2 utilities that work with this machine, they are:
    Toshiba Power Management (the bulb in the task bar, remember?) :D
    Hotkey Utility (so I can change Screen brightness, and go to hibernation (Fn+F4)
    I have al the rest working, quite nicely but these two are a real problem, none of the ones I tested worked, some even crash the XP and have to go back to a previous restore point.
    also, I didn't install any ACPI drivers, are they required?, which ones show I look for? since the model doesn't exist in csd.toshiba.com site.
    Now, How one of the greatest notebooks manufacturers in the world can build such a nice computer without making drivers for the most widely used operating system?, can anyone explain me this because i sincerely don't understand it.
    thanks a lot!.
    Indkt.

    Hi
    The Satellite A135-SP4088 seems to be designed for the US market so you should use the Toshiba US driver page for the driver download!!!!
    But why you need the Toshiba power saver for XP? The XP supports an own power options and also the hibernation option. This option must be enabled in the control panel -> power options -> hibernate tab
    > didn't install any ACPI drivers, are they required
    Toshiba page does not provide any special ACPI drivers. The OS uses own Microsoft drivers and the installation of any 3rd applications is not necessary!!!!
    regards

  • Need OWA solution for Q10

    Our IT department only supports OWA for remote access to email. Activesync is not enabled and will not be enabled. POP and IMAP are also not allowed. I upgraded from my Bold to Q10 and now cannot access email remotely. Why is there no solution for this Blackberry? Below is from KB03133. Why is blackberry assuming IT departments will have activesync enabled.
    Note: BlackBerry 10 does not support integration of Outlook Web Access email accounts. However, most Outlook Web Access accounts will have Active Sync enabled. To determine if Active Sync is enabled and to confirm the settings, contact the IT administrator for the account.

    All the IT departments I know of either use BES exclusively or they enable ActiveSync. There is no other solution I know of for BlackBerrys. BB10 was designed specifically with AcitveSync in mind.

  • Airport Extreme with NTFS external HD solutions for both Mac and Windows

    I recently bought an apple extreme when friends who have them say you can shared both printers and external harddrives really easily. However, it seems I am unable to share my many NTFS harddrives. I see after searching forums that it does not support NTFS but does FAT32.
    One day I will convert all my home laptops to mac's but at the moment I am using XP and Vista for the time being so converting them to the apple format is not an option.
    The problem i have is that if I convert them to FAT32 then I will only be be to have ISO's that are less than 2gig in size, an only be able to format up to 30 gig. If I have a 500 gig disk I'll be left with 470 gig of wasted space that cannot be used.
    Can anyone suggest a good solution for me? perhaps someone has worked out how to format FAT32 greater than 30gb. or perhaps there is another disk format that would be better to use and can be read/write from XP/Vista PC as well as being recognised by Airport extreme. Any help would be good as I am reluctant to get a refund on it, but will have to if I can get it to work with large files/partitions.

    I think I answered my own question. I found this on the web:
    http://www.ridgecrop.demon.co.uk/index.htm?fat32format.htm
    Seems to suggest that using this third party exe to format it instead of windows inbuilt one will allow for partitions greater than 32GB. So this looks the way to go. And the 2GB limit per file is just for FAT16 not FAT32 apparently, but even if it is I only have a few iso/video files bigger than 2 gig so will just use a splitter on them.
    Hope this is useful to someone else

Maybe you are looking for