From c12da517dd0943020894c0065afb0cc1bbfe3245 Mon Sep 17 00:00:00 2001 From: tnut Date: Thu, 14 Oct 2010 22:30:37 +0200 Subject: lxpanel, port nettoyé MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- extra/lxpanel/Pkgfile | 2 +- extra/lxpanel/lxpanel-0.5.5-batt-01.patch | 29 ----------------------------- extra/lxpanel/volume.png | Bin 5288 -> 0 bytes 3 files changed, 1 insertion(+), 30 deletions(-) delete mode 100644 extra/lxpanel/lxpanel-0.5.5-batt-01.patch delete mode 100644 extra/lxpanel/volume.png (limited to 'extra') diff --git a/extra/lxpanel/Pkgfile b/extra/lxpanel/Pkgfile index 8b3af3463..1871a0b8a 100644 --- a/extra/lxpanel/Pkgfile +++ b/extra/lxpanel/Pkgfile @@ -10,7 +10,7 @@ version=0.5.5 release=1 source=(http://downloads.sourceforge.net/lxde/files/$name-$version.tar.gz\ - lxpanel-0.5.5-batt-01.patch volume.png) + http://nutyx.meticul.eu/files/patchs/$name/lxpanel-0.5.5-batt-01.patch volume.png) build() { diff --git a/extra/lxpanel/lxpanel-0.5.5-batt-01.patch b/extra/lxpanel/lxpanel-0.5.5-batt-01.patch deleted file mode 100644 index 2c4d3d10d..000000000 --- a/extra/lxpanel/lxpanel-0.5.5-batt-01.patch +++ /dev/null @@ -1,29 +0,0 @@ ---- lxpanel-0.5.5/src/plugins/batt/batt.c 2010-02-06 20:45:38.000000000 +0100 -+++ lxpanel-0.5.5/src/plugins/batt/batt.c.new 2010-06-16 14:19:56.000000000 +0200 -@@ -95,7 +95,7 @@ - typedef struct { - char *command; - sem_t *lock; --} alarm; -+} lx_alarm; - - static void destructor(Plugin *p); - static void update_display(lx_battery *lx_b, gboolean repaint); -@@ -103,7 +103,7 @@ - /* alarmProcess takes the address of a dynamically allocated alarm struct (which - it must free). It ensures that alarm commands do not run concurrently. */ - static void * alarmProcess(void *arg) { -- alarm *a = (alarm *) arg; -+ lx_alarm *a = (lx_alarm *) arg; - - sem_wait(a->lock); - system(a->command); -@@ -157,7 +157,7 @@ - /* Run the alarm command if it isn't already running */ - if (alarmCanRun) { - -- alarm *a = (alarm *) malloc(sizeof(alarm)); -+ lx_alarm *a = (lx_alarm *) malloc(sizeof(lx_alarm)); - a->command = lx_b->alarmCommand; - a->lock = &(lx_b->alarmProcessLock); - diff --git a/extra/lxpanel/volume.png b/extra/lxpanel/volume.png deleted file mode 100644 index 7537637e7..000000000 Binary files a/extra/lxpanel/volume.png and /dev/null differ -- cgit v1.2.3-54-g00ecf