From 966a4c5320a8d7a76749c2ddbfc29708d71bda3c Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Fri, 1 Oct 2010 14:36:31 +0200 Subject: * debian/apt.cron.daily: - source /etc/default/locale (if available) so that the apt-get update cron job fetches the right translated package descriptions --- debian/apt.cron.daily | 7 +++++++ debian/changelog | 4 ++++ 2 files changed, 11 insertions(+) (limited to 'debian') diff --git a/debian/apt.cron.daily b/debian/apt.cron.daily index 8c0e4c416..40be6e55d 100644 --- a/debian/apt.cron.daily +++ b/debian/apt.cron.daily @@ -430,6 +430,13 @@ do_cache_backup $BackupArchiveInterval # mirrors at the same time random_sleep +# include default system language so that "apt-get update" will +# fetch the right translated package descriptions +if [ -r /etc/default/locale ]; then + . /etc/default/locale + export LANG +fi + # update package lists UPDATED=0 UPDATE_STAMP=/var/lib/apt/periodic/update-stamp diff --git a/debian/changelog b/debian/changelog index f1976f516..feafede86 100644 --- a/debian/changelog +++ b/debian/changelog @@ -9,6 +9,10 @@ apt (0.8.2) unstable; urgency=low not use the root directory to identify the medium (as all changes there change the ident id). Use the .disk directory instead + * debian/apt.cron.daily: + - source /etc/default/locale (if available) so that the + apt-get update cron job fetches the right translated package + descriptions -- Michael Vogt Fri, 03 Sep 2010 20:21:43 +0200 -- cgit v1.2.3 From 6e2398300f16741d028a022ddf73c72403728d0c Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Fri, 1 Oct 2010 15:02:14 +0200 Subject: debian/apt.cron.daily: export LANGUAGE LC_MESSAGES LC_ALL as well --- debian/apt.cron.daily | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'debian') diff --git a/debian/apt.cron.daily b/debian/apt.cron.daily index 40be6e55d..3da279c13 100644 --- a/debian/apt.cron.daily +++ b/debian/apt.cron.daily @@ -434,7 +434,7 @@ random_sleep # fetch the right translated package descriptions if [ -r /etc/default/locale ]; then . /etc/default/locale - export LANG + export LANG LANGUAGE LC_MESSAGES LC_ALL fi # update package lists -- cgit v1.2.3 From 5473df3fec08eaea6e84b98551cc247e87f4b6df Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Wed, 13 Oct 2010 12:45:47 +0200 Subject: * apt-pkg/deb/debindexfile.cc: - Use FileFd::Size() instead of stat()ing the sources/binary/translations indexes directly, so that we have transparent handling of gzipped indexes. --- debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'debian') diff --git a/debian/changelog b/debian/changelog index e7d784eb8..ad6d05cf0 100644 --- a/debian/changelog +++ b/debian/changelog @@ -6,6 +6,12 @@ apt (0.8.7) UNRELEASED; urgency=low * Wrong translation for "showauto" fixed. Thanks to Raphaƫl Hertzog Closes: #599265 + [ Martin Pitt ] + * apt-pkg/deb/debindexfile.cc: + - Use FileFd::Size() instead of stat()ing the sources/binary/translations + indexes directly, so that we have transparent handling of gzipped + indexes. + -- Christian Perrier Tue, 05 Oct 2010 05:35:58 +0200 apt (0.8.6) unstable; urgency=low -- cgit v1.2.3 From 9c182afa045dc889a5025d166328c6115924d706 Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Wed, 13 Oct 2010 13:00:49 +0200 Subject: * apt-pkg/contrib/fileutl.cc: - Fix FileFd::Size() for gzipped files to give the size of the uncompressed data. This fixes cache progress building progress going way over 100%. --- debian/changelog | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'debian') diff --git a/debian/changelog b/debian/changelog index ad6d05cf0..f1737a5a2 100644 --- a/debian/changelog +++ b/debian/changelog @@ -11,6 +11,10 @@ apt (0.8.7) UNRELEASED; urgency=low - Use FileFd::Size() instead of stat()ing the sources/binary/translations indexes directly, so that we have transparent handling of gzipped indexes. + * apt-pkg/contrib/fileutl.cc: + - Fix FileFd::Size() for gzipped files to give the size of the + uncompressed data. This fixes cache progress building progress going way + over 100%. -- Christian Perrier Tue, 05 Oct 2010 05:35:58 +0200 -- cgit v1.2.3 From e344c4a7a1569c77ef8f8921852fd9822ee64b90 Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Wed, 13 Oct 2010 14:34:23 +0200 Subject: fix changelog typo --- debian/changelog | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'debian') diff --git a/debian/changelog b/debian/changelog index 3a552d01e..739f1b425 100644 --- a/debian/changelog +++ b/debian/changelog @@ -23,7 +23,7 @@ apt (0.8.7) UNRELEASED; urgency=low indexes. * apt-pkg/contrib/fileutl.cc: - Fix FileFd::Size() for gzipped files to give the size of the - uncompressed data. This fixes cache progress building progress going way + uncompressed data. This fixes cache building progress going way over 100%. -- Christian Perrier Tue, 05 Oct 2010 05:35:58 +0200 -- cgit v1.2.3