Hi again,

I've just come up with a plan for the new eclass based on previous feedback. Basically, I want to commit this patch [1] ASAP.

If I commit this right now here's what's going to happen :

- ebuilds that use the gnome2 eclass and other eclasses that don't export pkg_preinst() will be fine. Most Gnome packages are thus fine.

- ebuilds that have "inherit gnome2 $eclass_foo" [*] will still work for now, but won't work once I commit the rest of the eclass changes

- ebuilds that have "inherit $eclass_foo gnome2" [*] won't work as they used to.

[*] if $eclass_foo has indeed a pkg_preinst somewhere, like the games eclass.

Now, basically, if the portage metadata or QA people could tell me a way to figure *all* the ebuilds that inherit gnome2 *and* have a pkg_preinst() function somewhere (either in the ebuild or in an eclass somewhere) I'd really appreciate it, as I really don't want to read through thousands of ebuilds to figure it out.

Thanks

Rémi


[1] The Patch (tm)

--- gnome2.eclass       10 Feb 2008 14:47:14 -0000      1.83
+++ gnome2.eclass       17 Mar 2008 16:30:31 -0000
@@ -106,6 +106,9 @@
        rm -fr "${D}/usr/share/applications/mimeinfo.cache"
 }

+gnome2_pkg_preinst() {
+}
+
 gnome2_pkg_postinst() {
        gnome2_gconf_install
        fdo-mime_desktop_database_update
@@ -131,4 +134,4 @@
        fi
 }

-EXPORT_FUNCTIONS src_unpack src_compile src_install pkg_postinst pkg_postrm
+EXPORT_FUNCTIONS src_unpack src_compile src_install pkg_preinst pkg_postinst pkg_postrm


--
Rémi Cardona
LRI, INRIA
[EMAIL PROTECTED]
[EMAIL PROTECTED]
--
gentoo-dev@lists.gentoo.org mailing list

Reply via email to