From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from <gentoo-dev+bounces-49786-garchives=archives.gentoo.org@lists.gentoo.org>) id 1Rwze9-0002ln-3g for garchives@archives.gentoo.org; Mon, 13 Feb 2012 17:25:02 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7D6A5E0894; Mon, 13 Feb 2012 17:24:50 +0000 (UTC) Received: from mail-iy0-f181.google.com (mail-iy0-f181.google.com [209.85.210.181]) by pigeon.gentoo.org (Postfix) with ESMTP id 4AD80E09F8 for <gentoo-dev@lists.gentoo.org>; Mon, 13 Feb 2012 17:24:12 +0000 (UTC) Received: by iakl21 with SMTP id l21so6312268iak.40 for <gentoo-dev@lists.gentoo.org>; Mon, 13 Feb 2012 09:24:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=6OuTqnLksIP/DL+o6n16/4gsc0IJyzSqv5ny69H0Iik=; b=xg/vopkFpQD5V39B3SJ/jvJ000lk7ttE5EG/Y0p1S6/olrJCYmnbKUhIMC7Fj+pzI0 Lqyh9G4kd9QuQscLmY/y68X2cTNp/k8Bqs5q3tZv90k6tFYqB28VTDJCZZkx2QKDG+HO xhq5e3vi7Xb7K3MOtNd7p5oW2p1pTutqiZkj0= Precedence: bulk List-Post: <mailto:gentoo-dev@lists.gentoo.org> List-Help: <mailto:gentoo-dev+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-dev+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-dev+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-dev.gentoo.org> X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Received: by 10.50.194.170 with SMTP id hx10mr21387009igc.6.1329153851824; Mon, 13 Feb 2012 09:24:11 -0800 (PST) Received: by 10.42.97.9 with HTTP; Mon, 13 Feb 2012 09:24:11 -0800 (PST) In-Reply-To: <4F38CB49.2060302@gentoo.org> References: <CAN3AtvrEXA=MLhdFms38fk4dKFMcN5K+QJuVP-ivTwyHLGRoow@mail.gmail.com> <4F37DE18.7080904@gentoo.org> <20280.5374.577507.960890@a1i15.kph.uni-mainz.de> <1329081282.446.9.camel@rook> <4F385C91.2000608@gentoo.org> <4F38CB49.2060302@gentoo.org> Date: Tue, 14 Feb 2012 06:24:11 +1300 Message-ID: <CAATnKFAmXArh=gLYK61P-SUptuJAfuW963GJLRT15g3EfrUnPg@mail.gmail.com> Subject: Re: [gentoo-dev] RFC: Application name in metadata.xml From: Kent Fredric <kentfredric@gmail.com> To: gentoo-dev@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: f195084d-fe40-4e24-8ad2-22e799bf2dab X-Archives-Hash: ea22f3ca8e4d8c2a87c300a82f036c20 On 13 February 2012 21:35, Markos Chandras <hwoarang@gentoo.org> wrote: > This field wont be useful to users but to GUI applications that want > to show a pretty name instead of a weird PN. It would be fully > optional but it would have a standard syntax. You can't use > <longdesription> for that to extract the real package name because > each developer use this tag in a different way. Same for description. > The proposed tag would have a single strict syntax, that is a single > string just for the real package name so it would be easily > extractable. And of course it would be fully optional. After all, it > is just an addition in metadata.dtd > I think it makes sense to also support there being multiple fields of this kind, because packages like libreoffice bundle multiple applications in the one. I'd propose a structure like <provides> <application name=3D"Libreoffice Writer" binary=3D"lowriter" description=3D"A Word processing tool"> </application> .... </provides> You could have a proviso somewhere for multiple provides sections and each section being dependent on some atom match, but I think that's really over-engineering it. I thought about putting in stuff to allow for extra metadata for aliases and such to relate to what people are really looking for ( ie: people who are still wanting openoffice should get given libreoffice as a result ) but also smells of over-engineering and nasty messes. --=20 Kent perl -e=C2=A0 "print substr( \"edrgmaM=C2=A0 SPA NOcomil.ic\\@tfrken\", \$_= * 3, 3 ) for ( 9,8,0,7,1,6,5,4,3,2 );"