PKGBUILD for transmission-remote-gtk new since move to git - help?

Transmission-remote-gtk just moved to git from svn and I made a new PKGBUILD for it;
# Maintainer: Aleksey Frolov <[email protected]> [ru]
# Contributor: PitBall
_pname=transmission-remote-gtk
pkgname=${_pname}-git
pkgver=20120203
pkgrel=1
pkgdesc="GTK client for remote management of the Transmission BitTorrent client, using its HTTP RPC protocol"
arch=(i686 x86_64)
license=('GPL2')
depends=('git' 'hicolor-icon-theme' 'geoip' 'libproxy' 'libunique' 'json-glib' 'libnotify' 'gconf' 'desktop-file-utils' 'curl')
makedepends=('intltool')
conflicts=('transmission-remote-gtk')
install=${pkgname}.install
options=('!libtool')
url="http://code.google.com/p/transmission-remote-gtk"
_gittrunk="https://code.google.com/p/transmission-remote-gtk/"
_gitmod=${pkgname}
build() {
cd ${srcdir}
# GIT checkout
if [[ -d ${_gitmod} ]]; then
(cd ${_gitmod} && git pull )
else
git clone ${_gittrunk} ${_gitmod}
fi
rm -rf ${srcdir}/${_gitmod}-build
cp -r ${srcdir}/${_gitmod} ${srcdir}/${_gitmod}-build
cd ${srcdir}/${_gitmod}-build
# Configure
./autogen.sh
./configure \
--prefix=/usr
# --prefix=/usr \
# --disable-schemas-install \
# --with-gconf-schema-file-dir=/usr/share/gconf/schemas
# Compile
make
# Install
make DESTDIR=${pkgdir} install
# License & Authors
install -dm755 ${pkgdir}/usr/share/licenses/${_pname}
ln -sf /usr/share/licenses/common/GPL2/license.txt ${pkgdir}/usr/share/licenses/${_pname}/LICENSE
install -Dm644 AUTHORS ${pkgdir}/usr/share/doc/${_pname}/AUTHORS
When doing a pacman -U 'pkgname' I get about 20 file "exists in filesystem". With my limited knolwedge I don't know how to fix this. pacman -Uf does it but is an ugly solution. What can I do with the PKGBUILD or maybe recommend users to uninstall the svn version first?
Furthermore; there was a bit of code looking for the .svn directory
# SVN checkout
if [[ -d ${_svnmod}/.svn ]]; then
(cd ${_svnmod} && svn up -r $pkgver)
else
svn co ${_svntrunk} --config-dir ./ -r ${pkgver} ${_svnmod}
fi
which I changed to this;
# GIT checkout
if [[ -d ${_gitmod} ]]; then
(cd ${_gitmod} && git pull )
else
git clone ${_gittrunk} ${_gitmod}
fi
The prupose is to look for previous source and not download it all again, just get the changes. svn up -r is quite straight forward but git pull, I find is not. I'd really appreciate some pointers on this.
By the way, it compiles just fine and with pacman -Uf it works, I'd just like to make a proper PKGBUILD.
Last edited by swanson (2012-02-03 22:35:17)

Yes, that's the seems to be the easiest and cleanest way to go. Here's the new transmission-remote-gtk git version in AUR;
https://aur.archlinux.org/packages.php?ID=56377

Similar Messages

  • Everytime I want to remote my itunes from my iphone, itunes search for radio-stream updates. I often use remote when I'm not connected to Internet so itunes tell me that I should connect to Internet. This is new since 10.5. Can I turn this off?

    Everytime I want to remote my itunes from my iphone, itunes search for radio-stream updates. I often use remote when I'm not connected to Internet so itunes tell me that I should connect because the radio-stream update can't be made. This is new since 10.5. Can I turn off the search for Radio-Stream or does someone else has an Idea how to fix the problem?

    weird very weird. today i did this again today after already being unsuccessful earlier. exactly the same thing as i have done before, exactly. didn't try to import. didn't say damaged library, copied everything in including date. have tried it about 10 times no luck. today it just worked.
    how weird is that?
    oh well JG - maybe you mixed a magic potion for me?
    anyway, thank you for all the help.
    to anyone else reading this all i can say is keep trying, you never know. follow the above advice. you may feel exasperated and think you have done it already, but keep trying.
    cheers
    P

  • [solved] new abs PKGBUILD for package kernel26...old kernel?

    I was looking into the new PKGBUILD in the /var/abs/core/kernel26 folder, as I wanted to update my custom kernel. I was editing the new PKGBUILD when I saw something weird...references to kernel.org files and archlinux.org patch seems to be same as the 2.6.37 version. Is _basekernel value not updated? Am I wrong?
    Take a look:
    new PKGBUILD (I copied only relevant lines):
    _basekernel=2.6.37
    pkgver=${_basekernel}
    pkgrel=6
    _patchname="patch-${pkgver}-4-ARCH"
    source=(ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-$_basekernel.tar.bz2
    ftp://ftp.archlinux.org/other/kernel26/${_patchname}.bz2
    now...these is exactly the same as PKGBUILD for 2.6.37. But the new files are:
    ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.37.1.tar.bz2
    ftp://ftp.archlinux.org/other/kernel26/patch-2.6.37.1-1-ARCH.bz2
    If I am right, someone has to update variable values...
    TIA
    Gemon
    Last edited by gemon (2011-02-21 22:17:23)

    well...I had time to check so...this is the content for the PKGBUILD after I run abs yesterday (pasted only relevant lines):
    # $Id: PKGBUILD 109724 2011-02-12 08:01:06Z tpowa $
    pkgbase="kernel26"
    pkgname=('kernel26' 'kernel26-headers' 'kernel26-docs') # Build stock -ARCH kernel
    _kernelname=${pkgname#kernel26}
    _basekernel=2.6.37
    pkgver=${_basekernel}
    pkgrel=6
    _patchname="patch-${pkgver}-4-ARCH"
    this is the one I run tonight...looks updated now
    # $Id: PKGBUILD 110322 2011-02-18 20:13:49Z tpowa $
    pkgbase="kernel26"
    pkgname=('kernel26' 'kernel26-headers' 'kernel26-docs') # Build stock -ARCH kernel
    _kernelname=${pkgname#kernel26}
    _basekernel=2.6.37
    pkgver=${_basekernel}.1
    pkgrel=1
    _patchname="patch-${pkgver}-${pkgrel}-ARCH"
    now patch filename and kernel sources correctly resolve to the latest ones.
    but believe me, right after I had the 2.6.37.1-arch kernel, the abs PKGBUILD was outdated...probably it is updated after kernel package is released. doesn't matter
    all in all...now it's ok
    Gemon

  • New Local Move Request Script for Exchange 2010 mailboxes

    Hi I would like to have a script that can enable me automatically move mailboxes of certain domains to a new mailbox database. E.g.  new local move request to move only 20 mailboxes in mailboxdatabase01 with the domain name:  mymove.com, moving
    it to mailboxdatabase05. Also, I want to be able to adjust the number of mailboxes to move. Thanks in advance.

    Wrap this, or something similar, into a script that filters out the users with that domain in a particular DB.
    http://technet.microsoft.com/en-us/library/dd876878(v=exchg.141).aspx
    And some filtering examples are in here:
    http://blogs.technet.com/b/rmilne/archive/2014/03/24/powershell-filtering-examples.aspx
    I doubt there is a sample script out there that does exactly what you want, so you'll have to do some coding.
    Cheers,
    Rhoderick
    Microsoft Senior Exchange PFE
    Blog:
    http://blogs.technet.com/rmilne 
    Twitter:   LinkedIn:
      Facebook:
      XING:
    Note: Posts are provided “AS IS” without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.

  • I have started migration système to transfert from hold Macbook pro to New MacBook air application starter successfully for several hours. But since more than 3 hours I got the message transferring Time zone paramètres with time left less than 1 minute.

    Hi
    I have started migration système to transfert from hold Macbook pro to New MacBook air
    Application starter successfully for several hours.
    But since more than 3 hours I got the message "transferring Time zone paramètres " with time left less than 1 minute.
    Any recommendation or suggestion to solve it ?
    Many tanks

    If it has run for 3 hours it's probably done and you can quit Migration Assistant and reboot the new computer. In the future rather than using Migration Assistant I would recommend using Startup Assistant which tends to be a bit more reliable and does not create a new user account as MA does. If  you're interested here is an article explaining Setup Assistant tips.
    Roger

  • New PKGBUILDs for calpp and cpyrit-calpp

    Hello
    I wanted to try the calpp backend for pyrit (a WPA cracking utility), but couldn't find them in either the official repositiories or in AUR. There for I have created new PKGBUILDs for these, they work on my system (x86_64 3.1.0-4-ARCH), but as these are my first ones I wanted to post them here for review before I upload them to AUR.
    The main thing I have doubts about are the dependencies. I think I have listed them all but I'm not sure.
    Here is the PKGBUILD for calpp:
    # Maintainer: Martin R. <mr-ger [at] hotmail [dot] com>
    pkgname=calpp
    pkgver=0.90
    pkgrel=2
    pkgdesc="Library to allow writing ATI CAL kernels in C++"
    arch=('i686' 'x86_64')
    url="http://sourceforge.net/projects/calpp/"
    license=('GPL3')
    depends=('amdstream' 'boost')
    makedepends=('cmake')
    source=("http://sourceforge.net/projects/calpp/files/$pkgname-$pkgver/$pkgname-$pkgver.tar.gz")
    md5sums=('efc3f519492ac8d3178fe42115ce3637')
    _streamdir='/opt/amdstream'
    build() {
    cd "$srcdir/$pkgname-$pkgver"
    sed -i "s|\$ENV{ATISTREAMSDKROOT}/lib|${_streamdir}/lib|g" CMakeLists.txt
    sed -i "s|\$ENV{ATISTREAMSDKROOT}/include|/${_streamdir}/include/CAL|" CMakeLists.txt
    cmake -DCMAKE_INSTALL_PREFIX=/usr .
    make
    package() {
    cd "$srcdir/$pkgname-$pkgver"
    make DESTDIR="$pkgdir/" install
    And here is the PKGBUILD for cpyrit-calpp:
    # Maintainer: Martin R. <mr-ger [at] hotmail [dot] com>
    pkgname=cpyrit-calpp-svn
    pkgver=308
    pkgrel=3
    pkgdesc="CAL++ backend for accelerated attack against WPA-PSK authentication, development version"
    url="http://code.google.com/p/pyrit/"
    license=('GPL3')
    arch=('i686' 'x86_64')
    depends=('python2' 'catalyst-utils' 'pyrit-svn')
    makedepends=('calpp')
    conflicts=('cpyrit-opencl-svn')
    _svntrunk='http://pyrit.googlecode.com/svn/trunk'
    _svnmod='cpyrit_calpp'
    _caldir='/usr/include/CAL/'
    build() {
    svn co "${_svntrunk}/${_svnmod}"
    cd "${_svnmod}"
    sed -i "s|VERSION = '0.4.0-dev'|VERSION = '0.4.1-dev'|" setup.py
    sed -i "s|CALPP_INC_DIRS = \[\]|CALPP_INC_DIRS = \[\'${_caldir}\'\]|" setup.py
    LDFLAGS="" python2 setup.py build
    package() {
    cd "${srcdir}/${_svnmod}"
    python2 setup.py install --root="${pkgdir}" --optimize=1
    Thanks in advance
    EDIT = Updated the PKGBUILDs
    Last edited by ozon-eatar (2011-11-30 22:15:56)

    Thanks for the respones Stebalien! I have changed the things you pointed out and updated my first post.
    I have also run namcap on both packages and their PKGBUILDs. The only thing namcap complains about on the PKGBUILDs are the lack of contributer tag, which I think is unnecessary as I'm listed as the maintainer.
    On the cpyrit-calpp package namcap complains about unnecessary dependencies:
    cpyrit-calpp-svn I: Depends as namcap sees them: depends=(catalyst-utils python2)
    I tried this dep array with all packages listed before uninstalled (well, catalyst and libpcap I couldn't uninstall) and it didn't work. When I added 'calpp' to makedepends it worked, and it ran after I uninstalled calpp again.
    As cpyrit-calpp-svn is a backend to the pyrit-svn package and pointless to install without pyrit-svn I added it back to the array. Might add that this is how the dep array looked before:
    depends=('python2' 'openssl' 'zlib' 'libpcap' 'amdstream' 'catalyst' 'calpp' 'pyrit-svn')
    This is what namcap is telling me about calpp:
    calpp I: Depends as namcap sees them: depends=()
    BUT it will neither build nor will it compile one of the examples without both amdstream and boost (not just boost-libs). Therefore I have not changed the dep array for calpp.

  • My iPhone5s dropped in pool, for 15 min it is not working at all please advise what to do even it is new since two months only ???

    My iPhone5s dropped in pool, for 15 min it is not working at all please advise what to do even it is new since two months only ???

    Get US $269, then make an appointment at any Apple store, do an out of warranty exchange.
    iPhones seldom, if ever, fully recover from water exposure like that.

  • RFC: new PKGBUILD for odfpy

    odfpy is a nice library for producing ODF documents with python. I've created a PKGBUILD for it, any comments before I submit it to the AUR?
    # Contributor: Joel Schaerer <[email protected]>
    pkgname=odfpy
    pkgver=0.7
    pkgrel=1
    pkgdesc="A complete API for OpenDocument in Python"
    arch=('i686' 'x86_64')
    url="http://opendocumentfellowship.com/projects/odfpy"
    license=('GPL')
    depends=('python')
    source=(http://opendocumentfellowship.com/files/odfpy-${pkgver}.tgz)
    md5sums=('cea1c5bf445d3eeacca23f3de5ac0f94')
    build() {
    cd "$srcdir/${pkgname}-${pkgver}"
    python setup.py build
    python setup.py install --prefix=${pkgdir}/usr

    svn version ones from the site:
    odfpy
    pkgname=odfpy
    pkgver=442
    pkgrel=2
    pkgdesc="A complete API for OpenDocument in Python"
    arch=('i686' 'x86_64')
    url="http://opendocumentfellowship.com/projects/odfpy"
    license=('GPL')
    depends=('python')
    source=()
    md5sums=()
    _svntrunk="http://opendocumentfellowship.com/repos/odfpy/trunk"
    _svnmod="odfpy"
    build() {
    cd ${startdir}/src
    msg "Connecting to svn server...."
    if [ -d ${_svnmod}/.svn ]; then
    (cd ${_svnmod} && svn up -r ${pkgver})
    else
    svn co $_svntrunk ${_svnmod}
    fi
    msg "SVN checkout done or server timeout"
    msg "Starting make..."
    cp -r ${startdir}/src/${_svnmod} ${startdir}/src/${_svnmod}-build
    cd ${startdir}/src/${_svnmod}-build
    python setup.py build
    python setup.py install --root=${startdir}/pkg
    rm -rf ${startdir}/src/${_svnmod}-build
    odftools
    pkgname=odftools
    pkgver=324
    pkgrel=2
    pkgdesc="a set of conversion tools for OpenDocument files"
    arch=('i686' 'x86_64')
    url="http://opendocumentfellowship.com/projects/odftools"
    license=('GPL')
    depends=('python')
    source=()
    md5sums=()
    _svntrunk="http://opendocumentfellowship.com/repos/odftools/trunk"
    _svnmod="odftools"
    build() {
    cd ${startdir}/src
    msg "Connecting to svn server...."
    if [ -d ${_svnmod}/.svn ]; then
    (cd ${_svnmod} && svn up -r ${pkgver})
    else
    svn co ${_svntrunk} ${_svnmod}
    fi
    msg "SVN checkout done or server timeout"
    msg "Starting make..."
    cp -r ${startdir}/src/${_svnmod} ${startdir}/src/${_svnmod}-build
    find . -type d -name '\.svn' -exec rm -rf {} \;
    cd ${startdir}/src/${_svnmod}-build
    install -d ${pkgdir}/usr/{bin,share/man/man1}
    make
    make PREFIX=${pkgdir}/usr install
    rm -rf ${startdir}/src/${_svnmod}-build
    odf2html
    pkgname=odf2html
    pkgver=349
    pkgrel=2
    pkgdesc="a set of conversion tools for OpenDocument files"
    arch=('i686' 'x86_64')
    url="http://opendocumentfellowship.com/projects/odftools"
    license=('GPL')
    depends=('libxslt')
    source=()
    md5sums=()
    _svntrunk="http://opendocumentfellowship.com/repos/html2odf/trunk"
    _svnmod="odf2html"
    build() {
    cd ${startdir}/src
    msg "Connecting to svn server...."
    if [ -d ${_svnmod}/.svn ]; then
    (cd ${_svnmod} && svn up -r ${pkgver})
    else
    svn co $_svntrunk ${_svnmod}
    fi
    msg "SVN checkout done or server timeout"
    msg "Starting make..."
    cp -r ${startdir}/src/${_svnmod} ${startdir}/src/${_svnmod}-build
    cd ${startdir}/src/${_svnmod}-build
    install -d ${pkgdir}/usr/share/odftools/xsl
    make
    install -m 644 html2odf-complete.xsl \
    ${pkgdir}/usr/share/odftools/html2odf-complete.xsl
    install -m 644 html2odf.xsl \
    ${pkgdir}/usr/share/odftools/html2odf.xsl
    cp -r xsl/*.xsl ${pkgdir}/usr/share/odftools/xsl
    chmod 0644 ${pkgdir}/usr/share/odftools/xsl/*.xsl
    rm -rf ${startdir}/src/${_svnmod}-build
    odfviewer
    pkgname=odfviewer
    pkgver=350
    pkgrel=2
    pkgdesc="Cross-platform viewer for OpenDocument files"
    arch=('i686' 'x86_64')
    url="http://opendocumentfellowship.com/projects/odfviewer"
    license=('GPL')
    depends=('xulrunner')
    source=()
    md5sums=()
    _svntrunk="http://opendocumentfellowship.com/repos/odfviewer/trunk"
    _svnmod="odfviewer"
    build() {
    cd ${startdir}/src
    [ -d ${_svnmod}-build ] && rm -rf ${_svnmod}-build
    msg "Connecting to svn server...."
    if [ -d ${_svnmod}/.svn ]; then
    (cd ${_svnmod} && svn up -r ${pkgver})
    else
    svn co $_svntrunk ${_svnmod}
    fi
    msg "SVN checkout done or server timeout"
    msg "Starting make..."
    cp -r ${startdir}/src/${_svnmod} ${startdir}/src/${_svnmod}-build
    cd ${startdir}/src/${_svnmod}-build
    find . -type d -name '\.svn' -exec rm -rf {} \;
    install -d ${pkgdir}/opt/odfviewer
    cp -r * ${pkgdir}/opt/odfviewer
    install -D -m 755 ${startdir}/odfviewer ${pkgdir}/usr/bin/odfviewer
    rm -rf ${startdir}/src/${_svnmod}-build
    script of odfviewer
    #!/bin/sh
    cd /opt/odfviewer
    xulrunner application.ini $@
    Last edited by superkevjr (2008-06-04 12:45:23)

  • [SOLVED] transmission remote gui svn will not build

    This is what I get when trying to compile from AUR:
    http://code.google.com/p/transmisson-remote-gui/issues/detail?id=410&colspec=ID%20Type%20Status%20Priority%20Stars%20Milestone%20OpSys%20SummaryNote: environment config file not found - using defaults
    NOTE: miscellaneous options file not found - using defaults
    TLazPackageGraph.CheckIfPackageNeedsCompilation No state file for trcomp 1.0
    [TExternalToolList.Run] CmdLine="/usr/bin/fpc -B -MObjFPC -Scgi -O1 -gl -vewnhi -l -Fu/usr/lib/lazarus/lcl/units/i386-linux -Fu/usr/lib/lazarus/lcl/units/i386-linux/gtk2 -Fu/usr/lib/lazarus/packager/units/i386-linux -Fu/var/abs/local/yaourtbuild/transmission-remote-gui-svn/src/transmission-remote-gui/ -Fu. -FU/var/abs/local/yaourtbuild/transmission-remote-gui-svn/src/transmission-remote-gui/lib/i386-linux/ -dLCL -dLCLgtk2 trcomp.pas" WorkDir="/var/abs/local/yaourtbuild/transmission-remote-gui-svn/src/transmission-remote-gui/"
    Hint: Start of reading config file /etc/fpc.cfg
    Hint: End of reading config file /etc/fpc.cfg
    Free Pascal Compiler version 2.4.2 [2010/11/14] for i386
    Copyright (c) 1993-2010 by Florian Klaempfl
    Target OS: Linux for i386
    Compiling trcomp.pas
    Compiling vargrid.pas
    Compiling varlist.pas
    vargrid.pas(74,28) Hint: Parameter "Sender" not used
    vargrid.pas(441,41) Error: Wrong number of parameters specified for call to "DrawGridCheckboxBitmaps"
    grids.pas(3877,23) Hint: Found declaration: TCustomGrid.DrawGridCheckboxBitmaps(const LongInt,const LongInt,const TRect,const TCheckBoxState);
    vargrid.pas(540,47) Error: Wrong number of parameters specified for call to "DrawGridCheckboxBitmaps"
    grids.pas(3877,23) Hint: Found declaration: TCustomGrid.DrawGridCheckboxBitmaps(const LongInt,const LongInt,const TRect,const TCheckBoxState);
    vargrid.pas(1002) Fatal: There were 2 errors compiling module, stopping
    TExternalToolList.Run Exception: /var/abs/local/yaourtbuild/transmission-remote-gui-svn/src/transmission-remote-gui/vargrid.pas(1002) Fatal: There were 2 errors compiling module, stopping
    ERROR: tool reported error
    This also happens with some arbitrary svn versions 519,410 and 300. I've also posted here:
    http://code.google.com/p/transmisson-re … %20Summary
    Last edited by swanson (2011-04-08 07:31:20)

    Finally! Lazarus 0.9.28 easily compiled from source manually. And install fpc 2.4.0 from ARM. Then I had to edit the PKGBUILD and delete 'lazarus' as dependency since it otherwise wuold install 0.9.30 again.. . Violá! Compiled and really seems to be working. One problem was that lazarus 0.9.28 wasn't in the ARM.
    EDIT; instructions;
    Download lazarus 0.9.28: http://mirrors.iwi.me/lazarus/releases/ … rc.tar.bz2
    fpc 2.4.0: http://arm.konnichi.com/community/os/i6 … pkg.tar.gz
    Uninstall any previuos fpc and lazarus
    Install downloaded fpc (pacman -U fpc-2.4.0-1-i686.pkg.tar.gz)
    Unpack compile and install lazarus (make clean all, make install)
    Begin install transgui - yaourt -S transmission-remote-gui-svn - during install edit PKGBUILD and delete the makedepends 'lazarus'. Continue build. Should be ok.
    Maybe it's possible to do a PKGBUILD on lasarus 0.9.28, and an alernative  one for transgui but it's a bit over my horizon.
    Last edited by swanson (2011-04-09 05:51:52)

  • How do I create a new user, move my old files etc over, and delete old user

    This is why I think I need to.
    My computer got hit by lightening, and I may have created a new user account through netinfo rather than system preferences /accounts/+user. Mail used to open twice, but no longer. Now, Safari askes me for my keychain password twice, Spotlight can't find a folder on the computer when the search is restricted to folder and computer, though the folder is there and easyfind finds it, and when System Preferences/Spotlight/Privacy has the hard drive icon added, then deleted, Spotlight still does not find anything. (Yes, everything is backed up, on CD, DVD, and online.) Microsoft Tec Support says
    "Here is a summary of the key points of the case for your records.
    When you contacted us on August 8, you had requested assistance with Microsoft Office 2004, as your installation of the updates was unable to find the correct version of the software to update. After creating a New MAC User, we identified the issue to be with a corrupt MAC User account, and not a Microsoft issue. "
    I believe Microsoft. So, creating a new user was easy.
    But copying files uses up too much hard drive (movies, music), and may miss keychains, preferences, mail, address book, and documents. Since Spotlight no longer works, who knows what is happening. (Yes, I've repaired persmissions, and disk repair. No change). I'm using up my hard drive trying to move files to the new user. If I share files, or put them into a public folder, then delete the old user, will I still have the old user's files in the new user's account? It is not clear to me what I should be trying to do in order to create a new user, move my old files etc over, and delete old user. Thanks.
    My responses will be slow, because I have to drive to town to use the internet. I've ordered a new airport which may take care of that problem. SO be patient.

    Hey -
    I need to do the EXACT same thing, but have no idea how. Has anyone out there done this?
    My situation is a tad different..this is a new Mac (and I'm a brand new Mac user). Tons of querks occur under my original account (videos won't run, Safari won't support certain plug-ins). I spent 6 hours on the phone w/ 4 different Apple Reps and nobody could fix it. A rep finally looked at my MacBook Pro in person today. He created a new account just to see if that would work and under that new account, everything works perfectly fine (no querks, can view video). He tried switching a million settings in my original account to no avail.
    He said to create a new account (as he did) and move my files over to the new account and then go back to the original and delete it. How do you do this?! I can't figure it out! I've got a new account created, but of course it just has the default folders in it w/ the little red icons next to them! Thanks in advance!

  • PKGBUILD for custom kernel issue

    Hi all,
    Last night I was putting together a PKGBUILD for a kernel I'd like to compile that has the ck patchset, grsecurity (latest testing), and had broadcom-wl on it already so I don't have to keep reinstalling it from AUR and doing depmod each time as it keeps making me have to find an ethernet cable. I used the kerne26 Arch PKGBUILD as a base and included parts of kernel-netbook for broadcom-wl, kernel26-grsecurity, and kernel26-ck and altered name variables and links etc so it all works and all sources are downloaded. I also got the two .patch files (semaphore and something else) from the kernel-netbook tarball to build the thing with, I don't know if it would work without them.
    However when I get into the build() a few patches are applied before I get messages about patches already applied or reversed, and then it says build failed because of an error, I can't tell which package is causing thins or why (it all goes by too fast, and the error says failed without reason, and the reversed patch messages are what is immediately previous to it). I have not yet gone all the way through the pkgbuild - especially towards the end, and I felt that the standard setup of init file system creation and such were ok, and if anything does need altering about it, I can deal with it once I get these first troubles solved.
    Below is my pkgbuild so far. Hopefully there are people out there who can aid me with this.
    Thanks,
    Ben.
    # Maintainer: Ben Ward <[email protected]>
    pkgbase="kernel26"
    # pkgname=('kernel26' 'kernel26-headers' 'kernel26-docs') # Build stock -ARCH kernel
    pkgname=kernel26-custom # Build kernel with a different name
    #Base kernel info
    _kernelname=${pkgname#kernel26}
    _basekernel=2.6.38
    pkgver=${_basekernel}.3
    pkgrel=1
    #ARCH patch info
    _archpatchver=1
    _archpatchname="patch-${pkgver}-${_archpatchver}-ARCH"
    #_archpatchname="patch-${pkgver}-1-ARCH"
    #grsecurity info
    _grsec=2.2.2
    _timestamp=201104182227
    #Broadcom-wl info
    _broadcom_ver=5.100.82.38
    _broadcom="hybrid-portsrc_x86_32-v${_broadcom_ver//./_}"
    #ck-patch info
    _ckpatchversion=3
    _ckpatchname="patch-${_basekernel}-ck${_ckpatchversion}"
    arch=(i686 x86_64)
    license=('GPL2')
    url="http://www.kernel.org"
    options=(!strip)
    source=(ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-$_basekernel.tar.bz2
    ftp://ftp.kernel.org/pub/linux/kernel/v2.6/patch-${pkgver}.bz2
    ftp://ftp.archlinux.org/other/kernel26/${_archpatchname}.bz2
    http://grsecurity.net/test/grsecurity-${_grsec}-${pkgver}-${_timestamp}.patch
    http://www.broadcom.com/docs/linux_sta/${_broadcom}.tar.gz
    http://www.kernel.org/pub/linux/kernel/people/ck/patches/2.6/${_basekernel}/${_basekernel}-ck${_ckpatchversion}/${_ckpatchname}.bz2
    "semaphore.patch"
    "mutex-sema.patch"
    # the main kernel config files
    config config.x86_64
    # standard config files for mkinitcpio ramdisk
    kernel26.preset)
    md5sums=('7d471477bfa67546f902da62227fa976'
    'b3677121c4b5efcb8128c2000788d0aa'
    '5b14b6eb2cdcb074905d4974437c4df6'
    'a19024797f192fe21a468de80c101d8a'
    'c0074a1622c75916442e26763ddf47d0'
    '88d5b3e0622f8c48dad19ab9ac3c16f0'
    'aee89fe7f034aea2f2ca95322774c1b5'
    '21ce3f7967d7305064bf7eb60030ffea'
    'f66543886835ab8599b29cd0c48aa66d'
    'd866bcc06672fee17736bd5022f700fe'
    '25584700a0a679542929c4bed31433b6')
    build() {
    cd ${srcdir}/linux-$_basekernel
    # Apply kernel.org patch to basekernel
    msg "Checking basekernel is ip to date..."
    if [[ "${_basekernel}" != "${pkgver}" ]]; then
    msg "Patching source with upstream patch..."
    patch -Np1 -i "${srcdir}/patch-${pkgver}" || return 1
    fi
    # Add -ARCH patches
    # See http://projects.archlinux.org/linux-2.6-ARCH.git/
    msg "Patching Kernel with ARCH patches..."
    patch -Np1 -i ${srcdir}/${_archpatchname}
    # Add ck patch
    msg "Patching Kernel with ck patches..."
    patch -Np1 -i ${srcdir}/${_ckpatchname}
    # Add grsecurity patch
    msg "Patching kernel with grsecurity testing branch..."
    if [ "$CARCH" = "x86_64" ]; then
    cat ../config.x86_64 >./.config
    else
    cat ../config >./.config
    fi
    if [ "${_kernelname}" != "" ]; then
    sed -i "s|CONFIG_LOCALVERSION=.*|CONFIG_LOCALVERSION=\"${_kernelname}\"|g" ./.config
    fi
    # get kernel version
    make prepare
    # load configuration
    # Configure the kernel. Replace the line below with one of your choice.
    #make menuconfig # CLI menu for configuration
    make nconfig # new CLI menu for configuration
    #make xconfig # X-based configuration
    #make oldconfig # using old config from previous kernel version
    # ... or manually edit .config
    # stop here
    # this is useful to configure the kernel
    #msg "Stopping build"
    #return 1
    yes "" | make config
    # build!
    make ${MAKEFLAGS} bzImage modules
    package_kernel26() {
    pkgdesc="The Linux Kernel and modules"
    groups=('base')
    backup=(etc/mkinitcpio.d/${pkgname}.preset)
    depends=('coreutils' 'linux-firmware' 'module-init-tools>=3.12-2' 'mkinitcpio>=0.6.8-2')
    # pwc, ieee80211 and hostap-driver26 modules are included in kernel26 now
    # nforce package support was abandoned by nvidia, kernel modules should cover everything now.
    # kernel24 support is dropped since glibc24
    replaces=('kernel24' 'kernel24-scsi' 'kernel26-scsi'
    'alsa-driver' 'ieee80211' 'hostap-driver26'
    'pwc' 'nforce' 'squashfs' 'unionfs' 'ivtv'
    'zd1211' 'kvm-modules' 'iwlwifi' 'rt2x00-cvs'
    'gspcav1' 'atl2' 'wlan-ng26' 'rt2500' 'nouveau-drm')
    install=kernel26.install
    optdepends=('crda: to set the correct wireless channels of your country')
    KARCH=x86
    cd ${srcdir}/linux-$_basekernel
    # get kernel version
    _kernver="$(make kernelrelease)"
    mkdir -p ${pkgdir}/{lib/modules,lib/firmware,boot}
    make INSTALL_MOD_PATH=${pkgdir} modules_install
    cp System.map ${pkgdir}/boot/System.map26${_kernelname}
    cp arch/$KARCH/boot/bzImage ${pkgdir}/boot/vmlinuz26${_kernelname}
    # # add vmlinux
    install -m644 -D vmlinux ${pkgdir}/usr/src/linux-${_kernver}/vmlinux
    # install fallback mkinitcpio.conf file and preset file for kernel
    install -m644 -D ${srcdir}/kernel26.preset ${pkgdir}/etc/mkinitcpio.d/${pkgname}.preset
    # set correct depmod command for install
    sed \
    -e "s/KERNEL_NAME=.*/KERNEL_NAME=${_kernelname}/g" \
    -e "s/KERNEL_VERSION=.*/KERNEL_VERSION=${_kernver}/g" \
    -i $startdir/kernel26.install
    sed \
    -e "s|source .*|source /etc/mkinitcpio.d/kernel26${_kernelname}.kver|g" \
    -e "s|default_image=.*|default_image=\"/boot/${pkgname}.img\"|g" \
    -e "s|fallback_image=.*|fallback_image=\"/boot/${pkgname}-fallback.img\"|g" \
    -i ${pkgdir}/etc/mkinitcpio.d/${pkgname}.preset
    echo -e "# DO NOT EDIT THIS FILE\nALL_kver='${_kernver}'" > ${pkgdir}/etc/mkinitcpio.d/${pkgname}.kver
    # remove build and source links
    rm -f ${pkgdir}/lib/modules/${_kernver}/{source,build}
    # remove the firmware
    rm -rf ${pkgdir}/lib/firmware
    # gzip -9 all modules to safe 100MB of space
    find "$pkgdir" -name '*.ko' -exec gzip -9 {} \;
    ##Section: Broadcom-wl
    msg "Compiling broadcom-wl module:"
    cd ${srcdir}/
    #patching broadcom as broadcom-wl package on AUR
    patch -p1 < license.patch
    patch -p1 < semaphore.patch
    patch -p1 < mutex-sema.patch
    make -C ${srcdir}/linux-$_basekernel M=`pwd`
    install -D -m 755 wl.ko ${pkgdir}/lib/modules/$_kernver/kernel/drivers/net/wireless/wl.ko
    package_kernel26-headers() {
    pkgdesc="Header files and scripts for building modules for kernel26"
    mkdir -p ${pkgdir}/lib/modules/${_kernver}
    cd ${pkgdir}/lib/modules/${_kernver}
    ln -sf ../../../usr/src/linux-${_kernver} build
    cd ${srcdir}/linux-$_basekernel
    install -D -m644 Makefile \
    ${pkgdir}/usr/src/linux-${_kernver}/Makefile
    install -D -m644 kernel/Makefile \
    ${pkgdir}/usr/src/linux-${_kernver}/kernel/Makefile
    install -D -m644 .config \
    ${pkgdir}/usr/src/linux-${_kernver}/.config
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/include
    for i in acpi asm-generic config generated linux math-emu media net pcmcia scsi sound trace video xen; do
    cp -a include/$i ${pkgdir}/usr/src/linux-${_kernver}/include/
    done
    # copy arch includes for external modules
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/arch/x86
    cp -a arch/x86/include ${pkgdir}/usr/src/linux-${_kernver}/arch/x86/
    # copy files necessary for later builds, like nvidia and vmware
    cp Module.symvers ${pkgdir}/usr/src/linux-${_kernver}
    cp -a scripts ${pkgdir}/usr/src/linux-${_kernver}
    # fix permissions on scripts dir
    chmod og-w -R ${pkgdir}/usr/src/linux-${_kernver}/scripts
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/.tmp_versions
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/arch/$KARCH/kernel
    cp arch/$KARCH/Makefile ${pkgdir}/usr/src/linux-${_kernver}/arch/$KARCH/
    if [ "$CARCH" = "i686" ]; then
    cp arch/$KARCH/Makefile_32.cpu ${pkgdir}/usr/src/linux-${_kernver}/arch/$KARCH/
    fi
    cp arch/$KARCH/kernel/asm-offsets.s ${pkgdir}/usr/src/linux-${_kernver}/arch/$KARCH/kernel/
    # add headers for lirc package
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/video
    cp drivers/media/video/*.h ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/video/
    for i in bt8xx cpia2 cx25840 cx88 em28xx et61x251 pwc saa7134 sn9c102; do
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/video/$i
    cp -a drivers/media/video/$i/*.h ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/video/$i
    done
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/drivers/staging/usbvideo/
    cp -a drivers/staging/usbvideo/*.h ${pkgdir}/usr/src/linux-${_kernver}/drivers/staging/usbvideo/
    # add docbook makefile
    install -D -m644 Documentation/DocBook/Makefile \
    ${pkgdir}/usr/src/linux-${_kernver}/Documentation/DocBook/Makefile
    # add dm headers
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/drivers/md
    cp drivers/md/*.h ${pkgdir}/usr/src/linux-${_kernver}/drivers/md
    # add inotify.h
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/include/linux
    cp include/linux/inotify.h ${pkgdir}/usr/src/linux-${_kernver}/include/linux/
    # add wireless headers
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/net/mac80211/
    cp net/mac80211/*.h ${pkgdir}/usr/src/linux-${_kernver}/net/mac80211/
    # add dvb headers for external modules
    # in reference to:
    # http://bugs.archlinux.org/task/9912
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/dvb-core
    cp drivers/media/dvb/dvb-core/*.h ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/dvb-core/
    # add dvb headers for external modules
    # in reference to:
    # http://bugs.archlinux.org/task/11194
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/include/config/dvb/
    cp include/config/dvb/*.h ${pkgdir}/usr/src/linux-${_kernver}/include/config/dvb/
    # add dvb headers for http://mcentral.de/hg/~mrec/em28xx-new
    # in reference to:
    # http://bugs.archlinux.org/task/13146
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/frontends/
    cp drivers/media/dvb/frontends/lgdt330x.h ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/frontends/
    cp drivers/media/video/msp3400-driver.h ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/frontends/
    # add dvb headers
    # in reference to:
    # http://bugs.archlinux.org/task/20402
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/dvb-usb
    cp drivers/media/dvb/dvb-usb/*.h ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/dvb-usb/
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/frontends
    cp drivers/media/dvb/frontends/*.h ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/frontends/
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/common/tuners
    cp drivers/media/common/tuners/*.h ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/common/tuners/
    # add xfs and shmem for aufs building
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/fs/xfs
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/mm
    cp fs/xfs/xfs_sb.h ${pkgdir}/usr/src/linux-${_kernver}/fs/xfs/xfs_sb.h
    # add headers vor virtualbox
    # in reference to:
    # http://bugs.archlinux.org/task/14568
    cp -a include/drm $pkgdir/usr/src/linux-${_kernver}/include/
    # add headers for broadcom wl
    # in reference to:
    # http://bugs.archlinux.org/task/14568
    cp -a include/trace $pkgdir/usr/src/linux-${_kernver}/include/
    # add headers for crypto modules
    # in reference to:
    # http://bugs.archlinux.org/task/22081
    cp -a include/crypto $pkgdir/usr/src/linux-${_kernver}/include/
    # copy in Kconfig files
    for i in `find . -name "Kconfig*"`; do
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/`echo $i | sed 's|/Kconfig.*||'`
    cp $i ${pkgdir}/usr/src/linux-${_kernver}/$i
    done
    chown -R root.root ${pkgdir}/usr/src/linux-${_kernver}
    find ${pkgdir}/usr/src/linux-${_kernver} -type d -exec chmod 755 {} \;
    # strip scripts directory
    find ${pkgdir}/usr/src/linux-${_kernver}/scripts -type f -perm -u+w 2>/dev/null | while read binary ; do
    case "$(file -bi "$binary")" in
    *application/x-sharedlib*) # Libraries (.so)
    /usr/bin/strip $STRIP_SHARED "$binary";;
    *application/x-archive*) # Libraries (.a)
    /usr/bin/strip $STRIP_STATIC "$binary";;
    *application/x-executable*) # Binaries
    /usr/bin/strip $STRIP_BINARIES "$binary";;
    esac
    done
    # remove unneeded architectures
    rm -rf ${pkgdir}/usr/src/linux-${_kernver}/arch/{alpha,arm,arm26,avr32,blackfin,cris,frv,h8300,ia64,m32r,m68k,m68knommu,mips,microblaze,mn10300,parisc,powerpc,ppc,s390,sh,sh64,sparc,sparc64,um,v850,xtensa}
    package_kernel26-docs() {
    pkgdesc="Kernel hackers manual - HTML documentation that comes with the Linux kernel."
    cd ${srcdir}/linux-$_basekernel
    mkdir -p $pkgdir/usr/src/linux-$_kernver
    mv Documentation $pkgdir/usr/src/linux-$_kernver
    find $pkgdir -type f -exec chmod 444 {} \;
    find $pkgdir -type d -exec chmod 755 {} \;
    # remove a file already in kernel26 package
    rm -f $pkgdir/usr/src/linux-$_kernver/Documentation/DocBook/Makefile
    I wonder if localyesconfig would take care of broadcom-wl for me...
    Last edited by Ben9250 (2011-04-20 00:12:44)

    Thank you. I guess trying the abs method wouldn't hurt. My main issue was configuration. I've only just skimmed the PKGBUILD so I'm not aware of how it handles it. I suppose I could write my own as described in the wiki as well. Thanks again.
    Edit: Further research has revealed to me that the kernel headers are merely there for when the full source tree isn't. Seeing as the full tree is present in my case, the headers are unnecessary. I may take graysky's advice though and use pacman to manage my kernel.
    Last edited by smithr.michael1997 (2011-03-31 02:17:29)

  • I keep getting "This content requires HDCP for playback" with my new Apple TV 3.

    I keep getting "This content requires HDCP for playback" with my new Apple TV 3. I've returned one and got a new one. I've turned everything on and off. I've upgraded my bandwith. I've tried using different HDMI ports. Nothing is working.
    Sometimes a movie will start to play for about 3-5 seconds and then freeze. My music plays fine as well as other videos that are not HD.
    This has been going on for 3 weeks now and Apple Support and Genius Bar couldn't help.
    Would appreciate any other solutions folks came up with.
    Thanks.

    Thanks. I'll try to get a new HDMI cable, but that ****** me off since I bought the one I had from Apple thinking I'd avoid any issues like this.
    I've also never had a movie play and have also tried Reset.
    Since the movie starts to play for a few seconds, I'm assuming it is not my TV.
    Thanks!
    Steve

  • HT4914 I purchased iMatch because my old computer was failing and I was afraid of losing my music library. Now I bought a new laptop; what is the best way for me to transfer my library to my new laptop? Will iMatch help me do this?

    I purchased iMatch because my old computer was failing and I was afraid of losing my music library. Now I bought a new laptop; what is the best way for me to transfer my library to my new laptop? Will iMatch help me do this?

    Is/was failing or has failed?
    If the old computer still runs one of these methods may be best.
    Method 1
    Backup the library with this User Tip.
    Restore the backup to your new computer using the same tool used to back it up.
    Deauthorize the old computer if you no longer want to access protected content on it.
    Keep your backup up-to-date in future.
    Method 2
    Connect the two computers to the same network. Share your <User's Music> folder from the old computer and copy the entire iTunes library folder into the <User's Music> folder on the new one. Again, deauthorize the old computer if no longer required.
    I'd recommend method 1 since it establishes an ongoing backup for your library.
    I don't have personal experience with iTunes Match, but in principle you should be able to download all the tracks currently registered to your iTunes Match account. This isn't quite the same as restoring your previous library exactly as it was. There is always the potential for iTunes match to provide the wrong version of a song and could be content such as movies, podcasts, audiobooks etc. that would have been excluded.
    tt2

  • Hdf4 and pyhdf AUR PKGBUILDS for review

    pyhdf is a Python interface to the HDF4 library. HDF4 is a scientific data file format. pyhdf links to the static libs built by the HDF4 package. I decided to split HDF4 out into its own package because someone else might want to link to these libraries, or use the numerous HDF4 utilities that accompany them. There is an hdf5 package in the AUR already, but hdf5 coexists with hdf4, rather than replacing it.
    Here is the HDF4 PKGBUILD:
    # Contributor: David Scholl <djscholl>
    pkgname=hdf4
    pkgver=2r1
    pkgrel=1
    pkgdesc="General purpose library and file format for storing scientific data."
    url="http://hdf.ncsa.uiuc.edu/hdf4.html"
    license="custom"
    depends=('zlib' 'libjpeg')
    makedepends=(gcc-fortran)
    source=(ftp://ftp.ncsa.uiuc.edu/HDF/HDF/HDF_Current/src/HDF4.$pkgver.tar.gz ftp://ftp.ncsa.uiuc.edu/HDF/HDF/HDF_Current/src/patches/configure)
    md5sums=('9082c6fa913b9188452fa6c5217e1573' '845b0e1a20c0a969fca386b8830236ed')
    build() {
    cp ./configure $startdir/src/HDF4.$pkgver
    cd $startdir/src/HDF4.$pkgver
    ./configure --prefix=/usr F77=gfortran FFLAGS=-ffixed-line-length-0
    make || return 1
    make prefix=$startdir/pkg/usr install
    mkdir -p $startdir/pkg/usr/share/licenses/hdf4
    cp $startdir/src/HDF4.$pkgver/COPYING $startdir/pkg/usr/share/licenses/hdf4
    HDF4 was originally built with commercial Fortran 77 compilers, although g77 worked too. Since g77 is gone, I built it with gfortran. I encountered a couple of issues with the "make check" command, which compiles and runs tests of the libraries and utilities. The main package builds without errors using plain gfortran. However, the test code contains lines longer than 72 characters, so I had to add the FFLAGS=-ffixed-line-length-0 option to the configure script to be able to build the tests. When I manually do
    cd $startdir/src/HDF4.$pkgver
    make check || return 1
    all of the tests are built and passed without errors. However, when I put these two lines into the build script, the tests fail as follows:
    ============================
    HDF-SD C interfaces tests
    ============================
    srcdir="." ./hdftest > hdfout.new
    make[2]: *** [check] Error 1
    make[2]: Leaving directory `/home/dscholl/abs/hdf4check/src/HDF4.2r1/mfhdf/libsrc'
    make[1]: *** [check-recursive] Error 1
    make[1]: Leaving directory `/home/dscholl/abs/hdf4check/src/HDF4.2r1/mfhdf'
    make: *** [check-recursive] Error 1
    ==> ERROR: Build Failed. Aborting...
    I would like to include the tests in the build, because it's bad when your data gets mangled. However, I don't know how to get the tests to run in the build script. If anyone has any suggestions I would appreciate them.
    HDF4 is released under a license which resembles other Open Source licenses I have read, so I treated it as a custom license. The HDF4 package can be built with an optional compression library called szip, which is not an Open Source product. szip is available under non-commercial and commercial licenses, but prospective commercial users must contact the licensing agent. The AUR doesn't have a way to make that clear to prospective users, so I left out szip.
    Here is the PKGBUILD for pyhdf:
    # Contributor: David Scholl <djscholl>
    pkgname=pyhdf
    pkgver=0.7.3
    pkgrel=1
    pkgdesc="Python bindings for the HDF library."
    url="http://pysclint.sourceforge.net/pyhdf/"
    license="Python"
    depends=('python' 'python-numeric' 'zlib' 'libjpeg')
    makedepends=(hdf4)
    source=(http://dl.sourceforge.net/pysclint/$pkgname-0.7-3.tar.gz)
    md5sums=('f55aa19e61cf6501f436e27783098000')
    build() {
    cd $startdir/src/$pkgname-0.7-3
    sed -i '/#extra_compile_args=["-DNOSZIP"],/s/#//' setup.py
    sed -i '/libraries = ["mfhdf", "df", "jpeg", "z", "sz"]/s/libraries/#libraries/' setup.py
    sed -i '/#libraries = ["mfhdf", "df", "jpeg", "z"]/s/#//' setup.py
    python setup.py install --root=$startdir/pkg
    pyhdf assumes the availability of szip by default, so its setup.py must be hacked to build it without szip.  I do this with three sed commands, following the instructions in the INSTALL file and the comments in the setup.py. The sourceforge page for pyhdf describes it as being released under the Python license, but there is no copyright file included with the source distribution, nor did I find one on the project website.
    If anyone has corrections or improvements to suggest, please post.

    I have done some further digging into the "make check" issue, but I don't know enough to solve it. I'm hoping someone will be able to figure out a patch or work-around that I can use.
    The error message announces leaving the src/HDF4.2r1/mfhdf/libsrc directory. We can find the first part of the error message in the Makefile:
    less -N src/HDF4.2r1/mfhdf/libsrc/Makefile
    729 check:
    730 @echo "============================"
    731 @echo "HDF-SD C interfaces tests"
    732 @echo "============================"
    733 srcdir="$(srcdir)" ./hdftest > hdfout.new
    734 @cmd="$(DIFF) hdfout.new $(srcdir)/hdfout.sav";
    It appears to me that line 733 bombs when "make check" is run from the build script, and the diff command in 734 doesn't get a chance to run.
    The hdfout.new from the build script "make check" ends in
    *** UNEXPECTED VALUE from second SDstart is 393216 at line 61 in tsd.c
    num_err == 1
    The file src/HDF4.2r1/mfhdf/libsrc/hdfout.sav ends in
    num_err == 0
    less -N src/HDF4.2r1/mfhdf/libsrc/tsd.c
    24 #define FILE_NAME "sdtest.hdf" /* data file to test ID types */
    59 /* Create a protected file */
    60 fid = SDstart(FILE_NAME, DFACC_CREATE);
    61 VERIFY(fid, FAIL, "second SDstart");
    Running "make check" manually:
    $ ls -l sdtest.hdf
    --w------- 1 dscholl dscholl 2503 2006-08-13 09:45 sdtest.hdf
    Running "make check" from within the build script:
    $ ls -l sdtest.hdf
    -rw------- 1 dscholl dscholl 2502 2006-08-13 09:48 sdtest.hdf
    I'm not a C programmer, but it appears to me that the hdftest binary is trying to create a read-protected --w------- file, and actually creating a -rw------- file. When it tries to read it, it generates an error message and the Makefile stops running. What is different about the build script environment that would cause this difference in file creation?

  • New iTunes Movies Won't Play in Front Row

    I have tried contacting support and the local store but all I have found out is that Frontrow isn't supported anymore though lack of interest.
    I found that all my old movies still play in Frontrow but all but one of recent downloads from iTunes just plays audio with a black screen.
    The Apple suggestion was to download a third party programme to replace Frontrow.
    Apple mentioned XBMC and Plex appears to be an alternative.
    I haven't tried any alternatives and would be interested to know if anyone uses these and if they are easy to use without being a computer programmer.  Also do they work with the white remote?
    New iMacs don't even come with a remote.
    I mainly use my iMac as a multimedia centre and was building up an iTunes movies folder, even though the movies can be more expensive.
    The recent movies still play directly from iTunes but having to start the movie from the iMac seems a really backwards step.
    Support claim that my problem is uncommon and they don't have a fix.
    I am using Snow Leopard.  By the way Lion doesn't even include Frontrow.
    This appears to be really stupid of Apple and has stopped me buying movies from iTunes.  One of the features that set iMacs apart from PC's is their out of the box setup with remote access to your media.
    Get your act together Apple and fix this problem!
    Does anyone have any advice on this issue.

    I was annoyed when I saw that Apple killed support for FrontRow too. I'm not sure why they would do this, I liked to use it all of the time.
    Plex and XBMC are certainly good alternatives and is probably what you'll want to use to replace FrontRow. (Plex would be my first choice:) )
    Another suggestion might be to get an Apple TV to solve this issue. I'm assuming you used FrontRow while your computer was connected to a TV or monitor. An Apple TV has the same sort of interface as FrontRow and would surely play your iTunes Movies.
    I kinda hope they bring it back in the future :/
    Hopethis helped!

Maybe you are looking for

  • HT1423 iMac Memory Updreade

    I have an iMac (Mid 2007) and wanted to upgrade from (2) 1GB PC2-5300  667MHz DDR2 SDRAM to (2) 2GB PC2-5300  667MHz DDR2 SDRAM.  I replaced according to instructions but when I powered up the iMac would not boot.  Any suggestion?

  • Fileaccess.httpUploadBean doesn't upload file in Jdevelper 9.0.3

    Hi, I am using Jdevelper 9.0.3 to develop a jsp Based File Upload Utility. I have attached Liberary "JSP RUNTIME" which reffers to "ojsp.jar","ojsputil.jar","oc4j.jar","servlet.jar","ojc.jar". while running the code for file upload, file doesn't get

  • Can't save iTunes library file

    hi all of a sudden i've started continuously getting an error message in iTunes 7.6.2.9 saying 'the itunes library file cannot be saved. you do not have enough access priviledges for this operation.' i haven't changed anything on itunes or my compute

  • Purchase Order CO/FM Commitment

    Dear Experts , We have define new price procedure for Purchase Orders : 10 Basic price - for G/L 1  ( Example 100) 20 Freight cost - For G/L 2  (Example 5% ) 30 MWST - Input Tax defined to all above conditions  ( Example 16.5% ) The Order Conditions

  • How do I remove a node from Always on Availability Group in SQL 2012

    Hello I was wondering if anyone could tell me to remove a node from an AOG group in SQL 2012.  We currently have a two node Always on availability group and I need to replace one of the servers.  My plan is to bring the new server on to the group the