all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [PATCH] guix: refresh: Use bags.
@ 2014-10-10 19:32 Eric Bavier
  2014-10-10 19:42 ` David Thompson
  2014-10-10 20:42 ` Ludovic Courtès
  0 siblings, 2 replies; 12+ messages in thread
From: Eric Bavier @ 2014-10-10 19:32 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: Type: text/plain, Size: 235 bytes --]

This patch allows the `guix refresh --list-dependent` option to be more
accurate in its dependency reporting, mostly by taking into account
implicit dependencies generated at the build-system level (thanks to our
new wonderful bags).


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-guix-refresh-Use-bags.patch --]
[-- Type: text/x-diff, Size: 2089 bytes --]

From ebc348a37addd53bab27ede856e0e4af3aa10b41 Mon Sep 17 00:00:00 2001
From: Eric Bavier <bavier@member.fsf.org>
Date: Fri, 10 Oct 2014 14:27:20 -0500
Subject: [PATCH] guix: refresh: Use bags.

* guix/packages.scm (bag-direct-inputs): New procedure.
* gnu/packages.scm (package-dependencies): Use it.
---
 gnu/packages.scm  |    2 +-
 guix/packages.scm |   11 ++++++++---
 2 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/gnu/packages.scm b/gnu/packages.scm
index 281d0d2..f82c6b5 100644
--- a/gnu/packages.scm
+++ b/gnu/packages.scm
@@ -250,7 +250,7 @@ list of packages that depend on that package."
                         (cons package (vhash-refq d in '()))
                         (vhash-delq in d)))
          dag
-         (match (package-direct-inputs package)
+         (match (bag-direct-inputs (package->bag package))
            (((labels packages . _) ...)
             packages) )))
       vlist-null))))
diff --git a/guix/packages.scm b/guix/packages.scm
index 76e01f3..bdcf299 100644
--- a/guix/packages.scm
+++ b/guix/packages.scm
@@ -98,6 +98,7 @@
 
             package->bag
             bag->derivation
+            bag-direct-inputs
             bag-transitive-inputs
             bag-transitive-host-inputs
             bag-transitive-build-inputs
@@ -534,11 +535,15 @@ for the host system (\"native inputs\"), and not target inputs."
 recursively."
   (transitive-inputs (package-propagated-inputs package)))
 
