diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2008-05-31 11:48:21 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2008-05-31 11:48:21 +0000 |
commit | b2b61853ffe7569d46153b2737e10f6302152977 (patch) | |
tree | d04cd2dfc6d856c9ddf4cf06bd68390c5a1063fe /xfce-extra/xfce4-sensors | |
parent | New version for GNOME-2.22.2. Updated translations. (diff) | |
download | historical-b2b61853ffe7569d46153b2737e10f6302152977.tar.gz historical-b2b61853ffe7569d46153b2737e10f6302152977.tar.bz2 historical-b2b61853ffe7569d46153b2737e10f6302152977.zip |
Apply patches ffrom bugs 217743 and 214527, thanks to Torsten Krah, Paolo Pedroni, Tim Taubert and Andy Crook.
Package-Manager: portage-2.1.5.2
Diffstat (limited to 'xfce-extra/xfce4-sensors')
5 files changed, 83 insertions, 2 deletions
diff --git a/xfce-extra/xfce4-sensors/ChangeLog b/xfce-extra/xfce4-sensors/ChangeLog index c10c47cf5631..1c2a50687886 100644 --- a/xfce-extra/xfce4-sensors/ChangeLog +++ b/xfce-extra/xfce4-sensors/ChangeLog @@ -1,6 +1,15 @@ # ChangeLog for xfce-extra/xfce4-sensors # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/xfce-extra/xfce4-sensors/ChangeLog,v 1.29 2008/03/22 11:22:41 nixnut Exp $ +# $Header: /var/cvsroot/gentoo-x86/xfce-extra/xfce4-sensors/ChangeLog,v 1.30 2008/05/31 11:48:21 drac Exp $ + +*xfce4-sensors-0.10.99.3-r1 (31 May 2008) + + 31 May 2008; Samuli Suominen <drac@gentoo.org> + +files/xfce4-sensors-0.10.99.3-acpi.patch, + +files/xfce4-sensors-0.10.99.3-hddtemp.patch, + +xfce4-sensors-0.10.99.3-r1.ebuild: + Apply patches ffrom bugs 217743 and 214527, thanks to Torsten Krah, Paolo + Pedroni, Tim Taubert and Andy Crook. Fixes for ACPI and hddtemp. 22 Mar 2008; nixnut <nixnut@gentoo.org> xfce4-sensors-0.10.99.3.ebuild: Stable on ppc wrt bug 214130 diff --git a/xfce-extra/xfce4-sensors/Manifest b/xfce-extra/xfce4-sensors/Manifest index 52321a44dc2f..e61c03fa152c 100644 --- a/xfce-extra/xfce4-sensors/Manifest +++ b/xfce-extra/xfce4-sensors/Manifest @@ -1,4 +1,7 @@ +AUX xfce4-sensors-0.10.99.3-acpi.patch 791 RMD160 bdc7b1fef93f58121244f1dd560af5e44e9069fc SHA1 40b4d5cc154f3c8e9482caed01cc53871f9bdc26 SHA256 20fb8df0dea8cfc24b25d44e97079e6d57b47de321da5446816ae955f61a70b9 +AUX xfce4-sensors-0.10.99.3-hddtemp.patch 790 RMD160 16f1e5e41dd05fddc166b9fa17ed03ea203236cf SHA1 72e822416ff4ac5ef51ced7c02b2f474dcba5385 SHA256 42124617b60a8560cc4e5c109e27f14bef6aa8c78ac6947c97471a17b18bc238 DIST xfce4-sensors-plugin-0.10.99.3.tar.bz2 316973 RMD160 d432eec181876b9f0f1a134f0040ab79a89c2192 SHA1 66a2d8729c3020498098d2064e90f7a3d5efadc9 SHA256 b9458a0c2eff4157b605a0ca7c394acd63b6c9f17d0c7c23888767b872a275cc +EBUILD xfce4-sensors-0.10.99.3-r1.ebuild 986 RMD160 89a4000657460bac3efff0c405326197c1116daa SHA1 231a385fead3eaac90bd9b54166931b97ee8d859 SHA256 1a1f8f842288d8a5c9951b381028ea82f1f6c4bad194c14045de36c9aaef5033 EBUILD xfce4-sensors-0.10.99.3.ebuild 857 RMD160 15b6ae66dcc4e23d49916eb2633632251fed4a32 SHA1 8152ba91f5c0c25b8a59eb1ead9f4fc6141ada90 SHA256 82b8e5e18c7cf6cab7156b7e27ac8ce28a70c10d72d89fc4cd4709337b62b41b -MISC ChangeLog 4257 RMD160 d8ad73f6e140e5f07392963dcf350aac00035cd9 SHA1 4bd5bd5517731980c21fe722fb03fbb3d027897d SHA256 7959093377658ca1be740516e65e4f0d2408ddd025ce78c1ea3889a0e299b780 +MISC ChangeLog 4622 RMD160 41be0a628e910e7457fa5cd94eea8d2cd7a3e6c0 SHA1 5cb3cc754ff063b91be788d95a0c9cd9c8ae666b SHA256 72cfaeed09f505c7a9f5eedd42a44ac28027cee8521f834180af4b8ede3b122f MISC metadata.xml 157 RMD160 d7470fe88d1b96f3a7f1ef26fb7dc646b4a1b907 SHA1 7eae91f2588bdae8667d37a98fb3090d539eeca1 SHA256 44350daa7594842894d676413708d8ea77ccb0017bed24711af5b256281f5e61 diff --git a/xfce-extra/xfce4-sensors/files/xfce4-sensors-0.10.99.3-acpi.patch b/xfce-extra/xfce4-sensors/files/xfce4-sensors-0.10.99.3-acpi.patch new file mode 100644 index 000000000000..08afcb99aa00 --- /dev/null +++ b/xfce-extra/xfce4-sensors/files/xfce4-sensors-0.10.99.3-acpi.patch @@ -0,0 +1,12 @@ +diff -Naur xfce4-sensors-plugin-0.10.99.3_a/panel-plugin/middlelayer.c xfce4-sensors-plugin-0.10.99.3_b/panel-plugin/middlelayer.c +--- xfce4-sensors-plugin-0.10.99.3_a/panel-plugin/middlelayer.c 2007-11-24 16:03:25.000000000 +0100 ++++ xfce4-sensors-plugin-0.10.99.3_b/panel-plugin/middlelayer.c 2008-04-16 12:04:48.000000000 +0200 +@@ -187,7 +187,7 @@ + feature = (t_chipfeature *) g_ptr_array_index (chip->chip_features, number); + g_assert (feature!=NULL); + /* *value = get_acpi_zone_value (feature->name); */ +- /* refresh_acpi ((gpointer) feature); */ ++ refresh_acpi ((gpointer) feature, NULL); + *value = feature->raw_value; + return 0; /* HERE I AM, I WANNA BE FIXED */ + #else diff --git a/xfce-extra/xfce4-sensors/files/xfce4-sensors-0.10.99.3-hddtemp.patch b/xfce-extra/xfce4-sensors/files/xfce4-sensors-0.10.99.3-hddtemp.patch new file mode 100644 index 000000000000..a3052b9afff6 --- /dev/null +++ b/xfce-extra/xfce4-sensors/files/xfce4-sensors-0.10.99.3-hddtemp.patch @@ -0,0 +1,20 @@ +--- panel-plugin/hddtemp.c 2007-12-11 23:14:02.000000000 +0200 ++++ panel-plugin/hddtemp.c.new 2008-04-03 12:47:36.000000000 +0300 +@@ -122,6 +122,8 @@ + while ( (dirname = g_dir_read_name (gdir))!=NULL ) { + if ( strncmp (dirname, "ram", 3)!=0 && + strncmp (dirname, "loop", 4)!=0 && ++ strncmp (dirname, "md", 2)!=0 && ++ strncmp (dirname, "fd", 2)!=0 && + strncmp (dirname, "dm-", 3)!=0 ) { + /* TODO: look, if /dev/dirname exists? */ + chipfeature = g_new0 (t_chipfeature, 1); +@@ -283,7 +285,7 @@ + + TRACE ("enters get_hddtemp_value for %s", disk); + +- cmd_line = g_strdup_printf ( "%s -F -n -q %s", PATH_HDDTEMP, disk); ++ cmd_line = g_strdup_printf ( "%s -n -q %s", PATH_HDDTEMP, disk); + + msg_text = NULL; + diff --git a/xfce-extra/xfce4-sensors/xfce4-sensors-0.10.99.3-r1.ebuild b/xfce-extra/xfce4-sensors/xfce4-sensors-0.10.99.3-r1.ebuild new file mode 100644 index 000000000000..3b0da415e6de --- /dev/null +++ b/xfce-extra/xfce4-sensors/xfce4-sensors-0.10.99.3-r1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/xfce-extra/xfce4-sensors/xfce4-sensors-0.10.99.3-r1.ebuild,v 1.1 2008/05/31 11:48:21 drac Exp $ + +inherit eutils xfce44 + +xfce44 + +DESCRIPTION="acpi, lm_sensors and hddtemp panel plugin" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="acpi debug hddtemp lm_sensors" + +RDEPEND="lm_sensors? ( sys-apps/lm_sensors ) + hddtemp? ( app-admin/hddtemp )" +DEPEND="dev-util/intltool" + +pkg_setup() { + XFCE_CONFIG+=" $(use_enable hddtemp) + $(use_enable lm_sensors libsensors) + $(use_enable acpi procacpi)" + + if ! use hddtemp && ! use lm_sensors && ! use acpi; then + XFCE_CONFIG+=" --enable-procacpi" + ewarn "Because you disabled all USE flags, selecting acpi for you." + fi + + DOCS="AUTHORS ChangeLog NEWS NOTES README TODO" +} + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-hddtemp.patch \ + "${FILESDIR}"/${P}-acpi.patch +} + +xfce44_goodies_panel_plugin |