public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in app-laptop/pbbuttonsd: ChangeLog pbbuttonsd-0.8.1-r1.ebuild pbbuttonsd-0.8.1-r2.ebuild pbbuttonsd-0.7.9.ebuild pbbuttonsd-0.6.6.ebuild pbbuttonsd-0.7.4.ebuild pbbuttonsd-0.7.8.ebuild pbbuttonsd-0.8.0.ebuild
@ 2007-09-09  1:58 Joseph Jezak,PPC Extraordinaire,, (josejx)
  0 siblings, 0 replies; only message in thread
From: Joseph Jezak,PPC Extraordinaire,, (josejx) @ 2007-09-09  1:58 UTC (permalink / raw
  To: gentoo-commits

josejx      07/09/09 01:58:39

  Modified:             ChangeLog pbbuttonsd-0.8.1-r1.ebuild
  Added:                pbbuttonsd-0.8.1-r2.ebuild
  Removed:              pbbuttonsd-0.7.9.ebuild pbbuttonsd-0.6.6.ebuild
                        pbbuttonsd-0.7.4.ebuild pbbuttonsd-0.7.8.ebuild
                        pbbuttonsd-0.8.0.ebuild
  Log:
  Added wireless resume script and cleaned up old ebuilds.
  (Portage version: 2.1.3.7)

Revision  Changes    Path
1.70                 app-laptop/pbbuttonsd/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-laptop/pbbuttonsd/ChangeLog?rev=1.70&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-laptop/pbbuttonsd/ChangeLog?rev=1.70&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-laptop/pbbuttonsd/ChangeLog?r1=1.69&r2=1.70

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-laptop/pbbuttonsd/ChangeLog,v
retrieving revision 1.69
retrieving revision 1.70
diff -u -r1.69 -r1.70
--- ChangeLog	19 Jul 2007 01:39:04 -0000	1.69
+++ ChangeLog	9 Sep 2007 01:58:39 -0000	1.70
@@ -1,6 +1,17 @@
 # ChangeLog for app-laptop/pbbuttonsd
 # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-laptop/pbbuttonsd/ChangeLog,v 1.69 2007/07/19 01:39:04 josejx Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-laptop/pbbuttonsd/ChangeLog,v 1.70 2007/09/09 01:58:39 josejx Exp $
+
+*pbbuttonsd-0.8.1-r2 (09 Sep 2007)
+
+  09 Sep 2007; Joseph Jezak <josejx@gentoo.org> -files/lm-fix.patch,
+  -files/pbbuttonsd-ibam-g++.patch,
+  -files/pbbuttonsd-laptopmode-noatime.patch, +files/wireless,
+  -files/x86-fix.patch, -pbbuttonsd-0.6.6.ebuild, -pbbuttonsd-0.7.4.ebuild,
+  -pbbuttonsd-0.7.8.ebuild, -pbbuttonsd-0.7.9.ebuild,
+  -pbbuttonsd-0.8.0.ebuild, pbbuttonsd-0.8.1-r1.ebuild,
+  +pbbuttonsd-0.8.1-r2.ebuild:
+  Added wireless resume script and cleaned up old ebuilds.
 
 *pbbuttonsd-0.8.1-r1 (19 Jul 2007)
 



1.2                  app-laptop/pbbuttonsd/pbbuttonsd-0.8.1-r1.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-laptop/pbbuttonsd/pbbuttonsd-0.8.1-r1.ebuild?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-laptop/pbbuttonsd/pbbuttonsd-0.8.1-r1.ebuild?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-laptop/pbbuttonsd/pbbuttonsd-0.8.1-r1.ebuild?r1=1.1&r2=1.2

Index: pbbuttonsd-0.8.1-r1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-laptop/pbbuttonsd/pbbuttonsd-0.8.1-r1.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- pbbuttonsd-0.8.1-r1.ebuild	19 Jul 2007 01:39:04 -0000	1.1
+++ pbbuttonsd-0.8.1-r1.ebuild	9 Sep 2007 01:58: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/app-laptop/pbbuttonsd/pbbuttonsd-0.8.1-r1.ebuild,v 1.1 2007/07/19 01:39:04 josejx Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-laptop/pbbuttonsd/pbbuttonsd-0.8.1-r1.ebuild,v 1.2 2007/09/09 01:58:39 josejx Exp $
 
 inherit autotools flag-o-matic eutils
 
@@ -10,7 +10,7 @@
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~ppc ~x86"
+KEYWORDS="ppc ~x86"
 IUSE="acpi alsa debug doc ibam macbook oss"
 
 DEPEND="macbook? ( sys-libs/libsmbios )



1.1                  app-laptop/pbbuttonsd/pbbuttonsd-0.8.1-r2.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-laptop/pbbuttonsd/pbbuttonsd-0.8.1-r2.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-laptop/pbbuttonsd/pbbuttonsd-0.8.1-r2.ebuild?rev=1.1&content-type=text/plain

Index: pbbuttonsd-0.8.1-r2.ebuild
===================================================================
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-laptop/pbbuttonsd/pbbuttonsd-0.8.1-r2.ebuild,v 1.1 2007/09/09 01:58:39 josejx Exp $

inherit autotools flag-o-matic eutils

DESCRIPTION="Handles power management and special keys on laptops."
HOMEPAGE="http://pbbuttons.berlios.de"
SRC_URI="mirror://sourceforge/pbbuttons/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~ppc ~x86"
IUSE="acpi alsa debug doc ibam macbook oss"

DEPEND="macbook? ( sys-libs/libsmbios )
		>=dev-libs/glib-2.6
		doc? ( app-doc/doxygen )"
RDEPEND="alsa? ( >=media-libs/alsa-lib-1.0 )
		 >=dev-libs/glib-2.6"

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

	epatch ${FILESDIR}/pmcs.patch
	eautoconf
}

