[tefnut:gentoo/prefix-overlay-rsync/rsync1] % ls metadata/cache/*/* | xargs -n1 sed -n -e 10p | sed -e 's/ /\n/g' | sort | uniq -c 662 130 alternatives 35 ant-tasks 2 apache-2 6 apache-module 4 aspell-dict 1158 autotools 868 base 74 bash-completion 1 ccc 16 check-reqs 18 cmake-utils 10 common-lisp 10 common-lisp-common 2 common-lisp-common-3 3 confutils 2 cvs 9 db 21 db-use 10 depend.apache 8 depend.php 324 distutils 50 elisp 137 elisp-common 29 embassy 1 emul-libs 23 emul-linux-x86 1 enlightenment 4132 eutils 469 fdo-mime 1 findlib 23 fixheadtails 1153 flag-o-matic 30 font 1 font-ebdftopcf 17 fortran 16 games 94 gems 56 ghc-package 2 git 21 gnome-python-common 322 gnome.org 297 gnome2 425 gnome2-utils 23 gnuconfig 18 gnustep-base 7 go-mono 4 gst-plugins-bad 13 gst-plugins-base 9 gst-plugins-good 6 gst-plugins-ugly 32 gst-plugins10 6 gtk-sharp-module 49 haskell-cabal 253 java-ant-2 7 java-osgi 293 java-pkg-2 36 java-pkg-opt-2 341 java-utils-2 12 java-virtuals-2 14 java-vm-2 3 kde 5 kde-functions 2 kde4-base 2 kde4-functions 5 kernel-2 26 latex-package 1462 libtool 18 linux-info 12 makeedit 30 mono 2 mozconfig-2 8 mozconfig-3 4 mozcoreconf 8 mozcoreconf-2 16 mozextension 5 mozilla-launcher 4356 multilib 2 myspell 3 mysql 3 mysql_fx 11 nsplugins 42 pam 22 pax-utils 20 perl-app 557 perl-module 6 php-common-r1 3 php-ext-base-r1 2 php-ext-pecl-r1 3 php-ext-source-r1 6 php5_2-sapi 14 phpconfutils 8 poppler 4132 portability 4363 prefix 453 python 1 qmail 18 qt3 21 qt4 30 qt4-build 6 rpm 118 ruby 18 sgml-catalog 12 ssl-cert 11 subversion 58 texlive-common 54 texlive-module 13 toolchain 6 toolchain-binutils 4356 toolchain-funcs 7 twisted 840 versionator 8 vim 34 vim-doc 26 vim-plugin 4 vim-spell 31 virtualx 6 webapp 25 wxwidgets 247 x-modular 3 xemacs-elisp-common 96 xfconf
The sorted by use list is as follows: 4363 prefix 4356 toolchain-funcs 4356 multilib 4132 portability 4132 eutils 1462 libtool 1158 autotools 1153 flag-o-matic 868 base 840 versionator 662 557 perl-module 469 fdo-mime 453 python 425 gnome2-utils 341 java-utils-2 324 distutils 322 gnome.org 297 gnome2 293 java-pkg-2 253 java-ant-2 247 x-modular 137 elisp-common 130 alternatives 118 ruby 96 xfconf 94 gems 74 bash-completion 58 texlive-common 56 ghc-package 54 texlive-module 50 elisp 49 haskell-cabal 42 pam 36 java-pkg-opt-2 35 ant-tasks 34 vim-doc 32 gst-plugins10 31 virtualx 30 qt4-build 30 mono 30 font 29 embassy 26 vim-plugin 26 latex-package 25 wxwidgets 23 gnuconfig 23 fixheadtails 23 emul-linux-x86 22 pax-utils 21 qt4 21 gnome-python-common 21 db-use 20 perl-app 18 sgml-catalog 18 qt3 18 linux-info 18 gnustep-base 18 cmake-utils 17 fortran 16 mozextension 16 games 16 check-reqs 14 phpconfutils 14 java-vm-2 13 toolchain 13 gst-plugins-base 12 ssl-cert 12 makeedit 12 java-virtuals-2 11 subversion 11 nsplugins 10 depend.apache 10 common-lisp-common 10 common-lisp 9 gst-plugins-good 9 db 8 vim 8 poppler 8 mozcoreconf-2 8 mozconfig-3 8 depend.php 7 twisted 7 java-osgi 7 go-mono 6 webapp 6 toolchain-binutils 6 rpm 6 php5_2-sapi 6 php-common-r1 6 gtk-sharp-module 6 gst-plugins-ugly 6 apache-module 5 mozilla-launcher 5 kernel-2 5 kde-functions 4 vim-spell 4 mozcoreconf 4 gst-plugins-bad 4 aspell-dict 3 xemacs-elisp-common 3 php-ext-source-r1 3 php-ext-base-r1 3 mysql_fx 3 mysql 3 kde 3 confutils 2 php-ext-pecl-r1 2 myspell 2 mozconfig-2 2 kde4-functions 2 kde4-base 2 git 2 cvs 2 common-lisp-common-3 2 apache-2 1 qmail 1 font-ebdftopcf 1 findlib 1 enlightenment 1 emul-libs 1 ccc Please note that this is counting the ebuilds not the packages.
The following diff confirms that we don't use eclasses that do not exist (phew) and that we have more eclasses in our tree than we actually use (and hence tested). Untested eclasses should not be moved to gx86, or being eapified without checks if they make sense at all, so I will remove all eclasses that are not being used from the Prefix tree right now. --- eclass-avail 2009-12-05 16:56:15 +0100 +++ eclass-usage-plain 2009-12-05 16:58:36 +0100 @@ -3 +2,0 @@ -aolserver @@ -10,3 +8,0 @@ -bsdmk -bzr -cannadic @@ -14 +9,0 @@ -check-kernel @@ -19 +13,0 @@ -common-lisp-common-2 @@ -22 +15,0 @@ -cron @@ -24 +16,0 @@ -darcs @@ -27 +18,0 @@ -db4-fix @@ -31,2 +21,0 @@ -ebook -eclipse-ext @@ -36,2 +24,0 @@ -embassy-2.10 -embassy-2.9 @@ -43 +29,0 @@ -files @@ -50,3 +35,0 @@ -fox -freebsd -freedict @@ -54,6 +36,0 @@ -games-etmod -games-ggz -games-mods -games-q3mod -games-ut2k4mod -gdesklets @@ -63,3 +39,0 @@ -gkrellm-plugin -gnat -gnatbuild @@ -71,2 +44,0 @@ -gnustep -gnustep-2 @@ -74,2 +45,0 @@ -gnustep-funcs -gnustep-old @@ -77,2 +46,0 @@ -gpe -gst-plugins @@ -84 +51,0 @@ -gtk-sharp-component @@ -87,3 +53,0 @@ -horde -iiimf -java @@ -91 +54,0 @@ -java-gnome @@ -95 +57,0 @@ -java-utils @@ -100 +61,0 @@ -kde-dist @@ -102,2 +62,0 @@ -kde-meta -kde-source @@ -106,2 +64,0 @@ -kde4-meta -kernel @@ -112,2 +68,0 @@ -linux-mod -mailer @@ -115,2 +69,0 @@ -matrox -mercurial @@ -118,2 +70,0 @@ -mount-boot -mozconfig @@ -130,2 +80,0 @@ -mythtv -mythtv-plugins @@ -133 +81,0 @@ -nvidia-driver @@ -136 +83,0 @@ -pcmcia @@ -143,8 +89,0 @@ -php-ezc -php-lib-r1 -php-pear -php-pear-lib-r1 -php-pear-r1 -php4_4-sapi -php5_0-sapi -php5_1-sapi @@ -161,2 +99,0 @@ -rox -rox-0install @@ -165,4 +101,0 @@ -ruby-gnome2 -savedconfig -scsh -selinux-policy-2 @@ -171,2 +103,0 @@ -stardict -stub_patch=files @@ -174,5 +104,0 @@ -sword-module -tests -tetex -tetex-2 -tetex-3 @@ -181 +106,0 @@ -tla @@ -186,2 +110,0 @@ -unipatch-001 -vdr-plugin @@ -194,2 +116,0 @@ -vmware -vmware-mod @@ -199,2 +119,0 @@ -x11 -xemacs-elisp @@ -202,4 +120,0 @@ -xemacs-packages -xfce4 -xfce42 -xfce44 @@ -207,2 +122 @@ -xmms-plugin -zproduct
the following eclasses have differences: $ for e in *.eclass ; do if [[ ! -f rsync-tree/eclass/${e} ]] ; then echo "no such eclass in gx86: ${e}" ; else diff --brief rsync-tree/eclass/${e} ${e} ; fi; done | sed -e 's/^.* and \([^ ]*\)\.eclass differ$/\1/' alternatives apache-2 apache-module autotools check-reqs cmake-utils common-lisp-common-3 common-lisp-common db-use db depend.apache depend.php distutils elisp-common embassy emul-libs emul-linux-x86 enlightenment eutils fdo-mime findlib flag-o-matic font games gems ghc-package gnome2-utils gnome2 gnuconfig gnustep-base go-mono gst-plugins-bad gst-plugins-base gtk-sharp-module haskell-cabal java-ant-2 java-pkg-2 java-pkg-opt-2 java-utils-2 java-vm-2 kde-functions kde kde4-base kde4-functions kernel-2 libtool linux-info mono mozcoreconf-2 mozilla-launcher mysql nsplugins pam perl-module php-common-r1 php-ext-source-r1 php5_2-sapi phpconfutils portability python qt3 qt4-build qt4 ruby sgml-catalog ssl-cert subversion texlive-common texlive-module toolchain-binutils toolchain-funcs toolchain twisted vim-doc vim-plugin vim-spell vim virtualx webapp wxwidgets x-modular xfconf I'm not fully up-to-date in Prefix, so these can include a few false positives.
There are 82 eclasses that have differences. The following 39 eclasses (seem to) have no differences compared to gx86: % diff -U0 /var/tmp/eclass-{avail,diffs} | sed -e '/^@@ /d' --- /var/tmp/eclass-avail 2009-12-05 17:26:55 +0100 +++ /var/tmp/eclass-diffs 2009-12-05 17:29:09 +0100 -ant-tasks -aspell-dict -base -bash-completion -ccc -common-lisp -confutils -cvs -elisp -fixheadtails -font-ebdftopcf -fortran -git -gnome-python-common -gnome.org -gst-plugins-good -gst-plugins-ugly -gst-plugins10 -java-osgi -java-virtuals-2 -latex-package -makeedit -mozconfig-2 -mozconfig-3 -mozcoreconf -mozextension -multilib -myspell -mysql_fx -pax-utils -perl-app -php-ext-base-r1 -php-ext-pecl-r1 -poppler -prefix -qmail -rpm -versionator -xemacs-elisp-common
after syncing, the number of equal eclasses is equal, so we'll have to go through $((82 - 39)) eclasses. (43)
I had to add ruby-ng.eclass, but I think I fixed it, didn't test though.
I had to add ruby-fakegem and bzr eclasses
I had to add games-ggz.eclass
whatever, this is outdated