[gentoo-dev] slot deps in package.mask and profiles

2009-01-24 Thread Jorge Manuel B. S. Vicetto
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi.

I talked to Zac zmedico earlier in #gentoo-portage about adding an
entry to package.mask for KDE-4.2.0 using slot deps. Thomas tanderson
and Patrick bonsaikitten raised the concern we might need profile
eapis and that PMS nailed p.mask to EAPI-0.
Zac confirmed that the first stable version to support slot deps in p.
mask was 2.1.3.16, that it was stabled in bug 197165 - 14 months ago
- - and that the first stages to include it were the 2008.0 stages.
Thus, can we finally give the ok to use slot deps in package.mask? Can
we also give the ok to use it everywhere in all 2008.0 and later profiles/ ?


- --
Regards,

Jorge Vicetto (jmbsvicetto) - jmbsvicetto at gentoo dot org
Gentoo- forums / Userrel / Devrel / SPARC / KDE
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkl7h1gACgkQcAWygvVEyAKzvACffBg2GQt5VVViLTVTi7yFquLp
KokAn0eDHnN8d+KbLNicy9VxL7H+2f/w
=xn7m
-END PGP SIGNATURE-



Re: [gentoo-dev] slot deps in package.mask and profiles

2009-01-24 Thread Jeremy Olexa

Jorge Manuel B. S. Vicetto wrote:

Hi.

I talked to Zac zmedico earlier in #gentoo-portage about adding an
entry to package.mask for KDE-4.2.0 using slot deps. Thomas tanderson
and Patrick bonsaikitten raised the concern we might need profile
eapis and that PMS nailed p.mask to EAPI-0.
Zac confirmed that the first stable version to support slot deps in p.
mask was 2.1.3.16, that it was stabled in bug 197165 - 14 months ago
- - and that the first stages to include it were the 2008.0 stages.
Thus, can we finally give the ok to use slot deps in package.mask? Can
we also give the ok to use it everywhere in all 2008.0 and later profiles/ ?


What happens on a 2007.0 base install if slot deps are used in p.mask? 
You only need to upgrade portage before anything else?


-Jeremy



[gentoo-dev] QA Overlay Layout support.

2009-01-24 Thread Alistair Bush
Here is an issue that is currently being faced by the java project that
I would like to bring to the attention of everyone.  I have already
discussed this will devs from all pm's.

Intro:

Within the java project we have 2 overlays.  java-overlay and
java-experimental.  java-overlay is mean't to be a stable overlay, is
available through layman while java-experimental is the opposite.  We
attempt to not add packages to gentoo unless they are a dependency or an
application to help with maintainability.  We allow newbies access to
java-experimental and there are a number of packages that are difficult
to support so are still very much experimental.

The way we are currently using the overlays results in a hierachy of
gentoo  java-overlay  java-experimental.  Where
packages/eclasses/profiles can be inherited from the previous repository.

Problem:

Repoman currently only checks the current repository/overlay and gentoo.
 This is a problem for java-experimental.

These are the following problems:-

1)  repoman does not find eclasses used to by java-experimental ebuilds
that are located in java-overlay.  see [1] for error.  Maintaining the
eclass in multiple locations _is not a solution_.(zmedico is expecting
to add repository support at some point with support for specifying
ECLASSDIRS.  So this issue may be resolved).

2)  repoman does not find packages used to by java-experimental ebuilds
that are located in java-overlay.

Now this might be a result of the package not existing within gentoo or
as a result of a particular version/slot being available within
java-overlay.  Now zmedico suggested that the use of repository deps (
aka ::java-overlay )  could be the solution.  I would rather this not be
the solution as packages shouldn't need to be edited to more them
between overlays.  Also the dependency specified could be moved into gentoo.


Possible Solution:

Now im going to shoot myself in the foot here by mentioning the
unmentionable.

( -- ) paludis ( -- ) currently has support for specifying an
overlays parent(s) (master_repository) within an overlays
metadata/layout.conf file.   Now i'm not suggesting that paludis's
implementation is the correct one,  but I believe the concept is solid.
 By specifying an overlays parent repositories would allow (at least):

