Feedback on amazonmp3 for amd64

Hey folks, I've put together an amazonmp3 pkgbuild for amd64 machines and I'd like to get some feedback and help polishing it.  It grabs the packages required from the ubuntu repositories and puts everything into /opt/amazonmp3/.  There's also a script /usr/bin/amazonmp3 that sets environmentals and calls the binary in opt.
Currently I'm not sure if I got all the dependencies correct and several of the files installed I just stole from the current amazonmp3 pkgbuild.
Not sure why the current amazonmp3 build has x86_64 in arch since it points the boost stuff at /usr/lib and I'm fairly sure we don't have lib32- for boost and gtkmm.
In any case, once verified I haven't done anything stupid I'll put this up on aur.
It seems okay as I've tested it on my machine and successfully downloaded an album.
# Contributor: Chris Schwaab christopher.schwaab gmail
pkgname=amazonmp3-amd64
pkgver=1.0.3
pkgrel=1
pkgdesc="The MP3 downloader with self contained library deps for amd64."
url="http://www.amazon.com/gp/dmusic/help/amd.html"
arch=('x86_64')
license=('custom')
depends=('bash' 'lib32-libxdamage' 'lib32-curl' 'lib32-pango' 'lib32-gtk2')
makedepends=('deb2targz')
provides=('amazonmp3')
conflicts=('amazonmp3')
source=('http://mirrors.kernel.org/ubuntu/pool/main/g/gtkmm2.4/libgtkmm-2.4-1c2a_2.12.0-0ubuntu1_i386.deb'
'http://mirrors.kernel.org/ubuntu/pool/main/c/cairomm/libcairomm-1.0-1_1.2.4-2_i386.deb'
'http://mirrors.kernel.org/ubuntu/pool/main/g/glibmm2.4/libglibmm-2.4-1c2a_2.14.0-0ubuntu1_i386.deb'
'http://mirrors.kernel.org/ubuntu/pool/main/libs/libsigc++-2.0/libsigc++-2.0-0c2a_2.0.17-2ubuntu2_i386.deb'
'http://security.ubuntu.com/ubuntu/pool/universe/b/boost/libboost-date-time1.34.1_1.34.1-2ubuntu1.1_i386.deb'
'http://security.ubuntu.com/ubuntu/pool/universe/b/boost/libboost-signals1.34.1_1.34.1-2ubuntu1.1_i386.deb'
'http://security.ubuntu.com/ubuntu/pool/universe/b/boost/libboost-iostreams1.34.1_1.34.1-2ubuntu1.1_i386.deb'
'http://security.ubuntu.com/ubuntu/pool/universe/b/boost/libboost-thread1.34.1_1.34.1-2ubuntu1.1_i386.deb'
'http://amazonm-002.vo.llnwd.net/u/d1/clients/amazonmp3_1.0.3~gutsy_i386.deb'
'http://security.ubuntu.com/ubuntu/pool/main/b/bzip2/libbz2-1.0_1.0.4-0ubuntu2.1_i386.deb')
md5sums=('d3856f10fdecee58656263157ab3b68d'
'dcc40c10a2ae127e088db9ec08d91e7e'
'cd8ac50ac2347e9d9408eab68501c5cc'
'3730b46f495a27598966a864bea8a0ca'
'0ecf7a773aec14a63e1b7c7169a72c22'
'ea127e805b17bfc616794c6860bc8304'
'b9415e35d293f5f28d340cb5fb63d34e'
'6a02ddcea0b9bb305bfe5ca9311d223a'
'0a9b986e2e9ba5be7e412e9742688ebb'
'e19195eb92daaa687cb2072672201c25')
build() {
deb2targz libgtkmm-2.4-1c2a_2.12.0-0ubuntu1_i386.deb \
libcairomm-1.0-1_1.2.4-2_i386.deb \
libglibmm-2.4-1c2a_2.14.0-0ubuntu1_i386.deb \
libsigc++-2.0-0c2a_2.0.17-2ubuntu2_i386.deb \
libboost-date-time1.34.1_1.34.1-2ubuntu1.1_i386.deb \
libboost-signals1.34.1_1.34.1-2ubuntu1.1_i386.deb \
libboost-iostreams1.34.1_1.34.1-2ubuntu1.1_i386.deb \
libboost-thread1.34.1_1.34.1-2ubuntu1.1_i386.deb \
libbz2-1.0_1.0.4-0ubuntu2.1_i386.deb \
amazonmp3_1.0.3~gutsy_i386.deb
tar -xzf libgtkmm-2.4-1c2a_2.12.0-0ubuntu1_i386.tar.gz
tar -xzf libcairomm-1.0-1_1.2.4-2_i386.tar.gz
tar -xzf libglibmm-2.4-1c2a_2.14.0-0ubuntu1_i386.tar.gz
tar -xzf libsigc++-2.0-0c2a_2.0.17-2ubuntu2_i386.tar.gz
tar -xzf libboost-date-time1.34.1_1.34.1-2ubuntu1.1_i386.tar.gz
tar -xzf libboost-signals1.34.1_1.34.1-2ubuntu1.1_i386.tar.gz
tar -xzf libboost-iostreams1.34.1_1.34.1-2ubuntu1.1_i386.tar.gz
tar -xzf libboost-thread1.34.1_1.34.1-2ubuntu1.1_i386.tar.gz
tar -xzf libbz2-1.0_1.0.4-0ubuntu2.1_i386.tar.gz
tar -zxf amazonmp3_1.0.3~gutsy_i386.tar.gz
mkdir -p $pkgdir/opt/amazonmp3
mkdir -p $pkgdir/usr/share/doc/amazonmp3
mkdir -p $pkgdir/usr/share/mime-info/
tar -cf - -C lib ./ | tar -xf - -C $pkgdir/opt/amazonmp3
tar -cf - -C usr/lib ./ | tar -xf - -C $pkgdir/opt/amazonmp3
cat > amazonmp3 <<__EOF__
#!/bin/bash
export GTK_PATH=/opt/lib32/usr/lib/gtk-2.0
export GDK_PIXBUF_MODULE=/opt/lib32/config/gdk/gdk-pixbuf.loaders
export PANGO_RC_FILE=/opt/lib32/config/pango/pangorc
export LD_LIBRARY_PATH=/opt/lib32/usr/lib:/opt/amazonmp3:\$LD_LIBRARY_PATH
/opt/amazonmp3/amazonmp3
__EOF__
install -D -m644 usr/share/doc/amazonmp3/license.html \
$pkgdir/usr/share/licenses/amazonmp3-amd64/license.html
install -D -m755 amazonmp3 $pkgdir/usr/bin/amazonmp3
install -D -m755 usr/bin/amazonmp3 $pkgdir/opt/amazonmp3/amazonmp3
install -D -m644 usr/share/applications/amazonmp3.desktop \
$pkgdir/usr/share/applications/amazonmp3.desktop
install -D -m644 usr/share/doc/amazonmp3/* \
$pkgdir/usr/share/doc/amazonmp3
install -D -m644 usr/share/mime/packages/amazonmp3.xml \
$pkgdir/usr/share/mime/packages/amazonmp3.xml
install -D -m644 usr/share/mime-info/* \
$pkgdir/usr/share/mime-info/
install -D -m644 usr/share/mimelnk/audio/x-amzxml.desktop \
$pkgdir/usr/share/mimelnk/audio/x-amzxml.desktop
install -D -m644 usr/share/pixmaps/amazonmp3.png \
$pkgdir/usr/share/pixmaps/amazonmp3.png
Thanks.
Last edited by lpjhjdh (2008-12-14 18:52:44)

Hey thanks a lot! I've now removed everything that I previously needed a chroot for!
The only issue with the PKGBUILD was that it didn't automatically download and install the dependencies: aka deb2targz, lib32-curl, etc. It just stopped with a "ERROR Could not resolve all dependencies". But as soon as I installed them manually, the rest of the PKGBUILD worked great!
Thanks!  Look forward to seeing it in the AUR!
Scott

Similar Messages

  • Turbolinux 8 for AMD64 and 32bit oracle9i

    Anybody have installed oracle 9.2.0.1.0 on Turbolinux 8 for AMD64 ? I tried it,but i never succeed.
    When i began to install,it showed error"can't find libjava.so".When i set the parameter JAVA_HOME,the error still appeared.Please give me some advice,thanks!

    I have Oracle Enterprise Edition loaded on dual processor Pentium 133 with 128MB ram running Slackware 8.1.
    It installed with no problems. Oracle 8.1.7 is a different story though.

  • Copliling Solaris kernel module code in 64bit for AMD64

    Hi,
    I have solaris10 OS in my HP ProLiant DL-145 server machine
    I m using SunStudio C compiler (cc) for compling my kernel module source code. My code is successfully work in 32bit kernel mode. But when i boot the OS in 64bit mode & complile the same code , then no error during compliaion & linking. but my module doesn't work. When i add two flags
    -xarch=amd64 -xmodel=kernel , then also no error during compilation, but module still not work.
    I want to know , how i can complie my soruce code successfully in 64bit kernel for AMD64, so that it can be loaded successfully through modload command.
    I think i need some other flags for that, pls help.

    from
    http://docs.sun.com/app/docs/doc/817-5789/6ml7kh1b4?q=amd64&a=view
    Compiling with Sun Studio
    Use the -D_KERNEL option to indicate that this code defines a kernel module.
    If you are compiling for a 64-bit x86 architecture, use both the -xarch=amd64 option and the -xmodel=kernel option:
    % cc -D_KERNEL -xarch=amd64 -xmodel=kernel -c mydriver.c
    % ld -r -o mydriver mydriver.o
    tim

  • 64 bit IAS 10.1.2 for AMD64/EM64t

    Is there a 64bit version of IAS 10.1.2/3 for AMD64/EM64T or are we still running 32bit verison of the software on a 64bit OS??

    Hi,
    Below links might help you -
    11g certification matrix - 'http://www.oracle.com/technetwork/middleware/ias/downloads/fusion-certification-100350.html'
    10g certification matrix - 'http://www.oracle.com/technetwork/middleware/ias/downloads/idm-certification-101401-083012.html'
    -- Pramod Aravind

  • TurboLinux 8 for AMD64 and Oracle 9i

    I'm a home user that uses Oracle 9i for development learning for work. I currently use SuSE 8.2 Pro for my Oracle 9i development on a dual AMD MP4200; however, I now have a dual Opteron 240 system. The only affordable Linux distros that support the Opteron system I have (Tyan Thunder K8W) is TurboLinux 8 for AMD64.
    I cannot find anything about the ease or difficulties for install Oracle 9i for AMD64 (Developer's Edition for Linux) on this distro. It's rather effortless on SuSE 8.2 Pro and I have installed Oracle 9i on a Solaris 8 server at work. Does anyone know if it's a waste of my money to try to install on this distro? I thought this distro was considered one of the better ones.

    I have Oracle Enterprise Edition loaded on dual processor Pentium 133 with 128MB ram running Slackware 8.1.
    It installed with no problems. Oracle 8.1.7 is a different story though.

  • XP 64bit Beta OS for AMD64 - old news?

    I'm a 64-bit wannabe, maybe old news, came across this link to get Free *Beta* downloads of either Windows XP 64-BIT Windows Server OR desktop for AMD64, download {90 minutes on DSL} here  
    I'm learning what i need for my build reading the boards,  decided to wait a few months for the socket 939's, PCIExpress, etc,  but gee whiz . . .
    RexB

    Geez SAB, did i really say that, i'm a dunderhead!  Howlongagodidiwritethat,omigawdanybodyelseseenit?
    Thanks, I added them to "Da List".  As i'm digging in reviews and comparison matching and blahblahblah and wasting my meager 56k{42k} bandwidth {waaaa No hi-speed out here in the stix, satellite is price-gouging}
     The quote "K8T800 PRO might give you more BIOS options or CPU speed" endquote.  What does 'might' mean.  If the board gets mad at me it won't give me all it's options?
      Don't laugh, some of this stuff is smoke & mirrors. Yes, there is a possibility that shamans have an 'in' to the spirit world, and these "invisible-to-the-naked-eye-millions-of-transistors-and-doped-silicone" might too in their electromagnetic aura {cancer?tumors?}, who knows?  I'm not superstitious, just careful about pi***ng the wrong things off.
      I'm guessing that cuz i'm not real concerned about advanced graphics or gaming that i wouldn't care if my board was the "K8N for it's AGP/PCI lock". This Anandtech March 23, 2004 test of these chipsets and the N250's predecessor, for what it's worth.  Unbelievable the 2nd-to-last last line of 2nd paragraph.
    . . .""At launch, there were really just two Athlon 64 chipsets - the nVidia nForce3 150 and VIA K8T800. As we have discussed in reviews of boards based on these chipsets, neither one really meets the specifications that we would like to see in Athlon 64 chipsets. Later, SiS introduced the promising 755 chipset, but no one has brought the kind of 755 boards that we hoped to see to market. In addition, our recent tests of the PCI locks on all 3 Athlon 64 chipsets found that none of them really worked. Given this background, we were more than ready for a new chipset for Athlon 64 that would fix many of the issues.""
    Did the K8T800 PRO fix this?               blahblahblah then it goes on:
    . . .""The non-working PCI lock that we later found on nF3-150 also came as a huge surprise. nVidia tells us, and we did confirm, that the PCI lock does work on the nVidia Reference Board for nF3-150, but they are also aware that it did not work in production nF3-150 motherboards. nVidia assures us that this BIOS programming issue is fixed in nF3-250.""
      Can ya' take that to the bank?  How many unsuspecting buyerz got that 150 board for the non-functional PCI lock?!?
    . . I'm just getting into it, but these are the same chipsets on the market today, two months after the article, right, sans the nF3-150?

  • Athlon64 & Suse9 for AMD64 edition

    Hi there...
    I encounter Serious Problemstrying to install Suse9 for AMD64.
    Environment: MSI K8T Neo, Athlon64 3000+, Adaptec 29160, 1Gig Corsair PC400 Ram, Nvidia Gforce 4600.
    I encounter a Kernel Panic on trying to load the kernel similar to this :
    Code:Bad RIP value
    RIP [000000008010ddbe] RSP [ffffffff804ddfc8]
    Kernel panic: Attempted to kill the idle task!
    In idle task-no syncing
    Unable to handle paging request
    A friend told me i need a bios update . well  i run on 1.2 thats the newest... any suggestions ?
    THX in advance

    We had the same problem and figured out that everything works fine when using the kernel paramter numa=off.  After several hours of work we managed to get the system running with NUMA support by replacing the RAM modules.
    Unfortunately, the user guide doesn't say anything about the relationship between the memory banks and the processors.  In fact, it seems like that the 6 banks belong to CPU 1 while the 4 banks belong to CPU 2.  When using NUMA, it is important that every CPU has its own memory.  Thus, we distributed our 4 memory modules to both CPUs and everything worked fine.
    I hope this helped you.
    Bye,
    Arthur.

  • What motherboard is better for amd64

    I have bought amd64 processor(3200).
    I do not know which motherboard is better for amd64 cpu.
    k8n neo platinum is good choice?

    Hello,
    If it has not got PCI express, you should not get it.
    Wait a bit for the PCI express boards to come out for AMD.
    http://www.pcper.com/article.php?aid=75&type=expert
    http://www.theinquirer.net/?article=19732
    http://www.bit-tech.net/feature/64/
    look for VIA K8T890 based motherboards like the ABIT AX8
    http://www.abit-usa.com/news/2004/20041018.php

  • JVM for AMD64 unable to load 32-bits DLL on Win64

    Hi all,
    I get an java.lang.UnsatisfiedLinkError while doing a System.loadLibrary() on Windows x64 (AMD64) with following message: %1 is not a valid win32 application Note the same DLL is successfully loaded by standard JVM (32-bits) on same OS.
    Anyone knows this problem ?
    Regards,
    Laurent.

    Refer to this site for solution
    http://support.microsoft.com/kb/843044
    Kamran Agayev A. (10g OCP)
    http://kamranagayev.wordpress.com

  • Customer feedback to Adobe for improvements to PSE

    What mechanisms exist for customers to provide feedback to Adobe regarding suggestions and requests for improvements to Photoshop Elements?  While I have been satisfied with the changes that have been made from PSE4 through PSE8, there are a number of changes I'd like to see in the next version to make it better suited to my needs - mostly in the Organizer, in regard to tags and captions.

    Thanks for providing the link.  However, the page that is loaded into Internet Explorer 8 (running on a 64-bit Windows 7 laptop) locks up and refuses to even scroll. I have also noticed this phenomen when attempting to use the PSE 7 or 8 Help facility. While I accept the fact that PSE 7 & 8  weren't designed for this system, I don't understand how any webpage can lock up IE8.
    Should I submit my suggestions for improvements to PSE8 on this Forum?

  • Feedback: technical style for unit preferences

    in Preferences>Units & Rulers, simply write a unit label in terms of singular rather than plural.
    with reference to technical styles for writing units, a unit label of 'mm' for millimeter is clear and usable. likewise for a unit label of 'cm' for centimeter.
    HTML and CSS already specify guidelines for structured styles. i imagine that developers and users of software interfaces might also benefit from applicable uses of structured styles.
    ps - i could use the Photoshop CS6 beta seamlessly into my image workflows.

    It helps if you tell which version you are using.
    Did you try to change the master quiz slides for the position of the feedback captions?

  • Jdk rpm problem for amd64 architecture

    I downloaded jdk-1_5_0_09-linux-amd64.rpm and tried to sign it using our key (via rpm --addsign). After signing, package was broken which is a known issue with earlier RPM-BUILD versions.
    Is it possible that you create this package using newer (newest) version of RPM-BUILD as that would avoid the present bug and deploying of jdk on RedHat Enterprise 64 systems will be easier (up2date process needs signed RPMs)
    Described problem is not present on 32bit RPMS.

    Totally agree.
    Facing the same issue. Need 2 jdks - one for the application we host and one for the monitoring software. First of all, packaged in a .bin file, which you can get around by running extract, but in the end the big issue is that both rpms name themselves "jdk" - making it hard to automate and manage what a huge pain. With different versions, you have to make sure you install both, and don't accidentally upgrade. Wish Sun would address this. Why bother making an RPM for the Linux community if it doesn't work in a practical manner?

  • BizTalk2010 Problem installing runtime prerequisites for AMD64

    I am trying to install BizTalk 2010 Developer on my laptop so I can teach 26 keen students about BizTalk.
    The file BT Server\Platform\Bootstrap\bootstrap64.msi does not install correctly on my laptop. (It works fine on my Desktop computer). Both run Windows 7 64 bit, Both are actually Intel architecture, however, so it is a mystery to me that the installation
    sequence on the laptop refers to AMD64.
    The log file shows the following as the first error, which is a long way into the process (at the end of a section called SxsMsnInstall:
    Error 1935. An error occurred during the installation of assembly 'Microsoft.VC90.ATL,type="win32",version="9.0.21022.8",publicKeyToken="1fc8b3b9a1e18e3b",processorArchitecture="amd64"'. Please refer to Help and Support for more information. HRESULT: 0x8007054F.
    assembly interface: IAssemblyCacheItem, function: Commit, component: {2A030FEB-29B5-314B-97B5-ED38673CC885}
    MSI (s) (24:C0) [21:43:13:438]: Product: Microsoft BizTalk Server Setup Bootstrap Files (x64) -- Error 1935. An error occurred during the installation of assembly 'Microsoft.VC90.ATL,type="win32",version="9.0.21022.8",publicKeyToken="1fc8b3b9a1e18e3b",processorArchitecture="amd64"'.
    Please refer to Help and Support for more information. HRESULT: 0x8007054F. assembly interface: IAssemblyCacheItem, function: Commit, component: {2A030FEB-29B5-314B-97B5-ED38673CC885}
    and then there's a lot more of these before it gives up and rolls back.
    I'd really like to install BizTalk on the laptop.
    Help greatly appreciated
    Malcolm Crowe

    It is OK with processorArchitecture="amd64". Nothing wrong.
    Make sure all prerequisites are installed properly. If you cannot find anythin suspicious, I suggest to install BizTalk to the Virtual Machine. It is much simpler way to copy VM to the student computers than reinstall the systems from scratch 26 times.
    Leonid Ganeline [BizTalk MVP]
    Biztalkien blog

  • How can we provide suggestions/feedback to MS for improvements to the object model interfaces for Transport Agents?

    Having worked on TA's for a while now we've found there are several things missing in the object model for our requirements. Consequently we have some horrible code that need to do some things directly either with MIME or TNEF - which is a crying
    shame as MS must have all the code to do the things we need anyway, it's just that the object model is deficient.
    It'd be useful if there were an Exchange category on MS Connect where we could submit our suggestions, but as far as I can see, there isn't one.
    So, where do the Exchange TA developers get to hear customer feedback?

    Hello David,
    Sorry for not getting back to you sooner. You can provide feedback on Transport agents by using this site:
    http://officespdev.uservoice.com/.
    With regards,
    Michael | Microsoft Exchange Developer Content
    The
    Exchange Development Forum Guide has useful information for using the Exchange Development Forum.
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Headset - feedback and wave for others heara

    i use a headset for audio communication over my pc. But everyone i talk with can also hear my music - or other wave stuff - and his own voice.
    This is weird, because i already set the mic as the recording source and even if i mute my headset over the volume control at the cable, this still happens. So, this is no speaker-to-mic feedback.
    I can only turn this off by either muting the wave over the mixer or disconnecting the headset's loutspeaker cable.
    please help me! This is really disturbing and i dont know what to do.

    As an additional information i want to say, that it sounds like, there's some wave - or midi, if played - mixed into the mic's sound.

Maybe you are looking for

  • Webutil bean not found when using call_form with no_share_library_data

    Hi, I have two Forms modules and i navigate from Form A to Form B using a call_form. If i call Form B with NO_SHARE_LIBRARY_DATA param, i get a webutil error: "oracle.forms.webutil.file.filefunctions bean not found" If i call it with SHARE_LIBRARY_DA

  • Configure ODBC on Linux

    I have ODBC drivers for Cache database for linux. My ODI 11g install is on linux (OEL 5). Is there a way to configure the ODBC drivers to connect to the database? Thanks

  • My i books wont open

    my i books wont open

  • Excel Destination not showing all the available source columns automatically.

    I have an excel source, i am using some transformation and conditional split and then loading the final data into few excel destination. i checked in the data pipe line, still it loads the data into excel destination it's having all the columns of th

  • Why YouTube app feels dumbed down

    For example let's say I search for a song tile on normal YouTube website I'd get many many results with exactly what I am looking for. Well on my iPhone 4 when I search for the same song I'll get all trash results such as instrumentals, covers and re