Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 128780 - app-crypt/seahorse-1.0 version bump
Summary: app-crypt/seahorse-1.0 version bump
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL: http://seahorse.sourceforge.net/
Whiteboard:
Keywords:
Depends on:
Blocks: 164523
  Show dependency tree
 
Reported: 2006-04-04 08:43 UTC by James Jones
Modified: 2007-08-21 17:54 UTC (History)
14 users (show)

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


Attachments
Patch for 0.9.1 ebuild (seahorse.patch,673 bytes, patch)
2006-06-10 23:15 UTC, Gilles Dartiguelongue (RETIRED)
Details | Diff
seahorse-0.9.5.ebuild (seahorse-0.9.5.ebuild,1.62 KB, text/plain)
2006-09-25 16:30 UTC, Lars Strojny
Details
seahorse-0.9.5.ebuild (seahorse-0.9.5.ebuild,1.58 KB, text/plain)
2006-09-25 19:46 UTC, Doug Goldstein (RETIRED)
Details
patch fixes crash in ssh-agent for 0.9.5 (seahorse-0.9.5-amd64-ssh-crash.patch,332 bytes, text/x-patch)
2006-10-18 19:21 UTC, Peter Fern
Details
seahorse-0.9.7.ebuild (seahorse-0.9.7.ebuild,1.45 KB, text/plain)
2006-12-01 07:16 UTC, Luca Marturana
Details
seahorse-0.9.9-gpg2.patch (seahorse-0.9.9-gpg2.patch,751 bytes, patch)
2007-01-02 13:26 UTC, Alon Bar-Lev (RETIRED)
Details | Diff
Patch to fix check in seahorse-deamon startup (seahorse-0.9.9-gpg-version-prefix.patch,480 bytes, patch)
2007-01-08 11:42 UTC, Matteo Settenvini
Details | Diff
seahorse-0.9.10.ebuild (seahorse-0.9.10.ebuild,1.87 KB, text/plain)
2007-02-03 21:37 UTC, Gilles Dartiguelongue (RETIRED)
Details
seahorse-1.0.ebuild (seahorse-1.0.ebuild,1.89 KB, text/plain)
2007-03-15 10:42 UTC, Alon Bar-Lev (RETIRED)
Details
seahorse-1.0.1.ebuild.diff (seahorse-1.0.1.ebuild.diff,675 bytes, patch)
2007-06-22 17:11 UTC, Alon Bar-Lev (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description James Jones 2006-04-04 08:43:57 UTC
seahorse-0.8.1.ebuild works for 0.9.0 without any changes.
Comment 1 Daniel Black (RETIRED) gentoo-dev 2006-04-04 18:26:19 UTC
Gnome peoples - interested in retaking over the stable branch?
Comment 2 Doug Goldstein (RETIRED) gentoo-dev 2006-04-19 20:22:55 UTC
seahorse 0.9.1 is out. Both 0.9.0 and 0.9.1 don't compile for me with just renaming the ebuild. Getting the following issue. No time to look into it.

make[3]: *** No rule to make target `../libseahorse/libseahorse-internal.la', needed by `seahorse-ssh-askpass'.  Stop.
Comment 3 Guillaume Infantes 2006-04-20 05:34:38 UTC
I had exactly the same problem as comment #2 with MAKEOPTS="-j2" in my make.conf, then it compiled fine with MAKEOPTS="-j1" (this is not the first package with this kind of behavior...)
Comment 4 Daniel Black (RETIRED) gentoo-dev 2006-04-22 21:14:45 UTC
Guillaume - please report parallel make problems.

FYI i'm hoping to phase out my support of seahorse unstable branch especially with 0.8.1 going stable (bug 130624).
Comment 5 Gilles Dartiguelongue (RETIRED) gentoo-dev 2006-06-10 23:15:15 UTC
Created attachment 88883 [details, diff]
Patch for 0.9.1 ebuild

This patch migth wrong but it includes modifications related to new features in 0.9.1 :

http://sourceforge.net/mailarchive/forum.php?thread_id=10179444&forum_id=4102

There was a QA notice about the doc flag not being present, but I'm not sure of what to do about it.

It compiled without any problems for me. I executed it and played around with signing, encryption plugin for gedit and all. Please test and add it to the tree as unstable.
Comment 6 Michal Kurgan (RETIRED) gentoo-dev 2006-08-04 20:42:41 UTC
Whatever You do here, please remember that this is a testing/development version.
Comment 7 Maciej Piechotka 2006-09-13 23:21:54 UTC
Is it possible to filter MAKEOPTS?
I had this problem with -j>1. With and without ssh flag.
Comment 8 Lars Strojny 2006-09-25 16:30:33 UTC
Created attachment 98079 [details]
seahorse-0.9.5.ebuild

Adding autoreconf and _elibtoolize-macros to make it compile with on x64-architectures, added MAKEOPTS=-j1
Comment 9 Doug Goldstein (RETIRED) gentoo-dev 2006-09-25 19:46:27 UTC
Created attachment 98091 [details]
seahorse-0.9.5.ebuild

Still lots of assert errors. But it compiles. Cleaned up previous ebuild. LDAP support is broken. Get error about invalid URI for ldap. Had to delete LDAP entry. Crashes on exit in some situations. Generally very slow. Not tree ready IMHO.
Comment 10 Mart Raudsepp gentoo-dev 2006-09-26 07:54:45 UTC
0.8.2 is out in the stable branch, according to my list at http://dev.gentoo.org/~leio/gnome/ftp-status.html
Comment 11 Doug Goldstein (RETIRED) gentoo-dev 2006-09-26 16:01:51 UTC
Yep. But I thought this bug tracked the unstable testing version?
Comment 12 Peter Fern 2006-10-18 19:21:41 UTC
Created attachment 99989 [details]
patch fixes crash in ssh-agent for 0.9.5

Pulled from Ubuntu Edgy, I'm using an ebuild from the break-my-gentoo overlay, so I'll let you add this to the ebuild here as it differs from mine
Comment 13 Luca Marturana 2006-12-01 07:16:56 UTC
Created attachment 103131 [details]
seahorse-0.9.7.ebuild

This is my ebuild for 0.9.7, the software is still very slow but it compiles and install fine.
Comment 14 Alon Bar-Lev (RETIRED) gentoo-dev 2007-01-01 11:13:23 UTC
Hello,
Need to version bump, or fix the app-crypt/gnupg dependency in order to allow gpg-2.X series.
Thanks!
Comment 15 David Li 2007-01-01 14:30:29 UTC
Comment #14:

See bug #159623. They are re-slotting gnupg.
Comment 16 Mart Raudsepp gentoo-dev 2007-01-01 15:56:44 UTC
0.9.9 is out since end of December, so adjusting the summary
Comment 17 Alon Bar-Lev (RETIRED) gentoo-dev 2007-01-02 13:07:19 UTC
(In reply to comment #15)
> Comment #14:
> 
> See bug #159623. They are re-slotting gnupg.

I am from bug#159623...
Do you have a problem with the newer gnupg? Have you tried it with recent seahorse releases?
I don't think we are going to slot gnupg.
Comment 18 David Li 2007-01-02 13:22:54 UTC
Even in build 0.9.9 (check gentopia overlay), configure script still checks for a >gnupg-2
Comment 19 Alon Bar-Lev (RETIRED) gentoo-dev 2007-01-02 13:26:17 UTC
Created attachment 105236 [details, diff]
seahorse-0.9.9-gpg2.patch

It checks only for 1.2 for special case.
Please try the above patch to accept 2.0.
Comment 20 William L. Thomson Jr. (RETIRED) gentoo-dev 2007-01-02 15:47:32 UTC
Alon,
    Please stop trying to avoid the issue here. There are other reasons beyond just seahorse to slot gnupg. As stated by upstream, it has been designed as such. Please put an end to this, it's getting a bit out of control on a minor issue. Having one extra ebuild around or a slot isn't going to kill anyone or hurt anything. For the problems it would fix, not to mention flexibility for end users, which is part of the point behind Gentoo. It needs to be done, please.
Comment 21 Alon Bar-Lev (RETIRED) gentoo-dev 2007-01-02 22:24:05 UTC
This does not belong to this bug... but...

(In reply to comment #20)
> As stated by upstream, it has been designed as such.

No it doesn't... They renamed the executables to gpg2 and gpgv2, so current applications will not be able to use gpg if gpg-1.X series is not installed. In order to make it work, we can just link the gpg->gpg2, gpgv->gpgv2 and solve the issue, or we can start playing with virtual/gnupg and eselect modules, which is much more complicated to user than adding a simple line to package.mask (>=app-crypt/gnupg-2.0.0) if the user wish to use the 1.4 series.

> Please put an end to this, it's getting a bit out of control on a minor
> issue. 

That's right. This is a minor issue... And nobody has found a good reason why a user should install BOTH versions at THE SAME time.

> Having one extra ebuild around or a slot isn't going to kill anyone or
> hurt anything. For the problems it would fix, not to mention flexibility for
> end users, which is part of the point behind Gentoo. It needs to be done,
> please.

The most stable gnupg-1.X will NOT be removed from tree. Every user WILL be able to install it if he does not wish to upgrade to 2.X series, as with any other version upgrade. Nothing behind Gentoo is ideas is damanged.

But please comment in the appropriate bug (bug#159623).

Regards,
Comment 22 Matteo Settenvini 2007-01-08 11:42:15 UTC
Created attachment 106001 [details, diff]
Patch to fix check in seahorse-deamon startup

This patch fixes a small problem in a header that made seahorse-daemon fail upon startup when trying to read options from command line.

Please note that the other provided patch for gpg2 support didn't subsitute correctly the $major and $minor values in the configure-generated config.h file. Please the author fix that.

Thanks,
matteo
Comment 23 Alon Bar-Lev (RETIRED) gentoo-dev 2007-01-08 17:42:37 UTC
(In reply to comment #22)
> Please note that the other provided patch for gpg2 support didn't subsitute
> correctly the $major and $minor values in the configure-generated config.h
> file. Please the author fix that.

Why do you thing it is important?
1. config.h will be overwritten during configure
2. config.h will be overwritten during eautoreconf
Comment 24 Gilles Dartiguelongue (RETIRED) gentoo-dev 2007-02-03 21:36:16 UTC
filed a bug upstream at http://bugzilla.gnome.org/show_bug.cgi?id=404081
Comment 25 Gilles Dartiguelongue (RETIRED) gentoo-dev 2007-02-03 21:37:11 UTC
Created attachment 109044 [details]
seahorse-0.9.10.ebuild

ebuild that works with patches posted upstream. Those patches are a little rework of those that have been attached to this bug.
Comment 26 Gilles Dartiguelongue (RETIRED) gentoo-dev 2007-02-03 22:56:58 UTC
Ok, my bug was to late, this is the good bug report : http://bugzilla.gnome.org/show_bug.cgi?id=375062
Comment 27 Saleem Abdulrasool (RETIRED) gentoo-dev 2007-02-16 20:29:37 UTC
Just an FYI, there is a working version of seahorse 0.9.x in the gentopia overlay.  Please use that as that is the version that will go into portage once seahorse is stable.
Comment 28 Gilles Dartiguelongue (RETIRED) gentoo-dev 2007-02-25 13:19:47 UTC
Saleem, since you mentionned it here I thought it would interest you. There is little typo in your ebuild pkg_config should be changed pkg_setup or seahorse configure won't get the options the user wants. I also have a patch I've posted upstream for MAKEOPTS>-j1. Would you like to get it or just wait for the next release ?
Comment 29 Alon Bar-Lev (RETIRED) gentoo-dev 2007-03-15 10:42:26 UTC
Created attachment 113346 [details]
seahorse-1.0.ebuild

Seems to work...
Comment 30 teknux 2007-03-22 15:49:58 UTC
Hi all,

I've modified the ebuild deleting the epiphany dependency because I use gnome-light without epiphany (and i don't want it installed, i dont' need it). it works well.
So, is it possible to put epiphany as USE flag? Thanks a lot,

tek
Comment 31 Alon Bar-Lev (RETIRED) gentoo-dev 2007-03-23 14:21:09 UTC
compnerd: Thanks for adding this ebuild... But why not closing this bug?

Also you did not add the gnupg detection fixup from the ebuild at attachment#113346 [details].

src_unpack() {
	gnome2_src_unpack
	sed -i 's/accepted_versions="1.2 1.4"/accepted_versions="1.2 1.4 2.0"/' configure.in
	AT_M4DIR="m4" eautoreconf
}

Note that you can sed configure also so autoreconf is not necessary.

But please add this fixup, thanks!
Comment 32 Albert Hopkins (RETIRED) gentoo-dev 2007-03-23 16:23:00 UTC
Seems that seahorse-1.0 requires gnupg-1.4* or gnupg-1.2* but latest gpgme requires >=gnupg-1.9.20-r1.  This causes a 'emerge -Du world' to fail because all 3 versions of gnupg are in the same slot and therefore can't be installed simultaneously.

A possible work-around is to unmerge >=gnupg-1.4* and then 'emerge -u world' (assuming seahorse is in the world file, but gnupg and gpgme aren't), but this might be undesirable for those who have already migrated to gnupg-2.x.
Comment 33 Alon Bar-Lev (RETIRED) gentoo-dev 2007-03-23 16:54:22 UTC
(In reply to comment #32)
> Seems that seahorse-1.0 requires gnupg-1.4* or gnupg-1.2* but latest gpgme
> requires >=gnupg-1.9.20-r1.  This causes a 'emerge -Du world' to fail because
> all 3 versions of gnupg are in the same slot and therefore can't be installed
> simultaneously.

If you work with stable gnupg then you get:
gnupg-1.4.6
gnupg-1.9.21

If you work with unstable then you should migrate to latest:
gnupg-2.0.3

So I don't see where the conflict is... Can you please explain little more?

> A possible work-around is to unmerge >=gnupg-1.4* and then 'emerge -u world'
> (assuming seahorse is in the world file, but gnupg and gpgme aren't), but this
> might be undesirable for those who have already migrated to gnupg-2.x.

People who migrated to gnupg-2.X should have no problem, provided that the fixup from comment#31 is applied.
Comment 34 Albert Hopkins (RETIRED) gentoo-dev 2007-03-23 17:25:05 UTC
Ok, prior to syncing portage I had gnupg-2.0.3, gpgme-1.1.4, and seahorse-0.8.2 installed.  I did an 'emerge --sync' and then 'emerge -DuvaN world' and I got:

    !!! Multiple versions within a single package slot have been 
    !!! pulled into the dependency graph:

    ('ebuild', '/', 'app-crypt/gnupg-1.4.7', 'nomerge') pulled in by
      ('ebuild', '/', 'app-crypt/seahorse-1.0', 'nomerge')

    ('ebuild', '/', 'app-crypt/gnupg-2.0.3', 'merge') pulled in by
      ('ebuild', '/', 'app-crypt/gpgme-1.1.4', 'nomerge')

Looking at the ebuilds, it appears that seahorse-1.0 depends on gnupg-1.4* or gnupg-1.2* however gpgme-1.1.4 depends on >=gnupg-1.9.20-r1. gnupg-1.4.7 satisties the first dependency, and gnupg-2.0.3 satisfies the second.  However, gnupg-2.0.3 and gnupg-1.4.* are all SLOT=0 (gnupg-1.2* doesn't exist at all in portage) therefore they cannot coexist.

The only way I could satisfy all dependencies is to replace gnupg-2.0* with gnupg-1.4.7 and do an 'emerge -u' instead of 'emerge -Du' although clearly that's not an appropriate solution.
Comment 35 Alon Bar-Lev (RETIRED) gentoo-dev 2007-03-23 18:14:58 UTC
(In reply to comment #34)
> Ok, prior to syncing portage I had gnupg-2.0.3, gpgme-1.1.4, and seahorse-0.8.2

You are right!
compnerd did not take the ebuild from this bug at all... Or just ignored it.
You should have:
	|| ( =app-crypt/gnupg-1.4* >=app-crypt/gnupg-2.0.1-r2 )

In dependency.

Well... Too many differences between the committed ebuild and the attached one. As I am not the maintainer nor a user of this package, all I ask is to make the fixups needed for dependency and detection of gnupg-2.X.
Comment 36 Mike Auty (RETIRED) gentoo-dev 2007-03-27 19:45:31 UTC
Any news on changing the DEPEND line to allow for the latest version of gnupg?  I've had no problems with the gnome-experimental version (0.9.92-r1).  I can open a separate bug if you'd like to close this one...
Comment 37 Saleem Abdulrasool (RETIRED) gentoo-dev 2007-04-07 23:24:52 UTC
Well, I am going to close this bug, I had forgotten to do so.  The reason that I have not applied the mentioned change to allow for GPG 2 is because upstream decided to remove GPG 2.x support when they did the release.
Comment 38 Alon Bar-Lev (RETIRED) gentoo-dev 2007-04-08 09:08:15 UTC
It works even to upstream.

But since there is ANOTHER issue, as people get confused at bug#164523, it decided to play it safe.

Upstream developer is working with gpg2 without any problem, see:
http://bugzilla.gnome.org/show_bug.cgi?id=375062#c25

I also get reports of other people who are working correctly with gnupg-2, for example:
http://bugs.gentoo.org/show_bug.cgi?id=172331#c6

Please add the gnupg-2 dependency.
Comment 40 Alon Bar-Lev (RETIRED) gentoo-dev 2007-04-08 10:38:30 UTC
Both of these are environment related issue and *NOT* a problem with the interface seahorse as gpg-agent replacement.

People who like to use gpg2 can use seahorse, by setting the GPG_AGENT_INFO correctly. I don't see any reason why not allowing user to have a working environment.

Of course, some gnome developer or user may help understanding how to set an environment with GPG_AGENT_INFO set to all sessions in Gentoo distribution... But it is not seem that anyone is interested in making this work.

gnome: You can close this bug and ignore bug#164523... Only users loses.
Comment 41 Gilles Dartiguelongue (RETIRED) gentoo-dev 2007-04-08 10:52:36 UTC
Maybe you misread but what is written is that gnupg2 interaction with gpgme is _broken_. It doesn't allow proper passphrase caching. This is not a gnome nor a seahorse problem, it is a gpgme+gnupg2 problem. It's all in the hands of gnupg devs.
Comment 42 Xake 2007-04-16 21:08:34 UTC
Is it this issue or are there more?
https://bugs.g10code.com/gnupg/issue772

Comment 43 Alon Bar-Lev (RETIRED) gentoo-dev 2007-06-22 17:11:31 UTC
Created attachment 122822 [details, diff]
seahorse-1.0.1.ebuild.diff

Should be diff against current.
Comment 44 Saleem Abdulrasool (RETIRED) gentoo-dev 2007-08-21 17:54:17 UTC
seahorse 2.20 will support gpg2, this will happen with the gnome 2.20 push into portage.