[Pkg-xfce-commits] r247 - in goodies: . xfce4-cpufreq-plugin xfce4-cpufreq-plugin/trunk xfce4-cpufreq-plugin/trunk/debian

Stefan Ott cockroach-guest at costa.debian.org
Tue Oct 4 15:40:20 UTC 2005


Author: cockroach-guest
Date: 2005-10-04 15:40:19 +0000 (Tue, 04 Oct 2005)
New Revision: 247

Added:
   goodies/xfce4-cpufreq-plugin/
   goodies/xfce4-cpufreq-plugin/tags/
   goodies/xfce4-cpufreq-plugin/trunk/
   goodies/xfce4-cpufreq-plugin/trunk/Makefile
   goodies/xfce4-cpufreq-plugin/trunk/README
   goodies/xfce4-cpufreq-plugin/trunk/cpufreq.c
   goodies/xfce4-cpufreq-plugin/trunk/debian/
   goodies/xfce4-cpufreq-plugin/trunk/debian/changelog
   goodies/xfce4-cpufreq-plugin/trunk/debian/compat
   goodies/xfce4-cpufreq-plugin/trunk/debian/control
   goodies/xfce4-cpufreq-plugin/trunk/debian/copyright
   goodies/xfce4-cpufreq-plugin/trunk/debian/dirs
   goodies/xfce4-cpufreq-plugin/trunk/debian/docs
   goodies/xfce4-cpufreq-plugin/trunk/debian/rules
   goodies/xfce4-cpufreq-plugin/trunk/debian/stamp-autotools-files
   goodies/xfce4-cpufreq-plugin/trunk/debian/watch
Log:
[svn-inject] Installing original source of xfce4-cpufreq-plugin

Added: goodies/xfce4-cpufreq-plugin/trunk/Makefile
===================================================================
--- goodies/xfce4-cpufreq-plugin/trunk/Makefile	2005-10-04 10:41:48 UTC (rev 246)
+++ goodies/xfce4-cpufreq-plugin/trunk/Makefile	2005-10-04 15:40:19 UTC (rev 247)
@@ -0,0 +1,17 @@
+CC = gcc
+OUT = libcpufreq.so
+EXT_CFLAGS := $(shell pkg-config --cflags libxml-2.0 gtk+-2.0 libxfcegui4-1.0)
+EXT_LIBS := $(shell pkg-config --libs libxml-2.0 gtk+-2.0 libxfcegui4-1.0)
+CFLAGS = -Wl,-export-dynamic -shared -g -O2 -Wall $(EXT_CFLAGS) $(EXT_LIBS) -lcpufreq
+
+$(OUT): cpufreq.c
+	$(CC) $(CFLAGS) $< -o $@
+
+clean:
+	$(RM) *~ $(OUT)
+
+install: $(OUT)
+	install -m 644 -o 0 -g 0 $(OUT) /usr/lib/xfce4/panel-plugins
+
+uninstall:
+	$(RM) /usr/lib/xfce4/panel-plugins/$(OUT)

Added: goodies/xfce4-cpufreq-plugin/trunk/README
===================================================================
--- goodies/xfce4-cpufreq-plugin/trunk/README	2005-10-04 10:41:48 UTC (rev 246)
+++ goodies/xfce4-cpufreq-plugin/trunk/README	2005-10-04 15:40:19 UTC (rev 247)
@@ -0,0 +1,46 @@
+cpufreq panel plugin for Xfce4
+------------------------------
+
+This is a work in progress!
+
+To put this in perspective, this was written in about two hours, ripping off
+xfce4-battery-plugin's battmon.c for starters and stripping it down to a single
+progress bar that reports how fast your machine is going relative to the top
+CPU speed.
+
+The build system is minimal and expects Xfce to be installed in /usr. Edit
+the makefile if that is not the case.
+
+Moreover, it was started *during* a talk at Debconf5, after realizing that
+GNOME panel applets would not function in Xfce4.
+
+TO BUILD
+--------
+
+You need these packages in Debian:
+
+pkg-config
+libxfcegui4-dev
+libxml2-dev
+
+1. Type 'make'.
+2. Become root.
+3. Type 'make install'.
+4. Exit root shell.
+5. Type 'killall -USR1 xfce4-panel' to reload the panel
+6. Add the CPUFreq Monitor to your panel and enjoy.
+
+WHAT IT DOES DO
+---------------
+
+* Displays the current frequency of the CPU, in GHz or MHz as necessary.
+* Displays the frequency relative to the maximum CPU frequency as an
+  accordingly colored progress bar.
+* Works with both horizontally and vertically aligned panels.
+* Provide configuration to select which CPU to poll.
+
+WHAT IT SHOULD DO BUT DOESN'T
+-----------------------------
+
+* Somehow use the panel plugin as an interface to set the clock speed.
+* Provide more information in tool tips.

