summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2011-03-22 21:00:31 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2011-03-22 21:00:31 +0000
commitf84d2f69f2fbbca32cc6b30998e04ba0cb1e7969 (patch)
treeaf905b2f834c508b249a68d86610facfb55b6b75 /xfce-extra
parentstable ppc, bug 357941 (diff)
downloadgentoo-2-f84d2f69f2fbbca32cc6b30998e04ba0cb1e7969.tar.gz
gentoo-2-f84d2f69f2fbbca32cc6b30998e04ba0cb1e7969.tar.bz2
gentoo-2-f84d2f69f2fbbca32cc6b30998e04ba0cb1e7969.zip
old
(Portage version: 2.2.0_alpha28/cvs/Linux x86_64)
Diffstat (limited to 'xfce-extra')
-rw-r--r--xfce-extra/xfce4-battery-plugin/Manifest18
-rw-r--r--xfce-extra/xfce4-battery-plugin/files/0.5.1-2.6.24-headers.patch12
-rw-r--r--xfce-extra/xfce4-battery-plugin/files/0.5.1-freebsd.patch31
-rw-r--r--xfce-extra/xfce4-battery-plugin/files/0.5.1-libacpi.patch56
-rw-r--r--xfce-extra/xfce4-battery-plugin/files/0.5.1-sysfs.patch356
-rw-r--r--xfce-extra/xfce4-battery-plugin/xfce4-battery-plugin-0.5.1.ebuild39
6 files changed, 0 insertions, 512 deletions
diff --git a/xfce-extra/xfce4-battery-plugin/Manifest b/xfce-extra/xfce4-battery-plugin/Manifest
index 951bae5ac5b5..d8008bd04372 100644
--- a/xfce-extra/xfce4-battery-plugin/Manifest
+++ b/xfce-extra/xfce4-battery-plugin/Manifest
@@ -1,24 +1,6 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-AUX 0.5.1-2.6.24-headers.patch 422 RMD160 f8d0895dfef8b67569fcc253f2cde2330bfe89e7 SHA1 a8818bd9111dd0feca524244ca3504d8475396df SHA256 c44e0db7010b12b9de40c4072b84088761e5b1f08775445eaa6d6bbca242680d
-AUX 0.5.1-freebsd.patch 654 RMD160 fd42146bc6fd149a03a48f656c1108c5b8833b0e SHA1 28f8049c305a4f2b3aaa9ad483897083ecb15055 SHA256 750596b88e43f6bac05eaa8f63dd753d9b42a89a31063562905785555be1b919
-AUX 0.5.1-libacpi.patch 1505 RMD160 709bd01ddbbfb2bf117d0e87d0642c463676c167 SHA1 e14de88cab52ed6e6146122f9997b8b93b3a301e SHA256 1f49924a10c5e53f88912db3e63dc382052e68fdd4c1ea439771a504f5f08566
-AUX 0.5.1-sysfs.patch 8838 RMD160 3295285f56473996c168cc0a265714f134c359c2 SHA1 1573a3269045cf8baa73bf156d49bd9f3a09bdb2 SHA256 725692d98eead435099e6a27f527523d4984c792751379d7b9b501be04072e39
AUX xfce4-battery-plugin-1.0.0-sysfs.patch 1847 RMD160 433831562377027586d7cb5d28702c389adfe7ca SHA1 79403dee1dac687087df4f83f557abb6d4f9bc8c SHA256 7fe42981006e32fc263d346f0b79bc8f0ca0133aa493e781bece5203dbc8d58e
-DIST xfce4-battery-plugin-0.5.1.tar.bz2 227940 RMD160 ee770f06226cf8dfed95892c152ae3a2a446079a SHA1 f97c1b6445c8da07c17353ae385b5fadb2fd5f1a SHA256 6b90a37d8f01d2f042679a3f3f92f08dee96510096115f52fb9210ef4cad7c61
DIST xfce4-battery-plugin-1.0.0.tar.bz2 358338 RMD160 3fe88d5d75e8388803a7f2f65362b09e1a2e7ba0 SHA1 405723c7a28229a946339594db7f8b6a079018c0 SHA256 c28bb580e6b932c017b5bc6b2e75de8c3557e08d9606c7a70134aa035f8a121f
-EBUILD xfce4-battery-plugin-0.5.1.ebuild 967 RMD160 cf2bebe5324065e2b199e0dee8a6b08849c74aa7 SHA1 9535bce5de0ca9742f3704ef3b90d1255637411e SHA256 d71afc658a6b8007d931ab4b23a6e1f689f3b9e5c423a290495ea2ebc3699934
EBUILD xfce4-battery-plugin-1.0.0-r1.ebuild 941 RMD160 4c6e2e2ec20e9d9d2ac783f5a9960a82836f2fa0 SHA1 7dc3527201b6e568e68159fed5cebe662f0eee6f SHA256 79d7d96d97042fa99b88eb0e87d04294279e426b439e189b88900d96181b3f71
EBUILD xfce4-battery-plugin-1.0.0.ebuild 891 RMD160 f68a644aec4e726d68b214f72dc5435e5c8e3f48 SHA1 cabb8ee10e6fe69863b3c46921a4ec19083ba632 SHA256 a4b2ebc6b069c950ea79b3fb26517c74e7461887ab77df24b78cede7e48d259f
MISC ChangeLog 1434 RMD160 03ec545db3523d83d164a35f9546ed60953d0983 SHA1 78a3e8b092f8e3496dba78c0269a74ece104586a SHA256 312b48b4233e6db5fb7a5de86f2745bbbfbef9cdad0b7d31dd81a64c83bddf4d
MISC metadata.xml 159 RMD160 43722935bd7b4db7fe8db681054f2e53c4a5f7ce SHA1 15958ad72e234ba572c9534533c21532eb6bc0fd SHA256 900ea49b6703fce452e205b85226bf1f994725963e5840da501182e7487d0e63
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.17 (GNU/Linux)
-
-iJwEAQECAAYFAk2JDXsACgkQIiMqcbOVdxSv3wP/RG0H3EcgRFDZzLcJhvSuwQH5
-dfN6IrlSA1XZLS9BKovXHWxnF4QHiMNsli5ZZQAX0dKut9xXPTqH9gwBGYqQ01+9
-8n52vPFfDAzyf6lOLkW532rg/P5xMN0m5m2UoP6jkBx+pTWVBDr2AX8p15D+W/bC
-/z2HbYssoqke7Yf36oE=
-=c9Zn
------END PGP SIGNATURE-----
diff --git a/xfce-extra/xfce4-battery-plugin/files/0.5.1-2.6.24-headers.patch b/xfce-extra/xfce4-battery-plugin/files/0.5.1-2.6.24-headers.patch
deleted file mode 100644
index 080707a3be3f..000000000000
--- a/xfce-extra/xfce4-battery-plugin/files/0.5.1-2.6.24-headers.patch
+++ /dev/null
@@ -1,12 +0,0 @@
---- xfce4-battery-plugin-0.5.0/panel-plugin/libapm.h.orig 2008-03-18 20:10:58.000000000 +0100
-+++ xfce4-battery-plugin-0.5.0/panel-plugin/libapm.h 2008-03-18 20:14:45.000000000 +0100
-@@ -17,8 +17,8 @@
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- */
-
--#include <linux/apm_bios.h>
- #include <sys/types.h>
-+#include <linux/apm_bios.h>
-
- #define APM_PROC "/proc/apm"
- #define APM_DEVICE "/dev/apm_bios"
diff --git a/xfce-extra/xfce4-battery-plugin/files/0.5.1-freebsd.patch b/xfce-extra/xfce4-battery-plugin/files/0.5.1-freebsd.patch
deleted file mode 100644
index 1d929c9b7f3d..000000000000
--- a/xfce-extra/xfce4-battery-plugin/files/0.5.1-freebsd.patch
+++ /dev/null
@@ -1,31 +0,0 @@
---- panel-plugin/battery.c.orig 2008-09-04 22:53:40.000000000 +0200
-+++ panel-plugin/battery.c 2008-09-08 18:12:12.000000000 +0200
-@@ -382,6 +382,7 @@
- rate = last_rate;
- }
-
-+#ifdef __linux__
- charge = (((float)ccapacity)/((float)lcapacity))*100;
-
- if ( last_acline )
-@@ -394,6 +395,20 @@
-
- last_acline = acline;
-
-+#elif __FreeBSD__
-+ charge = acpistate->percentage;
-+
-+ if ( last_acline )
-+ time_remaining = acpistate->rtime;
-+ else
-+ time_remaining = acpistate->rtime;
-+
-+ if ( time_remaining < 0 )
-+ time_remaining = 0;
-+
-+ last_acline = acline;
-+#endif
-+
- }
- #ifdef __linux__
- else {
diff --git a/xfce-extra/xfce4-battery-plugin/files/0.5.1-libacpi.patch b/xfce-extra/xfce4-battery-plugin/files/0.5.1-libacpi.patch
deleted file mode 100644
index c683b3e002f8..000000000000
--- a/xfce-extra/xfce4-battery-plugin/files/0.5.1-libacpi.patch
+++ /dev/null
@@ -1,56 +0,0 @@
-diff -ur xfce4-battery-plugin-0.5.0.orig/panel-plugin/libacpi.c xfce4-battery-plugin-0.5.0/panel-plugin/libacpi.c
---- xfce4-battery-plugin-0.5.0.orig/panel-plugin/libacpi.c 2007-01-17 19:56:51.000000000 +0200
-+++ xfce4-battery-plugin-0.5.0/panel-plugin/libacpi.c 2007-02-09 16:34:40.000000000 +0200
-@@ -30,6 +30,7 @@
- #include <stdlib.h>
- #include <sys/types.h>
- #include <dirent.h>
-+#include <glob.h>
-
- #if HAVE_SYSCTL
-
-@@ -181,6 +182,22 @@
- #endif
- #endif
-
-+/* expand file name and fopen first match */
-+static FILE *
-+fopen_glob(const char *name, const char *mode)
-+{
-+ glob_t globbuf;
-+ FILE *fd;
-+
-+ if (glob(name, 0, NULL, &globbuf) != 0)
-+ return NULL;
-+
-+ fd = fopen(globbuf.gl_pathv[0], mode);
-+ globfree(&globbuf);
-+
-+ return fd;
-+}
-+
- /* see if we have ACPI support */
- int check_acpi(void)
- {
-@@ -693,7 +710,7 @@
- else return 0;
- }
- proc_fan_status="/proc/acpi/fan/*/state";
-- if ( (fp=fopen(proc_fan_status, "r")) == NULL ) return 0;
-+ if ( (fp=fopen_glob(proc_fan_status, "r")) == NULL ) return 0;
-
- fgets(line,255,fp);
- fclose(fp);
-@@ -706,10 +723,10 @@
- {
- #ifdef __linux__
- FILE *fp;
-- char *proc_temperature="/proc/acpi/thermal_zone/*0/temperature";
-+ char *proc_temperature="/proc/acpi/thermal_zone/*/temperature";
- static char *p,line[256];
-
-- if ( (fp=fopen(proc_temperature, "r")) == NULL) return NULL;
-+ if ( (fp=fopen_glob(proc_temperature, "r")) == NULL) return NULL;
- fgets(line,255,fp);
- fclose(fp);
- p=strtok(line," ");
diff --git a/xfce-extra/xfce4-battery-plugin/files/0.5.1-sysfs.patch b/xfce-extra/xfce4-battery-plugin/files/0.5.1-sysfs.patch
deleted file mode 100644
index 640048f519f1..000000000000
--- a/xfce-extra/xfce4-battery-plugin/files/0.5.1-sysfs.patch
+++ /dev/null
@@ -1,356 +0,0 @@
-diff -ru xfce4-battery-plugin-0.5.0.orig/panel-plugin/libacpi.c xfce4-battery-plugin-0.5.0-fixed/panel-plugin/libacpi.c
---- xfce4-battery-plugin-0.5.0.orig/panel-plugin/libacpi.c 2008-04-06 02:56:10.502679698 +0200
-+++ xfce4-battery-plugin-0.5.0-fixed/panel-plugin/libacpi.c 2008-04-06 03:15:11.306678469 +0200
-@@ -54,6 +54,10 @@
-
- static char batteries[MAXBATT][128];
- static char battinfo[MAXBATT][128];
-+/* path to AC adapter because not all AC adapter are listed
-+in /sys/class/power_supply/AC/ this obviously only supports one AC adapter. */
-+static char sysfsacdir[128];
-+
- #ifndef __linux__
- #if HAVE_SYSCTL
- static int
-@@ -181,9 +185,76 @@
- #endif
- #endif
-
-+int check_acpi_sysfs(void)
-+{
-+ DIR *sysfs;
-+ struct dirent *batt;
-+ char *name;
-+ FILE *typefile;
-+ char typepath[128];
-+ char tmptype[8];
-+
-+ sysfs = opendir("/sys/class/power_supply");
-+ if (sysfs == 0)
-+ {
-+ #ifdef DEBUG
-+ printf("DBG:No acpi support for sysfs. Trying procfs...\n");
-+ #endif
-+ return 2;
-+ }
-+
-+ while ((batt = readdir(sysfs)))
-+ {
-+ name = batt->d_name;
-+ if (!strncmp(".", name, 1)) continue;
-+ /* check whether /sys/class/power_supply/$name/type exists and
-+ contains "Battery" or "Mains" */
-+ sprintf(typepath, "/sys/class/power_supply/%s/type",name);
-+ if(!(typefile = fopen(typepath, "r"))) continue;
-+ fgets(tmptype, 8, typefile);
-+ fclose(typefile);
-+ if(strncmp("Battery", tmptype, 7)==0)
-+ {
-+ sprintf(batteries[batt_count], "/sys/class/power_supply/%s", name);
-+ #ifdef DEBUG
-+ printf("DBG:battery number %d at:\n",batt_count);
-+ printf("DBG:sysfs dir->%s\n",batteries[batt_count]);
-+ printf("DBG:------------------------\n");
-+ #endif
-+ batt_count++;
-+ }
-+ /* I guess that the type of the AC adapter is always "Mains" (?) */
-+ else if(strncmp("Mains", tmptype, 5)==0){
-+ sprintf(sysfsacdir, "/sys/class/power_supply/%s", name);
-+ #ifdef DEBUG
-+ printf("DBG:sysfs AC dir->%s\n",sysfsacdir);
-+ printf("DBG:------------------------\n");
-+ #endif
-+ }
-+ }
-+ closedir(sysfs);
-+ if ( batt_count == 0 )
-+ {
-+#ifdef DEBUG
-+ printf("DBG:No acpi support for sysfs. Trying procfs...\n");
-+#endif
-+ acpi_sysfs = 0;
-+ return 2;
-+ }
-+ else
-+ {
-+ acpi_sysfs = 1;
-+ return 0;
-+ }
-+}
-+
- /* see if we have ACPI support */
- int check_acpi(void)
- {
-+#ifdef __linux__
-+ if ( check_acpi_sysfs() == 0 )
-+ return 0;
-+#endif
- DIR *battdir;
- struct dirent *batt;
- char *name;
-@@ -262,9 +333,82 @@
- #endif
- }
-
-+int read_sysfs_int(char* filename)
-+{
-+ FILE* f;
-+ f = fopen(filename,"r");
-+ if ( !f )
-+ {
-+#ifdef DEBUG
-+ printf("DBG:Could not open %s\n",filename);
-+#endif
-+ return 0;
-+ }
-+ int out;
-+ fscanf(f,"%d",&out);
-+ fclose(f);
-+ return out;
-+}
-+
-+char* read_sysfs_string(char* filename)
-+{
-+ FILE* f;
-+ f = fopen(filename,"r");
-+ if ( !f )
-+ {
-+#ifdef DEBUG
-+ printf("DBG:Could not open %s\n",filename);
-+#endif
-+ return NULL;
-+ }
-+ fscanf(f,"%s",buf2);
-+ fclose(f);
-+ return buf2;
-+}
-+
-+int read_acad_state_sysfs(void)
-+{
-+ DIR *sysfs;
-+ struct dirent *propety;
-+ char *name;
-+ char onlinefilepath[128];
-+
-+ sysfs = opendir(sysfsacdir);
-+ if (sysfs == 0)
-+ {
-+ #ifdef DEBUG
-+ printf("DBG:Can't open %s",sysfsacdir);
-+ #endif
-+ return 0;
-+ }
-+ closedir(sysfs);
-+
-+ if (!acadstate) acadstate=(ACADstate *)malloc(sizeof(ACADstate));
-+ /* this code doesn't make much sense.. why look at the whole directory?!
-+ while ((propety = readdir(sysfs)))
-+ {
-+ name = propety->d_name;
-+ if (!strncmp(".", name, 1) || !strncmp("..", name, 2)) continue;
-+
-+ if (strcmp(name,"online") == 0)
-+ {
-+ acadstate->state = ( read_sysfs_int("/sys/class/power_supply/AC/online") == 1 ) ;
-+ }
-+ }
-+ */
-+ sprintf(onlinefilepath, "%s/online", sysfsacdir);
-+ /* if onlinefilepath doesn't exist read_sysfs_int() will return 0
-+ so acadstate->state will be 0, that should be ok */
-+ acadstate->state = ( read_sysfs_int(onlinefilepath) == 1 );
-+
-+ return acadstate->state;
-+}
-+
- int read_acad_state(void)
- {
- #ifdef __linux__
-+ if (acpi_sysfs)
-+ return read_acad_state_sysfs();
- FILE *acpi;
- char *ptr;
- char stat;
-@@ -354,20 +498,83 @@
- #endif
- }
-
-+int read_acpi_info_sysfs(int battery)
-+{
-+ DIR *sysfs;
-+ struct dirent *propety;
-+ char *name;
-+
-+ sysfs = opendir(batteries[battery]);
-+ if (sysfs == 0)
-+ {
-+ #ifdef DEBUG
-+ printf("DBG:Can't open %s!\n", batteries[battery]);
-+ #endif
-+ return 0;
-+ }
-+ /* malloc.. might explain the random battery level values on 2.6.24
-+ systems (energe_full is called charge_full so the value isn't initialised
-+ and some random data from the heap is displayed..)
-+ if (!acpiinfo) acpiinfo=(ACPIinfo *)malloc(sizeof(ACPIinfo));
-+ */
-+ if (!acpiinfo) acpiinfo=(ACPIinfo *)calloc(1, sizeof(ACPIinfo));
-+
-+ while ((propety = readdir(sysfs)))
-+ {
-+ name = propety->d_name;
-+ if (!strncmp(".", name, 1) || !strncmp("..", name, 2)) continue;
-+ /* at least on my system this is called charge_full */
-+ if ((strcmp(name,"energy_full") == 0) || (strcmp(name,"charge_full") == 0))
-+ {
-+ sprintf(buf,"%s/%s",batteries[battery], name);
-+ acpiinfo->last_full_capacity = read_sysfs_int(buf);
-+ }
-+ if ((strcmp(name,"energy_full_design") == 0) || (strcmp(name,"charge_full_design") == 0))
-+ {
-+ sprintf(buf,"%s/%s",batteries[battery], name);
-+ acpiinfo->design_capacity = read_sysfs_int(buf);
-+ }
-+ if (strcmp(name,"technology") == 0)
-+ {
-+ char *tmp;
-+ sprintf(buf,"%s/%s",batteries[battery], name);
-+ tmp = read_sysfs_string(buf);
-+ if (tmp != NULL)
-+ {
-+ if (strcmp(tmp,"Li-ion") == 0)
-+ acpiinfo->battery_technology = 1;
-+ else
-+ acpiinfo->battery_technology = 0;
-+ }
-+ }
-+ if (strcmp(name,"present") == 0)
-+ {
-+ sprintf(buf,"%s/%s",batteries[battery], name);
-+ acpiinfo->present = read_sysfs_int(buf);
-+ }
-+ }
-+ closedir(sysfs);
-+ return acpiinfo->present;
-+}
-+
- int read_acpi_info(int battery)
- {
- #ifdef __linux__
-- FILE *acpi;
-- char *ptr;
-- char stat;
-- int temp;
--
- if (battery > MAXBATT) {
- #ifdef DEBUG
- printf("DBG: error, battery > MAXBATT (%d)\n",MAXBATT);
- #endif
- return 0;
- }
-+
-+ if (acpi_sysfs)
-+ return read_acpi_info_sysfs(battery);
-+
-+ FILE *acpi;
-+ char *ptr;
-+ char stat;
-+ int temp;
-+
- if (!(acpi = fopen (battinfo[battery], "r"))) {
- #ifdef DEBUG
- printf("DBG:cannot open %s for read!\n",battinfo[battery]);
-@@ -514,9 +721,80 @@
-
- }
-
-+int read_acpi_state_sysfs(int battery)
-+{
-+ DIR *sysfs;
-+ struct dirent *propety;
-+ char *name;
-+
-+ sysfs = opendir(batteries[battery]);
-+ if (sysfs == 0)
-+ {
-+ #ifdef DEBUG
-+ printf("DBG:Can't open %s!\n", batteries[battery]);
-+ #endif
-+ return 0;
-+ }
-+
-+ /* again it might be better to use calloc
-+ if (!acpistate) acpistate=(ACPIstate *)malloc(sizeof(ACPIstate));
-+ */
-+ if (!acpistate) acpistate=(ACPIstate *)calloc(1, sizeof(ACPIstate));
-+
-+ while ((propety = readdir(sysfs)))
-+ {
-+ name = propety->d_name;
-+ if (!strncmp(".", name, 1) || !strncmp("..", name, 2)) continue;
-+
-+ if (strcmp(name,"status") == 0)
-+ {
-+ char *tmp;
-+ sprintf(buf,"%s/%s",batteries[battery], name);
-+ tmp = read_sysfs_string(buf);
-+ if ( tmp != NULL )
-+ {
-+ if (strcmp(tmp,"Charging") == 0)
-+ acpistate->state = CHARGING;
-+ else if (strcmp(tmp,"Discharging") == 0)
-+ acpistate->state = DISCHARGING;
-+ else if (strcmp(tmp,"Full") == 0)
-+ acpistate->state = POWER;
-+ else
-+ acpistate->state = UNKNOW;
-+ }
-+ }
-+ /* on my system this is called charge_now */
-+ if ((strcmp(name,"energy_now") == 0) || (strcmp(name,"charge_now") == 0))
-+ {
-+ sprintf(buf,"%s/%s",batteries[battery], name);
-+ acpistate->rcapacity = read_sysfs_int(buf);
-+ acpistate->percentage = (((float) acpistate->rcapacity)/acpiinfo->last_full_capacity) * 100;
-+ }
-+ if (strcmp(name,"current_now") == 0)
-+ {
-+ sprintf(buf,"%s/%s",batteries[battery], name);
-+ acpistate->prate = read_sysfs_int(buf);
-+ if ( acpistate->prate < 0 )
-+ acpistate->prate = 0;
-+ if ( acpistate->prate > 0 )
-+ acpistate->rtime = (((float) acpistate->rcapacity) / acpistate->prate) * 60;
-+ }
-+ if (strcmp(name,"voltage_now") == 0)
-+ {
-+ sprintf(buf,"%s/%s",batteries[battery], name);
-+ acpistate->pvoltage = read_sysfs_int(buf);
-+ }
-+ }
-+ closedir(sysfs);
-+ return acpiinfo->present;
-+}
-+
- int read_acpi_state(int battery)
- {
- #ifdef __linux__
-+ if (acpi_sysfs)
-+ return read_acpi_state_sysfs(battery);
-+
- FILE *acpi;
- char *ptr;
- char stat;
-diff -ru xfce4-battery-plugin-0.5.0.orig/panel-plugin/libacpi.h xfce4-battery-plugin-0.5.0-fixed/panel-plugin/libacpi.h
---- xfce4-battery-plugin-0.5.0.orig/panel-plugin/libacpi.h 2007-01-17 18:56:51.000000000 +0100
-+++ xfce4-battery-plugin-0.5.0-fixed/panel-plugin/libacpi.h 2008-04-05 22:13:55.522679792 +0200
-@@ -80,6 +80,8 @@
- int batt_count;
- /* temp buffer */
- char buf[512];
-+char buf2[512];
-+int acpi_sysfs;
- #else
- extern int batt_count;
- extern ACPIstate *acpistate;
diff --git a/xfce-extra/xfce4-battery-plugin/xfce4-battery-plugin-0.5.1.ebuild b/xfce-extra/xfce4-battery-plugin/xfce4-battery-plugin-0.5.1.ebuild
deleted file mode 100644
index 53ddf5a23251..000000000000
--- a/xfce-extra/xfce4-battery-plugin/xfce4-battery-plugin-0.5.1.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/xfce-extra/xfce4-battery-plugin/xfce4-battery-plugin-0.5.1.ebuild,v 1.3 2011/01/29 21:03:10 ssuominen Exp $
-
-EAPI=3
-inherit xfconf
-
-DESCRIPTION="Battery status panel plugin"
-HOMEPAGE="http://www.xfce.org/"
-SRC_URI="mirror://xfce/src/panel-plugins/${PN}/0.5/${P}.tar.bz2"
-
-LICENSE="GPL-2 LGPL-2"
-SLOT="0"
-KEYWORDS="amd64 arm ppc x86"
-IUSE="debug"
-
-RDEPEND=">=x11-libs/gtk+-2.6:2
- >=xfce-base/xfce4-panel-4.3.90.2
- >=xfce-base/libxfce4util-4.3.90.2
- >=xfce-base/libxfcegui4-4.3.90.2"
-DEPEND="${RDEPEND}
- dev-util/pkgconfig
- dev-util/intltool"
-
-pkg_setup() {
- PATCHES=(
- "${FILESDIR}"/${PV}-freebsd.patch
- "${FILESDIR}"/${PV}-libacpi.patch
- "${FILESDIR}"/${PV}-2.6.24-headers.patch
- "${FILESDIR}"/${PV}-sysfs.patch
- )
-
- DOCS="AUTHORS ChangeLog README"
-
- XFCONF=(
- --disable-dependency-tracking
- $(use_enable debug)
- )
-}