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

Yves-Alexis Perez corsac at alioth.debian.org
Mon Apr 25 10:35:47 UTC 2011


Author: corsac
Date: 2011-04-25 10:35:34 +0000 (Mon, 25 Apr 2011)
New Revision: 5692

Added:
   goodies/trunk/xfce4-cpufreq-plugin/debian/patches/01_try-fix-ftbfs-bsd.patch
   goodies/trunk/xfce4-cpufreq-plugin/debian/patches/series
Modified:
   goodies/trunk/xfce4-cpufreq-plugin/debian/changelog
   goodies/trunk/xfce4-cpufreq-plugin/debian/rules
Log:
* debian/patches:
  - 01_try-fix-ftbfs-bsd added.                               closes: #621818

Modified: goodies/trunk/xfce4-cpufreq-plugin/debian/changelog
===================================================================
--- goodies/trunk/xfce4-cpufreq-plugin/debian/changelog	2011-04-24 15:37:58 UTC (rev 5691)
+++ goodies/trunk/xfce4-cpufreq-plugin/debian/changelog	2011-04-25 10:35:34 UTC (rev 5692)
@@ -1,3 +1,10 @@
+xfce4-cpufreq-plugin (1.0.0-3) UNRELEASED; urgency=low
+
+  * debian/patches:
+    - 01_try-fix-ftbfs-bsd added.                               closes: #621818
+
+ -- Yves-Alexis Perez <corsac at debian.org>  Mon, 25 Apr 2011 11:21:52 +0200
+
 xfce4-cpufreq-plugin (1.0.0-2) unstable; urgency=low
 
   * Upload to unstable.

Added: goodies/trunk/xfce4-cpufreq-plugin/debian/patches/01_try-fix-ftbfs-bsd.patch
===================================================================
--- goodies/trunk/xfce4-cpufreq-plugin/debian/patches/01_try-fix-ftbfs-bsd.patch	                        (rev 0)
+++ goodies/trunk/xfce4-cpufreq-plugin/debian/patches/01_try-fix-ftbfs-bsd.patch	2011-04-25 10:35:34 UTC (rev 5692)
@@ -0,0 +1,18 @@
+diff --git a/panel-plugin/xfce4-cpufreq-plugin.c b/panel-plugin/xfce4-cpufreq-plugin.c
+index fd9788d..1b3992f 100644
+--- a/panel-plugin/xfce4-cpufreq-plugin.c
++++ b/panel-plugin/xfce4-cpufreq-plugin.c
+@@ -133,11 +133,13 @@ cpufreq_update_plugin (void)
+ void
+ cpufreq_restart_timeout (void)
+ {
++#ifdef __linux__
+ 	g_source_remove (cpuFreq->timeoutHandle);
+ 	cpuFreq->timeoutHandle = g_timeout_add_seconds (
+ 			cpuFreq->options->timeout,
+ 			(GSourceFunc)cpufreq_update_cpus,
+ 			NULL);
++#endif
+ }
+ 
+ static void

Added: goodies/trunk/xfce4-cpufreq-plugin/debian/patches/series
===================================================================
--- goodies/trunk/xfce4-cpufreq-plugin/debian/patches/series	                        (rev 0)
+++ goodies/trunk/xfce4-cpufreq-plugin/debian/patches/series	2011-04-25 10:35:34 UTC (rev 5692)
@@ -0,0 +1 @@
+01_try-fix-ftbfs-bsd.patch

Modified: goodies/trunk/xfce4-cpufreq-plugin/debian/rules
===================================================================
--- goodies/trunk/xfce4-cpufreq-plugin/debian/rules	2011-04-24 15:37:58 UTC (rev 5691)
+++ goodies/trunk/xfce4-cpufreq-plugin/debian/rules	2011-04-25 10:35:34 UTC (rev 5692)
@@ -11,6 +11,14 @@
 %:
 	dh $@
 
+override_dh_auto_configure:
+	find .pc -type f -name '*.c' -exec echo '{}' >> po/POTFILES.skip \;
+	dh_auto_configure
+
+override_dh_auto_clean:
+	dh_auto_clean
+	rm -f po/POTFILES.skip
+
 override_dh_auto_install:
 	-rm -rf debian/`dh_listpackages`/usr/lib/xfce4/panel-plugins/*.a
 	-rm -rf debian/`dh_listpackages`/usr/lib/xfce4/panel-plugins/*.la




More information about the Pkg-xfce-commits mailing list