src_compile() {
	# Fix crash bug on some systems
	replace-flags -O? -O1

	if use macbook; then
		laptop=macbook
	elif use x86 || use amd64; then
		if use acpi; then
			laptop=acpi
		else
			laptop=i386
		fi
	# Default to PowerBook
	else
		laptop=powerbook
	fi

	econf laptop=$laptop \
		$(use_enable debug) \
		$(use_with doc doxygen_docs) \
		$(use_with alsa) \
		$(use_with oss) \
		$(use_with ibam) \
		|| die "Sorry, failed to configure pbbuttonsd"

	# Thanks to Stefan Bruda for this workaround
	# Using -j1 fixes a parallel build issue with the docs
	if use doc; then
		emake -j1 || die "Sorry, failed to compile pbbuttonsd"
	else
		emake || die "Sorry, failed to compile pbbuttonsd"
	fi
}

src_install() {
	dodir /etc/power
	use ibam && dodir /var/lib/ibam
	make DESTDIR=${D} install || die "failed to install"
	newinitd ${FILESDIR}/pbbuttonsd.rc6 pbbuttonsd
	dodoc README
	use doc && dohtml -r doc/*

	dodir /etc/power/resume.d
	dodir /etc/power/suspend.d
	dodir /etc/power/scripts.d
	exeinto "/etc/power/scripts.d"
	doexe ${FILESDIR}/wireless
	ln -s ${D}/etc/power/scripts.d/wireless ${D}/etc/power/resume.d/wireless
}

pkg_postinst() {
	if [ -e /etc/pbbuttonsd.conf ]; then
		ewarn "The pbbuttonsd.cnf file replaces /etc/pbuttonsd.conf with a new"
		ewarn "file (/etc/pbbuttonsd.conf) and a new format.  Please check the"
		ewarn "manual page with 'man pbbuttonsd.cnf' for details."
		ewarn
	fi

	if use macbook; then
		ewarn "Macbook and Macbook Pro users should make sure to have applesmc"
		ewarn "loaded before starting pbbuttonsdm otherwise auto-adjustments"
		ewarn "will not work and pbbuttonsd may segfault."
	fi

	ewarn "Ensure that the evdev kernel module is loaded otherwise"
	ewarn "pbbuttonsd won't work.  SysV IPC is also required."
	ewarn
	ewarn "If you need extra security, you can tell pbbuttonsd to only accept"
	ewarn "input from one user.  You can set the userallowed option in"
	ewarn "/etc/pbbuttonsd.cnf to limit access."
	ewarn

	if use ibam; then
		elog "To properly initialize the IBaM battery database, you will"
		elog "need to perform a full discharge/charge cycle.  For more"
		elog "details, please see the pbbuttonsd man page."
		elog
	fi

	elog "A script is now available to reset your wirless connection on resume."
	elog "Simply uncomment the commented command and set the correct device to"
	elog "use it.  You can find the script in /etc/power/resume.d/wireless"

}



-- 
gentoo-commits@gentoo.org mailing list



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-09-09  2:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-09  1:58 [gentoo-commits] gentoo-x86 commit in app-laptop/pbbuttonsd: ChangeLog pbbuttonsd-0.8.1-r1.ebuild pbbuttonsd-0.8.1-r2.ebuild pbbuttonsd-0.7.9.ebuild pbbuttonsd-0.6.6.ebuild pbbuttonsd-0.7.4.ebuild pbbuttonsd-0.7.8.ebuild pbbuttonsd-0.8.0.ebuild Joseph Jezak,PPC Extraordinaire,, (josejx)

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