From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1G6mZT-00002k-0g for garchives@archives.gentoo.org; Sat, 29 Jul 2006 11:01:27 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.7/8.13.6) with SMTP id k6TB0W5w030877; Sat, 29 Jul 2006 11:00:32 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by robin.gentoo.org (8.13.7/8.13.6) with ESMTP id k6TB0TON006823 for ; Sat, 29 Jul 2006 11:00:29 GMT Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 0227264D7D for ; Sat, 29 Jul 2006 11:00:29 +0000 (UTC) Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 20408-17 for ; Sat, 29 Jul 2006 11:00:21 +0000 (UTC) Received: from titan.startnet.cz (unknown [82.113.63.73]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id BA52364DB7 for ; Sat, 29 Jul 2006 11:00:20 +0000 (UTC) Received: (qmail 3232 invoked from network); 29 Jul 2006 13:00:04 +0200 Received: from unknown (HELO ?192.168.1.4?) (miroslav.sulc@startnet.cz@10.15.192.25) by titan.local.startnet.cz with ESMTPA; 29 Jul 2006 13:00:04 +0200 Message-ID: <44CB3FAB.4030103@startnet.cz> Date: Sat, 29 Jul 2006 12:59:55 +0200 From: =?windows-1252?Q?Miroslav_=8Aulc?= Organization: StartNet s.r.o. User-Agent: Thunderbird 1.5.0.4 (X11/20060715) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-java@gentoo.org MIME-Version: 1.0 To: gentoo-java@lists.gentoo.org Subject: Re: [gentoo-java] Gentoo/Java staffing needs References: <44C7D4AE.20306@gentoo.org> <44C9D289.6000001@startnet.cz> <44CAE067.5030104@gentoo.org> In-Reply-To: <44CAE067.5030104@gentoo.org> Content-Type: multipart/mixed; boundary="------------060005010607050709010704" X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Status: No, score=-2.59 required=5.5 tests=[AWL=0.009, BAYES_00=-2.599] X-Spam-Score: -2.59 X-Spam-Level: X-Archives-Salt: ab1c1018-b257-435f-bc97-367bfddfe3dc X-Archives-Hash: f35e52a3e21a638dd769ce8dce862b34 This is a multi-part message in MIME format. --------------060005010607050709010704 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by robin.gentoo.org id k6TB0W6O030877 Joshua Nichols napsal(a): > Miroslav =8Aulc wrote: > =20 >> I would also appreciate more information on Java ebuilds development. = I >> don't remember I've seen somewhere slotting "howto" for Java ebuilds, >> but I may miss something. >> =20 >> =20 > For Java specific information, check out the developer guide: > http://www.gentoo.org/proj/en/java/java-devel.xml > > For general ebuild information: > http://devmanual.gentoo.org/ > http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml > > Hope that gives you somewhere to start. > =20 I've went through the Java resources several times. Here is what I found about slotting: Slotting "Libraries should be slotted according to the API they provide. If two version have the same API, or if a new version is fully compatible with the previous version, then they should be in the same SLOT." I think it is not easy to determine whether an API changed a way that would broke something. I think even knowing the package doesn't help the dev. And documentation may not cover these changes. And using slot name 3 when major version changes to 4 but there is still full compatibility with version 3.x might be confusing. "Java libraries have a tendency to sometimes break API and ABI between minor revisions, ie from 2.1.1 to 2.1.2. As a result, it is necessary to slot early, and slot often." I went through /usr/share to see current practice. I can see most of the Java libraries I have installed are not slotted at all (probably SLOT=3D"0") and in a contrary jdom is slotted on ${PV} so it comes I have jdom-1.0_beta9 and jdom-1.0 installed. I code in Java for some time but I don't use most of the Java libraries I have installed directly so I just know they exist until something brokes and needs attention. For example, I can see batik is slotted as 1.5.1 and 1.6. I don't use this one but it's not obvious to me why it is slotted to 1.5.1 and not just 1.5. How can one say this slotting is correct. Maybe it would be good to have "slot reason" information in the ebuild too to be able to make time efficient corrections and updates of the ebuilds. "For applications, it is mostly sufficient to keep only the latest version. If the application comes in series, such as Eclipse, we want to keep the latest revision in each series. Very old series may eventually be dropped completely." This is clear :-) Could anyone please explain me how does the Java slotting work in practice? Are there any helper rules? Miroslav --------------060005010607050709010704 Content-Type: text/x-vcard; charset=utf-8; name="miroslav.sulc.vcf" Content-Disposition: attachment; filename="miroslav.sulc.vcf" Content-Transfer-Encoding: 7bit begin:vcard fn;quoted-printable:Miroslav =C5=A0ulc n;quoted-printable:=C5=A0ulc;Miroslav org:StartNet s.r.o. adr;quoted-printable;quoted-printable:;;Schodov=C3=A1 309/10;Praha 5;;150 00;=C4=8Cesk=C3=A1 republika email;internet:miroslav.sulc@startnet.cz tel;cell:+420 603 711 413 x-mozilla-html:TRUE url:http://www.startnet.cz version:2.1 end:vcard --------------060005010607050709010704-- -- gentoo-java@gentoo.org mailing list