Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 528460 - app-crypt/seahorse: Dependency limited to gnupg 1.4 and 2.0 blocking gnupg 2.1.0 upgrade path
Summary: app-crypt/seahorse: Dependency limited to gnupg 1.4 and 2.0 blocking gnupg 2....
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 528704
  Show dependency tree
 
Reported: 2014-11-06 17:01 UTC by Kristian Fiskerstrand (RETIRED)
Modified: 2014-12-30 11:41 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kristian Fiskerstrand (RETIRED) gentoo-dev 2014-11-06 17:01:41 UTC
app-crypt/seahorse has a specific || ( =app-crypt/gnupg-2.0* =app-crypt/gnupg-1.4* ) dependency blocking an upgrade to GnuPG 2.1.0 release in final version today[0]. Is there any reason for this limitation rather than a non-versioned dependency? 

References: 
[0] http://lists.gnupg.org/pipermail/gnupg-announce/2014q4/000358.html
Comment 1 Alon Bar-Lev (RETIRED) gentoo-dev 2014-11-06 17:05:14 UTC
I do not see any reason, we never had anything else, and since introduction of 2.0 there was no side-by-side.
Comment 2 Gilles Dartiguelongue (RETIRED) gentoo-dev 2014-11-06 22:27:15 UTC
I think I explained this a while ago to someone asking on #-dev.

There is no reason for being blocked to 2.0. The only thing this || is about is to allow people to keep gnupg-1.4 without having package manager force the upgrade to >=2 all the time.
Comment 3 Alon Bar-Lev (RETIRED) gentoo-dev 2014-11-06 22:29:38 UTC
there is no need to support 1.4 in a system that runs gnome. 1.4 has value only (and if) in initramfs and such.

I also do not see a reason why app-crypt/gnupg should not be a dependency instead of this complex condition.
Comment 4 Gilles Dartiguelongue (RETIRED) gentoo-dev 2014-11-06 22:47:24 UTC
We sure had bug requesting this particular kind of dependency. 

I have no objections myself to one or another form.
Comment 5 Arfrever Frehtes Taifersar Arahesis 2014-11-07 12:23:33 UTC
(In reply to Gilles Dartiguelongue from comment #2)
> There is no reason for being blocked to 2.0. The only thing this || is about
> is to allow people to keep gnupg-1.4 without having package manager force
> the upgrade to >=2 all the time.

|| ( =app-crypt/gnupg-2* =app-crypt/gnupg-1.4* ) could be used to preserve this behavior.
Comment 6 Kristian Fiskerstrand (RETIRED) gentoo-dev 2014-11-07 12:32:43 UTC
(In reply to Arfrever Frehtes Taifersar Arahesis from comment #5)
> (In reply to Gilles Dartiguelongue from comment #2)
> > There is no reason for being blocked to 2.0. The only thing this || is about
> > is to allow people to keep gnupg-1.4 without having package manager force
> > the upgrade to >=2 all the time.
> 
> || ( =app-crypt/gnupg-2* =app-crypt/gnupg-1.4* ) could be used to preserve
> this behavior.

I still don't see the benefit of it, if they don't want an upgrade to 2.x use a local package.mask on the >=app-crypt/gnupg-2.0.0 atom as 1.4 and 2.0 is in the same slot. I do this myself on some servers, which is really the only environment where using 1.4 can make sense (although mostly not, in particular since the pinentry loopback feature of 2.1 again). FWIW, Elliptic Curves will only exist in 2.1 and not be backported to the classic versions.
Comment 7 Pacho Ramos gentoo-dev 2014-11-10 10:48:45 UTC
From my point of view I would simply depend on >= 1.4
Comment 8 Kristian Fiskerstrand (RETIRED) gentoo-dev 2014-12-24 15:19:38 UTC
Any update on this issue? 

@gnome: Would you prefer if I make the necessary dep changes myself?
Comment 9 Pacho Ramos gentoo-dev 2014-12-24 17:17:36 UTC
Would it be safe to change this concrete dep from its current || () form to simply >= in the current ebuilds? Or should we revbump it for that change?
Comment 10 Kristian Fiskerstrand (RETIRED) gentoo-dev 2014-12-24 17:25:48 UTC
(In reply to Pacho Ramos from comment #9)
> Would it be safe to change this concrete dep from its current || () form to
> simply >= in the current ebuilds? Or should we revbump it for that change?

You very likely wouldn't even need any >= in the first place as 1.4 is oldest in the tree with first version released about 10 years ago, and this is the oldest branch being maintained upstream so there won't be older versions re-introduced. 

This can be updated without a revbump.
Comment 11 Alon Bar-Lev (RETIRED) gentoo-dev 2014-12-30 11:08:25 UTC
can we please progress in this? should be trivial and harmless.
Comment 12 Pacho Ramos gentoo-dev 2014-12-30 11:41:36 UTC
+  30 Dec 2014; Pacho Ramos <pacho@gentoo.org> seahorse-3.12.2.ebuild,
+  seahorse-3.14.0.ebuild:
+  Move away from || () gnupg dependency to plain >= requirement, bug #528460 by
+  Kristian Fiskerstrand and Alon Bar-Lev
+