1)  emerge to error if that repository/overlay is not configured.; and
2) repoman to locate packages by checking the current overlay, gentoo as
well as the parents specified within an overlay metadata file

Possible Solution:

Merging java-overlay and java-experimental.  From my perspective this
isn't a good one as we loss most of the benefits of java-experimental.

Discussion:

Do you support the overlay metadata file concept?
Are there any other possible solutions?
Is there anything stopping this from being implemented?  another EAPI?
profile EAPI?
Is there anything else that would benefit from an overlay metadata
file?  Default conf variables e.g ECLASSDIRS.
Any other comments?


Thanks
ali_bush

Alistair Bush
Gentoo Linux Developer

[1]
* ERROR: dev-java/commons-jelly-tags-util-1.0 failed.

 * Call stack:

 *ebuild.sh, line 1881:  Called source
'/home/alistair/gentoo/overlays/java-experimental/dev-java/commons-jelly-tags-util/commons-jelly-tags-util-1.0.ebuild'


 *   commons-jelly-tags-util-1.0.ebuild, line7:  Called inherit
'commons-jelly-tags-2'

 *ebuild.sh, line 1238:  Called qa_source
'/home/alistair/gentoo/overlays/java-experimental/eclass/commons-jelly-tags-2.eclass'


 *ebuild.sh, line   37:  Called source
'/home/alistair/gentoo/overlays/java-experimental/eclass/commons-jelly-tags-2.eclass'


 *  commons-jelly-tags-2.eclass, line   30:  Called inherit
'java-pkg-2' 'java-ant-2' 'java-maven-2'

 *ebuild.sh, line 1215:  Called die

 * The specific snippet of code:

 *  [ ! -e $location ]  die ${1}.eclass could not be
found by inherit()
 *  The die message:

 *   java-maven-2.eclass could not be found by inherit()

 *

 * If you need support, post the topmost build error, and the call stack
if relevant.
 * This ebuild used the following eclasses from overlays:

 *
/home/alistair/gentoo/overlays/java-experimental/eclass/commons-jelly-tags-2.eclass

 *
/home/alistair/gentoo/overlays/java-experimental/eclass/java-pkg-2.eclass

 *
/home/alistair/gentoo/overlays/java-experimental/eclass/java-utils-2.eclass

 * This ebuild is from an overlay:
'/home/alistair/gentoo/overlays/java-experimental/'

[2]
dev-java/glazedlists/glazedlists-1.7.0-r2.ebuild:
~amd64(default/linux/amd64/2008.0/server) ['dev-java/swingx']

dev-java/swingx is located in java-overlay.



[gentoo-dev] Handling Launchpad SRC_URI

2009-01-24 Thread Josh Saddler
Right now, there's no canonical (heh) way of handling SRC_URI for
projects that have their files at launchpad.net. We need a standard way
of handling Launchpad SRC_URIs, similar to what we do with
mirror://sourceforge/ SRC_URIs.

1. Some packages use the launchpadlibrarian.net download redirect, which
results in a non-helpful server-generated number:

(gnome-catalog)
SRC_URI=http://launchpadlibrarian.net/11326737/${PN}_${PV}.orig.tar.gz

2. Some hack up interesting MY_P stuff:

(gnome-do-plugins)
MY_PN=do-plugins
PVC=$(get_version_component_range 1-2)
PVC2=$(get_version_component_range 1-3)
SRC_URI=https://launchpad.net/${MY_PN}/${PVC}/${PVC2}/+download/${P}.tar.gz;

(avant-window-navigator-extras)
MY_P=awn-extras-applets-${PV}
SRC_URI=https://launchpad.net/awn-extras/${PV%.*}/${PV}/+download/${MY_P}.tar.gz;

The AWN-extras ebuild is the closest to the right way of doing it, I
think.

So can we agree on a standard way of treating Launchpad SRC_URIs and get
the handler support into Portage?



signature.asc
Description: OpenPGP digital signature