Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ebuild isn't copying files over
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
rizzo
Retired Dev
Retired Dev


Joined: 30 Apr 2002
Posts: 1067
Location: Manitowoc, WI, USA

PostPosted: Mon Dec 16, 2002 7:07 pm    Post subject: ebuild isn't copying files over Reply with quote

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
View user's profile Send private message
rizzo
Retired Dev
Retired Dev


Joined: 30 Apr 2002
Posts: 1067
Location: Manitowoc, WI, USA

PostPosted: Mon Dec 16, 2002 7:12 pm    Post subject: Reply with quote

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
View user's profile Send private message
rizzo
Retired Dev
Retired Dev


Joined: 30 Apr 2002
Posts: 1067
Location: Manitowoc, WI, USA

PostPosted: Mon Dec 16, 2002 7:36 pm    Post subject: Reply with quote

Nevermind. It appears a lot more work has been done by others.

https://bugs.gentoo.org/show_bug.cgi?id=11136
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum