Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
webkit-gtk versions
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
novazur
Guru
Guru


Joined: 19 Mar 2005
Posts: 461
Location: Martinique

PostPosted: Sun Jan 11, 2015 5:27 pm    Post subject: webkit-gtk versions Reply with quote

Is it a bug ?

webkit-gtk-2.4.7 installed, world doesn't require anything else :
Code:
# equery l webkit-gtk
 * Searching for webkit-gtk ...
[IP-] [  ] net-libs/webkit-gtk-2.4.7:3/25


Code:
# emerge -DauN world

These are the packages that would be merged, in order:

Calculating dependencies... done!

Nothing to merge; quitting.


but :
Code:
# emerge -p webkit-gtk

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  NS    ] net-libs/webkit-gtk-2.4.7-r200 [2.4.7] USE="X egl gstreamer introspection jit opengl spell webgl (-aqua) -coverage -debug -geoloc -gles2 -libsecret {-test}"

why emerge doesn't recompile same version as installed and get a newer ?

Is it a portage bug or something not normal with me ?

Note that this version (2.4.7-r200) was removed by emerge depclean in a precedent update.
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Sun Jan 11, 2015 7:51 pm    Post subject: Reply with quote

depclean removed -r200 because you have no GTK+2 programs that use webkit. The other one is for GTK+3 apps, as the slot 3 indicates. The -r* doesn't mean it's newer.

It won't be installed automatically by emerge, because then you'd waste several hours compiling a webkit library used by nothing.
Back to top
View user's profile Send private message
novazur
Guru
Guru


Joined: 19 Mar 2005
Posts: 461
Location: Martinique

PostPosted: Sun Jan 11, 2015 8:02 pm    Post subject: Reply with quote

Ant P. wrote:
depclean removed -r200 because you have no GTK+2 programs that use webkit. The other one is for GTK+3 apps, as the slot 3 indicates. The -r* doesn't mean it's newer.

It won't be installed automatically by emerge, because then you'd waste several hours compiling a webkit library used by nothing.


ok, so (I repeat) :
Code:
# emerge -p webkit-gtk

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  NS    ] net-libs/webkit-gtk-2.4.7-r200 [2.4.7] USE="X egl gstreamer introspection jit opengl spell webgl (-aqua) -coverage -debug -geoloc -gles2 -libsecret {-test}"


why emerge doesn't recompile same version as installed and get a newer ?
Back to top
View user's profile Send private message
ExecutorElassus
Veteran
Veteran


Joined: 11 Mar 2004
Posts: 1435
Location: Berlin, Germany

PostPosted: Tue Jan 20, 2015 7:09 pm    Post subject: Reply with quote

related: there is also a version 2.6.4 in the tree, but gnome-extra/zenity, for no reason that I can see from the 3.14 ebuild, does not recognize it, and insists on building 2.4.8 (which, when I run emerge -puD world, now shows as a slot install, which I didn't think webkit-gtk even did). What's up with that?

Cheers,

EE
EDIT:oops, I see that 2.6.4 has a different slot ID in it, and that zenity requires the ID held by 2.4.8. Whelp, I only had zenity for gtk support for winetricks, which I don't need to have, so that all gets purged. huzzah!
Back to top
View user's profile Send private message
franzf
Advocate
Advocate


Joined: 29 Mar 2005
Posts: 4565

PostPosted: Tue Jan 20, 2015 7:31 pm    Post subject: Reply with quote

novazur wrote:
why emerge doesn't recompile same version as installed and get a newer ?

Because the slot does not say anything about "newer". And in portage terms 2.4.8-r200 is greater than 2.4.8.
If you want the newest version for your SLOT emerge webkit-gtk:3
Back to top
View user's profile Send private message
novazur
Guru
Guru


Joined: 19 Mar 2005
Posts: 461
Location: Martinique

PostPosted: Tue Jan 20, 2015 11:06 pm    Post subject: Reply with quote

franzf wrote:
Because the slot does not say anything about "newer". And in portage terms 2.4.8-r200 is greater than 2.4.8.


So, again and again, why emerge world doesn't pull 2.4.8-r200 ?

I am the only one to see that"s a bug in portage ? :(

To be more clear :
if emerge webkit-gtk pull a new version, emerge world should pull it too !
OR
if emerge world doesn't pull a version, emerge webkit-gtk should never pull a newer version.

That's not logical at all.
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 3664

PostPosted: Wed Jan 21, 2015 6:19 am    Post subject: Reply with quote

novazur wrote:
So, again and again, why emerge world doesn't pull 2.4.8-r200 ?
That's exactly the difference between
Quote:
# emerge --update world
and
Quote:
# emerge --update --deep world
Back to top
View user's profile Send private message
franzf
Advocate
Advocate


Joined: 29 Mar 2005
Posts: 4565

PostPosted: Wed Jan 21, 2015 9:16 am    Post subject: Reply with quote

novazur wrote:
franzf wrote:
Because the slot does not say anything about "newer". And in portage terms 2.4.8-r200 is greater than 2.4.8.


So, again and again, why emerge world doesn't pull 2.4.8-r200 ?

I am the only one to see that"s a bug in portage ? :(

webkit-gtk-2.4.8-r200 is configured to build against gtk2. webkit-gtk-2.4.8 builds against gtk3. If you only have installed applications that need webkit-gtk for gtk3 (so they depend on webkit-gtk:3), emerge can see that - and will only look at new webkit-gtk-versions from SLOT 3. That's not a bug but a great feature, because it prevents you from having to install (and compile!) unneeded "dependencies" (dependencies nobody depends on).

webkit-gtk:4 is a different beast - has nothing to do with "gtk4", but changed API + support to install it in parrallel with a webkit-gtk-version that still support webkit1.
Back to top
View user's profile Send private message
novazur
Guru
Guru


Joined: 19 Mar 2005
Posts: 461
Location: Martinique

PostPosted: Wed Jan 21, 2015 1:58 pm    Post subject: Reply with quote

charles17 wrote:
novazur wrote:
So, again and again, why emerge world doesn't pull 2.4.8-r200 ?
That's exactly the difference between
Quote:
# emerge --update world
and
Quote:
# emerge --update --deep world


Read my first post :
Code:
emerge -DauN world

-D
Back to top
View user's profile Send private message
novazur
Guru
Guru


Joined: 19 Mar 2005
Posts: 461
Location: Martinique

PostPosted: Wed Jan 21, 2015 2:07 pm    Post subject: Reply with quote

franzf wrote:
webkit-gtk-2.4.8-r200 is configured to build against gtk2. webkit-gtk-2.4.8 builds against gtk3. If you only have installed applications that need webkit-gtk for gtk3 (so they depend on webkit-gtk:3), emerge can see that - and will only look at new webkit-gtk-versions from SLOT 3. That's not a bug but a great feature, because it prevents you from having to install (and compile!) unneeded "dependencies" (dependencies nobody depends on).


You don't understand what I write. My english is surely too bad. I don't ask about difference between webkit-gtk-2.4.7-r200 and webkit-gtk-2.4.7

I just repeat my first post. You should understand, that's portage which is speaking :
Code:
# equery l webkit-gtk
 * Searching for webkit-gtk ...
[IP-] [  ] net-libs/webkit-gtk-2.4.7:3/25

# emerge -p webkit-gtk

These are the packages that would be merged, in order:

[ebuild  NS    ] net-libs/webkit-gtk-2.4.7-r200 [2.4.7] USE="X egl gstreamer introspection jit opengl spell webgl (-aqua) -coverage -debug -geoloc -gles2 -libsecret {-test}"

# emerge -DauN world

These are the packages that would be merged, in order:

Calculating dependencies... done!

Nothing to merge; quitting.

This can't be a feature.
Back to top
View user's profile Send private message
franzf
Advocate
Advocate


Joined: 29 Mar 2005
Posts: 4565

PostPosted: Wed Jan 21, 2015 2:25 pm    Post subject: Reply with quote

And that's exactly what I try to tell you.
Pass an atom to emerge and it will install the most recent version. In this case portage says "2.4.7-r200" is the most recent version so it picks it, regardless of its use (as dependency) in other packages.
If you simply do a world-update or e.g. reemerge epiphany portage just installs what really is needed, and here absolute version numbers aren't important, it's version number of specific slots (if a SLOT is specified in the dependency - webkit-gtk:3 as example)
Back to top
View user's profile Send private message
ct85711
Veteran
Veteran


Joined: 27 Sep 2005
Posts: 1791

PostPosted: Wed Jan 21, 2015 2:31 pm    Post subject: Reply with quote

As franzf just said,
Quote:
That's not a bug but a great feature, because it prevents you from having to install (and compile!) unneeded "dependencies" (dependencies nobody depends on).


Portage is saying that no installed packages need or use net-libs/webkit-gtk-2.4.7-r200 (which is slot 2) at this time. So unless you installed a package outside of portage (which portage will have no idea about), you don't need that version of the package. Your getting mixed up in that there is 2 or 3 variations of this package using the same name and version, but different revision for different gtk's (gtk2 and gtk3).

When you did the emerge -p webkit-gtk, you told portage to list the newest version of webkit-gtk available. This does not take a look at if anything will use it, only the package version.
The emerge -DauN world on the other hand, asked portage list all packages that have an update available that an installed package could use. This will only list new versions IF any installed package will use it, meaning it won't list new versions if no installed package can use it.
Back to top
View user's profile Send private message
novazur
Guru
Guru


Joined: 19 Mar 2005
Posts: 461
Location: Martinique

PostPosted: Wed Jan 21, 2015 2:38 pm    Post subject: Reply with quote

So, if I understand well, that's the webkit-gtk versioning which is not good.
webkit-gtk:2 => webkit-gtk-2.4.7-r200
should never be considered as newer than :
webkit-gtk:3 => webkit-gtk-2.4.7
or webkit-gtk-2.4.7 should be called webkit-gtk-2.4.7-r300

but you won't make me think all of this is normal.
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Wed Jan 21, 2015 7:01 pm    Post subject: Reply with quote

If you still disagree, you're more than welcome to spend several hours compiling that "newer" version of webkit-gtk which will never, ever be used by any software...
Back to top
View user's profile Send private message
franzf
Advocate
Advocate


Joined: 29 Mar 2005
Posts: 4565

PostPosted: Wed Jan 21, 2015 7:48 pm    Post subject: Reply with quote

novazur wrote:
or webkit-gtk-2.4.7 should be called webkit-gtk-2.4.7-r300

It was done that way during webkit-gtk-1.*. You can ask Gentoo GNOME Maintainers if you want to know why they dropped that pattern.

(You might also want to look at enlightenment and how upstream thinks that 0.18.8 is "newer" than 1.0.14)
Back to top
View user's profile Send private message
houtworm
Guru
Guru


Joined: 08 Mar 2003
Posts: 391
Location: Den Haag, Netherlands

PostPosted: Tue Feb 03, 2015 10:33 am    Post subject: Reply with quote

ok here is my story
There were 2 versions of webkit-gtk
One version in slot 3 was needed for.. something for winetricks so I removed that webkit-gtk version and remerged winetricks with the -gtk use flag.
Everything looked ok, revdep-rebuild was ok, emerge -upD world did nothing.
But after a while, webkit-gtk was upgraded.
Well. that is what I thougt but the old version was not removed and now I had 2 versions again.
Code:
# equery l webkit-gtk
 * Searching for webkit-gtk ...
[IP-] [  ] net-libs/webkit-gtk-2.4.8-r200:2
[IP-] [  ] net-libs/webkit-gtk-2.6.5:4/37


grrrrr
and
Code:
# equery d webkit-gtk
 * These packages depend on webkit-gtk:
media-gfx/gimp-2.8.14 (webkit ? >=net-libs/webkit-gtk-1.6.1:2)
x11-libs/wxGTK-3.0.2.0-r1 (webkit ? net-libs/webkit-gtk:2)


So I decided to put -webkit in my make.conf and then
Code:
emerge --newuse --update --deep @world
emerge --depclean

..but webkit-gtk was not removed :-(

So..
Code:
#emerge --depclean =net-libs/webkit-gtk-2.6.5


after that
Code:
#revdep-rebuild -p

nothing..
Ok great.
But
Code:
 # emerge -upD world

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  NS    ] net-libs/webkit-gtk-2.6.5 [2.4.8-r200] USE="egl gstreamer jit opengl spell webgl -coverage -doc -geoloc -introspection -libsecret {-test}"


That is how the 2nd webkit-gtk was installed! Portage did see it as an update but it was installed in a different slot and not needed for anything.
So..
Code:
#emerge --depclean =net-libs/webkit-gtk-2.4.8-r200

# revdep-rebuild -p
[...]
 * Dynamic linking on your system is consistent... All done.

# emerge -upD world

These are the packages that would be merged, in order:

Calculating dependencies... done!


and finally all is fine.
_________________
niemand is onbekwamer, dan een timmerman zonder hamer

Kees
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