wok-current rev 6223

Up: hardinfo to 0.5.1. It only uses languages and os patches now i think.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Sep 11 22:56:32 2010 +0000 (2010-09-11)
parents 061a2a674469
children 6928911105f0
files hardinfo/receipt hardinfo/stuff/languages.patch hardinfo/stuff/os.patch
line diff
     1.1 --- a/hardinfo/receipt	Sat Sep 11 21:40:15 2010 +0000
     1.2 +++ b/hardinfo/receipt	Sat Sep 11 22:56:32 2010 +0000
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="hardinfo"
     1.7 -VERSION="0.4.2.3"
     1.8 +VERSION="0.5.1"
     1.9  CATEGORY="system-tools"
    1.10  SHORT_DESC="A tool to get hardware informations and perform benchmarks."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12 @@ -20,12 +20,8 @@
    1.13  		patch -p0 < ../stuff/$file || exit 1
    1.14  		touch done.$file
    1.15  	done <<EOT
    1.16 -modules.patch
    1.17 -users.patch
    1.18  languages.patch
    1.19 -boots.patch
    1.20  os.patch
    1.21 -usb.patch
    1.22  EOT
    1.23  	./configure \
    1.24  		--prefix=/usr \
    1.25 @@ -42,7 +38,7 @@
    1.26  	cp -a $src/*.so $fs/usr/lib/$PACKAGE/modules
    1.27  	cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
    1.28  	cd $fs/usr/share/pixmaps
    1.29 -	rm ../$PACKAGE/pixmaps/logo.svg
    1.30 +	rm ../$PACKAGE/pixmaps/logo.xcf
    1.31  	ln -s ../$PACKAGE/pixmaps/logo.png hardinfo.png
    1.32  }
    1.33  
     2.1 --- a/hardinfo/stuff/languages.patch	Sat Sep 11 21:40:15 2010 +0000
     2.2 +++ b/hardinfo/stuff/languages.patch	Sat Sep 11 22:56:32 2010 +0000
     2.3 @@ -17,4 +17,4 @@
     2.4  +	if (last) buf[0] = 0;
     2.5   	if (!strncmp(buf, "locale:", 7)) {
     2.6   	    sscanf(buf, "locale: %s", name);
     2.7 - 	    fgets(buf, 128, locale);
     2.8 +	    (void)fgets(buf, 128, locale);
     3.1 --- a/hardinfo/stuff/os.patch	Sat Sep 11 21:40:15 2010 +0000
     3.2 +++ b/hardinfo/stuff/os.patch	Sat Sep 11 22:56:32 2010 +0000
     3.3 @@ -10,7 +10,7 @@
     3.4       { DB_PREFIX "mandrake-release",	"mdk"  },
     3.5  --- arch/linux/common/os.h	2008-05-02 13:43:33.000000000 +0200
     3.6  +++ arch/linux/common/os.h	2008-05-02 13:44:49.000000000 +0200
     3.7 -@@ -181,6 +181,10 @@
     3.8 +@@ -215,6 +215,10 @@
     3.9   		    ((buf[0] >= '0' && buf[0] <= '9') || buf[0] != 'D')) {
    3.10   		    os->distro = g_strdup_printf
    3.11   			("Debian GNU/Linux %s", buf);