Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
giflib and libungif - both seem to be needed
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
atom.galaxy
Tux's lil' helper
Tux's lil' helper


Joined: 05 Nov 2004
Posts: 112
Location: Slovenia, Eu

PostPosted: Thu Aug 11, 2005 3:22 pm    Post subject: giflib and libungif - both seem to be needed Reply with quote

Two libraries. Two choices. Both do the same thing. Or do they?

When I try to emerge kde-base/kdegraphics emerge fails because it needs libungif.la. Ok, I emerge libungif. When I next try to emerge kdegraphics, it complains about libungif blocking giflib. Since 5 programs installed need giflib to function, I can't unmerge it, but to emerge kdegraphics, I need libungif. How do I emerge kdegraphics with giflib or something like that?

Thanks,


Gasper


--- edit ---

Did some more research on both libraries, and now I understand better what they do. It would seem I only need giflib functionality, so i can safely ditch libungif.
I'm gonna try to symlink libungif files to giflib files and see what happens. The API is the same, and BSD does it the same way, so I don't see a problem except having to clean them up whenever a new giflib is installed.

Hope I don't screw anything up...
_________________
Atoms are watching...
Back to top
View user's profile Send private message
Jakub
Guru
Guru


Joined: 04 Oct 2003
Posts: 377
Location: Warsaw, Poland

PostPosted: Thu Aug 11, 2005 6:11 pm    Post subject: Reply with quote

Try to:

1) unmerge linungif
2) reemerge imlib (I think that's what kuickshow uses)
3) emerge kuickshow/kdegraphics.
Back to top
View user's profile Send private message
atom.galaxy
Tux's lil' helper
Tux's lil' helper


Joined: 05 Nov 2004
Posts: 112
Location: Slovenia, Eu

PostPosted: Thu Aug 11, 2005 9:59 pm    Post subject: Reply with quote

I have already unmerged libungif because nothing would emerge if it was on the system. However, if it wasn't, emerge of kdegraphics failed, needing libungif.

The problem seems to be fixed though, by symlinking all giflib files to libungif names. The two libraries are exactly the same, with the difference that libungif doesn't support gif compression, which is patented. Problem solved.
_________________
Atoms are watching...
Back to top
View user's profile Send private message
j-m
Retired Dev
Retired Dev


Joined: 31 Oct 2004
Posts: 975

PostPosted: Fri Aug 12, 2005 11:30 am    Post subject: Reply with quote

atom.galaxy wrote:

The problem seems to be fixed though, by symlinking all giflib files to libungif names. The two libraries are exactly the same, with the difference that libungif doesn't support gif compression, which is patented. Problem solved.


That is a seriously ugly hack. :x

You are supposed to unmerge libungif and re-emerge imlib, then it will work. :!:
Back to top
View user's profile Send private message
atom.galaxy
Tux's lil' helper
Tux's lil' helper


Joined: 05 Nov 2004
Posts: 112
Location: Slovenia, Eu

PostPosted: Fri Aug 12, 2005 11:39 am    Post subject: Reply with quote

ok, ok, will try that... :D

I'll post results.
_________________
Atoms are watching...
Back to top
View user's profile Send private message
atom.galaxy
Tux's lil' helper
Tux's lil' helper


Joined: 05 Nov 2004
Posts: 112
Location: Slovenia, Eu

PostPosted: Fri Aug 12, 2005 12:05 pm    Post subject: Reply with quote

Compiled ok with hack removed. Thanks!
_________________
Atoms are watching...
Back to top
View user's profile Send private message
EzInKy
Veteran
Veteran


Joined: 11 Oct 2002
Posts: 1734
Location: Kentucky

PostPosted: Fri Aug 12, 2005 12:10 pm    Post subject: Reply with quote

You might also want to do revdep-rebuild if you problems with other programs.
_________________
Time is what keeps everything from happening all at once.
Back to top
View user's profile Send private message
atom.galaxy
Tux's lil' helper
Tux's lil' helper


Joined: 05 Nov 2004
Posts: 112
Location: Slovenia, Eu

PostPosted: Fri Aug 12, 2005 4:30 pm    Post subject: Reply with quote

awww, thanks for reminding me :D... Did a revdep-rebuild with the symlinks last night, forgot they won't work anymore :D...
_________________
Atoms are watching...
Back to top
View user's profile Send private message
viperCanada
n00b
n00b


Joined: 13 Oct 2004
Posts: 14
Location: Sudbury, ont, Canada

PostPosted: Sat Oct 08, 2005 12:10 am    Post subject: Reply with quote

Thank you so much for the info, it worked to re-emerge imlib......I was stumped for a couple of days..
:oops: :oops:
_________________
Worst Tech line: When in doubt REBOOT.
Back to top
View user's profile Send private message
aka_iG
n00b
n00b


Joined: 12 Feb 2005
Posts: 44
Location: Faro - Portugal

PostPosted: Sun Oct 09, 2005 4:20 pm    Post subject: revdep-rebuild Reply with quote

For those who don't know (I didn't :oops:) revdep-rebuild it's available in gentoolkit package ;)

Thanks ;)
_________________
Ivo Belchior Gonçalves

"Most days I wake up thinking I'm the luckiest bastard alive."
Back to top
View user's profile Send private message
tomk
Bodhisattva
Bodhisattva


Joined: 23 Sep 2003
Posts: 7221
Location: Sat in front of my computer

PostPosted: Sun Oct 09, 2005 9:46 pm    Post subject: Reply with quote

Moved from Portage & Programming to Duplicate Threads, follow ups to this topic.
_________________
Search | Read | Answer | Report | Strip
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads 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