+(define (bag-direct-inputs bag)
+  "Same as 'package-direct-inputs', but applied to a bag."
+  (append (bag-build-inputs bag)
+          (bag-host-inputs bag)
+          (bag-target-inputs bag)))
+
 (define (bag-transitive-inputs bag)
   "Same as 'package-transitive-inputs', but applied to a bag."
-  (transitive-inputs (append (bag-build-inputs bag)
-                             (bag-host-inputs bag)
-                             (bag-target-inputs bag))))
+  (transitive-inputs (bag-direct-inputs bag)))
 
 (define (bag-transitive-build-inputs bag)
   "Same as 'package-transitive-native-inputs', but applied to a bag."
-- 
1.7.9.5


[-- Attachment #3: Type: text/plain, Size: 230 bytes --]


Out of curiosity, I also produced this table of packages and their total
number of dependent packages.  Something similar might be useful for us,
e.g., when deciding whether a package update should go in master or
core-updates.


[-- Attachment #4: package-dependency-numbers.txt --]
[-- Type: text/plain, Size: 57702 bytes --]

guile-2.0.11................................. 969 (99.08%)
ld-wrapper-0................................. 968 (98.98%)
glibc-2.20................................... 968 (98.98%)
bootstrap-binaries-0......................... 968 (98.98%)
binutils-bootstrap-0......................... 968 (98.98%)
gcc-4.8.3.................................... 967 (98.88%)
perl-5.16.1.................................. 670 (68.51%)
pkg-config-0.27.1............................ 620 (63.39%)
ncurses-5.9.................................. 599 (61.25%)
zlib-1.2.7................................... 592 (60.53%)
readline-6.3................................. 550 (56.24%)
libffi-3.1................................... 525 (53.68%)
bzip2-1.0.6.................................. 521 (53.27%)
openssl-1.0.1i............................... 511 (52.25%)
gdbm-1.11.................................... 504 (51.53%)
patchelf-0.6................................. 502 (51.33%)
python-2.7.6................................. 439 (44.89%)
python-3.3.5................................. 429 (43.87%)
python-wrapper-3.3.5......................... 428 (43.76%)
m4-1.4.17.................................... 390 (39.88%)
libgpg-error-1.13............................ 372 (38.04%)
libxml2-2.9.0................................ 372 (38.04%)
libgcrypt-1.6.2.............................. 365 (37.32%)
util-macros-1.17............................. 348 (35.58%)
xproto-7.0.23................................ 347 (35.48%)
indent-2.2.10................................ 330 (33.74%)
flex-2.5.37.................................. 329 (33.64%)
xtrans-1.2.7................................. 327 (33.44%)
libxslt-1.1.28............................... 323 (33.03%)
bison-3.0.2.................................. 316 (32.31%)
libpthread-stubs-0.3......................... 315 (32.21%)
xcb-proto-1.7.1.............................. 315 (32.21%)
libxdmcp-1.1.1............................... 313 (32.00%)
libxau-1.0.7................................. 313 (32.00%)
libxcb-1.8.1................................. 312 (31.90%)
xextproto-7.2.1.............................. 307 (31.39%)
inputproto-2.2............................... 305 (31.19%)
kbproto-1.0.6................................ 305 (31.19%)
expat-2.1.0.................................. 305 (31.19%)
libx11-1.5.0................................. 304 (31.08%)
gmp-6.0.0a................................... 291 (29.75%)
gettext-0.19.2............................... 261 (26.69%)
freetype-2.4.11.............................. 260 (26.58%)
bash-4.3.27.................................. 246 (25.15%)
libpng-1.5.17................................ 237 (24.23%)
libxext-1.3.1................................ 236 (24.13%)
dbus-1.8.8................................... 205 (20.96%)
libjpeg-8d................................... 196 (20.04%)
attr-2.4.46.................................. 194 (19.84%)
acl-2.2.52................................... 192 (19.63%)
libtiff-4.0.3................................ 192 (19.63%)
tcl-8.6.0.................................... 190 (19.43%)
coreutils-8.23............................... 187 (19.12%)
renderproto-0.11.1........................... 186 (19.02%)
libxrender-0.9.7............................. 185 (18.92%)
libpaper-1.1.24.............................. 182 (18.61%)
lcms-2.4..................................... 181 (18.51%)
ghostscript-9.06.0........................... 178 (18.20%)
util-linux-2.21.............................. 176 (18.00%)
tzdata-2014a................................. 172 (17.59%)
libtool-2.4.2................................ 172 (17.59%)
glib-2.40.0.................................. 170 (17.38%)
libjpeg-9a................................... 169 (17.28%)
file-5.19.................................... 164 (16.77%)
xz-5.0.4..................................... 163 (16.67%)
icu4c-53.1................................... 149 (15.24%)
libice-1.0.8................................. 149 (15.24%)
pixman-0.32.4................................ 148 (15.13%)
libsm-1.2.1.................................. 147 (15.03%)
perl-xml-parser-2.41......................... 141 (14.42%)
gs-fonts-8.11................................ 138 (14.11%)
fontconfig-2.10.93........................... 136 (13.91%)
texinfo-5.2.................................. 136 (13.91%)
libxt-1.1.3.................................. 134 (13.70%)
intltool-0.50.2.............................. 133 (13.60%)
which-2.20................................... 133 (13.60%)
libatomic-ops-7.4.2.......................... 123 (12.58%)
libgc-7.4.2.................................. 122 (12.47%)
libunistring-0.9.4........................... 119 (12.17%)
libxmu-1.1.1................................. 118 (12.07%)
guile-2.0.11................................. 118 (12.07%)
fixesproto-5.0............................... 115 (11.76%)
libspectre-0.2.7............................. 114 (11.66%)
poppler-0.22.0............................... 114 (11.66%)
libxfixes-5.0................................ 113 (11.55%)
cairo-1.12.16................................ 113 (11.55%)
xf86vidmodeproto-2.3.1....................... 109 (11.15%)
libxpm-3.5.10................................ 108 (11.04%)
makedepend-1.0.4............................. 108 (11.04%)
libxxf86vm-1.1.2............................. 108 (11.04%)
libpciaccess-0.13.1.......................... 108 (11.04%)
damageproto-1.2.1............................ 107 (10.94%)
dri2proto-2.6................................ 106 (10.84%)
glproto-1.4.15............................... 106 (10.84%)
libxdamage-1.1.3............................. 106 (10.84%)
libdrm-2.4.33................................ 106 (10.84%)
mesa-8.0.5................................... 105 (10.74%)
libxaw-1.0.11................................ 101 (10.33%)
gobject-introspection-1.38.0.................  99 (10.12%)
libfontenc-1.1.1.............................  96 ( 9.82%)
nettle-2.7.1.................................  92 ( 9.41%)
mpfr-3.1.2...................................  92 ( 9.41%)
randrproto-1.3.2.............................  91 ( 9.30%)
fontsproto-2.1.2.............................  89 ( 9.10%)
libtasn1-4.1.................................  89 ( 9.10%)
gnutls-3.2.16................................  88 ( 9.00%)
harfbuzz-0.9.22..............................  88 ( 9.00%)
libxfont-1.4.5...............................  87 ( 8.90%)
pango-1.34.1.................................  87 ( 8.90%)
isl-0.11.1...................................  86 ( 8.79%)
mpc-1.0.2....................................  86 ( 8.79%)
cloog-0.18.0.................................  85 ( 8.69%)
libelf-0.8.13................................  85 ( 8.69%)
xineramaproto-1.2.1..........................  83 ( 8.49%)
psutils-17...................................  81 ( 8.28%)
netpbm-10.61.01..............................  81 ( 8.28%)
groff-1.22.2.................................  80 ( 8.18%)
linux-pam-1.1.6..............................  78 ( 7.98%)
recordproto-1.14.2...........................  77 ( 7.87%)
videoproto-2.3.1.............................  74 ( 7.57%)
libxv-1.0.7..................................  73 ( 7.46%)
xf86dgaproto-2.1.............................  73 ( 7.46%)
libxkbfile-1.0.8.............................  73 ( 7.46%)
bdb-5.3.21...................................  73 ( 7.46%)
xkeyboard-config-2.6.........................  72 ( 7.36%)
dmxproto-2.3.1...............................  72 ( 7.36%)
compositeproto-0.4.2.........................  72 ( 7.36%)
libidn-1.29..................................  72 ( 7.36%)
resourceproto-1.2.0..........................  71 ( 7.26%)
libdmx-1.1.2.................................  71 ( 7.26%)
scrnsaverproto-1.2.2.........................  71 ( 7.26%)
gcc-4.7.4....................................  71 ( 7.26%)
xf86driproto-2.1.1...........................  70 ( 7.16%)
xkbcomp-1.2.4................................  70 ( 7.16%)
bigreqsproto-1.1.2...........................  70 ( 7.16%)
libxres-1.0.6................................  70 ( 7.16%)
xf86bigfontproto-1.2.0.......................  70 ( 7.16%)
xcmiscproto-1.2.2............................  70 ( 7.16%)
libgcrypt-1.5.4..............................  70 ( 7.16%)
mit-krb5-1.11.3..............................  70 ( 7.16%)
cyrus-sasl-2.1.26............................  69 ( 7.06%)
xorg-server-1.12.2...........................  69 ( 7.06%)
shishi-1.0.2.................................  69 ( 7.06%)
openldap-2.4.33..............................  68 ( 6.95%)
gss-1.0.2....................................  68 ( 6.95%)
libssh2-1.4.3................................  68 ( 6.95%)
curl-7.37.1..................................  66 ( 6.75%)
gdk-pixbuf-2.28.2............................  65 ( 6.65%)
atk-2.10.0...................................  63 ( 6.44%)
alsa-lib-1.0.27.1............................  60 ( 6.13%)
libxi-1.6.1..................................  58 ( 5.93%)
libogg-1.3.2.................................  51 ( 5.21%)
libxinerama-1.1.2............................  47 ( 4.81%)
libvorbis-1.3.4..............................  47 ( 4.81%)
python-setuptools-1.1.4......................  46 ( 4.70%)
fftw-3.3.4...................................  46 ( 4.70%)
check-0.9.9..................................  45 ( 4.60%)
autoconf-2.69................................  44 ( 4.50%)
flac-1.3.0...................................  43 ( 4.40%)
libdaemon-0.14...............................  42 ( 4.29%)
libxtst-1.2.1................................  41 ( 4.19%)
avahi-0.6.31.................................  41 ( 4.19%)
speex-1.2rc1.................................  41 ( 4.19%)
libsndfile-1.0.25............................  41 ( 4.19%)
libsamplerate-0.1.8..........................  40 ( 4.09%)
libcap-2.22..................................  40 ( 4.09%)
json-c-0.12..................................  39 ( 3.99%)
fftwf-3.3.4..................................  39 ( 3.99%)
lzo-2.06.....................................  39 ( 3.99%)
pulseaudio-5.0...............................  38 ( 3.89%)
libarchive-3.1.2.............................  36 ( 3.68%)
at-spi2-core-2.10.0..........................  36 ( 3.68%)
at-spi2-atk-2.10.0...........................  35 ( 3.58%)
cmake-2.8.12.................................  34 ( 3.48%)
gtk+-3.10.1..................................  34 ( 3.48%)
tcsh-6.18.01.................................  32 ( 3.27%)
gtk+-2.24.21.................................  31 ( 3.17%)
gd-2.0.33....................................  27 ( 2.76%)
libusb-1.0.9.................................  23 ( 2.35%)
libxft-2.3.1.................................  22 ( 2.25%)
libxrandr-1.3.2..............................  21 ( 2.15%)
pciutils-3.2.0...............................  21 ( 2.15%)
mkfontscale-1.1.0............................  20 ( 2.04%)
gts-0.7.6....................................  20 ( 2.04%)
giflib-4.2.3.................................  20 ( 2.04%)
sqlite-3.8.4.3...............................  19 ( 1.94%)
graphviz-2.28.0..............................  19 ( 1.94%)
mkfontdir-1.0.7..............................  18 ( 1.84%)
gperf-3.0.4..................................  18 ( 1.84%)
pcre-8.32....................................  18 ( 1.84%)
boost-1.55.0.................................  17 ( 1.74%)
bdftopcf-1.0.3...............................  16 ( 1.64%)
tar-1.28.....................................  15 ( 1.53%)
kmod-17......................................  15 ( 1.53%)
popt-1.16....................................  15 ( 1.53%)
unzip-6.0....................................  14 ( 1.43%)
gfortran-4.8.3...............................  13 ( 1.33%)
procps-3.2.8.................................  13 ( 1.33%)
usbutils-006.................................  13 ( 1.33%)
emacs-24.3...................................  13 ( 1.33%)
zip-3.0......................................  13 ( 1.33%)
xmlto-0.0.25.................................  12 ( 1.23%)
doxygen-1.8.7................................  12 ( 1.23%)
xcb-util-0.3.9...............................  11 ( 1.12%)
expect-5.45..................................  11 ( 1.12%)
gstreamer-1.0.10.............................  11 ( 1.12%)
perl-http-date-6.02..........................  10 ( 1.02%)
perl-uri-1.60................................  10 ( 1.02%)
xcb-util-renderutil-0.3.8....................  10 ( 1.02%)
xcb-util-image-0.3.9.........................  10 ( 1.02%)
xcb-util-keysyms-0.3.9.......................  10 ( 1.02%)
xcb-util-wm-0.3.9............................  10 ( 1.02%)
mysql-5.1.73.................................  10 ( 1.02%)
aspell-0.60.6.1..............................  10 ( 1.02%)
yasm-1.2.0...................................  10 ( 1.02%)
libxkbcommon-0.3.1...........................  10 ( 1.02%)
lzip-1.16....................................  10 ( 1.02%)
sdl-1.2.15...................................  10 ( 1.02%)
dejagnu-1.5.1................................  10 ( 1.02%)
perl-io-html-1.00............................   9 ( 0.92%)
perl-lwp-mediatypes-6.02.....................   9 ( 0.92%)
lapack-3.5.0.................................   9 ( 0.92%)
apr-1.5.1....................................   9 ( 0.92%)
libmad-0.15.1b...............................   9 ( 0.92%)
libsigc++-2.3.1..............................   9 ( 0.92%)
pth-2.0.7....................................   8 ( 0.82%)
perl-http-message-6.06.......................   8 ( 0.82%)
teckit-2.5.1.................................   8 ( 0.82%)
t1lib-5.1.2..................................   8 ( 0.82%)
eudev-1.10...................................   8 ( 0.82%)
apr-util-1.5.3...............................   8 ( 0.82%)
qt-4.8.6.....................................   8 ( 0.82%)
libidl-0.8.14................................   8 ( 0.82%)
automake-1.14.1..............................   8 ( 0.82%)
bc-1.06......................................   8 ( 0.82%)
gzip-1.6.....................................   8 ( 0.82%)
dbus-glib-0.100.2............................   8 ( 0.82%)
zziplib-0.13.62..............................   8 ( 0.82%)
libksba-1.3.0................................   7 ( 0.72%)
libassuan-2.1.2..............................   7 ( 0.72%)
tk-8.6.0.....................................   7 ( 0.72%)
libtheora-1.1.1..............................   7 ( 0.72%)
neon-0.29.6..................................   7 ( 0.72%)
numactl-2.0.9................................   7 ( 0.72%)
libcanberra-0.30.............................   7 ( 0.72%)
swig-2.0.11..................................   7 ( 0.72%)
orbit2-2.14.19...............................   7 ( 0.72%)
texlive-2014.................................   7 ( 0.72%)
glibmm-2.37.7................................   7 ( 0.72%)
gdb-7.8......................................   7 ( 0.72%)
valgrind-3.10.0..............................   6 ( 0.61%)
perl-html-tagset-3.20........................   6 ( 0.61%)
hwloc-1.9....................................   6 ( 0.61%)
gnupg-2.0.26.................................   6 ( 0.61%)
python-mock-1.0.1............................   6 ( 0.61%)
ao-1.1.0.....................................   6 ( 0.61%)
opus-1.1.....................................   6 ( 0.61%)
subversion-1.7.18............................   6 ( 0.61%)
ed-1.10......................................   6 ( 0.61%)
libgsf-1.14.30...............................   6 ( 0.61%)
libart-lgpl-2.3.9............................   6 ( 0.61%)
cairomm-1.10.0...............................   6 ( 0.61%)
pangox-compat-0.0.2..........................   6 ( 0.61%)
libvpx-1.3.0.................................   6 ( 0.61%)
perl-encode-locale-1.03......................   5 ( 0.51%)
perl-www-robotrules-6.02.....................   5 ( 0.51%)
perl-http-cookies-6.01.......................   5 ( 0.51%)
perl-http-negotiate-6.01.....................   5 ( 0.51%)
perl-html-parser-3.71........................   5 ( 0.51%)
perl-net-http-6.06...........................   5 ( 0.51%)
perl-file-listing-6.04.......................   5 ( 0.51%)
perl-http-daemon-6.01........................   5 ( 0.51%)
openmpi-1.8.1................................   5 ( 0.51%)
font-util-1.3.0..............................   5 ( 0.51%)
libevent-2.0.21..............................   5 ( 0.51%)
perl-xml-simple-2.20.........................   5 ( 0.51%)
gconf-3.2.6..................................   5 ( 0.51%)
gnome-mime-data-2.18.0.......................   5 ( 0.51%)
libcroco-0.6.8...............................   5 ( 0.51%)
libid3tag-0.15.1b............................   5 ( 0.51%)
pangomm-2.34.0...............................   5 ( 0.51%)
atkmm-2.22.7.................................   5 ( 0.51%)
ffmpeg-2.3.3.................................   5 ( 0.51%)
libsigsegv-2.10..............................   5 ( 0.51%)
perl-libwww-6.05.............................   4 ( 0.41%)
readline-6.2.................................   4 ( 0.41%)
xinput-1.6.0.................................   4 ( 0.41%)
libxaw3d-1.6.2...............................   4 ( 0.41%)
gpgme-1.5.1..................................   4 ( 0.41%)
perl-libxml-0.08.............................   4 ( 0.41%)
perl-xml-regexp-0.04.........................   4 ( 0.41%)
exiv2-0.23...................................   4 ( 0.41%)
python-nose-1.3.4............................   4 ( 0.41%)
python-mimeparse-0.1.4.......................   4 ( 0.41%)
python-six-1.7.2.............................   4 ( 0.41%)
python-extras-0.0.3..........................   4 ( 0.41%)
libkate-0.4.1................................   4 ( 0.41%)
superlu-4.3..................................   4 ( 0.41%)
gnuplot-4.6.3................................   4 ( 0.41%)
git-2.1.2....................................   4 ( 0.41%)
gnome-vfs-2.24.4.............................   4 ( 0.41%)
libglade-2.6.4...............................   4 ( 0.41%)
libgnomecanvas-2.30.3........................   4 ( 0.41%)
icon-naming-utils-0.8.90.....................   4 ( 0.41%)
libbonobo-2.32.1.............................   4 ( 0.41%)
librsvg-2.40.2...............................   4 ( 0.41%)
imagemagick-6.8.9-0..........................   4 ( 0.41%)
inetutils-1.9.2..............................   4 ( 0.41%)
help2man-1.46.3..............................   4 ( 0.41%)
gawk-4.1.1...................................   4 ( 0.41%)
libcddb-1.3.0................................   4 ( 0.41%)
glu-9.0.0....................................   4 ( 0.41%)
printproto-1.0.5.............................   3 ( 0.31%)
libxcursor-1.1.13............................   3 ( 0.31%)
librsync-0.9.7...............................   3 ( 0.31%)
perl-xml-dom-1.44............................   3 ( 0.31%)
python-testtools-1.0.0.......................   3 ( 0.31%)
python-pytz-2013b............................   3 ( 0.31%)
python-pycrypto-2.6.1........................   3 ( 0.31%)
python2-setuptools-1.1.4.....................   3 ( 0.31%)
python-parse-1.6.4...........................   3 ( 0.31%)
python-enum34-1.0............................   3 ( 0.31%)
gcc-4.9.1....................................   3 ( 0.31%)
gsl-1.16.....................................   3 ( 0.31%)
linux-libre-headers-3.3.8....................   3 ( 0.31%)
udev-182.....................................   3 ( 0.31%)
libmpdclient-2.9.............................   3 ( 0.31%)
libgnome-keyring-3.6.0.......................   3 ( 0.31%)
shared-mime-info-1.2.........................   3 ( 0.31%)
gnome-icon-theme-3.10.0......................   3 ( 0.31%)
libgnome-2.32.1..............................   3 ( 0.31%)
gstreamer-0.10.36............................   3 ( 0.31%)
gst-plugins-base-1.0.10......................   3 ( 0.31%)
lame-3.99.5..................................   3 ( 0.31%)
guile-lib-0.2.2..............................   3 ( 0.31%)
raptor2-2.0.11...............................   3 ( 0.31%)
imlib2-1.4.6.................................   3 ( 0.31%)
nano-2.3.6...................................   3 ( 0.31%)
libmikmod-3.3.3..............................   3 ( 0.31%)
sdl-image-1.2.12.............................   3 ( 0.31%)
itstool-1.2.0................................   3 ( 0.31%)
less-451.....................................   3 ( 0.31%)
libmhash-0.9.9.9.............................   2 ( 0.20%)
libmcrypt-2.5.8..............................   2 ( 0.20%)
luit-1.1.1...................................   2 ( 0.20%)
imake-1.0.7..................................   2 ( 0.20%)
libxxf86dga-1.1.3............................   2 ( 0.20%)
gnupg-1.4.18.................................   2 ( 0.20%)
perl-dbi-1.631...............................   2 ( 0.20%)
osip-4.1.0...................................   2 ( 0.20%)
ucommon-6.1.11...............................   2 ( 0.20%)
ghostscript-with-x-9.06.0....................   2 ( 0.20%)
python-parse-type-0.3.4......................   2 ( 0.20%)
python2-pysqlite-2.6.3a......................   2 ( 0.20%)
python-py-1.4.23.............................   2 ( 0.20%)
python-markupsafe-0.23.......................   2 ( 0.20%)
python-testscenarios-0.4.....................   2 ( 0.20%)
xapian-1.2.18................................   2 ( 0.20%)
vorbis-tools-1.4.0...........................   2 ( 0.20%)
libftdi-1.1..................................   2 ( 0.20%)
hdf5-1.8.12..................................   2 ( 0.20%)
glpk-4.55....................................   2 ( 0.20%)
cvs-1.12.13..................................   2 ( 0.20%)
iptables-1.4.16.2............................   2 ( 0.20%)
fuse-2.9.3...................................   2 ( 0.20%)
e2fsprogs-1.42.7.............................   2 ( 0.20%)
libnl-3.2.13.................................   2 ( 0.20%)
fltk-1.3.2...................................   2 ( 0.20%)
lua-5.1.5....................................   2 ( 0.20%)
rrdtool-1.4.8................................   2 ( 0.20%)
gsettings-desktop-schemas-3.10.0.............   2 ( 0.20%)
libgnomeprint-2.8.2..........................   2 ( 0.20%)
gtkglext-1.2.0...............................   2 ( 0.20%)
libbonoboui-2.24.5...........................   2 ( 0.20%)
gst-plugins-base-0.10.36.....................   2 ( 0.20%)
guile-1.8.8..................................   2 ( 0.20%)
rasqal-0.9.32................................   2 ( 0.20%)
clucene-2.3.3.4..............................   2 ( 0.20%)
libpcap-1.5.3................................   2 ( 0.20%)
libwmf-0.2.8.4...............................   2 ( 0.20%)
sharutils-4.14...............................   2 ( 0.20%)
gmime-2.6.19.................................   2 ( 0.20%)
guile-static-stripped-2.0.11.................   2 ( 0.20%)
sdl-mixer-1.2.12.............................   2 ( 0.20%)
babl-0.1.10..................................   2 ( 0.20%)
gtkmm-2.24.2.................................   2 ( 0.20%)
libexif-0.6.21...............................   2 ( 0.20%)
docbook-xml-4.4..............................   2 ( 0.20%)
docbook-xml-4.5..............................   2 ( 0.20%)
w3m-0.5.3....................................   2 ( 0.20%)
libcdio-0.92.................................   2 ( 0.20%)
cdparanoia-10.2..............................   2 ( 0.20%)
gnumach-headers-1.4..........................   2 ( 0.20%)
libphidget-2.1.8.20130320....................   2 ( 0.20%)
libgc-7.2f...................................   2 ( 0.20%)
autogen-5.18.4...............................   2 ( 0.20%)
freeglut-2.8.1...............................   2 ( 0.20%)
iso-codes-3.49...............................   1 ( 0.10%)
protobuf-2.5.0...............................   1 ( 0.10%)
mcrypt-2.6.8.................................   1 ( 0.10%)
perl-www-curl-4.17...........................   1 ( 0.10%)
xbitmaps-1.1.1...............................   1 ( 0.10%)
perl-x11-protocol-0.56.......................   1 ( 0.10%)
xauth-1.0.7..................................   1 ( 0.10%)
libxcomposite-0.4.3..........................   1 ( 0.10%)
libxp-1.0.0..................................   1 ( 0.10%)
mtdev-1.1.3..................................   1 ( 0.10%)
libxvmc-1.0.7................................   1 ( 0.10%)
windowswmproto-1.0.4.........................   1 ( 0.10%)
libdrm-2.4.46................................   1 ( 0.10%)
xterm-304....................................   1 ( 0.10%)
xcursorgen-1.0.5.............................   1 ( 0.10%)
lout-3.40....................................   1 ( 0.10%)
perl-dbd-sqlite-1.42.........................   1 ( 0.10%)
exosip-4.1.0.................................   1 ( 0.10%)
libspiro-20071029............................   1 ( 0.10%)
potrace-1.11.................................   1 ( 0.10%)
libuninameslist-0.4.20140731.................   1 ( 0.10%)
gv-3.7.4.....................................   1 ( 0.10%)
lesstif-0.95.2...............................   1 ( 0.10%)
diffutils-3.3................................   1 ( 0.10%)
python2-lockfile-0.9.1.......................   1 ( 0.10%)
python-dateutil-2.2..........................   1 ( 0.10%)
python-fixtures-0.3.16.......................   1 ( 0.10%)
python-pyjwt-0.2.1...........................   1 ( 0.10%)
python-certifi-14.05.14......................   1 ( 0.10%)
python-keyring-3.8...........................   1 ( 0.10%)
python-docutils-0.12.........................   1 ( 0.10%)
python2-mock-1.0.1...........................   1 ( 0.10%)
python-pytest-2.6.1..........................   1 ( 0.10%)
python2-unittest2-0.5.1......................   1 ( 0.10%)
python-tzlocal-1.1.1.........................   1 ( 0.10%)
python-parsedatetime-1.2.....................   1 ( 0.10%)
python2-element-tree-1.2.6...................   1 ( 0.10%)
behave-1.2.4.................................   1 ( 0.10%)
python2-dogtail-0.8.2........................   1 ( 0.10%)
scons-2.1.0..................................   1 ( 0.10%)
python-subunit-0.0.21........................   1 ( 0.10%)
python-jinja2-2.7.3..........................   1 ( 0.10%)
python-pygments-1.6..........................   1 ( 0.10%)
perl-tk-804.032..............................   1 ( 0.10%)
xfig-3.2.5c..................................   1 ( 0.10%)
pt-scotch-6.0.0..............................   1 ( 0.10%)
inkscape-0.48.4..............................   1 ( 0.10%)
rcs-5.9.3....................................   1 ( 0.10%)
psmisc-22.20.................................   1 ( 0.10%)
iproute2-3.12.0..............................   1 ( 0.10%)
lvm2-2.02.109................................   1 ( 0.10%)
module-init-tools-3.16.......................   1 ( 0.10%)
inotify-tools-3.13...........................   1 ( 0.10%)
net-tools-1.60...............................   1 ( 0.10%)
lm-sensors-3.3.5.............................   1 ( 0.10%)
enchant-1.6.0................................   1 ( 0.10%)
ots-0.5.0....................................   1 ( 0.10%)
liboop-1.0...................................   1 ( 0.10%)
screen-4.2.1.................................   1 ( 0.10%)
cook-2.34....................................   1 ( 0.10%)
vpnc-0.5.3...................................   1 ( 0.10%)
goffice-0.10.14..............................   1 ( 0.10%)
hicolor-icon-theme-0.12......................   1 ( 0.10%)
glade-3.8.4..................................   1 ( 0.10%)
libgnomeprintui-2.8.2........................   1 ( 0.10%)
gnome-doc-utils-0.20.10......................   1 ( 0.10%)
libgnomeui-2.24.5............................   1 ( 0.10%)
libnotify-0.7.6..............................   1 ( 0.10%)
libmp3splt-0.8.1a............................   1 ( 0.10%)
mpg123-1.19.0................................   1 ( 0.10%)
libmpcdec-1.2.6..............................   1 ( 0.10%)
id3lib-3.8.3.................................   1 ( 0.10%)
mpg321-0.3.1.................................   1 ( 0.10%)
guile-reader-for-guile_2.0.11-0.6............   1 ( 0.10%)
wget-1.15....................................   1 ( 0.10%)
redland-1.0.17...............................   1 ( 0.10%)
automoc4-0.9.88..............................   1 ( 0.10%)
qjson-0.8.1..................................   1 ( 0.10%)
shadow-4.1.5.1...............................   1 ( 0.10%)
dmidecode-2.12...............................   1 ( 0.10%)
libntlm-1.3..................................   1 ( 0.10%)
libpipeline-1.3.0............................   1 ( 0.10%)
openjpeg-2.0.0...............................   1 ( 0.10%)
jbig2dec-0.11................................   1 ( 0.10%)
giblib-1.2.4.................................   1 ( 0.10%)
ruby-2.1.3...................................   1 ( 0.10%)
gnurl-7.37.0.................................   1 ( 0.10%)
libextractor-1.3.............................   1 ( 0.10%)
libmicrohttpd-0.9.37.........................   1 ( 0.10%)
pari-gp-2.7.1................................   1 ( 0.10%)
flint-2.4.4..................................   1 ( 0.10%)
lzop-1.03....................................   1 ( 0.10%)
static-binaries-tarball-0....................   1 ( 0.10%)
binutils-static-stripped-tarball-2.24........   1 ( 0.10%)
glibc-stripped-tarball-2.20..................   1 ( 0.10%)
gcc-stripped-tarball-4.8.3...................   1 ( 0.10%)
guile-static-stripped-tarball-2.0.11.........   1 ( 0.10%)
sdl-ttf-2.0.11...............................   1 ( 0.10%)
sdl-gfx-2.0.24...............................   1 ( 0.10%)
gegl-0.2.0...................................   1 ( 0.10%)
gtkmm-3.9.16.................................   1 ( 0.10%)
gtksourceview-2.10.5.........................   1 ( 0.10%)
guile-cairo-1.4.1............................   1 ( 0.10%)
perl-io-tty-1.11.............................   1 ( 0.10%)
asciidoc-8.6.9...............................   1 ( 0.10%)
libgphoto2-2.5.2.............................   1 ( 0.10%)
ocaml-4.00.1.................................   1 ( 0.10%)
fribidi-0.19.6...............................   1 ( 0.10%)
docbook-xsl-1.78.1...........................   1 ( 0.10%)
openssh-6.6p1................................   1 ( 0.10%)
libssh-0.6.3.................................   1 ( 0.10%)
libotr-4.0.0.................................   1 ( 0.10%)
wv-1.2.4.....................................   1 ( 0.10%)
icecat-24.0..................................   1 ( 0.10%)
bigloo-4.1a..................................   1 ( 0.10%)
xorriso-1.3.8................................   1 ( 0.10%)
parted-3.1...................................   1 ( 0.10%)
mig-1.4......................................   1 ( 0.10%)
elfutils-0.157...............................   1 ( 0.10%)
gcl-2.6.11...................................   1 ( 0.10%)
iniparser-3.1................................   1 ( 0.10%)
talloc-2.1.0.................................   1 ( 0.10%)
libunwind-1.1................................   1 ( 0.10%)
glibc-bootstrap-0............................   1 ( 0.10%)
guile-xcb-1.3................................   1 ( 0.10%)
ocrad-0.23...................................   0 ( 0.00%)
synergy-1.5.1-r2398..........................   0 ( 0.00%)
global-6.3.2.................................   0 ( 0.00%)
tinyproxy-1.8.3..............................   0 ( 0.00%)
httpd-2.4.6..................................   0 ( 0.00%)
libwebsockets-1.3............................   0 ( 0.00%)
font-screen-cyrillic-1.0.4...................   0 ( 0.00%)
sessreg-1.0.7................................   0 ( 0.00%)
xf86-video-intel-2.19.0......................   0 ( 0.00%)
xf86-video-nv-2.1.18.........................   0 ( 0.00%)
xf86-video-sis-0.10.4........................   0 ( 0.00%)
font-arabic-misc-1.0.3.......................   0 ( 0.00%)
font-misc-misc-1.1.2.........................   0 ( 0.00%)
libxscrnsaver-1.2.2..........................   0 ( 0.00%)
xwininfo-1.1.2...............................   0 ( 0.00%)
xcmsdb-1.0.4.................................   0 ( 0.00%)
xf86-input-joystick-1.6.1....................   0 ( 0.00%)
xrefresh-1.0.4...............................   0 ( 0.00%)
xf86-video-trident-1.3.5.....................   0 ( 0.00%)
font-adobe100dpi-1.0.3.......................   0 ( 0.00%)
font-micro-misc-1.0.3........................   0 ( 0.00%)
font-winitzki-cyrillic-1.0.3.................   0 ( 0.00%)
xf86-video-sunffb-1.2.1......................   0 ( 0.00%)
xf86-video-ark-0.7.4.........................   0 ( 0.00%)
xf86-video-ati-6.14.4........................   0 ( 0.00%)
xlsclients-1.1.2.............................   0 ( 0.00%)
xpr-1.0.4....................................   0 ( 0.00%)
xf86-video-voodoo-1.2.4......................   0 ( 0.00%)
xf86-video-glint-1.2.7.......................   0 ( 0.00%)
xf86-video-neomagic-1.2.6....................   0 ( 0.00%)
xf86-video-savage-2.3.4......................   0 ( 0.00%)
xrdb-1.0.9...................................   0 ( 0.00%)
encodings-1.0.4..............................   0 ( 0.00%)
font-cronyx-cyrillic-1.0.3...................   0 ( 0.00%)
font-mutt-misc-1.0.3.........................   0 ( 0.00%)
font-sony-misc-1.0.3.........................   0 ( 0.00%)
xwud-1.0.4...................................   0 ( 0.00%)
xkbevd-1.1.3.................................   0 ( 0.00%)
xkill-1.0.3..................................   0 ( 0.00%)
xf86-video-suncg6-1.1.1......................   0 ( 0.00%)
xdriinfo-1.0.4...............................   0 ( 0.00%)
xset-1.2.2...................................   0 ( 0.00%)
xf86-video-vesa-2.3.1........................   0 ( 0.00%)
setxkbmap-1.3.0..............................   0 ( 0.00%)
font-adobe75dpi-1.0.3........................   0 ( 0.00%)
font-misc-cyrillic-1.0.3.....................   0 ( 0.00%)
font-xfree86-type1-1.0.4.....................   0 ( 0.00%)
xf86-input-keyboard-1.6.1....................   0 ( 0.00%)
xf86-input-synaptics-1.6.1...................   0 ( 0.00%)
xvinfo-1.1.1.................................   0 ( 0.00%)
xf86-video-mach64-6.9.1......................   0 ( 0.00%)
xf86-video-tdfx-1.4.4........................   0 ( 0.00%)
xf86-video-ast-0.93.10.......................   0 ( 0.00%)
xf86-video-cirrus-1.4.0......................   0 ( 0.00%)
xgamma-1.0.5.................................   0 ( 0.00%)
x11perf-1.5.4................................   0 ( 0.00%)
xf86-video-openchrome-0.2.906................   0 ( 0.00%)
xmodmap-1.0.7................................   0 ( 0.00%)
xprop-1.2.1..................................   0 ( 0.00%)
font-dec-misc-1.0.3..........................   0 ( 0.00%)
xf86-video-i128-1.3.5........................   0 ( 0.00%)
xf86-video-newport-0.2.4.....................   0 ( 0.00%)
dri3proto-1.0................................   0 ( 0.00%)
xf86-video-siliconmotion-1.7.6...............   0 ( 0.00%)
libfs-1.0.4..................................   0 ( 0.00%)
libwindowswm-1.0.1...........................   0 ( 0.00%)
font-schumacher-misc-1.1.2...................   0 ( 0.00%)
font-sun-misc-1.0.3..........................   0 ( 0.00%)
xsetroot-1.1.0...............................   0 ( 0.00%)
iceauth-1.0.5................................   0 ( 0.00%)
smproxy-1.0.5................................   0 ( 0.00%)
xbacklight-1.1.2.............................   0 ( 0.00%)
font-alias-1.0.3.............................   0 ( 0.00%)
xev-1.2.0....................................   0 ( 0.00%)
xf86-input-evdev-2.7.0.......................   0 ( 0.00%)
font-misc-ethiopic-1.0.3.....................   0 ( 0.00%)
xwd-1.0.5....................................   0 ( 0.00%)
xeyes-1.0.1..................................   0 ( 0.00%)
xf86-input-mouse-1.7.2.......................   0 ( 0.00%)
xf86-video-tga-1.2.1.........................   0 ( 0.00%)
xf86-input-void-1.4.0........................   0 ( 0.00%)
xf86-video-vmware-12.0.2.....................   0 ( 0.00%)
xhost-1.0.5..................................   0 ( 0.00%)
xkbutils-1.0.3...............................   0 ( 0.00%)
xrandr-1.3.5.................................   0 ( 0.00%)
xdpyinfo-1.3.0...............................   0 ( 0.00%)
font-isas-misc-1.0.3.........................   0 ( 0.00%)
presentproto-1.0.............................   0 ( 0.00%)
xf86-video-fbdev-0.4.2.......................   0 ( 0.00%)
xf86-video-mga-1.5.0.........................   0 ( 0.00%)
xlsatoms-1.1.1...............................   0 ( 0.00%)
xf86-video-r128-6.8.2........................   0 ( 0.00%)
xorg-sgml-doctools-1.11......................   0 ( 0.00%)
xcursor-themes-1.0.3.........................   0 ( 0.00%)
libuv-0.11.25................................   0 ( 0.00%)
vera-1.21a...................................   0 ( 0.00%)
fish-2.1.0...................................   0 ( 0.00%)
ncdu-1.10....................................   0 ( 0.00%)
paperkey-1.3.................................   0 ( 0.00%)
signing-party-1.1.4..........................   0 ( 0.00%)
pinentry-0.8.3...............................   0 ( 0.00%)
pius-2.0.9...................................   0 ( 0.00%)
tdb-1.3.0....................................   0 ( 0.00%)
postgresql-9.3.5.............................   0 ( 0.00%)
recutils-1.7.................................   0 ( 0.00%)
aspell-dict-eo-2.1.20000225a-2...............   0 ( 0.00%)
aspell-dict-en-7.1-0.........................   0 ( 0.00%)
aspell-dict-es-1.11-2........................   0 ( 0.00%)
aspell-dict-fr-0.50-3........................   0 ( 0.00%)
vim-7.4......................................   0 ( 0.00%)
weechat-1.0..................................   0 ( 0.00%)
nvi-1.81.6...................................   0 ( 0.00%)
bash-light-4.3.27............................   0 ( 0.00%)
commoncpp-1.8.1..............................   0 ( 0.00%)
sipwitch-1.9.2...............................   0 ( 0.00%)
ccrtp-2.0.9..................................   0 ( 0.00%)
cpio-2.11....................................   0 ( 0.00%)
stalonetray-0.8.1............................   0 ( 0.00%)
rsync-3.1.0..................................   0 ( 0.00%)
quilt-0.61...................................   0 ( 0.00%)
patchutils-0.3.3.............................   0 ( 0.00%)
graphite2-1.2.4..............................   0 ( 0.00%)
fontforge-20120731-b.........................   0 ( 0.00%)
cryptsetup-1.6.1.............................   0 ( 0.00%)
links-2.8....................................   0 ( 0.00%)
geeqie-1.1...................................   0 ( 0.00%)
nss-mdns-0.10................................   0 ( 0.00%)
glibc-2.20...................................   0 ( 0.00%)
grep-2.20....................................   0 ( 0.00%)
hello-2.9....................................   0 ( 0.00%)
make-4.0.....................................   0 ( 0.00%)
sed-4.2.2....................................   0 ( 0.00%)
findutils-4.4.2..............................   0 ( 0.00%)
binutils-2.24................................   0 ( 0.00%)
patch-2.7.1..................................   0 ( 0.00%)
python2-scripttest-1.3.......................   0 ( 0.00%)
python-pyld-0.6.0............................   0 ( 0.00%)
python-testresources-0.2.7...................   0 ( 0.00%)
python2-empy-3.3.............................   0 ( 0.00%)
python-testrepository-0.0.20.................   0 ( 0.00%)
python2-unidecode-0.04.16....................   0 ( 0.00%)
python2-pygments-1.6.........................   0 ( 0.00%)
python2-markupsafe-0.23......................   0 ( 0.00%)
python2-pyld-0.6.0...........................   0 ( 0.00%)
python2-requests-2.4.0.......................   0 ( 0.00%)
python-oauthlib-0.6.3........................   0 ( 0.00%)
python2-certifi-14.05.14.....................   0 ( 0.00%)
python2-exif-read-1.4.2......................   0 ( 0.00%)
python2-simplejson-3.3.0.....................   0 ( 0.00%)
python-babel-1.3.............................   0 ( 0.00%)
python-unittest2-0.5.1.......................   0 ( 0.00%)
python-unidecode-0.04.16.....................   0 ( 0.00%)
python2-pytz-2013b...........................   0 ( 0.00%)
python2-discover-0.4.0.......................   0 ( 0.00%)
python2-dateutil-1.5.........................   0 ( 0.00%)
python2-oauthlib-0.6.3.......................   0 ( 0.00%)
python2-dateutil-2.2.........................   0 ( 0.00%)
python2-babel-1.3............................   0 ( 0.00%)
python2-pyjwt-0.2.1..........................   0 ( 0.00%)
python-itsdangerous-0.24.....................   0 ( 0.00%)
python2-mimeparse-0.1.4......................   0 ( 0.00%)
python2-extras-0.0.3.........................   0 ( 0.00%)
python2-fixtures-0.3.16......................   0 ( 0.00%)
python-scripttest-1.3........................   0 ( 0.00%)
python2-docutils-0.12........................   0 ( 0.00%)
python2-subunit-0.0.21.......................   0 ( 0.00%)
python2-pyicu-1.5............................   0 ( 0.00%)
python2-testscenarios-0.4....................   0 ( 0.00%)
python2-jinja2-2.7.3.........................   0 ( 0.00%)
python2-pybugz-0.6.11........................   0 ( 0.00%)
python-discover-0.4.0........................   0 ( 0.00%)
python-virtualenv-1.11.6.....................   0 ( 0.00%)
python2-sphinx-1.2.3.........................   0 ( 0.00%)
python2-testtools-1.0.0......................   0 ( 0.00%)
python-jsonschema-2.4.0......................   0 ( 0.00%)
python2-testresources-0.2.7..................   0 ( 0.00%)
python-lockfile-0.9.1........................   0 ( 0.00%)
python2-virtualenv-1.11.6....................   0 ( 0.00%)
python-coverage-3.7.1........................   0 ( 0.00%)
python2-testrepository-0.0.20................   0 ( 0.00%)
python2-mechanize-0.2.5......................   0 ( 0.00%)
python2-py-1.4.23............................   0 ( 0.00%)
python2-coverage-3.7.1.......................   0 ( 0.00%)
python2-nose-1.3.4...........................   0 ( 0.00%)
python-exif-read-1.4.2.......................   0 ( 0.00%)
python2-itsdangerous-0.24....................   0 ( 0.00%)
python-simplejson-3.3.0......................   0 ( 0.00%)
python-sphinx-1.2.3..........................   0 ( 0.00%)
python2-jsonschema-2.4.0.....................   0 ( 0.00%)
python-dateutil-1.5..........................   0 ( 0.00%)
python2-pytest-2.6.1.........................   0 ( 0.00%)
dfu-programmer-0.7.0.........................   0 ( 0.00%)
flashrom-0.9.7...............................   0 ( 0.00%)
avrdude-6.1..................................   0 ( 0.00%)
irssi-0.8.15.................................   0 ( 0.00%)
mc-4.8.11....................................   0 ( 0.00%)
ccache-3.1.9.................................   0 ( 0.00%)
cflow-1.4....................................   0 ( 0.00%)
transfig-3.2.5e..............................   0 ( 0.00%)
gcc-4.8.3....................................   0 ( 0.00%)
gccgo-4.8.3..................................   0 ( 0.00%)
gcc-objc-4.8.3...............................   0 ( 0.00%)
gcc-objc++-4.8.3.............................   0 ( 0.00%)
wordnet-3.0..................................   0 ( 0.00%)
torsocks-1.2.................................   0 ( 0.00%)
tor-0.2.4.24.................................   0 ( 0.00%)
privoxy-3.0.21...............................   0 ( 0.00%)
feh-2.12.....................................   0 ( 0.00%)
freeipmi-1.4.5...............................   0 ( 0.00%)
unrtf-0.19.7.................................   0 ( 0.00%)
pavucontrol-2.0..............................   0 ( 0.00%)
petsc-complex-3.4.4..........................   0 ( 0.00%)
gmsh-2.8.4...................................   0 ( 0.00%)
gsegrafix-1.0.6..............................   0 ( 0.00%)
maxima-5.34.1................................   0 ( 0.00%)
superlu-dist-3.3.............................   0 ( 0.00%)
petsc-3.4.4..................................   0 ( 0.00%)
units-2.11...................................   0 ( 0.00%)
dionysus-1.3.0...............................   0 ( 0.00%)
petsc-openmpi-3.4.4..........................   0 ( 0.00%)
petsc-complex-openmpi-3.4.4..................   0 ( 0.00%)
pspp-0.8.4...................................   0 ( 0.00%)
scotch-6.0.0.................................   0 ( 0.00%)
octave-3.8.0.................................   0 ( 0.00%)
lightning-2.0.5..............................   0 ( 0.00%)
noweb-2.11b..................................   0 ( 0.00%)
guix-0.6.0ae8c15.............................   0 ( 0.00%)
nix-1.7......................................   0 ( 0.00%)
guix-0.7.....................................   0 ( 0.00%)
moe-1.6......................................   0 ( 0.00%)
wdiff-1.2.2..................................   0 ( 0.00%)
aegis-4.24...................................   0 ( 0.00%)
cssc-1.3.0...................................   0 ( 0.00%)
vc-dwim-1.7..................................   0 ( 0.00%)
mercurial-2.7.1..............................   0 ( 0.00%)
diffstat-1.58................................   0 ( 0.00%)
neon-0.30.0..................................   0 ( 0.00%)
bazaar-2.6.0.................................   0 ( 0.00%)
aumix-2.9.1..................................   0 ( 0.00%)
bridge-utils-1.5.............................   0 ( 0.00%)
xsensors-0.70................................   0 ( 0.00%)
unionfs-fuse-static-0.26.....................   0 ( 0.00%)
iotop-0.6....................................   0 ( 0.00%)
kbd-2.0.1....................................   0 ( 0.00%)
linux-libre-3.17.............................   0 ( 0.00%)
powertop-2.5.................................   0 ( 0.00%)
wireless-tools-30.pre9.......................   0 ( 0.00%)
e2fsck-static-1.42.7.........................   0 ( 0.00%)
perf-3.17....................................   0 ( 0.00%)
unionfs-fuse-0.26............................   0 ( 0.00%)
sshfs-fuse-2.5...............................   0 ( 0.00%)
alsa-utils-1.0.27.2..........................   0 ( 0.00%)
strace-4.7...................................   0 ( 0.00%)
transmission-2.84............................   0 ( 0.00%)
jrnl-1.8.4...................................   0 ( 0.00%)
abbaye-1.13..................................   0 ( 0.00%)
cmatrix-1.2a.................................   0 ( 0.00%)
pingus-0.7.6.................................   0 ( 0.00%)
chess-6.1.1..................................   0 ( 0.00%)
talkfilters-2.3.8............................   0 ( 0.00%)
xboard-4.7.3.................................   0 ( 0.00%)
gnubg-1.02...................................   0 ( 0.00%)
gnubik-2.4.1.................................   0 ( 0.00%)
datamash-1.0.6...............................   0 ( 0.00%)
libsodium-1.0.0..............................   0 ( 0.00%)
luajit-2.0.3.................................   0 ( 0.00%)
lua-5.2.3....................................   0 ( 0.00%)
sound-theme-freedesktop-0.8..................   0 ( 0.00%)
hugs-Sep2006.................................   0 ( 0.00%)
windowmaker-0.95.6...........................   0 ( 0.00%)
ncmpc-0.21...................................   0 ( 0.00%)
ncmpcpp-0.5.10...............................   0 ( 0.00%)
mpd-0.18.8...................................   0 ( 0.00%)
abiword-2.8.6................................   0 ( 0.00%)
node-0.10.29.................................   0 ( 0.00%)
ratpoison-1.4.6..............................   0 ( 0.00%)
lsh-2.1......................................   0 ( 0.00%)
serveez-0.2.2................................   0 ( 0.00%)
cppi-1.18....................................   0 ( 0.00%)
dtach-0.8....................................   0 ( 0.00%)
xnee-3.18....................................   0 ( 0.00%)
nettle-3.0...................................   0 ( 0.00%)
plotutils-2.6................................   0 ( 0.00%)
idutils-4.6..................................   0 ( 0.00%)
qt-5.2.1.....................................   0 ( 0.00%)
gvpe-2.25....................................   0 ( 0.00%)
openconnect-4.99.............................   0 ( 0.00%)
mtools-4.0.18................................   0 ( 0.00%)
texi2html-5.0................................   0 ( 0.00%)
texinfo-4.13a................................   0 ( 0.00%)
brasero-3.8.0................................   0 ( 0.00%)
evince-3.6.1.................................   0 ( 0.00%)
libpeas-1.9.0................................   0 ( 0.00%)
gnumeric-1.12.17.............................   0 ( 0.00%)
gnome-desktop-3.10.0.........................   0 ( 0.00%)
lsof-4.87....................................   0 ( 0.00%)
mp3splt-2.5.1................................   0 ( 0.00%)
ripperx-2.7.3................................   0 ( 0.00%)
mpc123-0.2.4.................................   0 ( 0.00%)
guile-reader-for-guile_1.8.8-0.6.............   0 ( 0.00%)
guile-charting-0.2.0.........................   0 ( 0.00%)
mcron-1.0.8..................................   0 ( 0.00%)
guile-json-0.4.0.............................   0 ( 0.00%)
guile-ncurses-1.5............................   0 ( 0.00%)
unclutter-8..................................   0 ( 0.00%)
lynx-2.8.8rel.2..............................   0 ( 0.00%)
gcal-3.6.3...................................   0 ( 0.00%)
autoconf-2.64................................   0 ( 0.00%)
autoconf-2.68................................   0 ( 0.00%)
soprano-2.9.4................................   0 ( 0.00%)
phonon-4.8.0.................................   0 ( 0.00%)
strigi-0.7.8.................................   0 ( 0.00%)
libdbusmenu-qt-0.9.2.........................   0 ( 0.00%)
attica-0.4.2.................................   0 ( 0.00%)
htop-1.0.3...................................   0 ( 0.00%)
net-base-5.2.................................   0 ( 0.00%)
mingetty-1.08................................   0 ( 0.00%)
dmd-0.2......................................   0 ( 0.00%)
rottlog-0.72.2...............................   0 ( 0.00%)
netcat-0.7.1.................................   0 ( 0.00%)
wpa-supplicant-2.2...........................   0 ( 0.00%)
testdisk-6.14................................   0 ( 0.00%)
tcpdump-4.5.1................................   0 ( 0.00%)
alive-2.0.2..................................   0 ( 0.00%)
stress-1.0.1.................................   0 ( 0.00%)
sudo-1.8.10p3................................   0 ( 0.00%)
wakelan-1.1..................................   0 ( 0.00%)
isc-dhcp-4.3.0...............................   0 ( 0.00%)
direvent-5.0.................................   0 ( 0.00%)
detox-1.2.0..................................   0 ( 0.00%)
pies-1.2.....................................   0 ( 0.00%)
acpica-20140724..............................   0 ( 0.00%)
dfc-3.0.4....................................   0 ( 0.00%)
clusterssh-3.28..............................   0 ( 0.00%)
jnettop-0.13.0...............................   0 ( 0.00%)
gxmessage-2.20.1.............................   0 ( 0.00%)
gsasl-1.8.0..................................   0 ( 0.00%)
man-db-2.6.6.................................   0 ( 0.00%)
man-pages-3.69...............................   0 ( 0.00%)
zsh-5.0.6....................................   0 ( 0.00%)
ruby-i18n-0.6.11.............................   0 ( 0.00%)
parallel-20140922............................   0 ( 0.00%)
gnunet-0.10.0................................   0 ( 0.00%)
fftw-openmpi-3.3.4...........................   0 ( 0.00%)
mpfrcx-0.4.2.................................   0 ( 0.00%)
fplll-4.0.4..................................   0 ( 0.00%)
arb-2.2.0....................................   0 ( 0.00%)
gp2c-0.0.9pl1................................   0 ( 0.00%)
bogofilter-1.2.4.............................   0 ( 0.00%)
fetchmail-6.3.26.............................   0 ( 0.00%)
offlineimap-6.5.5............................   0 ( 0.00%)
notmuch-0.18.1...............................   0 ( 0.00%)
mailutils-2.2................................   0 ( 0.00%)
mutt-1.5.23..................................   0 ( 0.00%)
mu-0.9.9.5...................................   0 ( 0.00%)
bootstrap-tarballs-0.........................   0 ( 0.00%)
orpheus-1.6..................................   0 ( 0.00%)
gkrellm-2.3.5................................   0 ( 0.00%)
geiser-0.6...................................   0 ( 0.00%)
magit-1.2.0..................................   0 ( 0.00%)
emacs-w3m-1.4.483+0.20120614.................   0 ( 0.00%)
emacs-no-x-toolkit-24.3......................   0 ( 0.00%)
paredit-23...................................   0 ( 0.00%)
emacs-wget-0.5.0.............................   0 ( 0.00%)
miniupnpc-1.9................................   0 ( 0.00%)
rush-1.7.....................................   0 ( 0.00%)
sdl2-2.0.0...................................   0 ( 0.00%)
sdl-net-1.2.8................................   0 ( 0.00%)
gimp-2.8.10..................................   0 ( 0.00%)
tmux-1.7.....................................   0 ( 0.00%)
rdiff-backup-1.2.8...........................   0 ( 0.00%)
duplicity-0.6.24.............................   0 ( 0.00%)
rdup-1.1.14..................................   0 ( 0.00%)
hdup-2.0.14..................................   0 ( 0.00%)
btar-1.1.1...................................   0 ( 0.00%)
perl-file-list-0.3.1.........................   0 ( 0.00%)
perl-archive-zip-1.30........................   0 ( 0.00%)
rubber-1.1...................................   0 ( 0.00%)
ncdc-1.19....................................   0 ( 0.00%)
youtube-dl-2014.09.06........................   0 ( 0.00%)
vlc-2.1.4....................................   0 ( 0.00%)
mplayer-1.1.1................................   0 ( 0.00%)
zile-2.4.11..................................   0 ( 0.00%)
qemu-2.0.0...................................   0 ( 0.00%)
qemu-headless-2.0.0..........................   0 ( 0.00%)
smalltalk-3.2.5..............................   0 ( 0.00%)
conkeror-1.0pre1.............................   0 ( 0.00%)
busybox-1.22.1...............................   0 ( 0.00%)
skribilo-0.9.2...............................   0 ( 0.00%)
slim-1.3.6...................................   0 ( 0.00%)
gphoto2-2.5.2................................   0 ( 0.00%)
opam-1.1.1...................................   0 ( 0.00%)
xlockmore-5.42...............................   0 ( 0.00%)
ttf-dejavu-2.34..............................   0 ( 0.00%)
terminus-font-4.39...........................   0 ( 0.00%)
ttf-bitstream-vera-1.10......................   0 ( 0.00%)
freefont-ttf-20100919........................   0 ( 0.00%)
xpdf-3.04....................................   0 ( 0.00%)
mupdf-1.6....................................   0 ( 0.00%)
podofo-0.9.2.................................   0 ( 0.00%)
cursynth-1.5.................................   0 ( 0.00%)
dblatex-0.3.5................................   0 ( 0.00%)
docbook-xml-4.3..............................   0 ( 0.00%)
libtirpc-0.2.4...............................   0 ( 0.00%)
pem-0.7.9....................................   0 ( 0.00%)
apl-1.4......................................   0 ( 0.00%)
gcc-toolchain-4.8.3..........................   0 ( 0.00%)
gcc-toolchain-4.9.1..........................   0 ( 0.00%)
mosh-1.2.4...................................   0 ( 0.00%)
guile-ssh-0.6.0..............................   0 ( 0.00%)
dropbear-2014.63.............................   0 ( 0.00%)
corkscrew-2.0................................   0 ( 0.00%)
gcc-cross-mips64el-linux-gnuabi64-4.8.3......   0 ( 0.00%)
bitlbee-3.2.2................................   0 ( 0.00%)
libotr-3.2.1.................................   0 ( 0.00%)
source-highlight-3.1.7.......................   0 ( 0.00%)
trueprint-5.4................................   0 ( 0.00%)
enscript-1.6.6...............................   0 ( 0.00%)
a2ps-4.14....................................   0 ( 0.00%)
calcurse-3.1.4...............................   0 ( 0.00%)
vtk-6.1.0....................................   0 ( 0.00%)
time-1.7.....................................   0 ( 0.00%)
racket-5.3.4.................................   0 ( 0.00%)
hop-2.4.0....................................   0 ( 0.00%)
mit-scheme-9.2...............................   0 ( 0.00%)
chicken-4.8.0.3..............................   0 ( 0.00%)
scheme48-1.9.................................   0 ( 0.00%)
dvdisaster-0.72.6............................   0 ( 0.00%)
fdisk-2.0.0a.................................   0 ( 0.00%)
ddrescue-1.18.1..............................   0 ( 0.00%)
grub-2.00....................................   0 ( 0.00%)
hurd-headers-0.5.............................   0 ( 0.00%)
grue-hunter-1.0..............................   0 ( 0.00%)
qrencode-3.4.3...............................   0 ( 0.00%)
barcode-0.99.................................   0 ( 0.00%)
complexity-1.1...............................   0 ( 0.00%)
vte-0.36.3...................................   0 ( 0.00%)
remmina-1.0.0................................   0 ( 0.00%)
uucp-1.07....................................   0 ( 0.00%)
samba-3.6.8..................................   0 ( 0.00%)
acct-6.6.1...................................   0 ( 0.00%)
gnu-pw-mgr-1.2...............................   0 ( 0.00%)
scrot-0.8....................................   0 ( 0.00%)
gprolog-1.4.4................................   0 ( 0.00%)
lftp-4.4.15..................................   0 ( 0.00%)
ghc-5.02.....................................   0 ( 0.00%)
ghc-0.29.....................................   0 ( 0.00%)
ghc-3.02.....................................   0 ( 0.00%)
ghc-4.08.2...................................   0 ( 0.00%)
bison-2.7....................................   0 ( 0.00%)
guile-bootstrap-2.0..........................   0 ( 0.00%)
gcc-bootstrap-0..............................   0 ( 0.00%)
dwm-6.0......................................   0 ( 0.00%)
guile-opengl-0.1.0...........................   0 ( 0.00%)
ftgl-2.1.3-rc5...............................   0 ( 0.00%)
guile-wm-1.0.................................   0 ( 0.00%)

[-- Attachment #5: Type: text/plain, Size: 33 bytes --]


Happy Hacking,

-- 
Eric Bavier

^ permalink raw reply related	[flat|nested] 12+ messages in thread

* Re: [PATCH] guix: refresh: Use bags.
  2014-10-10 19:32 [PATCH] guix: refresh: Use bags Eric Bavier
@ 2014-10-10 19:42 ` David Thompson
  2014-10-10 20:42 ` Ludovic Courtès
  1 sibling, 0 replies; 12+ messages in thread
From: David Thompson @ 2014-10-10 19:42 UTC (permalink / raw)
  To: Eric Bavier, guix-devel

Eric Bavier <ericbavier@gmail.com> writes:

> Out of curiosity, I also produced this table of packages and their total
> number of dependent packages.  Something similar might be useful for us,
> e.g., when deciding whether a package update should go in master or
> core-updates.
>

Whoa, that's neat!  Thanks for sharing!

-- 
David Thompson
Web Developer - Free Software Foundation - http://fsf.org
GPG Key: 0FF1D807
Support the FSF: https://fsf.org/donate

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH] guix: refresh: Use bags.
  2014-10-10 19:32 [PATCH] guix: refresh: Use bags Eric Bavier
  2014-10-10 19:42 ` David Thompson
@ 2014-10-10 20:42 ` Ludovic Courtès
  2014-10-11  1:46   ` Eric Bavier
  2014-10-11  4:49   ` Eric Bavier
  1 sibling, 2 replies; 12+ messages in thread
From: Ludovic Courtès @ 2014-10-10 20:42 UTC (permalink / raw)
  To: Eric Bavier; +Cc: guix-devel

Eric Bavier <ericbavier@gmail.com> skribis:

> This patch allows the `guix refresh --list-dependent` option to be more
> accurate in its dependency reporting, mostly by taking into account
> implicit dependencies generated at the build-system level (thanks to our
> new wonderful bags).

Cool!

> From ebc348a37addd53bab27ede856e0e4af3aa10b41 Mon Sep 17 00:00:00 2001
> From: Eric Bavier <bavier@member.fsf.org>
> Date: Fri, 10 Oct 2014 14:27:20 -0500
> Subject: [PATCH] guix: refresh: Use bags.
>
> * guix/packages.scm (bag-direct-inputs): New procedure.
> * gnu/packages.scm (package-dependencies): Use it.

OK!

Would be good eventually to add tests for ‘package-direct-dependents’ & co.

> Out of curiosity, I also produced this table of packages and their total
> number of dependent packages.  Something similar might be useful for us,
> e.g., when deciding whether a package update should go in master or
> core-updates.

Definitely!

I’m surprised gzip, diffutils, patch, and tar are very low, even though
they’re part of %final-inputs.  Conversely, bzip2 (also part of
%final-inputs) is higher.

Any idea?

Thanks,
Ludo’.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH] guix: refresh: Use bags.
  2014-10-10 20:42 ` Ludovic Courtès
@ 2014-10-11  1:46   ` Eric Bavier
  2014-10-11  4:49   ` Eric Bavier
  1 sibling, 0 replies; 12+ messages in thread
From: Eric Bavier @ 2014-10-11  1:46 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: Guix-devel

[-- Attachment #1: Type: text/plain, Size: 1205 bytes --]

On Oct 10, 2014 3:42 PM, "Ludovic Courtès" <ludo@gnu.org> wrote:
>
> Eric Bavier <ericbavier@gmail.com> skribis:
>
> > This patch allows the `guix refresh --list-dependent` option to be more
> > accurate in its dependency reporting, mostly by taking into account
> > implicit dependencies generated at the build-system level (thanks to our
> > new wonderful bags).
>
> Cool!
>
> > From ebc348a37addd53bab27ede856e0e4af3aa10b41 Mon Sep 17 00:00:00 2001
> > From: Eric Bavier <bavier@member.fsf.org>
> > Date: Fri, 10 Oct 2014 14:27:20 -0500
> > Subject: [PATCH] guix: refresh: Use bags.
> >
> > * guix/packages.scm (bag-direct-inputs): New procedure.
> > * gnu/packages.scm (package-dependencies): Use it.
>
> OK!
>
> Would be good eventually to add tests for ‘package-direct-dependents’ &
co.

For sure. I'll follow up this change with some tests.

> I’m surprised gzip, diffutils, patch, and tar are very low, even though
> they’re part of %final-inputs.  Conversely, bzip2 (also part of
> %final-inputs) is higher.
>
> Any idea?

I did notice this at one point. I must forgotten about it when doing this
table. I'll have a look around before I push.

`~Eric

[-- Attachment #2: Type: text/html, Size: 1667 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH] guix: refresh: Use bags.
  2014-10-10 20:42 ` Ludovic Courtès
  2014-10-11  1:46   ` Eric Bavier
@ 2014-10-11  4:49   ` Eric Bavier
  2014-10-11 22:09     ` Ludovic Courtès
  1 sibling, 1 reply; 12+ messages in thread
From: Eric Bavier @ 2014-10-11  4:49 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: guix-devel


Ludovic Courtès writes:

> I’m surprised gzip, diffutils, patch, and tar are very low, even though
> they’re part of %final-inputs.  Conversely, bzip2 (also part of
> %final-inputs) is higher.
>
> Any idea?

I think this is because fold-packages only looks at packages that are
exported by a module.  Many of the packages in %final-inputs are not
exported.

While the vhash returned by (@ (gnu packages) package-dependencies)
includes dependency lists for packages in %final-inputs, guix refresh
uses find-package-by-name to get the packages that are used as lookup
keys, and find-package-by-name only returns packages that can be found
with fold-packages.  Uff da.

One, possibly ugly to implement, solution would be to merge hash entries
of packages that have the same package-full-name, since the output is
produced in that format already.

-- 
Eric Bavier

Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH] guix: refresh: Use bags.
  2014-10-11  4:49   ` Eric Bavier
@ 2014-10-11 22:09     ` Ludovic Courtès
  2014-10-13 19:18       ` Eric Bavier
  0 siblings, 1 reply; 12+ messages in thread
From: Ludovic Courtès @ 2014-10-11 22:09 UTC (permalink / raw)
  To: Eric Bavier; +Cc: guix-devel

Eric Bavier <ericbavier@gmail.com> skribis:

> Ludovic Courtès writes:
>
>> I’m surprised gzip, diffutils, patch, and tar are very low, even though
>> they’re part of %final-inputs.  Conversely, bzip2 (also part of
>> %final-inputs) is higher.
>>
>> Any idea?
>
> I think this is because fold-packages only looks at packages that are
> exported by a module.  Many of the packages in %final-inputs are not
> exported.
>
> While the vhash returned by (@ (gnu packages) package-dependencies)
> includes dependency lists for packages in %final-inputs, guix refresh
> uses find-package-by-name to get the packages that are used as lookup
> keys, and find-package-by-name only returns packages that can be found
> with fold-packages.  Uff da.

Ah OK.  It’s not that bad, it just means that some packages are omitted
from the list.

Of course it would be good to use the full DAG.  For that we’d need
something that uses ‘fold-packages’ to get the “entry points” of the
DAG, and then traverses it all to also get the private packages.

From there we could perhaps build a ‘fold-package*’ that would iterate
on the whole DAG.

WDYT?

> One, possibly ugly to implement, solution would be to merge hash entries
> of packages that have the same package-full-name, since the output is
> produced in that format already.

Instead, what about keeping things as is, but also showing the
‘package-location’ of each item?

Thanks,
Ludo’.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH] guix: refresh: Use bags.
  2014-10-11 22:09     ` Ludovic Courtès
@ 2014-10-13 19:18       ` Eric Bavier
  2014-10-13 21:31         ` Ludovic Courtès
  0 siblings, 1 reply; 12+ messages in thread
From: Eric Bavier @ 2014-10-13 19:18 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: guix-devel

[-- Attachment #1: Type: text/plain, Size: 1371 bytes --]


Ludovic Courtès writes:

> Eric Bavier <ericbavier@gmail.com> skribis:
>
>> Ludovic Courtès writes:
>>
>>> I’m surprised gzip, diffutils, patch, and tar are very low, even though
>>> they’re part of %final-inputs.  Conversely, bzip2 (also part of
>>> %final-inputs) is higher.
>>>
>>> Any idea?
>>
>> I think this is because fold-packages only looks at packages that are
>> exported by a module.  Many of the packages in %final-inputs are not
>> exported.
>>
>> While the vhash returned by (@ (gnu packages) package-dependencies)
>> includes dependency lists for packages in %final-inputs, guix refresh
>> uses find-package-by-name to get the packages that are used as lookup
>> keys, and find-package-by-name only returns packages that can be found
>> with fold-packages.  Uff da.
>
> Ah OK.  It’s not that bad, it just means that some packages are omitted
> from the list.
>
> Of course it would be good to use the full DAG.  For that we’d need
> something that uses ‘fold-packages’ to get the “entry points” of the
> DAG, and then traverses it all to also get the private packages.
>
> From there we could perhaps build a ‘fold-package*’ that would iterate
> on the whole DAG.

Updated patch attached.  It defines a `fold-package*', and uses it in
`guix refresh' to get all packages of a given name.  This patch may need
to go in core-updates.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-guix-refresh-Use-bags.patch --]
[-- Type: text/x-diff, Size: 5078 bytes --]

From 1d22367e0806cea004631e22a782b7db3ffe65b0 Mon Sep 17 00:00:00 2001
From: Eric Bavier <bavier@member.fsf.org>
Date: Mon, 13 Oct 2014 13:46:09 -0500
Subject: [PATCH] guix: refresh: Use bags.

* guix/packages.scm (bag-direct-inputs): New procedure.
* gnu/packages.scm (package-dependencies): Use it.
  (fold-packages*): New procedure.
* guix/scripts/refresh.scm (guix-refresh)[list-dependent]: Use it.
---
 gnu/packages.scm         |   19 ++++++++++++++++---
 guix/packages.scm        |   11 ++++++++---
 guix/scripts/refresh.scm |   21 ++++++++++++++++-----
 3 files changed, 40 insertions(+), 11 deletions(-)

diff --git a/gnu/packages.scm b/gnu/packages.scm
index 281d0d2..d3a064c 100644
--- a/gnu/packages.scm
+++ b/gnu/packages.scm
@@ -38,6 +38,7 @@
             %package-module-path
 
             fold-packages
+            fold-packages*
 
             find-packages-by-name
             find-best-packages-by-name
@@ -179,6 +180,18 @@ same package twice."
           vlist-null
           (all-package-modules))))
 
