[SCM] KDE Localization module packaging branch, master, updated. debian/4%17.08.3-3

Pino Toscano pino at moszumanska.debian.org
Thu Jan 11 10:37:18 UTC 2018


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

The following commit has been merged in the master branch:
commit fa7a203fac239ac8742223d1c64cd52a452321e3
Author: Pino Toscano <pino at debian.org>
Date:   Thu Jan 11 11:07:02 2018 +0100

    cleanup removals in rules
---
 debian/changelog |  3 +++
 debian/rules     | 22 ----------------------
 2 files changed, 3 insertions(+), 22 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 6a4cdb9..7c86774 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,9 @@ kde-l10n (4:17.08.3-3) UNRELEASED; urgency=medium
   * Remove from excluded_docs.list, and excluded_files.list all the bits not
     shipped in this version
     - turn the removal of kfontinst.js as LC_SCRIPTS directory removal in rules
+  * Stop removing *_mimetypes.mo, *.appdata.mo, and json_*.mo files, as they
+    are not shipped in this version.
+  * Stop removing application data & scripts not shipped in this version.
 
  -- Debian Qt/KDE Maintainers <debian-qt-kde at lists.debian.org>  Thu, 11 Jan 2018 08:45:02 +0100
 
diff --git a/debian/rules b/debian/rules
index d04e99f..62bafb4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -82,34 +82,12 @@ $(L10N_INSTALL): | prepare_install
 	    rm -rf $(CURDIR)/debian/$(cur_pkg)/usr/share/doc/HTML/*/$${excluded_doc} ; \
 	    rm -rf $(CURDIR)/debian/$(cur_pkg)/usr/share/doc/kde/HTML/*/$${excluded_doc} ; \
 	done
-	# Drop *_mimetypes.mo translations, since they are only helper for
-	# translating XML files
-	find $(CURDIR)/debian/$(cur_pkg) -name '*_mimetypes.mo' -delete
-	# Drop *.appdata.mo translations, since they are only helper for
-	# translating appdata files
-	find $(CURDIR)/debian/$(cur_pkg) -name '*.appdata.mo' -delete
-	# Drop json_*.mo translations, since they are only helper for
-	# translating JSON files
-	find $(CURDIR)/debian/$(cur_pkg) -name 'json_*.mo' -delete
 	# Drop man-*.docbook translations, since they only helper for
 	# translating man pages
 	find $(CURDIR)/debian/$(cur_pkg) -name 'man-*.docbook' -delete
 	# Drop translated data, shipped with the applications themselves
-	rm -rf $(CURDIR)/debian/$(cur_pkg)/usr/share/khangman
-	rm -rf $(CURDIR)/debian/$(cur_pkg)/usr/share/kde4/apps/khangman
-	rm -rf $(CURDIR)/debian/$(cur_pkg)/usr/share/klettres
-	rm -rf $(CURDIR)/debian/$(cur_pkg)/usr/share/ktuberling
-	rm -rf $(CURDIR)/debian/$(cur_pkg)/usr/share/lokalize
-	rm -rf $(CURDIR)/debian/$(cur_pkg)/usr/share/apps/kvtml
-	rm -rf $(CURDIR)/debian/$(cur_pkg)/usr/share/kde4/apps/kvtml
 	rm -rf $(CURDIR)/debian/$(cur_pkg)/usr/share/kde4/apps/step
-	rm -rf $(CURDIR)/debian/$(cur_pkg)/usr/share/kstars
-	rm -rf $(CURDIR)/debian/$(cur_pkg)/usr/share/kturtle
-	rm -rf $(CURDIR)/debian/$(cur_pkg)/usr/share/katepart/syntax/logohighlightstyle.*.xml
-	rm -rf $(CURDIR)/debian/$(cur_pkg)/usr/share/kde4/apps/kajongg
 	# Drop scripts for applications
-	rm -rf $(CURDIR)/debian/$(cur_pkg)/usr/share/locale/*/LC_SCRIPTS/kgeography
-	rm -rf $(CURDIR)/debian/$(cur_pkg)/usr/share/locale/*/LC_SCRIPTS/step
 	rm -rf $(CURDIR)/debian/$(cur_pkg)/usr/share/locale/*/LC_SCRIPTS/step_qt
 	rm -rf $(CURDIR)/debian/$(cur_pkg)/usr/share/locale/*/LC_SCRIPTS/plasma_applet_fuzzy_clock
 	rm -rf $(CURDIR)/debian/$(cur_pkg)/usr/share/locale/*/LC_SCRIPTS/kfontinst

-- 
KDE Localization module packaging



More information about the pkg-kde-commits mailing list