Author: dmacvicar Date: Sun Feb 10 23:34:20 2008 New Revision: 8593 URL: http://svn.opensuse.org/viewcvs/zypp?rev=8593&view=rev Log: remove cache, compile Modified: branches/tmp/ma/jump_sat/libzypp/zypp/CMakeLists.txt branches/tmp/ma/jump_sat/libzypp/zypp/RepoManager.cc Modified: branches/tmp/ma/jump_sat/libzypp/zypp/CMakeLists.txt URL: http://svn.opensuse.org/viewcvs/zypp/branches/tmp/ma/jump_sat/libzypp/zypp/CMakeLists.txt?rev=8593&r1=8592&r2=8593&view=diff ============================================================================== --- branches/tmp/ma/jump_sat/libzypp/zypp/CMakeLists.txt (original) +++ branches/tmp/ma/jump_sat/libzypp/zypp/CMakeLists.txt Sun Feb 10 23:34:20 2008 @@ -4,12 +4,9 @@ ADD_DEFINITIONS(-DLOCALEDIR=\\\"${CMAKE_INSTALL_PREFIX}/share/locale\\\" -DTEXTDOMAIN=\\\"zypp\\\" ) -ADD_EXECUTABLE(mkarray ${CMAKE_SOURCE_DIR}/zypp/cache/schema/mkarray.c ) INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR}) #FILE(WRITE filename "message to write"... ) -ADD_CUSTOM_COMMAND( OUTPUT ${CMAKE_BINARY_DIR}/zypp/sqlite-schema.h PRE_BUILD COMMAND "${CMAKE_BINARY_DIR}/zypp/mkarray" ARGS "${CMAKE_SOURCE_DIR}/zypp/cache/schema/schema.sql" "schemaData" "${CMAKE_BINARY_DIR}/zypp/sqlite-schema.h" DEPENDS mkarray DEPENDS ${CMAKE_SOURCE_DIR}/zypp/cache/schema/schema.sql ) - SET( zypp_SRCS Atom.cc ByteCount.cc Modified: branches/tmp/ma/jump_sat/libzypp/zypp/RepoManager.cc URL: http://svn.opensuse.org/viewcvs/zypp/branches/tmp/ma/jump_sat/libzypp/zypp/RepoManager.cc?rev=8593&r1=8592&r2=8593&view=diff ============================================================================== --- branches/tmp/ma/jump_sat/libzypp/zypp/RepoManager.cc (original) +++ branches/tmp/ma/jump_sat/libzypp/zypp/RepoManager.cc Sun Feb 10 23:34:20 2008 @@ -28,7 +28,6 @@ #include "zypp/repo/RepoException.h" #include "zypp/RepoManager.h" -#include "zypp/cache/SolvStore.h" #include "zypp/media/MediaManager.h" #include "zypp/MediaSetAccess.h" #include "zypp/ExternalProgram.h" @@ -108,33 +107,6 @@ //////////////////////////////////////////////////////////////////////////// - /** - * \short Internal version of clean cache - * - * Takes an extra SolvStore reference, so we avoid internally - * having 2 SolvStores writing to the same database. - */ - static void cleanCacheInternal( cache::SolvStore &store, - const RepoInfo &info, - const ProgressData::ReceiverFnc & progressrcv = ProgressData::ReceiverFnc() ) - { -// ProgressData progress; -// callback::SendReport<ProgressReport> report; -// progress.sendTo( ProgressReportAdaptor( progressrcv, report ) ); -// progress.name(str::form(_("Cleaning repository '%s' cache"), info.name().c_str())); -// -// if ( !store.isCached(info.alias()) ) -// return; -// -// MIL << info.alias() << " cleaning cache..." << endl; -// -// CombinedProgressData subprogrcv(progress); -// -// store.cleanRepository(info.alias(), subprogrcv); - } - - //////////////////////////////////////////////////////////////////////////// - /** * Reads RepoInfo's from a repo file. * -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org