[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[libreoffice] 02/03: fix the installed .desktop files up...



This is an automated email from the git hooks/post-receive script.

rene pushed a commit to branch debian-experimental-5.1
in repository libreoffice.

commit 63c2c360f8ca9834b12314236431ced48199e8be
Author: Rene Engelhard <rene@debian.org>
Date:   Sat Nov 14 13:36:10 2015 +0100

    fix the installed .desktop files up...
---
 changelog |  4 ++++
 rules     | 13 +++++++++++++
 2 files changed, 17 insertions(+)

diff --git a/changelog b/changelog
index 99601bd..83ca121 100644
--- a/changelog
+++ b/changelog
@@ -4,6 +4,10 @@ libreoffice (1:5.1.0~beta1~git20151107-1) UNRELEASED; urgency=medium
     - fixes crash when selecting the border style in some window managers
       (closes: #801504)
 
+  * debian/rules:
+    - fix up .desktop (closes: #804669), remove (D|d)ev and version from
+      Icon= and Exec=
+
  -- Rene Engelhard <rene@debian.org>  Mon, 19 Oct 2015 22:57:36 +0200
 
 libreoffice (1:5.1.0~alpha1-4) experimental; urgency=medium
diff --git a/rules b/rules
index 804c30c..0ddd39c 100755
--- a/rules
+++ b/rules
@@ -2148,6 +2148,19 @@ endif
 
 	rm -rf debian/tmp/pkg
 
+	# fix the desktop files....
+	cd $(PKGDIR)-common/$(OODIR)/share/xdg/ && \
+		for i in *.desktop; do \
+			sed -i -e "s/$(OOVER)//" $$i; \
+	done
+ifneq "$(RELEASE_BUILD)" "y"
+	cd $(PKGDIR)-common/$(OODIR)/share/xdg/ && \
+		for i in *.desktop; do \
+			sed -i -e "s/libreofficedev/libreoffice/" $$i; \
+			sed -i -e "s/LibreOfficeDev/LibreOffice/" $$i; \
+	done
+endif
+
 	# move desktop files to their correct packages
 	for i in base calc draw impress math writer; do \
 		mkdir -p $(PKGDIR)-$$i/$(OODIR)/share/xdg; \

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-openoffice/libreoffice.git


Reply to: