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 ) id 1OSAR0-0004Sx-Vz for garchives@archives.gentoo.org; Fri, 25 Jun 2010 15:03:15 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8BB10E0955; Fri, 25 Jun 2010 15:03:09 +0000 (UTC) Received: from smtp-out.neti.ee (smtp-out.neti.ee [194.126.126.39]) by pigeon.gentoo.org (Postfix) with ESMTP id 7199AE0928 for ; Fri, 25 Jun 2010 15:02:39 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by relay213.estpak.ee (Postfix) with ESMTP id 418681FBAF for ; Fri, 25 Jun 2010 18:02:38 +0300 (EEST) X-Virus-Scanned: amavisd-new at estpak.ee Received: from smtp-out.neti.ee ([127.0.0.1]) by localhost (relay213.estpak.ee [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DkGGTCcuV8Wa for ; Fri, 25 Jun 2010 18:02:35 +0300 (EEST) Received: from NETI-Relayhost1.estpak.ee (neti-relayhost1.estpak.ee [88.196.174.198]) by relay213.estpak.ee (Postfix) with ESMTP id 94DB12088B for ; Fri, 25 Jun 2010 18:02:35 +0300 (EEST) X-SMTP-Auth-NETI-Businessmail: no Subject: Re: [gentoo-dev] Re: New global USE flag: introspection From: Mart Raudsepp To: gentoo-dev@lists.gentoo.org In-Reply-To: References: <201006210933.57444.reavertm@gmail.com> <1277130128.7004.43.camel@TesterBox.tester.ca> <201006211744.38483.reavertm@gmail.com> <1277205855.29893.1.camel@lillen> <4C20E5DD.7020400@gentoo.org> <4C211A40.6070001@gentoo.org> Content-Type: text/plain Date: Fri, 25 Jun 2010 17:56:16 +0300 Message-Id: <1277477776.4920.24.camel@localhost> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 7bit X-Archives-Salt: 52e57408-2038-4d49-9323-eb50c0aa3194 X-Archives-Hash: 81fa702801b8e316b92ab98f3fbda80d On K, 2010-06-23 at 09:33 +0530, Arun Raghavan wrote: > On 23 June 2010 01:47, Mike Auty wrote: > [...] > >> Which should not be an issue since any library that has some sort of > >> introspection can use this flag (and the use.desc can be changed > >> appropriately at that time if it does not use gobject-introspection). > > > > Why have to change it in the future (and probably split it into two > > flags then), when the choice hasn't been made yet? Or, to put your own > > question to you, why are you vehemently for "introspection" when others > > have shown concern with the choice? As far as I can see, the only > > difference is requiring a slightly longer use_enable line. > > Mostly because I don't want to coin a new term if it's not absolutely necessary. > > That said, you're right - more people seem to be comfortable with > "gintrospection" than plain "introspection". If no further objections > arise, we'll go with "gintrospection". I object. gintrospection doesn't describe anything. It's very hard to understand from the USE flag name that it deals with introspection, as opposed, to, uh, gint's or who knows what. USE flags starting with "g" usually denote support for some GNU package, not gnome, per some actual looking at use.desc. Nothing stops QtCore packages to use the same USE flag name for the same purpose - introspection. USE flags are primarily supposed to enable certain functionality, not "allow to depend on this package". That functionality is introspection. It just happens that the only framework this is currently supported in is on top of GObject and the appropriate gobject-introspection package. Introspection has nothing to do with GNOME. Most GNOME modules are written in C and don't need introspection information (primary exception being gnome-shell and its javascript stuff). All packages that currently depend on PyGTK will and should eventually use PyGi and in turn the introspection information provided by the necessary used libraries. This includes many GUI software that has no relation to GNOME, other than using the same toolkit. I can't imagine what else introspection means than what this USE flag is proposed to provide to many libraries (would api-introspection be more clear?), all of which just happen to be GObject based right now (and as such detailed in the currently proposed global USE flag description), as other base frameworks currently don't have any introspection support to our knowledge. Note that you will soon not be able to really avoid gobject-introspection package on desktop systems (unless you are a Qt junky that refuses to install anything not based on Qt), so this USE flag really isn't about dependency control at all. It's about defining if embedded images need a .typelib introspection file at runtime or not. So that embedded GUI image builders would be able to globally disable the USE flag and enable it per-package as necessary by applications (represented with USE depends). If it weren't for that, we'd simply always install them, they are just not that big compared to the include files that get always installed too. But embedded guys can easily delete all of /usr/include, but typelibs (containing the introspection data) may be necessary at runtime. -- Mart Raudsepp Gentoo Developer Mail: leio@gentoo.org Weblog: http://blogs.gentoo.org/leio