[SCM] calligra localization packaging branch, master, updated. b998b0d0cd4d5595283b8c4b07894ace50e97c92

Pino Toscano pino at alioth.debian.org
Fri Apr 6 23:26:12 UTC 2012


Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-std/calligra-l10n.git;a=commitdiff;h=b998b0d

The following commit has been merged in the master branch:
commit b998b0d0cd4d5595283b8c4b07894ace50e97c92
Author: Pino Toscano <pino at debian.org>
Date:   Sat Apr 7 01:24:31 2012 +0200

    remove extra desktop_calligra.mo files, if present
    
    apparently the latest upstream tarballs provide these .po files, which are not useful at all at runtime;
    delete them from the install directories, making sure gracefully handle the cae where they don't exist
---
 debian/rules |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/debian/rules b/debian/rules
index 83f4943..28a5819 100755
--- a/debian/rules
+++ b/debian/rules
@@ -68,6 +68,8 @@ install: $(L10N_INSTALL)
 $(L10N_INSTALL): | prepare_install
 	# Installing '$(cur_lang)' to the '$(cur_pkg)' package
 	dh_auto_install -Scmake -D$(cur_lang) -B$(cur_lang_builddir) --destdir=$(CURDIR)/debian/$(cur_pkg)
+	# Remove extra desktop_calligra.mo file
+	rm --verbose debian/$(cur_pkg)/usr/share/locale/*/LC_MESSAGES/desktop_calligra.mo || true
 
 prepare_clean:
 	dh_testdir

-- 
calligra localization packaging



More information about the pkg-kde-commits mailing list