Hello community, here is the log from the commit of package cpufrequtils for openSUSE:Factory checked in at Mon Jun 15 11:01:16 CEST 2009. -------- --- cpufrequtils/cpufrequtils.changes 2009-04-19 18:59:32.000000000 +0200 +++ /mounts/work_src_done/STABLE/cpufrequtils/cpufrequtils.changes 2009-06-15 10:12:31.000000000 +0200 @@ -1,0 +2,12 @@ +Mon Jun 15 10:11:00 CEST 2009 - seife@suse.de + +- update to version 005: + - documentation fixes + - fix in /proc reading code (unused on kernel 2.6) + +------------------------------------------------------------------- +Mon Jun 15 00:26:57 CEST 2009 - ro@suse.de + +- drop sysfsutils from buildrequires + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- cpufrequtils-004.tar.bz2 New: ---- cpufrequtils-005.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ cpufrequtils.spec ++++++ --- /var/tmp/diff_new_pack.W21489/_old 2009-06-15 11:00:47.000000000 +0200 +++ /var/tmp/diff_new_pack.W21489/_new 2009-06-15 11:00:47.000000000 +0200 @@ -1,5 +1,5 @@ # -# spec file for package cpufrequtils (Version 004) +# spec file for package cpufrequtils (Version 005) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -19,10 +19,10 @@ Name: cpufrequtils -BuildRequires: doxygen lynx sysfsutils +BuildRequires: doxygen lynx Url: http://www.kernel.org/pub/linux/utils/kernel/cpufreq/cpufrequtils.html -Version: 004 -Release: 36 +Version: 005 +Release: 1 Summary: Tools to Determine and Set CPUfreq Settings License: GPL v2 or later Group: System/Base @@ -76,6 +76,12 @@ /usr/bin/cpufreq-* %changelog +* Mon Jun 15 2009 seife@suse.de +- update to version 005: + - documentation fixes + - fix in /proc reading code (unused on kernel 2.6) +* Mon Jun 15 2009 ro@suse.de +- drop sysfsutils from buildrequires * Sun Apr 19 2009 crrodriguez@suse.de - remove static libraries and "la" files * Wed Dec 10 2008 olh@suse.de ++++++ cpufrequtils-004.tar.bz2 -> cpufrequtils-005.tar.bz2 ++++++ diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/cpufrequtils-004/debug/kernel/cpufreq-test_tsc.c new/cpufrequtils-005/debug/kernel/cpufreq-test_tsc.c --- old/cpufrequtils-004/debug/kernel/cpufreq-test_tsc.c 2008-07-14 13:59:36.000000000 +0200 +++ new/cpufrequtils-005/debug/kernel/cpufreq-test_tsc.c 2008-08-10 17:31:55.000000000 +0200 @@ -18,7 +18,7 @@ * 5.) if the third value, "diff_pmtmr", changes between 2. and 4., the * TSC-based delay routine on the Linux kernel does not correctly * handle the cpufreq transition. Please report this to - * cpufreq@www.linux.org.uk. + * cpufreq@vger.kernel.org */ #include <linux/kernel.h> diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/cpufrequtils-004/lib/cpufreq.c new/cpufrequtils-005/lib/cpufreq.c --- old/cpufrequtils-004/lib/cpufreq.c 2008-07-14 13:59:36.000000000 +0200 +++ new/cpufrequtils-005/lib/cpufreq.c 2008-08-10 17:31:55.000000000 +0200 @@ -37,8 +37,8 @@ return (ret); } -int cpufreq_get_hardware_limits(unsigned int cpu, - unsigned long *min, +int cpufreq_get_hardware_limits(unsigned int cpu, + unsigned long *min, unsigned long *max) { int ret; diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/cpufrequtils-004/lib/proc.c new/cpufrequtils-005/lib/proc.c --- old/cpufrequtils-004/lib/proc.c 2008-07-14 13:59:36.000000000 +0200 +++ new/cpufrequtils-005/lib/proc.c 2008-08-10 17:31:55.000000000 +0200 @@ -53,7 +53,7 @@ if (cpu_read != cpu) continue; - if ((tmp2 < tmp1) || (tmp2 > 100) || (max < min)) { + if ((tmp2 < tmp1) || (tmp2 > 100) || (*max < *min)) { ret = -ENOSYS; goto error; } diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/cpufrequtils-004/lib/sysfs.c new/cpufrequtils-005/lib/sysfs.c --- old/cpufrequtils-004/lib/sysfs.c 2008-07-14 13:59:36.000000000 +0200 +++ new/cpufrequtils-005/lib/sysfs.c 2008-08-10 17:31:55.000000000 +0200 @@ -29,7 +29,7 @@ int fd; size_t numread; - snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u/cpufreq/%s", + snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u/cpufreq/%s", cpu, fname); if ( ( fd = open(path, O_RDONLY) ) == -1 ) @@ -56,7 +56,7 @@ int fd; size_t numwrite; - snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u/cpufreq/%s", + snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u/cpufreq/%s", cpu, fname); if ( ( fd = open(path, O_WRONLY) ) == -1 ) @@ -196,9 +196,9 @@ snprintf(file, SYSFS_PATH_MAX, PATH_TO_CPU "cpu%u/", cpu); if ( stat(file, &statbuf) != 0 ) - return 1; + return -ENOSYS; - return 1 - S_ISDIR(statbuf.st_mode); + return S_ISDIR(statbuf.st_mode) ? 0 : -ENOSYS; } @@ -212,8 +212,8 @@ return sysfs_get_one_value(cpu, CPUINFO_CUR_FREQ); } -int sysfs_get_hardware_limits(unsigned int cpu, - unsigned long *min, +int sysfs_get_hardware_limits(unsigned int cpu, + unsigned long *min, unsigned long *max) { if ((!min) || (!max)) diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/cpufrequtils-004/Makefile new/cpufrequtils-005/Makefile --- old/cpufrequtils-004/Makefile 2008-07-14 13:59:36.000000000 +0200 +++ new/cpufrequtils-005/Makefile 2008-08-10 17:31:55.000000000 +0200 @@ -50,10 +50,10 @@ # Package-related definitions. Distributions can modify the version # and _should_ modify the PACKAGE_BUGREPORT definition -VERSION = 004 +VERSION = 005 LIB_VERSION = 0:0:0 PACKAGE = cpufrequtils -PACKAGE_BUGREPORT = cpufreq@lists.linux.org.uk +PACKAGE_BUGREPORT = cpufreq@vger.kernel.org LANGUAGES = de fr it cs pt @@ -211,7 +211,7 @@ echo "msgmerge for $$HLANG failed!"; \ rm -f po/$$HLANG.new.po; \ fi; \ - /usr/bin/msgfmt --statistics -o po/$$HLANG.gmo po/$$HLANG.po; \ + msgfmt --statistics -o po/$$HLANG.gmo po/$$HLANG.po; \ done; clean: diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/cpufrequtils-004/po/cs.po new/cpufrequtils-005/po/cs.po --- old/cpufrequtils-004/po/cs.po 2008-07-14 13:59:36.000000000 +0200 +++ new/cpufrequtils-005/po/cs.po 2008-08-10 17:31:55.000000000 +0200 @@ -9,7 +9,7 @@ msgstr "" "Project-Id-Version: cs\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2008-06-11 16:08+0200\n" +"POT-Creation-Date: 2008-07-17 11:29+0200\n" "PO-Revision-Date: 2008-06-11 16:26+0200\n" "Last-Translator: Karel Volný <kavol@seznam.cz>\n" "Language-Team: Czech <diskuze@lists.l10n.cz>\n" diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/cpufrequtils-004/po/de.po new/cpufrequtils-005/po/de.po --- old/cpufrequtils-004/po/de.po 2008-07-14 13:59:36.000000000 +0200 +++ new/cpufrequtils-005/po/de.po 2008-08-10 17:31:55.000000000 +0200 @@ -8,7 +8,7 @@ msgstr "" "Project-Id-Version: cpufrequtils 0.1-pre2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2008-07-14 13:48+0200\n" +"POT-Creation-Date: 2008-07-17 11:29+0200\n" "PO-Revision-Date: 2004-11-03 22:21+0100\n" "Last-Translator: <linux@brodo.de>\n" "Language-Team: NONE\n" diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/cpufrequtils-004/po/fr.po new/cpufrequtils-005/po/fr.po --- old/cpufrequtils-004/po/fr.po 2008-07-14 13:59:36.000000000 +0200 +++ new/cpufrequtils-005/po/fr.po 2008-08-10 17:31:55.000000000 +0200 @@ -8,7 +8,7 @@ msgstr "" "Project-Id-Version: cpufrequtils 0.1-pre2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2008-07-14 13:48+0200\n" +"POT-Creation-Date: 2008-07-17 11:29+0200\n" "PO-Revision-Date: 2004-11-17 15:53+1000\n" "Last-Translator: Bruno Ducrot <ducrot@poupinou.org>\n" "Language-Team: NONE\n" diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/cpufrequtils-004/po/it.po new/cpufrequtils-005/po/it.po --- old/cpufrequtils-004/po/it.po 2008-07-14 13:59:36.000000000 +0200 +++ new/cpufrequtils-005/po/it.po 2008-08-10 17:31:55.000000000 +0200 @@ -8,7 +8,7 @@ msgstr "" "Project-Id-Version: cpufrequtils 0.3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2008-07-14 13:48+0200\n" +"POT-Creation-Date: 2008-07-17 11:29+0200\n" "PO-Revision-Date: 2005-05-04 20:00+0100\n" "Last-Translator: Mattia Dongili <malattia@gmail.com>\n" "Language-Team: NONE\n" diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/cpufrequtils-004/po/pt.po new/cpufrequtils-005/po/pt.po --- old/cpufrequtils-004/po/pt.po 2008-07-14 13:59:36.000000000 +0200 +++ new/cpufrequtils-005/po/pt.po 2008-08-10 17:31:55.000000000 +0200 @@ -8,7 +8,7 @@ msgstr "" "Project-Id-Version: cpufrequtils 004\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2008-07-14 13:48+0200\n" +"POT-Creation-Date: 2008-07-17 11:29+0200\n" "PO-Revision-Date: 2008-06-14 22:16-0400\n" "Last-Translator: Claudio Eduardo <claudioeddy@gmail.com>\n" "MIME-Version: 1.0\n" diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/cpufrequtils-004/utils/info.c new/cpufrequtils-005/utils/info.c --- old/cpufrequtils-004/utils/info.c 2008-07-14 13:59:36.000000000 +0200 +++ new/cpufrequtils-005/utils/info.c 2008-08-10 17:31:55.000000000 +0200 @@ -93,7 +93,7 @@ tmp = speed % 10000; if (tmp >= 5000) speed += 10000; - printf ("%u.%02u GHz", ((unsigned int) speed/1000000), + printf ("%u.%02u GHz", ((unsigned int) speed/1000000), ((unsigned int) (speed%1000000)/10000)); } else if (speed > 100000) { tmp = speed % 1000; @@ -104,7 +104,7 @@ tmp = speed % 100; if (tmp >= 50) speed += 100; - printf ("%u.%01u MHz", ((unsigned int) speed/1000), + printf ("%u.%01u MHz", ((unsigned int) speed/1000), ((unsigned int) (speed%1000)/100)); } else printf ("%lu kHz", speed); @@ -173,7 +173,7 @@ printf("\n"); cpufreq_put_available_frequencies(freqs); } - + governors = cpufreq_get_available_governors(cpu); if (governors) { printf(gettext (" available cpufreq governors: ")); @@ -194,7 +194,7 @@ printf(".\n "); printf(gettext ("The governor "%s" may" - " decide which speed to use\n within this range.\n"), + " decide which speed to use\n within this range.\n"), policy->governor); cpufreq_put_policy(policy); } @@ -223,6 +223,8 @@ total_trans = cpufreq_get_transitions(cpu); if (total_trans) printf(" (%lu)\n", total_trans); + else + printf("\n"); } } @@ -441,10 +443,10 @@ case 'f': case 'e': case 's': - if (output_param) { - output_param = -1; - cont = 0; - break; + if (output_param) { + output_param = -1; + cont = 0; + break; } output_param = ret; break; @@ -470,7 +472,7 @@ break; } } while(cont); - + switch (output_param) { case 'o': if (cpu_defined) { diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/cpufrequtils-004/utils/set.c new/cpufrequtils-005/utils/set.c --- old/cpufrequtils-004/utils/set.c 2008-07-14 13:59:36.000000000 +0200 +++ new/cpufrequtils-005/utils/set.c 2008-08-10 17:31:55.000000000 +0200 @@ -83,7 +83,7 @@ static unsigned long string_to_frequency(const char* str) { char normalized[NORM_FREQ_LEN]; - struct freq_units const * unit; + struct freq_units const * unit; const char* scan; char* end; unsigned long freq; ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org