Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 390563 - app-text/calibre should not depend on udisks unconditionally
Summary: app-text/calibre should not depend on udisks unconditionally
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Zac Medico
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2011-11-14 19:21 UTC by nopenope
Modified: 2011-11-15 15:58 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description nopenope 2011-11-14 19:21:24 UTC
when trying to update calibre, I discovered the ebuild for new verion includes udisks as dependency, which in turns, triggers a lot of dependencies:

   emerge -tp calibre

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[ebuild     U ~] app-text/calibre-0.8.26 [0.8.25] 36,900 kB
[ebuild  N     ]  sys-fs/udisks-1.0.4-r1  USE="nls -debug -doc -remote-access" 704 kB
[nomerge       ] sys-fs/udisks-1.0.4-r1  USE="nls -debug -doc -remote-access" 
[nomerge       ]  sys-auth/polkit-0.102  USE="gtk introspection nls pam -debug -doc -examples -kde" 
[ebuild  N     ]   gnome-extra/polkit-gnome-0.101-r1  USE="introspection -doc -examples" 0 kB
[ebuild  N     ]   sys-auth/pambase-20101024  USE="consolekit cracklib sha512 -debug -gnome-keyring -minimal -mktemp -pam_krb5 -pam_ssh -passwdqc (-selinux)" 0 kB
[ebuild  N     ]    sys-auth/consolekit-0.4.5-r1  USE="pam policykit -debug -doc -test" 0 kB
[ebuild  N     ]     sys-auth/polkit-0.102  USE="gtk introspection nls pam -debug -doc -examples -kde" 0 kB
[ebuild  N     ]      virtual/pam-0  0 kB
[ebuild  N     ]       sys-libs/pam-1.1.5  USE="berkdb cracklib nls -audit -debug -nis (-selinux) -test -vim-syntax" 1,584 kB
[nomerge       ] gnome-extra/polkit-gnome-0.101-r1  USE="introspection -doc -examples" 
[ebuild  N     ]  dev-util/gtk-doc-am-1.18  0 kB
[ebuild  N     ]  gnome-base/gnome-common-2.34.0  0 kB
[nomerge       ] sys-fs/udisks-1.0.4-r1  USE="nls -debug -doc -remote-access" 
[ebuild  N     ]  sys-fs/lvm2-2.02.73-r1  USE="lvm1 readline static (-clvm) (-cman) (-selinux)" 916 kB
[ebuild  N     ]  dev-libs/libatasmart-0.17  USE="-static-libs" 368 kB

Total: 12 packages (1 upgrade, 11 new), Size of downloads: 40,470 kB


It happens that udisks is not requiered to build calibre, I took of the dependency from the ebuild file:

+++ /usr/portage/app-text/calibre/calibre-0.8.26.ebuild	2011-11-14 11:27:34.626629731 -0600
@@ -41,7 +41,7 @@
 
 RDEPEND="${COMMON_DEPEND}
 	>=dev-python/reportlab-2.1
-	sys-fs/udisks"
+	"
 
 DEPEND="${COMMON_DEPEND}
 	>=dev-python/setuptools-0.6_rc5

   emerge -p calibre

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ~] app-text/calibre-0.8.26 [0.8.25] 36,900 kB

calibre builds and runs ok.



Reproducible: Always

Actual Results:  
calibre's ebuild triggers a long list of (gnome even) related dependencies that are not requiered to build the package. Neither to execute it.

Expected Results:  
udisk dependency should be optional (eg useword) in order to prevent software I don't requiere to be installed on my system

I do use calibre to access my B&N nook. I mount the nook with the following line in /etc/fstab: 
 grep nook /etc/fstab 
/dev/disk/by-id/usb-B_N_NOOK_372041756775-0:0  /media/nook        vfat       noauto,users,defaults                       0 0

Really, udisks is not requiered (although useful) to install/run calibre
Comment 1 Zac Medico gentoo-dev 2011-11-15 15:58:19 UTC
Thanks, I've added a udisks USE flag so you can disable the dependency now.