summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2004-04-05 22:10:04 +0000
committerLuca Barbato <lu_zero@gentoo.org>2004-04-05 22:10:04 +0000
commit8ad6a7b7b0533c7ce07db814c6279ad21f988e11 (patch)
tree754eb2ac42d4a4fe16e857ac749aff10859113b0 /gnome-base
parentfix DEPEND (diff)
downloadgentoo-2-8ad6a7b7b0533c7ce07db814c6279ad21f988e11.tar.gz
gentoo-2-8ad6a7b7b0533c7ce07db814c6279ad21f988e11.tar.bz2
gentoo-2-8ad6a7b7b0533c7ce07db814c6279ad21f988e11.zip
Reenable battstat/apm on ppc
Diffstat (limited to 'gnome-base')
-rw-r--r--gnome-base/gnome-applets/ChangeLog7
-rw-r--r--gnome-base/gnome-applets/files/gnome-applets-2.6.0-battstat.patch27
-rw-r--r--gnome-base/gnome-applets/gnome-applets-2.6.0.ebuild4
3 files changed, 35 insertions, 3 deletions
diff --git a/gnome-base/gnome-applets/ChangeLog b/gnome-base/gnome-applets/ChangeLog
index b6f79e90707b..ba9e7811132f 100644
--- a/gnome-base/gnome-applets/ChangeLog
+++ b/gnome-base/gnome-applets/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for gnome-base/gnome-applets
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-applets/ChangeLog,v 1.59 2004/03/22 01:31:42 foser Exp $
+# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-applets/ChangeLog,v 1.60 2004/04/05 22:10:04 lu_zero Exp $
+
+ 05 Apr 2004; Luca Barbato <lu_zero@gentoo.org> gnome-applets-2.6.0.ebuild,
+ files/gnome-applets-2.6.0-battstat.patch:
+ Reenabled the support for the battstat applet on ppc
+ Refer to bug #45925, thanks to Christopher Sachs <amitofu@mac.com>
*gnome-applets-2.6.0 (21 Mar 2004)
diff --git a/gnome-base/gnome-applets/files/gnome-applets-2.6.0-battstat.patch b/gnome-base/gnome-applets/files/gnome-applets-2.6.0-battstat.patch
new file mode 100644
index 000000000000..302f8da909f0
--- /dev/null
+++ b/gnome-base/gnome-applets/files/gnome-applets-2.6.0-battstat.patch
@@ -0,0 +1,27 @@
+diff -ruN gnome-applets-2.6.0.orig/configure gnome-applets-2.6.0/configure
+--- gnome-applets-2.6.0.orig/configure 2004-04-05 00:42:13.075488632 +0200
++++ gnome-applets-2.6.0/configure 2004-04-05 18:18:27.738075488 +0200
+@@ -24147,8 +24147,6 @@
+ NEED_LIBAPM=no
+ build_battstat_applet=yes
+ case "${host}" in
+- powerpc-*-linux*)
+- ;;
+ # list of supported OS cores that use libapm
+ *-*-linux*)
+ NEED_LIBAPM=yes
+diff -ruN gnome-applets-2.6.0.orig/configure.in gnome-applets-2.6.0/configure.in
+--- gnome-applets-2.6.0.orig/configure.in 2004-04-05 00:42:10.972808288 +0200
++++ gnome-applets-2.6.0/configure.in 2004-04-05 18:18:13.551232216 +0200
+@@ -208,8 +208,9 @@
+ NEED_LIBAPM=no
+ build_battstat_applet=yes
+ case "${host}" in
+- powerpc-*-linux*)
+- ;;
++# linux powerpc has apm emulation.
++# powerpc-*-linux*)
++# ;;
+ # list of supported OS cores that use libapm
+ *-*-linux*)
+ NEED_LIBAPM=yes
diff --git a/gnome-base/gnome-applets/gnome-applets-2.6.0.ebuild b/gnome-base/gnome-applets/gnome-applets-2.6.0.ebuild
index 519ea035e577..20c57d7d1c51 100644
--- a/gnome-base/gnome-applets/gnome-applets-2.6.0.ebuild
+++ b/gnome-base/gnome-applets/gnome-applets-2.6.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-applets/gnome-applets-2.6.0.ebuild,v 1.1 2004/03/22 01:31:42 foser Exp $
+# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-applets/gnome-applets-2.6.0.ebuild,v 1.2 2004/04/05 22:10:04 lu_zero Exp $
inherit gnome2
@@ -42,7 +42,7 @@ src_unpack() {
unpack ${A}
gnome2_omf_fix
-
+ epatch ${FILESDIR}/gnome-applets-2.6.0-battstat.patch
}
src_install () {