SET(LIBZYPP_MAJOR "16")
SET(LIBZYPP_COMPATMINOR "0")
SET(LIBZYPP_MINOR "0")
-SET(LIBZYPP_PATCH "2")
+SET(LIBZYPP_PATCH "3")
#
-# LAST RELEASED: 16.0.2 (0)
+# LAST RELEASED: 16.0.3 (0)
# (The number in parenthesis is LIBZYPP_COMPATMINOR)
#=======
BuildRequires: cmake
BuildRequires: openssl-devel
%if 0%{?suse_version} >= 1130 || 0%{?fedora_version} >= 16
-BuildRequires: libudev-devel
+BuildRequires: pkgconfig(libudev)
%else
BuildRequires: hal-devel
%endif
}
function getchanges() {
- git log --no-merges --pretty=format:'- %s' "$LAST_RELEASE"..HEAD | grep -v 'po.tar.bz2'
+ git log --no-merges --pretty=format:'- %s' "$LAST_RELEASE"..HEAD | grep -v 'po.tar.bz2\|Translated using Weblate'
}
function newchangesentry() {
-------------------------------------------------------------------
+Mon Jun 13 12:53:03 CEST 2016 - ma@suse.de
+
+- Shrink pool if all repos are removed (bnc#899755)
+- Avoid direct BuildRequire on libudev-devel (#60)
+- version 16.0.3 (0)
+
+-------------------------------------------------------------------
Tue Jun 7 18:43:31 CEST 2016 - ma@suse.de
- Allow PackageKit to drop the zypp lock (bnc#899755)
"Project-Id-Version: libzypp\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-05-03 15:55+0200\n"
-"PO-Revision-Date: 2016-05-29 10:45+0000\n"
+"PO-Revision-Date: 2016-06-05 18:55+0000\n"
"Last-Translator: Ferdinand Galko <galko.ferdinand@gmail.com>\n"
-"Language-Team: Slovak <http://l10n.opensuse.org/projects/libzypp/master/sk/>"
+"Language-Team: Slovak <https://l10n.opensuse.org/projects/libzypp/master/sk/>"
"\n"
"Language: sk\n"
"MIME-Version: 1.0\n"
#. language code: smo sm
#: zypp/LanguageCode.cc:971
msgid "Samoan"
-msgstr "Samoan"
+msgstr "Samojčina"
#. language code: sms
#: zypp/LanguageCode.cc:973
#. language code: sna sn
#: zypp/LanguageCode.cc:975
msgid "Shona"
-msgstr "Shona"
+msgstr "Šona"
#. language code: snd sd
#: zypp/LanguageCode.cc:977
#. language code: sog
#: zypp/LanguageCode.cc:981
msgid "Sogdian"
-msgstr "Sogdian"
+msgstr "Sogdčina"
#. language code: som so
#: zypp/LanguageCode.cc:983
#. language code: sot st
#: zypp/LanguageCode.cc:987
msgid "Sotho, Southern"
-msgstr "Sotho, Southern"
+msgstr "Soto"
#. language code: spa es
#: zypp/LanguageCode.cc:989
#. language code: syr
#: zypp/LanguageCode.cc:1011
msgid "Syriac"
-msgstr "Syriac"
+msgstr "Sýrčina"
#. language code: tah ty
#: zypp/LanguageCode.cc:1013
#. language code: tmh
#: zypp/LanguageCode.cc:1051
msgid "Tamashek"
-msgstr "Tamashek"
+msgstr "Tamašek"
#. language code: tog
#: zypp/LanguageCode.cc:1053
msgid "Tonga (Nyasa)"
-msgstr "Tonga (Nyasa)"
+msgstr "Tongčina (Nyasa)"
#. language code: ton to
#: zypp/LanguageCode.cc:1055
#. language code: tsi
#: zypp/LanguageCode.cc:1059
msgid "Tsimshian"
-msgstr "Tsimshian"
+msgstr "Tsimshijské jazyky"
#. language code: tsn tn
#: zypp/LanguageCode.cc:1061
msgid "Tswana"
-msgstr "Tswana"
+msgstr "Čwančina"
#. language code: tso ts
#: zypp/LanguageCode.cc:1063
#. language code: tup
#: zypp/LanguageCode.cc:1069
msgid "Tupi Languages"
-msgstr "Tupi Languages"
+msgstr "Jazyky tupi"
#. language code: tur tr
#: zypp/LanguageCode.cc:1071
#. language code: tut
#: zypp/LanguageCode.cc:1073
msgid "Altaic (Other)"
-msgstr "Altaic (Other)"
+msgstr "Altajské jazyky"
#. language code: twi tw
#: zypp/LanguageCode.cc:1077
#. language code: tyv
#: zypp/LanguageCode.cc:1079
msgid "Tuvinian"
-msgstr "Tuvinian"
+msgstr "Tuviančina"
#. language code: udm
#: zypp/LanguageCode.cc:1081
msgid "Udmurt"
-msgstr "Udmurt"
+msgstr "Udmurtčina"
#. language code: uga
#: zypp/LanguageCode.cc:1083
msgid "Ugaritic"
-msgstr "Ugaritic"
+msgstr "Ugaritčina"
#. language code: uig ug
#: zypp/LanguageCode.cc:1085
#. language code: vol vo
#: zypp/LanguageCode.cc:1103
msgid "Volapuk"
-msgstr "Volapuk"
+msgstr "Volapük"
#. language code: vot
#: zypp/LanguageCode.cc:1105
msgid "Votic"
-msgstr "Votic"
+msgstr "Vodčina"
#. language code: wak
#: zypp/LanguageCode.cc:1107
msgid "Wakashan Languages"
-msgstr "Wakashan Languages"
+msgstr "Wakašské jazyky"
#. language code: wal
#: zypp/LanguageCode.cc:1109
msgid "Walamo"
-msgstr "Walamo"
+msgstr "Walamčina"
#. language code: war
#: zypp/LanguageCode.cc:1111
#. language code: wen
#: zypp/LanguageCode.cc:1119
msgid "Sorbian Languages"
-msgstr "Sorbian Languages"
+msgstr "Srbské jazyky"
#. language code: wln wa
#: zypp/LanguageCode.cc:1121
#. language code: xal
#: zypp/LanguageCode.cc:1125
msgid "Kalmyk"
-msgstr "Kalmyk"
+msgstr "Kalmyčtina"
#. language code: xho xh
#: zypp/LanguageCode.cc:1127
#. language code: yap
#: zypp/LanguageCode.cc:1131
msgid "Yapese"
-msgstr "Yapese"
+msgstr "Japčina"
#. language code: yid yi
#: zypp/LanguageCode.cc:1133
#. language code: ypk
#: zypp/LanguageCode.cc:1137
msgid "Yupik Languages"
-msgstr "Yupik Languages"
+msgstr "Yupické jazyky"
#. language code: zap
#: zypp/LanguageCode.cc:1139
msgid "Zapotec"
-msgstr "Zapotec"
+msgstr "Zapotéčtina"
#. language code: zen
#: zypp/LanguageCode.cc:1141
#. language code: zha za
#: zypp/LanguageCode.cc:1143
msgid "Zhuang"
-msgstr "Zhuang"
+msgstr "Čuangčina"
#. language code: znd
#: zypp/LanguageCode.cc:1145
"Project-Id-Version: YaST (@memory@)\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-05-03 15:55+0200\n"
-"PO-Revision-Date: 2015-12-23 18:11+0800\n"
-"Last-Translator: marguerite <marguerite@opensuse.org>\n"
-"Language-Team: Chinese <kde-i18n-doc@kde.org>\n"
+"PO-Revision-Date: 2016-06-07 09:12+0000\n"
+"Last-Translator: SLE Merge Robot <weblate-admin@opensuse.org>\n"
+"Language-Team: Chinese (China) "
+"<https://l10n.opensuse.org/projects/libzypp/master/zh_CN/>\n"
"Language: zh_CN\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0;\n"
-"X-Generator: Lokalize 2.0\n"
+"X-Generator: Weblate 2.6\n"
#: zypp/target/hal/HalException.h:46 zypp/target/hal/HalException.h:55
#: zypp/target/hal/HalException.h:64
#: zypp/thread/Mutex.cc:77
msgid "Can't acquire the mutex lock"
-msgstr "无法取得 mutex 锁定"
+msgstr "无法获取 mutex 锁定"
#: zypp/thread/Mutex.cc:87
msgid "Can't release the mutex lock"
#: zypp/Dep.cc:103
msgid "Enhances"
-msgstr "扩展"
+msgstr "增强"
#: zypp/Dep.cc:104
msgid "Supplements"
#: zypp/target/TargetImpl.cc:459
msgid " execution skipped while aborting"
-msgstr " 执行在中止时被跳过"
+msgstr " 中止时跳过执行"
#: zypp/target/TargetImpl.cc:514 zypp/target/TargetImpl.cc:534
#: zypp/target/TargetImpl.cc:562 zypp/target/TargetImpl.cc:599
#: zypp/target/hal/HalContext.cc:851
msgid "Not a CDROM drive"
-msgstr "不是一个 CDROM 驱动器"
+msgstr "不是 CDROM 驱动器"
#. TranslatorExplanation after semicolon is error message
#. TranslatorExplanation the colon is followed by an error message
repository_iterator knownRepositoriesEnd() const;
/** Find a \ref Repository named \c alias_r.
- * Returns \ref Repository::norepository if there is no such \ref Repository.
+ * Returns \ref Repository::noRepository if there is no such \ref Repository.
*/
Repository reposFind( const std::string & alias_r ) const;
Repository reposInsert( const std::string & alias_r );
/** Find a \ref Repository named \c alias_r.
- * Returns \ref norepository if there is no such \ref Repository.
+ * Returns \ref noRepository if there is no such \ref Repository.
*/
Repository reposFind( const std::string & alias_r ) const;
void reposErase( const std::string & alias_r )
{ reposFind( alias_r ).eraseFromPool(); }
+ /** Remove all repos from the pool.
+ * This also shrinks a pool which may have become large
+ * after having added and removed repos lots of times.
+ */
+ void reposEraseAll()
+ { while ( ! reposEmpty() ) reposErase( reposBegin()->alias() ); }
+
public:
/** Reserved system repository alias \c @System. */
static const std::string & systemRepoAlias();
/////////////////////////////////////////////////////////////////
+ const bool resusePoolIDs = true;
+
const std::string & PoolImpl::systemRepoAlias()
{
static const std::string _val( "@System" );
return _val;
}
-
/////////////////////////////////////////////////////////////////
static void logSat( CPool *, void *data, int type, const char *logString )
if ( isSystemRepo( repo_r ) )
_autoinstalled.clear();
eraseRepoInfo( repo_r );
- ::repo_free( repo_r, /*reuseids*/false );
+ ::repo_free( repo_r, resusePoolIDs );
+ if ( resusePoolIDs && !_pool->urepos ) // If the last repo is removed clear the pool to actually reuse all IDs.
+ ::pool_freeallrepos( _pool, resusePoolIDs );
}
int PoolImpl::_addSolv( CRepo * repo_r, FILE * file_r )
else if ( blockSize )
{
// Free remembered entries
- ::repo_free_solvable_block( repo_r, blockBegin, blockSize, /*reuseids*/false );
+ ::repo_free_solvable_block( repo_r, blockBegin, blockSize, resusePoolIDs );
blockBegin = blockSize = 0;
}
}
if ( blockSize )
{
// Free remembered entries
- ::repo_free_solvable_block( repo_r, blockBegin, blockSize, /*reuseids*/false );
+ ::repo_free_solvable_block( repo_r, blockBegin, blockSize, resusePoolIDs );
blockBegin = blockSize = 0;
}
}
/** Creating a new repo named \a name_r. */
CRepo * _createRepo( const std::string & name_r );
- /** Creating a new repo named \a name_r. */
+ /** Delete repo \a repo_r from pool. */
void _deleteRepo( CRepo * repo_r );
/** Adding solv file to a repo.