[Pkg-sugar-commit] [sugar-imageviewer-activity] 04/08: Fix broken path in desktop file.

Jonas Smedegaard dr at jones.dk
Tue Dec 13 16:27:58 UTC 2016


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

js pushed a commit to branch master
in repository sugar-imageviewer-activity.

commit 4cebadf18aebe8c9c8c630a3c6fc51d45f6614ab
Author: Jonas Smedegaard <dr at jones.dk>
Date:   Tue Dec 13 17:05:52 2016 +0100

    Fix broken path in desktop file.
---
 debian/rules | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/debian/rules b/debian/rules
index 0424656..41841f5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -42,3 +42,9 @@ gir-deps = glib-2.0 gtk-3.0 gdkpixbuf-2.0 pango-1.0 rsvg-2.0
 CDBS_DEPENDS_$(pkg) = python, python-sugar3, python-telepathy, librsvg2-common
 CDBS_DEPENDS_$(pkg) +=, $(patsubst %,$(comma) gir1.2-%,$(gir-deps))
 CDBS_RECOMMENDS_$(pkg) = evtest
+
+# Fix broken paths in desktop file
+#  * TODO: drop when fixed in sugar-toolkit-gtk3
+binary-fixup/$(pkg)::
+	find $(cdbs_curdestdir)/usr/share -type f -name '*.desktop' \
+		-execdir perl -pi -e 's,^\S+\s*=\s*\K\S*(?=/usr/share),,g' '{}' ';'

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-sugar/sugar-imageviewer-activity.git



More information about the pkg-sugar-commit mailing list