Gentoo Archives: gentoo-java

From: Vlastimil Babka <caster@g.o>
To: gentoo-java@l.g.o
Subject: [gentoo-java] java-pkg_register-dependency eclass patch
Date: Mon, 23 Apr 2007 23:12:13
Message-Id: 462D3D09.2030309@gentoo.org
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Hi
5
6 Here's a patch to java-utils-2.eclass that adds function for registering
7 runtime (RDEPEND)-only deps into package.env with all the ensure-dep
8 checking and without abusing internal record-jar_ function :) Obviously
9 intended for those -bin packages, I tested this with deskzilla and seems
10 to work fine :) So we could get that in tree once this this patch is
11 applied...
12 Note that I had to restrict this function to src_install() so it can
13 write the package.env itself and not rely on some other function being
14 called after... And had to tweak ensure-dep a bit to support
15 runtime-only deps in addition to build-only deps.
16 Will commit tomorrow unless there are objections. Thanks.
17 - --
18 Vlastimil Babka (Caster)
19 Gentoo/Java
20 -----BEGIN PGP SIGNATURE-----
21 Version: GnuPG v1.4.6 (GNU/Linux)
22 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
23
24 iD8DBQFGLTz2tbrAj05h3oQRAuRiAKCijFEFX79fIzAIo7dDOd3fMOSR4QCeNXC1
25 gNVJyb+OrSIDqQTUwDwvSGc=
26 =uola
27 -----END PGP SIGNATURE-----

Attachments

File name MIME type
java-utils-2.eclass.patch text/x-patch

Replies

Subject Author
Re: [gentoo-java] java-pkg_register-dependency eclass patch Krzysiek Pawlik <nelchael@g.o>