Hello community,
here is the log from the commit of package yast2-tune for openSUSE:Factory
checked in at Thu Oct 7 23:44:35 CEST 2010.
--------
--- yast2-tune/yast2-tune.changes 2009-03-26 09:04:01.000000000 +0100
+++ /mounts/work_src_done/STABLE/yast2-tune/yast2-tune.changes 2010-10-07 09:06:56.000000000 +0200
@@ -1,0 +2,13 @@
+Thu Oct 7 07:01:30 UTC 2010 - lslezak@suse.cz
+
+- use Icon.ycp module for displaying icon
+- 2.20.0
+
+------------------------------------------------------------------
+Wed Jan 13 18:56:03 CET 2010 - kmachalkova@suse.cz
+
+- Adjusted .desktop file(s) to wrap /sbin/yast2/ calls in xdg-su
+ where root privileges are needed, removed X-KDE-SubstituteUID key
+ (bnc#540627)
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
yast2-tune-2.18.1.tar.bz2
New:
----
yast2-tune-2.20.0.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-tune.spec ++++++
--- /var/tmp/diff_new_pack.DargYV/_old 2010-10-07 23:35:06.000000000 +0200
+++ /var/tmp/diff_new_pack.DargYV/_new 2010-10-07 23:35:06.000000000 +0200
@@ -1,7 +1,7 @@
#
-# spec file for package yast2-tune (Version 2.18.1)
+# spec file for package yast2-tune (Version 2.20.0)
#
-# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,40 +19,47 @@
Name: yast2-tune
-Version: 2.18.1
+Version: 2.20.0
Release: 1
-License: GPL v2 or later
-Group: System/YaST
+
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-tune-2.18.1.tar.bz2
+Source0: yast2-tune-2.20.0.tar.bz2
+
Prefix: /usr
+
+Group: System/YaST
+License: GPLv2+
BuildRequires: perl-XML-Writer update-desktop-files yast2 yast2-bootloader yast2-devtools yast2-testsuite
# hwinfo/classnames.ycp
Requires: yast2 >= 2.15.20
Requires: hdparm yast2-bootloader
+
Provides: yast2-config-hwinfo yast2-tune-idedma yast2-trans-tune
Obsoletes: yast2-config-hwinfo yast2-tune-idedma yast2-trans-tune
Provides: yast2-trans-hwinfo yast2-trans-idedma y2c_tune y2t_tune yast2-config-tune
Obsoletes: yast2-trans-hwinfo yast2-trans-idedma y2c_tune y2t_tune yast2-config-tune
+
Summary: YaST2 - Hardware Tuning
%description
This package contains the YaST2 component for hardware configuration.
-
-
%prep
-%setup -n yast2-tune-2.18.1
+%setup -n yast2-tune-2.20.0
%build
%{prefix}/bin/y2tool y2autoconf
%{prefix}/bin/y2tool y2automake
autoreconf --force --install
+
export CFLAGS="$RPM_OPT_FLAGS -DNDEBUG"
export CXXFLAGS="$RPM_OPT_FLAGS -DNDEBUG"
+
%{?suse_update_config:%{suse_update_config -f}}
./configure --libdir=%{_libdir} --prefix=%{prefix} --mandir=%{_mandir}
-make %{?jobs:-j%jobs}
+# V=1: verbose build in case we used AM_SILENT_RULES(yes)
+# so that RPM_OPT_FLAGS check works
+make %{?jobs:-j%jobs} V=1
%install
make install DESTDIR="$RPM_BUILD_ROOT"
@@ -73,9 +80,11 @@
%files
%defattr(-,root,root)
+
#%ifnarch s390 s390x
#%{prefix}/share/applications/YaST2/idedma.desktop
#%endif
+
%dir /usr/share/YaST2/include/idedma
/usr/share/YaST2/include/hwinfo/*
/usr/share/YaST2/include/idedma/*
++++++ yast2-tune-2.18.1.tar.bz2 -> yast2-tune-2.20.0.tar.bz2 ++++++
++++ 8699 lines of diff (skipped)
++++ retrying with extended exclude list
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-tune-2.18.1/Makefile.am new/yast2-tune-2.20.0/Makefile.am
--- old/yast2-tune-2.18.1/Makefile.am 2009-03-26 09:00:30.000000000 +0100
+++ new/yast2-tune-2.20.0/Makefile.am 2010-10-07 09:05:16.000000000 +0200
@@ -32,10 +32,10 @@
# less strict; prefer bzip2
AUTOMAKE_OPTIONS = foreign dist-bzip2 no-dist-gzip
-# where devtools instal m4 snippets
+# where devtools install m4 snippets
# argh, executed literally
#ACLOCAL_AMFLAGS = -I $(Y2DEVTOOLS_PREFIX)/share/aclocal
-ACLOCAL_AMFLAGS = -I `if test -d ./devtools/admin; then echo ./devtools/admin; else pkg-config --print-errors --variable=datadir yast2-devtools; fi`/aclocal
+ACLOCAL_AMFLAGS = -I . -I `if test -d ./devtools/admin; then echo ./devtools/admin; else pkg-config --print-errors --variable=datadir yast2-devtools; fi`/aclocal
Makefile.am.common: $(DEVTOOLS_DIR)/admin/Makefile.am.common
cmp -s $< $@ || cp -f $< $@
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-tune-2.18.1/VERSION new/yast2-tune-2.20.0/VERSION
--- old/yast2-tune-2.18.1/VERSION 2009-03-26 08:34:23.000000000 +0100
+++ new/yast2-tune-2.20.0/VERSION 2010-10-07 09:01:20.000000000 +0200
@@ -1 +1 @@
-2.18.1
+2.20.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-tune-2.18.1/autodocs-ycp.ami new/yast2-tune-2.20.0/autodocs-ycp.ami
--- old/yast2-tune-2.18.1/autodocs-ycp.ami 2009-03-26 09:00:30.000000000 +0100
+++ new/yast2-tune-2.20.0/autodocs-ycp.ami 2010-10-07 09:05:16.000000000 +0200
@@ -1,5 +1,5 @@
# -*- makefile -*- Automake include file
-# $Id: autodocs-ycp.ami 33394 2006-10-13 11:51:40Z mvidner $
+# $Id: autodocs-ycp.ami 57644 2009-06-19 08:38:11Z mvidner $
# Builds source documentation for YCP sources
# Uses ycpdoc
@@ -8,20 +8,25 @@
# Optional - the default is $(srcdir)/../../src/*.ycp
# AUTODOCS_PM: Files that the perl autodocs is built from
# Optional - the default is $(srcdir)/../../src/*.pm
+# AUTODOCS_SUBDIR: To install the result to $(docdir)/SUBDIR/autodocs
+# Optional - the default is no subdir, $(docdir)/autodocs
+# AUTODOCS_STRIP: Strip it from filenames. The remaining / are replaced by __
+# Optional - the default is $(srcdir)/../../src
-htmldir = $(docdir)/autodocs
+htmldir = $(docdir)/$(AUTODOCS_SUBDIR)/autodocs
-html_DATA = index.html $(wildcard *.html)
+html_DATA = index.html $(filter-out index.html, $(wildcard *.html))
CLEANFILES = $(html_DATA) pod2htm*.tmp
AUTODOCS_YCP ?= $(wildcard $(srcdir)/../../src/*.ycp)
AUTODOCS_PM ?= $(wildcard $(srcdir)/../../src/*.pm)
+AUTODOCS_STRIP ?= $(srcdir)/../../src
index.html: $(AUTODOCS_YCP) $(AUTODOCS_PM)
#including *.pm, for the index
- ${YCPDOC} -d. $^
+ ${YCPDOC} -d. -s$(AUTODOCS_STRIP) $(AUTODOCS_YCP)
for i in $(AUTODOCS_PM); do \
- b=`basename $$i`; b=$${b%.pm}; \
+ b=$${i##$(AUTODOCS_STRIP)}; b=$${b#/}; b=$${b//\//__}; b=$${b%.pm}; \
pod2html --title=$$b --infile=$$i --outfile=$$b.html; \
- echo "<a href='$$b.html'>$$b</a>" > $$b.mod.html; \
+ echo "<a href='$$b.html'>$${b/__/::}</a>" > $$b.mod.html; \
done
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-tune-2.18.1/configure.in new/yast2-tune-2.20.0/configure.in
--- old/yast2-tune-2.18.1/configure.in 2009-03-26 09:00:30.000000000 +0100
+++ new/yast2-tune-2.20.0/configure.in 2010-10-07 09:05:16.000000000 +0200
@@ -1,9 +1,9 @@
dnl configure.in for yast2-tune
dnl
-dnl -- This file is generated by y2autoconf 2.17.6 - DO NOT EDIT! --
+dnl -- This file is generated by y2autoconf 2.18.11 - DO NOT EDIT! --
dnl (edit configure.in.in instead)
-AC_INIT(yast2-tune, 2.18.1, http://bugs.opensuse.org/, yast2-tune)
+AC_INIT(yast2-tune, 2.20.0, http://bugs.opensuse.org/, yast2-tune)
dnl Check for presence of file 'RPMNAME'
AC_CONFIG_SRCDIR([RPMNAME])
@@ -18,7 +18,7 @@
AM_INIT_AUTOMAKE(tar-ustar -Wno-portability)
dnl Important YaST2 variables
-VERSION="2.18.1"
+VERSION="2.20.0"
RPMNAME="yast2-tune"
MAINTAINER="Ladislav Slezak "
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-tune-2.18.1/hwinfo/src/hwinfo.desktop new/yast2-tune-2.20.0/hwinfo/src/hwinfo.desktop
--- old/yast2-tune-2.18.1/hwinfo/src/hwinfo.desktop 2008-05-19 16:06:07.000000000 +0200
+++ new/yast2-tune-2.20.0/hwinfo/src/hwinfo.desktop 2010-01-14 15:51:45.000000000 +0100
@@ -17,9 +17,8 @@
X-SuSE-YaST-AutoInstResource=
Icon=yast-hwinfo
-Exec=/sbin/yast2 hwinfo
+Exec=xdg-su -c "/sbin/yast2 hwinfo"
Name=Hardware Information
GenericName=View hardware information
-X-KDE-SubstituteUID=true
StartupNotify=true
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-tune-2.18.1/hwinfo/src/hwinfo.ycp new/yast2-tune-2.20.0/hwinfo/src/hwinfo.ycp
--- old/yast2-tune-2.18.1/hwinfo/src/hwinfo.ycp 2008-09-10 11:12:11.000000000 +0200
+++ new/yast2-tune-2.20.0/hwinfo/src/hwinfo.ycp 2010-10-07 09:06:23.000000000 +0200
@@ -6,7 +6,7 @@
* Ladislav Slezak
* Michal Svec
*
- * $Id: hwinfo.ycp 50930 2008-09-10 09:12:11Z lslezak $
+ * $Id: hwinfo.ycp 62558 2010-10-07 07:06:22Z lslezak $
*/
{
@@ -17,6 +17,7 @@
import "Arch";
import "Directory";
import "CommandLine";
+import "Icon";
//include "hwinfo/classnames.ycp";
include "hwinfo/routines.ycp";
@@ -26,21 +27,6 @@
*/
boolean abortPressed = false;
-term Icon (string icon_name) {
- map ui_info = UI::GetDisplayInfo();
- if ((boolean) ui_info["HasLocalImageSupport"]:false == false) return `Empty();
-
- return `Image (
- sformat (
- "%1/current/icons/22x22/apps/%2.png",
- Directory::themedir,
- icon_name
- ),
- "[x]"
- );
-}
-
-
/*
* open progress bar window
*/
@@ -52,7 +38,7 @@
`VBox(
`HSpacing(40),
`HBox(
- `HSquash (`MarginBox (0.5, 0.2, Icon("yast-hwinfo"))),
+ `HSquash (`MarginBox (0.5, 0.2, Icon::Image("yast-hwinfo", $[]))),
// translators: popup heading
`Left (`Heading(`id(`heading), _("Probing Hardware...")))
),
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-tune-2.18.1/hwinfo/src/system_settings.desktop new/yast2-tune-2.20.0/hwinfo/src/system_settings.desktop
--- old/yast2-tune-2.18.1/hwinfo/src/system_settings.desktop 2008-05-19 16:06:07.000000000 +0200
+++ new/yast2-tune-2.20.0/hwinfo/src/system_settings.desktop 2010-01-14 15:51:45.000000000 +0100
@@ -17,7 +17,7 @@
X-SuSE-YaST-AutoInstResource=
Icon=yast-powertweak
-Exec=/sbin/yast2 system_settings
+Exec=xdg-su -c "/sbin/yast2 system_settings"
Name=Kernel Settings
GenericName=Configure Low-Level System Options
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-tune-2.18.1/hwinfo/src/system_settings_finish.ycp new/yast2-tune-2.20.0/hwinfo/src/system_settings_finish.ycp
--- old/yast2-tune-2.18.1/hwinfo/src/system_settings_finish.ycp 2007-12-10 15:56:21.000000000 +0100
+++ new/yast2-tune-2.20.0/hwinfo/src/system_settings_finish.ycp 2009-04-29 12:58:11.000000000 +0200
@@ -8,7 +8,7 @@
* Authors:
* Ladislav Slezak
*
- * $Id:$
+ * $Id: system_settings_finish.ycp 57028 2009-04-29 10:58:09Z lslezak $
*
*/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-tune-2.18.1/idedma/src/idedma.desktop new/yast2-tune-2.20.0/idedma/src/idedma.desktop
--- old/yast2-tune-2.18.1/idedma/src/idedma.desktop 2008-05-19 16:06:07.000000000 +0200
+++ new/yast2-tune-2.20.0/idedma/src/idedma.desktop 2010-01-14 15:51:45.000000000 +0100
@@ -17,9 +17,8 @@
X-SuSE-YaST-AutoInstResource=
Icon=yast-idedma
-Exec=/sbin/yast2 idedma
+Exec=xdg-su -c "/sbin/yast2 idedma"
Name=IDE DMA Mode
GenericName=Configure the DMA mode of IDE devices
-X-KDE-SubstituteUID=true
StartupNotify=true
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-tune-2.18.1/missing new/yast2-tune-2.20.0/missing
--- old/yast2-tune-2.18.1/missing 2009-03-26 09:00:36.000000000 +0100
+++ new/yast2-tune-2.20.0/missing 2010-10-07 09:05:20.000000000 +0200
@@ -1,10 +1,10 @@
#! /bin/sh
# Common stub for a few missing GNU programs while installing.
-scriptversion=2006-05-10.23
+scriptversion=2009-04-28.21; # UTC
-# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006
-# Free Software Foundation, Inc.
+# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006,
+# 2008, 2009 Free Software Foundation, Inc.
# Originally by Fran,cois Pinard , 1996.
# This program is free software; you can redistribute it and/or modify
@@ -18,9 +18,7 @@
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
-# 02110-1301, USA.
+# along with this program. If not, see http://www.gnu.org/licenses/.
# As a special exception to the GNU General Public License, if you
# distribute this file as part of a program that contains a
@@ -89,6 +87,9 @@
tar try tar, gnutar, gtar, then tar without non-portable flags
yacc create \`y.tab.[ch]', if possible, from existing .[ch]
+Version suffixes to PROGRAM as well as the prefixes \`gnu-', \`gnu', and
+\`g' are ignored when checking the name.
+
Send bug reports to ."
exit $?
;;
@@ -106,15 +107,22 @@
esac
+# normalize program name to check for.
+program=`echo "$1" | sed '
+ s/^gnu-//; t
+ s/^gnu//; t
+ s/^g//; t'`
+
# Now exit if we have it, but it failed. Also exit now if we
# don't have it and --version was passed (most likely to detect
-# the program).
+# the program). This is about non-GNU programs, so use $1 not
+# $program.
case $1 in
- lex|yacc)
+ lex*|yacc*)
# Not GNU programs, they don't have --version.
;;
- tar)
+ tar*)
if test -n "$run"; then
echo 1>&2 "ERROR: \`tar' requires --run"
exit 1
@@ -138,7 +146,7 @@
# If it does not exist, or fails to run (possibly an outdated version),
# try to emulate it.
-case $1 in
+case $program in
aclocal*)
echo 1>&2 "\
WARNING: \`$1' is $msg. You should only need it if
@@ -148,7 +156,7 @@
touch aclocal.m4
;;
- autoconf)
+ autoconf*)
echo 1>&2 "\
WARNING: \`$1' is $msg. You should only need it if
you modified \`${configure_ac}'. You might want to install the
@@ -157,7 +165,7 @@
touch configure
;;
- autoheader)
+ autoheader*)
echo 1>&2 "\
WARNING: \`$1' is $msg. You should only need it if
you modified \`acconfig.h' or \`${configure_ac}'. You might want
@@ -187,7 +195,7 @@
while read f; do touch "$f"; done
;;
- autom4te)
+ autom4te*)
echo 1>&2 "\
WARNING: \`$1' is needed, but is $msg.
You might have modified some files without having the
@@ -210,7 +218,7 @@
fi
;;
- bison|yacc)
+ bison*|yacc*)
echo 1>&2 "\
WARNING: \`$1' $msg. You should only need it if
you modified a \`.y' file. You may need the \`Bison' package
@@ -240,7 +248,7 @@
fi
;;
- lex|flex)
+ lex*|flex*)
echo 1>&2 "\
WARNING: \`$1' is $msg. You should only need it if
you modified a \`.l' file. You may need the \`Flex' package
@@ -263,7 +271,7 @@
fi
;;
- help2man)
+ help2man*)
echo 1>&2 "\
WARNING: \`$1' is $msg. You should only need it if
you modified a dependency of a manual page. You may need the
@@ -277,11 +285,11 @@
else
test -z "$file" || exec >$file
echo ".ab help2man is required to generate this page"
- exit 1
+ exit $?
fi
;;
- makeinfo)
+ makeinfo*)
echo 1>&2 "\
WARNING: \`$1' is $msg. You should only need it if
you modified a \`.texi' or \`.texinfo' file, or any other file
@@ -310,7 +318,7 @@
touch $file
;;
- tar)
+ tar*)
shift
# We have already tried tar in the generic part.
@@ -363,5 +371,6 @@
# eval: (add-hook 'write-file-hooks 'time-stamp)
# time-stamp-start: "scriptversion="
# time-stamp-format: "%:y-%02m-%02d.%02H"
-# time-stamp-end: "$"
+# time-stamp-time-zone: "UTC"
+# time-stamp-end: "; # UTC"
# End:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org