Added: goodies/xfce4-cpufreq-plugin/trunk/cpufreq.c
===================================================================
--- goodies/xfce4-cpufreq-plugin/trunk/cpufreq.c	2005-10-04 10:41:48 UTC (rev 246)
+++ goodies/xfce4-cpufreq-plugin/trunk/cpufreq.c	2005-10-04 15:40:19 UTC (rev 247)
@@ -0,0 +1,420 @@
+/*
+ * cpufreq plugin for Xfce4.
+ *
+ * Copyright (c) 2005 Joshua Kwan <joshk at triplehelix.org>
+ *
+ * Some code was used as a starter, but is mostly gone. Nevertheless, this code
+ * was:
+ * 
+ * Copyright (c) 2003 Nicholas Penwarden <toth64 at yahoo.com>
+ * Copyright (c) 2003 Benedikt Meurer <benedikt.meurer at unix-ag.uni-siegen.de>
+ * Copyright (c) 2003 edscott wilson garcia <edscott at users.sourceforge.net>
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+ * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+ * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
+ * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#ifdef ENABLE_NLS
+#include <libintl.h>
+#endif
+
+#include <ctype.h>
+
+#include <cpufreq.h>
+
+#include <gtk/gtk.h>
+
+#include <libxfce4util/i18n.h>
+#include <libxfcegui4/dialogs.h>
+#include <panel/global.h>
+#include <panel/controls.h>
+#include <panel/plugins.h>
+#include <panel/xfce_support.h>
+
+#define COLOR_LOW_DEFAULT "#ff0000"
+#define COLOR_HI_DEFAULT "#00ff00"
+
+struct cpufreq_monitor
+{
+	GtkWidget* pbar;
+	GtkWidget* label;
+	GtkWidget* vbox;
+
+	unsigned long min, max;
+
+	int orientation;
+	int nr_cpus;
+	int cpu;
+	int timeoutid;
+
+	GdkColor colorLow;
+	GdkColor colorHi;
+
+	gpointer extra; /* XXX */
+};
+
+static int
+get_nr_cpus (void)
+{
+	FILE *f = fopen("/proc/stat", "r");
+	char buf[512];
+	int nr_cpus = 0;
+
+	if (!f)
+		return -1;
+
+	while (fgets(buf, 512, f) != NULL)
+	{
+		if (strncmp(buf, "cpu", 3) == 0)
+		{
+			if (isdigit(buf[3]))
+				nr_cpus++;
+		}
+	}
+
+	fclose(f);
+
+	return nr_cpus;
+}
+
+static char*
+get_cpu_name (int cpu)
+{
+	FILE *f = fopen("/proc/cpuinfo", "r");
+	int cur_cpu = -1;
+	char buf[512];
+
+	if (!f)
+		return strdup(_("Processor model unknown"));
+	
+	while (fgets(buf, 512, f) != NULL)
+	{
+		if (strncmp(buf, "processor", 9) == 0)
+		{
+			cur_cpu++;
+		}
+		else if (cur_cpu == cpu && strncmp(buf, "model name", 10) == 0)
+		{
+			char* p = strchr(buf, ':');
+
+			if (p)
+			{
+				fclose (f);
+				return strdup(p + 2);
+			}
+		}
+	}
+
+	fclose(f);
+	
+	return strdup(_("Processor model unknown"));
+}
+
+static gboolean
+update_cpufreq_status (struct cpufreq_monitor *c)
+{
+	unsigned int cur = cpufreq_get_freq_kernel(c->cpu);
+	char buf[256];
+
+	if (cur == 0) /* error */
+	{
+		GtkWindow* win = GTK_WINDOW(gtk_widget_get_toplevel(c->vbox));
+		
+		if (c->cpu == 0) /* MUST work, unless cpufreq support is not available */
+		{
+			GtkWidget* d = gtk_message_dialog_new(win, 0,
+				GTK_MESSAGE_ERROR, GTK_BUTTONS_OK,
+				_("CPUFreq support is not present. The CPUFreq Monitor will not function this session."));
+			gtk_dialog_run(GTK_DIALOG(d));
+			gtk_widget_destroy(d);
+
+			/* hide the useless widgets */
+			gtk_widget_hide(c->vbox);
+			return TRUE; /* not an indicator of success */
+		}
+		else /* some other error, fall back to 0 */
+		{
+			GtkWidget* d = gtk_message_dialog_new(win, 0,
+				GTK_MESSAGE_WARNING, GTK_BUTTONS_OK,
+				_("CPU %d is not present. The CPUFreq Monitor will monitor CPU 0 for this session."), c->cpu);
+			gtk_dialog_run(GTK_DIALOG(d));
+			gtk_widget_destroy(d);
+
+			c->cpu = 0;
+			return TRUE; /* to get to the top of error-handling */
+		}
+	}
+	
+	if (cur < 1000000)
+		snprintf(buf, 256, "<span size=\"small\">%d MHz</span>", cur / 1000);
+	else
+		snprintf(buf, 256, "<span size=\"small\">%.1f GHz</span>", (gdouble)cur / 1000000);
+
+	if (cur < c->max)
+		gtk_widget_modify_bg(c->pbar, GTK_STATE_PRELIGHT, &(c->colorLow));
+	else
+		gtk_widget_modify_bg(c->pbar, GTK_STATE_PRELIGHT, &(c->colorHi));
+
+	gtk_progress_bar_set_fraction(GTK_PROGRESS_BAR(c->pbar), (gdouble)cur / c->max);
+	gtk_label_set_markup(GTK_LABEL(c->label), buf);
+
+	return TRUE;
+}
+
+static void
+cpufreq_free (Control *ctrl)
+{
+	struct cpufreq_monitor *c = (struct cpufreq_monitor *)ctrl->data;
+
+	if (c->timeoutid != 0)
+	{
+		g_source_remove(c->timeoutid);
+		c->timeoutid = 0;
+	}
+
+	g_free(c);
+}
+
+static void
+setup_cpufreq(Control *ctrl)
+{
+	struct cpufreq_monitor *c = (struct cpufreq_monitor *)ctrl->data;
+	
+	c->pbar = gtk_progress_bar_new();
+	c->label = gtk_label_new("");
+
+	gtk_label_set_use_markup (GTK_LABEL(c->label), TRUE);
+	
+	if (c->orientation == HORIZONTAL) {
+		gtk_progress_bar_set_orientation(GTK_PROGRESS_BAR(c->pbar),
+			GTK_PROGRESS_BOTTOM_TO_TOP);
+		c->vbox = gtk_hbox_new(FALSE, 0);
+	} else if (c->orientation == VERTICAL) {
+		gtk_progress_bar_set_orientation(GTK_PROGRESS_BAR(c->pbar),
+			GTK_PROGRESS_LEFT_TO_RIGHT);
+		c->vbox = gtk_vbox_new(FALSE, 0);
+	}
+
+	gtk_box_pack_start(GTK_BOX(c->vbox), c->pbar, FALSE, FALSE, 0);
+	gtk_box_pack_start(GTK_BOX(c->vbox), c->label, FALSE, FALSE, 0);
+	
+	gtk_container_add(GTK_CONTAINER(ctrl->base), c->vbox);
+	gtk_container_set_border_width(GTK_CONTAINER(c->vbox), border_width);
+
+	gtk_widget_set_size_request(ctrl->base, -1, -1);
+	gtk_widget_show(c->vbox);
+	gtk_widget_show(c->label);
+	gtk_widget_show(c->pbar);
+
+	update_cpufreq_status(c);
+	
+	c->timeoutid = g_timeout_add(1000, (GSourceFunc) update_cpufreq_status, c);
+	
+	return;
+}
+
+static gboolean
+cpufreq_control_new(Control *ctrl)
+{
+	struct cpufreq_monitor* c = malloc(sizeof(struct cpufreq_monitor));
+
+	c->cpu = 0;
+	c->orientation = VERTICAL; /* a very good default */
+	c->nr_cpus = get_nr_cpus();
+	
+	/* determine min/max */
+	cpufreq_get_hardware_limits(c->cpu, &c->min, &c->max);
+	
+	ctrl->with_popup = FALSE;
+	ctrl->data = c;
+	
+	gdk_color_parse(COLOR_LOW_DEFAULT, &(c->colorLow));
+	gdk_color_parse(COLOR_HI_DEFAULT, &(c->colorHi));
+	
+	setup_cpufreq(ctrl);
+
+	return (TRUE);
+}
+
+static void
+cpufreq_attach_callback (Control *ctrl, const gchar *signal, GCallback cb, gpointer data)
+{
+	struct cpufreq_monitor *c = (struct cpufreq_monitor*)ctrl->data;
+
+	g_signal_connect(c->vbox, signal, cb, data);
+	g_signal_connect(c->pbar, signal, cb, data);
+	g_signal_connect(c->label, signal, cb, data);
+}
+
+static void
+cpufreq_set_orientation (Control *ctrl, int orientation)
+{
+	struct cpufreq_monitor *c = (struct cpufreq_monitor *)ctrl->data;
+
+	if (c->orientation == orientation)
+		return;
+	
+	c->orientation = orientation;
+
+	if (c->timeoutid > 0)
+	{
+		g_source_remove(c->timeoutid);
+		c->timeoutid = 0;
+	}
+
+	gtk_container_remove(GTK_CONTAINER(ctrl->base), c->vbox);
+
+	setup_cpufreq(ctrl);
+}
+
+static void
+cpufreq_read_config (Control *ctrl, xmlNodePtr parent)
+{
+	xmlChar *value;
+	xmlNodePtr child;
+
+	struct cpufreq_monitor *c = (struct cpufreq_monitor *)ctrl->data;
+
+	if (!parent || !parent->children) return;
+
+	child = parent->children;
+
+	if (!xmlStrEqual(child->name, "CPUFreqMonitor")) return;
+
+	if ((value = xmlGetProp(child, (const xmlChar *) "cpu_nr")) != NULL)
+	{
+		c->cpu = atoi(value);
+		g_free(value);
+	}
+}
+
+static void
+cpufreq_write_config (Control *ctrl, xmlNodePtr parent)
+{
+	xmlNodePtr root;
+	char buf[32];
+
+	struct cpufreq_monitor *c = (struct cpufreq_monitor *)ctrl->data;
+
+	root = xmlNewTextChild(parent, NULL, "CPUFreqMonitor", NULL);
+
+	snprintf(buf, 32, "%d", c->cpu);
+	xmlSetProp(root, "cpu_nr", buf);
+}
+
+static void
+cpufreq_set_size (Control *ctrl, int size)
+{
+	struct cpufreq_monitor *c = (struct cpufreq_monitor *)ctrl->data;
+	
+	if (c->orientation == HORIZONTAL) {
+		gtk_widget_set_size_request(c->pbar, 10, size);
+	} else if (c->orientation == VERTICAL) {
+		gtk_widget_set_size_request(c->pbar, size, 10);
+	}
+	
+	gtk_widget_set_size_request(ctrl->base, -1, -1);
+}
+
+static void
+spin_changed_cb (GtkSpinButton *sb, GtkScrollType st, gpointer data)
+{
+	struct cpufreq_monitor *c = (struct cpufreq_monitor *)data;
+	int val = (int)gtk_spin_button_get_value(sb);
+	char buf[256], *cpu_name;
+	
+	if (c->cpu == val) return;
+	
+	c->cpu = val;
+
+	cpu_name = get_cpu_name(c->cpu); /* must free */
+	snprintf(buf, 256, "<span size=\"small\">%s</span>", cpu_name);
+	g_free(cpu_name);
+	gtk_label_set_markup(GTK_LABEL(c->extra), buf);
+
+	cpufreq_get_hardware_limits(c->cpu, &c->min, &c->max);
+}
+
+static void
+cpufreq_create_options(Control *ctrl, GtkContainer *container, GtkWidget *done)
+{
+	struct cpufreq_monitor *c = (struct cpufreq_monitor *)ctrl->data;
+	GtkWidget *hbox = gtk_hbox_new(FALSE, 0);
+	GtkWidget *vbox = gtk_vbox_new(FALSE, 0);
+	GtkWidget *sb = gtk_spin_button_new_with_range(0, c->nr_cpus - 1, 1);
+	GtkWidget *label = gtk_label_new(_("Choose the CPU to monitor:"));
+	GtkWidget *cpulabel = gtk_label_new("");
+	char buf[256], *cpu_name;
+
+	gtk_label_set_use_markup(GTK_LABEL(label), TRUE);
+
+	gtk_spin_button_set_value(GTK_SPIN_BUTTON(sb), 0);
+	
+	gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 5);
+	gtk_box_pack_start(GTK_BOX(hbox), sb, FALSE, FALSE, 5);
+
+	gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 5);
+	gtk_box_pack_start(GTK_BOX(vbox), cpulabel, FALSE, FALSE, 0);
+	
+	cpu_name = get_cpu_name(c->cpu); /* must free */
+	snprintf(buf, 256, "<span size=\"small\">%s</span>", cpu_name);
+	g_free(cpu_name);
+	gtk_label_set_markup(GTK_LABEL(cpulabel), buf);
+
+	c->extra = (gpointer)cpulabel;
+	
+	g_signal_connect(sb, "value_changed", G_CALLBACK(spin_changed_cb), c);
+
+	gtk_container_add(container, vbox);
+
+	gtk_widget_show(vbox);
+	gtk_widget_show(hbox);
+	gtk_widget_show(sb);
+	gtk_widget_show(label);
+	gtk_widget_show(cpulabel);
+}
+
+G_MODULE_EXPORT void
+xfce_control_class_init(ControlClass *cc)
+{
+#ifdef ENABLE_NLS
+    /* This is required for UTF-8 at least - Please don't remove it */
+    bindtextdomain (GETTEXT_PACKAGE, PACKAGE_LOCALE_DIR);
+    bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
+    textdomain (GETTEXT_PACKAGE);
+#endif
+
+	cc->name = "cpufreq";
+	cc->caption = _("CPUFreq Monitor");
+
+	cc->create_control = (CreateControlFunc)cpufreq_control_new;
+
+	cc->free = cpufreq_free;
+	cc->read_config = cpufreq_read_config;
+	cc->write_config = cpufreq_write_config;
+	cc->attach_callback = cpufreq_attach_callback;
+
+	cc->set_size = cpufreq_set_size;
+	cc->set_orientation = cpufreq_set_orientation;
+	cc->create_options = cpufreq_create_options;
+}
+
+XFCE_PLUGIN_CHECK_INIT

