Celtx - Need guidance with first PKGBUILD

Ok, I decided to make my first PKGBUILD, and chose Celtx (http://celtx.com/) since it seems like a very useful tool, and not too complicated. 
I already installed it manually and it works fine. However, although they state it's open source, the sources aren't available on their website...only language-specific compiled packages. Can I make a package for the AUR without sources?
Anyway, these are the installation steps I had in mind: extract tar.gz to the /opt directory --> create a symlink for /opt/celtx/celtx in /usr/bin --> copy the license to its appropriate folder (/usr/share/licenses/celtx).
I think that's it. Am I missing something or trying to do something I shouldn't? It seems simple enough and I'm working on the PKGBUILD, but I would still like to know if I should even finish it based on my first question concerning the lack or sources.

Oh well, I finished before getting a response. Doesn't matter...I'm just glad I did something, regardless of how inconsequential. 
If anyone wants to take a look at it below, and point out any mistakes, I would be grateful. By the way, it does work. I built the package and installed it with pacman, and everything is where it should be, and it runs. 8)
pkgname=celtx
pkgver=0.9.8
pkgrel=1
pkgdesc="Pre-production software for film, video, theatre, and animation"
url="http://celtx.com/"
license="custom:CePL"
arch=(i686)
source=(http://www.celtx.com/download/Celtx.tar.gz)
md5sums=('f59759e16b3d64e3592aaf37641ee5b8')
build() {
mkdir -p $startdir/pkg/opt/
cp -R $startdir/src/$pkgname $startdir/pkg/opt/$pkgname/
mkdir -p $startdir/pkg/usr/bin/
ln -sf $startdir/pkg/opt/$pkgname/$pkgname $startdir/pkg/usr/bin/$pkgname
mkdir -p $startdir/pkg/usr/share/licenses/custom/$pkgname
cp $startdir/license.txt $startdir/pkg/usr/share/licenses/custom/$pkgname/

Similar Messages

  • Need help with first applescript@Quicktime- can't figure out a few lines...

    Ok guys I need help, here is what I want to happen. I want the script to just shorten a movie file. It should be so simple!!
    lengthofmovie = film length
    set time range from 0 to (lengthofmovie-1)
    save the movie as a new file
    That is all I want done, I am ripping my hair out of my head trying to do this. Please help me!!
    Here is my code so far:
    with timeout of 86400 seconds
    display dialog "Before beginning batch processing, make sure QuickTime Player is set to the desired export settings, and all videos to be processed are in a folder named ‘Input’ on the desktop." with icon note
    tell application "Finder"
    set the startup_disk to the name of the startup disk
    end tell
    set user to do shell script "whoami"
    set inputfoldername to "Input"
    set input_folder to startup_disk & ":Users:" & user & ":Desktop:" & inputfoldername & ":"
    set user_desktop to startup_disk & ":Users:" & user & ":Desktop:"
    set output_folder to startup_disk & ":Users:" & user & ":Desktop:Output:"
    set file_extension to "_export.mp4"
    try
    tell application "Finder"
    make new folder at user_desktop with properties {name:"Output"}
    end tell
    end try
    try
    set thefolderlist to list folder input_folder without invisibles
    repeat with x from 1 to count of thefolderlist
    set the_file to input_folder & item x of thefolderlist
    set output_file to output_folder & item x of thefolderlist & file_extension
    tell application "QuickTime Player"
    activate
    open the_file
    //change timeline, trim NEED HELP HERE
    export front document to output_file as MPEG4 using most recent settings with replacing
    close front document
    end tell
    end repeat
    on error
    display dialog "This script requires a folder named ‘" & inputfoldername & "‘ located on the desktop." with icon stop
    end try
    beep
    end timeout

    Hi plashd,
    First, I must confess that I don't know much about QuickTime. Nevertheless, while trying to understand your problem, I discovered that the AppleScript dictionaries of QuickTime Player and QuickTime 7 were very different from one another, and was unable to use the “export” command of QuickTime Player. However, I finally was able, with the following script, to use AppleScript to shorten a QuickTime movie and save it under another name:
    *set the_file to POSIX file "/Users/pierre/Desktop/MVI_0503.MOV"*
    *set output_file to "/Users/pierre/Desktop/NewMVI0503.MOV"*
    *tell application "QuickTime Player"*
    activate
    *open the_file*
    *tell front document*
    *trim from 1 to (duration - 5)*
    *save in output_file with replacing*
    *close without saving*
    *end tell*
    *end tell*
    Hope it can help.

  • Need Help with Java PKGBUILD

    I'm hoping to get some assistance from any experienced Java package builders here.
    I uploaded a PKGBUILD for atunes (http://aur.archlinux.org/packages.php?d … 1&ID=11907) a little while ago , and initially installed all of the files under /opt. Then I ran into the Java Package Guidelines, and have been trying to adapt the PKGBUILD since then, but it's not going so well. It's my first Java PKGBUILD, and although I've read and basically understand the guidelines, I'm not sure if this is one of those more complicated packages that should be installed to /opt.
    So, if anyone is familiar with properly installing Java packages, and could help me sort out where things go, I would be eternally grateful (well, maybe not so much, but grateful nonetheless).
    Last edited by Borosai (2007-07-17 12:04:15)

    You didn't say on which line the exception occurred. But I'll guess.
    Class.forName( "com.mysql.jdbc.Driver" ).newInstance();I'm guessing this line is not the one, so this indicates you did install it correctly (otherwise you would have gotten a NoClassDefFoundError or similar).
    jdbcConnection = DriverManager.getConnection("jdbc:mysql://web1.uits.uconn.edu", "hr", "mytest");I'm guessing this is the line that threw the latest exception. If so, then it would indicate your JDBC URL is incorrect.
    This would have nothing to do with installing it on XP though.

  • Need Guidance with OSX / SSD / Data Transition

    My 2008 24" iMac desktop died on me recently (logic board, RIP), and I obtained a late 2011 Macbook Pro to replace it.
    The iMac was running OS 10.6.8, the Pro is on Yosemite.
    I salvaged the iMac HDD, installed it in an external enclosure, and am presently running the Pro off that drive.
    I also have a separate G-Drive mini, daisy chained with the old HDD, and it has time machine backups of that drive.
    It is not my intention to continue this arrangement; it is a laptop after all ;-)
    I am considering replacing the HDD on the Pro with a new SSD (Crucial MX200, or Samsung 850, open to input here).
    What are the most efficient steps to get to the endpoint of the Macbook Pro with new SSD running Yosemite with my data from the old drive transitioned?
    FYI I am not terribly familiar with formatting / partitioning drives.
    Thanks in advance for suggestions/guidance.

    Hi there,
    You have to implement your own JTable. I never had to deal with JTable before but here is how you could start...
    public class MyJTable {
      public MyJTable() {
        //modify the behavior here...
      public void paintComponent(Graphics g) {
        //paint your JTable the way you want... 
    }The performance may be an issue if you will use animations. Let me know if you need any more help.
    Berk Can Celebisoy

  • Need guidance with what settings to use

    I play in a band and am trying to put together video to run while we are on stage.
    I'm using a Macbook with FCE and using this projector:
    http://www.projectorcentral.com/NEC-NP100.htm
    I'm taking clips from DVDs (read: NOT shooting video) and pasting them together. Yesterday I spent most of my day putting together scrolling titles on a plain black background, only to find at the end of all that work, that once you transfer the video to Quicktime and playback on full screen, the work was unusable due to how distorted the words were once shown on full screen.
    I'm guessing I need to adjust my setting prior to re-doing all of yesterdays work, but given the number of options, I'm having a hard time deciding on which option would best give me the results I need based on the set up I'm running.
    Can anyone shed some light before I burn another day?

    Exfat doesnt have that limit.
    What are you going to use the HD WITH? thats the important question.
    FORMAT TYPES
    FAT32 (File Allocation Table)
    Read/Write FAT32 from both native Windows and native Mac OS X.
    Maximum file size: 4GB.
    Maximum volume size: 2TB
    You can use this format if you share the drive between Mac OS X and Windows computers and have no files larger than 4GB.
    NTFS (Windows NT File System)
    Read/Write NTFS from native Windows.
    Read only NTFS from native Mac OS X
    To Read/Write/Format NTFS from Mac OS X, here are some alternatives:
    For Mac OS X 10.4 or later (32 or 64-bit), install Paragon (approx $20) (Best Choice for Lion)
    Native NTFS support can be enabled in Snow Leopard and Lion, but is not advisable, due to instability.
    AirPort Extreme (802.11n) and Time Capsule do not support NTFS
    Maximum file size: 16 TB
    Maximum volume size: 256TB
    You can use this format if you routinely share a drive with multiple Windows systems.
    HFS+ ((((MAC FORMAT)))) (Hierarchical File System, a.k.a. Mac OS Extended (Journaled) Don't use case-sensitive)
    Read/Write HFS+ from native Mac OS X
    Required for Time Machine or Carbon Copy Cloner or SuperDuper! backups of Mac internal hard drive.
    To Read HFS+ (but not Write) from Windows, Install HFSExplorer
    Maximum file size: 8EiB
    Maximum volume size: 8EiB
    You can use this format if you only use the drive with Mac OS X, or use it for backups of your Mac OS X internal drive, or if you only share it with one Windows PC (with MacDrive installed on the PC)
    EXFAT (FAT64)
    Supported in Mac OS X only in 10.6.5 or later.
    Not all Windows versions support exFAT. 
    exFAT (Extended File Allocation Table)
    AirPort Extreme (802.11n) and Time Capsule do not support exFAT
    Maximum file size: 16 EiB
    Maximum volume size: 64 ZiB
    You can use this format if it is supported by all computers with which you intend to share the drive.  See "disadvantages" for details.

  • Help with first PKGBUILD

    Hi there,
    I'm fairly new to Arch but I've been using linux for a good few years now. I'm trying to patch a version of Wine to fix some of the issues with source games. It's complicated a bit by the fact I'm on a 64 bit install of Arch.
    I've build myself a 32 bit chroot of the arch system and installed the required packages and compiled my nice new patched version of Wine. I've even managed to test it as Wine is good at running in situe and was pleased to get a good 20% framerate increase.
    So now I'm wanting to install the result but I'm not sure how best to go about creating a PKGBUILD or how the 64 bit / 32 bit thing will effect it.
    Any advice would be welcome.

    # Maintainer: Michael Green <[email protected]>
    pkgname=bin32-wine-source
    _pkgname32=wine-source
    pkgver=1.2
    pkgrel=1
    _pkgrel32=1
    pkgdesc="Windows API implementation and interpreter, enabling the use of Windows apps in other OSes. Contains rgb<->srgb patch for source games."
    arch=('x86_64')
    url="http://www.winehq.org/"
    license=('LGPL')
    depends=('lib32-fontconfig' 'lib32-freetype2' 'lib32-libjpeg' 'lib32-libtiff' 'lib32-libldap' 'lib32-libxslt' 'lib32-mesa' 'lib32-zlib')
    optdepends=('lib32-alsa-lib: ALSA audio driver'
    'lib32-openal: OpenAL native driver'
    'lib32-esound: EsounD audio driver'
    'lib32-nvidia-utils: Accelerated 3D with the NVIDIA binary blob video driver'
    'lib32-catalyst-utils: Accelerated 3D with the AMD/ATI binary blob video driver')
    provides=("bin32-wine=$pkgver" "bin32-wine")
    conflicts=("bin32-wine")
    source=("/chroot/home/mikey/src/wine-$pkgver/$_pkgname32-$pkgver-$_pkgrel32-i686.pkg.tar.gz")
    md5sums=(6717c23b1bee9812de57c71f2f1810a0)
    # Don't strip the package, that was already decided on packaging of the original package
    options=('!strip')
    build() {
    rm "$_pkgname32-$pkgver-$_pkgrel32-i686.pkg.tar.gz" || return 1 # Delete symbolic link to the now-extracted source that we don't want to copy
    cp -rfpP * "$pkgdir" || return 1 # Copy 32-bit files
    install -d "$pkgdir"/opt/lib32/usr/lib/
    mv "$pkgdir"/usr/lib/libwine.so* "$pkgdir"/opt/lib32/usr/lib/ || return 1
    cd "$pkgdir"/usr/bin/
    # DIRTY PKGBUILD TOUCHING YOUR /bin (force loading old LD_LIBRARY_PATH without moving wine binaries, as they seem to break)
    install -d "$pkgdir"/opt/wine/bin/ "$srcdir"/tmpscripts/
    for binfile in ${_binnames[*]}; do
    echo -e \
    '#!/bin/sh\n#wrapper for replacename\nPATH="/opt/wine/bin/:$PATH"\nLD_LIBRARY_PATH="/opt/lib32/usr/lib/:/opt/lib32/lib/:$LD_LIBRARY_PATH" linux32 /usr/bin/replacename "$@"' \
    > "$srcdir/tmpscripts/$binfile" || return 1
    sed -re "s/replacename/$binfile/" -i "$srcdir/tmpscripts/$binfile" || return 1
    install -m755 "$srcdir/tmpscripts/$binfile" "$pkgdir/opt/wine/bin/$binfile" || return 1
    done
    rm -rf "$srcdir"/tmpscripts
    # PPD fix
    mkdir -p "$pkgdir"/opt/lib32/usr/share/
    ln -s /usr/share/wine "$pkgdir"/opt/lib32/usr/share/wine || return 1
    echo "export WINELOADER=/opt/wine/bin/wine" > "$srcdir"/wine.sh || return 1
    echo '#export LD_LIBRARY_PATH="/opt/lib32/lib/:/opt/lib32/usr/lib/:$LD_LIBRARY_PATH"' >> "$srcdir"/wine.sh || return 1
    echo 'export PATH="/opt/wine/bin:$PATH"' >> "$srcdir"/wine.sh || return 1
    install -Dm755 "$srcdir"/wine.sh "$pkgdir"/etc/profile.d/wine.sh || return 1
    This is my best shot. It's based on the PKGBUILDs for the other bin32-wine variants. I've tried to make my source as similar to the one they use as possible by as chroot:
    $./configure --prefix=/usr
    $make
    $make DESTDIR=/home/mikey/src/wine-1.2/package/ install
    $cd /home/mikey/src/wine-1.2/package/
    $tar zcvf ../wine-source-1.2-1-i686.pkg.tar.gz *
    Then exiting chroot and trying makepkg on my PKGBUILD. It installs but it's giving me an error when I try to run wine:
    wine: failed to initialize: /usr/local/lib/wine/ntdll.dll.so: cannot open shared object file: No such file or directory
    I'm not sure why  this is but I suspect it's got something to do with the fact I did ./configure --prefix=/usr
    Does anyone know what it'll be?
    (edit) I've just noticed that it seems to be a more fundamental problem as it's looking for /usr/local which I didn't give it.
    (edit) OK a bit more digging around and as it turned out there were direct references to /usr/local in some of the Wine scripts that were getting installed. A find and replace with sed during the install sorted it.
    Last edited by mikeym (2010-07-25 03:11:12)

  • Need guidance with small program... Beginner Java Programming

    Hey guys im new to Java... Im currently a high school student and we've been learning java for a while now.
    I am currently doing an out of class assignment meaning im doing it for my own benefit since programming is my future job and passion and love, haha.
    I recently bought the Head First Java 2nd edition and need to do this following program:
    Expected output:
    %java EchoTestDrive
    helloooo...
    helloooo...
    helloooo...
    helloooo...
    10
    My following code:
    public class Echo
    int count = 0;
    void hello(){
    System.out.println("helloooo... ");
    public class EchoTestDrive
    public static void main(String [] args){
    Echo e1 = new Echo();
    Echo e2 = new Echo();
    int x = 0;
    while( x < 4 ){    
    /** We want this to be 4 so it loops around 4times to get (hello... ) x 4 ? - in the out put? */
    e1.hello();
    e1 = e2;
    if( x==4){
    e2.count = e2.count + e1.count;
    x = x + 1;
    System.out.println(e2.count);
    My output:
    helloooo...
    helloooo...
    helloooo...
    helloooo...
    0 <--- I am unsure what I am doing wrong because I cant seem to get this number to change at all....
    Their template ( It was a fill in the blank ):
    public class EchoTestDrive
    public static void main(String [] args){
    Echo e1 = new Echo();
    int x = 0;
    while(_________){
    e1.hello();
    if(___________){
    e2.count = e2.count + e1.count;
    x = x + 1;
    System.out.println(e2.count);
    class ________ {
    int______ = 0;
    void ______ {
    System.out.println("helloooo... ");
    Thanks fellow programmers and thanks for the assistance. To a bright future! :)
    P.S. Is there a tip to figure out how to read the following output or what you will get without using the computer? It will be very helpful if you can describe what each part is doing.

    public class Echo
        int count = 0;
        void hello(){
            System.out.println("helloooo... ");
    public class EchoTestDrive
       public static void main(String [] args){
           Echo e1 = new Echo();
           Echo e2 = new Echo();
           int x = 0;
           while( x < 4 ){
               e1.hello();
               e1 = e2;
               // I intended to use this code because e1 is referring the Class Echo ->"hello()"
               // in the code above.  I was intending to make them both refer to that.
               // This way it print hello... 4 times when it goes in the loop.
               e1.count = e1.count + 1;
           if( x==4){
               e2.count = e2.count + e1.count;
            x = x + 1;
        System.out.println(e2.count);
    }Edited by: Darryl Burke -- broke a long comment that was breaking the page formatting in some browsers

  • Need guidance with animated table

    Hi,
    I believe I need to write my own custom table drawer. The requirements of the table:
    Main one that differ from JTable
    Cells can scroll to the left or right and up or down on key press(animated-not simply changing the cell values)
    An example is the TV guide channel only mine will also scroll left and right.
    Standard table stuff
    Cells can have images and/or text
    Cells bgcolor can be modified
    Cells can span multiple columns.
    Any cell can be selected/highlighted
    All cells content must be antialiased
    Can someone please give me some direction on how to do this? Should I just start hacking away using the standard Graphics2D class? How should I handle the scrolling? Can I somehow use the JTable class with animated scrolling? I'm just worried about efficiency if I create my own class with the Graphics2D class. The table will usually be about 100 rows by 5 columns full of data (text and images).
    Thanks, sorry for sounding somewhat newbish :)

    Hi there,
    You have to implement your own JTable. I never had to deal with JTable before but here is how you could start...
    public class MyJTable {
      public MyJTable() {
        //modify the behavior here...
      public void paintComponent(Graphics g) {
        //paint your JTable the way you want... 
    }The performance may be an issue if you will use animations. Let me know if you need any more help.
    Berk Can Celebisoy

  • Need guidance with Flex Component Kit

    Hi,
    I have installed Flash CS3 <no extension manager> and
    Flex 3 builder. I want to import movie clips I made in Flash in to
    Flex builder. Please guide me exactly which patches and software do
    I need exactly and the process of importing these assets.
    Thanks.

    This is documentation:
    http://blogs.adobe.com/flexdoc/pdf/swf9.pdf
    http://opensource.adobe.com/wiki/display/flexsdk/Flex+Component+Kit+Specification
    http://blogs.adobe.com/flexdoc/2007/08/using_the_flex_component_kit_f_1.html
    And here you can download the Kit:
    https://www.adobe.com/cfusion/entitlement/index.cfm?e=flex_skins
    Also to install this Kit you must first download and install
    Adobe Extension Manager:
    http://www.adobe.com/exchange/em_download/

  • My start up disk Macintosh HD is full on my McAir OSX 10.9.4 memory 4GB. I need to clear the disk so that I can update it with the new software IOS 10.9.5 requiring 2.05GB. Need guidance on how to clear space.

    My start up disk Macintosh HD is full on my McAir OSX 10.9.4 memory 4GB. I need to clear the disk so that I can update it with the new software IOS 10.9.5 requiring 2.05GB. Need guidance on how to clear space.

    For information about the Other category in the Storage display, see this support article. If the Storage display seems to be inaccurate, try rebuilding the Spotlight index.
    Empty the Trash if you haven't already done so. If you use iPhoto, empty its internal Trash first:
              iPhoto ▹ Empty Trash
    Do the same in other applications, such as Aperture, that have an internal Trash feature. Then restart the computer. That will temporarily free up some space.
    According to Apple documentation, you need at least 9 GB of available space on the startup volume (as shown in the Finder Info window) for normal operation—not the mythical 10%, 15%, or any other percentage. You also need enough space left over to allow for growth of the data. There is little or no performance advantage to having more available space than the minimum Apple recommends. Available storage space that you'll never use is wasted space.
    When Time Machine backs up a portable Mac, some of the free space will be used to make local snapshots, which are backup copies of recently deleted files. The space occupied by local snapshots is reported as available by the Finder, and should be considered as such. In the Storage display of System Information, local snapshots are shown as  Backups. The snapshots are automatically deleted when they expire or when free space falls below a certain level. You ordinarily don't need to, and should not, delete local snapshots yourself. If you followed bad advice to disable local snapshots by running a shell command, you may have ended up with a lot of data in the Other category. Ask for instructions in that case.
    See this support article for some simple ways to free up storage space.
    You can more effectively use a tool such as OmniDiskSweeper (ODS) or GrandPerspective (GP) to explore the volume and find out what's taking up the space. You can also delete files with it, but don't do that unless you're sure that you know what you're deleting and that all data is safely backed up. That means you have multiple backups, not just one. Note that ODS only works with OS X 10.8 or later. If you're running an older OS version, use GP.
    Deleting files inside an iPhoto or Aperture library will corrupt the library. Any changes to a photo library must be made from within the application that created it. The same goes for Mail files.
    Proceed further only if the problem isn't solved by the above steps.
    ODS or GP can't see the whole filesystem when you run it just by double-clicking; it only sees files that you have permission to read. To see everything, you have to run it as root.
    Back up all data now.
    If you have more than one user account, make sure you're logged in as an administrator. The administrator account is the one that was created automatically when you first set up the computer.
    Install the app you downloaded in the Applications folder as usual. Quit it if it's running.
    Triple-click anywhere in the corresponding line of text below on this page to select it, then copy the selected text to the Clipboard by pressing the key combination command-C:
    sudo /Applications/OmniDiskSweeper.app/Contents/MacOS/OmniDiskSweeper
    sudo /Applications/GrandPerspective.app/Contents/MacOS/GrandPerspective
    Launch the built-in Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window by pressing command-V. You'll be prompted for your login password, which won't be displayed when you type it. Type carefully and then press return. You may get a one-time warning to be careful. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator. Ignore any other messages that appear in the Terminal window.
    The application window will open, eventually showing all files in all folders, sorted by size. It may take a few minutes for the app to finish scanning.
    I don't recommend that you make a habit of doing this. Don't delete anything as root. If something needs to be deleted, make sure you know what it is and how it got there, and then delete it by other, safer, means. When in doubt, leave it alone or ask for guidance.
    When you're done with the app, quit it and also quit Terminal.

  • Help with my first PKGBUILD script [solved]

    Hi There
    I am trying to write my first PKGBUILD script and I am landing in a bit of trouble.  The script is short and is:
    #Contributor: iKevin <kellwood-at-ameritech.net>
    pkgname=fpm
    pkgver=0.60
    pkgrel=1
    pkgdesc="A password manager for gnome"
    url="http://fpm.sourceforge.net"
    license="GPL"
    depends=('xorg' 'gtk' 'glibc' 'libgnome' 'libxml2' 'glib')
    source=(http://heanet.dl.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
    md5sums=(be7655d300c306c8f962f6aad0a60cc5)
    build() {
    cd $startdir/src/$pkgname-$pkgver
    ./configure --prefix=/usr
    make || return 1
    mkdir -p $startdir/pkg/usr/bin
    make prefix=$startdir/pkg/usr install
    I haven't reach the point where it compiles.  It failes to download the file.  Oddly, when I type:
    wget http://heanet.dl.sourceforge.net/source … .60.tar.gz
    it downloads fine.  When running makepkg, the contents of ./src/fpm-0.60.tar.gz is some kind of web page.
    I have eyeballed this PKGBUILD script for a while and I can't see any problems.  Is there something special about sourceforge files?  I feel that I must have a typo because makepkg is using wget, which works by hand.
    Thanks
    Kev

    Well,
    I installed kedpm with my first working PKGBUILD script.  I was able to import my "fpm" password file.  Once I get my gnucash stuff transfered into grisbi, I will be able to switch my main machine completely to archlinux.
    I know it is trivial for you guys, but here is my script -- it might save you some typing.
    Kev
    pkgname=kedpm
    pkgver=0.4.0
    pkgrel=1
    pkgdesc="Ked Password Manager helps to manage large amounts of passwords and related information"
    url="http://kedpm.sourceforge.net/"
    depends=(python pygtk pycrypto)
    makedepends=()
    conflicts=()
    replaces=()
    backup=()
    install=
    source=(http://dl.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
    md5sums=('6b83a646873f8ea00af9c6403aa259bc')
    build() {
    cd $startdir
    mkdir -p pkg/usr
    cd $startdir/src/$pkgname-$pkgver
    python setup.py install --prefix=$startdir/pkg/usr

  • Need help with a slow mid-2009 MBP

    Hello - I have read various threads on the subject of slow running MBP's and have attached Etrecheck results. I am running Yosemite and have the latest updates (as of today at least!). I don't seem to have any of the problem software that others have suggested removing - but am sure there is something I am probably missing. My MBP is going slower and slower by the day - especially if I want to use Lightroom, then it comes to a screeching halt. I do seem to be able to use Safari and Word at the same time, but they tend to get pretty slow after a time as well. Any and all recommendations greatly appreciated! Please note though, that I do not have the ability to upgrade to SSD at the moment, but maybe can manage new and increased RAM (I think my only options are to get 2 4x4's or a single 8?) if thats the only option. Cheers!
    EtreCheck version: 2.0.11 (98)
    Report generated November 14, 2014 at 10:34:45 PM CST
    Hardware Information: ℹ️
      MacBook Pro (13-inch, Mid 2009) (Verified)
      MacBook Pro - model: MacBookPro5,5
      1 2.53 GHz Intel Core 2 Duo CPU: 2-core
      4 GB RAM Upgradeable
      BANK 0/DIMM0
      2 GB DDR3 1067 MHz ok
      BANK 1/DIMM0
      2 GB DDR3 1067 MHz ok
      Bluetooth: Old - Handoff/Airdrop2 not supported
      Wireless:  en1: 802.11 a/b/g/n
    Video Information: ℹ️
      NVIDIA GeForce 9400M - VRAM: 256 MB
      DELL U2412M 1920 x 1200
    System Software: ℹ️
      OS X 10.9.5 (13F34) - Uptime: 0:11:2
    Disk Information: ℹ️
      Hitachi HTS545032B9SA02 disk0 : (320.07 GB)
      S.M.A.R.T. Status: Verified
      EFI (disk0s1) <not mounted> : 210 MB
      Macintosh HD (disk0s2) /  [Startup]: 319.21 GB (125.63 GB free)
      Recovery HD (disk0s3) <not mounted>  [Recovery]: 650 MB
      HL-DT-ST DVDRW  GS23N 
    USB Information: ℹ️
      Apple Inc. Built-in iSight
      Western Digital My Passport 0748 1 TB
      S.M.A.R.T. Status: Verified
      disk1s1 (disk1s1) <not mounted> : 32 KB
      disk1s2 (disk1s2) <not mounted> : 29 KB
      disk1s3 (disk1s3) <not mounted> : 29 KB
      disk1s4 (disk1s4) <not mounted> : 29 KB
      disk1s5 (disk1s5) <not mounted> : 29 KB
      disk1s6 (disk1s6) <not mounted> : 262 KB
      disk1s7 (disk1s7) <not mounted> : 262 KB
      disk1s8 (disk1s8) <not mounted> : 262 KB
      My Passport for Mac (disk1s10) /Volumes/My Passport for Mac : 1.00 TB (112.39 GB free)
      Apple Internal Memory Card Reader
      Apple Inc. Apple Internal Keyboard / Trackpad
      Apple Computer, Inc. IR Receiver
      Apple Inc. BRCM2046 Hub
      Apple Inc. Bluetooth USB Host Controller
    Gatekeeper: ℹ️
      Mac App Store and identified developers
    Launch Agents: ℹ️
      [not loaded] com.adobe.AAM.Updater-1.0.plist Support
      [running] com.adobe.AdobeCreativeCloud.plist Support
      [not loaded] com.cooliris.SetLaunchArch.plist Support
      [loaded] com.google.keystone.agent.plist Support
      [running] jp.co.canon.CUPSCMFP.BG.plist Support
      [running] jp.co.canon.CUPSFAX.BG.plist Support
      [running] jp.co.canon.ScanGearMF.appl.Canon-MF-Scan-Agent.plist Support
    Launch Daemons: ℹ️
      [loaded] com.adobe.fpsaud.plist Support
      [loaded] com.google.keystone.daemon.plist Support
      [loaded] com.microsoft.office.licensing.helper.plist Support
    User Launch Agents: ℹ️
      [loaded] com.adobe.ARM.[...].plist Support
      [running] com.hitachigst.backup.agent.plist Support
      [running] com.microsoft.LaunchAgent.SyncServicesAgent.plist Support
    User Login Items: ℹ️
      Garmin Express Service Application (/Applications/Garmin Express.app/Contents/Library/LoginItems/Garmin Express Service.app)
      Dropbox Application (/Applications/Dropbox.app)
      AdobeResourceSynchronizer UNKNOWNHidden (missing value)
      Microsoft Database Daemon Application (/Applications/Microsoft Office 2011/Office/Microsoft Database Daemon.app)
      HP Communications Application (/Library/Printers/hp/HP Communications.app)
      Director Docker Application (/Applications/Hewlett-Packard/HP Photo and Imaging Software/HP Photo and Imaging Director/Director Docker.app)
    Internet Plug-ins: ℹ️
      o1dbrowserplugin: Version: 5.38.6.0 - SDK 10.8 Support
      Google Earth Web Plug-in: Version: 7.1 Support
      Default Browser: Version: 537 - SDK 10.9
      Flip4Mac WMV Plugin: Version: 2.4.0.11 Support
      CoolirisWebKitPlugin: Version: (null) Support
      OfficeLiveBrowserPlugin: Version: 12.3.3 Support
      AdobeAAMDetect: Version: AdobeAAMDetect 2.0.0.0 - SDK 10.7 Support
      FlashPlayer-10.6: Version: 15.0.0.223 - SDK 10.6 Support
      Silverlight: Version: 5.1.10411.0 - SDK 10.6 Support
      Flash Player: Version: 15.0.0.223 - SDK 10.6 Support
      iPhotoPhotocast: Version: 7.0
      googletalkbrowserplugin: Version: 5.38.6.0 - SDK 10.8 Support
      QuickTime Plugin: Version: 7.7.3
      GarminGpsControl: Version: 4.1.0.0 Release - SDK 10.7 Support
      CANONiMAGEGATEWAYDL: Version: 3.0.0.2 Support
      SharePointBrowserPlugin: Version: 14.4.3 - SDK 10.6 Support
    Safari Extensions: ℹ️
      ClickToPlugin
    3rd Party Preference Panes: ℹ️
      Flash Player  Support
      Flip4Mac WMV  Support
      MacFUSE  Support
      NTFS-3G  Support
    Time Machine: ℹ️
      Skip System Files: NO
      Auto backup: YES
      Destinations:
      My Passport for Mac [Local]
      Total size: 1.00 TB
      Total number of backups: 72
      Oldest backup: 2014-01-13 20:17:32 +0000
      Last backup: 2014-11-15 03:43:37 +0000
      Size of backup disk: Excellent
      Backup size 1.00 TB > (Disk size 0 B X 3)
    Top Processes by CPU: ℹ️
          7% WindowServer
          3% mds
          0% AppleSpell
          0% fontd
          0% mds_stores
    Top Processes by Memory: ℹ️
      168 MB Safari
      116 MB mds_stores
      112 MB ocspd
      99 MB com.apple.IconServicesAgent
      86 MB Creative Cloud
    Virtual Memory Information: ℹ️
      1.36 GB Free RAM
      1.60 GB Active RAM
      531 MB Inactive RAM
      534 MB Wired RAM
      505 MB Page-ins
      0 B Page-outs

    First, get rid of "Memory Clean," which is at best useless. That alone might solve your problem. If not, see below.
    1. This procedure is a diagnostic test. It changes nothing, for better or worse, and therefore will not, in itself, solve the problem. But with the aid of the test results, the solution may take a few minutes, instead of hours or days.
    Don't be put off by the complexity of these instructions. The process is much less complicated than the description. You do harder tasks with the computer all the time.
    2. If you don't already have a current backup, back up all data before doing anything else. The backup is necessary on general principle, not because of anything in the test procedure. Backup is always a must, and when you're having any kind of trouble with the computer, you may be at higher than usual risk of losing data, whether you follow these instructions or not.
    There are ways to back up a computer that isn't fully functional. Ask if you need guidance.
    3. Below are instructions to run a UNIX shell script, a type of program. As I wrote above, it changes nothing. It doesn't send or receive any data on the network. All it does is to generate a human-readable report on the state of the computer. That report goes nowhere unless you choose to share it. If you prefer, you can act on it yourself without disclosing the contents to me or anyone else.
    You should be wondering whether you can believe me, and whether it's safe to run a program at the behest of a stranger. In general, no, it's not safe and I don't encourage it.
    In this case, however, there are a couple of ways for you to decide whether the program is safe without having to trust me. First, you can read it. Unlike an application that you download and click to run, it's transparent, so anyone with the necessary skill can verify what it does.
    You may not be able to understand the script yourself. But variations of the script have been posted on this website thousands of times over a period of years. The site is hosted by Apple, which does not allow it to be used to distribute harmful software. Any one of the millions of registered users could have read the script and raised the alarm if it was harmful. Then I would not be here now and you would not be reading this message.
    Nevertheless, if you can't satisfy yourself that these instructions are safe, don't follow them. Ask for other options.
    4. Here's a summary of what you need to do, if you choose to proceed:
    ☞ Copy a line of text in this window to the Clipboard.
    ☞ Paste into the window of another application.
    ☞ Wait for the test to run. It usually takes a few minutes.
    ☞ Paste the results, which will have been copied automatically, back into a reply on this page.
    The sequence is: copy, paste, wait, paste again. You don't need to copy a second time. Details follow.
    5. You may have started the computer in "safe" mode. Preferably, these steps should be taken in “normal” mode, under the conditions in which the problem is reproduced. If the system is now in safe mode and works well enough in normal mode to run the test, restart as usual. If you can only test in safe mode, do that.
    6. If you have more than one user, and the one affected by the problem is not an administrator, then please run the test twice: once while logged in as the affected user, and once as an administrator. The results may be different. The user that is created automatically on a new computer when you start it for the first time is an administrator. If you can't log in as an administrator, test as the affected user. Most personal Macs have only one user, and in that case this section doesn’t apply. Don't log in as root.
    7. The script is a single long line, all of which must be selected. You can accomplish this easily by triple-clicking anywhere in the line. The whole line will highlight, though you may not see all of it in the browser window, and you can then copy it. If you try to select the line by dragging across the part you can see, you won't get all of it.
    Triple-click anywhere in the line of text below on this page to select it:
    PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/libexec;clear;cd;p=(Software Hardware Memory Diagnostics Power FireWire Thunderbolt USB Fonts SerialATA 4 1000 25 5120 KiB/s 1024 85 \\b%% 20480 1 MB/s 25000 ports ' com.clark.\* \*dropbox \*genieo\* \*GoogleDr\* \*k.AutoCAD\* \*k.Maya\* vidinst\* ' DYLD_INSERT_LIBRARIES\ DYLD_LIBRARY_PATH -86 "` route -n get default|awk '/e:/{print $2}' `" 25 N\\/A down up 102400 25600 recvfrom sendto CFBundleIdentifier 25 25 25 1000 MB ' com.adobe.AAM.Updater-1.0 com.adobe.AdobeCreativeCloud com.adobe.CS4ServiceManager com.adobe.CS5ServiceManager com.adobe.fpsaud com.adobe.SwitchBoard com.apple.aelwriter com.apple.AirPortBaseStationAgent com.apple.FolderActions.enabled com.apple.FolderActions.folders com.apple.installer.osmessagetracing com.apple.mrt.uiagent com.apple.ReportCrash.Self com.apple.rpmuxd com.apple.SafariNotificationAgent com.apple.usbmuxd com.google.keystone.agent com.google.keystone.daemon com.microsoft.office.licensing.helper com.oracle.java.Helper-Tool com.oracle.java.JavaUpdateHelper com.oracle.java.JavaUpdateHelper ' ' 879294308 461455494 3627668074 1083382502 1274181950 1855907737 1848501757 464843899 3694147963 1417519526 1233118628 2456546649 2806998573 2778718105 2636415542 842973933 3301885676 891055588 998894468 695903914 1443423563 4136085286 ' 51 5120 files );N5=${#p[@]};p[N5]=` networksetup -listnetworkserviceorder|awk ' NR>1 { sub(/^\([0-9]+\) /,"");n=$0;getline;} $NF=="'${p[26]}')" { sub(/.$/,"",$NF);print n;exit;} ' `;f=('\n%s: %s\n' '\n%s\n\n%s\n' '\nRAM details\n%s\n' %s\ %s '%s\n-\t%s\n' );S0() { echo ' { q=$NF+0;$NF="";u=$(NF-1);$(NF-1)="";gsub(/^ +| +$/,"");if(q>='${p[$1]}') printf("%s (UID %s) is using %s '${p[$2]}'",$0,u,q);} ';};s=(' s/[0-9A-Za-z._]+@[0-9A-Za-z.]+\.[0-9A-Za-z]{2,4}/EMAIL/g;/faceb/s/(at\.)[^.]+/\1NAME/g;/\/Shared/!s/(\/Users\/)[^ /]+/\1USER/g;s/[-0-9A-Fa-f]{22,}/UUID/g;' ' s/^ +//;/de: S|[nst]:/p;' ' {sub(/^ +/,"")};/er:/;/y:/&&$2<'${p[10]} ' 1s/://;3,6d;/[my].+:/d;s/^ {4}//;H;${ g;s/\n$//;/s: (E[^m]|[^EO])|x([^08]|02[^F]|8[^0])/p;} ' ' 5h;6{ H;g;/P/!p;} ' ' ($1~/^Cy/&&$3>'${p[11]}')||($1~/^Cond/&&$2!~/^N/) ' ' /:$/{ N;/:.+:/d;s/ *://;b0'$'\n'' };/^ *(V.+ [0N]|Man).+ /{ s/ 0x.... //;s/[()]//g;s/(.+: )(.+)/ (\2)/;H;};$b0'$'\n'' d;:0'$'\n'' x;s/\n\n//;/Apple[ ,]|Genesy|Intel|SMSC/d;s/\n.*//;/\)$/p;' ' s/^.*C/C/;H;${ g;/No th|pms/!p;} ' '/= [^GO]/p' '{$1=""};1' ' /Of/!{ s/^.+is |\.//g;p;} ' ' $0&&!/ / { n++;print;} END { if(n<10) print "com.apple.";} ' ' { sub(/ :/,"");print|"tail -n'${p[12]}'";} ' ' NR==2&&$4<='${p[13]}' { print $4;} ' ' END { $2/=256;if($2>='${p[15]}') print int($2) } ' ' NR!=13{next};{sub(/[+-]$/,"",$NF)};'"`S0 21 22`" 'NR!=2{next}'"`S0 37 17`" ' NR!=5||$8!~/[RW]/{next};{ $(NF-1)=$1;$NF=int($NF/10000000);for(i=1;i<=3;i++){$i="";$(NF-1-i)="";};};'"`S0 19 20`" 's:^:/:p' '/\.kext\/(Contents\/)?Info\.plist$/p' 's/^.{52}(.+) <.+/\1/p' ' /Launch[AD].+\.plist$/ { n++;print;} END { if(n<200) print "/System/";} ' '/\.xpc\/(Contents\/)?Info\.plist$/p' ' NR>1&&!/0x|\.[0-9]+$|com\.apple\.launchctl\.(Aqua|Background|System)$/ { print $3;} ' ' /\.(framew|lproj)|\):/d;/plist:|:.+(Mach|scrip)/s/:[^:]+//p ' '/^root$/p' ' !/\/Contents\/.+\/Contents|Applic|Autom|Frameworks/&&/Lib.+\/Info.plist$/ { n++;print;} END { if(n<1100) print "/System/";} ' '/^\/usr\/lib\/.+dylib$/p' ' /Temp|emac/{next};/(etc|Preferences|Launch[AD].+)\// { sub(".(/private)?","");n++;print;} END { split("'"${p[41]}"'",b);split("'"${p[42]}"'",c);for(i in b) print b[i]".plist\t"c[i];if(n<500) print "Launch";} ' ' /\/(Contents\/.+\/Contents|Frameworks)\/|\.wdgt\/.+\.([bw]|plu)/d;p;' 's/\/(Contents\/)?Info.plist$//;p' ' { gsub("^| |\n","\\|\\|kMDItem'${p[35]}'=");sub("^...."," ") };1 ' p '{print $3"\t"$1}' 's/\'$'\t''.+//p' 's/1/On/p' '/Prox.+: [^0]/p' '$2>'${p[43]}'{$2=$2-1;print}' ' BEGIN { i="'${p[26]}'";M1='${p[16]}';M2='${p[18]}';M3='${p[31]}';M4='${p[32]}';} !/^A/{next};/%/ { getline;if($5<M1) a="user "$2"%, system "$4"%";} /disk0/&&$4>M2 { b=$3" ops/s, "$4" blocks/s";} $2==i { if(c) { d=$3+$4+$5+$6;next;};if($4>M3||$6>M4) c=int($4/1024)" in, "int($6/1024)" out";} END { if(a) print "CPU: "a;if(b) print "I/O: "b;if(c) print "Net: "c" (KiB/s)";if(d) print "Net errors: "d" packets/s";} ' ' /r\[0\] /&&$NF!~/^1(0|72\.(1[6-9]|2[0-9]|3[0-1])|92\.168)\./ { print $NF;exit;} ' ' !/^T/ { printf "(static)";exit;} ' '/apsd|BKAg|OpenD/!s/:.+//p' ' (/k:/&&$3!~/(255\.){3}0/ )||(/v6:/&&$2!~/A/ ) ' ' $1~"lR"&&$2<='${p[25]}';$1~"li"&&$3!~"wpa2";' ' BEGIN { FS=":";p="uniq -c|sed -E '"'s/ +\\([0-9]+\\)\\(.+\\)/\\\2 x\\\1/;s/x1$//'"'";} { n=split($3,a,".");sub(/_2[01].+/,"",$3);print $2" "$3" "a[n]$1|p;b=b$1;} END { close(p);if(b) print("\n\t* Code injection");} ' ' NR!=4{next} {$NF/=10240} '"`S0 27 14`" ' END { if($3~/[0-9]/)print$3;} ' ' BEGIN { L='${p[36]}';} !/^[[:space:]]*(#.*)?$/ { l++;if(l<=L) f=f"\n   "$0;} END { F=FILENAME;if(!F) exit;if(!f) f="\n   [N/A]";"cksum "F|getline C;split(C, A);C="checksum "A[1];"file -b "F|getline T;if(T!~/^(AS.+ (En.+ )?text(, with v.+)?$|(Bo|PO).+ sh.+ text ex|XM)/) F=F" ("T", "C")";else F=F" ("C")";printf("\nContents of %s\n%s\n",F,f);if(l>L) printf("\n   ...and %s more line(s)\n",l-L);} ' ' s/^ ?n...://p;s/^ ?p...:/-'$'\t''/p;' 's/0/Off/p' ' END{print NR} ' ' /id: N|te: Y/{i++} END{print i} ' ' / / { print "'"${p[28]}"'";exit;};1;' '/ en/!s/\.//p' ' NR!=13{next};{sub(/[+-M]$/,"",$NF)};'"`S0 39 40`" ' $10~/\(L/&&$9!~"localhost" { sub(/.+:/,"",$9);print $1": "$9|"sort|uniq";} ' '/^ +r/s/.+"(.+)".+/\1/p' 's/(.+\.wdgt)\/(Contents\/)?Info\.plist$/\1/p' 's/^.+\/(.+)\.wdgt$/\1/p' ' /l: /{ /DVD/d;s/.+: //;b0'$'\n'' };/s: /{ /V/d;s/^ */- /;H;};$b0'$'\n'' d;:0'$'\n'' x;/APPLE [^:]+$/d;p;' ' /^find: /d;p;' "`S0 44 45`" ' BEGIN{FS="= "} /Path/{print $2} ' ' /^ *$/d;s/^ */   /;' ' s/^.+ |\(.+\)$//g;p ' '/\.(appex|pluginkit)\/Contents\/Info\.plist$/p' ' /2/{print "WARN"};/4/{print "CRITICAL"};' ' /EVHF|MACR/d;s/^.+: //p;' );c1=(system_profiler pmset\ -g nvram fdesetup find syslog df vm_stat sar ps crontab iotop top pkgutil 'PlistBuddy 2>&1 -c "Print' whoami cksum kextstat launchctl smcDiagnose sysctl\ -n defaults\ read stat lsbom mdfind ' for i in ${p[24]};do ${c1[18]} ${c2[27]} $i;done;' pluginkit scutil dtrace profiles sed\ -En awk /S*/*/P*/*/*/C*/*/airport networksetup mdutil lsof test osascript\ -e );c2=(com.apple.loginwindow\ LoginHook '" /L*/P*/loginw*' "'tell app \"System Events\" to get properties of login items'|tr , \\\n" 'L*/Ca*/com.ap*.Saf*/E*/* -d 1 -name In*t -exec '"${c1[14]}"' :CFBundleDisplayName" {} \;|sort|uniq' '~ $TMPDIR.. \( -flags +sappnd,schg,uappnd,uchg -o ! -user $UID -o ! -perm -600 \)' '.??* -path .Trash -prune -o -type d -name *.app -print -prune' :${p[35]}\" :Label\" '{/,}L*/{Con,Pref}* -type f ! -size 0 -name *.plist -exec plutil -s {} \;' "-f'%N: %l' Desktop L*/Keyc*" therm sysload boot-args status " -F '\$Time \$(RefProc): \$Message' -k Sender kernel -k Message Req 'bad |Beac|caug|corru|dead[^bl]|FAIL|fail|GPU |hfs: Ru|inval|jnl:|last value [1-9]|n Cause: -|NVDA\(|pagin|proc: t|Roamed|rror|ssert|Thrott|tim(ed? ?|ing )o|WARN' -k Message Rne 'Goog|ksadm|Roame|SMC:|suhel| VALI|ver-r|xpma' -o -o -k Sender fseventsd -k Message Req SL -o -k Sender Req launchd -k Message Req de: " '-du -n DEV -n EDEV 1 10' 'acrx -o comm,ruid,%cpu' '-t1 10 1' '-f -pfc /var/db/r*/com.apple.*.{BS,Bas,Es,J,OSXU,Rem,up}*.bom' '{/,}L*/Lo*/Diag* -type f -regex .\*[cght] ! -name .?\* ! -name \*ag \( -exec grep -lq "^Thread c" {} \; -exec printf \* \; -o -true \) -execdir stat -f:%Sc:%N -t%F {} \;|sort -t: -k2 |tail -n'${p[38]} '/S*/*/Ca*/*xpc* >&- ||echo No' '-L /{S*/,}L*/StartupItems -type f -exec file {} +' '-L /S*/L*/{C*/Sec*A,Ex}* {/,}L*/{A*d,Ca*/*/Ex,Co{mpon,reM},Ex,In{p,ter},iTu*/*P,Keyb,Mail/B,Pr*P,Qu*T,Scripti,Sec,Servi,Spo,Widg}* -path \\*s/Resources -prune -o -type f -name Info.plist' '/usr/lib -type f -name *.dylib' `awk "${s[31]}"<<<${p[23]}` "/e*/{auto,{cron,fs}tab,hosts,{[lp],sy}*.conf,mach_i*/*,pam.d/*,ssh{,d}_config,*.local} {,/usr/local}/etc/periodic/*/* /L*/P*{,/*}/com.a*.{Bo,sec*.ap}*t {/S*/,/,}L*/Lau*/*t .launchd.conf" list getenv /Library/Preferences/com.apple.alf\ globalstate --proxy '-n get default' -I --dns -getdnsservers\ "${p[N5]}" -getinfo\ "${p[N5]}" -P -m\ / '' -n1 '-R -l1 -n1 -o prt -stats command,uid,prt' '--regexp --only-files --files com.apple.pkg.*|sort|uniq' -kl -l -s\ / '-R -l1 -n1 -o mem -stats command,uid,mem' '+c0 -i4TCP:0-1023' com.apple.dashboard\ layer-gadgets '-d /L*/Mana*/$USER&&echo On' '-app Safari WebKitDNSPrefetchingEnabled' "+c0 -l|awk '{print(\$1,\$3)}'|sort|uniq -c|sort -n|tail -1|awk '{print(\$2,\$3,\$1)}'" -m 'L*/{Con*/*/Data/L*/,}Pref* -type f -size 0c -name *.plist.???????|wc -l' kern.memorystatus_vm_pressure_level '3>&1 >&- 2>&3' );N1=${#c2[@]};for j in {0..9};do c2[N1+j]=SP${p[j]}DataType;done;N2=${#c2[@]};for j in 0 1;do c2[N2+j]="-n ' syscall::'${p[33+j]}':return { @out[execname,uid]=sum(arg0) } tick-10sec { trunc(@out,1);exit(0);} '";done;l=(Restricted\ files Hidden\ apps 'Elapsed time (s)' POST Battery Safari\ extensions Bad\ plists 'High file counts' User Heat System\ load boot\ args FileVault Diagnostic\ reports Log 'Free space (MiB)' 'Swap (MiB)' Activity 'CPU per process' Login\ hook 'I/O per process' Mach\ ports kexts Daemons Agents XPC\ cache Startup\ items Admin\ access Root\ access Bundles dylibs Apps Font\ issues Inserted\ dylibs Firewall Proxies DNS TCP/IP Wi-Fi Profiles Root\ crontab User\ crontab 'Global login items' 'User login items' Spotlight Memory Listeners Widgets Parental\ Controls Prefetching SATA Descriptors App\ extensions Lockfiles Memory\ pressure SMC );N3=${#l[@]};for i in 0 1 2;do l[N3+i]=${p[5+i]};done;N4=${#l[@]};for j in 0 1;do l[N4+j]="Current ${p[29+j]}stream data";done;A0() { id -G|grep -qw 80;v[1]=$?;((v[1]==0))&&sudo true;v[2]=$?;v[3]=`date +%s`;clear >&-;date '+Start time: %T %D%n';};for i in 0 1;do eval ' A'$((1+i))'() { v=` eval "${c1[$1]} ${c2[$2]}"|'${c1[30+i]}' "${s[$3]}" `;[[ "$v" ]];};A'$((3+i))'() { v=` while read i;do [[ "$i" ]]&&eval "${c1[$1]} ${c2[$2]}" \"$i\"|'${c1[30+i]}' "${s[$3]}";done<<<"${v[$4]}" `;[[ "$v" ]];};A'$((5+i))'() { v=` while read i;do '${c1[30+i]}' "${s[$1]}" "$i";done<<<"${v[$2]}" `;[[ "$v" ]];};A'$((7+i))'() { v=` eval sudo "${c1[$1]} ${c2[$2]}"|'${c1[30+i]}' "${s[$3]}" `;[[ "$v" ]];};';done;A9(){ v=$((`date +%s`-v[3]));};B2(){ v[$1]="$v";};for i in 0 1;do eval ' B'$i'() { v=;((v['$((i+1))']==0))||{ v=No;false;};};B'$((3+i))'() { v[$2]=`'${c1[30+i]}' "${s[$3]}"<<<"${v[$1]}"`;} ';done;B5(){ v[$1]="${v[$1]}"$'\n'"${v[$2]}";};B6() { v=` paste -d: <(printf "${v[$1]}") <(printf "${v[$2]}")|awk -F: ' {printf("'"${f[$3]}"'",$1,$2)} ' `;};B7(){ v=`grep -Fv "${v[$1]}"<<<"$v"`;};C0() { [[ "$v" ]]&&sed -E "$s"<<<"$v";};C1() { [[ "$v" ]]&&printf "${f[$1]}" "${l[$2]}" "$v"|sed -E "$s";};C2() { v=`echo $v`;[[ "$v" != 0 ]]&&C1 0 $1;};C3() { v=`sed -E "${s[63]}"<<<"$v"`&&C1 1 $1;};for i in 1 2 7 8;do for j in 0 2 3;do eval D$i$j'(){ A'$i' $1 $2 $3; C'$j' $4;};';done;done;{ A0;D20 0 $((N1+1)) 2;D10 0 $N1 1;B0;C2 27;B0&&! B1&&C2 28;D12 15 37 25 8;A1 0 $((N1+2)) 3;C0;D13 0 $((N1+3)) 4 3;D23 0 $((N1+4)) 5 4;D13 0 $((N1+9)) 59 50;for i in 0 1 2;do D13 0 $((N1+5+i)) 6 $((N3+i));done;D13 1 10 7 9;D13 1 11 8 10;B1&&D73 19 53 67 55;D22 2 12 9 11;D12 3 13 10 12;D23 4 19 44 13;D23 5 14 12 14;D22 6 36 13 15;D22 20 52 66 54;D22 7 37 14 16;D23 8 15 38 17;D22 9 16 16 18;B1&&{ D82 35 49 61 51;D82 11 17 17 20;for i in 0 1;do D82 28 $((N2+i)) 45 $((N4+i));done;};D22 12 44 54 45;D22 12 39 15 21;A1 13 40 18;B2 4;B3 4 0 19;A3 14 6 32 0;B4 0 5 11;A1 17 41 20;B7 5;C3 22;B4 4 6 21;A3 14 7 32 6;B4 0 7 11;B3 4 0 22;A3 14 6 32 0;B4 0 8 11;B5 7 8;B1&&{ A8 18 26 23;B7 7;C3 23;};A2 18 26 23;B7 7;C3 24;D13 4 21 24 26;B4 4 12 26;B3 4 13 27;A1 4 22 29;B7 12;B2 14;A4 14 6 52 14;B2 15;B6 14 15 4;B3 0 0 30;C3 29;A1 4 23 27;B7 13;C3 30;B3 4 0 65;A3 14 6 32 0;B4 0 16 11;A1 26 50 64;B7 16;C3 52;D13 24 24 32 31;D13 25 37 32 33;A2 23 18 28;B2 16;A2 16 25 33;B7 16;B3 0 0 34;B2 21;A6 47 21&&C0;B1&&{ D73 21 0 32 19;D73 10 42 32 40;D82 29 35 46 39;};D23 14 1 62 42;D12 34 43 53 44;D12 22 20 32 25;D22 0 $((N1+8)) 51 32;D13 4 8 41 6;D12 21 28 35 34;D13 27 29 36 35;A2 27 32 39&&{ B2 19;A2 33 33 40;B2 20;B6 19 20 3;};C2 36;D23 33 34 42 37;B1&&D83 35 45 55 46;D23 32 31 43 38;D12 36 47 32 48;D13 10 42 32 41;D13 37 2 48 43;D13 4 5 32 1;D13 4 3 60 5;D12 21 48 49 49;B3 4 22 57;A1 21 46 56;B7 22;B3 0 0 58;C3 47;D22 4 4 50 0;D12 4 51 32 53;D23 22 9 37 7;A9;C2 2;} 2>/dev/null|pbcopy;exit 2>&-
    Copy the selected text to the Clipboard by pressing the key combination command-C.
    8. Launch the built-in Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Click anywhere in the Terminal window and paste by pressing command-V. The text you pasted should vanish immediately. If it doesn't, press the return key.
    9. If you see an error message in the Terminal window such as "Syntax error" or "Event not found," enter
    exec bash
    and press return. Then paste the script again.
    10. If you're logged in as an administrator, you'll be prompted for your login password. Nothing will be displayed when you type it. You will not see the usual dots in place of typed characters. Make sure caps lock is off. Type carefully and then press return. You may get a one-time warning to be careful. If you make three failed attempts to enter the password, the test will run anyway, but it will produce less information. In most cases, the difference is not important. If you don't know the password, or if you prefer not to enter it, press the key combination control-C or just press return  three times at the password prompt. Again, the script will still run.
    If you're not logged in as an administrator, you won't be prompted for a password. The test will still run. It just won't do anything that requires administrator privileges.
    11. The test may take a few minutes to run, depending on how many files you have and the speed of the computer. A computer that's abnormally slow may take longer to run the test. While it's running, there will be nothing in the Terminal window and no indication of progress. Wait for the line
    [Process completed]
    to appear. If you don't see it within half an hour or so, the test probably won't complete in a reasonable time. In that case, close the Terminal window and report what happened. No harm will be done.
    12. When the test is complete, quit Terminal. The results will have been copied to the Clipboard automatically. They are not shown in the Terminal window. Please don't copy anything from there. All you have to do is start a reply to this comment and then paste by pressing command-V again.
    At the top of the results, there will be a line that begins with the words "Start time." If you don't see that, but instead see a mass of gibberish, you didn't wait for the "Process completed" message to appear in the Terminal window. Please wait for it and try again.
    If any private information, such as your name or email address, appears in the results, anonymize it before posting. Usually that won't be necessary.
    13. When you post the results, you might see an error message on the web page: "You have included content in your post that is not permitted," or "You are not authorized to post." That's a bug in the forum software. Please post the test results on Pastebin, then post a link here to the page you created.
    14. This is a public forum, and others may give you advice based on the results of the test. They speak only for themselves, and I don't necessarily agree with them.
    Copyright © 2014 by Linc Davis. As the sole author of this work, I reserve all rights to it except as provided in the Use Agreement for the Apple Support Communities website ("ASC"). Readers of ASC may copy it for their own personal use. Neither the whole nor any part may be redistributed.

  • First PKGBUILD - looking for review

    Hello all,
    I have created my first PKGBUILD for some new scientific computing libraries and corresponding examples related to my field. I am looking for input before submitting this to the authors for inclusion on their site (and possibly to the AUR if there ends up being more interest).
    Anyway, here is what I have so far, which seems to work on my system:
    PKGBUILD:
    pkgname=ismrmrd-git
    pkgver=20121030
    pkgrel=1
    pkgdesc="Libraries and examples for the proposed ISMRM Raw Data format"
    url="http://ismrmrd.sourceforge.net"
    arch=('any')
    license=('unknown')
    depends=('hdf5-fortran-cxx'
    'boost-libs'
    'xsd'
    'xerces-c')
    optdepends=('fftw: used to compile example programs'
    'doxygen: only needed if you want to produce your own copy of the documentation')
    makedepends=('unzip'
    'git'
    'cmake')
    # install="${pkgname}.install"
    # source=("http://www.syntax-on.com/static/$pkgname/$pkgname-$pkgver.tar.gz")
    # source=("http://downloads.sourceforge.net/project/ismrmrd/src/${pkgname}_${pkgver}.zip")
    source=("cmakelists.diff")
    noextract=("${pkgname}_${pkgver}.zip")
    md5sums=("9ec7ed899e488961826fa41da7109a84")
    _gitroot="git://git.code.sf.net/p/ismrmrd/code"
    _gitname="ismrmrd"
    build() {
    cd "${srcdir}"
    # unzip ${pkgname}_${pkgver}.zip -d ${pkgname}-${pkgver}
    msg "Connecting to GIT server..."
    if [ -d $_gitname ] ; then
    cd $_gitname && git pull origin
    msg "Local files have been updated"
    else
    git clone $_gitroot "${srcdir}/$_gitname"
    fi
    msg "Received code from GIT or server timed out"
    # stop CMakeLists.txt appending an unwanted dir to the CMAKE_INSTALL_PREFIX
    # also prevent install of /usr/cmake/FindIsmrmrd.cmake
    msg "Patching CMakeLists.txt to comply with Arch Packaging Standards..."
    cd "${srcdir}/${_gitname}"
    patch < ${startdir}/cmakelists.diff --forward
    # start the build
    mkdir "${srcdir}/${_gitname}/build" -p
    cd "${srcdir}/${_gitname}/build"
    msg "Starting cmake..."
    cmake -DCMAKE_INSTALL_PREFIX=/usr ../
    msg "Starting make..."
    make
    package() {
    cd "${srcdir}/${_gitname}/build"
    make DESTDIR="${pkgdir}/" install
    cmakelists.diff
    --- src/ismrmrd-latest/CMakeLists.txt 2012-10-30 11:48:03.332945241 -0500
    +++ src/ismrmrd-latest/CMakeLists_mod.txt 2012-10-30 11:48:27.619612710 -0500
    @@ -10,7 +10,7 @@
    endif (WIN32)
    -set(CMAKE_INSTALL_PREFIX ${CMAKE_INSTALL_PREFIX}/ismrmrd)
    +# set(CMAKE_INSTALL_PREFIX ${CMAKE_INSTALL_PREFIX}/ismrmrd)
    list(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake)
    find_package(XSD REQUIRED)
    @@ -69,7 +69,7 @@
    INSTALL(FILES ismrmrd.h ${XSDS_SOURCES} ismrmrd_hdf5.h ismrmrd_hdf5_datatypes.h ismrmrd_export.h DESTINATION include)
    INSTALL(FILES schema/ismrmrd.xsd DESTINATION schema)
    -INSTALL(FILES cmake/FindIsmrmrd.cmake DESTINATION cmake)
    +# INSTALL(FILES cmake/FindIsmrmrd.cmake DESTINATION cmake)
    INSTALL(TARGETS ismrmrd DESTINATION lib)
    INSTALL(TARGETS ismrmrd_xsd DESTINATION lib)
    I'm not using any .install file, is this something big I am missing? Again, this is my first time writing a PKGBUILD, so I appreciate any feedback. Thanks!

    Thanks - I will take note for future packages, or if I end up using a non-git version. makepkg seemed to not be able to handle the zip file itself, though. If I re-hosted the source myself in a tarball it worked, but on the authors' site I could only find it as a zip.
    My main question is still about installation location, though. This typically installs itself in:
    /usr/local/ismrmrd/bin
    /usr/local/ismrmrd/lib
    /usr/local/ismrmrd/include
    /usr/local/ismrmrd/schema
    /usr/local/ismrmrd/cmake
    I was able to change this to:
    /usr/bin
    /usr/lib
    /usr/include
    /usr/schema
    Obviously this prevents cmake/FindIsmrmrd.cmake from being installed at all (not sure this is OK or desirable), It also creates the /usr/schema directory, which I don't think is really standard. Where should I put such files? Should I instead install the whole package into /usr/opt/ismrmrd? It doesn't seem big enough to warrant that, but I don't know where else to put the schema and cmake directories and the associated files. Maybe in /usr/share?
    Last edited by aganders3 (2012-11-07 20:20:40)

  • Made my first PKGBUILD... :)

    Hi Forum,
    I have made my first PKGBUILD, it is a hack of the PKGBUILD of BRLCAD, which I have used to pack Ofeli, http://www.ofeli.net/, to /usr{bin lib share doc} as required by Archer Philosophy.
    Here it is :
    # Maintainer: Loui Chang <louipc dot ist at gmail company>
    pkgname=ofeli
    pkgver=2.0.2
    pkgrel=1
    pkgdesc="Finite elements analysis Package"
    url="http://brlcad.org"
    license=('LGPL' 'BSD' 'custom:BDL')
    #install=brlcad.install
    arch=('i686' 'x86_64')
    #makedepends=('bc' 'libxslt')
    #depends=('boost' 'flex' 'libpng' 'zlib' 'libgl' 'tk>=8.5')
    #options=('!libtool')
    source=(ofeli-2.0.2.tar.gz)
    build() {
    cd $srcdir/$pkgname-$pkgver
    ./configure --prefix=/usr
    # --with-opengl=/usr/lib \
    # --with-tcl=/usr/lib \
    # --disable-step \
    # --disable-tkhtml3 \
    # --disable-tkimg \
    # --disable-opennurbs
    # For opennurbs, etc
    # gcc -I/opt/brlcad/include -L/opt/brlcad/lib
    make || return 1
    package() {
    cd $srcdir/$pkgname-$pkgver
    make DESTDIR=$pkgdir install || return 1
    # install -D -m755 $srcdir/brlcad.sh $pkgdir/etc/profile.d/brlcad.sh
    # mkdir -p $pkgdir/usr/share/licenses/$pkgname
    # cp $srcdir/$pkgname-$pkgver/doc/legal/bdl.txt \
    # $pkgdir/usr/share/licenses/$pkgname
    # cp $srcdir/$pkgname-$pkgver/doc/legal/bsd.txt \
    # $pkgdir/usr/share/licenses/$pkgname
    #md5sums=('8ccbc692d84854c9b0599b6d1255f916'
    # '4922e66ff0835169374b9c0569c2f569')
    As you all can see, I hacked parts of this script so as to run a simple ./configure make make install in $PKG/usr fakeroor, and pack it into an Arch package.
    I have lots of questions, one at a time...
    1.) How do I know that something wont be over written as soon as I run pacman -U my-pkg.tar.xz  ?
    2.) Since Directory structure of Ofeli respects Linux file structure, I decided to drop it in /usr... If it did not, I would probably ship it to /opt, but why /usr instead of /usr/local....?
    3.) I tried to make a similar hack with mbdyn,  http://www.aero.polimi.it/mbdyn/, but I failed. Standard autoconf install of mbdyn complies with ./configure make make install scheme, and it creates /usr/local/{bin lib libexec share }
    When I ran this PKGBUILD
    #  Maintainer: Loui Chang <louipc dot ist at gmail company>
    pkgname=mbdyn
    pkgver=1.3.15
    pkgrel=1
    pkgdesc="A MultiBody Dynamics analysis package"
    url="http://brlcad.org"
    license=('LGPL' 'BSD' 'custom:BDL')
    #install=brlcad.install
    arch=('i686' 'x86_64')
    #makedepends=('bc' 'libxslt')
    #depends=('boost' 'flex' 'libpng' 'zlib' 'libgl' 'tk>=8.5')
    #options=('!libtool')
    source=(mbdyn-1.3.15.tar.gz)
    build() {
        cd $srcdir/$pkgname-$pkgver
        ./configure --prefix=/usr
    #    --with-opengl=/usr/lib \
    #    --with-tcl=/usr/lib \
    #    --disable-step \
    #    --disable-tkhtml3 \
    #    --disable-tkimg \
    #    --disable-opennurbs
    # For opennurbs, etc
    # gcc -I/opt/brlcad/include -L/opt/brlcad/lib
        make || return 1
    package() {
        cd $srcdir/$pkgname-$pkgver
        make DESTDIR=$pkgdir install || return 1
    #    install -D -m755 $srcdir/brlcad.sh $pkgdir/etc/profile.d/brlcad.sh
    #    mkdir -p $pkgdir/usr/share/licenses/$pkgname
    #    cp $srcdir/$pkgname-$pkgver/doc/legal/bdl.txt \
    #        $pkgdir/usr/share/licenses/$pkgname
    #    cp $srcdir/$pkgname-$pkgver/doc/legal/bsd.txt \
    #        $pkgdir/usr/share/licenses/$pkgname
    #md5sums=('8ccbc692d84854c9b0599b6d1255f916'
    #         '4922e66ff0835169374b9c0569c2f569')
    ( Similar hack of BRLCAD PKGBUILD )  it failed when trying to create libexec...   how can I change this....?
    4.) suppose I want to untar a package.zip in /opt/package, and make a script in /usr/bin/ called "package" containing 'cd /opt/package&&./initscript.sh' properly chmoded as executable, How do I build a PKGBUILD to build a package which once installed will perform this...?
    Most of these questions can seem n00bish, but i am not a great Archer yet...  just a little Archer trying to learn something.... 

    1) pacman will yell at you if there are file conflicts. Generally, if you're packaging something that already exists, you should tack on a suffix (e.g. -git or -nox) to describe the difference. The "official" package then makes it into the conflicts array of your modified package.
    2) /usr/local is generally reserved for things that won't fall under the domain of the package manager. See the FHS for more details.
    3) libexec is avoided in Arch because it does not adhere to the FHS (see above link). The files that go to /usr/libexec should probably end up in /usr/lib instead. Look at the help provided by the config script (./configure --help).
    4) You don't need an install scriptlet to chmod files. Set the permission bits in the package() function after they're moved into place.

  • My first PKGBUILD - Accentuate 1.0

    Hi everyone, I started to practice some ABS, and i created a simple PKGBUILD to install accentuate (it's a fork of KeyJnote, now unreachable for legal issues), a software to present pdf or png slideshows with interesting (and sometimes hidden) features.
    Because it is the first PKGBUILD I'm going to release in the AUR, It would be great if someone gave me a little review of what I've done.
    Here it is:
    # Contributor: Asa Marco <marcoasa90 <at> gmail.com>
    pkgname="accentuate-git"
    pkgver=20081023
    pkgrel=1
    license="GPL"
    arch=('i686' 'x86_64')
    pkgdesc="Presentation tool based on KeyJNote, with many eyecandy effects"
    depends=('python' 'python-opengl' 'python-pygame' 'pil' 'poppler')
    makedepends=('git')
    optdepends=('mplayer: needed to play audio and videos')
    source=()
    url="http://www.cs.rit.edu/~jrm8005/accentuate.html"
    md5sums=()
    _gitroot="git://repo.or.cz/accentuate.git"
    _gitname="accentuate"
    build() {
    git clone $_gitroot
    cd $startdir/src/$_gitname
    install -D -m755 accentuate ${startdir}/pkg/usr/bin/accentuate
    Another way to make it works, could look like this:
    source=('http://repo.or.cz/w/accentuate.git?a=snapshot;h=heads/master;sf=tgz')
    url="http://www.cs.rit.edu/~jrm8005/accentuate.html"
    md5sums=()
    _gitname="accentuate"
    build() {
    cd $startdir/src/$_gitname
    install -D -m755 accentuate ${startdir}/pkg/usr/bin/accentuate
    Considering that the second option doesn't need any makedepends, what's the best approach?
    Any suggestion is wellcome!

    I like the first way best and having git as an extra dependency isn't really an issue.
    Now, the PKGBUILD looks great (considering it's your first), although there is room for improvement. For starters, you can base your package on /usr/share/pacman/PKGBUILD-git.proto (here's a newer version), which is a nice template for git packages. Doing so will help create a more sophisticated package whilst preventing order inconsistencies. Another thing you might want to do is to remove empty fields from the PKGBUILD (i.e.: source, md5sums, etc), purely for aesthetic reasons. Lastly and more importantly, the license field must be an array instead of a string.
    All three of the above are minor issues and shouldn't put you off.
    Edit: You may as well leave python out of the dependencies list, as it's implicitly required by the rest of the python packages.
    Last edited by foutrelis (2008-10-24 01:53:06)

Maybe you are looking for

  • Dell Inspiron 15 3000 Series, Problem installing Network driver, Wireless Key not working

    Hi, This is a brand new Dell, which has Windows 8.1 Pro 64bit installed, and I re-installed all drivers, and did BIOS update as well, but when downloading Network drivers with correct Service Tag and product, I get to the installation screen where it

  • Problems with Adobe Reader X since the 10.1 Update

    Hello togehter. Since the newest Update for the Adobe Reader X (Version 10.1, released 14.6.2011) a lot of our employers in our company have the problem that only the 1. PDF opens fast, the 2. PDF take 5 to 10 seconds to open, sometimes the hole prog

  • LSMW : Urgent SO - DI - Material Configuration Prob

    Hello all, [Direct Input Approach] In my quest for uploading Legacy system SO through LSMW . I have reached at the stage where I am able to create Sales Order successfully but only 1 problem is.. Our client has customization done where by selecting a

  • How to search in MONI

    Dear Friends, 1. There is a scenario FILE to IDOC. 2. In a day we are posting around 4 thousand IDOCs in R/3. 3. In MONI all messages are successful. 4. But in R/3 some IDOCs are in error. Now our requirement is to find a particular message in MONI b

  • Time and Expenses

    I am looking for a front end to put in Time and Expense and have it roll to AP or Payroll. Is there something besides Personal Time and Expense (which I believe requires Projects) I can use for this? How about Web Expenses - does this include time as