public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in sys-apps/hal: ChangeLog hal-0.5.10.ebuild
@ 2008-04-20 12:50 Mike Frysinger (vapier)
  0 siblings, 0 replies; 6+ messages in thread
From: Mike Frysinger (vapier) @ 2008-04-20 12:50 UTC (permalink / raw
  To: gentoo-commits

vapier      08/04/20 12:50:03

  Modified:             ChangeLog hal-0.5.10.ebuild
  Log:
  Fix building with newer libtool #212772.
  (Portage version: 2.2_pre5)

Revision  Changes    Path
1.231                sys-apps/hal/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/hal/ChangeLog?rev=1.231&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/hal/ChangeLog?rev=1.231&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/hal/ChangeLog?r1=1.230&r2=1.231

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-apps/hal/ChangeLog,v
retrieving revision 1.230
retrieving revision 1.231
diff -u -r1.230 -r1.231
--- ChangeLog	14 Apr 2008 18:36:31 -0000	1.230
+++ ChangeLog	20 Apr 2008 12:50:02 -0000	1.231
@@ -1,6 +1,10 @@
 # ChangeLog for sys-apps/hal
 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/hal/ChangeLog,v 1.230 2008/04/14 18:36:31 cardoe Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/hal/ChangeLog,v 1.231 2008/04/20 12:50:02 vapier Exp $
+
+  20 Apr 2008; Mike Frysinger <vapier@gentoo.org>
+  +files/hal-0.5.10-autotools.patch, hal-0.5.10.ebuild:
+  Fix building with newer libtool #212772.
 
   14 Apr 2008; Doug Goldstein <cardoe@gentoo.org> hal-0.5.7.1-r5.ebuild,
   hal-0.5.9-r1.ebuild, hal-0.5.9.1-r1.ebuild, hal-0.5.9.1-r2.ebuild,



1.15                 sys-apps/hal/hal-0.5.10.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/hal/hal-0.5.10.ebuild?rev=1.15&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/hal/hal-0.5.10.ebuild?rev=1.15&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/hal/hal-0.5.10.ebuild?r1=1.14&r2=1.15

Index: hal-0.5.10.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-apps/hal/hal-0.5.10.ebuild,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- hal-0.5.10.ebuild	14 Apr 2008 18:36:31 -0000	1.14
+++ hal-0.5.10.ebuild	20 Apr 2008 12:50:02 -0000	1.15
@@ -1,6 +1,6 @@
 # Copyright 1999-2008 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/hal/hal-0.5.10.ebuild,v 1.14 2008/04/14 18:36:31 cardoe Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/hal/hal-0.5.10.ebuild,v 1.15 2008/04/20 12:50:02 vapier Exp $
 
 inherit eutils linux-info autotools flag-o-matic
 
@@ -134,6 +134,8 @@
 	EPATCH_FORCE="yes" \
 	epatch
 
+	epatch "${FILESDIR}"/${P}-autotools.patch #212772
+
 	# Hide recovery partitions
 	epatch "${FILESDIR}/hal-0.5.9-hide-recovery-partitions.patch"
 



-- 
gentoo-commits@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 6+ messages in thread
* [gentoo-commits] gentoo-x86 commit in sys-apps/hal: ChangeLog hal-0.5.10.ebuild
@ 2008-04-03 20:29 Tobias Klausmann (klausman)
  0 siblings, 0 replies; 6+ messages in thread
From: Tobias Klausmann (klausman) @ 2008-04-03 20:29 UTC (permalink / raw
  To: gentoo-commits

klausman    08/04/03 20:29:40

  Modified:             ChangeLog hal-0.5.10.ebuild
  Log:
  Keyworded for alpha, bug #216084
  (Portage version: 2.1.4.4)

Revision  Changes    Path
1.228                sys-apps/hal/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/hal/ChangeLog?rev=1.228&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/hal/ChangeLog?rev=1.228&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/hal/ChangeLog?r1=1.227&r2=1.228

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-apps/hal/ChangeLog,v
retrieving revision 1.227
retrieving revision 1.228
diff -u -r1.227 -r1.228
--- ChangeLog	2 Mar 2008 20:16:38 -0000	1.227
+++ ChangeLog	3 Apr 2008 20:29:39 -0000	1.228
@@ -1,6 +1,9 @@
 # ChangeLog for sys-apps/hal
 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/hal/ChangeLog,v 1.227 2008/03/02 20:16:38 dirtyepic Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/hal/ChangeLog,v 1.228 2008/04/03 20:29:39 klausman Exp $
+
+  03 Apr 2008; Tobias Klausmann <klausman@gentoo.org> hal-0.5.10.ebuild:
+  Keyworded for alpha, bug #216084
 
   02 Mar 2008; Ryan Hill <dirtyepic@gentoo.org> hal-0.5.10.ebuild:
   Keyword ~mips since we're using linux-headers now.



1.12                 sys-apps/hal/hal-0.5.10.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/hal/hal-0.5.10.ebuild?rev=1.12&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/hal/hal-0.5.10.ebuild?rev=1.12&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/hal/hal-0.5.10.ebuild?r1=1.11&r2=1.12

Index: hal-0.5.10.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-apps/hal/hal-0.5.10.ebuild,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- hal-0.5.10.ebuild	2 Mar 2008 20:16:38 -0000	1.11
+++ hal-0.5.10.ebuild	3 Apr 2008 20:29:39 -0000	1.12
@@ -1,6 +1,6 @@
 # Copyright 1999-2008 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/hal/hal-0.5.10.ebuild,v 1.11 2008/03/02 20:16:38 dirtyepic Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/hal/hal-0.5.10.ebuild,v 1.12 2008/04/03 20:29:39 klausman Exp $
 
 inherit eutils linux-info autotools flag-o-matic
 
@@ -13,7 +13,7 @@
 
 LICENSE="|| ( GPL-2 AFL-2.0 )"
 SLOT="0"
-KEYWORDS="~amd64 ~hppa ~mips ~x86"
+KEYWORDS="~alpha ~amd64 ~hppa ~mips ~x86"
 
 KERNEL_IUSE="kernel_linux kernel_FreeBSD"
 IUSE="acpi apm crypt debug dell disk-partition doc laptop selinux ${KERNEL_IUSE}"



-- 
gentoo-commits@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 6+ messages in thread
* [gentoo-commits] gentoo-x86 commit in sys-apps/hal: ChangeLog hal-0.5.10.ebuild
@ 2008-03-02 20:16 Ryan Hill (dirtyepic)
  0 siblings, 0 replies; 6+ messages in thread
From: Ryan Hill (dirtyepic) @ 2008-03-02 20:16 UTC (permalink / raw
  To: gentoo-commits

dirtyepic    08/03/02 20:16:38

  Modified:             ChangeLog hal-0.5.10.ebuild
  Log:
  Keyword ~mips since we're using linux-headers now.
  (Portage version: 2.1.4.4)

Revision  Changes    Path
1.227                sys-apps/hal/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/hal/ChangeLog?rev=1.227&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/hal/ChangeLog?rev=1.227&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/hal/ChangeLog?r1=1.226&r2=1.227

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-apps/hal/ChangeLog,v
retrieving revision 1.226
retrieving revision 1.227
diff -u -r1.226 -r1.227
--- ChangeLog	20 Feb 2008 02:49:13 -0000	1.226
+++ ChangeLog	2 Mar 2008 20:16:38 -0000	1.227
@@ -1,6 +1,9 @@
 # ChangeLog for sys-apps/hal
 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/hal/ChangeLog,v 1.226 2008/02/20 02:49:13 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/hal/ChangeLog,v 1.227 2008/03/02 20:16:38 dirtyepic Exp $
+
+  02 Mar 2008; Ryan Hill <dirtyepic@gentoo.org> hal-0.5.10.ebuild:
+  Keyword ~mips since we're using linux-headers now.
 
   20 Feb 2008; Chris Gianelloni <wolf31o2@gentoo.org> hal-0.5.7.1-r5.ebuild,
   hal-0.5.9-r1.ebuild, hal-0.5.9.1-r1.ebuild, hal-0.5.9.1-r2.ebuild,



1.11                 sys-apps/hal/hal-0.5.10.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/hal/hal-0.5.10.ebuild?rev=1.11&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/hal/hal-0.5.10.ebuild?rev=1.11&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/hal/hal-0.5.10.ebuild?r1=1.10&r2=1.11

Index: hal-0.5.10.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-apps/hal/hal-0.5.10.ebuild,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- hal-0.5.10.ebuild	20 Feb 2008 02:49:13 -0000	1.10
+++ hal-0.5.10.ebuild	2 Mar 2008 20:16:38 -0000	1.11
@@ -1,6 +1,6 @@
 # Copyright 1999-2008 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/hal/hal-0.5.10.ebuild,v 1.10 2008/02/20 02:49:13 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/hal/hal-0.5.10.ebuild,v 1.11 2008/03/02 20:16:38 dirtyepic Exp $
 
 inherit eutils linux-info autotools flag-o-matic
 
@@ -13,7 +13,7 @@
 
 LICENSE="|| ( GPL-2 AFL-2.0 )"
 SLOT="0"
-KEYWORDS="~amd64 ~hppa ~x86"
+KEYWORDS="~amd64 ~hppa ~mips ~x86"
 
 KERNEL_IUSE="kernel_linux kernel_FreeBSD"
 IUSE="acpi apm crypt debug dell disk-partition doc laptop selinux ${KERNEL_IUSE}"



-- 
gentoo-commits@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 6+ messages in thread
* [gentoo-commits] gentoo-x86 commit in sys-apps/hal: ChangeLog hal-0.5.10.ebuild
@ 2007-12-25  5:00 Saleem Abdulrasool (compnerd)
  0 siblings, 0 replies; 6+ messages in thread
From: Saleem Abdulrasool (compnerd) @ 2007-12-25  5:00 UTC (permalink / raw
  To: gentoo-commits

compnerd    07/12/25 05:00:50

  Modified:             ChangeLog hal-0.5.10.ebuild
  Log:
  add cardoe's patches
  (Portage version: 2.1.4_rc11)

Revision  Changes    Path
1.220                sys-apps/hal/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/hal/ChangeLog?rev=1.220&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/hal/ChangeLog?rev=1.220&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/hal/ChangeLog?r1=1.219&r2=1.220

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-apps/hal/ChangeLog,v
retrieving revision 1.219
retrieving revision 1.220
diff -u -r1.219 -r1.220
--- ChangeLog	6 Dec 2007 22:29:02 -0000	1.219
+++ ChangeLog	25 Dec 2007 05:00:50 -0000	1.220
@@ -1,6 +1,10 @@
 # ChangeLog for sys-apps/hal
 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/hal/ChangeLog,v 1.219 2007/12/06 22:29:02 cardoe Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/hal/ChangeLog,v 1.220 2007/12/25 05:00:50 compnerd Exp $
+
+  25 Dec 2007; Saleem Abdulrasool <compnerd@gentoo.org>
+  +files/96_plugdev_allow_send.patch, hal-0.5.10.ebuild:
+  Pull in cardoe's patches
 
   06 Dec 2007; Doug Klima <cardoe@gentoo.org> metadata.xml:
   removed myself as a maintainer of HAL.



1.3                  sys-apps/hal/hal-0.5.10.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/hal/hal-0.5.10.ebuild?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/hal/hal-0.5.10.ebuild?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/hal/hal-0.5.10.ebuild?r1=1.2&r2=1.3

Index: hal-0.5.10.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-apps/hal/hal-0.5.10.ebuild,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- hal-0.5.10.ebuild	23 Nov 2007 09:30:39 -0000	1.2
+++ hal-0.5.10.ebuild	25 Dec 2007 05:00:50 -0000	1.3
@@ -1,16 +1,19 @@
 # Copyright 1999-2007 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/hal/hal-0.5.10.ebuild,v 1.2 2007/11/23 09:30:39 compnerd Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/hal/hal-0.5.10.ebuild,v 1.3 2007/12/25 05:00:50 compnerd Exp $
 
 inherit eutils linux-info autotools flag-o-matic
 
+PATCH_VER="p1"
+
 DESCRIPTION="Hardware Abstraction Layer"
 HOMEPAGE="http://www.freedesktop.org/Software/hal"
-SRC_URI="http://hal.freedesktop.org/releases/${P}.tar.gz"
+SRC_URI="http://hal.freedesktop.org/releases/${P}.tar.gz
+		http://dev.gentoo.org/~cardoe/files/${PN}/${P}-${PATCH_VER}.tar.bz2"
 
 LICENSE="|| ( GPL-2 AFL-2.0 )"
 SLOT="0"
-KEYWORDS="~amd64 -mips -ppc64 ~x86"
+KEYWORDS="~amd64 ~x86"
 
 KERNEL_IUSE="kernel_linux kernel_FreeBSD"
 IUSE="acpi apm crypt debug dell disk-partition doc selinux ${KERNEL_IUSE}"
@@ -152,11 +155,18 @@
 	unpack ${A}
 	cd "${S}"
 
+	# patchset from http://dev.gentoo.org/~cardoe/repos/hal.git
+	EPATCH_MULTI_MSG="Applying http://dev.gentoo.org/~cardoe/repos/hal.git patchset ..." \
+	EPATCH_SUFFIX="patch" \
+	EPATCH_SOURCE="${WORKDIR}/hal-0.5.10-patches/" \
+	EPATCH_FORCE="yes" \
+	epatch 
+
 	# Hide recovery partitions
 	epatch "${FILESDIR}/hal-0.5.9-hide-recovery-partitions.patch"
 
 	# Enable plugdev support
-	epatch "${FILESDIR}/0.5.9/96_plugdev_allow_send.patch"
+	epatch "${FILESDIR}/96_plugdev_allow_send.patch"
 }
 
 src_compile() {



-- 
gentoo-commits@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 6+ messages in thread
* [gentoo-commits] gentoo-x86 commit in sys-apps/hal: ChangeLog hal-0.5.10.ebuild
@ 2007-11-23  9:30 Saleem Abdulrasool (compnerd)
  0 siblings, 0 replies; 6+ messages in thread
From: Saleem Abdulrasool (compnerd) @ 2007-11-23  9:30 UTC (permalink / raw
  To: gentoo-commits

compnerd    07/11/23 09:30:40

  Modified:             ChangeLog hal-0.5.10.ebuild
  Log:
  dont mv hal-device-manager
  (Portage version: 2.1.3.16)

Revision  Changes    Path
1.217                sys-apps/hal/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/hal/ChangeLog?rev=1.217&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/hal/ChangeLog?rev=1.217&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/hal/ChangeLog?r1=1.216&r2=1.217

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-apps/hal/ChangeLog,v
retrieving revision 1.216
retrieving revision 1.217
diff -u -r1.216 -r1.217
--- ChangeLog	23 Nov 2007 06:43:51 -0000	1.216
+++ ChangeLog	23 Nov 2007 09:30:39 -0000	1.217
@@ -1,6 +1,9 @@
 # ChangeLog for sys-apps/hal
 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/hal/ChangeLog,v 1.216 2007/11/23 06:43:51 compnerd Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/hal/ChangeLog,v 1.217 2007/11/23 09:30:39 compnerd Exp $
+
+  23 Nov 2007; Saleem Abdulrasool <compnerd@gentoo.org> hal-0.5.10.ebuild:
+  hal-device-manager is no longer bundled, dont move it
 
   23 Nov 2007; Saleem Abdulrasool <compnerd@gentoo.org>
   hal-0.5.7.1-r5.ebuild, hal-0.5.9-r1.ebuild, hal-0.5.9.1-r1.ebuild,



1.2                  sys-apps/hal/hal-0.5.10.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/hal/hal-0.5.10.ebuild?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/hal/hal-0.5.10.ebuild?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/hal/hal-0.5.10.ebuild?r1=1.1&r2=1.2

Index: hal-0.5.10.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-apps/hal/hal-0.5.10.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- hal-0.5.10.ebuild	23 Nov 2007 06:29:51 -0000	1.1
+++ hal-0.5.10.ebuild	23 Nov 2007 09:30:39 -0000	1.2
@@ -1,6 +1,6 @@
 # Copyright 1999-2007 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/hal/hal-0.5.10.ebuild,v 1.1 2007/11/23 06:29:51 compnerd Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/hal/hal-0.5.10.ebuild,v 1.2 2007/11/23 09:30:39 compnerd Exp $
 
 inherit eutils linux-info autotools flag-o-matic
 
@@ -236,9 +236,6 @@
 	make DESTDIR="${D}" install || die
 	dodoc AUTHORS ChangeLog NEWS README
 
-	# remove dep on gnome-python
-	mv "${D}"/usr/bin/hal-device-manager "${D}"/usr/share/hal/device-manager/
-
 	# hal umount for unclean unmounts
 	exeinto /lib/udev/
 	newexe "${FILESDIR}"/hal-unmount.dev hal_unmount



-- 
gentoo-commits@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 6+ messages in thread
* [gentoo-commits] gentoo-x86 commit in sys-apps/hal: ChangeLog hal-0.5.10.ebuild
@ 2007-11-23  6:29 Saleem Abdulrasool (compnerd)
  0 siblings, 0 replies; 6+ messages in thread
From: Saleem Abdulrasool (compnerd) @ 2007-11-23  6:29 UTC (permalink / raw
  To: gentoo-commits

compnerd    07/11/23 06:29:51

  Modified:             ChangeLog
  Added:                hal-0.5.10.ebuild
  Log:
  version bump from upstream
  (Portage version: 2.1.3.16)

Revision  Changes    Path
1.215                sys-apps/hal/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/hal/ChangeLog?rev=1.215&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/hal/ChangeLog?rev=1.215&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/hal/ChangeLog?r1=1.214&r2=1.215

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-apps/hal/ChangeLog,v
retrieving revision 1.214
retrieving revision 1.215
diff -u -r1.214 -r1.215
--- ChangeLog	22 Nov 2007 18:29:46 -0000	1.214
+++ ChangeLog	23 Nov 2007 06:29:51 -0000	1.215
@@ -1,6 +1,13 @@
 # ChangeLog for sys-apps/hal
 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/hal/ChangeLog,v 1.214 2007/11/22 18:29:46 cardoe Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/hal/ChangeLog,v 1.215 2007/11/23 06:29:51 compnerd Exp $
+
+*hal-0.5.10 (23 Nov 2007)
+
+  23 Nov 2007; Saleem Abdulrasool <compnerd@gentoo.org>
+  +files/0.5.10-hald.conf, +files/0.5.10-hald.rc,
+  +files/hal-0.5.9-hide-recovery-partitions.patch, +hal-0.5.10.ebuild:
+  Version bump from upstream
 
   22 Nov 2007; Doug Klima <cardoe@gentoo.org> metadata.xml:
   Provide explicit USE flag descriptions in metadata.xml



1.1                  sys-apps/hal/hal-0.5.10.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/hal/hal-0.5.10.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/hal/hal-0.5.10.ebuild?rev=1.1&content-type=text/plain

Index: hal-0.5.10.ebuild
===================================================================
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/hal/hal-0.5.10.ebuild,v 1.1 2007/11/23 06:29:51 compnerd Exp $

inherit eutils linux-info autotools flag-o-matic

DESCRIPTION="Hardware Abstraction Layer"
HOMEPAGE="http://www.freedesktop.org/Software/hal"
SRC_URI="http://hal.freedesktop.org/releases/${P}.tar.gz"

LICENSE="|| ( GPL-2 AFL-2.0 )"
SLOT="0"
KEYWORDS="~amd64 -mips -ppc64 ~x86"

KERNEL_IUSE="kernel_linux kernel_FreeBSD"
IUSE="acpi apm crypt debug dell disk-partition doc selinux ${KERNEL_IUSE}"

RDEPEND=">=dev-libs/glib-2.6
		 >=dev-libs/dbus-glib-0.61
		 >=dev-libs/expat-1.95.8
		 >=sys-apps/pciutils-2.2.7-r1
		 >=dev-libs/libusb-0.1.10a
		 >=dev-util/gperf-3.0.3
		 >=sys-auth/consolekit-0.2
		 >=sys-auth/policykit-0.6
		   sys-apps/usbutils
		   virtual/eject
		 amd64? ( >=sys-apps/dmidecode-2.7 )
		 dell? ( >=sys-libs/libsmbios-0.13.4 )
		 disk-partition? (
							||  (
									~sys-apps/parted-1.7.1
									~sys-apps/parted-1.8.6
									~sys-apps/parted-1.8.7
								)
						 )
		 ia64? ( >=sys-apps/dmidecode-2.7 )
		 kernel_linux?	(
							>=sys-fs/udev-111
							>=sys-apps/util-linux-2.13
							>=sys-kernel/linux-headers-2.6.19
							crypt?	(
										||	(
												>=sys-fs/cryptsetup-1.0.5
												>=sys-fs/cryptsetup-luks-1.0.1
											)
									)
						)
		 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
		doc?	(
					app-doc/doxygen
					app-text/docbook-sgml-utils
					app-text/xmlto
					dev-libs/libxml2
				)"
PDEPEND=">=app-misc/hal-info-20071011
		 >=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 notify_uevent() {
	ewarn
	ewarn "You must enable Kernel Userspace Events in your kernel."
	ewarn "For this you need to enable 'Hotplug' under 'General Setup' and"
	ewarn "basic networking.  They are marked CONFIG_HOTPLUG and CONFIG_NET"
	ewarn "in the config file."
	ewarn
	ebeep 5
}

function notify_inotify() {
	ewarn
	ewarn "You must enable the Inotify system in your kernel."
	ewarn "For this you need to enable 'Inotify support for userspace'"
	ewarn "in 'File systems'. It is marked CONFIG_INOTIFY_USER in the config file."
	ewarn
	ebeep 5
}

function notify_acpi_procfs() {
	ewarn
	ewarn "You must enable support for the ACPI proc files in your kernel."
	ewarn "For this you need to enable '/proc/acpi files' in"
	ewarn "'ACPI Support (Advanced Configuration and Power Interface) Support'."
	ewarn "It is marked ewarn CONFIG_ACPI_PROCFS in the config file."
	ewarn
	ebeep 5
}

function notify_acpi_proc_event() {
	ewarn
	ewarn "You have not enabled support for the /proc/acpi/event interface."
	ewarn "For this you need to enable '/proc/acpi/event support' in"
	ewarn "ACPI Support (Advanced Configuration and Power Interface) Support"
	ewarn
	ebeep 5
}

pkg_setup() {
	if use kernel_linux; then
		kernel_is ge 2 6 19 || ewarn "HAL requires a kernel version 2.6.19 or newer"

		if ! ( linux_chkconfig_present HOTPLUG && linux_chkconfig_present NET )
		then
			notify_uevent
		fi

		linux_chkconfig_present INOTIFY_USER || notify_inotify

		if use acpi ; then
			linux_chkconfig_present ACPI_PROCFS || notify_acpi_procfs
			linux_chkconfig_present ACPI_PROC_EVENT || notify_acpi_proc_event
		fi
	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 || die "Problem adding haldaemon group"
	enewgroup plugdev || die "Problem adding plugdev group"

	# 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} \
			|| die "Problem adding haldaemon user"
	elif use kernel_FreeBSD; then
		enewuser haldaemon -1 "-1" /dev/null ${HALDAEMON_GROUPS_FREEBSD} \
			|| die "Problem addding haldaemon user"
	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
}

src_unpack() {
	unpack ${A}
	cd "${S}"

	# Hide recovery partitions
	epatch "${FILESDIR}/hal-0.5.9-hide-recovery-partitions.patch"

	# Enable plugdev support
	epatch "${FILESDIR}/0.5.9/96_plugdev_allow_send.patch"
}

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 \
		  --enable-policy-kit \
		  --enable-console-kit \
		  --enable-acl-management \
		  --enable-pci \
		  --enable-sonypic \
		  $(use_enable apm) \
		  $(use_enable arm pmu) \
		  $(use_enable 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() {
	make DESTDIR="${D}" install || die
	dodoc AUTHORS ChangeLog NEWS README

	# remove dep on gnome-python
	mv "${D}"/usr/bin/hal-device-manager "${D}"/usr/share/hal/device-manager/

	# hal umount for unclean unmounts
	exeinto /lib/udev/
	newexe "${FILESDIR}"/hal-unmount.dev hal_unmount

	# initscript
	newinitd "${FILESDIR}"/0.5.10-hald.rc hald

	# configuration
	cp "${FILESDIR}"/0.5.10-hald.conf "${WORKDIR}"/

	if use debug; then
		sed -e 's:HALD_VERBOSE="no":HALD_VERBOSE="yes":' \
			-i "${WORKDIR}"/0.5.10-hald.conf
	fi
	newconfd "${WORKDIR}"/0.5.10-hald.conf hald

	# 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"

	elog "IF you have additional applications which consume ACPI events, you"
	elog "should consider installing acpid to allow applications to share ACPI"
	elog "events."
}



-- 
gentoo-commits@gentoo.org mailing list



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

end of thread, other threads:[~2008-04-20 12:50 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-20 12:50 [gentoo-commits] gentoo-x86 commit in sys-apps/hal: ChangeLog hal-0.5.10.ebuild Mike Frysinger (vapier)
  -- strict thread matches above, loose matches on Subject: below --
2008-04-03 20:29 Tobias Klausmann (klausman)
2008-03-02 20:16 Ryan Hill (dirtyepic)
2007-12-25  5:00 Saleem Abdulrasool (compnerd)
2007-11-23  9:30 Saleem Abdulrasool (compnerd)
2007-11-23  6:29 Saleem Abdulrasool (compnerd)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox