Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=xfcetesting.git;a=commitdiff;h=18b6f9168ce2b8f9bb40e389c72c33ba2cdf0b12

commit 18b6f9168ce2b8f9bb40e389c72c33ba2cdf0b12
Author: Devil505 <devil505li...@gmail.com>
Date:   Tue Feb 15 19:54:11 2011 +0100

xfce4-sensors-plugin-1.0.0-3-i686
* added patch to comply with xfce 4.8
* fixing build

diff --git a/source/xfce4/xfce4-sensors-plugin/FrugalBuild 
b/source/xfce4/xfce4-sensors-plugin/FrugalBuild
index 3d46d45..097d83e 100644
--- a/source/xfce4/xfce4-sensors-plugin/FrugalBuild
+++ b/source/xfce4/xfce4-sensors-plugin/FrugalBuild
@@ -3,17 +3,27 @@

pkgname=xfce4-sensors-plugin
pkgver=1.0.0
-pkgrel=2
+pkgrel=3
pkgdesc="A hardware sensors plugin for the Xfce4 panel."
-makedepends=('intltool')
-depends=('libxfcegui4>=4.8.0' 'xfce4-panel>=4.8.0' 'lmsensors>=3.2.0')
+makedepends=('intltool' 'netcat' 'hddtemp>=0.3_beta15-4' 
'xfce4-dev-tools>=4.8.0')
+depends=('libxfcegui4>=4.8.1' 'xfce4-panel>=4.8.0' 'lmsensors>=3.2.0' 
'libnotify' 'libuuid')
groups=('xfce4' 'xfce4-goodies')
archs=('i686' 'x86_64' 'ppc')
_F_gnome_iconcache="y"
_F_xfce_category="panel-plugins"
-Finclude xfce4
-Finclude gnome-scriptlet
-source=(http://archive.xfce.org/src/panel-plugins/$pkgname/1.0/$pkgname-$pkgver.tar.bz2)
-sha1sums=('5c0f2e30463068ac4ae619faf8b4966ee8d77710')
+Finclude xfce4 gnome-scriptlet
+source=($source $pkgname-$pkgver-underlink.patch)
+sha1sums=('5c0f2e30463068ac4ae619faf8b4966ee8d77710' \
+          '53ad11c76fabbe0b7b78a78939bde25c9f3b603c')
+
+build()        {
+       Fcd
+       Fpatchall
+       xdt-autogen || Fdie
+       Fconf
+       Fmake
+       Fmakeinstall
+       Fbuild_gnome_scriptlet
+}

# optimization OK
diff --git 
a/source/xfce4/xfce4-sensors-plugin/xfce4-sensors-plugin-1.0.0-underlink.patch 
b/source/xfce4/xfce4-sensors-plugin/xfce4-sensors-plugin-1.0.0-underlink.patch
new file mode 100644
index 0000000..2a19d1d
--- /dev/null
+++ 
b/source/xfce4/xfce4-sensors-plugin/xfce4-sensors-plugin-1.0.0-underlink.patch
@@ -0,0 +1,36 @@
+--- xfce4-sensors-plugin-1.0.0/panel-plugin/Makefile.am        2011-01-14 
15:40:24.065537723 +0000
++++ xfce4-sensors-plugin-1.0.0/panel-plugin/Makefile.am.new    2011-01-14 
15:41:48.248960397 +0000
+@@ -20,6 +20,7 @@
+
+ xfce4_sensors_plugin_CFLAGS = \
+       @LIBXFCE4PANEL_CFLAGS@                                                  
                           \
++      @LIBXFCEGUI4_CFLAGS@                                                    
                        \
+       @PLATFORM_CFLAGS@                                                       
                                        \
+       -DPACKAGE_LOCALE_DIR=\"$(localedir)\"                                   
                \
+       @LIBSENSORS_CFLAGS@
+@@ -30,6 +31,7 @@
+ xfce4_sensors_plugin_LDFLAGS =                                                
                \
+       $(top_builddir)/lib/libxfce4sensors.la                                  
                        \
+       @LIBXFCE4PANEL_LIBS@                                                    
                                 \
++      @LIBXFCEGUI4_LIBS@                                                      
                                \
+       @SOLLIBS@                                                               
                                                \
+       @LIBSENSORS_LDFLAGS@                                                    
                                 \
+       @LIBM@
+--- xfce4-sensors-plugin-1.0.0/src/Makefile.am 2009-11-06 11:02:11.000000000 
+0000
++++ xfce4-sensors-plugin-1.0.0/src/Makefile.am.new     2011-01-14 
16:19:09.777636193 +0000
+@@ -27,6 +27,7 @@
+       -DPACKAGE_LOCALE_DIR=\"$(localedir)\" \
+       @LIBSENSORS_CFLAGS@     \
+       @LIBXFCE4UTIL_CFLAGS@ \
++      @LIBXFCE4PANEL_CFLAGS@ \
+       @LIBXFCEGUI4_CFLAGS@
+
+ # @GTK_CFLAGS@        \
+@@ -41,6 +42,7 @@
+       $(top_builddir)/lib/libxfce4sensors.la \
+       @LIBSENSORS_LDFLAGS@ \
+       @LIBXFCE4UTIL_LIBS@     \
++      @LIBXFCE4PANEL_LIBS@ \
+       @LIBXFCEGUI4_LIBS@
+
+ # @GTK_LIBS@ \
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to