Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 287973 - sys-power/pm-utils un-necessarily depends on hal
Summary: sys-power/pm-utils un-necessarily depends on hal
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Freedesktop bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-06 22:19 UTC by Andrew Brouwers
Modified: 2010-03-25 00:25 UTC (History)
1 user (show)

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


Attachments
pm-utils 1.3.0 ebuild update (pm-utils_update.diff,1.08 KB, patch)
2010-03-25 00:25 UTC, Andrew Brouwers
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Brouwers 2009-10-06 22:19:34 UTC
pm-utils builds and functions very well without hal, although the ebuild has a hard dependency on it.  This could probably be made into a use flag, for those who have -hal set, yet want to use pm-utils.

Built fine locally without hal, and suspend/resume works as expected:

Portage 2.1.6.13 (default/linux/amd64/10.0/no-multilib, gcc-4.4.1, glibc-2.10.1-r0, 2.6.31.2 x86_64)
=================================================================
System uname: Linux-2.6.31.2-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T7250_@_2.00GHz-with-gentoo-2.0.1
Timestamp of tree: Tue, 06 Oct 2009 21:00:01 +0000
app-shells/bash:     4.0_p33
dev-lang/python:     2.6.3
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r3
sys-apps/sandbox:    2.1
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=core2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude=ChangeLog --delete-excluded"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac acl alsa amd64 berkdb bzip2 cairo cddb cdr cli dbus djvu dri dvd dvdr encode flac fortran gdbm gif gphoto2 iconv imagemagick isdnlog jpeg lame laptop mad mmx mng modules mp3 mp4 mpeg mplayer mudflap nptl nptlonly offensive ogg opengl openmp pcre pdf perl png pppd readline reflection session spl sqlite sse sse2 ssl svg sysfs taglib tcpd theora tiff unicode usb vorbis wifi x264 xcomposite xorg xulrunner zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev synaptics mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="vesa intel"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS


Reproducible: Always
Comment 1 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-12-06 15:56:11 UTC
various command line utilities are in fact using hal. There was discussion on hal mailing list to make pm-utils hal free, so it will probably happen in the near future. Closing invalid for now.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2010-03-24 18:32:46 UTC
*** Bug 311059 has been marked as a duplicate of this bug. ***
Comment 3 Andrew Brouwers 2010-03-25 00:25:22 UTC
Created attachment 225173 [details, diff]
pm-utils 1.3.0 ebuild update

I've been using this for a couple weeks now without much issue (including some of the pre-1.3 releases).  Since upsteam has commented that the pm-quirks package will be few and far between, I really didn't think it made sense to create a completely new package for it.