+(define (fold-packages* proc init)
+  "Call (PROC PACKAGE RESULT) for every defined package, including
+module-private packages, using INIT as the initial value of RESULT.  It is
+guaranteed to never traverse the same package twice."
+  (fold-tree
+   proc init
+   (lambda (package)
+     (match (bag-direct-inputs (package->bag package))
+       (((labels inputs . _) ...)
+        (filter package? inputs))))
+   (fold-packages cons '())))
+
 (define find-packages-by-name
   (let ((packages (delay
                     (fold-packages (lambda (p r)
@@ -250,9 +263,9 @@ list of packages that depend on that package."
                         (cons package (vhash-refq d in '()))
                         (vhash-delq in d)))
          dag
-         (match (package-direct-inputs package)
-           (((labels packages . _) ...)
-            packages) )))
+         (match (bag-direct-inputs (package->bag package))
+           (((labels inputs . _) ...)
+            (filter package? inputs)))))
       vlist-null))))
 
 (define (package-direct-dependents packages)
diff --git a/guix/packages.scm b/guix/packages.scm
index b397a24..4bf0a08 100644
--- a/guix/packages.scm
+++ b/guix/packages.scm
@@ -98,6 +98,7 @@
 
             package->bag
             bag->derivation
+            bag-direct-inputs
             bag-transitive-inputs
             bag-transitive-host-inputs
             bag-transitive-build-inputs
@@ -537,11 +538,15 @@ for the host system (\"native inputs\"), and not target inputs."
 recursively."
   (transitive-inputs (package-propagated-inputs package)))
 
+(define (bag-direct-inputs bag)
+  "Same as 'package-direct-inputs', but applied to a bag."
+  (append (bag-build-inputs bag)
+          (bag-host-inputs bag)
+          (bag-target-inputs bag)))
+
 (define (bag-transitive-inputs bag)
   "Same as 'package-transitive-inputs', but applied to a bag."
-  (transitive-inputs (append (bag-build-inputs bag)
-                             (bag-host-inputs bag)
-                             (bag-target-inputs bag))))
+  (transitive-inputs (bag-direct-inputs bag)))
 
 (define (bag-transitive-build-inputs bag)
   "Same as 'package-transitive-native-inputs', but applied to a bag."
diff --git a/guix/scripts/refresh.scm b/guix/scripts/refresh.scm
index d31e6d4..97502e0 100644
--- a/guix/scripts/refresh.scm
+++ b/guix/scripts/refresh.scm
@@ -232,16 +232,27 @@ update would trigger a complete rebuild."
     (with-error-handling
       (cond
        (list-dependent?
-        (let* ((rebuilds (map package-full-name
-                              (package-covering-dependents packages)))
+        (let* ((packages*
+                ;; Need to consider private packages, which are not found by
+                ;; find-packages-by-name
+                (fold-packages*
+                 (let ((package-names (map package-name packages)))
+                   (lambda (p r)
+                     (if (find (cut string=? (package-name p) <>)
+                               package-names)
+                         (cons p r)
+                         r)))
+                 '()))
+               (rebuilds (map package-full-name
+                              (package-covering-dependents packages*)))
                (total-dependents
-                (length (package-transitive-dependents packages))))
+                (length (package-transitive-dependents packages*))))
           (if (= total-dependents 0)
               (format (current-output-port)
                       (N_ "No dependents other than itself: ~{~a~}~%"
                           "No dependents other than themselves: ~{~a~^ ~}~%"
-                          (length packages))
-                      (map package-full-name packages))
+                          (length packages*))
+                      (map package-full-name packages*))
               (format (current-output-port)
                       (N_ (N_ "A single dependent package: ~2*~{~a~}~%"
                               "Building the following package would ensure ~d \
-- 
1.7.9.5


[-- Attachment #3: Type: text/plain, Size: 210 bytes --]


I'm also attaching the script I used to produce the package dependency
count table I included previously.  With this updated patch, the numbers
look much more reasonable and complete for the "core" packages.


[-- Attachment #4: dependent-count-table.scm --]
[-- Type: application/octet-stream, Size: 1174 bytes --]

(use-modules (ice-9 match)
             (ice-9 vlist))

;;; Stripped-down version of find-packages-by-name, but finds all packages,
;;; not just exported packages.
(define find-packages-by-name*
  (let ((packages* (delay
                     (fold-packages* (lambda (p r)
                                       (vhash-cons (package-name p) p r))
                                     vlist-null))))
    (lambda* (name)
      (vhash-fold* cons '() name (force packages*)))))

(define deps
  (sort
   (fold-packages
    (lambda (p a)
      (assoc-set! a
                  (package-full-name p)
                  (length (package-transitive-dependents
                           (find-packages-by-name* (package-name p))))))
    '())
   (lambda (a b) (> (cdr a) (cdr b)))))

(define number-of-packages
  (fold-packages (lambda (_ c) (1+ c)) 0))

(let ((f (open-output-file "/tmp/package-dependency-numbers.txt")))
  (begin
    (for-each
     (lambda (p)
       (match p
         ((package-name . count)
          (format f "~45,,,'.a ~3d (~5,2f%)~%"
                  package-name count
                  (* 100 (/ count number-of-packages))))))
     deps)
    (close-port f)))

[-- Attachment #5: Type: text/plain, Size: 96 bytes --]


And the revised output, if anyone doesn't want to take the time to run
the script themselves.


[-- Attachment #6: package-dependency-numbers.txt --]
[-- Type: text/plain, Size: 57643 bytes --]

binutils-bootstrap-0......................... 974 (99.39%)
bootstrap-binaries-0......................... 974 (99.39%)
file-5.19.................................... 974 (99.39%)
findutils-4.4.2.............................. 974 (99.39%)
diffutils-3.3................................ 974 (99.39%)
glibc-2.20................................... 973 (99.29%)
glibc-bootstrap-0............................ 972 (99.18%)
libgc-7.4.2.................................. 972 (99.18%)
libgc-7.2f................................... 972 (99.18%)
pkg-config-0.27.1............................ 972 (99.18%)
gmp-6.0.0a................................... 972 (99.18%)
libtool-2.4.2................................ 972 (99.18%)
libunistring-0.9.4........................... 972 (99.18%)
libffi-3.1................................... 972 (99.18%)
gcc-4.9.1.................................... 972 (99.18%)
gcc-4.7.4.................................... 972 (99.18%)
gcc-4.8.3.................................... 972 (99.18%)
binutils-2.24................................ 972 (99.18%)
bash-4.3.27.................................. 972 (99.18%)
readline-6.2................................. 972 (99.18%)
readline-6.3................................. 972 (99.18%)
gcc-bootstrap-0.............................. 971 (99.08%)
perl-5.16.1.................................. 971 (99.08%)
guile-2.0.11................................. 971 (99.08%)
guile-1.8.8.................................. 971 (99.08%)
texinfo-5.2.................................. 971 (99.08%)
texinfo-4.13a................................ 971 (99.08%)
linux-libre-headers-3.3.8.................... 971 (99.08%)
bash-light-4.3.27............................ 971 (99.08%)
ld-wrapper-0................................. 970 (98.98%)
gawk-4.1.1................................... 969 (98.88%)
xz-5.0.4..................................... 969 (98.88%)
bzip2-1.0.6.................................. 969 (98.88%)
gzip-1.6..................................... 969 (98.88%)
make-4.0..................................... 969 (98.88%)
grep-2.20.................................... 969 (98.88%)
tar-1.28..................................... 969 (98.88%)
sed-4.2.2.................................... 969 (98.88%)
patch-2.7.1.................................. 969 (98.88%)
coreutils-8.23............................... 969 (98.88%)
ncurses-5.9.................................. 599 (61.12%)
zlib-1.2.7................................... 593 (60.51%)
openssl-1.0.1i............................... 512 (52.24%)
gdbm-1.11.................................... 505 (51.53%)
patchelf-0.6................................. 503 (51.33%)
python-2.7.6................................. 499 (50.92%)
python-3.3.5................................. 499 (50.92%)
python-wrapper-3.3.5......................... 429 (43.78%)
m4-1.4.17.................................... 390 (39.80%)
libxml2-2.9.0................................ 373 (38.06%)
libgpg-error-1.13............................ 373 (38.06%)
libgcrypt-1.5.4.............................. 369 (37.65%)
libgcrypt-1.6.2.............................. 369 (37.65%)
util-macros-1.17............................. 348 (35.51%)
xproto-7.0.23................................ 347 (35.41%)
indent-2.2.10................................ 330 (33.67%)
flex-2.5.37.................................. 329 (33.57%)
xtrans-1.2.7................................. 327 (33.37%)
libxslt-1.1.28............................... 323 (32.96%)
bison-3.0.2.................................. 316 (32.24%)
bison-2.7.................................... 316 (32.24%)
libpthread-stubs-0.3......................... 315 (32.14%)
xcb-proto-1.7.1.............................. 315 (32.14%)
libxau-1.0.7................................. 313 (31.94%)
libxdmcp-1.1.1............................... 313 (31.94%)
libxcb-1.8.1................................. 312 (31.84%)
xextproto-7.2.1.............................. 307 (31.33%)
expat-2.1.0.................................. 306 (31.22%)
inputproto-2.2............................... 305 (31.12%)
kbproto-1.0.6................................ 305 (31.12%)
libx11-1.5.0................................. 304 (31.02%)
gettext-0.19.2............................... 261 (26.63%)
freetype-2.4.11.............................. 261 (26.63%)
libpng-1.5.17................................ 238 (24.29%)
libxext-1.3.1................................ 236 (24.08%)
dbus-1.8.8................................... 205 (20.92%)
libjpeg-9a................................... 205 (20.92%)
libjpeg-8d................................... 205 (20.92%)
attr-2.4.46.................................. 194 (19.80%)
libtiff-4.0.3................................ 193 (19.69%)
acl-2.2.52................................... 192 (19.59%)
tcl-8.6.0.................................... 191 (19.49%)
renderproto-0.11.1........................... 186 (18.98%)
libxrender-0.9.7............................. 185 (18.88%)
libpaper-1.1.24.............................. 183 (18.67%)
lcms-2.4..................................... 182 (18.57%)
ghostscript-9.06.0........................... 179 (18.27%)
util-linux-2.21.............................. 176 (17.96%)
tzdata-2014a................................. 172 (17.55%)
glib-2.40.0.................................. 170 (17.35%)
icu4c-53.1................................... 150 (15.31%)
libice-1.0.8................................. 149 (15.20%)
pixman-0.32.4................................ 148 (15.10%)
libsm-1.2.1.................................. 147 (15.00%)
perl-xml-parser-2.41......................... 143 (14.59%)
gs-fonts-8.11................................ 138 (14.08%)
fontconfig-2.10.93........................... 136 (13.88%)
intltool-0.50.2.............................. 135 (13.78%)
libxt-1.1.3.................................. 134 (13.67%)
which-2.20................................... 133 (13.57%)
libatomic-ops-7.4.2.......................... 123 (12.55%)
libxmu-1.1.1................................. 118 (12.04%)
fixesproto-5.0............................... 115 (11.73%)
poppler-0.22.0............................... 114 (11.63%)
libspectre-0.2.7............................. 114 (11.63%)
cairo-1.12.16................................ 113 (11.53%)
libxfixes-5.0................................ 113 (11.53%)
xf86vidmodeproto-2.3.1....................... 109 (11.12%)
libpciaccess-0.13.1.......................... 108 (11.02%)
makedepend-1.0.4............................. 108 (11.02%)
libxpm-3.5.10................................ 108 (11.02%)
libxxf86vm-1.1.2............................. 108 (11.02%)
damageproto-1.2.1............................ 107 (10.92%)
libxdamage-1.1.3............................. 106 (10.82%)
libdrm-2.4.33................................ 106 (10.82%)
libdrm-2.4.46................................ 106 (10.82%)
dri2proto-2.6................................ 106 (10.82%)
glproto-1.4.15............................... 106 (10.82%)
mesa-8.0.5................................... 105 (10.71%)
libxaw-1.0.11................................ 101 (10.31%)
gobject-introspection-1.38.0.................  99 (10.10%)
libfontenc-1.1.1.............................  96 ( 9.80%)
mpfr-3.1.2...................................  93 ( 9.49%)
nettle-3.0...................................  93 ( 9.49%)
nettle-2.7.1.................................  93 ( 9.49%)
randrproto-1.3.2.............................  91 ( 9.29%)
libtasn1-4.1.................................  90 ( 9.18%)
gnutls-3.2.16................................  89 ( 9.08%)
fontsproto-2.1.2.............................  89 ( 9.08%)
harfbuzz-0.9.22..............................  88 ( 8.98%)
pango-1.34.1.................................  87 ( 8.88%)
mpc-1.0.2....................................  87 ( 8.88%)
isl-0.11.1...................................  87 ( 8.88%)
libxfont-1.4.5...............................  87 ( 8.88%)
libelf-0.8.13................................  86 ( 8.78%)
cloog-0.18.0.................................  86 ( 8.78%)
xineramaproto-1.2.1..........................  83 ( 8.47%)
netpbm-10.61.01..............................  82 ( 8.37%)
psutils-17...................................  82 ( 8.37%)
groff-1.22.2.................................  81 ( 8.27%)
linux-pam-1.1.6..............................  79 ( 8.06%)
recordproto-1.14.2...........................  77 ( 7.86%)
bdb-5.3.21...................................  74 ( 7.55%)
videoproto-2.3.1.............................  74 ( 7.55%)
libidn-1.29..................................  73 ( 7.45%)
libxkbfile-1.0.8.............................  73 ( 7.45%)
xf86dgaproto-2.1.............................  73 ( 7.45%)
libxv-1.0.7..................................  73 ( 7.45%)
dmxproto-2.3.1...............................  72 ( 7.35%)
xkeyboard-config-2.6.........................  72 ( 7.35%)
compositeproto-0.4.2.........................  72 ( 7.35%)
mit-krb5-1.11.3..............................  71 ( 7.24%)
libdmx-1.1.2.................................  71 ( 7.24%)
resourceproto-1.2.0..........................  71 ( 7.24%)
scrnsaverproto-1.2.2.........................  71 ( 7.24%)
shishi-1.0.2.................................  70 ( 7.14%)
xf86bigfontproto-1.2.0.......................  70 ( 7.14%)
libxres-1.0.6................................  70 ( 7.14%)
bigreqsproto-1.1.2...........................  70 ( 7.14%)
xcmiscproto-1.2.2............................  70 ( 7.14%)
xf86driproto-2.1.1...........................  70 ( 7.14%)
xkbcomp-1.2.4................................  70 ( 7.14%)
cyrus-sasl-2.1.26............................  70 ( 7.14%)
libssh2-1.4.3................................  69 ( 7.04%)
gss-1.0.2....................................  69 ( 7.04%)
openldap-2.4.33..............................  69 ( 7.04%)
xorg-server-1.12.2...........................  69 ( 7.04%)
curl-7.37.1..................................  67 ( 6.84%)
gdk-pixbuf-2.28.2............................  65 ( 6.63%)
atk-2.10.0...................................  63 ( 6.43%)
alsa-lib-1.0.27.1............................  60 ( 6.12%)
gtk+-2.24.21.................................  59 ( 6.02%)
gtk+-3.10.1..................................  59 ( 6.02%)
libxi-1.6.1..................................  58 ( 5.92%)
libogg-1.3.2.................................  53 ( 5.41%)
libvorbis-1.3.4..............................  49 ( 5.00%)
fftw-3.3.4...................................  48 ( 4.90%)
check-0.9.9..................................  47 ( 4.80%)
libxinerama-1.1.2............................  47 ( 4.80%)
python-setuptools-1.1.4......................  46 ( 4.69%)
flac-1.3.0...................................  45 ( 4.59%)
libdaemon-0.14...............................  44 ( 4.49%)
autoconf-2.64................................  44 ( 4.49%)
autoconf-2.69................................  44 ( 4.49%)
autoconf-2.68................................  44 ( 4.49%)
libsndfile-1.0.25............................  43 ( 4.39%)
speex-1.2rc1.................................  43 ( 4.39%)
avahi-0.6.31.................................  43 ( 4.39%)
libcap-2.22..................................  42 ( 4.29%)
libsamplerate-0.1.8..........................  42 ( 4.29%)
fftwf-3.3.4..................................  41 ( 4.18%)
libxtst-1.2.1................................  41 ( 4.18%)
json-c-0.12..................................  41 ( 4.18%)
lzo-2.06.....................................  40 ( 4.08%)
pulseaudio-5.0...............................  40 ( 4.08%)
libarchive-3.1.2.............................  37 ( 3.78%)
at-spi2-core-2.10.0..........................  36 ( 3.67%)
at-spi2-atk-2.10.0...........................  35 ( 3.57%)
cmake-2.8.12.................................  35 ( 3.57%)
tcsh-6.18.01.................................  32 ( 3.27%)
gd-2.0.33....................................  27 ( 2.76%)
libxft-2.3.1.................................  24 ( 2.45%)
libusb-1.0.9.................................  23 ( 2.35%)
pciutils-3.2.0...............................  21 ( 2.14%)
libxrandr-1.3.2..............................  21 ( 2.14%)
giflib-4.2.3.................................  20 ( 2.04%)
gts-0.7.6....................................  20 ( 2.04%)
mkfontscale-1.1.0............................  20 ( 2.04%)
graphviz-2.28.0..............................  19 ( 1.94%)
sqlite-3.8.4.3...............................  19 ( 1.94%)
pcre-8.32....................................  18 ( 1.84%)
gperf-3.0.4..................................  18 ( 1.84%)
mkfontdir-1.0.7..............................  18 ( 1.84%)
boost-1.55.0.................................  17 ( 1.73%)
bdftopcf-1.0.3...............................  16 ( 1.63%)
popt-1.16....................................  15 ( 1.53%)
kmod-17......................................  15 ( 1.53%)
unzip-6.0....................................  14 ( 1.43%)
gstreamer-0.10.36............................  14 ( 1.43%)
gstreamer-1.0.10.............................  14 ( 1.43%)
zip-3.0......................................  13 ( 1.33%)
emacs-24.3...................................  13 ( 1.33%)
usbutils-006.................................  13 ( 1.33%)
procps-3.2.8.................................  13 ( 1.33%)
gfortran-4.8.3...............................  13 ( 1.33%)
doxygen-1.8.7................................  12 ( 1.22%)
xmlto-0.0.25.................................  12 ( 1.22%)
expect-5.45..................................  11 ( 1.12%)
xcb-util-0.3.9...............................  11 ( 1.12%)
dejagnu-1.5.1................................  10 ( 1.02%)
sdl-1.2.15...................................  10 ( 1.02%)
lzip-1.16....................................  10 ( 1.02%)
libxkbcommon-0.3.1...........................  10 ( 1.02%)
yasm-1.2.0...................................  10 ( 1.02%)
aspell-0.60.6.1..............................  10 ( 1.02%)
mysql-5.1.73.................................  10 ( 1.02%)
xcb-util-wm-0.3.9............................  10 ( 1.02%)
xcb-util-keysyms-0.3.9.......................  10 ( 1.02%)
xcb-util-image-0.3.9.........................  10 ( 1.02%)
xcb-util-renderutil-0.3.8....................  10 ( 1.02%)
perl-uri-1.60................................  10 ( 1.02%)
perl-http-date-6.02..........................  10 ( 1.02%)
libsigc++-2.3.1..............................   9 ( 0.92%)
libmad-0.15.1b...............................   9 ( 0.92%)
apr-1.5.1....................................   9 ( 0.92%)
lapack-3.5.0.................................   9 ( 0.92%)
perl-io-html-1.00............................   9 ( 0.92%)
perl-lwp-mediatypes-6.02.....................   9 ( 0.92%)
zziplib-0.13.62..............................   8 ( 0.82%)
dbus-glib-0.100.2............................   8 ( 0.82%)
bc-1.06......................................   8 ( 0.82%)
automake-1.14.1..............................   8 ( 0.82%)
libidl-0.8.14................................   8 ( 0.82%)
qt-4.8.6.....................................   8 ( 0.82%)
qt-5.2.1.....................................   8 ( 0.82%)
apr-util-1.5.3...............................   8 ( 0.82%)
eudev-1.10...................................   8 ( 0.82%)
teckit-2.5.1.................................   8 ( 0.82%)
t1lib-5.1.2..................................   8 ( 0.82%)
gnupg-1.4.18.................................   8 ( 0.82%)
gnupg-2.0.26.................................   8 ( 0.82%)
perl-http-message-6.06.......................   8 ( 0.82%)
pth-2.0.7....................................   8 ( 0.82%)
gdb-7.8......................................   7 ( 0.71%)
glibmm-2.37.7................................   7 ( 0.71%)
texlive-2014.................................   7 ( 0.71%)
orbit2-2.14.19...............................   7 ( 0.71%)
swig-2.0.11..................................   7 ( 0.71%)
libcanberra-0.30.............................   7 ( 0.71%)
numactl-2.0.9................................   7 ( 0.71%)
neon-0.29.6..................................   7 ( 0.71%)
neon-0.30.0..................................   7 ( 0.71%)
libtheora-1.1.1..............................   7 ( 0.71%)
tk-8.6.0.....................................   7 ( 0.71%)
libksba-1.3.0................................   7 ( 0.71%)
libassuan-2.1.2..............................   7 ( 0.71%)
libvpx-1.3.0.................................   6 ( 0.61%)
cairomm-1.10.0...............................   6 ( 0.61%)
pangox-compat-0.0.2..........................   6 ( 0.61%)
libart-lgpl-2.3.9............................   6 ( 0.61%)
libgsf-1.14.30...............................   6 ( 0.61%)
ed-1.10......................................   6 ( 0.61%)
subversion-1.7.18............................   6 ( 0.61%)
opus-1.1.....................................   6 ( 0.61%)
ao-1.1.0.....................................   6 ( 0.61%)
python-mock-1.0.1............................   6 ( 0.61%)
hwloc-1.9....................................   6 ( 0.61%)
perl-html-tagset-3.20........................   6 ( 0.61%)
valgrind-3.10.0..............................   6 ( 0.61%)
libsigsegv-2.10..............................   5 ( 0.51%)
ffmpeg-2.3.3.................................   5 ( 0.51%)
pangomm-2.34.0...............................   5 ( 0.51%)
atkmm-2.22.7.................................   5 ( 0.51%)
libid3tag-0.15.1b............................   5 ( 0.51%)
gst-plugins-base-1.0.10......................   5 ( 0.51%)
gst-plugins-base-0.10.36.....................   5 ( 0.51%)
libcroco-0.6.8...............................   5 ( 0.51%)
gconf-3.2.6..................................   5 ( 0.51%)
gnome-mime-data-2.18.0.......................   5 ( 0.51%)
perl-xml-simple-2.20.........................   5 ( 0.51%)
libevent-2.0.21..............................   5 ( 0.51%)
font-util-1.3.0..............................   5 ( 0.51%)
openmpi-1.8.1................................   5 ( 0.51%)
perl-http-negotiate-6.01.....................   5 ( 0.51%)
perl-html-parser-3.71........................   5 ( 0.51%)
perl-http-cookies-6.01.......................   5 ( 0.51%)
perl-www-robotrules-6.02.....................   5 ( 0.51%)
perl-encode-locale-1.03......................   5 ( 0.51%)
perl-http-daemon-6.01........................   5 ( 0.51%)
perl-file-listing-6.04.......................   5 ( 0.51%)
perl-net-http-6.06...........................   5 ( 0.51%)
glu-9.0.0....................................   4 ( 0.41%)
libcddb-1.3.0................................   4 ( 0.41%)
docbook-xml-4.4..............................   4 ( 0.41%)
docbook-xml-4.5..............................   4 ( 0.41%)
docbook-xml-4.3..............................   4 ( 0.41%)
help2man-1.46.3..............................   4 ( 0.41%)
inetutils-1.9.2..............................   4 ( 0.41%)
imagemagick-6.8.9-0..........................   4 ( 0.41%)
librsvg-2.40.2...............................   4 ( 0.41%)
libglade-2.6.4...............................   4 ( 0.41%)
gnome-vfs-2.24.4.............................   4 ( 0.41%)
libgnomecanvas-2.30.3........................   4 ( 0.41%)
icon-naming-utils-0.8.90.....................   4 ( 0.41%)
libbonobo-2.32.1.............................   4 ( 0.41%)
git-2.1.2....................................   4 ( 0.41%)
gnuplot-4.6.3................................   4 ( 0.41%)
superlu-4.3..................................   4 ( 0.41%)
libkate-0.4.1................................   4 ( 0.41%)
python-extras-0.0.3..........................   4 ( 0.41%)
python-six-1.7.2.............................   4 ( 0.41%)
python-nose-1.3.4............................   4 ( 0.41%)
python-mimeparse-0.1.4.......................   4 ( 0.41%)
exiv2-0.23...................................   4 ( 0.41%)
perl-libxml-0.08.............................   4 ( 0.41%)
perl-xml-regexp-0.04.........................   4 ( 0.41%)
gpgme-1.5.1..................................   4 ( 0.41%)
xinput-1.6.0.................................   4 ( 0.41%)
libxaw3d-1.6.2...............................   4 ( 0.41%)
perl-libwww-6.05.............................   4 ( 0.41%)
less-451.....................................   3 ( 0.31%)
itstool-1.2.0................................   3 ( 0.31%)
gtkmm-2.24.2.................................   3 ( 0.31%)
gtkmm-3.9.16.................................   3 ( 0.31%)
sdl-image-1.2.12.............................   3 ( 0.31%)
libmikmod-3.3.3..............................   3 ( 0.31%)
nano-2.3.6...................................   3 ( 0.31%)
imlib2-1.4.6.................................   3 ( 0.31%)
raptor2-2.0.11...............................   3 ( 0.31%)
guile-lib-0.2.2..............................   3 ( 0.31%)
lame-3.99.5..................................   3 ( 0.31%)
shared-mime-info-1.2.........................   3 ( 0.31%)
gnome-icon-theme-3.10.0......................   3 ( 0.31%)
libgnome-2.32.1..............................   3 ( 0.31%)
libgnome-keyring-3.6.0.......................   3 ( 0.31%)
libmpdclient-2.9.............................   3 ( 0.31%)
udev-182.....................................   3 ( 0.31%)
gsl-1.16.....................................   3 ( 0.31%)
python-testtools-1.0.0.......................   3 ( 0.31%)
python-enum34-1.0............................   3 ( 0.31%)
python-parse-1.6.4...........................   3 ( 0.31%)
python-pytz-2013b............................   3 ( 0.31%)
python2-setuptools-1.1.4.....................   3 ( 0.31%)
python-pycrypto-2.6.1........................   3 ( 0.31%)
perl-xml-dom-1.44............................   3 ( 0.31%)
librsync-0.9.7...............................   3 ( 0.31%)
libxcursor-1.1.13............................   3 ( 0.31%)
printproto-1.0.5.............................   3 ( 0.31%)
freeglut-2.8.1...............................   2 ( 0.20%)
autogen-5.18.4...............................   2 ( 0.20%)
libphidget-2.1.8.20130320....................   2 ( 0.20%)
gnumach-headers-1.4..........................   2 ( 0.20%)
libcdio-0.92.................................   2 ( 0.20%)
cdparanoia-10.2..............................   2 ( 0.20%)
w3m-0.5.3....................................   2 ( 0.20%)
libssh-0.6.3.................................   2 ( 0.20%)
libexif-0.6.21...............................   2 ( 0.20%)
babl-0.1.10..................................   2 ( 0.20%)
sdl-mixer-1.2.12.............................   2 ( 0.20%)
guile-static-stripped-2.0.11.................   2 ( 0.20%)
gmime-2.6.19.................................   2 ( 0.20%)
sharutils-4.14...............................   2 ( 0.20%)
libwmf-0.2.8.4...............................   2 ( 0.20%)
libpcap-1.5.3................................   2 ( 0.20%)
clucene-2.3.3.4..............................   2 ( 0.20%)
rasqal-0.9.32................................   2 ( 0.20%)
gsettings-desktop-schemas-3.10.0.............   2 ( 0.20%)
libgnomeprint-2.8.2..........................   2 ( 0.20%)
libbonoboui-2.24.5...........................   2 ( 0.20%)
gtkglext-1.2.0...............................   2 ( 0.20%)
rrdtool-1.4.8................................   2 ( 0.20%)
lua-5.2.3....................................   2 ( 0.20%)
lua-5.1.5....................................   2 ( 0.20%)
fltk-1.3.2...................................   2 ( 0.20%)
e2fsprogs-1.42.7.............................   2 ( 0.20%)
fuse-2.9.3...................................   2 ( 0.20%)
iptables-1.4.16.2............................   2 ( 0.20%)
libnl-3.2.13.................................   2 ( 0.20%)
cvs-1.12.13..................................   2 ( 0.20%)
glpk-4.55....................................   2 ( 0.20%)
hdf5-1.8.12..................................   2 ( 0.20%)
libftdi-1.1..................................   2 ( 0.20%)
vorbis-tools-1.4.0...........................   2 ( 0.20%)
xapian-1.2.18................................   2 ( 0.20%)
python-py-1.4.23.............................   2 ( 0.20%)
python-parse-type-0.3.4......................   2 ( 0.20%)
python2-pysqlite-2.6.3a......................   2 ( 0.20%)
python-testscenarios-0.4.....................   2 ( 0.20%)
python-markupsafe-0.23.......................   2 ( 0.20%)
ghostscript-with-x-9.06.0....................   2 ( 0.20%)
osip-4.1.0...................................   2 ( 0.20%)
ucommon-6.1.11...............................   2 ( 0.20%)
perl-dbi-1.631...............................   2 ( 0.20%)
libxxf86dga-1.1.3............................   2 ( 0.20%)
imake-1.0.7..................................   2 ( 0.20%)
luit-1.1.1...................................   2 ( 0.20%)
libmhash-0.9.9.9.............................   2 ( 0.20%)
libmcrypt-2.5.8..............................   2 ( 0.20%)
guile-xcb-1.3................................   1 ( 0.10%)
libunwind-1.1................................   1 ( 0.10%)
talloc-2.1.0.................................   1 ( 0.10%)
iniparser-3.1................................   1 ( 0.10%)
gcl-2.6.11...................................   1 ( 0.10%)
elfutils-0.157...............................   1 ( 0.10%)
mig-1.4......................................   1 ( 0.10%)
parted-3.1...................................   1 ( 0.10%)
xorriso-1.3.8................................   1 ( 0.10%)
bigloo-4.1a..................................   1 ( 0.10%)
icecat-31.1.1................................   1 ( 0.10%)
wv-1.2.4.....................................   1 ( 0.10%)
libotr-4.0.0.................................   1 ( 0.10%)
libotr-3.2.1.................................   1 ( 0.10%)
openssh-6.7p1................................   1 ( 0.10%)
docbook-xsl-1.78.1...........................   1 ( 0.10%)
fribidi-0.19.6...............................   1 ( 0.10%)
ocaml-4.00.1.................................   1 ( 0.10%)
libgphoto2-2.5.2.............................   1 ( 0.10%)
asciidoc-8.6.9...............................   1 ( 0.10%)
qemu-headless-2.0.0..........................   1 ( 0.10%)
perl-io-tty-1.11.............................   1 ( 0.10%)
gtksourceview-2.10.5.........................   1 ( 0.10%)
guile-cairo-1.4.1............................   1 ( 0.10%)
gegl-0.2.0...................................   1 ( 0.10%)
sdl-gfx-2.0.24...............................   1 ( 0.10%)
sdl-ttf-2.0.11...............................   1 ( 0.10%)
guile-static-stripped-tarball-2.0.11.........   1 ( 0.10%)
gcc-stripped-tarball-4.8.3...................   1 ( 0.10%)
glibc-stripped-tarball-2.20..................   1 ( 0.10%)
binutils-static-stripped-tarball-2.24........   1 ( 0.10%)
static-binaries-tarball-0....................   1 ( 0.10%)
lzop-1.03....................................   1 ( 0.10%)
flint-2.4.4..................................   1 ( 0.10%)
pari-gp-2.7.1................................   1 ( 0.10%)
gnurl-7.37.0.................................   1 ( 0.10%)
libmicrohttpd-0.9.37.........................   1 ( 0.10%)
libextractor-1.3.............................   1 ( 0.10%)
ruby-2.1.3...................................   1 ( 0.10%)
giblib-1.2.4.................................   1 ( 0.10%)
openjpeg-2.0.0...............................   1 ( 0.10%)
jbig2dec-0.11................................   1 ( 0.10%)
libpipeline-1.3.0............................   1 ( 0.10%)
libntlm-1.3..................................   1 ( 0.10%)
dmidecode-2.12...............................   1 ( 0.10%)
shadow-4.1.5.1...............................   1 ( 0.10%)
qjson-0.8.1..................................   1 ( 0.10%)
automoc4-0.9.88..............................   1 ( 0.10%)
redland-1.0.17...............................   1 ( 0.10%)
wget-1.15....................................   1 ( 0.10%)
guile-json-0.4.0.............................   1 ( 0.10%)
guile-reader-for-guile_2.0.11-0.6............   1 ( 0.10%)
libmpcdec-1.2.6..............................   1 ( 0.10%)
libmp3splt-0.8.1a............................   1 ( 0.10%)
mpg123-1.19.0................................   1 ( 0.10%)
id3lib-3.8.3.................................   1 ( 0.10%)
mpg321-0.3.1.................................   1 ( 0.10%)
libgnomeui-2.24.5............................   1 ( 0.10%)
libnotify-0.7.6..............................   1 ( 0.10%)
libgnomeprintui-2.8.2........................   1 ( 0.10%)
gnome-doc-utils-0.20.10......................   1 ( 0.10%)
goffice-0.10.14..............................   1 ( 0.10%)
glade-3.8.4..................................   1 ( 0.10%)
hicolor-icon-theme-0.12......................   1 ( 0.10%)
vpnc-0.5.3...................................   1 ( 0.10%)
cook-2.34....................................   1 ( 0.10%)
screen-4.2.1.................................   1 ( 0.10%)
liboop-1.0...................................   1 ( 0.10%)
ots-0.5.0....................................   1 ( 0.10%)
enchant-1.6.0................................   1 ( 0.10%)
lvm2-2.02.109................................   1 ( 0.10%)
module-init-tools-3.16.......................   1 ( 0.10%)
psmisc-22.20.................................   1 ( 0.10%)
net-tools-1.60...............................   1 ( 0.10%)
iproute2-3.12.0..............................   1 ( 0.10%)
lm-sensors-3.3.5.............................   1 ( 0.10%)
inotify-tools-3.13...........................   1 ( 0.10%)
rcs-5.9.3....................................   1 ( 0.10%)
inkscape-0.48.4..............................   1 ( 0.10%)
pt-scotch-6.0.0..............................   1 ( 0.10%)
xfig-3.2.5c..................................   1 ( 0.10%)
perl-tk-804.032..............................   1 ( 0.10%)
python-docutils-0.12.........................   1 ( 0.10%)
python-tzlocal-1.1.1.........................   1 ( 0.10%)
python-dateutil-2.2..........................   1 ( 0.10%)
python-dateutil-1.5..........................   1 ( 0.10%)
python2-dogtail-0.8.2........................   1 ( 0.10%)
python-jinja2-2.7.3..........................   1 ( 0.10%)
python2-lockfile-0.9.1.......................   1 ( 0.10%)
python2-element-tree-1.2.6...................   1 ( 0.10%)
scons-2.1.0..................................   1 ( 0.10%)
python-fixtures-0.3.16.......................   1 ( 0.10%)
python2-unittest2-0.5.1......................   1 ( 0.10%)
python-pygments-1.6..........................   1 ( 0.10%)
python-keyring-3.8...........................   1 ( 0.10%)
python-pyjwt-0.2.1...........................   1 ( 0.10%)
behave-1.2.4.................................   1 ( 0.10%)
python-certifi-14.05.14......................   1 ( 0.10%)
python-pytest-2.6.1..........................   1 ( 0.10%)
python2-mock-1.0.1...........................   1 ( 0.10%)
python-subunit-0.0.21........................   1 ( 0.10%)
python-parsedatetime-1.2.....................   1 ( 0.10%)
lesstif-0.95.2...............................   1 ( 0.10%)
gv-3.7.4.....................................   1 ( 0.10%)
potrace-1.11.................................   1 ( 0.10%)
libuninameslist-0.4.20140731.................   1 ( 0.10%)
libspiro-20071029............................   1 ( 0.10%)
exosip-4.1.0.................................   1 ( 0.10%)
perl-dbd-sqlite-1.42.........................   1 ( 0.10%)
lout-3.40....................................   1 ( 0.10%)
xauth-1.0.7..................................   1 ( 0.10%)
xbitmaps-1.1.1...............................   1 ( 0.10%)
perl-x11-protocol-0.56.......................   1 ( 0.10%)
libxvmc-1.0.7................................   1 ( 0.10%)
libxp-1.0.0..................................   1 ( 0.10%)
libxcomposite-0.4.3..........................   1 ( 0.10%)
xcursorgen-1.0.5.............................   1 ( 0.10%)
mtdev-1.1.3..................................   1 ( 0.10%)
windowswmproto-1.0.4.........................   1 ( 0.10%)
xterm-304....................................   1 ( 0.10%)
perl-www-curl-4.17...........................   1 ( 0.10%)
mcrypt-2.6.8.................................   1 ( 0.10%)
protobuf-2.5.0...............................   1 ( 0.10%)
iso-codes-3.49...............................   1 ( 0.10%)
guile-wm-1.0.................................   0 ( 0.00%)
guile-opengl-0.1.0...........................   0 ( 0.00%)
ftgl-2.1.3-rc5...............................   0 ( 0.00%)
dwm-6.0......................................   0 ( 0.00%)
guile-bootstrap-2.0..........................   0 ( 0.00%)
ghc-4.08.2...................................   0 ( 0.00%)
ghc-5.02.....................................   0 ( 0.00%)
ghc-3.02.....................................   0 ( 0.00%)
ghc-0.29.....................................   0 ( 0.00%)
lftp-4.4.15..................................   0 ( 0.00%)
gprolog-1.4.4................................   0 ( 0.00%)
scrot-0.8....................................   0 ( 0.00%)
gnu-pw-mgr-1.2...............................   0 ( 0.00%)
acct-6.6.1...................................   0 ( 0.00%)
samba-3.6.8..................................   0 ( 0.00%)
uucp-1.07....................................   0 ( 0.00%)
perl-zip-1.30................................   0 ( 0.00%)
vte-0.36.3...................................   0 ( 0.00%)
remmina-1.0.0................................   0 ( 0.00%)
complexity-1.1...............................   0 ( 0.00%)
qrencode-3.4.3...............................   0 ( 0.00%)
barcode-0.99.................................   0 ( 0.00%)
grue-hunter-1.0..............................   0 ( 0.00%)
hurd-headers-0.5.............................   0 ( 0.00%)
grub-2.00....................................   0 ( 0.00%)
fdisk-2.0.0a.................................   0 ( 0.00%)
ddrescue-1.18.1..............................   0 ( 0.00%)
dvdisaster-0.72.6............................   0 ( 0.00%)
hop-2.4.0....................................   0 ( 0.00%)
mit-scheme-9.2...............................   0 ( 0.00%)
racket-5.3.4.................................   0 ( 0.00%)
scheme48-1.9.................................   0 ( 0.00%)
chicken-4.8.0.3..............................   0 ( 0.00%)
time-1.7.....................................   0 ( 0.00%)
vtk-6.1.0....................................   0 ( 0.00%)
calcurse-3.1.4...............................   0 ( 0.00%)
a2ps-4.14....................................   0 ( 0.00%)
enscript-1.6.6...............................   0 ( 0.00%)
source-highlight-3.1.7.......................   0 ( 0.00%)
trueprint-5.4................................   0 ( 0.00%)
bitlbee-3.2.2................................   0 ( 0.00%)
gcc-cross-mips64el-linux-gnuabi64-4.8.3......   0 ( 0.00%)
guile-ssh-0.7.1..............................   0 ( 0.00%)
corkscrew-2.0................................   0 ( 0.00%)
dropbear-2014.63.............................   0 ( 0.00%)
mosh-1.2.4...................................   0 ( 0.00%)
gcc-toolchain-4.9.1..........................   0 ( 0.00%)
gcc-toolchain-4.8.3..........................   0 ( 0.00%)
apl-1.4......................................   0 ( 0.00%)
pem-0.7.9....................................   0 ( 0.00%)
libtirpc-0.2.4...............................   0 ( 0.00%)
dblatex-0.3.5................................   0 ( 0.00%)
cursynth-1.5.................................   0 ( 0.00%)
podofo-0.9.2.................................   0 ( 0.00%)
mupdf-1.6....................................   0 ( 0.00%)
xpdf-3.04....................................   0 ( 0.00%)
freefont-ttf-20100919........................   0 ( 0.00%)
ttf-bitstream-vera-1.10......................   0 ( 0.00%)
terminus-font-4.39...........................   0 ( 0.00%)
ttf-dejavu-2.34..............................   0 ( 0.00%)
xlockmore-5.42...............................   0 ( 0.00%)
opam-1.1.1...................................   0 ( 0.00%)
gphoto2-2.5.2................................   0 ( 0.00%)
slim-1.3.6...................................   0 ( 0.00%)
skribilo-0.9.2...............................   0 ( 0.00%)
busybox-1.22.1...............................   0 ( 0.00%)
conkeror-1.0pre1.............................   0 ( 0.00%)
smalltalk-3.2.5..............................   0 ( 0.00%)
qemu-2.0.0...................................   0 ( 0.00%)
zile-2.4.11..................................   0 ( 0.00%)
mplayer-1.1.1................................   0 ( 0.00%)
vlc-2.1.4....................................   0 ( 0.00%)
youtube-dl-2014.09.06........................   0 ( 0.00%)
ncdc-1.19....................................   0 ( 0.00%)
rubber-1.1...................................   0 ( 0.00%)
perl-archive-zip-1.30........................   0 ( 0.00%)
perl-file-list-0.3.1.........................   0 ( 0.00%)
btar-1.1.1...................................   0 ( 0.00%)
hdup-2.0.14..................................   0 ( 0.00%)
duplicity-0.6.24.............................   0 ( 0.00%)
rdiff-backup-1.2.8...........................   0 ( 0.00%)
rdup-1.1.14..................................   0 ( 0.00%)
tmux-1.7.....................................   0 ( 0.00%)
gimp-2.8.10..................................   0 ( 0.00%)
sdl-net-1.2.8................................   0 ( 0.00%)
sdl2-2.0.0...................................   0 ( 0.00%)
rush-1.7.....................................   0 ( 0.00%)
miniupnpc-1.9................................   0 ( 0.00%)
emacs-wget-0.5.0.............................   0 ( 0.00%)
emacs-w3m-1.4.483+0.20120614.................   0 ( 0.00%)
paredit-23...................................   0 ( 0.00%)
emacs-no-x-toolkit-24.3......................   0 ( 0.00%)
geiser-0.6...................................   0 ( 0.00%)
magit-1.2.1..................................   0 ( 0.00%)
gkrellm-2.3.5................................   0 ( 0.00%)
orpheus-1.6..................................   0 ( 0.00%)
bootstrap-tarballs-0.........................   0 ( 0.00%)
mailutils-2.2................................   0 ( 0.00%)
mu-0.9.9.5...................................   0 ( 0.00%)
notmuch-0.18.1...............................   0 ( 0.00%)
offlineimap-6.5.5............................   0 ( 0.00%)
mutt-1.5.23..................................   0 ( 0.00%)
bogofilter-1.2.4.............................   0 ( 0.00%)
fetchmail-6.3.26.............................   0 ( 0.00%)
fplll-4.0.4..................................   0 ( 0.00%)
fftw-openmpi-3.3.4...........................   0 ( 0.00%)
mpfrcx-0.4.2.................................   0 ( 0.00%)
gp2c-0.0.9pl1................................   0 ( 0.00%)
arb-2.2.0....................................   0 ( 0.00%)
gnunet-0.10.0................................   0 ( 0.00%)
parallel-20140922............................   0 ( 0.00%)
ruby-i18n-0.6.11.............................   0 ( 0.00%)
zsh-5.0.6....................................   0 ( 0.00%)
man-pages-3.69...............................   0 ( 0.00%)
man-db-2.6.6.................................   0 ( 0.00%)
gsasl-1.8.0..................................   0 ( 0.00%)
gxmessage-2.20.1.............................   0 ( 0.00%)
dmd-0.2......................................   0 ( 0.00%)
alive-2.0.2..................................   0 ( 0.00%)
testdisk-6.14................................   0 ( 0.00%)
wpa-supplicant-2.2...........................   0 ( 0.00%)
tcpdump-4.5.1................................   0 ( 0.00%)
rottlog-0.72.2...............................   0 ( 0.00%)
netcat-0.7.1.................................   0 ( 0.00%)
dfc-3.0.4....................................   0 ( 0.00%)
mingetty-1.08................................   0 ( 0.00%)
jnettop-0.13.0...............................   0 ( 0.00%)
net-base-5.2.................................   0 ( 0.00%)
htop-1.0.3...................................   0 ( 0.00%)
clusterssh-3.28..............................   0 ( 0.00%)
acpica-20140724..............................   0 ( 0.00%)
detox-1.2.0..................................   0 ( 0.00%)
pies-1.2.....................................   0 ( 0.00%)
direvent-5.0.................................   0 ( 0.00%)
wakelan-1.1..................................   0 ( 0.00%)
sudo-1.8.10p3................................   0 ( 0.00%)
stress-1.0.1.................................   0 ( 0.00%)
isc-dhcp-4.3.0...............................   0 ( 0.00%)
libdbusmenu-qt-0.9.2.........................   0 ( 0.00%)
phonon-4.8.0.................................   0 ( 0.00%)
strigi-0.7.8.................................   0 ( 0.00%)
attica-0.4.2.................................   0 ( 0.00%)
soprano-2.9.4................................   0 ( 0.00%)
gcal-3.6.3...................................   0 ( 0.00%)
lynx-2.8.8rel.2..............................   0 ( 0.00%)
unclutter-8..................................   0 ( 0.00%)
guile-charting-0.2.0.........................   0 ( 0.00%)
mcron-1.0.8..................................   0 ( 0.00%)
guile-ncurses-1.5............................   0 ( 0.00%)
guile-reader-for-guile_1.8.8-0.6.............   0 ( 0.00%)
ripperx-2.7.3................................   0 ( 0.00%)
mpc123-0.2.4.................................   0 ( 0.00%)
mp3splt-2.5.1................................   0 ( 0.00%)
lsof-4.87....................................   0 ( 0.00%)
gnome-desktop-3.10.0.........................   0 ( 0.00%)
evince-3.6.1.................................   0 ( 0.00%)
libpeas-1.9.0................................   0 ( 0.00%)
brasero-3.8.0................................   0 ( 0.00%)
gnumeric-1.12.17.............................   0 ( 0.00%)
texi2html-5.0................................   0 ( 0.00%)
mtools-4.0.18................................   0 ( 0.00%)
openconnect-4.99.............................   0 ( 0.00%)
gvpe-2.25....................................   0 ( 0.00%)
idutils-4.6..................................   0 ( 0.00%)
plotutils-2.6................................   0 ( 0.00%)
xnee-3.18....................................   0 ( 0.00%)
dtach-0.8....................................   0 ( 0.00%)
cppi-1.18....................................   0 ( 0.00%)
serveez-0.2.2................................   0 ( 0.00%)
lsh-2.1......................................   0 ( 0.00%)
ratpoison-1.4.6..............................   0 ( 0.00%)
node-0.10.29.................................   0 ( 0.00%)
abiword-2.8.6................................   0 ( 0.00%)
mpd-0.18.8...................................   0 ( 0.00%)
ncmpcpp-0.5.10...............................   0 ( 0.00%)
ncmpc-0.21...................................   0 ( 0.00%)
windowmaker-0.95.6...........................   0 ( 0.00%)
hugs-Sep2006.................................   0 ( 0.00%)
sound-theme-freedesktop-0.8..................   0 ( 0.00%)
luajit-2.0.3.................................   0 ( 0.00%)
libsodium-1.0.0..............................   0 ( 0.00%)
datamash-1.0.6...............................   0 ( 0.00%)
gnubik-2.4.1.................................   0 ( 0.00%)
gnubg-1.02...................................   0 ( 0.00%)
xboard-4.7.3.................................   0 ( 0.00%)
talkfilters-2.3.8............................   0 ( 0.00%)
chess-6.1.1..................................   0 ( 0.00%)
pingus-0.7.6.................................   0 ( 0.00%)
cmatrix-1.2a.................................   0 ( 0.00%)
abbaye-1.13..................................   0 ( 0.00%)
jrnl-1.8.4...................................   0 ( 0.00%)
transmission-2.84............................   0 ( 0.00%)
kbd-2.0.1....................................   0 ( 0.00%)
sshfs-fuse-2.5...............................   0 ( 0.00%)
iotop-0.6....................................   0 ( 0.00%)
e2fsck-static-1.42.7.........................   0 ( 0.00%)
unionfs-fuse-0.26............................   0 ( 0.00%)
unionfs-fuse-static-0.26.....................   0 ( 0.00%)
xsensors-0.70................................   0 ( 0.00%)
perf-3.17....................................   0 ( 0.00%)
aumix-2.9.1..................................   0 ( 0.00%)
powertop-2.5.................................   0 ( 0.00%)
linux-libre-3.17.............................   0 ( 0.00%)
alsa-utils-1.0.27.2..........................   0 ( 0.00%)
bridge-utils-1.5.............................   0 ( 0.00%)
wireless-tools-30.pre9.......................   0 ( 0.00%)
strace-4.7...................................   0 ( 0.00%)
diffstat-1.58................................   0 ( 0.00%)
vc-dwim-1.7..................................   0 ( 0.00%)
bazaar-2.6.0.................................   0 ( 0.00%)
aegis-4.24...................................   0 ( 0.00%)
cssc-1.3.0...................................   0 ( 0.00%)
mercurial-2.7.1..............................   0 ( 0.00%)
wdiff-1.2.2..................................   0 ( 0.00%)
moe-1.6......................................   0 ( 0.00%)
guix-0.7.14e84b2.............................   0 ( 0.00%)
guix-0.7.....................................   0 ( 0.00%)
nix-1.7......................................   0 ( 0.00%)
noweb-2.11b..................................   0 ( 0.00%)
lightning-2.0.5..............................   0 ( 0.00%)
units-2.11...................................   0 ( 0.00%)
petsc-3.4.4..................................   0 ( 0.00%)
superlu-dist-3.3.............................   0 ( 0.00%)
dionysus-1.3.0...............................   0 ( 0.00%)
petsc-complex-3.4.4..........................   0 ( 0.00%)
octave-3.8.0.................................   0 ( 0.00%)
pspp-0.8.4...................................   0 ( 0.00%)
scotch-6.0.0.................................   0 ( 0.00%)
petsc-complex-openmpi-3.4.4..................   0 ( 0.00%)
maxima-5.34.1................................   0 ( 0.00%)
gsegrafix-1.0.6..............................   0 ( 0.00%)
petsc-openmpi-3.4.4..........................   0 ( 0.00%)
gmsh-2.8.4...................................   0 ( 0.00%)
pavucontrol-2.0..............................   0 ( 0.00%)
unrtf-0.19.7.................................   0 ( 0.00%)
freeipmi-1.4.5...............................   0 ( 0.00%)
feh-2.12.....................................   0 ( 0.00%)
torsocks-1.2.................................   0 ( 0.00%)
tor-0.2.4.24.................................   0 ( 0.00%)
privoxy-3.0.21...............................   0 ( 0.00%)
wordnet-3.0..................................   0 ( 0.00%)
gcc-objc++-4.8.3.............................   0 ( 0.00%)
gcc-objc-4.8.3...............................   0 ( 0.00%)
gccgo-4.8.3..................................   0 ( 0.00%)
transfig-3.2.5e..............................   0 ( 0.00%)
cflow-1.4....................................   0 ( 0.00%)
ccache-3.1.9.................................   0 ( 0.00%)
mc-4.8.11....................................   0 ( 0.00%)
irssi-0.8.15.................................   0 ( 0.00%)
flashrom-0.9.7...............................   0 ( 0.00%)
avrdude-6.1..................................   0 ( 0.00%)
dfu-programmer-0.7.0.........................   0 ( 0.00%)
python2-empy-3.3.............................   0 ( 0.00%)
python2-testresources-0.2.7..................   0 ( 0.00%)
python2-extras-0.0.3.........................   0 ( 0.00%)
python-testrepository-0.0.20.................   0 ( 0.00%)
python-unidecode-0.04.16.....................   0 ( 0.00%)
python-unittest2-0.5.1.......................   0 ( 0.00%)
python2-py-1.4.23............................   0 ( 0.00%)
python-pyld-0.6.0............................   0 ( 0.00%)
python2-pytz-2013b...........................   0 ( 0.00%)
python2-babel-1.3............................   0 ( 0.00%)
python2-jinja2-2.7.3.........................   0 ( 0.00%)
python-sphinx-1.2.3..........................   0 ( 0.00%)
python2-fixtures-0.3.16......................   0 ( 0.00%)
python2-jsonschema-2.4.0.....................   0 ( 0.00%)
python2-nose-1.3.4...........................   0 ( 0.00%)
python-discover-0.4.0........................   0 ( 0.00%)
python-oauthlib-0.6.3........................   0 ( 0.00%)
python2-exif-read-1.4.2......................   0 ( 0.00%)
python-virtualenv-1.11.6.....................   0 ( 0.00%)
python2-scripttest-1.3.......................   0 ( 0.00%)
python-testresources-0.2.7...................   0 ( 0.00%)
python2-pygments-1.6.........................   0 ( 0.00%)
python2-coverage-3.7.1.......................   0 ( 0.00%)
python2-pyjwt-0.2.1..........................   0 ( 0.00%)
python2-itsdangerous-0.24....................   0 ( 0.00%)
python2-pyicu-1.5............................   0 ( 0.00%)
python2-certifi-14.05.14.....................   0 ( 0.00%)
python-babel-1.3.............................   0 ( 0.00%)
python2-requests-2.4.0.......................   0 ( 0.00%)
python-jsonschema-2.4.0......................   0 ( 0.00%)
python2-testscenarios-0.4....................   0 ( 0.00%)
python-exif-read-1.4.2.......................   0 ( 0.00%)
python2-pytest-2.6.1.........................   0 ( 0.00%)
python2-simplejson-3.3.0.....................   0 ( 0.00%)
python-scripttest-1.3........................   0 ( 0.00%)
python2-markupsafe-0.23......................   0 ( 0.00%)
python2-subunit-0.0.21.......................   0 ( 0.00%)
python2-mimeparse-0.1.4......................   0 ( 0.00%)
python-coverage-3.7.1........................   0 ( 0.00%)
python-itsdangerous-0.24.....................   0 ( 0.00%)
python-lockfile-0.9.1........................   0 ( 0.00%)
python2-docutils-0.12........................   0 ( 0.00%)
python2-testrepository-0.0.20................   0 ( 0.00%)
python2-unidecode-0.04.16....................   0 ( 0.00%)
python2-oauthlib-0.6.3.......................   0 ( 0.00%)
python-simplejson-3.3.0......................   0 ( 0.00%)
python2-pyld-0.6.0...........................   0 ( 0.00%)
python2-testtools-1.0.0......................   0 ( 0.00%)
python2-pybugz-0.6.11........................   0 ( 0.00%)
python2-sphinx-1.2.3.........................   0 ( 0.00%)
python2-discover-0.4.0.......................   0 ( 0.00%)
python2-dateutil-2.2.........................   0 ( 0.00%)
python2-dateutil-1.5.........................   0 ( 0.00%)
python2-mechanize-0.2.5......................   0 ( 0.00%)
python2-virtualenv-1.11.6....................   0 ( 0.00%)
hello-2.9....................................   0 ( 0.00%)
nss-mdns-0.10................................   0 ( 0.00%)
geeqie-1.1...................................   0 ( 0.00%)
links-2.8....................................   0 ( 0.00%)
cryptsetup-1.6.1.............................   0 ( 0.00%)
graphite2-1.2.4..............................   0 ( 0.00%)
fontforge-20120731-b.........................   0 ( 0.00%)
patchutils-0.3.3.............................   0 ( 0.00%)
quilt-0.61...................................   0 ( 0.00%)
rsync-3.1.0..................................   0 ( 0.00%)
stalonetray-0.8.1............................   0 ( 0.00%)
cpio-2.11....................................   0 ( 0.00%)
sipwitch-1.9.2...............................   0 ( 0.00%)
ccrtp-2.0.9..................................   0 ( 0.00%)
commoncpp-1.8.1..............................   0 ( 0.00%)
nvi-1.81.6...................................   0 ( 0.00%)
weechat-1.0..................................   0 ( 0.00%)
vim-7.4......................................   0 ( 0.00%)
aspell-dict-fr-0.50-3........................   0 ( 0.00%)
aspell-dict-es-1.11-2........................   0 ( 0.00%)
aspell-dict-en-7.1-0.........................   0 ( 0.00%)
aspell-dict-eo-2.1.20000225a-2...............   0 ( 0.00%)
unixodbc-2.3.2...............................   0 ( 0.00%)
postgresql-9.3.5.............................   0 ( 0.00%)
recutils-1.7.................................   0 ( 0.00%)
tdb-1.3.0....................................   0 ( 0.00%)
paperkey-1.3.................................   0 ( 0.00%)
pinentry-0.8.3...............................   0 ( 0.00%)
pius-2.0.9...................................   0 ( 0.00%)
signing-party-1.1.4..........................   0 ( 0.00%)
ncdu-1.10....................................   0 ( 0.00%)
fish-2.1.0...................................   0 ( 0.00%)
vera-1.21a...................................   0 ( 0.00%)
libuv-0.11.25................................   0 ( 0.00%)
xorg-sgml-doctools-1.11......................   0 ( 0.00%)
xlsatoms-1.1.1...............................   0 ( 0.00%)
xf86-video-vesa-2.3.1........................   0 ( 0.00%)
xwd-1.0.5....................................   0 ( 0.00%)
font-arabic-misc-1.0.3.......................   0 ( 0.00%)
xf86-input-synaptics-1.6.1...................   0 ( 0.00%)
presentproto-1.0.............................   0 ( 0.00%)
xf86-input-keyboard-1.6.1....................   0 ( 0.00%)
font-misc-ethiopic-1.0.3.....................   0 ( 0.00%)
xdriinfo-1.0.4...............................   0 ( 0.00%)
xf86-video-i128-1.3.5........................   0 ( 0.00%)
xf86-video-cirrus-1.4.0......................   0 ( 0.00%)
xrandr-1.3.5.................................   0 ( 0.00%)
xgamma-1.0.5.................................   0 ( 0.00%)
xeyes-1.0.1..................................   0 ( 0.00%)
xf86-video-siliconmotion-1.7.6...............   0 ( 0.00%)
xset-1.2.2...................................   0 ( 0.00%)
sessreg-1.0.7................................   0 ( 0.00%)
font-schumacher-misc-1.1.2...................   0 ( 0.00%)
xf86-video-sunffb-1.2.1......................   0 ( 0.00%)
xf86-video-newport-0.2.4.....................   0 ( 0.00%)
xcmsdb-1.0.4.................................   0 ( 0.00%)
smproxy-1.0.5................................   0 ( 0.00%)
xf86-video-voodoo-1.2.4......................   0 ( 0.00%)
xf86-video-trident-1.3.5.....................   0 ( 0.00%)
xf86-video-openchrome-0.2.906................   0 ( 0.00%)
xf86-video-mach64-6.9.1......................   0 ( 0.00%)
xvinfo-1.1.1.................................   0 ( 0.00%)
font-alias-1.0.3.............................   0 ( 0.00%)
xf86-video-ark-0.7.4.........................   0 ( 0.00%)
xkbevd-1.1.3.................................   0 ( 0.00%)
font-sun-misc-1.0.3..........................   0 ( 0.00%)
dri3proto-1.0................................   0 ( 0.00%)
xmodmap-1.0.7................................   0 ( 0.00%)
xf86-input-joystick-1.6.1....................   0 ( 0.00%)
font-misc-cyrillic-1.0.3.....................   0 ( 0.00%)
xcursor-themes-1.0.3.........................   0 ( 0.00%)
xf86-video-ati-6.14.4........................   0 ( 0.00%)
xprop-1.2.1..................................   0 ( 0.00%)
libwindowswm-1.0.1...........................   0 ( 0.00%)
libfs-1.0.4..................................   0 ( 0.00%)
xwud-1.0.4...................................   0 ( 0.00%)
xf86-video-glint-1.2.7.......................   0 ( 0.00%)
font-dec-misc-1.0.3..........................   0 ( 0.00%)
iceauth-1.0.5................................   0 ( 0.00%)
xrefresh-1.0.4...............................   0 ( 0.00%)
font-mutt-misc-1.0.3.........................   0 ( 0.00%)
xkill-1.0.3..................................   0 ( 0.00%)
xf86-video-suncg6-1.1.1......................   0 ( 0.00%)
xf86-video-savage-2.3.4......................   0 ( 0.00%)
setxkbmap-1.3.0..............................   0 ( 0.00%)
xbacklight-1.1.2.............................   0 ( 0.00%)
x11perf-1.5.4................................   0 ( 0.00%)
xf86-video-tga-1.2.1.........................   0 ( 0.00%)
xdpyinfo-1.3.0...............................   0 ( 0.00%)
xf86-video-neomagic-1.2.6....................   0 ( 0.00%)
font-adobe75dpi-1.0.3........................   0 ( 0.00%)
font-xfree86-type1-1.0.4.....................   0 ( 0.00%)
font-sony-misc-1.0.3.........................   0 ( 0.00%)
font-micro-misc-1.0.3........................   0 ( 0.00%)
xf86-video-vmware-12.0.2.....................   0 ( 0.00%)
xf86-input-void-1.4.0........................   0 ( 0.00%)
xpr-1.0.4....................................   0 ( 0.00%)
xf86-input-mouse-1.7.2.......................   0 ( 0.00%)
xlsclients-1.1.2.............................   0 ( 0.00%)
xf86-input-evdev-2.7.0.......................   0 ( 0.00%)
xf86-video-intel-2.19.0......................   0 ( 0.00%)
xwininfo-1.1.2...............................   0 ( 0.00%)
font-cronyx-cyrillic-1.0.3...................   0 ( 0.00%)
xrdb-1.0.9...................................   0 ( 0.00%)
encodings-1.0.4..............................   0 ( 0.00%)
font-misc-misc-1.1.2.........................   0 ( 0.00%)
libxscrnsaver-1.2.2..........................   0 ( 0.00%)
xf86-video-sis-0.10.4........................   0 ( 0.00%)
xev-1.2.0....................................   0 ( 0.00%)
xf86-video-fbdev-0.4.2.......................   0 ( 0.00%)
xkbutils-1.0.3...............................   0 ( 0.00%)
xhost-1.0.5..................................   0 ( 0.00%)
xf86-video-tdfx-1.4.4........................   0 ( 0.00%)
xf86-video-r128-6.8.2........................   0 ( 0.00%)
xf86-video-nv-2.1.18.........................   0 ( 0.00%)
xsetroot-1.1.0...............................   0 ( 0.00%)
font-adobe100dpi-1.0.3.......................   0 ( 0.00%)
font-winitzki-cyrillic-1.0.3.................   0 ( 0.00%)
font-screen-cyrillic-1.0.4...................   0 ( 0.00%)
font-isas-misc-1.0.3.........................   0 ( 0.00%)
xf86-video-mga-1.5.0.........................   0 ( 0.00%)
xf86-video-ast-0.93.10.......................   0 ( 0.00%)
libwebsockets-1.3............................   0 ( 0.00%)
httpd-2.4.6..................................   0 ( 0.00%)
tinyproxy-1.8.3..............................   0 ( 0.00%)
global-6.3.2.................................   0 ( 0.00%)
synergy-1.5.1-r2398..........................   0 ( 0.00%)
ocrad-0.23...................................   0 ( 0.00%)

[-- Attachment #7: Type: text/plain, Size: 133 bytes --]


-- 
Eric Bavier

Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html

^ permalink raw reply related	[flat|nested] 12+ messages in thread

* Re: [PATCH] guix: refresh: Use bags.
  2014-10-13 19:18       ` Eric Bavier
@ 2014-10-13 21:31         ` Ludovic Courtès
  2014-10-14 17:06           ` Eric Bavier
  2014-10-20 16:58           ` Eric Bavier
  0 siblings, 2 replies; 12+ messages in thread
From: Ludovic Courtès @ 2014-10-13 21:31 UTC (permalink / raw)
  To: Eric Bavier; +Cc: guix-devel

Eric Bavier <ericbavier@gmail.com> skribis:

> Ludovic Courtès writes:
>
>> Eric Bavier <ericbavier@gmail.com> skribis:
>>
>>> Ludovic Courtès writes:

[...]

>> Of course it would be good to use the full DAG.  For that we’d need
>> something that uses ‘fold-packages’ to get the “entry points” of the
>> DAG, and then traverses it all to also get the private packages.
>>
>> From there we could perhaps build a ‘fold-package*’ that would iterate
>> on the whole DAG.
>
> Updated patch attached.  It defines a `fold-package*', and uses it in
> `guix refresh' to get all packages of a given name.

Nice!

> This patch may need to go in core-updates.

Why?

> From 1d22367e0806cea004631e22a782b7db3ffe65b0 Mon Sep 17 00:00:00 2001
> From: Eric Bavier <bavier@member.fsf.org>
> Date: Mon, 13 Oct 2014 13:46:09 -0500
> Subject: [PATCH] guix: refresh: Use bags.
>
> * guix/packages.scm (bag-direct-inputs): New procedure.
> * gnu/packages.scm (package-dependencies): Use it.
>   (fold-packages*): New procedure.
> * guix/scripts/refresh.scm (guix-refresh)[list-dependent]: Use it.

[...]

> --- a/guix/scripts/refresh.scm
> +++ b/guix/scripts/refresh.scm
> @@ -232,16 +232,27 @@ update would trigger a complete rebuild."
>      (with-error-handling
>        (cond
>         (list-dependent?
> -        (let* ((rebuilds (map package-full-name
> -                              (package-covering-dependents packages)))
> +        (let* ((packages*
> +                ;; Need to consider private packages, which are not found by
> +                ;; find-packages-by-name
> +                (fold-packages*
> +                 (let ((package-names (map package-name packages)))
> +                   (lambda (p r)
> +                     (if (find (cut string=? (package-name p) <>)
> +                               package-names)
> +                         (cons p r)
> +                         r)))
> +                 '()))
> +               (rebuilds (map package-full-name
> +                              (package-covering-dependents packages*)))

Could you move the computation of the package list to a different
procedure?  Possibly merging it with the existing expression that
computes ‘packages’ and which is already quite big.

> I'm also attaching the script I used to produce the package dependency
> count table I included previously.  With this updated patch, the numbers
> look much more reasonable and complete for the "core" packages.
>
>
>
> And the revised output, if anyone doesn't want to take the time to run
> the script themselves.
>
> binutils-bootstrap-0......................... 974 (99.39%)
> bootstrap-binaries-0......................... 974 (99.39%)
> file-5.19.................................... 974 (99.39%)
> findutils-4.4.2.............................. 974 (99.39%)
> diffutils-3.3................................ 974 (99.39%)

Looks good.

It would be nice to show this info on the output of
build-aux/list-packages.scm (used to build
<https://www.gnu.org/software/guix/package-list.html>.)

Thanks,
Ludo’.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH] guix: refresh: Use bags.
  2014-10-13 21:31         ` Ludovic Courtès
@ 2014-10-14 17:06           ` Eric Bavier
  2014-10-14 19:09             ` Ludovic Courtès
  2014-10-20 16:58           ` Eric Bavier
  1 sibling, 1 reply; 12+ messages in thread
From: Eric Bavier @ 2014-10-14 17:06 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: guix-devel


Ludovic Courtès writes:

> Eric Bavier <ericbavier@gmail.com> skribis:
>
>> This patch may need to go in core-updates.
>
> Why?

Would changes in gnu/packages.scm not trigger rebuilds for most
packages?

> It would be nice to show this info on the output of
> build-aux/list-packages.scm (used to build
> <https://www.gnu.org/software/guix/package-list.html>.)

That would be nice, yes.  Did you have something specific in mind?
Perhaps a line under "status" that says "X packages depend on this
package"?

-- 
Eric Bavier

Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH] guix: refresh: Use bags.
  2014-10-14 17:06           ` Eric Bavier
@ 2014-10-14 19:09             ` Ludovic Courtès
  0 siblings, 0 replies; 12+ messages in thread
From: Ludovic Courtès @ 2014-10-14 19:09 UTC (permalink / raw)
  To: Eric Bavier; +Cc: guix-devel

Eric Bavier <ericbavier@gmail.com> skribis:

> Ludovic Courtès writes:
>
>> Eric Bavier <ericbavier@gmail.com> skribis:
>>
>>> This patch may need to go in core-updates.
>>
>> Why?
>
> Would changes in gnu/packages.scm not trigger rebuilds for most
> packages?

No, because this file is just a “host-side” module, it is not used as an
input to build processes.

>> It would be nice to show this info on the output of
>> build-aux/list-packages.scm (used to build
>> <https://www.gnu.org/software/guix/package-list.html>.)
>
> That would be nice, yes.  Did you have something specific in mind?
> Perhaps a line under "status" that says "X packages depend on this
> package"?

Yes, or just “used by X packages”.

Ludo’.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH] guix: refresh: Use bags.
  2014-10-13 21:31         ` Ludovic Courtès
  2014-10-14 17:06           ` Eric Bavier
@ 2014-10-20 16:58           ` Eric Bavier
  2014-10-25 21:36             ` Ludovic Courtès
  1 sibling, 1 reply; 12+ messages in thread
From: Eric Bavier @ 2014-10-20 16:58 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: guix-devel

[-- Attachment #1: Type: text/plain, Size: 813 bytes --]


Ludovic Courtès writes:

> Eric Bavier <ericbavier@gmail.com> skribis:
>
>> Ludovic Courtès writes:
>>
>> From 1d22367e0806cea004631e22a782b7db3ffe65b0 Mon Sep 17 00:00:00 2001
>> From: Eric Bavier <bavier@member.fsf.org>
>> Date: Mon, 13 Oct 2014 13:46:09 -0500
>> Subject: [PATCH] guix: refresh: Use bags.
>>
>> * guix/packages.scm (bag-direct-inputs): New procedure.
>> * gnu/packages.scm (package-dependencies): Use it.
>>   (fold-packages*): New procedure.
>> * guix/scripts/refresh.scm (guix-refresh)[list-dependent]: Use it.
>
> [...]
>
> Could you move the computation of the package list to a different
> procedure?  Possibly merging it with the existing expression that
> computes ‘packages’ and which is already quite big.

New patch attached that cleans up the package list computation a bit.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-guix-refresh-Use-bags.patch --]
[-- Type: text/x-diff, Size: 9851 bytes --]

From 0125e2d9a1564eb5e0817d50ea304bb4cb8d7030 Mon Sep 17 00:00:00 2001
From: Eric Bavier <bavier@member.fsf.org>
Date: Mon, 20 Oct 2014 11:44:03 -0500
Subject: [PATCH] guix: refresh: Use bags.

* guix/packages.scm (bag-direct-inputs): New procedure.
* gnu/packages.scm (package-dependencies): Use it.
  (fold-packages*): New procedure.
* guix/scripts/refresh.scm (guix-refresh)[list-dependent]: Use it.
---
 gnu/packages.scm         |   19 +++++++--
 guix/packages.scm        |   11 +++--
 guix/scripts/refresh.scm |  100 +++++++++++++++++++++++++++++-----------------
 3 files changed, 87 insertions(+), 43 deletions(-)

diff --git a/gnu/packages.scm b/gnu/packages.scm
index 281d0d2..d3a064c 100644
--- a/gnu/packages.scm
+++ b/gnu/packages.scm
@@ -38,6 +38,7 @@
             %package-module-path
 
             fold-packages
+            fold-packages*
 
             find-packages-by-name
             find-best-packages-by-name
@@ -179,6 +180,18 @@ same package twice."
           vlist-null
           (all-package-modules))))
 
+(define (fold-packages* proc init)
+  "Call (PROC PACKAGE RESULT) for every defined package, including
+module-private packages, using INIT as the initial value of RESULT.  It is
+guaranteed to never traverse the same package twice."
+  (fold-tree
+   proc init
+   (lambda (package)
+     (match (bag-direct-inputs (package->bag package))
+       (((labels inputs . _) ...)
+        (filter package? inputs))))
+   (fold-packages cons '())))
+
 (define find-packages-by-name
   (let ((packages (delay
                     (fold-packages (lambda (p r)
@@ -250,9 +263,9 @@ list of packages that depend on that package."
                         (cons package (vhash-refq d in '()))
                         (vhash-delq in d)))
          dag
-         (match (package-direct-inputs package)
-           (((labels packages . _) ...)
-            packages) )))
+         (match (bag-direct-inputs (package->bag package))
+           (((labels inputs . _) ...)
+            (filter package? inputs)))))
       vlist-null))))
 
 (define (package-direct-dependents packages)
diff --git a/guix/packages.scm b/guix/packages.scm
index b397a24..4bf0a08 100644
--- a/guix/packages.scm
+++ b/guix/packages.scm
@@ -98,6 +98,7 @@
 
             package->bag
             bag->derivation
+            bag-direct-inputs
             bag-transitive-inputs
             bag-transitive-host-inputs
             bag-transitive-build-inputs
@@ -537,11 +538,15 @@ for the host system (\"native inputs\"), and not target inputs."
 recursively."
   (transitive-inputs (package-propagated-inputs package)))
 
+(define (bag-direct-inputs bag)
+  "Same as 'package-direct-inputs', but applied to a bag."
+  (append (bag-build-inputs bag)
+          (bag-host-inputs bag)
+          (bag-target-inputs bag)))
+
 (define (bag-transitive-inputs bag)
   "Same as 'package-transitive-inputs', but applied to a bag."
-  (transitive-inputs (append (bag-build-inputs bag)
-                             (bag-host-inputs bag)
-                             (bag-target-inputs bag))))
+  (transitive-inputs (bag-direct-inputs bag)))
 
 (define (bag-transitive-build-inputs bag)
   "Same as 'package-transitive-native-inputs', but applied to a bag."
diff --git a/guix/scripts/refresh.scm b/guix/scripts/refresh.scm
index d31e6d4..1f878d8 100644
--- a/guix/scripts/refresh.scm
+++ b/guix/scripts/refresh.scm
@@ -182,6 +182,39 @@ downloaded and authenticated; not updating")
         (_
          (cons package lst)))))
 
+  (define* (package-specs->packages specs #:key (include-private? #f))
+    "Return a list of packages from the package specifications in SPECS.  If
+INCLUDE-PRIVATE? is #t, then also include module-private packages having the
+same specification."
+    (let ((packages (map specification->package specs)))
+      (if include-private?
+          (fold-packages*
+           (let ((names (map package-full-name packages)))
+             (lambda (package result)
+               (if (find (cut string=? (package-full-name package) <>)
+                         names)
+                   (cons package result)
+                   result)))
+           '())
+          packages)))
+
+  (define (select-newest-packages select?)
+    "Return a list of packages for which (SELECT? PACKAGE) return #t.  If
+multiple packages of the same name are selected, only the newest version is
+returned."
+    (fold-packages (lambda (package result)
+                     (if (select? package)
+                         (keep-newest package result)
+                         result))
+                   '()))
+
+  (define (packages-from-specs-or-select specs select?)
+    "Return a list of packages from the package specifications in SPECS, or by
+selecting the newest packages with SELECT?."
+    (match specs
+      (() (select-newest-packages select?))
+      (specs (package-specs->packages specs))))
+
   (define core-package?
     (let* ((input->package (match-lambda
                             ((name (? package? package) _ ...) package)
@@ -206,33 +239,24 @@ update would trigger a complete rebuild."
          (update?         (assoc-ref opts 'update?))
          (list-dependent? (assoc-ref opts 'list-dependent?))
          (key-download    (assoc-ref opts 'key-download))
-         (packages
-          (match (concatenate
-                  (filter-map (match-lambda
-                               (('argument . value)
-                                (let ((p (find-packages-by-name value)))
-                                  (when (null? p)
-                                    (leave (_ "~a: no package by that name~%")
-                                           value))
-                                  p))
-                               (_ #f))
-                              opts))
-                 (()                          ; default to all packages
-                  (let ((select? (match (assoc-ref opts 'select)
-                                        ('core core-package?)
-                                        ('non-core (negate core-package?))
-                                        (_ (const #t)))))
-                    (fold-packages (lambda (package result)
-                                     (if (select? package)
-                                         (keep-newest package result)
-                                         result))
-                                   '())))
-                 (some                        ; user-specified packages
-                  some))))
+         (package-specs   (filter-map (match-lambda
+                                       (('argument . value) value)
+                                       (_ #f))
+                                      opts))
+         (select?         (match (assoc-ref opts 'select)
+                            ('core core-package?)
+                            ('non-core (negate core-package?))
+                            (_ (const #t)))))
     (with-error-handling
       (cond
        (list-dependent?
-        (let* ((rebuilds (map package-full-name
+        (let* ((packages (match package-specs
+                           (()
+                            (leave (_ "package arguments required~%")))
+                           (specs
+                            (package-specs->packages
+                             specs #:include-private? #t))))
+               (rebuilds (map package-full-name
                               (package-covering-dependents packages)))
                (total-dependents
                 (length (package-transitive-dependents packages))))
@@ -252,7 +276,8 @@ dependent packages are rebuilt: ~{~a~^ ~}~%"
                           (length rebuilds))
                       (length rebuilds) total-dependents rebuilds))))
        (update?
-        (let ((store (open-connection)))
+        (let ((store    (open-connection))
+              (packages (packages-from-specs-or-select package-specs select?)))
           (parameterize ((%openpgp-key-server
                           (or (assoc-ref opts 'key-server)
                               (%openpgp-key-server)))
@@ -263,15 +288,16 @@ dependent packages are rebuilt: ~{~a~^ ~}~%"
              (cut update-package store <> #:key-download key-download)
              packages))))
        (else
-        (for-each (lambda (package)
-                    (match (false-if-exception (package-update-path package))
-                      ((new-version . directory)
-                       (let ((loc (or (package-field-location package 'version)
-                                      (package-location package))))
-                         (format (current-error-port)
-                                 (_ "~a: ~a would be upgraded from ~a to ~a~%")
-                                 (location->string loc)
-                                 (package-name package) (package-version package)
-                                 new-version)))
-                      (_ #f)))
-                  packages))))))
+        (let ((packages (packages-from-specs-or-select package-specs select?)))
+          (for-each (lambda (package)
+                      (match (false-if-exception (package-update-path package))
+                        ((new-version . directory)
+                         (let ((loc (or (package-field-location package 'version)
+                                        (package-location package))))
+                           (format (current-error-port)
+                                   (_ "~a: ~a would be upgraded from ~a to ~a~%")
+                                   (location->string loc)
+                                   (package-name package) (package-version package)
+                                   new-version)))
+                        (_ #f)))
+                    packages)))))))
-- 
1.7.9.5


[-- Attachment #3: Type: text/plain, Size: 767 bytes --]


This patch also changes the behavior of `guix refresh` a little.
Previously, if there were a package with two versions, e.g. bison-2.7
and bison-3.0.2, `guix refresh bison` would report::

  gnu/packages/bison.scm:33:4: bison would be upgraded from 2.7 to 3.0.2

Which is silly because we already have a bison-3.0.2.  This patch uses
specification->package for the command-line named packages, so that only
the newest version of a package is considered by default for upgrading.
I would imagine this is the expected behavior.

> It would be nice to show this info on the output of
> build-aux/list-packages.scm (used to build
> <https://www.gnu.org/software/guix/package-list.html>.)

I'm following up this message with a new patch thread for this.

-- 
Eric Bavier

^ permalink raw reply related	[flat|nested] 12+ messages in thread

* Re: [PATCH] guix: refresh: Use bags.
  2014-10-20 16:58           ` Eric Bavier
@ 2014-10-25 21:36             ` Ludovic Courtès
  0 siblings, 0 replies; 12+ messages in thread
From: Ludovic Courtès @ 2014-10-25 21:36 UTC (permalink / raw)
  To: Eric Bavier; +Cc: guix-devel

Eric Bavier <ericbavier@gmail.com> skribis:

> Ludovic Courtès writes:
>
>> Eric Bavier <ericbavier@gmail.com> skribis:
>>
>>> Ludovic Courtès writes:
>>>
>>> From 1d22367e0806cea004631e22a782b7db3ffe65b0 Mon Sep 17 00:00:00 2001
>>> From: Eric Bavier <bavier@member.fsf.org>
>>> Date: Mon, 13 Oct 2014 13:46:09 -0500
>>> Subject: [PATCH] guix: refresh: Use bags.
>>>
>>> * guix/packages.scm (bag-direct-inputs): New procedure.
>>> * gnu/packages.scm (package-dependencies): Use it.
>>>   (fold-packages*): New procedure.
>>> * guix/scripts/refresh.scm (guix-refresh)[list-dependent]: Use it.
>>
>> [...]
>>
>> Could you move the computation of the package list to a different
>> procedure?  Possibly merging it with the existing expression that
>> computes ‘packages’ and which is already quite big.
>
> New patch attached that cleans up the package list computation a bit.
>
>
> From 0125e2d9a1564eb5e0817d50ea304bb4cb8d7030 Mon Sep 17 00:00:00 2001
> From: Eric Bavier <bavier@member.fsf.org>
> Date: Mon, 20 Oct 2014 11:44:03 -0500
> Subject: [PATCH] guix: refresh: Use bags.
>
> * guix/packages.scm (bag-direct-inputs): New procedure.
> * gnu/packages.scm (package-dependencies): Use it.
>   (fold-packages*): New procedure.
> * guix/scripts/refresh.scm (guix-refresh)[list-dependent]: Use it.

Looks good to me.

Ideally, we’d make one patch for the refactor, one for the new feature,
and one for the ‘guix refresh -l’ change, for easier review and
bisection should a regression be found, but that’s OK here.

> This patch also changes the behavior of `guix refresh` a little.
> Previously, if there were a package with two versions, e.g. bison-2.7
> and bison-3.0.2, `guix refresh bison` would report::
>
>   gnu/packages/bison.scm:33:4: bison would be upgraded from 2.7 to 3.0.2
>
> Which is silly because we already have a bison-3.0.2.  This patch uses
> specification->package for the command-line named packages, so that only
> the newest version of a package is considered by default for upgrading.
> I would imagine this is the expected behavior.

Yes, that’s definitely an improvement.

In some cases, such as old stable branches of GCC, the situation is more
complex, but the general case is as you describe.

Thanks!

Ludo’.

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2014-10-25 21:36 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-10 19:32 [PATCH] guix: refresh: Use bags Eric Bavier
2014-10-10 19:42 ` David Thompson
2014-10-10 20:42 ` Ludovic Courtès
2014-10-11  1:46   ` Eric Bavier
2014-10-11  4:49   ` Eric Bavier
2014-10-11 22:09     ` Ludovic Courtès
2014-10-13 19:18       ` Eric Bavier
2014-10-13 21:31         ` Ludovic Courtès
2014-10-14 17:06           ` Eric Bavier
2014-10-14 19:09             ` Ludovic Courtès
2014-10-20 16:58           ` Eric Bavier
2014-10-25 21:36             ` Ludovic Courtès

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.