diff options
author | Tony Vroon <chainsaw@gentoo.org> | 2009-03-08 22:03:59 +0000 |
---|---|---|
committer | Tony Vroon <chainsaw@gentoo.org> | 2009-03-08 22:03:59 +0000 |
commit | 902d49f69aa5ff70405000aa7948dad6a4b88c84 (patch) | |
tree | d9bac90040272626f806545702315a8fd5cffdd1 /sys-apps/hal | |
parent | amd64/x86 stable, bug #225519 (diff) | |
download | historical-902d49f69aa5ff70405000aa7948dad6a4b88c84.tar.gz historical-902d49f69aa5ff70405000aa7948dad6a4b88c84.tar.bz2 historical-902d49f69aa5ff70405000aa7948dad6a4b88c84.zip |
Update HOMEPAGE, closes bug #261356 by Mr. Anderson <walch.martin@web.de>. Version bump to 0.5.12 release candidate 1 which incorporates some patches. Patchset trimmed and rebased accordingly.
Package-Manager: portage-2.1.6.7/cvs/Linux x86_64
Diffstat (limited to 'sys-apps/hal')
-rw-r--r-- | sys-apps/hal/ChangeLog | 16 | ||||
-rw-r--r-- | sys-apps/hal/Manifest | 26 | ||||
-rw-r--r-- | sys-apps/hal/hal-0.5.11-r1.ebuild | 302 | ||||
-rw-r--r-- | sys-apps/hal/hal-0.5.11-r4.ebuild | 4 | ||||
-rw-r--r-- | sys-apps/hal/hal-0.5.11-r6.ebuild | 307 | ||||
-rw-r--r-- | sys-apps/hal/hal-0.5.11-r8.ebuild | 4 | ||||
-rw-r--r-- | sys-apps/hal/hal-0.5.12_rc1.ebuild (renamed from sys-apps/hal/hal-0.5.11-r7.ebuild) | 17 | ||||
-rw-r--r-- | sys-apps/hal/hal-0.5.9.1-r3.ebuild | 4 |
8 files changed, 48 insertions, 632 deletions
diff --git a/sys-apps/hal/ChangeLog b/sys-apps/hal/ChangeLog index 1278b55f3348..36cfe25e372a 100644 --- a/sys-apps/hal/ChangeLog +++ b/sys-apps/hal/ChangeLog @@ -1,10 +1,24 @@ # ChangeLog for sys-apps/hal # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/hal/ChangeLog,v 1.277 2009/03/08 21:54:11 josejx Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/hal/ChangeLog,v 1.278 2009/03/08 22:03:59 chainsaw Exp $ 08 Mar 2009; Joseph Jezak <josejx@gentoo.org> hal-0.5.11-r8.ebuild: Marked ppc64 for bug #259080. +*hal-0.5.12_rc1 (08 Mar 2009) + + 08 Mar 2009; <chainsaw@gentoo.org> hal-0.5.9.1-r3.ebuild, + -hal-0.5.11-r1.ebuild, hal-0.5.11-r4.ebuild, -hal-0.5.11-r6.ebuild, + -hal-0.5.11-r7.ebuild, hal-0.5.11-r8.ebuild, +hal-0.5.12_rc1.ebuild: + Update HOMEPAGE, closes bug #261356 by Mr. Anderson <walch.martin@web.de>. + Version bump to 0.5.12 release candidate 1 which incorporates some + patches. Patchset trimmed and rebased accordingly. + + 08 Mar 2009; <chainsaw@gentoo.org> -hal-0.5.11-r1.ebuild, + -hal-0.5.11-r6.ebuild, -hal-0.5.11-r7.ebuild: + Spring cleaning, -r1, -r6 & -r7 are no longer required. Will have to keep + -r4 around until requested PPC64 keywording is completed. + 21 Feb 2009; Jeroen Roovers <jer@gentoo.org> hal-0.5.11-r8.ebuild: Stable for HPPA (bug #259080). diff --git a/sys-apps/hal/Manifest b/sys-apps/hal/Manifest index d087ae2286db..be41726135eb 100644 --- a/sys-apps/hal/Manifest +++ b/sys-apps/hal/Manifest @@ -1,3 +1,6 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + AUX 0.5-hald.rc 681 RMD160 f94d4a6e4ffb3beb84eeeb8e25564fa566ecc493 SHA1 fe413a84ee58cefa923cbc922a1c961fbdb17aa6 SHA256 802f83998c50a3e030d1db2f5a8364e4bb10eebecd464683445d63cf56702161 AUX 0.5.10-hald.conf 119 RMD160 06e205ba7fa8acfb6f68e84a247845a3ad028351 SHA1 c8a62a808c7f632154dda1686fe344a4a136e28f SHA256 b19e6df9c78b6f813405a7cbff20e049714db1a000e6b71ab2eca02d372d58af AUX 0.5.10-hald.rc 1111 RMD160 e4b6aaf254a8b909781006151d40060990681412 SHA1 3ab3c81517ee286a6407ff7e068b1ab0e2695fe5 SHA256 6c36fb7d9c2e3f29e9f35332a7ea97ba85d977de4cdd6b355e3a7d6c2b82aca7 @@ -59,18 +62,23 @@ AUX hal-0.5.7.1-rescan-on-resume.patch 517 RMD160 7b16d9f68e32945951a1f5d6c27f69 AUX hal-0.5.7.1-sr-driver.patch 654 RMD160 86a98b6ceb98f797badd3e1c653f181d498138b1 SHA1 8c1538eb5d1192e336627f1c59c365b2b73b0a6d SHA256 52191c2230af31f0bf18f39a5f0e6d24728da5c7e0de627be55046561318ca55 AUX hal-0.5.9-hide-recovery-partitions.patch 572 RMD160 bb59ba36f8db6724466cbe41404eb11a9bc4e256 SHA1 856113162e0bed503eab43374eae052637fd9d02 SHA256 85e586bbdb5e450d34b691a54d73d6bfa4beac3a38538cac289a104a01927bd7 AUX hal-unmount.dev 397 RMD160 78286dd9527bbb421082e73b0d08e06cd514d275 SHA1 31169a28448fb1eb1dfee5d1699de9a02449a6b7 SHA256 747a4c483f8a558f2c75666e9547e539475f112363f1dbfc6ea19ca393c8e89b -DIST hal-0.5.11-gentoo-patches-1.tar.bz2 3941 RMD160 a33c088dbb9dac955870959238fa8292d6dba460 SHA1 c279a44301841a15d9ebef740953e11184f46d99 SHA256 23498d492e2b14749606d94865c70798a3caa47e3385d5aca02ed2f39422a375 DIST hal-0.5.11-gentoo-patches-3.tar.bz2 5393 RMD160 651604cfee7664036e9fd96491e4ca4e73e78b4a SHA1 52d4c4157ceacec3f90aef602b2d227f5a5281c1 SHA256 db1ba0031baeaa0330fb876776a069fefd267bbbf61b9434a0fba2cc3e2e9453 -DIST hal-0.5.11-gentoo-patches-4.tar.bz2 7118 RMD160 aa87f6bf7ea7cca404efc4b6d1dab820be5a8f89 SHA1 70f8ada7f76f3da8017253eaa4e28e37bd13e768 SHA256 ab416a9fdeb7e8b37fbf2d1a5a575d70aaf8a37926cd38e38320059eca94bf3d DIST hal-0.5.11-gentoo-patches-5.tar.bz2 8890 RMD160 ffa1ae251baa8caff74f343f9852a95b800ed9c5 SHA1 7ff6aa207216ac2fdaf1bb4e468c78a2884ef804 SHA256 f03d8f84f97dc3716aebaabc2af43762a8e1a2ffe5acb532915d31ac9794bc21 DIST hal-0.5.11.tar.bz2 1281251 RMD160 741cfe82f0bc2d67106b24cfe526a754ab36e45f SHA1 1ddb7895d2ddc2464b553ad11f7ba38860478ae9 SHA256 78a2621209b2db4d71f25fe3a7df7b7dd4b5e866e9c699454b78e611def065cf +DIST hal-0.5.12rc1-gentoo-patches-1.tar.bz2 3828 RMD160 3c313dd63c4f7b81bb61701222252086aeeafc1c SHA1 11d74bde76f6b03daa0afa03d3d7ccb83f8d6e27 SHA256 0f182436469223e6a2b06cfe2f2fc893f17c351075b259977f217756962a05dd +DIST hal-0.5.12rc1.tar.bz2 1160384 RMD160 dce660d600c18bfd910814516b675f141d369824 SHA1 1dc809e98cea0fc2f183958da24921c2eaf55edc SHA256 eeeb438dcc2a58288ed3def8c1d0076ca16f35b54d501c46f96e89da24fe38f4 DIST hal-0.5.9.1-r2.tar.bz2 4246 RMD160 2b1646289c23db868bd969f7ae851e6c2d317bad SHA1 32db287e0eff7f4754b89633909daf0f6e957009 SHA256 f28ed6e02df926ef485fff79587856eb0155c747e311d83d1b6b5e3a25b924c2 DIST hal-0.5.9.1.tar.gz 1596347 RMD160 4f1f8b9513d4e168d4d043970c062cc9084f554f SHA1 fc29322a0beba73c2eab3e0a44f9b820a5fbccdd SHA256 5dc5cf08502510a00cecd6e04ef006a74ba7ed4b31d25187b5efadd70a78733b -EBUILD hal-0.5.11-r1.ebuild 9417 RMD160 bb62fa55a9506ece923bff8194df1326f6b6516d SHA1 5c24ef0036a63ecea737fecaa7060a8edad96830 SHA256 0fa6dab41f074b90c4a7165849b3028bf21710cd872b15763fc94b4feca5d514 -EBUILD hal-0.5.11-r4.ebuild 9495 RMD160 880ec5d3700beb6a037a4f90f3674d54ef4756b2 SHA1 b2df908f30f2f333c9ed60dab77c020c705fb32e SHA256 3805f3420b21e36ef5b842eb7bd0020cdbc0e947bf970bae12da269aa75c4bc0 -EBUILD hal-0.5.11-r6.ebuild 9574 RMD160 af71da4cf940751e3a13f792daa6f153d819485a SHA1 84753106fc3bebefd0f64574589977309a21ccc1 SHA256 a6f820dbf1c2567d5b14e96c22a8305ad67462d14c0a233a39b84777320df20c -EBUILD hal-0.5.11-r7.ebuild 8816 RMD160 9090a14aad5eff0acf97a7b9b345985c75a60e3c SHA1 a03553bc66b97e3ebc25b3be403cbe7a4b2353dd SHA256 a5244f2d60b4d44e75adfb4e115c5a4de5fd32d9ea80469893a5f1e0ef556276 -EBUILD hal-0.5.11-r8.ebuild 8898 RMD160 80299fa4bebf352e57b4f39398028610dfb24e9a SHA1 92edde1527416a338d968071d56dca8669421243 SHA256 18dc9d0d052586559489baf2eea254d565ae1498bc9bfccfd3836d029ed8c5b2 -EBUILD hal-0.5.9.1-r3.ebuild 6699 RMD160 4c412524fcd8a54102965fa37e78bdfa313da449 SHA1 49fc61ce2f263c342d194572dc98ea5b935979a6 SHA256 16c978a9693119e2fa5b5cd6a6f8147f0caf14b5d3bb0c31246726f586295310 -MISC ChangeLog 45808 RMD160 2a36533f9b43453db8b1f33131fee30e54b8cd59 SHA1 f0cc2546fc5436272b6184e471e7a858cef9d1a5 SHA256 d25d0137fe17f2d8a82fa5f6b29fc6b5a8a2f53a0b78e28819cfd1f44425e86b +EBUILD hal-0.5.11-r4.ebuild 9500 RMD160 680791c2e323066bb90300179741133b51a54bbb SHA1 0c4d64fa18f9c9203e48660e85b57cb6c7255299 SHA256 a946413903f29c195a8f3326f07dc9ef1b8963351ff01e09368174446e33ab22 +EBUILD hal-0.5.11-r8.ebuild 8905 RMD160 ba2f97b013ae5c679860da801b7edef1c3f17d8a SHA1 cffa0f28bad0b0a2fc87be4bce88c8d0ce64fe50 SHA256 4a51ca34499fb2ee6ca76855e3d8aa6a74b173e72e91a0f9937c0942f784aae1 +EBUILD hal-0.5.12_rc1.ebuild 8925 RMD160 2a02dd1ab3038ac4a4425d23c2c0aeaddcf875d8 SHA1 22c3d1077bc73c7de709ee3f2657d7bfe2064850 SHA256 384f12cfbb3108d9e8cabf198aba5d23ff5ad744db41a9f7e06132cbbd32c030 +EBUILD hal-0.5.9.1-r3.ebuild 6704 RMD160 86eb2621d6b9c84e8a4f42d5421819137e4f27c4 SHA1 f554bb7afb5f8a382309c3b1f876ada8fc122857 SHA256 311fee1a7d36f23cbda362459bfa04a5bdcc119518c44bfd00724461e4607f2a +MISC ChangeLog 46487 RMD160 c3098d7acb4dc443934ca23ba2edc97cfb551cd3 SHA1 d7f39db588718ee7e6d6d083360669bbb4137835 SHA256 dbe4e4c0905e63ae9a695501d809e928707c447aa02ee199eaabc1a50b4e44f9 MISC metadata.xml 1984 RMD160 263001c76f3c12d226f06e19e5a77997945eef53 SHA1 43d34fe6e9836b1291c144985ca017f0cc5cc143 SHA256 e389394a84294db6330bf3f300e3a511caab2460b9f35d9c922763101e4dad13 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.10 (GNU/Linux) + +iEYEARECAAYFAkm0QVIACgkQp5vW4rUFj5r8XACfVdJdsX/tXKvpHcySeAEeN3iP +Fo4AoJZUum1sQbhtc5lVM6t9psB68VvB +=BbgF +-----END PGP SIGNATURE----- diff --git a/sys-apps/hal/hal-0.5.11-r1.ebuild b/sys-apps/hal/hal-0.5.11-r1.ebuild deleted file mode 100644 index 27cbfb85b415..000000000000 --- a/sys-apps/hal/hal-0.5.11-r1.ebuild +++ /dev/null @@ -1,302 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/hal/hal-0.5.11-r1.ebuild,v 1.16 2009/02/05 10:18:24 chainsaw Exp $ - -inherit eutils linux-info autotools flag-o-matic - -PATCH_VERSION="1" - -DESCRIPTION="Hardware Abstraction Layer" -HOMEPAGE="http://www.freedesktop.org/Software/hal" -SRC_URI="http://hal.freedesktop.org/releases/${P/_/}.tar.bz2 - http://dev.gentoo.org/~compnerd/files/${PN}/${P}-gentoo-patches-${PATCH_VERSION}.tar.bz2" - -LICENSE="|| ( GPL-2 AFL-2.0 )" -SLOT="0" -KEYWORDS="alpha amd64 hppa ia64 ppc sparc x86" - -KERNEL_IUSE="kernel_linux kernel_FreeBSD" -IUSE="X acpi apm crypt debug dell disk-partition doc laptop selinux ${KERNEL_IUSE}" - -RDEPEND=">=dev-libs/dbus-glib-0.61 - >=dev-libs/glib-2.14 - >=dev-libs/expat-1.95.8 - >=dev-libs/libusb-0.1.10a - >=sys-apps/pciutils-2.2.7-r1 - >=dev-util/gperf-3.0.3 - sys-apps/usbutils - virtual/eject - amd64? ( >=sys-apps/dmidecode-2.7 ) - dell? ( >=sys-libs/libsmbios-0.13.4 ) - disk-partition? ( >=sys-apps/parted-1.8.0 ) - ia64? ( >=sys-apps/dmidecode-2.7 ) - kernel_linux? ( - >=sys-fs/udev-111 - !>=sys-fs/udev-125 - >=sys-apps/util-linux-2.13 - >=sys-kernel/linux-headers-2.6.19 - crypt? ( >=sys-fs/cryptsetup-1.0.5 ) - ) - kernel_FreeBSD? ( dev-libs/libvolume_id ) - x86? ( >=sys-apps/dmidecode-2.7 ) - selinux? ( sys-libs/libselinux sec-policy/selinux-hal )" -DEPEND="${RDEPEND} - dev-util/pkgconfig - >=dev-util/intltool-0.35 - X? ( >=dev-python/pyxf86config-0.3.34-r1 ) - doc? ( - app-doc/doxygen - app-text/docbook-sgml-utils - app-text/xmlto - dev-libs/libxml2 - )" -PDEPEND=">=app-misc/hal-info-20080310 - !gnome-extra/hal-device-manager - laptop? ( >=sys-power/pm-utils-0.99.3 )" - -## HAL Daemon drops privledges so we need group access to read disks -HALDAEMON_GROUPS_LINUX="haldaemon,plugdev,disk,cdrom,cdrw,floppy,usb" -HALDAEMON_GROUPS_FREEBSD="haldaemon,plugdev,operator" - -function check_hotplug_net() { - local CONFIG_CHECK="~HOTPLUG ~NET" - local WARNING_HOTPLUG="CONFIG_HOTPLUG:\tis not set (required for HAL)\n" - local WARNING_NET="CONFIG_NET:\tis not set (required for HAL)\n" - check_extra_config -} - -function check_inotify() { - local CONFIG_CHECK="~INOTIFY_USER" - local WARNING_INOTIFY_USER="CONFIG_INOTIFY_USER:\tis not set (required for HAL)\n" - check_extra_config -} - -function check_acpi_proc() { - local CONFIG_CHECK="~ACPI_PROCFS ~ACPI_PROC_EVENT" - local WARNING_ACPI_PROCFS="CONFIG_ACPI_PROCFS:\tis not set (required for HAL)\n" - local WARNING_ACPI_PROC_EVENT="CONFIG_ACPI_PROC_EVENT:\tis not set (required for HAL)\n" - check_extra_config -} - -pkg_setup() { - if use kernel_linux ; then - if [[ -e "${ROOT}/usr/src/linux/.config" ]] ; then - kernel_is ge 2 6 19 || ewarn "HAL requires a kernel version 2.6.19 or newer" - - if kernel_is lt 2 6 23 && use acpi ; then - check_acpi_proc - fi - fi - - check_hotplug_net - check_inotify - fi - - # http://devmanual.gentoo.org/ebuild-writing/functions/ - # http://bugs.gentoo.org/show_bug.cgi?id=191605 - - # Create groups for hotplugging and HAL - enewgroup haldaemon - enewgroup plugdev - - # HAL drops priviledges by default now ... - # ... so we must make sure it can read disk/cdrom info (ie. be in ${HALDAEMON_GROUPS} groups) - if use kernel_linux; then - enewuser haldaemon -1 "-1" /dev/null ${HALDAEMON_GROUPS_LINUX} - elif use kernel_FreeBSD; then - enewuser haldaemon -1 "-1" /dev/null ${HALDAEMON_GROUPS_FREEBSD} - fi - - # Make sure that the haldaemon user is in the ${HALDAEMON_GROUPS} - # If users have a problem with this, let them file a bug - if [[ ${ROOT} == / ]] ; then - if use kernel_linux; then - usermod -G ${HALDAEMON_GROUPS_LINUX} haldaemon - elif use kernel_FreeBSD; then - pw usermod haldaemon -G ${HALDAEMON_GROUPS_FREEBSD} - fi - fi -} - -S="${WORKDIR}/${PF/-r*/}" - -src_unpack() { - unpack ${A} - cd "${S}" - - EPATCH_MULTI_MSG="Applying Gentoo Patchset ..." \ - EPATCH_SUFFIX="patch" \ - EPATCH_SOURCE="${WORKDIR}/${P}-patches/" \ - EPATCH_FORCE="yes" \ - epatch - - eautoreconf -} - -src_compile() { - local acpi="$(use_enable acpi)" - local backend= - local hardware= - - append-flags -rdynamic - - if use kernel_linux ; then - backend="linux" - elif use kernel_FreeBSD ; then - backend="freebsd" - else - eerror "Invalid backend" - fi - - if use kernel_linux ; then - if use acpi ; then - # Using IBM ACPI and Toshiba ACPI results in double notification as this - # was merged into the Linux Kernel 2.6.22 - if kernel_is lt 2 6 22 ; then - acpi="$acpi --enable-acpi-ibm --enable-acpi-toshiba" - else - acpi="$acpi --disable-acpi-ibm --disable-acpi-toshiba" - fi - - acpi="$acpi --enable-acpi-proc --enable-acpi-acpid" - else - acpi="$acpi --disable-acpi-ibm --disable-acpi-toshiba" - acpi="$acpi --disable-acpi-proc --disable-acpi-acpid" - fi - - hardware="--with-cpufreq --with-usb-csr --with-keymaps" - use arm && hardware="$hardware --enable-omap" - - if use dell ; then - hardware="$hardware --with-dell-backlight" - else - hardware="$hardware --without-dell-backlight" - fi - else - hardware="--without-cpufreq --without-usb-csr --without-keymaps" - hardware="$hardware --disable-omap" - hardware="$hardware --without-dell-backlight" - hardware="$hardware --enable-acpi-ibm --enable-acpi-toshiba" - fi - - econf --with-backend=${backend} \ - --with-os-type=gentoo \ - --with-pid-file=/var/run/hald.pid \ - --with-hwdata=/usr/share/misc \ - --with-socket-dir=/var/run/hald \ - --enable-umount-helper \ - --enable-man-pages \ - --disable-policy-kit \ - --disable-console-kit \ - --disable-acl-management \ - --enable-pci \ - --enable-sonypic \ - $(use_enable apm) \ - $(use_enable arm pmu) \ - $(use_with arm omap) \ - $(use_enable debug verbose-mode) \ - $(use_enable disk-partition parted) \ - $(use_enable doc docbook-docs) \ - $(use_enable doc doxygen-docs) \ - --docdir=/usr/share/doc/${PF} \ - --localstatedir=/var \ - ${acpi} ${hardware} \ - || die "configure failed" - - emake || die "make failed" -} - -src_install() { - emake DESTDIR="${D}" install || die "emake failed" - dodoc AUTHORS ChangeLog NEWS README || die "docs failed" - - # hal umount for unclean unmounts - exeinto /lib/udev/ - newexe "${FILESDIR}/hal-unmount.dev" hal_unmount || die "udev helper failed" - - # initscript - newinitd "${FILESDIR}/0.5.10-hald.rc" hald || die "init script failed" - - # configuration - cp "${FILESDIR}/0.5.10-hald.conf" "${WORKDIR}/" || \ - die "failed to copy hald.conf" - - if use debug; then - sed -e 's:HALD_VERBOSE="no":HALD_VERBOSE="yes":' \ - -i "${WORKDIR}/0.5.10-hald.conf" || die "failed to change verbose" - fi - newconfd "${WORKDIR}/0.5.10-hald.conf" hald || \ - die "failed to install hald.conf" - - if use X ; then - # New Configuration Snippets - dodoc "${WORKDIR}/${PN}-config-examples/"*.fdi || \ - die "dodoc X examples failed" - dobin "${WORKDIR}/${PN}-config-examples/migrate-xorg-to-fdi.py" || \ - die "dodoc X migration script failed" - - # Automagic conversion! - elog "Migrating xorg.conf Core Keyboard configuration to HAL FDI file" - "${WORKDIR}/${PN}-config-examples/migrate-xorg-to-fdi.py" 2> /dev/null \ - > "${D}/etc/hal/fdi/policy/10-x11-input.fdi" || \ - ewarn "Failed to migrate your keyboard configuration." - fi - - # We now create and keep /media here as both gnome-mount and pmount - # use these directories, to avoid collision. - keepdir /media - - # We also need to create and keep /etc/fdi/{information,policy,preprobe} - # or else hal bombs. - keepdir /etc/hal/fdi/{information,policy,preprobe} - - # HAL stores it's fdi cache in /var/lib/cache/hald - keepdir /var/lib/cache/hald - - # HAL keeps its unix socket here - keepdir /var/run/hald - keepdir /var/lib/hal -} - -pkg_postinst() { - # Despite what people keep changing this location. Either one works.. it doesn't matter - # http://dev.gentoo.org/~plasmaroo/devmanual/ebuild-writing/functions/ - - elog "The HAL daemon needs to be running for certain applications to" - elog "work. Suggested is to add the init script to your start-up" - elog "scripts, this should be done like this :" - elog "\`rc-update add hald default\`" - echo - elog "Looking for automounting support? Add yourself to the plugdev group" - echo - elog "IF you have additional applications which consume ACPI events, you" - elog "should consider installing acpid to allow applications to share ACPI" - elog "events." - if use X ; then - echo - elog "If you wish to use a non US layout, you may do so by executing:" - elog "setxkbmap <layout> or by utilizing your Desktop Environment's" - elog "Keyboard Layout Settings mechanism." - elog "Under GNOME, this is gnome-keyboard-properties, and under KDE" - elog "it is kxkb." - fi - echo - elog "In order have suspend/hibernate function with HAL or apps that use HAL" - elog "(such as gnome-power-manager), you should build HAL with the laptop" - elog "useflag which will install pm-utils." - if use X ; then - echo - elog "X Input Hotplugging (if you build xorg-server with the HAL useflag)" - elog "reads user specific configuration from /etc/hal/fdi/policy/." - if [[ $(cat "${ROOT}etc/hal/fdi/policy/10-x11-input.fdi" | wc -c) -gt 0 ]] - then - elog "We have converted your existing xorg.conf rules and the FDI is stored" - elog "at /etc/hal/fdi/policy/10-x11-input.fdi" - fi - elog "You should remove the Input sections from your xorg.conf once you have" - elog "migrated the rules to a HAL fdi file." - fi - - ebeep 5 - epause 5 -} diff --git a/sys-apps/hal/hal-0.5.11-r4.ebuild b/sys-apps/hal/hal-0.5.11-r4.ebuild index 3ed430e8cc44..4d3c59fe92dd 100644 --- a/sys-apps/hal/hal-0.5.11-r4.ebuild +++ b/sys-apps/hal/hal-0.5.11-r4.ebuild @@ -1,13 +1,13 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/hal/hal-0.5.11-r4.ebuild,v 1.6 2009/02/05 10:18:24 chainsaw Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/hal/hal-0.5.11-r4.ebuild,v 1.7 2009/03/08 22:03:59 chainsaw Exp $ inherit eutils linux-info autotools flag-o-matic PATCH_VERSION="3" DESCRIPTION="Hardware Abstraction Layer" -HOMEPAGE="http://www.freedesktop.org/Software/hal" +HOMEPAGE="http://www.freedesktop.org/wiki/Software/hal" SRC_URI="http://hal.freedesktop.org/releases/${P/_/}.tar.bz2 http://dev.gentoo.org/~compnerd/files/${PN}/${P}-gentoo-patches-${PATCH_VERSION}.tar.bz2" diff --git a/sys-apps/hal/hal-0.5.11-r6.ebuild b/sys-apps/hal/hal-0.5.11-r6.ebuild deleted file mode 100644 index 1820e6627b11..000000000000 --- a/sys-apps/hal/hal-0.5.11-r6.ebuild +++ /dev/null @@ -1,307 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/hal/hal-0.5.11-r6.ebuild,v 1.4 2009/01/21 22:18:36 aballier Exp $ - -inherit eutils linux-info autotools flag-o-matic - -PATCH_VERSION="3" - -DESCRIPTION="Hardware Abstraction Layer" -HOMEPAGE="http://www.freedesktop.org/Software/hal" -SRC_URI="http://hal.freedesktop.org/releases/${P/_/}.tar.bz2 - http://dev.gentoo.org/~compnerd/files/${PN}/${P}-gentoo-patches-${PATCH_VERSION}.tar.bz2" - -LICENSE="|| ( GPL-2 AFL-2.0 )" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd" - -KERNEL_IUSE="kernel_linux kernel_FreeBSD" -IUSE="X acpi apm crypt debug dell disk-partition doc laptop selinux ${KERNEL_IUSE}" - -RDEPEND=">=dev-libs/dbus-glib-0.61 - >=dev-libs/glib-2.14 - >=dev-libs/expat-1.95.8 - >=dev-libs/libusb-0.1.10a - >=sys-apps/pciutils-2.2.7-r1 - >=dev-util/gperf-3.0.3 - sys-apps/usbutils - virtual/eject - amd64? ( >=sys-apps/dmidecode-2.7 ) - dell? ( >=sys-libs/libsmbios-0.13.4 ) - disk-partition? ( >=sys-apps/parted-1.8.0 ) - ia64? ( >=sys-apps/dmidecode-2.7 ) - kernel_linux? ( - >=sys-fs/udev-117 - >=sys-apps/util-linux-2.13 - >=sys-kernel/linux-headers-2.6.19 - crypt? ( >=sys-fs/cryptsetup-1.0.5 ) - ) - kernel_FreeBSD? ( >=dev-libs/libvolume_id-0.77 ) - x86? ( >=sys-apps/dmidecode-2.7 ) - selinux? ( sys-libs/libselinux sec-policy/selinux-hal )" -DEPEND="${RDEPEND} - dev-util/pkgconfig - >=dev-util/intltool-0.35 - X? ( >=dev-python/pyxf86config-0.3.34-r1 ) - doc? ( - app-text/xmlto - dev-libs/libxml2 - dev-util/gtk-doc - app-text/docbook-sgml-utils - )" -PDEPEND="|| ( - =app-misc/hal-info-20080310 - =app-misc/hal-info-20080508 - =app-misc/hal-info-20081219 ) - !gnome-extra/hal-device-manager - laptop? ( >=sys-power/pm-utils-0.99.3 )" - -## HAL Daemon drops privledges so we need group access to read disks -HALDAEMON_GROUPS_LINUX="haldaemon,plugdev,disk,cdrom,cdrw,floppy,usb" -HALDAEMON_GROUPS_FREEBSD="haldaemon,plugdev,operator" - -function check_hotplug_net() { - local CONFIG_CHECK="~HOTPLUG ~NET" - local WARNING_HOTPLUG="CONFIG_HOTPLUG:\tis not set (required for HAL)\n" - local WARNING_NET="CONFIG_NET:\tis not set (required for HAL)\n" - check_extra_config -} - -function check_inotify() { - local CONFIG_CHECK="~INOTIFY_USER" - local WARNING_INOTIFY_USER="CONFIG_INOTIFY_USER:\tis not set (required for HAL)\n" - check_extra_config -} - -function check_acpi_proc() { - local CONFIG_CHECK="~ACPI_PROCFS ~ACPI_PROC_EVENT" - local WARNING_ACPI_PROCFS="CONFIG_ACPI_PROCFS:\tis not set (required for HAL)\n" - local WARNING_ACPI_PROC_EVENT="CONFIG_ACPI_PROC_EVENT:\tis not set (required for HAL)\n" - check_extra_config -} - -pkg_setup() { - if use kernel_linux ; then - if [[ -e "${ROOT}/usr/src/linux/.config" ]] ; then - kernel_is ge 2 6 19 || ewarn "HAL requires a kernel version 2.6.19 or newer" - - if kernel_is lt 2 6 23 && use acpi ; then - check_acpi_proc - fi - fi - - check_hotplug_net - check_inotify - fi - - # http://devmanual.gentoo.org/ebuild-writing/functions/ - # http://bugs.gentoo.org/show_bug.cgi?id=191605 - - # Create groups for hotplugging and HAL - enewgroup haldaemon - enewgroup plugdev - - # HAL drops priviledges by default now ... - # ... so we must make sure it can read disk/cdrom info (ie. be in ${HALDAEMON_GROUPS} groups) - if use kernel_linux; then - enewuser haldaemon -1 "-1" /dev/null ${HALDAEMON_GROUPS_LINUX} - elif use kernel_FreeBSD; then - enewuser haldaemon -1 "-1" /dev/null ${HALDAEMON_GROUPS_FREEBSD} - fi - - # Make sure that the haldaemon user is in the ${HALDAEMON_GROUPS} - # If users have a problem with this, let them file a bug - if [[ ${ROOT} == / ]] ; then - if use kernel_linux; then - usermod -G ${HALDAEMON_GROUPS_LINUX} haldaemon - elif use kernel_FreeBSD; then - pw usermod haldaemon -G ${HALDAEMON_GROUPS_FREEBSD} - fi - fi -} - -S="${WORKDIR}/${PF/-r*/}" - -src_unpack() { - unpack ${A} - cd "${S}" - - EPATCH_MULTI_MSG="Applying Gentoo Patchset ..." \ - EPATCH_SUFFIX="patch" \ - EPATCH_SOURCE="${WORKDIR}/${P}-patches/" \ - EPATCH_FORCE="yes" \ - epatch - - epatch "${FILESDIR}"/${P}-ppc64.patch - - eautoreconf -} - -src_compile() { - local acpi="$(use_enable acpi)" - local backend= - local hardware= - - append-flags -rdynamic - - if use kernel_linux ; then - backend="linux" - elif use kernel_FreeBSD ; then - backend="freebsd" - else - eerror "Invalid backend" - fi - - if use kernel_linux ; then - if use acpi ; then - # Using IBM ACPI and Toshiba ACPI results in double notification as this - # was merged into the Linux Kernel 2.6.22 - if kernel_is lt 2 6 22 ; then - acpi="$acpi --enable-acpi-ibm --enable-acpi-toshiba" - else - acpi="$acpi --disable-acpi-ibm --disable-acpi-toshiba" - fi - - acpi="$acpi --enable-acpi-proc --enable-acpi-acpid" - else - acpi="$acpi --disable-acpi-ibm --disable-acpi-toshiba" - acpi="$acpi --disable-acpi-proc --disable-acpi-acpid" - fi - - hardware="--with-cpufreq --with-usb-csr --with-keymaps" - use arm && hardware="$hardware --with-omap --enable-pmu" - use ppc && hardware="$hardware --enable-pmu" - - if use dell ; then - hardware="$hardware --with-dell-backlight" - else - hardware="$hardware --without-dell-backlight" - fi - - hardware="$hardware --enable-sonypic" - else - hardware="--without-cpufreq --without-usb-csr --without-keymaps" - hardware="$hardware --without-omap" - hardware="$hardware --without-dell-backlight" - hardware="$hardware --enable-acpi-ibm --enable-acpi-toshiba" - hardware="$hardware --disable-sonypic" - fi - - econf --with-backend=${backend} \ - --with-os-type=gentoo \ - --with-pid-file=/var/run/hald.pid \ - --with-hwdata=/usr/share/misc \ - --with-socket-dir=/var/run/hald \ - --enable-umount-helper \ - --enable-man-pages \ - --disable-policy-kit \ - --disable-console-kit \ - --disable-acl-management \ - --enable-pci \ - $(use_enable apm) \ - $(use_enable debug verbose-mode) \ - $(use_enable disk-partition parted) \ - $(use_enable doc docbook-docs) \ - $(use_enable doc gtk-doc) \ - --docdir=/usr/share/doc/${PF} \ - --localstatedir=/var \ - ${acpi} ${hardware} \ - || die "configure failed" - - emake || die "make failed" -} - -src_install() { - emake DESTDIR="${D}" install || die - dodoc AUTHORS ChangeLog NEWS README || die "docs failed" - - # hal umount for unclean unmounts - exeinto /lib/udev/ - newexe "${FILESDIR}/hal-unmount.dev" hal_unmount || die "udev helper failed" - - # initscript - newinitd "${FILESDIR}/0.5.10-hald.rc" hald || die "init script failed" - - # configuration - cp "${FILESDIR}/0.5.10-hald.conf" "${WORKDIR}/" || \ - die "failed to copy hald.conf" - - if use debug; then - sed -e 's:HALD_VERBOSE="no":HALD_VERBOSE="yes":' \ - -i "${WORKDIR}/0.5.10-hald.conf" || die "failed to change verbose" - fi - newconfd "${WORKDIR}/0.5.10-hald.conf" hald || \ - die "failed to install hald.conf" - - if use X ; then - # New Configuration Snippets - dodoc "${WORKDIR}/${PN}-config-examples/"*.fdi || \ - die "dodoc X examples failed" - dobin "${WORKDIR}/${PN}-config-examples/migrate-xorg-to-fdi.py" || \ - die "dodoc X migration script failed" - - # Automagic conversion! - elog "Migrating xorg.conf Core Keyboard configuration to HAL FDI file" - "${WORKDIR}/${PN}-config-examples/migrate-xorg-to-fdi.py" 2> /dev/null \ - > "${D}/etc/hal/fdi/policy/10-x11-input.fdi" || \ - ewarn "Failed to migrate your keyboard configuration." - fi - - # We now create and keep /media here as both gnome-mount and pmount - # use these directories, to avoid collision. - keepdir /media - - # We also need to create and keep /etc/fdi/{information,policy,preprobe} - # or else hal bombs. - keepdir /etc/hal/fdi/{information,policy,preprobe} - - # HAL stores it's fdi cache in /var/lib/cache/hald - keepdir /var/lib/cache/hald - - # HAL keeps its unix socket here - keepdir /var/run/hald - keepdir /var/lib/hal -} - -pkg_postinst() { - # Despite what people keep changing this location. Either one works.. it doesn't matter - # http://dev.gentoo.org/~plasmaroo/devmanual/ebuild-writing/functions/ - - elog "The HAL daemon needs to be running for certain applications to" - elog "work. Suggested is to add the init script to your start-up" - elog "scripts, this should be done like this :" - elog "\`rc-update add hald default\`" - echo - elog "Looking for automounting support? Add yourself to the plugdev group" - echo - elog "IF you have additional applications which consume ACPI events, you" - elog "should consider installing acpid to allow applications to share ACPI" - elog "events." - if use X ; then - echo - elog "If you wish to use a non US layout, you may do so by executing:" - elog "setxkbmap <layout> or by utilizing your Desktop Environment's" - elog "Keyboard Layout Settings mechanism." - elog "Under GNOME, this is gnome-keyboard-properties, and under KDE" - elog "it is kxkb." - fi - echo - elog "In order have suspend/hibernate function with HAL or apps that use HAL" - elog "(such as gnome-power-manager), you should build HAL with the laptop" - elog "useflag which will install pm-utils." - if use X ; then - echo - elog "X Input Hotplugging (if you build xorg-server with the HAL useflag)" - elog "reads user specific configuration from /etc/hal/fdi/policy/." - if [[ $(cat "${ROOT}etc/hal/fdi/policy/10-x11-input.fdi" | wc -c) -gt 0 ]] - then - elog "We have converted your existing xorg.conf rules and the FDI is stored" - elog "at /etc/hal/fdi/policy/10-x11-input.fdi" - fi - elog "You should remove the Input sections from your xorg.conf once you have" - elog "migrated the rules to a HAL fdi file." - fi - - ebeep 5 - epause 5 -} diff --git a/sys-apps/hal/hal-0.5.11-r8.ebuild b/sys-apps/hal/hal-0.5.11-r8.ebuild index d9d63f028be0..2f7448403f13 100644 --- a/sys-apps/hal/hal-0.5.11-r8.ebuild +++ b/sys-apps/hal/hal-0.5.11-r8.ebuild @@ -1,13 +1,13 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/hal/hal-0.5.11-r8.ebuild,v 1.8 2009/03/08 21:54:11 josejx Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/hal/hal-0.5.11-r8.ebuild,v 1.9 2009/03/08 22:03:59 chainsaw Exp $ inherit eutils linux-info autotools flag-o-matic PATCH_VERSION="5" DESCRIPTION="Hardware Abstraction Layer" -HOMEPAGE="http://www.freedesktop.org/Software/hal" +HOMEPAGE="http://www.freedesktop.org/wiki/Software/hal" SRC_URI="http://hal.freedesktop.org/releases/${P/_/}.tar.bz2 http://dev.gentoo.org/~chainsaw/files/${P}-gentoo-patches-${PATCH_VERSION}.tar.bz2" diff --git a/sys-apps/hal/hal-0.5.11-r7.ebuild b/sys-apps/hal/hal-0.5.12_rc1.ebuild index 245a030ed0da..c3934937f9db 100644 --- a/sys-apps/hal/hal-0.5.11-r7.ebuild +++ b/sys-apps/hal/hal-0.5.12_rc1.ebuild @@ -1,15 +1,17 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/hal/hal-0.5.11-r7.ebuild,v 1.2 2009/02/04 14:27:53 chainsaw Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/hal/hal-0.5.12_rc1.ebuild,v 1.1 2009/03/08 22:03:59 chainsaw Exp $ inherit eutils linux-info autotools flag-o-matic -PATCH_VERSION="4" +PATCH_VERSION="1" +MY_P=${P/_/} +S=${WORKDIR}/${MY_P} DESCRIPTION="Hardware Abstraction Layer" -HOMEPAGE="http://www.freedesktop.org/Software/hal" -SRC_URI="http://hal.freedesktop.org/releases/${P/_/}.tar.bz2 - http://dev.gentoo.org/~chainsaw/files/${P}-gentoo-patches-${PATCH_VERSION}.tar.bz2" +HOMEPAGE="http://www.freedesktop.org/wiki/Software/hal" +SRC_URI="http://hal.freedesktop.org/releases/${MY_P}.tar.bz2 + http://dev.gentoo.org/~chainsaw/files/${MY_P}-gentoo-patches-${PATCH_VERSION}.tar.bz2" LICENSE="|| ( GPL-2 AFL-2.0 )" SLOT="0" @@ -117,8 +119,6 @@ pkg_setup() { fi } -S="${WORKDIR}/${PF/-r*/}" - src_unpack() { unpack ${A} cd "${S}" @@ -166,6 +166,9 @@ src_compile() { hardware="--with-cpufreq --with-usb-csr --with-keymaps" use arm && hardware="$hardware --with-omap --enable-pmu" use ppc && hardware="$hardware --enable-pmu" + if use x86 || use amd64; then + hardware="$hardware --with-macbook --with-macbookpro" + fi if use dell ; then hardware="$hardware --with-dell-backlight" diff --git a/sys-apps/hal/hal-0.5.9.1-r3.ebuild b/sys-apps/hal/hal-0.5.9.1-r3.ebuild index 273810fd8329..8d916c6e4a6c 100644 --- a/sys-apps/hal/hal-0.5.9.1-r3.ebuild +++ b/sys-apps/hal/hal-0.5.9.1-r3.ebuild @@ -1,11 +1,11 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/hal/hal-0.5.9.1-r3.ebuild,v 1.13 2009/02/05 10:18:24 chainsaw Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/hal/hal-0.5.9.1-r3.ebuild,v 1.14 2009/03/08 22:03:59 chainsaw Exp $ inherit eutils linux-info autotools flag-o-matic DESCRIPTION="Hardware Abstraction Layer" -HOMEPAGE="http://www.freedesktop.org/Software/hal" +HOMEPAGE="http://www.freedesktop.org/wiki/Software/hal" SRC_URI="http://people.freedesktop.org/~david/dist/${P}.tar.gz http://dev.gentoo.org/~cardoe/files/hal/${P}-r2.tar.bz2" |