Hello community, here is the log from the commit of package yast2-storage for openSUSE:Factory checked in at 2012-06-13 22:47:40 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/yast2-storage (Old) and /work/SRC/openSUSE:Factory/.yast2-storage.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-storage", Maintainer is "[email protected]" Changes: -------- --- /work/SRC/openSUSE:Factory/yast2-storage/yast2-storage.changes 2012-05-26 13:05:03.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.yast2-storage.new/yast2-storage.changes 2012-06-13 22:48:06.000000000 +0200 @@ -1,0 +2,7 @@ +Wed Jun 13 14:52:44 CEST 2012 - [email protected] + +- 2.22.4 +- do not suggest /usr as mount point any more (bnc#766632) +- changes for new logging in libstorage (fate#313242) + +------------------------------------------------------------------- Old: ---- yast2-storage-2.22.3.tar.bz2 New: ---- yast2-storage-2.22.4.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-storage.spec ++++++ --- /var/tmp/diff_new_pack.7aPSpL/_old 2012-06-13 22:48:07.000000000 +0200 +++ /var/tmp/diff_new_pack.7aPSpL/_new 2012-06-13 22:48:07.000000000 +0200 @@ -17,18 +17,17 @@ Name: yast2-storage -Version: 2.22.3 +Version: 2.22.4 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build Source0: yast2-storage-%{version}.tar.bz2 -BuildRequires: blocxx-devel BuildRequires: boost-devel BuildRequires: docbook-xsl-stylesheets BuildRequires: doxygen BuildRequires: gcc-c++ -BuildRequires: libstorage-devel >= 2.22.1 +BuildRequires: libstorage-devel >= 2.22.5 BuildRequires: libtool BuildRequires: libxslt BuildRequires: openssl-devel @@ -38,7 +37,7 @@ BuildRequires: swig BuildRequires: update-desktop-files BuildRequires: yast2 >= 2.19.4 -BuildRequires: yast2-core-devel >= 2.18.1 +BuildRequires: yast2-core-devel >= 2.23.1 BuildRequires: yast2-devtools BuildRequires: yast2-perl-bindings BuildRequires: yast2-testsuite >= 2.19.0 @@ -152,7 +151,6 @@ %{perl_vendorarch}/LibStorage.so %package devel -Requires: blocxx-devel Requires: libstdc++-devel Requires: yast2-storage = %version Requires: libstorage-devel = %(echo `rpm -q --queryformat '%{VERSION}' libstorage-devel`) ++++++ yast2-storage-2.22.3.tar.bz2 -> yast2-storage-2.22.4.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-storage-2.22.3/VERSION new/yast2-storage-2.22.4/VERSION --- old/yast2-storage-2.22.3/VERSION 2012-05-24 17:14:13.000000000 +0200 +++ new/yast2-storage-2.22.4/VERSION 2012-06-12 19:13:09.000000000 +0200 @@ -1 +1 @@ -2.22.3 +2.22.4 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-storage-2.22.3/bindings/src/StorageCallbacks.cc new/yast2-storage-2.22.4/bindings/src/StorageCallbacks.cc --- old/yast2-storage-2.22.3/bindings/src/StorageCallbacks.cc 2012-05-21 16:32:08.000000000 +0200 +++ new/yast2-storage-2.22.4/bindings/src/StorageCallbacks.cc 2012-06-12 19:09:15.000000000 +0200 @@ -190,6 +190,7 @@ StorageCallbacks::StorageCallbacks () { registerFunctions (); + registerLogHandlers(); } /** @@ -612,3 +613,16 @@ return YCPVoid (); } + +void +log_do( int level, const string& component, const char* file, int line, const char* func, + const string& text) + { + y2_logger_function((loglevel_t)level, component, file, line, func, "%s", text.c_str()); + } + +void StorageCallbacks::registerLogHandlers() + { + storage::setLogDoCallback(&log_do); + storage::setLogQueryCallback(&should_be_logged); + } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-storage-2.22.3/bindings/src/StorageCallbacks.h new/yast2-storage-2.22.4/bindings/src/StorageCallbacks.h --- old/yast2-storage-2.22.3/bindings/src/StorageCallbacks.h 2012-05-21 16:32:08.000000000 +0200 +++ new/yast2-storage-2.22.4/bindings/src/StorageCallbacks.h 2012-06-12 12:05:27.000000000 +0200 @@ -46,6 +46,7 @@ // builtin handling void registerFunctions (); + void registerLogHandlers(); vector<string> _registered_functions; // callbacks diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-storage-2.22.3/bindings/ycp/Makefile.in new/yast2-storage-2.22.4/bindings/ycp/Makefile.in --- old/yast2-storage-2.22.3/bindings/ycp/Makefile.in 2012-05-24 17:14:40.000000000 +0200 +++ new/yast2-storage-2.22.4/bindings/ycp/Makefile.in 2012-06-13 15:16:32.000000000 +0200 @@ -20,7 +20,7 @@ # # -*- makefile -*- Automake include file -# $Id: pluglib-bindings.ami 49069 2008-07-14 15:34:10Z mvidner $ +# $Id$ # Wraps a pluglib for use by YaST. Done by using Swig for Perl, adding # type information. Compiles, installs. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-storage-2.22.3/configure new/yast2-storage-2.22.4/configure --- old/yast2-storage-2.22.3/configure 2012-05-24 17:14:37.000000000 +0200 +++ new/yast2-storage-2.22.4/configure 2012-06-13 15:16:30.000000000 +0200 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.68 for yast2-storage 2.22.3. +# Generated by GNU Autoconf 2.68 for yast2-storage 2.22.4. # # Report bugs to <http://bugs.opensuse.org/>. # @@ -709,8 +709,8 @@ # Identity of this package. PACKAGE_NAME='yast2-storage' PACKAGE_TARNAME='yast2-storage' -PACKAGE_VERSION='2.22.3' -PACKAGE_STRING='yast2-storage 2.22.3' +PACKAGE_VERSION='2.22.4' +PACKAGE_STRING='yast2-storage 2.22.4' PACKAGE_BUGREPORT='http://bugs.opensuse.org/' PACKAGE_URL='' @@ -1495,7 +1495,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures yast2-storage 2.22.3 to adapt to many kinds of systems. +\`configure' configures yast2-storage 2.22.4 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1566,7 +1566,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of yast2-storage 2.22.3:";; + short | recursive ) echo "Configuration of yast2-storage 2.22.4:";; esac cat <<\_ACEOF @@ -1680,7 +1680,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -yast2-storage configure 2.22.3 +yast2-storage configure 2.22.4 generated by GNU Autoconf 2.68 Copyright (C) 2010 Free Software Foundation, Inc. @@ -2133,7 +2133,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by yast2-storage $as_me 2.22.3, which was +It was created by yast2-storage $as_me 2.22.4, which was generated by GNU Autoconf 2.68. Invocation command line was $ $0 $@ @@ -3063,7 +3063,7 @@ # Define the identity of the package. PACKAGE='yast2-storage' - VERSION='2.22.3' + VERSION='2.22.4' cat >>confdefs.h <<_ACEOF @@ -3185,7 +3185,7 @@ -VERSION="2.22.3" +VERSION="2.22.4" RPMNAME="yast2-storage" MAINTAINER="Arvin Schnell <[email protected]>" @@ -16097,7 +16097,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by yast2-storage $as_me 2.22.3, which was +This file was extended by yast2-storage $as_me 2.22.4, which was generated by GNU Autoconf 2.68. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -16163,7 +16163,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -yast2-storage config.status 2.22.3 +yast2-storage config.status 2.22.4 configured by $0, generated by GNU Autoconf 2.68, with options \\"\$ac_cs_config\\" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-storage-2.22.3/configure.in new/yast2-storage-2.22.4/configure.in --- old/yast2-storage-2.22.3/configure.in 2012-05-24 17:14:23.000000000 +0200 +++ new/yast2-storage-2.22.4/configure.in 2012-06-13 15:16:16.000000000 +0200 @@ -3,7 +3,7 @@ dnl -- This file is generated by y2autoconf 2.21.9 - DO NOT EDIT! -- dnl (edit configure.in.in instead) -AC_INIT(yast2-storage, 2.22.3, http://bugs.opensuse.org/, yast2-storage) +AC_INIT(yast2-storage, 2.22.4, http://bugs.opensuse.org/, yast2-storage) 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.22.3" +VERSION="2.22.4" RPMNAME="yast2-storage" MAINTAINER="Arvin Schnell <[email protected]>" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-storage-2.22.3/pluglib-bindings.ami new/yast2-storage-2.22.4/pluglib-bindings.ami --- old/yast2-storage-2.22.3/pluglib-bindings.ami 2012-05-24 17:14:23.000000000 +0200 +++ new/yast2-storage-2.22.4/pluglib-bindings.ami 2012-06-13 15:16:16.000000000 +0200 @@ -1,5 +1,5 @@ # -*- makefile -*- Automake include file -# $Id: pluglib-bindings.ami 49069 2008-07-14 15:34:10Z mvidner $ +# $Id$ # Wraps a pluglib for use by YaST. Done by using Swig for Perl, adding # type information. Compiles, installs. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-storage-2.22.3/storage/src/include/custom_part_check_generated.ycp new/yast2-storage-2.22.4/storage/src/include/custom_part_check_generated.ycp --- old/yast2-storage-2.22.3/storage/src/include/custom_part_check_generated.ycp 2012-05-21 16:32:08.000000000 +0200 +++ new/yast2-storage-2.22.4/storage/src/include/custom_part_check_generated.ycp 2012-06-13 14:44:57.000000000 +0200 @@ -490,7 +490,7 @@ // continued popup text _("If in doubt, better go back and mark this partition for formatting, especially if it is assigned to one of the standard mount points -like /, /boot, /usr, /opt or /var. +like /, /boot, /opt or /var. ") + // continued popup text _("If you decide to format the partition, all data on it will be lost. @@ -680,7 +680,7 @@ string mounted_parts = ""; foreach( map mount, mounts , ``{ - // %1 is replaced by device name, %1 by directory e.g /dev/hdd1 on /usr + // %1 is replaced by device name, %1 by directory e.g /dev/hdd1 on /opt mounted_parts = mounted_parts + sformat( "%1 --> %2", mount["device"]:"", mount["mount"]:"") + "\n"; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-storage-2.22.3/storage/src/include/custom_part_dialogs.ycp new/yast2-storage-2.22.4/storage/src/include/custom_part_dialogs.ycp --- old/yast2-storage-2.22.3/storage/src/include/custom_part_dialogs.ycp 2012-05-21 16:32:08.000000000 +0200 +++ new/yast2-storage-2.22.4/storage/src/include/custom_part_dialogs.ycp 2012-06-13 14:45:43.000000000 +0200 @@ -1006,7 +1006,7 @@ define term MountDlg( map new_val, list mountpoints ) ``{ if( mountpoints == nil ) - mountpoints = [ "/", "/usr", Partitions::BootMount(), "/var", "/home", + mountpoints = [ "/", "/home", Partitions::BootMount(), "/var", "/opt" , ""]; if( !contains( mountpoints, "" ) && new_val["enc_type"]:`none==`none ) @@ -1226,7 +1226,7 @@ string mounted_parts = ""; foreach( map mount, mounts, ``{ - // %1 is replaced by device name, %1 by directory e.g /dev/hdd1 on /usr + // %1 is replaced by device name, %1 by directory e.g /dev/hdd1 on /opt mounted_parts = mounted_parts + sformat("%1 on %2", mount["device"]:"", mount["mount"]:"") + "\n"; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-storage-2.22.3/storage/src/include/ep-dialogs.ycp new/yast2-storage-2.22.4/storage/src/include/ep-dialogs.ycp --- old/yast2-storage-2.22.3/storage/src/include/ep-dialogs.ycp 2012-05-21 16:32:08.000000000 +0200 +++ new/yast2-storage-2.22.4/storage/src/include/ep-dialogs.ycp 2012-06-13 14:46:26.000000000 +0200 @@ -48,7 +48,7 @@ // helptext helptext = helptext + _("<p>Then, choose whether the partition should -be mounted and enter the mount point (/, /boot, /usr, /var, etc.).</p>"); +be mounted and enter the mount point (/, /boot, /home, /var, etc.).</p>"); return helptext; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-storage-2.22.3/storage/src/modules/FileSystems.ycp new/yast2-storage-2.22.4/storage/src/modules/FileSystems.ycp --- old/yast2-storage-2.22.3/storage/src/modules/FileSystems.ycp 2012-05-21 16:32:08.000000000 +0200 +++ new/yast2-storage-2.22.4/storage/src/modules/FileSystems.ycp 2012-06-13 14:48:40.000000000 +0200 @@ -85,7 +85,7 @@ global const list<symbol> possible_root_fs = [ `ext2, `ext3, `ext4, `btrfs, `reiser, `xfs ]; - global list<string> system_m_points() { return [ "/", "/usr", "/var", "/opt", Partitions::BootMount() ]; } + global list<string> system_m_points() { return [ "/", "/home", "/var", "/opt", Partitions::BootMount() ]; } global list<string> crypt_m_points() { return [ "/", Partitions::BootMount(), "/usr" ]; } global const list<string> swap_m_points = [ "swap" ]; global const list<string> tmp_m_points = [ "/tmp", "/var/tmp" ]; @@ -101,7 +101,7 @@ { if( size(suggest_m_points)==0 ) { - suggest_m_points = [ "/home", "/srv", "/tmp", "/local" ]; + suggest_m_points = [ "/srv", "/tmp", "/usr/local" ]; if( Stage::initial() ) suggest_m_points = (list<string>)union( system_m_points(), suggest_m_points ); -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
