View previous topic :: View next topic |
Author |
Message |
rizzo Retired Dev
Joined: 30 Apr 2002 Posts: 1067 Location: Manitowoc, WI, USA
|
Posted: Mon Dec 16, 2002 7:07 pm Post subject: ebuild isn't copying files over |
|
|
I'm working on an ebuild for mplayer to include quicktime support. In order to do this I need to download the Quicktime dlls and copy them to /usr/lib/win32, along with pass a configure flag. I have the flag setting done and the dll tarball downloading done. However no matter what I try (insinto/doins or cp) it doesn't copy the files over. Nor do I see an error (I expected some kind of sandbox violation).
I unpack the qt6 tarball in the src_unpack() function here:
Code: | use quicktime || unpack qt6dlls.tar.bz2 |
Then at the end of src_install() I do this:
Code: | if [ -n "`use quicktime`" ]
then
insinto /usr/lib/win32
doins ${WORKDIR}/qt6dlls/QuickTime.qts
doins ${WORKDIR}/qt6dlls/QuickTimeEssentials.qtx
doins ${WORKDIR}/qt6dlls/qtmlClient.dll
#cp ${WORKDIR}/qt6dlls/QuickTime.qts /usr/lib/win32/
#cp ${WORKDIR}/qt6dlls/QuickTimeEssentials.qtx /usr/lib/win32/
#cp ${WORKDIR}/qt6dlls/qtmlClient.dll /usr/lib/win32/
fi
|
As you can see I've tried both means, but nothing happens. I've made sure that "quicktime" is in my USE flags, but I've also commented out the if/then/fi lines so that it would always do the copy but still no change and no error. |
|
Back to top |
|
|
rizzo Retired Dev
Joined: 30 Apr 2002 Posts: 1067 Location: Manitowoc, WI, USA
|
Posted: Mon Dec 16, 2002 7:12 pm Post subject: |
|
|
For some reason it wasn't until I posted that I saw I had basically "use quicktime OR unpack the tarball". Obviously that's not what I want. I've changed it so that it checks for use quicktime and will unpack if successful.
Now it tries to insert into /usr/lib/win32 and now I get the sandbox violation errors. I'll try to see what's up. Anyone know offhand how I can get those files into that directory? I'm starting to think that the Quicktime DLLS should be part of the win32codecs ebuild.
Of course now that I look at win32codecs ebuild I think that win32codecs is definitely where the quicktime dlls should be. Then mplayer just depends on that and only checks the quicktime USE flag to add the qtx configure flag.
FYI the bug is at https://bugs.gentoo.org/show_bug.cgi?id=12239 |
|
Back to top |
|
|
rizzo Retired Dev
Joined: 30 Apr 2002 Posts: 1067 Location: Manitowoc, WI, USA
|
|
Back to top |
|
|
|