Added: goodies/xfce4-cpufreq-plugin/trunk/debian/changelog
===================================================================
--- goodies/xfce4-cpufreq-plugin/trunk/debian/changelog	2005-10-04 10:41:48 UTC (rev 246)
+++ goodies/xfce4-cpufreq-plugin/trunk/debian/changelog	2005-10-04 15:40:19 UTC (rev 247)
@@ -0,0 +1,6 @@
+xfce4-cpufreq-plugin (0.1-1) unstable; urgency=low
+
+  * Rudy Godoy and Stefan Ott
+    - Initial release (Closes: #331325)
+
+ -- Stefan Ott <stefan at desire.ch>  Tue,  2 Aug 2005 15:58:43 +0200

Added: goodies/xfce4-cpufreq-plugin/trunk/debian/compat
===================================================================
--- goodies/xfce4-cpufreq-plugin/trunk/debian/compat	2005-10-04 10:41:48 UTC (rev 246)
+++ goodies/xfce4-cpufreq-plugin/trunk/debian/compat	2005-10-04 15:40:19 UTC (rev 247)
@@ -0,0 +1 @@
+4

Added: goodies/xfce4-cpufreq-plugin/trunk/debian/control
===================================================================
--- goodies/xfce4-cpufreq-plugin/trunk/debian/control	2005-10-04 10:41:48 UTC (rev 246)
+++ goodies/xfce4-cpufreq-plugin/trunk/debian/control	2005-10-04 15:40:19 UTC (rev 247)
@@ -0,0 +1,15 @@
+Source: xfce4-cpufreq-plugin
+Section: x11
+Priority: optional
+Maintainer: Debian Xfce Maintainers <pkg-xfce-devel at lists.alioth.debian.org>
+Uploaders: Emanuele Rocca <ema at debian.org>, Simon Huggins <huggie at earth.li>, Rudy Godoy <rudy at kernel-panik.org>, Martin Loschwitz <madkiss at debian.org>, Yves-Alexis Perez <corsac at corsac.net>, Stefan Ott <stefan at desire.ch>
+Build-Depends: cdbs, debhelper (>= 4.1), libgtk2.0-dev, libxfcegui4-dev, xfce4-panel-dev (>= 4.2.2), libxml2-dev, libcpufreq-dev
+Standards-Version: 3.6.2
+
+Package: xfce4-sensors-plugin
+Architecture: any
+Depends: ${shlibs:Depends}, xfce4-panel (>= 4.2.2)
+Description: cpufreq information plugin for the Xfce4 panel
+ This plugin displays the current frequency of the CPU, in GHz or MHz as
+ necessary. It also displays the frequency relative to the maximum CPU
+ frequency as an accordingly colored progress bar.

Added: goodies/xfce4-cpufreq-plugin/trunk/debian/copyright
===================================================================
--- goodies/xfce4-cpufreq-plugin/trunk/debian/copyright	2005-10-04 10:41:48 UTC (rev 246)
+++ goodies/xfce4-cpufreq-plugin/trunk/debian/copyright	2005-10-04 15:40:19 UTC (rev 247)
@@ -0,0 +1,12 @@
+This package was debianized by Stefan Ott <stefan at desire.ch> on
+Tue, 04 Oct 2005 00:04:56 CEST.
+
+It was downloaded from <http://people.debian.org/~joshk/>
+
+Upstream Author:
+	 Joshua Kwan <joshk at triplehelix.org>
+
+Copyright:
+This software is released under the terms of the BSD license.
+On Debian systems, the complete text of the BSD License
+can be found in the file /usr/share/common-licenses/BSD

Added: goodies/xfce4-cpufreq-plugin/trunk/debian/dirs
===================================================================
--- goodies/xfce4-cpufreq-plugin/trunk/debian/dirs	2005-10-04 10:41:48 UTC (rev 246)
+++ goodies/xfce4-cpufreq-plugin/trunk/debian/dirs	2005-10-04 15:40:19 UTC (rev 247)
@@ -0,0 +1 @@
+usr/lib/xfce4/panel-plugins

Added: goodies/xfce4-cpufreq-plugin/trunk/debian/docs
===================================================================
--- goodies/xfce4-cpufreq-plugin/trunk/debian/docs	2005-10-04 10:41:48 UTC (rev 246)
+++ goodies/xfce4-cpufreq-plugin/trunk/debian/docs	2005-10-04 15:40:19 UTC (rev 247)
@@ -0,0 +1 @@
+README

Added: goodies/xfce4-cpufreq-plugin/trunk/debian/rules
===================================================================
--- goodies/xfce4-cpufreq-plugin/trunk/debian/rules	2005-10-04 10:41:48 UTC (rev 246)
+++ goodies/xfce4-cpufreq-plugin/trunk/debian/rules	2005-10-04 15:40:19 UTC (rev 247)
@@ -0,0 +1,13 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/makefile-vars.mk
+
+DEB_MAKE_INVOKE := $(DEB_MAKE_ENVVARS) \
+	make -C $(DEB_BUILDDIR)
+	
+include /usr/share/cdbs/1/class/makefile.mk
+
+binary-post-install/xfce4-cpufreq-plugin::
+	-rm -rf debian/`dh_listpackages`/usr/lib/xfce4/panel-plugins/*.a
+	-rm -rf debian/`dh_listpackages`/usr/lib/xfce4/panel-plugins/*.la


Property changes on: goodies/xfce4-cpufreq-plugin/trunk/debian/rules
___________________________________________________________________
Name: svn:executable
   + 

Added: goodies/xfce4-cpufreq-plugin/trunk/debian/stamp-autotools-files
===================================================================

Added: goodies/xfce4-cpufreq-plugin/trunk/debian/watch
===================================================================
--- goodies/xfce4-cpufreq-plugin/trunk/debian/watch	2005-10-04 10:41:48 UTC (rev 246)
+++ goodies/xfce4-cpufreq-plugin/trunk/debian/watch	2005-10-04 15:40:19 UTC (rev 247)
@@ -0,0 +1,6 @@
+# watch control file for uscan
+
+# Compulsory line, this is a version 3 file
+version=3
+
+http://people.debian.org/~joshk/ xfce4-cpufreq-(.*).tar.gz




More information about the Pkg-xfce-commits mailing list